{"version":3,"file":"static/js/index.844ee5a1.js","sources":["webpack://web/./src/App.tsx","webpack://web/./src/AppDependencies.tsx","webpack://web/./src/AppVersion.mjs","webpack://web/./src/CommunicationHandler.tsx","webpack://web/./src/MessagingWidgetApp.tsx","webpack://web/./src/client/CarrierInfoClient.ts","webpack://web/./src/client/FeedClient.ts","webpack://web/./src/client/LoadVisibilityRulesClient.ts","webpack://web/./src/client/OnboardedCarriersClient.ts","webpack://web/./src/client/PostLoadsClient.ts","webpack://web/./src/client/ShareableLoadsClient.ts","webpack://web/./src/client/UnsubscribeClient.ts","webpack://web/./src/client/UserSettingsClient.ts","webpack://web/./src/client/VerifyEmailClient.ts","webpack://web/./src/client/WelcomebackCampaignClient.ts","webpack://web/./src/common/src/api/ApiErrorCode.ts","webpack://web/./src/common/src/api/ApiOptions.ts","webpack://web/./src/common/src/api/ApiResponse.ts","webpack://web/./src/common/src/api/ApiService.ts","webpack://web/./src/common/src/api/PendingAction.ts","webpack://web/./src/common/src/client/AvatarClient.ts","webpack://web/./src/common/src/client/BaseClient.ts","webpack://web/./src/common/src/client/BidsClient.ts","webpack://web/./src/common/src/client/CarrierTrackingClient.ts","webpack://web/./src/common/src/client/CommunicationClient.ts","webpack://web/./src/common/src/client/CompanyAvatarClient.ts","webpack://web/./src/common/src/client/CompanyClient.ts","webpack://web/./src/common/src/client/ContactClient.ts","webpack://web/./src/common/src/client/DocumentsClient.ts","webpack://web/./src/common/src/client/FeedbackClient.ts","webpack://web/./src/common/src/client/FtpClient.ts","webpack://web/./src/common/src/client/GeocodingClient.ts","webpack://web/./src/common/src/client/IdentityVerificationClient.ts","webpack://web/./src/common/src/client/InboxClient.ts","webpack://web/./src/common/src/client/LoadFeedbackClient.ts","webpack://web/./src/common/src/client/LoadsClient.ts","webpack://web/./src/common/src/client/LocationMatchClient.ts","webpack://web/./src/common/src/client/LocationsClient.ts","webpack://web/./src/common/src/client/MileageCalculatorClient.ts","webpack://web/./src/common/src/client/MyCarrierPortalClient.ts","webpack://web/./src/common/src/client/MyLoadsClient.ts","webpack://web/./src/common/src/client/PaymentClient.ts","webpack://web/./src/common/src/client/PermissionsClient.ts","webpack://web/./src/common/src/client/PostTruckClient.ts","webpack://web/./src/common/src/client/QuoteClient.ts","webpack://web/./src/common/src/client/RateCheckClient.ts","webpack://web/./src/common/src/client/RouteClient.ts","webpack://web/./src/common/src/client/SettingsClient.ts","webpack://web/./src/common/src/client/SharedLoadClient.ts","webpack://web/./src/common/src/client/SupportClient.ts","webpack://web/./src/common/src/client/TermsAndConditionsClient.ts","webpack://web/./src/common/src/client/ThunderFundingClient.ts","webpack://web/./src/common/src/client/TmsClient.ts","webpack://web/./src/common/src/client/TrackingClient.ts","webpack://web/./src/common/src/client/TripBuilderClient.ts","webpack://web/./src/common/src/client/TruckAlertsClient.ts","webpack://web/./src/common/src/client/TrucksClient.ts","webpack://web/./src/common/src/client/UploadFileClient.ts","webpack://web/./src/common/src/client/UserClient.ts","webpack://web/./src/common/src/client/UserPlanManagementClient.ts","webpack://web/./src/common/src/client/VendorBidsClient.ts","webpack://web/./src/common/src/client/VerifyPhoneClient.ts","webpack://web/./src/common/src/formatter/Constants.ts","webpack://web/./src/common/src/formatter/Dates.ts","webpack://web/./src/common/src/formatter/Number.ts","webpack://web/./src/common/src/helper/AlertPolling.ts","webpack://web/./src/common/src/helper/AnnouncementsHelper.ts","webpack://web/./src/common/src/helper/ApiHelper.ts","webpack://web/./src/common/src/helper/AutoRefreshManager.ts","webpack://web/./src/common/src/helper/BannerHelper.ts","webpack://web/./src/common/src/helper/BidsHelper.ts","webpack://web/./src/common/src/helper/ConversationHelper.ts","webpack://web/./src/common/src/helper/CreditRatingHelper.ts","webpack://web/./src/common/src/helper/DateHelper.ts","webpack://web/./src/common/src/helper/DocumentHelper.ts","webpack://web/./src/common/src/helper/DocumentSortingHelper.tsx","webpack://web/./src/common/src/helper/EquipmentHelper.ts","webpack://web/./src/common/src/helper/FileHelper.ts","webpack://web/./src/common/src/helper/FilterHelper.ts","webpack://web/./src/common/src/helper/FlowIDHeaderHelper.ts","webpack://web/./src/common/src/helper/Functions.ts","webpack://web/./src/common/src/helper/ImmutableLRUMap.ts","webpack://web/./src/common/src/helper/ItemHelper.ts","webpack://web/./src/common/src/helper/LRUMap.ts","webpack://web/./src/common/src/helper/LoadAvailabilityHelper.ts","webpack://web/./src/common/src/helper/LoadHelper.ts","webpack://web/./src/common/src/helper/LoadSearchRegionsHelper.ts","webpack://web/./src/common/src/helper/LoadSearchRequestFactory.ts","webpack://web/./src/common/src/helper/LoadTextFormater.ts","webpack://web/./src/common/src/helper/LocationHelper.ts","webpack://web/./src/common/src/helper/LocationPickerHelper.ts","webpack://web/./src/common/src/helper/MapHelper.ts","webpack://web/./src/common/src/helper/MyLoadsHelper.ts","webpack://web/./src/common/src/helper/NumberHelper.ts","webpack://web/./src/common/src/helper/PCMilerHelper.ts","webpack://web/./src/common/src/helper/PhoneHelper.ts","webpack://web/./src/common/src/helper/ProgressHelper.ts","webpack://web/./src/common/src/helper/RateCheckHistoryHelper.ts","webpack://web/./src/common/src/helper/SearchHelper.ts","webpack://web/./src/common/src/helper/SortByKeys.ts","webpack://web/./src/common/src/helper/TruckAvailabilityHelper.ts","webpack://web/./src/common/src/helper/URLValidationHelper.ts","webpack://web/./src/common/src/helper/UserHelper.ts","webpack://web/./src/common/src/helper/UserRolesUtils.ts","webpack://web/./src/common/src/helper/ValidationHelper.ts","webpack://web/./src/common/src/helper/Validators.ts","webpack://web/./src/common/src/helper/VendorLoadHelper.ts","webpack://web/./src/common/src/info/ContactInfo.ts","webpack://web/./src/common/src/info/ExternalLink.ts","webpack://web/./src/common/src/model/AppErrorCode.ts","webpack://web/./src/common/src/model/Bid.ts","webpack://web/./src/common/src/model/BookNow.ts","webpack://web/./src/common/src/model/Carrier.ts","webpack://web/./src/common/src/model/Carriers.ts","webpack://web/./src/common/src/model/Company.ts","webpack://web/./src/common/src/model/Conversation.ts","webpack://web/./src/common/src/model/CostPerDaySettings.ts","webpack://web/./src/common/src/model/Document.ts","webpack://web/./src/common/src/model/Equipment.ts","webpack://web/./src/common/src/model/Ftp.ts","webpack://web/./src/common/src/model/FuelPrice.ts","webpack://web/./src/common/src/model/Geolocation.ts","webpack://web/./src/common/src/model/Inbox.ts","webpack://web/./src/common/src/model/Invoice.ts","webpack://web/./src/common/src/model/Load.ts","webpack://web/./src/common/src/model/LoadAvailability.ts","webpack://web/./src/common/src/model/LoadFeedbackRequest.ts","webpack://web/./src/common/src/model/LoadSearchRequest.ts","webpack://web/./src/common/src/model/LoadSearchSettings.ts","webpack://web/./src/common/src/model/LoadSearchSort.ts","webpack://web/./src/common/src/model/LoadUserdata.ts","webpack://web/./src/common/src/model/LoadView.ts","webpack://web/./src/common/src/model/Location.ts","webpack://web/./src/common/src/model/LocationSuggestion.ts","webpack://web/./src/common/src/model/Messages.ts","webpack://web/./src/common/src/model/MyCarrierPortal.ts","webpack://web/./src/common/src/model/MyLoadsRequest.ts","webpack://web/./src/common/src/model/Payment.ts","webpack://web/./src/common/src/model/PostedLoadsUrl.ts","webpack://web/./src/common/src/model/PosterMetadata.ts","webpack://web/./src/common/src/model/ProfitCalculatorSettings.ts","webpack://web/./src/common/src/model/Quote.ts","webpack://web/./src/common/src/model/RateCheck.ts","webpack://web/./src/common/src/model/RatingInfo.ts","webpack://web/./src/common/src/model/RecentSearchLocationsResponse.ts","webpack://web/./src/common/src/model/RoutesSettings.ts","webpack://web/./src/common/src/model/SearchDirectory.ts","webpack://web/./src/common/src/model/States.ts","webpack://web/./src/common/src/model/Storage.ts","webpack://web/./src/common/src/model/SystemSettings.ts","webpack://web/./src/common/src/model/ThunderFundingRequest.ts","webpack://web/./src/common/src/model/Tracking.ts","webpack://web/./src/common/src/model/TripBuilder.ts","webpack://web/./src/common/src/model/Truck.ts","webpack://web/./src/common/src/model/UserAuthentication.ts","webpack://web/./src/common/src/model/UserPlan.ts","webpack://web/./src/common/src/model/UserProfile.ts","webpack://web/./src/common/src/model/VendorBid.ts","webpack://web/./src/common/src/model/VerificationPoints.ts","webpack://web/./src/common/src/model/messaging/MessageWidget.ts","webpack://web/./src/common/src/model/messaging/WidgetAction.ts","webpack://web/./src/common/src/redux/Base.ts","webpack://web/./src/common/src/redux/LastRequestOverrideMiddleware.ts","webpack://web/./src/common/src/redux/NormalizationHelper.ts","webpack://web/./src/common/src/redux/ReduxHelper.ts","webpack://web/./src/common/src/redux/ReduxRegistry.tsx","webpack://web/./src/common/src/redux/epic/AvatarEpic.ts","webpack://web/./src/common/src/redux/epic/BrokerEpic.ts","webpack://web/./src/common/src/redux/epic/CarrierTrackingEpic.ts","webpack://web/./src/common/src/redux/epic/CommunicationEpic.ts","webpack://web/./src/common/src/redux/epic/CompanyAvatarEpic.ts","webpack://web/./src/common/src/redux/epic/CompanyEpic.ts","webpack://web/./src/common/src/redux/epic/DocumentListEpic.ts","webpack://web/./src/common/src/redux/epic/DocumentsEpic.ts","webpack://web/./src/common/src/redux/epic/EpicHelper.ts","webpack://web/./src/common/src/redux/epic/FeedbackEpic.ts","webpack://web/./src/common/src/redux/epic/FoldersEpic.ts","webpack://web/./src/common/src/redux/epic/FtpEpic.ts","webpack://web/./src/common/src/redux/epic/IdentityVerificationEpic.ts","webpack://web/./src/common/src/redux/epic/InboxEpic.ts","webpack://web/./src/common/src/redux/epic/LoadAvailabilityEpic.ts","webpack://web/./src/common/src/redux/epic/LoadDetailsEpic.ts","webpack://web/./src/common/src/redux/epic/LoadDetailsMapEpic.ts","webpack://web/./src/common/src/redux/epic/LoadFeedbackEpic.ts","webpack://web/./src/common/src/redux/epic/LoadInfoEpic.ts","webpack://web/./src/common/src/redux/epic/LoadSearchSettingsEpic.ts","webpack://web/./src/common/src/redux/epic/LoadsEpic.ts","webpack://web/./src/common/src/redux/epic/LocationMatchEpic.ts","webpack://web/./src/common/src/redux/epic/MarketRatesEpic.ts","webpack://web/./src/common/src/redux/epic/MyCarrierPortalEpic.ts","webpack://web/./src/common/src/redux/epic/MyLoadsEpic.ts","webpack://web/./src/common/src/redux/epic/PaginatedListReducer.ts","webpack://web/./src/common/src/redux/epic/PaymentEpic.ts","webpack://web/./src/common/src/redux/epic/PermissionsEpic.ts","webpack://web/./src/common/src/redux/epic/PostTruckEpic.ts","webpack://web/./src/common/src/redux/epic/QuoteEpic.ts","webpack://web/./src/common/src/redux/epic/RateCheckEpic.ts","webpack://web/./src/common/src/redux/epic/RecentSearchLocationsEpic.ts","webpack://web/./src/common/src/redux/epic/RoutesEpic.ts","webpack://web/./src/common/src/redux/epic/ServiceCodeEpic.ts","webpack://web/./src/common/src/redux/epic/SettingsEpic.ts","webpack://web/./src/common/src/redux/epic/SettingsStateHelper.ts","webpack://web/./src/common/src/redux/epic/SharedLoadEpic.ts","webpack://web/./src/common/src/redux/epic/SystemTimeEpic.ts","webpack://web/./src/common/src/redux/epic/TermsAndConditionsEpic.ts","webpack://web/./src/common/src/redux/epic/ThunderFundingQuotesEpic.ts","webpack://web/./src/common/src/redux/epic/TmsEpic.ts","webpack://web/./src/common/src/redux/epic/TripBuilderEpic.ts","webpack://web/./src/common/src/redux/epic/TruckAlertsEpic.ts","webpack://web/./src/common/src/redux/epic/UploadFileEpic.ts","webpack://web/./src/common/src/redux/epic/UserEpic.ts","webpack://web/./src/common/src/redux/epic/UserPlanManagementEpic.ts","webpack://web/./src/common/src/redux/epic/UserTrucksEpic.ts","webpack://web/./src/common/src/redux/epic/VerifyPhoneEpic.ts","webpack://web/./src/common/src/redux/epic/bids/BidsEpic.ts","webpack://web/./src/common/src/redux/epic/bids/BidsStateHelper.ts","webpack://web/./src/common/src/redux/epic/bids/VendorBidsEpic.ts","webpack://web/./src/common/src/redux/epic/loadSearch/CompanySearchEpic.ts","webpack://web/./src/common/src/redux/epic/loadSearch/CompanySearchHelper.ts","webpack://web/./src/common/src/redux/epic/loadSearch/HelperFunctions.ts","webpack://web/./src/common/src/redux/epic/loadSearch/LoadSearchBackhaulsEpic.ts","webpack://web/./src/common/src/redux/epic/loadSearch/LoadSearchEpic.ts","webpack://web/./src/common/src/redux/epic/loadSearch/LoadSearchHelper.ts","webpack://web/./src/common/src/redux/epic/loadSearch/LoadSearchReducer.ts","webpack://web/./src/common/src/redux/epic/loadSearch/LoadSearchShared.ts","webpack://web/./src/common/src/redux/epic/loadSearch/MapSearchEpic.ts","webpack://web/./src/common/src/redux/epic/rateCheck/RateCheckHelper.ts","webpack://web/./src/common/src/redux/epic/rateCheck/RateCheckPreviewHelper.ts","webpack://web/./src/common/src/redux/reducer/ScreenSharingReducer.ts","webpack://web/./src/common/src/redux/reducer/TopRibbonReducer.ts","webpack://web/./src/common/src/redux/reducer/TutorialReducer.ts","webpack://web/./src/common/src/redux/reducer/UnderDevelopmentBaseReducer.ts","webpack://web/./src/common/src/socket/Communication.ts","webpack://web/./src/common/src/socket/SignalRSettings.ts","webpack://web/./src/common/src/sort/LoadSort.ts","webpack://web/./src/common/src/sort/LoadsMerger.ts","webpack://web/./src/common/src/sort/Sort.ts","webpack://web/./src/common/src/sort/TruckSort.ts","webpack://web/./src/common/src/translation/english.ts","webpack://web/./src/common/src/util/123lbBaseTracker.ts","webpack://web/./src/common/src/util/BidsTimeHelper.tsx","webpack://web/./src/common/src/util/CostPerDayHelper.tsx","webpack://web/./src/common/src/util/DependencyManager.tsx","webpack://web/./src/common/src/util/ProfitCalculatorHelper.tsx","webpack://web/./src/common/src/util/encoder/URLDefaultEncoder.ts","webpack://web/./src/common/src/util/hooks/UseDidUpdate.ts","webpack://web/./src/common/src/util/hooks/UseFactory.ts","webpack://web/./src/common/src/util/hooks/UseForceUpdate.ts","webpack://web/./src/common/src/util/hooks/UseInterval.ts","webpack://web/./src/common/src/util/hooks/UseMount.ts","webpack://web/./src/common/src/util/hooks/UseRefFunction.ts","webpack://web/./src/common/src/util/hooks/UseUnmount.ts","webpack://web/./src/common/src/util/parser/ParserUtils.ts","webpack://web/./src/component/backdrop/Backdrop.tsx","webpack://web/./src/component/badge/NewBadge.tsx","webpack://web/./src/component/badge/RatingBadge.tsx","webpack://web/./src/component/badge/VerificationBadge.tsx","webpack://web/./src/component/banner/Banner.tsx","webpack://web/./src/component/banner/ContactNotVerifiedBanner.tsx","webpack://web/./src/component/button/Button.tsx","webpack://web/./src/component/button/ButtonThemes.tsx","webpack://web/./src/component/button/CustomButton.tsx","webpack://web/./src/component/button/FloatingActionButton.tsx","webpack://web/./src/component/button/TextButton.tsx","webpack://web/./src/component/button/UploadButton.tsx","webpack://web/./src/component/buttons/ClearButton.tsx","webpack://web/./src/component/buttons/ContactsButton.tsx","webpack://web/./src/component/buttons/FilterButton.tsx","webpack://web/./src/component/buttons/IconActionButton.tsx","webpack://web/./src/component/buttons/LinkButton.tsx","webpack://web/./src/component/buttons/MainButton.tsx","webpack://web/./src/component/buttons/MessageWidgetButton.tsx","webpack://web/./src/component/buttons/MoreMenuButton.tsx","webpack://web/./src/component/buttons/MultipurposeButton.tsx","webpack://web/./src/component/buttons/MultipurposeButtonStyle.tsx","webpack://web/./src/component/buttons/NewLoadsButton.tsx","webpack://web/./src/component/buttons/TopButton.tsx","webpack://web/./src/component/calendar/Calendar.tsx","webpack://web/./src/component/calendar/CalendarGroup.tsx","webpack://web/./src/component/calendar/CalendarStyles.tsx","webpack://web/./src/component/calendar/DatesCalendar.tsx","webpack://web/./src/component/calendar/StatesCalendar.tsx","webpack://web/./src/component/cards/BackhaulCard.tsx","webpack://web/./src/component/cards/BackhaulsCard.tsx","webpack://web/./src/component/cards/CardsStyle.tsx","webpack://web/./src/component/cards/Destination.tsx","webpack://web/./src/component/cards/MyTruckCard.tsx","webpack://web/./src/component/cards/TruckPostCard.tsx","webpack://web/./src/component/chart/BaseChart.tsx","webpack://web/./src/component/chip/ActionChip.tsx","webpack://web/./src/component/chip/CancelableChip.tsx","webpack://web/./src/component/chip/ChipStyle.tsx","webpack://web/./src/component/chip/ChoiceChips.tsx","webpack://web/./src/component/chip/DateChip.tsx","webpack://web/./src/component/chip/TextChip.tsx","webpack://web/./src/component/chip/TimeChip.tsx","webpack://web/./src/component/contact/CallButton.tsx","webpack://web/./src/component/contact/MCUSDOT.tsx","webpack://web/./src/component/contact/PhoneNumber.tsx","webpack://web/./src/component/contact/UpgradeLink.tsx","webpack://web/./src/component/control/ActionsMenu.tsx","webpack://web/./src/component/control/Checkbox.tsx","webpack://web/./src/component/control/ControlStyles.tsx","webpack://web/./src/component/control/Radio.tsx","webpack://web/./src/component/control/RadioGroup.tsx","webpack://web/./src/component/conversation/ConversationAttachments.tsx","webpack://web/./src/component/conversation/ConversationAvatar.tsx","webpack://web/./src/component/conversation/ConversationMessageBubble.tsx","webpack://web/./src/component/conversation/ConversationStyles.tsx","webpack://web/./src/component/conversation/ConversationTime.tsx","webpack://web/./src/component/conversation/ConversationWidgetBubble.tsx","webpack://web/./src/component/conversation/composer/ChatFooter.tsx","webpack://web/./src/component/conversation/composer/ChatTextField.tsx","webpack://web/./src/component/conversation/composer/SendAttachmentButton.tsx","webpack://web/./src/component/conversation/widget/GenericWidget.tsx","webpack://web/./src/component/coutryRadioGroup/CountryRadioGroup.tsx","webpack://web/./src/component/coutryRadioGroup/CountryRadioGroupStyle.tsx","webpack://web/./src/component/dropdown/DropdownList.tsx","webpack://web/./src/component/dropdown/LocationDropdownList.tsx","webpack://web/./src/component/expansionPanel/ExpansionPanel.tsx","webpack://web/./src/component/expansionPanel/ExpansionPanelStyle.tsx","webpack://web/./src/component/expansionPanel/SideMenuExpansionPanel.tsx","webpack://web/./src/component/feed/ComingSoon.tsx","webpack://web/./src/component/feed/FeedController.tsx","webpack://web/./src/component/feed/FeedMappingHelper.ts","webpack://web/./src/component/feed/FeedPopup.tsx","webpack://web/./src/component/feed/FeedPopupButtons.tsx","webpack://web/./src/component/footers/ApplyButtonFooter.tsx","webpack://web/./src/component/fragmentPortal/FragmentHolder.ts","webpack://web/./src/component/fragmentPortal/FragmentPortalDestination.tsx","webpack://web/./src/component/fragmentPortal/FragmentPortalOrigin.tsx","webpack://web/./src/component/globalBanner/BillingIssueBanner.tsx","webpack://web/./src/component/globalBanner/GlobalBanner.tsx","webpack://web/./src/component/icon/ActionIcon.tsx","webpack://web/./src/component/image/ImageBase64.tsx","webpack://web/./src/component/input/checkBox/CheckBox.tsx","webpack://web/./src/component/input/chip/CheckboxChip.tsx","webpack://web/./src/component/input/select/BorderedSelect.tsx","webpack://web/./src/component/input/select/CustomSelect.tsx","webpack://web/./src/component/input/select/Fieldset.tsx","webpack://web/./src/component/input/textField/ConversationTextField.tsx","webpack://web/./src/component/input/textField/CustomTextField.tsx","webpack://web/./src/component/input/textField/MultilineTextField.tsx","webpack://web/./src/component/input/textField/StyledTextField.tsx","webpack://web/./src/component/input/textField/ValidatedTextInput.tsx","webpack://web/./src/component/lazyComponent/LazyComponent.tsx","webpack://web/./src/component/list/CustomList.tsx","webpack://web/./src/component/list/CustomListItem.tsx","webpack://web/./src/component/loadListCard/LoadListCardStyle.tsx","webpack://web/./src/component/loader/Loader.tsx","webpack://web/./src/component/loadingSpinner/LoadingSpinner.tsx","webpack://web/./src/component/locationsSpacer/LocationsSpacer.tsx","webpack://web/./src/component/main/AuthenticatedInitialLoading.tsx","webpack://web/./src/component/main/DesktopThinBlackFrame.tsx","webpack://web/./src/component/main/InitialLoading.tsx","webpack://web/./src/component/main/MainLayout.tsx","webpack://web/./src/component/main/MobileDrawer.tsx","webpack://web/./src/component/main/MobileTopBar.tsx","webpack://web/./src/component/main/TopMenuNotificationDot.tsx","webpack://web/./src/component/main/mainHooks.ts","webpack://web/./src/component/map/ALKMapsLayer.tsx","webpack://web/./src/component/map/BaseMap.tsx","webpack://web/./src/component/map/CustomMarkerClusterGroup.tsx","webpack://web/./src/component/map/ExpandIcon.tsx","webpack://web/./src/component/map/GestureHandlingMap.ts","webpack://web/./src/component/map/Legend.tsx","webpack://web/./src/component/map/MarkerWithData.tsx","webpack://web/./src/component/map/ShadowRadius.tsx","webpack://web/./src/component/map/ShrinkIcon.tsx","webpack://web/./src/component/map/SimpleTooltip.tsx","webpack://web/./src/component/map/WithLeaflet.ts","webpack://web/./src/component/map/alkmaps/alkmaps-reduced.js","webpack://web/./src/component/map/gestureHandlingPlugin/leaflet-gesture-handling.js","webpack://web/./src/component/menu/AlertsIconBadge.tsx","webpack://web/./src/component/menu/AppLogo.tsx","webpack://web/./src/component/menu/DesktopMenu.tsx","webpack://web/./src/component/menu/DropdownMenu.tsx","webpack://web/./src/component/menu/DropdownMenuSelect.tsx","webpack://web/./src/component/menu/LinkWithNotification.tsx","webpack://web/./src/component/menu/MenuFooter.tsx","webpack://web/./src/component/menu/MenuHeader.tsx","webpack://web/./src/component/menu/MenuNav.tsx","webpack://web/./src/component/menu/MenuPreferenceSelect.tsx","webpack://web/./src/component/menu/MenuUserProfile.tsx","webpack://web/./src/component/menu/MobileMenu.tsx","webpack://web/./src/component/menu/NavLink.tsx","webpack://web/./src/component/menu/NavigationMenuHelper.ts","webpack://web/./src/component/menu/SideMenuContent.tsx","webpack://web/./src/component/menu/UserAvatarContainer.tsx","webpack://web/./src/component/menu/menuList.tsx","webpack://web/./src/component/menu/menuStyles.tsx","webpack://web/./src/component/mobileStoreLink/MobileStoreLink.tsx","webpack://web/./src/component/mobileStoreLink/MobileStoreLinkStyle.ts","webpack://web/./src/component/multiSelect/MultiSelect.tsx","webpack://web/./src/component/overflowRenderer/ItemsWidthMeasurer.tsx","webpack://web/./src/component/overflowRenderer/OverflowRenderer.tsx","webpack://web/./src/component/overflowRenderer/WidthMeasurer.tsx","webpack://web/./src/component/panelSizeDetector/PanelSizeDetector.tsx","webpack://web/./src/component/panel/BackPanelContext.ts","webpack://web/./src/component/panel/PageWithPanels.tsx","webpack://web/./src/component/panel/Panel.tsx","webpack://web/./src/component/panel/PanelFooter.tsx","webpack://web/./src/component/panel/PanelHeader.tsx","webpack://web/./src/component/panel/PanelHooks.ts","webpack://web/./src/component/panel/PanelSize.ts","webpack://web/./src/component/panel/WindowScrollViewTrackingContext.tsx","webpack://web/./src/component/panel/panelLayout.ts","webpack://web/./src/component/panels/basePanel/loadDetails/Backhauls.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/Company.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/CompanyLoads.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/CreditRating.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/EmailPopup.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/LoadDetailsMoreInfo.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/LoadDetailsMoreInfoContact.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/LoadDetailsValueRow.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/LoadDocuments.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/Mileage.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/Notes.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/TruckAlertMessage.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/costPerDay/CostPerDayUIHelper.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/DrivingTimeInfo.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/LoadDetailsGeneralInfo.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/LoadDetailsGeneralInfoHeader.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/LoadDetailsInfoBar.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/LoadDetailsOriginDestination.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/UnlockLink.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/marketRates/CargoChiefRateInfo.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/marketRates/ExpediteAllRateInfo.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/marketRates/GreenscreensRateInfo.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/marketRates/RateCheckInfo.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/CargoChiefRate.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/CargoChiefRateComponent.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/GreenscreensRate.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/GreenscreensRateContent.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/MarketRates.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/RateCheckHeader.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/RateCheckPanel.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/RateCheckPostedRateDifference.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/RateUnavailablePopup.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/AdditionalCosts.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/Calculation.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/Cost.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/CostPerDayCard.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/Field.ts","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/FuelCost.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/LinehaulRevenue.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/ProfitCalculator.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/TextInputBox.tsx","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/TotalProfit.tsx","webpack://web/./src/component/panels/basePanel/panelFiltersSection/PanelFiltersList.tsx","webpack://web/./src/component/panels/basePanel/searchPanel/RadiusSelect.tsx","webpack://web/./src/component/panels/basePanel/searchPanel/findLoadsSimpleMap/MapInfo.ts","webpack://web/./src/component/panels/basePanel/searchPanel/findLoadsSimpleMap/Regions.ts","webpack://web/./src/component/panels/basePanel/searchPanel/findLoadsSimpleMap/StateSpecific.ts","webpack://web/./src/component/panels/basePostPanel/PostLoadExpediteAllRateHelper.ts","webpack://web/./src/component/panels/basePostPanel/userData.ts","webpack://web/./src/component/panels/communication/CommunicationDisabledByBrokerPanel.tsx","webpack://web/./src/component/panels/communication/CommunicationListPanel.tsx","webpack://web/./src/component/panels/communication/ConversationListFilters.tsx","webpack://web/./src/component/panels/communication/EmptyConversationsPanel.tsx","webpack://web/./src/component/panels/communication/NoUnreadMessagesPanel.tsx","webpack://web/./src/component/panels/communication/header/MenuOptions.tsx","webpack://web/./src/component/panels/communication/header/MessagingWidgetMenuOptions.tsx","webpack://web/./src/component/panels/companyDetails/Authority.tsx","webpack://web/./src/component/panels/companyDetails/CarrierHistoryStatesMap.tsx","webpack://web/./src/component/panels/companyDetails/CarrierMapData.ts","webpack://web/./src/component/panels/companyDetails/CarrierRatingExpansionPanel.tsx","webpack://web/./src/component/panels/companyDetails/CompanyDetailsRows.tsx","webpack://web/./src/component/panels/companyDetails/CreditRating.tsx","webpack://web/./src/component/panels/companyDetails/Insurance.tsx","webpack://web/./src/component/panels/companyDetails/MapLink.tsx","webpack://web/./src/component/panels/companyDetails/myCarrierPortal/RiskAssessmentExpansionPanel.tsx","webpack://web/./src/component/panels/findLoads/backhaulsPanel/BackhaulsPanel.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/BookNowBanner.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/CotaUrlHelper.ts","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/EditCompanyPopup.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/Header.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/InfoRibbon.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/LoadDetailsActionsBar.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/LoadDetailsData.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/LoadDetailsExpansionPanels.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/LoadDetailsExportSection.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/LoadDetailsPanel.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/LoadDetailsPopups.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/ManageDocuments.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/MapRoutes.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/BidButton.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/BookNowButton.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/ContactButtons.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/EmailButton.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/MessageButton.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/PhoneButton.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/SaveButton.tsx","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/VhubBookWithButton.tsx","webpack://web/./src/component/panels/findLoads/searchPanel/GeolocationPopups.tsx","webpack://web/./src/component/panels/findLoads/searchPanel/SearchPanelHelper.tsx","webpack://web/./src/component/panels/findLoads/searchPanel/TrailerTypeComponent.tsx","webpack://web/./src/component/panels/findLoads/searchResultPanel/SearchResultPanelStyle.tsx","webpack://web/./src/component/panels/findLoads/searchResultPanel/SetAlertButton.tsx","webpack://web/./src/component/panels/mileageCalculator/DirectionList.tsx","webpack://web/./src/component/panels/mileageCalculator/IftaFuelTax.tsx","webpack://web/./src/component/panels/mileageCalculator/MapRoutingTollSections.tsx","webpack://web/./src/component/panels/mileageCalculator/MileageCalculatorHelper.ts","webpack://web/./src/component/panels/mileageCalculator/MileageCalculatorStyleSheet.tsx","webpack://web/./src/component/panels/modalPanel/CurrentLocationButton.tsx","webpack://web/./src/component/panels/modalPanel/HomeLocationButton.tsx","webpack://web/./src/component/panels/modalPanel/LocationPicker.tsx","webpack://web/./src/component/panels/modalPanel/LocationPickerPanel.tsx","webpack://web/./src/component/panels/modalPanel/RegionPickerParts.tsx","webpack://web/./src/component/panels/modalPanel/StatesMaxSelectionWarning.tsx","webpack://web/./src/component/panels/modalPanel/StatesPicker.tsx","webpack://web/./src/component/panels/modalPanel/StatesProvincesRegionsMapButton.tsx","webpack://web/./src/component/panels/myTruck/MyTruck.tsx","webpack://web/./src/component/panels/myTruck/MyTruckTrailerType.tsx","webpack://web/./src/component/panels/myTruck/TruckForm.tsx","webpack://web/./src/component/panels/notFoundSearches/ErrorIcon.tsx","webpack://web/./src/component/panels/notFoundSearches/NotFoundPanel.tsx","webpack://web/./src/component/panels/notFoundSearches/NotFoundPanels.tsx","webpack://web/./src/component/panels/pickerPanels/Dates.tsx","webpack://web/./src/component/panels/pickerPanels/HomePick.tsx","webpack://web/./src/component/panels/pickerPanels/PickUpDropOffStyles.tsx","webpack://web/./src/component/panels/pickerPanels/RecentLocationsStyles.ts","webpack://web/./src/component/panels/pickerPanels/RecentSearchLocations.tsx","webpack://web/./src/component/panels/settings/FormSettingsStyles.tsx","webpack://web/./src/component/panels/settings/MPGPanel.tsx","webpack://web/./src/component/panels/settings/company/BusinessProfileHelper.ts","webpack://web/./src/component/panels/truckLocator/carrierDetails/CarrierDetailsData.tsx","webpack://web/./src/component/panels/truckLocator/carrierDetails/CarrierDetailsPanelStyles.tsx","webpack://web/./src/component/panels/truckPost/CreateNewTruckPost.tsx","webpack://web/./src/component/panels/truckPost/NoTruckPost.tsx","webpack://web/./src/component/panels/truckPost/PostTruckForm.tsx","webpack://web/./src/component/panels/truckPost/PostTruckFormSections.tsx","webpack://web/./src/component/panels/truckPost/PostTruckFormUI.tsx","webpack://web/./src/component/panels/truckPost/PostTruckUIPlanFeatures.tsx","webpack://web/./src/component/panels/truckPost/TruckPostLists.tsx","webpack://web/./src/component/paper/Paper.tsx","webpack://web/./src/component/pcmilerRoute/PCMilerRoute.tsx","webpack://web/./src/component/popup/ApiErrorPopup.tsx","webpack://web/./src/component/popup/BasePopup.tsx","webpack://web/./src/component/popup/BidFailedPopup.tsx","webpack://web/./src/component/popup/ConnectionErrorPopup.tsx","webpack://web/./src/component/popup/EnterDotPopup.tsx","webpack://web/./src/component/popup/MaintenancePopup.tsx","webpack://web/./src/component/popup/PlaceBidPopup.tsx","webpack://web/./src/component/popup/Popup.tsx","webpack://web/./src/component/popup/PopupButtons.tsx","webpack://web/./src/component/popup/PopupContentSections.tsx","webpack://web/./src/component/popup/PopupTrackingContext.tsx","webpack://web/./src/component/popup/SessionExpiredPopUp.tsx","webpack://web/./src/component/popup/UnlockFeaturePopup.tsx","webpack://web/./src/component/popup/myCarrierPortal/LinkBrokerAccountPopup.tsx","webpack://web/./src/component/popup/myCarrierPortal/MCPOnboardingPopup.tsx","webpack://web/./src/component/popup/myCarrierPortal/SetupIntegrationInfoPopup.tsx","webpack://web/./src/component/progress/LoadingProgress.tsx","webpack://web/./src/component/progress/OverlayLoadingProgress.tsx","webpack://web/./src/component/rateCheck/RateCheckFeedbackResponse.tsx","webpack://web/./src/component/rateCheck/RateCheckIsAccurate.tsx","webpack://web/./src/component/rateCheck/RateConfirmation.tsx","webpack://web/./src/component/rateCheck/RateConfirmationInput.tsx","webpack://web/./src/component/recaptcha/Recaptcha.tsx","webpack://web/./src/component/screenSharing/ScreenSharing.tsx","webpack://web/./src/component/screenSharing/ScreenSharingButton.tsx","webpack://web/./src/component/screenSharing/ScreenSharingHelper.tsx","webpack://web/./src/component/screenSharing/ScreenSharingPopup.tsx","webpack://web/./src/component/scrollView/AreaScrollView.tsx","webpack://web/./src/component/scrollView/DivScrollView.tsx","webpack://web/./src/component/scrollView/FixedArea.tsx","webpack://web/./src/component/scrollView/FixedAreaPortalDestination.tsx","webpack://web/./src/component/scrollView/FixedAreaRenderContext.tsx","webpack://web/./src/component/scrollView/InfiniteScrollView.tsx","webpack://web/./src/component/scrollView/KeyboardOpen.tsx","webpack://web/./src/component/scrollView/NonScrollView.tsx","webpack://web/./src/component/scrollView/PageScroll.tsx","webpack://web/./src/component/scrollView/SafeBottomInsetSpace.tsx","webpack://web/./src/component/scrollView/WindowScrollView.tsx","webpack://web/./src/component/scrollView/collapsibleLogic.ts","webpack://web/./src/component/scrollView/scrollUtil.ts","webpack://web/./src/component/scrollView/setupBodyFixed.ts","webpack://web/./src/component/section/Section.tsx","webpack://web/./src/component/section/SectionTitle.tsx","webpack://web/./src/component/select/Select.tsx","webpack://web/./src/component/select/SelectStyles.tsx","webpack://web/./src/component/simplemap/Regions.ts","webpack://web/./src/component/simplemap/SimpleMap.tsx","webpack://web/./src/component/simplemap/StateBboxArray.ts","webpack://web/./src/component/simplemap/StateLabels.ts","webpack://web/./src/component/simplemap/StatePaths.ts","webpack://web/./src/component/simplemap/StateSpecific.ts","webpack://web/./src/component/simplemap/raphael.js","webpack://web/./src/component/simplemap/simplemaps.js","webpack://web/./src/component/slider/CustomSlider.tsx","webpack://web/./src/component/slider/CustomSliderStyles.ts","webpack://web/./src/component/slider/WeightAndLengthSliders.tsx","webpack://web/./src/component/snack/Snackbar.tsx","webpack://web/./src/component/snack/SnackbarContent.tsx","webpack://web/./src/component/snack/SnackbarContentStyle.tsx","webpack://web/./src/component/statusBar/ManageLine.tsx","webpack://web/./src/component/statusBar/StatusBar.tsx","webpack://web/./src/component/statusBar/StatusBarContactOptions.tsx","webpack://web/./src/component/statusBar/StatusBarPopups.tsx","webpack://web/./src/component/statusBar/StatusBarStyle.tsx","webpack://web/./src/component/table/loadTable/LoadTableHelper.ts","webpack://web/./src/component/table/loadTable/LoadTableStyles.ts","webpack://web/./src/component/table/truckTable/TruckComponents.tsx","webpack://web/./src/component/table/truckTable/TruckElement.tsx","webpack://web/./src/component/table/truckTable/TruckTableStyles.tsx","webpack://web/./src/component/table/truckTable/Warning.tsx","webpack://web/./src/component/tabs/Tab.tsx","webpack://web/./src/component/tabs/Tabs.tsx","webpack://web/./src/component/textInput/NumberValidationInput.tsx","webpack://web/./src/component/textInput/TextInputStyle.tsx","webpack://web/./src/component/text/TappableTextContent.tsx","webpack://web/./src/component/text/Text.tsx","webpack://web/./src/component/topRibbon/TopRibbon.tsx","webpack://web/./src/component/truckAndLoadForm/TruckAndLoadFormStyles.tsx","webpack://web/./src/index.tsx","webpack://web/./src/model/CapacityFinder.ts","webpack://web/./src/model/Dispatcher.ts","webpack://web/./src/model/FormPickers.ts","webpack://web/./src/model/LoadAvailability.ts","webpack://web/./src/model/LoadDetailsTabs.ts","webpack://web/./src/model/LoadMetrics.ts","webpack://web/./src/model/LoadPostRequest.ts","webpack://web/./src/model/LocationTypes.ts","webpack://web/./src/model/MyPostedLoadsRequest.ts","webpack://web/./src/model/OnboardedCarriers.ts","webpack://web/./src/model/PosterLoadSearchRequest.ts","webpack://web/./src/model/PrivateNetwork.ts","webpack://web/./src/model/RecentPostedLoads.ts","webpack://web/./src/model/UserManagement.ts","webpack://web/./src/page/aspxPage/AspxEmbedIframe.tsx","webpack://web/./src/page/aspxPage/AspxMapper.ts","webpack://web/./src/page/aspxPage/AspxPage.tsx","webpack://web/./src/page/aspxPage/AspxRouteMap.ts","webpack://web/./src/page/aspxPage/AspxRouteTypes.ts","webpack://web/./src/page/aspxPage/AspxSelfEmbedProtection.ts","webpack://web/./src/page/aspxPage/AspxSwitcher.tsx","webpack://web/./src/page/bids/BidCards.tsx","webpack://web/./src/page/bids/BidFormRateCheck.tsx","webpack://web/./src/page/bids/BidFormsPanel.tsx","webpack://web/./src/page/bids/BidNavigationHelper.tsx","webpack://web/./src/page/bids/BidStatusHelper.ts","webpack://web/./src/page/bids/BidsList.tsx","webpack://web/./src/page/bids/BidsLoadDetails.tsx","webpack://web/./src/page/bids/BidsPCMilerMap.tsx","webpack://web/./src/page/bids/BidsPanel.tsx","webpack://web/./src/page/bids/BidsPanelHeader.tsx","webpack://web/./src/page/bids/BidsPanelRouting.tsx","webpack://web/./src/page/bids/BidsTabsPanel.tsx","webpack://web/./src/page/bids/VendorBidsList.tsx","webpack://web/./src/page/bids/filters/BidsFilterPanel.tsx","webpack://web/./src/page/bids/style/BidsStyleHelper.ts","webpack://web/./src/page/bids/summary/BidHistoryList.tsx","webpack://web/./src/page/bids/summary/BidInfoRibbonSummary.tsx","webpack://web/./src/page/bids/summary/BidListItem.tsx","webpack://web/./src/page/bids/summary/BidSummaryHelpers.tsx","webpack://web/./src/page/bids/summary/BidSummaryPanel.tsx","webpack://web/./src/page/bids/summary/BiddingSummary.tsx","webpack://web/./src/page/bids/summary/ExpirationTimeBanner.tsx","webpack://web/./src/page/bids/summary/OfferActions.tsx","webpack://web/./src/page/communication/AttachmentsBottomMenu.tsx","webpack://web/./src/page/communication/CommunicationBrokerLoadDetails.tsx","webpack://web/./src/page/communication/CommunicationChat.tsx","webpack://web/./src/page/communication/CommunicationChatHeader.tsx","webpack://web/./src/page/communication/CommunicationLoadDetails.tsx","webpack://web/./src/page/communication/CommunicationPCMilerMap.tsx","webpack://web/./src/page/communication/CommunicationRoute.tsx","webpack://web/./src/page/communication/ContactInfoDetails.ts","webpack://web/./src/page/communication/ContactInfoSections.tsx","webpack://web/./src/page/communication/Conversation.tsx","webpack://web/./src/page/communication/ConversationContactInfoPanel.tsx","webpack://web/./src/page/communication/ConversationHelper.tsx","webpack://web/./src/page/communication/ConversationList.tsx","webpack://web/./src/page/communication/ConversationListFilter.tsx","webpack://web/./src/page/communication/Conversations.tsx","webpack://web/./src/page/communication/GlobalConversations.tsx","webpack://web/./src/page/communication/LoadContactInfoPanel.tsx","webpack://web/./src/page/communication/LoadConversations.tsx","webpack://web/./src/page/communication/NotificationWarningBanner.tsx","webpack://web/./src/page/communication/RegisterBrowserToFirebaseNotification.tsx","webpack://web/./src/page/communication/chat/ChatHeaderNameStatus.tsx","webpack://web/./src/page/dashboard/FeedHooks.ts","webpack://web/./src/page/dashboard/Promotion.tsx","webpack://web/./src/page/dashboard/widgets/CarrierRatingUIHelper.tsx","webpack://web/./src/page/error/GenericError.tsx","webpack://web/./src/page/findLoads/LoadSearchRequestEncoder.ts","webpack://web/./src/page/findLoads/RouteParams.ts","webpack://web/./src/page/loadAvailability/LoadAvailabilityEncoder.ts","webpack://web/./src/page/loadAvailability/Utility.ts","webpack://web/./src/page/marketRates/marketRates/SearchFormHelper.ts","webpack://web/./src/page/marketRates/marketRates/widgets/MinMaxBox.tsx","webpack://web/./src/page/myDocuments/ActionsMenu.tsx","webpack://web/./src/page/myDocuments/DeletePopups.tsx","webpack://web/./src/page/myDocuments/LoadingFullscreenPanel.tsx","webpack://web/./src/page/myDocuments/MyDocumentsEncoder.ts","webpack://web/./src/page/myDocuments/PDFViewer.tsx","webpack://web/./src/page/myDocuments/PreviewNotAvailable.tsx","webpack://web/./src/page/myDocuments/ViewDocument.tsx","webpack://web/./src/page/newSettings/panelSectionFilter/SettingsHelper.ts","webpack://web/./src/page/partnerServices/RegisterForm.tsx","webpack://web/./src/page/postLoads/RouteParams.ts","webpack://web/./src/page/profitCalculator/ProfitCalculatorHelper.ts","webpack://web/./src/page/rateCheck/MinMaxBox.tsx","webpack://web/./src/page/rateCheck/RateCheckHelper.ts","webpack://web/./src/page/rateCheck/RateCheckHistory.tsx","webpack://web/./src/page/settings/PrivateNetworkHelper.ts","webpack://web/./src/page/truckLocator/locateTruck/CompaniesAvatarLogo.tsx","webpack://web/./src/page/truckLocator/locateTruck/CompaniesProfileAvatarLogo.tsx","webpack://web/./src/page/truckLocator/locateTruck/LocateTruckEncoder.ts","webpack://web/./src/page/truckLocator/locateTruck/TruckDestinations.tsx","webpack://web/./src/page/unsubscribeAssistant/UnsubscribeStylesHelper.ts","webpack://web/./src/reduxStore/History.ts","webpack://web/./src/reduxStore/RootEpic.ts","webpack://web/./src/reduxStore/Store.ts","webpack://web/./src/reduxStore/epic/ApplicationSettingsReducer.ts","webpack://web/./src/reduxStore/epic/CapacityFinderEpic.ts","webpack://web/./src/reduxStore/epic/CarrierEpic.ts","webpack://web/./src/reduxStore/epic/ConnectionErrorEpic.ts","webpack://web/./src/reduxStore/epic/FeedEpic.ts","webpack://web/./src/reduxStore/epic/InboxMessageContentEpic.ts","webpack://web/./src/reduxStore/epic/LoadMetricsEpic.ts","webpack://web/./src/reduxStore/epic/LoadVisibilityRulesEpic.ts","webpack://web/./src/reduxStore/epic/LoadVisibilityRulesHelper.ts","webpack://web/./src/reduxStore/epic/LocationEpic.ts","webpack://web/./src/reduxStore/epic/LocationPickerEpic.ts","webpack://web/./src/reduxStore/epic/MileageCalculatorEpic.ts","webpack://web/./src/reduxStore/epic/OnboardedCarriersEpic.ts","webpack://web/./src/reduxStore/epic/PCMilerEpic.ts","webpack://web/./src/reduxStore/epic/PanelEpic.ts","webpack://web/./src/reduxStore/epic/PostLoadEpic.ts","webpack://web/./src/reduxStore/epic/PostingContactsEpic.ts","webpack://web/./src/reduxStore/epic/PrivateNetworkEpic.ts","webpack://web/./src/reduxStore/epic/ReducerSyncEpic.ts","webpack://web/./src/reduxStore/epic/SearchDirectoryEpic.ts","webpack://web/./src/reduxStore/epic/TruckEpic.ts","webpack://web/./src/reduxStore/epic/URLScrapeEpic.ts","webpack://web/./src/reduxStore/epic/UnsubscribeEpic.ts","webpack://web/./src/reduxStore/epic/UserActivityEpic.ts","webpack://web/./src/reduxStore/epic/UserSettingsEpic.ts","webpack://web/./src/reduxStore/epic/VerifyEmailEpic.ts","webpack://web/./src/reduxStore/epic/WelcomebackCampaignEpic.ts","webpack://web/./src/reduxStore/epic/postLoad/PostLoadFormEpic.ts","webpack://web/./src/reduxStore/epic/postLoad/PostLoadFormStateHelper.ts","webpack://web/./src/reduxStore/reducer/FormValidationReducer.ts","webpack://web/./src/reduxStore/reducer/LoadDetailsTabsReducer.ts","webpack://web/./src/reduxStore/reducer/LoadSearchFormReducer.ts","webpack://web/./src/reduxStore/reducer/PostTruckAvailabilityReducer.ts","webpack://web/./src/reduxStore/reducer/PostedLoadsPanelActionsReducer.ts","webpack://web/./src/reduxStore/reducer/SnackbarReducer.ts","webpack://web/./src/reduxStore/reducer/TruckReducer.ts","webpack://web/./src/reduxStore/reducer/UnderDevelopmentReducer.ts","webpack://web/./src/registerServiceWorker.ts","webpack://web/./src/router/AuthenticatedRoute.tsx","webpack://web/./src/router/Logout.tsx","webpack://web/./src/router/RouteGroup.tsx","webpack://web/./src/router/RouteHelper.tsx","webpack://web/./src/router/Routes.ts","webpack://web/./src/router/Routing.tsx","webpack://web/./src/style/Color.ts","webpack://web/./src/style/StyleConstants.ts","webpack://web/./src/style/Theme.ts","webpack://web/./src/style/TypographyStyle.ts","webpack://web/./src/style/WithTheme.ts","webpack://web/./src/translate/EquipmentTranslation.ts","webpack://web/./src/translate/TranslationKeys.ts","webpack://web/./src/translate/english.ts","webpack://web/./src/translate/french.ts","webpack://web/./src/translate/spanish.ts","webpack://web/./src/translate/translation.ts","webpack://web/./src/util/AppConfig.ts","webpack://web/./src/util/AppVersionHelper.mjs","webpack://web/./src/util/BugsnagHelper.ts","webpack://web/./src/util/Constants.ts","webpack://web/./src/util/FileHelper.ts","webpack://web/./src/util/Formatter.ts","webpack://web/./src/util/GenId.ts","webpack://web/./src/util/GeolocationHelper.ts","webpack://web/./src/util/Link.ts","webpack://web/./src/util/LoadAgeProvider.tsx","webpack://web/./src/util/LocalDataStorage.ts","webpack://web/./src/util/MainSpinnerHelper.ts","webpack://web/./src/util/MediaQueries.ts","webpack://web/./src/util/Metadata.tsx","webpack://web/./src/util/OldMemberSiteLink.ts","webpack://web/./src/util/PageHelper.ts","webpack://web/./src/util/SyncTimer.ts","webpack://web/./src/util/TruckDataHelper.ts","webpack://web/./src/util/UrlParamsHelper.ts","webpack://web/./src/util/WithResizeDetectorAndRef.tsx","webpack://web/./src/util/firebaseNotification/FirebasePushNotification.ts","webpack://web/./src/util/helper/ContactOptionsHelper.ts","webpack://web/./src/util/helper/CostPerDayHelper.ts","webpack://web/./src/util/helper/EquipmentHelper.ts","webpack://web/./src/util/helper/KeyboardHelper.ts","webpack://web/./src/util/helper/PathHelper.ts","webpack://web/./src/util/helper/PostLoadHelper.ts","webpack://web/./src/util/helper/SimpleMapsHelper.ts","webpack://web/./src/util/helper/UserActivityManager.ts","webpack://web/./src/util/hooks/EventHook.ts","webpack://web/./src/util/hooks/FloatingScrollbarsHook.ts","webpack://web/./src/util/hooks/MediaQueryHook.ts","webpack://web/./src/util/hooks/MobileViewHook.ts","webpack://web/./src/util/hooks/OpenedTabsControl.ts","webpack://web/./src/util/hooks/UniqueIdHook.ts","webpack://web/./src/util/hooks/UseContentHeightMeasurer.tsx","webpack://web/./src/util/hooks/UseContentScrollControl.ts","webpack://web/./src/util/hooks/UseCsv.ts","webpack://web/./src/util/hooks/UseDebounce.ts","webpack://web/./src/util/hooks/UseLoadMoreIfNecessary.tsx","webpack://web/./src/util/hooks/UseRedux.ts","webpack://web/./src/util/hooks/UseVisibility.ts","webpack://web/./src/util/hooks/WindowResizeHook.ts","webpack://web/./src/util/iconsConstants.ts","webpack://web/./src/util/linkify/Linkify.tsx","webpack://web/./src/util/parsers/DirectorySearchRequestParsers.ts","webpack://web/./src/util/parsers/LoadSearchRequestParsers.ts","webpack://web/./src/util/parsers/MapDataParsers.ts","webpack://web/./src/util/trackers/123lbTracker.ts","webpack://web/./src/util/trackers/AppInsights.js","webpack://web/./src/util/trackers/GoogleAnalyticsTracker.ts","webpack://web/./src/webApi/AnonymousMemberApiService.ts","webpack://web/./src/webApi/ApiServiceHelper.ts","webpack://web/./src/webApi/CapacityFinderClient.ts","webpack://web/./src/webApi/CookiesHelper.ts","webpack://web/./src/webApi/LoadMetricsClient.ts","webpack://web/./src/webApi/LoadTemplatesClient.ts","webpack://web/./src/webApi/MemberApiService.ts","webpack://web/./src/webApi/MembersClient.ts","webpack://web/./src/webApi/MembersEpic.ts","webpack://web/./src/webApi/PrivateNetworkClient.ts","webpack://web/./src/webApi/RawApiService.ts","webpack://web/./src/webApi/ResponseHandler.ts","webpack://web/./src/webApi/TokenRefresher.ts","webpack://web/./src/component/banner/error-block.svg","webpack://web/./src/component/banner/icon_success.svg","webpack://web/./src/component/banner/icon_warning.svg","webpack://web/./src/component/banner/info.svg","webpack://web/./src/component/banner/onboarding.svg","webpack://web/./src/component/buttons/more-menu.svg","webpack://web/./src/component/feed/icon-feed-dark.svg","webpack://web/./src/component/feed/icon-feed-selected.svg","webpack://web/./src/component/feed/icon-feed.svg","webpack://web/./src/component/feed/icon-help-dark.svg","webpack://web/./src/component/feed/icon-help-selected.svg","webpack://web/./src/component/feed/icon-help.svg","webpack://web/./src/component/feed/icon-youtube.svg","webpack://web/./src/component/globalBanner/warning-icon.svg","webpack://web/./src/component/menu/icon/border-wait-times.svg","webpack://web/./src/component/menu/icon/credit-report.svg","webpack://web/./src/component/menu/icon/dashboard.svg","webpack://web/./src/component/menu/icon/export-posts.svg","webpack://web/./src/component/menu/icon/fmcsa-search.svg","webpack://web/./src/component/menu/icon/fuel-prices.svg","webpack://web/./src/component/menu/icon/get-paid-faster.svg","webpack://web/./src/component/menu/icon/help-icon.svg","webpack://web/./src/component/menu/icon/hot-leads.svg","webpack://web/./src/component/menu/icon/html-embed-code.svg","webpack://web/./src/component/menu/icon/icon-bid.svg","webpack://web/./src/component/menu/icon/icon-bullhorn.svg","webpack://web/./src/component/menu/icon/icon-menu.svg","webpack://web/./src/component/menu/icon/icon-message.svg","webpack://web/./src/component/menu/icon/load-planner.svg","webpack://web/./src/component/menu/icon/loadAvailability.svg","webpack://web/./src/component/menu/icon/logout-icon.svg","webpack://web/./src/component/menu/icon/mileage-calculator.svg","webpack://web/./src/component/menu/icon/my-carriers.svg","webpack://web/./src/component/menu/icon/my-companies.svg","webpack://web/./src/component/menu/icon/my-documents.svg","webpack://web/./src/component/menu/icon/my-loads.svg","webpack://web/./src/component/menu/icon/my-truck-post.svg","webpack://web/./src/component/menu/icon/post.svg","webpack://web/./src/component/menu/icon/posting-aid.svg","webpack://web/./src/component/menu/icon/profit-calculator.svg","webpack://web/./src/component/menu/icon/rate-check.svg","webpack://web/./src/component/menu/icon/reefer-rates.svg","webpack://web/./src/component/menu/icon/register.svg","webpack://web/./src/component/menu/icon/roadside-assistance.svg","webpack://web/./src/component/menu/icon/save-at-the-pump.svg","webpack://web/./src/component/menu/icon/search-directory.svg","webpack://web/./src/component/menu/icon/search-trucks.svg","webpack://web/./src/component/menu/icon/search.svg","webpack://web/./src/component/menu/icon/settings.svg","webpack://web/./src/component/menu/icon/sign-in.svg","webpack://web/./src/component/menu/icon/tms-integration.svg","webpack://web/./src/component/menu/icon/trucking-authority.svg","webpack://web/./src/component/menu/icon/upload-posts.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/update-status.svg","webpack://web/./src/component/statusBar/selected.svg","webpack://web/./src/component/statusBar/unselected.svg","webpack://web/./src/icons/icon-arrow-right.svg","webpack://web/./src/icons/icon_dollar.svg","webpack://web/./src/icons/icon_up_arrow.svg","webpack://web/./src/page/communication/download.svg","webpack://web/./src/page/myDocuments/add-file.svg","webpack://web/./src/page/myDocuments/change-folder.svg","webpack://web/./src/page/myDocuments/change-type.svg","webpack://web/./src/page/myDocuments/delete.svg","webpack://web/./src/page/myDocuments/download.svg","webpack://web/./src/page/myDocuments/edit.svg","webpack://web/./src/page/myDocuments/error.svg","webpack://web/./src/page/myDocuments/folder.svg","webpack://web/./src/page/myDocuments/rename.svg","webpack://web/./src/page/myDocuments/select.svg","webpack://web/./src/page/myDocuments/send.svg","webpack://web/./src/page/myDocuments/view.svg","webpack://web/./src/component/badge/icon-rating-small.svg","webpack://web/./src/component/badge/icon-rating.svg","webpack://web/./src/component/buttons/arrow-up.svg","webpack://web/./src/component/buttons/filter.svg","webpack://web/./src/component/chip/cancel.svg","webpack://web/./src/component/conversation/composer/icon-add-file.svg","webpack://web/./src/component/conversation/composer/icon-attach-plus-o.svg","webpack://web/./src/component/conversation/composer/icon-attach-plus.svg","webpack://web/./src/component/conversation/composer/icon-folder.svg","webpack://web/./src/component/expansionPanel/icon-arrow-down.svg","webpack://web/./src/component/expansionPanel/icon-arrow-up.svg","webpack://web/./src/component/feed/not-found.svg","webpack://web/./src/component/map/marker.svg","webpack://web/./src/component/map/markerGreen.svg","webpack://web/./src/component/menu/icon/app-store.svg","webpack://web/./src/component/menu/icon/bid-icon-conversation.svg","webpack://web/./src/component/menu/icon/bid-icon-pale.svg","webpack://web/./src/component/menu/icon/checkmark-badge-green.svg","webpack://web/./src/component/menu/icon/facebook.svg","webpack://web/./src/component/menu/icon/google-play.svg","webpack://web/./src/component/menu/icon/icon-add-avatar-24px.svg","webpack://web/./src/component/menu/icon/icon-add-avatar.svg","webpack://web/./src/component/menu/icon/icon-sound-off.svg","webpack://web/./src/component/menu/icon/icon-sound-on.svg","webpack://web/./src/component/menu/icon/icon-unverified.svg","webpack://web/./src/component/menu/icon/instagram.svg","webpack://web/./src/component/menu/icon/linkedin.svg","webpack://web/./src/component/menu/icon/logo.svg","webpack://web/./src/component/menu/icon/twitter.svg","webpack://web/./src/component/menu/icon/youtube.svg","webpack://web/./src/component/mobileStoreLink/images/appstore.svg","webpack://web/./src/component/mobileStoreLink/images/googleplay.svg","webpack://web/./src/component/panel/close.svg","webpack://web/./src/component/panel/icons_back.svg","webpack://web/./src/component/panel/refresh.svg","webpack://web/./src/component/panels/basePanel/loadDetails/backhauls.svg","webpack://web/./src/component/panels/basePanel/loadDetails/close.svg","webpack://web/./src/component/panels/basePanel/loadDetails/company-loads.svg","webpack://web/./src/component/panels/basePanel/loadDetails/company.svg","webpack://web/./src/component/panels/basePanel/loadDetails/credit rating.svg","webpack://web/./src/component/panels/basePanel/loadDetails/credit report.svg","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/icon-favorite-off.svg","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/icon-favorite-on.svg","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/icon-onboarded-off.svg","webpack://web/./src/component/panels/basePanel/loadDetails/generalInfo/icon-onboarded-on.svg","webpack://web/./src/component/panels/basePanel/loadDetails/google map.svg","webpack://web/./src/component/panels/basePanel/loadDetails/icon-alerts.svg","webpack://web/./src/component/panels/basePanel/loadDetails/load-documents.svg","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/cargo-data.svg","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/greenscreens-data.svg","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/rate-check.svg","webpack://web/./src/component/panels/basePanel/loadDetails/marketRates/rc-logo.svg","webpack://web/./src/component/panels/basePanel/loadDetails/mileage.svg","webpack://web/./src/component/panels/basePanel/loadDetails/new window.svg","webpack://web/./src/component/panels/basePanel/loadDetails/onboarded.svg","webpack://web/./src/component/panels/basePanel/loadDetails/pc miler.svg","webpack://web/./src/component/panels/basePanel/loadDetails/post-truck.svg","webpack://web/./src/component/panels/basePanel/loadDetails/profitCalculator/profit calculator.svg","webpack://web/./src/component/panels/basePanel/loadDetails/thunder logo icon.svg","webpack://web/./src/component/panels/basePanel/panelFiltersSection/arrow-right.svg","webpack://web/./src/component/panels/companyDetails/icon-authority.svg","webpack://web/./src/component/panels/companyDetails/icon-insurance.svg","webpack://web/./src/component/panels/companyDetails/icon-rating.svg","webpack://web/./src/component/panels/companyDetails/myCarrierPortal/logo-mcp.svg","webpack://web/./src/component/panels/companyDetails/myCarrierPortal/risk-fail.svg","webpack://web/./src/component/panels/companyDetails/myCarrierPortal/risk-low.svg","webpack://web/./src/component/panels/companyDetails/myCarrierPortal/risk-medium.svg","webpack://web/./src/component/panels/companyDetails/myCarrierPortal/risk-review.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/icon-bid-sent.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/icon-bid.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/icon-book-now.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/icon-book.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/icon-booked.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/icon-called.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/icon-email-load-off.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/icon-email-load-on.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/buttons/icon-vHub.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/cota.svg","webpack://web/./src/component/panels/findLoads/loadDetailsPanel/icon_message.svg","webpack://web/./src/component/panels/findLoads/searchResultPanel/alert-bell-off.svg","webpack://web/./src/component/panels/findLoads/searchResultPanel/alert-bell-on.svg","webpack://web/./src/component/panels/mileageCalculator/icon-download.svg","webpack://web/./src/component/panels/myTruck/my_truck.svg","webpack://web/./src/component/panels/notFoundSearches/loadBlocked.svg","webpack://web/./src/component/panels/notFoundSearches/new-search.svg","webpack://web/./src/component/panels/notFoundSearches/noLoadsFound.svg","webpack://web/./src/component/panels/settings/company/dotVerification/icon-external-link.svg","webpack://web/./src/component/panels/truckPost/no_truck_post.svg","webpack://web/./src/component/panels/truckPost/no_truck_post_expired.svg","webpack://web/./src/component/panels/truckPost/no_truck_post_scheduled.svg","webpack://web/./src/component/panels/truckPost/pc_miler.svg","webpack://web/./src/component/popup/maintenance-truck.svg","webpack://web/./src/component/rateCheck/fields-clear.svg","webpack://web/./src/component/screenSharing/close-white.svg","webpack://web/./src/component/statusBar/icon-status.svg","webpack://web/./src/component/table/truckTable/warning.svg","webpack://web/./src/icons/123connect_icon.svg","webpack://web/./src/icons/arrow-right-gray.svg","webpack://web/./src/icons/arrow-right-green.svg","webpack://web/./src/icons/arrow-right-red.svg","webpack://web/./src/icons/arrow-right-silver.svg","webpack://web/./src/icons/arrow-right.svg","webpack://web/./src/icons/ascending.svg","webpack://web/./src/icons/backhaul.svg","webpack://web/./src/icons/btn-send-on.svg","webpack://web/./src/icons/btn-send.svg","webpack://web/./src/icons/calendar.svg","webpack://web/./src/icons/call-disabled.svg","webpack://web/./src/icons/call.svg","webpack://web/./src/icons/check.svg","webpack://web/./src/icons/clear-small.svg","webpack://web/./src/icons/close.svg","webpack://web/./src/icons/closeLight.svg","webpack://web/./src/icons/collapse.svg","webpack://web/./src/icons/delete-orange.svg","webpack://web/./src/icons/delete.svg","webpack://web/./src/icons/descending.svg","webpack://web/./src/icons/dollar.svg","webpack://web/./src/icons/edit.svg","webpack://web/./src/icons/empty-folder.svg","webpack://web/./src/icons/error-block.svg","webpack://web/./src/icons/expand.svg","webpack://web/./src/icons/favorite.svg","webpack://web/./src/icons/fields - arrow right.svg","webpack://web/./src/icons/home.svg","webpack://web/./src/icons/icon-arrow-right-orange.svg","webpack://web/./src/icons/icon-bullet-check.svg","webpack://web/./src/icons/icon-hide.svg","webpack://web/./src/icons/icon-loads.svg","webpack://web/./src/icons/icon-message-off.svg","webpack://web/./src/icons/icon-onboarded-off.svg","webpack://web/./src/icons/icon-onboarded-on.svg","webpack://web/./src/icons/icon-send.svg","webpack://web/./src/icons/icon-trip.svg","webpack://web/./src/icons/icon-view.svg","webpack://web/./src/icons/icon-zoom.svg","webpack://web/./src/icons/icon_error_block.svg","webpack://web/./src/icons/icon_info.svg","webpack://web/./src/icons/icon_success.svg","webpack://web/./src/icons/icon_warning.svg","webpack://web/./src/icons/icons - back.svg","webpack://web/./src/icons/info_small.svg","webpack://web/./src/icons/info_small_gray.svg","webpack://web/./src/icons/info_small_white.svg","webpack://web/./src/icons/location.svg","webpack://web/./src/icons/logo-gray.svg","webpack://web/./src/icons/logo-orange.svg","webpack://web/./src/icons/map-error.svg","webpack://web/./src/icons/map-look-up.svg","webpack://web/./src/icons/marker.svg","webpack://web/./src/icons/message-blue.svg","webpack://web/./src/icons/message_locked_icon.svg","webpack://web/./src/icons/new-loads-arrow-down.svg","webpack://web/./src/icons/new-loads-arrow.svg","webpack://web/./src/icons/no_conversations.svg","webpack://web/./src/icons/point A.svg","webpack://web/./src/icons/point B.svg","webpack://web/./src/icons/print-disabled.svg","webpack://web/./src/icons/print.svg","webpack://web/./src/icons/road-sign-two-way-disabled.svg","webpack://web/./src/icons/road-sign-two-way.svg","webpack://web/./src/icons/save search.svg","webpack://web/./src/icons/save-disabled.svg","webpack://web/./src/icons/save.svg","webpack://web/./src/icons/saved.svg","webpack://web/./src/icons/search-trucks.svg","webpack://web/./src/icons/share-disabled.svg","webpack://web/./src/icons/share.svg","webpack://web/./src/icons/states.svg","webpack://web/./src/icons/trip-load-tab-added.svg","webpack://web/./src/icons/trip-load-tab-available.svg","webpack://web/./src/icons/trip-load-tab-deadhead.svg","webpack://web/./src/icons/warning.svg","webpack://web/./src/icons/warning_menu.svg","webpack://web/./src/page/bids/clipart-bids.svg","webpack://web/./src/page/communication/close.svg","webpack://web/./src/page/communication/icon-mileage.svg","webpack://web/./src/page/communication/icon-tia-logo.svg","webpack://web/./src/page/dashboard/widgets/logo-carriersource.svg","webpack://web/./src/page/dashboard/widgets/star.svg","webpack://web/./src/page/error/boxAlert.svg","webpack://web/./src/page/error/notFound.svg","webpack://web/./src/page/rateCheck/down-arrow.svg","webpack://web/./src/page/rateCheck/up-arrow.svg"],"sourcesContent":["import React, { useEffect } from 'react';\r\n\r\nimport { ConnectedRouter } from 'connected-react-router';\r\nimport { Helmet } from 'react-helmet';\r\nimport { Provider, ReactReduxContext } from 'react-redux';\r\nimport { PersistGate } from 'redux-persist/integration/react';\r\nimport 'simplebar/dist/simplebar.min.css';\r\n\r\nimport { MuiThemeProvider } from '@material-ui/core';\r\nimport { withAITracking } from '@microsoft/applicationinsights-react-js';\r\n\r\nimport { history } from '@/reduxStore/History';\r\nimport { persistor, store } from '@/reduxStore/Store';\r\nimport { Routing } from '@/router/Routing';\r\nimport { ReduxRegistryConnect } from '@common/redux/ReduxRegistry';\r\nimport { FeedController } from '@component/feed/FeedController';\r\nimport { FeedPopup, FeedPopupMob } from '@component/feed/FeedPopup';\r\nimport { InitialLoading } from '@component/main/InitialLoading';\r\nimport { MainLayout } from '@component/main/MainLayout';\r\nimport { TopMenuNotificationDot } from '@component/main/TopMenuNotificationDot';\r\nimport { DesktopMenu } from '@component/menu/DesktopMenu';\r\nimport { MobileMenu } from '@component/menu/MobileMenu';\r\nimport { ConnectionErrorPopup } from '@component/popup/ConnectionErrorPopup';\r\nimport { MaintenancePopup } from '@component/popup/MaintenancePopup';\r\nimport { Popup } from '@component/popup/Popup';\r\nimport { PopupProvider } from '@component/popup/PopupTrackingContext';\r\nimport { SessionExpiredPopUp } from '@component/popup/SessionExpiredPopUp';\r\nimport { ScreenSharing } from '@component/screenSharing/ScreenSharing';\r\nimport { FixedHeader } from '@component/scrollView';\r\nimport Snackbar from '@component/snack/Snackbar';\r\nimport { TopRibbon } from '@component/topRibbon';\r\nimport '@page/aspxPage/AspxSelfEmbedProtection';\r\nimport THEME from '@style/Theme';\r\nimport { t, T } from '@translate';\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport { hideMainSpinner } from '@util/MainSpinnerHelper';\r\nimport {\r\n DESCRIPTION_META,\r\n OG_DESCRIPTION_META,\r\n OG_TITLE_META,\r\n TITLE_META,\r\n TWITTER_DESCRIPTION_META,\r\n TWITTER_TITLE_META,\r\n} from '@util/Metadata';\r\n\r\nimport { appDependencies, DependencyProvider } from './AppDependencies';\r\nimport { isMessagingWidgetView } from './MessagingWidgetApp';\r\nimport { reactPlugin } from './util/trackers/AppInsights';\r\n\r\nconst isMessagingWidget = isMessagingWidgetView();\r\n\r\nconst App: React.FC = () => {\r\n useEffect(() => {\r\n hideMainSpinner();\r\n }, []);\r\n\r\n return (\r\n <>\r\n \r\n {AppConfig.NAME}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n }\r\n topRightComponent={}\r\n mobileMenuChildren={}\r\n desktopMenuChildren={}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst MobileMenuChildren: React.FC = () => (\r\n <>\r\n \r\n \r\n \r\n);\r\n\r\nconst DesktopMenuChildren: React.FC = () => (\r\n <>\r\n \r\n \r\n \r\n);\r\n\r\nexport default withAITracking(reactPlugin, App);\r\n","import { memberApi } from '@/reduxStore/RootEpic';\r\nimport { Api } from '@common/api';\r\nimport { ClientType, CommunicationService } from '@common/socket/Communication';\r\nimport { createDependencyManager } from '@common/util/DependencyManager';\r\n\r\ninterface Dependencies {\r\n authenticatedAPI: Api;\r\n communicationService: CommunicationService;\r\n}\r\n\r\nexport const appDependencies: Dependencies = {\r\n authenticatedAPI: memberApi,\r\n communicationService: new CommunicationService(memberApi, ClientType.Web, false),\r\n};\r\n\r\nconst dependencyManager = createDependencyManager();\r\nexport const DependencyProvider = dependencyManager.provider;\r\n\r\nexport const useCommunicationService = () => {\r\n return dependencyManager.hook().communicationService;\r\n};\r\n","//------------------------------------------------------------------------\r\n// This file defines the current Application (members) version number\r\n//\r\n//------------------------------------------------------------------------\r\n// NOTES:\r\n// Given that the file will be modified often, we refrained from\r\n// using the number stored in package.json to reduce merge conflicts\r\n// and allow easier git logs analysis.\r\n//\r\n// This file is parsed by the VSTS build process to extract the information.\r\n// Do not add logic or other lines here.\r\n//------------------------------------------------------------------------\r\n// format : 'major.minor.patch'\r\n//\r\nexport default '3.111.0';\r\n","import React, { useCallback, useEffect, useRef } from 'react';\r\n\r\nimport { find, forEach } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\nimport { useHistory } from 'react-router-dom';\r\n\r\nimport { voidFunction } from '@common/helper';\r\nimport { BiddingRole, UpdateBidEventType } from '@common/model';\r\nimport { getBiddingSummary, receivedBidUpdateEvent } from '@common/redux/epic/bids/BidsEpic';\r\nimport {\r\n getCommunicationStatus,\r\n getConversationsByID,\r\n getConversationsSummary,\r\n getMessagesSummary,\r\n onNewMessage,\r\n resetCommunicationsState,\r\n} from '@common/redux/epic/CommunicationEpic';\r\nimport { fetchAlertSettings } from '@common/redux/epic/SettingsEpic';\r\nimport { newTruckAlert } from '@common/redux/epic/TruckAlertsEpic';\r\nimport {\r\n CommunicationStatsUpdate,\r\n ConnectedTopics,\r\n EmptyConnectedTopics,\r\n TopicCategory,\r\n} from '@common/socket/Communication';\r\nimport { mapSettingsUpdateToActions, SettingsUpdate, SettingUpdate } from '@common/socket/SignalRSettings';\r\nimport { useIsCarrier } from '@component/menu/NavigationMenuHelper';\r\nimport { useIsBiddingEnabled } from '@page/bids/BidStatusHelper';\r\nimport { useSelector } from '@util/hooks/UseRedux';\r\nimport { useAppVisibilityChange } from '@util/hooks/UseVisibility';\r\nimport { hasLoginCookies } from '@webApi/CookiesHelper';\r\n\r\nimport { useCommunicationService } from './AppDependencies';\r\n\r\nexport const CommunicationHandler: React.FC = () => {\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const isUserLoggedIn = hasLoginCookies();\r\n const isBiddingEnabled = useIsBiddingEnabled();\r\n const isCarrier = useIsCarrier();\r\n const signalRService = useCommunicationService();\r\n\r\n const userId = useSelector((state) => state.user.profile?.payload?.id) ?? '';\r\n const isCommunicationsEnabled = useSelector((state) => state.communication.isCommunicationsEnabled);\r\n const isProfileFetched = useSelector((state) => state.user.profileFetchedAt !== undefined);\r\n\r\n const connectedTopics = useRef(EmptyConnectedTopics);\r\n const userStatusRef = useRef('foreground');\r\n const latestIsCommunicationsEnabled = useRef(isCommunicationsEnabled);\r\n latestIsCommunicationsEnabled.current = isCommunicationsEnabled;\r\n\r\n const isCommunicationListOpened = () => {\r\n return history.location.pathname.includes('communication');\r\n };\r\n\r\n const connectToBiddingTopics = useConnectToBiddingTopics(\r\n connectedTopics,\r\n isCarrier ? BiddingRole.Carrier : BiddingRole.Broker\r\n );\r\n const latestIsBiddingEnabled = useRef(isBiddingEnabled);\r\n latestIsBiddingEnabled.current = isBiddingEnabled;\r\n\r\n const disconnectFromTopics = (...topicCategories: TopicCategory[]) => {\r\n forEach(topicCategories, (category) => {\r\n if (connectedTopics.current[category]) {\r\n forEach(connectedTopics.current[category], (topic) => signalRService.disconnectFromTopic(topic));\r\n connectedTopics.current[category] = [];\r\n }\r\n });\r\n };\r\n\r\n const connectToCommunicationTopics = () => {\r\n dispatch(getMessagesSummary());\r\n connectedTopics.current.communication = signalRService.connectToTopics({\r\n onUpdatedConversations: (updatedIds) => {\r\n dispatch(getMessagesSummary());\r\n if (isCommunicationListOpened()) {\r\n dispatch(getConversationsByID(updatedIds, userId));\r\n }\r\n },\r\n onNewMessage: (message) => {\r\n dispatch(\r\n onNewMessage(message.conversationId, {\r\n documents: message.documents,\r\n messageId: message.messageId,\r\n text: message.text,\r\n sentAt: message.sentAt,\r\n read: false,\r\n sentBy: message.sentBy,\r\n clientMessageId: message.clientMessageId,\r\n users: [],\r\n widget: message.widget ?? undefined,\r\n })\r\n );\r\n },\r\n });\r\n };\r\n\r\n const connectToGeneralTopics = () => {\r\n connectedTopics.current.general = signalRService.connectToTopics({\r\n onUpdateClientStatus: () => {\r\n signalRService.updateClientStatus(userStatusRef.current);\r\n },\r\n onSettingsUpdate: (update: SettingsUpdate) => {\r\n if (isCommunicationSettingsUpdate(update.settings)) {\r\n dispatch(getCommunicationStatus());\r\n }\r\n //This fix check is only temporary.\r\n //We are checking if there was any updates made to alerts settings\r\n //If yes we fetch the new settings\r\n //Once we have implemented the real time database this will be obsolete - bernard\r\n if (isAlertsPollIntervalSettingsUpdated(update.settings)) {\r\n dispatch(fetchAlertSettings());\r\n }\r\n const systemSettingFetchActions = mapSettingsUpdateToActions(update);\r\n forEach(systemSettingFetchActions, (action) => {\r\n dispatch(action);\r\n });\r\n },\r\n onNewTruckAlert: () => {\r\n if (isCarrier) {\r\n dispatch(newTruckAlert());\r\n }\r\n },\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n dispatch(getCommunicationStatus());\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (isUserLoggedIn && isProfileFetched) {\r\n signalRService.startListening().then(() => {\r\n connectToGeneralTopics();\r\n if (latestIsCommunicationsEnabled.current && connectedTopics.current.communication.length === 0) {\r\n connectToCommunicationTopics();\r\n dispatch(getConversationsSummary());\r\n }\r\n if (latestIsBiddingEnabled.current && connectedTopics.current.bidding.length === 0) {\r\n connectToBiddingTopics();\r\n dispatch(getBiddingSummary(isCarrier ? BiddingRole.Carrier : BiddingRole.Broker));\r\n }\r\n });\r\n\r\n return () => {\r\n signalRService.updateClientStatus('offline');\r\n\r\n disconnectFromTopics(TopicCategory.General, TopicCategory.Communication, TopicCategory.Bidding);\r\n\r\n signalRService.stopListening();\r\n dispatch(resetCommunicationsState());\r\n };\r\n }\r\n\r\n return voidFunction;\r\n }, [isUserLoggedIn, isProfileFetched]);\r\n\r\n useEffect(() => {\r\n if (signalRService.isConnected()) {\r\n if (isCommunicationsEnabled) {\r\n if (connectedTopics.current.communication.length === 0) {\r\n connectToCommunicationTopics();\r\n dispatch(getConversationsSummary());\r\n }\r\n } else {\r\n disconnectFromTopics(TopicCategory.Communication);\r\n }\r\n }\r\n }, [isCommunicationsEnabled]);\r\n\r\n useEffect(() => {\r\n if (signalRService.isConnected()) {\r\n if (isBiddingEnabled) {\r\n if (connectedTopics.current.bidding.length === 0) {\r\n connectToBiddingTopics();\r\n dispatch(getBiddingSummary(isCarrier ? BiddingRole.Carrier : BiddingRole.Broker));\r\n }\r\n } else {\r\n disconnectFromTopics(TopicCategory.Bidding);\r\n }\r\n }\r\n }, [isBiddingEnabled]);\r\n\r\n useAppVisibilityChange(\r\n (isVisible) => {\r\n if (isCommunicationsEnabled) {\r\n const currentStatus = isVisible ? 'foreground' : 'background';\r\n userStatusRef.current = currentStatus;\r\n signalRService.updateClientStatus(currentStatus);\r\n } else if (isVisible) {\r\n dispatch(getCommunicationStatus());\r\n }\r\n },\r\n [isCommunicationsEnabled]\r\n );\r\n\r\n return null;\r\n};\r\n\r\nconst useConnectToBiddingTopics = (connectedTopics: React.MutableRefObject, role: BiddingRole) => {\r\n const dispatch = useDispatch();\r\n const signalRService = useCommunicationService();\r\n\r\n return useCallback(() => {\r\n connectedTopics.current.bidding = signalRService.connectToTopics({\r\n onNewBids: (event) => {\r\n dispatch(receivedBidUpdateEvent(UpdateBidEventType.NewBids, event, role));\r\n },\r\n onUpdatedBids: (event) => {\r\n dispatch(receivedBidUpdateEvent(UpdateBidEventType.UpdatedBids, event, role));\r\n },\r\n });\r\n }, [connectedTopics, signalRService]);\r\n};\r\n\r\nconst isCommunicationSettingsUpdate = (updates: SettingUpdate[]) => {\r\n return find(updates, (update) => update.name.includes('messaging.client')) ? true : false;\r\n};\r\n\r\nconst isAlertsPollIntervalSettingsUpdated = (updates: SettingUpdate[]) => {\r\n return find(\r\n updates,\r\n (update) => update.name.includes('load.alerts.pollIntervalSecs') || update.name.includes('load.alerts.active')\r\n )\r\n ? true\r\n : false;\r\n};\r\n","import React, { useEffect, useState } from 'react';\r\n\r\nimport { ConnectedRouter } from 'connected-react-router';\r\nimport { Helmet } from 'react-helmet';\r\nimport { Provider, ReactReduxContext, useDispatch } from 'react-redux';\r\nimport { generatePath } from 'react-router';\r\nimport { PersistGate } from 'redux-persist/integration/react';\r\nimport 'simplebar/dist/simplebar.min.css';\r\nimport styled from 'styled-components';\r\n\r\nimport { MuiThemeProvider } from '@material-ui/core';\r\n\r\nimport { history } from '@/reduxStore/History';\r\nimport { persistor, store } from '@/reduxStore/Store';\r\nimport { Flag } from '@common/model';\r\nimport { fetchLoadId } from '@common/redux/epic/LoadDetailsEpic';\r\nimport { getSystemSetting } from '@common/redux/epic/SettingsEpic';\r\nimport { fetchUnreadTruckAlertsCount } from '@common/redux/epic/TruckAlertsEpic';\r\nimport { fetchUser } from '@common/redux/epic/UserEpic';\r\nimport { MessageWidgetButton } from '@component/buttons/MessageWidgetButton';\r\nimport { MainLayout } from '@component/main/MainLayout';\r\nimport { PageWithPanels } from '@component/panel';\r\nimport '@page/aspxPage/AspxSelfEmbedProtection';\r\nimport { CommunicationRoute } from '@page/communication/CommunicationRoute';\r\nimport { LoadConversationsOriginUI } from '@page/communication/LoadConversations';\r\nimport THEME from '@style/Theme';\r\nimport { t, T } from '@translate';\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport { useAppVisibilityChange, useSelector } from '@util/hooks';\r\nimport icons from '@util/iconsConstants';\r\nimport { hideMainSpinner } from '@util/MainSpinnerHelper';\r\nimport {\r\n DESCRIPTION_META,\r\n OG_DESCRIPTION_META,\r\n OG_TITLE_META,\r\n TITLE_META,\r\n TWITTER_DESCRIPTION_META,\r\n TWITTER_TITLE_META,\r\n} from '@util/Metadata';\r\nimport { createMessagingPartnerPortalTrackData, track } from '@util/trackers/123lbTracker';\r\nimport { hasLoginCookies } from '@webApi/CookiesHelper';\r\n\r\nimport { appDependencies, DependencyProvider } from './AppDependencies';\r\nimport { CommunicationHandler } from './CommunicationHandler';\r\nimport { Routes } from './router/Routes';\r\n\r\nexport const Container = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n`;\r\n\r\nexport const ButtonContainer = styled(Container)<{ isWidgetButton?: boolean }>`\r\n justify-content: center;\r\n height: 100%;\r\n width: ${(props) => (props.isWidgetButton ? '' : '100%')};\r\n align-items: center;\r\n background: ${(props) => (props.isWidgetButton ? 'transparent' : 'white')};\r\n`;\r\n\r\ntype PartnerPortalMessage =\r\n | { type: 'buttonWidget'; isWidgetButton: boolean }\r\n | { type: 'openWidget'; isWidgetOpen: boolean }\r\n | { type: 'reference'; referenceId?: string };\r\ninterface MessagingWidgetAppProps {\r\n parentHostname: string;\r\n}\r\n\r\nconst MessagingWidgetApp = (props: MessagingWidgetAppProps) => {\r\n const { parentHostname } = props;\r\n const [referenceId, setReferenceId] = useState('');\r\n const [isWidgetButton, setIsWidgetButton] = useState(false);\r\n const [isWidgetOpen, setIsWidgetOpen] = useState(false);\r\n\r\n const [isLoggedIn, setIsLoggedIn] = useState(hasLoginCookies());\r\n\r\n const dispatch = useDispatch();\r\n\r\n const fetchSystemSettings = () => {\r\n dispatch(getSystemSetting(Flag.BiddingDisabled));\r\n dispatch(getSystemSetting(Flag.BiddingV2Disabled));\r\n dispatch(getSystemSetting(Flag.VendorBiddingDisabled));\r\n dispatch(getSystemSetting(Flag.HideParadeContact));\r\n dispatch(getSystemSetting(Flag.BookNowDisabled));\r\n };\r\n\r\n useEffect(() => {\r\n if (isLoggedIn) {\r\n fetchSystemSettings();\r\n }\r\n hideMainSpinner();\r\n if (window.parent) {\r\n window.parent.postMessage('alive', '*');\r\n }\r\n const handleMessage = (event: MessageEvent) => {\r\n const data = event.data as PartnerPortalMessage | undefined;\r\n if (data?.type === 'reference') {\r\n setReferenceId(data?.referenceId ?? '');\r\n }\r\n if (data?.type === 'buttonWidget') {\r\n setIsWidgetButton(data?.isWidgetButton);\r\n }\r\n if (data?.type === 'openWidget') {\r\n setIsWidgetOpen(data?.isWidgetOpen);\r\n }\r\n };\r\n window.addEventListener('message', handleMessage);\r\n return () => {\r\n window.removeEventListener('message', handleMessage);\r\n };\r\n }, []);\r\n\r\n useAppVisibilityChange((isVisible) => {\r\n if (isVisible) {\r\n if (hasLoginCookies()) {\r\n fetchSystemSettings();\r\n }\r\n setIsLoggedIn(hasLoginCookies());\r\n }\r\n }, []);\r\n\r\n const handleLogin = () => {\r\n window.open(\r\n AppConfig.getLoginLink(\r\n `${AppConfig.LBConfig.MembersRoot}/partner-widget/?partner=${parentHostname}&isWidgetOpen=false`\r\n ),\r\n '_blank'\r\n );\r\n };\r\n\r\n return (\r\n <>\r\n \r\n {AppConfig.NAME}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {isLoggedIn ? (\r\n <>\r\n \r\n \r\n \r\n ) : (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\ninterface RenderMessagesButtonProps {\r\n parentHostname: string;\r\n isWidgetOpen: boolean;\r\n referenceId?: string;\r\n isWidgetButton?: boolean;\r\n}\r\n\r\nconst RenderMessagesButton = (props: RenderMessagesButtonProps) => {\r\n const { parentHostname, isWidgetOpen, referenceId, isWidgetButton } = props;\r\n\r\n const dispatch = useDispatch();\r\n const unreadMessagesCount = useSelector((state) => state.communication.unreadMessagesCount);\r\n\r\n const userId = useSelector((state) => state.user.profile?.payload?.id);\r\n const loadID = useSelector((state) => state.loadDetails.widgetLoadId);\r\n\r\n useEffect(() => {\r\n dispatch(fetchUnreadTruckAlertsCount());\r\n if (!userId) {\r\n dispatch(fetchUser());\r\n }\r\n }, []);\r\n\r\n const handleClick = () => {\r\n if (window.parent) {\r\n window.parent.postMessage('resize', '*');\r\n }\r\n\r\n if (userId) {\r\n track(createMessagingPartnerPortalTrackData(parentHostname, userId, unreadMessagesCount));\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (referenceId !== undefined && userId) {\r\n dispatch(fetchLoadId(referenceId, userId));\r\n }\r\n }, [referenceId, userId]);\r\n\r\n useEffect(() => {\r\n if (isWidgetOpen && userId) {\r\n track(createMessagingPartnerPortalTrackData(parentHostname, userId, unreadMessagesCount));\r\n history.push(generatePath(Routes.COMMUNICATION));\r\n }\r\n }, [userId, isWidgetOpen, loadID]);\r\n\r\n let content =\r\n unreadMessagesCount > 0 ? (\r\n \r\n ) : (\r\n \r\n );\r\n\r\n if (isWidgetOpen) {\r\n content = (\r\n \r\n \r\n \r\n );\r\n }\r\n\r\n return {content};\r\n};\r\n\r\nexport const isMessagingWidgetView = () => {\r\n return (\r\n window.name === 'lb123connect' ||\r\n (window.location !== window.parent.location && window.location.pathname.includes('/partner-widget/'))\r\n );\r\n};\r\n\r\nexport default MessagingWidgetApp;\r\n","import { CarrierMapInfo } from '@/model/Carrier';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\n\r\nexport class CarrierInfoClient extends BaseClient {\r\n fetchCarrierMapInfo$ = (contactGUID: string) => this.api.get$(`/contacts/${contactGUID}/map`, {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { AppConfig } from '@util/AppConfig';\r\n\r\nconst FEED_BASE_PATH = AppConfig.LBConfig.FeedBaseUrl;\r\nconst DASHBOARD_FEED_BASE_PATH = AppConfig.LBConfig.DashboardFeedBaseUrl;\r\nconst VIDEO_FEED_BASE_PATH = AppConfig.LBConfig.VideoFeedBaseUrl;\r\nconst PROMO_BASE_PATH = AppConfig.LBConfig.PromoBaseUrl;\r\nconst HOSTING_ROOT = AppConfig.LBConfig.AzureHostingRootUrl;\r\nconst BROKER_FEED_PATH = `${FEED_BASE_PATH}feed-brokers.html`;\r\nconst CARRIER_FEED_PATH = `${FEED_BASE_PATH}feed-carriers.html`;\r\nconst DASHBOARD_FEED_CARRIER_PATH = `${DASHBOARD_FEED_BASE_PATH}dashboard-feed-carriers.html`;\r\nconst DASHBOARD_FEED_BROKER_PATH = `${DASHBOARD_FEED_BASE_PATH}dashboard-feed-brokers.html`;\r\n\r\nexport class FeedClient extends BaseClient {\r\n getFeed$ = (isBroker: boolean) => this.api.get$(isBroker ? BROKER_FEED_PATH : CARRIER_FEED_PATH, {});\r\n getDashboardFeed$ = (isBroker: boolean) =>\r\n this.api.get$(isBroker ? DASHBOARD_FEED_BROKER_PATH : DASHBOARD_FEED_CARRIER_PATH, {});\r\n getVideoList$ = (videoFileName: string) => this.api.get$(`${VIDEO_FEED_BASE_PATH}${videoFileName}`, {});\r\n getPromo$ = (promoFileName: string) => this.api.get$(`${PROMO_BASE_PATH}${promoFileName}`, {});\r\n getMappingFile$ = () =>\r\n this.api.get$(\r\n `${HOSTING_ROOT}/ext-mapping.csv`,\r\n {},\r\n { headers: { Accept: 'application/json, text/plain, */*' } }\r\n );\r\n}\r\n","import { LoadVisibilityRuleset, LoadVisibilityRulesetResponse } from '@/model/LoadVisibilityRules';\r\nimport { convertRulesetForRequest } from '@/reduxStore/epic/LoadVisibilityRulesHelper';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { EmptyResponse } from '@common/redux/Base';\r\n\r\nexport class LoadVisibilityRulesClient extends BaseClient {\r\n createRuleset$ = (request: LoadVisibilityRuleset) =>\r\n this.api.post$(\r\n '/loadvisibility/v1/broker/rulesets',\r\n convertRulesetForRequest(request)\r\n );\r\n\r\n getRuleset$ = (id: string) =>\r\n this.api.get$(`/loadvisibility/v1/broker/rulesets/${id}`, {});\r\n\r\n getAllRulesets$ = () =>\r\n this.api.get$<{ rulesets: LoadVisibilityRulesetResponse[] }>('/loadvisibility/v1/broker/rulesets', {});\r\n\r\n modifyRuleset$ = (request: LoadVisibilityRuleset) =>\r\n this.api.mergePatch$(\r\n `/loadvisibility/v1/broker/rulesets/${request.id}`,\r\n convertRulesetForRequest(request)\r\n );\r\n\r\n deleteRuleset$ = (id: string) => this.api.delete$(`/loadvisibility/v1/broker/rulesets/${id}`, {});\r\n}\r\n","import { OnboardedCarriers, OnboardedCarriersResponse } from '@/model';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\n\r\nexport class OnboardedCarriersClient extends BaseClient {\r\n modifyOnboardedCarriers$ = (usdotNumbers: string[]) =>\r\n this.api.put$<{}>('/broker/preferredCarriers', { usdotNumbers: usdotNumbers });\r\n\r\n deleteOnboardedCarriers$ = (request: OnboardedCarriers) =>\r\n this.api.post$<{}>('/broker/preferredCarriers/delete', request);\r\n\r\n //@TODO: MEM-3786 remove custom limit and add pagination support\r\n /** default values on the server - offset = 0, limit = 20 */\r\n getOnboardedCarriers$ = (offset?: number, limit: number = 10000) =>\r\n this.api.get$('/broker/preferredCarriers', { offset: offset, limit: limit });\r\n}\r\n","import QueryString from 'qs';\r\n\r\nimport {\r\n BrokerLoadsSummaryResponseMetadata,\r\n BulkPatchLoadsFields,\r\n DispatcherDetail,\r\n LegacyPosterLoadSearchRequest,\r\n LoadPostRequest,\r\n PostedLoadStatus,\r\n PosterLoadSearchRequest,\r\n RateCheckRequest,\r\n} from '@/model';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport {\r\n Load,\r\n MileageRoutesPostRequest,\r\n PostedLoadProgress,\r\n PostedLoadSearchResponse,\r\n RateCheck,\r\n RouteInfo,\r\n} from '@common/model';\r\nimport { EmptyResponse, SearchResponseMetadata } from '@common/redux/Base';\r\n\r\nexport class PostLoadsClient extends BaseClient {\r\n getPostedLoadsMetadata$ = (request: LegacyPosterLoadSearchRequest) =>\r\n this.api.post$('loads/search/poster/metadata', request);\r\n\r\n getBrokerLoadsSummary$ = (includeAllCompanyLoads: boolean) =>\r\n this.api.get$('broker/loads/summary', {\r\n includeAllCompanyLoads: includeAllCompanyLoads,\r\n });\r\n\r\n getPostedLoads$ = ({\r\n fields,\r\n ...request\r\n }: PosterLoadSearchRequest | Pick) =>\r\n this.api.post$(\r\n `internal/broker/loads/search?${QueryString.stringify({ fields: fields })}`,\r\n request\r\n );\r\n\r\n setLoadStatus$ = (loadId: string, status: string) =>\r\n this.api.mergePatch$(`/loads/${loadId}`, { status: status });\r\n deletePostedLoad$ = (loadId: string) => this.api.delete$(`/loads/${loadId}`, {});\r\n refreshLoadAge$ = (loadId: string) => this.api.post$(`/loads/${loadId}/refresh`, {});\r\n\r\n fetchDispatcherInfo$ = () => this.api.get$('/contacts/dispatcher', {});\r\n fetchRouteMileage$ = (request: MileageRoutesPostRequest) => this.api.post$('/routes/info', request);\r\n\r\n patchLoadsById$ = (loadIds: string[], patch: Partial) =>\r\n this.api.mergePatch$('/loads', { loadIds: loadIds, patchDocument: patch });\r\n\r\n patchLoadsByQuery$ = (\r\n excludedLoadIds: string[],\r\n patch: Partial,\r\n searchQuery: LegacyPosterLoadSearchRequest\r\n ) =>\r\n this.api.mergePatch$('/loads/filter', {\r\n excludeIds: excludedLoadIds,\r\n patchDocument: patch,\r\n searchQuery: searchQuery,\r\n });\r\n\r\n updateLoadsAge$ = (loadIds: string[]) => this.api.post$('/loads/refresh', { loadIds: loadIds });\r\n updateLoadsAgeWithExcludeIds$ = (loadIds: string[], searchQuery: LegacyPosterLoadSearchRequest) =>\r\n this.api.post$('/loads/filter/refresh', { excludeIds: loadIds, searchQuery: searchQuery });\r\n\r\n fetchRateCheck$ = (request: RateCheckRequest) => this.api.post$('/ratechecks', request);\r\n\r\n postLoad$ = (loadPostRequest: LoadPostRequest) => this.api.post$('/loads', loadPostRequest);\r\n editLoad$ = (loadPostRequest: LoadPostRequest, id: string) => this.api.put$(`/loads/${id}`, loadPostRequest);\r\n\r\n setPostedLoadProgress$ = (data: { loadID: string; progress: PostedLoadProgress; dotNo?: number }) => {\r\n return this.api.mergePatch$(`/broker/loads/${data.loadID}/progress`, {\r\n status: data.progress,\r\n dotNo: data.dotNo ?? 0, // endpoint requires 0 for empty\r\n });\r\n };\r\n}\r\n","import {\r\n ShareableLoadList,\r\n ShareableLoadListResponse,\r\n ShareableLoadPatchRequest,\r\n ShareableLoadPostRequest,\r\n ShareableLoadView,\r\n} from '@/model/URLScrape';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { EmptyResponse } from '@common/redux/Base';\r\n\r\nexport class ShareableLoadsClient extends BaseClient {\r\n getShareableLoadList$ = () => this.api.get$('/broker/loads/share', {});\r\n deleteShareableLoad$ = (id: string) => this.api.delete$(`/broker/loads/share/${id}`, {});\r\n postShareableLoad$ = (request: ShareableLoadPostRequest) =>\r\n this.api.post$('/broker/loads/share', request);\r\n updateShareableLoad$ = ({ id, ...rest }: ShareableLoadPatchRequest) =>\r\n this.api.patch$(`/broker/loads/share/${id}`, rest);\r\n getSharedBrokerLoads$ = (id: string) => this.api.get$(`/broker/share/${id}/loads`, {});\r\n}\r\n","import { ContactSupportData, TrackingUnsubscribeData, TrialExtensionData, UnsubscribeData } from '@/model/Unsubscribe';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\n\r\nexport class UnsubscribeClient extends BaseClient {\r\n requestTrialExtension$ = (data: TrialExtensionData) =>\r\n this.api.post$('/memberships/unsubscribe/requestTrialExtension', data);\r\n\r\n contactSupport$ = (data: ContactSupportData) => this.api.post$('/memberships/unsubscribe/scheduleCall ', data);\r\n\r\n unsubscribeRequest$ = (data: UnsubscribeData) => this.api.post$('/memberships/unsubscribe/finalize ', data);\r\n\r\n trackingUnsubscribeData$ = (data: TrackingUnsubscribeData) =>\r\n this.api.post$('/tracking/membership/unsubscribe ', data);\r\n\r\n // @TODO: remove since we moved this to SystemTimeEpic in common to make it available in MOB\r\n getSystemTime$ = () => this.api.get$('/system/info/time', {});\r\n}\r\n","import {\r\n AlertsPayload,\r\n DispatcherDetail,\r\n DispatcherPatchRequest,\r\n DispatcherPayload,\r\n DispatcherPostRequest,\r\n DispatcherPostResponse,\r\n DispatchersPayload,\r\n DispatchersRequest,\r\n EmailNotificationsPayload,\r\n HotLeadsPayload,\r\n MessagesNotificationsPayload,\r\n ResetPasswordPayload,\r\n UserAddDetails,\r\n UserEditDetails,\r\n UsersSettingsPayload,\r\n} from '@/model';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { PaginatedRequest } from '@common/redux/epic/PaginatedListReducer';\r\n\r\nexport class UserSettingsClient extends BaseClient {\r\n addUser$ = (data: UserAddDetails) => this.api.post$('/contacts/requestNew', data);\r\n getUsers$ = (id: string, offset: number) =>\r\n this.api.get$(`companies/${id}/contacts`, { offset: offset });\r\n getDispatchers$ = ({ id, ...rest }: DispatchersRequest) =>\r\n this.api.get$(`companies/${id}/dispatchers`, rest);\r\n getDispatcher$ = (id: string) => this.api.get$(`/dispatchers/${id}`, {});\r\n getDispatchersList$ = (request: PaginatedRequest) => this.api.get$('/dispatchers', request);\r\n addDispatcher$ = (data: DispatcherPostRequest) => this.api.post$('/dispatchers', data);\r\n deleteDispatcher$ = (id: string) => this.api.delete$<{}>(`/dispatchers/${id}`, {});\r\n editDispatcher$ = (id: string, data: DispatcherPatchRequest) =>\r\n this.api.mergePatch$(`/dispatchers/${id}`, data);\r\n getDefaultDispatcher$ = () => this.api.get$('/contacts/dispatcher', {});\r\n updateUser$ = (id: number, userDetails: UserEditDetails) =>\r\n this.api.put$(`contacts/${id}`, userDetails);\r\n getUser$ = (id: string) => this.api.get$(`contacts/${id}/info`, {});\r\n deleteUser$ = (guid: string) => this.api.delete$(`contacts/${guid}`, {});\r\n getHotLeads$ = () => this.api.get$(`/settings/privacycontrol`, {});\r\n updateHotLeads$ = (hotLeads: HotLeadsPayload) =>\r\n this.api.mergePatch$(`/settings/privacycontrol`, hotLeads);\r\n getAlerts$ = () => this.api.get$(`/settings/alerts`, {});\r\n updateAlerts$ = (data: AlertsPayload) => this.api.mergePatch$(`/settings/alerts`, data);\r\n getEmailNotifications$ = () => this.api.get$(`/settings/emailnotifications `, {});\r\n\r\n updateEmailNotifications$ = (data: EmailNotificationsPayload) =>\r\n this.api.mergePatch$(`/settings/emailnotifications`, data);\r\n\r\n resetPasswordWithEmail$ = (data: { email: string }) =>\r\n this.api.post$('/credentials/ForgottenPassword', data);\r\n\r\n postNotificationToken$ = (data: MessagesNotificationsPayload) =>\r\n this.api.post$(`/settings/notification`, notificationStatusParams(data.deviceId, data.token));\r\n\r\n updateNotificationToken$ = (data: MessagesNotificationsPayload) =>\r\n this.api.put$(\r\n `/settings/notification/${data.deviceId}`,\r\n notificationStatusParams(data.deviceId, data.token)\r\n );\r\n\r\n saveNotificationToken$ = () => this.api.get$('/settings', { fields: 'messaging' });\r\n}\r\n\r\nconst notificationStatusParams = (deviceId: string, token: string) => ({\r\n deviceId: deviceId,\r\n token: token,\r\n os: 'Desktop',\r\n osVersion: '10',\r\n enabled: true,\r\n authorizationStatus: 1,\r\n notificationVersion: 2,\r\n});\r\n","import { VerifyEmailResponsePayload } from '@/reduxStore/epic/VerifyEmailEpic';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\n\r\nexport class VerifyEmailClient extends BaseClient {\r\n verifyEmail$ = (activationCode: string) =>\r\n this.api.get$(`account/verify/${activationCode}`, {});\r\n resendConfirmationEmail$ = () => this.api.post$<{}>('/Account/ConfirmationEmail', {});\r\n}\r\n","import { LoadPreview } from '@/reduxStore/epic/WelcomebackCampaignEpic';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\n\r\nexport class WelcomebackCampaignClient extends BaseClient {\r\n getLoadSearchPreview$ = (query: string) => this.api.post$(`/loadsearchpreview?token=${query}`, {});\r\n}\r\n","export enum ApiErrorCode {\r\n PERMISSION_DENIED = 4030003,\r\n EMAIL_NOT_VERIFIED = 4030004,\r\n /** email exists, but pending confirmation */\r\n EMAIL_NOT_CONFIRMED = 4030013,\r\n EMAIL_ALREADY_EXISTS = 4000007,\r\n LOAD_LIMIT_REACHED = 4030006,\r\n LOAD_NOT_FOUND = 4040009,\r\n NAMED_LOAD_SEARCH_NOT_FOUND = 4042200,\r\n ACTION_PERMISSION_DENIED = 4030011,\r\n RATE_CHECK_LIMIT_REACHED = 4030016,\r\n EMAIL_NOT_FOUND_NO_EMAIL = 4000047,\r\n EMAIL_NOT_FOUND_NO_USERNAME = 4000360,\r\n FOLDER_ALREADY_EXISTS = 4001508,\r\n MCP_INVALID_CREDENTIALS = 4002125,\r\n MCP_ONBOARDING_CARRIER_FAILED_RISK_ASSESSMENT = 4002126,\r\n PUSH_NOTIFICATION_TOKEN_NOT_FOUND = 4040022,\r\n INVALID_UPLOAD_FILE_TYPE = 4001513,\r\n INVALID_CHARACTERS_FILENAME_TYPE = 4001506,\r\n UNABLE_TO_RETRIEVE_TF_INTEGRATION_STATUS = 5000936,\r\n LOAD_SEARCH_SETTINGS_ALREADY_EXIST = 4090012,\r\n INVALID_VALIDATION_CODE = 4001294,\r\n EXPIRED_VALIDATION_CODE = 4000341,\r\n PHONE_IS_LANDLINE = 4006030,\r\n RATING_NOT_FOUND_FOR_USDOT = 4042608,\r\n USER_DOES_NOT_HAVE_COMPANY = 4040110,\r\n PHONEVERIFICATION_TOO_MANY_ATTEMPTS = 4290001,\r\n VALIDATION_CODE_TOO_MANY_ATTEMPTS = 4290002,\r\n PHONENUMBER_INVALID = 4040127,\r\n /** most likely invalid phone number */\r\n TWILIO_BAD_REQUEST = 4006085,\r\n PHONENUMBER_BLACKLISTED = 4030041,\r\n UPGRADE_PROMO_CODE_INVALID = 4040026,\r\n LOAD_SEARCH_LIMIT_REACHED = 4030005,\r\n LOAD_VIEW_LIMIT_REACHED = 4030006,\r\n RATE_CHECK_FAILED_TO_COMPUTE_MILAGE = 4040111,\r\n RATE_CHECK_RATE_NOT_FOUND = 4040020,\r\n GEOLOCATION_DOES_NOT_CORRESPOND = 4040112,\r\n ZIP_CODE_DOES_NOT_CORRESPOND = 4040113,\r\n VERIFY_EMAIL_CODE_EXPIRED = 4000076,\r\n VERIFY_EMAIL_CODE_ALREADY_USED = 4040002,\r\n CREDITCARD_NUMBER_NOT_ACCEPTED = 4006108,\r\n CREDITCARD_AVS_NOT_ACCEPTED = 4006109,\r\n CREDITCARD_CVD_NOT_ACCEPTED = 4006110,\r\n CREDITCARD_EXPIRED = 4006111,\r\n INVALID_MEMBERSHIP_STATUS = 4090042,\r\n REACTIVATION_CHARGE_INVOICE_ERROR = 4090043,\r\n /** Booking/Vendor Bid error codes */\r\n BOOK_NOW_LOAD_UNAVAILABLE = 4042101,\r\n BOOK_NOW_NOT_FOUND_ERROR = 4042102,\r\n BID_LOAD_UNAVAILABLE = 4041102,\r\n BID_NOT_FOUND_ERROR = 4040141,\r\n BID_DISQUALIFIED_CARRIER = 4060021,\r\n BID_INVALID_DOT_MC_ERROR = 4009021, // same dot and mc error from Parade\r\n}\r\n\r\nexport enum ErrorUri {\r\n InvalidUserNameOrPassword = '0',\r\n AccessForbidden = '1',\r\n ForbiddenAccessForBasic = '2',\r\n EmailNotConfirmed = '3',\r\n UserDoesNotExist = '4',\r\n EmailDoesNotExist = '5',\r\n EmailNotValid = '6',\r\n InternalError = '7',\r\n EmailBounced = '8',\r\n EmailSoftBounced = '9',\r\n InvalidVersionHeader = '10',\r\n VersionNotSupported = '11',\r\n InvalidVersionFormat = '12',\r\n OtherLoadboardException = '13',\r\n MissingUserNameOrPassword = '14',\r\n MissingGrantType = '15',\r\n OAuthClientNotFound = '16',\r\n InvalidClientSecret = '17',\r\n MissingClientIdOrSecret = '18',\r\n InactiveApi = '19',\r\n ExternalEmailMissing = '20',\r\n ExternalEmailNotConfirmed = '21',\r\n ExternalLoginNotFound = '22',\r\n ExternalEmailTooLong = '23',\r\n EmailDomainNotSupported = '24',\r\n ExternalFirstNameMissing = '25',\r\n ExternalLastNameMissing = '26',\r\n ExternalProfileUnavailable = '27',\r\n}\r\n","/** Standard Request Options */\r\nexport const authenticationToApiOptions = (authenticated: boolean): ApiOptions => ({\r\n allowUnauthenticated: !authenticated,\r\n shouldPreventLoginRedirect: !authenticated,\r\n});\r\n\r\nexport enum LBHeaders {\r\n Referrer = '123LB-Referrer',\r\n FlowID = '123LB-FD',\r\n ApiVersion = '123LB-Api-Version',\r\n CorrelationId = '123LB-Correlation-Id',\r\n BackgroundStatus = '123LB-is-background',\r\n DeviceID = '123LB-BID',\r\n}\r\n\r\nexport interface ApiOptions {\r\n /** If true: Use the access token if possible.\r\n *\r\n * If user not logged in, does not attempt to login.\r\n * NOTE: Access token needs to be refreshed if possible.\r\n * If the refresh failed, does as if the user was logged out. (no access token)\r\n * Used on endpoints that supports both authenticated and anonymous access.\r\n * Meant to be used in areas like the 'Shared Loads' public web page where\r\n * the user might optionally be logged in.\r\n *\r\n * Defaults to false\r\n */\r\n allowUnauthenticated?: boolean;\r\n\r\n /** If true: Do not redirect to login on 401 failure.\r\n *\r\n * Refresh token might need refresh, but the 'final' failure should not redirect.\r\n * Used on endpoints that require authentication in public pages\r\n * where the user might optionally be logged in (like /profile)\r\n *\r\n * Defaults to false\r\n */\r\n shouldPreventLoginRedirect?: boolean;\r\n\r\n /**\r\n * true to \"silently stop\" ongoing requests (with matching cancelTag) before starting this one.\r\n *\r\n */\r\n //cancelAllPrevious?: boolean;\r\n\r\n /** If true: Do not automatically show Api failures messages.\r\n *\r\n * Else it will show a popup with the error message from the API.\r\n * This ONLY applies to errors coming from the Api. Most 5xx and 4xx.\r\n * It does not apply to Network failures.\r\n *\r\n * NOTE: Pending Actions will be executed (and shown) regardless of this value.\r\n *\r\n * Defaults to false\r\n */\r\n silentApiFailure?: boolean;\r\n\r\n /** If true: Do not automatically show Network failures messages.\r\n *\r\n * Else it will show a popup with a network unavailable / timeout error message.\r\n * This ONLY applies when there is essentially no response from the server.\r\n * Either a Timeout or some network issue like internet connectivity issues, Host unreachable, etc.\r\n * It does not apply to failures coming from the API (with an http status code).\r\n *\r\n * Defaults to false\r\n */\r\n silentNetworkFailure?: boolean;\r\n\r\n /** if true: Allow extended time to perform this request.\r\n *\r\n * Extended time is 70 seconds. If false, it's 18 seconds.\r\n *\r\n * Defaults to false\r\n */\r\n longTimeout?: boolean;\r\n\r\n /** if true: force a refresh token before calling the end point.\r\n * Defaults to false\r\n */\r\n forceRefreshToken?: boolean;\r\n\r\n /** if true: do not automatically handle special 503 errors. It will handle\r\n * it following the silentNetworkFailure option.\r\n *\r\n * 503 errors typically means the whole infrastructure is down.\r\n * At that point, the DNS might have been redirected into another\r\n * temporary host that contains information about the issue.\r\n * The api should be \"pinged\" in the background until a non-503 response is received at which\r\n * point, you stop showing the webview and \"route\" the app to the begining.\r\n *\r\n * Defaults to false\r\n */\r\n //no503Handling?: boolean;\r\n cancelGroup?: string;\r\n}\r\n","import { AxiosRequestConfig } from 'axios';\r\nimport { find, some } from 'lodash';\r\n\r\nimport { ErrorUri } from '@common/api';\r\nimport { PendingAction, PendingActionType } from '@common/api/PendingAction';\r\nimport { getFlowIDFrom } from '@common/helper/FlowIDHeaderHelper';\r\nimport { FieldError } from '@common/model';\r\nimport { AppErrorCode } from '@common/model/AppErrorCode';\r\nimport { Response, ResponseAction } from '@common/redux/Base';\r\n\r\nexport interface ApiResult {\r\n readonly success: boolean;\r\n readonly httpStatus: number;\r\n url?: string;\r\n headers?: { [key: string]: any };\r\n config?: AxiosRequestConfig;\r\n duration?: number;\r\n result: (onSuccess: (data: T) => R, onError: (error: ApiError) => R) => R;\r\n resultWithoutData: (onSuccess: () => R, onError: (error: ApiError) => R) => R;\r\n resultDataResponse: (actionType: string) => ResponseAction;\r\n}\r\nexport class ApiResponseSuccess implements ApiResult {\r\n readonly success: boolean = true;\r\n readonly httpStatus: number;\r\n data: T | undefined;\r\n headers: {};\r\n config?: AxiosRequestConfig;\r\n duration?: number;\r\n\r\n constructor(\r\n status: number,\r\n data: T | undefined,\r\n headers: {} = {},\r\n config: AxiosRequestConfig | undefined = {},\r\n duration: number | undefined = 0\r\n ) {\r\n this.data = data;\r\n this.httpStatus = status;\r\n this.config = config;\r\n this.headers = headers;\r\n this.duration = duration;\r\n }\r\n\r\n result = (onSuccess: (data: T, headers: {}) => R, onError: (error: ApiError, headers: {}) => R): R => {\r\n if (!this.data) {\r\n const error = new ApiError(this.httpStatus);\r\n error.message = 'The response requires data and it was missing.';\r\n return onError(error, this.headers);\r\n } else {\r\n return onSuccess(this.data, this.headers);\r\n }\r\n };\r\n\r\n resultDataResponse = (actionType: string): ResponseAction => {\r\n const response = this.result>(\r\n (data, headers) => ({ success: true, payload: data, headers: headers }),\r\n (error, headers) => ({ success: false, error: error, headers: headers })\r\n );\r\n\r\n return { type: actionType, response: response, flowID: getFlowIDFrom(this) };\r\n };\r\n\r\n resultWithoutData = (onSuccess: () => R): R => {\r\n return onSuccess();\r\n };\r\n}\r\n\r\nexport class ApiError implements ApiResult {\r\n readonly success: boolean = false;\r\n readonly httpStatus: number;\r\n code: number;\r\n message: string;\r\n title: string;\r\n actions?: PendingAction[];\r\n cause?: any;\r\n wasCancelled: boolean;\r\n headers?: {};\r\n config?: AxiosRequestConfig;\r\n duration?: number;\r\n fieldErrors?: FieldError[];\r\n error?: string;\r\n errorDescription?: string;\r\n error_uri?: ErrorUri;\r\n\r\n constructor(\r\n httpStatus: number = -1,\r\n code: number = -1,\r\n message: string = '',\r\n title: string = '',\r\n cause?: any,\r\n headers: {} | undefined = {},\r\n config: AxiosRequestConfig | undefined = {},\r\n duration: number | undefined = 0,\r\n error_uri?: ErrorUri,\r\n fieldErrors?: FieldError[],\r\n error?: '',\r\n errorDescription?: ''\r\n ) {\r\n this.httpStatus = httpStatus;\r\n this.message = message;\r\n this.title = title;\r\n this.code = code;\r\n this.cause = cause;\r\n this.wasCancelled = code === AppErrorCode.CANCEL_ERROR;\r\n this.headers = headers;\r\n this.config = config;\r\n this.duration = duration;\r\n this.fieldErrors = fieldErrors;\r\n this.error_uri = error_uri;\r\n this.error = error;\r\n this.errorDescription = errorDescription;\r\n }\r\n\r\n result = (onSuccess: (data: any) => R, onError: (error: ApiError) => R): R => {\r\n return onError(this);\r\n };\r\n resultWithoutData = (onSuccess: () => R, onError: (error: ApiError) => R): R => {\r\n return onError(this);\r\n };\r\n resultDataResponse = (actionType: string): ResponseAction => {\r\n return { type: actionType, response: { success: false, error: this }, flowID: getFlowIDFrom(this) };\r\n };\r\n}\r\n\r\nexport type ApiResponse123 = (ApiError | ApiResponseSuccess) & ApiResult; // we need & ApiResult or typescript wont allow to call\r\n\r\nexport const is401 = (error: ApiResult) => error.httpStatus === 401;\r\n\r\nexport const is4xxError = (status: number) => status >= 400 && status <= 499;\r\n\r\nexport const isNetworkError = (response: ApiResponse123) => {\r\n if (response.httpStatus <= 0) {\r\n return true;\r\n }\r\n const errorCode = (response as ApiError).code;\r\n if (!errorCode) {\r\n return false;\r\n }\r\n return some(\r\n [AppErrorCode.TIMEOUT_ERROR, AppErrorCode.CONNECTION_ERROR, AppErrorCode.UNKNOWN_ERROR],\r\n (code) => errorCode === code\r\n );\r\n};\r\n\r\nexport const isRefreshTokenPendingAction = (result: ApiResponse123): boolean =>\r\n result.httpStatus === 403 &&\r\n find((result as ApiError).actions, (action: PendingAction) => action.name === PendingActionType.refreshToken) !==\r\n undefined;\r\n","import { ApiResponse, ApisauceInstance, CancelToken, CLIENT_ERROR, create, SERVER_ERROR } from 'apisauce';\r\nimport Axios, {\r\n AxiosError,\r\n AxiosRequestConfig,\r\n AxiosResponse,\r\n Canceler,\r\n CancelToken as AxiosCancelToken,\r\n CancelTokenSource,\r\n} from 'axios';\r\nimport { Buffer } from 'buffer';\r\nimport { clone, forEach, includes, isEqual, some, toLower } from 'lodash';\r\nimport QueryString from 'qs';\r\nimport { defer as defer$, from as from$, Observable, of as of$, Subject } from 'rxjs';\r\nimport { mergeMap as mergeMap$, multicast as multicast$, refCount as refCount$ } from 'rxjs/operators';\r\n\r\nimport { ApiOptions, ErrorUri, LBHeaders, PendingAction, Request$ } from '@common/api';\r\nimport { MimeType, typesSupportedByDownload } from '@common/helper/FileHelper';\r\nimport { FieldError } from '@common/model';\r\nimport { AppErrorCode } from '@common/model/AppErrorCode';\r\n\r\nimport { ApiError, ApiResponse123, ApiResponseSuccess } from './ApiResponse';\r\n\r\ninterface CancelTokenConfiguration {\r\n cfg: AxiosRequestConfig;\r\n timeout: any; //NodeJS.Timer doesn't behave well between web / react native, still timeout has the same interface on both.\r\n}\r\n\r\nexport type PatchOp = 'remove' | 'replace';\r\n\r\nexport interface Patch {\r\n op: PatchOp;\r\n path: string;\r\n value: T;\r\n}\r\n\r\nexport interface OffsetLimitRequest {\r\n offset?: number;\r\n limit?: number;\r\n}\r\n\r\nexport type HttpRequest = (\r\n url: string,\r\n data: any,\r\n axiosConfig?: AxiosRequestConfig,\r\n extraConfig?: ApiOptions\r\n) => Request$;\r\nexport const DuplicatedRequestErrorCode = -7875;\r\nconst APP_TIMEOUT_ERROR = 'APP_TIMEOUT_ERROR_123';\r\n\r\ntype ApiCall = (config: AxiosRequestConfig) => Promise>;\r\n\r\nexport interface NetworkRetryManager {\r\n execute$: (\r\n apiCall: () => Observable>,\r\n maxRetries: number,\r\n config?: AxiosRequestConfig\r\n ) => Observable>;\r\n}\r\n\r\nexport interface Api {\r\n get$: HttpRequest;\r\n post$: HttpRequest;\r\n put$: HttpRequest;\r\n delete$: HttpRequest;\r\n patch$: HttpRequest;\r\n mergePatch$: HttpRequest;\r\n}\r\n\r\n/** Helper to overwrite the API Version for a specific endpoint */\r\nexport const withApiVersion = (version: string): AxiosRequestConfig => ({\r\n headers: { [LBHeaders.ApiVersion]: version },\r\n});\r\n\r\n/** Helper to set JSON Merge Patch (RFC7396) content type */\r\nexport const withMergePatch = (config?: AxiosRequestConfig): AxiosRequestConfig => ({\r\n ...config,\r\n headers: { 'Content-Type': 'application/merge-patch+json' },\r\n});\r\n\r\nconst getCorrelationId = (response: AxiosResponse) =>\r\n (response.headers as any)[toLower(LBHeaders.CorrelationId)] ?? undefined;\r\n\r\n/** perform JSON.parse in an interceptor only if content-type is json.\r\n * Also handle when cannot parse the JSON data\r\n */\r\nconst createResponseInterceptor =\r\n (logger?: ApiLogger) =>\r\n (originalResponse: AxiosResponse): AxiosResponse => {\r\n const response = clone(originalResponse);\r\n if (!response.headers || !response.headers['content-type']) {\r\n return response;\r\n }\r\n\r\n const isHeaderMimeType = (...mimeTypes: Readonly) =>\r\n some(mimeTypes, (mime) => response.headers?.['content-type'] && includes(response.headers['content-type'], mime));\r\n\r\n if (isHeaderMimeType(MimeType.json)) {\r\n try {\r\n response.data = JSON.parse(response.data);\r\n } catch (exception) {\r\n if (logger) {\r\n logger({\r\n mustReport: false,\r\n httpStatus: originalResponse.status,\r\n title: 'Error parsing json response',\r\n exception: exception,\r\n extra: {\r\n url: response.config.url ?? undefined,\r\n correlationId: getCorrelationId(response),\r\n },\r\n });\r\n }\r\n // unparsable json data, leave it as null and reject the response\r\n // NOTE: rejecting will probably do nothing special because of apisauce, but\r\n // http status outside of normal range will yield an \"UNKNOWN_ERROR\" in apisauce\r\n // hopefully the ApiError will be handled correctly\r\n response.data = new ApiError(\r\n response.status,\r\n AppErrorCode.FATAL_ERROR,\r\n 'Oops! something went wrong, if the issue persist, please contact support',\r\n 'Oops! something went wrong.',\r\n exception\r\n );\r\n response.status = 600;\r\n response.statusText = 'Unknown Error';\r\n }\r\n } else if (isHeaderMimeType(...typesSupportedByDownload) && !isHeaderMimeType(MimeType.csv)) {\r\n try {\r\n response.data = new Buffer(response.data, 'binary').toString('base64');\r\n } catch (exception) {\r\n if (logger) {\r\n logger({\r\n mustReport: true,\r\n httpStatus: originalResponse.status,\r\n title: 'Error on parsing image response',\r\n exception: exception,\r\n extra: {\r\n url: response.config.url ?? undefined,\r\n correlationId: getCorrelationId(response),\r\n },\r\n });\r\n }\r\n }\r\n }\r\n\r\n return response;\r\n };\r\n\r\nexport type ApiLoggerDiagnosticData = Record;\r\n\r\nexport type ApiLogger = (data: {\r\n title?: string;\r\n mustReport: boolean;\r\n url?: string;\r\n httpStatus: number;\r\n code?: number;\r\n errorResponse?: ApiResponse123;\r\n exception?: any;\r\n extra?: ApiLoggerDiagnosticData;\r\n}) => void;\r\n\r\ninterface CachedRequest {\r\n url: string;\r\n firstTimestamp: number;\r\n lastTimestamp: number;\r\n data: any;\r\n count: number;\r\n reportThreshold: number;\r\n}\r\n\r\nexport class ApiService implements Api {\r\n private readonly api: ApisauceInstance;\r\n private readonly retrier?: NetworkRetryManager;\r\n cachedRequests: CachedRequest[] = [];\r\n logger?: ApiLogger;\r\n constructor(\r\n baseUrl: string,\r\n headers: {},\r\n setupApi?: (api: ApisauceInstance) => void,\r\n retrier?: NetworkRetryManager,\r\n logger?: ApiLogger\r\n ) {\r\n this.api = create({\r\n baseURL: baseUrl,\r\n headers: headers,\r\n // override the default transformRequest to do nothing instead of\r\n // the default JSON.parse() always (!) and without error handling (!)\r\n transformResponse: [(data) => data],\r\n });\r\n this.logger = logger;\r\n this.retrier = retrier;\r\n const parseAxiosResponseInterceptor = createResponseInterceptor(logger);\r\n this.api.axiosInstance.interceptors.response.use(parseAxiosResponseInterceptor, (error: any): AxiosError => {\r\n if (Axios.isCancel(error) && error.message !== APP_TIMEOUT_ERROR) {\r\n return error;\r\n }\r\n if (!error) {\r\n return {\r\n config: {},\r\n name: '',\r\n message: '',\r\n isAxiosError: false,\r\n toJSON: () => ({}),\r\n };\r\n }\r\n if (error.response && !isEqual(error.response, {})) {\r\n error.response = parseAxiosResponseInterceptor(error.response);\r\n }\r\n return error;\r\n });\r\n\r\n if (setupApi) {\r\n setupApi(this.api);\r\n }\r\n }\r\n\r\n get$: HttpRequest = (url, params, axiosConfig) =>\r\n this.methodWrapper(this.api.get, url, params, {\r\n paramsSerializer: (params) =>\r\n QueryString.stringify(params, {\r\n arrayFormat: 'brackets',\r\n encode: false,\r\n }),\r\n ...axiosConfig,\r\n });\r\n post$: HttpRequest = (url, params, axiosConfig) => this.methodWrapper(this.api.post, url, params, axiosConfig);\r\n put$: HttpRequest = (url, params, axiosConfig) => this.methodWrapper(this.api.put, url, params, axiosConfig);\r\n delete$: HttpRequest = (url, params, axiosConfig) => this.methodWrapper(this.api.delete, url, params, axiosConfig);\r\n patch$: HttpRequest = (url, params, axiosConfig) => this.methodWrapper(this.api.patch, url, params, axiosConfig);\r\n mergePatch$: HttpRequest = (url, params, axiosConfig) =>\r\n this.methodWrapper(this.api.patch, url, params, withMergePatch(axiosConfig));\r\n\r\n methodWrapper = (\r\n methodFunction: (\r\n url: string,\r\n params?: {},\r\n axiosConfig?: AxiosRequestConfig\r\n ) => Promise>,\r\n url: string,\r\n params: any,\r\n axiosConfig: AxiosRequestConfig | undefined\r\n ): Observable> => {\r\n const requestCache = this.cachedRequests;\r\n const filteredRequestCache: CachedRequest[] = [];\r\n let isDuplicateRequest = false;\r\n const currentTimestamp = Date.now();\r\n forEach(requestCache, (cachedRequest) => {\r\n if (currentTimestamp <= cachedRequest.lastTimestamp + 10000) {\r\n if (cachedRequest.url === url && isEqual(params, cachedRequest.data)) {\r\n isDuplicateRequest = true;\r\n const timestampDifference = Date.now() - cachedRequest.lastTimestamp;\r\n cachedRequest.lastTimestamp = Date.now();\r\n cachedRequest.count += 1;\r\n if (cachedRequest.count >= cachedRequest.reportThreshold) {\r\n const { data, ...diagnosticData } = cachedRequest;\r\n this.logger?.({\r\n mustReport: true,\r\n title: 'Duplicate requests within 10s',\r\n httpStatus: -1,\r\n extra: {\r\n ...diagnosticData,\r\n lastTimestampDifference: timestampDifference,\r\n },\r\n url: url,\r\n code: DuplicatedRequestErrorCode,\r\n });\r\n cachedRequest.reportThreshold *= 2;\r\n }\r\n }\r\n filteredRequestCache.push(cachedRequest);\r\n }\r\n });\r\n if (!isDuplicateRequest) {\r\n const time = Date.now();\r\n filteredRequestCache.push({\r\n url: url,\r\n data: params,\r\n count: 1,\r\n reportThreshold: 10,\r\n firstTimestamp: time,\r\n lastTimestamp: time,\r\n });\r\n }\r\n this.cachedRequests = filteredRequestCache;\r\n return this.executeRequest$((config: AxiosRequestConfig) => methodFunction(url, params, config), url, axiosConfig);\r\n };\r\n\r\n executeRequest$ = (\r\n apiCall: ApiCall,\r\n url: string,\r\n axiosConfig?: AxiosRequestConfig\r\n ): Observable> => {\r\n const cancelSource: CancelTokenSource = CancelToken.source();\r\n const cancelID = `${Date.now()}${url}`;\r\n const executeRequest$ = (): Observable> => {\r\n const cfgWithCancelToken = setCancelToken(cancelSource.token, axiosConfig);\r\n const canceler = cancelSource.cancel;\r\n return callApi$(apiCall, url, cfgWithCancelToken.cfg, canceler, cfgWithCancelToken.timeout);\r\n };\r\n let request$: Request$;\r\n if (this.retrier) {\r\n request$ = this.retrier.execute$(executeRequest$, 1, axiosConfig);\r\n } else {\r\n request$ = executeRequest$();\r\n }\r\n request$.cancelID = cancelID;\r\n request$.cancel = cancelSource.cancel;\r\n return request$;\r\n };\r\n}\r\n\r\n// https://github.com/axios/axios/issues/647#issuecomment-322209906\r\n// timeout is sometimes unreliable\r\nconst setCancelToken = (token: AxiosCancelToken, axiosConfig?: AxiosRequestConfig): CancelTokenConfiguration => {\r\n let timeout = 30000;\r\n const newConfig: AxiosRequestConfig = {\r\n cancelToken: token,\r\n ...axiosConfig,\r\n };\r\n\r\n timeout = newConfig.timeout || timeout;\r\n return {\r\n cfg: newConfig,\r\n timeout: timeout,\r\n };\r\n};\r\n\r\nconst callApi$ = (\r\n apiCall: ApiCall,\r\n url: string,\r\n config: AxiosRequestConfig,\r\n cancel?: Canceler,\r\n timeout?: number\r\n) => {\r\n let timeoutID: any | undefined; //NodeJS.Timer doesn't behave well between web / react native, still timeout has the same interface on both.\r\n if (cancel && timeout) {\r\n timeoutID = setTimeout(() => {\r\n cancel(APP_TIMEOUT_ERROR);\r\n }, timeout + 1000);\r\n //We add 1second here to prevent this to be called instead of the axios timeout. Otherwise the error will be cancel instead of a timeout.\r\n }\r\n\r\n //Defer will convert a hot observable to cold (promisse to observable)\r\n const deferedApiCall$ = defer$(() => from$(apiCall(config)).pipe(mergeMap$(createResponseHandler$(url, timeoutID))));\r\n //To avoid creating a new instance per subscription we multicast it to a new subject.\r\n return deferedApiCall$.pipe(\r\n multicast$(() => new Subject()),\r\n //Refcount means don't wait for a explicit connect() call, start emmiting once the first subscription is created.\r\n refCount$()\r\n ) as Observable>;\r\n};\r\n\r\nconst createResponseHandler$ =\r\n (url: string, timeoutID?: any) =>\r\n (response: ApiResponse): Observable> => {\r\n // timeout has type any for the same reason as above (in callApi$)\r\n if (response && timeoutID) {\r\n clearTimeout(timeoutID);\r\n }\r\n const convertedResponse: ApiResponse123 = convertApiResponse(response);\r\n convertedResponse.url = url;\r\n return of$(convertedResponse);\r\n };\r\n\r\nconst Apisauce2AppErrorCode = {\r\n TIMEOUT_ERROR: AppErrorCode.TIMEOUT_ERROR,\r\n CONNECTION_ERROR: AppErrorCode.CONNECTION_ERROR,\r\n NETWORK_ERROR: AppErrorCode.NETWORK_ERROR,\r\n UNKNOWN_ERROR: AppErrorCode.UNKNOWN_ERROR,\r\n CANCEL_ERROR: AppErrorCode.CANCEL_ERROR,\r\n CLIENT_ERROR: AppErrorCode.CLIENT_ERROR,\r\n SERVER_ERROR: AppErrorCode.SERVER_ERROR,\r\n};\r\n\r\nexport const convertApiResponse = (response: ApiResponse<{}>): ApiResponse123 => {\r\n const httpStatus = response.status ? response.status : -1;\r\n if (response.ok) {\r\n return new ApiResponseSuccess(httpStatus, response.data as T, response.headers, response.config, response.duration);\r\n }\r\n const debugError = debugErrorFrom(response.originalError);\r\n if (response.problem === CLIENT_ERROR || response.problem === SERVER_ERROR) {\r\n const data = response.data as {\r\n code: number;\r\n title: string;\r\n\r\n message: string;\r\n\r\n actions?: PendingAction[];\r\n fieldErrors: FieldError[];\r\n\r\n error_description?: string;\r\n error_uri?: ErrorUri;\r\n };\r\n\r\n if (!data) {\r\n return new ApiError(\r\n httpStatus,\r\n -1,\r\n '',\r\n 'No data',\r\n debugError,\r\n response.headers,\r\n response.config,\r\n response.duration\r\n );\r\n }\r\n\r\n const error = new ApiError(\r\n httpStatus,\r\n data.code,\r\n data.error_description || data.message,\r\n data.title,\r\n debugError,\r\n response.headers,\r\n response.config,\r\n response.duration,\r\n data.error_uri,\r\n data.fieldErrors\r\n );\r\n if (data.actions && data.actions.length > 0) {\r\n error.actions = data.actions;\r\n }\r\n\r\n return error;\r\n }\r\n\r\n // No response from Server, map the apisauce error\r\n return new ApiError(\r\n httpStatus,\r\n Apisauce2AppErrorCode[response.problem] || AppErrorCode.UNKNOWN_ERROR,\r\n response.problem,\r\n 'Oops something happened',\r\n debugError,\r\n response.headers,\r\n response.config,\r\n response.duration\r\n );\r\n};\r\n\r\nconst debugErrorFrom = (error: AxiosError) => {\r\n if (!error) {\r\n return {};\r\n }\r\n return {\r\n requestCorrelation: error.request?.headers ? error.request.headers : 'N/A',\r\n responseCorrelation: error.response?.headers ? error.response.headers : 'N/A',\r\n name: error.name,\r\n message: error.message,\r\n errorCode: error.code,\r\n error: error,\r\n url: error.config ? error.config.url : '',\r\n axiosHeaders: error.config ? error.config.headers : '',\r\n stack: error.stack,\r\n };\r\n};\r\n","import { ApiErrorCode } from './';\r\n\r\nexport const enum PendingActionType {\r\n display = 'Display',\r\n logout = 'Logout',\r\n refreshToken = 'RefreshToken',\r\n linkAccount = 'LinkAccount',\r\n}\r\n\r\nexport enum LinkType {\r\n None = 'None',\r\n Web = 'Web',\r\n API = 'API',\r\n OS = 'OS',\r\n App = 'App',\r\n}\r\n\r\nexport interface Link {\r\n title: string;\r\n url?: string;\r\n type: LinkType;\r\n displayAsDismiss?: boolean;\r\n}\r\n\r\nexport interface PendingAction {\r\n title: string;\r\n message: string;\r\n links: Link[];\r\n name: PendingActionType;\r\n code: ApiErrorCode;\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { Avatar } from '@common/redux/epic/AvatarEpic';\r\n\r\nexport interface UploadAvatarData {\r\n mimeType: string;\r\n file: Blob | Uint8Array;\r\n}\r\n\r\nexport class AvatarClient extends BaseClient {\r\n fetchAvatar$ = (imageSize: string) =>\r\n this.api.get$(`/profile/avatar/?imageType=${imageSize}`, {}, { responseType: 'arraybuffer' });\r\n fetchOtherUserAvatar$ = (id: string) =>\r\n this.api.get$(`/profile/${id}/avatar?imageType=Small`, {}, { responseType: 'arraybuffer' });\r\n uploadAvatar$ = (uploadParams: UploadAvatarData) => {\r\n return this.api.put$('/profile/avatar', uploadParams.file, {\r\n headers: { 'Content-Type': uploadParams.mimeType },\r\n });\r\n };\r\n deleteAvatar$ = () => this.api.delete$(`/profile/avatar`, {});\r\n}\r\n","import { Api } from '@common/api';\r\n\r\nexport abstract class BaseClient {\r\n protected api: Api;\r\n\r\n constructor(api: Api) {\r\n this.api = api;\r\n }\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport {\r\n BidActionRequest,\r\n BidDetails,\r\n BiddingSummaryRequest,\r\n BiddingSummaryResponse,\r\n BidsSummariesRequest,\r\n BidSummariesResponse,\r\n CarrierInfo,\r\n LoadBidsRequest,\r\n LoadBidsResponse,\r\n LoadFieldsBiddingOnly,\r\n LoadWithDataForBiddingOnly,\r\n LoadWithStatusOnly,\r\n PostBidRequest,\r\n} from '@common/model';\r\n\r\nexport class BidsClient extends BaseClient {\r\n getBidSummaries$ = (request: BidsSummariesRequest) =>\r\n this.api.get$('/bids', {\r\n ...request,\r\n roles: request.roles && request.roles.length > 0 ? request.roles.toString() : undefined,\r\n status: request.status && request.status.length > 0 ? request.status.toString() : undefined,\r\n });\r\n\r\n getBiddingSummary$ = (request: BiddingSummaryRequest) =>\r\n this.api.get$('/bids/summary', {\r\n bidUpdatesCount: true,\r\n roles: [request.role],\r\n });\r\n\r\n getBiddingSummaryList$ = ({ loadId, ...request }: LoadBidsRequest) =>\r\n this.api.get$(`/loads/${loadId}/bids`, request);\r\n\r\n getBidSummary$ = ({ loadId, carrierId, ...request }: LoadBidsRequest) =>\r\n this.api.get$(`/loads/${loadId}/bids/history/${carrierId ?? 'self'}`, request);\r\n\r\n getBid$ = (bidId: string) => this.api.get$(`/bids/${bidId}`, {});\r\n\r\n getCarrierInfo$ = (bidId: string) => this.api.get$(`/bids/${bidId}/carrierinfo`, {});\r\n\r\n actOnBid$ = ({ bidId, ...request }: BidActionRequest) =>\r\n this.api.post$(`/bids/${bidId}/updates`, request);\r\n\r\n postBid$ = ({ loadId, ...request }: PostBidRequest) => this.api.post$(`/loads/${loadId}/bids`, request);\r\n\r\n getLoadIsOnline$ = (loadId: string) => this.api.get$(`/loads/${loadId}`, { fields: 'status' });\r\n\r\n getBidLoadDetails$ = (loadId: string) =>\r\n this.api.get$(`/loads/${loadId}`, { fields: LoadFieldsBiddingOnly });\r\n\r\n markAllBidsAsViewed$ = () => this.api.post$<{}>('/bids/mark-as-read', {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { SendOneTimeLocationRequest } from '@common/model/OneTimeLocation';\r\n\r\nexport class CarrierTrackingClient extends BaseClient {\r\n requestOneTimeLocationSharing$ = (conversationId: string) =>\r\n this.api.post$<{}>(`/carrierTracking/requestOneTimeLocation`, { conversationId: conversationId });\r\n\r\n sendOneTimeLocation$ = (request: SendOneTimeLocationRequest) =>\r\n this.api.post$<{}>('/carrierTracking/sendOneTimeLocation', request);\r\n}\r\n","import { LBHeaders } from '@common/api/ApiOptions';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport {\r\n CanMessageResponse,\r\n CommunicationStatus,\r\n Conversation,\r\n ConversationMessageResponse,\r\n ConversationResponse,\r\n ConversationsListRequest,\r\n ConversationsSummary,\r\n ConversationUserStatuses,\r\n LoadFieldsConversationOnly,\r\n LoadWithDataForConversation,\r\n MessagePayload,\r\n MessagesSummary,\r\n} from '@common/model/Conversation';\r\n\r\nexport interface SendMessageResponse {\r\n messageId: string;\r\n}\r\nexport class CommunicationClient extends BaseClient {\r\n negotiate$ = () => this.api.post$<{ accessToken: string; url: string }>('/conversations/negotiate', {});\r\n getConversationsSummary$ = () => this.api.get$('/conversations/summary', {});\r\n getMessagesSummary$ = () =>\r\n this.api.get$('/conversations/summary', {\r\n computeUnreadMessages: true,\r\n computeUnreadConversations: false,\r\n });\r\n getConversations$ = (data: ConversationsListRequest) =>\r\n this.api.get$('/conversations', {\r\n unread: data.unread,\r\n token: data.token,\r\n limit: data.limit,\r\n });\r\n getConversation$ = (conversationID: string) => this.api.get$(`/conversations/${conversationID}`, {});\r\n getLoadConversations$ = (loadID: string, appOrigin: string, inquireBroker: boolean) =>\r\n this.api.get$(\r\n `/loads/${loadID}/conversations`,\r\n {\r\n inquireBroker: inquireBroker,\r\n },\r\n {\r\n headers: {\r\n [LBHeaders.Referrer]: appOrigin,\r\n [LBHeaders.FlowID]: '',\r\n },\r\n }\r\n );\r\n getCommunicationStatus$ = () => this.api.get$('conversations/status', {});\r\n getMessages$ = (conversationID: string) =>\r\n this.api.get$(`/conversations/${conversationID}/messages`, { recipients_info: true });\r\n sendMessage$ = (conversationID: string, message: MessagePayload) =>\r\n this.api.post$(`/conversations/${conversationID}/messages`, message);\r\n getUserStatus$ = (conversationID: string) =>\r\n this.api.get$(`/conversations/${conversationID}/user-statuses`, {});\r\n markMessageRead$ = (conversationID: string, messageID: string, isRead = true) =>\r\n this.api.mergePatch$<{}>(`/conversations/${conversationID}/messages/${messageID}/status`, { read: isRead });\r\n markAllMessagesAsRead$ = () => this.api.post$<{}>('/conversations/mark-as-read', {});\r\n getCanMessage$ = (userIDs: string[]) =>\r\n this.api.post$('conversations/can-message', { users: userIDs });\r\n\r\n getConversationLoadDetails$ = (loadId: string) =>\r\n this.api.get$(`/loads/${loadId}`, { fields: LoadFieldsConversationOnly });\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { Avatar } from '@common/redux/epic/AvatarEpic';\r\n\r\nexport interface UploadAvatarData {\r\n mimeType: string;\r\n file: Blob | Uint8Array;\r\n}\r\n\r\nexport class CompanyAvatarClient extends BaseClient {\r\n fetchCompanyAvatar$ = (imageSize: string) =>\r\n this.api.get$(`/companies/avatar/?imageType=${imageSize}`, {}, { responseType: 'arraybuffer' });\r\n fetchOtherCompanyAvatar$ = (id: string) =>\r\n this.api.get$(`/companies/${id}/avatar?imageType=Small`, {}, { responseType: 'arraybuffer' });\r\n uploadCompanyAvatar$ = (uploadParams: UploadAvatarData) => {\r\n return this.api.put$('/companies/avatar', uploadParams.file, {\r\n headers: { 'Content-Type': uploadParams.mimeType },\r\n });\r\n };\r\n deleteCompanyAvatar$ = () => this.api.delete$(`/companies/avatar`, {});\r\n}\r\n","import { AxiosRequestConfig } from 'axios';\r\nimport { reduce } from 'lodash';\r\nimport { Observable, of as of$ } from 'rxjs';\r\nimport { mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api } from '@common/api';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { addArchivingHeader } from '@common/helper/FlowIDHeaderHelper';\r\nimport {\r\n BrokerPaginationRequest,\r\n CarrierFeedback,\r\n CarrierRating,\r\n CarrierSearchRequest,\r\n CarrierSearchResponse,\r\n CarrierStatus,\r\n Company,\r\n CompanyAuthorityInfo,\r\n CompanyInsuranceInfo,\r\n CompanyLicensingInfo,\r\n CompanyUserDataPayload,\r\n CompanyUserDataQuery,\r\n CompanyVerificationDetailsResponse,\r\n CreditInfo,\r\n UserDataCompany,\r\n} from '@common/model';\r\nimport { SearchDirectoryCompanyRequest, SearchDirectoryCompanyResponse } from '@common/model/SearchDirectory';\r\nimport { EmptyResponse } from '@common/redux/Base';\r\n\r\nexport interface CompanyUserData {\r\n id: string;\r\n value: T;\r\n}\r\n\r\nexport class CompanyClient extends BaseClient {\r\n getCompanyInfo$ = () => this.api.get$('/companies', {});\r\n getCompanyDetails$ = (id: string) => this.api.get$(`/companies/${id}`, {});\r\n getCompanyAuthority$ = (id: string) => this.api.get$(`/companies/${id}/authority`, {});\r\n getCompanyAuthorityLicensing$ = (id: string) =>\r\n this.api.get$<{ authorityInfo: CompanyAuthorityInfo; licensingInfo: CompanyLicensingInfo }>(\r\n `/companies/${id}/authorityAndLicensing`,\r\n {}\r\n );\r\n getCompanyInsurance$ = (id: string) => this.api.get$(`/companies/${id}/insurance`, {});\r\n getCompanyCredit$ = (id: string) => this.api.get$(`/companies/${id}/credit`, {});\r\n getCompanyUserData = (query: CompanyUserDataQuery, fields: string = 'all', request?: BrokerPaginationRequest) =>\r\n this.api.get$('/companies/search/userdata', { fields: fields, ...query, ...request });\r\n updateCompanyInfo$ = (companyInfo: Company) => {\r\n if (companyInfo.id && companyInfo.id.length > 0) {\r\n return this.api.put$(`/companies/${companyInfo.id}`, companyInfo);\r\n } else {\r\n return this.api.post$('/companies', companyInfo);\r\n }\r\n };\r\n favoriteCarriers$ = (carriers: Array>) =>\r\n performMultiplePatches$(this.api, '/favoriteCarrier', carriers, createCompanyEndpoint);\r\n favoriteBrokers$ = (brokers: Array>, archivingFlowID: string | undefined) =>\r\n performMultiplePatches$(\r\n this.api,\r\n '/favoriteBroker',\r\n brokers,\r\n createCompanyEndpoint,\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n onboardedBrokers$ = (brokers: Array>, archivingFlowID: string | undefined) =>\r\n performMultiplePatches$(\r\n this.api,\r\n '/onboarded',\r\n brokers,\r\n createCompanyEndpoint,\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n hideCarriers$ = (carriers: Array>) =>\r\n performMultiplePatches$(this.api, '/hiddenCarrier', carriers, createCompanyEndpoint);\r\n hideBrokers$ = (brokers: Array>, archivingFlowID: string | undefined) =>\r\n performMultiplePatches$(\r\n this.api,\r\n '/hiddenBroker',\r\n brokers,\r\n createCompanyEndpoint,\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n addNotes$ = (id: string, note: string) => this.api.patch$(createCompanyEndpoint(id), payload('/note', note));\r\n onboardCarrier$ = (carriers: Array>) =>\r\n performMultiplePatches$(this.api, '/onboarded', carriers, createCarrierEndpoint);\r\n searchCarriers$ = (query: CarrierSearchRequest, request?: BrokerPaginationRequest) =>\r\n this.api.get$('/carriers/search', { ...query, ...request });\r\n updateCarrier$ = (id: string, status: CarrierStatus) =>\r\n this.api.mergePatch$(`/carriers/${id}/userdata`, status);\r\n updateCarrierFeedback$ = (id: string, feedback: CarrierFeedback) =>\r\n this.api.mergePatch$(createCarrierEndpoint(id), feedback);\r\n updateCarriers$ = (contactIds: string[], status: CarrierStatus) =>\r\n this.api.mergePatch$('/carriers/userdata', { contactIds: contactIds, patchDocument: status });\r\n updateCarriersFeedback$ = (contactIds: string[], feedback: CarrierFeedback) =>\r\n this.api.mergePatch$('/carriers/feedbacks', { contactIds: contactIds, patchDocument: feedback });\r\n getSearchDirectoriesCompanies$ = (fetchRequest: SearchDirectoryCompanyRequest) =>\r\n this.api.get$('/companies/search/directories', fetchRequest);\r\n setDirectoriesCompanyViewedStatus$ = (id: string) =>\r\n this.api.post$(`/companies/${id}/directories/viewed`, {});\r\n fetchVolpeInformationByDotNumber$ = (dotNumber: string) =>\r\n this.api.get$(`/companies/docketNumberRecordsByUsDot/${dotNumber}`, {});\r\n fetchCarrierRating$ = (dotNumber: string) =>\r\n this.api.get$(`/companies/${dotNumber}/carrierSource/rating`, {});\r\n patchCompanyDetails$ = (id: string, onboardingUrl: string) =>\r\n this.api.mergePatch$<{}>(`/companies/${id}`, { onboardingUrl: onboardingUrl });\r\n}\r\n\r\nconst createCompanyEndpoint = (id: string) => `/companies/${id}/userdata`;\r\nconst createCarrierEndpoint = (id: string) => `/carriers/${id}/feedbacks`;\r\nconst payload = (url: string, value: any) => [{ op: 'replace', path: url, value: value }];\r\nconst performMultiplePatches$ = (\r\n api: Api,\r\n path: string,\r\n companies: Array>,\r\n endPoint: (id: string) => string,\r\n config?: AxiosRequestConfig\r\n) => {\r\n return reduce(\r\n companies,\r\n (callStack: Observable, company) => {\r\n return callStack.pipe(mergeMap$(() => api.patch$(endPoint(company.id), payload(path, company.value), config)));\r\n },\r\n of$(null) /* we start with an empty event, then iterate over all calls */\r\n );\r\n};\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { CarrierInfo, ContactBrokerInfo } from '@common/model/Carrier';\r\n\r\nexport class ContactClient extends BaseClient {\r\n fetchCarrierInfo$ = (contactGUID: string) => this.api.get$(`/contacts/${contactGUID}/carrierInfo`, {});\r\n fetchBrokerInfo$ = (contactGUID: string) =>\r\n this.api.get$(`/contacts/${contactGUID}/brokerInfo`, {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { METADATA_ONLY } from '@common/helper';\r\nimport {\r\n CustomFolder,\r\n CustomFoldersRequest,\r\n CustomFoldersResponse,\r\n DefaultFoldersResponse,\r\n Document,\r\n DocumentFilters,\r\n DocumentTypes,\r\n FolderIdentifier,\r\n FolderResponse,\r\n MyDocumentsSendRequest,\r\n NewCustomFolderRequest,\r\n NewCustomFolderResponse,\r\n} from '@common/model';\r\nimport { EmptyResponse } from '@common/redux/Base';\r\nimport { DocumentsResponse } from '@common/redux/epic/DocumentListEpic';\r\n\r\nexport class DocumentsClient extends BaseClient {\r\n fetchDocuments$ = (request: DocumentFilters) =>\r\n this.api.get$('/documents', {\r\n documentType: request.documentType ? request.documentType.enumName : undefined,\r\n folderType: request.folder ? request.folder.type : undefined,\r\n folderId: request.folder ? request.folder.id : undefined,\r\n fromCreated: request.date ? request.date.dateStart : undefined,\r\n toCreated: request.date ? request.date.dateEnd : undefined,\r\n sortBy: request.sorting,\r\n sortDirection: undefined,\r\n limit: request.limit,\r\n offset: request.offset,\r\n SortDirection: request.sortDirection,\r\n fields: request.fields,\r\n });\r\n fetchDocumentTotal$ = () => this.api.get$('/documents', METADATA_ONLY);\r\n fetchFolderByLoad$ = (guid: string) => this.api.get$(`/loads/${guid}/folder`, {});\r\n fetchTypes$ = () => this.api.get$('/documents/types', {});\r\n fetchDocumentFile$ = (id: string) => this.api.get$(`/documents/${id}`, {}, { responseType: 'arraybuffer' });\r\n fetchConversationDocumentFile$ = (conversationID: string, messageID: string, docID: string) =>\r\n this.api.get$(\r\n `/conversations/${conversationID}/messages/${messageID}/documents/${docID}`,\r\n {},\r\n { responseType: 'arraybuffer' }\r\n );\r\n sendDocuments$ = (request: MyDocumentsSendRequest) => this.api.post$('/documents/send', request);\r\n setDocName$ = (id: string, newName: string) =>\r\n this.api.patch$(`/documents/${id}`, [\r\n {\r\n op: 'replace',\r\n path: '/displayName',\r\n value: newName,\r\n },\r\n ]);\r\n deleteDocument$ = (uid: string) =>\r\n this.api.post$<{ failCount: string; successCount: string }>('/documents/delete', { documentsGuids: [uid] });\r\n changeDocType$ = (id: string, type: string) => {\r\n return this.api.patch$(`/documents/${id}`, [\r\n {\r\n op: 'replace',\r\n path: '/type',\r\n value: type,\r\n },\r\n ]);\r\n };\r\n changeDocFolder$ = (id: string, newFolder: FolderIdentifier) => {\r\n return this.api.patch$(`/documents/${id}`, [\r\n {\r\n op: 'replace',\r\n path: '/folderType',\r\n value: newFolder.type,\r\n },\r\n {\r\n op: 'replace',\r\n path: '/folderId',\r\n value: newFolder.id,\r\n },\r\n ]);\r\n };\r\n fetchCustomFolders$ = (request: CustomFoldersRequest) =>\r\n this.api.get$('/documents/folders/custom', request);\r\n fetchDefaultFolders$ = () => this.api.get$('/documents/folders/default', {});\r\n createCustomFolder$ = (request: NewCustomFolderRequest) =>\r\n this.api.post$('/documents/folders/custom', request);\r\n changeFolderName$ = (id: string, name: string) =>\r\n this.api.patch$(`/documents/folders/custom/${id}`, [\r\n {\r\n op: 'replace',\r\n path: '/name',\r\n value: name,\r\n },\r\n ]);\r\n deleteFolder$ = (id: string) => this.api.delete$(`/documents/folders/custom/${id}`, {});\r\n getCustomFolder$ = (id: string) => this.api.get$(`/documents/folders/custom/${id}`, {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { PostedLoadsUrl } from '@common/model';\r\nimport { FeedbackRequest } from '@common/model/FeedbackRequest';\r\n\r\nexport class FeedbackClient extends BaseClient {\r\n requestFTPIntegration$ = () => this.api.post$('/feedback/contactus/loadposting/ftp', {});\r\n requestURLScrape$ = (contactUsUrl: PostedLoadsUrl) =>\r\n this.api.post$('/feedback/contactus/loadposting/url', contactUsUrl);\r\n requestBrokerFeature$ = (isBroker: boolean) => this.api.post$('/feedback/contactus/requestBrokerFeatures', isBroker);\r\n requestCSVUpload$ = (data: FormData) => this.api.post$('/loads/file', data);\r\n requestFeedback$ = (feedbackRequest: FeedbackRequest) => this.api.post$('/feedback', feedbackRequest);\r\n}\r\n","import { Observable, of as of$ } from 'rxjs';\r\nimport { mergeMap } from 'rxjs/operators';\r\n\r\nimport { ApiError, ApiResponse123 } from '@common/api';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { Ftp, ModifiedFtp, NewFtp } from '@common/model';\r\n\r\nexport class FtpClient extends BaseClient {\r\n fetchFtps$ = (): Observable> => this.api.get$('/contacts/postingftp', {});\r\n\r\n postFtp$ = (ftp: NewFtp): Observable> => {\r\n const postFtpResponse$: Observable> = this.api.post$('/contacts/postingftp', ftp);\r\n return postFtpResponse$.pipe(\r\n mergeMap((postFtpResponse: ApiResponse123): Observable> => {\r\n if (postFtpResponse.success) {\r\n return this.fetchFtps$();\r\n }\r\n const error = postFtpResponse as ApiError;\r\n return of$(error);\r\n })\r\n );\r\n };\r\n\r\n patchFtp$ = (ftp: ModifiedFtp): Observable> => {\r\n const { id, ...ftpData } = ftp;\r\n const patchFtpResponse$: Observable> = this.api.patch$(\r\n `/contacts/postingftp/${id}`,\r\n ftpData,\r\n { headers: { 'content-type': 'application/merge-patch+json' } }\r\n );\r\n return patchFtpResponse$.pipe(\r\n mergeMap((patchFtpResponse: ApiResponse123): Observable> => {\r\n if (patchFtpResponse.success) {\r\n return this.fetchFtps$();\r\n }\r\n\r\n const error = patchFtpResponse as ApiError;\r\n return of$(error);\r\n })\r\n );\r\n };\r\n\r\n deleteFtp$ = (ftpId: string) => this.api.delete$(`/contacts/postingftp/${ftpId}`, {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { Geolocation, ReverseGeolocationResult } from '@common/model';\r\n\r\nexport class GeocodingClient extends BaseClient {\r\n locationFor$ = (geolocation: Geolocation) =>\r\n this.api.post$('/locations/geocode/reverse', {\r\n location: {\r\n latitude: geolocation.latitude,\r\n longitude: geolocation.longitude,\r\n },\r\n allowFallback: true,\r\n });\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { ContactsCompanyVerificationResponse, IdentityVerificationPhoneResponse, Phone } from '@common/model';\r\n\r\nexport class IdentityVerificationClient extends BaseClient {\r\n getIdentityVerificationCompany$ = () =>\r\n this.api.get$('/identityVerification/company', {});\r\n\r\n addIdentityVerificationPhoneNumber$ = (phone: Phone) =>\r\n this.api.post$('/identityVerification/phoneNumber', {\r\n phoneNumber: phone.number,\r\n extension: phone.extension,\r\n });\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { GetMessagesResponse, InboxMessage, MessageAction } from '@common/model/Inbox';\r\nimport { EmptyResponse } from '@common/redux/Base';\r\n\r\nconst MESSAGES_LIMIT = 10;\r\n\r\nconst getTokenParam = (token: string | undefined): string => (token ? `&token=${token}` : '');\r\n\r\nexport class InboxClient extends BaseClient {\r\n fetchAllInboxMessages$ = (\r\n token: string | undefined,\r\n limit: number = MESSAGES_LIMIT,\r\n deleted: boolean = false,\r\n count: boolean = false\r\n ) =>\r\n this.api.get$(\r\n `/internalmessages?&deleted=${deleted}&limit=${limit}&count=${count}${getTokenParam(token)}`,\r\n {}\r\n );\r\n\r\n updateInboxMessage$ = (data: { action: MessageAction; messageIds: string[] }) =>\r\n this.api.mergePatch$('/internalmessages', {\r\n patchDocument: { status: data.action },\r\n ids: data.messageIds,\r\n });\r\n\r\n readMessage$ = (messageId: string) =>\r\n this.api.mergePatch$(`/internalmessages`, {\r\n patchDocument: { read: true },\r\n ids: [messageId],\r\n });\r\n\r\n fetchMessage$ = (messageId: string) => this.api.get$(`/internalmessages/${messageId}`, {});\r\n\r\n clearAllMessage$ = () =>\r\n this.api.mergePatch$('/internalmessages/filter', {\r\n patchDocument: { status: MessageAction.delete },\r\n excludedIds: [],\r\n });\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { addArchivingHeader } from '@common/helper/FlowIDHeaderHelper';\r\nimport { LoadFeedbackRequest } from '@common/model/LoadFeedbackRequest';\r\n\r\nexport class LoadFeedbackClient extends BaseClient {\r\n sendLoadFeedback$ = (\r\n loadID: string,\r\n loadFeedbackRequest: LoadFeedbackRequest,\r\n archivingFlowID: string | undefined\r\n ) => {\r\n const loadFeedbackRequestArray: LoadFeedbackRequest[] = [loadFeedbackRequest];\r\n return this.api.patch$<{}>(\r\n `loads/${loadID}/userdata`,\r\n loadFeedbackRequestArray,\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n };\r\n}\r\n","import { join } from 'lodash';\r\n\r\nimport { authenticationToApiOptions, LBHeaders } from '@common/api/ApiOptions';\r\nimport { Api, withApiVersion } from '@common/api/ApiService';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { intermediateRequest } from '@common/helper';\r\nimport { addArchivingHeader } from '@common/helper/FlowIDHeaderHelper';\r\nimport {\r\n AlertNotification,\r\n AspectRatio,\r\n BookNowResponse,\r\n CargoChiefRate,\r\n EquipmentType,\r\n FuelPrice,\r\n getStatesFromSortCategory,\r\n GreenscreensRate,\r\n Load,\r\n LoadAvailabilitySortCategory,\r\n LoadBackhauls,\r\n LoadProgress,\r\n LoadRateCheckPreviewResponse,\r\n LoadSearchGeoResponse,\r\n LoadSearchMetadata,\r\n LoadSearchRequest,\r\n LoadSearchResponse,\r\n LoadSortDirection,\r\n NamedSearchRequest,\r\n NearbyLoadsResponse,\r\n NearbyLoadsSearchRequest,\r\n PersistentLoadSearchDef,\r\n RateCheck,\r\n SimilarLoadSearchResponse,\r\n StateLoadAvailabilityResponse,\r\n StateMileagePayload,\r\n} from '@common/model';\r\nimport { LoadCreditRatingsResponse } from '@common/model/LoadCreditRatingsResponse';\r\nimport { RouteDirections, RouteInfo } from '@common/model/PCMiler';\r\nimport { SharedLoadMessage } from '@common/model/SharedLoadMessage';\r\nimport { EmptyResponse, SearchResponseMetadata } from '@common/redux/Base';\r\nimport {\r\n AlertsResponse,\r\n SearchesResponse,\r\n UpdateSearchAlertRequest,\r\n ViewFilter,\r\n} from '@common/redux/epic/loadSearch/HelperFunctions';\r\n\r\nexport class LoadsClient extends BaseClient {\r\n private readonly isLiveEnvironment: boolean;\r\n constructor(api: Api, isLiveEnvironment: boolean) {\r\n super(api);\r\n this.isLiveEnvironment = isLiveEnvironment;\r\n }\r\n fetchLoadCount$ = (request: LoadSearchRequest) => {\r\n return this.api.post$('/loads/search/metadata', {\r\n ...request,\r\n });\r\n };\r\n\r\n fetchLoads$ = (companyName?: string) =>\r\n this.api.get$('/loads', { onlineOnly: true, companyName: companyName }, withApiVersion('1.2'));\r\n fetchLoadDetails$ = (id: string, archivingFlowID: string | undefined, fields: string, onlineOnly: boolean = true) =>\r\n this.api.get$(\r\n `/loads/${id}`,\r\n { fields: fields, onlineOnly: onlineOnly },\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n fetchLoadCargoChiefRate$ = (id: string, archivingFlowID: string | undefined) =>\r\n this.api.get$(`/loads/${id}/c4rates`, {}, addArchivingHeader(archivingFlowID));\r\n fetchLoadGreenscreensRate$ = (id: string, archivingFlowID: string | undefined) =>\r\n this.api.get$(`/loads/${id}/greenscreensrates`, {}, addArchivingHeader(archivingFlowID));\r\n fetchSharedLoad$ = (token: string, isPoster?: boolean) =>\r\n this.api.get$(\r\n `/loads/shared/${isPoster ? 'poster/' : ''}${token}`,\r\n {},\r\n {},\r\n authenticationToApiOptions(false)\r\n );\r\n fetchPostedLoadsList$ = (fields: string) =>\r\n this.api.get$('/loads/list', { fields: fields, onlineOnly: true, limit: 0 });\r\n postAlertNotification$ = (loadId: string, alertNotification: AlertNotification) => {\r\n if (!this.isLiveEnvironment) {\r\n return this.api.post$(`/loads/${loadId}/alertdevice`, { ...alertNotification, sendToSelf: true });\r\n }\r\n return this.api.post$(`/loads/${loadId}/alertdevice`, alertNotification);\r\n };\r\n\r\n searchLoads$ = (\r\n request: LoadSearchRequest,\r\n shouldSilenceFailures = false,\r\n archivingFlowId: string | undefined,\r\n cancelGroup?: string,\r\n referrer?: string\r\n ) =>\r\n this.api.post$(\r\n 'loads/search',\r\n intermediateRequest(request),\r\n addArchivingHeader(\r\n archivingFlowId,\r\n referrer\r\n ? {\r\n headers: {\r\n [LBHeaders.Referrer]: referrer,\r\n },\r\n }\r\n : undefined\r\n ),\r\n {\r\n silentApiFailure: shouldSilenceFailures,\r\n silentNetworkFailure: shouldSilenceFailures,\r\n cancelGroup: cancelGroup,\r\n }\r\n );\r\n searchLoadsById$ = (\r\n id: string,\r\n request: { metadata: LoadSearchMetadata },\r\n shouldSilenceFailures = false,\r\n archivingFlowId: string | undefined\r\n ) =>\r\n this.api.post$(\r\n `/loads/named-searches/${id}/search`,\r\n request.metadata,\r\n addArchivingHeader(archivingFlowId),\r\n {\r\n silentApiFailure: shouldSilenceFailures,\r\n silentNetworkFailure: shouldSilenceFailures,\r\n }\r\n );\r\n searchGeoLoads$ = (request: LoadSearchRequest, archivingFlowId: string | undefined) =>\r\n this.api.post$(\r\n 'loads/geosearch',\r\n intermediateRequest(request),\r\n addArchivingHeader(archivingFlowId)\r\n );\r\n searchGeoLoadsById$ = (id: string, request: { metadata: LoadSearchMetadata }, archivingFlowId: string | undefined) =>\r\n this.api.post$(\r\n `/loads/named-searches/${id}/geosearch`,\r\n request.metadata,\r\n addArchivingHeader(archivingFlowId)\r\n );\r\n searchSimilarLoads$ = (request: LoadSearchRequest, archivingFlowId: string | undefined) =>\r\n this.api.post$(\r\n 'loads/search/similar',\r\n intermediateRequest(request),\r\n addArchivingHeader(archivingFlowId)\r\n );\r\n\r\n fetchLoadBackhauls$ = (loadId: string, namedSearchId: string | undefined, archivingFlowID: string | undefined) =>\r\n this.api.get$(\r\n `/loads/${loadId}/backhauls`,\r\n { fromNamedSearchId: namedSearchId },\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n fetchRouteInfo$ = (loadId: string, archivingFlowID: string | undefined) =>\r\n this.api.get$(`/loads/${loadId}/routeinfo`, {}, addArchivingHeader(archivingFlowID));\r\n fetchRouteDirections$ = (loadId: string, archivingFlowID: string | undefined) =>\r\n this.api.get$(`/loads/${loadId}/routedirections`, {}, addArchivingHeader(archivingFlowID));\r\n getRouteStateMileage$ = (loadId: string, archivingFlowID: string | undefined) =>\r\n this.api.get$(`/loads/${loadId}/routestatemileage`, {}, addArchivingHeader(archivingFlowID));\r\n fetchRouteMap$ = (\r\n loadId: string,\r\n thumbnail: boolean,\r\n aspectRatio = AspectRatio.Ratio2_1,\r\n archivingFlowID: string | undefined\r\n ) =>\r\n this.api.get$(\r\n `/loads/${loadId}/routemap`,\r\n { thumbnail: thumbnail, aspectRatio: aspectRatio },\r\n addArchivingHeader(archivingFlowID, { responseType: 'arraybuffer' })\r\n );\r\n fetchCreditRatings$ = (loadId: string, archivingFlowID: string | undefined) =>\r\n this.api.get$(`/loads/${loadId}/creditratings`, {}, addArchivingHeader(archivingFlowID));\r\n fetchRateCheck$ = (loadId: string, archivingFlowID: string | undefined) =>\r\n this.api.get$(`/loads/${loadId}/ratecheck`, {}, addArchivingHeader(archivingFlowID));\r\n fetchLoadRateCheckPreviews$ = (loadIds: string[], archivingFlowID: string | undefined) =>\r\n this.api.post$(`/loads/ratecheck`, loadIds, addArchivingHeader(archivingFlowID));\r\n fetchFuelPrice$ = (state: string, country: string | undefined, archivingFlowID: string | undefined) =>\r\n this.api.get$('/fuelPrice', { state: state, country: country }, addArchivingHeader(archivingFlowID));\r\n setSavedLoad$ = (loadId: string, isSaved: boolean, archivingFlowID: string | undefined) => {\r\n return this.api.patch$(\r\n `/loads/${loadId}/userdata`,\r\n [\r\n {\r\n op: 'replace',\r\n path: '/isSaved',\r\n value: isSaved,\r\n },\r\n ],\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n };\r\n setHiddenLoad$ = (loadId: string, archivingFlowID: string | undefined, isHidden: boolean = true) => {\r\n return this.api.patch$(\r\n `/loads/${loadId}/userdata`,\r\n [\r\n {\r\n op: 'replace',\r\n path: '/isHidden',\r\n value: isHidden,\r\n },\r\n ],\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n };\r\n setLoadNote$ = (loadID: string, note: string, archivingFlowID: string | undefined) => {\r\n return this.api.patch$(\r\n `/loads/${loadID}/userdata`,\r\n [\r\n {\r\n op: 'replace',\r\n path: '/note',\r\n value: note,\r\n },\r\n ],\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n };\r\n setPrivateLoadNote$ = (loadID: string, privateLoadNote: string, archivingFlowID: string | undefined) => {\r\n return this.api.patch$(\r\n `/loads/${loadID}/userdata`,\r\n [\r\n {\r\n op: 'replace',\r\n path: '/privateLoadNote',\r\n value: privateLoadNote,\r\n },\r\n ],\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n };\r\n setLoadProgress$ = (loadID: string, progress: LoadProgress, archivingFlowID: string | undefined) => {\r\n return this.api.patch$(\r\n `/loads/${loadID}/userdata`,\r\n [\r\n {\r\n op: 'replace',\r\n path: '/progress',\r\n value: progress,\r\n },\r\n {\r\n op: 'replace',\r\n path: '/isSaved',\r\n value: false,\r\n },\r\n ],\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n };\r\n setLoadCall$ = (loadID: string, isCalled: boolean, archivingFlowID: string | undefined) => {\r\n return this.api.patch$(\r\n `/loads/${loadID}/userdata`,\r\n [\r\n {\r\n op: 'replace',\r\n path: '/isCalled',\r\n value: isCalled,\r\n },\r\n ],\r\n addArchivingHeader(archivingFlowID)\r\n );\r\n };\r\n getSharedLoadUrl$ = (loadID: string, archivingFlowID: string | undefined) => {\r\n return this.api.get$(`/loads/${loadID}/share`, {}, addArchivingHeader(archivingFlowID));\r\n };\r\n\r\n fetchLoadAvailability$ = (equipmentTypes: EquipmentType[], sortCategory: LoadAvailabilitySortCategory) =>\r\n this.api.post$('/loads/availability/search', {\r\n metadata: {\r\n includeQueries: true,\r\n },\r\n equipmentTypes: join(equipmentTypes, ','),\r\n statesToInclude: getStatesFromSortCategory(sortCategory),\r\n sortExpression: 'None',\r\n sortDirection: LoadSortDirection.Desc,\r\n });\r\n\r\n searchNearbyLoads$ = (request: NearbyLoadsSearchRequest) =>\r\n this.api.post$('/loads/search/nearby', request);\r\n\r\n sendEmailToBroker$ = (loadID: string, comment: string) =>\r\n this.api.post$(`/loads/${loadID}/sendEmailtoBroker`, { comment: comment });\r\n\r\n getStateMileage$ = (loadID: string, archivingFlowID: string | undefined) =>\r\n this.api.get$(`/loads/${loadID}/routestatemileage`, {}, addArchivingHeader(archivingFlowID));\r\n\r\n sendBookNow$ = (loadID: string) => this.api.post$(`/loads/${loadID}/book-now`, {});\r\n\r\n fetchAllSearches$ = (filter?: ViewFilter) =>\r\n this.api.get$(`/loads/named-searches`, {\r\n hasAlerts: filter === ViewFilter.ALL ? undefined : filter === ViewFilter.WITH_ALERTS,\r\n });\r\n\r\n deleteAllSearches$ = (filter?: ViewFilter) =>\r\n this.api.delete$<{}>('/loads/named-searches', deleteSearchesQueryFromFilter(filter));\r\n\r\n createSearch$ = (request: NamedSearchRequest) =>\r\n this.api.post$('/loads/named-searches', request);\r\n\r\n fetchSearchByID$ = (namedSearchId: string) =>\r\n this.api.get$(`/loads/named-searches/${namedSearchId}`, {});\r\n\r\n editSearchRequest$ = (namedSearchId: string, request: NamedSearchRequest) =>\r\n this.api.put$(`/loads/named-searches/${namedSearchId}`, request);\r\n\r\n deleteSearch$ = (id: string) => this.api.delete$<{}>(`/loads/named-searches/${id}`, {});\r\n\r\n updateSearch$ = (request: UpdateSearchAlertRequest) =>\r\n this.api.mergePatch$<{}>(`/loads/named-searches/${request.namedSearchId}`, {\r\n hasAlert: request.hasAlert,\r\n });\r\n\r\n getSearchAlerts$ = () => this.api.get$('/loads/named-searches/alerts', {});\r\n}\r\n\r\nconst deleteSearchesQueryFromFilter = (filter?: ViewFilter) => {\r\n switch (filter) {\r\n case ViewFilter.WITH_ALERTS:\r\n return {\r\n onlyWithAlerts: true,\r\n onlyWithoutAlerts: undefined,\r\n };\r\n case ViewFilter.WITHOUT_ALERTS:\r\n return {\r\n onlyWithAlerts: undefined,\r\n onlyWithoutAlerts: true,\r\n };\r\n case ViewFilter.ALL:\r\n default:\r\n return {\r\n onlyWithAlerts: false,\r\n onlyWithoutAlerts: undefined,\r\n };\r\n }\r\n};\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { LocationSuggestions } from '@common/model';\r\n\r\nexport class LocationMatchClient extends BaseClient {\r\n fetchLocationMatch$ = (location: string, includeStates: boolean) =>\r\n this.api.get$('/suggestions/loc', { q: location, includeStates: includeStates });\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { RecentLocationType, RecentSearchLocationsResponse } from '@common/model';\r\n\r\nexport class LocationsClient extends BaseClient {\r\n fetchRecentLocations$ = (locationTypes?: RecentLocationType[]) =>\r\n this.api.get$('/locations/recent', { locationTypes: locationTypes ?? 'All' });\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport {\r\n MileageRoutesPostRequest,\r\n MileageRoutesRequest,\r\n RouteDirections,\r\n RoutePoints,\r\n StateMileagePayload,\r\n UiSettingsPayload,\r\n} from '@common/model';\r\n\r\nexport class MileageCalculatorClient extends BaseClient {\r\n getRoutesDirection$ = (data: MileageRoutesRequest) => this.api.get$('/routes/direction', data);\r\n\r\n //For the three endpoints (POST /routes/direction, /route/routePath, /routes/statemileage):\r\n //post that acts like a get to be used if we have stops, it returns the apporopriate data for the PC miler\r\n //isCustom flag is used to track the number of calls to the PcMiler data and count it as new request to the tool\r\n //isFollowUp will track the call to the api for the pcMiler but not count it as a new request to the tool\r\n postRouteDirection$ = (data: MileageRoutesPostRequest, isCustomRequest: boolean) =>\r\n this.api.post$(`/routes/direction?isCustomRequest=${isCustomRequest}`, data);\r\n postRoutePath$ = (data: { route: MileageRoutesPostRequest }) =>\r\n this.api.post$('/route/routePath?isFollowUp=true', data);\r\n postStateMileage$ = (data: MileageRoutesPostRequest) =>\r\n this.api.post$('/routes/statemileage?isFollowUp=true', data);\r\n\r\n getUiSettings$ = () => this.api.get$('/settings/routes/UiSettings', undefined);\r\n patchUiSettings$ = (data: UiSettingsPayload) =>\r\n this.api.mergePatch$('/settings/routes/UiSettings', data);\r\n getExportReport$ = (data: MileageRoutesPostRequest) => this.api.post$('/routes/exportReport', data);\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { MCPCarrierAssessment, MCPLinkAccount, MCPVerificationResponse, SendMCPVerificationData } from '@common/model';\r\n\r\nexport class MyCarrierPortalClient extends BaseClient {\r\n sendMcpDotVerification$ = (params: SendMCPVerificationData) =>\r\n this.api.post$(`/mycarrierpackets/sendDotVerification`, params);\r\n\r\n sendOnboardingRequest$ = (contactGuid: string) =>\r\n this.api.post$<{}>(`/mycarrierpackets/sendOnboardingRequest`, {\r\n contactId: contactGuid,\r\n });\r\n linkMcpAccount$ = (params: MCPLinkAccount) => this.api.post$<{}>(`/mycarrierpackets/linkAccount`, params);\r\n getCarrierRiskAssessment$ = (contactGuid: string) =>\r\n this.api.post$(`/mycarrierpackets/getCarrierDetails`, {\r\n contactId: contactGuid,\r\n });\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { Loads, LoadSearchGeoResponse, MyLoadsRequest } from '@common/model';\r\nimport { LoadProgress, LoadUserdata } from '@common/model/LoadUserdata';\r\nimport { EmptyResponse } from '@common/redux/Base';\r\n\r\nexport interface SearchQuery {\r\n isGone: boolean;\r\n isViewed: boolean;\r\n isLowPayRate: boolean;\r\n isHidden: boolean;\r\n isCalled: boolean;\r\n isEmailed: boolean;\r\n isMessaged: boolean;\r\n isContacted: boolean;\r\n isWrongInfo: boolean;\r\n isNotInterested: boolean;\r\n isSaved: boolean;\r\n isNoted: boolean;\r\n isHiddenAfterCall: boolean;\r\n includeHidden: boolean;\r\n progress: LoadProgress;\r\n isBooked: boolean;\r\n}\r\n\r\nexport interface PatchLoadsUserdataRequest {\r\n searchQuery: Partial;\r\n patchDocument: Partial;\r\n excludeIds: string[];\r\n}\r\n\r\nexport class MyLoadsClient extends BaseClient {\r\n fetchMyLoads$ = (request: MyLoadsRequest) => this.api.get$('/loads/search/userdata', request);\r\n fetchMyGeoLoads$ = (request: MyLoadsRequest) =>\r\n this.api.get$('/loads/geosearch/userdata', request);\r\n\r\n patchLoadsUserdata$ = (request: PatchLoadsUserdataRequest) => {\r\n return this.api.mergePatch$('/loads/userdata/filter', request);\r\n };\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { InvoiceListResponse, InvoicesRequest } from '@common/model';\r\nimport { PaymentDecline, PaymentInfo, PeriodResponse, PlanPaymentInfo } from '@common/model/Payment';\r\n\r\nexport class PaymentClient extends BaseClient {\r\n sendPayment$ = (planPaymentInfo: PlanPaymentInfo) =>\r\n this.api.post$<{}>('/memberships', planPaymentInfo, undefined, { longTimeout: true });\r\n\r\n reactivatePayment$ = (planPaymentInfo: PlanPaymentInfo) =>\r\n this.api.post$<{}>('/memberships/reactivate', planPaymentInfo, undefined, { longTimeout: true });\r\n\r\n updatePaymentCard$ = (creditCardInfo: PaymentInfo) =>\r\n this.api.post$<{}>('/membership/updateCard', creditCardInfo, undefined, { longTimeout: true });\r\n\r\n getPaymentHistory$ = (id: string, request: InvoicesRequest) =>\r\n this.api.get$(`billing/account/${id}/invoices`, request);\r\n\r\n getPaymentYears$ = (id: string) =>\r\n this.api.get$(`billing/account/${id}/invoices/aggregate`, {\r\n fields: 'periods{date}',\r\n period: 'Year',\r\n });\r\n\r\n fetchPaymentDeclineInfo$ = (id: string) => this.api.get$(`billing/account/${id}/declines`, {});\r\n}\r\n","import { EmptyResponse } from '@common/redux/Base';\r\nimport { IntegrationsResponse, LoginSessionsResponse } from '@common/redux/epic/PermissionsEpic';\r\n\r\nimport { BaseClient } from './BaseClient';\r\n\r\nexport class PermissionsClient extends BaseClient {\r\n fetchIntegrations$ = () => this.api.get$('/sessions/integrations', {});\r\n fetchLoginSessions$ = () => this.api.get$('/sessions/user', {});\r\n invalidateSession$ = (sessionID: string) => this.api.post$(`/sessions/${sessionID}/invalidate`, {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { RateCheck, RateCheckRequest, TruckAvailabilityDeleteRequest } from '@common/model';\r\nimport {\r\n TruckAvailabilitiesPayload,\r\n TruckAvailability,\r\n TruckAvailabilityCounts,\r\n TruckAvailabilityResponse,\r\n} from '@common/model/Truck';\r\nimport { EmptyResponse } from '@common/redux/Base';\r\nimport { formatTruckAvailability, MileageRequest, MileageResponse } from '@common/redux/epic/PostTruckEpic';\r\n\r\nexport class PostTruckClient extends BaseClient {\r\n getTruckAvailabilityCount = () => this.api.get$('/truckavailability/counts', {});\r\n getTruckAvailabilities = (types?: string, statuses?: string, paginationLimit?: number, paginationToken?: string) =>\r\n this.api.get$('/truckavailability', {\r\n types: types,\r\n statuses: statuses,\r\n paginationLimit: paginationLimit,\r\n paginationToken: paginationToken,\r\n });\r\n updateTruckAvailabilities = (update: Partial, id: number, override: boolean = false) =>\r\n this.api.mergePatch$(`/truckavailability/${id}`, {\r\n ...formatTruckAvailability(update),\r\n override: override,\r\n });\r\n addTruckAvailabilities = (\r\n truckAvailability: TruckAvailabilityResponse,\r\n convertStatesToAnywhere: boolean = true,\r\n override: boolean = false\r\n ) =>\r\n this.api.post$(\r\n `/trucks/${truckAvailability.truckId}/availability`,\r\n {\r\n ...formatTruckAvailability(truckAvailability),\r\n convertStatesToAnywhere: convertStatesToAnywhere,\r\n override: override,\r\n },\r\n {}\r\n );\r\n deleteTruckAvailability = (availabilityID: number) =>\r\n this.api.delete$(`/truckavailability/${availabilityID}`, {});\r\n bulkDeleteAvailability = (ids: number[]) =>\r\n this.api.post$(`/truckavailability/delete`, { availabilityIds: ids });\r\n deleteTruckAvailabilities = (request: TruckAvailabilityDeleteRequest) =>\r\n this.api.post$(`/truckavailability/delete/filter`, request);\r\n fetchTotalMileage$ = (request: MileageRequest) => this.api.post$('/routes/info', request);\r\n fetchRateCheck$ = (request: RateCheckRequest) => this.api.post$('/ratechecks', request);\r\n}\r\n","import { authenticationToApiOptions } from '@common/api/ApiOptions';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { Quote, QuoteListResponse, QuoteRequest, QuoteResult } from '@common/model';\r\n\r\nexport class QuoteClient extends BaseClient {\r\n fetchFactoringQuotes$ = (withAuthentication: boolean) =>\r\n this.api.get$(\r\n '/quotes/factoring/thunderfunding',\r\n {\r\n fields: 'quoteResponses{metadata{missingInfo}},metadata{totalResultCount}',\r\n },\r\n undefined,\r\n authenticationToApiOptions(withAuthentication)\r\n );\r\n\r\n postFactoringQuote$ = (quote: QuoteRequest, withAuthentication: boolean) => {\r\n return this.api.post$(\r\n '/factoring/thunderfunding',\r\n quote,\r\n undefined,\r\n authenticationToApiOptions(withAuthentication)\r\n );\r\n };\r\n\r\n fetchRoadsideAssistQuotes$ = (withAuthentication: boolean) =>\r\n this.api.get$(\r\n '/roadsideassistance/rignation/quotes',\r\n {\r\n fields: 'quoteResponses{date,metadata{missingInfo}},metadata{totalResultCount}',\r\n },\r\n undefined,\r\n authenticationToApiOptions(withAuthentication)\r\n );\r\n\r\n postRoadsideAssistQuote$ = (quote: QuoteRequest, withAuthentication: boolean) => {\r\n return this.api.post$(\r\n '/roadsideassistance/rignation/quotes',\r\n quote,\r\n undefined,\r\n authenticationToApiOptions(withAuthentication)\r\n );\r\n };\r\n\r\n fetchTruckingAuthorityQuotes$ = (withAuthentication: boolean) =>\r\n this.api.get$(\r\n '/authoritymanagement/evilsizor/quotes',\r\n {\r\n fields: 'quoteResponses{date,metadata{missingInfo}},metadata{totalResultCount}',\r\n },\r\n undefined,\r\n authenticationToApiOptions(withAuthentication)\r\n );\r\n\r\n postTruckingAuthorityQuote$ = (quote: QuoteRequest, withAuthentication: boolean) => {\r\n return this.api.post$(\r\n '/authoritymanagement/evilsizor/quotes',\r\n quote,\r\n undefined,\r\n authenticationToApiOptions(withAuthentication)\r\n );\r\n };\r\n\r\n fetchFuelCardQuotes$ = (withAuthentication: boolean) =>\r\n this.api.get$(\r\n '/quotes/fuel/thunderfunding',\r\n {\r\n fields: 'quoteResponses{metadata{missingInfo}},metadata{totalResultCount}',\r\n },\r\n undefined,\r\n authenticationToApiOptions(withAuthentication)\r\n );\r\n\r\n postFuelCardQuote$ = (quote: QuoteRequest, withAuthentication: boolean) => {\r\n return this.api.post$(\r\n '/quotes/fuel/thunderfunding',\r\n quote,\r\n undefined,\r\n authenticationToApiOptions(withAuthentication)\r\n );\r\n };\r\n\r\n postFuelAdvanceQuote$ = (quote: QuoteRequest, withAuthentication: boolean) => {\r\n return this.api.post$(\r\n '/quotes/fueladvance/thunderfunding',\r\n quote,\r\n undefined,\r\n authenticationToApiOptions(withAuthentication)\r\n );\r\n };\r\n\r\n fetchMostRecentQuotes$ = (guid: string) => this.api.get$(`/loads/${guid}/quotes/mostrecent`, {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { addArchivingHeader } from '@common/helper/FlowIDHeaderHelper';\r\nimport {\r\n ExpediteAllRateRequest,\r\n ExpediteAllResponse,\r\n LoadRateCheckHistoryRequest,\r\n LoadToTruckRatioRequest,\r\n LoadToTruckRatioResponse,\r\n MarketRankingRequest,\r\n MarketRankingResponse,\r\n RateCheck,\r\n RateCheckAverageRequest,\r\n RateCheckAverageResponse,\r\n RateCheckFeedbackRequest,\r\n RateCheckHistoryRequest,\r\n RateCheckRequest,\r\n ThirdPartyLaneRateRequest,\r\n ThirdPartyLaneRateResponse,\r\n} from '@common/model';\r\nimport { RateCheckHistory } from '@common/redux/epic/RateCheckEpic';\r\n\r\nexport class RateCheckClient extends BaseClient {\r\n fetchRateCheck$ = (request: RateCheckRequest) => this.api.post$('/ratechecks', request);\r\n postRateCheckFeedback$ = (feedback: RateCheckFeedbackRequest) =>\r\n this.api.post$<{}>('/ratechecks/feedbacks', feedback);\r\n postLoadRateCheckFeedback$ = (feedback: RateCheckFeedbackRequest, id: string, archivingFlowID: string | undefined) =>\r\n this.api.post$<{}>(`/loads/${id}/ratechecks/feedbacks`, feedback, addArchivingHeader(archivingFlowID));\r\n getRateCheckHistory$ = (request: RateCheckHistoryRequest) =>\r\n this.api.get$('/ratechecks/history', request);\r\n getRateCheckAverage$ = (request: RateCheckAverageRequest) =>\r\n this.api.post$('/ratechecks/averageInPeriod', request);\r\n getLoadRateCheckHistory$ = (request: LoadRateCheckHistoryRequest, id: string, archivingFlowID: string | undefined) =>\r\n this.api.get$(`/loads/${id}/ratecheck/history`, request, addArchivingHeader(archivingFlowID));\r\n getMarketRanking$ = (request: MarketRankingRequest) =>\r\n this.api.post$('/ratechecks/marketRanking', request);\r\n getThirdPartyLaneRates$ = (request: ThirdPartyLaneRateRequest) =>\r\n this.api.post$('/laneRate/getThirdPartyLaneRates', request);\r\n getLoadToTruckRatio$ = (request: LoadToTruckRatioRequest[]) =>\r\n this.api.post$<{ individualResponses: LoadToTruckRatioResponse[] }>('/loadtotruckratio/v1/ratio/byState', {\r\n individualRequests: request,\r\n });\r\n getExpediteAllRate$ = (request: ExpediteAllRateRequest) =>\r\n this.api.post$('/expediteall/v1/rate', request);\r\n}\r\n","import { authenticationToApiOptions } from '@common/api/ApiOptions';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { addArchivingHeader } from '@common/helper/FlowIDHeaderHelper';\r\nimport { Geolocation, MileageRoutesPostRequest, RouteInfo, RoutePoints, UiSettingsPayload } from '@common/model';\r\nimport { RouteDirections } from '@common/model/PCMiler';\r\n\r\nexport class RouteClient extends BaseClient {\r\n fetchRoute$ = (\r\n data: {\r\n origin: Geolocation;\r\n destination: Geolocation;\r\n vehTypev?: string;\r\n hwyOnly?: string;\r\n distUnits?: string;\r\n avoidTolls?: string;\r\n routeOpt?: string;\r\n dataset?: string;\r\n },\r\n redirectOnAuthentication: boolean = true,\r\n archivingFlowID: string | undefined\r\n ) =>\r\n this.api.get$(\r\n '/route/routePath',\r\n {\r\n vehTypev: data.vehTypev || 'Truck',\r\n stops: `${data.origin.longitude},${data.origin.latitude};${data.destination.longitude},${data.destination.latitude}`,\r\n hwyOnly: data.hwyOnly || 'false',\r\n distUnits: data.distUnits || 'Miles',\r\n avoidTolls: data.avoidTolls || 'true',\r\n routeOpt: data.routeOpt || 'ThruAll',\r\n dataset: data.dataset || 'Current',\r\n },\r\n addArchivingHeader(archivingFlowID),\r\n authenticationToApiOptions(redirectOnAuthentication)\r\n );\r\n //For the three endpoints (POST /routes/direction, /route/routePath, /routes/statemileage):\r\n //post that acts like a get to be used if we have stops, it returns the apporopriate data for the PC miler\r\n //isCustom flag is used to track the number of calls to the PcMiler data and count it as new request to the tool\r\n //isCustomrequest is set to fasle because the search is linked to a load\r\n //isFollowUp will track the call to the api for the pcMiler but not count it as a new request to the tool\r\n postRouteDirection$ = (data: MileageRoutesPostRequest) =>\r\n this.api.post$('/routes/direction?isCustomRequest=false', data);\r\n postRoutePath$ = (data: { route: MileageRoutesPostRequest }) =>\r\n this.api.post$('/route/routePath?isFollowUp=true', data);\r\n getExportReport$ = (data: MileageRoutesPostRequest) => this.api.post$('/routes/exportReport', data);\r\n\r\n getUiSettings$ = () => this.api.get$('/settings/routes/UiSettings', undefined);\r\n patchUiSettings$ = (data: UiSettingsPayload) =>\r\n this.api.mergePatch$('/settings/routes/UiSettings', data);\r\n getRouteMileage$ = (data: MileageRoutesPostRequest) => this.api.post$('/routes/info', data);\r\n}\r\n","import { first } from 'lodash';\r\n\r\nimport { Patch } from '@common/api';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport {\r\n AlertSettings,\r\n AppThemeAPI,\r\n AppThemeSettings,\r\n EmailVerificationSettings,\r\n HomeLocation,\r\n LoadSearchSettings,\r\n LocationType,\r\n RoutesSettings,\r\n SettingsChangeFeedResponse,\r\n TruckLocatorSettings,\r\n UserSettings,\r\n WebViewPages,\r\n} from '@common/model';\r\nimport { DeviceSettings } from '@common/model/DeviceSettings';\r\nimport { SystemSettingResponse } from '@common/model/SystemSettings';\r\n\r\nexport class SettingsClient extends BaseClient {\r\n fetchTruckLocatorSettings$ = () => this.api.get$('/settings/trucklocator', {});\r\n updateTruckLocatorSettings$ = (settings: Partial, hadSettings: boolean) =>\r\n hadSettings\r\n ? this.api.mergePatch$('/settings/trucklocator', settings)\r\n : this.api.put$('/settings/trucklocator', settings);\r\n\r\n fetchRoutesSettings$ = () => this.api.get$('/settings/routes', {});\r\n updateRoutesSettings$ = (settings: RoutesSettings) =>\r\n this.api.patch$('/settings/routes', settings, {\r\n headers: { 'content-type': 'application/merge-patch+json' },\r\n });\r\n\r\n fetchLoadSearchSettings$ = () => this.api.get$('/settings/loadsearch', {});\r\n createLoadSearchSettings$ = (loadSearchSettings: LoadSearchSettings) =>\r\n this.api.post$('/settings/loadsearch', loadSearchSettings);\r\n setHomeLocation$ = (location: HomeLocation, hadSettings: boolean) =>\r\n hadSettings\r\n ? this.api.patch$('/settings/loadsearch', locationPatchFor(location))\r\n : this.api.post$('/settings/loadsearch', locationPostFor(location));\r\n fetchDeviceSetting$ = (fields: string) => this.api.get$('/settings', { fields: fields });\r\n setAppTheme$ = (mainTheme: AppThemeAPI) =>\r\n this.api.mergePatch$('/settings/theme', { mainTheme: mainTheme });\r\n fetchAppTheme$ = () => this.api.get$('/settings/theme', {});\r\n fetchUserSettings = (\r\n forceRefreshToken: boolean = false,\r\n params: {} = { fields: 'hasCompany,hasTruck,emailIsValidated,liveLoadRefreshInterval' }\r\n ) => this.api.get$('/settings', params, undefined, { forceRefreshToken: forceRefreshToken });\r\n fetchAlertSettings$ = (\r\n forceRefreshToken: boolean = false,\r\n params: {} = { fields: 'isSearchAlertsActive,searchAlertIntervalInSeconds' }\r\n ) => this.api.get$('/settings', params, undefined, { forceRefreshToken: forceRefreshToken });\r\n fetchEmailVerificationSettings$ = (params: {} = { fields: 'emailIsValidated' }) =>\r\n this.api.get$('/settings', params, undefined, { forceRefreshToken: true });\r\n setUiLayout$ = (uiLayout: string, hadSettings: boolean, webViewPage?: WebViewPages) =>\r\n hadSettings\r\n ? this.api.mergePatch$('/settings/loadsearch', updateUi(uiLayout, webViewPage))\r\n : this.api.post$('/settings/loadsearch', updateUi(uiLayout, webViewPage));\r\n\r\n getSettingByName$ = (setting: string) => this.api.get$(`/settings/self/byname/${setting}`, {});\r\n putSettingsByName$ = (name: string, data: T) =>\r\n this.api.put$<{}>(`/settings/self/byname/${name}`, { value: data, deviceAgnostic: true });\r\n getSettingsChangeFeed$ = (changeFeedToken: string | undefined) =>\r\n this.api.get$('/settings/self/changefeed', { changeFeedToken: changeFeedToken });\r\n}\r\n\r\nconst locationValueFor = (location: HomeLocation) => {\r\n switch (location.type) {\r\n case LocationType.CITY: {\r\n return { city: location.city, state: first(location.states), zipCode: '' };\r\n }\r\n case LocationType.ZIP: {\r\n return { zipCode: location.zipCode, city: location.city, state: first(location.states) };\r\n }\r\n case LocationType.GEOLOCATION: {\r\n return {\r\n latitude: location.latitude,\r\n longitude: location.longitude,\r\n city: location.city,\r\n state: first(location.states),\r\n zipCode: '',\r\n };\r\n }\r\n }\r\n return undefined;\r\n};\r\n\r\nconst updateUi = (uiLayout: string, webViewPage?: WebViewPages) => {\r\n if (!webViewPage) {\r\n return { appUiLayout: uiLayout };\r\n }\r\n switch (webViewPage) {\r\n case WebViewPages.FindLoads: {\r\n return { webUiLayout: uiLayout };\r\n }\r\n case WebViewPages.MyLoads: {\r\n return { webMyLoadsUiLayout: uiLayout };\r\n }\r\n case WebViewPages.LoadAvailability: {\r\n return { webAvailabilityUiLayout: uiLayout };\r\n }\r\n case WebViewPages.BrokerLoads: {\r\n return { webBrokerUiLayout: uiLayout };\r\n }\r\n }\r\n return undefined;\r\n};\r\n\r\nconst locationPatchFor = (location: HomeLocation) => {\r\n const locationValue = locationValueFor(location);\r\n const updates: Array> = [{ op: 'replace', path: '/homeLocationType', value: location.type }];\r\n switch (location.type) {\r\n case LocationType.ZIP:\r\n case LocationType.CITY:\r\n updates.push({ op: 'replace', path: '/homeAddress', value: locationValue });\r\n updates.push({ op: 'replace', path: '/homeGeolocation', value: {} });\r\n break;\r\n case LocationType.GEOLOCATION:\r\n updates.push({ op: 'replace', path: '/homeGeolocation', value: locationValue });\r\n updates.push({ op: 'replace', path: '/homeAddress', value: {} });\r\n break;\r\n default:\r\n return [];\r\n }\r\n return updates;\r\n};\r\n\r\nconst locationPostFor = (location: HomeLocation) => {\r\n const locationValue = locationValueFor(location);\r\n const locationPost: any = {\r\n homeLocationType: location.type,\r\n homeAddress: undefined,\r\n homeGeolocation: undefined,\r\n };\r\n switch (location.type) {\r\n case LocationType.ZIP:\r\n case LocationType.CITY:\r\n locationPost.homeAddress = locationValue;\r\n break;\r\n case LocationType.GEOLOCATION:\r\n locationPost.homeGeolocation = locationValue;\r\n break;\r\n default:\r\n return undefined;\r\n }\r\n return locationPost;\r\n};\r\n","import { Observable, of as of$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { LoadsClient } from '@common/client/LoadsClient';\r\nimport { RouteClient } from '@common/client/RouteClient';\r\nimport { RoutePoints, SharedLoad as SharedLoadModel } from '@common/model';\r\n\r\nexport interface SharedLoad {\r\n load: SharedLoadModel;\r\n route?: RoutePoints;\r\n}\r\nexport class SharedLoadClient extends BaseClient {\r\n private loadClient: LoadsClient;\r\n private routeClient: RouteClient;\r\n\r\n constructor(api: Api, isLiveEnvironment: boolean) {\r\n super(api);\r\n this.loadClient = new LoadsClient(api, isLiveEnvironment);\r\n this.routeClient = new RouteClient(api);\r\n }\r\n\r\n fetchSharedLoad$ = (token: string, isPoster?: boolean): Observable> => {\r\n const loadResponse$ = this.loadClient.fetchSharedLoad$(token, isPoster);\r\n return loadResponse$.pipe(\r\n mergeMap$((loadResponse: ApiResponse123) => {\r\n return loadResponse.result(\r\n (load) => {\r\n if (\r\n load.originLocation &&\r\n load.originLocation.geolocation &&\r\n load.destinationLocation &&\r\n load.destinationLocation.geolocation\r\n ) {\r\n return this.routeClient\r\n .fetchRoute$(\r\n { origin: load.originLocation.geolocation, destination: load.destinationLocation.geolocation },\r\n false,\r\n undefined\r\n )\r\n .pipe(\r\n map$((routeResponse: ApiResponse123) => {\r\n if (loadResponse.success) {\r\n const route = (routeResponse as ApiResponseSuccess).data;\r\n return new ApiResponseSuccess(routeResponse.httpStatus, {\r\n load: load,\r\n route: route,\r\n });\r\n }\r\n return routeResponse as ApiError;\r\n })\r\n );\r\n } else {\r\n //Sending 206 as it's a partial content.\r\n const shareLoadResponse = new ApiResponseSuccess(206, {\r\n load: load,\r\n route: undefined,\r\n });\r\n return of$(shareLoadResponse);\r\n }\r\n },\r\n (error) => of$(error)\r\n );\r\n })\r\n );\r\n };\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { ServiceCode } from '@common/model';\r\n\r\nexport class SupportClient extends BaseClient {\r\n requestServiceCode$ = () => this.api.post$('/support/servicecode', {});\r\n}\r\n","import { Observable } from 'rxjs';\r\n\r\nimport { ApiResponse123 } from '@common/api';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { TermsAndConditions } from '@common/model/TermsAndConditions';\r\n\r\nexport class TermsAndConditionsClient extends BaseClient {\r\n fetchTermsOfService$ = (): Observable> =>\r\n this.api.get$('/legal/termsofservice/current', {});\r\n fetchPrivacyPolicy$ = (): Observable> =>\r\n this.api.get$('/legal/privacypolicy/current', {});\r\n}\r\n","import { Patch } from '@common/api';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { METADATA_ONLY } from '@common/helper';\r\nimport { FundingTypeOption, PaymentScheduleOption } from '@common/model';\r\nimport {\r\n FuelAdvanceQuote,\r\n FuelAdvanceQuoteRequest,\r\n GetPaidFasterQuote,\r\n GetPaidFasterQuoteRequest,\r\n ThunderFundingFuelAdvanceQuotes,\r\n ThunderFundingGetPaidFasterQuotes,\r\n ThunderFundingRegistrationOptionsResponse,\r\n ThunderFundingRegistrationSource,\r\n ThunderFundingRegistrationStatusResponse,\r\n ThunderFundingRegistrationSubmissionResult,\r\n ThunderFundingRegistrationSubmissionResults,\r\n} from '@common/model/ThunderFundingRequest';\r\nimport { SearchResponsePayload } from '@common/redux/Base';\r\nimport { PaginatedRequest } from '@common/redux/epic/PaginatedListReducer';\r\n\r\nexport class ThunderFundingClient extends BaseClient {\r\n fetchThunderFundingRegistrationStatus$ = () =>\r\n this.api.post$('/thunderfunding/status', {});\r\n\r\n fetchThunderFundingPreviousRegistration$ = () =>\r\n this.api.get$('/thunderfunding/leads', {\r\n fields: 'quotes',\r\n });\r\n\r\n fetchThunderFundingRegistrationOptions$ = () =>\r\n this.api.get$('/thunderFunding/leads/truckingCompanyStatus', {});\r\n\r\n postThunderFundingRegistration$ = (option: string, source: ThunderFundingRegistrationSource) =>\r\n this.api.post$('/thunderfunding/leads', {\r\n truckingCompanyStatus: option,\r\n acquisitionChannel: source,\r\n });\r\n\r\n fetchFuelAdvanceQuotes$ = (request: PaginatedRequest) =>\r\n this.api.get$('/fueladvance/thunderfunding/quotes', request);\r\n\r\n fetchGetPaidFasterQuotes$ = (request: PaginatedRequest) =>\r\n this.api.get$('/factoring/thunderfunding/quotes', request);\r\n\r\n countFuelAdvanceQuotes$ = () =>\r\n this.api.get$('/fueladvance/thunderfunding/quotes', METADATA_ONLY);\r\n\r\n countGetPaidFasterQuotes$ = () =>\r\n this.api.get$('/factoring/thunderfunding/quotes', METADATA_ONLY);\r\n\r\n postFuelAdvanceIntegrationQuote$ = (quote: FuelAdvanceQuoteRequest) =>\r\n this.api.post$('/fueladvance/thunderfunding/quotes', quote);\r\n\r\n postGetPaidFasterIntegrationQuote$ = (quote: GetPaidFasterQuoteRequest) =>\r\n this.api.post$('/factoring/thunderfunding/quotes', quote);\r\n\r\n patchFuelAdvanceIntegrationQuote$ = (patch: Patch[], id: string) =>\r\n this.api.patch$(`/fueladvance/thunderfunding/quotes/${id}`, patch);\r\n\r\n patchGetPaidFasterIntegrationQuote$ = (patch: Patch[], id: string) =>\r\n this.api.patch$(`/factoring/thunderfunding/quotes/${id}`, patch);\r\n\r\n fetchPaymentTypes$ = () => this.api.get$('/factoring/thunderfunding/paymentSchedules', {});\r\n\r\n getFundingTypes$ = () => this.api.get$('/fuelAdvance/thunderfunding/fundingTypes', {});\r\n\r\n fetchGetPaidFasterQuoteById$ = (id: string) =>\r\n this.api.get$(`loads/${id}/factoring/thunderFunding/quote`, {});\r\n\r\n fetchFuelAdvanceQuoteById$ = (id: string) =>\r\n this.api.get$(`loads/${id}/fuelAdvance/thunderFunding/quote`, {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { Tms } from '@common/model';\r\n\r\nexport class TmsClient extends BaseClient {\r\n postTms$ = (tms: Tms) => this.api.post$('/feedback/contactus/loadposting/tms', { tms: tms.tms });\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { TrackingDataWithDeviceInfo } from '@common/model/Tracking';\r\n\r\nexport class TrackingClient extends BaseClient {\r\n trackData$ = (data: TrackingDataWithDeviceInfo) => this.api.post$('/tracking', data);\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { addArchivingHeader } from '@common/helper/FlowIDHeaderHelper';\r\nimport {\r\n CreateUserTripRequest,\r\n Segments,\r\n TripLoadsDetails,\r\n TripRouteDetails,\r\n TripTypeCategory,\r\n UserTripResponse,\r\n} from '@common/model/TripBuilder';\r\nimport { MapRequest, MapResponse, TripLoads } from '@common/redux/epic/TripBuilderEpic';\r\n\r\nexport class TripBuilderClient extends BaseClient {\r\n createNewTrip$ = (request: CreateUserTripRequest) =>\r\n this.api.post$(`/loadplanner/v1/carrier/trips`, request);\r\n fetchUserTrips$ = () => this.api.get$<{ trips: UserTripResponse[] }>(`/loadplanner/v1/carrier/trips`, []);\r\n deleteUserTrip$ = (id: string) => this.api.delete$(`/loadplanner/v1/carrier/trips/${id}`, {});\r\n fetchSegments$ = (id: string) => this.api.get$(`loadplanner/v1/carrier/trips/${id}/segments`, {});\r\n fetchLoads$ = (request: { id: string; type?: TripTypeCategory }) =>\r\n this.api.get$(\r\n `/loadplanner/v1/carrier/trips/${request.id}/search`,\r\n {\r\n type: request.type,\r\n },\r\n { timeout: 90000 }\r\n );\r\n fetchTripLoadsDetails = (request: { id: string; loadIds: string[] }) =>\r\n this.api.post$(`/loadplanner/v1/carrier/trips/${request.id}/legs`, { loadIds: request.loadIds });\r\n fetchRouteLoadDetails$ = (request: { id: string; loadIds: string[] }) =>\r\n this.api.post$(`/loadplanner/v1/carrier/trips/${request.id}/route`, { loadIds: request.loadIds });\r\n fetchMap$ = (mapRequest: MapRequest) =>\r\n this.api.post$(\r\n `/loads/routemap`,\r\n {\r\n originAddress: mapRequest.originAddress,\r\n loadIds: mapRequest.loadIds,\r\n destinationAddress: mapRequest.destinationAddress,\r\n },\r\n { params: { thumbnail: mapRequest.thumbnail, aspectRatio: mapRequest.aspectRatio }, responseType: 'arraybuffer' }\r\n );\r\n fetchMiniMap$ = (mapRequest: MapRequest) =>\r\n this.api.post$(\r\n `/loads/routemap`,\r\n {\r\n originAddress: mapRequest.originAddress,\r\n loadIds: mapRequest.loadIds,\r\n destinationAddress: mapRequest.destinationAddress,\r\n },\r\n { params: { thumbnail: mapRequest.thumbnail, aspectRatio: mapRequest.aspectRatio }, responseType: 'arraybuffer' }\r\n );\r\n addLoad$ = (request: { id: string; loadId: string }) =>\r\n this.api.post$(`/loadplanner/v1/carrier/trips/${request.id}/loads`, { id: request.loadId });\r\n removeLoad$ = (request: { id: string; loadId: string }) =>\r\n this.api.delete$(`loadplanner/v1/carrier/trips/${request.id}/loads/${request.loadId}`, {});\r\n removeLoads$ = (request: { id: string; loadIds: string[] }) =>\r\n this.api.post$(`loadplanner/v1/carrier/trips/${request.id}/loads/delete`, {\r\n loadIds: request.loadIds,\r\n });\r\n hideLoad$ = (request: { loadId: string; id: string }) =>\r\n this.api.mergePatch$<{}>(`/loads/${request.loadId}/userdata`, { isHidden: true }, addArchivingHeader(undefined));\r\n}\r\n","import moment from 'moment';\r\nimport { Observable } from 'rxjs';\r\nimport { map as map$ } from 'rxjs/operators';\r\n\r\nimport { ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { MessageRequest, MessagesResult } from '@common/model';\r\n\r\nconst SUPORTED_MESSAGE_TYPES = 'LoadAlertEnRoute,AutomaticLoadMatch,LoadAlert'; // @TODO: remove this line when all alert types are supported\r\nexport class TruckAlertsClient extends BaseClient {\r\n fetchTruckAlerts$ = (messageReq: MessageRequest) =>\r\n this.api.get$('/messages', {\r\n limit: messageReq.limit,\r\n offset: messageReq.offset,\r\n messageTypes: SUPORTED_MESSAGE_TYPES,\r\n });\r\n fetchUnreadTruckAlerts$ = (messageReq: MessageRequest, startDate: number) =>\r\n this.api.get$('/messages', {\r\n limit: messageReq.limit,\r\n offset: messageReq.offset,\r\n messageTypes: SUPORTED_MESSAGE_TYPES,\r\n read: false,\r\n startDate: moment(startDate).toISOString(),\r\n });\r\n fetchTruckAlertsCount$ = (): Observable> =>\r\n this.api\r\n .get$('/messages', {\r\n fields: 'unreadMessagesCount',\r\n messageTypes: SUPORTED_MESSAGE_TYPES,\r\n })\r\n .pipe(\r\n map$((response) =>\r\n response.result>(\r\n (data) => new ApiResponseSuccess(response.httpStatus, data.unreadMessagesCount),\r\n (error) => error\r\n )\r\n )\r\n );\r\n fetchLoadInfoAlerts$ = (loadId: string) => this.api.get$(`/loads/${loadId}/messages`, {});\r\n readAlert$ = (id: string, isRead: boolean) =>\r\n this.api.patch$(`/messages/${id}`, [{ op: 'replace', path: '/read', value: isRead }]);\r\n deleteAlert$ = (id: string) =>\r\n this.api.patch$(`/messages/${id}`, [{ op: 'replace', path: '/deleted', value: true }]);\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport {\r\n PostedTrucksCountResponse,\r\n TruckAvailabilityResponse,\r\n TruckLklSearchRequest,\r\n TruckRequest,\r\n TruckWithAvailabilityResponse,\r\n UpdateUserTruck,\r\n UserTruck,\r\n} from '@common/model';\r\n\r\nexport class TrucksClient extends BaseClient {\r\n fetchTrucksSearch$ = (request: TruckRequest, isInternal: boolean) =>\r\n this.api.post$('/trucks/search/loadid', {\r\n loadId: request.loadId,\r\n radius: request.filters.radius,\r\n internal: isInternal,\r\n });\r\n fetchTrucksSearchLkl$ = (request: TruckLklSearchRequest) =>\r\n this.api.post$('/trucks/search/lkl', {\r\n location: request.location,\r\n geolocation: request.geolocation,\r\n equipmentTypes: request.equipmentTypes,\r\n radius: request.radius,\r\n });\r\n fetchTrucks$ = (deviceId?: string) => this.api.get$('/trucks', { deviceId: deviceId });\r\n fetchTruck$ = (id: string) => this.api.get$(`/trucks/${id}`, {});\r\n createTruck$ = (truck: Partial) =>\r\n this.api.post$('/trucks', {\r\n ...truck,\r\n createAvailability: false,\r\n weightIsSet: true,\r\n lengthIsSet: true,\r\n });\r\n updateTruck$ = (truck: Partial) =>\r\n this.api.mergePatch$(`/trucks/${truck.id}`, { ...truck, weightIsSet: true, lengthIsSet: true });\r\n\r\n deleteTruck$ = (id: string, override: boolean = false) => this.api.delete$(`/trucks/${id}`, { override: override });\r\n\r\n fetchTruckAvailabilitiesCount = (deviceId: string) =>\r\n this.api.get$('/trucks/withavailabilities', {\r\n deviceId: deviceId,\r\n convertStatesToAnywhere: true,\r\n fields: 'trucks{availabilities{status,dates,type}}',\r\n });\r\n fetchTruckAvailabilities = (convertStatesToAnywhere: boolean = true, fields?: string) =>\r\n this.api.get$('/trucks/withavailabilities', {\r\n convertStatesToAnywhere: convertStatesToAnywhere,\r\n fields: fields,\r\n });\r\n fetchTruckAvailability = (availabilityID: string, convertStatesToAnywhere: boolean = true) =>\r\n this.api.get$(`/truckavailability/${availabilityID}`, { convertStatesToAnywhere: convertStatesToAnywhere });\r\n createTruckAvailability = (truckAvailability: TruckAvailabilityResponse, convertStatesToAnywhere: boolean = true) =>\r\n this.api.post$(\r\n `/trucks/${truckAvailability.truckId}/availability`,\r\n { ...truckAvailability, convertStatesToAnywhere: convertStatesToAnywhere },\r\n {}\r\n );\r\n updateTruckAvailability = (\r\n availabilityID: number,\r\n truckAvailability: TruckAvailabilityResponse,\r\n convertStatesToAnywhere: boolean = true\r\n ) =>\r\n this.api.put$(`/truckavailability/${availabilityID}`, {\r\n ...truckAvailability,\r\n convertStatesToAnywhere: convertStatesToAnywhere,\r\n });\r\n deleteTruckAvailability = (availabilityID: number) => this.api.delete$(`/truckavailability/${availabilityID}`, {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { MimeType } from '@common/helper';\r\nimport { Document } from '@common/model';\r\n\r\ninterface MobileFile {\r\n uri: string;\r\n type: string;\r\n}\r\n\r\nexport interface UploadDocumentData {\r\n folderType: string;\r\n folderId?: string;\r\n type: string;\r\n displayName: string;\r\n file: Blob | MobileFile;\r\n extension: string;\r\n}\r\n\r\nexport class UploadFileClient extends BaseClient {\r\n uploadDocument$ = (uploadParams: UploadDocumentData, cancelGroup?: string) => {\r\n const formData = new FormData();\r\n if (isFileBlob(uploadParams.file)) {\r\n // eslint-disable-next-line\r\n // @ts-ignore: This line is unreachable for mobile, but tsc fails on it for mobile, because append has different declaration.\r\n formData.append('file', uploadParams.file, `${uploadParams.displayName}.${uploadParams.extension}`);\r\n } else {\r\n const file: MobileFile = uploadParams.file;\r\n formData.append('file', {\r\n ...file,\r\n name: `${uploadParams.displayName}.${uploadParams.extension}`,\r\n } as any);\r\n }\r\n\r\n return this.api.post$(\r\n '/documents',\r\n formData,\r\n {\r\n params: {\r\n folderType: uploadParams.folderType,\r\n folderId: uploadParams.folderId,\r\n type: uploadParams.type,\r\n displayName: uploadParams.displayName,\r\n },\r\n headers: { 'Content-Type': MimeType.formData },\r\n },\r\n { shouldPreventLoginRedirect: false, allowUnauthenticated: false, cancelGroup: cancelGroup }\r\n );\r\n };\r\n}\r\n\r\nconst isFileBlob = (file: Blob | MobileFile): file is Blob => (file as MobileFile).uri === undefined;\r\n","import { of as of$ } from 'rxjs';\r\nimport { mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { authenticationToApiOptions } from '@common/api/ApiOptions';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport {\r\n CreatePhoneVerificationResponse,\r\n NumberCategory,\r\n PhoneVerificationMethod,\r\n UserInfo,\r\n UserProfile,\r\n USERPROFILE_FIELDS,\r\n VerificationPointsReviewData,\r\n VerificationPointsTasksStatusesResponse,\r\n} from '@common/model';\r\n\r\nexport class UserClient extends BaseClient {\r\n loadProfile$ = (redirectOnAuthentication: boolean = true, forceRefreshToken: boolean = false) =>\r\n this.api.get$(\r\n '/profile',\r\n { fields: USERPROFILE_FIELDS },\r\n {},\r\n { ...authenticationToApiOptions(redirectOnAuthentication), forceRefreshToken: forceRefreshToken }\r\n );\r\n fetchAvailableLoadViewCount$ = () =>\r\n this.api.get$<{ availableLoadViewCount: number }>('/profile', { fields: 'availableLoadViewCount' }, {});\r\n //We need to fetch the contact info to update it (id required). THere is a ticket to create a new endpoint with it, keeping as is until then.\r\n updateUserInfo$ = (info: UserInfo) =>\r\n this.api.get$<{ id: number }>('/contacts', {}, {}).pipe(\r\n mergeMap$((result) => {\r\n return result.result(\r\n (data) => this.api.put$(`/contacts/${data.id}`, info, {}),\r\n (error) => of$(error)\r\n );\r\n })\r\n );\r\n alerts$ = (redirectOnAuthentication: boolean = false) =>\r\n this.api.get$('/info', {}, {}, authenticationToApiOptions(redirectOnAuthentication));\r\n createPhoneVerification$ = (phoneVerificationGuid: string, type: PhoneVerificationMethod, category: NumberCategory) =>\r\n this.api.post$(`/phones/${phoneVerificationGuid}/requestVerificationCode`, {\r\n channel: type,\r\n category: category,\r\n });\r\n verifyPhoneCode$ = (code: string, guid: string, category: NumberCategory) =>\r\n this.api.post$<{}>(`/phones/${guid}/verifyCode`, { verificationCode: code, category: category });\r\n fetchVerificationPointsTasksStatuses$ = () =>\r\n this.api.get$('/contacts/verifications', '');\r\n updateVerificationPointsReviewStatues$ = (data: VerificationPointsReviewData) =>\r\n this.api.mergePatch$('/contacts/verifications', data);\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { MembershipData, MembershipTypeResponse, RetentionPlanInfo, UserPlan } from '@common/model/UserPlan';\r\n\r\nexport class UserPlanManagementClient extends BaseClient {\r\n getUserPlans$ = (promoCode?: string, getCurrentPlan: boolean = true) =>\r\n this.api.get$('/plans', { promoCode: promoCode, getCurrent: getCurrentPlan });\r\n\r\n postSelectAddOns$ = (addOnIds: string[]) => this.api.post$<{}>('/membership/selectAddOns', { addOnIds: addOnIds });\r\n\r\n postDeselectAddOns$ = (addOnIds: string[]) =>\r\n this.api.post$<{}>('/membership/deselectAddOns', { addOnIds: addOnIds });\r\n\r\n fetchMembershipsData$ = () => this.api.get$('/membership', {});\r\n\r\n changeMembershipPlan$ = (planID: string) => this.api.post$<{}>(`/membership/changePlan?planId=${planID}`, {});\r\n\r\n createMembership$ = () => this.api.post$<{}>('/memberships/signUpInProgress', {});\r\n\r\n fetchMembershipType$ = () => this.api.get$('/memberships/type', {});\r\n\r\n getRetentionPlans$ = () => this.api.get$('/plans/retention', {});\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { PostVendorBidRequest, PostVendorBidResponse, VendorBidsResponse } from '@common/model/VendorBid';\r\n\r\nexport class VendorBidsClient extends BaseClient {\r\n postVendorBid$ = (data: PostVendorBidRequest) =>\r\n this.api.post$(`/carrier/loads/${data.loadId}/vendor-bids`, {\r\n amount: data.amount,\r\n vendorId: data.vendorId,\r\n });\r\n\r\n getVendorBids$ = (nextToken?: string) =>\r\n this.api.get$(`/carrier/vendor-bids`, { maxBidAgeSeconds: 1209600, token: nextToken }); // maxBidAge == 14 days, the FE shows vendor bids that are up to 2 weeks old\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { VerifyPhoneResponse } from '@common/redux/epic/VerifyPhoneEpic';\r\n\r\nexport class VerifyPhoneClient extends BaseClient {\r\n getPhoneVerificationStatus$ = () =>\r\n this.api.get$(`/contacts/verifications`, { fields: 'primaryPhone' });\r\n}\r\n","export const NO_INFORMATION_SYMBOL = '-';\r\nexport const NO_INFORMATION_SYMBOL_LONG = '—';\r\nexport const NEGATIVE_SYMBOL = '-';\r\n","import { t, T } from '@translate';\r\n\r\nexport const dayNames: string[] = [\r\n t(T.common_dates_dayNames_sunday),\r\n t(T.common_dates_dayNames_monday),\r\n t(T.common_dates_dayNames_tuesday),\r\n t(T.common_dates_dayNames_wednesday),\r\n t(T.common_dates_dayNames_thursday),\r\n t(T.common_dates_dayNames_friday),\r\n t(T.common_dates_dayNames_saturday),\r\n];\r\n\r\nexport const monthNamesShort: string[] = [\r\n t(T.common_dates_monthNamesShort_january),\r\n t(T.common_dates_monthNamesShort_february),\r\n t(T.common_dates_monthNamesShort_march),\r\n t(T.common_dates_monthNamesShort_april),\r\n t(T.common_dates_monthNamesShort_may),\r\n t(T.common_dates_monthNamesShort_june),\r\n t(T.common_dates_monthNamesShort_july),\r\n t(T.common_dates_monthNamesShort_august),\r\n t(T.common_dates_monthNamesShort_september),\r\n t(T.common_dates_monthNamesShort_october),\r\n t(T.common_dates_monthNamesShort_november),\r\n t(T.common_dates_monthNamesShort_december),\r\n];\r\n\r\nexport const monthNames: string[] = [\r\n t(T.common_dates_monthNames_january),\r\n t(T.common_dates_monthNames_february),\r\n t(T.common_dates_monthNames_march),\r\n t(T.common_dates_monthNames_april),\r\n t(T.common_dates_monthNames_may),\r\n t(T.common_dates_monthNames_june),\r\n t(T.common_dates_monthNames_july),\r\n t(T.common_dates_monthNames_august),\r\n t(T.common_dates_monthNames_september),\r\n t(T.common_dates_monthNames_october),\r\n t(T.common_dates_monthNames_november),\r\n t(T.common_dates_monthNames_december),\r\n];\r\n\r\nexport const dayNamesShort: string[] = [\r\n t(T.common_dates_dayNamesShort_sunday),\r\n t(T.common_dates_dayNamesShort_monday),\r\n t(T.common_dates_dayNamesShort_tuesday),\r\n t(T.common_dates_dayNamesShort_wednesday),\r\n t(T.common_dates_dayNamesShort_thursday),\r\n t(T.common_dates_dayNamesShort_friday),\r\n t(T.common_dates_dayNamesShort_saturday),\r\n];\r\n","import { includes, isNaN, isUndefined, round, toNumber, toString } from 'lodash';\r\nimport moment from 'moment';\r\n\r\nimport { formatDateDDDMMdd, formatMomentYYYYMMDD } from '@common/helper/DateHelper';\r\nimport { formatNumber, formatPrice } from '@common/helper/NumberHelper';\r\nimport { t, T } from '@translate';\r\n\r\nimport { NO_INFORMATION_SYMBOL } from './Constants';\r\n\r\ninterface NumberFormatOptions {\r\n prefix?: string;\r\n suffix?: string;\r\n}\r\n\r\nconst withPrefixSuffix = (v: string, opt?: NumberFormatOptions) => {\r\n if (opt === undefined) {\r\n return v;\r\n }\r\n\r\n return `${opt.prefix === undefined ? '' : opt.prefix}${v}${opt.suffix === undefined ? '' : opt.suffix}`;\r\n};\r\n\r\n/** Format currency with potential units, etc. Displays nothing if number is undefined.\r\n *\r\n * @param withDecimals Option to show 2 decimals or not (defaults to true - shows 2 decimals)\r\n * Negative amount will show the negative sign next to the number: '$-5'\r\n *\r\n * @param options used to display units (suffix) or a prefix. Will NOT display if number is undefined.\r\n */\r\nexport const displayCurrencyOrNothing = (\r\n amount: number | undefined,\r\n withDecimals: boolean = true,\r\n options?: NumberFormatOptions\r\n) => {\r\n if (!amount) {\r\n return '';\r\n }\r\n\r\n return withPrefixSuffix(displayCurrency(amount, withDecimals), options);\r\n};\r\n\r\n/** Format currency with potential units, etc. Displays $- if number is undefined.\r\n *\r\n * @param withDecimals Option to show 2 decimals or not (defaults to true - shows 2 decimals)\r\n * Negative amount will show the negative sign next to the number: '$-5'\r\n *\r\n * @param options used to display units (suffix) or a prefix. Will NOT display if number is undefined.\r\n * Example with `prefix='-'`, `suffix='/mi'` : `-$4.50/mi`\r\n */\r\nexport const displayCurrencyOrDash = (\r\n amount: number | undefined,\r\n withDecimals: boolean = true,\r\n options?: NumberFormatOptions\r\n): string => {\r\n if (amount === undefined) {\r\n return `${t(T.common_dollar_sign)}${NO_INFORMATION_SYMBOL}`;\r\n }\r\n\r\n return withPrefixSuffix(displayCurrency(amount, withDecimals), options);\r\n};\r\n\r\n/** Format currency.\r\n *\r\n * @param withDecimals Option to show 2 decimals or not (defaults to true - shows 2 decimals)\r\n */\r\nexport const displayCurrency = (amount: number, withDecimals: boolean = true) => {\r\n const isNegative = amount < 0;\r\n return `${isNegative ? '- ' : ''}${t(T.common_dollar_sign)}${formatPrice(Math.abs(amount), !withDecimals)}`;\r\n};\r\n\r\n// Returns format 'Today at 11:55 am' if date is today or yesterday, else returns 'DDD, MMM dd'\r\nexport const displayDate = (date: string): string => {\r\n const day = moment(date);\r\n if (day.isSame(moment(), 'day')) {\r\n return `${t(T.common_dates_today)} ${t(T.common_at)} ${day.format('hh:mm a')}`;\r\n }\r\n if (day.isSame(moment().subtract(1, 'day'), 'day')) {\r\n return `${t(T.common_dates_yesterday)} ${t(T.common_at)} ${day.format('hh:mm a')}`;\r\n }\r\n return formatDateDDDMMdd(date);\r\n};\r\n\r\n/** Removes zero at the 1 position, e.g. 01.05 will be converted to 1.05*/\r\nexport const removeUnnecessaryZero = (value: string, defaultValue: string | number = ''): string => {\r\n const [integerPart, fractionPart] = value.split('.');\r\n const parsedIntegerPart = parseInt(integerPart);\r\n const newIntegerPart = isNaN(parsedIntegerPart) ? defaultValue : parsedIntegerPart;\r\n const dotSymbolPart = includes(value, '.') ? '.' : '';\r\n const newFractionPart = fractionPart ?? '';\r\n return `${newIntegerPart}${dotSymbolPart}${newFractionPart}`;\r\n};\r\n\r\nexport const momentDashYYYYMMdd = () => {\r\n const date = new Date();\r\n const momentDate = moment(date);\r\n return formatMomentYYYYMMDD(momentDate);\r\n};\r\n\r\nexport const removeComma = (text: string) => text.replace(',', '');\r\n\r\n/** Truncates number of digits after dot without rounding, casting to string*/\r\nexport const formatFloat = (num: number | string, digits: number): string => {\r\n const strNumber = toString(num);\r\n const [integerPart, fractionPart] = strNumber.split('.');\r\n const dotSymbolPart = includes(strNumber, '.') ? '.' : '';\r\n const newFractionPart = isUndefined(fractionPart) ? '' : fractionPart.substr(0, digits);\r\n return `${integerPart}${dotSymbolPart}${newFractionPart}`;\r\n};\r\n\r\n/** Converts a number to a string by using the 'en' locale*/\r\nexport const getNormalizedText = (value: number, forceDecimals?: boolean): string =>\r\n value !== 0 ? formatNumber(value, forceDecimals) : '';\r\n\r\n/**\r\n * In a case we have really small number e.g. 0.00015 we don't want to display it as 0.00. It is better to show it as 0.0002\r\n * This function rounds number and shows 4 digits after comma\r\n */\r\nexport const show4DigitsAfterComma = (value: number | string): number | string => {\r\n const parsedValue = toNumber(value);\r\n // in case if number will not be visible even if we display 4 digits after comma we display 0.0000...\r\n if (parsedValue > 0 && parsedValue < 0.0001) {\r\n const dots = '\\u2026';\r\n return `0.0000${dots}`;\r\n }\r\n if (shouldShow4DigitsAfterComma(parsedValue)) {\r\n //get number of zeros in fraction part of value\r\n const magnitude = -Math.floor(Math.log(parsedValue) / Math.log(10) + 1);\r\n return round(parsedValue, magnitude + 1);\r\n }\r\n return value;\r\n};\r\n\r\n/**\r\n * In a case we have really small number e.g. 0.00015 we don't want to display it as 0.00. It is better to show it as 0.0002\r\n * This function checks if we need to show number with 4 digits after comma instead of 2\r\n */\r\nexport const shouldShow4DigitsAfterComma = (value: number | string) => {\r\n const parsedValue = toNumber(value);\r\n return parsedValue > 0 && parsedValue < 0.01;\r\n};\r\n\r\n/**\r\n * Check if a value has a decimal part\r\n *\r\n */\r\nexport const hasDecimal = (value: number | undefined) => {\r\n if (value !== undefined && value % 1 === 0) {\r\n return false;\r\n }\r\n return true;\r\n};\r\n","import { useEffect } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\n\r\nimport { getSetAlertsCount } from '@common/redux/epic/loadSearch/HelperFunctions';\r\nimport { fetchLoadAlerts } from '@common/redux/epic/loadSearch/LoadSearchEpic';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nimport { useAutoRefreshManager, useStartAutoRefresh } from './AutoRefreshManager';\r\n\r\nconst LOAD_ALERT_POLLING_INTERVAL = 30000;\r\n\r\nexport const useAlertPolling = (shouldStart: boolean = true) => {\r\n const dispatch = useDispatch();\r\n const isSearchAlertsActive = useSelector((state) => state.settings.alertSettings?.isSearchAlertsActive ?? false);\r\n const isLoading = useSelector((state) => state.loadSearch.loadSearchAlerts.isLoading);\r\n const setAlertsCount = useSelector((state) => getSetAlertsCount(state.loadSearch.searchesState.searches));\r\n const isRateLimitingResponseOrNoAlertsSet = useSelector(\r\n (state) => state.loadSearch.loadSearchAlerts.isRateLimitingResponseOrNoAlertsSet\r\n );\r\n\r\n const interval = useSelector(\r\n (state) => state.settings.alertSettings?.searchAlertIntervalInSeconds || LOAD_ALERT_POLLING_INTERVAL\r\n );\r\n\r\n const onRefresh = () => {\r\n if (!isLoading) {\r\n dispatch(fetchLoadAlerts());\r\n }\r\n };\r\n\r\n const start = shouldStart && setAlertsCount > 0 && isSearchAlertsActive && !isRateLimitingResponseOrNoAlertsSet;\r\n\r\n const manager = useAutoRefreshManager(onRefresh, interval);\r\n useStartAutoRefresh(manager, start);\r\n\r\n useEffect(() => {\r\n if (start) {\r\n onRefresh();\r\n }\r\n }, [start]);\r\n};\r\n","import { MessageType } from '@common/model/Inbox';\r\nimport { t, T } from '@translate';\r\n\r\nexport const getTagTitle = (type: MessageType | undefined): string => {\r\n switch (type) {\r\n case MessageType.Announcement:\r\n return t(T.common_announcements_announcement);\r\n case MessageType.Notice:\r\n return t(T.common_announcements_notice);\r\n case MessageType.ServiceRelated:\r\n return t(T.common_announcements_serviceRelated);\r\n case MessageType.Promotion:\r\n return t(T.common_announcements_promotion);\r\n case MessageType.Newsletter:\r\n return t(T.common_announcements_newsletter);\r\n default:\r\n return t(T.common_announcements_notice);\r\n }\r\n};\r\n","import { Dictionary, isNil, map, pickBy } from 'lodash';\r\n\r\nimport { Patch, PatchOp } from '@common/api';\r\n\r\n// @FIXME: This should be Dictionary however TS can't cast this from an interface\r\n// https://github.com/microsoft/TypeScript/issues/15300\r\ntype Request = Dictionary;\r\n\r\nexport const createPatch = (oldRequest: Request, newRequest: Request) =>\r\n mapToPatch(pickChangedValues(oldRequest, newRequest));\r\n\r\nconst mapToPatch = (request: Request): Patch[] =>\r\n map(request, (value, key) => ({\r\n op: (isNil(value) ? 'remove' : 'replace') as PatchOp,\r\n path: `/${key}`,\r\n value: value,\r\n }));\r\n\r\nconst pickChangedValues = (oldRequest: Request, newRequest: Request) =>\r\n pickBy(newRequest, (_, key) => oldRequest[key] !== newRequest[key]);\r\n\r\nexport const METADATA_ONLY: Readonly<{ fields: string }> = { fields: 'metadata' };\r\n","import { useCallback, useEffect } from 'react';\r\n\r\nimport { isUndefined } from 'lodash';\r\n\r\nimport { useFactory } from '@common/util/hooks';\r\n\r\ntype TimeoutIdType = ReturnType;\r\n\r\nexport class AutoRefreshManager {\r\n public interval: number; // Interval in seconds.\r\n private timeoutId?: TimeoutIdType;\r\n\r\n private onRefresh?: () => void;\r\n constructor(interval: number) {\r\n this.interval = interval;\r\n }\r\n\r\n public isActive = () => !isUndefined(this.timeoutId);\r\n\r\n public start = () => {\r\n if (!this.isActive()) {\r\n this.startTimer();\r\n }\r\n };\r\n\r\n public restart = () => {\r\n this.stop();\r\n this.start();\r\n };\r\n\r\n public stop = () => {\r\n if (this.isActive()) {\r\n clearTimeout(this.timeoutId as TimeoutIdType);\r\n this.timeoutId = undefined;\r\n }\r\n };\r\n\r\n public setCallback = (onRefresh: () => void) => {\r\n this.onRefresh = onRefresh;\r\n };\r\n\r\n private startTimer = () => {\r\n this.timeoutId = setTimeout(() => {\r\n if (this.isActive()) {\r\n this.onRefresh?.();\r\n this.startTimer();\r\n }\r\n }, this.interval * 1000);\r\n };\r\n}\r\n\r\nexport const useAutoRefreshManager = (onRefresh: () => void, interval: number) => {\r\n const factory = useCallback(() => new AutoRefreshManager(interval), [interval]);\r\n const manager = useFactory(\r\n factory,\r\n (prevManager, newManager) => {\r\n if (prevManager.isActive()) {\r\n newManager.start();\r\n }\r\n },\r\n (manager) => {\r\n manager.stop();\r\n }\r\n );\r\n manager.setCallback(onRefresh);\r\n return manager;\r\n};\r\n\r\nexport const useStartAutoRefresh = (autoRefreshManager: AutoRefreshManager, start: boolean) => {\r\n useEffect(() => {\r\n if (start) {\r\n autoRefreshManager.start();\r\n } else {\r\n autoRefreshManager.stop();\r\n }\r\n }, [autoRefreshManager, start]);\r\n};\r\n","import { BillingIssue } from '@common/model';\r\nimport { T, t } from '@translate';\r\n\r\nexport enum BillingIssueBannerTracking {\r\n BannerDisplayed = 'BannerDisplayed',\r\n BannerClicked = 'BannerClicked',\r\n}\r\n\r\nexport interface BillingIssueBannerContent {\r\n message: string;\r\n action?: string;\r\n messageLastPart?: string;\r\n}\r\n\r\nexport const generateBillingIssueBannerContent = (\r\n isAdmin: boolean,\r\n billingIssue?: BillingIssue,\r\n expirationDate?: string,\r\n isCancelling?: boolean\r\n): BillingIssueBannerContent => {\r\n if (isCancelling) {\r\n return {\r\n message: `${t(T.common_paymentDeclinedBanner_unsubscribedMessage)} ${\r\n expirationDate ? t(T.common_paymentDeclinedBanner_accessUntil, { date: expirationDate }) : ''\r\n } ${t(T.common_paymentDeclinedBanner_reactivate)}`,\r\n action: `${t(T.common_paymentDeclinedBanner_unsubscribeBannerMessageLink)}`,\r\n };\r\n }\r\n\r\n if (isAdmin) {\r\n switch (billingIssue) {\r\n case BillingIssue.AccountExpired:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_accountExpired_message),\r\n action: t(T.common_paymentDeclinedBanner_actions_fixNow),\r\n };\r\n case BillingIssue.AccountExpiringSoon:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_accountExpiringSoon_message),\r\n action: t(T.common_paymentDeclinedBanner_actions_fixNow),\r\n };\r\n case BillingIssue.HardDecline:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_hardDecline_messageFirstPart),\r\n action: t(T.common_paymentDeclinedBanner_actions_here),\r\n messageLastPart: expirationDate\r\n ? t(T.common_paymentDeclinedBanner_hardDecline_messageLastPart, { date: expirationDate })\r\n : null,\r\n };\r\n case BillingIssue.SoftDecline:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_softDecline_messageFirstPart),\r\n action: t(T.common_paymentDeclinedBanner_actions_here),\r\n messageLastPart: expirationDate\r\n ? t(T.common_paymentDeclinedBanner_softDecline_messageLastPart, { date: expirationDate })\r\n : null,\r\n };\r\n\r\n default:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_generic_message),\r\n action: t(T.common_paymentDeclinedBanner_actions_viewDetails),\r\n };\r\n }\r\n }\r\n\r\n switch (billingIssue) {\r\n case BillingIssue.AccountExpired:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_accountExpired_message),\r\n };\r\n case BillingIssue.AccountExpiringSoon:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_accountExpiringSoon_messageNonAdmin),\r\n };\r\n case BillingIssue.HardDecline:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_hardDecline_messageNonAdmin),\r\n };\r\n case BillingIssue.SoftDecline:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_softDecline_messageNonAdmin),\r\n };\r\n\r\n default:\r\n return {\r\n message: t(T.common_paymentDeclinedBanner_generic_message),\r\n };\r\n }\r\n};\r\n","import { includes } from 'lodash';\r\n\r\nimport { isLoadBooked } from '@common/helper';\r\nimport {\r\n Bid,\r\n BidAction,\r\n BidDetails,\r\n BidLoadInfo,\r\n BidLoadRate,\r\n BidStatus,\r\n BidSummary,\r\n Load,\r\n LoadContactOption,\r\n LoadRateNegotiationsStatus,\r\n LoadWithDataForBiddingOnly,\r\n} from '@common/model';\r\nimport { Vendor } from '@common/model/VendorBid';\r\nimport { T, t } from '@translate';\r\n\r\nexport const MIN_BID_AMOUNT = 20;\r\nexport const MAX_BID_AMOUNT = 100000;\r\n\r\nexport enum BidDisplayState {\r\n Unknown,\r\n Withdrawn,\r\n Assigned,\r\n Accepted,\r\n Pending_SentOffer,\r\n Pending_ReceivedOfferAccepted,\r\n ActionRequired_SentOfferAccepted,\r\n ActionRequired_ReceivedOffer,\r\n Rejected_SentOfferRejected,\r\n Rejected_ReceivedOfferRejected,\r\n Confirmed,\r\n}\r\n\r\nexport const getBidDisplayState = (bid: Bid): BidDisplayState => {\r\n const isBidFromViewer = bid.offerMadeByMe;\r\n switch (bid.status) {\r\n case BidStatus.Withdrawn:\r\n return BidDisplayState.Withdrawn;\r\n // AcceptanceWithdrawn and Canceled to be fully implemented\r\n // in a later phase\r\n case BidStatus.Canceled:\r\n return BidDisplayState.Withdrawn;\r\n case BidStatus.ActionRequired:\r\n if (isBidFromViewer) {\r\n return BidDisplayState.ActionRequired_SentOfferAccepted;\r\n } else {\r\n return BidDisplayState.ActionRequired_ReceivedOffer;\r\n }\r\n case BidStatus.Pending:\r\n if (isBidFromViewer) {\r\n return BidDisplayState.Pending_SentOffer;\r\n } else {\r\n return BidDisplayState.Pending_ReceivedOfferAccepted;\r\n }\r\n case BidStatus.AcceptanceWithdrawn:\r\n case BidStatus.Rejected:\r\n if (isBidFromViewer) {\r\n return BidDisplayState.Rejected_SentOfferRejected;\r\n } else {\r\n return BidDisplayState.Rejected_ReceivedOfferRejected;\r\n }\r\n case BidStatus.Confirmed:\r\n return BidDisplayState.Confirmed;\r\n case BidStatus.Assigned:\r\n return BidDisplayState.Assigned;\r\n case BidStatus.Accepted:\r\n return BidDisplayState.Accepted;\r\n default:\r\n return BidDisplayState.Unknown;\r\n }\r\n};\r\n\r\nexport const getBidLoadInfoFromLoad = (load: LoadWithDataForBiddingOnly): BidLoadInfo => ({\r\n id: load.id,\r\n postReference: load.postReference,\r\n rate: load.rate ? (load.rate as BidLoadRate) : undefined,\r\n originLocation: load.originLocation,\r\n destinationLocation: load.destinationLocation,\r\n});\r\n\r\nexport const getBidAck = (bid: Bid): BidAction | undefined => {\r\n const isBidFromViewer = bid.offerMadeByMe;\r\n switch (bid.status) {\r\n case BidStatus.Withdrawn:\r\n return BidAction.WithdrawAck;\r\n case BidStatus.AcceptanceWithdrawn:\r\n return BidAction.WithdrawAcceptanceAck;\r\n case BidStatus.Canceled:\r\n return BidAction.CancelAck;\r\n case BidStatus.ActionRequired:\r\n return isBidFromViewer ? BidAction.AcceptAck : BidAction.OfferAck;\r\n case BidStatus.Pending:\r\n return undefined;\r\n case BidStatus.Rejected:\r\n return BidAction.RejectAck;\r\n case BidStatus.Confirmed:\r\n return BidAction.ConfirmAck;\r\n case BidStatus.Assigned:\r\n return BidAction.ConfirmAck;\r\n case BidStatus.Accepted:\r\n return BidAction.AcceptAck;\r\n default:\r\n return undefined;\r\n }\r\n};\r\n\r\nexport const convertBidDetailsToBid = (bidDetails: BidDetails): Bid => ({\r\n bidId: bidDetails.bidId,\r\n fromCarrier: bidDetails.fromCarrier,\r\n status: bidDetails.status,\r\n price: bidDetails.price,\r\n mostRecentActivity: bidDetails.mostRecentActivity,\r\n offerMadeByMe: bidDetails.offerMadeByMe,\r\n expirationDate: bidDetails.expirationDate,\r\n});\r\n\r\nexport const convertBidDetailsToBidSummary = (bidDetails: BidDetails): BidSummary => ({\r\n bidId: bidDetails.bidId,\r\n fromCarrier: bidDetails.fromCarrier,\r\n status: bidDetails.status,\r\n price: bidDetails.price,\r\n mostRecentActivity: bidDetails.mostRecentActivity,\r\n offerMadeByMe: bidDetails.offerMadeByMe,\r\n load: bidDetails.load,\r\n isViewed: bidDetails.isViewed,\r\n otherParty: bidDetails.otherParty,\r\n expirationDate: bidDetails.expirationDate,\r\n});\r\nexport interface BidFilterOption {\r\n filterType: BidStatus;\r\n title: string;\r\n testID: string;\r\n accessibilityLabel: string;\r\n isSelected: boolean;\r\n}\r\n\r\nexport const getBidsFilterOptions = (selected: BidStatus[]): BidFilterOption[] => [\r\n {\r\n filterType: BidStatus.ActionRequired,\r\n title: t(T.common_bids_status_actionRequired),\r\n testID: 'action_required',\r\n accessibilityLabel: t(T.common_bids_status_actionRequired),\r\n isSelected: includes(selected, BidStatus.ActionRequired),\r\n },\r\n {\r\n filterType: BidStatus.Pending,\r\n title: t(T.common_bids_status_pending),\r\n testID: 'pending',\r\n accessibilityLabel: t(T.common_bids_status_pending),\r\n isSelected: includes(selected, BidStatus.Pending),\r\n },\r\n {\r\n filterType: BidStatus.Rejected,\r\n title: t(T.common_bids_status_rejected),\r\n testID: 'rejected',\r\n accessibilityLabel: t(T.common_bids_status_rejected),\r\n isSelected: includes(selected, BidStatus.Rejected),\r\n },\r\n {\r\n filterType: BidStatus.Withdrawn,\r\n title: t(T.common_bids_status_withdrawn),\r\n testID: 'withdrawn',\r\n accessibilityLabel: t(T.common_bids_status_withdrawn),\r\n isSelected: includes(selected, BidStatus.Withdrawn),\r\n },\r\n {\r\n filterType: BidStatus.Accepted,\r\n title: t(T.common_bids_status_accepted),\r\n testID: 'accepted',\r\n accessibilityLabel: t(T.common_bids_status_accepted),\r\n isSelected: includes(selected, BidStatus.Accepted),\r\n },\r\n];\r\n\r\nexport const getLoadBidOption = (\r\n load: Pick,\r\n shouldHideBidOption: boolean,\r\n isBiddingEnabled: boolean\r\n): LoadContactOption.VendorBid | LoadContactOption.Bid | undefined => {\r\n const vendorInfo = load.vendorInfo;\r\n const rateNegotiationStatus = load.rateNegotiations?.status;\r\n if (!isLoadBooked(load)) {\r\n // Vendor loads have a different bid button/endpoint\r\n // with the exception of McLeod which is part of interactive bidding (LB-1515)\r\n if (vendorInfo && vendorInfo.vendorId !== Vendor.McLeod) {\r\n if (vendorInfo.canBid) {\r\n return LoadContactOption.VendorBid;\r\n }\r\n } else if (\r\n !shouldHideBidOption &&\r\n isBiddingEnabled &&\r\n (rateNegotiationStatus === LoadRateNegotiationsStatus.Enabled ||\r\n (vendorInfo?.vendorId === Vendor.McLeod && vendorInfo.canBid))\r\n ) {\r\n return LoadContactOption.Bid;\r\n }\r\n }\r\n return undefined;\r\n};\r\n","import { filter, first, isEmpty, isEqual, toString } from 'lodash';\r\n\r\nimport { NO_INFORMATION_SYMBOL } from '@common/formatter/Constants';\r\nimport { Conversation, ConversationMessage, ConversationUser } from '@common/model/Conversation';\r\nimport { TrackingDataConversationStatus } from '@common/model/Tracking';\r\nimport { ConversationMessageEntry } from '@common/redux/epic/CommunicationEpic';\r\n\r\nimport { formatDateHHMMA, formatEpochMsToTimeDate } from './DateHelper';\r\nimport { getInitials } from './UserHelper';\r\n\r\nexport interface ConversationUserDisplayDetails {\r\n userID: string;\r\n name: string;\r\n company: string;\r\n initials: string;\r\n}\r\n\r\nexport enum ConversationListViewType {\r\n All = 'All',\r\n Unread = 'Unread',\r\n}\r\n\r\nexport const getOtherUserInConversation = (userID: string | undefined, conversation: Conversation | undefined) => {\r\n if (!userID || !conversation) {\r\n return undefined;\r\n }\r\n return first(filter(conversation.users, (user) => user.userId !== userID));\r\n};\r\n\r\nexport const contactDetailInfoFrom = (contact: ConversationUser | undefined): ConversationUserDisplayDetails => {\r\n if (contact) {\r\n return {\r\n userID: contact.userId,\r\n name: `${contact.firstName} ${contact.lastName}`,\r\n company: contact.company.name,\r\n initials: getInitials(contact),\r\n };\r\n } else {\r\n return {\r\n userID: '',\r\n name: NO_INFORMATION_SYMBOL,\r\n company: NO_INFORMATION_SYMBOL,\r\n initials: '',\r\n };\r\n }\r\n};\r\n\r\nexport const getOtherUserDetailsInConversation = (\r\n userID: string | undefined,\r\n conversation: Conversation | undefined\r\n): ConversationUserDisplayDetails => {\r\n const contact = getOtherUserInConversation(userID, conversation);\r\n return contactDetailInfoFrom(contact);\r\n};\r\n\r\nexport const getConversationStatusForTracking = (\r\n messages: ConversationMessageEntry | undefined\r\n): TrackingDataConversationStatus => {\r\n if (messages && !messages.isLoading && messages.response?.success) {\r\n if (messages.messages.length > 0) {\r\n return TrackingDataConversationStatus.Started;\r\n } else {\r\n return TrackingDataConversationStatus.Empty;\r\n }\r\n }\r\n return TrackingDataConversationStatus.Inconclusive;\r\n};\r\n\r\nexport const getMessageReadAt = (message: ConversationMessage) =>\r\n message.users && message.users.length > 0 ? formatEpochMsToTimeDate(message.users[0].readDate) : undefined;\r\n\r\nexport const getIsLastOfGroup = (\r\n message?: ConversationMessage,\r\n messageBelow?: ConversationMessage,\r\n isReceivedMessage?: boolean\r\n) => getIsGroupDelimiter(message, messageBelow, isReceivedMessage);\r\n\r\nexport const getIsFirstOfGroup = (\r\n message?: ConversationMessage,\r\n messageAbove?: ConversationMessage,\r\n isReceivedMessage?: boolean\r\n) => getIsGroupDelimiter(message, messageAbove, isReceivedMessage);\r\n\r\n// This function checks if a message is the first or last message of a group (group = messages\r\n// with identical sent/seen timestamp).\r\n// To check if it's last, compare to next message. To check for first, compare to previous message.\r\n// If the message is alone in its group, it will return true for both.\r\nexport const getIsGroupDelimiter = (\r\n targetMessage?: ConversationMessage,\r\n surroundingMessage?: ConversationMessage,\r\n isReceivedMessage?: boolean\r\n) =>\r\n !surroundingMessage ||\r\n isEmpty(surroundingMessage) ||\r\n (targetMessage &&\r\n surroundingMessage &&\r\n (!isEqual(targetMessage.sentBy, surroundingMessage.sentBy) ||\r\n isWithinDifferentMinute(targetMessage.sentAt, surroundingMessage.sentAt) ||\r\n (!isReceivedMessage &&\r\n isWithinDifferentMinute(getMessageReadAt(targetMessage), getMessageReadAt(surroundingMessage)))));\r\n\r\nexport const isWithinDifferentMinute = (firstMoment?: Date | string | number, secondMoment?: Date | string | number) =>\r\n !isEqual(momentToHHMMA(firstMoment), momentToHHMMA(secondMoment));\r\n\r\nexport const momentToHHMMA = (date?: Date | string | number) => (date ? formatDateHHMMA(toString(date)) : '');\r\n","import { findIndex, map, reduce, slice, split, toNumber } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\n\r\nexport const CREDIT_RATING_ANY = {\r\n minTransCreditRating: 0,\r\n maxTransCreditRating: 0,\r\n};\r\n\r\nexport const CREDIT_RATING_DAYS_TO_PAY_ANY = {\r\n minTransCreditDaysToPay: 0,\r\n maxTransCreditDaysToPay: 0,\r\n};\r\n\r\nexport const POSTED_AGE_MINUTES = {\r\n minAge: 0,\r\n maxAge: 0,\r\n};\r\n\r\nexport const isCreditRatingAny = (minTransCreditRating: number | undefined, maxTransCreditRating: number | undefined) =>\r\n minTransCreditRating === CREDIT_RATING_ANY.minTransCreditRating &&\r\n maxTransCreditRating === CREDIT_RATING_ANY.maxTransCreditRating;\r\n\r\nexport const isCreditRatingDaysToPayAny = (\r\n minTransCreditDaysToPay: number | undefined,\r\n maxTransCreditDaysToPay: number | undefined\r\n) =>\r\n minTransCreditDaysToPay === CREDIT_RATING_DAYS_TO_PAY_ANY.minTransCreditDaysToPay &&\r\n maxTransCreditDaysToPay === CREDIT_RATING_DAYS_TO_PAY_ANY.maxTransCreditDaysToPay;\r\n\r\nexport const isPostedDateAny = (minAge: number | undefined, maxAge: number | undefined) =>\r\n minAge === POSTED_AGE_MINUTES.minAge && maxAge === POSTED_AGE_MINUTES.maxAge;\r\n\r\nexport interface CreditRatingRange {\r\n min: number;\r\n max: number;\r\n}\r\n\r\nexport interface CreditRatingDaysToPayRange {\r\n min: number;\r\n max?: number;\r\n}\r\n\r\nexport interface PostedAgeRange {\r\n min: number;\r\n max?: number;\r\n}\r\n\r\nexport const CreditRatingRanges: CreditRatingRange[] = [\r\n { min: 0, max: 25 },\r\n { min: 25, max: 50 },\r\n { min: 50, max: 75 },\r\n { min: 75, max: 90 },\r\n { min: 90, max: 100 },\r\n];\r\n\r\nexport const CreditRatingDaysToPayRanges: CreditRatingDaysToPayRange[] = [\r\n { min: 0, max: 25 },\r\n { min: 25, max: 35 },\r\n { min: 35, max: 45 },\r\n { min: 45, max: 55 },\r\n { min: 55, max: 65 },\r\n { min: 65 },\r\n];\r\n\r\n//the options in the BE are in seconds but we want to display in minutes\r\nexport const PostedAgeRanges: PostedAgeRange[] = [\r\n { min: 0, max: 5 * 60 },\r\n { min: 5 * 60, max: 10 * 60 },\r\n { min: 10 * 60, max: 30 * 60 },\r\n { min: 30 * 60, max: 60 * 60 },\r\n { min: 60 * 60 },\r\n];\r\n\r\nconst indexOfRange = memoizeOne(\r\n (currentRange: T | undefined, ranges: T[]) => {\r\n if (!currentRange) {\r\n return -1;\r\n }\r\n return findIndex(ranges, (range) => currentRange.min === range.min && currentRange.max === range.max);\r\n }\r\n);\r\n\r\nexport const indexOfRatingRange = (\r\n range: CreditRatingRange | undefined,\r\n ranges: CreditRatingRange[] = CreditRatingRanges\r\n) => indexOfRange(range, ranges);\r\n\r\nexport const indexOfDaysToPayRange = (\r\n range: CreditRatingDaysToPayRange | undefined,\r\n ranges: CreditRatingDaysToPayRange[] = CreditRatingDaysToPayRanges\r\n) => indexOfRange(range, ranges);\r\n\r\nexport const indexOfPostedAgeRange = (range: PostedAgeRange | undefined, ranges: PostedAgeRange[] = PostedAgeRanges) =>\r\n indexOfRange(range, ranges);\r\n\r\nexport const creditRatingRangesFromStrings = (stringValues: string[]) => map(stringValues, creditRatingFromString);\r\n\r\nexport const creditRatingFromString = (stringValue: string): CreditRatingRange => {\r\n const [min, max] = split(stringValue, '-');\r\n return { min: toNumber(min), max: toNumber(max) };\r\n};\r\n\r\nexport const creditRatingRangesToStrings = (ranges: CreditRatingRange[]) => map(ranges, creditRatingRangeToString);\r\n\r\nexport const creditRatingRangeToString = (range: CreditRatingRange) => `${range.min}-${range.max}`;\r\n\r\nexport const creditRatingDaysToPayRangesToStrings = (ranges: CreditRatingDaysToPayRange[]) =>\r\n map(ranges, creditRatingDaysToPayRangeToString);\r\n\r\nexport const creditRatingDaysToPayRangeToString = (range: CreditRatingDaysToPayRange) =>\r\n range.max !== undefined ? `${range.min}-${range.max}` : `${range.min}+`;\r\n\r\nexport const postedAgeToPayRangeToStrings = (ranges: PostedAgeRange[]) => map(ranges, postedAgeToPayRangeToString);\r\n\r\nexport const postedAgeToPayRangeToString = (range: PostedAgeRange) =>\r\n range.max !== undefined ? `${range.min / 60}-${range.max / 60}` : `${range.min / 60}+`;\r\n\r\nexport const creditRatingStringValuesFromMinMax = (min: number, max: number): string[] =>\r\n reduce(\r\n CreditRatingRanges,\r\n (stringValues, range) =>\r\n range.min >= min && range.max <= max ? [...stringValues, creditRatingRangeToString(range)] : stringValues,\r\n []\r\n );\r\n\r\nexport const creditRatingDaysToPayStringValuesFromMinMax = (min: number, max: number | undefined): string[] =>\r\n reduce(\r\n CreditRatingDaysToPayRanges,\r\n (stringValues, range) =>\r\n range.min >= min && (max === undefined || (range.max !== undefined && range.max <= max))\r\n ? [...stringValues, creditRatingDaysToPayRangeToString(range)]\r\n : stringValues,\r\n []\r\n );\r\n\r\nexport const postedAgeStringValuesFromMinMax = (min: number, max: number | undefined): string[] =>\r\n reduce(\r\n PostedAgeRanges,\r\n (stringValues, range) =>\r\n range.min >= min && (max === undefined || (range.max !== undefined && range.max <= max))\r\n ? [...stringValues, postedAgeToPayRangeToString(range)]\r\n : stringValues,\r\n []\r\n );\r\n\r\nexport const creditRatingDaysToPayRangesFromStrings = (stringValue: string[]) =>\r\n map(stringValue, creditRatingDaysToPayRangeFromString);\r\n\r\nexport const creditRatingDaysToPayRangeFromString = (stringValue: string): CreditRatingDaysToPayRange => {\r\n if (stringValue.slice(stringValue.length - 1) === '+') {\r\n return { min: toNumber(stringValue.slice(0, stringValue.length - 1)) };\r\n }\r\n const [min, max] = split(stringValue, '-');\r\n return { min: toNumber(min), max: toNumber(max) };\r\n};\r\n\r\nexport const postedAgeRangesFromStrings = (stringValue: string[]) => map(stringValue, postedAgeFromString);\r\n\r\nexport const postedAgeFromString = (stringValue: string): PostedAgeRange => {\r\n if (stringValue.slice(stringValue.length - 1) === '+') {\r\n return { min: toNumber(stringValue.slice(0, stringValue.length - 1)) * 60 };\r\n }\r\n const [min, max] = split(stringValue, '-');\r\n return { min: toNumber(min) * 60, max: toNumber(max) * 60 };\r\n};\r\n\r\nexport const handleRangeChange = (\r\n range: CreditRatingRange,\r\n selectedRanges: CreditRatingRange[],\r\n setSelectedRange: (ranges: CreditRatingRange[]) => void\r\n) => {\r\n const currentRangeIndex = indexOfRatingRange(range);\r\n if (currentRangeIndex === -1) {\r\n return;\r\n }\r\n const selectedFirstIndex = indexOfRatingRange(selectedRanges[0]);\r\n const selectedLastIndex = indexOfRatingRange(selectedRanges[selectedRanges.length - 1]);\r\n if (selectedFirstIndex === -1 || selectedLastIndex === -1) {\r\n setSelectedRange([range]);\r\n return;\r\n }\r\n if (currentRangeIndex < selectedFirstIndex) {\r\n setSelectedRange(slice(CreditRatingRanges, currentRangeIndex, selectedLastIndex + 1));\r\n } else if (currentRangeIndex > selectedLastIndex) {\r\n setSelectedRange(slice(CreditRatingRanges, selectedFirstIndex, currentRangeIndex + 1));\r\n } else if (selectedLastIndex - currentRangeIndex > currentRangeIndex - selectedFirstIndex) {\r\n setSelectedRange(slice(CreditRatingRanges, currentRangeIndex + 1, selectedLastIndex + 1));\r\n } else {\r\n setSelectedRange(slice(CreditRatingRanges, selectedFirstIndex, currentRangeIndex));\r\n }\r\n};\r\n\r\nexport const handleDaysToPayRangeChange = (\r\n range: CreditRatingDaysToPayRange,\r\n selectedRanges: CreditRatingDaysToPayRange[],\r\n setSelectedRange: (ranges: CreditRatingDaysToPayRange[]) => void\r\n) => {\r\n const currentRangeIndex = indexOfDaysToPayRange(range);\r\n if (currentRangeIndex === -1) {\r\n return;\r\n }\r\n const selectedFirstIndex = indexOfDaysToPayRange(selectedRanges[0]);\r\n const selectedLastIndex = indexOfDaysToPayRange(selectedRanges[selectedRanges.length - 1]);\r\n if (selectedFirstIndex === -1) {\r\n setSelectedRange([range]);\r\n return;\r\n } else if (selectedLastIndex === -1) {\r\n setSelectedRange([]);\r\n return;\r\n }\r\n\r\n if (currentRangeIndex < selectedFirstIndex) {\r\n setSelectedRange(slice(CreditRatingDaysToPayRanges, currentRangeIndex, selectedLastIndex + 1));\r\n } else if (currentRangeIndex > selectedLastIndex) {\r\n setSelectedRange(slice(CreditRatingDaysToPayRanges, selectedFirstIndex, currentRangeIndex + 1));\r\n } else if (selectedLastIndex - currentRangeIndex > currentRangeIndex - selectedFirstIndex) {\r\n setSelectedRange(slice(CreditRatingDaysToPayRanges, currentRangeIndex + 1, selectedLastIndex + 1));\r\n } else {\r\n setSelectedRange(slice(CreditRatingDaysToPayRanges, selectedFirstIndex, currentRangeIndex));\r\n }\r\n};\r\n\r\nexport const handlePostedAgeChange = (\r\n range: PostedAgeRange,\r\n selectedRanges: PostedAgeRange[],\r\n setSelectedRange: (ranges: PostedAgeRange[]) => void\r\n) => {\r\n const currentRangeIndex = indexOfPostedAgeRange(range);\r\n if (currentRangeIndex === -1) {\r\n return;\r\n }\r\n const selectedFirstIndex = indexOfPostedAgeRange(selectedRanges[0]);\r\n const selectedLastIndex = indexOfPostedAgeRange(selectedRanges[selectedRanges.length - 1]);\r\n if (selectedFirstIndex === -1) {\r\n setSelectedRange([range]);\r\n return;\r\n } else if (selectedLastIndex === -1) {\r\n setSelectedRange([]);\r\n return;\r\n }\r\n\r\n if (currentRangeIndex < selectedFirstIndex) {\r\n setSelectedRange(slice(PostedAgeRanges, currentRangeIndex, selectedLastIndex + 1));\r\n } else if (currentRangeIndex > selectedLastIndex) {\r\n setSelectedRange(slice(PostedAgeRanges, selectedFirstIndex, currentRangeIndex + 1));\r\n } else if (selectedLastIndex - currentRangeIndex > currentRangeIndex - selectedFirstIndex) {\r\n setSelectedRange(slice(PostedAgeRanges, currentRangeIndex + 1, selectedLastIndex + 1));\r\n } else {\r\n setSelectedRange(slice(PostedAgeRanges, selectedFirstIndex, currentRangeIndex));\r\n }\r\n};\r\n","import { compact, filter, includes, isNil, map, replace, sortBy, split, toString, uniq, uniqWith } from 'lodash';\r\nimport moment, { Moment } from 'moment';\r\n\r\nimport { monthNames } from '@common/formatter/Dates';\r\nimport { doIfValue } from '@common/helper/Functions';\r\nimport { formatNumberDecimals, formatTo2Digit } from '@common/helper/NumberHelper';\r\n\r\n// @FIXME: THIS REQUIRES A GOOD CLEANUP OF \"FORMATS\". (MEM-2086)\r\n// The API server only generates 2 main formats, yet I see a lot of variations here. It's a real mess.\r\n// Nomenclature is not precise (word ISO used not correctly).\r\n// \"ISO-8601\" uses a \"T\" to separate the time component, not a space, it always uses double digits. colons are optional.\r\n// Each format is related to a \"domain\". Example of domains:\r\n// - formats used by the server\r\n// - formats for the various date / time display. (reduce this to a minimum).\r\n// - formats to feed very specific libraries (like a calendar picker for example)\r\n// we typically use strings in our data structures. (the downside is it's slower because we need to re-parse to format it)\r\n// reduce the number of unecessary \"reparsing/format/reparsing\".\r\n\r\nconst NUMBER_OF_MINUTES_IN_ONE_HOUR = 60;\r\n\r\nconst NUMBER_OF_SECONDS_IN_ONE_MIN = 60;\r\nconst NUMBER_OF_SECONDS_IN_ONE_HOUR = 3600;\r\nconst NUMBER_OF_SECONDS_IN_ONE_DAY = 86400;\r\nexport const MILLISECONDS_IN_ONE_DAY = NUMBER_OF_SECONDS_IN_ONE_DAY * 1000;\r\n\r\nexport enum TimePeriod {\r\n AM = 'AM',\r\n PM = 'PM',\r\n}\r\n\r\nexport interface TimeObject {\r\n days: number;\r\n hours: number;\r\n minutes: number;\r\n seconds: number;\r\n}\r\n\r\nexport function compareDates(first: Date, second: Date): boolean {\r\n return (\r\n first.getFullYear() === second.getFullYear() &&\r\n first.getMonth() === second.getMonth() &&\r\n first.getDate() === second.getDate()\r\n );\r\n}\r\n\r\n//Format date to MM/DD\r\nexport const formatDateToMMDD = (date: Date): string => {\r\n let dateStr = '';\r\n dateStr += `${formatTo2Digit(date.getMonth() + 1)}/${formatTo2Digit(date.getDate())}`;\r\n return dateStr;\r\n};\r\n\r\n//Format date received from the backend to Month_String, DDD formating style.\r\nexport function formatDateStringToMMMDD(date: string): string {\r\n const dateStrings = split(date, ' ');\r\n if (dateStrings.length > 2) {\r\n return `${dateStrings[2]} ${dateStrings[1]}`;\r\n }\r\n return '';\r\n}\r\n\r\n//Format date to Year-Month-Day formating style.\r\nexport function formatDateToYMD(date: Date): string {\r\n let dateStr = '';\r\n dateStr += `${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}`;\r\n return dateStr;\r\n}\r\n\r\nexport const formatAsServerDate = (year: number, month: number, date: number) =>\r\n formatDateToYMD(new Date(year, month, date));\r\n\r\nexport const formatDateToMMMDD = (date: Date): string => {\r\n const dateString = date.toDateString();\r\n return dateString.substr(4, 6);\r\n};\r\n\r\nexport const formatMinutesToHoursAndMinutes = (numberOfMinutes: number): string => {\r\n const leftoverMinutes = numberOfMinutes % NUMBER_OF_MINUTES_IN_ONE_HOUR;\r\n const numberOfFullHours = (numberOfMinutes - leftoverMinutes) / NUMBER_OF_MINUTES_IN_ONE_HOUR;\r\n\r\n return `${numberOfFullHours}h ${formatTo2Digit(leftoverMinutes)}m`;\r\n};\r\n\r\nexport const secondsToTimeObject = (seconds: number) => {\r\n const days = Math.floor(seconds / NUMBER_OF_SECONDS_IN_ONE_DAY);\r\n const hours = Math.floor((seconds % NUMBER_OF_SECONDS_IN_ONE_DAY) / NUMBER_OF_SECONDS_IN_ONE_HOUR);\r\n const mins = Math.floor((seconds % NUMBER_OF_SECONDS_IN_ONE_HOUR) / NUMBER_OF_SECONDS_IN_ONE_MIN);\r\n const sec = seconds % NUMBER_OF_SECONDS_IN_ONE_MIN;\r\n\r\n const timeObj: TimeObject = { days: days, hours: hours, minutes: mins, seconds: sec };\r\n\r\n return timeObj;\r\n};\r\n\r\nexport const simplifyDateString = (date: string) => {\r\n const dateData = date.split(' ');\r\n if (dateData.length > 2) {\r\n const simplifiedDay = +dateData[1];\r\n const simplifiedDate = `${dateData[0]} ${dateData[2]} ${simplifiedDay}`;\r\n return simplifiedDate;\r\n }\r\n return '—';\r\n};\r\n/**\r\n * Takes a moment date function and converts into a function that takes a either a string, date or moment\r\n */\r\nconst acceptAllDateTypes = (transformer: (date: Moment) => string) => (arg: string | Moment | Date) =>\r\n transformer(typeof arg === 'string' || arg instanceof Date ? moment(arg) : arg);\r\n\r\nexport const formatDateHHMMA = (date: string): string => moment(date).format('h:mm a');\r\n\r\nexport const formatDateMMMDDYYYY = (date: string): string => moment(date).format('MMM DD, YYYY');\r\n\r\nexport const formatDateDotSeparated = (date: string): string => moment(date).format('MM.DD.YYYY');\r\n\r\nexport const formatDateDotSeparatedWithTime = (date: string | Moment): string =>\r\n moment(date).format('MM.DD.YYYY hh:mm A');\r\n\r\nexport const formatDateDDDMMdd = acceptAllDateTypes((date: Moment) => date.format('ddd, MMM DD'));\r\n\r\nexport const formatDateMMMdd = (date?: string): string => moment(date).format('MMM DD');\r\n\r\nexport const formatDateTimeMMMDDhhmma = (date?: string): string => moment(date).format('MMM DD, hh:mm A');\r\n\r\nexport const formatDateTimeMMMDDYYYYhmma = (date?: string): string => moment(date).format('MMM DD, YYYY, h:mm A');\r\n\r\nexport const formatDateYYYYMMDD = (date: string | Date): string => formatMomentYYYYMMDD(moment(date).utc());\r\n\r\nexport const getTodayDateYYYYMMDD = () => formatMomentYYYYMMDD(moment());\r\n\r\nexport const formatMomentYYYYMMDD = (moment: Moment) => moment.format('YYYY-MM-DD');\r\n\r\nexport const formatDateMMDDYYYY = (date: string | Date): string => moment(date).utc().format('MM/DD/YYYY');\r\n\r\nexport const formatDateHHmm = (date: string) => moment(date).format('HH:mm');\r\n\r\nexport const formatDateDDDll = acceptAllDateTypes((date: Moment) => date.format('ddd, ll'));\r\n\r\nexport const formatDateYYYYMMDDFromNow = doIfValue(\r\n acceptAllDateTypes((date: Moment) => {\r\n if (Math.abs(date.diff(moment(), 'hours')) <= 36) {\r\n return date.calendar();\r\n }\r\n return formatDateDDDMMdd(date);\r\n })\r\n);\r\n\r\nexport const formatTimeFromNow = doIfValue(\r\n acceptAllDateTypes((date: Moment) => {\r\n if (date === null || date === undefined) {\r\n return '';\r\n }\r\n\r\n if (Math.abs(date.diff(moment(), 'hours')) < 1) {\r\n return `${Math.abs(date.diff(moment(), 'minutes'))}m`;\r\n } else if (Math.abs(date.diff(moment(), 'hours')) < 24) {\r\n return `${Math.abs(date.diff(moment(), 'hours'))}h`;\r\n }\r\n\r\n return `${Math.abs(date.diff(moment(), 'days'))}d`;\r\n })\r\n);\r\n\r\nexport const formatTimeFromNowInYears = (date: string) => {\r\n if (date === null) {\r\n return NaN;\r\n }\r\n return Math.abs(moment(date).diff(moment(), 'years'));\r\n};\r\n\r\n// Dates must be in format \"Wed, 27 May 2020 01:00:00 GMT\"\r\nexport const formatDateYYYYMMDDTHHmm = (date: string) => {\r\n const isTimeSet = includes(date, 'GMT');\r\n const dateMoment = isTimeSet ? moment(date).utc() : moment(date);\r\n return dateMoment.format('YYYY-MM-DDTHH:mm');\r\n};\r\n\r\nexport const formatDateMMMD = (date: string) => moment(date).format('MMM D');\r\n\r\n/** Converts a RFC date coming from the API server to YYYY-MM-DD format.\r\n *\r\n * This field specifies a DATE only. The server still sends a time but uses the GMT timezone (wrongly).\r\n * Example: Wed, 24 Apr 2019 00:00:00 GMT\r\n * We do not need the time, but it can alter the date.\r\n * In other words, we need to interpret it as \"UTC\" (even this is not UTC/GMT technically).\r\n */\r\nexport const serverRFCDateToYYYYMMDD = (date: string) => moment(date).utc().format('YYYY-MM-DD');\r\n\r\nexport const serverRFCDateToYYYYMMDDAndSortChronologically = (dates: string[]) =>\r\n sortBy(\r\n map(dates, (date: string) => serverRFCDateToYYYYMMDD(date)),\r\n (date: string) => date\r\n );\r\n\r\nexport const isDateExceding = (date: string | undefined, numberOfDays: number) => {\r\n if (!date) {\r\n return false;\r\n }\r\n return moment().utc().diff(moment(date).utc().add(numberOfDays, 'day'), 'h') >= 0;\r\n};\r\n/**\r\n * In some cases, the server returns an EDT (Montreal) date and time with a GMT tag (incorrectly).\r\n * In these cases, we need to treat the received date+time as EDT (which will then\r\n * converted to the user local timezone once displaying it)\r\n */\r\nexport const serverGMTRFCToLocalTZ = (date: string) => moment(replace(date, 'GMT', 'EDT'));\r\n\r\n/**\r\n * The server returns an EDT (Montreal) date and time with a GMT tag (incorrectly).\r\n * Sometimes we need to treat the received date+time in a way to display the time \"as is\"\r\n * (value must be the same on the screen).\r\n */\r\nexport const serverGMTRFCToUserLocalTZ = (date: string) => moment(replace(date, 'GMT', ''));\r\n\r\nexport const serverGMTRFCToLocalTZAndFormatISO = (date: string) =>\r\n serverGMTRFCToLocalTZ(date).format('YYYY-MM-DD HH:mm:ss');\r\n\r\n/**\r\n * Checks if date string matches current day in user's local time zone.\r\n * (Passing in 'day' checks for equivalence of year, month, and day.)\r\n */\r\nexport const isToday = (date: string) => moment().isSame(date, 'day');\r\n\r\nexport const parseAPIDateWithoutTime = (apiDateStr: string) => {\r\n const date = new Date(apiDateStr);\r\n return new Date(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());\r\n};\r\n\r\nexport const parseMomentDate = (\r\n input?: moment.MomentInput,\r\n format?: moment.MomentFormatSpecification,\r\n strict?: boolean\r\n): Moment | undefined => validOrUndefinedMoment(moment(input, format, strict));\r\n\r\nexport const validOrUndefinedMoment = (momentObj: Moment) => (momentObj.isValid() ? momentObj : undefined);\r\n\r\n/** Merge selected dates with a time for the server to read (ISO without TZ YYYY-MM-DDTHH:mm for pickup/dropoff date+time*/\r\nexport const convertDateAndTimeListToDateTimeIsoFormat = (dates: string[], time?: string): string[] =>\r\n compact(map(dates, (date) => parseMomentDateTime(date, time)?.format('YYYY-MM-DDTHH:mm') ?? false));\r\n\r\nconst parseMomentDateTime = (date: string, time?: string): Moment | undefined =>\r\n parseMomentDate(date + ' ' + time ?? '', ['YYYY-MM-DD HH:mm', 'YYYY-MM-DD']);\r\n\r\n/** @return undefined if invalid date */\r\nexport const convert12HoursFormatTo24HoursFormat = (time: string, format?: string) => {\r\n const momentDate = parseMomentDate(time, ['h:mm A']);\r\n return momentDate ? momentDate.format(format ?? 'HH:mm') : undefined;\r\n};\r\n\r\nexport const convert24HoursFormatTo12HoursFormat = (time: string) => moment(time, 'HH:mm').format('h:mm A');\r\n\r\n/** standard time formating for display (12 hours typically) */\r\nexport const formatTime = (dateObj: Moment) => dateObj.format('h:mm A');\r\n\r\n/** Detect if this date has a time component.\r\n * This should work for both ISO, RFC, 24 hours or 12 hours.\r\n * Once \"parsed\" by momentjs there is no concept of \"no time\",\r\n * the only way is to directly test the input string for a time pattern.\r\n * @return false on undefined date\r\n */\r\nexport const isTimePresentInDate = (dateStr: string | undefined) =>\r\n isNil(dateStr) ? false : /[0-9]{1,2}:[0-9]{2}:[0-9]{2}/.test(dateStr);\r\n\r\n/** extract the Time portion from DateTime string if present\r\n * @return undefined if invalid DateTime, undefined dateTime or if there is no time component */\r\nexport const extractTimeFromDateTimeIfPresent = (dateTime: string | undefined) => {\r\n if (!isTimePresentInDate(dateTime)) {\r\n return undefined;\r\n }\r\n\r\n return parseMomentDate(dateTime, 'DD MMM YYYY HH:mm:SS')?.format('HH:mm');\r\n};\r\n\r\n/** Removes the time component from a datetime string (coming from the API server) if midnight.\r\n * You can then use \"isTimePresentInDate()\" or \"extractTimeFromDateTimeIfPresent()\".\r\n */\r\nexport const stripTimeIfMidnight = (dateTime: string | undefined): string | undefined => {\r\n if (isNil(dateTime)) {\r\n return undefined;\r\n }\r\n\r\n if (!isTimePresentInDate(dateTime)) {\r\n return dateTime;\r\n }\r\n\r\n const momentDate = parseMomentDate(dateTime, 'ddd, DD MMM YYYY HH:mm:SS');\r\n\r\n if (isNil(momentDate)) {\r\n // format unexpected: pass-through the value without processing\r\n return dateTime;\r\n }\r\n\r\n if (momentDate.hours() > 0 || momentDate.minutes() > 0) {\r\n // not midnight, keep the date as is (not looking at seconds)\r\n return dateTime;\r\n }\r\n\r\n return momentDate.format('ddd, DD MMM YYYY');\r\n};\r\n\r\nexport const convertISOToRFCAndStripTimeIfMidnight = (date: string) => {\r\n const momentDate = parseMomentDate(date, 'YYYY-MM-DDTHH:mm');\r\n if (momentDate) {\r\n return stripTimeIfMidnight(`${momentDate.format('ddd, DD MMM YYYY HH:mm:SS')} GMT`); // replicate format returned by API\r\n }\r\n return date;\r\n};\r\n\r\nexport const uniqDates = (dates: string[]) => uniqWith(dates, (first, second) => moment(first).isSame(second, 'day'));\r\n\r\nexport const todayInUtcIsoString = () => parseMomentDateTime(moment(Date.now()).utc().toISOString())?.toISOString(true);\r\n\r\nexport const currentDateIfExpired = (dates: string[], returnToday: boolean = true) => {\r\n const today = todayInUtcIsoString();\r\n\r\n if (dates.length === 0 || !today) {\r\n return [];\r\n }\r\n\r\n const unexpiredDates = filter(dates, (date) => moment(date).isSameOrAfter(today));\r\n if (unexpiredDates.length > 0) {\r\n return unexpiredDates;\r\n } else {\r\n return returnToday ? [today] : [];\r\n }\r\n};\r\n\r\n/** This function compares date and time. This is not good to compare date alone ie: 2023-07-25 */\r\nexport const isDateExpired = (date: string | undefined): boolean => {\r\n if (!date) {\r\n return true;\r\n }\r\n\r\n const today = todayInUtcIsoString();\r\n return !moment(date).isSameOrAfter(today);\r\n};\r\n\r\n/** This function compares date only. Use this to compare date alone ie: 2023-07-25 */\r\nexport const isDateInThePast = (date: string | undefined): boolean => {\r\n if (!date) {\r\n return true;\r\n }\r\n\r\n const incomingDate = parseMomentDateTime(date);\r\n\r\n if (!incomingDate) {\r\n return true;\r\n }\r\n\r\n const today = moment();\r\n return incomingDate.isBefore(today, 'day');\r\n};\r\n\r\nexport const formatSecondsToDuration = (seconds: number) => {\r\n const hours = Math.floor(seconds / 3600);\r\n const minutes = Math.round((seconds % 3600) / 60);\r\n return `${hours}h ${minutes < 10 ? 0 : ''}${minutes}m`;\r\n};\r\n\r\nexport const formatRideTimeToDuration = (rideTime: string) => {\r\n const time = replace(rideTime, ':', 'h '); // api always returns hh:mm\r\n return `${time}m`;\r\n};\r\n\r\nexport const expirationMonthsToDisplay = map(\r\n monthNames,\r\n (month, index) => `${index < 9 ? '0' : ''}${index + 1} - ${month}`\r\n);\r\n\r\nexport const expirationYears = ((): string[] => {\r\n const currentYear = moment.utc().year();\r\n const years = [];\r\n for (let i = currentYear; i < currentYear + 20; i += 1) {\r\n years.push(`${i}`);\r\n }\r\n return years;\r\n})();\r\n\r\nexport const formatEpochMsToTimeDate = (epochMs: number) => {\r\n const day = new Date(epochMs);\r\n const momentDay = parseMomentDate(day);\r\n return momentDay?.format('h:mm a, MMM DD');\r\n};\r\n\r\nexport const formatDateWithDecrementMinutes = (interval: number | undefined) => {\r\n if (interval === undefined) {\r\n return undefined;\r\n }\r\n const dateNow = new Date();\r\n const pastDate = new Date(dateNow.getTime() - interval * 60000).toISOString();\r\n return pastDate;\r\n};\r\n\r\nexport const formatDurationHHmm = (interval: { before: Date; after: Date } | number): string | undefined => {\r\n let milliseconds = 0;\r\n\r\n if (typeof interval === 'number') {\r\n milliseconds = interval;\r\n } else {\r\n if (interval.after?.getTime() && interval.before?.getTime()) {\r\n milliseconds = Math.abs(interval.after.getTime() - interval.before.getTime());\r\n } else {\r\n return undefined;\r\n }\r\n }\r\n\r\n const hours = Math.floor(milliseconds / (60 * 60 * 1000));\r\n const rest = milliseconds % (60 * 60 * 1000);\r\n const minutes = Math.floor(rest / (60 * 1000));\r\n\r\n return `${toString(hours)}h${toString(minutes)}m`;\r\n};\r\n\r\nexport const isTimeStampBeforeNow = (dateTime: string) => {\r\n const now = moment(Date.now()).utc().toISOString();\r\n\r\n return validOrUndefinedMoment(moment(dateTime)) ? moment(dateTime).isBefore(now) : undefined;\r\n};\r\n\r\nexport const addDaysHoursMinsToCurrentTimestampUTC = (days: number = 0, hours: number = 0, mins: number = 0) => {\r\n return moment().add(days, 'days').add(hours, 'hours').add(mins, 'minutes').utc().toISOString();\r\n};\r\n\r\nexport const convertUtcToLocalTimestamp = (utcTimestamp: string) => {\r\n return validOrUndefinedMoment(moment.utc(utcTimestamp)) ? moment.utc(utcTimestamp).local().toISOString() : undefined;\r\n};\r\n\r\nexport const convertTimeStampToDaysHoursMins = (value: string) => {\r\n const timeStamp = moment(value);\r\n const duration = moment.duration(timeStamp.diff(moment(Date.now())));\r\n\r\n return { days: duration.days(), hours: duration.hours(), mins: duration.minutes() };\r\n};\r\n\r\nexport const getDifferenceInMilliseconds = (future: string, current?: string) => {\r\n return moment(future).diff(moment(current), 'milliseconds');\r\n};\r\n\r\nexport const getMonthIndex = (epoch: number | string | undefined) => {\r\n const date = epoch ? new Date(epoch) : new Date();\r\n return date.getMonth() % 12;\r\n};\r\n\r\nexport const getAgeOfDate = (dateMoment: Moment) => {\r\n const dateEpoch = dateMoment.valueOf();\r\n const nowEpoch = Date.now();\r\n return dateEpoch <= nowEpoch ? Math.floor((nowEpoch - dateEpoch) / 1000) : undefined;\r\n};\r\n\r\nexport const formatSecondsToAge = (seconds?: number) => {\r\n if (!seconds) {\r\n return '';\r\n }\r\n const parsedSeconds = moment.duration(seconds, 'seconds');\r\n const parsedHours = parsedSeconds.asHours();\r\n if (parsedHours < 1) {\r\n return `${formatNumberDecimals(parsedSeconds.asMinutes(), 0, 0)}m`;\r\n }\r\n if (parsedHours < 24) {\r\n return `${formatNumberDecimals(parsedHours, 0, 0)}h`;\r\n }\r\n return `${formatNumberDecimals(parsedSeconds.asDays(), 0, 0)}d`;\r\n};\r\n\r\nexport const findMinMaxDates = (dates: string[] | undefined) => {\r\n if (!dates || !dates.length) {\r\n return { minDate: undefined, maxDate: undefined };\r\n }\r\n\r\n const dateObjects = map(uniq(dates), (date) => moment(serverRFCDateToYYYYMMDD(date), moment.ISO_8601));\r\n\r\n if (dateObjects.length === 1) {\r\n return { minDate: dateObjects[0].format('YYYY-MM-DD'), maxDate: undefined };\r\n }\r\n\r\n return {\r\n minDate: moment.min(dateObjects).format('YYYY-MM-DD'),\r\n maxDate: moment.max(dateObjects).format('YYYY-MM-DD'),\r\n };\r\n};\r\n\r\n/** @param dates array of date string in ISO8601 format */\r\nexport const correctAndDeduplicateDates = (dates: string[]) => {\r\n const correctedDates = filter(\r\n map(dates, (date) => moment(date, moment.ISO_8601).format('YYYY-MM-DD')),\r\n (date) => moment(date, 'YYYY-MM-DD', true).isValid()\r\n );\r\n return uniq(correctedDates);\r\n};\r\n","import { find, join, last, map, reduce, slice, some, split } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\n\r\nimport { CustomFolder, Document, DocumentType } from '@common/model';\r\nimport { ConversationAttachment } from '@common/model/Conversation';\r\nimport { t, T } from '@translate';\r\n\r\nconst ATTACHED_FILES_LIMIT_IN_MB = 25;\r\n\r\nexport const documentTypeToString =\r\n (documentTypes: DocumentType[]) =>\r\n (enumName: string): string => {\r\n const documentType = find(documentTypes, (type) => type.enumName === enumName);\r\n return documentType && documentType.description ? documentType.description : t(T.common_all);\r\n };\r\n\r\nexport const loadInfoFromFolderIdentifier = (folderIdentifier: CustomFolder) =>\r\n `${folderIdentifier.origCity}, ${folderIdentifier.origState} > ` +\r\n `${folderIdentifier.destCity}, ${folderIdentifier.destState}`;\r\n\r\nconst byteToMB = (sizeInByte: number) => sizeInByte / 1000000;\r\n\r\nexport const doDocumentsExceedSizeLimitForSending = (documents: Document[]) =>\r\n reduce(documents, (size, document) => size + byteToMB(document.fileSize ?? 0), 0) > ATTACHED_FILES_LIMIT_IN_MB;\r\n\r\nexport const mapDocumentsToConversationAttachment = (documents: Document[]): ConversationAttachment[] =>\r\n map(documents, (document) => ({\r\n id: document.id,\r\n // API does not store an attachment's file extension\r\n // we append it to the display name here since it is necessary\r\n // later when the user views the attachment\r\n name: `${document.displayName}.${document.extension}`,\r\n }));\r\n\r\nexport const trimFileExtension = (fileName: string) => join(slice(split(fileName, '.'), 0, -1), '.');\r\n\r\nexport const getFileExtension = (fileName: string, defaultExtension: string = '') => {\r\n const fileNameParts = split(fileName, '.');\r\n if (fileNameParts.length > 1) {\r\n const extension = last(fileNameParts);\r\n if (extension) {\r\n return extension;\r\n }\r\n }\r\n return defaultExtension;\r\n};\r\n\r\nexport const hasRateConfirmation = memoizeOne((documents: Document[]) =>\r\n some(documents, (document) => document.type === 'RateConfirmation')\r\n);\r\n\r\nexport const hasBOLorLumpers = memoizeOne((documents: Document[]) =>\r\n some(documents, (document) => document.type === 'BillOfLading' || document.type === 'LumperReceipt')\r\n);\r\n\r\nexport const hasProofOfDelivery = memoizeOne((documents: Document[]) =>\r\n some(documents, (document) => document.type === 'ProofOfDelivery')\r\n);\r\n\r\nexport const getFileActionTitle = (isFileAttached: boolean): string =>\r\n isFileAttached ? t(T.common_manage) : t(T.common_upload);\r\n","import { filter, find, map, range, reduce, reverse } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\n\r\nimport { formatAsServerDate } from '@common/helper';\r\nimport { CustomFoldersSort, DateRange, DocumentsSortingOption, DocumentType } from '@common/model';\r\nimport { PeriodDataCount } from '@common/redux/epic/DocumentListEpic';\r\nimport { t, T } from '@translate';\r\n\r\nconst DATE_RANGE_SORTING_OPTIONS = 'date_range_sorting_options';\r\nexport const ORIGIN_YEAR = 2019; // Controls which year the range filter start at\r\n\r\nexport enum ViewType {\r\n Folders = 'folders',\r\n Dates = 'dates',\r\n Types = 'types',\r\n}\r\n\r\ninterface DateRangeSortOption {\r\n title: string;\r\n onPress: () => any;\r\n key: string;\r\n filesCount?: number;\r\n}\r\n\r\ntype UpdateDateFilter = (dateRange: DateRange) => void;\r\n\r\ninterface DateRangeSortingParams {\r\n currentDate: Date;\r\n updateDateFilter: UpdateDateFilter;\r\n selectedDateTitle: string;\r\n originYear: number;\r\n periodDataCounts: PeriodDataCount[];\r\n}\r\n\r\n/**\r\n * Creates an array where the index is the month and the value is the quarter\r\n */\r\nconst quarters = map(range(12), (month: number) => {\r\n switch (true) {\r\n case month < 3:\r\n return 1;\r\n case month < 6:\r\n return 2;\r\n case month < 9:\r\n return 3;\r\n default:\r\n return 4;\r\n }\r\n});\r\n\r\nconst getQuarterStart = (year: number, quarter: number): string =>\r\n [\r\n formatAsServerDate(year, 0, 1),\r\n formatAsServerDate(year, 3, 1),\r\n formatAsServerDate(year, 6, 1),\r\n formatAsServerDate(year, 9, 1),\r\n ][quarter];\r\n\r\nconst getQuarterEnd = (year: number, quarter: number): string =>\r\n [\r\n formatAsServerDate(year, 2, 31),\r\n formatAsServerDate(year, 5, 30),\r\n formatAsServerDate(year, 8, 30),\r\n formatAsServerDate(year, 11, 31),\r\n ][quarter];\r\n\r\nconst getFormattedLastMonthStart = (today: Date): string => {\r\n const { year, month } = getLastMonthStart(today);\r\n return formatAsServerDate(year, month, 1);\r\n};\r\n\r\nconst getLastMonthStart = (today: Date) => {\r\n const year = today.getFullYear();\r\n const month = today.getMonth();\r\n if (month === 0) {\r\n return { month: 11, year: year - 1 };\r\n }\r\n return { month: month - 1, year: year };\r\n};\r\n\r\nconst getLastMonthEnd = (today: Date): string => {\r\n const year = today.getFullYear();\r\n const month = today.getMonth();\r\n return formatAsServerDate(year, month, 1);\r\n};\r\n\r\nconst getQuarterListItem =\r\n (year: number, updateDateFilter: UpdateDateFilter, periodDataCounts: PeriodDataCount[]) => (index: number) => {\r\n const quarter = index + 1;\r\n return {\r\n title: `Q${quarter} ${year}`,\r\n onPress: () =>\r\n updateDateFilter({\r\n title: `Q${quarter} ${year}`,\r\n dateStart: getQuarterStart(year, index),\r\n dateEnd: getQuarterEnd(year, index),\r\n }),\r\n filesCount: reduce(\r\n periodDataCounts,\r\n (count, periodDataCount) => {\r\n if (periodDataCount.year === undefined || periodDataCount.month === undefined) {\r\n return count;\r\n }\r\n let doesMonthBelongToQuarter = false;\r\n switch (index) {\r\n case 0:\r\n doesMonthBelongToQuarter = periodDataCount.month >= 1 && periodDataCount.month < 4;\r\n break;\r\n case 1:\r\n doesMonthBelongToQuarter = periodDataCount.month >= 4 && periodDataCount.month < 7;\r\n break;\r\n case 2:\r\n doesMonthBelongToQuarter = periodDataCount.month >= 7 && periodDataCount.month < 10;\r\n break;\r\n case 3:\r\n doesMonthBelongToQuarter = periodDataCount.month >= 10 && periodDataCount.month <= 12;\r\n }\r\n return periodDataCount.year === year && doesMonthBelongToQuarter\r\n ? count + (periodDataCount.count ?? 0)\r\n : count;\r\n },\r\n 0\r\n ),\r\n key: `${DATE_RANGE_SORTING_OPTIONS}_q${quarter}`,\r\n };\r\n };\r\n\r\nconst getYearListItem =\r\n (originYear: number, updateDateFilter: UpdateDateFilter, periodDataCounts: PeriodDataCount[]) => (index: number) => {\r\n const year = originYear + index;\r\n return {\r\n title: `${year}`,\r\n onPress: () =>\r\n updateDateFilter({\r\n title: `${year}`,\r\n dateStart: formatAsServerDate(year, 0, 1),\r\n dateEnd: formatAsServerDate(year, 11, 31),\r\n }),\r\n filesCount: reduce(\r\n periodDataCounts,\r\n (count, periodDataCount) => (periodDataCount.year === year ? count + (periodDataCount.count ?? 0) : count),\r\n 0\r\n ),\r\n key: `${DATE_RANGE_SORTING_OPTIONS}_y${year}`,\r\n };\r\n };\r\n\r\nexport const generateDateRangeSortingOptions = ({\r\n currentDate,\r\n updateDateFilter,\r\n selectedDateTitle,\r\n originYear,\r\n periodDataCounts,\r\n}: DateRangeSortingParams): DateRangeSortOption[] => {\r\n const currentYear = currentDate.getFullYear();\r\n const currentQuarter = quarters[currentDate.getMonth()];\r\n // TODO: remove the filter in year 2020. In 2019 we don't want to show Q1 and Q2, after that the filter is redundant\r\n const quartersToDisplay = filter(\r\n map(reverse(range(currentQuarter)), getQuarterListItem(currentYear, updateDateFilter, periodDataCounts)),\r\n (option: DateRangeSortOption) => option.title !== 'Q2 2019' && option.title !== 'Q1 2019'\r\n );\r\n const yearsToDisplay = map(\r\n reverse(range(currentYear - originYear)),\r\n getYearListItem(originYear, updateDateFilter, periodDataCounts)\r\n );\r\n const defaultSortingOptions = [\r\n {\r\n title: t(T.common_dates_thisMonth),\r\n onPress: () =>\r\n updateDateFilter({\r\n title: t(T.common_dates_thisMonth),\r\n dateStart: formatAsServerDate(currentDate.getFullYear(), currentDate.getMonth(), 1),\r\n dateEnd: formatAsServerDate(currentDate.getFullYear(), currentDate.getMonth() + 1, 0),\r\n }),\r\n filesCount:\r\n find(\r\n periodDataCounts,\r\n (periodData) =>\r\n periodData.year === currentDate.getFullYear() && periodData.month === currentDate.getMonth() + 1\r\n )?.count ?? 0,\r\n key: 'this_month',\r\n },\r\n {\r\n title: t(T.common_dates_lastMonth),\r\n onPress: () =>\r\n updateDateFilter({\r\n title: t(T.common_dates_lastMonth),\r\n dateStart: getFormattedLastMonthStart(currentDate),\r\n dateEnd: getLastMonthEnd(currentDate),\r\n }),\r\n filesCount:\r\n find(periodDataCounts, (periodData) => {\r\n const { year, month } = getLastMonthStart(currentDate);\r\n return periodData.year === year && periodData.month === month + 1;\r\n })?.count ?? 0,\r\n key: 'last_month',\r\n },\r\n ];\r\n const older = {\r\n title: t(T.common_dates_older),\r\n onPress: () =>\r\n updateDateFilter({\r\n title: t(T.common_dates_older),\r\n dateStart: formatAsServerDate(2012, 0, 0),\r\n dateEnd: formatAsServerDate(originYear, 6, 0),\r\n }),\r\n filesCount: reduce(\r\n periodDataCounts,\r\n (count, periodDataCount) =>\r\n (periodDataCount.year !== undefined && periodDataCount.year >= 2012 && periodDataCount.year < originYear) ||\r\n (periodDataCount.month !== undefined && periodDataCount.year === originYear && periodDataCount.month - 1 < 6)\r\n ? count + (periodDataCount.count ?? 0)\r\n : count,\r\n 0\r\n ),\r\n key: 'older',\r\n };\r\n return map([...defaultSortingOptions, ...quartersToDisplay, ...yearsToDisplay, older], (option) => ({\r\n ...option,\r\n isSelected: option.title === selectedDateTitle,\r\n }));\r\n};\r\n\r\nexport const VIEW_OPTIONS = [\r\n {\r\n id: ViewType.Folders,\r\n key: ViewType.Folders,\r\n value: ViewType.Folders,\r\n displayValue: t(T.common_myDocuments_viewTypeOptions_folders),\r\n },\r\n\r\n {\r\n id: ViewType.Dates,\r\n key: ViewType.Dates,\r\n value: ViewType.Dates,\r\n displayValue: t(T.common_myDocuments_viewTypeOptions_dates),\r\n },\r\n {\r\n id: ViewType.Types,\r\n key: ViewType.Types,\r\n value: ViewType.Types,\r\n displayValue: t(T.common_myDocuments_viewTypeOptions_types),\r\n },\r\n];\r\n\r\nexport const displayValueFromViewType = (viewType: ViewType) =>\r\n find(VIEW_OPTIONS, (option) => option.value === viewType)?.displayValue;\r\n\r\nexport const displayNameOfDocumentType = memoizeOne(\r\n (documentType: string, types: DocumentType[]) =>\r\n find(types, (docType) => docType.enumName === documentType)?.description\r\n);\r\n\r\nexport const formatFolderSortOption = (sortOption: CustomFoldersSort | undefined) => {\r\n switch (sortOption) {\r\n case CustomFoldersSort.LastAccessedOn:\r\n return t(T.common_myDocuments_selectFolder_sort_lastAccessedOn);\r\n case CustomFoldersSort.Name:\r\n return t(T.common_myDocuments_selectFolder_sort_name);\r\n default:\r\n return t(T.common_myDocuments_selectFolder_sort_hasLoad);\r\n }\r\n};\r\n\r\nexport const documentsSortingOptionToString = (option: DocumentsSortingOption): string => {\r\n switch (option) {\r\n case DocumentsSortingOption.date:\r\n return t(T.common_myDocuments_date);\r\n case DocumentsSortingOption.alphabetical:\r\n return t(T.common_myDocuments_alphabetical);\r\n case DocumentsSortingOption.type:\r\n return t(T.common_myDocuments_type);\r\n case DocumentsSortingOption.folder:\r\n return t(T.common_myDocuments_folder);\r\n default:\r\n return '';\r\n }\r\n};\r\n","import { filter, find, includes, join, map, reduce, slice, some, sortBy, split, trim } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\n\r\nimport {\r\n Equipment,\r\n EquipmentCode,\r\n EquipmentSpecification,\r\n EquipmentSpecificationCode,\r\n EquipmentType,\r\n RateCheckEquipmentTypes,\r\n SimplifiedEquipment,\r\n} from '@common/model';\r\nimport { parseArrayOfValuesFrom } from '@common/util/parser/ParserUtils';\r\nimport { T, t } from '@translate';\r\n\r\nexport const stringifyEquipments = (equipments: SimplifiedEquipment[]): string[] =>\r\n map(trimEquiments(equipments), stringifyEquipment);\r\n\r\nexport const stringifyEquipment = (equipment: SimplifiedEquipment) => {\r\n const hasSpecifications =\r\n equipment.equipmentSpecifications !== EquipmentSpecification.None && equipment.equipmentSpecifications !== '';\r\n const hasType = equipment.equipmentType !== EquipmentType.None && equipment.equipmentType !== '';\r\n\r\n const type = hasType ? equipment.equipmentType : hasSpecifications ? equipment.equipmentSpecifications : '';\r\n const specifications = hasType && hasSpecifications ? ` (${equipment.equipmentSpecifications})` : '';\r\n\r\n return type + specifications;\r\n};\r\n\r\nconst trimEquiments = (equipments: SimplifiedEquipment[]) =>\r\n filter(equipments, (equipment: SimplifiedEquipment) => {\r\n return (\r\n (equipment.equipmentSpecifications !== EquipmentSpecification.None && equipment.equipmentSpecifications !== '') ||\r\n (equipment.equipmentType !== EquipmentType.None && equipment.equipmentType !== '')\r\n );\r\n });\r\n\r\nexport const mapEquipmentsToCode = (equipments: Equipment[] | undefined): string => {\r\n if (equipments === undefined || equipments.length <= 0) {\r\n return '-';\r\n }\r\n const filteredEquipments = filter(equipments, (equipment) => equipment.equipmentType !== EquipmentType.None);\r\n\r\n return join(map(filteredEquipments, equipmentToCode), ', ');\r\n};\r\n\r\nexport const mapEquipmentsTypeToCode = (equipmentTypes: EquipmentType[] | undefined): string => {\r\n if (equipmentTypes === undefined || equipmentTypes.length <= 0) {\r\n return '-';\r\n }\r\n return join(sortBy(map(equipmentTypes, (equipment) => EquipmentCode[equipment])), ', ');\r\n};\r\n\r\nexport const mapEquipmentTypeToCode = (equipmentType: EquipmentType): string => {\r\n return EquipmentCode[equipmentType];\r\n};\r\n\r\nexport const equipmentToCode = (equipment: Equipment) => {\r\n if (!equipment.equipmentSpecifications || equipment.equipmentSpecifications === EquipmentSpecification.None) {\r\n if (!equipment.equipmentType || equipment.equipmentType === EquipmentType.None) {\r\n return '';\r\n }\r\n return EquipmentCode[equipment.equipmentType];\r\n }\r\n const specifications = equipmentSpecificationsFrom(equipment.equipmentSpecifications);\r\n const code = reduce(\r\n specifications,\r\n (codes, spec) => `${codes}${EquipmentSpecificationCode[spec]}, `,\r\n `${EquipmentCode[equipment.equipmentType]} (`\r\n );\r\n\r\n return `${code.substring(0, code.length - 2)})`;\r\n};\r\n\r\nexport const equipmentToChip = (equipment: Equipment, shouldSliceSpecifications = true) => {\r\n if (!equipment.equipmentType || equipment.equipmentType === EquipmentType.None) {\r\n return undefined;\r\n }\r\n if (!equipment.equipmentSpecifications || equipment.equipmentSpecifications === EquipmentSpecification.None) {\r\n return EquipmentCode[equipment.equipmentType];\r\n }\r\n const specifications = map(\r\n equipmentSpecificationsFrom(equipment.equipmentSpecifications),\r\n (spec) => EquipmentSpecificationCode[spec]\r\n );\r\n\r\n let specificationsString = '';\r\n if (specifications.length > 5 && shouldSliceSpecifications) {\r\n specificationsString = ` (${join(slice(specifications, 0, 5), ', ')}...)`;\r\n } else if (specifications.length > 0) {\r\n specificationsString = ` (${join(specifications, ', ')})`;\r\n }\r\n\r\n return `${EquipmentCode[equipment.equipmentType]}${specificationsString}`;\r\n};\r\n\r\nexport const equipmentSpecificationsFrom = (specifications: string | undefined): EquipmentSpecification[] => {\r\n if (!specifications) {\r\n return [];\r\n }\r\n const specs = map(split(specifications, ','), (spec) => trim(spec));\r\n return parseArrayOfValuesFrom(specs, EquipmentSpecification) || [];\r\n};\r\n\r\nexport const codeStringsToEquipmentSpecifications = memoizeOne((codes: string[]): EquipmentSpecification[] =>\r\n reduce(\r\n codes,\r\n (specifications, code) => {\r\n const equipmentSpec = find(\r\n Object.keys(EquipmentSpecificationCode),\r\n (key) => EquipmentSpecificationCode[key as keyof typeof EquipmentSpecificationCode] === code\r\n );\r\n if (!equipmentSpec) {\r\n return specifications;\r\n }\r\n\r\n return [...specifications, EquipmentSpecification[equipmentSpec as keyof typeof EquipmentSpecification]];\r\n },\r\n []\r\n )\r\n);\r\n\r\nexport const equipmentSpecificationsToCodeStrings = memoizeOne((specifications: EquipmentSpecification[]): string[] =>\r\n map(specifications, (specification) => EquipmentSpecificationCode[specification])\r\n);\r\n\r\nexport const equipmentSpecificationsToString = memoizeOne((specifications: EquipmentSpecification[]) =>\r\n join(specifications, ', ')\r\n);\r\n\r\nexport const priorityEquipmentAvailableForRateCheck = (equipments: EquipmentType[]) => {\r\n if (includes(equipments, EquipmentType.Van)) {\r\n return EquipmentType.Van;\r\n }\r\n if (includes(equipments, EquipmentType.StepDeck)) {\r\n return EquipmentType.StepDeck;\r\n }\r\n if (includes(equipments, EquipmentType.Flatbed)) {\r\n return EquipmentType.Flatbed;\r\n }\r\n if (includes(equipments, EquipmentType.Reefer)) {\r\n return EquipmentType.Reefer;\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const equipmentToCodeArray = (equipments: Equipment[]) =>\r\n reduce(\r\n equipments,\r\n (equipmentArray, equipment) => {\r\n if (!equipment.equipmentType || equipment.equipmentType === EquipmentType.None) {\r\n return equipmentArray;\r\n }\r\n let specCodes;\r\n if (equipment.equipmentSpecifications && equipment.equipmentSpecifications !== EquipmentType.None) {\r\n specCodes = map(\r\n split(equipment.equipmentSpecifications, ', '),\r\n (spec: keyof typeof EquipmentSpecificationCode) => EquipmentSpecificationCode[spec]\r\n );\r\n }\r\n return [\r\n ...equipmentArray,\r\n {\r\n equipmentCode: EquipmentCode[equipment.equipmentType],\r\n specCodes: specCodes && specCodes.length > 0 ? specCodes : undefined,\r\n },\r\n ];\r\n },\r\n []\r\n );\r\n\r\nexport const EquipmentTypeString: {\r\n [key in Exclude]: string;\r\n} = {\r\n Van: t(T.common_load_equipmentType_Van),\r\n Reefer: t(T.common_load_equipmentType_Reefer),\r\n PowerOnly: t(T.common_load_equipmentType_PowerOnly),\r\n Container: t(T.common_load_equipmentType_Container),\r\n HopperBottom: t(T.common_load_equipmentType_HopperBottom),\r\n Tanker: t(T.common_load_equipmentType_Tanker),\r\n DoubleDrop: t(T.common_load_equipmentType_DoubleDrop),\r\n Flatbed: t(T.common_load_equipmentType_Flatbed),\r\n Landoll: t(T.common_load_equipmentType_Landoll),\r\n LowBoy: t(T.common_load_equipmentType_LowBoy),\r\n Maxi: t(T.common_load_equipmentType_Maxi),\r\n RemovableGooseneck: t(T.common_load_equipmentType_RemovableGooseneck),\r\n StepDeck: t(T.common_load_equipmentType_StepDeck),\r\n Auto: t(T.common_load_equipmentType_Auto),\r\n AnimalCarrier: t(T.common_load_equipmentType_AnimalCarrier),\r\n BoatHauler: t(T.common_load_equipmentType_BoatHauler),\r\n HeavyHaulers: t(T.common_load_equipmentType_HeavyHaulers),\r\n MovingVan: t(T.common_load_equipmentType_MovingVan),\r\n MiniVan: t(T.common_load_equipmentType_MiniVan),\r\n CargoVan: t(T.common_load_equipmentType_CargoVan),\r\n BoxTruck: t(T.common_load_equipmentType_BoxTruck),\r\n Sprinter: t(T.common_load_equipmentType_Sprinter),\r\n DumpTruck: t(T.common_load_equipmentType_DumpTruck),\r\n PilotCars: t(T.common_load_equipmentType_PilotCars),\r\n};\r\n\r\nexport const EQUIPMENTS_FOR_RATE_CHECK: RateCheckEquipmentTypes[] = [\r\n EquipmentType.Flatbed,\r\n EquipmentType.Reefer,\r\n EquipmentType.Van,\r\n EquipmentType.StepDeck,\r\n];\r\n\r\nexport const isEquipmentTypeSupportedForRateCheck = (equipments?: Equipment[]) => {\r\n if (!equipments?.length) {\r\n return false;\r\n }\r\n\r\n return some(equipments, (equipment) => includes(EQUIPMENTS_FOR_RATE_CHECK, equipment.equipmentType));\r\n};\r\n\r\nexport const isRateCheckEquipmentType = (equipment: EquipmentType): equipment is RateCheckEquipmentTypes =>\r\n includes(EQUIPMENTS_FOR_RATE_CHECK, equipment);\r\n\r\nexport const EQUIPMENTS_FOR_LTL_MARKET_RATES = [EquipmentType.BoxTruck, EquipmentType.CargoVan];\r\n\r\nexport type LTLEquipmentTypes = EquipmentType.BoxTruck | EquipmentType.CargoVan;\r\n\r\nexport enum ExpediteAllEquipmentType {\r\n BoxTruck = 'StraightBoxTruck',\r\n CargoVan = 'CargoVan',\r\n}\r\n\r\nconst equipmentTypeToExpediteAll: Partial> = {\r\n [EquipmentType.BoxTruck]: ExpediteAllEquipmentType.BoxTruck,\r\n [EquipmentType.CargoVan]: ExpediteAllEquipmentType.CargoVan,\r\n};\r\n\r\nexport const convertEquipmentTypeToExpediteAll = (value: EquipmentType): ExpediteAllEquipmentType | undefined => {\r\n return equipmentTypeToExpediteAll[value];\r\n};\r\n","import { defaultTo, includes, map } from 'lodash';\r\n\r\nimport { getEnumKey } from './Functions';\r\n\r\nexport enum MimeType {\r\n png = 'image/png',\r\n jpg = 'image/jpeg',\r\n jpeg = 'image/jpeg',\r\n jpg2 = 'image/jpg',\r\n pdf = 'application/pdf',\r\n bmp = 'image/bmp',\r\n gif = 'image/gif',\r\n svg = 'image/svg+xml',\r\n doc = 'application/msword',\r\n docx = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',\r\n xls = 'application/vnd.ms-excel',\r\n xlsx = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',\r\n ppt = 'application/vnd.ms-powerpoint',\r\n pptx = 'application/vnd.openxmlformats-officedocument.presentationml.presentation',\r\n octet = 'application/octet-stream',\r\n json = 'application/json',\r\n formData = 'multipart/form-data',\r\n appleKeyNote = 'application/x-iwork-keynote-sffkey',\r\n applePages = 'application/x-iwork-pages-sffpages',\r\n appleNumbers = 'application/x-iwork-numbers-sffnumbers',\r\n csv = 'text/csv',\r\n}\r\n\r\nexport const getMimeType = (extension: string): string =>\r\n defaultTo(MimeType[extension as keyof typeof MimeType], MimeType.octet);\r\n\r\nconst typesSupportedByUpload: Readonly = [\r\n MimeType.png,\r\n MimeType.jpeg,\r\n MimeType.pdf,\r\n MimeType.doc,\r\n MimeType.docx,\r\n MimeType.xls,\r\n MimeType.xlsx,\r\n];\r\n\r\nexport const typesSupportedByDownload: Readonly = [\r\n ...typesSupportedByUpload,\r\n MimeType.bmp,\r\n MimeType.gif,\r\n MimeType.octet,\r\n MimeType.csv,\r\n MimeType.jpg2,\r\n];\r\n\r\nexport const isFileSupportedByUpload = (mime: string) => includes(typesSupportedByUpload, mime);\r\n\r\nexport const extensionsSupportedByUpload = map(typesSupportedByUpload, getEnumKey(MimeType));\r\n","import { filter, find, reduce, toNumber, toUpper } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\n\r\nimport {\r\n codeStringsToEquipmentSpecifications,\r\n equipmentSpecificationsFrom,\r\n equipmentSpecificationsToCodeStrings,\r\n equipmentSpecificationsToString,\r\n maxMileageRequestValue,\r\n renderMileageText,\r\n TRIP_LENGTH_ANY,\r\n tripLengthRangeToString,\r\n} from '@common/helper';\r\nimport { CompanyFilter, CompanyFilterType, EquipmentSpecification, LoadSearchRequest, LoadSize } from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\nimport {\r\n CREDIT_RATING_ANY,\r\n CREDIT_RATING_DAYS_TO_PAY_ANY,\r\n creditRatingDaysToPayRangeFromString,\r\n creditRatingDaysToPayRangeToString,\r\n creditRatingDaysToPayStringValuesFromMinMax,\r\n creditRatingFromString,\r\n creditRatingRangeToString,\r\n creditRatingStringValuesFromMinMax,\r\n POSTED_AGE_MINUTES,\r\n postedAgeFromString,\r\n postedAgeStringValuesFromMinMax,\r\n postedAgeToPayRangeToString,\r\n} from './CreditRatingHelper';\r\n\r\nexport interface SearchFilter {\r\n isOnboarded?: boolean;\r\n isFavoriteBroker?: boolean;\r\n company?: CompanyFilter;\r\n minAge?: number;\r\n maxAge?: number;\r\n minutesSinceRefreshedMax?: number;\r\n hasMessaging?: boolean;\r\n hasBidding?: boolean;\r\n equipmentSpecifications?: string;\r\n hasCommodity?: boolean;\r\n hasRate?: boolean;\r\n hasTeam?: boolean;\r\n loadSize?: LoadSize;\r\n includeLoadsWithoutLength?: boolean;\r\n includeLoadsWithoutWeight?: boolean;\r\n minTransCreditRating?: number;\r\n maxTransCreditRating?: number;\r\n minTransCreditDaysToPay?: number;\r\n maxTransCreditDaysToPay?: number;\r\n minMileage?: number;\r\n maxMileage?: number;\r\n}\r\n\r\nexport enum FilterType {\r\n OnboardedCompanies = 'onboarded_companies',\r\n FavoriteCompanies = 'favorite_companies',\r\n CreditRating = 'credit_rating',\r\n DaysToPay = 'days_to_pay',\r\n Shipper = 'shipper',\r\n TrailerSpecifications = 'trailer_specifications',\r\n PostedAge = 'posted_age',\r\n RefreshedAge = 'refreshed_age',\r\n WithMessaging = 'with_messaging',\r\n WithBidding = 'with_bidding',\r\n Commodity = 'commodity',\r\n PostedRate = 'posted_rate',\r\n TeamDrivers = 'team_drivers',\r\n Tl = 'tl',\r\n Ltl = 'ltl',\r\n WithWeight = 'with_weight',\r\n WithLength = 'with_length',\r\n TripLength = 'trip_length',\r\n}\r\n\r\nexport interface FilterOption {\r\n filterType: FilterType;\r\n title: string;\r\n testID: string;\r\n accessibilityLabel: string;\r\n isSelected: boolean;\r\n filterSpecificInput?: FilterOptionSpecificInput;\r\n}\r\n\r\nexport interface FilterOptionSpecificInput {\r\n label: string;\r\n values: string[];\r\n customValuesString?: string;\r\n unit?: string;\r\n range?: string | undefined;\r\n}\r\n\r\nexport interface FilterSection {\r\n id: string;\r\n title: string;\r\n options: FilterOption[];\r\n}\r\n\r\nexport const SearchFilterDistanceSection = 'distance';\r\nexport const SearchFilterCompanyPreferencesSection = 'company_preferences';\r\n\r\nexport const sectionsFromSearchFilter = (searchFilter: SearchFilter): FilterSection[] => {\r\n const normalizedSearchFilter = normalizeSearch(searchFilter);\r\n\r\n return [\r\n {\r\n id: 'load_size',\r\n title: t(T.common_load_filter_loadSize),\r\n options: [\r\n {\r\n filterType: FilterType.Tl,\r\n title: t(T.common_load_filter_tl),\r\n testID: `${FilterType.Tl}_${Boolean(normalizedSearchFilter.loadSize)}`,\r\n accessibilityLabel: `${FilterType.Tl}_${Boolean(normalizedSearchFilter.loadSize)}`,\r\n isSelected: normalizedSearchFilter.loadSize === LoadSize.TL,\r\n },\r\n {\r\n filterType: FilterType.Ltl,\r\n title: t(T.common_load_filter_ltl),\r\n testID: `${FilterType.Ltl}_${Boolean(normalizedSearchFilter.loadSize)}`,\r\n accessibilityLabel: `${FilterType.Ltl}_${Boolean(normalizedSearchFilter.loadSize)}`,\r\n isSelected: normalizedSearchFilter.loadSize === LoadSize.LTL,\r\n },\r\n {\r\n filterType: FilterType.WithWeight,\r\n title: t(T.common_load_filter_withWeight),\r\n testID: `${FilterType.WithWeight}_${!normalizedSearchFilter.includeLoadsWithoutWeight}`,\r\n accessibilityLabel: `${FilterType.WithWeight}_${!normalizedSearchFilter.includeLoadsWithoutWeight}`,\r\n isSelected: normalizedSearchFilter.includeLoadsWithoutWeight === false,\r\n },\r\n {\r\n filterType: FilterType.WithLength,\r\n title: t(T.common_load_filter_withLength),\r\n testID: `${FilterType.WithLength}_${!normalizedSearchFilter.includeLoadsWithoutLength}`,\r\n accessibilityLabel: `${FilterType.WithLength}_${!normalizedSearchFilter.includeLoadsWithoutLength}`,\r\n isSelected: normalizedSearchFilter.includeLoadsWithoutLength === false,\r\n },\r\n ],\r\n },\r\n {\r\n id: SearchFilterDistanceSection,\r\n title: t(T.common_load_filter_distance),\r\n options: [\r\n {\r\n filterType: FilterType.TripLength,\r\n title: t(T.common_load_filter_tripLength),\r\n testID: `${FilterType.TripLength}_${Boolean(normalizedSearchFilter.minMileage?.valueOf)}`,\r\n accessibilityLabel: `${FilterType.TripLength}_${Boolean(normalizedSearchFilter.minMileage?.valueOf)}`,\r\n isSelected: normalizedSearchFilter.minMileage !== undefined,\r\n filterSpecificInput: {\r\n label: t(T.common_load_filter_tripLength),\r\n values:\r\n normalizedSearchFilter.minMileage !== undefined\r\n ? [renderMileageText(normalizedSearchFilter.minMileage, normalizedSearchFilter.maxMileage, true)]\r\n : [],\r\n customValuesString:\r\n normalizedSearchFilter.minMileage !== undefined\r\n ? renderMileageText(normalizedSearchFilter.minMileage, normalizedSearchFilter.maxMileage, true)\r\n : '',\r\n unit: t(T.common_miles_short),\r\n range:\r\n normalizedSearchFilter.minMileage !== undefined\r\n ? tripLengthRangeToString({\r\n min: normalizedSearchFilter.minMileage,\r\n max: normalizedSearchFilter.maxMileage,\r\n })\r\n : '',\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n id: 'company_preferences',\r\n title: t(T.common_load_filter_companyPreferences),\r\n options: [\r\n {\r\n filterType: FilterType.OnboardedCompanies,\r\n title: t(T.common_load_filter_onboardedCompanies),\r\n testID: `${FilterType.OnboardedCompanies}_${Boolean(normalizedSearchFilter.isOnboarded)}`,\r\n accessibilityLabel: `${FilterType.OnboardedCompanies}_${Boolean(normalizedSearchFilter.isOnboarded)}`,\r\n isSelected: Boolean(normalizedSearchFilter.company?.isOnboarded),\r\n },\r\n {\r\n filterType: FilterType.FavoriteCompanies,\r\n title: t(T.common_load_filter_favoriteCompanies),\r\n testID: `${FilterType.FavoriteCompanies}_${Boolean(normalizedSearchFilter.isFavoriteBroker)}`,\r\n accessibilityLabel: `${FilterType.FavoriteCompanies}_${Boolean(normalizedSearchFilter.isFavoriteBroker)}`,\r\n isSelected: Boolean(normalizedSearchFilter.isFavoriteBroker),\r\n },\r\n {\r\n filterType: FilterType.CreditRating,\r\n title: t(T.common_load_filter_creditRating),\r\n testID: `${FilterType.CreditRating}_${Boolean(normalizedSearchFilter.minTransCreditRating?.valueOf)}`,\r\n accessibilityLabel: `${FilterType.CreditRating}_${Boolean(\r\n normalizedSearchFilter.minTransCreditRating?.valueOf\r\n )}`,\r\n isSelected:\r\n normalizedSearchFilter.minTransCreditRating !== undefined &&\r\n normalizedSearchFilter.maxTransCreditRating !== undefined,\r\n filterSpecificInput: {\r\n label: t(T.common_load_filter_creditRatingShort),\r\n values:\r\n normalizedSearchFilter.minTransCreditRating !== undefined &&\r\n normalizedSearchFilter.maxTransCreditRating !== undefined\r\n ? creditRatingStringValuesFromMinMax(\r\n normalizedSearchFilter.minTransCreditRating,\r\n normalizedSearchFilter.maxTransCreditRating\r\n )\r\n : [],\r\n range:\r\n normalizedSearchFilter.minTransCreditRating !== undefined && normalizedSearchFilter.maxTransCreditRating\r\n ? creditRatingRangeToString({\r\n min: normalizedSearchFilter.minTransCreditRating,\r\n max: normalizedSearchFilter.maxTransCreditRating,\r\n })\r\n : '',\r\n },\r\n },\r\n {\r\n filterType: FilterType.DaysToPay,\r\n title: t(T.common_load_filter_daysToPay),\r\n testID: `${FilterType.DaysToPay}_${Boolean(normalizedSearchFilter.minTransCreditDaysToPay?.valueOf)}`,\r\n accessibilityLabel: `${FilterType.DaysToPay}_${Boolean(\r\n normalizedSearchFilter.minTransCreditDaysToPay?.valueOf\r\n )}`,\r\n isSelected: normalizedSearchFilter.minTransCreditDaysToPay !== undefined,\r\n filterSpecificInput: {\r\n label: t(T.common_load_filter_daysToPayShort),\r\n values:\r\n normalizedSearchFilter.minTransCreditDaysToPay !== undefined\r\n ? creditRatingDaysToPayStringValuesFromMinMax(\r\n normalizedSearchFilter.minTransCreditDaysToPay,\r\n normalizedSearchFilter.maxTransCreditDaysToPay\r\n )\r\n : [],\r\n range:\r\n normalizedSearchFilter.minTransCreditDaysToPay !== undefined\r\n ? creditRatingDaysToPayRangeToString({\r\n min: normalizedSearchFilter.minTransCreditDaysToPay,\r\n max: normalizedSearchFilter.maxTransCreditDaysToPay,\r\n })\r\n : '',\r\n },\r\n },\r\n {\r\n filterType: FilterType.Shipper,\r\n title: t(T.common_load_filter_shipper),\r\n testID: `${FilterType.Shipper}_${Boolean(\r\n normalizedSearchFilter.company?.types === CompanyFilterType.Shipper\r\n )}`,\r\n accessibilityLabel: `${FilterType.Shipper}_${Boolean(\r\n normalizedSearchFilter.company?.types === CompanyFilterType.Shipper\r\n )}`,\r\n isSelected: normalizedSearchFilter.company?.types === CompanyFilterType.Shipper,\r\n },\r\n ],\r\n },\r\n {\r\n id: 'load_info',\r\n title: t(T.common_load_filter_loadInfo),\r\n options: [\r\n {\r\n filterType: FilterType.PostedAge,\r\n title: t(T.common_load_filter_postedAge),\r\n testID: `${FilterType.PostedAge}_${Boolean(normalizedSearchFilter.equipmentSpecifications?.valueOf)}`,\r\n accessibilityLabel: `${FilterType.PostedAge}_${Boolean(\r\n normalizedSearchFilter.equipmentSpecifications?.valueOf\r\n )}`,\r\n isSelected: normalizedSearchFilter.minAge !== undefined,\r\n filterSpecificInput: {\r\n label: t(T.common_load_filter_postedAge),\r\n values:\r\n normalizedSearchFilter.minAge !== undefined\r\n ? postedAgeStringValuesFromMinMax(normalizedSearchFilter.minAge, normalizedSearchFilter.maxAge)\r\n : [],\r\n unit: t(T.common_time_abbreviation_Minutes),\r\n range:\r\n normalizedSearchFilter.minAge !== undefined\r\n ? postedAgeToPayRangeToString({\r\n min: normalizedSearchFilter.minAge,\r\n max: normalizedSearchFilter.maxAge,\r\n })\r\n : '',\r\n },\r\n },\r\n {\r\n filterType: FilterType.RefreshedAge,\r\n title: t(T.common_load_filter_renewedAge),\r\n testID: `${FilterType.RefreshedAge}_${Boolean(normalizedSearchFilter.minutesSinceRefreshedMax?.valueOf)}`,\r\n accessibilityLabel: `${FilterType.RefreshedAge}_${Boolean(\r\n normalizedSearchFilter.minutesSinceRefreshedMax?.valueOf\r\n )}`,\r\n isSelected: normalizedSearchFilter.minutesSinceRefreshedMax !== undefined,\r\n filterSpecificInput: {\r\n label: t(T.common_loadSearch_renewed),\r\n values: normalizedSearchFilter.minutesSinceRefreshedMax\r\n ? [refreshedAgeLabel(normalizedSearchFilter.minutesSinceRefreshedMax)]\r\n : [],\r\n unit: '',\r\n range: normalizedSearchFilter.minutesSinceRefreshedMax\r\n ? refreshedAgeLabel(normalizedSearchFilter.minutesSinceRefreshedMax)\r\n : '',\r\n },\r\n },\r\n /** With Messaging Filter Option is to be hidden and possibly removed in the future to avoid potential user frustration.\r\n * MOB-5874 & MEM-3002\r\n */\r\n // {\r\n // filterType: FilterType.WithMessaging,\r\n // title: t(T.common_load_filter_withMessaging),\r\n // testID: `${FilterType.WithMessaging}_${Boolean(normalizedSearchFilter.hasMessaging)}`,\r\n // accessibilityLabel: `${FilterType.WithMessaging}_${Boolean(normalizedSearchFilter.hasMessaging)}`,\r\n // isSelected: Boolean(normalizedSearchFilter.hasMessaging),\r\n // },\r\n {\r\n filterType: FilterType.WithBidding,\r\n title: t(T.common_load_filter_withBidding),\r\n testID: `${FilterType.WithBidding}_${Boolean(normalizedSearchFilter.hasBidding)}`,\r\n accessibilityLabel: `${FilterType.WithBidding}_${Boolean(normalizedSearchFilter.hasBidding)}`,\r\n isSelected: Boolean(normalizedSearchFilter.hasBidding),\r\n },\r\n {\r\n filterType: FilterType.TrailerSpecifications,\r\n title: t(T.common_load_filter_trailerSpecifications),\r\n testID: `${FilterType.TrailerSpecifications}_${Boolean(normalizedSearchFilter.equipmentSpecifications)}`,\r\n accessibilityLabel: `${FilterType.TrailerSpecifications}_${Boolean(\r\n normalizedSearchFilter.equipmentSpecifications\r\n )}`,\r\n\r\n isSelected: normalizedSearchFilter.equipmentSpecifications !== undefined,\r\n filterSpecificInput: {\r\n label: t(T.common_load_filter_trailerSpecs),\r\n values: normalizedSearchFilter.equipmentSpecifications\r\n ? equipmentSpecificationsToCodeStrings(\r\n equipmentSpecificationsFrom(normalizedSearchFilter.equipmentSpecifications)\r\n )\r\n : [],\r\n },\r\n },\r\n {\r\n filterType: FilterType.Commodity,\r\n title: t(T.common_load_filter_commodity),\r\n testID: `${FilterType.Commodity}_${Boolean(normalizedSearchFilter.hasCommodity)}`,\r\n accessibilityLabel: `${FilterType.Commodity}_${Boolean(normalizedSearchFilter.hasCommodity)}`,\r\n isSelected: Boolean(normalizedSearchFilter.hasCommodity),\r\n },\r\n {\r\n filterType: FilterType.PostedRate,\r\n title: t(T.common_load_filter_postedRate),\r\n testID: `${FilterType.PostedRate}_${Boolean(normalizedSearchFilter.hasRate)}`,\r\n accessibilityLabel: `${FilterType.PostedRate}_${Boolean(normalizedSearchFilter.hasRate)}`,\r\n isSelected: Boolean(normalizedSearchFilter.hasRate),\r\n },\r\n {\r\n filterType: FilterType.TeamDrivers,\r\n title: t(T.common_load_filter_teamDrivers),\r\n testID: `${FilterType.TeamDrivers}_${Boolean(normalizedSearchFilter.hasTeam)}`,\r\n accessibilityLabel: `${FilterType.TeamDrivers}_${Boolean(normalizedSearchFilter.hasTeam)}`,\r\n isSelected: Boolean(normalizedSearchFilter.hasTeam),\r\n },\r\n ],\r\n },\r\n ];\r\n};\r\n\r\nexport const updateFilterValues = (searchFilter: SearchFilter, filterType: FilterType, values: string[]) => {\r\n switch (filterType) {\r\n case FilterType.TrailerSpecifications:\r\n return {\r\n ...searchFilter,\r\n equipmentSpecifications: values.length\r\n ? equipmentSpecificationsToString(codeStringsToEquipmentSpecifications(values))\r\n : undefined,\r\n };\r\n case FilterType.CreditRating:\r\n return {\r\n ...searchFilter,\r\n minTransCreditRating:\r\n values.length > 0 ? creditRatingFromString(values[0]).min : CREDIT_RATING_ANY.minTransCreditRating,\r\n maxTransCreditRating:\r\n values.length > 0\r\n ? creditRatingFromString(values[values.length - 1]).max\r\n : CREDIT_RATING_ANY.maxTransCreditRating,\r\n };\r\n case FilterType.DaysToPay:\r\n return {\r\n ...searchFilter,\r\n minTransCreditDaysToPay:\r\n values.length > 0\r\n ? creditRatingDaysToPayRangeFromString(values[0]).min\r\n : CREDIT_RATING_DAYS_TO_PAY_ANY.minTransCreditDaysToPay,\r\n maxTransCreditDaysToPay:\r\n values.length > 0\r\n ? creditRatingDaysToPayRangeFromString(values[values.length - 1]).max\r\n : CREDIT_RATING_DAYS_TO_PAY_ANY.maxTransCreditDaysToPay,\r\n };\r\n case FilterType.TripLength:\r\n return {\r\n ...searchFilter,\r\n minMileage: +(values[0] ?? TRIP_LENGTH_ANY.minMileage),\r\n maxMileage: maxMileageRequestValue(values[1]) ?? TRIP_LENGTH_ANY.maxMileage,\r\n };\r\n case FilterType.PostedAge:\r\n return {\r\n ...searchFilter,\r\n minAge: values.length > 0 ? postedAgeFromString(values[0]).min : POSTED_AGE_MINUTES.minAge,\r\n maxAge: values.length > 0 ? postedAgeFromString(values[values.length - 1]).max : POSTED_AGE_MINUTES.maxAge,\r\n };\r\n case FilterType.RefreshedAge:\r\n return {\r\n ...searchFilter,\r\n minutesSinceRefreshedMax: values.length > 0 ? toNumber(values[0]) : undefined,\r\n };\r\n\r\n default:\r\n return searchFilter;\r\n }\r\n};\r\n\r\nexport const emptySearchFilter = (searchFilter: SearchFilter) => ({\r\n isFavoriteBroker: undefined,\r\n isOnboarded: undefined,\r\n company: { ...searchFilter.company, types: CompanyFilterType.All, isOnboarded: undefined },\r\n equipmentSpecifications: undefined,\r\n hasCommodity: undefined,\r\n hasRate: undefined,\r\n hasTeam: undefined,\r\n loadSize: undefined,\r\n includeLoadsWithoutLength: undefined,\r\n includeLoadsWithoutWeight: undefined,\r\n minTransCreditRating: undefined,\r\n maxTransCreditRating: undefined,\r\n minTransCreditDaysToPay: undefined,\r\n maxTransCreditDaysToPay: undefined,\r\n minMileage: undefined,\r\n maxMileage: undefined,\r\n hasMessaging: undefined,\r\n hasBidding: undefined,\r\n minAge: undefined,\r\n maxAge: undefined,\r\n minutesSinceRefreshedMax: undefined,\r\n});\r\n\r\nexport const selectedFiltersCount = memoizeOne((filterSections: FilterSection[]): number =>\r\n reduce(filterOptionsFromSection(filterSections), (count, option) => (option.isSelected ? count + 1 : count), 0)\r\n);\r\n\r\nexport const filterOptionsFromSection = memoizeOne((filterSections: FilterSection[]): FilterOption[] =>\r\n reduce(filterSections, (combinedOptions, section) => [...combinedOptions, ...section.options], [])\r\n);\r\n\r\nexport const selectedFilterOptions = memoizeOne((filterOptions: FilterOption[]): FilterOption[] =>\r\n filter(filterOptions, (option) => option.isSelected)\r\n);\r\n\r\nexport const filterSpecificValuesByType = memoizeOne(\r\n (section: FilterSection[], filterType: FilterType | undefined): string[] => {\r\n if (!filterType) {\r\n return [];\r\n }\r\n const filterOption = find(filterOptionsFromSection(section), (option) => option.filterType === filterType);\r\n return filterOption?.filterSpecificInput?.values ?? [];\r\n }\r\n);\r\n\r\nconst normalizeSearch = (search: T): T => ({\r\n ...search,\r\n loadSize: search.loadSize && search.loadSize !== LoadSize.None ? toUpper(search.loadSize) : undefined,\r\n equipmentSpecifications:\r\n search.equipmentSpecifications !== EquipmentSpecification.None ? search.equipmentSpecifications : undefined,\r\n});\r\n\r\nexport const isSearchRequestsFiltersEquivalent = (l: LoadSearchRequest, r: LoadSearchRequest) =>\r\n l.isOnboarded === r.isOnboarded &&\r\n l.isFavoriteBroker === r.isFavoriteBroker &&\r\n (l.company?.types === r.company?.types ||\r\n (l.company?.types === undefined && r.company?.types === CompanyFilterType.All) ||\r\n (l.company?.types === CompanyFilterType.All && r.company?.types === undefined)) &&\r\n l.equipmentSpecifications === r.equipmentSpecifications &&\r\n l.hasCommodity === r.hasCommodity &&\r\n l.hasRate === r.hasRate &&\r\n l.hasTeam === r.hasTeam &&\r\n l.loadSize === r.loadSize &&\r\n (l.includeLoadsWithoutLength === r.includeLoadsWithoutLength ||\r\n (l.includeLoadsWithoutLength !== false && r.includeLoadsWithoutLength !== false)) &&\r\n (l.includeLoadsWithoutWeight === r.includeLoadsWithoutWeight ||\r\n (l.includeLoadsWithoutWeight !== false && r.includeLoadsWithoutWeight !== false)) &&\r\n l.minTransCreditRating === r.minTransCreditRating &&\r\n l.maxTransCreditRating === r.maxTransCreditRating &&\r\n l.minTransCreditDaysToPay === r.minTransCreditDaysToPay &&\r\n l.maxTransCreditDaysToPay === r.maxTransCreditDaysToPay &&\r\n l.minMileage === r.minMileage &&\r\n l.maxMileage === r.maxMileage &&\r\n l.hasMessaging === r.hasMessaging &&\r\n l.hasBidding === r.hasBidding &&\r\n l.minAge === r.minAge &&\r\n l.maxAge === r.maxAge &&\r\n l.minutesSinceRefreshedMax === r.minutesSinceRefreshedMax;\r\n\r\nexport const shouldShowItems = (filterType: FilterType) =>\r\n filterType === FilterType.TrailerSpecifications ||\r\n filterType === FilterType.PostedAge ||\r\n filterType === FilterType.CreditRating ||\r\n filterType === FilterType.DaysToPay ||\r\n filterType === FilterType.TripLength ||\r\n filterType === FilterType.RefreshedAge;\r\n\r\nconst refreshedAgeLabel = (minutesSinceRefreshedMax: number) => {\r\n if (minutesSinceRefreshedMax >= 60) {\r\n return `${t(T.common_loadSearch_lessThan, { value: Math.round(minutesSinceRefreshedMax / 60) })} ${t(T.common_time_abbreviation_HoursAlt)}`;\r\n }\r\n\r\n return `${t(T.common_loadSearch_lessThan, { value: minutesSinceRefreshedMax })} ${t(T.common_time_abbreviation_Minutes)}`;\r\n};\r\n\r\nexport enum REFRESHED_AGE_FILTER {\r\n FIVE_MINUTES = '5',\r\n TEN_MINUTES = '10',\r\n THIRTY_MINUTES = '30',\r\n ONE_HOUR = '60',\r\n TWO_HOURS = '120',\r\n}\r\n","import { AxiosRequestConfig } from 'axios';\r\nimport { toLower } from 'lodash';\r\n\r\nimport { ApiResponse123 } from '@common/api';\r\n\r\nconst FLOW_ID_HEADER = '123LB-FD';\r\n\r\nexport const addArchivingHeader = (\r\n archivingID: string | undefined,\r\n config?: AxiosRequestConfig\r\n): AxiosRequestConfig | undefined => ({\r\n ...config,\r\n headers: { ...config?.headers, [FLOW_ID_HEADER]: archivingID || '' },\r\n});\r\n\r\nexport const getFlowIDFrom = (response: ApiResponse123) => {\r\n if (response.headers) {\r\n let flowIDHeader: string | undefined = response.headers[FLOW_ID_HEADER];\r\n if (!flowIDHeader) {\r\n flowIDHeader = response.headers[toLower(FLOW_ID_HEADER)];\r\n }\r\n return flowIDHeader;\r\n }\r\n return undefined;\r\n};\r\n","import { find, forEach, identity, throttle } from 'lodash';\r\n\r\nimport { NO_INFORMATION_SYMBOL } from '@common/formatter/Constants';\r\n\r\n// Void function\r\nexport const voidFunction = () => {\r\n /**/\r\n};\r\nexport const getEnumKey = (stringEnum: any) => (value: string) =>\r\n find(Object.keys(stringEnum), (key) => stringEnum[key] === value);\r\n\r\nexport const throttledOnPress = (onPress?: (...args: any[]) => void, delay: number = 800) =>\r\n throttle(\r\n (...args: any[]) => {\r\n if (onPress) {\r\n onPress(...args);\r\n }\r\n },\r\n delay,\r\n { leading: true, trailing: false }\r\n );\r\n\r\nexport const findMatch: (collection: T[], iteratee: (item: T) => K) => K | undefined = (collection, iteratee) => {\r\n let match;\r\n\r\n forEach(collection, (item) => {\r\n const foundMatch = iteratee(item);\r\n if (foundMatch) {\r\n match = foundMatch;\r\n return false;\r\n }\r\n\r\n return true;\r\n });\r\n\r\n return match;\r\n};\r\n\r\nexport const doIfValue =\r\n (transformer: (value: S) => T) =>\r\n (value: S | undefined) =>\r\n value !== undefined ? transformer(value) : undefined;\r\n\r\nexport const dashIfReturnsUndefined =\r\n (transformer: (value: S) => T | undefined) =>\r\n (value: S) =>\r\n transformer(value) ?? NO_INFORMATION_SYMBOL;\r\n\r\nexport const dashIfUndefined = dashIfReturnsUndefined(identity) as (arg: T | undefined) => NonNullable; // TS thinks the above function can return undefined, so we have to cast here\r\n\r\nexport const addSuffix =\r\n (suffix: string) =>\r\n (str: string | number | undefined): string | undefined =>\r\n str ? `${str}${suffix}` : undefined;\r\n\r\n/**\r\n * where undefined is the same as empty string and false, return whether two optional values (either both\r\n * string | undefined or both boolean | undefined) are equal\r\n */\r\nexport const areOptionalValuesSemanticallyEqual = (a: T | undefined, b: T | undefined) =>\r\n (a && b && a === b) || (!a && !b);\r\n\r\nexport const valueOrEmptyString = (value: T) => value ?? '';\r\n","/** Immutable-like LRU Cache\r\n *\r\n * NOTE: this is a not a real Immutable. This is only a 'shallow' Immutable\r\n * strictly used to play nice with the basic usage of Redux Store\r\n * Only the \"root\" structure will be different so strict equality should see\r\n * a change, but old copies will get mutated since the internal Map is shared when calling\r\n * set() or moveToLastUsed().\r\n * The rationale is the rather small footprint compared to using an OrderedMap from immutable.js.\r\n * We can achieve a very small footpring due to the use of a ES2015 Map.\r\n * (might require a Map polyfill for old browsers, i.e. polyfill.io).\r\n *\r\n * @author bernard\r\n */\r\nexport class ImmutableLRUMap {\r\n /** max size */\r\n private readonly max: number;\r\n\r\n /** Uses the Map's ability to iterate in *insertion order*\r\n * making first item from an iteration the next one to delete essentially.\r\n */\r\n private readonly map: Map;\r\n\r\n /** @param map the map parameter is only meant for internal use */\r\n constructor(maxSize: number, map?: Map) {\r\n this.max = maxSize;\r\n this.map = map || new Map();\r\n }\r\n\r\n get(key: K): V | undefined {\r\n return this.map.get(key);\r\n }\r\n\r\n moveToLastUsed(key: K): ImmutableLRUMap {\r\n let cache = this.map;\r\n const item: V | undefined = cache.get(key);\r\n if (!item) {\r\n return this;\r\n }\r\n\r\n // if already last, no need to recreate a new instance\r\n if (key === cache.keys().next().value) {\r\n return this;\r\n }\r\n\r\n cache = new Map(cache);\r\n\r\n // re-insert the entry so it becomes \"last\" (insertion order)\r\n cache.delete(key);\r\n cache.set(key, item);\r\n\r\n return this._new(cache);\r\n }\r\n\r\n set(key: K, val: V): ImmutableLRUMap {\r\n let cache = this.map;\r\n\r\n cache = new Map(cache);\r\n cache = cache.set(key, val);\r\n\r\n if (cache.size > this.max) {\r\n // remove oldest\r\n cache.delete(cache.keys().next().value);\r\n }\r\n\r\n return this._new(cache);\r\n }\r\n\r\n private _new(cache: Map): ImmutableLRUMap {\r\n return new ImmutableLRUMap(this.max, cache);\r\n }\r\n}\r\n","import { isNil } from 'lodash';\r\n\r\ninterface ItemWithId {\r\n id: string;\r\n}\r\n\r\nexport const extractId = ({ id }: ItemWithId) => id;\r\n\r\nconst getId = (item: ItemWithId | undefined) => (item ? extractId(item) : undefined);\r\n\r\nexport const compareIds = (item1: ItemWithId, item2: ItemWithId) =>\r\n !isNil(item1) && !isNil(item2) && getId(item1) === getId(item2);\r\n","/** Compact LRU Cache (375 bytes minified)\r\n * Required browsers with ES2015\r\n */\r\nexport class LRUMap {\r\n /** max size */\r\n private s: number;\r\n\r\n /** Uses the Map's ability to iterate in insertion order\r\n * making first item from an iteration the next one to delete essentially.\r\n */\r\n private c: Map;\r\n\r\n constructor(max: number) {\r\n this.s = max;\r\n this.c = new Map();\r\n }\r\n\r\n get(key: K): V | undefined {\r\n const cache = this.c;\r\n const item: V | undefined = cache.get(key);\r\n if (item) {\r\n // refresh key\r\n cache.delete(key);\r\n cache.set(key, item);\r\n }\r\n return item;\r\n }\r\n set(key: K, val: V): void {\r\n const cache = this.c;\r\n if (cache.set(key, val).size > this.s) {\r\n // remove oldest\r\n cache.delete(cache.keys().next().value);\r\n }\r\n }\r\n}\r\n","import { filter, map } from 'lodash';\r\n\r\nimport { LoadLocation, LocationType, OriginLocation, StateLoadAvailability } from '@common/model';\r\n\r\nexport const withoutStateHI = (stateLoadAvailability: StateLoadAvailability): StateLoadAvailability => ({\r\n ...stateLoadAvailability,\r\n availabilities: map(stateLoadAvailability.availabilities, (availability) => {\r\n return {\r\n ...availability,\r\n query: {\r\n ...availability.query,\r\n origin: filterStatesLocationNoHI(availability.query.origin) as OriginLocation,\r\n destination: filterStatesLocationNoHI(availability.query.destination),\r\n },\r\n };\r\n }),\r\n});\r\n\r\nconst filterStatesLocationNoHI = (location: LoadLocation): LoadLocation => {\r\n if (location.type !== LocationType.STATE) {\r\n return location;\r\n }\r\n return {\r\n ...location,\r\n states: filter(location.states, (state) => state !== 'HI'),\r\n };\r\n};\r\n","import {\r\n clone,\r\n cloneDeep,\r\n compact,\r\n filter,\r\n find,\r\n findIndex,\r\n forEach,\r\n includes,\r\n isEmpty,\r\n isEqual,\r\n isNil,\r\n isUndefined,\r\n map,\r\n nth,\r\n pullAll,\r\n trim,\r\n} from 'lodash';\r\nimport { Action } from 'redux';\r\n\r\nimport { ApiErrorCode } from '@common/api';\r\nimport { CompanyUserData } from '@common/client/CompanyClient';\r\nimport {\r\n correctAndDeduplicateDates,\r\n extractTimeFromDateTimeIfPresent,\r\n parseMomentDate,\r\n serverGMTRFCToLocalTZ,\r\n stripTimeIfMidnight,\r\n} from '@common/helper/DateHelper';\r\nimport {\r\n BookingStatus,\r\n BookNowResponse,\r\n Company,\r\n EquipmentType,\r\n Geolocation,\r\n Load,\r\n LoadBackhaul,\r\n LoadExtraStop,\r\n LoadFields,\r\n LoadGeolocation,\r\n LoadMatch,\r\n LoadProgress,\r\n LoadSearchRequest,\r\n LoadStatus,\r\n Location,\r\n LocationType,\r\n NonMatchingLoad,\r\n PayRateUnit,\r\n PostedLoadProgress,\r\n ReverseGeolocationResult,\r\n SimilarLoad,\r\n SimilarLoadSearchResponse,\r\n UserDataCompany,\r\n VendorBidInfo,\r\n} from '@common/model';\r\nimport { Response } from '@common/redux/Base';\r\n\r\nimport { stringifyLocation } from './LocationHelper';\r\n\r\nexport const NEW_LOAD_SECONDS_THRESHOLD = 300;\r\nexport const ONE_SECOND = 1;\r\nexport const ONE_MINUTE_IN_SECONDS = 60 * ONE_SECOND;\r\nexport const ONE_HOUR_IN_SECONDS = 60 * ONE_MINUTE_IN_SECONDS;\r\n\r\nexport enum UpdateCategory {\r\n SAVED,\r\n VIEWED,\r\n CALLED,\r\n NOTE,\r\n PRIVATELOADNOTE,\r\n PROGRESS,\r\n HIDDEN,\r\n BLOCKED,\r\n FAVORITE,\r\n AGE,\r\n AGE_BULK,\r\n PICKUP_DATES_BULK,\r\n STATUS_BULK,\r\n EMAILED,\r\n ONBOARDED,\r\n STATUS,\r\n VENDOR_BID_SENT,\r\n BOOK_NOW_SENT,\r\n INITIAL_BID_SENT,\r\n POSTED_PROGRESS,\r\n}\r\n\r\ninterface BaseLoadUpdate {\r\n category: UpdateCategory;\r\n}\r\n\r\ninterface LoadSpecificUpdate extends BaseLoadUpdate {\r\n loadID: string;\r\n}\r\n\r\ninterface LoadListUpdate extends BaseLoadUpdate {\r\n loadIDs: string[];\r\n isExcluded: boolean;\r\n}\r\n\r\ninterface LoadProgressUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.PROGRESS;\r\n progress: LoadProgress;\r\n isSaved?: boolean;\r\n}\r\n\r\ninterface LoadSavedUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.SAVED;\r\n isSaved: boolean;\r\n}\r\n\r\ninterface LoadViewedAndPosterUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.VIEWED;\r\n poster: Company | undefined;\r\n}\r\n\r\ninterface LoadCalledUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.CALLED;\r\n isCalled: boolean;\r\n}\r\n\r\ninterface LoadEmailedUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.EMAILED;\r\n isEmailed: boolean;\r\n}\r\n\r\ninterface LoadNoteUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.NOTE;\r\n note: string;\r\n}\r\n\r\ninterface PrivateLoadNoteUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.PRIVATELOADNOTE;\r\n privateLoadNote: string;\r\n}\r\n\r\nexport interface LoadHiddenUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.HIDDEN;\r\n isHidden: boolean;\r\n}\r\n\r\nexport interface LoadBlockUpdate extends BaseLoadUpdate {\r\n category: UpdateCategory.BLOCKED;\r\n posterID: string;\r\n isBlocked: boolean;\r\n shouldRemoveLoad?: boolean;\r\n}\r\n\r\ninterface LoadFavoriteUpdate extends BaseLoadUpdate {\r\n category: UpdateCategory.FAVORITE;\r\n posterID: string;\r\n isFavorited: boolean;\r\n}\r\n\r\ninterface LoadOnboardedUpdate extends BaseLoadUpdate {\r\n category: UpdateCategory.ONBOARDED;\r\n posterID: string;\r\n isOnboarded: boolean;\r\n}\r\n\r\ninterface LoadAgeUpdate extends BaseLoadUpdate {\r\n category: UpdateCategory.AGE;\r\n loadID: string;\r\n age: number;\r\n}\r\n\r\ninterface LoadStatusUpdate extends BaseLoadUpdate {\r\n category: UpdateCategory.STATUS;\r\n loadID: string;\r\n status: LoadStatus;\r\n}\r\n\r\ninterface LoadStatusBulkUpdate extends LoadListUpdate {\r\n category: UpdateCategory.STATUS_BULK;\r\n status: LoadStatus;\r\n}\r\n\r\ninterface LoadPickupDatesBulkUpdate extends LoadListUpdate {\r\n category: UpdateCategory.PICKUP_DATES_BULK;\r\n dates: string[];\r\n}\r\n\r\ninterface LoadRefreshAgeBulkUpdate extends LoadListUpdate {\r\n category: UpdateCategory.AGE_BULK;\r\n age: number;\r\n}\r\n\r\ninterface LoadVendorBidUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.VENDOR_BID_SENT;\r\n bid: VendorBidInfo | undefined;\r\n}\r\n\r\ninterface LoadBookUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.BOOK_NOW_SENT;\r\n bookNow: BookNowResponse | undefined;\r\n errorCode?: number;\r\n}\r\n\r\ninterface LoadBidUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.INITIAL_BID_SENT;\r\n}\r\n\r\ninterface LoadPostedProgressUpdate extends LoadSpecificUpdate {\r\n category: UpdateCategory.POSTED_PROGRESS;\r\n progress: PostedLoadProgress | undefined;\r\n dotNo: number | undefined;\r\n}\r\n\r\nexport type LoadBulkUpdate = LoadPickupDatesBulkUpdate | LoadRefreshAgeBulkUpdate | LoadStatusBulkUpdate;\r\n\r\nexport type LoadUpdate =\r\n | LoadProgressUpdate\r\n | LoadSavedUpdate\r\n | LoadViewedAndPosterUpdate\r\n | LoadCalledUpdate\r\n | LoadNoteUpdate\r\n | PrivateLoadNoteUpdate\r\n | LoadHiddenUpdate\r\n | LoadBlockUpdate\r\n | LoadFavoriteUpdate\r\n | LoadOnboardedUpdate\r\n | LoadAgeUpdate\r\n | LoadEmailedUpdate\r\n | LoadStatusUpdate\r\n | LoadVendorBidUpdate\r\n | LoadBookUpdate\r\n | LoadBidUpdate\r\n | LoadPostedProgressUpdate;\r\n\r\nexport interface LoadAction extends Action {\r\n loadID: string;\r\n}\r\n\r\nexport interface LoadFieldAction extends LoadAction {\r\n fields: string;\r\n}\r\n\r\nexport interface SnackbarAction extends Action {\r\n state: boolean;\r\n text?: string;\r\n}\r\n\r\nexport interface SetSelectedSearchAction extends Action {\r\n search: LoadSearchRequest | undefined;\r\n}\r\n\r\nexport interface SetSelectedBackhaulAction extends Action {\r\n backhaul: LoadBackhaul | undefined;\r\n}\r\n\r\nexport interface LoadResponse extends LoadAction {\r\n response: Response<{}>;\r\n}\r\n\r\nexport interface UpdateLoadAction extends Action {\r\n update: LoadUpdate;\r\n}\r\n\r\nexport const updateLoadActionCreator =\r\n (actionType: string) =>\r\n (update: LoadUpdate): UpdateLoadAction => ({\r\n type: actionType,\r\n update: update,\r\n });\r\n\r\nexport const createLoadFilter = (filterInput: string) => {\r\n return (load: Load) => {\r\n if (filterInput === undefined || filterInput === '') {\r\n return true;\r\n } else {\r\n const comparableInput = normifyString(trim(filterInput.toLowerCase()));\r\n return (\r\n compareLocation(comparableInput, load.destinationLocation) ||\r\n compareLocation(comparableInput, load.originLocation)\r\n );\r\n }\r\n };\r\n};\r\n\r\nconst compareLocation = (locationToFilter: string, location?: Location): boolean => {\r\n if (location && location.address) {\r\n const locationName = normifyString(stringifyLocation(location.address).locationName.toLowerCase());\r\n\r\n return locationName.includes(locationToFilter);\r\n }\r\n return false;\r\n};\r\n\r\nconst normifyString = (str: string) => {\r\n // biome-ignore lint/suspicious/noMisleadingCharacterClass: remove special characters\r\n return str.normalize('NFD').replace(/[\\u0300-\\u036f]/g, '');\r\n};\r\n\r\nconst updateBlockedBrokers = (loads: Load[], blocked: Array>): Load[] =>\r\n map(loads, (load) => updateLoadBlockedBrokers(load, blocked));\r\nconst updateSimilarLoadsBlockedBrokers = (\r\n loads: SimilarLoad[],\r\n blocked: Array>\r\n): SimilarLoad[] =>\r\n map(loads, (similarLoad) => {\r\n const updatedLoad = updateLoadBlockedBrokers(similarLoad.load, blocked);\r\n if (updatedLoad !== similarLoad.load) {\r\n return { ...similarLoad, load: updatedLoad };\r\n }\r\n return similarLoad;\r\n });\r\n\r\nexport const updateLoadFavoriteBrokers = (load: Load, favorites: Array>) => {\r\n const matchingUpdatedValue = getMatchingUpdatedCompanyValue(load, favorites);\r\n if (matchingUpdatedValue !== undefined) {\r\n // load.poster validated with matchingUpdatedValue !== undefined\r\n let updatedLoad = cloneAndEnsurePosterMetadata(load);\r\n updatedLoad = setFavoriteBroker(updatedLoad, matchingUpdatedValue);\r\n if (matchingUpdatedValue) {\r\n updatedLoad = setHiddenBroker(updatedLoad, false);\r\n }\r\n return updatedLoad;\r\n }\r\n return load;\r\n};\r\n\r\nconst updateLoadOnboarded = (load: Load, onboarded: Array>) => {\r\n const matchingUpdatedValue = getMatchingUpdatedCompanyValue(load, onboarded);\r\n if (matchingUpdatedValue !== undefined) {\r\n // load.poster validated with matchingUpdatedValue !== undefined\r\n let updatedLoad = cloneAndEnsurePosterMetadata(load);\r\n updatedLoad = setOnboarded(updatedLoad, matchingUpdatedValue);\r\n if (matchingUpdatedValue) {\r\n updatedLoad = setHiddenBroker(updatedLoad, false);\r\n }\r\n return updatedLoad;\r\n }\r\n return load;\r\n};\r\n\r\nexport const updateLoadAge = (load: Load, age: number) => {\r\n const updatedLoad = clone(load);\r\n updatedLoad.age = age;\r\n return updatedLoad;\r\n};\r\n\r\nexport const updateLoadBlockedBrokers = (load: Load, blocked: Array>) => {\r\n const matchingUpdatedValue = getMatchingUpdatedCompanyValue(load, blocked);\r\n if (matchingUpdatedValue !== undefined) {\r\n // load.poster validated with matchingUpdatedValue !== undefined\r\n let updatedLoad = cloneAndEnsurePosterMetadata(load);\r\n updatedLoad = setHiddenBroker(updatedLoad, matchingUpdatedValue);\r\n if (matchingUpdatedValue) {\r\n updatedLoad = setFavoriteBroker(updatedLoad, false);\r\n }\r\n return updatedLoad;\r\n }\r\n return load;\r\n};\r\n\r\nconst cloneAndEnsurePosterMetadata = (load: Load) =>\r\n load.poster && !load.poster.metaData\r\n ? {\r\n ...load,\r\n poster: {\r\n ...load.poster,\r\n metaData: {\r\n favoriteBroker: false,\r\n favoriteCarrier: false,\r\n hiddenBroker: false,\r\n hiddenCarrier: false,\r\n onboarded: false,\r\n },\r\n },\r\n }\r\n : load;\r\n\r\nconst setHiddenBroker = (load: Load, value: boolean) =>\r\n load.poster?.metaData\r\n ? {\r\n ...load,\r\n poster: {\r\n ...load.poster,\r\n metaData: {\r\n ...load.poster.metaData,\r\n hiddenBroker: value,\r\n },\r\n },\r\n }\r\n : load;\r\n\r\nconst setFavoriteBroker = (load: Load, value: boolean) =>\r\n load.poster?.metaData\r\n ? {\r\n ...load,\r\n poster: {\r\n ...load.poster,\r\n metaData: {\r\n ...load.poster.metaData,\r\n favoriteBroker: value,\r\n },\r\n },\r\n }\r\n : load;\r\n\r\nconst setOnboarded = (load: Load, value: boolean) =>\r\n load.poster?.metaData\r\n ? {\r\n ...load,\r\n poster: {\r\n ...load.poster,\r\n metaData: {\r\n ...load.poster.metaData,\r\n onboarded: value,\r\n },\r\n },\r\n }\r\n : load;\r\n\r\nexport const updateLoad = (load: Load, update: LoadUpdate) => {\r\n if (\r\n update.category !== UpdateCategory.BLOCKED &&\r\n update.category !== UpdateCategory.FAVORITE &&\r\n update.category !== UpdateCategory.ONBOARDED &&\r\n update.loadID !== load.id\r\n ) {\r\n return load;\r\n }\r\n\r\n if (update.category === UpdateCategory.POSTED_PROGRESS) {\r\n const updatedLoad = createLoadPosterMetadata(load);\r\n if (updatedLoad && updatedLoad.posterMetadata) {\r\n updatedLoad.posterMetadata.progress = update.progress;\r\n\r\n if (update.dotNo) {\r\n updatedLoad.posterMetadata.assignedTo = { dotNo: update.dotNo };\r\n } else if (update.progress === PostedLoadProgress.Unassigned) {\r\n updatedLoad.posterMetadata.assignedTo = undefined;\r\n }\r\n if (update.progress === PostedLoadProgress.Assigned) {\r\n updatedLoad.status = LoadStatus.Offline;\r\n }\r\n }\r\n\r\n return updatedLoad;\r\n }\r\n const updatedLoad = createLoadMetadata(load);\r\n if (updatedLoad && updatedLoad.metadata && updatedLoad.metadata.userdata) {\r\n switch (update.category) {\r\n case UpdateCategory.SAVED:\r\n updatedLoad.metadata.userdata.isSaved = update.isSaved;\r\n break;\r\n case UpdateCategory.VIEWED:\r\n updatedLoad.metadata.userdata.isViewed = true;\r\n if (updatedLoad.poster && updatedLoad.poster.name === '' && update.poster) {\r\n updatedLoad.poster = update.poster;\r\n }\r\n break;\r\n case UpdateCategory.CALLED:\r\n updatedLoad.metadata.userdata.isCalled = update.isCalled;\r\n updatedLoad.metadata.userdata.isContacted = update.isCalled;\r\n break;\r\n case UpdateCategory.EMAILED:\r\n updatedLoad.metadata.userdata.isEmailed = update.isEmailed;\r\n updatedLoad.metadata.userdata.isContacted = update.isEmailed;\r\n break;\r\n case UpdateCategory.PROGRESS:\r\n updatedLoad.metadata.userdata.progress = update.progress;\r\n if (update.isSaved !== undefined) {\r\n updatedLoad.metadata.userdata.isSaved = !!update.isSaved;\r\n }\r\n break;\r\n case UpdateCategory.NOTE:\r\n updatedLoad.metadata.userdata.note = update.note;\r\n break;\r\n case UpdateCategory.PRIVATELOADNOTE:\r\n updatedLoad.metadata.userdata.privateLoadNote = update.privateLoadNote;\r\n break;\r\n case UpdateCategory.HIDDEN:\r\n updatedLoad.metadata.userdata.isHidden = update.isHidden;\r\n break;\r\n case UpdateCategory.BLOCKED:\r\n if (updatedLoad.poster && updatedLoad.poster.metaData && updatedLoad.poster.id === update.posterID) {\r\n updatedLoad.poster.metaData.hiddenBroker = update.isBlocked;\r\n }\r\n break;\r\n case UpdateCategory.STATUS:\r\n updatedLoad.status = update.status;\r\n break;\r\n case UpdateCategory.VENDOR_BID_SENT:\r\n updatedLoad.metadata.userdata.isContacted = true;\r\n if (updatedLoad.vendorInfo && update.bid) {\r\n updatedLoad.vendorInfo = { ...updatedLoad.vendorInfo, bid: update.bid };\r\n }\r\n break;\r\n case UpdateCategory.BOOK_NOW_SENT:\r\n if (update.errorCode === ApiErrorCode.BOOK_NOW_LOAD_UNAVAILABLE) {\r\n updatedLoad.status = LoadStatus.Offline;\r\n } else if (!update.errorCode) {\r\n updatedLoad.metadata.userdata.isContacted = true;\r\n updatedLoad.bookNow = update.bookNow;\r\n }\r\n break;\r\n case UpdateCategory.INITIAL_BID_SENT:\r\n if (updatedLoad.rateNegotiations) {\r\n updatedLoad.rateNegotiations.numberOfBids = updatedLoad.rateNegotiations.numberOfBids + 1;\r\n }\r\n break;\r\n case UpdateCategory.FAVORITE:\r\n return updateLoadFavoriteBrokers(updatedLoad, [{ id: update.posterID, value: update.isFavorited }]);\r\n case UpdateCategory.ONBOARDED:\r\n return updateLoadOnboarded(updatedLoad, [{ id: update.posterID, value: update.isOnboarded }]);\r\n case UpdateCategory.AGE:\r\n return updateLoadAge(updatedLoad, update.age);\r\n }\r\n }\r\n return updatedLoad;\r\n};\r\n\r\nconst createLoadMetadata = (load: Load) => {\r\n const updatedLoad = cloneDeep(load);\r\n if (updatedLoad) {\r\n if (!updatedLoad.metadata) {\r\n updatedLoad.metadata = {};\r\n }\r\n if (!updatedLoad.metadata.userdata) {\r\n updatedLoad.metadata.userdata = {\r\n isGone: false,\r\n isViewed: false,\r\n isLowPayRate: false,\r\n isHidden: false,\r\n isCalled: false,\r\n isEmailed: false,\r\n isMessaged: false,\r\n isContacted: false,\r\n isWrongInfo: false,\r\n isNotInterested: false,\r\n isSaved: false,\r\n };\r\n }\r\n }\r\n return updatedLoad;\r\n};\r\n\r\nconst createLoadPosterMetadata = (load: Load) => {\r\n const updatedLoad = cloneDeep(load);\r\n if (updatedLoad) {\r\n if (!updatedLoad.posterMetadata) {\r\n updatedLoad.posterMetadata = {\r\n progress: undefined,\r\n assignedTo: {\r\n dotNo: 0,\r\n },\r\n };\r\n }\r\n }\r\n return updatedLoad;\r\n};\r\n\r\nexport const updateLoadsListAfterBulkUpdate = (loads: Load[], update: LoadBulkUpdate): void => {\r\n let selectedLoads: Load[];\r\n if (update.isExcluded) {\r\n selectedLoads = filter(loads, (load) => !includes(update.loadIDs, load.id));\r\n } else {\r\n selectedLoads = filter(loads, (load) => includes(update.loadIDs, load.id));\r\n }\r\n switch (update.category) {\r\n case UpdateCategory.STATUS_BULK: {\r\n pullAll(loads, selectedLoads);\r\n break;\r\n }\r\n case UpdateCategory.PICKUP_DATES_BULK: {\r\n forEach(loads, (load) => {\r\n if (includes(selectedLoads, load)) {\r\n const { fetchedAt } = addLoadFetchedTime(Date.now())(load);\r\n\r\n load.pickupDates = correctAndDeduplicateDates(update.dates);\r\n load.age = 1;\r\n load.fetchedAt = fetchedAt;\r\n }\r\n });\r\n break;\r\n }\r\n case UpdateCategory.AGE_BULK: {\r\n forEach(loads, (load) => {\r\n if (includes(selectedLoads, load)) {\r\n const { fetchedAt } = addLoadFetchedTime(Date.now())(load);\r\n load.age = update.age;\r\n load.fetchedAt = fetchedAt;\r\n }\r\n });\r\n break;\r\n }\r\n }\r\n};\r\n\r\nexport const updateLoadsList = (loads: Load[], update: LoadUpdate): Load[] => {\r\n switch (update.category) {\r\n case UpdateCategory.HIDDEN:\r\n return removeLoadsMatchingID(loads, update.loadID);\r\n case UpdateCategory.BLOCKED:\r\n if (update.isBlocked && update.shouldRemoveLoad) {\r\n return filter(loads, (load) => !load.poster || load.poster.id !== update.posterID);\r\n }\r\n return updateBlockedBrokers(loads, [{ id: update.posterID, value: update.isBlocked }]);\r\n case UpdateCategory.FAVORITE:\r\n return map(loads, (load: Load) => {\r\n return updateLoadFavoriteBrokers(load, [{ id: update.posterID, value: update.isFavorited }]);\r\n });\r\n case UpdateCategory.ONBOARDED:\r\n return map(loads, (load: Load) => {\r\n return updateLoadOnboarded(load, [{ id: update.posterID, value: update.isOnboarded }]);\r\n });\r\n default:\r\n return map(loads, (load: Load) => {\r\n if (load.id === update.loadID) {\r\n return updateLoad(load, update);\r\n }\r\n return load;\r\n });\r\n }\r\n};\r\n\r\nexport const updateSimilarLoadsList = (loads: SimilarLoad[], update: LoadUpdate): SimilarLoad[] => {\r\n switch (update.category) {\r\n case UpdateCategory.HIDDEN:\r\n return removeSimilarLoadsMatchingID(loads, update.loadID);\r\n case UpdateCategory.BLOCKED:\r\n if (update.isBlocked && update.shouldRemoveLoad) {\r\n return filter(\r\n loads,\r\n (similarLoad) => !similarLoad.load.poster || similarLoad.load.poster.id !== update.posterID\r\n );\r\n }\r\n return updateSimilarLoadsBlockedBrokers(loads, [{ id: update.posterID, value: update.isBlocked }]);\r\n case UpdateCategory.FAVORITE:\r\n return map(loads, (similarLoad: SimilarLoad) => {\r\n const updatedLoad = updateLoadFavoriteBrokers(similarLoad.load, [\r\n { id: update.posterID, value: update.isFavorited },\r\n ]);\r\n if (updatedLoad !== similarLoad.load) {\r\n return { ...similarLoad, load: updatedLoad };\r\n }\r\n return similarLoad;\r\n });\r\n case UpdateCategory.ONBOARDED:\r\n return map(loads, (similarLoad: SimilarLoad) => {\r\n const updatedLoad = updateLoadOnboarded(similarLoad.load, [{ id: update.posterID, value: update.isOnboarded }]);\r\n if (updatedLoad !== similarLoad.load) {\r\n return { ...similarLoad, load: updatedLoad };\r\n }\r\n return similarLoad;\r\n });\r\n default:\r\n return map(loads, (similarLoad: SimilarLoad) => {\r\n if (similarLoad.load.id === update.loadID) {\r\n return {\r\n ...similarLoad,\r\n load: updateLoad(similarLoad.load, update),\r\n };\r\n }\r\n return similarLoad;\r\n });\r\n }\r\n};\r\n\r\nexport const isLoadViewed = (load: Load | undefined): boolean => load?.metadata?.userdata?.isViewed ?? false;\r\n\r\nexport const isLoadSaved = (load: Load | undefined): boolean => load?.metadata?.userdata?.isSaved ?? false;\r\n\r\nexport const isLoadHidden = (load: Load | undefined): boolean => load?.metadata?.userdata?.isHidden ?? false;\r\n\r\nexport const isLoadCalled = (load: Load | undefined): boolean => load?.metadata?.userdata?.isCalled ?? false;\r\n\r\nexport const doesNoteExist = (load: Load | undefined) => !!load?.metadata?.userdata?.note;\r\n\r\nexport const doesPrivateLoadNoteExist = (load: Load | undefined) => !!load?.metadata?.userdata?.privateLoadNote;\r\n\r\nexport const isLoadBooked = (load: Pick | undefined): boolean => {\r\n const progress = load?.metadata?.userdata?.progress;\r\n return !!progress && progress !== LoadProgress.LoadAvailable;\r\n};\r\n\r\nexport const isLoadEmailed = (load: Load | undefined): boolean => !!load?.metadata?.userdata?.isEmailed;\r\n\r\nexport const isLoadMessaged = (load: Load | undefined): boolean => !!load?.metadata?.userdata?.isMessaged;\r\n\r\nexport const isLoadBidSent = (load: Load | undefined): boolean =>\r\n !!(load?.rateNegotiations?.numberOfBids && load?.rateNegotiations?.numberOfBids > 0);\r\n\r\nexport const isLoadBookingRejected = (load: Load | undefined): boolean =>\r\n load?.bookNow?.bookingStatus === BookingStatus.Rejected;\r\n\r\nexport const getLoadMatchFrom = (load: Load | SimilarLoad): LoadMatch | undefined => {\r\n const possibleLoad = load as Load;\r\n if (possibleLoad.id !== undefined) {\r\n return {\r\n load: possibleLoad,\r\n nonMatching: {\r\n fields: [],\r\n equipments: [],\r\n },\r\n };\r\n }\r\n const similarLoad = load as SimilarLoad;\r\n if (similarLoad.load) {\r\n return similarLoad;\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const removeLoadsMatchingID = (loads: Load[] | undefined, loadID: string): Load[] =>\r\n filter(loads, (load: Load) => !isEqual(load.id, loadID));\r\nexport const removeSimilarLoadsMatchingID = (loads: SimilarLoad[] | undefined, loadID: string): SimilarLoad[] =>\r\n filter(loads, (load: SimilarLoad) => !isEqual(load.load.id, loadID));\r\n\r\nexport const getLoadBrokerStatus = (\r\n load: Load | undefined\r\n): { isFavorite: boolean; isBlocked: boolean; onboarded: boolean } => {\r\n let isFavorite = false;\r\n let isBlocked = false;\r\n let isOnboarded = false;\r\n if (load && load.poster && load.poster.metaData) {\r\n isFavorite = load.poster.metaData.favoriteBroker;\r\n isBlocked = load.poster.metaData.hiddenBroker;\r\n isOnboarded = load.poster.metaData.onboarded;\r\n }\r\n return { isFavorite: isFavorite, isBlocked: isBlocked, onboarded: isOnboarded };\r\n};\r\n\r\nexport const isBrokerFavorite = (load: Load | undefined): boolean => {\r\n if (load && load.poster && load.poster.metaData) {\r\n return load.poster.metaData.favoriteBroker;\r\n }\r\n return false;\r\n};\r\n\r\nexport const isOnboarded = (load: Load | undefined): boolean => {\r\n if (load && load.poster && load.poster.metaData) {\r\n return load.poster.metaData.onboarded;\r\n }\r\n return false;\r\n};\r\n\r\nexport const isBrokerBlocked = (load: Load | undefined): boolean => {\r\n if (load && load.poster && load.poster.metaData) {\r\n return load.poster.metaData.hiddenBroker;\r\n }\r\n return false;\r\n};\r\n\r\nconst isMatching = (field: T, nonMatchingFields: T[] | undefined): boolean => !includes(nonMatchingFields, field);\r\n\r\nexport const isMatchingField = (field: LoadFields, nonMatching: NonMatchingLoad | undefined) =>\r\n isMatching(field, nonMatching?.fields);\r\n\r\nexport const isMatchingEquipment = (equipment: EquipmentType, nonMatching: NonMatchingLoad | undefined) =>\r\n isMatching(equipment, nonMatching?.equipments);\r\n\r\nexport const similarLoadsFrom = (response: SimilarLoadSearchResponse): SimilarLoad[] => {\r\n const now = Date.now();\r\n return map(response.loads, (load, index) => {\r\n const nonMatching: NonMatchingLoad = nth(response.nonMatchingFields, index) ?? {\r\n fields: [],\r\n equipments: [],\r\n };\r\n return {\r\n load: addLoadFetchedTime(now)(load),\r\n nonMatching: nonMatching,\r\n };\r\n });\r\n};\r\n\r\nexport const loadGeolocationFrom = (\r\n geolocation: Geolocation,\r\n reversedGeolocation: ReverseGeolocationResult\r\n): LoadGeolocation => ({\r\n type: LocationType.GEOLOCATION,\r\n latitude: geolocation.latitude,\r\n longitude: geolocation.longitude,\r\n city: reversedGeolocation.city,\r\n states: reversedGeolocation.stateShortName ? [reversedGeolocation.stateShortName] : undefined,\r\n});\r\n\r\nexport const isPosterBlocked = (load: Load | undefined, posters: UserDataCompany[]) => {\r\n if (load && load.poster) {\r\n return findIndex(posters, (poster) => poster.id === load.poster?.id) >= 0;\r\n }\r\n return false;\r\n};\r\n\r\nconst getMatchingUpdatedCompanyValue = (load: Load, posters: Array>): boolean | undefined => {\r\n if (load.poster) {\r\n const matchingUpdatedCompanyValue = find(posters, (poster) => poster.id === load.poster?.id);\r\n if (matchingUpdatedCompanyValue) {\r\n return matchingUpdatedCompanyValue.value;\r\n }\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const isLoadAvailable = (load: Load | undefined): boolean => load?.status === LoadStatus.Online;\r\n\r\nexport const addLoadFetchedTime = (now: number) => (load: Load) => ({ ...load, fetchedAt: Math.floor(now / 1000) });\r\n\r\nexport const addFetchedTime = (loads: Load[]): Load[] => {\r\n const now = Date.now();\r\n return map(loads, addLoadFetchedTime(now));\r\n};\r\n\r\nexport const loadComputedAge = (load: Load, currentTime: number): number | undefined => {\r\n if (isNil(load.age) || !load.fetchedAt) {\r\n return undefined;\r\n }\r\n return load.age + (Math.floor(currentTime / 1000) - load.fetchedAt);\r\n};\r\n\r\nexport const loadComputedLastRefreshedAge = (load: Load, currentTime: number): number | undefined => {\r\n if (!load.lastRefreshed || !load.dateIsRefreshed) {\r\n return undefined;\r\n }\r\n const lastRefreshedLocal = serverGMTRFCToLocalTZ(load.lastRefreshed);\r\n const lastRefreshedTime = lastRefreshedLocal.valueOf();\r\n\r\n return Math.floor((currentTime - lastRefreshedTime) / 1000);\r\n};\r\n\r\nexport const isLoadNew = (load: Load, currentTime: number) =>\r\n isNewLoadPrivate(load, () => loadComputedAge(load, currentTime));\r\n\r\nexport const isLoadNewWithAge = (load: Load, age: number | undefined) => isNewLoadPrivate(load, () => age);\r\n\r\nconst isNewLoadPrivate = (load: Load, getAge: () => number | undefined) => {\r\n if (!!load.isFromAutorefresh && isLoadAvailable(load) && !isLoadViewed(load)) {\r\n const age = getAge();\r\n return !isUndefined(age) && age < NEW_LOAD_SECONDS_THRESHOLD;\r\n }\r\n return false;\r\n};\r\n\r\n/** Flat Rate Amount is the total amount.\r\n * returns undefined if there is no amount defined on the load\r\n */\r\nexport const getFlatRateAmount = (load: Pick): number | undefined => {\r\n const { rate, mileage, computedMileage } = load;\r\n\r\n if (rate === undefined || rate.amount === undefined || rate.amount === 0) {\r\n return undefined;\r\n }\r\n\r\n if (rate.type === PayRateUnit.PerMile) {\r\n // use broker set mileage, if it is missing or 0 use pc miler's provided mileage\r\n if (mileage) {\r\n return rate.amount * mileage;\r\n }\r\n return computedMileage ? rate.amount * computedMileage : undefined;\r\n }\r\n\r\n return rate.amount;\r\n};\r\n\r\nexport const getPricePerMileRate = (load: Load): number | undefined => {\r\n if (load.pricePerMile) {\r\n return load.pricePerMile;\r\n }\r\n const rate = load.rate;\r\n if (rate === undefined) {\r\n return undefined;\r\n }\r\n\r\n if (rate.amount === undefined || rate.amount === 0) {\r\n return undefined;\r\n }\r\n\r\n if (rate.type === PayRateUnit.PerMile) {\r\n return rate.amount;\r\n }\r\n if (load.computedMileage === undefined || load.computedMileage === 0) {\r\n return undefined;\r\n }\r\n return rate.amount / load.computedMileage;\r\n};\r\n\r\nexport const getLoadProgress = (currentLoad: Load | undefined): LoadProgress => {\r\n if (currentLoad && currentLoad.metadata && currentLoad.metadata.userdata && currentLoad.metadata.userdata.progress) {\r\n return getProgressWithoutExcludedStatuses(currentLoad.metadata.userdata.progress);\r\n }\r\n return LoadProgress.LoadAvailable;\r\n};\r\n\r\n//it was added because of existing in database loads with excluded progress statuses\r\nexport const getProgressWithoutExcludedStatuses = (progress: LoadProgress): LoadProgress => {\r\n switch (progress) {\r\n case LoadProgress.LoadEnRoute:\r\n return LoadProgress.PickupComplete;\r\n case LoadProgress.ScheduledForPickup:\r\n return LoadProgress.Booked;\r\n default:\r\n return progress;\r\n }\r\n};\r\n\r\nexport const getNote = (load: Load) =>\r\n load.metadata && load.metadata.userdata && load.metadata.userdata.note ? load.metadata.userdata.note : '';\r\n\r\nexport const getPrivateLoadNote = (load: Load) =>\r\n load.metadata && load.metadata.userdata && load.metadata.userdata.privateLoadNote\r\n ? load.metadata.userdata.privateLoadNote\r\n : '';\r\n\r\nexport const getRefreshRate = (load: Load, time: number): number => {\r\n const age = loadComputedAge(load, time);\r\n // If there are no loads return an arbitrary high number\r\n if (isUndefined(age)) {\r\n return ONE_HOUR_IN_SECONDS;\r\n }\r\n // Refresh once a second when there are any loads under a minute in age\r\n if (age < ONE_MINUTE_IN_SECONDS) {\r\n return ONE_SECOND;\r\n }\r\n if (age < ONE_HOUR_IN_SECONDS) {\r\n return ONE_MINUTE_IN_SECONDS;\r\n }\r\n return ONE_HOUR_IN_SECONDS;\r\n};\r\n\r\n/** Changes pickupDateTimes and deliveryDateTime to have no time if value is midnight.\r\n * Does not modify the Load passed in parameter.\r\n */\r\nexport const removeLoadDatesTimesIfMidnight = (load: Load): Load => ({\r\n ...load,\r\n pickupDateTime: stripTimeIfMidnight(load.pickupDateTime),\r\n pickupDateTimes: compact(map(load.pickupDateTimes, (dateTime) => stripTimeIfMidnight(dateTime))),\r\n deliveryDateTime: stripTimeIfMidnight(load.deliveryDateTime),\r\n});\r\n\r\n/** API-3330 \"fixed\" dates centrally but then broke the UI in various places. This will detect the presence of the fix and\r\n * \"revert\" the pickup/delivery Date times. Once the API is fixed this will have no effect. Remove when API fully deployed. [BP]\r\n */\r\nexport const hackToRevertAPI3330 = (load: Load): Load => {\r\n if (load.pickupDateTime && extractTimeFromDateTimeIfPresent(load.pickupDateTime)?.startsWith('16:')) {\r\n const remove4Hours = (dateTime: string): string => {\r\n const momentDate = parseMomentDate(dateTime, 'ddd, DD MMM YYYY HH:mm:SS');\r\n if (momentDate === undefined) {\r\n // issue parsing: pass through, do nothing.\r\n return dateTime;\r\n }\r\n momentDate.add(-4, 'hour');\r\n return `${momentDate.format('ddd, DD MMM YYYY HH:mm:SS')} GMT`; // replicate server format\r\n };\r\n\r\n return {\r\n ...load,\r\n pickupDateTime: remove4Hours(load.pickupDateTime),\r\n pickupDateTimes: map(load.pickupDateTimes, (dateTime) => remove4Hours(dateTime)),\r\n deliveryDateTime:\r\n load.deliveryDateTime == undefined ? load.deliveryDateTime : remove4Hours(load.deliveryDateTime),\r\n };\r\n }\r\n\r\n return load;\r\n};\r\n\r\nexport const isWithManualPostedExtraStops = (\r\n extraStops: LoadExtraStop[] | undefined,\r\n numberOfStops: number | undefined\r\n): boolean => {\r\n if (numberOfStops === undefined || numberOfStops === 0) {\r\n return false;\r\n }\r\n if (isEmpty(extraStops) || extraStops === undefined) {\r\n return numberOfStops > 1;\r\n } else {\r\n return numberOfStops - extraStops.length > 0;\r\n }\r\n};\r\n\r\nexport const getRevenue = (load: Load, linehaulRevenue?: number) => {\r\n const flatAmount = getFlatRateAmount(load);\r\n if (!flatAmount) {\r\n return linehaulRevenue;\r\n }\r\n return flatAmount;\r\n};\r\n","import { DisplayOption } from '@common/helper/InterfaceHelper';\r\n\r\nexport type RegionsList = DisplayOption[];\r\n\r\nexport const CanadaRegionOptions: RegionsList = [\r\n {\r\n displayValue: 'RE (NB, NL, NS, PE)',\r\n value: ['NB', 'NL', 'NS', 'PE'],\r\n key: 'RE',\r\n id: 'RE',\r\n },\r\n {\r\n displayValue: 'RC (ON, QC)',\r\n value: ['ON', 'QC'],\r\n key: 'RC',\r\n id: 'RC',\r\n },\r\n {\r\n displayValue: 'RW (AB, BC, MB, SK)',\r\n value: ['AB', 'BC', 'MB', 'SK'],\r\n key: 'RW',\r\n id: 'RW',\r\n },\r\n {\r\n displayValue: 'RN (YT, NT, NU)',\r\n value: ['YT', 'NT', 'NU'],\r\n key: 'RN',\r\n id: 'RN',\r\n },\r\n];\r\n\r\nexport const USARegionOptions: RegionsList = [\r\n {\r\n displayValue: 'R0 (CT, ME, MA, NH, NJ, RI, VT)',\r\n value: ['CT', 'ME', 'MA', 'NH', 'NJ', 'RI', 'VT'],\r\n key: 'R0',\r\n id: 'R0',\r\n },\r\n {\r\n displayValue: 'R1 (DE, NY, PA)',\r\n value: ['DE', 'NY', 'PA'],\r\n key: 'R1',\r\n id: 'R1',\r\n },\r\n {\r\n displayValue: 'R2 (MD, NC, SC, VA, WV)',\r\n value: ['MD', 'NC', 'SC', 'VA', 'WV'],\r\n key: 'R2',\r\n id: 'R2',\r\n },\r\n {\r\n displayValue: 'R3 (AL, FL, GA, MS, TN)',\r\n value: ['AL', 'FL', 'GA', 'MS', 'TN'],\r\n key: 'R3',\r\n id: 'R3',\r\n },\r\n {\r\n displayValue: 'R4 (IN, KY, MI, OH)',\r\n value: ['IN', 'KY', 'MI', 'OH'],\r\n key: 'R4',\r\n id: 'R4',\r\n },\r\n {\r\n displayValue: 'R5 (IA, MN, MT, ND, SD, WI)',\r\n value: ['IA', 'MN', 'MT', 'ND', 'SD', 'WI'],\r\n key: 'R5',\r\n id: 'R5',\r\n },\r\n {\r\n displayValue: 'R6 (IL, KS, MO, NE)',\r\n value: ['IL', 'KS', 'MO', 'NE'],\r\n key: 'R6',\r\n id: 'R6',\r\n },\r\n {\r\n displayValue: 'R7 (AR, LA, OK, TX)',\r\n value: ['AR', 'LA', 'OK', 'TX'],\r\n key: 'R7',\r\n id: 'R7',\r\n },\r\n {\r\n displayValue: 'R8 (AZ, CO, ID, NV, NM, UT, WY)',\r\n value: ['AZ', 'CO', 'ID', 'NV', 'NM', 'UT', 'WY'],\r\n key: 'R8',\r\n id: 'R8',\r\n },\r\n {\r\n displayValue: 'R9 (CA, OR, WA, AK)',\r\n value: ['CA', 'OR', 'WA', 'AK'],\r\n key: 'R9',\r\n id: 'R9',\r\n },\r\n];\r\n\r\nexport const UsaAndCanadaRegionOptions = [...USARegionOptions, ...CanadaRegionOptions];\r\n","import { produce } from 'immer';\r\nimport { filter, isEmpty, map, sortBy, split, toNumber, toUpper, trim } from 'lodash';\r\n\r\nimport {\r\n CREDIT_RATING_ANY,\r\n CREDIT_RATING_DAYS_TO_PAY_ANY,\r\n isCreditRatingAny,\r\n isCreditRatingDaysToPayAny,\r\n isPostedDateAny,\r\n POSTED_AGE_MINUTES,\r\n} from '@common/helper/CreditRatingHelper';\r\nimport { serverRFCDateToYYYYMMDD } from '@common/helper/DateHelper';\r\nimport { FilterType, REFRESHED_AGE_FILTER, SearchFilter } from '@common/helper/FilterHelper';\r\nimport {\r\n shouldClearLoadLocationRadius,\r\n shouldClearOriginRadius,\r\n shouldUpdateDestinationRadius,\r\n shouldUpdateOriginRadius,\r\n} from '@common/helper/LocationHelper';\r\nimport { isTripLengthAny, TRIP_LENGTH_ANY } from '@common/helper/SearchHelper';\r\nimport { LocationType, MAX_PLUS_TRUCK_LENGTH, MAX_PLUS_TRUCK_WEIGHT, NearbyLoadsSettings } from '@common/model';\r\nimport { EquipmentSpecification, EquipmentType } from '@common/model/Equipment';\r\nimport { LoadSize } from '@common/model/Load';\r\nimport {\r\n ANYWHERE_LOCATION,\r\n BaseLoadSearchRequest,\r\n CompanyFilterType,\r\n DEFAULT_LOAD_SEARCH_FIELDS,\r\n DEFAULT_LOAD_SEARCH_RADIUS,\r\n EMPTY_ORIGIN_LOCATION,\r\n INITIAL_SEARCH_LIMIT,\r\n LoadLocation,\r\n LoadLocationZip,\r\n LoadSearchMetadata,\r\n LoadSearchRequest,\r\n OriginLocation,\r\n PersistentLoadSearchDef,\r\n SearchMetadataType,\r\n} from '@common/model/LoadSearchRequest';\r\nimport { LoadSearchSettings } from '@common/model/LoadSearchSettings';\r\nimport { LoadSearchSort } from '@common/model/LoadSearchSort';\r\n\r\nexport const createLoadSearchMetadata = (metadata?: Partial): LoadSearchMetadata => ({\r\n type: SearchMetadataType.Regular,\r\n limit: INITIAL_SEARCH_LIMIT,\r\n fields: DEFAULT_LOAD_SEARCH_FIELDS,\r\n ...(metadata ?? {}),\r\n});\r\n\r\nconst createDefaultBaseLoadSearchRequest = (): BaseLoadSearchRequest => ({\r\n destination: ANYWHERE_LOCATION,\r\n pickupDates: [],\r\n includeLoadsWithoutLength: true,\r\n includeLoadsWithoutWeight: true,\r\n metadata: createLoadSearchMetadata(),\r\n});\r\n\r\nexport const createDefaultLoadSearchRequest = (): LoadSearchRequest => ({\r\n origin: EMPTY_ORIGIN_LOCATION,\r\n ...createDefaultBaseLoadSearchRequest(),\r\n});\r\n\r\nexport const resetMetadata = (searchRequest: LoadSearchRequest): LoadSearchRequest => ({\r\n ...searchRequest,\r\n metadata: createLoadSearchMetadata({ sortBy: searchRequest.metadata.sortBy }),\r\n});\r\n\r\nexport const addLoadSearchFields = (request: T): T =>\r\n produce(request, (newRequest) => {\r\n newRequest.metadata.fields = DEFAULT_LOAD_SEARCH_FIELDS;\r\n });\r\n\r\nexport const withSorting = (searchRequest: LoadSearchRequest, sortBy?: LoadSearchSort): LoadSearchRequest => {\r\n const currentSortBy = searchRequest.metadata?.sortBy;\r\n if (currentSortBy?.direction !== sortBy?.direction || currentSortBy?.field !== sortBy?.field) {\r\n return {\r\n ...searchRequest,\r\n metadata: {\r\n ...searchRequest.metadata,\r\n sortBy: sortBy && {\r\n direction: sortBy.direction,\r\n field: sortBy.field,\r\n },\r\n },\r\n };\r\n }\r\n return searchRequest;\r\n};\r\n\r\nexport const withFilterSelection = (\r\n searchRequest: LoadSearchRequest,\r\n filterType: FilterType,\r\n isSelected: boolean\r\n): LoadSearchRequest => {\r\n const updatedSearchRequest = normalizedSearchRequest(searchRequest);\r\n\r\n switch (filterType) {\r\n case FilterType.OnboardedCompanies:\r\n return {\r\n ...updatedSearchRequest,\r\n isOnboarded: isSelected || undefined,\r\n company: {\r\n ...updatedSearchRequest.company,\r\n isOnboarded: isSelected || undefined,\r\n types: CompanyFilterType.All,\r\n },\r\n };\r\n case FilterType.FavoriteCompanies:\r\n return { ...updatedSearchRequest, isFavoriteBroker: isSelected || undefined };\r\n case FilterType.CreditRating: {\r\n return {\r\n ...updatedSearchRequest,\r\n minTransCreditRating: isSelected\r\n ? (updatedSearchRequest.minTransCreditRating ?? CREDIT_RATING_ANY.minTransCreditRating)\r\n : undefined,\r\n maxTransCreditRating: isSelected\r\n ? (updatedSearchRequest.maxTransCreditRating ?? CREDIT_RATING_ANY.maxTransCreditRating)\r\n : undefined,\r\n };\r\n }\r\n case FilterType.DaysToPay: {\r\n return {\r\n ...updatedSearchRequest,\r\n minTransCreditDaysToPay: isSelected\r\n ? (updatedSearchRequest.minTransCreditDaysToPay ?? CREDIT_RATING_DAYS_TO_PAY_ANY.minTransCreditDaysToPay)\r\n : undefined,\r\n maxTransCreditDaysToPay: isSelected\r\n ? (updatedSearchRequest.maxTransCreditDaysToPay ?? CREDIT_RATING_DAYS_TO_PAY_ANY.maxTransCreditDaysToPay)\r\n : undefined,\r\n };\r\n }\r\n case FilterType.TripLength: {\r\n return {\r\n ...updatedSearchRequest,\r\n minMileage: isSelected ? (updatedSearchRequest.minMileage ?? TRIP_LENGTH_ANY.minMileage) : undefined,\r\n maxMileage: isSelected ? (updatedSearchRequest.maxMileage ?? TRIP_LENGTH_ANY.maxMileage) : undefined,\r\n };\r\n }\r\n case FilterType.Shipper:\r\n return {\r\n ...updatedSearchRequest,\r\n company: {\r\n ...updatedSearchRequest.company,\r\n types: isSelected ? CompanyFilterType.Shipper : CompanyFilterType.All,\r\n },\r\n };\r\n case FilterType.TrailerSpecifications:\r\n return {\r\n ...updatedSearchRequest,\r\n equipmentSpecifications: isSelected ? (updatedSearchRequest.equipmentSpecifications ?? '') : undefined,\r\n };\r\n case FilterType.PostedAge:\r\n return {\r\n ...updatedSearchRequest,\r\n minAge: isSelected ? (updatedSearchRequest.minAge ?? POSTED_AGE_MINUTES.minAge) : undefined,\r\n maxAge: isSelected ? (updatedSearchRequest.maxAge ?? POSTED_AGE_MINUTES.maxAge) : undefined,\r\n };\r\n case FilterType.RefreshedAge:\r\n return {\r\n ...updatedSearchRequest,\r\n minutesSinceRefreshedMax: isSelected\r\n ? (updatedSearchRequest.minutesSinceRefreshedMax ?? toNumber(REFRESHED_AGE_FILTER.THIRTY_MINUTES))\r\n : undefined,\r\n };\r\n case FilterType.Commodity:\r\n return { ...updatedSearchRequest, hasCommodity: isSelected || undefined };\r\n case FilterType.PostedRate:\r\n return { ...updatedSearchRequest, hasRate: isSelected || undefined };\r\n case FilterType.TeamDrivers:\r\n return { ...updatedSearchRequest, hasTeam: isSelected || undefined };\r\n case FilterType.Tl:\r\n return { ...updatedSearchRequest, loadSize: isSelected ? LoadSize.TL : undefined };\r\n case FilterType.Ltl:\r\n return { ...updatedSearchRequest, loadSize: isSelected ? LoadSize.LTL : undefined };\r\n case FilterType.WithWeight:\r\n return {\r\n ...updatedSearchRequest,\r\n includeLoadsWithoutWeight: !isSelected,\r\n };\r\n case FilterType.WithLength:\r\n return {\r\n ...updatedSearchRequest,\r\n includeLoadsWithoutLength: !isSelected,\r\n };\r\n case FilterType.WithBidding:\r\n return {\r\n ...updatedSearchRequest,\r\n hasBidding: isSelected || undefined,\r\n };\r\n case FilterType.WithMessaging:\r\n return {\r\n ...updatedSearchRequest,\r\n hasMessaging: isSelected || undefined,\r\n };\r\n default:\r\n return updatedSearchRequest;\r\n }\r\n};\r\n\r\nexport const withoutFilter = (searchRequest: LoadSearchRequest, filterType: FilterType) =>\r\n withFilterSelection(searchRequest, filterType, false);\r\n\r\nexport const withFilters = (searchRequest: LoadSearchRequest, searchFilter: SearchFilter): LoadSearchRequest => {\r\n const isCreditRatingAnyValue = isCreditRatingAny(\r\n searchFilter.minTransCreditRating,\r\n searchFilter.maxTransCreditRating\r\n );\r\n const isCreditRatingDaysToPayAnyValue = isCreditRatingDaysToPayAny(\r\n searchFilter.minTransCreditDaysToPay,\r\n searchFilter.maxTransCreditDaysToPay\r\n );\r\n const isTripLengthAnyValue = isTripLengthAny(searchFilter.minMileage, searchFilter.maxMileage);\r\n const isPostedDateAnyValue = isPostedDateAny(searchFilter.minAge, searchFilter.maxAge);\r\n\r\n return {\r\n ...searchRequest,\r\n ...searchFilter,\r\n saveAsRecentSearch: false,\r\n metadata: searchRequest.metadata, // FIXME: searchFilter can contain metadata.\r\n equipmentSpecifications: isEmpty(searchFilter.equipmentSpecifications)\r\n ? undefined\r\n : searchFilter.equipmentSpecifications,\r\n minTransCreditRating: isCreditRatingAnyValue ? undefined : searchFilter.minTransCreditRating,\r\n maxTransCreditRating: isCreditRatingAnyValue ? undefined : searchFilter.maxTransCreditRating,\r\n minTransCreditDaysToPay: isCreditRatingDaysToPayAnyValue ? undefined : searchFilter.minTransCreditDaysToPay,\r\n maxTransCreditDaysToPay: isCreditRatingDaysToPayAnyValue ? undefined : searchFilter.maxTransCreditDaysToPay,\r\n minMileage: isTripLengthAnyValue ? undefined : searchFilter.minMileage,\r\n maxMileage: isTripLengthAnyValue ? undefined : searchFilter.maxMileage,\r\n minAge: isPostedDateAnyValue ? undefined : searchFilter.minAge,\r\n maxAge: isPostedDateAnyValue ? undefined : searchFilter.maxAge,\r\n };\r\n};\r\n\r\nexport const addRadius = (\r\n searchRequest: LoadSearchRequest,\r\n settings: LoadSearchSettings | undefined = undefined\r\n): LoadSearchRequest =>\r\n produce(searchRequest, (draft) => {\r\n // Origin radius\r\n if (shouldClearOriginRadius(draft.origin)) {\r\n draft.origin.radius = undefined;\r\n }\r\n if (shouldUpdateOriginRadius(draft.origin)) {\r\n draft.origin.radius = settings?.origRadius || DEFAULT_LOAD_SEARCH_RADIUS;\r\n }\r\n // Destination radius\r\n if (shouldClearLoadLocationRadius(draft.destination)) {\r\n draft.destination.radius = undefined;\r\n }\r\n if (shouldUpdateDestinationRadius(draft.destination)) {\r\n draft.destination.radius = settings?.destRadius || DEFAULT_LOAD_SEARCH_RADIUS;\r\n }\r\n });\r\n\r\nexport const withoutNextToken = (searchRequest: LoadSearchRequest): LoadSearchRequest => {\r\n if (searchRequest.metadata?.nextToken) {\r\n return {\r\n ...searchRequest,\r\n metadata: {\r\n ...searchRequest.metadata,\r\n nextToken: undefined,\r\n },\r\n };\r\n }\r\n return searchRequest;\r\n};\r\n\r\nexport const withLimit = (searchRequest: LoadSearchRequest, limit: number): LoadSearchRequest => {\r\n if (searchRequest.metadata?.limit !== limit) {\r\n return {\r\n ...searchRequest,\r\n metadata: {\r\n ...searchRequest.metadata,\r\n limit: limit,\r\n },\r\n };\r\n }\r\n return searchRequest;\r\n};\r\n\r\nexport const withNearbyLoadsSettings = (\r\n searchRequest: LoadSearchRequest,\r\n settings: NearbyLoadsSettings | undefined\r\n): LoadSearchRequest => {\r\n const withSettings = () => {\r\n if (settings) {\r\n const equipmentTypes = settings.equipmentTypes ?? searchRequest.equipmentTypes;\r\n const length = settings.length === MAX_PLUS_TRUCK_LENGTH ? undefined : settings.length;\r\n const weight = settings.weight === MAX_PLUS_TRUCK_WEIGHT ? undefined : settings.weight;\r\n if (\r\n searchRequest.equipmentTypes !== equipmentTypes ||\r\n searchRequest.length !== length ||\r\n searchRequest.weight !== weight\r\n ) {\r\n return {\r\n ...searchRequest,\r\n equipmentTypes: equipmentTypes,\r\n length: length,\r\n weight: weight,\r\n };\r\n }\r\n }\r\n return searchRequest;\r\n };\r\n return withFilteredEquipmentTypes(withSettings());\r\n};\r\n\r\nexport const withOriginAndDestination = (\r\n searchRequest: LoadSearchRequest,\r\n origin: OriginLocation | undefined,\r\n destination: LoadLocation | undefined\r\n): LoadSearchRequest =>\r\n origin && destination && (searchRequest.origin !== origin || searchRequest.destination !== destination)\r\n ? {\r\n ...searchRequest,\r\n origin: origin,\r\n destination: destination,\r\n }\r\n : searchRequest;\r\n\r\nexport const metadataWithLimit = (metadata: LoadSearchMetadata, limit: number): LoadSearchMetadata => {\r\n if (metadata.limit !== limit) {\r\n return {\r\n ...metadata,\r\n limit: limit,\r\n };\r\n }\r\n return metadata;\r\n};\r\n\r\nexport const intermediateRequest = (searchRequest: LoadSearchRequest): LoadSearchRequest => {\r\n // \"saveAsRecentSearch\" is default true on the server, but no longer required for named-searches (LB-1285)\r\n return { ...searchRequest, saveAsRecentSearch: false };\r\n};\r\n\r\nconst withFilteredEquipmentTypes = (searchRequest: LoadSearchRequest): LoadSearchRequest => {\r\n const equipmentTypes =\r\n searchRequest.equipmentTypes && searchRequest.equipmentTypes[0] === EquipmentType.All\r\n ? []\r\n : searchRequest.equipmentTypes;\r\n\r\n if (searchRequest.equipmentTypes !== equipmentTypes) {\r\n return {\r\n ...searchRequest,\r\n equipmentTypes: equipmentTypes,\r\n };\r\n }\r\n return searchRequest;\r\n};\r\n\r\nconst normalizedSearchRequest = (searchRequest: LoadSearchRequest): LoadSearchRequest => ({\r\n ...searchRequest,\r\n loadSize:\r\n searchRequest.loadSize && searchRequest.loadSize !== LoadSize.None\r\n ? (toUpper(searchRequest.loadSize) as LoadSize)\r\n : undefined,\r\n equipmentSpecifications:\r\n searchRequest.equipmentSpecifications !== EquipmentSpecification.None\r\n ? searchRequest.equipmentSpecifications\r\n : undefined,\r\n});\r\n\r\nexport const createApplyFilterRequest = (\r\n searchRequest: LoadSearchRequest,\r\n searchFilter: SearchFilter\r\n): LoadSearchRequest => resetMetadata(withFilters(searchRequest, searchFilter));\r\n\r\nexport const createCancelFilterRequest = (\r\n searchRequest: LoadSearchRequest,\r\n filterType: FilterType\r\n): LoadSearchRequest => resetMetadata(withoutFilter(searchRequest, filterType));\r\n\r\nconst zipCodeNormalize = (origin: OriginLocation): OriginLocation => {\r\n if (origin.type !== LocationType.ZIP) {\r\n return origin;\r\n }\r\n const newZipOrigin: LoadLocationZip = origin;\r\n //Match canadian ZIP code without space between 3-symbol parts\r\n const zipCodePattern = /^\\s*([A-Za-z][0-9][A-Za-z])([0-9][A-Za-z][0-9])\\s*$/;\r\n const spacelessCanadianZip = zipCodePattern.exec(origin.zipCode);\r\n\r\n if (spacelessCanadianZip) {\r\n newZipOrigin.zipCode = `${spacelessCanadianZip[1]} ${spacelessCanadianZip[2]}`;\r\n }\r\n return newZipOrigin;\r\n};\r\n\r\nexport const createRequestFromLoadSearchSettings = (search: PersistentLoadSearchDef): LoadSearchRequest => {\r\n const loadSize = toUpper(search.loadSize);\r\n return {\r\n origin: zipCodeNormalize(search.origin),\r\n destination: search.destination,\r\n equipmentTypes: search.equipmentTypes\r\n ? filter(\r\n filter(\r\n map(map(split(search.equipmentTypes, ','), trim), (str) => EquipmentType[str as keyof typeof EquipmentType])\r\n ),\r\n (loadType) => loadType !== EquipmentType.All\r\n )\r\n : undefined,\r\n metadata: createLoadSearchMetadata({ sortBy: search.sortBy }),\r\n weight: search.weight,\r\n length: search.length,\r\n minWeight: search.minWeight,\r\n minLength: search.minLength,\r\n pickupDates: sortBy(map(search.pickupDates, (date) => serverRFCDateToYYYYMMDD(date))),\r\n loadSize: loadSize === LoadSize.LTL || loadSize === LoadSize.TL ? loadSize : undefined,\r\n includeLoadsWithoutLength: search.includeLoadsWithoutLength,\r\n includeLoadsWithoutWeight: search.includeLoadsWithoutWeight,\r\n isFavoriteBroker: search.isFavoriteBroker,\r\n isOnboarded: search.isOnboarded,\r\n maxMileage: search.maxMileage,\r\n minMileage: search.minMileage,\r\n };\r\n};\r\n\r\nexport const prepareNearbyLoadsSearchRequest = (searchRequest: LoadSearchRequest) => ({\r\n ...searchRequest,\r\n loadSize: undefined,\r\n minLength: searchRequest.minLength ?? 0,\r\n minWeight: searchRequest.minWeight ?? 0,\r\n});\r\n","import { capitalize, findKey, first, map, reduce, split, toString, trim } from 'lodash';\r\n\r\nimport { displayCurrencyOrNothing, NO_INFORMATION_SYMBOL } from '@common/formatter';\r\nimport { secondsToTimeObject } from '@common/helper/DateHelper';\r\nimport { EquipmentTypeString, mapEquipmentsTypeToCode } from '@common/helper/EquipmentHelper';\r\nimport { getPricePerMileRate } from '@common/helper/LoadHelper';\r\nimport { formatNumber } from '@common/helper/NumberHelper';\r\nimport {\r\n DestLocation,\r\n EquipmentType,\r\n Load,\r\n LoadLocation,\r\n LoadSearchRequest,\r\n LocationType,\r\n MAX_LOAD_SEARCH_TRUCK_WEIGHT,\r\n MAX_PLUS_TRUCK_LENGTH,\r\n MAX_TRUCK_LENGTH,\r\n MAX_TRUCK_WEIGHT,\r\n MIN_LOAD_SEARCH_TRUCK_LENGTH,\r\n MIN_LOAD_SEARCH_TRUCK_WEIGHT,\r\n OriginLocation,\r\n} from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\nexport const CURRENT_LOCATION_TEXT = t(T.loadGeneric_currentLocation);\r\n\r\n/** @TODO / REMOVE ME : The name is not descriptive enough, I would infer that it merely converts undefined to empty string or to zero.\r\n * This will show a dash if the number is zero (intended??). It is not clear at all.\r\n * @deprecated use `formatNumberOrDash(treatZeroAsUndefined(num))` instead.\r\n */\r\nexport const stringifyNumber = (num: number | undefined): string => {\r\n if (num) {\r\n return formatNumber(num);\r\n }\r\n return NO_INFORMATION_SYMBOL;\r\n};\r\n\r\n/** @param units will be appended only if number is not undefined */\r\nexport const formatNumberOrDash = (num: number | undefined, units: string = ''): string =>\r\n num === undefined ? NO_INFORMATION_SYMBOL : formatNumber(num) + units;\r\n\r\nexport const formatStringOrDash = (value: string | undefined): string =>\r\n value === undefined || trim(value) === '' ? NO_INFORMATION_SYMBOL : value;\r\n\r\nexport const truncString = (str: string, length: number) => `${str.trim().substr(0, length - 3)}...`;\r\nexport const truncStringIfNeeded = (str: string, max: number) => {\r\n if (str.length > max) {\r\n return truncString(str, max);\r\n }\r\n return str;\r\n};\r\n\r\nexport const MINUTE = 60;\r\nexport const HOUR = 60 * MINUTE;\r\n\r\nexport const shortStringifyAge = (age: number) => {\r\n const { days, hours, minutes, seconds } = secondsToTimeObject(age);\r\n if (days > 0 || hours >= 8) {\r\n return '8h+';\r\n }\r\n if (hours > 0) {\r\n return `${hours}h`;\r\n }\r\n if (minutes > 0) {\r\n return `${minutes}m`;\r\n }\r\n return `${seconds}s`;\r\n};\r\n\r\nexport const stringifyDrivingTime = (seconds: number, excludeSeconds?: boolean, excludeDays?: boolean) => {\r\n const timeObj = secondsToTimeObject(seconds);\r\n const convertedDaysToHours = timeObj.days * 24 + timeObj.hours;\r\n\r\n if (timeObj.days > 0) {\r\n if (!excludeDays) {\r\n return `${timeObj.days}d ${timeObj.hours}h ${timeObj.minutes}m`;\r\n } else {\r\n return `${convertedDaysToHours}h ${timeObj.minutes}m`;\r\n }\r\n }\r\n\r\n if (timeObj.hours > 0) {\r\n if (timeObj.minutes > 0) {\r\n return `${timeObj.hours}h ${timeObj.minutes}m`;\r\n } else {\r\n return `${timeObj.hours}h`;\r\n }\r\n }\r\n\r\n if (timeObj.minutes > 0) {\r\n if (!excludeSeconds) {\r\n return `${timeObj.minutes}m ${timeObj.seconds}s`;\r\n } else {\r\n return `${timeObj.minutes}m`;\r\n }\r\n }\r\n\r\n if (!excludeSeconds) {\r\n return `${timeObj.seconds}s`;\r\n }\r\n return null;\r\n};\r\n\r\nexport const getLoadLocationString = (loadAddress: string | LoadLocation | undefined): string => {\r\n if (!loadAddress) {\r\n return '';\r\n }\r\n\r\n if (typeof loadAddress === 'string') {\r\n return loadAddress;\r\n }\r\n\r\n switch (loadAddress.type) {\r\n case LocationType.STATE:\r\n return loadAddress.states ? loadAddress.states.join(', ') : '';\r\n case LocationType.ANY:\r\n return 'Anywhere';\r\n case LocationType.ANY_CA:\r\n return 'Anywhere Canada';\r\n case LocationType.ANY_US:\r\n return 'Anywhere USA';\r\n case LocationType.GEOLOCATION: {\r\n let geolocationString = '';\r\n if (!loadAddress.city && (!loadAddress.states || !first(loadAddress.states))) {\r\n geolocationString = loadAddress.formattedAddress || '';\r\n } else {\r\n geolocationString =\r\n (loadAddress.city ? `${convertCityLocationFormatToCapitalize(loadAddress.city)}, ` : '') +\r\n (first(loadAddress.states) || '');\r\n }\r\n\r\n if (geolocationString === '') {\r\n geolocationString = CURRENT_LOCATION_TEXT;\r\n }\r\n return geolocationString;\r\n }\r\n case LocationType.CITY:\r\n return `${convertCityLocationFormatToCapitalize(loadAddress.city)}, ${first(loadAddress.states) || ''}`;\r\n case LocationType.ZIP:\r\n return (\r\n (loadAddress.zipCode ? loadAddress.zipCode : '') +\r\n (loadAddress.zipCode && loadAddress.city ? ' ' : '') +\r\n (convertCityLocationFormatToCapitalize(loadAddress.city) || '')\r\n );\r\n default:\r\n return '';\r\n }\r\n};\r\n\r\nexport const getDeadHead = (load: Load | undefined): number | undefined =>\r\n load?.metadata?.userdata?.originDeadhead?.value;\r\n\r\nexport const getDestinationDeadHead = (load: Load | undefined): number | undefined =>\r\n load?.metadata?.userdata?.destinationDeadhead?.value;\r\n\r\nexport const valueForDestLocation = (location?: LoadLocation): DestLocation | undefined => {\r\n if (\r\n !location ||\r\n (location.type === LocationType.STATE && location.states.length === 0) ||\r\n (location.type === LocationType.CITY && location.states.length === 0)\r\n ) {\r\n return undefined;\r\n }\r\n return location;\r\n};\r\n\r\nexport const valueForOriginLocation = (location?: LoadLocation): OriginLocation | undefined => {\r\n if (!location) {\r\n return undefined;\r\n }\r\n switch (location.type) {\r\n case LocationType.CITY:\r\n if (location.states.length === 0) {\r\n return undefined;\r\n }\r\n break;\r\n case LocationType.STATE:\r\n if (location.states.length === 0) {\r\n return undefined;\r\n }\r\n break;\r\n }\r\n return location as OriginLocation;\r\n};\r\n\r\nexport const formatEquipmentTypes = (trailerTypes: EquipmentType[]) =>\r\n trailerTypes.length > 0 ? mapEquipmentsTypeToCode(trailerTypes) : t(T.common_load_anyEquipmentType);\r\n\r\nexport const formatLength = (length: (number | undefined)[], shouldUseNonRangedDimensions = false) => {\r\n if (length.length < 1) {\r\n return '';\r\n }\r\n if (shouldUseNonRangedDimensions && length[1] !== undefined) {\r\n return `${length[1]} ${t(T.common_feet)}`;\r\n }\r\n if (\r\n (length[0] === undefined || length[0] === MIN_LOAD_SEARCH_TRUCK_LENGTH) &&\r\n (length[1] === undefined || length[1] === MAX_PLUS_TRUCK_LENGTH)\r\n ) {\r\n return `${t(T.common_any)} ${t(T.common_feet)}`;\r\n }\r\n if (length[1] === undefined) {\r\n return `${t(T.common_truck_spec_length, { min: length[0], max: MAX_TRUCK_LENGTH })}+`;\r\n }\r\n\r\n return t(T.common_truck_spec_length, { min: length[0], max: length[1] });\r\n};\r\n\r\nexport const formatTripLength = (maxLength?: number) => {\r\n if (maxLength !== undefined) {\r\n return `${formatNumber(maxLength)} ${t(T.common_feet)}`;\r\n } else {\r\n return `${t(T.common_any)} ${t(T.common_feet)}`;\r\n }\r\n};\r\n\r\nexport const formatWeight = (weight: (number | undefined)[], shouldUseNonRangedDimensions = false) => {\r\n if (weight.length < 1) {\r\n return '';\r\n }\r\n if (shouldUseNonRangedDimensions && weight[1] !== undefined) {\r\n return `${formatNumberOrDash(weight[1])} ${t(T.common_lbs)}`;\r\n }\r\n if (\r\n (weight[0] === undefined || weight[0] === MIN_LOAD_SEARCH_TRUCK_WEIGHT) &&\r\n (weight[1] === undefined || weight[1] === MAX_LOAD_SEARCH_TRUCK_WEIGHT)\r\n ) {\r\n return `${t(T.common_any)} ${t(T.common_lbs)}`;\r\n }\r\n if (weight[1] === undefined) {\r\n return `${t(T.common_truck_spec_weight, {\r\n min: formatNumberOrDash(weight[0]),\r\n max: formatNumberOrDash(MAX_TRUCK_WEIGHT),\r\n })}+`;\r\n }\r\n\r\n return t(T.common_truck_spec_weight, { min: formatNumberOrDash(weight[0]), max: formatNumberOrDash(weight[1]) });\r\n};\r\n\r\nexport const formatTripWeight = (maxWeight?: number) => {\r\n if (maxWeight !== undefined) {\r\n return `${formatNumber(maxWeight)} ${t(T.common_lbs)}`;\r\n } else {\r\n return `${t(T.common_any)} ${t(T.common_lbs)}`;\r\n }\r\n};\r\n\r\nexport const formatRadius = (request: LoadSearchRequest) => {\r\n if (request.origin.radius === 0 || request.origin.radius === undefined) {\r\n if (request.destination.radius === 0 || request.destination.radius === undefined) {\r\n return null;\r\n } else {\r\n return `${t(T.common_load_Radius)} ${t(T.common_any)}/${request.destination.radius} ${t(T.common_miles_short)}`;\r\n }\r\n } else {\r\n if (request.destination.radius === 0 || request.destination.radius === undefined) {\r\n return `${t(T.common_load_Radius)} ${request.origin.radius}/${t(T.common_any)} ${t(T.common_miles_short)}`;\r\n } else {\r\n return `${t(T.common_load_Radius)} ${request.origin.radius}/${request.destination.radius} ${t(\r\n T.common_miles_short\r\n )}`;\r\n }\r\n }\r\n};\r\n\r\nexport const equipmentTypeToString = (type: EquipmentType): string =>\r\n EquipmentTypeString[type as keyof typeof EquipmentTypeString];\r\n\r\nexport const stringToEquipmentType = (type: string): EquipmentType =>\r\n findKey(EquipmentTypeString, (eq) => eq === type) as EquipmentType;\r\n\r\nexport const ratePerMileFormatted = (load: Load) =>\r\n displayCurrencyOrNothing(getPricePerMileRate(load), true, { suffix: t(T.common_per_miles_short) });\r\n\r\nexport const formatNumberOrEmptyString = (num: number | undefined): string =>\r\n num === undefined || num === 0 ? '' : toString(num);\r\n\r\nexport const formatNumberOrZero = (num: number | undefined): number => (num === undefined ? 0 : num);\r\n\r\nexport const calculateLinehaulRevenue = (state: any): number => {\r\n const { linehaulMileage, avgRate } = state;\r\n const revenue = linehaulMileage * avgRate;\r\n return !isNaN(revenue) ? revenue : 0;\r\n};\r\n\r\nexport const calculateFuelCosts = (state: any): number => {\r\n const { fuelMileage = 0, mpgRate = 0, discount = 0, perGal = 0 } = state;\r\n const fuelCosts = (fuelMileage / mpgRate) * (perGal - discount);\r\n return !isNaN(fuelCosts) && isFinite(fuelCosts) ? fuelCosts : 0;\r\n};\r\n\r\nexport const calculateAdditionalCosts = (state: any, linehaulRevenue: number, isPercent: boolean): number => {\r\n const { tollCost = 0, dispatchFee = 0, otherFee = 0 } = state;\r\n let additionalCosts;\r\n if (isPercent) {\r\n additionalCosts = tollCost + linehaulRevenue * (dispatchFee ? dispatchFee / 100 : dispatchFee) + otherFee;\r\n } else {\r\n additionalCosts = tollCost + dispatchFee + otherFee;\r\n }\r\n return !isNaN(additionalCosts) ? additionalCosts : 0;\r\n};\r\n\r\nexport const convertCityLocationFormatToCapitalize = (city: string) =>\r\n reduce(map(split(city, ' '), capitalize), (a, b) => a + ' ' + b);\r\n","import {\r\n capitalize,\r\n compact,\r\n concat,\r\n every,\r\n find,\r\n first,\r\n forEach,\r\n includes,\r\n isEmpty,\r\n isEqual,\r\n isUndefined,\r\n join,\r\n keys,\r\n map,\r\n replace,\r\n slice,\r\n sortBy,\r\n split,\r\n toString,\r\n trim,\r\n uniq,\r\n} from 'lodash';\r\nimport { defaultTo } from 'lodash/fp';\r\n\r\nimport { ImmutableLRUMap } from '@common/helper';\r\nimport {\r\n Address,\r\n AllStates,\r\n AllStatesType,\r\n AmericanStates,\r\n ANYWHERE_LOCATION,\r\n BaseLocation,\r\n BaseLocationFromServer,\r\n CA_PROVINCES,\r\n CanadianStates,\r\n DEFAULT_LOAD_SEARCH_RADIUS,\r\n DestLocation,\r\n EMPTY_ORIGIN_LOCATION,\r\n LoadGeolocation,\r\n LoadLocation,\r\n LoadLocationCity,\r\n LoadLocationZip,\r\n Location,\r\n LOCATION_ALL,\r\n LocationSuggestion,\r\n LocationType,\r\n OriginLocation,\r\n RecentLocation,\r\n RecentLocationType,\r\n STATES,\r\n States,\r\n SuggestionTypes,\r\n} from '@common/model';\r\nimport { locationCacheKey, LocationMatchState } from '@common/redux/epic/LocationMatchEpic';\r\nimport { t, T } from '@translate';\r\n\r\nconst NO_LOCATION = '—';\r\n/** Types allowed for Load Origin */\r\nexport type HomeLocation = LoadGeolocation | LoadLocationZip | LoadLocationCity;\r\n\r\nexport interface LocationObject {\r\n locationName: string;\r\n cityName: string;\r\n needsTooltip: boolean;\r\n}\r\n\r\nexport const formatLocationToCityState = (location: Location) => {\r\n if (location.address) {\r\n let formattedLocation = location.address.city ? location.address.city : NO_LOCATION;\r\n formattedLocation += ', ';\r\n formattedLocation += location.address.state ? location.address.state : NO_LOCATION;\r\n\r\n return formattedLocation;\r\n }\r\n return '';\r\n};\r\n\r\nexport const recentLocationFormatter = (location: RecentLocation) => {\r\n if (!location.address || !location.type) {\r\n return undefined;\r\n }\r\n\r\n if (location.address.states) {\r\n if (location.type === RecentLocationType.ZipCode && location.address.zipCode) {\r\n return location.address.city ? `${location.address.zipCode} ${location.address.city}` : location.address.zipCode;\r\n }\r\n if (location.address.city) {\r\n return `${location.address.city}, ${location.address.states[0]}`;\r\n }\r\n return replace(toString(location.address.states), /,/g, ', ');\r\n }\r\n\r\n // It is impossible to have city without state\r\n return undefined;\r\n};\r\n\r\nexport function stringifyLocation(address: Address | undefined, lengthLimit?: number): LocationObject {\r\n let addressStr = '';\r\n let cityStr = '';\r\n let needsTooltip = false;\r\n\r\n if (address) {\r\n cityStr = capitalizeCityName(address.city);\r\n if (lengthLimit && address.city.length > lengthLimit) {\r\n needsTooltip = true;\r\n addressStr += `${cityStr.substring(0, lengthLimit)}...`;\r\n } else {\r\n addressStr += cityStr;\r\n }\r\n } else {\r\n addressStr += NO_LOCATION;\r\n }\r\n addressStr += ', ';\r\n if (address) {\r\n if (address.state) {\r\n addressStr += address.state;\r\n } else {\r\n addressStr += NO_LOCATION;\r\n }\r\n } else {\r\n addressStr += NO_LOCATION;\r\n }\r\n return { locationName: addressStr, cityName: cityStr, needsTooltip: needsTooltip };\r\n}\r\n\r\nexport const capitalizeCityName = (message: string) => {\r\n if (!message) {\r\n return '';\r\n }\r\n const messageData = message.split(' ');\r\n let finalString = '';\r\n\r\n forEach(messageData, (data: string) => {\r\n finalString += `${capitalize(data)} `;\r\n });\r\n return finalString.slice(0, -1);\r\n};\r\n\r\nexport const addressToLocationSuggestion = (\r\n address: Address,\r\n latitude: number | undefined,\r\n longitude: number | undefined\r\n): LocationSuggestion => {\r\n if (address.zipCode) {\r\n return {\r\n type: SuggestionTypes.ZipCode,\r\n label: `${address.zipCode} ${address.city}`,\r\n latitude: latitude ? latitude : 0,\r\n longitude: longitude ? longitude : 0,\r\n state: address.state,\r\n city: address.city,\r\n stateUrlId: '',\r\n zipCode: address.zipCode,\r\n } as LocationSuggestion;\r\n } else {\r\n return {\r\n type: SuggestionTypes.CityState,\r\n label: `${address.city}, ${address.state}`,\r\n latitude: latitude ? latitude : 0,\r\n longitude: longitude ? longitude : 0,\r\n state: address.state,\r\n city: address.city,\r\n stateUrlId: '',\r\n } as LocationSuggestion;\r\n }\r\n};\r\n\r\nexport const convertOriginLocationToBaseLocation = (originLocation?: OriginLocation): BaseLocation => {\r\n if (originLocation) {\r\n originLocation.radius = originLocation.radius || DEFAULT_LOAD_SEARCH_RADIUS;\r\n switch (originLocation.type) {\r\n case LocationType.GEOLOCATION: {\r\n return {\r\n type: originLocation.type,\r\n radius: originLocation.radius,\r\n geolocation: { latitude: originLocation.latitude, longitude: originLocation.longitude },\r\n };\r\n }\r\n case LocationType.ZIP: {\r\n return {\r\n type: originLocation.type,\r\n radius: originLocation.radius,\r\n address: {\r\n zipCode: originLocation.zipCode,\r\n city: originLocation.city,\r\n state: first(originLocation.states) || '',\r\n },\r\n };\r\n }\r\n case LocationType.CITY: {\r\n return {\r\n type: originLocation.type,\r\n radius: originLocation.radius,\r\n address: { city: originLocation.city, state: first(originLocation.states) || '' },\r\n };\r\n }\r\n }\r\n }\r\n return { type: LocationType.NONE };\r\n};\r\n\r\nexport const convertRecentLocationToLoadLocation = (recentLocation: RecentLocation) =>\r\n convertBaseLocationToLoadLocation(convertRecentLocationToBaseLocation(recentLocation));\r\n\r\nexport const isLoadLocationEqual = (left: LoadLocation | undefined, right: LoadLocation | undefined): boolean => {\r\n if (left === right) {\r\n return true;\r\n }\r\n if (!left || !right || left.type !== right.type) {\r\n return false;\r\n }\r\n const allKeys = uniq(concat(keys(left), keys(right)));\r\n return every(allKeys, (key) => isEqual((left as any)[key], (right as any)[key]));\r\n};\r\n\r\nexport const isBaseLocationEqual = (left: BaseLocation, right: BaseLocation): boolean => {\r\n if (left === right || isEqual(left, right)) {\r\n return true;\r\n }\r\n if (left.type !== right.type) {\r\n return false;\r\n }\r\n if (left.type === LocationType.GEOLOCATION) {\r\n return isEqual(left.address?.geolocation, right.address?.geolocation);\r\n }\r\n if (left.type === LocationType.STATE) {\r\n return (\r\n isEqual(left.states?.canadaStates, right.states?.canadaStates) &&\r\n isEqual(left.states?.usStates, right.states?.usStates)\r\n );\r\n }\r\n if (left.type === LocationType.CITY) {\r\n return (\r\n isEqual(left.address?.city, right.address?.city) &&\r\n isEqual(left.address?.state, right.address?.state) &&\r\n isEqual(left.radius, right.radius)\r\n );\r\n }\r\n if (left.type === LocationType.ZIP) {\r\n return isEqual(left.address?.zipCode, right.address?.zipCode) && isEqual(left.radius, right.radius);\r\n }\r\n return isEqual(left.address, right.address) && isEqual(left.radius, right.radius);\r\n};\r\n\r\nexport const isAmericanState = (maybeState: string): maybeState is AmericanStates => includes(STATES, maybeState);\r\nexport const isCanadianState = (maybeState: string): maybeState is CanadianStates => includes(CA_PROVINCES, maybeState);\r\n\r\nconst splitStatesString = (states: string) => split(replace(states, /\\s+/g, ''), ',');\r\n\r\nexport const getAmericanStates = (states: string): AmericanStates[] =>\r\n sortBy(compact(map(splitStatesString(states), (str) => (isAmericanState(str) ? str : undefined))));\r\nexport const getCanadianStates = (states: string): CanadianStates[] =>\r\n sortBy(compact(map(splitStatesString(states), (str) => (isCanadianState(str) ? str : undefined))));\r\n\r\nexport const convertServerBaseLocationToBaseLocation = (location: BaseLocationFromServer): BaseLocation => ({\r\n ...location,\r\n states: {\r\n canadaStates: location.states?.canadaStates ? getCanadianStates(location.states?.canadaStates) : [],\r\n usStates: location.states?.usStates ? getAmericanStates(location.states?.usStates) : [],\r\n },\r\n});\r\n\r\nexport const convertBaseLocationToServerBaseLocation = (baseLocation: BaseLocation): BaseLocationFromServer => ({\r\n ...baseLocation,\r\n states: {\r\n canadaStates: !isEmpty(baseLocation.states?.canadaStates)\r\n ? join(baseLocation.states?.canadaStates, ', ')\r\n : undefined,\r\n usStates: !isEmpty(baseLocation.states?.usStates) ? join(baseLocation.states?.usStates, ', ') : undefined,\r\n },\r\n});\r\n\r\nexport const convertLoadLocationToBaseLocation = (destLocation?: DestLocation): BaseLocation => {\r\n if (!destLocation) {\r\n return { type: LocationType.NONE };\r\n }\r\n const destinationRadius = destLocation.radius || DEFAULT_LOAD_SEARCH_RADIUS;\r\n switch (destLocation.type) {\r\n case LocationType.STATE: {\r\n const allStates = {\r\n usStates: getAmericanStates(join(destLocation.states, ', ')),\r\n canadaStates: getCanadianStates(join(destLocation.states, ', ')),\r\n };\r\n\r\n const isAllUSASelected = getIsAllUSASelected(allStates);\r\n const isAllCASelected = getIsAllCASelected(allStates);\r\n if (isAllUSASelected && !allStates.canadaStates) {\r\n return { type: LocationType.ANY_US };\r\n } else if (isAllCASelected && !allStates.usStates) {\r\n return { type: LocationType.ANY_CA };\r\n } else if (isAllCASelected && isAllUSASelected) {\r\n return { type: LocationType.ANY };\r\n } else {\r\n return {\r\n type: destLocation.type,\r\n radius: destinationRadius,\r\n states: allStates,\r\n };\r\n }\r\n }\r\n case LocationType.GEOLOCATION: {\r\n return {\r\n type: destLocation.type,\r\n radius: destinationRadius,\r\n geolocation: { latitude: destLocation.latitude, longitude: destLocation.longitude },\r\n };\r\n }\r\n case LocationType.ZIP: {\r\n return {\r\n type: destLocation.type,\r\n radius: destinationRadius,\r\n address: { zipCode: destLocation.zipCode, city: destLocation.city, state: first(destLocation.states) || '' },\r\n };\r\n }\r\n case LocationType.CITY: {\r\n return {\r\n type: destLocation.type,\r\n radius: destinationRadius,\r\n address: { city: destLocation.city, state: first(destLocation.states) || '' },\r\n };\r\n }\r\n //FIXME: when api ticket fixes this (API-2127) convert back to appropriate type object (MOB-5198)\r\n case LocationType.ANY: {\r\n return {\r\n type: LocationType.ANY,\r\n };\r\n }\r\n case LocationType.ANY_CA: {\r\n return { type: LocationType.ANY_CA };\r\n }\r\n case LocationType.ANY_US: {\r\n return { type: LocationType.ANY_US };\r\n }\r\n default: {\r\n return { type: LocationType.NONE };\r\n }\r\n }\r\n};\r\n\r\nexport const convertRecentLocationToBaseLocation = (location: RecentLocation): BaseLocation => {\r\n let usStates;\r\n let canadaStates;\r\n const address = location.address;\r\n if (location.type === RecentLocationType.States && address?.states) {\r\n usStates = map(address.states, (addressState) => find(STATES, (state) => state === addressState));\r\n canadaStates = map(address.states, (addressState) => find(CA_PROVINCES, (state) => state === addressState));\r\n }\r\n\r\n return {\r\n ...location,\r\n states: { canadaStates: canadaStates, usStates: usStates },\r\n } as BaseLocation;\r\n};\r\n\r\nconst convertBaseLocationToZip = (location: BaseLocation, isWithGeolocation: boolean): LoadLocation | undefined =>\r\n location.address && location.address.zipCode\r\n ? {\r\n type: LocationType.ZIP,\r\n radius: location.radius,\r\n zipCode: location.address.zipCode,\r\n city: location.address.city,\r\n states: [location.address.state],\r\n latitude: isWithGeolocation ? location.geolocation?.latitude : undefined,\r\n longitude: isWithGeolocation ? location.geolocation?.longitude : undefined,\r\n }\r\n : undefined;\r\n\r\nexport const convertBaseLocationToLoadLocation = (\r\n location: BaseLocation | undefined,\r\n shouldConvertCityWithZipToZipLocation: boolean = false\r\n): LoadLocation | undefined => {\r\n if (isUndefined(location)) {\r\n return ANYWHERE_LOCATION;\r\n }\r\n const isWithGeolocation = !!location.geolocation?.longitude && !!location.geolocation?.latitude;\r\n switch (location.type) {\r\n case LocationType.STATE: {\r\n return {\r\n type: LocationType.STATE,\r\n radius: location.radius,\r\n states: getStatesFromBaseLocation(location),\r\n };\r\n }\r\n case LocationType.GEOLOCATION: {\r\n if (location.geolocation && location.address) {\r\n return {\r\n type: LocationType.GEOLOCATION,\r\n radius: location.radius,\r\n latitude: location.geolocation.latitude,\r\n longitude: location.geolocation.longitude,\r\n city: location.address.city,\r\n states: [location.address.state],\r\n };\r\n }\r\n break;\r\n }\r\n case LocationType.ZIP: {\r\n return convertBaseLocationToZip(location, isWithGeolocation);\r\n }\r\n case SuggestionTypes.CityState:\r\n case LocationType.CITY: {\r\n if (location.address) {\r\n if (location.address.zipCode && shouldConvertCityWithZipToZipLocation) {\r\n return convertBaseLocationToZip(location, isWithGeolocation);\r\n }\r\n return {\r\n type: LocationType.CITY,\r\n radius: location.radius,\r\n city: location.address.city,\r\n states: [location.address.state],\r\n latitude: isWithGeolocation ? location.geolocation?.latitude : undefined,\r\n longitude: isWithGeolocation ? location.geolocation?.longitude : undefined,\r\n };\r\n }\r\n break;\r\n }\r\n case LocationType.ANY: {\r\n return {\r\n type: LocationType.ANY,\r\n };\r\n }\r\n case LocationType.ANY_CA: {\r\n return { type: LocationType.ANY_CA };\r\n }\r\n case LocationType.ANY_US: {\r\n return { type: LocationType.ANY_US };\r\n }\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const defaultToEmptyCity: (loadLocation: LoadLocation | undefined) => LoadLocation = defaultTo(\r\n EMPTY_ORIGIN_LOCATION as LoadLocation\r\n); // The only way to get this to pass tslint is to cast the object as a load location\r\n\r\nexport const convertToOriginLocation = (loadLocation: LoadLocation | undefined): OriginLocation => {\r\n if (\r\n loadLocation &&\r\n (loadLocation.type === LocationType.CITY ||\r\n loadLocation.type === LocationType.GEOLOCATION ||\r\n loadLocation.type === LocationType.STATE ||\r\n loadLocation.type === LocationType.ZIP)\r\n ) {\r\n return loadLocation;\r\n }\r\n return EMPTY_ORIGIN_LOCATION;\r\n};\r\n\r\nexport const getStatesFromBaseLocation = (location: BaseLocation) => {\r\n if (location.states) {\r\n const usStatesArray = getListOfStatesByCountry(location.states.usStates, STATES);\r\n const canadaProvincesArray = getListOfStatesByCountry(location.states.canadaStates, CA_PROVINCES);\r\n const states: AllStates[] = compact([...usStatesArray, ...canadaProvincesArray]);\r\n return sortBy(states, (state: string) => state);\r\n }\r\n return [];\r\n};\r\n\r\nconst extractStatesArrayFromString = (statesString: AmericanStates[] | CanadianStates[]) => {\r\n const states = split(`${statesString}`, ',');\r\n return map(states, (state) => trim(state) as AllStates);\r\n};\r\n\r\nconst getListOfStatesByCountry = (\r\n statesString: AllStatesType | undefined,\r\n listOfAllStatesInCountry: AllStates[]\r\n): AllStates[] => {\r\n // if we have all location return full list of states, in other case return list that we extracted\r\n if (statesString === LOCATION_ALL) {\r\n return listOfAllStatesInCountry;\r\n }\r\n if (statesString !== LocationType.NONE && statesString !== undefined) {\r\n return extractStatesArrayFromString(statesString);\r\n }\r\n return [];\r\n};\r\n\r\nexport const suggestionsForLocation = (\r\n locationMatches: ImmutableLRUMap,\r\n location: string,\r\n includeStates: boolean\r\n) => {\r\n const key = locationCacheKey(location, includeStates);\r\n const locationMatch = locationMatches.get(key);\r\n if (locationMatch && locationMatch.matches && locationMatch.matches.suggestions) {\r\n return locationMatch.matches.suggestions;\r\n } else {\r\n return [];\r\n }\r\n};\r\n\r\nexport const toAddress = (loadLocation: LoadLocation | undefined): Address | undefined => {\r\n if (\r\n !loadLocation ||\r\n loadLocation.type === LocationType.STATE ||\r\n loadLocation.type === LocationType.ANY ||\r\n loadLocation.type === LocationType.ANY_CA ||\r\n loadLocation.type === LocationType.ANY_US\r\n ) {\r\n return undefined;\r\n }\r\n\r\n const location = loadLocation as LoadLocationCity | LoadLocationZip | LoadGeolocation;\r\n\r\n if (location.city && location.states && location.states[0]) {\r\n return {\r\n city: location.city,\r\n state: location.states[0],\r\n zipCode: location.type === LocationType.ZIP ? location.zipCode : undefined,\r\n geolocation:\r\n location.latitude && location.longitude\r\n ? {\r\n latitude: location.latitude,\r\n longitude: location.longitude,\r\n }\r\n : undefined,\r\n };\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const textFromLocation = (location: BaseLocation | undefined, isDisabled = false): string => {\r\n let text = '';\r\n if (location) {\r\n switch (location.type) {\r\n case LocationType.GEOLOCATION:\r\n case LocationType.CITY:\r\n case LocationType.ZIP:\r\n case SuggestionTypes.CityState:\r\n text = formatLocationToCityState(location);\r\n break;\r\n case LocationType.ANY:\r\n text = t(T.loadGeneric_anywhere);\r\n break;\r\n case LocationType.ANY_CA:\r\n text = t(T.loadGeneric_anywhereCanada);\r\n break;\r\n case LocationType.ANY_US:\r\n text = t(T.loadGeneric_anywhereUsa);\r\n break;\r\n case LocationType.STATE: {\r\n const states = getStatesFromBaseLocation(location);\r\n text = states.length <= 4 ? join(states, ', ') : `${join(slice(states, 0, 4), ', ')}, +${states.length - 4}`;\r\n }\r\n }\r\n } else {\r\n if (isDisabled) {\r\n text = t(T.loadGeneric_currentLocationUnknown);\r\n } else {\r\n text = t(T.loadGeneric_currentLocation);\r\n }\r\n }\r\n return text;\r\n};\r\n\r\nexport const isLocationCountryOrAnywhere = (location: LoadLocation) =>\r\n includes([LocationType.ANY_US, LocationType.ANY_CA, LocationType.ANY], location.type);\r\n\r\nexport const shouldUpdateOriginRadius = (origin: OriginLocation): boolean => {\r\n return !origin.radius && origin.type !== LocationType.STATE && !isLocationCountryOrAnywhere(origin);\r\n};\r\n\r\nexport const shouldUpdateDestinationRadius = (destination: LoadLocation): boolean =>\r\n !destination.radius &&\r\n destination.type !== LocationType.STATE &&\r\n destination.type !== LocationType.ANY &&\r\n destination.type !== LocationType.ANY_CA &&\r\n destination.type !== LocationType.ANY_US;\r\n\r\nexport const shouldClearOriginRadius = (origin: OriginLocation): boolean =>\r\n origin.radius != null && (origin.type === LocationType.STATE || isLocationCountryOrAnywhere(origin));\r\n\r\nexport const shouldClearLoadLocationRadius = (location: LoadLocation): boolean =>\r\n location.radius != null &&\r\n (location.type === LocationType.STATE ||\r\n location.type === LocationType.ANY ||\r\n location.type === LocationType.ANY_CA ||\r\n location.type === LocationType.ANY_US);\r\n\r\nconst getIsAllCASelected = (states: States) =>\r\n states.canadaStates ? states.canadaStates.length === CA_PROVINCES.length : false;\r\n\r\nconst getIsAllUSASelected = (states: States) => (states.usStates ? states.usStates.length === STATES.length : false);\r\n\r\nexport const clipLatLongValue = (latLong: number, forceDecimals: number = 6) => Number(latLong.toFixed(forceDecimals));\r\n","import { first } from 'lodash';\r\n\r\nimport { clipLatLongValue } from '@common/helper';\r\nimport {\r\n DestLocation,\r\n LoadGeolocation,\r\n LoadLocation,\r\n LoadLocationCity,\r\n LoadLocationStates,\r\n LoadLocationZip,\r\n LocationSuggestion,\r\n LocationType,\r\n OriginLocation,\r\n SuggestionTypes,\r\n} from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\n/** types are exclusively for the form support with Strings.\r\n * When is of type string, it represents the text the user is typing in the textfield.\r\n */\r\nexport type LoadPickup = string | OriginLocation;\r\nexport type LoadDropoff = string | DestLocation;\r\n\r\nexport type SetLocation = (focus: Focus, location: LoadLocation | string) => void;\r\n\r\nexport const enum Countries {\r\n CA = 'CANADA',\r\n USA = 'USA',\r\n}\r\n\r\nexport enum CountriesWithAnywhere {\r\n CA = 'CANADA',\r\n US = 'USA',\r\n ANYWHERE = 'ANYWHERE',\r\n}\r\n\r\nexport enum Focus {\r\n pickup,\r\n dropoff,\r\n home,\r\n}\r\n\r\nexport const displaySingleStringValueFor = (value: LoadLocation | string, forEditing: boolean): string =>\r\n displayValueFor(value, forEditing).join(', ');\r\n\r\nexport const displayValueFor = (value: LoadLocation | string, forEditing: boolean): string[] => {\r\n if (typeof value === 'string') {\r\n return [value];\r\n }\r\n switch (value.type) {\r\n case LocationType.ZIP: {\r\n if (value.zipCode) {\r\n let displayValue = value.zipCode;\r\n if (!forEditing && value.city && value.city.length > 0) {\r\n displayValue = `${displayValue} ${value.city}`;\r\n }\r\n return [displayValue];\r\n }\r\n return [addressFrom(value)];\r\n }\r\n case LocationType.CITY:\r\n return [addressFrom(value)];\r\n case LocationType.GEOLOCATION:\r\n if (value.formattedAddress && value.formattedAddress.length > 0) {\r\n return [value.formattedAddress];\r\n }\r\n return [addressFrom(value)];\r\n case LocationType.STATE:\r\n return value.states;\r\n case LocationType.ANY:\r\n return [t(T.loadGeneric_anywhere)];\r\n case LocationType.ANY_US:\r\n return [t(T.loadGeneric_anywhereUsa)];\r\n case LocationType.ANY_CA:\r\n return [t(T.loadGeneric_anywhereCanada)];\r\n }\r\n return [];\r\n};\r\n\r\nconst addressFrom = (value: LoadGeolocation | LoadLocationCity | LoadLocationZip): string => {\r\n let displayValue: string;\r\n if (value.city) {\r\n displayValue = value.city;\r\n if (value.states && value.states.length > 0) {\r\n displayValue = `${displayValue}, ${first(value.states) || ''}`;\r\n }\r\n return displayValue;\r\n }\r\n return value.city ? value.city : '';\r\n};\r\n\r\nexport const pickupValueFrom = (location?: LoadLocation): LoadPickup => {\r\n if (!location) {\r\n return '';\r\n }\r\n switch (location.type) {\r\n case LocationType.STATE:\r\n case LocationType.CITY:\r\n case LocationType.GEOLOCATION:\r\n case LocationType.ZIP:\r\n return location;\r\n }\r\n return '';\r\n};\r\n\r\nexport const loadLocationFromCountrySelection = (location: CountriesWithAnywhere): LoadLocation => {\r\n switch (location) {\r\n case CountriesWithAnywhere.US: {\r\n return {\r\n type: LocationType.ANY_US,\r\n };\r\n }\r\n case CountriesWithAnywhere.CA: {\r\n return {\r\n type: LocationType.ANY_CA,\r\n };\r\n }\r\n default: {\r\n return {\r\n type: LocationType.ANY,\r\n };\r\n }\r\n }\r\n};\r\n\r\nexport const locationMatchToLoadLocation = (\r\n locationSuggestion: LocationSuggestion\r\n): LoadLocationCity | LoadLocationStates | LoadLocationZip | LoadGeolocation => {\r\n const isWithGeolocation = locationSuggestion.longitude && locationSuggestion.latitude;\r\n switch (locationSuggestion.type) {\r\n case SuggestionTypes.State:\r\n return {\r\n type: LocationType.STATE,\r\n states: [locationSuggestion.state],\r\n };\r\n case SuggestionTypes.ZipCode:\r\n return {\r\n type: LocationType.ZIP,\r\n zipCode: locationSuggestion.zipCode,\r\n city: locationSuggestion.city,\r\n states: [locationSuggestion.state],\r\n longitude: isWithGeolocation ? clipLatLongValue(locationSuggestion.longitude) : undefined,\r\n latitude: isWithGeolocation ? clipLatLongValue(locationSuggestion.latitude) : undefined,\r\n };\r\n case SuggestionTypes.Geolocation:\r\n return {\r\n type: LocationType.GEOLOCATION,\r\n longitude: clipLatLongValue(locationSuggestion.longitude),\r\n latitude: clipLatLongValue(locationSuggestion.latitude),\r\n city: locationSuggestion?.city,\r\n states: locationSuggestion?.state ? [locationSuggestion.state] : undefined,\r\n };\r\n default:\r\n return {\r\n type: LocationType.CITY,\r\n states: [locationSuggestion.state],\r\n city: locationSuggestion.city,\r\n longitude: isWithGeolocation ? clipLatLongValue(locationSuggestion.longitude) : undefined,\r\n latitude: isWithGeolocation ? clipLatLongValue(locationSuggestion.latitude) : undefined,\r\n };\r\n }\r\n};\r\n","import { useEffect, useMemo, useRef } from 'react';\r\n\r\nimport { isUndefined } from 'lodash';\r\nimport { useDispatch, useSelector as baseUseSelector } from 'react-redux';\r\n\r\nimport { fetchRouteMap, LoadDetailsMapState } from '@common/redux/epic/LoadDetailsMapEpic';\r\n\r\ntype StoreState = { loadDetailsMap: LoadDetailsMapState };\r\nconst useSelector = (selector: (storeState: StoreState) => T) => baseUseSelector(selector);\r\n\r\nexport const useMapImage = (\r\n loadId: string,\r\n archivingFlowID: string | undefined,\r\n shouldFetch = true\r\n): [string | undefined, boolean] => {\r\n const dispatch = useDispatch();\r\n const currentMapState = useSelector((state) => state.loadDetailsMap);\r\n\r\n const mapStateRef = useRef();\r\n\r\n useEffect(() => {\r\n if (currentMapState.loadID === loadId) {\r\n mapStateRef.current = currentMapState;\r\n }\r\n }, [currentMapState, mapStateRef]);\r\n\r\n const map = useMemo(() => {\r\n if (currentMapState.loadID === loadId) {\r\n return currentMapState;\r\n }\r\n if (mapStateRef.current?.loadID === loadId) {\r\n return mapStateRef.current;\r\n }\r\n return undefined;\r\n }, [loadId, currentMapState, mapStateRef]);\r\n\r\n useEffect(() => {\r\n if (!currentMapState.isLoading && isUndefined(map) && shouldFetch) {\r\n dispatch(fetchRouteMap(loadId, archivingFlowID));\r\n }\r\n }, [loadId, currentMapState.isLoading, shouldFetch]);\r\n\r\n return [map?.map, map?.isLoading ?? true];\r\n};\r\n","import { createDefaultMyLoadsRequest, LoadProgress, MyLoadsRequest } from '@common/model';\r\nimport { TotalCountState } from '@common/redux/epic/MyLoadsEpic';\r\nimport { t, T } from '@translate';\r\n\r\nexport enum Filter {\r\n Viewed = 'viewed',\r\n Saved = 'saved',\r\n Called = 'called',\r\n Booked = 'booked',\r\n ScheduledForPickup = 'scheduled_for_pickup',\r\n PickupComplete = 'pickup_complete',\r\n LoadEnRoute = 'load_en_route',\r\n Delivered = 'delivered',\r\n Contacted = 'contacted',\r\n Hidden = 'hidden',\r\n}\r\n\r\nexport const MYLOADS_FILTERS_LIST = [\r\n Filter.Saved,\r\n Filter.Contacted,\r\n Filter.Booked,\r\n Filter.PickupComplete,\r\n Filter.Delivered,\r\n Filter.Hidden,\r\n];\r\n\r\nconst applyMyLoadsFilter = (request: MyLoadsRequest, filter: Filter) => {\r\n switch (filter) {\r\n case Filter.Viewed:\r\n request.isViewed = true;\r\n break;\r\n case Filter.Saved:\r\n request.isSaved = true;\r\n break;\r\n case Filter.Called:\r\n request.isCalled = true;\r\n break;\r\n case Filter.Contacted:\r\n request.isContacted = true;\r\n break;\r\n case Filter.Booked:\r\n request.progressList = [LoadProgress.Booked, LoadProgress.ScheduledForPickup];\r\n break;\r\n case Filter.ScheduledForPickup:\r\n request.progress = LoadProgress.ScheduledForPickup;\r\n break;\r\n case Filter.PickupComplete:\r\n request.progressList = [LoadProgress.PickupComplete, LoadProgress.LoadEnRoute];\r\n break;\r\n case Filter.LoadEnRoute:\r\n request.progress = LoadProgress.LoadEnRoute;\r\n break;\r\n case Filter.Delivered:\r\n request.progress = LoadProgress.Delivered;\r\n break;\r\n case Filter.Hidden:\r\n request.isHidden = true;\r\n }\r\n\r\n return request;\r\n};\r\n\r\nexport const myLoadsRequestFromFilter = (filter: Filter): MyLoadsRequest => {\r\n const request = createDefaultMyLoadsRequest();\r\n return applyMyLoadsFilter(request, filter);\r\n};\r\n\r\nexport const filterToPropertyKey = (filter: Filter) => {\r\n switch (filter) {\r\n default:\r\n case Filter.Viewed:\r\n return 'viewed';\r\n case Filter.Saved:\r\n return 'saved';\r\n case Filter.Called:\r\n return 'called';\r\n case Filter.Contacted:\r\n return 'contacted';\r\n case Filter.Booked:\r\n return 'booked';\r\n case Filter.ScheduledForPickup:\r\n return 'scheduledForPickup';\r\n case Filter.PickupComplete:\r\n return 'pickupComplete';\r\n case Filter.LoadEnRoute:\r\n return 'loadEnRoute';\r\n case Filter.Delivered:\r\n return 'delivered';\r\n case Filter.Hidden:\r\n return 'hidden';\r\n }\r\n};\r\n\r\nexport const totalCountForFilter = (filter: Filter, totalCountState: TotalCountState) => {\r\n return totalCountState[filterToPropertyKey(filter)];\r\n};\r\n\r\nexport const headerNameFromFilter = (filter: Filter) => {\r\n switch (filter) {\r\n case Filter.Viewed:\r\n return t(T.common_myLoads_headerTitles_viewedLoads);\r\n case Filter.Saved:\r\n return t(T.common_myLoads_headerTitles_savedLoads);\r\n case Filter.Called:\r\n return t(T.common_myLoads_headerTitles_calledLoads);\r\n case Filter.Contacted:\r\n return t(T.common_myLoads_headerTitles_contactedLoads);\r\n case Filter.Booked:\r\n return t(T.common_myLoads_headerTitles_bookedLoads);\r\n case Filter.ScheduledForPickup:\r\n return t(T.common_myLoads_headerTitles_scheduledLoads);\r\n case Filter.PickupComplete:\r\n return t(T.common_myLoads_headerTitles_pickupLoads);\r\n case Filter.LoadEnRoute:\r\n return t(T.common_myLoads_loadEnRoute);\r\n case Filter.Delivered:\r\n return t(T.common_myLoads_headerTitles_deliveredLoads);\r\n case Filter.Hidden:\r\n return t(T.common_myLoads_headerTitles_hiddenLoads);\r\n default:\r\n return '';\r\n }\r\n};\r\n\r\nexport const isLoadUnbookedAndAvailable = (loadProgress: LoadProgress | undefined): boolean =>\r\n loadProgress === LoadProgress.LoadAvailable;\r\n\r\nexport const getFilterFromLoadProgress = (loadProgress: LoadProgress | undefined): Filter | undefined => {\r\n switch (loadProgress) {\r\n case LoadProgress.Booked:\r\n return Filter.Booked;\r\n case LoadProgress.ScheduledForPickup:\r\n return Filter.ScheduledForPickup;\r\n case LoadProgress.LoadEnRoute:\r\n return Filter.LoadEnRoute;\r\n case LoadProgress.Delivered:\r\n return Filter.Delivered;\r\n case LoadProgress.PickupComplete:\r\n return Filter.PickupComplete;\r\n default:\r\n return undefined;\r\n }\r\n};\r\n","import { flow, isNaN, toNumber, toString } from 'lodash';\r\n\r\nimport { dashIfReturnsUndefined, doIfValue } from '@common/helper/Functions';\r\n\r\nexport class CompactNumber {\r\n // Uses base 60 with a special charset: not using 'O' (upper case 'o') and 'l' (lower case L) to reduce similarity with other digits.\r\n // ID is case sensitive, but uses only alphanumeric characters (no special characters) so it remains easier\r\n // to manipulate.\r\n private static baseChars = '0123456789ABCDEFGHIJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';\r\n\r\n public static int32toCompactString(value: number): string {\r\n let v = value >>> 0;\r\n\r\n const b: string = this.baseChars;\r\n const r: string[] = [];\r\n do {\r\n r.push(b[v % 60]);\r\n v = (v / 60) | 0;\r\n } while (v > 0);\r\n\r\n return r.reverse().join('');\r\n }\r\n}\r\n\r\n/** interprets undefined as zero. This is to overcome optional data values to mean zero */\r\nexport const treatUndefinedAsZero = (v: number | undefined): number => (v === undefined ? 0 : v);\r\n\r\n/** interprets zero as undefined. Sometimes the value zero means no value and is thus displayed differently than '0' */\r\nexport const treatZeroAsUndefined = (v: number | undefined): number | undefined => (v === 0 ? undefined : v);\r\n\r\nexport const formatNumber = (value: number, forceDecimals?: boolean) =>\r\n value.toLocaleString('en', { maximumFractionDigits: 2, minimumFractionDigits: forceDecimals ? 2 : 0 });\r\n\r\nexport const formatNumberWithZeroFormatting = (value: number, forceDecimals?: boolean) => {\r\n const isNumberZero = value === 0;\r\n return formatNumber(value, isNumberZero ? false : forceDecimals);\r\n};\r\n\r\nexport const formatMileage = (value: number) =>\r\n value.toLocaleString('en', { maximumFractionDigits: 2, minimumFractionDigits: 0 });\r\n\r\nexport const safeFormatMileage = doIfValue(formatMileage);\r\n\r\nexport const formatMileageOrDash = dashIfReturnsUndefined(safeFormatMileage);\r\n\r\nexport const formatPrice = (value: number, wholeNumber?: boolean) =>\r\n value.toLocaleString('en', {\r\n maximumFractionDigits: wholeNumber ? 0 : 2,\r\n minimumFractionDigits: wholeNumber ? 0 : 2,\r\n });\r\n\r\nexport const safeFormatPrice = doIfValue(formatPrice);\r\n\r\nexport const formatPriceOrDash = dashIfReturnsUndefined(safeFormatPrice);\r\n\r\nexport const formatTo2Digit = (num: number) => `0${num}`.slice(-2);\r\n\r\nexport const isNumber = (value: string | number): boolean => value !== '' && !isNaN(Number(toString(value)));\r\n\r\nexport const cleanNumberOnlyInput = (value: string) => value.replace(/[^0-9]/g, '').replace(/^0/, '');\r\n\r\nexport const cleanSpaces = (value: string) => value.replace(/\\s/g, '');\r\n\r\nexport const cleanDashes = (value: string) => value.replace(/-/g, '');\r\n\r\nexport const cleanAlphaCharacters = (value: string) => value.replace(/[a-zA-Z]/g, '');\r\n\r\nexport const formatThousands = doIfValue((number: number) =>\r\n number >= 1000 ? `${Math.floor(number / 1000)}k` : number\r\n);\r\n\r\nexport const removeLeadingZeroes = doIfValue(flow(toNumber, toString));\r\n\r\nexport const roundToTwoDecimals = (num: number) => Math.round(num * 100) / 100;\r\n\r\nexport const formatNumberDecimals = (num: number, minimumFractionDigits = 2, maximumFractionDigits = 2) =>\r\n num.toLocaleString('en', {\r\n minimumFractionDigits: minimumFractionDigits,\r\n maximumFractionDigits: maximumFractionDigits,\r\n });\r\n","import { map } from 'lodash';\r\n\r\nimport { displayCurrencyOrDash, NO_INFORMATION_SYMBOL } from '@common/formatter';\r\nimport { formatRideTimeToDuration, stringifyLocation } from '@common/helper';\r\nimport {\r\n ExtraStopLocationType,\r\n Load,\r\n LoadExtraStop,\r\n MileageRoutesPostRequest,\r\n StopsLocation,\r\n SuggestionTypes,\r\n} from '@common/model';\r\nimport { RouteDirections } from '@common/model/PCMiler';\r\n\r\nexport const getSummaryRoadInfo = (load: Load | undefined, directions: RouteDirections | undefined) => ({\r\n origin: stringifyLocation(load?.originLocation?.address).locationName,\r\n destination: stringifyLocation(load?.destinationLocation?.address).locationName,\r\n mileage: directions?.rideMiles || '',\r\n time: directions?.rideTime ? formatRideTimeToDuration(directions?.rideTime) : NO_INFORMATION_SYMBOL, // api always returns hh:mm\r\n tollCost: displayCurrencyOrDash(directions?.tollCosts),\r\n});\r\n\r\nexport const convertLoadToMileageRoutesPostRequest = (load: Load): MileageRoutesPostRequest => {\r\n const stopsLocations: StopsLocation[] = [];\r\n stopsLocations.push({\r\n address: {\r\n type: load.originLocation?.type as SuggestionTypes,\r\n city: load.originLocation?.address?.city,\r\n state: load.originLocation?.address?.state,\r\n zipCode: load.originLocation?.address?.zipCode,\r\n zip: load.originLocation?.address?.zipCode,\r\n },\r\n });\r\n map(load.extraStops, (stop) => {\r\n stopsLocations.push({\r\n address: {\r\n type: getStopsLocationTypeFromExtraStop(stop),\r\n city: stop.address?.city,\r\n state: stop.address?.state,\r\n zipCode: stop.address?.zipCode,\r\n zip: stop.address?.zipCode,\r\n },\r\n });\r\n });\r\n stopsLocations.push({\r\n address: {\r\n type: load.destinationLocation?.type as SuggestionTypes,\r\n city: load.destinationLocation?.address?.city,\r\n state: load.destinationLocation?.address?.state,\r\n zipCode: load.destinationLocation?.address?.zipCode,\r\n zip: load.destinationLocation?.address?.zipCode,\r\n },\r\n });\r\n return {\r\n stops: stopsLocations,\r\n };\r\n};\r\n\r\nconst getStopsLocationTypeFromExtraStop = (stop: LoadExtraStop) => {\r\n switch (stop.type) {\r\n case ExtraStopLocationType.ZipCode:\r\n return SuggestionTypes.ZipCode;\r\n case ExtraStopLocationType.Geolocation:\r\n return SuggestionTypes.Geolocation;\r\n case ExtraStopLocationType.CityState:\r\n return SuggestionTypes.CityState;\r\n default:\r\n return undefined;\r\n }\r\n};\r\n","import { startsWith, trim } from 'lodash';\r\n\r\nimport { COUNTRY_CODE } from '@common/info/ContactInfo';\r\nimport { Phone } from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\nimport { areOptionalValuesSemanticallyEqual } from './Functions';\r\n\r\nexport const formatPhoneNumber = (phoneNumber: string) => {\r\n let rawPhoneNumber = phoneNumber;\r\n if (!rawPhoneNumber || rawPhoneNumber.length < 7) {\r\n return rawPhoneNumber;\r\n }\r\n if (startsWith(rawPhoneNumber, COUNTRY_CODE)) {\r\n rawPhoneNumber = rawPhoneNumber.substring(COUNTRY_CODE.length);\r\n }\r\n return `(${rawPhoneNumber.substring(0, 3)}) ${rawPhoneNumber.substring(3, 6)}-${rawPhoneNumber.substring(\r\n 6,\r\n rawPhoneNumber.length\r\n )}`;\r\n};\r\n\r\nexport const formatPhoneNumberWithExtension = (phoneNumber = '', extension = '') => {\r\n if (trim(phoneNumber) === '') {\r\n return '';\r\n }\r\n const formattedPhone = formatPhoneNumber(phoneNumber);\r\n const extensionText = trim(extension) !== '' ? ` ${t(T.common_phone_ext)} ${extension}` : '';\r\n return `${formattedPhone}${extensionText}`;\r\n};\r\n\r\nexport const phoneNumberWithoutAreaCode = (phone?: Phone): string => {\r\n if (phone && phone.number) {\r\n if (phone.number.length > 10) {\r\n if (startsWith(phone.number, '1')) {\r\n return phone.number.substring(1, phone.number.length);\r\n }\r\n if (startsWith(phone.number, '+1')) {\r\n return phone.number.substring(2, phone.number.length);\r\n }\r\n }\r\n return phone.number;\r\n }\r\n return '';\r\n};\r\n\r\nexport const addCountryCodeIfNecessary = (phone: string) => {\r\n if (startsWith(phone, '+1')) {\r\n return phone;\r\n }\r\n if (startsWith(phone, '1')) {\r\n return `+${phone}`;\r\n }\r\n return `+1${phone}`;\r\n};\r\n\r\nexport const arePhonesDefinedAndMatching = (phoneA: Phone | undefined, phoneB: Phone | undefined) =>\r\n phoneA &&\r\n phoneB &&\r\n phoneA.number === phoneB.number &&\r\n areOptionalValuesSemanticallyEqual(phoneA.extension, phoneB.extension);\r\n","import { findIndex, map, toUpper } from 'lodash';\r\n\r\nimport { getProgressWithoutExcludedStatuses } from '@common/helper/LoadHelper';\r\nimport { LoadMetadata, LoadProgress } from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\ninterface LoadProgressLabel {\r\n value: LoadProgress;\r\n title: string;\r\n}\r\n\r\nexport const loadProgressLabelMap: { [key in LoadProgress]: string } = {\r\n [LoadProgress.LoadAvailable]: t(T.common_loadProgress_loadAvailable),\r\n [LoadProgress.Booked]: t(T.common_loadProgress_booked),\r\n [LoadProgress.ScheduledForPickup]: t(T.common_loadProgress_booked),\r\n [LoadProgress.PickupComplete]: t(T.common_loadProgress_pickupComplete),\r\n [LoadProgress.LoadEnRoute]: t(T.common_loadProgress_pickupComplete),\r\n [LoadProgress.Delivered]: t(T.common_loadProgress_delivered),\r\n};\r\n\r\nexport const loadProgressLabel: LoadProgressLabel[] = map(\r\n Object.keys(loadProgressLabelMap) as LoadProgress[],\r\n (loadProgress) => ({\r\n value: loadProgress,\r\n title: loadProgressLabelMap[loadProgress],\r\n })\r\n);\r\n\r\nexport const currentLoadProgressLabelIndex = (metadata?: LoadMetadata) => {\r\n if (!metadata || !metadata.userdata || !metadata.userdata.progress) {\r\n return 0;\r\n }\r\n const progress = getProgressWithoutExcludedStatuses(metadata.userdata.progress);\r\n const index = findIndex(loadProgressLabel, (loadProgress) => loadProgress.value === progress);\r\n return index || 0;\r\n};\r\n\r\nexport const loadProgressUppercaseLabels = map(loadProgressLabel, (label) => toUpper(label.title));\r\n","import { useCallback, useEffect, useMemo, useState } from 'react';\r\n\r\nimport { filter, find, findIndex, isEmpty, isNil, last, map, max, maxBy, reduce, values } from 'lodash';\r\nimport moment from 'moment';\r\nimport { useDispatch, useSelector } from 'react-redux';\r\n\r\nimport { monthNames, monthNamesShort } from '@common/formatter';\r\nimport { getMonthIndex } from '@common/helper/DateHelper';\r\nimport { RateCheckDataPoint, RateCheckRequest } from '@common/model';\r\nimport {\r\n fetchLoadRateCheckHistory,\r\n fetchRateCheckHistorical,\r\n fetchRateCheckHistory,\r\n RateCheckHistoryInformation,\r\n RateCheckState,\r\n} from '@common/redux/epic/RateCheckEpic';\r\n\r\nimport { formatPrice } from './NumberHelper';\r\n\r\nexport interface BaseRateCheckHistoryGraphComponentProps {\r\n id: string;\r\n loadID?: string;\r\n loadDetailsArchivingFlowID?: string;\r\n}\r\nexport interface RateCheckHistoryGraphComponentProps extends BaseRateCheckHistoryGraphComponentProps {\r\n setMin: (rate: number | undefined) => void;\r\n setMax: (rate: number | undefined) => void;\r\n setAverage: (rate: number) => void;\r\n resetRates: () => void;\r\n setMonth?: (month: number) => void;\r\n}\r\n\r\nexport type ChartPaddingBlockProps = {\r\n top?: number;\r\n bottom?: number;\r\n left?: number;\r\n right?: number;\r\n};\r\n\r\ntype RedLineYCoordinatesProps = {\r\n y1?: number;\r\n y2?: number;\r\n};\r\n\r\nexport const useRateCheckHistory = (\r\n id: string,\r\n rateCheckRequest: RateCheckRequest | undefined,\r\n loadID: string | undefined\r\n) => {\r\n const rateCheckHistory = useSelector<{ rateCheck: RateCheckState }, RateCheckHistoryInformation | undefined>(\r\n (state) => state.rateCheck.history[id]\r\n );\r\n const { rateCheck, isLoading: isLoadingRateCheck } = useSelector<{ rateCheck: RateCheckState }, RateCheckState>(\r\n (state) => state.rateCheck\r\n );\r\n const isRateCheckReady = rateCheck && !isLoadingRateCheck;\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (rateCheckHistory?.isSuccess || rateCheckHistory?.isLoading || !isRateCheckReady) {\r\n return;\r\n }\r\n if (loadID) {\r\n dispatch(fetchLoadRateCheckHistory(loadID, undefined));\r\n } else if (rateCheckRequest && isRateCheckReady) {\r\n dispatch(fetchRateCheckHistory(rateCheckRequest));\r\n }\r\n }, [loadID, rateCheckRequest, isLoadingRateCheck, rateCheck]);\r\n\r\n return {\r\n max: rateCheckHistory?.data?.maxRatePerMile,\r\n average: rateCheckHistory?.data?.averageRatePerMileData,\r\n high: rateCheckHistory?.data?.ratePerMileMaxData,\r\n low: rateCheckHistory?.data?.ratePerMileMinData,\r\n flatMax: rateCheckHistory?.data?.maxFlatRate,\r\n flatAverage: rateCheckHistory?.data?.averageFlatRateForMileageData,\r\n flatHigh: rateCheckHistory?.data?.maxFlatRateForMileageData,\r\n flatLow: rateCheckHistory?.data?.minFlatRateForMileageData,\r\n isLoading: rateCheckHistory?.isLoading,\r\n };\r\n};\r\n\r\nexport const useRateCheckHistoryBroker = (id: string, rateCheckRequest: RateCheckRequest | undefined) => {\r\n // The following values are used to render the main graph:\r\n const { flatHigh, flatAverage, flatMax, flatLow, isLoading } = useRateCheckHistory(id, rateCheckRequest, undefined);\r\n // The following value is used to render the widget graph:\r\n const { rateCheckAverage, isLoadingRateCheckAverage } = useSelector<{ rateCheck: RateCheckState }, RateCheckState>(\r\n (state) => state.rateCheck\r\n );\r\n // To keep y-axis consistency across both graphs,\r\n // we set the upper bound by choosing the maximum between flatMax and rateCheckAverage.maxTotal.\r\n const domain = useFlatRateDomain(flatAverage, max([flatMax, rateCheckAverage?.maxTotal]) ?? flatMax);\r\n const tickValues = useMemo(() => map(flatAverage, (data) => data.date), [flatAverage]);\r\n\r\n return {\r\n domain: domain,\r\n tickValues: tickValues,\r\n boxPlotdata: [...(flatHigh ?? []), ...(flatAverage ?? []), ...(flatLow ?? [])],\r\n flatAverage: flatAverage,\r\n isLoading: isLoading,\r\n isLoadingWidget: isLoadingRateCheckAverage,\r\n rateCheckAverage: rateCheckAverage,\r\n };\r\n};\r\n\r\nexport const getTickLength = (average: RateCheckDataPoint[] | undefined) =>\r\n average && average[0] && average[1] && average[0].date - average[1].date;\r\n\r\n/** This function works with both Unix Epoch format and month format from 0 to 11 */\r\nexport const formatMonthTicks = (tick: number, returnLongNames = false) => {\r\n if (tick <= 12) {\r\n return returnLongNames ? monthNames[tick % 12] : monthNamesShort[tick % 12];\r\n }\r\n return returnLongNames ? monthNames[getMonthIndex(tick)] : monthNamesShort[getMonthIndex(tick)];\r\n};\r\n\r\nexport const formatPriceTicks = (tick: number) => {\r\n return `$${formatPrice(tick)}`;\r\n};\r\n\r\nexport const defaultAnimation = { duration: 500 };\r\n\r\nexport const useDomain = (\r\n average: RateCheckDataPoint[] | undefined,\r\n max: number | undefined,\r\n isWithFirstTickOffset = true\r\n) => {\r\n return useMemo(() => {\r\n const unit = getTickLength(average); // determine tick length\r\n const firstTickOffset = isWithFirstTickOffset && unit ? 0.6 * unit : 0;\r\n const startDate = average && average[0].date + firstTickOffset; // offset the first tick\r\n const lastDataPoint = last(average);\r\n const endDate = lastDataPoint && lastDataPoint.date;\r\n return { y: [0, (max || 0) + 2], x: unit && startDate && endDate ? [startDate, endDate] : [1, 10] }; // additional offset on y-axis to display custom legend\r\n }, [max, average]) as { x: [number, number]; y?: [number, number] };\r\n};\r\n\r\nexport const useFlatRateDomain = (average: RateCheckDataPoint[] | undefined, max: number | undefined) => {\r\n return useMemo(() => {\r\n const startDate = average && average[0].date;\r\n const lastDataPoint = last(average);\r\n const endDate = lastDataPoint && lastDataPoint.date;\r\n return { y: [0, (max || 0) + 1000], x: startDate && endDate ? [startDate, endDate] : [1, 10] }; // additional offset on y-axis to display custom legend\r\n }, [max, average]) as { x: [number, number]; y?: [number, number] };\r\n};\r\n\r\nexport const useOnActivated = (\r\n average: RateCheckDataPoint[] | undefined,\r\n props: RateCheckHistoryGraphComponentProps,\r\n low: RateCheckDataPoint[] | undefined,\r\n high: RateCheckDataPoint[] | undefined\r\n) => {\r\n return useCallback(\r\n (points: Array<{ _x: number }>) => {\r\n const index = findIndex(average, (dataPoint) => points && points[0] && points[0]._x === dataPoint.date);\r\n if (isNil(index)) {\r\n return;\r\n }\r\n const averageRate = average?.[index]?.rate;\r\n const lowRate = low?.[index]?.rate;\r\n const highRate = high?.[index]?.rate;\r\n /** This value is using Unix Epoch format */\r\n const averageRateMonth = average?.[index]?.date;\r\n if (averageRate) {\r\n props.setAverage(averageRate);\r\n }\r\n if (lowRate) {\r\n props.setMin(lowRate !== averageRate ? lowRate : undefined);\r\n }\r\n if (highRate) {\r\n props.setMax(highRate !== averageRate ? highRate : undefined);\r\n }\r\n if (averageRateMonth && props.setMonth) {\r\n props.setMonth(averageRateMonth);\r\n }\r\n },\r\n [average, low, high]\r\n );\r\n};\r\n\r\nexport interface IndicatorLineProps {\r\n x?: number;\r\n height?: number;\r\n setLinePosition: (rate: number) => void;\r\n}\r\n\r\nexport const chartPadding = { top: 16, bottom: 32, left: 50, right: 16 };\r\nexport const boxPlotChartPadding = { top: 5, bottom: 40, left: 55, right: 10 };\r\n\r\nexport const VORONOI_CONTAINER_PROPS: { voronoiDimension: 'x'; voronoiBlacklist: string[]; labels: () => string } = {\r\n voronoiDimension: 'x',\r\n voronoiBlacklist: ['parent'],\r\n labels: () => ' ', //@FIXME: remove after https://github.com/FormidableLabs/victory/issues/1805#issuecomment-802179487 is resolved\r\n};\r\n\r\nexport const MONTH_TICK_STYLE = {\r\n tickLabels: { fontSize: 10, padding: 15, angle: -45, verticalAnchor: 'middle' },\r\n};\r\n\r\nexport const EXPANSION_LEVEL_TICK_STYLE = {\r\n tickLabels: { fontSize: 10, fontWeight: 'bold', padding: 15, verticalAnchor: 'middle' },\r\n};\r\n\r\nexport const PRICE_TICK_STYLE = {\r\n tickLabels: { fontSize: 12 },\r\n};\r\n\r\n// since we are not using the same padding for all graph charts we can use this hook to get information about vertical red line Y coordinates\r\n// chart padding is important because it provides offset to render graph line group svg\r\nexport const useBaseRedLineYCoordinates = (\r\n height: number | undefined,\r\n chartPadding: number | ChartPaddingBlockProps\r\n): RedLineYCoordinatesProps => ({\r\n y1: typeof chartPadding === 'number' ? chartPadding : (chartPadding.top ?? 0),\r\n y2: typeof chartPadding === 'number' ? (height ?? 0) - chartPadding : (height ?? 0) - (chartPadding.bottom ?? 0),\r\n});\r\n\r\n/**\r\n * Historical rates\r\n * */\r\n\r\nexport interface RateCheckDataPointWithColor extends RateCheckDataPoint {\r\n color: string;\r\n ratePerMile: number;\r\n}\r\n\r\nexport interface HistoricalRatesByYear {\r\n [key: string]: RateCheckDataPointWithColor;\r\n}\r\n\r\nexport interface HistoricalDatesDataWithEpoch {\r\n epoch: number;\r\n rateData: HistoricalRatesByYear;\r\n}\r\n\r\nexport interface HistoricalRatesData {\r\n historicalRatesData?: HistoricalDatesDataWithEpoch;\r\n setSelectedMonthIndex: (index: number) => void;\r\n}\r\n\r\nexport const useHistoricalRates = (id: string, yearsColors: string[]): HistoricalRatesData => {\r\n const rateCheckHistorical = useSelector<{ rateCheck: RateCheckState }, RateCheckHistoryInformation | undefined>(\r\n (state) => state.rateCheck.historical[id]\r\n );\r\n const dataFlatRate = rateCheckHistorical?.data?.averageFlatRateForMileageData;\r\n const dataPerMileRate = rateCheckHistorical?.data?.averageRatePerMileData;\r\n const [selectedMonthIndex, setSelectedMonthIndex] = useState(new Date().getMonth());\r\n const historicalRatesData = useMemo(() => {\r\n return breakDownHistoricalRatesByYears(dataFlatRate, dataPerMileRate, selectedMonthIndex, yearsColors);\r\n }, [selectedMonthIndex, id, dataFlatRate, dataPerMileRate]);\r\n\r\n const setSelectedMonthIndexCallback = useCallback((index) => setSelectedMonthIndex(index), [setSelectedMonthIndex]);\r\n\r\n return {\r\n historicalRatesData: historicalRatesData,\r\n setSelectedMonthIndex: setSelectedMonthIndexCallback,\r\n };\r\n};\r\n\r\nexport const useRateCheckHistorical = (id: string, rateCheckRequest: RateCheckRequest | undefined) => {\r\n const rateCheckHistorical = useSelector<{ rateCheck: RateCheckState }, RateCheckHistoryInformation | undefined>(\r\n (state) => state.rateCheck.historical[id]\r\n );\r\n const { rateCheck, isLoading: isLoadingRateCheck } = useSelector<{ rateCheck: RateCheckState }, RateCheckState>(\r\n (state) => state.rateCheck\r\n );\r\n const isRateCheckReady = rateCheck && !isLoadingRateCheck;\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (rateCheckHistorical?.isSuccess || rateCheckHistorical?.isLoading || !isRateCheckReady) {\r\n return;\r\n }\r\n if (rateCheckRequest && isRateCheckReady) {\r\n dispatch(fetchRateCheckHistorical(rateCheckRequest));\r\n }\r\n }, [rateCheckRequest, isLoadingRateCheck, rateCheck]);\r\n\r\n return {\r\n max: rateCheckHistorical?.data?.maxRatePerMile,\r\n average: rateCheckHistorical?.data?.averageRatePerMileData,\r\n high: rateCheckHistorical?.data?.ratePerMileMaxData,\r\n low: rateCheckHistorical?.data?.ratePerMileMinData,\r\n flatMax: rateCheckHistorical?.data?.maxFlatRate,\r\n flatAverage: rateCheckHistorical?.data?.averageFlatRateForMileageData,\r\n flatHigh: rateCheckHistorical?.data?.maxFlatRateForMileageData,\r\n flatLow: rateCheckHistorical?.data?.minFlatRateForMileageData,\r\n isLoading: rateCheckHistorical?.isLoading,\r\n };\r\n};\r\n\r\nexport const useActivatedHistorical = (setSelectedMonthIndex: (index: number) => void) => {\r\n return useCallback(\r\n (points: { _x: number }[]) => {\r\n const monthIndex = points[0] && points[0]._x;\r\n setSelectedMonthIndex(monthIndex);\r\n },\r\n [setSelectedMonthIndex]\r\n );\r\n};\r\n\r\nconst isMonthTheSame = (epoch: number, monthIndex: number) => monthIndex === getMonthIndex(epoch);\r\n\r\nconst getIsDataForCurrentYearPopulated = (\r\n epoch: number,\r\n selectedMonthIndex: number,\r\n flatRatesForMonth: RateCheckDataPoint[] | undefined\r\n) => {\r\n const isCurrentMonthOrHigher = getMonthIndex(epoch) <= selectedMonthIndex;\r\n if (!isCurrentMonthOrHigher || isEmpty(flatRatesForMonth)) {\r\n return true;\r\n }\r\n return find(flatRatesForMonth, (rateData) => moment(rateData.date).isSame(epoch, 'year'));\r\n};\r\n\r\nconst breakDownHistoricalRatesByYears = (\r\n rateCheckDataPoints: RateCheckDataPoint[] | undefined,\r\n rateCheckDataPerMilePoints: RateCheckDataPoint[] | undefined,\r\n monthIndex: number,\r\n yearsColors: string[]\r\n) => {\r\n const flatRatesForMonth = filter(rateCheckDataPoints, (rateDataPoint) =>\r\n isMonthTheSame(rateDataPoint.date, monthIndex)\r\n );\r\n const perMileRatesForMonth = filter(rateCheckDataPerMilePoints, (rateDataPoint) =>\r\n isMonthTheSame(rateDataPoint.date, monthIndex)\r\n );\r\n // if we are missing information about month in current year\r\n const currentMonth = moment().startOf('month').utc().valueOf();\r\n const isDataForCurrentYearPopulated = getIsDataForCurrentYearPopulated(currentMonth, monthIndex, flatRatesForMonth);\r\n if (!isDataForCurrentYearPopulated) {\r\n flatRatesForMonth.push({ rate: 0, date: currentMonth });\r\n perMileRatesForMonth.push({ rate: 0, date: currentMonth });\r\n }\r\n /***\r\n * breaking data by each year, output format example:\r\n {\r\n 2019: {rate: 2825.0972153055445, ratePerMile: 1.36804540655484, date: 10, color: '#F1C473'},\r\n 2020: {rate: 3698.802666280325, ratePerMile: 1.79113482181898, date: 10, color: '#9DB9C7'},\r\n ...\r\n }\r\n */\r\n const rateDataByYears = reduce(\r\n flatRatesForMonth,\r\n (acc, item) => {\r\n const year = moment(item.date).year();\r\n const currentYearIndex = values(acc).length;\r\n acc[year] = {\r\n rate: item.rate,\r\n ratePerMile: find(perMileRatesForMonth, (perMileItem) => perMileItem.date === item.date)?.rate,\r\n date: getMonthIndex(item.date),\r\n color: yearsColors[currentYearIndex],\r\n };\r\n return acc;\r\n },\r\n {} as { [key: number]: any }\r\n );\r\n // This value is using Unix Epoch format\r\n const averageRateEpoch = flatRatesForMonth?.[0]?.date;\r\n return { rateData: rateDataByYears, epoch: averageRateEpoch };\r\n};\r\n\r\n/***\r\n * breaking data by each year required for graph, output format example:\r\n {\r\n 2019: [{rate: 2825.0972153055445, date: 10, color: '#F1C473'}, {rate: 3212.0972153055445, date: 11, color: '#F1C473'},...],\r\n 2020: [{rate: 3698.802666280325, date: 10, color: '#9DB9C7'}, {rate: 2891.802666280325, date: 11, color: '#9DB9C7'},...],\r\n ...\r\n }\r\n */\r\nexport const useHistoricalRatesGraphData = (\r\n rateCheckDataPoints: RateCheckDataPoint[] | undefined,\r\n yearsColors: string[]\r\n) =>\r\n useMemo(\r\n () =>\r\n values(\r\n reduce(\r\n rateCheckDataPoints,\r\n (acc, item) => {\r\n const year = moment(item.date).year();\r\n const currentYearIndex = values(acc).length;\r\n const rateDataItem = {\r\n rate: item.rate,\r\n date: getMonthIndex(item.date),\r\n color: yearsColors[currentYearIndex],\r\n };\r\n if (acc[year]) {\r\n acc[year] = [...acc[year], rateDataItem];\r\n } else {\r\n acc[year] = [rateDataItem];\r\n }\r\n return acc;\r\n },\r\n {} as { [key: number]: any }\r\n )\r\n ),\r\n [rateCheckDataPoints]\r\n );\r\n\r\nexport const useHistoricalRatesDomain = (rateCheckDataPoints: RateCheckDataPoint[] | undefined) => {\r\n return useMemo(() => {\r\n const maxRate = maxBy(rateCheckDataPoints, 'rate');\r\n return { y: [0, (maxRate?.rate ?? 0) + 1000], x: [0, 11] }; // additional offset on y-axis\r\n }, [rateCheckDataPoints]) as { x: [number, number]; y?: [number, number] };\r\n};\r\n","import { filter, find, intersectionWith, join, map, split } from 'lodash';\r\n\r\nimport {\r\n EquipmentSpecification,\r\n EquipmentType,\r\n LoadSearchMileage,\r\n LoadSize,\r\n LoadSortField,\r\n LocationType,\r\n OriginLocation,\r\n} from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\nimport { DisplayOption } from './InterfaceHelper';\r\nimport { IKeysSortByLoads, KeysSortByDeadhead, KeysSortByPickupDate } from './SortByKeys';\r\n\r\nexport type EquipmentList = Array>;\r\nexport type EquipmentListWithMultiSelect = Array>;\r\n\r\ninterface RangeBooleanObject {\r\n isShort?: boolean;\r\n isMedium?: boolean;\r\n isRegional?: boolean;\r\n isLong?: boolean;\r\n}\r\n\r\nexport enum LengthRange {\r\n /** 0-200 mi */\r\n short,\r\n /** 201-500 mi */\r\n medium,\r\n /** 501-1000 mi */\r\n regional,\r\n /** 1001+ mi */\r\n long,\r\n}\r\n\r\nexport interface MinMaxRange {\r\n minMileage?: number;\r\n maxMileage?: number;\r\n}\r\n\r\nconst DisplayEquipmentList: EquipmentList = [\r\n {\r\n displayValue: t(T.common_load_equipmentType_AnimalCarrier),\r\n value: EquipmentType.AnimalCarrier,\r\n key: EquipmentType.AnimalCarrier,\r\n id: 'animal_carrier',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_Auto),\r\n value: EquipmentType.Auto,\r\n key: EquipmentType.Auto,\r\n id: 'auto',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_BoatHauler),\r\n value: EquipmentType.BoatHauler,\r\n key: EquipmentType.BoatHauler,\r\n id: 'boat_hauler',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_CargoVan),\r\n value: EquipmentType.CargoVan,\r\n key: EquipmentType.CargoVan,\r\n id: 'cargo_van',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_Container),\r\n value: EquipmentType.Container,\r\n key: EquipmentType.Container,\r\n id: 'container',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_DoubleDrop),\r\n value: EquipmentType.DoubleDrop,\r\n key: EquipmentType.DoubleDrop,\r\n id: 'double_drop',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_DumpTruck),\r\n value: EquipmentType.DumpTruck,\r\n key: EquipmentType.DumpTruck,\r\n id: 'dump_truck',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_Flatbed),\r\n value: EquipmentType.Flatbed,\r\n key: EquipmentType.Flatbed,\r\n id: 'flatbed',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_HeavyHaulers),\r\n value: EquipmentType.HeavyHaulers,\r\n key: EquipmentType.HeavyHaulers,\r\n id: 'heavy_haulers',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_HopperBottom),\r\n value: EquipmentType.HopperBottom,\r\n key: EquipmentType.HopperBottom,\r\n id: 'hopper_bottom',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_Landoll),\r\n value: EquipmentType.Landoll,\r\n key: EquipmentType.Landoll,\r\n id: 'landoll',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_LowBoy),\r\n value: EquipmentType.LowBoy,\r\n key: EquipmentType.LowBoy,\r\n id: 'low_boy',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_Maxi),\r\n value: EquipmentType.Maxi,\r\n key: EquipmentType.Maxi,\r\n id: 'maxi',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_MovingVan),\r\n value: EquipmentType.MovingVan,\r\n key: EquipmentType.MovingVan,\r\n id: 'moving_van',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_PowerOnly),\r\n value: EquipmentType.PowerOnly,\r\n key: EquipmentType.PowerOnly,\r\n id: 'power_only',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_Reefer),\r\n value: EquipmentType.Reefer,\r\n key: EquipmentType.Reefer,\r\n id: 'reefer',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_RemovableGooseneck),\r\n value: EquipmentType.RemovableGooseneck,\r\n key: EquipmentType.RemovableGooseneck,\r\n id: 'removable_gooseneck',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_StepDeck),\r\n value: EquipmentType.StepDeck,\r\n key: EquipmentType.StepDeck,\r\n id: 'step_deck',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_BoxTruck),\r\n value: EquipmentType.BoxTruck,\r\n key: EquipmentType.BoxTruck,\r\n id: 'straight_box_truck',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_Tanker),\r\n value: EquipmentType.Tanker,\r\n key: EquipmentType.Tanker,\r\n id: 'tanker',\r\n },\r\n {\r\n displayValue: t(T.common_load_equipmentType_Van),\r\n value: EquipmentType.Van,\r\n key: EquipmentType.Van,\r\n id: 'van',\r\n },\r\n];\r\n\r\nexport const SearchEquipmentListGrouped: { [key: string]: EquipmentList } = {\r\n popular: [\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_Flatbed)} (${t(T.common_load_equipmentCode_Flatbed)})`,\r\n value: EquipmentType.Flatbed,\r\n key: EquipmentType.Flatbed,\r\n id: 'flatbed',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_Reefer)} (${t(T.common_load_equipmentCode_Reefer)})`,\r\n value: EquipmentType.Reefer,\r\n key: EquipmentType.Reefer,\r\n id: 'reefer',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_Van)} (${t(T.common_load_equipmentCode_Van)})`,\r\n value: EquipmentType.Van,\r\n key: EquipmentType.Van,\r\n id: 'van',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_PowerOnly)} (${t(T.common_load_equipmentCode_PowerOnly)})`,\r\n value: EquipmentType.PowerOnly,\r\n key: EquipmentType.PowerOnly,\r\n id: 'power_only',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_StepDeck)} (${t(T.common_load_equipmentCode_StepDeck)})`,\r\n value: EquipmentType.StepDeck,\r\n key: EquipmentType.StepDeck,\r\n id: 'step_deck',\r\n },\r\n ],\r\n other: [\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_AnimalCarrier)} (${t(T.common_load_equipmentCode_AnimalCarrier)})`,\r\n value: EquipmentType.AnimalCarrier,\r\n key: EquipmentType.AnimalCarrier,\r\n id: 'animal_carrier',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_Auto)} (${t(T.common_load_equipmentCode_Auto)})`,\r\n value: EquipmentType.Auto,\r\n key: EquipmentType.Auto,\r\n id: 'auto',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_BoatHauler)} (${t(T.common_load_equipmentCode_BoatHauler)})`,\r\n value: EquipmentType.BoatHauler,\r\n key: EquipmentType.BoatHauler,\r\n id: 'boat_hauler',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_CargoVan)} (${t(T.common_load_equipmentCode_CargoVan)})`,\r\n value: EquipmentType.CargoVan,\r\n key: EquipmentType.CargoVan,\r\n id: 'cargo_van',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_Container)} (${t(T.common_load_equipmentCode_Container)})`,\r\n value: EquipmentType.Container,\r\n key: EquipmentType.Container,\r\n id: 'container',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_DoubleDrop)} (${t(T.common_load_equipmentCode_DoubleDrop)})`,\r\n value: EquipmentType.DoubleDrop,\r\n key: EquipmentType.DoubleDrop,\r\n id: 'double_drop',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_DumpTruck)} (${t(T.common_load_equipmentCode_DumpTruck)})`,\r\n value: EquipmentType.DumpTruck,\r\n key: EquipmentType.DumpTruck,\r\n id: 'dump_truck',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_HeavyHaulers)} (${t(T.common_load_equipmentCode_HeavyHaulers)})`,\r\n value: EquipmentType.HeavyHaulers,\r\n key: EquipmentType.HeavyHaulers,\r\n id: 'heavy_haulers',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_HopperBottom)} (${t(T.common_load_equipmentCode_HopperBottom)})`,\r\n value: EquipmentType.HopperBottom,\r\n key: EquipmentType.HopperBottom,\r\n id: 'hopper_bottom',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_Landoll)} (${t(T.common_load_equipmentCode_Landoll)})`,\r\n value: EquipmentType.Landoll,\r\n key: EquipmentType.Landoll,\r\n id: 'landoll',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_LowBoy)} (${t(T.common_load_equipmentCode_LowBoy)})`,\r\n value: EquipmentType.LowBoy,\r\n key: EquipmentType.LowBoy,\r\n id: 'low_boy',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_Maxi)} (${t(T.common_load_equipmentCode_Maxi)})`,\r\n value: EquipmentType.Maxi,\r\n key: EquipmentType.Maxi,\r\n id: 'maxi',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_MovingVan)} (${t(T.common_load_equipmentCode_MovingVan)})`,\r\n value: EquipmentType.MovingVan,\r\n key: EquipmentType.MovingVan,\r\n id: 'moving_van',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_RemovableGooseneck)} (${t(\r\n T.common_load_equipmentCode_RemovableGooseneck\r\n )})`,\r\n value: EquipmentType.RemovableGooseneck,\r\n key: EquipmentType.RemovableGooseneck,\r\n id: 'removable_gooseneck',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_BoxTruck)} (${t(T.common_load_equipmentCode_BoxTruck)})`,\r\n value: EquipmentType.BoxTruck,\r\n key: EquipmentType.BoxTruck,\r\n id: 'straight_box_truck',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_Tanker)} (${t(T.common_load_equipmentCode_Tanker)})`,\r\n value: EquipmentType.Tanker,\r\n key: EquipmentType.Tanker,\r\n id: 'tanker',\r\n },\r\n ],\r\n};\r\n\r\nexport const SearchEquipmentList: EquipmentList = [\r\n ...SearchEquipmentListGrouped.popular,\r\n ...SearchEquipmentListGrouped.other,\r\n];\r\n\r\nexport type SpecificationList = Array>;\r\n\r\nexport type EquipmentSpec = { displayName: string; displayCode: string; key: EquipmentSpecification; id: string };\r\n\r\nexport const EquipmentSpecificationList: EquipmentSpec[] = [\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_AirRide),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_AirRide),\r\n key: EquipmentSpecification.AirRide,\r\n id: 'air_ride',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_BlanketWrap),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_BlanketWrap),\r\n key: EquipmentSpecification.BlanketWrap,\r\n id: 'blanket_wrap',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_BTrain),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_BTrain),\r\n key: EquipmentSpecification.BTrain,\r\n id: 'b_train',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Chains),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Chains),\r\n key: EquipmentSpecification.Chains,\r\n id: 'chains',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Chassis),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Chassis),\r\n key: EquipmentSpecification.Chassis,\r\n id: 'chassis',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Conestoga),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Conestoga),\r\n key: EquipmentSpecification.Conestoga,\r\n id: 'conestoga',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Curtains),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Curtains),\r\n key: EquipmentSpecification.Curtains,\r\n id: 'curtains',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Double),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Double),\r\n key: EquipmentSpecification.Double,\r\n id: 'double',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Extendable),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Extendable),\r\n key: EquipmentSpecification.Extendable,\r\n id: 'extendable',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_ETrack),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_ETrack),\r\n key: EquipmentSpecification.ETrack,\r\n id: 'e_track',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_HazMat),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_HazMat),\r\n key: EquipmentSpecification.HazMat,\r\n id: 'hazmat',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_HotShot),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_HotShot),\r\n key: EquipmentSpecification.HotShot,\r\n id: 'hot_shot',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Insulated),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Insulated),\r\n key: EquipmentSpecification.Insulated,\r\n id: 'insulated',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Intermodal),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Intermodal),\r\n key: EquipmentSpecification.Intermodal,\r\n id: 'intermodal',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_LiftGate),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_LiftGate),\r\n key: EquipmentSpecification.LiftGate,\r\n id: 'lift_gate',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_LoadOut),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_LoadOut),\r\n key: EquipmentSpecification.LoadOut,\r\n id: 'load_out',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_LoadRamps),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_LoadRamps),\r\n key: EquipmentSpecification.LoadRamps,\r\n id: 'load_ramps',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Moving),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Moving),\r\n key: EquipmentSpecification.Moving,\r\n id: 'moving',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_OpenTop),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_OpenTop),\r\n key: EquipmentSpecification.OpenTop,\r\n id: 'open_top',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Oversized),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Oversized),\r\n key: EquipmentSpecification.Oversized,\r\n id: 'oversized',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_PalletExchange),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_PalletExchange),\r\n key: EquipmentSpecification.PalletExchange,\r\n id: 'pallet_exchange',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_PlateTrailer),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_PlateTrailer),\r\n key: EquipmentSpecification.PlateTrailer,\r\n id: 'plate_trailer',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_SideKit),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_SideKit),\r\n key: EquipmentSpecification.SideKit,\r\n id: 'side_kit',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Tarps),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Tarps),\r\n key: EquipmentSpecification.Tarps,\r\n id: 'tarps',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_TeamDriver),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_TeamDriver),\r\n key: EquipmentSpecification.TeamDriver,\r\n id: 'team_driver',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_TempControlled),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_TempControlled),\r\n key: EquipmentSpecification.TempControlled,\r\n id: 'temp_controlled',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Triple),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Triple),\r\n key: EquipmentSpecification.Triple,\r\n id: 'triple',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_Vented),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_Vented),\r\n key: EquipmentSpecification.Vented,\r\n id: 'vented',\r\n },\r\n {\r\n displayName: t(T.common_load_equipmentSpecification_WalkingFloor),\r\n displayCode: t(T.common_load_equipmentSpecificationCode_WalkingFloor),\r\n key: EquipmentSpecification.WalkingFloor,\r\n id: 'walking_floor',\r\n },\r\n];\r\n\r\nexport const SearchEquipmentSpecificationList: SpecificationList = map(EquipmentSpecificationList, (spec) => ({\r\n displayValue: `${spec.displayName} (${spec.displayCode})`,\r\n value: spec.key,\r\n key: spec.key,\r\n id: spec.id,\r\n}));\r\n\r\nexport const SearchEquipmentSpecificationListWithAll = [\r\n {\r\n displayValue: t(T.common_any),\r\n value: EquipmentSpecification.All,\r\n key: EquipmentSpecification.All,\r\n id: 'all',\r\n },\r\n ...SearchEquipmentSpecificationList,\r\n];\r\n\r\nexport const LoadAvailabilitySortOptions: Array> = [\r\n {\r\n displayValue: t(T.common_sortByKeys_postedAge),\r\n value: LoadSortField.PostedAge,\r\n key: `${LoadSortField.PostedAge}`,\r\n id: 'posted_age',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_pickupDate),\r\n value: LoadSortField.PickupDate,\r\n key: `${LoadSortField.PickupDate}`,\r\n id: 'pickup_date',\r\n },\r\n {\r\n displayValue: t(T.common_search_pickUpLocation),\r\n value: LoadSortField.OriginStateCity,\r\n key: `${LoadSortField.OriginStateCity}`,\r\n id: 'pickup_location',\r\n },\r\n {\r\n displayValue: t(T.common_search_dropOffLocation),\r\n value: LoadSortField.DestinationStateCity,\r\n key: `${LoadSortField.DestinationStateCity}`,\r\n id: 'destination_location',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_trip),\r\n value: LoadSortField.TripDistance,\r\n key: `${LoadSortField.TripDistance}`,\r\n id: 'trip_distance',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_tripRate),\r\n value: LoadSortField.TripRate,\r\n key: `${LoadSortField.TripRate}`,\r\n id: 'trip_rate',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_pricePerMile),\r\n value: LoadSortField.RatePerMile,\r\n key: `${LoadSortField.RatePerMile}`,\r\n id: 'rate_per_mile',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_equipment),\r\n value: LoadSortField.Equipment,\r\n key: `${LoadSortField.Equipment}`,\r\n id: 'equipment',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_size),\r\n value: LoadSortField.Size,\r\n key: `${LoadSortField.Size}`,\r\n id: 'size',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_weightLb),\r\n value: LoadSortField.Weight,\r\n key: `${LoadSortField.Weight}`,\r\n id: 'weight',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_lengthFt),\r\n value: LoadSortField.Length,\r\n key: `${LoadSortField.Length}`,\r\n id: 'length',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_company),\r\n value: LoadSortField.CompanyName,\r\n key: `${LoadSortField.CompanyName}`,\r\n id: 'company_name',\r\n },\r\n //@TODO add these sorting options when their values are visible to the user in load search\r\n // {\r\n // displayValue: t(T.common_sortByKeys_creditScore),\r\n // value: LoadSortField.CreditScore,\r\n // key: `${LoadSortField.CreditScore}`,\r\n // id: 'credit_score',\r\n // },\r\n // {\r\n // displayValue: t(T.common_sortByKeys_daysToPay),\r\n // value: LoadSortField.DaysToPay,\r\n // key: `${LoadSortField.DaysToPay}`,\r\n // id: 'days_to_pay',\r\n // },\r\n];\r\n\r\nexport const LoadPostSortOptions: Array> = [\r\n {\r\n displayValue: t(T.common_search_age),\r\n value: LoadSortField.PostedAge,\r\n key: `${LoadSortField.PostedAge}`,\r\n id: 'posted_age',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_pickupDate),\r\n value: LoadSortField.PickupDate,\r\n key: `${LoadSortField.PickupDate}`,\r\n id: 'pickup_date',\r\n },\r\n {\r\n displayValue: t(T.common_search_pickUpLocation),\r\n value: LoadSortField.OriginStateCity,\r\n key: `${LoadSortField.OriginStateCity}`,\r\n id: 'pickup_location',\r\n },\r\n {\r\n displayValue: t(T.common_search_dropOffLocation),\r\n value: LoadSortField.DestinationStateCity,\r\n key: `${LoadSortField.DestinationStateCity}`,\r\n id: 'dropoff_location',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_trip),\r\n value: LoadSortField.TripDistance,\r\n key: `${LoadSortField.TripDistance}`,\r\n id: 'trip',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_tripRate),\r\n value: LoadSortField.TripRate,\r\n key: `${LoadSortField.TripRate}`,\r\n id: 'rate',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_equipment),\r\n value: LoadSortField.Equipment,\r\n key: `${LoadSortField.Equipment}`,\r\n id: 'equipment',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_size),\r\n value: LoadSortField.Size,\r\n key: `${LoadSortField.Size}`,\r\n id: 'size',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_weightLb),\r\n value: LoadSortField.Weight,\r\n key: `${LoadSortField.Weight}`,\r\n id: 'weight',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_lengthFt),\r\n value: LoadSortField.Length,\r\n key: `${LoadSortField.Length}`,\r\n id: 'length',\r\n },\r\n {\r\n displayValue: t(T.common_sortByKeys_ref),\r\n value: LoadSortField.PostReference,\r\n key: `${LoadSortField.PostReference}`,\r\n id: 'ref',\r\n },\r\n];\r\n\r\nexport const TrailerOptions: { [key: string]: EquipmentListWithMultiSelect } = {\r\n types: [\r\n {\r\n displayValue: t(T.common_any),\r\n value: EquipmentType.All,\r\n key: EquipmentType.All,\r\n id: 'all',\r\n },\r\n ],\r\n quickSelect: [\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_AllFlatbed)} (${t(T.common_load_equipmentCode_Flatbed)}, ${t(\r\n T.common_load_equipmentCode_StepDeck\r\n )}, ${t(T.common_load_equipmentCode_RemovableGooseneck)}, ${t(T.common_load_equipmentCode_DoubleDrop)}, ${t(\r\n T.common_load_equipmentCode_Maxi\r\n )}, ${t(T.common_load_equipmentCode_LowBoy)}, ${t(T.common_load_equipmentCode_Landoll)})`,\r\n value: [\r\n EquipmentType.Flatbed,\r\n EquipmentType.StepDeck,\r\n EquipmentType.RemovableGooseneck,\r\n EquipmentType.DoubleDrop,\r\n EquipmentType.Maxi,\r\n EquipmentType.LowBoy,\r\n EquipmentType.Landoll,\r\n ],\r\n key: 'all_flatbed',\r\n id: 'all_flatbed',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_AllVan)} (${t(T.common_load_equipmentCode_Van)}, ${t(\r\n T.common_load_equipmentCode_MovingVan\r\n )}, ${t(T.common_load_equipmentCode_CargoVan)}, ${t(T.common_load_equipmentCode_BoxTruck)})`,\r\n value: [EquipmentType.Van, EquipmentType.MovingVan, EquipmentType.CargoVan, EquipmentType.BoxTruck],\r\n key: 'all_van',\r\n id: 'all_van',\r\n },\r\n ],\r\n popular: SearchEquipmentListGrouped.popular,\r\n other: SearchEquipmentListGrouped.other,\r\n};\r\n\r\nconst SmallTrailerList: EquipmentList = [\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_BoxTruck)} (${t(T.common_load_equipmentCode_BoxTruck)})`,\r\n value: EquipmentType.BoxTruck,\r\n key: EquipmentType.BoxTruck,\r\n id: 'straight_box_truck',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_CargoVan)} (${t(T.common_load_equipmentCode_CargoVan)})`,\r\n value: EquipmentType.CargoVan,\r\n key: EquipmentType.CargoVan,\r\n id: 'cargo_van',\r\n },\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_MovingVan)} (${t(T.common_load_equipmentCode_MovingVan)})`,\r\n value: EquipmentType.MovingVan,\r\n key: EquipmentType.MovingVan,\r\n id: 'moving_van',\r\n },\r\n];\r\n\r\nexport const SmallTrailerOptions: EquipmentList = [\r\n ...SmallTrailerList,\r\n {\r\n displayValue: `${t(T.common_load_equipmentType_Van)} (${t(T.common_load_equipmentCode_Van)})`,\r\n value: EquipmentType.Van,\r\n key: EquipmentType.Van,\r\n id: 'van',\r\n },\r\n];\r\n\r\nexport const isSelectedSmallTrailerOptions = (trailerTypes: EquipmentType[]): boolean => {\r\n const selectedSmallTrailerTypesLength = intersectionWith(\r\n SmallTrailerList,\r\n trailerTypes,\r\n (smallTrailerType, trailerType) => smallTrailerType.key === trailerType\r\n ).length;\r\n return selectedSmallTrailerTypesLength < SmallTrailerList.length && selectedSmallTrailerTypesLength > 0;\r\n};\r\n\r\nexport const getStringifiedEquipmentTypeAndName = (equipmentType?: EquipmentType, displayName?: string) => {\r\n const equipment = find(DisplayEquipmentList, (equipType) => equipType.value === equipmentType);\r\n return equipment && displayName ? `${equipment.displayValue} (${displayName})` : '';\r\n};\r\n\r\n/* When it is required to return stringified Equipments Type with Equipment Code */\r\nexport const getStringifiedEquipmentType = (equipmentType: EquipmentType) => {\r\n const equipment = find(SearchEquipmentList, (equipType) => equipType.value === equipmentType);\r\n return equipment ? equipment.displayValue : '';\r\n};\r\n\r\n/* When it is required to return stringified Equipments Type withOut Equipment Code */\r\nexport const getStringifiedDisplayEquipmentList = (equipmentType: EquipmentType) => {\r\n const equipment = find(DisplayEquipmentList, (equipType) => equipType.value === equipmentType);\r\n return equipment ? equipment.displayValue : '';\r\n};\r\n\r\n/* When it is required to return stringified Equipments Specification with Specification Code */\r\nexport const getStringifiedEquipmentSpec = (equipmentSpecifications: EquipmentSpecification) => {\r\n const equipment = find(\r\n SearchEquipmentSpecificationList,\r\n (equipSpecifications) => equipSpecifications.value === equipmentSpecifications\r\n );\r\n return equipment ? equipment.displayValue : '';\r\n};\r\n\r\n/* When it is required to return stringified Equipments Specification withOut Specification Code */\r\nexport const getStringifiedEquipmentSpecName = (equipmentSpecifications: string) => {\r\n if (!equipmentSpecifications || equipmentSpecifications === EquipmentSpecification.None) {\r\n return '';\r\n }\r\n const specs = split(equipmentSpecifications, ', ');\r\n return join(\r\n map(specs, (spec) => {\r\n const equipment = find(EquipmentSpecificationList, (equipSpecifications) => equipSpecifications.key === spec);\r\n return equipment ? equipment.displayName : '';\r\n }),\r\n ', '\r\n );\r\n};\r\n\r\nexport const loadSizeToString = (loadSize: LoadSize) => {\r\n if (loadSize === LoadSize.TL) {\r\n return t(T.common_load_filter_tl);\r\n }\r\n if (loadSize === LoadSize.LTL) {\r\n return t(T.common_load_filter_ltl);\r\n }\r\n return t(T.common_any);\r\n};\r\n\r\nexport const getSortByMatchingLoadSearchOrigin = (origin: OriginLocation, sortBy?: IKeysSortByLoads) => {\r\n if (origin.type === LocationType.STATE && (sortBy?.field === KeysSortByDeadhead.field || !sortBy)) {\r\n return {\r\n field: KeysSortByPickupDate.field,\r\n direction: KeysSortByPickupDate.direction,\r\n };\r\n } else if (!sortBy) {\r\n return {\r\n field: KeysSortByDeadhead.field,\r\n direction: KeysSortByDeadhead.direction,\r\n };\r\n } else {\r\n return {\r\n field: sortBy.field,\r\n direction: sortBy.direction,\r\n };\r\n }\r\n};\r\n\r\nexport const maxMileageRequestValue = (mileage: string | undefined) => {\r\n if (mileage === '' || mileage === undefined || mileage === '0') {\r\n return undefined;\r\n } else {\r\n return +mileage;\r\n }\r\n};\r\n\r\nexport const computeMinMax = (ranges: LengthRange[], bias: boolean = false): MinMaxRange => {\r\n const { isShort, isMedium, isRegional, isLong } = convertSelectArrayToBooleanObject(ranges);\r\n\r\n // short : min= 0, max= 200\r\n // medium : min= 201, max= 500\r\n // regional : min= 501, max=1000\r\n // long: : min=1001, max=undefined\r\n\r\n let minMileage: number | undefined = LoadSearchMileage.MIN;\r\n let maxMileage: number | undefined;\r\n\r\n if (!isShort) {\r\n minMileage = LoadSearchMileage.MAX_SHORT + 1;\r\n if (!isMedium) {\r\n minMileage = LoadSearchMileage.MAX_MEDIUM + 1;\r\n if (!isRegional) {\r\n minMileage = LoadSearchMileage.MAX_REGIONAL + 1;\r\n if (!isLong) {\r\n // None case which will eventually mean Any (but allow all unchecked while editing)\r\n minMileage = undefined;\r\n }\r\n }\r\n }\r\n }\r\n\r\n if (!isLong) {\r\n maxMileage = LoadSearchMileage.MAX_REGIONAL;\r\n if (!isRegional) {\r\n maxMileage = LoadSearchMileage.MAX_MEDIUM;\r\n if (!isMedium) {\r\n maxMileage = LoadSearchMileage.MAX_SHORT;\r\n if (!isShort) {\r\n // None case which will eventually mean Any (but allow all unchecked while editing)\r\n maxMileage = undefined;\r\n }\r\n }\r\n }\r\n }\r\n\r\n // special \"impossible\" case : if the user unchecked in the middle,\r\n // we resolve this by removing the long range if bias = false (user is unchecking something)\r\n // we resolve this by putting all the range if bias = true (user is checking something)\r\n if (!isMedium && isShort && isLong && !bias) {\r\n maxMileage = LoadSearchMileage.MAX_SHORT;\r\n }\r\n\r\n return { minMileage: minMileage, maxMileage: maxMileage };\r\n};\r\n\r\nexport const computeRanges = (minMileage: number | undefined, maxMileage: number | undefined): LengthRange[] => {\r\n // short : min= 0, max= 200\r\n // medium : min= 201, max= 500\r\n // regional : min= 501, max=1000\r\n // long: : min=1001, max=undefined\r\n\r\n let isShort = true;\r\n let isMedium = true;\r\n let isRegional = true;\r\n let isLong = true;\r\n\r\n if (minMileage === undefined && maxMileage === undefined) {\r\n // None case which will eventually mean Any (but allow all unchecked while editing)\r\n isShort = false;\r\n isMedium = false;\r\n isRegional = false;\r\n isLong = false;\r\n } else {\r\n if (minMileage && minMileage > LoadSearchMileage.MAX_SHORT) {\r\n isShort = false;\r\n if (minMileage > LoadSearchMileage.MAX_MEDIUM) {\r\n isMedium = false;\r\n if (minMileage > LoadSearchMileage.MAX_REGIONAL) {\r\n isRegional = false;\r\n }\r\n }\r\n }\r\n if (maxMileage && maxMileage <= LoadSearchMileage.MAX_REGIONAL) {\r\n isLong = false;\r\n if (maxMileage <= LoadSearchMileage.MAX_MEDIUM) {\r\n isRegional = false;\r\n if (maxMileage <= LoadSearchMileage.MAX_SHORT) {\r\n isMedium = false;\r\n }\r\n }\r\n }\r\n }\r\n\r\n const result = [];\r\n if (isShort) {\r\n result.push(LengthRange.short);\r\n }\r\n if (isMedium) {\r\n result.push(LengthRange.medium);\r\n }\r\n if (isRegional) {\r\n result.push(LengthRange.regional);\r\n }\r\n if (isLong) {\r\n result.push(LengthRange.long);\r\n }\r\n\r\n return result;\r\n};\r\n\r\nconst convertSelectArrayToBooleanObject = (ranges: LengthRange[]): RangeBooleanObject => {\r\n const rangeObject: RangeBooleanObject = {};\r\n\r\n ranges.forEach((range: LengthRange) => {\r\n switch (range) {\r\n case LengthRange.short:\r\n rangeObject.isShort = true;\r\n break;\r\n case LengthRange.medium:\r\n rangeObject.isMedium = true;\r\n break;\r\n case LengthRange.regional:\r\n rangeObject.isRegional = true;\r\n break;\r\n case LengthRange.long:\r\n rangeObject.isLong = true;\r\n }\r\n });\r\n\r\n return rangeObject;\r\n};\r\n\r\nexport const renderMileageText = (\r\n minMileage?: number,\r\n maxMileage?: number,\r\n shouldIncludeMileageValues?: boolean\r\n): string => {\r\n const { isShort, isMedium, isRegional, isLong } = convertSelectArrayToBooleanObject(\r\n computeRanges(minMileage, maxMileage)\r\n );\r\n\r\n if ((!isShort && !isMedium && !isRegional && !isLong) || (isShort && isLong)) {\r\n // all or nothing means \"Any\"\r\n return t(T.common_loadSearch_tripLength_any);\r\n }\r\n const flags = [isShort, isMedium, isRegional, isLong];\r\n const selectedFlagsCount = filter(flags, (flag) => flag).length;\r\n if (selectedFlagsCount > 1 && selectedFlagsCount < flags.length) {\r\n return t(T.common_loadSearch_tripLength_custom);\r\n }\r\n\r\n if (isLong) {\r\n return `${t(T.common_loadSearch_tripLength_long)}${\r\n shouldIncludeMileageValues ? `: ${minMileage}+ ${t(T.common_miles_short)}` : ''\r\n }`;\r\n }\r\n\r\n if (isRegional) {\r\n return `${t(T.common_loadSearch_tripLength_regional)}${\r\n shouldIncludeMileageValues ? `: ${minMileage} - ${maxMileage} ${t(T.common_miles_short)}` : ''\r\n }`;\r\n }\r\n\r\n if (isMedium) {\r\n return `${t(T.common_loadSearch_tripLength_medium)}${\r\n shouldIncludeMileageValues ? `: ${minMileage} - ${maxMileage} ${t(T.common_miles_short)}` : ''\r\n }`;\r\n }\r\n\r\n return `${t(T.common_loadSearch_tripLength_short)}${\r\n shouldIncludeMileageValues ? `: ${minMileage} - ${maxMileage} ${t(T.common_miles_short)}` : ''\r\n }`;\r\n};\r\n\r\nexport interface TripLengthRange {\r\n type?: string;\r\n min: number;\r\n max?: number;\r\n}\r\n\r\nexport const TRIP_LENGTH_ANY = {\r\n minMileage: 0,\r\n maxMileage: undefined,\r\n};\r\n\r\nexport const isTripLengthAny = (minMileage: number | undefined, maxMileage: number | undefined) =>\r\n minMileage === TRIP_LENGTH_ANY.minMileage && maxMileage === TRIP_LENGTH_ANY.maxMileage;\r\n\r\nexport const tripLengthRangeToString = (range: TripLengthRange) =>\r\n range.max !== undefined ? `${range.min} - ${range.max}` : `${range.min}+`;\r\n","import { clone, find, forEach, map } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\n\r\nimport { LoadSortField, loadSortFor, SortDirection, ViewChoice } from '@common/model';\r\nimport { LoadAvailabilitySort, LoadAvailabilitySortCategory } from '@common/model/LoadAvailability';\r\nimport { LoadSearchSort, LoadSortCategory, LoadSortDirection } from '@common/model/LoadSearchSort';\r\nimport { ResultSortCategory, SearchDirectoryCompanySort } from '@common/model/SearchDirectory';\r\nimport { t, T } from '@translate';\r\n\r\nimport { DisplayOption } from './InterfaceHelper';\r\n\r\nexport type IKeysSortByRegion = Sort & LoadAvailabilitySort;\r\nexport type IKeysSortBySearchDirectoryCompany = Sort & SearchDirectoryCompanySort;\r\nexport type IKeysSortByLoads = Sort & LoadSearchSort;\r\nexport type IKeysSortBy = IKeysSortByRegion | IKeysSortByLoads | ViewChoice;\r\n\r\nexport interface Sort {\r\n id: string;\r\n title: string;\r\n}\r\n\r\nexport const KeysSortByPickupDate: IKeysSortByLoads = {\r\n id: '0',\r\n title: t(T.common_sortByKeys_pickupDate),\r\n field: LoadSortCategory.PICKUP_DATE,\r\n direction: LoadSortDirection.Asc,\r\n};\r\n\r\nexport const KeysSortByAge: IKeysSortByLoads = {\r\n id: '1',\r\n title: t(T.common_sortByKeys_postedAge),\r\n field: LoadSortCategory.AGE,\r\n direction: LoadSortDirection.Asc,\r\n};\r\n\r\nexport const StateKeysSortBy: IKeysSortByLoads[] = [\r\n KeysSortByPickupDate,\r\n KeysSortByAge,\r\n {\r\n id: '2',\r\n title: t(T.common_search_pickUpLocation),\r\n field: LoadSortCategory.ORIGIN_STATE_CITY,\r\n direction: LoadSortDirection.Asc,\r\n },\r\n {\r\n id: '3',\r\n title: t(T.common_search_dropOffLocation),\r\n field: LoadSortCategory.DESTINATION_STATE_CITY,\r\n direction: LoadSortDirection.Asc,\r\n },\r\n {\r\n id: '4',\r\n title: t(T.common_sortByKeys_trip),\r\n field: LoadSortCategory.MILEAGE,\r\n direction: LoadSortDirection.Asc,\r\n },\r\n {\r\n id: '5',\r\n title: t(T.common_sortByKeys_tripRate),\r\n field: LoadSortCategory.AMOUNT,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '6',\r\n title: t(T.common_sortByKeys_pricePerMile),\r\n field: LoadSortCategory.PRICE_PER_MILE,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '7',\r\n title: t(T.common_sortByKeys_equipment),\r\n field: LoadSortCategory.EQUIPMENT,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '8',\r\n title: t(T.common_sortByKeys_size),\r\n field: LoadSortCategory.SIZE,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '9',\r\n title: t(T.common_sortByKeys_weightLb),\r\n field: LoadSortCategory.WEIGHT,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '10',\r\n title: t(T.common_sortByKeys_lengthFt),\r\n field: LoadSortCategory.LENGTH,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '11',\r\n title: t(T.common_sortByKeys_company),\r\n field: LoadSortCategory.COMPANY,\r\n direction: LoadSortDirection.Asc,\r\n },\r\n // @TODO add these sorting options when their values are visible to the user in load search\r\n // {\r\n // id: '10',\r\n // title: t(T.common_sortByKeys_creditScore),\r\n // field: LoadSortCategory.CREDIT_RATING,\r\n // direction: LoadSortDirection.Desc,\r\n // },\r\n // {\r\n // id: '11',\r\n // title: t(T.common_sortByKeys_daysToPay),\r\n // field: LoadSortCategory.DAYS_TO_PAY,\r\n // direction: LoadSortDirection.Desc,\r\n // },\r\n];\r\n\r\nconst commonSortKeys = () => {\r\n const keys = clone(StateKeysSortBy);\r\n return forEach(keys, (key) => {\r\n key.id = `${+key.id + 1}`;\r\n });\r\n};\r\n\r\nexport const KeysSortByDeadhead: IKeysSortByLoads = {\r\n id: '0',\r\n title: t(T.common_sortByKeys_deadheadMiles),\r\n field: LoadSortCategory.ORIGIN,\r\n direction: LoadSortDirection.Asc,\r\n};\r\n\r\nexport const KeysSortBy: IKeysSortByLoads[] = [KeysSortByDeadhead, ...commonSortKeys()];\r\n\r\nexport const RegionKeysSortBy: IKeysSortByRegion[] = [\r\n {\r\n id: '0',\r\n title: t(T.common_loadAvailability_regionTypes_USA),\r\n field: LoadAvailabilitySortCategory.USA,\r\n },\r\n {\r\n id: '1',\r\n title: t(T.common_loadAvailability_regionTypes_Northeast),\r\n field: LoadAvailabilitySortCategory.Northeast,\r\n },\r\n {\r\n id: '2',\r\n title: t(T.common_loadAvailability_regionTypes_Midwest),\r\n field: LoadAvailabilitySortCategory.Midwest,\r\n },\r\n {\r\n id: '3',\r\n title: t(T.common_loadAvailability_regionTypes_Plains),\r\n field: LoadAvailabilitySortCategory.Plains,\r\n },\r\n {\r\n id: '4',\r\n title: t(T.common_loadAvailability_regionTypes_South),\r\n field: LoadAvailabilitySortCategory.South,\r\n },\r\n {\r\n id: '5',\r\n title: t(T.common_loadAvailability_regionTypes_West),\r\n field: LoadAvailabilitySortCategory.West,\r\n },\r\n {\r\n id: '6',\r\n title: t(T.common_loadAvailability_regionTypes_Canada),\r\n field: LoadAvailabilitySortCategory.Canada,\r\n },\r\n {\r\n id: '7',\r\n title: t(T.common_loadAvailability_regionTypes_Other),\r\n field: LoadAvailabilitySortCategory.Other,\r\n },\r\n];\r\n\r\nexport const SearchDirectoryKeysSortBy: IKeysSortBySearchDirectoryCompany[] = [\r\n {\r\n id: '0',\r\n title: t(T.common_sortByKeys_company),\r\n direction: SortDirection.Ascending,\r\n field: ResultSortCategory.Name,\r\n },\r\n {\r\n id: '1',\r\n title: t(T.common_sortByKeys_searchDirectory_location),\r\n direction: SortDirection.Ascending,\r\n field: ResultSortCategory.Location,\r\n },\r\n {\r\n id: '2',\r\n title: t(T.common_sortByKeys_searchDirectory_USDOT),\r\n direction: SortDirection.Ascending,\r\n field: ResultSortCategory.DotNo,\r\n },\r\n {\r\n id: '3',\r\n title: t(T.common_sortByKeys_searchDirectory_MCNO),\r\n direction: SortDirection.Ascending,\r\n field: ResultSortCategory.MCNo,\r\n },\r\n {\r\n id: '4',\r\n title: t(T.common_sortByKeys_searchDirectory_phone),\r\n direction: SortDirection.Ascending,\r\n field: ResultSortCategory.Phone,\r\n },\r\n];\r\n\r\nexport const loadSortToKeysSortBy = memoizeOne((loadSortBy: LoadSearchSort) => {\r\n const sortBy = find(KeysSortBy, (sortBy) => {\r\n return sortBy.field === loadSortBy.field;\r\n });\r\n if (!sortBy) {\r\n return undefined;\r\n }\r\n return { ...sortBy, direction: loadSortBy.direction };\r\n});\r\n\r\nexport const keySortByToLoadSearchSort = (keySort: IKeysSortByLoads): LoadSearchSort => ({\r\n field: keySort.field,\r\n direction: keySort.direction,\r\n});\r\n\r\nexport const loadSortFieldToKeysSortBy = (loadSortField: LoadSortField): IKeysSortByLoads | undefined => {\r\n const loadSort = loadSortFor(loadSortField);\r\n return loadSort ? loadSortToKeysSortBy(loadSort) : undefined;\r\n};\r\n\r\nexport const RadioListSortByOptions = (keys: IKeysSortByLoads[]): DisplayOption[] =>\r\n map(keys, (sortBy) => ({\r\n id: sortBy.id,\r\n key: sortBy.id,\r\n value: sortBy,\r\n displayValue: sortBy.title,\r\n }));\r\n\r\nexport const RadioListSearchDirectoryCompanySortByOptions = (\r\n keys: IKeysSortBySearchDirectoryCompany[]\r\n): DisplayOption[] =>\r\n map(keys, (sortBy) => ({\r\n id: sortBy.id,\r\n key: sortBy.id,\r\n value: sortBy,\r\n displayValue: sortBy.title,\r\n }));\r\n\r\nexport const didSortByChange = (prevSortBy: IKeysSortByLoads, newSortBy: IKeysSortByLoads) =>\r\n prevSortBy.id !== newSortBy.id ||\r\n prevSortBy.field !== newSortBy.field ||\r\n prevSortBy.direction !== newSortBy.direction ||\r\n prevSortBy.title !== newSortBy.title;\r\n\r\nexport const compareSortOptionsByField = (a: T, b: T) => a.field === b.field;\r\n","import { map } from 'lodash';\r\n\r\nimport { createDefaultLoadSearchRequest, serverRFCDateToYYYYMMDD } from '@common/helper';\r\nimport { convertBaseLocationToLoadLocation, convertToOriginLocation } from '@common/helper/LocationHelper';\r\nimport { ANYWHERE_LOCATION, EquipmentType, LoadSearchRequest, TruckAvailability } from '@common/model';\r\n\r\nexport const convertTruckAvailabilityToLoadSearch = (truck: TruckAvailability): LoadSearchRequest => {\r\n const origin = convertToOriginLocation(convertBaseLocationToLoadLocation(truck.originLocation));\r\n\r\n const destination = convertBaseLocationToLoadLocation(truck.destinationLocations[0]) ?? ANYWHERE_LOCATION;\r\n\r\n const equipmentTypes = [];\r\n if (truck.equipmentType !== EquipmentType.None) {\r\n equipmentTypes.push(truck.equipmentType);\r\n }\r\n\r\n const pickupDates = map(truck.dates, (date: string) => serverRFCDateToYYYYMMDD(date));\r\n\r\n const baseLoadSearchRequest = createDefaultLoadSearchRequest();\r\n return {\r\n ...baseLoadSearchRequest,\r\n origin: origin,\r\n destination: destination,\r\n weight: truck.weight,\r\n length: truck.length,\r\n minLength: 0,\r\n minWeight: 0,\r\n equipmentTypes: equipmentTypes,\r\n pickupDates: pickupDates,\r\n loadSize: truck.size,\r\n };\r\n};\r\n","export const validateURL = (url: string): boolean => {\r\n //@TODO: Check this regex if escaping is necessary.\r\n const regex = /[-a-zA-Z0-9@:%._\\+~#=]{1,256}\\.[a-zA-Z0-9]{1,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*)/; // eslint-disable-line no-useless-escape\r\n return regex.test(url);\r\n};\r\n\r\nexport const prefixHttpsIfNecessary = (url: string): string => {\r\n if (url.startsWith('https://')) {\r\n return url;\r\n }\r\n if (url.startsWith('http://')) {\r\n return url.replace('http://', 'https://');\r\n }\r\n return `https://${url}`;\r\n};\r\n","import { trim } from 'lodash';\r\n\r\nimport { UserInfo } from '@common/model';\r\n\r\nexport const getInitials = (user: Pick | undefined) => {\r\n const firstName = trim(user?.firstName);\r\n const lastName = trim(user?.lastName);\r\n if (firstName && lastName) {\r\n return `${firstName[0]}${lastName[0]}`;\r\n } else if (firstName) {\r\n return `${firstName[0]}`;\r\n } else if (lastName) {\r\n return `${lastName[0]}`;\r\n }\r\n return '';\r\n};\r\n","import { includes, intersection } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\n\r\nimport { Roles } from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\nexport const hasRoles = (currentRoles: Roles[] | undefined, validRoles: Roles[]) => {\r\n if (!currentRoles) {\r\n return false;\r\n }\r\n return intersection(currentRoles, validRoles).length !== 0;\r\n};\r\n\r\nexport const getUserMemberType = memoizeOne((roles: Roles[] | undefined) => {\r\n if (includes(roles, Roles.Premium)) {\r\n return Roles.Premium;\r\n }\r\n if (includes(roles, Roles.Standard)) {\r\n return Roles.Standard;\r\n }\r\n if (includes(roles, Roles.Basic)) {\r\n return Roles.Basic;\r\n }\r\n if (includes(roles, Roles.Guest)) {\r\n return Roles.Guest;\r\n }\r\n return Roles.Member;\r\n});\r\n\r\nexport const userRoleLocalizedText = (role: Roles | undefined) => {\r\n switch (role) {\r\n case Roles.Premium:\r\n return t(T.common_userRoles_premium);\r\n case Roles.Standard:\r\n return t(T.common_userRoles_standard);\r\n case Roles.Basic:\r\n case Roles.Guest:\r\n return t(T.common_userRoles_basic);\r\n default:\r\n return t(T.common_userRoles_member);\r\n }\r\n};\r\n","import { isEmpty, replace, trim } from 'lodash';\r\nimport moment from 'moment';\r\n\r\nimport { removeComma } from '@common/formatter/Number';\r\nimport { isNumber } from '@common/helper/NumberHelper';\r\n\r\nexport const isStringValid = (value?: string): boolean => value !== undefined && trim(value).length > 0;\r\n\r\n//@TODO: Check if escape is necessary.\r\nexport const isEmailValid = (email: string | undefined): boolean =>\r\n email !== undefined &&\r\n /^[_A-Za-z0-9-\\+]+(?:\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(?:\\.[A-Za-z0-9]+)*(?:\\.[A-Za-z]{2,})$/.test(email); // eslint-disable-line no-useless-escape\r\n\r\nexport const isPhoneValid = (phone: string, required: boolean = true): boolean => {\r\n if (!required && (phone === '' || phone === undefined)) {\r\n return true;\r\n }\r\n if (phone === undefined) {\r\n return false;\r\n }\r\n\r\n let numbers = cleanPhoneNumber(phone);\r\n\r\n if (numbers.length > 0 && numbers.charAt(0) === '1') {\r\n numbers = numbers.substring(1);\r\n }\r\n\r\n return numbers.length === 10;\r\n};\r\n\r\nexport const cleanPhoneNumber = (phone: string): string => {\r\n if (phone) {\r\n return phone.replace(/[^0-9]/g, '');\r\n } else {\r\n return '';\r\n }\r\n};\r\n\r\nexport const isNumberFieldValid = (value: string): boolean =>\r\n isEmpty(value) || (isNumber(removeComma(value)) && Number(removeComma(value)) >= 0);\r\n\r\nexport const shouldDistanceChange = (distance: string): boolean =>\r\n isNumberFieldValid(distance) && Number(removeComma(distance)) <= 99999;\r\n\r\nexport const shouldRateChange = (rate: string): boolean =>\r\n isNumberFieldValid(rate) && Number(removeComma(rate)) <= 99999;\r\nexport const shouldCostPerMileChange = (cost: string): boolean =>\r\n isNumberFieldValid(cost) && Number(removeComma(cost)) <= 99.99;\r\n\r\nexport const isTimeFieldValid = (value: string): boolean => {\r\n if (isEmpty(value)) {\r\n return true;\r\n }\r\n return moment(value, ['HH:mm'], true).isValid();\r\n};\r\n\r\nexport const isPhoneFieldValid = (phone: string, required: boolean): boolean =>\r\n /^\\d+$/.test(phone) && isPhoneValid(phone, required);\r\n\r\n/** partial means: as the user enters the time, we validate the data so far\r\n */\r\nexport const isPartialTimeFieldValid = (value: string) => {\r\n if (isEmpty(value)) {\r\n return true;\r\n }\r\n return moment(value, ['h:m', 'h', 'h:', ':m'], true).isValid();\r\n};\r\n\r\n/**\r\n * A USDOT# can currently be up to 8 digits, however USDOT numbers are issued sequentially, so this maximum will increase.\r\n * A USDOT# has a minimum of value of 100. However, any USDOT# can have any number of 0's in front of it, provided it doesn't breach the (current) 8 digit maximum.\r\n * We suggest not auto-formatting to add 0's, as some carriers include them and some don't. However, the broker should be able to find\r\n * USDOT numbers with 0 prefixes regardless of whether or not the carrier has included them and vice-versa.\r\n * @param maybeNumber\r\n */\r\nexport const isValidUsDotNumber = (maybeNumber: string) => {\r\n const number = parseInt(maybeNumber, 10);\r\n if (!isFinite(number) || number > 99999999 || number < 100) {\r\n return false;\r\n }\r\n return true;\r\n};\r\n\r\nexport const parseFloatFromString = (value: string): number => parseFloat(replace(value, /,/g, ''));\r\n","import { default as CardValidator } from 'card-validator';\r\nimport { capitalize, forEach, isFinite, replace, toNumber, trim } from 'lodash';\r\n\r\nimport { cleanDashes, parseFloatFromString, validateURL } from '@common/helper';\r\nimport { MAX_BID_AMOUNT, MIN_BID_AMOUNT } from '@common/helper/BidsHelper';\r\nimport { isAmericanState, isCanadianState } from '@common/helper/LocationHelper';\r\nimport { cleanSpaces, removeLeadingZeroes } from '@common/helper/NumberHelper';\r\nimport { isEmailValid, isPhoneValid, isStringValid, isValidUsDotNumber } from '@common/helper/ValidationHelper';\r\nimport { t, T } from '@translate';\r\n\r\nexport interface ValidationResult {\r\n isValid: boolean;\r\n blocking?: boolean; // if true, stop other validators until this one is satisfied.\r\n error: string[];\r\n}\r\n\r\nconst DEFAULT_VALIDATION_RESULT = (): ValidationResult => ({ isValid: true, error: [] });\r\n\r\nexport const blocking = (\r\n validator: (validatable: string) => ValidationResult\r\n): ((validatable: string) => ValidationResult) => {\r\n return (validatable: string) => ({ ...validator(validatable), blocking: true });\r\n};\r\n\r\nexport const validateIsNumber = (validatable: string): ValidationResult => ({\r\n isValid: isFinite(toNumber(replace(validatable, /,/g, ''))),\r\n error: [t(T.common_errors_mustBeNumber)],\r\n});\r\n\r\nexport const validateStringLengthNotZeroAndAsciiOnly = (validatable: string): ValidationResult => ({\r\n isValid: trim(validatable).length > 0 && /^[a-zA-Z0-9 ]*$/.test(validatable),\r\n error: [t(T.common_errors_requiredAsciiOnly)],\r\n});\r\n\r\nexport const validateStringLengthNotZeroAndAsciiAndHyphen = (validatable: string): ValidationResult => ({\r\n isValid: trim(validatable).length > 0 && /^[a-zA-Z0-9_-]*$/.test(validatable),\r\n error: [t(T.common_errors_requiredAsciiAndHyphenOnly)],\r\n});\r\n\r\nexport const validateStringLengthNotZeroAndNumberOnly = (validatable: string): ValidationResult => ({\r\n isValid: trim(validatable).length > 0 && /^[0-9 ]*$/.test(validatable),\r\n error: [t(T.common_errors_requiredNumbersOnly)],\r\n});\r\n\r\nconst validatePriceDollarsAndCents = (validatable: string): ValidationResult => ({\r\n isValid: trim(validatable).length > 0 && /(^[0-9]*\\.[0-9]{1,2}$|^[0-9]*$)/.test(validatable),\r\n error: [t(T.common_errors_requiredPrice)],\r\n});\r\n\r\nexport const validateIsGreaterThan =\r\n (value: number) =>\r\n (validatable: string): ValidationResult => ({\r\n isValid: parseFloatFromString(validatable) > value,\r\n error: [t(T.common_errors_greaterThanValue, { value: value })],\r\n });\r\n\r\nexport const validateBetween =\r\n (min: number, max: number, fieldName: string) =>\r\n (validatable: string): ValidationResult => ({\r\n isValid: parseFloatFromString(validatable) >= min && parseFloatFromString(validatable) <= max,\r\n error: [t(T.common_errors_betweenValues, { fieldName: capitalize(fieldName), min: min, max: max })],\r\n });\r\n\r\nexport const validateStringLengthNotZero = (validatable: string): ValidationResult => ({\r\n isValid: trim(validatable).length > 0,\r\n error: [t(T.common_errors_required)],\r\n});\r\n\r\nexport const validateStringNoWhitespace = (validatable: string): ValidationResult => ({\r\n isValid: validatable.search(/\\s/) === -1,\r\n error: [t(T.common_errors_noSpaces)],\r\n});\r\n\r\nexport const validateStringSecureWebProtocol = (validatable: string): ValidationResult => {\r\n return {\r\n isValid: validatable.startsWith('https://') && validateURL(validatable),\r\n error: [t(T.common_errors_invalidWebProtocol)],\r\n };\r\n};\r\n\r\nexport const validateLengthGreaterThanOrEqualTo =\r\n (lowerBound: number) =>\r\n (validatable: string): ValidationResult => ({\r\n isValid: validatable.length >= lowerBound,\r\n error: [t(T.common_errors_minLength, { length: lowerBound })],\r\n });\r\n\r\nexport const validateEmail = (email: string | undefined): ValidationResult => ({\r\n isValid: isEmailValid(trim(email)),\r\n error: [t(T.common_errors_email)],\r\n});\r\n\r\nexport const validatePhone = (phone: string): ValidationResult => {\r\n return {\r\n isValid: isPhoneValid(phone),\r\n error: [t(T.common_errors_phone)],\r\n };\r\n};\r\n\r\nexport const validateEmailCanBeEmpty = (email: string): ValidationResult => ({\r\n isValid: isEmailValid(trim(email)) || email == '',\r\n error: [t(T.common_errors_email)],\r\n});\r\n\r\nexport const validatePhoneCanBeEmpty = (phone: string): ValidationResult => {\r\n return {\r\n isValid: isPhoneValid(phone) || phone == '',\r\n error: [t(T.common_errors_phone)],\r\n };\r\n};\r\n\r\nexport const validateNotEmpty = (value?: string): ValidationResult => ({\r\n isValid: isStringValid(value),\r\n error: [t(T.common_errors_empty)],\r\n});\r\n\r\nexport const validateMaxLength =\r\n (max: number) =>\r\n (value?: string): ValidationResult => ({\r\n isValid: trim(value).length <= max,\r\n error: [t(T.common_errors_max, { max: max })],\r\n });\r\n\r\nexport const validateDOTNumber = (validatable: string): ValidationResult => {\r\n const withoutLeadingZeroes = removeLeadingZeroes(validatable);\r\n return {\r\n isValid: !withoutLeadingZeroes || withoutLeadingZeroes.length <= 3 || isValidUsDotNumber(validatable),\r\n error: [t(T.common_errors_validDOT)],\r\n };\r\n};\r\n\r\nexport const validateState = (validatable: string): ValidationResult => {\r\n const validate = isCanadianState(validatable) || isAmericanState(validatable) || validatable == '';\r\n\r\n return {\r\n isValid: validate,\r\n error: [t(T.common_errors_state)],\r\n };\r\n};\r\n\r\nexport const validatedStreetNumber = (validatable: string): ValidationResult => {\r\n const validate = validatable.length <= 6;\r\n return {\r\n isValid: validate,\r\n error: [t(T.common_errors_streetNumberError)],\r\n };\r\n};\r\n\r\nexport const validateTruckWeight = (weight: string, isEnglish: boolean): ValidationResult => {\r\n let errorMessage: string;\r\n let limit: number;\r\n let isValid: boolean;\r\n if (weight === '') {\r\n isValid = true;\r\n errorMessage = '';\r\n } else if (isEnglish) {\r\n limit = 132000;\r\n errorMessage = t(T.common_errors_weightErrorLbs);\r\n isValid = trim(weight).length >= 0 && /^[0-9.]*$/.test(weight) && toNumber(weight) <= limit;\r\n } else {\r\n limit = 59874;\r\n errorMessage = t(T.common_errors_weightErrorKgs);\r\n isValid = trim(weight).length >= 0 && /^[0-9.]*$/.test(weight) && toNumber(weight) <= limit;\r\n }\r\n\r\n return {\r\n isValid: isValid,\r\n error: [errorMessage],\r\n };\r\n};\r\n\r\nexport const validateStringLengthNotZeroAndNumberOnlyMetricLength = (validatable: string): ValidationResult => ({\r\n isValid:\r\n (trim(validatable).length > 0 &&\r\n /^[0-9.]*$/.test(validatable) &&\r\n toNumber(validatable) <= 21 &&\r\n toNumber(validatable) >= 2.4384) ||\r\n validatable === '',\r\n error: [t(T.common_errors_lengthErrorMetric)],\r\n});\r\nexport const validateStringLengthNotZeroAndNumberOnlyMetricHeight = (validatable: string): ValidationResult => ({\r\n isValid:\r\n (trim(validatable).length > 0 &&\r\n /^[0-9,.]*$/.test(validatable) &&\r\n toNumber(replace(validatable, ',', '')) <= 4.2 &&\r\n toNumber(replace(validatable, ',', '')) >= 1.524) ||\r\n validatable === '',\r\n error: [t(T.common_errors_heightErrorMetric)],\r\n});\r\nexport const validateStringLengthNotZeroAndNumberOnlyFeetHeight = (validatable: string): ValidationResult => ({\r\n isValid:\r\n (trim(validatable).length > 0 &&\r\n /^[0-9,.]*$/.test(validatable) &&\r\n toNumber(replace(validatable, ',', '')) <= 14 &&\r\n toNumber(replace(validatable, ',', '')) >= 5) ||\r\n validatable === '',\r\n error: [t(T.common_errors_heightErrorFeet)],\r\n});\r\nexport const validateStringLengthNotZeroAndNumberOnlyFeetLength = (validatable: string): ValidationResult => ({\r\n isValid:\r\n (trim(validatable).length > 0 &&\r\n /^[0-9,.]*$/.test(validatable) &&\r\n toNumber(replace(validatable, ',', '')) <= 69 &&\r\n toNumber(replace(validatable, ',', '')) >= 8) ||\r\n validatable === '',\r\n error: [t(T.common_errors_lengthErrorFeet)],\r\n});\r\n\r\nexport const validateZipCode = (validatable: string): ValidationResult => {\r\n const length = cleanDashes(cleanSpaces(validatable)).length;\r\n const validate = length === 5 || length === 6 || length === 9 || validatable === '' ? true : false;\r\n\r\n return {\r\n isValid: validate,\r\n error: [t(T.common_errors_state)],\r\n };\r\n};\r\n\r\nexport const validateMCNumber = (validatable: string): ValidationResult => {\r\n const withoutLeadingZeroes = removeLeadingZeroes(validatable);\r\n return {\r\n isValid: !withoutLeadingZeroes || withoutLeadingZeroes.length <= 3 || isValidUsDotNumber(validatable),\r\n error: [t(T.common_errors_validMC)],\r\n };\r\n};\r\n\r\nexport const validatePhoneShortMessage = (phone: string): ValidationResult => {\r\n return {\r\n isValid: isPhoneValid(phone),\r\n error: [t(T.common_errors_invalidPhoneShortError)],\r\n };\r\n};\r\n\r\nexport const validateCardNumber = (cardNumber: string): ValidationResult => {\r\n return {\r\n isValid: CardValidator.number(cardNumber).isValid,\r\n error: [t(T.common_errors_invalidCardError)],\r\n };\r\n};\r\n\r\nexport const combineValidators =\r\n (...functions: Array<(value: string) => ValidationResult>) =>\r\n (value: string): ValidationResult => {\r\n let result: ValidationResult = DEFAULT_VALIDATION_RESULT();\r\n forEach(functions, (func: (value: string) => ValidationResult) => {\r\n const validationResult = func(value); // Make async and add await her more complex validations\r\n if (!validationResult.isValid) {\r\n result = {\r\n isValid: false,\r\n error: [...result.error, ...validationResult.error],\r\n };\r\n if (validationResult.blocking) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n });\r\n return result;\r\n };\r\n\r\nexport const validateIsLessThan =\r\n (value: number) =>\r\n (validatable: string): ValidationResult => ({\r\n isValid: parseFloatFromString(validatable) < value,\r\n error: [t(T.common_errors_lessThanValue, { value: value })],\r\n });\r\n\r\nexport const isPriceAndLessThanOneHundred = combineValidators(\r\n blocking(validatePriceDollarsAndCents),\r\n validateIsGreaterThan(0),\r\n validateIsLessThan(100)\r\n);\r\n\r\nexport const validateIsNumberAndLessThan = (number: number) =>\r\n combineValidators(blocking(validateIsNumber), validateIsLessThan(number));\r\n\r\nexport const validateEmailBlockingEmpty = combineValidators(blocking(validateStringLengthNotZero), validateEmail);\r\n\r\nconst validateMinFlatRate =\r\n (value: number) =>\r\n (validatable: string): ValidationResult => {\r\n return {\r\n isValid: isStringValid(validatable) && value < parseFloatFromString(validatable),\r\n error: [t(T.common_bids_validation_tooLow)],\r\n };\r\n };\r\nexport const validateBidIsNumberAndBoundaries = combineValidators(\r\n blocking(validateIsNumber),\r\n blocking(validateMinFlatRate(MIN_BID_AMOUNT)),\r\n validateIsLessThan(MAX_BID_AMOUNT)\r\n);\r\nexport const validateDifferentOffer =\r\n (value?: number) =>\r\n (validatable: string): ValidationResult => {\r\n return {\r\n isValid: !value || value !== parseFloatFromString(validatable),\r\n error: [t(T.common_bids_validation_sameValue)],\r\n };\r\n };\r\n\r\nexport const validateInteractiveBid = (prevOffer?: number) =>\r\n combineValidators(\r\n blocking(validateNotEmpty),\r\n blocking(validateBidIsNumberAndBoundaries),\r\n validateDifferentOffer(prevOffer)\r\n );\r\n\r\nexport const validateBid = combineValidators(blocking(validateNotEmpty), blocking(validateBidIsNumberAndBoundaries));\r\n","import { isEmpty, isEqual, toNumber, toString, trim } from 'lodash';\r\n\r\nimport { ApiErrorCode } from '@common/api';\r\nimport { formatFloat } from '@common/formatter/Number';\r\nimport { MIN_BID_AMOUNT } from '@common/helper/BidsHelper';\r\nimport { VendorBidInfo } from '@common/model';\r\nimport { T, t } from '@translate';\r\n\r\nimport { ValidationResult } from './Validators';\r\n\r\nconst MAX_DOT_VALUE = 99999999;\r\n\r\nexport const getValidBid = (bid: string) => {\r\n if (isEmpty(bid) || isEqual(bid, '.')) {\r\n return '';\r\n }\r\n\r\n const bidNumber = formatFloat(bid, 2);\r\n return toNumber(bidNumber) > 0 ? trim(toString(bidNumber)) : undefined;\r\n};\r\n\r\nexport const validateBidTooLow = (validatable: string): ValidationResult => ({\r\n isValid: toNumber(validatable) > MIN_BID_AMOUNT,\r\n error: [t(T.common_errors_tooLow, { value: MIN_BID_AMOUNT })],\r\n});\r\n\r\nexport const getValidDOT = (dot: string) => {\r\n if (isEmpty(dot)) {\r\n return '';\r\n }\r\n const dotNumber = formatFloat(dot, 0);\r\n return toNumber(dotNumber) > 0 && toNumber(dotNumber) <= MAX_DOT_VALUE ? toString(dotNumber) : undefined;\r\n};\r\n\r\nexport const getBidButtonAndTitledText = (willResubmitBid: boolean) => {\r\n return willResubmitBid ? t(T.common_vendorBid_placeBid_reSubmitBid) : t(T.common_vendorBid_placeBid_submit);\r\n};\r\n\r\nexport const getWillResubmitBid = (bid?: VendorBidInfo) => {\r\n return bid ? true : false;\r\n};\r\n\r\ninterface Config {\r\n title: string;\r\n content: string;\r\n}\r\n\r\nexport const getVendorBidFailedPopupConfig = (errorCode?: ApiErrorCode): Config => {\r\n switch (errorCode) {\r\n case ApiErrorCode.BID_LOAD_UNAVAILABLE:\r\n return {\r\n title: t(T.common_vendorBid_failedToPlaceBid_title),\r\n content: t(T.common_vendorBid_failedToPlaceBid_unavailable),\r\n };\r\n\r\n case ApiErrorCode.BID_DISQUALIFIED_CARRIER:\r\n return {\r\n title: t(T.common_vendorBid_failedToPlaceBid_disqualified_title),\r\n content: t(T.common_vendorBid_failedToPlaceBid_disqualified_content),\r\n };\r\n\r\n case ApiErrorCode.BID_NOT_FOUND_ERROR:\r\n return {\r\n title: t(T.common_error),\r\n content: t(T.common_vendorBid_failedToPlaceBid_not_found),\r\n };\r\n\r\n case ApiErrorCode.BID_INVALID_DOT_MC_ERROR:\r\n return {\r\n title: t(T.common_vendorBid_failedToPlaceBid_invalidDotMC_title),\r\n content: t(T.common_vendorBid_failedToPlaceBid_invalidDotMC_content),\r\n };\r\n\r\n default:\r\n return { title: t(T.common_vendorBid_failedToPlaceBid_title), content: t(T.common_bids_error_sendingFailed) };\r\n }\r\n};\r\n","export const COUNTRY_CODE = '+1';\r\n\r\nexport const GENERAL_CONTACT_PHONE_NUMBER = `${COUNTRY_CODE}8778755301`;\r\nexport const GENERAL_CONTACT_PHONE_NUMBER_FORMATTED = '(877) 875-5301';\r\nexport const TRUCK_LOCATOR_ACCESS_REQUEST_EXTENSION = 3;\r\n\r\nexport const THUNDER_FUNDING_CONTACT_PHONE_NUMBER = `${COUNTRY_CODE}8778738357`;\r\nexport const RIG_NATION_CONTACT_PHONE_NUMBER = `${COUNTRY_CODE}8003365909`;\r\nexport const EVILSIZOR_CONTACT_PHONE_NUMBER = `${COUNTRY_CODE}3034822965`;\r\nexport const SUPPORT_EMAIL = 'support@123loadboard.com';\r\n","export const DOWNLOAD_POSTING_AID_LINK = 'https://app.123loadboard.com/download/123Loadboard_Posting_Aid.exe';\r\n\r\nexport const FACEBOOK_LINK = 'https://www.facebook.com/123loadboard/';\r\nexport const LINKEDIN_LINK = 'https://www.linkedin.com/company/123loadboard/';\r\nexport const YOUTUBE_LINK = 'https://www.youtube.com/user/123loadboard';\r\nexport const TWITTER_LINK = 'https://twitter.com/123loadboard';\r\nexport const APPSTORE_LINK = 'https://itunes.apple.com/us/app/123loadboard/id827794122?mt=8';\r\nexport const GOOGLEPLAY_LINK = 'https://play.google.com/store/apps/details?id=com.app.loadboard';\r\n\r\nexport const FMCSA_SEARCH = 'http://li-public.fmcsa.dot.gov/LIVIEW/pkg_carrquery.prc_carrlist';\r\nexport const SAFER_SEARCH = 'https://safer.fmcsa.dot.gov/CompanySnapshot.aspx';\r\nexport const FUEL_PRICES = 'https://www.eia.gov/petroleum/gasdiesel/';\r\n\r\nexport const ROADSIDE_ASSIST_TERMS_LINK = 'https://www.roadsidemasters.com/partner/123loadboard/#information';\r\nexport const GET_ROADSIDE_ASSISTANCE_LINK = 'https://www.roadsidemasters.com/partner/123loadboard/';\r\nexport const USDA_MARKETING_SERVICE = 'https://www.ams.usda.gov/';\r\n\r\nexport const BORDERWAITTIMES_CAN_LINK = 'http://www.cbsa-asfc.gc.ca/bwt-taf/menu-eng.html';\r\nexport const BORDERWAITTIMES_USA_LINK = 'https://bwt.cbp.gov/';\r\n\r\nexport const IDEAS_AHA_FEEDBACK_LINK = 'https://123loadboard.ideas.aha.io/';\r\n\r\nexport const LOADBOARD_HELP_LOAD_PLANNER_LINK =\r\n 'https://help.123loadboard.com/hc/en-us/sections/360005610933-load-planner';\r\nexport const LOADBOARD_LOAD_PLANNER_LINK = 'https://members.123loadboard.com/loads/load-planner';\r\nexport const YOUTUBE_LOAD_PLANNER_LINK = 'https://www.youtube.com/watch?v=iy1DVNW2C88 ';\r\n\r\nexport const LOADBOARD_HELP_MILEAGE_CALCULATOR_LINK =\r\n 'https://help.123loadboard.com/hc/en-us/articles/1500007696581-What-is-Mileage-Calculator-';\r\nexport const LOADBOARD_MILEAGE_CALCULATOR_LINK = 'https://members.123loadboard.com/tools/mileage-calculator';\r\nexport const YOUTUBE_MILEAGE_CALCULATOR_LINK = 'https://www.youtube.com/watch?v=rXgncLHRMkQ';\r\n\r\nexport const MAC_OS_X_MANAGE_SUBSCRIPTION = 'itms-apps://apps.apple.com/account/subscriptions';\r\nexport const APP_STORE_SETTINGS_URL = 'https://apps.apple.com/account/subscriptions';\r\nexport const APP_STORE_UNSUBSCRIBE_HELP_URL = 'https://support.apple.com/en-us/HT202039';\r\nexport const FMCSA_UPDATING_REGISTRATION_URL = 'https://www.fmcsa.dot.gov/registration/updating-your-registration';\r\n\r\nexport const APPLE_PURCHASE_HISTORY_INFO =\r\n 'https://help.123loadboard.com/hc/en-us/articles/4406716884631-How-can-I-see-my-purchase-history-for-subscriptions-purchased-through-Apple-iTunes-';\r\n\r\nexport const getMCLink = (docketNumber: number | string) =>\r\n `http://li-public.fmcsa.dot.gov/LIVIEW/pkg_carrquery.prc_carrlist?s_prefix=MC&n_docketno=${docketNumber}`;\r\nexport const getUSDOTLink = (dotNumber: number | string) =>\r\n `https://safer.fmcsa.dot.gov/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=USDOT&query_string=${dotNumber}`;\r\n\r\nexport const getWebsiteLink = (website: string) => {\r\n let link = website;\r\n if (!/^https?:\\/\\/.*/.test(website)) {\r\n link = `http://${website}`;\r\n }\r\n return link;\r\n};\r\n\r\nexport const getAppleMapsLink = (from: string, to: string) =>\r\n `http://maps.apple.com/?daddr=${to}&dirflg=d&saddr=${from}&z=15`;\r\n\r\nexport const getGoogleMapsLink = (from: string, to: string) =>\r\n `https://www.google.com/maps/dir/?api=1&destination=${to}&origin=${from}&travelmode=driving&zoom=15`;\r\n\r\nexport const DIESEL_PRICE_LINK = 'https://gasprices.aaa.com/';\r\n\r\nexport const INTEGRATIONS_PORTAL_LINK = 'https://developers-console.123loadboard.com/';\r\n\r\nexport const MEMBERS_PAYMENT_METHOD_LINK = '/payment_method/';\r\n\r\nexport const LOADBOARD_HELP_RATE_CHECK =\r\n 'https://help.123loadboard.com/hc/en-us/articles/360036933373-What-is-Rate-Check-';\r\nexport const LOADBOARD_HELP_CARGO_CHIEF =\r\n 'https://help.123loadboard.com/hc/en-us/articles/11954761838871-What-is-Cargo-Chief-add-on-';\r\nexport const LOADBOARD_HELP_GREENSCREENS = 'https://help.123loadboard.com/hc/en-us/articles/13107693081879';\r\nexport const LOADBOARD_HELP_MARKET_RATES = 'https://help.123loadboard.com/hc/en-us/sections/360005610853-Market-Rates';\r\n\r\nexport const CARRIER_SOURCE_SIGNUP = 'https://www.carriersource.io/carriers/claim/123loadboard';\r\nexport const CARRIER_SOURCE_IMPROVE_RATING_FAQ =\r\n 'https://help.123loadboard.com/hc/en-us/articles/21822453496599-How-can-I-increase-my-CarrierSource-score';\r\n\r\nexport const MY_CARRIER_PORTAL_SUPPORT_EMAIL = 'mailto:help@assureassist.com';\r\n","export enum AppErrorCode {\r\n // starts at 8000000 to avoid collisions with ErrorCodes from the API\r\n // Contrary to the API, these do NOT map the HTTP Statuses\r\n\r\n FATAL_ERROR = 8000000, // Unspecified error code (typically from an unexpected JS exception)\r\n\r\n // --- apisauce Network-related error codes ---\r\n TIMEOUT_ERROR = 8000001,\r\n CONNECTION_ERROR = 8000002,\r\n NETWORK_ERROR = 8000003,\r\n UNKNOWN_ERROR = 8000004,\r\n CANCEL_ERROR = 8000005,\r\n CLIENT_ERROR = 8000006,\r\n SERVER_ERROR = 8000007,\r\n}\r\n","import { PayRateUnit } from './';\r\nimport { Load } from './Load';\r\nimport { BaseLocation } from './Location';\r\n\r\n//@TODO: clean up states that don't exist in V2\r\nexport enum BidStatus {\r\n ActionRequired = 'ActionRequired',\r\n Pending = 'Pending',\r\n Accepted = 'Accepted',\r\n Assigned = 'Assigned',\r\n Withdrawn = 'Withdrawn',\r\n Rejected = 'Rejected',\r\n Confirmed = 'Confirmed',\r\n AcceptanceWithdrawn = 'AcceptanceWithdrawn',\r\n Canceled = 'Canceled',\r\n}\r\n\r\nexport enum BidAction {\r\n OfferAck = 'OfferAck',\r\n Accept = 'Accept',\r\n AcceptAck = 'AcceptAck',\r\n Reject = 'Reject',\r\n RejectAck = 'RejectAck',\r\n Withdraw = 'Withdraw',\r\n WithdrawAck = 'WithdrawAck',\r\n\r\n WithdrawAcceptance = 'WithdrawAcceptance',\r\n WithdrawAcceptanceAck = 'WithdrawAcceptanceAck',\r\n Cancel = 'Cancel',\r\n CancelAck = 'CancelAck',\r\n Confirm = 'Confirm',\r\n ConfirmAck = 'ConfirmAck',\r\n}\r\n\r\nexport enum BiddingRole {\r\n Carrier = 'Carrier',\r\n Broker = 'Broker',\r\n}\r\n\r\ninterface BidContactInfo {\r\n contactId: string;\r\n company: {\r\n id: string;\r\n name: string;\r\n };\r\n}\r\n\r\nexport interface BidLoadRate {\r\n amount: number;\r\n type: PayRateUnit;\r\n}\r\n\r\nexport interface BidLoadInfo {\r\n id: string;\r\n postReference?: string;\r\n rate?: BidLoadRate;\r\n originLocation?: BaseLocation;\r\n destinationLocation?: BaseLocation;\r\n}\r\n\r\nexport interface Bid {\r\n bidId: string;\r\n fromCarrier: boolean;\r\n status: BidStatus;\r\n price?: number;\r\n expirationDate?: string;\r\n mostRecentActivity?: string;\r\n offerMadeByMe: boolean;\r\n}\r\n\r\nexport interface BidSummary extends Bid {\r\n isViewed: boolean;\r\n load?: BidLoadInfo;\r\n otherParty?: BidContactInfo;\r\n}\r\n\r\nexport interface BidDetails extends BidSummary {\r\n previousBidId?: string;\r\n isMostRecentOffer: boolean;\r\n}\r\n\r\nexport interface BidsSummariesRequest {\r\n token?: string;\r\n roles?: Array;\r\n status?: Array;\r\n}\r\n\r\nexport interface BidSummariesResponse {\r\n bids: BidSummary[];\r\n hasMore: boolean;\r\n token?: string;\r\n}\r\n\r\nexport interface LoadBidsRequest {\r\n loadId: string;\r\n token?: string;\r\n carrierId?: string;\r\n}\r\n\r\nexport interface LoadBidsResponse {\r\n bids: Bid[];\r\n hasMore: boolean;\r\n token?: string;\r\n}\r\n\r\nexport interface BidActionRequest {\r\n bidId: string;\r\n action: BidAction;\r\n}\r\n\r\nexport interface PostBidRequest {\r\n loadId: string;\r\n previousBidId?: string;\r\n carrierId?: string;\r\n price?: number;\r\n expirationTime?: number;\r\n}\r\n\r\nexport interface BiddingSummaryRequest {\r\n role: BiddingRole;\r\n}\r\n\r\nexport interface BiddingSummaryResponse {\r\n offerUpdatesCount: number;\r\n}\r\n\r\nexport interface CarrierInfo {\r\n firstName?: string;\r\n lastName?: string;\r\n email?: string;\r\n companyName?: string;\r\n phone?: string;\r\n phoneExtension?: string;\r\n docketNumber?: string;\r\n usdotNumber?: string;\r\n isCarrierIdentityVerified?: boolean; // true if user is DOT verified\r\n}\r\n\r\nexport const LoadFieldsBiddingOnly =\r\n 'equipments,commodity,notes,rate,mileage,rateCheck,metadata,postReference,computedMileage,rateNegotiations,vendorInfo,originLocation,destinationLocation';\r\n\r\nexport type LoadWithDataForBiddingOnly = Pick<\r\n Load,\r\n | 'id'\r\n | 'equipments'\r\n | 'commodity'\r\n | 'notes'\r\n | 'rate'\r\n | 'mileage'\r\n | 'rateCheck'\r\n | 'metadata'\r\n | 'postReference'\r\n | 'computedMileage'\r\n | 'rateNegotiations'\r\n | 'vendorInfo'\r\n | 'originLocation'\r\n | 'destinationLocation'\r\n>;\r\n\r\nexport type UpdateBidEvent = { bids: Array<{ loadId: string; bidId: string }> };\r\n\r\nexport enum UpdateBidEventType {\r\n NewBids,\r\n UpdatedBids,\r\n}\r\n","export interface BookNow {\r\n bookingStatus: BookingStatus;\r\n responseSpeed: BrokerResponseSpeed;\r\n amount: number;\r\n submittedDateTime: string;\r\n}\r\n\r\nexport enum BookingStatus {\r\n Accepted = 'Accepted',\r\n Pending = 'Pending',\r\n Rejected = 'Rejected',\r\n}\r\n\r\nexport enum BrokerResponseSpeed {\r\n Unknown = 'Unknown',\r\n Fast = 'Fast',\r\n Slow = 'Slow',\r\n}\r\n\r\nexport type BookNowResponse = BookNow;\r\n","import { AuthorityInfo } from './Company';\r\nimport { VerificationPointsTaskStatus } from './VerificationPoints';\r\n\r\nexport enum FMCSAAuthority {\r\n Common = 'Common',\r\n Contract = 'Contract',\r\n Broker = 'Broker',\r\n CommonRevocation = 'CommonAuthorityRevocation',\r\n ContractRevocation = 'ContractAuthorityRevocation',\r\n BrokerRevocation = 'BrokerAuthorityRevocation',\r\n}\r\n\r\nexport interface CarrierInfo {\r\n id?: string;\r\n name?: string;\r\n companyName?: string;\r\n phone?: string;\r\n phoneExtension?: string;\r\n insuranceOnFile?: string;\r\n commonAuthority?: string;\r\n contract?: string;\r\n docketNumber?: string;\r\n usdotNumber?: string;\r\n mcs150FormDate?: string;\r\n isCarrierIdentityVerified?: boolean; //returns true if DOT verified\r\n truckCount?: number;\r\n totalFmcsaInspections?: number;\r\n phoneVerificationStatus?: VerificationPointsTaskStatus;\r\n}\r\n\r\nexport interface ContactBrokerInfo {\r\n id: string;\r\n firstName: string;\r\n lastName: string;\r\n companyName: string;\r\n phone: string;\r\n phoneExtension: string;\r\n brokerAuthority?: AuthorityInfo;\r\n docketNumber?: string;\r\n usdotNumber?: string;\r\n companyCategory?: string;\r\n isCarrierIdentityVerified?: boolean; //returns true if DOT verified\r\n phoneVerificationStatus?: VerificationPointsTaskStatus;\r\n}\r\n","import { Company } from '@common/model';\r\n\r\nexport const CARRIER_REQUEST_OFFSET_DEFAULT = 0;\r\nexport const CARRIER_REQUEST_OFFSET_INCREMENT = 10;\r\n\r\nexport const CARRIER_REQUEST_LIMIT_DEFAULT = 20;\r\nexport const CARRIER_REQUEST_LIMIT_APPENDING = 10;\r\n\r\nexport interface CarrierFeedback {\r\n onboarded?: boolean;\r\n}\r\n\r\nexport interface CarrierStatus {\r\n isFavorite?: boolean;\r\n isBlocked?: boolean;\r\n}\r\n\r\nexport interface CarrierSearchRequest extends CarrierStatus {\r\n isOnboarded?: boolean;\r\n companyName?: string;\r\n}\r\n\r\nexport interface UpdateCarrierRequest {\r\n id: string;\r\n status: CarrierStatus;\r\n}\r\n\r\nexport interface UpdateCarrierFeedbackRequest {\r\n id: string;\r\n feedback: CarrierFeedback;\r\n}\r\n\r\nexport interface UpdateCarriersRequest {\r\n contactIds: string[];\r\n status: CarrierStatus;\r\n}\r\n\r\nexport interface UpdateCarriersFeedbackRequest {\r\n contactIds: string[];\r\n feedback: CarrierFeedback;\r\n}\r\n\r\nexport interface CarrierSearchResponse {\r\n carriers: CarrierContactInfo[];\r\n totalCount: number;\r\n count: number;\r\n}\r\n\r\ninterface Phone {\r\n id: string;\r\n lineType: string;\r\n lineNumber: string;\r\n extension: string;\r\n countryCode: string;\r\n}\r\n\r\nexport interface CarrierContactInfo {\r\n id: string;\r\n company: Company;\r\n guid: string;\r\n onboarded: boolean;\r\n isFavorite: boolean;\r\n isBlocked: boolean;\r\n email: string;\r\n companyId: string;\r\n firstName: string;\r\n lastName: string;\r\n phone: string;\r\n phoneExt: string;\r\n mobile: string;\r\n mobilePhone: Phone;\r\n primaryPhone: Phone;\r\n}\r\n\r\nexport const createDefaultCarriersRequest = () => ({\r\n offset: CARRIER_REQUEST_OFFSET_DEFAULT,\r\n limit: CARRIER_REQUEST_LIMIT_DEFAULT,\r\n});\r\n","import { SearchResponsePayload } from '@common/redux/Base';\r\n\r\nimport { Address, Phone } from './';\r\nimport { CompanyMetadata } from './CompanyMetadata';\r\n\r\nexport enum CompanyCategory {\r\n None = 'None',\r\n PL3 = 'PL3',\r\n Broker = 'Broker',\r\n BrokerCarrier = 'BrokerCarrier',\r\n CarrierTL = 'CarrierTL',\r\n FreightForwarder = 'FreightForwarder',\r\n ShipperManufacturer = 'ShipperManufacturer',\r\n Other = 'Other',\r\n OwnerOperator = 'OwnerOperator',\r\n CarrierLTL = 'CarrierLTL',\r\n}\r\n\r\nexport interface Company {\r\n id: string;\r\n guid?: string;\r\n name: string;\r\n phone?: Phone; // Api documentation is wrong, this field is optional\r\n mcNumber?: number | string;\r\n brokerMcNumber?: number | string;\r\n address?: Address;\r\n metaData?: CompanyMetadata;\r\n isOcfp?: boolean;\r\n isTia?: boolean;\r\n usdotNumber?: number | string;\r\n dotNumber?: string;\r\n fax?: {\r\n number: string;\r\n extension: string;\r\n };\r\n webSite?: string;\r\n category?: CompanyCategory;\r\n city?: string;\r\n state?: string;\r\n zipCode?: string;\r\n onboardingUrl?: string;\r\n isLocked?: boolean;\r\n}\r\n\r\nexport interface CompanyAuthorityInfo {\r\n authorities?: AuthorityInfo[];\r\n}\r\n\r\nexport interface AuthorityInfo {\r\n type: string;\r\n status: string;\r\n pending: boolean;\r\n}\r\n\r\nexport interface CompanyLicensingInfo {\r\n property?: boolean;\r\n passenger?: boolean;\r\n householdGoods?: boolean;\r\n private?: boolean;\r\n enterprise?: boolean;\r\n}\r\n\r\nexport interface InsuranceCoverageInfo {\r\n insurerInfo?: {\r\n name?: string;\r\n attention?: string;\r\n address?: string;\r\n phone?: Phone;\r\n fax?: Phone;\r\n };\r\n type?: string;\r\n form?: string;\r\n policyNumber?: string;\r\n minimumAmount?: number;\r\n maximumAmount?: number;\r\n postedDate?: string;\r\n effectiveDate?: string;\r\n cancellationDate?: string;\r\n}\r\n\r\nexport interface CompanyInsuranceInfo {\r\n requirements?: {\r\n bipdRequired?: number;\r\n bipdOnFile?: number;\r\n cargoRequired?: boolean;\r\n cargoOnFile?: boolean;\r\n bondRequired?: boolean;\r\n bondOnFile?: boolean;\r\n };\r\n coverages?: InsuranceCoverageInfo[];\r\n}\r\n\r\nexport interface UserDataCompany {\r\n id: string;\r\n metaData?: CompanyMetadata;\r\n category?: CompanyCategory;\r\n docketNumber?: {\r\n prefix?: string;\r\n number?: number;\r\n };\r\n name: string;\r\n address?: Address;\r\n phone: Phone;\r\n mcNumber?: number;\r\n brokerMcNumber?: number;\r\n usdotNumber?: number;\r\n isOcfp?: boolean;\r\n isTia?: boolean;\r\n webSite?: string;\r\n tollFree?: {\r\n number: number;\r\n };\r\n briefProfile?: string;\r\n yearFounded?: number;\r\n fax?: {\r\n number: string;\r\n extension: string;\r\n };\r\n scac?: string;\r\n interstate?: string;\r\n isTeamDriven?: boolean;\r\n onboardingUrl?: string;\r\n}\r\n\r\nexport interface CompanyUserDataPayload extends SearchResponsePayload {\r\n id: string;\r\n companies: UserDataCompany[];\r\n}\r\n\r\nexport interface CompanyUserDataQuery {\r\n isFavoriteBroker?: boolean;\r\n isFavoriteCarrier?: boolean;\r\n isOnboarded?: boolean;\r\n isHiddenBroker?: boolean;\r\n isHiddenCarrier?: boolean;\r\n companyName?: string;\r\n}\r\n\r\nexport interface CompanyUserData extends CompanyUserDataQuery {\r\n note?: string;\r\n}\r\n\r\nexport interface BrokerPaginationRequest {\r\n limit: number;\r\n offset: number;\r\n}\r\n\r\nexport enum CompanyInfoFields {\r\n NAME = 'NAME',\r\n DOT = 'DOT',\r\n MC = 'MC',\r\n PHONE = 'PHONE',\r\n ADDRESS1 = 'ADDRESS1',\r\n ADDRESS2 = 'ADDRESS2',\r\n CITY = 'CITY',\r\n STATE = 'STATE',\r\n ZIP = 'ZIP',\r\n}\r\n\r\nexport interface CarrierRating {\r\n dotNumber: number;\r\n reviewCount: number;\r\n starRating: number;\r\n name: string;\r\n profileUrl: string;\r\n safetyRating: string;\r\n operation: string;\r\n}\r\n","import { MessageWidget } from '@common/model/messaging/MessageWidget';\r\n\r\nimport { Load } from './Load';\r\n\r\nexport interface ConversationsSummary {\r\n unreadConversationsCount: number;\r\n}\r\nexport interface MessagesSummary {\r\n unreadMessagesCount: number;\r\n}\r\n\r\nexport interface ConversationResponse {\r\n token: string; // for pagination\r\n isLastPage: boolean;\r\n totalCount: number;\r\n conversations: Conversation[];\r\n}\r\nexport const LoadFieldsConversationOnly = 'conversation';\r\n\r\nexport type LoadWithDataForConversation = Pick;\r\n\r\nexport interface Conversation {\r\n conversationId: string;\r\n unreadMessagesCount: number;\r\n mostRecentMessageDate: string;\r\n mostRecentMessageId?: string;\r\n createdBy: string;\r\n users: ConversationUser[];\r\n metadata?: { load?: Load };\r\n}\r\n\r\nexport interface ConversationUser {\r\n userId: string;\r\n firstName: string;\r\n lastName: string;\r\n company: {\r\n companyId: string;\r\n name: string;\r\n };\r\n}\r\n\r\nexport interface MessagePayload {\r\n clientMessageId: string | undefined;\r\n text?: string;\r\n documents?: ConversationAttachment[];\r\n users?: ConversationMessageUsers[];\r\n}\r\n\r\nexport interface ConversationMessageResponse {\r\n token: string;\r\n isLastPage: boolean;\r\n conversationID: string;\r\n messages: ConversationMessage[];\r\n}\r\n\r\nexport interface ConversationMessage {\r\n messageId: string;\r\n sentBy: string;\r\n sentAt: string;\r\n read: boolean;\r\n text: string;\r\n documents?: ConversationAttachment[];\r\n clientMessageId: string | undefined;\r\n users?: ConversationMessageUsers[];\r\n widget?: MessageWidget;\r\n}\r\n\r\nexport interface ConversationMessageUsers {\r\n userId: string;\r\n readDate: number;\r\n}\r\n\r\nexport interface ConversationAttachment {\r\n id: string;\r\n name: string;\r\n}\r\n\r\nexport interface ConversationUserStatus {\r\n userId: string;\r\n online: boolean;\r\n mostRecentActivity?: string;\r\n}\r\nexport interface ConversationUserStatuses {\r\n users: ConversationUserStatus[];\r\n}\r\n\r\nexport interface NewMessageEvent {\r\n conversationId: string;\r\n messageId: string;\r\n sentBy: string;\r\n sentAt: string;\r\n text: string;\r\n documents?: ConversationAttachment[];\r\n clientMessageId: string | undefined;\r\n users?: ConversationMessageUsers[];\r\n widget?: MessageWidget;\r\n}\r\nexport interface UnreadConversationCountUpdate {\r\n unreadConversationsCount: number;\r\n}\r\n\r\nexport interface UnreadMessagesCountUpdate {\r\n unreadMessagesCount: number;\r\n}\r\n\r\nexport interface MessageStatusChanged {\r\n conversationId: string;\r\n messageId: string;\r\n read?: boolean;\r\n users?: ConversationMessageUsers[];\r\n}\r\n\r\nexport interface CommunicationStatus {\r\n online: boolean;\r\n killSwitch: boolean;\r\n disabled: boolean;\r\n brokerAcceptsLoadInquiries: boolean;\r\n}\r\n\r\nexport interface ConversationsListRequest {\r\n token: string | undefined;\r\n limit: number | undefined;\r\n unread: boolean | undefined;\r\n}\r\n\r\nexport interface UpdateMessagesStateEvent {\r\n messages?: MessageStatusChanged[];\r\n}\r\n\r\nexport interface CanMessageResponse {\r\n canMessage: boolean;\r\n}\r\n\r\nexport const INITIAL_CONVERSATIONS_LIMIT = 20;\r\nexport const PAGINATION_CONVERSATIONS_LIMIT = 10;\r\n","export enum CostPerDaySetting {\r\n enabled = 'enabled',\r\n truckExpenses = 'truckExpenses',\r\n homeExpenses = 'homeExpenses',\r\n workDays = 'workDays',\r\n loadingHours = 'loadingHours',\r\n drivingHours = 'drivingHours',\r\n}\r\n\r\nexport interface CostPerDaySettings {\r\n [CostPerDaySetting.enabled]: boolean;\r\n [CostPerDaySetting.truckExpenses]: number;\r\n [CostPerDaySetting.homeExpenses]: number;\r\n [CostPerDaySetting.workDays]: number;\r\n [CostPerDaySetting.loadingHours]: number;\r\n [CostPerDaySetting.drivingHours]: number;\r\n}\r\n\r\nexport const DEFAULT_WORK_DAYS = 20;\r\nexport const DEFAULT_LOADING_HOURS = 2;\r\nexport const DEFAULT_DRIVING_HOURS = 10;\r\n","import { cloneDeep } from 'lodash';\r\n\r\nimport { SearchResponsePayload } from '@common/redux/Base';\r\n\r\nexport interface DocumentIdentifier {\r\n id: string;\r\n displayName: string;\r\n extension: string;\r\n}\r\n\r\nexport interface Document {\r\n id: string;\r\n contactId: string;\r\n type: string;\r\n displayName: string;\r\n folderId?: string;\r\n folderType: FolderType;\r\n status: string;\r\n createdOn: string;\r\n modifiedOn: string;\r\n folderName: string;\r\n extension: string;\r\n fileSize?: number;\r\n}\r\n\r\nexport interface DocumentsResponse extends SearchResponsePayload {\r\n documents: Document[];\r\n}\r\nexport enum DocumentSendType {\r\n email = 'Email',\r\n fax = 'Fax',\r\n both = 'Both',\r\n}\r\nexport interface DocumentType {\r\n enumName: string;\r\n description: string;\r\n}\r\nexport interface DocumentTypes {\r\n types: DocumentType[];\r\n}\r\n\r\nexport interface MyDocumentsSendRequest {\r\n documents: string[];\r\n sendBy: DocumentSendType;\r\n recipientName: string;\r\n recipientEmail?: string;\r\n recipientCompanyName: string;\r\n recipientFax?: string;\r\n sendToThunderFunding: boolean;\r\n}\r\n\r\nexport interface DocumentFilters {\r\n date?: DateRange;\r\n sorting: DocumentsSortingOption;\r\n documentType: DocumentType;\r\n offset: number;\r\n limit: number;\r\n sortDirection: SortDirection;\r\n folder?: FolderIdentifier;\r\n fields?: string;\r\n}\r\n\r\nexport enum DocumentsSortingOption {\r\n date = 'ModifiedDate',\r\n alphabetical = 'FileName',\r\n folder = 'FolderName',\r\n type = 'FileType',\r\n}\r\n\r\nexport enum CustomFolderStatus {\r\n None = 'None',\r\n Active = 'Active',\r\n Deleted = 'Deleted',\r\n}\r\n\r\nexport interface DefaultFolder {\r\n name: string; // max 32 char\r\n type: FolderType;\r\n lastFileModifiedOn: string;\r\n fileCount: number;\r\n}\r\n\r\nexport interface CustomFolder {\r\n id: string;\r\n name: string; // max 32 char\r\n createdOn: string; // \"2019-07-18T14:59:47.752Z\"\r\n status: CustomFolderStatus;\r\n origCity?: string;\r\n origState?: string;\r\n destCity?: string;\r\n destState?: string;\r\n fileCount?: number;\r\n loadId?: string;\r\n modifiedOn?: string;\r\n lastAccessedOn?: string;\r\n}\r\n\r\nexport enum CustomFoldersSort {\r\n Name = 'Name',\r\n LastAccessedOn = 'LastAccessedOn',\r\n HasLoad = 'HasLoad',\r\n}\r\n\r\nexport enum SortDirection {\r\n Ascending = 'Ascending',\r\n Descending = 'Descending',\r\n}\r\n\r\nexport interface CustomFoldersRequest {\r\n offset: number;\r\n limit: number;\r\n sortBy: CustomFoldersSort;\r\n sortDirection: SortDirection;\r\n}\r\n\r\nexport interface DateRange {\r\n title: string;\r\n dateStart: string;\r\n dateEnd: string;\r\n}\r\n\r\n// since the folder type may be expanded in the future, made a const\r\n// to hold the type 'CustomFolder' - not an enum with all current\r\n// possible values for type (i.e. 'Unsorted', 'CarrierDocuments')\r\nexport const FOLDER_TYPE_CUSTOM = 'CustomFolder';\r\nexport const FOLDER_TYPE_UNSORTED = 'Unsorted';\r\nexport const FOLDER_UNSORTED_IDENTIFIER: FolderIdentifier = {\r\n type: FOLDER_TYPE_UNSORTED,\r\n name: FOLDER_TYPE_UNSORTED,\r\n};\r\n\r\nexport type FolderType = 'CustomFolder' | 'Unsorted' | 'CarrierDocuments';\r\n\r\nexport interface FolderIdentifier {\r\n id?: string;\r\n type: FolderType;\r\n name: string;\r\n}\r\n\r\nexport const CUSTOM_FOLDERS_REQUEST_OFFSET_INCREMENT = 30;\r\nexport const CUSTOM_FOLDERS_REQUEST_LIMIT_DEFAULT = 30;\r\nexport const CUSTOM_FOLDERS_REQUEST_LIMIT_APPENDING = 30;\r\n\r\nexport const DefaultCustomFoldersRequest: CustomFoldersRequest = {\r\n offset: 0,\r\n limit: CUSTOM_FOLDERS_REQUEST_LIMIT_DEFAULT,\r\n sortBy: CustomFoldersSort.LastAccessedOn,\r\n sortDirection: SortDirection.Descending,\r\n};\r\n\r\nexport const createDefaultCustomFoldersRequest = (): CustomFoldersRequest => cloneDeep(DefaultCustomFoldersRequest);\r\n\r\nexport const resetCustomFoldersRequest = (request: CustomFoldersRequest): CustomFoldersRequest => ({\r\n offset: 0,\r\n limit: CUSTOM_FOLDERS_REQUEST_LIMIT_DEFAULT,\r\n sortBy: request.sortBy,\r\n sortDirection: request.sortDirection,\r\n});\r\n\r\nexport const DOCUMENTS_LIST_REQUEST_OFFSET_INCREMENT = 10;\r\nexport const DOCUMENTS_LIST_REQUEST_LIMIT_DEFAULT = 20;\r\nexport const DOCUMENTS_LIST_REQUEST_LIMIT_APPENDING = 10;\r\n\r\nexport const DOCUMENT_TYPE_ALL = 'All';\r\nexport const DOCUMENT_TYPE_OTHER = 'Other';\r\n\r\nexport const createDefaultDocumentsRequest = (filters: DocumentFilters): DocumentFilters => ({\r\n ...filters,\r\n offset: 0,\r\n limit: DOCUMENTS_LIST_REQUEST_LIMIT_DEFAULT,\r\n});\r\n\r\nexport interface CustomFoldersResponse extends SearchResponsePayload {\r\n customFolders: CustomFolder[];\r\n}\r\n\r\nexport interface DefaultFoldersResponse {\r\n folders: DefaultFolder[];\r\n}\r\n\r\nexport type NewCustomFolderResponse = CustomFolder;\r\nexport interface NewCustomFolderRequest {\r\n name: string;\r\n loadId?: string;\r\n}\r\n\r\nexport interface DocumentType {\r\n enumName: string;\r\n description: string;\r\n}\r\n\r\nexport interface FolderResponse {\r\n fileCount?: number;\r\n origState?: string;\r\n destState?: string;\r\n lastAccessedOn?: string;\r\n id?: string;\r\n contactId?: string;\r\n loadId?: string;\r\n name?: string;\r\n status?: CustomFolderStatus;\r\n createdOn?: string;\r\n modifiedOn?: string;\r\n}\r\n\r\nexport enum DownloadState {\r\n success = 'success',\r\n failure = 'failure',\r\n}\r\n","export interface Equipment {\r\n equipmentType: EquipmentType;\r\n equipmentSpecifications: string; //This can be multiple `EquipmentSpecification` separated by `,`\r\n}\r\n\r\nexport enum EquipmentType {\r\n All = 'All',\r\n Van = 'Van',\r\n Reefer = 'Reefer',\r\n PowerOnly = 'PowerOnly',\r\n Container = 'Container',\r\n HopperBottom = 'HopperBottom',\r\n Tanker = 'Tanker',\r\n DoubleDrop = 'DoubleDrop',\r\n Flatbed = 'Flatbed',\r\n Landoll = 'Landoll',\r\n LowBoy = 'LowBoy',\r\n Maxi = 'Maxi',\r\n RemovableGooseneck = 'RemovableGooseneck',\r\n StepDeck = 'StepDeck',\r\n Auto = 'Auto',\r\n AnimalCarrier = 'AnimalCarrier',\r\n BoatHauler = 'BoatHauler',\r\n HeavyHaulers = 'HeavyHaulers',\r\n MovingVan = 'MovingVan',\r\n MiniVan = 'MiniVan',\r\n CargoVan = 'CargoVan',\r\n BoxTruck = 'BoxTruck',\r\n Sprinter = 'Sprinter',\r\n DumpTruck = 'DumpTruck',\r\n PilotCars = 'PilotCars',\r\n None = 'None',\r\n}\r\n\r\nexport enum EquipmentSpecification {\r\n None = 'None',\r\n AirRide = 'AirRide',\r\n BlanketWrap = 'BlanketWrap',\r\n BTrain = 'BTrain',\r\n Chains = 'Chains',\r\n Chassis = 'Chassis',\r\n Conestoga = 'Conestoga',\r\n Curtains = 'Curtains',\r\n Double = 'Double',\r\n ETrack = 'ETrack',\r\n Extendable = 'Extendable',\r\n HazMat = 'HazMat',\r\n HotShot = 'HotShot',\r\n Insulated = 'Insulated',\r\n Intermodal = 'Intermodal',\r\n LiftGate = 'LiftGate',\r\n LoadRamps = 'LoadRamps',\r\n LoadOut = 'LoadOut',\r\n Moving = 'Moving',\r\n OpenTop = 'OpenTop',\r\n Oversized = 'Oversized',\r\n PalletExchange = 'PalletExchange',\r\n PlateTrailer = 'PlateTrailer',\r\n SideKit = 'SideKit',\r\n Tarps = 'Tarps',\r\n TeamDriver = 'TeamDriver',\r\n TempControlled = 'TempControlled',\r\n Triple = 'Triple',\r\n Vented = 'Vented',\r\n WalkingFloor = 'WalkingFloor',\r\n All = 'All',\r\n}\r\n\r\nexport enum EquipmentCode {\r\n All = 'All',\r\n Van = 'V',\r\n Reefer = 'R',\r\n PowerOnly = 'PO',\r\n Container = 'C',\r\n HopperBottom = 'HB',\r\n Tanker = 'T',\r\n DoubleDrop = 'DD',\r\n Flatbed = 'F',\r\n Landoll = 'LA',\r\n LowBoy = 'LB',\r\n Maxi = 'MX',\r\n RemovableGooseneck = 'RG',\r\n StepDeck = 'SD',\r\n Auto = 'Auto',\r\n AnimalCarrier = 'AC',\r\n BoatHauler = 'BH',\r\n HeavyHaulers = 'HH',\r\n MovingVan = 'MV',\r\n MiniVan = 'MiniVan',\r\n CargoVan = 'CV',\r\n BoxTruck = 'SB',\r\n Sprinter = 'Sprinter',\r\n DumpTruck = 'DT',\r\n PilotCars = 'PilotCars',\r\n None = 'None',\r\n}\r\n\r\nexport enum EquipmentSpecificationCode {\r\n None = 'None',\r\n AirRide = 'A',\r\n BlanketWrap = 'B',\r\n BTrain = 'BT',\r\n Chains = 'CH',\r\n Chassis = 'CS',\r\n Conestoga = 'CO',\r\n Curtains = 'C',\r\n Double = '2',\r\n ETrack = 'ET',\r\n Extendable = 'E',\r\n HazMat = 'Z',\r\n HotShot = 'HS',\r\n Insulated = 'I',\r\n Intermodal = 'N',\r\n LiftGate = 'LG',\r\n LoadRamps = 'LR',\r\n LoadOut = 'LO',\r\n Moving = 'MV',\r\n OpenTop = 'OT',\r\n Oversized = 'O',\r\n PalletExchange = 'X',\r\n PlateTrailer = 'PL',\r\n SideKit = 'S',\r\n Tarps = 'T',\r\n TeamDriver = 'M',\r\n TempControlled = 'TC',\r\n Triple = '3',\r\n Vented = 'V',\r\n WalkingFloor = 'WF',\r\n All = 'All',\r\n}\r\n","export interface BaseFtp {\r\n status: ContactPostingFtpStatus;\r\n ftpName: string;\r\n ftpHost: string;\r\n ftpPort: number;\r\n username: string;\r\n ftpProtocol: FtpProtocol;\r\n ftpEncryption: FtpEncryption;\r\n remoteDirectory: string;\r\n dailyFullTransmission: boolean;\r\n}\r\n\r\nexport interface NewFtp extends BaseFtp {\r\n password: string;\r\n}\r\n\r\nexport interface ModifiedFtp extends BaseFtp {\r\n id: string;\r\n password?: string;\r\n}\r\n\r\nexport interface Ftp extends BaseFtp {\r\n id: string;\r\n connectionValid?: boolean;\r\n connectionError?: string;\r\n lastTransmission?: string; // Doesn't exist yet, replace/change to required when feature is done\r\n}\r\n\r\nexport enum FtpProtocol {\r\n None = 'None',\r\n Ftp = 'Ftp',\r\n}\r\n\r\nexport enum FtpEncryption {\r\n None = 'None',\r\n PlainFtp = 'PlainFtp',\r\n ImplicitFtpOverTls = 'ImplicitFtpOverTls',\r\n ExplicitFtpOverTls = 'ExplicitFtpOverTls',\r\n ExplicitFtpOverTlsIfAvailable = 'ExplicitFtpOverTlsIfAvailable',\r\n}\r\n\r\nexport enum ContactPostingFtpStatus {\r\n None = 'None',\r\n Active = 'Active',\r\n Deleted = 'Deleted',\r\n FailedWithRetry = 'FailedWithRetry',\r\n Failed = 'Failed',\r\n}\r\n\r\nexport const MAX_FTP_NAME_LENGTH = 255;\r\n","enum Currency {\r\n NONE = 'None',\r\n CAD = 'CAD',\r\n USD = 'USD',\r\n}\r\n\r\nexport interface FuelPrice {\r\n price?: number;\r\n tax?: number;\r\n currency?: Currency;\r\n}\r\n","export class Geolocation {\r\n constructor(lat: number, lng: number) {\r\n this.latitude = lat;\r\n this.longitude = lng;\r\n }\r\n\r\n latitude: number;\r\n longitude: number;\r\n}\r\n","export interface InboxMessage {\r\n guid: string;\r\n sentOn: string;\r\n content: string;\r\n type: MessageType;\r\n subject: string;\r\n deleted: boolean;\r\n read: boolean;\r\n contactId?: number;\r\n}\r\n\r\nexport enum MessageType {\r\n Announcement = 'Announcement',\r\n Notice = 'Notice',\r\n ServiceRelated = 'ServiceRelated',\r\n Promotion = 'Promotion',\r\n Newsletter = 'Newsletter',\r\n}\r\n\r\nexport enum MessageAction {\r\n delete = 'Deleted',\r\n deleteForever = 'DeletedForever',\r\n active = 'Active',\r\n read = 'Read',\r\n}\r\n\r\nexport interface GetMessagesResponse {\r\n hasMore: boolean;\r\n items: InboxMessage[];\r\n token: string;\r\n}\r\n","import moment from 'moment';\r\n\r\nimport { TimePeriod } from './UserPlan';\r\n\r\nexport enum InvoiceStatus {\r\n None = 'None',\r\n New = 'New',\r\n SentOn = 'SentOn',\r\n InProcess = 'InProcess',\r\n Declined = 'Declined',\r\n Paid = 'Paid',\r\n Unpaid = 'Unpaid',\r\n Cancelled = 'Cancelled',\r\n Intrial = 'Intrial',\r\n}\r\n\r\nexport enum InvoiceCurrency {\r\n None,\r\n CAD,\r\n USD,\r\n}\r\n\r\nexport interface Invoice {\r\n id: number;\r\n guid: string;\r\n amount: number;\r\n status: InvoiceStatus;\r\n currency: InvoiceCurrency;\r\n invoiceNo: number;\r\n createdOn: string;\r\n}\r\n\r\nexport interface InvoiceListResponse {\r\n invoices: Invoice[];\r\n count: number;\r\n}\r\n\r\nexport interface InvoicesFilters {\r\n offset: number;\r\n limit: number;\r\n period: TimePeriod;\r\n fields?: string;\r\n}\r\n\r\nexport interface InvoicesRequest extends InvoicesFilters {\r\n startDate: string;\r\n endDate: string;\r\n}\r\n\r\nconst INVOICES_LIST_REQUEST_OFFSET_DEFAULT = 0;\r\nexport const INVOICES_LIST_REQUEST_LIMIT_DEFAULT = 20;\r\nexport const INVOICES_LIST_REQUEST_LIMIT_APPENDING = 10;\r\nexport const INVOICES_LIST_REQUEST_OFFSET_INCREMENT = 10;\r\nexport const DEFAULT_INVOICE_REQUEST = {\r\n offset: INVOICES_LIST_REQUEST_OFFSET_DEFAULT,\r\n limit: INVOICES_LIST_REQUEST_LIMIT_DEFAULT,\r\n period: TimePeriod.Year,\r\n};\r\n\r\nexport const getFetchRequest = (fetchRequest: InvoicesFilters, selectedYear: string): InvoicesRequest => ({\r\n ...fetchRequest,\r\n startDate: moment([selectedYear]).startOf('year').format('YYYY-MM-DD'),\r\n endDate: moment([selectedYear]).endOf('year').format('YYYY-MM-DD'),\r\n});\r\n","import {\r\n Address,\r\n BookNow,\r\n Company,\r\n CreditRating,\r\n Equipment,\r\n EquipmentType,\r\n Geolocation,\r\n LoadMetadata,\r\n Location,\r\n Phone,\r\n PosterMetadata,\r\n PostLoadVisibilityRulesList,\r\n Rate,\r\n RateCheck,\r\n} from '@common/model';\r\nimport { Vendor } from '@common/model/VendorBid';\r\nimport { SearchResponsePayload } from '@common/redux/Base';\r\n\r\nexport interface LoadRateCheckPreview {\r\n status: RateCheckPreviewStatus;\r\n totalRate?: number;\r\n ratePerMile?: number;\r\n}\r\n\r\nexport interface CommonLoadProperties {\r\n id: string;\r\n postReference?: string;\r\n posterContactName?: string; // used in Load Post\r\n mileage?: number;\r\n length?: number;\r\n weight?: number;\r\n notes?: string;\r\n}\r\n\r\n// Add fields when required to both the response structure and LOAD_DETAIL_REQUEST_FIELDS_DEFAULT\r\nexport interface Load extends CommonLoadProperties {\r\n guid?: string;\r\n status: LoadStatus;\r\n computedMileage?: number;\r\n age?: number;\r\n lastRefreshed?: string;\r\n /** Indicates whether the load has been refreshed. Controls visibility of 'lastRefreshed' timestamp. */\r\n dateIsRefreshed?: boolean;\r\n created?: string;\r\n poster?: Company;\r\n rateCheck?: RateCheck;\r\n rateCheckPreview?: LoadRateCheckPreview;\r\n metadata?: LoadMetadata;\r\n numberOfLoads?: number;\r\n originLocation?: Location;\r\n destinationLocation?: Location;\r\n pickupDateTime?: string;\r\n pickupDateTimes?: string[];\r\n pickupDates?: string[];\r\n deliveryDateTime?: string;\r\n equipments?: Equipment[];\r\n loadSize?: LoadSize;\r\n\r\n rate?: Rate;\r\n numberOfStops?: number;\r\n commodity?: string;\r\n\r\n privateLoadNote?: string;\r\n dispatchPhone?: Phone;\r\n dispatchName?: string;\r\n dispatchEmail?: string;\r\n contactName?: string;\r\n contactPhone?: Phone;\r\n contactEmail?: string;\r\n sortEquipCode?: string;\r\n pricePerMile?: number;\r\n teamDriving?: boolean;\r\n conversation?: {\r\n canInitiateConversation: boolean;\r\n unreadConversationCount?: number;\r\n sentConversationCount?: number;\r\n receivedConversationCount?: number;\r\n };\r\n extraStops?: LoadExtraStop[];\r\n vendorInfo?: VendorInfo;\r\n vHub?: VHub;\r\n rateNegotiations?: {\r\n status: LoadRateNegotiationsStatus;\r\n numberOfBids: number;\r\n numberOfUnreadBids: number;\r\n };\r\n canBookNow?: boolean;\r\n bookNow?: BookNow;\r\n posterMetadata?: PosterMetadata;\r\n visibility?: PostLoadVisibilityRulesList;\r\n onboardingUrl?: string;\r\n\r\n // local fields, set/updated by the client\r\n fetchedAt?: number;\r\n isFromAutorefresh?: boolean;\r\n}\r\n\r\nexport interface SharedLoad extends Load {\r\n creditRatings?: CreditRating[];\r\n access?: SharedLoadAccess;\r\n}\r\n\r\nexport interface Loads extends SearchResponsePayload {\r\n loads: Load[];\r\n}\r\n\r\nexport interface SimilarLoad {\r\n load: Load;\r\n nonMatching: NonMatchingLoad;\r\n}\r\n\r\nexport interface NonMatchingLoad {\r\n fields: LoadFields[];\r\n equipments: EquipmentType[];\r\n}\r\n\r\nexport interface LoadMatch {\r\n load: Load;\r\n nonMatching: NonMatchingLoad;\r\n}\r\n\r\nexport interface SharedLoadAccess {\r\n rateCheck?: boolean;\r\n creditRatings?: boolean;\r\n}\r\n\r\nexport interface LoadExtraStop {\r\n stopNo?: number;\r\n stopPurpose?: StopPurposeType;\r\n type?: ExtraStopLocationType;\r\n geolocation?: Geolocation;\r\n address?: Address;\r\n}\r\n\r\nexport enum RateCheckPreviewStatus {\r\n Loading = 'loading',\r\n Available = 'available',\r\n UnsupportedEquipmentType = 'UnsupportedEquipmentType',\r\n NotAvailable = 'NotAvailable',\r\n NoRateCheckAccess = 'NoRateCheckAccess',\r\n Error = 'error',\r\n}\r\n\r\nexport enum PayRateUnit {\r\n Flat = 'Flat',\r\n PerMile = 'PerMile',\r\n}\r\n\r\nexport interface VendorInfo {\r\n vendorId?: Vendor;\r\n canBid?: boolean;\r\n bid?: VendorBidInfo;\r\n}\r\n\r\nexport interface VendorBidInfo {\r\n submittedOn: string;\r\n amount: number;\r\n}\r\n\r\nexport interface VHub {\r\n url?: string;\r\n}\r\n\r\nexport type LoadWithStatusOnly = Pick;\r\n\r\nexport enum StopPurposeType {\r\n None = 'None',\r\n Pickup = 'Pickup',\r\n Dropoff = 'Dropoff',\r\n Both = 'Both',\r\n}\r\n\r\nexport enum ExtraStopLocationType {\r\n None = 'None',\r\n CityState = 'CityState',\r\n ZipCode = 'ZipCode',\r\n Geolocation = 'Geolocation',\r\n}\r\n\r\nexport enum LoadStatus {\r\n None = 'None',\r\n InProcess = 'InProcess',\r\n Online = 'Online',\r\n Deleted = 'Deleted',\r\n Assigned = 'Assigned',\r\n Delivered = 'Delivered',\r\n Offline = 'Offline',\r\n UIR = 'UIR',\r\n}\r\n\r\nexport enum LoadSize {\r\n None = 'None',\r\n LTL = 'LTL',\r\n TL = 'TL',\r\n}\r\n\r\nexport enum LoadFields {\r\n Length = 'Length',\r\n Weight = 'Weight',\r\n Mileage = 'Mileage',\r\n Origin = 'Origin',\r\n Size = 'Size',\r\n Destination = 'Destination',\r\n PickupDate = 'PickupDate',\r\n}\r\n\r\nexport enum AspectRatio {\r\n Ratio2_1 = 'Ratio2_1',\r\n Ratio3_1 = 'Ratio3_1',\r\n}\r\n\r\nexport enum LoadRateNegotiationsStatus {\r\n Enabled = 'Enabled',\r\n Disabled = 'Disabled',\r\n}\r\n\r\nexport enum LoadContactOption {\r\n Email,\r\n Call,\r\n Message,\r\n VendorBid,\r\n Bid,\r\n VhubBook,\r\n BookNow,\r\n}\r\n\r\nexport const LOAD_DETAIL_REQUEST_FIELDS_DEFAULT =\r\n 'id,' +\r\n 'guid,' +\r\n 'status,' +\r\n 'computedMileage,' +\r\n 'age,' +\r\n 'created,' +\r\n 'poster,' +\r\n 'rateCheck,' +\r\n 'rateCheckPreview,' +\r\n 'metadata,' +\r\n 'postReference,' +\r\n 'numberOfLoads,' +\r\n 'originLocation,' +\r\n 'destinationLocation,' +\r\n 'pickupDateTime,' +\r\n 'pickupDateTimes,' +\r\n 'deliveryDateTime,' +\r\n 'equipments,' +\r\n 'loadSize,' +\r\n 'mileage,' +\r\n 'length,' +\r\n 'weight,' +\r\n 'rate,' +\r\n 'numberOfStops,' +\r\n 'commodity,' +\r\n 'notes,' +\r\n 'privateLoadNote,' +\r\n 'dispatchPhone,' +\r\n 'dispatchName,' +\r\n 'dispatchEmail,' +\r\n 'contactName,' +\r\n 'contactPhone,' +\r\n 'contactEmail,' +\r\n 'sortEquipCode,' +\r\n 'pricePerMile,' +\r\n 'teamDriving,' +\r\n 'conversation,' +\r\n 'extraStops,' +\r\n 'vendorInfo,' +\r\n 'vHub,' +\r\n 'rateNegotiations,' +\r\n 'canBookNow,' +\r\n 'bookNow,' +\r\n 'posterMetadata,' +\r\n 'onboardingUrl,' +\r\n 'lastRefreshed,' +\r\n 'dateIsRefreshed';\r\n","import { LoadSearchRequest } from '@common/model/LoadSearchRequest';\r\nimport { CA_PROVINCES, MIDWEST, NORTHEAST, OTHER, PLAINS, SOUTH, STATES, WEST } from '@common/model/States';\r\n\r\nexport enum LoadAvailabilitySortCategory {\r\n USA = 'USA',\r\n Northeast = 'Northeast',\r\n Midwest = 'Midwest',\r\n South = 'South',\r\n West = 'West',\r\n Plains = 'Plains',\r\n Other = 'Other',\r\n Canada = 'Canada',\r\n}\r\n\r\nexport interface LoadAvailabilitySort {\r\n field: LoadAvailabilitySortCategory;\r\n}\r\nexport interface StateLoadAvailabilityResponse {\r\n stateAvailabilities: StateLoadAvailability[];\r\n}\r\nexport interface StateLoadAvailability {\r\n country: string;\r\n state: string;\r\n availabilities: LoadAvailability[];\r\n}\r\n\r\ninterface LoadAvailability {\r\n type: LoadAvailabilityType;\r\n count: number;\r\n query: LoadSearchRequest;\r\n}\r\n\r\nexport enum LoadAvailabilityType {\r\n NONE = 'None',\r\n INBOUND = 'Inbound',\r\n OUTBOUND = 'Outbound',\r\n INTRASTATE = 'Intrastate',\r\n}\r\n\r\nexport interface FormatedLoadAvailability {\r\n state: string;\r\n inbound: number;\r\n outbound: number;\r\n intrastate: number;\r\n outboundQuery?: LoadSearchRequest;\r\n intrastateQuery?: LoadSearchRequest;\r\n inboundQuery?: LoadSearchRequest;\r\n}\r\n\r\nexport const getStatesFromSortCategory = (sortCategory: LoadAvailabilitySortCategory) => {\r\n switch (sortCategory) {\r\n case LoadAvailabilitySortCategory.Northeast:\r\n return NORTHEAST;\r\n case LoadAvailabilitySortCategory.Midwest:\r\n return MIDWEST;\r\n case LoadAvailabilitySortCategory.South:\r\n return SOUTH;\r\n case LoadAvailabilitySortCategory.West:\r\n return WEST;\r\n case LoadAvailabilitySortCategory.Plains:\r\n return PLAINS;\r\n case LoadAvailabilitySortCategory.Other:\r\n return OTHER;\r\n case LoadAvailabilitySortCategory.Canada:\r\n return CA_PROVINCES;\r\n case LoadAvailabilitySortCategory.USA:\r\n return STATES;\r\n default:\r\n return [];\r\n }\r\n};\r\n","import { Patch } from '@common/api';\r\n\r\nimport { LoadProgress } from './LoadUserdata';\r\n\r\n// FIXME: this type shouldn't be like this. It should only be LoadProgress\r\nexport type LoadUserMetadataValue = boolean | LoadProgress;\r\n\r\nexport type LoadFeedbackRequest = Patch;\r\n\r\nexport const generateLoadFeedbackRequest = (path: string, value?: LoadUserMetadataValue): LoadFeedbackRequest => ({\r\n op: 'replace',\r\n path: path,\r\n value: value ? value : true,\r\n});\r\n\r\nexport enum LOAD_FEEDBACK_CATEGORY {\r\n NOT_INTERESTED = '/isNotInterested',\r\n NO_LONGER_AVAILABLE = '/isGone',\r\n PAY_TOO_LOW = '/isLowPayRate',\r\n DETAILS_INCORRECT = '/isWrongInfo',\r\n CALLED = '/isCalled',\r\n EMAILED = '/isEmailed',\r\n HIDDEN = '/isHidden',\r\n PROGRESS = '/progress',\r\n}\r\n","import { intersection, isEqual } from 'lodash';\r\n\r\nimport { EquipmentType } from './Equipment';\r\nimport { LoadSize } from './Load';\r\nimport { LoadSearchSort } from './LoadSearchSort';\r\nimport { LocationType } from './Location';\r\nimport { CA_PROVINCES, STATES } from './States';\r\n\r\nexport const MAX_ORIGIN_STATES = 15;\r\n\r\nexport const INITIAL_SEARCH_LIMIT = 20;\r\nexport const SEARCH_LIMIT_APPENDING = 10;\r\n\r\nexport const INITIAL_LOAD_SEARCH_LIMIT = 50;\r\nexport const LOAD_SEARCH_LIMIT_APPENDING = INITIAL_LOAD_SEARCH_LIMIT;\r\n\r\nexport const DEFAULT_LOAD_SEARCH_RADIUS = 150;\r\nexport const DEFAULT_LOAD_SEARCH_FIELDS = 'all';\r\n\r\nexport enum LoadSearchMileage {\r\n MIN = 0,\r\n MAX_SHORT = 200,\r\n MAX_MEDIUM = 500,\r\n MAX_REGIONAL = 1000,\r\n}\r\n\r\nexport enum CompanyFilterType {\r\n None = 'None',\r\n Broker = 'Broker',\r\n Carrier = 'Carrier',\r\n Shipper = 'Shipper',\r\n All = 'All',\r\n}\r\n\r\nexport interface MapBounds {\r\n minLatitude: number;\r\n maxLatitude: number;\r\n minLongitude: number;\r\n maxLongitude: number;\r\n}\r\n\r\nexport interface CompanyFilter {\r\n types: CompanyFilterType;\r\n isOnboarded?: boolean;\r\n name?: string;\r\n companyIds?: string[];\r\n}\r\n\r\nexport interface NearbyLoadsSearchRequest {\r\n truckId: string | undefined;\r\n geolocation: {\r\n latitude: number;\r\n longitude: number;\r\n };\r\n}\r\n\r\ninterface SharedLoadSearchFields {\r\n destination: LoadLocation;\r\n loadSize?: LoadSize;\r\n minWeight?: number;\r\n weight?: number;\r\n minLength?: number;\r\n length?: number;\r\n minMileage?: number;\r\n maxMileage?: number;\r\n includeLoadsWithoutLength?: boolean; //if default sent, should be true\r\n includeLoadsWithoutWeight?: boolean; //if default sent, should be true\r\n isOnboarded?: boolean;\r\n company?: CompanyFilter;\r\n hasRate?: boolean;\r\n hasCommodity?: boolean;\r\n hasTeam?: boolean;\r\n minTransCreditRating?: number;\r\n maxTransCreditRating?: number;\r\n minTransCreditDaysToPay?: number;\r\n maxTransCreditDaysToPay?: number;\r\n minAge?: number;\r\n maxAge?: number;\r\n minutesSinceRefreshedMax?: number;\r\n}\r\n\r\nexport interface BaseLoadSearchRequest extends SharedLoadSearchFields {\r\n originLatLongBounds?: MapBounds;\r\n pickupDates: string[];\r\n equipmentTypes?: EquipmentType[];\r\n equipmentSpecifications?: string;\r\n metadata: LoadSearchMetadata;\r\n saveAsRecentSearch?: boolean;\r\n saveLocations?: boolean;\r\n filter?: string;\r\n hasMessaging?: boolean;\r\n hasBidding?: boolean;\r\n status?: string;\r\n isFavoriteBroker?: boolean;\r\n}\r\n\r\nexport interface LoadSearchRequest extends BaseLoadSearchRequest {\r\n id?: string;\r\n origin: OriginLocation;\r\n}\r\n\r\nexport interface NamedSearchRequest extends SharedLoadSearchFields {\r\n hasAlert?: boolean;\r\n searchName?: string;\r\n id?: string;\r\n origin: OriginLocation;\r\n pickupDates: string[];\r\n equipmentTypes?: EquipmentType[];\r\n equipmentSpecifications?: string;\r\n saveLocations?: boolean;\r\n}\r\n\r\nexport interface PersistentLoadSearchDef extends SharedLoadSearchFields {\r\n id?: string;\r\n hasAlert?: boolean;\r\n searchName?: string;\r\n origin: OriginLocation;\r\n modifiedOn?: string;\r\n equipmentSpecifications?: string;\r\n maxAge?: number;\r\n minAge?: number;\r\n maxExtraDrops?: number;\r\n hasTeam?: boolean;\r\n hasRate?: boolean;\r\n minMileage?: number;\r\n maxMileage?: number;\r\n minOriginRadius?: number;\r\n isFavoriteBroker?: boolean;\r\n isOnboarded?: boolean;\r\n equipmentTypes?: string;\r\n pickupDates?: string[];\r\n includeWithGreaterPickupDates?: boolean;\r\n sortBy: LoadSearchSort;\r\n}\r\n\r\nexport type HomeLocation = LoadLocationCity | LoadLocationZip | LoadGeolocation;\r\nexport enum SearchMetadataType {\r\n Regular = 'Regular',\r\n\r\n /** Mainly for poll-based auto-refresh.\r\n * Only the loads that were modified since the last search are returned\r\n */\r\n Refresh = 'Refresh',\r\n\r\n /** The following types are for MAP-related searches only */\r\n Geo = 'Geo',\r\n GeoPanning = 'GeoPanning',\r\n MapSelect = 'MapSelect',\r\n}\r\n\r\nexport interface LoadSearchMetadata {\r\n offset?: number;\r\n nextToken?: string;\r\n limit?: number;\r\n fields?: string;\r\n type: SearchMetadataType;\r\n sortBy?: LoadSearchSort;\r\n}\r\n\r\n/** Types allowed for Load Origin */\r\nexport type OriginLocation = LoadLocationStates | LoadGeolocation | LoadLocationZip | LoadLocationCity;\r\n\r\n/** Types allowed for Load Destination */\r\nexport type DestLocation = LoadLocation;\r\n\r\n/** Discriminated Union with \"type\" string enum field */\r\nexport type LoadLocation =\r\n | LoadLocationCity\r\n | LoadLocationStates\r\n | LoadLocationZip\r\n | LoadGeolocation\r\n | LoadLocationAnywhere;\r\n\r\nexport interface LoadLocationCity {\r\n type: LocationType.CITY;\r\n city: string;\r\n states: string[];\r\n radius?: number;\r\n latitude?: number;\r\n longitude?: number;\r\n}\r\n\r\nexport interface LoadLocationStates {\r\n type: LocationType.STATE;\r\n states: string[];\r\n radius?: number;\r\n city?: string;\r\n}\r\n\r\nexport interface LoadLocationZip {\r\n type: LocationType.ZIP;\r\n zipCode: string;\r\n city: string;\r\n states: string[];\r\n radius?: number;\r\n latitude?: number;\r\n longitude?: number;\r\n}\r\n\r\nexport interface LoadLocationAnywhere {\r\n type: LocationType.ANY | LocationType.ANY_CA | LocationType.ANY_US;\r\n radius?: number;\r\n}\r\n\r\nexport interface LoadGeolocation {\r\n type: LocationType.GEOLOCATION;\r\n latitude: number;\r\n longitude: number;\r\n radius?: number;\r\n /** from geocoding */\r\n formattedAddress?: string;\r\n city?: string;\r\n states?: string[];\r\n}\r\n\r\n/* --------------------------------------------\r\nHere are typical payloads for load locations\r\nas a reference:\r\n\r\nGEOLOCATION EXAMPLE (i.e. CURRENT LOCATION):\r\n{\r\n \"city\":\"Montréal\",\r\n \"latitude\":45.5008672,\r\n \"longitude\":-73.5589807,\r\n \"radius\":10.0,\r\n \"states\":[\r\n \"QC\"\r\n ],\r\n \"type\":\"GeoLocation\",\r\n},\r\n\r\nZIP CODE EXAMPLE:\r\n{\r\n \"city\":\"Washington\",\r\n \"radius\":150.0,\r\n \"states\":[\r\n \"DC\"\r\n ],\r\n \"type\":\"ZipCode\",\r\n \"zipCode\":\"20202\"\r\n},\r\n----------------------------------------------\r\n*/\r\n\r\nexport const EMPTY_ORIGIN_LOCATION: LoadLocationCity = {\r\n type: LocationType.CITY,\r\n city: '',\r\n states: [],\r\n};\r\n\r\nexport const ANYWHERE_LOCATION: LoadLocation = {\r\n type: LocationType.ANY,\r\n};\r\n\r\nexport const supportsRadius = (location: LoadLocation) => {\r\n if (!location) {\r\n return false;\r\n }\r\n switch (location.type) {\r\n case LocationType.CITY:\r\n case LocationType.GEOLOCATION:\r\n case LocationType.ZIP:\r\n return true;\r\n }\r\n return false;\r\n};\r\n\r\nexport const supportsTripLength = (location: LoadLocation) => {\r\n if (!location) {\r\n return false;\r\n }\r\n // only have tripLength when destination is \"Anywhere*\".\r\n switch (location.type) {\r\n case LocationType.ANY:\r\n case LocationType.ANY_CA:\r\n case LocationType.ANY_US:\r\n return true;\r\n case LocationType.STATE:\r\n // synthetic 'Everywhere*' by selecting all states\r\n if (\r\n allStatesSelected(location) ||\r\n allAndOnlyCanadaProvincesSelected(location) ||\r\n allAndOnlyUsaStatesSelected(location)\r\n ) {\r\n return true;\r\n }\r\n }\r\n return false;\r\n};\r\n\r\nexport const allStatesSelected = (location: LoadLocationStates) =>\r\n location.states.length === CA_PROVINCES.length + STATES.length;\r\n\r\nexport const allAndOnlyCanadaProvincesSelected = (location: LoadLocationStates) => {\r\n return (\r\n location.states.length === CA_PROVINCES.length &&\r\n intersection(location.states, CA_PROVINCES).length === CA_PROVINCES.length\r\n );\r\n};\r\n\r\nexport const allAndOnlyUsaStatesSelected = (location: LoadLocationStates) => {\r\n return location.states.length === STATES.length && intersection(location.states, STATES).length === STATES.length;\r\n};\r\n\r\nexport const isEmptyOriginLocation = (location: OriginLocation) => isEqual(location, EMPTY_ORIGIN_LOCATION);\r\n","import { Address, EquipmentSpecification, EquipmentType, Geolocation, LoadSize, LocationType } from '@common/model';\r\n\r\nexport interface LoadSearchSettings {\r\n origRadius?: number;\r\n destRadius?: number;\r\n includeLoadsWithoutWeight?: boolean;\r\n includeLoadsWithoutLength?: boolean;\r\n equipTypes?: EquipmentType;\r\n equipSpecs?: EquipmentSpecification;\r\n homeAddress?: Address;\r\n weight?: number;\r\n length?: number;\r\n homeLocationType?: LocationType;\r\n loadSize?: LoadSize;\r\n homeGeolocation?: Geolocation;\r\n appUiLayout?: string;\r\n webUiLayout?: string;\r\n webAvailabilityUiLayout?: string;\r\n webMyLoadsUiLayout?: string;\r\n webBrokerUiLayout?: string;\r\n}\r\nexport interface AppThemeSettings {\r\n mainTheme: AppThemeAPI;\r\n}\r\n\r\nexport enum AppTheme {\r\n Light = 'light',\r\n Dark = 'dark',\r\n}\r\n\r\nexport enum AppThemeMethod {\r\n USER_LIGHT = 'light',\r\n USER_DARK = 'dark',\r\n OS = 'OS',\r\n}\r\n\r\nexport enum AppThemeAPI {\r\n USER_LIGHT = 'light', // default\r\n USER_DARK = 'dark',\r\n // Used to keep track of the OS theme, the listener only gets the OS style if it changes or on initial load so this allows us\r\n // to keep track of the OS theme if the user logs out and another user logs in on the same device\r\n OS_LIGHT = 'OS_LIGHT',\r\n OS_DARK = 'OS_DARK',\r\n}\r\n","export interface LoadSearchSort {\r\n direction: LoadSortDirection;\r\n field: LoadSortCategory;\r\n}\r\nexport enum LoadSortDirection {\r\n Asc = 'Ascending',\r\n Desc = 'Descending',\r\n}\r\n\r\nexport enum LoadSortCategory {\r\n ORIGIN = 'Origin',\r\n ORIGIN_CITY = 'OrigCity',\r\n ORIGIN_STATE = 'OrigState',\r\n ORIGIN_STATE_CITY = 'OrigStateCity',\r\n ORIGIN_ZIPCODE = 'OrigZipCode',\r\n ORIGIN_RADIUS = 'OrigRadius',\r\n DESTINATION = 'Destination',\r\n DESTINATION_CITY = 'DestCity',\r\n DESTINATION_STATE = 'DestState',\r\n DESTINATION_STATE_CITY = 'DestStateCity',\r\n DESTINATION_ZIPCODE = 'DestZipCode',\r\n DESTINATION_RADIUS = 'DestRadius',\r\n PICKUP_DATE = 'PickupDate',\r\n MESSAGES_SENT = 'messagesSentCounter',\r\n EQUIPMENT = 'Equipment',\r\n AGE = 'PostedDate',\r\n BROKER_LAST_UPDATE_AGE = 'LastUpdateAge',\r\n ID = 'LoadId',\r\n SIZE = 'Size',\r\n LENGTH = 'Length',\r\n WEIGHT = 'Weight',\r\n COMPANY = 'Company',\r\n DEADHEAD = 'DeadHead',\r\n MILEAGE = 'Mileage',\r\n AMOUNT = 'Amount',\r\n CREDIT_RATING = 'CreditRating',\r\n DAYS_TO_PAY = 'DaysToPay',\r\n TRANS_CREDIT_RATING = 'TransCreditRating',\r\n TRANS_CREDIT_DAYS_TO_PAY = 'TransCreditDaysToPay',\r\n PRICE_PER_MILE = 'PricePerMile',\r\n AVERAGE_RATE = 'AverageRate',\r\n POST_REFERENCE = 'PostReference',\r\n}\r\n\r\nexport enum LoadSortField {\r\n DeadheadMiles,\r\n PickupDate,\r\n PostedAge,\r\n TripDistance,\r\n TripRate,\r\n RatePerMile,\r\n AverageRate,\r\n Weight,\r\n Length,\r\n CompanyName,\r\n CreditScore,\r\n DaysToPay,\r\n OriginStateCity,\r\n DestinationStateCity,\r\n Size,\r\n Equipment,\r\n LastUpdateAge,\r\n PostReference,\r\n}\r\n\r\nexport const loadSortFor = (field: LoadSortField): LoadSearchSort | undefined => {\r\n switch (field) {\r\n case LoadSortField.DeadheadMiles:\r\n return undefined;\r\n case LoadSortField.PickupDate:\r\n return { direction: LoadSortDirection.Asc, field: LoadSortCategory.PICKUP_DATE };\r\n case LoadSortField.PostedAge:\r\n return { direction: LoadSortDirection.Asc, field: LoadSortCategory.AGE };\r\n case LoadSortField.TripDistance:\r\n return { direction: LoadSortDirection.Asc, field: LoadSortCategory.MILEAGE };\r\n case LoadSortField.TripRate:\r\n return { direction: LoadSortDirection.Desc, field: LoadSortCategory.AMOUNT };\r\n case LoadSortField.RatePerMile:\r\n return { direction: LoadSortDirection.Desc, field: LoadSortCategory.PRICE_PER_MILE };\r\n case LoadSortField.AverageRate:\r\n return { direction: LoadSortDirection.Desc, field: LoadSortCategory.AVERAGE_RATE };\r\n case LoadSortField.Weight:\r\n return { direction: LoadSortDirection.Desc, field: LoadSortCategory.WEIGHT };\r\n case LoadSortField.Length:\r\n return { direction: LoadSortDirection.Desc, field: LoadSortCategory.LENGTH };\r\n case LoadSortField.CompanyName:\r\n return { direction: LoadSortDirection.Asc, field: LoadSortCategory.COMPANY };\r\n case LoadSortField.CreditScore:\r\n return { direction: LoadSortDirection.Desc, field: LoadSortCategory.CREDIT_RATING };\r\n case LoadSortField.DaysToPay:\r\n return { direction: LoadSortDirection.Desc, field: LoadSortCategory.DAYS_TO_PAY };\r\n case LoadSortField.OriginStateCity:\r\n return { direction: LoadSortDirection.Asc, field: LoadSortCategory.ORIGIN_STATE_CITY };\r\n case LoadSortField.DestinationStateCity:\r\n return { direction: LoadSortDirection.Asc, field: LoadSortCategory.DESTINATION_STATE_CITY };\r\n case LoadSortField.Size:\r\n return { direction: LoadSortDirection.Asc, field: LoadSortCategory.SIZE };\r\n case LoadSortField.Equipment:\r\n return { direction: LoadSortDirection.Asc, field: LoadSortCategory.EQUIPMENT };\r\n default:\r\n return undefined;\r\n }\r\n};\r\n\r\nexport const postedLoadSortFor = (field: LoadSortField): LoadSearchSort | undefined => {\r\n if (field === LoadSortField.LastUpdateAge || field === LoadSortField.PostedAge) {\r\n return { direction: LoadSortDirection.Asc, field: LoadSortCategory.BROKER_LAST_UPDATE_AGE };\r\n }\r\n if (field === LoadSortField.PostReference) {\r\n return { direction: LoadSortDirection.Desc, field: LoadSortCategory.POST_REFERENCE };\r\n }\r\n return loadSortFor(field);\r\n};\r\n\r\nexport const sortFieldFor = (sort?: LoadSearchSort): LoadSortField => {\r\n if (!sort) {\r\n return LoadSortField.DeadheadMiles;\r\n }\r\n switch (sort.field) {\r\n case LoadSortCategory.PICKUP_DATE:\r\n return LoadSortField.PickupDate;\r\n case LoadSortCategory.AGE:\r\n return LoadSortField.PostedAge;\r\n case LoadSortCategory.MILEAGE:\r\n return LoadSortField.TripDistance;\r\n case LoadSortCategory.AMOUNT:\r\n return LoadSortField.TripRate;\r\n case LoadSortCategory.PRICE_PER_MILE:\r\n return LoadSortField.RatePerMile;\r\n case LoadSortCategory.AVERAGE_RATE:\r\n return LoadSortField.AverageRate;\r\n case LoadSortCategory.LENGTH:\r\n return LoadSortField.Length;\r\n case LoadSortCategory.WEIGHT:\r\n return LoadSortField.Weight;\r\n case LoadSortCategory.COMPANY:\r\n return LoadSortField.CompanyName;\r\n case LoadSortCategory.CREDIT_RATING:\r\n return LoadSortField.CreditScore;\r\n case LoadSortCategory.DAYS_TO_PAY:\r\n return LoadSortField.DaysToPay;\r\n case LoadSortCategory.ORIGIN_STATE_CITY:\r\n return LoadSortField.OriginStateCity;\r\n case LoadSortCategory.DESTINATION_STATE_CITY:\r\n return LoadSortField.DestinationStateCity;\r\n case LoadSortCategory.EQUIPMENT:\r\n return LoadSortField.Equipment;\r\n case LoadSortCategory.SIZE:\r\n return LoadSortField.Size;\r\n default:\r\n return LoadSortField.DeadheadMiles;\r\n }\r\n};\r\n\r\nexport const postedLoadsSortFieldFor = (sort?: LoadSearchSort): LoadSortField => {\r\n if (!sort || sort.field === LoadSortCategory.BROKER_LAST_UPDATE_AGE || sort.field === LoadSortCategory.AGE) {\r\n return LoadSortField.LastUpdateAge;\r\n } else if (sort.field === LoadSortCategory.POST_REFERENCE) {\r\n return LoadSortField.PostReference;\r\n } else {\r\n return sortFieldFor(sort);\r\n }\r\n};\r\n","import { Deadhead } from './';\r\n\r\nexport interface LoadUserdata {\r\n isGone: boolean;\r\n isViewed: boolean;\r\n isLowPayRate: boolean;\r\n isHidden: boolean;\r\n isCalled: boolean;\r\n isEmailed: boolean;\r\n isMessaged: boolean;\r\n isContacted: boolean;\r\n isWrongInfo: boolean;\r\n isNotInterested: boolean;\r\n isSaved: boolean;\r\n originDeadhead?: Deadhead;\r\n destinationDeadhead?: Deadhead;\r\n note?: string;\r\n privateLoadNote?: string;\r\n progress?: LoadProgress;\r\n}\r\n\r\nexport interface TripBuilderLoadUserdata {\r\n isContacted: boolean;\r\n isSaved: boolean;\r\n note?: string;\r\n progress?: LoadProgress;\r\n}\r\n\r\nexport enum LoadProgress {\r\n LoadAvailable = 'LoadAvailable',\r\n Booked = 'Booked',\r\n ScheduledForPickup = 'ScheduledForPickup',\r\n PickupComplete = 'PickupComplete',\r\n LoadEnRoute = 'LoadEnRoute',\r\n Delivered = 'Delivered',\r\n}\r\n\r\nexport enum SortExpression {\r\n MostRecentlyViewed = 'MostRecentlyViewed',\r\n LoadProgress = 'LoadProgress',\r\n}\r\n","import { t, T } from '@translate';\r\n\r\nexport enum ViewField {\r\n Card = 'Card',\r\n List = 'List',\r\n Map = 'Map',\r\n}\r\nexport interface ViewChoice {\r\n id: string;\r\n title: string;\r\n field: ViewField;\r\n}\r\n\r\nexport interface WebViews {\r\n findLoads: ViewChoice;\r\n myLoads: ViewChoice;\r\n loadAvailability: ViewChoice;\r\n brokerLoads: ViewChoice;\r\n companySearch: ViewChoice;\r\n}\r\nexport enum WebViewPages {\r\n FindLoads = 'FindLoads',\r\n MyLoads = 'MyLoads',\r\n LoadAvailability = 'LoadAvailability',\r\n BrokerLoads = 'BrokerLoads',\r\n CompanySearch = 'CompanySearch',\r\n}\r\nexport const CardView: ViewChoice = {\r\n id: '0',\r\n title: t(T.common_viewKeys_cards),\r\n field: ViewField.Card,\r\n};\r\nexport const ListView: ViewChoice = {\r\n id: '1',\r\n title: t(T.common_viewKeys_list),\r\n field: ViewField.List,\r\n};\r\nexport const MapView: ViewChoice = {\r\n id: '2',\r\n title: t(T.common_viewKeys_map),\r\n field: ViewField.Map,\r\n};\r\n\r\nexport const KeysView: ViewChoice[] = [CardView, ListView, MapView];\r\nexport const KeysViewWithoutMap: ViewChoice[] = [CardView, ListView];\r\nexport const KeysWithoutList: ViewChoice[] = [CardView, MapView];\r\nexport const JustCardKey: ViewChoice[] = [CardView];\r\n","import { Address, Geolocation, States } from './';\r\n\r\nexport enum LocationType {\r\n STATE = 'States',\r\n GEOLOCATION = 'Geolocation',\r\n CITY = 'City',\r\n ANY = 'Anywhere',\r\n ANY_CA = 'AnywhereCanada',\r\n ANY_US = 'AnywhereUsa',\r\n ZIP = 'ZipCode',\r\n NONE = 'None',\r\n}\r\n\r\nexport const LOCATION_ALL = 'All';\r\n\r\nexport interface BaseLocationFromServer {\r\n type: string;\r\n address?: Address;\r\n geolocation?: Geolocation;\r\n states?: { canadaStates?: string; usStates?: string };\r\n radius?: number;\r\n}\r\n\r\nexport interface BaseLocation {\r\n type: string;\r\n address?: Address;\r\n geolocation?: Geolocation;\r\n states?: States;\r\n radius?: number;\r\n}\r\n\r\nexport interface Location extends BaseLocation {\r\n radiusCoverage?: string;\r\n}\r\n\r\nexport enum LocationPermissionStatus {\r\n WAITING_FOR_USER = 'WAITING_FOR_USER',\r\n GRANTED = 'GRANTED',\r\n ALLOWED_IN_APP = 'ALLOWED_IN_APP',\r\n DENIED = 'DENIED',\r\n NEVER_ASK_AGAIN_ANDROID = 'NEVER_ASK_AGAIN_ANDROID',\r\n}\r\n","interface LocationSuggestionCityState {\r\n type: SuggestionTypes.CityState;\r\n label: string;\r\n latitude: number;\r\n longitude: number;\r\n state: string;\r\n city: string; //TODO: Validate when used outside ratecheck. possibly might be null.\r\n stateUrlId: string;\r\n cityUrlId: string;\r\n zipCode: string;\r\n}\r\n\r\ninterface LocationSuggestionState {\r\n type: SuggestionTypes.State;\r\n label: string;\r\n latitude: number;\r\n longitude: number;\r\n state: string;\r\n stateUrlId: string;\r\n city?: string;\r\n zipCode?: string;\r\n}\r\n\r\ninterface LocationSuggestionZipCode {\r\n type: SuggestionTypes.ZipCode;\r\n label: string;\r\n latitude: number;\r\n longitude: number;\r\n state: string;\r\n city: string; //TODO: Validate when used outside ratecheck. possibly might be null.\r\n stateUrlId: string;\r\n cityUrlId: string;\r\n zipCode: string;\r\n}\r\n\r\ninterface LocationSuggestionGeolocation {\r\n type: SuggestionTypes.Geolocation;\r\n label: string;\r\n latitude: number;\r\n longitude: number;\r\n state?: string;\r\n city?: string; //TODO: Validate when used outside ratecheck. possibly might be null.\r\n stateUrlId?: string;\r\n cityUrlId?: string;\r\n zipCode?: string;\r\n}\r\n\r\nexport const enum SuggestionTypes {\r\n CityState = 'CityState',\r\n State = 'State',\r\n ZipCode = 'ZipCode',\r\n Geolocation = 'Geolocation',\r\n}\r\n\r\nexport type LocationSuggestion =\r\n | LocationSuggestionCityState\r\n | LocationSuggestionState\r\n | LocationSuggestionZipCode\r\n | LocationSuggestionGeolocation;\r\n","import { CompanyMetadata } from './CompanyMetadata';\r\nimport { EquipmentType } from './Equipment';\r\nimport { LoadSize } from './Load';\r\nimport { RouteDirectionsAddress } from './PCMiler';\r\n\r\nexport enum NotificationType {\r\n NONE = 'None', // should never be received, but is nonetheless part of API\r\n AUTOMATIC_LOAD_MATCH = 'AutomaticLoadMatch',\r\n CHAT = 'Chat',\r\n DAILY_DIGEST = 'DailyDigest',\r\n LOAD_ALERT = 'LoadAlert',\r\n LOAD_ALERT_EN_ROUTE = 'LoadAlertEnRoute',\r\n NEWSLETTERS = 'NewsLetters',\r\n PROMOTIONS = 'Promotions',\r\n SYSTEM_MESSAGES = 'SystemMessages',\r\n}\r\n\r\ninterface LoadInfo {\r\n companyName: string;\r\n originAddress: Partial;\r\n destinationAddress: Partial;\r\n pickupDateTime: string;\r\n loadSize: LoadSize;\r\n equipmentTypes: EquipmentType;\r\n age: number;\r\n active: boolean;\r\n length?: number;\r\n weight?: number;\r\n mileage?: number;\r\n}\r\n\r\nexport interface Message {\r\n id: string;\r\n threadID: string;\r\n type: NotificationType;\r\n title: string;\r\n text: string;\r\n time: string;\r\n read: boolean;\r\n deleted: boolean;\r\n senderCompanyName?: string;\r\n companyMetadata?: CompanyMetadata;\r\n loadId?: string;\r\n threadMessagesCount?: number;\r\n threadUnreadMessagesCount?: number;\r\n loadInfo?: LoadInfo;\r\n}\r\n\r\nexport interface MessagesResult {\r\n messages: Message[];\r\n resultCount: number;\r\n unreadMessagesCount: number;\r\n}\r\n\r\nexport type MessagesByLoad = Map;\r\n\r\nexport interface MessageRequest {\r\n offset: number;\r\n limit: number;\r\n}\r\n\r\nexport const createDefaultMessagesRequest = (): MessageRequest => ({\r\n offset: MESSAGES_REQUEST_OFFSET_DEFAULT,\r\n limit: MESSAGES_REQUEST_LIMIT_DEFAULT,\r\n});\r\n\r\nexport const MESSAGES_REQUEST_OFFSET_DEFAULT = 0;\r\n\r\nexport const MESSAGES_REQUEST_LIMIT_DEFAULT = 20;\r\nexport const MESSAGES_REQUEST_LIMIT_APPENDING = 10;\r\n","export enum MCPRiskAssessment {\r\n LOW = 'Low',\r\n MODERATE = 'Moderate',\r\n REVIEW = 'Review',\r\n FAIL = 'Fail',\r\n UNKNOWN = 'Unknown',\r\n}\r\n\r\nexport interface SendMCPVerificationData {\r\n dotNumber: string | number;\r\n emailAddress: string;\r\n}\r\n\r\nexport interface MCPVerificationResponse {\r\n verificationAlreadyInitiated: boolean;\r\n instructionsSent: boolean;\r\n emailSentDate?: string;\r\n}\r\n\r\nexport interface MCPLinkAccount {\r\n username: string;\r\n password: string;\r\n}\r\n\r\nexport interface MCPCarrierAssessment {\r\n isBrokerAccountLinkedToMcp: boolean;\r\n isOnboardingRequestSent: boolean;\r\n isCarrierOnboarded: boolean;\r\n riskAssessment: MCPRiskAssessment;\r\n}\r\n","import { PaginatedRequest } from '@common/redux/epic/PaginatedListReducer';\r\n\r\nimport { DEFAULT_LOAD_SEARCH_FIELDS, MapBounds } from './LoadSearchRequest';\r\nimport { LoadProgress, SortExpression } from './LoadUserdata';\r\n\r\nexport interface MyLoadsRequest extends PaginatedRequest {\r\n isSaved?: boolean;\r\n isCalled?: boolean;\r\n isEmailed?: boolean;\r\n isContacted?: boolean;\r\n isBooked?: boolean;\r\n isGone?: boolean;\r\n isLowPayRate?: boolean;\r\n isHidden?: boolean;\r\n isWringInfo?: boolean;\r\n isNotInterested?: boolean;\r\n isNoted?: boolean;\r\n isHiddenAfterCall?: boolean;\r\n isViewed: boolean;\r\n progress?: LoadProgress;\r\n progressList?: LoadProgress[];\r\n sortExpression?: SortExpression;\r\n origLatLongBounds?: MapBounds;\r\n}\r\n\r\nexport const createDefaultMyLoadsRequest = (): MyLoadsRequest => ({\r\n fields: DEFAULT_LOAD_SEARCH_FIELDS,\r\n isViewed: true,\r\n offset: 0,\r\n limit: MY_LOADS_REQUEST_LIMIT_DEFAULT,\r\n});\r\n\r\nexport const createWorkingLoadsRequest = (): MyLoadsRequest => ({\r\n ...createDefaultMyLoadsRequest(),\r\n limit: 1,\r\n progressList: [\r\n LoadProgress.Booked,\r\n LoadProgress.ScheduledForPickup,\r\n LoadProgress.PickupComplete,\r\n LoadProgress.LoadEnRoute,\r\n ],\r\n sortExpression: SortExpression.LoadProgress,\r\n});\r\n\r\nexport const MY_LOADS_REQUEST_OFFSET_INCREMENT = 10;\r\n\r\nexport const MY_LOADS_REQUEST_LIMIT_DEFAULT = 20;\r\nexport const MY_LOADS_REQUEST_LIMIT_APPENDING = 10;\r\n","export enum AccountIssue {\r\n None = 'None',\r\n AccountExpiringSoon = 'AccountExpiringSoon',\r\n AccountExpired = 'AccountExpired',\r\n}\r\n\r\nexport enum UpgradePlanPaymentResult {\r\n Success,\r\n Failed,\r\n Unknown,\r\n}\r\n\r\nexport enum PaymentMethodUpdateError {\r\n InvalidExpiryDate = 'InvalidExpiryDate',\r\n InvalidSecurityCode = 'InvalidSecurityCode',\r\n AddressVerificationFailed = 'AddressVerificationFailed',\r\n InvalidCardNumber = 'InvalidCardNumber',\r\n Unknown = 'Unknown',\r\n}\r\n\r\nexport enum DeclineStatus {\r\n None = 'None',\r\n SoftDecline = 'SoftDecline',\r\n HardDecline = 'HardDecline',\r\n}\r\n\r\nexport enum PaymentType {\r\n CreditCard = 'CreditCard',\r\n None = 'None',\r\n}\r\n\r\nexport enum MembershipReactivateError {\r\n WrongStatus = 'WrongStatus',\r\n ReactivationChargeInvoiceError = 'ReactivationChargeInvoiceError',\r\n Unknown = 'Unknown',\r\n}\r\n\r\nexport type PaymentFormErrorType = PaymentMethodUpdateError | MembershipReactivateError;\r\n\r\nexport interface Period {\r\n date: string;\r\n}\r\n\r\nexport interface PeriodResponse {\r\n periods: Period[];\r\n}\r\n\r\nexport interface CreditCard {\r\n lastFour: string;\r\n declineStatus: DeclineStatus;\r\n}\r\n\r\nexport interface PaymentDecline {\r\n accountIssue?: AccountIssue;\r\n creditCards?: CreditCard[];\r\n daysUntilAccountExpires?: number;\r\n}\r\n\r\nexport interface PlanPaymentInfo extends PaymentInfo {\r\n planId: string;\r\n addOnIds?: string[];\r\n}\r\n\r\nexport interface PlanCreditCardInfo {\r\n paymentType: PaymentType;\r\n creditCardName: string;\r\n creditCardNumber: string;\r\n creditCardCvd: string;\r\n expirationYear: number;\r\n expirationMonth: number;\r\n}\r\n\r\nexport interface PaymentInfo {\r\n paymentInfo: PlanCreditCardInfo;\r\n address: { addressLine1?: string; city?: string; state?: string; country?: string; zipCode: string };\r\n}\r\n","export class PostedLoadsUrl {\r\n constructor(url: string) {\r\n this.url = url;\r\n }\r\n\r\n url: string;\r\n}\r\n","import { LoadStatus } from '@common/model';\r\n\r\nexport enum PostedLoadProgress {\r\n Unassigned = 'Unassigned',\r\n Assigned = 'Assigned',\r\n Delivered = 'Delivered',\r\n}\r\n\r\nexport interface PosterMetadata {\r\n progress?: PostedLoadProgress;\r\n assignedTo?: {\r\n dotNo: number;\r\n };\r\n}\r\n\r\nexport interface UpdatePostedLoadRequest {\r\n loadID: string;\r\n}\r\n\r\nexport interface SetPostedLoadProgressRequest extends UpdatePostedLoadRequest {\r\n progress: PostedLoadProgress;\r\n dotNo: number | undefined;\r\n}\r\n\r\nexport interface SetPostedLoadStatusRequest extends UpdatePostedLoadRequest {\r\n status: LoadStatus;\r\n redirectUrl: string;\r\n}\r\n\r\nexport interface DeletePostedLoadRequest extends UpdatePostedLoadRequest {\r\n redirectUrl: string;\r\n}\r\n","export enum ProfitCalculatorSubMenu {\r\n tripIsExpanded = 'tripIsExpanded',\r\n estimatedFuelCostsIsExpanded = 'estimatedFuelCostsIsExpanded',\r\n additionalCostsIsExpanded = 'additionalCostsIsExpanded',\r\n}\r\n\r\nexport interface ProfitCalculatorSubMenuSetting {\r\n [ProfitCalculatorSubMenu.tripIsExpanded]: boolean;\r\n [ProfitCalculatorSubMenu.estimatedFuelCostsIsExpanded]: boolean;\r\n [ProfitCalculatorSubMenu.additionalCostsIsExpanded]: boolean;\r\n}\r\n","import { Phone } from './Phone';\r\nimport { ResponseListMetadata } from './ResponseListMetadata';\r\n\r\nexport interface Quote {\r\n id: string;\r\n date: string;\r\n metadata: QuoteResponseMetadata;\r\n}\r\n\r\nexport const MISSING_PHONENUMBER = 'PhoneNumber';\r\n\r\nexport interface QuoteResponseMetadata {\r\n missingInfo?: string[];\r\n}\r\nexport interface QuoteRequest {\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n companyName?: string;\r\n phone?: Phone;\r\n loadId?: string;\r\n}\r\n\r\nexport interface QuoteResult {\r\n quoteResponses?: Quote[];\r\n metadata: ResponseListMetadata;\r\n}\r\n\r\nexport enum QuoteType {\r\n Factoring = 'Factoring',\r\n FuelAdvance = 'FuelAdvance',\r\n FuelCard = 'FuelCard',\r\n RoadsideAssist = 'RoadsideAssist',\r\n TruckingAuthority = 'TruckingAuthority',\r\n}\r\n\r\nexport interface QuoteForLoad {\r\n type: QuoteType;\r\n id?: string;\r\n date?: string;\r\n}\r\n\r\nexport interface QuoteListResponse {\r\n quotes: QuoteForLoad[];\r\n}\r\n","import { ExpediteAllEquipmentType } from '@common/helper';\r\nimport { PayRateUnit, RateCheckPreviewStatus } from '@common/model';\r\n\r\nimport { Address } from './Address';\r\nimport { EquipmentType } from './Equipment';\r\nimport { LoadGeolocation, LoadLocationCity, LoadLocationZip } from './LoadSearchRequest';\r\n\r\nexport interface RateCheck {\r\n avgRatePerMile?: number;\r\n ratePerMileMin?: number;\r\n ratePerMileMax?: number;\r\n averageRateForMileage?: number;\r\n minRateForMileage?: number;\r\n maxRateForMileage?: number;\r\n fuelCost?: number;\r\n totalMileage?: number;\r\n linehaulRevenue?: number;\r\n tollCosts?: number;\r\n mpg?: number;\r\n fuelSurcharge?: number;\r\n rateIncludesFuelSurcharge?: boolean;\r\n month: number;\r\n}\r\n\r\nexport type RateCheckEquipmentTypes =\r\n | EquipmentType.Flatbed\r\n | EquipmentType.Reefer\r\n | EquipmentType.Van\r\n | EquipmentType.StepDeck;\r\n\r\nexport interface RateCheckRequest {\r\n from: Address;\r\n to: Address;\r\n equipment: RateCheckEquipmentTypes;\r\n}\r\n\r\nexport interface MarketRankingRequest {\r\n origin: Address;\r\n destination: Address;\r\n mileage?: number;\r\n rate?: number;\r\n equipment?: RateCheckEquipmentTypes;\r\n}\r\n\r\nexport enum NegotiationStrength {\r\n Unknown = 'Unknown',\r\n High = 'High',\r\n Medium = 'Medium',\r\n Low = 'Low',\r\n}\r\n\r\nexport interface MarketRankingResponse {\r\n negotiationStrength: NegotiationStrength;\r\n backhaulRateDifference: number;\r\n}\r\n\r\nexport interface ThirdPartyLaneRateResponse {\r\n source: string;\r\n cost: number;\r\n costLow: number;\r\n costHigh: number;\r\n costPerMile: number;\r\n costLowPerMile: number;\r\n costHighPerMile: number;\r\n fuelCost: number;\r\n fuelCostPerMile: number;\r\n laneMiles: number;\r\n lineHaulCost: number;\r\n lineHaulCostHigh: number;\r\n lineHaulCostLow: number;\r\n isRateFound?: boolean;\r\n error?: string;\r\n}\r\n\r\ninterface LaneRateAddress {\r\n state?: string;\r\n city?: string;\r\n zipCode?: string;\r\n}\r\n\r\nexport enum ThirdPartyLaneRateSource {\r\n All = 'All',\r\n Greenscreens = 'Greenscreens',\r\n CargoChief = 'Cargo Chief',\r\n}\r\n\r\nexport interface ThirdPartyLaneRateRequest {\r\n equipment: EquipmentType;\r\n sources: ThirdPartyLaneRateSource[];\r\n from: LaneRateAddress;\r\n to: LaneRateAddress;\r\n}\r\n\r\nexport interface RateCheckFeedbackRequest {\r\n request?: RateCheckRequest;\r\n response: RateCheck;\r\n userAccurate?: boolean;\r\n expectedRate?: number;\r\n amountType?: PayRateUnit.PerMile; // The API will also accept 'Flat', but there is no front end implementation to differentiate yet\r\n}\r\n\r\nexport type RateCheckLocation = LoadGeolocation | LoadLocationZip | LoadLocationCity;\r\n\r\nexport interface RateCheckHistoryRequest {\r\n request: {\r\n origin: Address;\r\n destination: Address;\r\n equipment: RateCheckEquipmentTypes;\r\n startDate: string;\r\n endDate: string;\r\n expansionLevel: RateCheckExpansionLevel;\r\n timeSpan?: RateCheckTimeSpan;\r\n };\r\n}\r\n\r\nexport interface LoadRateCheckHistoryRequest {\r\n startDate: string;\r\n endDate: string;\r\n expansionLevel: RateCheckExpansionLevel;\r\n timeSpan?: RateCheckTimeSpan;\r\n}\r\n\r\nexport enum RateCheckExpansionLevel {\r\n None = 'None',\r\n CityToCity = 'CityToCity',\r\n CityToCounty = 'CityToCounty',\r\n CountyToCity = 'CountyToCity',\r\n CountyToCounty = 'CountyToCounty',\r\n CityToState = 'CityToState',\r\n StateToCity = 'StateToCity',\r\n CountyToState = 'CountyToState',\r\n StateToCounty = 'StateToCounty',\r\n StateToState = 'StateToState',\r\n NationalAverage = 'NationalAverage',\r\n}\r\n\r\nexport enum AverageRateInitialExpansionLevel {\r\n City = 'City',\r\n County = 'County',\r\n State = 'State',\r\n}\r\n\r\nexport enum RateCheckTimeSpan {\r\n Monthly = 'Monthly',\r\n Daily = 'Daily',\r\n Weekly = 'Weekly',\r\n}\r\n\r\nexport interface RateCheckDataPoint {\r\n rate: number;\r\n date: number;\r\n}\r\n\r\nexport interface RateCheckRevenueResponse {\r\n averageRatePerMileData: RateCheckDataPoint[];\r\n ratePerMileMinData: RateCheckDataPoint[];\r\n ratePerMileMaxData: RateCheckDataPoint[];\r\n averageFlatRateForMileageData: RateCheckDataPoint[];\r\n minFlatRateForMileageData: RateCheckDataPoint[];\r\n maxFlatRateForMileageData: RateCheckDataPoint[];\r\n maxRatePerMile: number;\r\n minRatePerMile: number;\r\n maxFlatRate: number;\r\n}\r\n\r\nexport interface RateCheckFeedback {\r\n timeAdded: number;\r\n isSuccess: boolean;\r\n isLoading: boolean;\r\n isSubmitted: boolean;\r\n expectedRate: number | undefined;\r\n isRateCheckAccurate: boolean | undefined;\r\n response: RateCheck | undefined;\r\n request: RateCheckRequest | undefined;\r\n loadID: string | undefined;\r\n}\r\n\r\nexport interface RateCheckFeedbackCollection {\r\n [route: string]: RateCheckFeedback;\r\n}\r\n\r\nexport type PartialRateCheckFeedback = Partial;\r\n\r\nexport interface RateCheckRevenueData {\r\n date: string;\r\n endDate: string;\r\n avgRatePerMile: number;\r\n ratePerMileMin?: number;\r\n ratePerMileMax?: number;\r\n averageRateForMileage: number;\r\n minRateForMileage?: number;\r\n maxRateForMileage?: number;\r\n}\r\n\r\nexport interface LoadRateCheckPreviewResponse {\r\n loadId: string;\r\n isRateFound: boolean;\r\n ratePerMile?: number;\r\n totalRate?: number;\r\n searchedEquipment?: string;\r\n}\r\n\r\ninterface LoadRateCheckPreviewSkipReason {\r\n loadId: string;\r\n skipReasons: Array<{ skipReason: RateCheckPreviewStatus; description: string }>;\r\n}\r\n\r\nexport interface BulkLoadRateCheckPreviewResponse {\r\n rates?: LoadRateCheckPreviewResponse[];\r\n skippedLoads?: LoadRateCheckPreviewSkipReason[];\r\n}\r\n\r\nexport interface RateCheckAverageRequest {\r\n origin: Address;\r\n destination: Address;\r\n equipment: RateCheckEquipmentTypes;\r\n initialExpansionLevel: AverageRateInitialExpansionLevel;\r\n /** min = 2, max = 52 */\r\n lookBackWeeks: number;\r\n}\r\n\r\nexport interface RateCheckAverageResponse {\r\n mileage: number;\r\n minPerMile: number;\r\n meanPerMile: number;\r\n maxPerMile: number;\r\n minTotal: number;\r\n meanTotal: number;\r\n maxTotal: number;\r\n}\r\n\r\nexport interface LoadToTruckRatioRequest {\r\n /** US/Canada 2 letter state code */\r\n state: string;\r\n equipmentType: RateCheckEquipmentTypes;\r\n}\r\n\r\nexport interface LoadToTruckRatioResponse extends LoadToTruckRatioRequest {\r\n ratio: number;\r\n isRatioFound?: boolean;\r\n}\r\n\r\nexport interface ExpediteAllLocation {\r\n city?: string;\r\n state?: string;\r\n country?: string;\r\n longitude: number;\r\n latitude: number;\r\n}\r\n\r\nexport interface ExpediteAllRateRequest {\r\n origin: ExpediteAllLocation;\r\n destination: ExpediteAllLocation;\r\n truckType: ExpediteAllEquipmentType;\r\n}\r\n\r\nexport interface ExpediteAllResponse {\r\n isRateFound: boolean;\r\n laneMiles?: number;\r\n estRate?: number;\r\n estRatePerMile?: number;\r\n minRate?: number;\r\n minRatePerMile?: number;\r\n maxRate?: number;\r\n maxRatePerMile?: number;\r\n}\r\n","export interface RatingInfo {\r\n id: number;\r\n label: string;\r\n value: string;\r\n type: string;\r\n maxValue: string;\r\n}\r\n\r\nexport enum RatingInfoType {\r\n CREDIT_SCORE = 0,\r\n DAYS_TO_PAY = 1,\r\n DAYS_TO_PAY_60 = 2,\r\n DAYS_TO_PAY_90 = 3,\r\n TRADE_EXPERIENCES = 4,\r\n TRADE_EXPERIENCES_60 = 5,\r\n TRADE_EXPERIENCES_90 = 6,\r\n LAST_PAYMENT_DATE = 7,\r\n}\r\n","export interface RecentSearchLocationsResponse {\r\n locations?: RecentLocation[];\r\n metadata?: SavedLocationsResponseMetadata;\r\n}\r\n\r\nexport enum RecentLocationType {\r\n None = 'None',\r\n City = 'City',\r\n ZipCode = 'ZipCode',\r\n States = 'States',\r\n Geolocation = 'Geolocation',\r\n All = 'All',\r\n}\r\n\r\nexport interface RecentLocation {\r\n type?: RecentLocationType;\r\n address?: RecentAddress;\r\n geolocation?: Geolocation;\r\n}\r\n\r\ninterface SavedLocationsResponseMetadata {\r\n totalResultCount?: number;\r\n queryTime?: number;\r\n pageResultCount?: number;\r\n currentOffset?: number;\r\n}\r\n\r\ninterface RecentAddress {\r\n streetAddress?: string;\r\n city?: string;\r\n state?: string;\r\n states?: string[];\r\n zipCode?: string;\r\n}\r\n\r\ninterface Geolocation {\r\n latitude?: number;\r\n longitude?: number;\r\n}\r\n","export interface RoutesSettings {\r\n unitsSystem?: string;\r\n prioritizeMileage?: boolean;\r\n avoidTolls?: boolean;\r\n hazmatType?: Hazmat;\r\n truckWidth96InchesOrLess?: boolean;\r\n truckWidth102InchesOrMore?: boolean;\r\n axles?: number;\r\n mapHeight?: number;\r\n mapWidth?: number;\r\n bordersOpen?: boolean;\r\n mpg?: number;\r\n truckHeight?: number;\r\n truckLength?: number;\r\n truckWeight?: number;\r\n}\r\nexport enum Hazmat {\r\n None = 'None',\r\n General = 'General',\r\n Caustic = 'Caustic',\r\n Explosive = 'Explosives',\r\n Flammable = 'Flammable',\r\n Inhalants = 'Inhalants',\r\n Radioactive = 'Radioactive',\r\n}\r\n","import { cloneDeep } from 'lodash';\r\n\r\nimport { AllStates, AuthorityInfo, CompanyInsuranceInfo, CompanyLicensingInfo, CreditInfo } from '@common/model';\r\nimport { SortDirection } from '@common/model/Document';\r\nimport { PaginatedRequest } from '@common/redux/epic/PaginatedListReducer';\r\n\r\nexport const SEARCH_DIRECTORY_REQUEST_OFFSET_INCREMENT = 10;\r\nexport const SEARCH_DIRECTORY_REQUEST_LIMIT_DEFAULT = 20;\r\nexport const SEARCH_DIRECTORY_REQUEST_LIMIT_APPENDING = 10;\r\n\r\nexport enum ResultSortCategory {\r\n Name = 'Name',\r\n Location = 'Location',\r\n DotNo = 'DotNo',\r\n MCNo = 'MCNo',\r\n Phone = 'Phone',\r\n}\r\n\r\nexport enum CompanyType {\r\n Carrier = 'Carrier',\r\n Broker = 'Broker',\r\n Shipper = 'Shipper',\r\n}\r\n\r\nexport enum TableSource {\r\n /** Data comes from Dako.dbo.Companies */\r\n CompanyTable = 'CompanyTable',\r\n /** Data comes from Volpe.dbo.Carrier table */\r\n VolpeTable = 'VolpeTable',\r\n}\r\n\r\nenum DocketPrefix {\r\n None = 'None',\r\n DOT = 'DOT',\r\n MC = 'MC',\r\n FF = 'FF',\r\n MX = 'MX',\r\n}\r\n\r\nexport interface SearchDirectoryCompanySort {\r\n direction: SortDirection;\r\n field: ResultSortCategory;\r\n}\r\n\r\nexport interface SearchDirectoryCompanyRequest extends PaginatedRequest {\r\n companyType: CompanyType;\r\n companyName: string;\r\n state: string;\r\n sortExpression: ResultSortCategory;\r\n sortDirection: SortDirection;\r\n tableSource: TableSource;\r\n}\r\n\r\nconst DefaultSearchDirectoryCompanyRequest: SearchDirectoryCompanyRequest = {\r\n companyType: CompanyType.Carrier,\r\n tableSource: TableSource.VolpeTable,\r\n companyName: '',\r\n state: '',\r\n sortExpression: ResultSortCategory.Name,\r\n sortDirection: SortDirection.Ascending,\r\n offset: 0,\r\n limit: SEARCH_DIRECTORY_REQUEST_LIMIT_DEFAULT,\r\n};\r\n\r\nexport const createDefaultSearchDirectoryRequest = (): SearchDirectoryCompanyRequest =>\r\n cloneDeep(DefaultSearchDirectoryCompanyRequest);\r\n\r\nexport interface SearchDirectoryCompanyResponse {\r\n directories: DirectoryResponse[];\r\n count: number;\r\n totalCount: number;\r\n}\r\n\r\nexport interface DirectoryResponse {\r\n companyGuid?: string;\r\n companyId?: number;\r\n isViewed?: boolean;\r\n details?: Details;\r\n address?: SearchDirectoryAddress;\r\n contactDetails?: ContactDetails;\r\n companyProfile?: CompanyProfile;\r\n authority?: Authority;\r\n insuranceInfo?: CompanyInsuranceInfo;\r\n creditInfo?: CreditInfo;\r\n}\r\n\r\ninterface Details {\r\n name: string;\r\n businessType: CompanyType;\r\n carrierMcNumber: { prefix: DocketPrefix; number: number };\r\n brokerMcNumber: { prefix: DocketPrefix; number: number };\r\n usDotNumber: string;\r\n scacCode: string;\r\n interstateNumber: string;\r\n}\r\n\r\nexport interface SearchDirectoryAddress {\r\n street: string;\r\n city: string;\r\n state: AllStates;\r\n zipCode: string;\r\n country: string;\r\n}\r\n\r\ninterface ContactDetails {\r\n tel: string;\r\n tollFree: string;\r\n fax: string;\r\n website: string;\r\n}\r\n\r\nexport interface CompanyProfile {\r\n yearFounded: string;\r\n isP3: boolean;\r\n isTia: boolean;\r\n isOcfp: boolean;\r\n briefProfile: string;\r\n}\r\n\r\ninterface Authority {\r\n authorityNumbers?: { mcNumber: string; dotNumber: string };\r\n cargoAuthorization?: CompanyLicensingInfo;\r\n authorityInfo?: { authorities: AuthorityInfo[] };\r\n}\r\n","import { sortBy } from 'lodash';\r\n\r\nimport { LOCATION_ALL, LocationType } from './';\r\n\r\nexport type AmericanStates =\r\n | 'AK'\r\n | 'AL'\r\n | 'AR'\r\n | 'AZ'\r\n | 'CA'\r\n | 'CO'\r\n | 'CT'\r\n | 'DC'\r\n | 'DE'\r\n | 'FL'\r\n | 'GA'\r\n | 'IA'\r\n | 'ID'\r\n | 'IL'\r\n | 'IN'\r\n | 'KS'\r\n | 'KY'\r\n | 'LA'\r\n | 'MA'\r\n | 'MD'\r\n | 'ME'\r\n | 'MI'\r\n | 'MN'\r\n | 'MO'\r\n | 'MS'\r\n | 'MT'\r\n | 'NC'\r\n | 'ND'\r\n | 'NE'\r\n | 'NH'\r\n | 'NJ'\r\n | 'NM'\r\n | 'NV'\r\n | 'NY'\r\n | 'OH'\r\n | 'OK'\r\n | 'OR'\r\n | 'PA'\r\n | 'RI'\r\n | 'SC'\r\n | 'SD'\r\n | 'TN'\r\n | 'TX'\r\n | 'UT'\r\n | 'VA'\r\n | 'VT'\r\n | 'WA'\r\n | 'WI'\r\n | 'WV'\r\n | 'WY';\r\n\r\nexport type CanadianStates = 'AB' | 'BC' | 'MB' | 'NB' | 'NL' | 'NS' | 'NT' | 'NU' | 'ON' | 'PE' | 'QC' | 'SK' | 'YT';\r\n\r\nexport type AllStates = AmericanStates | CanadianStates;\r\nexport type AllStatesType = AmericanStates[] | CanadianStates[] | typeof LOCATION_ALL | typeof LocationType.NONE;\r\n\r\nexport interface States {\r\n canadaStates: CanadianStates[] | typeof LOCATION_ALL | typeof LocationType.NONE;\r\n usStates: AmericanStates[] | typeof LOCATION_ALL | typeof LocationType.NONE;\r\n}\r\n\r\nexport const WEST: AmericanStates[] = ['AZ', 'CA', 'ID', 'NV', 'OR', 'UT', 'WA'];\r\nexport const SOUTH: AmericanStates[] = ['AL', 'FL', 'GA', 'LA', 'MS', 'NC', 'SC', 'TN', 'VA'];\r\nexport const MIDWEST: AmericanStates[] = ['IL', 'IN', 'IA', 'KY', 'MI', 'MN', 'MO', 'OH', 'WI', 'WV'];\r\nexport const NORTHEAST: AmericanStates[] = ['CT', 'DC', 'DE', 'MA', 'MD', 'ME', 'NH', 'NJ', 'NY', 'PA', 'RI', 'VT'];\r\nexport const PLAINS: AmericanStates[] = ['AR', 'CO', 'KS', 'MT', 'ND', 'NE', 'NM', 'OK', 'SD', 'TX', 'WY'];\r\nexport const OTHER: AmericanStates[] = ['AK'];\r\n\r\nexport const STATES: AmericanStates[] = sortBy([...WEST, ...SOUTH, ...MIDWEST, ...NORTHEAST, ...PLAINS, ...OTHER]);\r\n\r\nexport const CA_PROVINCES: CanadianStates[] = [\r\n 'AB',\r\n 'BC',\r\n 'MB',\r\n 'NB',\r\n 'NL',\r\n 'NS',\r\n 'NT',\r\n 'NU',\r\n 'ON',\r\n 'PE',\r\n 'QC',\r\n 'SK',\r\n 'YT',\r\n];\r\n\r\nexport const USA_STATES: AmericanStates[] = [\r\n 'AK',\r\n 'AL',\r\n 'AR',\r\n 'AZ',\r\n 'CA',\r\n 'CO',\r\n 'CT',\r\n 'DC',\r\n 'DE',\r\n 'FL',\r\n 'GA',\r\n 'IA',\r\n 'ID',\r\n 'IL',\r\n 'IN',\r\n 'KS',\r\n 'KY',\r\n 'LA',\r\n 'MA',\r\n 'MD',\r\n 'ME',\r\n 'MI',\r\n 'MN',\r\n 'MO',\r\n 'MS',\r\n 'MT',\r\n 'NC',\r\n 'ND',\r\n 'NE',\r\n 'NH',\r\n 'NJ',\r\n 'NM',\r\n 'NV',\r\n 'NY',\r\n 'OH',\r\n 'OK',\r\n 'OR',\r\n 'PA',\r\n 'RI',\r\n 'SC',\r\n 'SD',\r\n 'TN',\r\n 'TX',\r\n 'UT',\r\n 'VA',\r\n 'VT',\r\n 'WA',\r\n 'WI',\r\n 'WV',\r\n 'WY',\r\n];\r\n","import { Observable } from 'rxjs';\r\n\r\nexport enum StorageKey {\r\n RefreshToken = 'RefreshToken',\r\n MembersReloadingFlag = 'MEMBERS_RELOADING_FLAG',\r\n ProfitCalculator = 'ProfitCalculator',\r\n LocationPermission = 'LocationPermission',\r\n}\r\n\r\nexport type StorageOperation = StorageOperationSuccess | StorageOperationFailure;\r\n\r\ninterface StorageOperationSuccess {\r\n success: true;\r\n data: string | undefined;\r\n}\r\ninterface StorageOperationFailure {\r\n success: false;\r\n error: any;\r\n}\r\n\r\nexport type RetrieveObject = (key: StorageKey) => Observable;\r\n\r\nexport type SaveObject = (key: StorageKey, value: T) => Observable;\r\n","import { values } from 'lodash';\r\n\r\nimport { CostPerDaySettings } from '@common/model/CostPerDaySettings';\r\nimport { ProfitCalculatorSubMenuSetting } from '@common/model/ProfitCalculatorSettings';\r\nimport { ResultResponseActionWithFetchData } from '@common/redux/Base';\r\n\r\n/**\r\n * API Settings Manager\r\n *\r\n * Often, for new or big features, we would like to have\r\n * a setting, controlled by API, to be able to adjust how the\r\n * app presents the feature or to disable the feature entirely.\r\n * This is for completed features, NOT in-development features.\r\n *\r\n * Follow the steps below to add a new setting\r\n *\r\n * For a new Flag:\r\n * 1. Add the new Flag to the Flag enum below\r\n * 2. (if applicable) Add the Flag to SystemSettingsMonitoredOnSignalR\r\n * 3. Add a default state for the Flag in initialSystemSettingsState in SettingsStateHelper.ts\r\n *\r\n * For a new Config:\r\n * 1. Add the new Config to the Config enum below\r\n * 2. (if applicable) Add the Config to SystemSettingsMonitoredOnSignalR\r\n * 3. Create a type for the Config's state (the data returned by API) and put it in SystemSettingsState\r\n * 4. Add a type for the Config to UpdateSystemSetting\r\n * 5. Add a default state for the Config in initialSystemSettingsState in SettingsStateHelper.ts\r\n */\r\n\r\n/**\r\n * Simple on/off system setting\r\n */\r\nexport enum Flag {\r\n // NewFlag = 'key of system as sent to API',\r\n BiddingDisabled = 'bids.client.disabled',\r\n BiddingV2Disabled = 'bids-v2.1.client.disabled',\r\n BookNowDisabled = 'bookNow.client.disabled',\r\n BookingOptionsEnabled = 'demo.bookingoptions.client.enabled',\r\n BrokerAcceptsBids = 'bids.broker.acceptBids',\r\n CapacityFinderDisabled = 'capacityfinder.client.disabled',\r\n CargoChiefUserDisabled = 'cargoChief.client.user.disabled',\r\n CarrierOnboardingBannerEnabled = 'carrieronboarding.linkedredirect.carrier.enabled',\r\n DisplaySearchLoadCount = 'client.displaysearchloadcount',\r\n GreenscreensRateDisabled = 'greenscreens.client.disabled',\r\n HideParadeContact = 'parade.client.hideContactBeforeBid',\r\n IntegrationCotaEnabled = 'client.integration.cota',\r\n LoadRateCheckPreviewEnabled = 'load.ratecheckpreview.client.enabled',\r\n LoadRateCheckPreviewUserDisabled = 'load.ratecheckpreview.client.user.disabled',\r\n MessageSoundAlertsEnabled = 'client.message_alerts_enable',\r\n VendorBiddingDisabled = 'parade.bids.client.disabled', // named \"parade.<...>\" but affects all vendor bids\r\n TripBuilderEnabled = 'tripbuilder.client.enabled',\r\n LoadPlannerEnabled = 'loadplanner.client.enabled',\r\n LoadLocatorEnabled = 'loadlocator.123connect.client.enabled',\r\n BrokerOnboardingLinkUploadEnabled = 'carrieronboarding.linkupload.broker.enabled',\r\n LoadToTruckRatioEnabled = 'loadtotruckratio.client.enabled',\r\n MyCarrierPortalEnabled = 'mycarrierportal.client.enabled',\r\n MyCarrierPortalBrokerEnabled = 'brokermycarrierportal.client.enabled',\r\n ExpediteAllMarketRateEnabled = 'expediteallmarketrate.client.enabled',\r\n ExpediteAllPostLoadEnabled = 'expediteallpostload.client.enabled',\r\n}\r\n\r\n/**\r\n * Complex system setting\r\n */\r\nexport enum Config {\r\n // NewConfig = 'key of system as sent to API',\r\n MaintenancePopup = 'client.maintenancepopup',\r\n ProfitCalculatorSettings = 'profitcalculatorsettings',\r\n CostPerDaySettings = 'costperday',\r\n}\r\n\r\nexport type SystemSetting = Config | Flag;\r\n\r\nconst FlagList = values(Flag);\r\nexport const ConfigList = values(Config);\r\nexport const SystemSettingList = [...FlagList, ...ConfigList];\r\n\r\n/**\r\n * API sends an update message over signalR for any setting that changes, but we don't\r\n * need to react to real-time updates for all settings. This list is for settings that\r\n * require immediate action by the app when an update for them is received over signalR.\r\n */\r\nexport const SystemSettingsMonitoredOnSignalR: SystemSetting[] = [\r\n Config.MaintenancePopup,\r\n Flag.BiddingDisabled,\r\n Flag.BiddingV2Disabled,\r\n Flag.VendorBiddingDisabled,\r\n Flag.HideParadeContact,\r\n Flag.LoadRateCheckPreviewEnabled,\r\n Flag.LoadRateCheckPreviewUserDisabled,\r\n Flag.CargoChiefUserDisabled,\r\n Flag.GreenscreensRateDisabled,\r\n Flag.BookNowDisabled,\r\n Flag.TripBuilderEnabled,\r\n Flag.LoadPlannerEnabled,\r\n Flag.LoadLocatorEnabled,\r\n Flag.LoadToTruckRatioEnabled,\r\n Flag.MyCarrierPortalEnabled,\r\n Flag.MyCarrierPortalBrokerEnabled,\r\n Flag.ExpediteAllMarketRateEnabled,\r\n Flag.ExpediteAllPostLoadEnabled,\r\n];\r\n\r\nexport interface SystemSettingResponse {\r\n value: unknown;\r\n}\r\n\r\nexport type SystemSettingResultResponseAction = ResultResponseActionWithFetchData<\r\n SystemSettingResponse,\r\n SystemSetting\r\n> & {\r\n fetchData: SystemSetting;\r\n};\r\n\r\nexport interface MaintenancePopupSetting {\r\n idversion: number;\r\n enabled: boolean;\r\n title: string;\r\n description: string;\r\n}\r\n\r\ninterface SystemSettingState {\r\n value: T;\r\n isLoading?: boolean;\r\n isUpdating?: boolean;\r\n wasUpdated?: boolean;\r\n}\r\n\r\ntype ToggleableSystemSettingState = SystemSettingState;\r\n\r\ntype MaintenancePopupState = SystemSettingState;\r\ntype ProfitCalculatorSettingsState = SystemSettingState;\r\ntype CostPerDaySettingsState = SystemSettingState;\r\n// type NewConfigState = SystemSettingState;\r\n\r\nexport type SystemSettingsState = Record & {\r\n // [Config.NewConfig]: NewConfigState;\r\n [Config.MaintenancePopup]: MaintenancePopupState;\r\n [Config.ProfitCalculatorSettings]: ProfitCalculatorSettingsState;\r\n [Config.CostPerDaySettings]: CostPerDaySettingsState;\r\n};\r\n\r\ntype GetSystemSettingStateValueType> = S['value'];\r\n\r\ninterface UpdateSystemSettingPayload {\r\n key: Key;\r\n value: GetSystemSettingStateValueType;\r\n}\r\n\r\nexport type UpdateSystemSetting =\r\n | UpdateSystemSettingPayload\r\n // | UpdateSystemSettingPayload\r\n | UpdateSystemSettingPayload\r\n | UpdateSystemSettingPayload\r\n | UpdateSystemSettingPayload;\r\n\r\nexport interface SettingsChangeFeedResponse {\r\n changeFeedToken: string | undefined;\r\n items: { name: string; value: unknown }[];\r\n}\r\n","import { find } from 'lodash';\r\n\r\nimport { CustomFolder, Document } from '@common/model';\r\nimport { SearchResponsePayload } from '@common/redux/Base';\r\nimport { PaginatedRequest } from '@common/redux/epic/PaginatedListReducer';\r\nimport { FuelAdvanceRequestSteps, GetPaidFasterRequestSteps } from '@common/redux/epic/ThunderFundingQuotesEpic';\r\n\r\n/**\r\n * Structure of request sent to API to retrieve TF quotes.\r\n */\r\n\r\nexport const THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_DEFAULT = 20;\r\nexport const THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_APPENDING = 20;\r\nexport const THUNDER_FUNDING_QUOTES_REQUEST_OFFSET_INCREMENT = 20;\r\n\r\nexport const DefaultThunderFundingQuotesRequest: PaginatedRequest = {\r\n offset: 0,\r\n limit: THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_DEFAULT,\r\n fields: 'all',\r\n};\r\n\r\nexport interface BaseThunderFundingQuote {\r\n id: string;\r\n date: string;\r\n lastModifiedOn?: string;\r\n folder: CustomFolder;\r\n}\r\n\r\ninterface FuelAdvanceParameters {\r\n fundingType: string;\r\n desiredAmount: string;\r\n}\r\n\r\ninterface FuelAdvanceQuoteParameters extends FuelAdvanceParameters {\r\n bolOrPodDocument: Document;\r\n rateConfirmationDocument: Document;\r\n}\r\n\r\ninterface FuelAdvanceRequestParameters extends FuelAdvanceParameters {\r\n bolOrPodDocumentId: string;\r\n rateConfirmationDocumentId: string;\r\n}\r\n\r\ninterface GetPaidFasterParameters {\r\n paymentSchedule: string;\r\n specialInstructions: string;\r\n tfCreatesInvoice: boolean;\r\n}\r\n\r\ninterface GetPaidFasterQuoteParameters extends GetPaidFasterParameters {\r\n bolDocument: Document;\r\n rateConfirmationDocument: Document;\r\n invoiceDocument?: Document;\r\n}\r\n\r\ninterface GetPaidFasterRequestParameters extends GetPaidFasterParameters {\r\n bolDocumentId: string;\r\n rateConfirmationDocumentId: string;\r\n invoiceDocumentId?: string;\r\n}\r\n\r\nexport type FuelAdvanceQuote = BaseThunderFundingQuote & Partial;\r\nexport type GetPaidFasterQuote = BaseThunderFundingQuote & Partial;\r\n\r\nexport type FuelAdvanceQuoteRequest = BaseThunderFundingQuoteRequest & FuelAdvanceRequestParameters;\r\nexport type GetPaidFasterQuoteRequest = BaseThunderFundingQuoteRequest & GetPaidFasterRequestParameters;\r\n\r\ninterface BaseThunderFundingQuoteRequest {\r\n folderId: string;\r\n}\r\n\r\nexport interface ThunderFundingFuelAdvanceQuotes extends SearchResponsePayload {\r\n quotes: FuelAdvanceQuote[];\r\n}\r\n\r\nexport interface ThunderFundingGetPaidFasterQuotes extends SearchResponsePayload {\r\n quotes: GetPaidFasterQuote[];\r\n}\r\n\r\nexport interface ThunderFundingInvoice {\r\n isThunderFundingInvoice: boolean;\r\n invoiceDocument: Document | undefined;\r\n}\r\n\r\nexport const tfQuoteKeyExtractor = (item: BaseThunderFundingQuote) => item.id;\r\n\r\nexport const fuelAdvanceQuoteToRequest = (\r\n quote: FuelAdvanceQuote,\r\n fundingTypes: FundingTypeOption[]\r\n): FuelAdvanceRequestSteps => ({\r\n // quote.desiredAmount may rarely be \"0\", which is falsy, so explicitly check for undefined.\r\n desiredAmount: quote.desiredAmount !== undefined ? `${quote.desiredAmount}` : undefined,\r\n fundingType: find(fundingTypes, (type) => type.name === quote.fundingType),\r\n folder: quote.folder,\r\n rateConfirmation: quote.rateConfirmationDocument,\r\n deliveryDocument: quote.bolOrPodDocument,\r\n requestSent: quote.lastModifiedOn,\r\n});\r\n\r\nexport const getPaidFasterQuoteToRequest = (\r\n quote: GetPaidFasterQuote,\r\n paymentSchedules: PaymentScheduleOption[]\r\n): GetPaidFasterRequestSteps => ({\r\n paymentSchedule: find(paymentSchedules, (type) => type.name === quote.paymentSchedule),\r\n folder: quote.folder,\r\n invoiceType:\r\n quote.invoiceDocument || quote.tfCreatesInvoice\r\n ? {\r\n isThunderFundingInvoice: quote.tfCreatesInvoice || false,\r\n invoiceDocument: quote.invoiceDocument,\r\n }\r\n : undefined,\r\n rateConfirmation: quote.rateConfirmationDocument,\r\n billOfLading: quote.bolDocument,\r\n requestSent: quote.lastModifiedOn,\r\n});\r\n\r\nexport interface ThunderFundingRegistrationStatusResponse {\r\n isTFIntegrated: boolean;\r\n}\r\n\r\nexport const TF_REGISTRATION_MISSING_PHONE_NUMBER = 'PhoneNumber';\r\nexport interface ThunderFundingRegistrationSubmissionResult {\r\n id: string;\r\n date: string;\r\n metadata: {\r\n missingInfo?: string[];\r\n };\r\n}\r\n\r\nexport interface ThunderFundingRegistrationSubmissionResults {\r\n quotes: ThunderFundingRegistrationSubmissionResult[];\r\n}\r\n\r\nexport enum FuelAdvanceQuoteSteps {\r\n desiredAmount = 'desiredAmount',\r\n fundingType = 'fundingType',\r\n folder = 'folder',\r\n rateConfirmation = 'rateConfirmation',\r\n deliveryDocument = 'deliveryDocument',\r\n requestSent = 'requestSent',\r\n}\r\n\r\nexport enum GetPaidFasterQuoteSteps {\r\n paymentSchedule = 'paymentSchedule',\r\n folder = 'folder',\r\n invoiceType = 'invoiceType',\r\n rateConfirmation = 'rateConfirmation',\r\n billOfLading = 'billOfLading',\r\n requestSent = 'requestSent',\r\n}\r\n\r\ninterface FormOption {\r\n id: number;\r\n name: string;\r\n friendlyName: string;\r\n}\r\n\r\nexport type PaymentScheduleOption = FormOption;\r\n\r\nexport type FundingTypeOption = FormOption;\r\n\r\nexport type ThunderFundingRegistrationOption = FormOption;\r\n\r\nexport interface ThunderFundingRegistrationOptionsResponse {\r\n truckingCompanyStatuses: ThunderFundingRegistrationOption[];\r\n}\r\n\r\nexport enum ThunderFundingRegistrationSource {\r\n Factoring = 'Factoring',\r\n FuelCard = 'FuelCard',\r\n FuelAdvance = 'FuelAdvance',\r\n}\r\n","export enum TrackingTag {\r\n LoadAction = 'LoadActionTracking',\r\n IOSLocationPermissionPopupAction = 'MobileActionTracking',\r\n MembershipUpgrade = 'MembershipUpgradeEvent',\r\n Communication = 'CommunicationTracking',\r\n VendorTracking = 'VendorTracking',\r\n MessagingPartnerPortal = 'MessagingPartnerPortal',\r\n CallCarrier = 'CallCarrier',\r\n NavigateToPaymentMethod = 'NavigateToPaymentMethod',\r\n}\r\n\r\nexport enum LoadActionName {\r\n Booked = 'Booked',\r\n NotBooked = 'NotBooked',\r\n Unbooked = 'Unbooked',\r\n TryAgain = 'WillTryAgain',\r\n FueldAdvance = 'WantFuelAdvance',\r\n}\r\nexport enum PromptTrackingActionName {\r\n Prompt1Dismiss = 'Prompt1Dismiss',\r\n Prompt2Dismiss = 'Prompt2Dismiss',\r\n Prompt3Dismiss = 'Prompt3Dismiss',\r\n Prompt3DontPrompt = 'Prompt3DontPrompt',\r\n Prompt3Settings = 'Prompt3Settings',\r\n}\r\n\r\nexport enum UpgradeSource {\r\n MoreHeader = 'MoreHeader',\r\n Settings = 'Settings',\r\n LoadSearchLimitReached = 'LoadSearchLimitReached',\r\n LoadViewLimitReached = 'LoadViewLimitReached',\r\n RateCheckLimitReached = 'RateCheckLimitReached',\r\n FeatureNotInPlan = 'FeatureNotInPlan',\r\n LoadViewLimitReachedBanner = 'LoadViewLimitReachedBanner',\r\n}\r\n\r\nexport enum UpgradeEvent {\r\n UpgradeNow = 'UpgradeNow',\r\n Call = 'Call',\r\n NavigateToList = 'NavigateToList',\r\n NavigateToPlan = 'NavigateToPlan',\r\n NavigateToPayment = 'NavigateToPayment',\r\n}\r\n\r\nexport interface CommonTrackingData {\r\n ApplicationVersion: string; //version.version.version.buildnumber\r\n ApplicationOs: 'Android' | 'iOS' | 'Web';\r\n DeviceId: string;\r\n ApplicationBuild: number;\r\n ApplicationOsVersion: string;\r\n}\r\n\r\nexport interface LoadActionTrackingData {\r\n LoadUid: string;\r\n LoadActionName: string;\r\n}\r\n\r\nexport interface IOSLocationPermissionPopupTrackingData {\r\n actionName: PromptTrackingActionName;\r\n}\r\n\r\nexport interface AndroidUpgradeTrackingData {\r\n upgradeSource?: UpgradeSource;\r\n eventName: UpgradeEvent | string;\r\n planGuid?: string;\r\n}\r\n\r\nexport enum CommunicationEvent {\r\n MessageOffline = 'MessageOffline',\r\n CallLoad = 'CallLoad',\r\n}\r\n\r\nexport interface CommunicationTrackingData {\r\n eventName: CommunicationEvent;\r\n}\r\n\r\nexport enum TrackingDataConversationStatus {\r\n Started = 'Started',\r\n Empty = 'Empty',\r\n // it's possible the user may perform a call before conversation\r\n // messages are fully loaded, or messages failed to load. in these\r\n // cases, we specify the status is inconclusive\r\n Inconclusive = 'Inconclusive',\r\n}\r\n\r\nexport interface CallLoadTrackingData extends CommunicationTrackingData {\r\n loadID: string;\r\n conversationID?: string;\r\n conversationStatus?: TrackingDataConversationStatus;\r\n // used on MOB\r\n previousScreen?: string;\r\n currentScreen?: string;\r\n // used on MEM\r\n url?: string;\r\n}\r\n\r\nexport enum VhubEvent {\r\n BookItWith = 'BookItWith',\r\n Proceed = 'ThirdPartyRedirect',\r\n}\r\n\r\nexport enum VendorName {\r\n VhubBooking = 'VhubBooking',\r\n}\r\n\r\nexport interface VendorTrackingData {\r\n event: VhubEvent;\r\n loadID: string;\r\n vendorName: string;\r\n}\r\n\r\nexport interface MessagingPartnerPortalTrackingData {\r\n hostname: string;\r\n clientID: string;\r\n conversationsCount: number;\r\n}\r\nexport interface CallCarrierTrackingData {\r\n loadID: string;\r\n truckID: string;\r\n}\r\nexport interface TrackingData {\r\n tag: TrackingTag;\r\n data: T;\r\n}\r\n\r\nexport type TrackingDataWithDeviceInfo = TrackingData;\r\n","import { t, T } from '@translate';\r\n\r\nimport { EquipmentSpecification, EquipmentType } from './Equipment';\r\nimport { LoadLocationAnywhere, LoadLocationCity, LoadLocationZip } from './LoadSearchRequest';\r\nimport { LoadProgress } from './LoadUserdata';\r\n\r\nexport enum TripBuilderPanelModals {\r\n PickUpLocation = 'pickUpLocation',\r\n PickUpDate = 'pickUpDate',\r\n PickUpTime = 'pickUpTime',\r\n DropOffLocation = 'dropOffLocation',\r\n DropOffDate = 'dropOffDate',\r\n DropOffTime = 'dropOffTime',\r\n TrailerType = 'trailerType',\r\n TripLength = 'tripLength',\r\n TrailerSpecification = 'trailerSpecification',\r\n ExcludedStates = 'excludedStates',\r\n}\r\n\r\nexport interface TripBuilderRouteParams {\r\n tripBuilderPanelModals: TripBuilderPanelModals;\r\n}\r\n\r\nexport enum TripTypeCategory {\r\n LoadByLoad = 'Leg',\r\n EntireTrip = 'Route',\r\n}\r\n\r\nexport enum TripTypeChipCategory {\r\n LoadByLoad = 'Load-by-load',\r\n EntireTrip = 'Entire trip',\r\n}\r\n\r\nexport enum FieldLocationType {\r\n Pickup = 'Pickup',\r\n Dropoff = 'Dropoff',\r\n}\r\n\r\nexport enum TripLoadType {\r\n DeadHead = 'Deadhead',\r\n Load = 'Load',\r\n}\r\n\r\nexport enum TripLoadStatus {\r\n Online = 'Online',\r\n Cancelled = 'Cancelled',\r\n}\r\n\r\nexport enum ProfitType {\r\n Trip = 'trip',\r\n Day = 'day',\r\n}\r\n\r\nexport interface TripChoice {\r\n id: string;\r\n title: string;\r\n subtitle: string;\r\n field: TripTypeCategory;\r\n}\r\n\r\nexport interface TripCostRevenue {\r\n fuel: number;\r\n rates: number;\r\n tolls: number;\r\n profit: number;\r\n}\r\n\r\nexport const LoadByLoadView: TripChoice = {\r\n id: '0',\r\n title: t(T.common_tripBuilder_newTrip_loadByLoadLabel),\r\n subtitle: t(T.common_tripBuilder_newTrip_loadByLoadDescription),\r\n field: TripTypeCategory.LoadByLoad,\r\n};\r\nexport const EntireTripView: TripChoice = {\r\n id: '1',\r\n title: t(T.common_tripBuilder_newTrip_entireTripLabel),\r\n subtitle: t(T.common_tripBuilder_newTrip_entireTripDescription),\r\n field: TripTypeCategory.EntireTrip,\r\n};\r\n\r\nexport const TripKeys: TripChoice[] = [LoadByLoadView, EntireTripView];\r\n\r\nexport type TripLoad = any;\r\n\r\nexport interface UserTrip {\r\n id: string;\r\n mode: TripTypeCategory;\r\n search: {\r\n schedule: {\r\n origin: TripBuilderLocation;\r\n destination?: TripBuilderLocation | undefined;\r\n timeFrame: {\r\n localStart: string;\r\n localStop: string;\r\n };\r\n area: {\r\n countries?: string[];\r\n states?: string[];\r\n };\r\n };\r\n truck: {\r\n type: EquipmentType;\r\n mpg: number;\r\n mpgEmpty: number;\r\n };\r\n loadFilter: {\r\n maxLength: number;\r\n strictLength: false;\r\n maxWeight: number;\r\n strictWeight: false;\r\n maxAge: number;\r\n minMileage: number;\r\n maxMileage: number;\r\n };\r\n // maxLoads: number;\r\n tripLoads: string[];\r\n };\r\n loadCount: number;\r\n mileage: number;\r\n duration: number;\r\n profit: {\r\n rate: number;\r\n fuel: number;\r\n toll: number;\r\n };\r\n available: boolean;\r\n loadIds: string[];\r\n}\r\n\r\nexport interface TripBuilderLocation {\r\n radius?: number;\r\n city: string;\r\n state: string;\r\n zipCode?: string;\r\n}\r\n\r\nexport type TripBuilderDestinationLocation = LoadLocationCity | LoadLocationZip | LoadLocationAnywhere;\r\n\r\nexport interface UserTripResponse {\r\n id: string;\r\n mode: TripTypeCategory;\r\n search: {\r\n schedule: {\r\n origin: TripBuilderLocation;\r\n destination: TripBuilderLocation;\r\n timeFrame: {\r\n localStart: string;\r\n localStop: string;\r\n };\r\n area: {\r\n countries?: string[];\r\n states?: string[];\r\n };\r\n };\r\n truck: {\r\n type: EquipmentType;\r\n mpg: number;\r\n mpgEmpty: number;\r\n };\r\n loadFilter: {\r\n maxLength: number;\r\n strictLength: false;\r\n maxWeight: number;\r\n strictWeight: false;\r\n maxAge: number;\r\n minMileage: number;\r\n maxMileage: number;\r\n };\r\n // maxLoads: number;\r\n tripLoads: string[];\r\n };\r\n loadCount: number;\r\n mileage: number;\r\n duration: number;\r\n profit: {\r\n rate: number;\r\n fuel: number;\r\n toll: number;\r\n };\r\n available: boolean;\r\n loadIds: string[];\r\n unavailableLoadIds: string[];\r\n}\r\n\r\nexport interface CreateUserTripRequest {\r\n mode: TripTypeCategory;\r\n search: {\r\n schedule: {\r\n origin: TripBuilderLocation;\r\n destination?: TripBuilderLocation;\r\n timeFrame: {\r\n localStart: string;\r\n localStop?: string;\r\n };\r\n area: {\r\n countries?: string[];\r\n states?: string[];\r\n };\r\n };\r\n truck: {\r\n type: EquipmentType;\r\n mpg?: number;\r\n mpgEmpty?: number;\r\n };\r\n loadFilter: {\r\n maxLength: number;\r\n strictLength: boolean;\r\n maxWeight: number;\r\n strictWeight: boolean;\r\n maxAge?: number;\r\n minMileage?: number;\r\n maxMileage?: number;\r\n };\r\n // maxLoads: number;\r\n tripLoads?: Array<{ id: string }>;\r\n };\r\n}\r\n\r\nexport interface NewUserTrip {\r\n mode: TripTypeCategory;\r\n search: {\r\n schedule: {\r\n origin: TripBuilderLocation;\r\n destination?: TripBuilderLocation | undefined;\r\n timeFrame: {\r\n localStart: string;\r\n localStop?: string;\r\n };\r\n area: {\r\n countries?: string[];\r\n states?: string[];\r\n };\r\n };\r\n truck: {\r\n type: EquipmentType;\r\n mpg?: number;\r\n mpgEmpty?: number;\r\n };\r\n loadFilter: {\r\n maxLength: number;\r\n strictLength: boolean;\r\n maxWeight: number;\r\n strictWeight: boolean;\r\n maxAge?: number;\r\n minMileage?: number;\r\n maxMileage?: number;\r\n };\r\n // maxLoads: number;\r\n tripLoads?: Array<{ id: string }>;\r\n };\r\n}\r\n\r\nexport interface TripRouteDetails {\r\n segments: TripSegmentDetails[];\r\n}\r\n\r\nexport interface TripLoadsDetails {\r\n loads: Segments[];\r\n}\r\n\r\nexport interface Segments {\r\n segments: TripSegmentDetails[];\r\n unavailableLoadIds: string[];\r\n}\r\n\r\nexport interface TripSegmentDetails {\r\n id: string;\r\n company?: {\r\n name?: string;\r\n onboarded: boolean;\r\n favorite: boolean;\r\n };\r\n age: number;\r\n note?: string;\r\n saved: boolean;\r\n contacted: boolean;\r\n progress: LoadProgress;\r\n origin: TripBuilderLocation;\r\n destination: TripBuilderLocation;\r\n equipments: Array<{ type: EquipmentType; specifications: EquipmentSpecification[] }>;\r\n pickupDateTime?: string;\r\n length?: number;\r\n weight?: number;\r\n status?: TripLoadStatus;\r\n dataNotAvailable: boolean;\r\n type: TripLoadType;\r\n mileage: number;\r\n duration: number;\r\n profit: {\r\n rate: number;\r\n fuel: number;\r\n toll: number;\r\n };\r\n}\r\n","import { range } from 'lodash';\r\n\r\nimport {\r\n BaseLocation,\r\n BaseLocationFromServer,\r\n EquipmentType,\r\n Geolocation,\r\n Location,\r\n MatchResult,\r\n VerificationPointsTaskStatus,\r\n} from '@common/model';\r\nimport { SearchResponsePayload } from '@common/redux/Base';\r\n\r\nimport { LoadSize } from './Load';\r\n\r\nexport const INITIAL_TRUCK_AVAILABILITY_LIMIT = 20;\r\nexport const TRUCK_AVAILABILITY_LIMIT_APPENDING = 10;\r\n\r\nexport enum FMCSAAuthorityStatus {\r\n Active = 'Active',\r\n Inactive = 'Inactive',\r\n None = 'None', // No Authority\r\n}\r\n\r\nexport interface Truck {\r\n id: string;\r\n contactId: string;\r\n lkl: Geolocation;\r\n equipmentTypes: string;\r\n truckAvailabilityTypeId: number;\r\n isAvailable: boolean;\r\n companyName: string;\r\n contactFirstName: string;\r\n contactLastName: string;\r\n contactPhone?: string;\r\n contactPhoneVerificationStatus?: VerificationPointsTaskStatus;\r\n enableLocationTracking: boolean;\r\n matchResult: MatchResult;\r\n companyGuid?: string;\r\n contactPhoneExt?: string;\r\n lklDateTime?: string;\r\n availableDates?: string[];\r\n availableWeight?: number;\r\n availableLength?: number;\r\n docketNumber?: number;\r\n dotNumber?: string;\r\n commonAuthorityStatus?: FMCSAAuthorityStatus;\r\n contractAuthorityStatus?: FMCSAAuthorityStatus;\r\n brokerAuthorityStatus?: FMCSAAuthorityStatus;\r\n bipdOnFile?: number;\r\n loadSize?: string;\r\n amount?: number;\r\n deadhead?: number;\r\n notificationInfo?: {\r\n messagesReceived: number;\r\n messagesRead: number;\r\n messagesContent?: string;\r\n messagesSentOn?: string;\r\n messagesReadTime?: string;\r\n /** only for internal truck locator (LB-1899) */\r\n recentMessagesCountFromCompany?: number;\r\n };\r\n isFavoriteCarrier: boolean;\r\n onboarded: boolean;\r\n destinations: Location[];\r\n anonymous?: boolean;\r\n authorityIssuance?: string;\r\n isCarrierIdentityVerified?: boolean;\r\n notes?: string;\r\n teamDriven?: boolean;\r\n age?: number;\r\n mcs150FormDate?: string;\r\n truckCount?: number;\r\n totalFmcsaInspections?: number;\r\n rating?: CarrierRating;\r\n}\r\n\r\ninterface CarrierRating {\r\n reviewCount: number;\r\n starRating: number;\r\n}\r\n\r\nexport interface UserTruckFromServer {\r\n id?: string;\r\n trackingDeviceId: string;\r\n trackingNumber: string;\r\n displayName: string;\r\n equipmentType: EquipmentType;\r\n defaultWeight?: number;\r\n defaultLength?: number;\r\n weightIsSet: boolean;\r\n lengthIsSet: boolean;\r\n status: InternalTruckStatus;\r\n}\r\n\r\nexport interface UserTruck extends UserTruckFromServer {\r\n defaultWeight: number;\r\n defaultLength: number;\r\n}\r\n\r\nexport type UpdateUserTruck = Omit & {\r\n defaultLength?: number | null;\r\n defaultWeight?: number | null;\r\n};\r\n\r\nexport enum InternalTruckStatus {\r\n Online = 'Online',\r\n Offline = 'Offline',\r\n}\r\n\r\nexport enum TruckAvailabilityType {\r\n Static = 'Static',\r\n Dynamic = 'Dynamic',\r\n}\r\n\r\nexport enum TruckAvailabilityStatus {\r\n Inactive = 'Inactive',\r\n Active = 'Active',\r\n Deleted = 'Deleted',\r\n Expired = 'Expired',\r\n UIR = 'UIR',\r\n}\r\n\r\ninterface BaseTruckAvailability {\r\n truckId: string;\r\n type: TruckAvailabilityType;\r\n notificationContactId?: string;\r\n dates: string[];\r\n size: LoadSize;\r\n minRate?: number | null;\r\n rateUnit?: string;\r\n weight?: number | null;\r\n length?: number | null;\r\n commodityInfo?: string;\r\n notes?: string;\r\n isVisible?: boolean;\r\n status?: TruckAvailabilityStatus;\r\n trackingDeviceId?: string;\r\n anonymous?: boolean;\r\n teamDriven?: boolean;\r\n}\r\n\r\nexport interface TruckAvailabilityResponse extends BaseTruckAvailability {\r\n originLocation?: BaseLocationFromServer;\r\n destinationLocations: BaseLocationFromServer[];\r\n equipmentType?: EquipmentType;\r\n id?: number;\r\n}\r\n\r\nexport interface TruckAvailability extends BaseTruckAvailability {\r\n originLocation?: BaseLocation;\r\n destinationLocations: BaseLocation[];\r\n equipmentType: EquipmentType;\r\n id: number;\r\n weight: number;\r\n length: number;\r\n}\r\n\r\n/**\r\n * Used when fetching minimal information about\r\n * user's posted trucks, to display a count\r\n * on the More page.\r\n */\r\nexport type TruckAvailabilityToCount = Pick;\r\n\r\nexport interface PostedTrucksCountResponse {\r\n trucks: Array<{\r\n id?: string;\r\n availabilities: TruckAvailabilityToCount[];\r\n }>;\r\n}\r\n\r\nexport interface TruckWithAvailabilityResponse extends SearchResponsePayload {\r\n trucks: UserTruckWithAvailabilities[];\r\n}\r\n\r\nexport interface UserTruckWithAvailabilities extends UserTruck {\r\n availabilities: TruckAvailabilityResponse[];\r\n}\r\n\r\nexport interface TruckAvailabilityCounts {\r\n realTimeCount: number;\r\n scheduledCount: number;\r\n expiredCount: number;\r\n total: number;\r\n}\r\n\r\nexport interface TruckAvailabilitiesPayload {\r\n items: TruckAvailability[];\r\n paginationToken: string;\r\n hasMore: boolean;\r\n}\r\n\r\nexport interface AvailabilityTypes {\r\n types?: Types;\r\n statuses?: Statuses;\r\n}\r\n\r\nexport enum Types {\r\n Static = 'Static',\r\n Dynamic = 'Dynamic',\r\n}\r\n\r\nexport enum Statuses {\r\n Expired = 'Expired',\r\n Active = 'Active',\r\n}\r\n\r\nexport enum PostsFilter {\r\n RealTimePosts = 'real-time',\r\n ScheduledPosts = 'scheduled',\r\n ExpiredPosts = 'expired',\r\n}\r\n\r\nexport enum DeleteTruckError {\r\n TruckInUse = 409,\r\n}\r\n\r\nexport enum UpdateTruckError {\r\n DuplicateName = 4090036,\r\n}\r\n\r\nexport enum SaveTruckError {\r\n DuplicateName = 4090036,\r\n}\r\n\r\nexport enum PostTruckAvailabilityError {\r\n TruckInUse = 409,\r\n}\r\n\r\nexport interface PostTruckAddress {\r\n address: {\r\n streetAddress?: string;\r\n city?: string;\r\n state?: string;\r\n zipCode?: string;\r\n };\r\n}\r\n\r\nenum TruckFilterTypes {\r\n Dynamic = 'Dynamic',\r\n Static = 'Static',\r\n}\r\n\r\nenum TruckFilterStatuses {\r\n Active = 'Active',\r\n Inactive = 'Inactive',\r\n Expired = 'Expired',\r\n}\r\n\r\ninterface TruckFilterSearchQuery {\r\n types: TruckFilterTypes[];\r\n statuses: TruckFilterStatuses[];\r\n}\r\n\r\nexport interface TruckAvailabilityDeleteRequest {\r\n searchQuery: Partial;\r\n excludeIds: string[];\r\n}\r\n\r\nexport const createDeleteAllExpiredTrucksRequest = (): TruckAvailabilityDeleteRequest => ({\r\n excludeIds: [],\r\n searchQuery: {\r\n types: [TruckFilterTypes.Static],\r\n statuses: [TruckFilterStatuses.Expired],\r\n },\r\n});\r\n\r\nexport const MIN_TRUCK_LENGTH = 1;\r\nexport const MIN_LOAD_SEARCH_TRUCK_LENGTH = 0;\r\nexport const MAX_TRUCK_LENGTH = 53;\r\nexport const MAX_TRUCK_NAME_LENGTH = 30;\r\n/** Special value to mean no upper limit */\r\nexport const MAX_PLUS_TRUCK_LENGTH = MAX_TRUCK_LENGTH + 1;\r\nexport const lengthDomain = [MIN_TRUCK_LENGTH, MAX_PLUS_TRUCK_LENGTH];\r\n\r\nexport const MIN_TRUCK_WEIGHT = 1;\r\nexport const MIN_LOAD_SEARCH_TRUCK_WEIGHT = 0;\r\nexport const MAX_TRUCK_WEIGHT = 48000;\r\n/** Special value to mean no upper limit */\r\nexport const MAX_LOAD_SEARCH_TRUCK_WEIGHT = MAX_TRUCK_WEIGHT + 1;\r\nexport const MAX_PLUS_TRUCK_WEIGHT = MAX_TRUCK_WEIGHT + 1000;\r\nexport const weightDomain = [1000, MAX_PLUS_TRUCK_WEIGHT];\r\nexport const weightDomain500 = [500, MAX_PLUS_TRUCK_WEIGHT];\r\nexport const weightDomainMinus500 = [MIN_TRUCK_WEIGHT, MAX_PLUS_TRUCK_WEIGHT];\r\nexport const LENGTH_SLIDER_OPTIONS = [...range(MIN_TRUCK_LENGTH, MAX_PLUS_TRUCK_LENGTH, 1), MAX_PLUS_TRUCK_LENGTH];\r\n\r\n//These sliders options are used to create a range of (1, 500, 1000, 2000 etc)\r\nexport const WEIGHT_SLIDER_OPTIONS = [...range(1000, MAX_PLUS_TRUCK_WEIGHT, 1000), MAX_PLUS_TRUCK_WEIGHT];\r\nexport const WEIGHT_SLIDER_OPTIONS_500 = [...range(500, MAX_PLUS_TRUCK_WEIGHT / 2, 500), MAX_PLUS_TRUCK_WEIGHT];\r\nexport const WEIGHT_SLIDER_OPTIONS_MINUS_500 = [\r\n ...range(MIN_TRUCK_WEIGHT, MAX_PLUS_TRUCK_WEIGHT / 2, 499),\r\n MAX_PLUS_TRUCK_WEIGHT,\r\n];\r\n\r\nexport const LOAD_SEARCH_LENGTH_SLIDER_OPTIONS = [\r\n ...range(MIN_LOAD_SEARCH_TRUCK_LENGTH, MAX_PLUS_TRUCK_LENGTH, 1),\r\n MAX_PLUS_TRUCK_LENGTH,\r\n];\r\n\r\nexport const LOAD_SEARCH_WEIGHT_SLIDER_OPTIONS = [\r\n ...range(MIN_LOAD_SEARCH_TRUCK_WEIGHT, MAX_LOAD_SEARCH_TRUCK_WEIGHT, 1000),\r\n MAX_LOAD_SEARCH_TRUCK_WEIGHT,\r\n];\r\n","export interface UserAuthentication {\r\n access_token: string;\r\n expires_in: number;\r\n refresh_token: string;\r\n message?: string;\r\n}\r\n\r\nexport enum ExternalGrantProvider {\r\n FACEBOOK = 'FACEBOOK',\r\n GOOGLE = 'GOOGLE',\r\n APPLE = 'APPLE',\r\n}\r\n","export enum UpgradePlanError {\r\n Failed,\r\n InvalidPromoCode,\r\n Unknown,\r\n}\r\n\r\nexport enum MembershipStatus {\r\n SignUpInitialization = 'SignUpInitialization',\r\n Potential = 'Potential',\r\n MobileSignUpInProgress = 'MobileSignUpInProgress',\r\n SignUpInProgress = 'SignUpInProgress',\r\n StoppedShort = 'StoppedShort',\r\n PendingEmailVerification = 'PendingEmailVerification',\r\n InTrial = 'InTrial',\r\n PendingPayment = 'PendingPayment',\r\n Expired = 'Expired',\r\n OnHold = 'OnHold',\r\n Active = 'Active',\r\n}\r\n\r\nexport enum MembershipType {\r\n Apple = 'Apple',\r\n Loadboard = 'Loadboard',\r\n Guest = 'Guest',\r\n}\r\n\r\nexport enum UnlockFeaturePopupType {\r\n DrivingTime = 'DrivingTime ',\r\n RateCheck = 'RateCheck',\r\n CargoChiefRate = 'CargoChiefRate',\r\n CreditRating = 'CreditRating',\r\n MileageCalculator = 'MileageCalculator',\r\n DarkMode = 'DarkMode',\r\n CompanyLoads = 'CompanyLoads',\r\n MarketRates = 'MarketRates',\r\n SearchDirectory = 'SearchDirectory',\r\n}\r\n\r\nexport interface TaxRate {\r\n province?: string;\r\n taxLabel1?: string;\r\n tax1?: number;\r\n taxLabel2?: string;\r\n tax2?: number;\r\n}\r\n\r\nexport interface UserPlan {\r\n promoCode: string;\r\n name: string;\r\n promoLogoUrl?: string;\r\n packages: LbPlanPackage[];\r\n taxRate?: TaxRate;\r\n}\r\n\r\nexport interface LbPlanPackage {\r\n id: number;\r\n guid: string;\r\n name: string;\r\n subTitle?: string;\r\n price: number;\r\n promotionPrice: number;\r\n promotionDays: number;\r\n billingIntervalMonth: number;\r\n isCurrent: boolean;\r\n isDefault: boolean;\r\n features: PlanFeature[];\r\n promotionEndDate: string;\r\n billingStartDate: string;\r\n isBillingInfoRequired: boolean;\r\n startOn: string;\r\n expireOn: string;\r\n promoCode: string;\r\n status: 'Active' | 'Deleted';\r\n addOns?: AddOn[];\r\n additionalAddOns?: AddOn[];\r\n}\r\n\r\nexport interface PlanFeature {\r\n summary: string;\r\n isIncluded: boolean;\r\n additionalInfo?: {\r\n title: string;\r\n content: string;\r\n };\r\n}\r\n\r\nexport interface PromoCodeInfo {\r\n promoCode?: string;\r\n isToRemove?: boolean;\r\n}\r\n\r\nexport interface AddOn {\r\n id?: number;\r\n guid?: string;\r\n name?: string;\r\n addOnType?: string;\r\n isSelected?: boolean;\r\n price?: number;\r\n defaultPrice?: number;\r\n billingIntervalMonth?: number;\r\n url?: string;\r\n serviceTypeId?: number;\r\n}\r\n\r\nexport interface MembershipPackageData {\r\n id: number;\r\n guid: string;\r\n isCurrent: boolean;\r\n isDefault: boolean;\r\n name: string;\r\n subtitle?: string;\r\n price: number;\r\n promotionPrice?: number;\r\n promotionDays?: number;\r\n promotionEndDate?: Date;\r\n billingIntervalMonth?: number;\r\n billingStartDate?: string;\r\n isBillingInfoRequired: boolean;\r\n startOn?: Date;\r\n expireOn?: Date;\r\n promoCode?: string;\r\n status?: string;\r\n features?: PlanFeature[];\r\n addOns?: AddOn[];\r\n}\r\n\r\nexport interface MembershipData {\r\n nextBillingDate: string;\r\n hasUnsubscribeAuthority: boolean;\r\n isCancelling: boolean;\r\n cancellationDate?: string;\r\n status: MembershipStatus;\r\n package: MembershipPackageData;\r\n\r\n // The properties below are used to generate the broker paywall\r\n isBroker?: boolean;\r\n /** name of the original plan before it expired */\r\n planName?: string;\r\n /** price of the original plan before it expired */\r\n price?: number;\r\n /** guid of the original plan before it expired */\r\n brokerPlanId?: string;\r\n}\r\n\r\nexport interface MembershipTypeResponse {\r\n membershipType: MembershipType;\r\n}\r\n\r\nexport interface SelectedMembershipData {\r\n planName?: string;\r\n selectedAddOns: string[];\r\n}\r\n\r\nexport enum TimePeriod {\r\n Year = 'Year',\r\n Month = 'Month',\r\n Day = 'Day',\r\n}\r\n\r\nexport interface RetentionPlanInfo {\r\n id: number;\r\n guid: string;\r\n name: string;\r\n price: number;\r\n promoCode: string;\r\n nextBillingDate?: string;\r\n limitedPromoDuration?: number;\r\n limitedPromoDurationUnit?: TimePeriod;\r\n originalPurchasePrice?: number;\r\n}\r\n","import { CompanyCategory } from './Company';\r\n\r\nexport enum UserType {\r\n Carrier = 'Carrier',\r\n BrokerShipper = 'BrokerShipper',\r\n BrokerCarrier = 'BrokerCarrier',\r\n}\r\n\r\nexport enum PhoneTypes {\r\n None = 'None',\r\n Mobile = 'Mobile',\r\n Landline = 'Landline',\r\n Voip = 'Voip',\r\n}\r\n\r\ninterface Phone {\r\n // ID is the verificationGuid of the phone number\r\n id?: string;\r\n countryCode?: string;\r\n lineNumber?: string;\r\n extension?: string;\r\n lineType?: PhoneTypes;\r\n}\r\n\r\n/*\r\n In this model we have: phone, phoneExt, and mobile which will eventually be deprecated\r\n for the primaryPhone and mobilePhone attributes but both are being returned at this time and\r\n the phone numbers are the same\r\n*/\r\nexport interface UserInfo {\r\n primaryPhone?: Phone;\r\n mobilePhone?: Phone;\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n phone: string;\r\n phoneExt?: string;\r\n mobile?: string;\r\n}\r\n\r\nexport const USERPROFILE_FIELDS =\r\n 'id,roles,paymentPromptRequired,primaryPhone,firstName,lastName,email,phone,phoneExt,mobile,companyId,companyName,companyCity,companyState,companyCountry,canUpgradeMembership,planDisplayName,appReviewPromptRequired,hasMembershipUpgradeAuthority,billingAccountEmail,isIntegrator,areIntegrationsAvailable,billingIssue,billingErrorSeverity,isUsdotNumberVerified,availableLoadViewCount,billingProfileStatus,expirationDate,companyCategory';\r\n\r\n// UserProfile: Only keep the strict necessary.\r\n// Add fields when required to both the structure and USERPROFILE_FIELDS\r\n//\r\n// PERF NOTE: as of this writing 'paymentPromptRequired' is used only in /web/ and should be\r\n// removed from the USER_PROFILE_FIELDS on /mobile/ and its field made optional. [BP]\r\n\r\nexport interface UserProfile extends UserInfo {\r\n id: string;\r\n companyId?: string;\r\n companyName?: string;\r\n companyCity?: string;\r\n companyState?: string;\r\n companyCountry?: string;\r\n isIntegrator?: boolean;\r\n areIntegrationsAvailable?: boolean;\r\n roles: Roles[];\r\n paymentPromptRequired: boolean;\r\n canUpgradeMembership?: boolean;\r\n planDisplayName: string;\r\n appReviewPromptRequired?: boolean;\r\n isBillingAccountOwner?: boolean;\r\n billingAccountEmail?: string;\r\n hasMembershipUpgradeAuthority?: boolean;\r\n billingIssue?: BillingIssue;\r\n billingErrorSeverity?: BillingErrorSeverity;\r\n isUsdotNumberVerified?: boolean;\r\n availableLoadViewCount?: number;\r\n billingProfileStatus?: BillingStatus;\r\n expirationDate?: string;\r\n companyCategory?: CompanyCategory;\r\n}\r\n\r\nexport enum BillingIssue {\r\n None = 'None',\r\n SoftDecline = 'SoftDecline',\r\n HardDecline = 'HardDecline',\r\n AccountExpiringSoon = 'AccountExpiringSoon',\r\n AccountExpired = 'AccountExpired',\r\n}\r\n\r\nexport enum BillingErrorSeverity {\r\n Moderate = 'Moderate',\r\n Critical = 'Critical',\r\n}\r\n\r\nexport enum Roles {\r\n Loadposter = 'loadposter',\r\n Loadplanner_beta = 'loadplanner_beta',\r\n Loadplanner = 'loadplanner',\r\n Truckposter = 'truckposter',\r\n Member = 'member',\r\n Guest = 'guest',\r\n Basic = 'basic',\r\n Standard = 'standard',\r\n Premium = 'premium',\r\n SearchDirectory = 'search_directory',\r\n Pcmiler = 'pcmiler',\r\n Ratecheck = 'ratecheck',\r\n CargoChiefRate = 'c4rateaddon',\r\n Website = 'website',\r\n Controlcenter = 'controlcenter',\r\n Admin = 'admin',\r\n Hotleads = 'hotleads',\r\n Scoopmonkey = 'scoopmonkey',\r\n View_profiles = 'view_profiles',\r\n Internal = 'internal',\r\n Sysadmin = 'sysadmin',\r\n Apibrowser = 'apibrowser',\r\n Developer = 'developer',\r\n Signup = 'signup',\r\n Cms_public = 'cms_public',\r\n Cms = 'cms',\r\n Company_admin = 'company_admin',\r\n Sendloadalerts = 'sendloadalerts',\r\n Impersonator = 'impersonator',\r\n Posteverywhere = 'posteverywhere',\r\n Tester = 'tester',\r\n Clienttheme = 'clienttheme',\r\n Messaging = 'messaging',\r\n IntegratorContact = 'integrator_contact',\r\n}\r\n\r\nexport interface LoadDetailsRoles {\r\n isMapTollsAvailable: boolean;\r\n isCreditRatingAvailable: boolean;\r\n isRateCheckAvailable: boolean;\r\n isCargoChiefRateAvailable: boolean;\r\n isLoadPlannerAvailable: boolean;\r\n isInternalAdmin: boolean;\r\n}\r\n\r\nexport enum BillingStatus {\r\n None = 'None',\r\n PromptAtLogin = 'PromptAtLogin',\r\n PromptAtTrialExpiry = 'PromptAtTrialExpiry',\r\n PendingVerification = 'PendingVerification',\r\n PaymentDeclined = 'PaymentDeclined',\r\n Ready = 'Ready',\r\n OnHold = 'OnHold',\r\n Closed = 'Closed',\r\n Deleted = 'Deleted',\r\n}\r\n","import { BidLoadRate } from './Bid';\r\nimport { BaseLocation } from './Location';\r\n\r\nexport enum Vendor {\r\n Loadsmart = 'Loadsmart',\r\n McLeod = 'McLeod',\r\n Parade = 'Parade',\r\n VHub = 'VHub',\r\n}\r\n\r\ninterface VendorBidInfo {\r\n loadId: string;\r\n referenceNumber?: string;\r\n loadCompanyName?: string;\r\n rate?: BidLoadRate;\r\n originLocation?: BaseLocation;\r\n destinationLocation?: BaseLocation;\r\n}\r\nexport interface VendorBid extends VendorBidInfo {\r\n createdOn: string;\r\n}\r\n\r\nexport interface PostVendorBidRequest {\r\n loadId: string;\r\n amount: number;\r\n vendorId: Vendor;\r\n}\r\n\r\nexport interface PostVendorBidResponse {\r\n submittedOn: string;\r\n}\r\n\r\nexport interface VendorBidsResponse {\r\n bids: VendorBid[];\r\n hasMore: boolean;\r\n token?: string;\r\n}\r\n","export enum PhoneVerificationMethod {\r\n TextMessage = 'Sms',\r\n VoiceMessage = 'Call',\r\n}\r\n\r\nexport interface CreatePhoneVerificationResponse {\r\n expiresIn: number;\r\n phoneGUID: string;\r\n}\r\n\r\nexport enum VerificationPointsTaskStatus {\r\n NONE = 'None',\r\n NOT_STARTED = 'NotStarted',\r\n NOT_COMPLETED = 'NotCompleted',\r\n COMPLETED = 'Completed',\r\n}\r\n\r\nexport enum VerificationPointsTask {\r\n PRIMARY_PHONE = 'primaryPhone',\r\n PROFILE = 'profile',\r\n PROFILE_AVATAR = 'avatar',\r\n LOCATION = 'location',\r\n TRUCK = 'truck',\r\n COMPANY_TYPE = 'companyType',\r\n DOCUMENT_TOOL_REVIEW = 'documentToolReviewed',\r\n MPG = 'mpg',\r\n DOT_NUMBER = 'dotNo',\r\n}\r\n\r\nexport interface VerificationPointsTaskDisplayStatus {\r\n primaryPhoneHideCompleted?: boolean;\r\n profileHideCompleted?: boolean;\r\n locationHideCompleted?: boolean;\r\n truckHideCompleted?: boolean;\r\n companyTypeHideCompleted?: boolean;\r\n documentToolReviewHideCompleted?: boolean;\r\n mpgHideCompleted?: boolean;\r\n avatarHideCompleted?: boolean;\r\n dotNo?: boolean;\r\n}\r\n\r\nexport enum NumberCategory {\r\n Primary = 'Primary',\r\n Mobile = 'Mobile',\r\n CompanyVerifiedPhone = 'CompanyVerifiedPhone',\r\n}\r\n\r\nexport const VERIFICATION_POINTS_TOTAL_TASKS_NUMBER = 8;\r\n\r\nexport type VerificationPointsTasksStatuses = Record;\r\n\r\nexport type VerificationPointsTasksStatusesPartial = Partial;\r\nexport type VerificationPointsTasksStatusesResponse = VerificationPointsTasksStatusesPartial &\r\n Partial;\r\n\r\nexport type VerificationPointsReviewData = Partial>;\r\n","import { WidgetAction } from './WidgetAction';\r\n\r\n//============================================================================\r\n// Message Widgets\r\n//============================================================================\r\n//----- (For more information please see Confluence.) ------------------------\r\n//\r\n// This type system is designed to make processing Widgets and Widget\r\n// Actions simple and efficient by creating 1-to-1 matches between payload types\r\n// and enum identifiers. This way, we can write code that doesn't have to constantly\r\n// verify optional parameters, and we can have accurate, reliable type inference\r\n// in VS Code.\r\n//\r\n//----------------------------------------------------------------------------\r\n// Add a new Widget Type\r\n//----------------------------------------------------------------------------\r\n//\r\n// 1. Add the new type to MessageWidgetType\r\n// 2. Define the payload for your new type\r\n// interface NewTypeWidgetPayload {\r\n// ...\r\n// }\r\n// 3. Add your new Type and Payload to MessageWidget\r\n// export type MessageWidget =\r\n// | MessageWidgetPayload\r\n// | ...other existing MessageWidget types...\r\n// | MessageWidgetPayload;\r\n//\r\n\r\nexport enum MessageWidgetType {\r\n Generic = 'Generic',\r\n // Add new types of widgets here, like:\r\n // Map = 'Map',\r\n}\r\n\r\nexport interface GenericWidgetPayload {\r\n iconUrl?: string;\r\n title: string;\r\n message: string;\r\n actions: WidgetAction[];\r\n}\r\n\r\ntype MessageWidgetPayload = {\r\n type: WidgetType;\r\n} & Payload;\r\n\r\nexport type MessageWidget = MessageWidgetPayload;\r\n","import { GoToBidDetailsActionPayload } from './WidgetActionPayloads';\r\n\r\n//============================================================================\r\n// Widget Actions\r\n//============================================================================\r\n//\r\n// See MessageWidget.ts for more details.\r\n//\r\n// Sample usage:\r\n//\r\n// // Determine the type, so ts will recognize params specific to that type.\r\n// if (widgetActionFromAPI.type === WidgetActionType.GoToBidDetails) {\r\n// // Assuming GoTo Bid is sent only with a loadId:\r\n// widgetActionFromAPI.loadId; // present in widgetActionFromAPI\r\n// widgetActionFromAPI.conversationId; // not present\r\n// } else if (widgetActionFromAPI.type === WidgetActionType.GoToMessage) {\r\n// // Assuming GoTo Message is sent only with a conversationId:\r\n// widgetActionFromAPI.conversationId; // present in widgetActionFromAPI\r\n// widgetActionFromAPI.loadId; // not present\r\n// }\r\n//\r\n//----------------------------------------------------------------------------\r\n// Add a new Action Type\r\n//----------------------------------------------------------------------------\r\n//\r\n// 1. Add the new type to WidgetActionType\r\n// 2. Create an ActionData type for your new action type:\r\n// type NewTypeWidgetActionData = WidgetActionPayload<\r\n// WidgetActionType.NewType,\r\n// NewTypeActionPayload // <-- defined in step 4\r\n// >;\r\n// 3. Add your new ActionData to WidgetAction\r\n// export type WidgetAction = WidgetActions<\r\n// | ...existingActionDatas...\r\n// | NewTypeWidgetActionData\r\n// >;\r\n// 4. Define NewTypeActionPayload in a separate file\r\n// This is the data sent with the action that is specific\r\n// to your new type.\r\n//\r\n\r\nexport enum WidgetActionType {\r\n GoToBidDetails = 'GoToBidDetails',\r\n ShareOneTimeLocation = 'ShareOneTimeLocation',\r\n OpenHyperLink = 'OpenHyperLink',\r\n // Add new types of actions here, like:\r\n // Link = 'Link',\r\n}\r\n\r\n/**\r\n * Type to connect one WidgetActionType with all the\r\n * payloads it may be carrying.\r\n */\r\ntype WidgetActionPayload = {\r\n type: ActionType;\r\n} & Payload;\r\n\r\n//==== Widget Action Data ==============================================\r\n\r\nexport type GoToBidDetailsWidgetActionData = WidgetActionPayload<\r\n WidgetActionType.GoToBidDetails,\r\n GoToBidDetailsActionPayload\r\n>;\r\n\r\nexport type ShareOneTimeLocationActionData = WidgetActionPayload;\r\n\r\nexport type OpenHyperLinkWidgetActionData = WidgetActionPayload;\r\n\r\n// Add new WidgetActionPayloads here\r\n\r\n//==== end Widget Action Data ==========================================\r\n\r\nexport type WidgetActions = {\r\n url: string;\r\n label: string;\r\n} & ActionData;\r\n\r\nexport type WidgetAction = WidgetActions<\r\n GoToBidDetailsWidgetActionData | ShareOneTimeLocationActionData | OpenHyperLinkWidgetActionData\r\n>;\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { Observable } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$, switchMap as switchMap$ } from 'rxjs/operators';\r\n\r\nimport { ApiError, ApiResponse123, ApiResponseSuccess, Request$ } from '@common/api';\r\nimport { getFlowIDFrom } from '@common/helper/FlowIDHeaderHelper';\r\nimport { CaseReducer } from '@reduxjs/toolkit';\r\n\r\n//@TODO: Refactor `Response` to be replaced with this. Reasoning is, we should not have to check for payload if success is true.\r\nexport type ResultResponse = SuccessResponse | ErrorResponse;\r\nexport interface SuccessResponse {\r\n success: true;\r\n payload: T;\r\n headers?: { [key: string]: any };\r\n}\r\ninterface ErrorResponse {\r\n success: false;\r\n error: ApiError;\r\n}\r\n\r\nexport interface ResultResponseAction extends Action {\r\n response: ResultResponse;\r\n flowID?: string;\r\n}\r\n\r\nexport interface ResultResponseActionWithFetchData extends ResultResponseAction {\r\n fetchData?: E;\r\n metadata?: ApiActionMetadata;\r\n}\r\n\r\nexport interface Response {\r\n success: boolean;\r\n payload?: T | undefined;\r\n headers?: { [key: string]: any };\r\n error?: ApiError | undefined;\r\n}\r\nexport interface ResponseAction extends Action {\r\n response: Response;\r\n flowID?: string;\r\n fetchData?: U;\r\n metadata?: ApiActionMetadata;\r\n}\r\n\r\nexport interface BaseState {\r\n isLoading: boolean;\r\n}\r\n\r\nexport interface SearchResponseMetadata {\r\n totalResultCount: number;\r\n queryTime?: number;\r\n pageResultCount?: number;\r\n currentOffset?: number;\r\n}\r\nexport interface SearchResponsePayload {\r\n metadata: SearchResponseMetadata;\r\n}\r\n\r\nexport type EmptyResponse = Response;\r\nexport const createResponseAction =\r\n (actionType: string) =>\r\n (response: Response, fetchData?: U): ResponseAction => ({\r\n type: actionType,\r\n response: response,\r\n fetchData: fetchData,\r\n });\r\n\r\nexport type ApiResponse$ = Observable>;\r\n\r\ninterface ApiActionMetadata {\r\n uid: number;\r\n overrideResponse?: string;\r\n}\r\n\r\nexport interface ApiAction extends Action {\r\n data: T;\r\n metadata?: ApiActionMetadata;\r\n}\r\n\r\nexport const responseActionHandler = (\r\n responseType: string,\r\n response: ApiResponse123\r\n): ResultResponseAction => {\r\n if (response instanceof ApiResponseSuccess) {\r\n return {\r\n type: responseType,\r\n response: { success: true, payload: response.data as ResponsePayload, headers: response.headers },\r\n flowID: getFlowIDFrom(response),\r\n };\r\n }\r\n return {\r\n type: responseType,\r\n response: { success: false, error: response },\r\n flowID: getFlowIDFrom(response),\r\n };\r\n};\r\n\r\nexport const createApiAction = (\r\n action: string\r\n) => {\r\n const fetchType = `INITIATE.${action}`;\r\n const responseType = `COMPLETE.${action}`;\r\n const responseAction = (response: ApiResponse123): ResultResponseAction =>\r\n responseActionHandler(responseType, response);\r\n\r\n return {\r\n fetchType: fetchType,\r\n responseType: responseType,\r\n fetchAction: (fetchData: RequestPayload): ApiAction => ({\r\n type: fetchType,\r\n data: fetchData,\r\n }),\r\n responseAction: responseAction,\r\n initiateCase: (reducerAction: CaseReducer>) => ({ [fetchType]: reducerAction }),\r\n completeCase: (reducerAction: CaseReducer & ActionExtend>) => ({\r\n [responseType]: reducerAction,\r\n }),\r\n createEpic$: (action$: ActionsObservable, request: (data: RequestPayload) => Request$) =>\r\n action$\r\n .ofType(fetchType)\r\n .pipe(mergeMap$((action: ApiAction) => request(action.data).pipe(map$(responseAction)))),\r\n createSwitchEpic$: (\r\n action$: ActionsObservable,\r\n request: (data: RequestPayload) => Request$\r\n ) =>\r\n action$\r\n .ofType(fetchType)\r\n .pipe(switchMap$((action: ApiAction) => request(action.data).pipe(map$(responseAction)))),\r\n };\r\n};\r\n\r\ninterface ApiActionOptions {\r\n /** Allow multiple api request in parallel.\r\n *\r\n * **false** to abort previous ongoing api requests.\r\n *\r\n * Defaults to *true*.\r\n *\r\n * The `COMPLETE` action will be replaced by an `ABORTED` action.\r\n *\r\n * **NOTE**: This does NOT stop the underlying HTTP request.\r\n * The use case is when a user clicks items more quickly than the server sends\r\n * back a response and it is out of order thus showing the wrong info\r\n * on the screen. It is not to optimize server/network bandwidth.\r\n */\r\n multiplex?: boolean;\r\n}\r\n\r\nlet uid = 100;\r\n\r\nexport const createApiActionWithFetchData = <\r\n RequestPayload = undefined,\r\n ResponsePayload = undefined,\r\n ActionExtend = {},\r\n>(\r\n action: string,\r\n options?: ApiActionOptions\r\n) => {\r\n const apiAction = createApiAction(action);\r\n const responseAction = (\r\n response: ApiResponse123,\r\n requestAction: ApiAction\r\n ): ResultResponseActionWithFetchData => {\r\n return { ...apiAction.responseAction(response), fetchData: requestAction.data, metadata: requestAction.metadata };\r\n };\r\n return {\r\n ...apiAction,\r\n fetchAction: (fetchData: RequestPayload): ApiAction => ({\r\n type: apiAction.fetchType,\r\n data: fetchData,\r\n metadata: {\r\n uid: uid++,\r\n overrideResponse: (options?.multiplex ?? true) ? undefined : apiAction.responseType,\r\n },\r\n }),\r\n responseAction: responseAction,\r\n completeCase: (\r\n reducerAction: CaseReducer & ActionExtend>\r\n ) => ({\r\n [apiAction.responseType]: reducerAction,\r\n }),\r\n createEpic$: (action$: ActionsObservable, request: (data: RequestPayload) => Request$) =>\r\n action$\r\n .ofType(apiAction.fetchType)\r\n .pipe(\r\n mergeMap$((action: ApiAction) =>\r\n request(action.data).pipe(map$((response) => responseAction(response, action)))\r\n )\r\n ),\r\n };\r\n};\r\n\r\nexport const createAction = (type: string) => ({\r\n action: (data: T): ApiAction => ({ type: type, data: data }),\r\n addCase: (reducerAction: CaseReducer>) => ({ [type]: reducerAction }),\r\n actionType: type,\r\n});\r\n","import { Action, AnyAction, Dispatch } from 'redux';\r\n\r\nimport { ApiAction, ResultResponseActionWithFetchData } from './Base';\r\n\r\n/**\r\n * Map of the response type string to its unique number.\r\n *\r\n * Note that the map entries never gets deleted, but it will max\r\n * to the number of possible response type with the feature turned on.\r\n */\r\nconst lastResponseActionUids: Map = new Map();\r\n\r\n/** =================================================================\r\n *\r\n * Middleware that inhibit (abort) responses from requests that\r\n * got overriden by another more recent request. Typical use case\r\n * is a details panel next to a list panel where the user can\r\n * click many items in a row to make sure only the response data from\r\n * the last request shows.\r\n *\r\n * To use, specify `multiplex:false` to createApiActionWithFetchData()'s options parameter\r\n *\r\n * IMPLEMENTATION\r\n *\r\n * A unique id is generated for each request/repsonse pair.\r\n * This is used to compare if it matches the latest one. Keeps track of\r\n * the latest uid for a specific response's action type.\r\n *\r\n * ==================================================================\r\n */\r\nexport const lastRequestOverrideMiddleware = () => (next: Dispatch) => (action: Action) => {\r\n if ((action as ResultResponseActionWithFetchData).fetchData) {\r\n if (shouldBlockResponse(action as ResultResponseActionWithFetchData)) {\r\n //alter the action directly and send it anyway. This helps tracking what's going on in reactotron.\r\n //remove \"COMPLETE.\" (if any) and put \"ABORTED.\" instead.\r\n action.type = action.type.replace(/^(?:COMPLETE\\.)?/, 'ABORTED.');\r\n }\r\n } else {\r\n const metadata = (action as ApiAction).metadata;\r\n if (metadata?.overrideResponse) {\r\n lastResponseActionUids.set(metadata.overrideResponse, metadata.uid);\r\n }\r\n }\r\n\r\n return next(action);\r\n};\r\n\r\nconst shouldBlockResponse = (apiAction: ResultResponseActionWithFetchData): boolean => {\r\n const responseUid = apiAction.metadata?.uid;\r\n\r\n if (!responseUid) return false;\r\n\r\n const lastApiAction = lastResponseActionUids.get(apiAction.type);\r\n\r\n // related request action not in this override system\r\n if (lastApiAction === undefined) return false;\r\n\r\n if (lastApiAction !== responseUid) {\r\n // overriden response. Stop response action from propagating.\r\n return true;\r\n }\r\n\r\n // let the response action proceed as normally\r\n return false;\r\n};\r\n","import { findIndex, forEach, map } from 'lodash';\r\n\r\nexport interface NormalizedListState {\r\n ids: string[];\r\n isLoading: boolean;\r\n didFailToLoad: boolean;\r\n isLastPage: boolean;\r\n nextToken?: string;\r\n}\r\n\r\nexport enum FetchStatus {\r\n Loading,\r\n Failed,\r\n}\r\n\r\nexport const clearUnreferencedEntities = (referencedIds: string[], entities: Map) => {\r\n for (const key of entities.keys()) {\r\n if (findIndex(referencedIds, (id) => id === key) === -1) {\r\n entities.delete(key);\r\n }\r\n }\r\n return entities;\r\n};\r\n\r\nexport const updateIdsInNormalizedStates = (\r\n oldId: string,\r\n newId: string,\r\n ...normalizedStates: NormalizedListState[]\r\n) => {\r\n forEach(normalizedStates, (normalizedState) => {\r\n normalizedState.ids = map(normalizedState.ids, (id) => {\r\n if (id === oldId) {\r\n return newId;\r\n }\r\n return id;\r\n });\r\n });\r\n};\r\n","import { reduce } from 'lodash';\r\nimport { Action, AnyAction } from 'redux';\r\n\r\nimport { CaseReducers, createReducer as TKcreateReducer } from '@reduxjs/toolkit';\r\n\r\n// @TODO: Ensure always returning a state from a subreducer doesn't cause any bugs\r\ntype SubReducer = (state: S | undefined, action: A) => S;\r\n\r\nexport const createReducer = >, SR extends SubReducer>(\r\n initialState: S,\r\n actionsMap: CR,\r\n ...subReducers: SR[]\r\n) => {\r\n const reducers = [TKcreateReducer(initialState, actionsMap), ...subReducers];\r\n return (state: S, action: Action): S => {\r\n for (const reducer of reducers) {\r\n const newState = reducer(state, action);\r\n if (newState !== state) {\r\n return newState;\r\n }\r\n }\r\n return state;\r\n };\r\n};\r\n\r\nexport const createMergedReducer = (\r\n initialState: S,\r\n actionMaps: Array>>,\r\n ...subReducers: Array>\r\n) =>\r\n createReducer(\r\n initialState,\r\n reduce(\r\n actionMaps,\r\n (acc, el) => {\r\n return { ...acc, ...el };\r\n },\r\n {}\r\n ),\r\n ...subReducers\r\n );\r\n","import React from 'react';\r\n\r\nimport { connect } from 'react-redux';\r\nimport { Action, Dispatch } from 'redux';\r\n\r\ninterface DispatchProps {\r\n dispatch: any; //Dispatch; sadly, can't solve this typescript type mapping issue [JM/BP]\r\n}\r\n\r\ntype Props = DispatchProps;\r\n\r\nlet staticDispatch: Dispatch | undefined;\r\n\r\nexport class ReduxRegistry {\r\n /** dispatch an action to redux */\r\n static dispatch(action: Action) {\r\n if (staticDispatch) {\r\n staticDispatch(action);\r\n }\r\n }\r\n}\r\n\r\nclass ReduxRegistryComponent extends React.Component {\r\n componentDidMount() {\r\n staticDispatch = this.props.dispatch;\r\n }\r\n\r\n render() {\r\n return this.props.children;\r\n }\r\n\r\n componentWillUnmount() {\r\n staticDispatch = undefined;\r\n }\r\n}\r\n\r\nexport const ReduxRegistryConnect =\r\n connect(/*\r\n undefined,\r\n (dispatch) => ({ dispatch: dispatch })\r\n*/)(ReduxRegistryComponent);\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { AvatarClient, UploadAvatarData } from '@common/client/AvatarClient';\r\nimport { createApiAction, createApiActionWithFetchData } from '@common/redux/Base';\r\n\r\nimport { createMergedReducer } from '../ReduxHelper';\r\n\r\nexport interface Avatar {\r\n mimeType: string;\r\n file: Blob;\r\n}\r\n\r\nconst fetchAvatarAction = createApiAction('FETCH_AVATAR');\r\n\r\nconst fetchSmallAvatarAction = createApiAction('FETCH_SMALL_AVATAR');\r\n\r\nexport const uploadAvatarAction = createApiAction('UPLOAD_AVATAR');\r\n\r\nconst fetchSmallCompaniesProfileAvatarAction = createApiActionWithFetchData(\r\n 'FETCH_SMALL_COMPANIES_PROFILE_AVATAR'\r\n);\r\n\r\nexport const deleteAvatarAction = createApiAction('DELETE_AVATAR');\r\n\r\nexport const uploadAvatar = (documentMetadata: UploadAvatarData) => uploadAvatarAction.fetchAction(documentMetadata);\r\n\r\nexport const fetchAvatar = () => fetchAvatarAction.fetchAction(undefined);\r\n\r\nexport const fetchSmallAvatar = () => fetchSmallAvatarAction.fetchAction(undefined);\r\n\r\nexport const fetchCompaniesProfileAvatar = (id: string) => fetchSmallCompaniesProfileAvatarAction.fetchAction(id);\r\n\r\nexport const deleteAvatar = () => deleteAvatarAction.fetchAction(undefined);\r\n\r\nexport interface CompaniesProfileAvatarInfo {\r\n isLoading: boolean;\r\n companiesProfileAvatar: string | null;\r\n}\r\n\r\nexport interface AvatarState {\r\n isFetching: boolean;\r\n isFetchingForSmall: boolean;\r\n isFetchingForFull: boolean;\r\n /** Null is for if user has no avatar, Undefined means the avatar is not loaded yet. */\r\n currentAvatarSmall: string | undefined | null;\r\n currentAvatarFull: string | undefined | null;\r\n isUploadingAvatar: boolean;\r\n isUploadError: boolean | undefined;\r\n companiesProfileAvatarMap: Map;\r\n isDeleteAvatarLoading: boolean;\r\n wasDeleteAvatarCompleted: boolean;\r\n}\r\n\r\nconst initialState: AvatarState = {\r\n isFetching: false,\r\n isFetchingForSmall: false,\r\n isFetchingForFull: false,\r\n currentAvatarSmall: undefined,\r\n currentAvatarFull: undefined,\r\n isUploadingAvatar: false,\r\n isUploadError: false,\r\n companiesProfileAvatarMap: new Map(),\r\n isDeleteAvatarLoading: false,\r\n wasDeleteAvatarCompleted: false,\r\n};\r\n\r\nexport const avatarReducer = createMergedReducer(initialState, [\r\n fetchSmallCompaniesProfileAvatarAction.initiateCase((state, action) => {\r\n const companiesProfileAvatarInfo =\r\n state.companiesProfileAvatarMap.get(action.data) ?? ({} as CompaniesProfileAvatarInfo);\r\n companiesProfileAvatarInfo.isLoading = true;\r\n state.companiesProfileAvatarMap.set(action.data, companiesProfileAvatarInfo);\r\n }),\r\n fetchSmallCompaniesProfileAvatarAction.completeCase((state, action) => {\r\n const companiesProfileAvatarInfo =\r\n state.companiesProfileAvatarMap.get(action.fetchData ?? '') ?? ({} as CompaniesProfileAvatarInfo);\r\n companiesProfileAvatarInfo.isLoading = false;\r\n if (action.response.success) {\r\n const mimeType = action.response.headers?.['content-type'];\r\n companiesProfileAvatarInfo.companiesProfileAvatar = mimeType\r\n ? `data:${mimeType};base64,${action.response.payload}`\r\n : null;\r\n }\r\n }),\r\n fetchAvatarAction.initiateCase((state) => {\r\n state.isFetchingForFull = true;\r\n }),\r\n\r\n fetchAvatarAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const mimeType = action.response.headers?.['content-type'];\r\n state.currentAvatarFull = mimeType ? `data:${mimeType};base64,${action.response.payload}` : null;\r\n } else {\r\n state.currentAvatarFull = null;\r\n }\r\n state.isFetchingForFull = false;\r\n }),\r\n\r\n fetchSmallAvatarAction.initiateCase((state) => {\r\n state.isFetchingForSmall = true;\r\n }),\r\n\r\n fetchSmallAvatarAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const mimeType = action.response.headers?.['content-type'];\r\n state.currentAvatarSmall = mimeType ? `data:${mimeType};base64,${action.response.payload}` : null;\r\n } else {\r\n state.currentAvatarSmall = null;\r\n }\r\n state.isFetchingForSmall = false;\r\n }),\r\n\r\n uploadAvatarAction.initiateCase((state) => {\r\n state.isUploadingAvatar = true;\r\n state.isUploadError = undefined;\r\n }),\r\n\r\n uploadAvatarAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.isUploadError = false;\r\n state.isUploadingAvatar = false;\r\n state.currentAvatarFull = undefined;\r\n state.currentAvatarSmall = undefined;\r\n } else {\r\n state.isUploadError = true;\r\n state.isUploadingAvatar = false;\r\n }\r\n }),\r\n deleteAvatarAction.initiateCase((state) => {\r\n state.isDeleteAvatarLoading = true;\r\n state.wasDeleteAvatarCompleted = false;\r\n }),\r\n deleteAvatarAction.completeCase((state, action) => {\r\n state.isDeleteAvatarLoading = false;\r\n if (action.response.success) {\r\n state.wasDeleteAvatarCompleted = true;\r\n } else {\r\n state.wasDeleteAvatarCompleted = false;\r\n }\r\n }),\r\n]);\r\n\r\nexport const createAvatarEpic = (api: Api) => {\r\n const client = new AvatarClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchAvatarAction.createEpic$(action$, () => client.fetchAvatar$('Full')),\r\n fetchSmallAvatarAction.createEpic$(action$, () => client.fetchAvatar$('Small')),\r\n fetchSmallCompaniesProfileAvatarAction.createEpic$(action$, client.fetchOtherUserAvatar$),\r\n uploadAvatarAction.createEpic$(action$, client.uploadAvatar$),\r\n deleteAvatarAction.createEpic$(action$, client.deleteAvatar$)\r\n );\r\n};\r\n","import { concat, filter, find, forEach, map, some, uniqWith } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { iif as if$, merge as merge$, of as of$ } from 'rxjs';\r\nimport { flatMap as flatMap$, map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123 } from '@common/api';\r\nimport { CompanyClient, CompanyUserData } from '@common/client';\r\nimport { BrokerPaginationRequest, CompanyUserDataPayload, UserDataCompany } from '@common/model';\r\nimport { CompanyMetadata } from '@common/model/CompanyMetadata';\r\nimport { EmptyResponse, Response } from '@common/redux/Base';\r\nimport { standardApiEpic } from '@common/redux/epic/EpicHelper';\r\n\r\nconst FAVORITE_BROKER = 'FAVORITE_BROKER';\r\nconst ONBOARD_BROKER = 'ONBOARD_BROKER';\r\nconst HIDE_BROKER = 'HIDE_BROKER';\r\nconst FETCH_FAVORITE_BROKERS = 'FETCH_FAVORITE_BROKERS';\r\nconst FETCH_MORE_FAVORITE_BROKERS = 'FETCH_MORE_FAVORITE_BROKERS';\r\nconst FETCH_BLOCKED_BROKERS = 'FETCH_BLOCKED_BROKERS';\r\nconst FETCH_MORE_BLOCKED_BROKERS = 'FETCH_MORE_BLOCKED_BROKERS';\r\nconst FETCH_ONBOARDED_BROKERS = 'FETCH_ONBOARDED_BROKERS';\r\nconst FETCH_MORE_ONBOARDED_BROKERS = 'FETCH_MORE_ONBOARDED_BROKERS';\r\nconst FETCH_FAVORITE_BROKERS_COUNT = 'FETCH_FAVORITE_BROKERS_COUNT';\r\nconst FETCH_BLOCKED_BROKERS_COUNT = 'FETCH_BLOCKED_BROKERS_COUNT';\r\nconst FETCH_ONBOARDED_BROKERS_COUNT = 'FETCH_ONBOARDED_BROKERS_COUNT';\r\n\r\nexport const BROKER_FAVORITED = 'BROKER_FAVORITED';\r\nexport const BROKER_ONBOARDED = 'BROKER_ONBOARDED';\r\nexport const BROKER_HIDDEN = 'BROKER_HIDDEN';\r\nconst FAVORITE_BROKERS_FETCHED = 'FAVORITE_BROKERS_FETCHED';\r\nconst BLOCKED_BROKERS_FETCHED = 'BLOCKED_BROKERS_FETCHED';\r\nconst ONBOARDED_BROKERS_FETCHED = 'ONBOARDED_BROKERS_FETCHED';\r\nconst FAVORITE_BROKERS_COUNT_FETCHED = 'FAVORITE_BROKERS_COUNT_FETCHED';\r\nconst BLOCKED_BROKERS_COUNT_FETCHED = 'BLOCKED_BROKERS_COUNT_FETCHED';\r\nconst ONBOARDED_BROKERS_COUNT_FETCHED = 'ONBOARDED_BROKERS_COUNT_FETCHED';\r\nconst SET_FREE_TEXT_FILTER = 'SET_FREE_TEXT_FILTER';\r\nconst CLEAR_BROKER_UPDATE = 'CLEAR_BROKER_UPDATE';\r\n\r\nexport enum BrokerActionType {\r\n Favorite,\r\n Unfavorite,\r\n Onboard,\r\n Unonboarded,\r\n Block,\r\n Unblock,\r\n}\r\n\r\nconst BROKER_REQUEST_OFFSET_DEFAULT = 0;\r\nconst BROKER_REQUEST_OFFSET_INCREMENT = 10;\r\n\r\nconst BROKER_REQUEST_LIMIT_DEFAULT = 20;\r\nconst BROKER_REQUEST_LIMIT_APPENDING = 10;\r\n\r\ntype UpdateType = 'favourite' | 'block' | 'onboard';\r\n\r\ninterface PartialStateBrokers {\r\n brokers: BrokerState;\r\n}\r\n\r\nexport type CompanyUserDataResponse = Response;\r\n\r\nexport interface FavoriteCompany {\r\n id: string;\r\n favorite: boolean;\r\n}\r\n\r\nexport interface OnboardCompany {\r\n id: string;\r\n onboarded: boolean;\r\n}\r\n\r\nexport interface HideCompany {\r\n id: string;\r\n hide: boolean;\r\n}\r\n\r\ninterface FavoriteBrokersAction extends Action {\r\n brokers: FavoriteCompany[];\r\n archivingFlowID: string | undefined;\r\n}\r\n\r\ninterface OnboardBrokersAction extends Action {\r\n brokers: OnboardCompany[];\r\n archivingFlowID: string | undefined;\r\n}\r\n\r\ninterface HideBrokersAction extends Action {\r\n brokers: HideCompany[];\r\n isFromBackhauls: boolean;\r\n archivingFlowID: string | undefined;\r\n}\r\n\r\nexport interface CompanyResponseAction extends Action {\r\n response: EmptyResponse;\r\n updated: Array>;\r\n}\r\nexport interface BlockedCompanyResponseAction extends CompanyResponseAction {\r\n isFromBackhauls: boolean;\r\n}\r\n\r\nexport interface BrokerResponseAction extends Action {\r\n response: CompanyUserDataResponse;\r\n}\r\n\r\ninterface FetchBrokersAction extends Action {\r\n isRefreshing?: boolean;\r\n}\r\n\r\ninterface SetFreeTextFilterAction extends Action {\r\n companyName: string;\r\n}\r\n\r\nexport const favoriteBrokers = (\r\n brokers: FavoriteCompany[],\r\n archivingFlowID: string | undefined\r\n): FavoriteBrokersAction => {\r\n return { type: FAVORITE_BROKER, brokers: brokers, archivingFlowID: archivingFlowID };\r\n};\r\n\r\nexport const onboardBrokers = (\r\n brokers: OnboardCompany[],\r\n archivingFlowID: string | undefined\r\n): OnboardBrokersAction => {\r\n return { type: ONBOARD_BROKER, brokers: brokers, archivingFlowID: archivingFlowID };\r\n};\r\n\r\nexport const hideBrokers = (\r\n brokers: HideCompany[],\r\n isFromBackhauls: boolean = false,\r\n archivingFlowID: string | undefined\r\n): HideBrokersAction => {\r\n return {\r\n type: HIDE_BROKER,\r\n brokers: brokers,\r\n isFromBackhauls: isFromBackhauls,\r\n archivingFlowID: archivingFlowID,\r\n };\r\n};\r\n\r\nexport const fetchFavoriteBrokers = (isRefreshing?: boolean): FetchBrokersAction => ({\r\n type: FETCH_FAVORITE_BROKERS,\r\n isRefreshing: isRefreshing,\r\n});\r\n\r\nexport const fetchMoreFavoriteBrokers = (): Action => ({ type: FETCH_MORE_FAVORITE_BROKERS });\r\n\r\nexport const fetchBlockedBrokers = (isRefreshing?: boolean): FetchBrokersAction => ({\r\n type: FETCH_BLOCKED_BROKERS,\r\n isRefreshing: isRefreshing,\r\n});\r\n\r\nexport const fetchMoreBlockedBrokers = (): Action => ({ type: FETCH_MORE_BLOCKED_BROKERS });\r\n\r\nexport const fetchOnboardedBrokers = (isRefreshing?: boolean): FetchBrokersAction => ({\r\n type: FETCH_ONBOARDED_BROKERS,\r\n isRefreshing: isRefreshing,\r\n});\r\n\r\nexport const fetchMoreOnboardedBrokers = (): Action => ({ type: FETCH_MORE_ONBOARDED_BROKERS });\r\n\r\nexport const fetchFavoriteBrokersCount = (): Action => {\r\n return { type: FETCH_FAVORITE_BROKERS_COUNT };\r\n};\r\n\r\nexport const fetchBlockedBrokersCount = (): Action => {\r\n return { type: FETCH_BLOCKED_BROKERS_COUNT };\r\n};\r\n\r\nexport const fetchOnboardedBrokersCount = (): Action => {\r\n return { type: FETCH_ONBOARDED_BROKERS_COUNT };\r\n};\r\n\r\nexport const setFreeTextFilter = (companyName: string): SetFreeTextFilterAction => ({\r\n type: SET_FREE_TEXT_FILTER,\r\n companyName: companyName,\r\n});\r\n\r\nexport const clearBrokerUpdate = (): Action => ({ type: CLEAR_BROKER_UPDATE });\r\n\r\nconst brokerResponse = (\r\n response: EmptyResponse,\r\n type: string,\r\n updated: Array>\r\n): CompanyResponseAction => ({\r\n type: type,\r\n response: response,\r\n updated: updated,\r\n});\r\nconst blockBrokerResponse = (\r\n response: EmptyResponse,\r\n type: string,\r\n updated: Array>,\r\n isFromBackhauls: boolean\r\n): BlockedCompanyResponseAction => ({\r\n type: type,\r\n response: response,\r\n updated: updated,\r\n isFromBackhauls: isFromBackhauls,\r\n});\r\n\r\nconst fetchBrokerResponse = (type: string, response: CompanyUserDataResponse): BrokerResponseAction => ({\r\n type: type,\r\n response: response,\r\n});\r\n\r\nconst createDefaultBrokerRequest = () => ({\r\n offset: BROKER_REQUEST_OFFSET_DEFAULT,\r\n limit: BROKER_REQUEST_LIMIT_DEFAULT,\r\n});\r\n\r\nexport interface BrokerState {\r\n favoriteBrokersRequest: BrokerPaginationRequest;\r\n blockedBrokersRequest: BrokerPaginationRequest;\r\n onboardedBrokersRequest: BrokerPaginationRequest;\r\n isLastResult: boolean;\r\n isLoadingMore: boolean;\r\n isRefreshing: boolean;\r\n isLoadingFavorites: boolean;\r\n isLoadingOnboarded: boolean;\r\n isLoadingBlocked: boolean;\r\n isLoadedFavoritesCount: boolean;\r\n isLoadedOnboardedCount: boolean;\r\n isLoadedBlockedCount: boolean;\r\n favoriteBrokers: UserDataCompany[];\r\n favoriteBrokersCount: number;\r\n onboardedBrokers: UserDataCompany[];\r\n onboardedBrokersCount: number;\r\n blockedBrokers: UserDataCompany[];\r\n blockedBrokersCount: number;\r\n freeTextFilter: string;\r\n brokersUpdate: {\r\n isLoading: boolean;\r\n updatedSuccessfully?: boolean;\r\n updateTime?: number;\r\n updateType?: BrokerActionType;\r\n error?: ApiError | undefined;\r\n };\r\n}\r\n\r\nconst initialState: BrokerState = {\r\n favoriteBrokersRequest: createDefaultBrokerRequest(),\r\n blockedBrokersRequest: createDefaultBrokerRequest(),\r\n onboardedBrokersRequest: createDefaultBrokerRequest(),\r\n isLastResult: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n favoriteBrokers: [],\r\n blockedBrokers: [],\r\n onboardedBrokers: [],\r\n brokersUpdate: {\r\n isLoading: false,\r\n },\r\n isLoadingFavorites: false,\r\n isLoadingBlocked: false,\r\n isLoadingOnboarded: false,\r\n favoriteBrokersCount: 0,\r\n blockedBrokersCount: 0,\r\n onboardedBrokersCount: 0,\r\n freeTextFilter: '',\r\n isLoadedFavoritesCount: false,\r\n isLoadedOnboardedCount: false,\r\n isLoadedBlockedCount: false,\r\n};\r\n\r\nexport const brokerReducer = (state = initialState, action: Action): BrokerState => {\r\n switch (action.type) {\r\n case FETCH_FAVORITE_BROKERS: {\r\n const fetchAction = action as FetchBrokersAction;\r\n return {\r\n ...state,\r\n isRefreshing: fetchAction.isRefreshing || false,\r\n isLoadingFavorites: true,\r\n favoriteBrokers: [],\r\n };\r\n }\r\n case FETCH_BLOCKED_BROKERS: {\r\n const fetchAction = action as FetchBrokersAction;\r\n return { ...state, isRefreshing: fetchAction.isRefreshing || false, isLoadingBlocked: true, blockedBrokers: [] };\r\n }\r\n case FETCH_ONBOARDED_BROKERS: {\r\n const fetchAction = action as FetchBrokersAction;\r\n return {\r\n ...state,\r\n isRefreshing: fetchAction.isRefreshing || false,\r\n isLoadingOnboarded: true,\r\n onboardedBrokers: [],\r\n };\r\n }\r\n case FETCH_MORE_FAVORITE_BROKERS:\r\n case FETCH_MORE_BLOCKED_BROKERS:\r\n case FETCH_MORE_ONBOARDED_BROKERS:\r\n return { ...state, isLoadingMore: true };\r\n case FAVORITE_BROKER:\r\n case ONBOARD_BROKER:\r\n case HIDE_BROKER:\r\n return {\r\n ...state,\r\n brokersUpdate: {\r\n isLoading: true,\r\n },\r\n isLoadingBlocked: true,\r\n };\r\n case BROKER_HIDDEN: {\r\n const hideAction = action as CompanyResponseAction;\r\n const {\r\n newFavoriteBrokers,\r\n newFavoriteBrokersCount,\r\n newBlockedBrokers,\r\n newBlockedBrokersCount,\r\n newOnboardBrokers,\r\n newOnboardBrokersCount,\r\n } = updateBrokersListsFollowingFavouriteOrBlock(state, hideAction.updated, 'block');\r\n return {\r\n ...state,\r\n isLoadingBlocked: false,\r\n brokersUpdate: {\r\n isLoading: false,\r\n updatedSuccessfully: hideAction.response.success,\r\n updateTime: Date.now(),\r\n updateType:\r\n hideAction.updated.length > 0\r\n ? hideAction.updated[0].value === false\r\n ? BrokerActionType.Unblock\r\n : BrokerActionType.Block\r\n : undefined,\r\n error: hideAction.response.error,\r\n },\r\n blockedBrokers: newBlockedBrokers,\r\n blockedBrokersCount: newBlockedBrokersCount,\r\n favoriteBrokers: newFavoriteBrokers,\r\n favoriteBrokersCount: newFavoriteBrokersCount,\r\n onboardedBrokers: newOnboardBrokers,\r\n onboardedBrokersCount: newOnboardBrokersCount,\r\n blockedBrokersRequest: {\r\n ...state.blockedBrokersRequest,\r\n offset:\r\n state.favoriteBrokersRequest.offset - hideAction.updated.length > 0 && hideAction.updated[0].value === false\r\n ? hideAction.updated.length\r\n : 0,\r\n },\r\n };\r\n }\r\n case BROKER_FAVORITED: {\r\n const favoriteAction = action as CompanyResponseAction;\r\n const {\r\n newFavoriteBrokers,\r\n newFavoriteBrokersCount,\r\n newBlockedBrokers,\r\n newBlockedBrokersCount,\r\n newOnboardBrokers,\r\n newOnboardBrokersCount,\r\n } = updateBrokersListsFollowingFavouriteOrBlock(state, favoriteAction.updated, 'favourite');\r\n return {\r\n ...state,\r\n isLoadingFavorites: false,\r\n isLoadingBlocked: false,\r\n brokersUpdate: {\r\n isLoading: false,\r\n updatedSuccessfully: favoriteAction.response.success,\r\n updateTime: Date.now(),\r\n updateType:\r\n favoriteAction.updated.length > 0\r\n ? favoriteAction.updated[0].value === false\r\n ? BrokerActionType.Unfavorite\r\n : BrokerActionType.Favorite\r\n : undefined,\r\n error: favoriteAction.response.error,\r\n },\r\n favoriteBrokers: newFavoriteBrokers,\r\n favoriteBrokersCount: newFavoriteBrokersCount,\r\n blockedBrokers: newBlockedBrokers,\r\n blockedBrokersCount: newBlockedBrokersCount,\r\n onboardedBrokers: newOnboardBrokers,\r\n onboardedBrokersCount: newOnboardBrokersCount,\r\n favoriteBrokersRequest: {\r\n ...state.favoriteBrokersRequest,\r\n offset:\r\n state.favoriteBrokersRequest.offset - favoriteAction.updated.length > 0 &&\r\n favoriteAction.updated[0].value === false\r\n ? favoriteAction.updated.length\r\n : 0,\r\n },\r\n };\r\n }\r\n case BROKER_ONBOARDED: {\r\n const onboardAction = action as CompanyResponseAction;\r\n const {\r\n newOnboardBrokers,\r\n newOnboardBrokersCount,\r\n newFavoriteBrokers,\r\n newFavoriteBrokersCount,\r\n newBlockedBrokers,\r\n newBlockedBrokersCount,\r\n } = updateBrokersListsFollowingFavouriteOrBlock(state, onboardAction.updated, 'onboard');\r\n return {\r\n ...state,\r\n isLoadingOnboarded: false,\r\n isLoadingBlocked: false,\r\n brokersUpdate: {\r\n isLoading: false,\r\n updatedSuccessfully: onboardAction.response.success,\r\n updateTime: Date.now(),\r\n updateType:\r\n onboardAction.updated.length > 0\r\n ? onboardAction.updated[0].value === false\r\n ? BrokerActionType.Unonboarded\r\n : BrokerActionType.Onboard\r\n : undefined,\r\n error: onboardAction.response.error,\r\n },\r\n onboardedBrokers: newOnboardBrokers,\r\n onboardedBrokersCount: newOnboardBrokersCount,\r\n blockedBrokers: newBlockedBrokers,\r\n blockedBrokersCount: newBlockedBrokersCount,\r\n favoriteBrokers: newFavoriteBrokers,\r\n favoriteBrokersCount: newFavoriteBrokersCount,\r\n onboardedBrokersRequest: {\r\n ...state.onboardedBrokersRequest,\r\n offset:\r\n state.onboardedBrokersRequest.offset - onboardAction.updated.length > 0 &&\r\n onboardAction.updated[0].value === false\r\n ? onboardAction.updated.length\r\n : 0,\r\n },\r\n };\r\n }\r\n case FAVORITE_BROKERS_FETCHED: {\r\n const favoriteBrokersAction = (action as BrokerResponseAction).response.payload;\r\n if (favoriteBrokersAction) {\r\n const newFavoriteBrokers = state.isRefreshing\r\n ? favoriteBrokersAction.companies\r\n : uniqWith(\r\n concat(state.favoriteBrokers, favoriteBrokersAction.companies),\r\n (company1: UserDataCompany, company2: UserDataCompany) => company1.id === company2.id\r\n );\r\n return {\r\n ...state,\r\n isLoadingFavorites: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n favoriteBrokers: newFavoriteBrokers,\r\n isLastResult: favoriteBrokersAction.companies.length < state.favoriteBrokersRequest.limit,\r\n };\r\n }\r\n return { ...state, isLoadingFavorites: false, isLoadingMore: false, isRefreshing: false };\r\n }\r\n case BLOCKED_BROKERS_FETCHED: {\r\n const blockedBrokersAction = (action as BrokerResponseAction).response.payload;\r\n if (blockedBrokersAction) {\r\n const newBlockedBrokers = state.isRefreshing\r\n ? blockedBrokersAction.companies\r\n : uniqWith(\r\n concat(state.blockedBrokers || [], blockedBrokersAction.companies),\r\n (company1: UserDataCompany, company2: UserDataCompany) => company1.id === company2.id\r\n );\r\n return {\r\n ...state,\r\n isLoadingBlocked: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n blockedBrokers: newBlockedBrokers,\r\n isLastResult: blockedBrokersAction.companies.length < state.blockedBrokersRequest.limit,\r\n };\r\n }\r\n return { ...state, isLoadingBlocked: false, isLoadingMore: false, isRefreshing: false };\r\n }\r\n case ONBOARDED_BROKERS_FETCHED: {\r\n const onboardedBrokersAction = (action as BrokerResponseAction).response.payload;\r\n if (onboardedBrokersAction) {\r\n const newOnboardedBrokers = state.isRefreshing\r\n ? onboardedBrokersAction.companies\r\n : uniqWith(\r\n concat(state.onboardedBrokers || [], onboardedBrokersAction.companies),\r\n (company1: UserDataCompany, company2: UserDataCompany) => company1.id === company2.id\r\n );\r\n return {\r\n ...state,\r\n isLoadingOnboarded: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n onboardedBrokers: newOnboardedBrokers,\r\n isLastResult: onboardedBrokersAction.companies.length < state.onboardedBrokersRequest.limit,\r\n };\r\n }\r\n return { ...state, isLoadingOnboarded: false, isLoadingMore: false, isRefreshing: false };\r\n }\r\n case FETCH_FAVORITE_BROKERS_COUNT:\r\n return { ...state, isLoadedFavoritesCount: false };\r\n case FETCH_BLOCKED_BROKERS_COUNT:\r\n return { ...state, isLoadedBlockedCount: false };\r\n case FETCH_ONBOARDED_BROKERS_COUNT:\r\n return { ...state, isLoadedOnboardedCount: false };\r\n case FAVORITE_BROKERS_COUNT_FETCHED: {\r\n const favoriteBrokersAction = action as BrokerResponseAction;\r\n if (favoriteBrokersAction.response.payload) {\r\n return {\r\n ...state,\r\n favoriteBrokersCount: favoriteBrokersAction.response.payload.metadata.totalResultCount,\r\n isLoadedFavoritesCount: true,\r\n };\r\n }\r\n return state;\r\n }\r\n case BLOCKED_BROKERS_COUNT_FETCHED: {\r\n const blockedBrokersAction = action as BrokerResponseAction;\r\n\r\n if (blockedBrokersAction.response.payload) {\r\n return {\r\n ...state,\r\n blockedBrokersCount: blockedBrokersAction.response.payload.metadata.totalResultCount,\r\n isLoadedBlockedCount: true,\r\n };\r\n }\r\n return state;\r\n }\r\n case ONBOARDED_BROKERS_COUNT_FETCHED: {\r\n const onboardedBrokersAction = action as BrokerResponseAction;\r\n if (onboardedBrokersAction.response.payload) {\r\n return {\r\n ...state,\r\n onboardedBrokersCount: onboardedBrokersAction.response.payload.metadata.totalResultCount,\r\n isLoadedOnboardedCount: true,\r\n };\r\n }\r\n return state;\r\n }\r\n case SET_FREE_TEXT_FILTER: {\r\n const setFreeTextFilterAction = action as SetFreeTextFilterAction;\r\n return {\r\n ...state,\r\n freeTextFilter: setFreeTextFilterAction.companyName,\r\n };\r\n }\r\n case CLEAR_BROKER_UPDATE: {\r\n return {\r\n ...state,\r\n brokersUpdate: {\r\n isLoading: false,\r\n },\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst favoriteBroker$ = (client: CompanyClient, action$: ActionsObservable) =>\r\n action$.ofType(FAVORITE_BROKER).pipe(\r\n flatMap$((action: FavoriteBrokersAction) => {\r\n const brokers: Array> = map(action.brokers, (broker) => ({\r\n id: broker.id,\r\n value: broker.favorite,\r\n }));\r\n return client.favoriteBrokers$(brokers, action.archivingFlowID).pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n if (response && response.success) {\r\n return brokerResponse({ success: response.success }, BROKER_FAVORITED, brokers);\r\n } else {\r\n const error = response as ApiError;\r\n return brokerResponse({ success: response.success, error: error }, BROKER_FAVORITED, brokers);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst onboardedBroker$ = (client: CompanyClient, action$: ActionsObservable) =>\r\n action$.ofType(ONBOARD_BROKER).pipe(\r\n flatMap$((action: OnboardBrokersAction) => {\r\n const brokers: Array> = map(action.brokers, (broker) => ({\r\n id: broker.id,\r\n value: broker.onboarded,\r\n }));\r\n return client.onboardedBrokers$(brokers, action.archivingFlowID).pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n if (response && response.success) {\r\n return brokerResponse({ success: response.success }, BROKER_ONBOARDED, brokers);\r\n } else {\r\n const error = response as ApiError;\r\n return brokerResponse({ success: response.success, error: error }, BROKER_ONBOARDED, brokers);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst updatedBrokers$ = (state$: StateObservable, action$: ActionsObservable) =>\r\n action$\r\n .ofType(BROKER_FAVORITED, BROKER_HIDDEN, BROKER_ONBOARDED)\r\n .pipe(\r\n mergeMap$(() =>\r\n if$(\r\n () => shouldFetchBrokerCountsFromServer(state$.value.brokers),\r\n of$(fetchFavoriteBrokersCount(), fetchBlockedBrokersCount(), fetchOnboardedBrokersCount())\r\n )\r\n )\r\n );\r\n\r\nconst hideBroker$ = (client: CompanyClient, action$: ActionsObservable) =>\r\n action$.ofType(HIDE_BROKER).pipe(\r\n flatMap$((action: HideBrokersAction) => {\r\n const brokers: Array> = map(action.brokers, (broker) => ({\r\n id: broker.id,\r\n value: broker.hide,\r\n }));\r\n return client.hideBrokers$(brokers, action.archivingFlowID).pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n return blockBrokerResponse({ success: response.success }, BROKER_HIDDEN, brokers, action.isFromBackhauls);\r\n } else {\r\n const error = response as ApiError;\r\n return blockBrokerResponse(\r\n { success: response.success, error: error },\r\n BROKER_HIDDEN,\r\n brokers,\r\n action.isFromBackhauls\r\n );\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst fetchFavoriteBrokers$ = (\r\n client: CompanyClient,\r\n state$: StateObservable,\r\n action$: ActionsObservable\r\n) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_FAVORITE_BROKERS,\r\n () => {\r\n const request = state$.value.brokers.favoriteBrokersRequest;\r\n const companyName = state$.value.brokers.freeTextFilter;\r\n request.limit = BROKER_REQUEST_LIMIT_DEFAULT;\r\n request.offset = BROKER_REQUEST_OFFSET_DEFAULT;\r\n return client.getCompanyUserData({ isFavoriteBroker: true, companyName: companyName }, 'companies', request);\r\n },\r\n (response) => fetchBrokerResponse(FAVORITE_BROKERS_FETCHED, { success: response.success, payload: response.data }),\r\n () => fetchBrokerResponse(FAVORITE_BROKERS_FETCHED, { success: false })\r\n );\r\n\r\nconst fetchMoreFavoriteBrokers$ = (\r\n client: CompanyClient,\r\n state$: StateObservable,\r\n action$: ActionsObservable\r\n) =>\r\n action$.ofType(FETCH_MORE_FAVORITE_BROKERS).pipe(\r\n mergeMap$(() => {\r\n if (state$.value.brokers.isLastResult) {\r\n return of$(\r\n fetchBrokerResponse(FAVORITE_BROKERS_FETCHED, {\r\n success: true,\r\n payload: {\r\n companies: [],\r\n id: '',\r\n metadata: {\r\n totalResultCount: 0,\r\n queryTime: 0,\r\n pageResultCount: 0,\r\n currentOffset: 0,\r\n },\r\n },\r\n })\r\n );\r\n }\r\n const request = state$.value.brokers.favoriteBrokersRequest;\r\n const companyName = state$.value.brokers.freeTextFilter;\r\n request.limit = BROKER_REQUEST_LIMIT_APPENDING;\r\n request.offset =\r\n request.offset === 0 ? BROKER_REQUEST_LIMIT_DEFAULT : request.offset + BROKER_REQUEST_OFFSET_INCREMENT;\r\n return client.getCompanyUserData({ isFavoriteBroker: true, companyName: companyName }, 'companies', request).pipe(\r\n map$((response) => {\r\n return response.result(\r\n (data) =>\r\n fetchBrokerResponse(FAVORITE_BROKERS_FETCHED, {\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n fetchBrokerResponse(FAVORITE_BROKERS_FETCHED, {\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst fetchBlockedBrokers$ = (\r\n client: CompanyClient,\r\n state$: StateObservable,\r\n action$: ActionsObservable\r\n) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_BLOCKED_BROKERS,\r\n () => {\r\n const request = state$.value.brokers.blockedBrokersRequest;\r\n const companyName = state$.value.brokers.freeTextFilter;\r\n request.limit = BROKER_REQUEST_LIMIT_DEFAULT;\r\n request.offset = BROKER_REQUEST_OFFSET_DEFAULT;\r\n return client.getCompanyUserData({ isHiddenBroker: true, companyName: companyName }, 'companies', request);\r\n },\r\n (response) => fetchBrokerResponse(BLOCKED_BROKERS_FETCHED, { success: response.success, payload: response.data }),\r\n () => fetchBrokerResponse(BLOCKED_BROKERS_FETCHED, { success: false })\r\n );\r\n\r\nconst fetchMoreBlockedBrokers$ = (\r\n client: CompanyClient,\r\n state$: StateObservable,\r\n action$: ActionsObservable\r\n) =>\r\n action$.ofType(FETCH_MORE_BLOCKED_BROKERS).pipe(\r\n mergeMap$(() => {\r\n if (state$.value.brokers.isLastResult) {\r\n return of$(\r\n fetchBrokerResponse(BLOCKED_BROKERS_FETCHED, {\r\n success: true,\r\n payload: {\r\n companies: [],\r\n id: '',\r\n metadata: {\r\n totalResultCount: 0,\r\n queryTime: 0,\r\n pageResultCount: 0,\r\n currentOffset: 0,\r\n },\r\n },\r\n })\r\n );\r\n }\r\n const request = state$.value.brokers.blockedBrokersRequest;\r\n const companyName = state$.value.brokers.freeTextFilter;\r\n request.limit = BROKER_REQUEST_LIMIT_APPENDING;\r\n request.offset =\r\n request.offset === 0 ? BROKER_REQUEST_LIMIT_DEFAULT : request.offset + BROKER_REQUEST_OFFSET_INCREMENT;\r\n return client.getCompanyUserData({ isHiddenBroker: true, companyName: companyName }, 'companies', request).pipe(\r\n map$((response) => {\r\n return response.result(\r\n (data) =>\r\n fetchBrokerResponse(BLOCKED_BROKERS_FETCHED, {\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n fetchBrokerResponse(BLOCKED_BROKERS_FETCHED, {\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst fetchOnboardedBrokers$ = (\r\n client: CompanyClient,\r\n state$: StateObservable,\r\n action$: ActionsObservable\r\n) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_ONBOARDED_BROKERS,\r\n () => {\r\n const request = state$.value.brokers.onboardedBrokersRequest;\r\n const companyName = state$.value.brokers.freeTextFilter;\r\n request.limit = BROKER_REQUEST_LIMIT_DEFAULT;\r\n request.offset = BROKER_REQUEST_OFFSET_DEFAULT;\r\n return client.getCompanyUserData({ isOnboarded: true, companyName: companyName }, 'companies', request);\r\n },\r\n (response) => fetchBrokerResponse(ONBOARDED_BROKERS_FETCHED, { success: response.success, payload: response.data }),\r\n () => fetchBrokerResponse(ONBOARDED_BROKERS_FETCHED, { success: false })\r\n );\r\n\r\nconst fetchMoreOnboardedBrokers$ = (\r\n client: CompanyClient,\r\n state$: StateObservable,\r\n action$: ActionsObservable\r\n) =>\r\n action$.ofType(FETCH_MORE_ONBOARDED_BROKERS).pipe(\r\n mergeMap$(() => {\r\n if (state$.value.brokers.isLastResult) {\r\n return of$(\r\n fetchBrokerResponse(ONBOARDED_BROKERS_FETCHED, {\r\n success: true,\r\n payload: {\r\n companies: [],\r\n id: '',\r\n metadata: {\r\n totalResultCount: 0,\r\n queryTime: 0,\r\n pageResultCount: 0,\r\n currentOffset: 0,\r\n },\r\n },\r\n })\r\n );\r\n }\r\n const request = state$.value.brokers.onboardedBrokersRequest;\r\n const companyName = state$.value.brokers.freeTextFilter;\r\n request.limit = BROKER_REQUEST_LIMIT_APPENDING;\r\n request.offset =\r\n request.offset === 0 ? BROKER_REQUEST_LIMIT_DEFAULT : request.offset + BROKER_REQUEST_OFFSET_INCREMENT;\r\n return client.getCompanyUserData({ isOnboarded: true, companyName: companyName }, 'companies', request).pipe(\r\n map$((response) => {\r\n return response.result(\r\n (data) =>\r\n fetchBrokerResponse(ONBOARDED_BROKERS_FETCHED, {\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n fetchBrokerResponse(ONBOARDED_BROKERS_FETCHED, {\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst fetchFavoriteBrokersCount$ = (\r\n client: CompanyClient,\r\n action$: ActionsObservable,\r\n state$: StateObservable\r\n) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_FAVORITE_BROKERS_COUNT,\r\n () =>\r\n client.getCompanyUserData(\r\n { isFavoriteBroker: true, companyName: state$.value.brokers.freeTextFilter },\r\n 'metadata'\r\n ),\r\n (response) =>\r\n fetchBrokerResponse(FAVORITE_BROKERS_COUNT_FETCHED, { success: response.success, payload: response.data }),\r\n () => fetchBrokerResponse(FAVORITE_BROKERS_COUNT_FETCHED, { success: false })\r\n );\r\n\r\nconst fetchBlockedBrokersCount$ = (\r\n client: CompanyClient,\r\n action$: ActionsObservable,\r\n state$: StateObservable\r\n) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_BLOCKED_BROKERS_COUNT,\r\n () =>\r\n client.getCompanyUserData({ isHiddenBroker: true, companyName: state$.value.brokers.freeTextFilter }, 'metadata'),\r\n (response) =>\r\n fetchBrokerResponse(BLOCKED_BROKERS_COUNT_FETCHED, { success: response.success, payload: response.data }),\r\n () => fetchBrokerResponse(BLOCKED_BROKERS_COUNT_FETCHED, { success: false })\r\n );\r\n\r\nconst fetchOnboardedBrokersCount$ = (\r\n client: CompanyClient,\r\n action$: ActionsObservable,\r\n state$: StateObservable\r\n) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_ONBOARDED_BROKERS_COUNT,\r\n () =>\r\n client.getCompanyUserData({ isOnboarded: true, companyName: state$.value.brokers.freeTextFilter }, 'metadata'),\r\n (response) => {\r\n return fetchBrokerResponse(ONBOARDED_BROKERS_COUNT_FETCHED, {\r\n success: response.success,\r\n payload: response.data,\r\n });\r\n },\r\n () => fetchBrokerResponse(ONBOARDED_BROKERS_COUNT_FETCHED, { success: false })\r\n );\r\n\r\nexport const createBrokerEpic = (api: Api) => {\r\n const companyClient = new CompanyClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n favoriteBroker$(companyClient, action$),\r\n onboardedBroker$(companyClient, action$),\r\n hideBroker$(companyClient, action$),\r\n updatedBrokers$(state$, action$),\r\n fetchFavoriteBrokers$(companyClient, state$, action$),\r\n fetchMoreFavoriteBrokers$(companyClient, state$, action$),\r\n fetchBlockedBrokers$(companyClient, state$, action$),\r\n fetchMoreBlockedBrokers$(companyClient, state$, action$),\r\n fetchOnboardedBrokers$(companyClient, state$, action$),\r\n fetchMoreOnboardedBrokers$(companyClient, state$, action$),\r\n fetchFavoriteBrokersCount$(companyClient, action$, state$),\r\n fetchBlockedBrokersCount$(companyClient, action$, state$),\r\n fetchOnboardedBrokersCount$(companyClient, action$, state$)\r\n );\r\n};\r\n\r\nconst updateBrokersListsFollowingFavouriteOrBlock = (\r\n state: BrokerState,\r\n updatedBrokers: Array>,\r\n updateType: UpdateType\r\n) => {\r\n let newBlockedBrokers = state.blockedBrokers;\r\n let newBlockedBrokersCount = state.blockedBrokersCount;\r\n let newFavoriteBrokers = state.favoriteBrokers;\r\n let newFavoriteBrokersCount = state.favoriteBrokersCount;\r\n let newOnboardBrokers = state.onboardedBrokers;\r\n let newOnboardBrokersCount = state.onboardedBrokersCount;\r\n switch (updateType) {\r\n case 'block':\r\n newBlockedBrokers = updateBrokers(updatedBrokers, state.blockedBrokers);\r\n newFavoriteBrokers = removeBrokers(updatedBrokers, state.favoriteBrokers);\r\n break;\r\n case 'favourite':\r\n newFavoriteBrokers = updateBrokers(updatedBrokers, state.favoriteBrokers);\r\n newOnboardBrokers = changeRelatedBrokers(updatedBrokers, state.onboardedBrokers, updateType);\r\n newBlockedBrokers = removeBrokers(updatedBrokers, state.blockedBrokers);\r\n break;\r\n case 'onboard':\r\n newOnboardBrokers = updateBrokers(updatedBrokers, state.onboardedBrokers);\r\n newFavoriteBrokers = changeRelatedBrokers(updatedBrokers, state.favoriteBrokers, updateType);\r\n newBlockedBrokers = changeRelatedBrokers(updatedBrokers, state.blockedBrokers, updateType);\r\n break;\r\n }\r\n if (!shouldFetchBrokerCountsFromServer(state)) {\r\n newBlockedBrokersCount = newBlockedBrokers.length;\r\n newFavoriteBrokersCount = newFavoriteBrokers.length;\r\n newOnboardBrokersCount = newOnboardBrokers.length;\r\n }\r\n\r\n return {\r\n newBlockedBrokers: newBlockedBrokers,\r\n newBlockedBrokersCount: newBlockedBrokersCount,\r\n newFavoriteBrokers: newFavoriteBrokers,\r\n newFavoriteBrokersCount: newFavoriteBrokersCount,\r\n newOnboardBrokers: newOnboardBrokers,\r\n newOnboardBrokersCount: newOnboardBrokersCount,\r\n };\r\n};\r\n\r\n/**\r\n * If the user never navigates to the My Companies screen, then they\r\n * will have the broker counts populated, but not the broker arrays.\r\n * This makes it difficult to update both counts, since, for example,\r\n * if a broker is favourited, we don't know whether it was previously\r\n * blocked or not, so we can't be sure whether or not to subtract 1 from the\r\n * blocked brokers count. For these cases, we forego updating the counts\r\n * ourselves and just trigger a fresh fetch of the counts from the server.\r\n */\r\nconst shouldFetchBrokerCountsFromServer = (state: BrokerState) =>\r\n state.favoriteBrokers.length !== state.favoriteBrokersCount ||\r\n state.blockedBrokers.length !== state.blockedBrokersCount ||\r\n state.onboardedBrokers.length !== state.onboardedBrokersCount;\r\n\r\n/**\r\n * removes all brokers in the array brokers for which their id equals the\r\n * id of an entry in updatedBrokers that has value = true.\r\n */\r\nconst removeBrokers = (updatedBrokers: Array>, brokers: UserDataCompany[]) =>\r\n filter(\r\n brokers,\r\n (broker: UserDataCompany) =>\r\n !some(\r\n updatedBrokers,\r\n (updatedBroker: CompanyUserData) => updatedBroker.value && updatedBroker.id === broker.id\r\n )\r\n );\r\n\r\nconst updateBrokers = (updated: Array>, brokers: UserDataCompany[]) => {\r\n let newBrokers = brokers;\r\n forEach(updated, (update) => {\r\n if (update.value) {\r\n newBrokers.push({ ...emptyBrokerData, id: update.id });\r\n } else {\r\n newBrokers = filter(newBrokers, (broker) => broker.id !== update.id);\r\n }\r\n });\r\n return newBrokers;\r\n};\r\n\r\n/**\r\n * change brokers metadata according to update type (favorite/block/onboard) to update icons in brokers list.\r\n * */\r\nconst changeRelatedBrokers = (\r\n updatedBrokers: CompanyUserData[],\r\n brokers: UserDataCompany[],\r\n updateType: UpdateType\r\n) =>\r\n map(brokers, (broker) => {\r\n const changedBroker = find(updatedBrokers, (updatedBroker) => updatedBroker.id === broker.id);\r\n return changedBroker !== undefined ? changeBrokerMetadata(broker, updateType, changedBroker.value) : broker;\r\n });\r\n\r\nconst changeBrokerMetadata = (\r\n broker: UserDataCompany,\r\n updateType: UpdateType,\r\n updateValue: boolean\r\n): UserDataCompany => {\r\n const brokerMetadata: CompanyMetadata = {\r\n favoriteBroker: broker.metaData?.favoriteBroker ?? false,\r\n favoriteCarrier: broker.metaData?.favoriteCarrier ?? false,\r\n hiddenBroker: broker.metaData?.hiddenBroker ?? false,\r\n hiddenCarrier: broker.metaData?.hiddenCarrier ?? false,\r\n onboarded: broker.metaData?.onboarded ?? false,\r\n };\r\n switch (updateType) {\r\n case 'block':\r\n return {\r\n ...broker,\r\n metaData: {\r\n ...brokerMetadata,\r\n favoriteBroker: updateValue ? false : brokerMetadata.favoriteBroker,\r\n hiddenBroker: updateValue,\r\n },\r\n };\r\n case 'favourite':\r\n return {\r\n ...broker,\r\n metaData: {\r\n ...brokerMetadata,\r\n hiddenBroker: updateValue ? false : brokerMetadata.hiddenBroker,\r\n favoriteBroker: updateValue,\r\n },\r\n };\r\n case 'onboard':\r\n return {\r\n ...broker,\r\n metaData: {\r\n ...brokerMetadata,\r\n onboarded: updateValue,\r\n },\r\n };\r\n }\r\n return broker;\r\n};\r\n\r\nconst emptyBrokerData: UserDataCompany = {\r\n id: '',\r\n metaData: {\r\n favoriteBroker: false,\r\n favoriteCarrier: false,\r\n hiddenBroker: true,\r\n hiddenCarrier: false,\r\n onboarded: false,\r\n },\r\n docketNumber: {\r\n number: 0,\r\n },\r\n name: '',\r\n address: {\r\n city: '',\r\n state: '',\r\n },\r\n phone: { number: '' },\r\n mcNumber: 0,\r\n usdotNumber: 0,\r\n isOcfp: false,\r\n onboardingUrl: '',\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { CarrierTrackingClient } from '@common/client/CarrierTrackingClient';\r\nimport { SendOneTimeLocationRequest } from '@common/model/OneTimeLocation';\r\nimport { createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface CarrierTrackingState {\r\n conversation: {\r\n requestLocation: {\r\n wasSuccessful?: boolean;\r\n isLoading: boolean;\r\n };\r\n sendLocation: {\r\n wasSuccessful?: boolean;\r\n isSending: boolean;\r\n };\r\n };\r\n}\r\n\r\nconst requestOneTimeLocationFromConversationAction = createApiAction(\r\n 'REQUEST_ONE_TIME_LOCATION_FROM_CONVERSATION'\r\n);\r\n\r\nconst sendOneTimeLocationInConversationAction = createApiAction(\r\n 'SEND_ONE_TIME_LOCATION_IN_CONVERSATION'\r\n);\r\n\r\nexport const requestOneTimeLocationFromConversation = (conversationId: string) =>\r\n requestOneTimeLocationFromConversationAction.fetchAction(conversationId);\r\n\r\nexport const sendOneTimeLocationInConversation = (request: SendOneTimeLocationRequest) =>\r\n sendOneTimeLocationInConversationAction.fetchAction(request);\r\n\r\nconst initialState: CarrierTrackingState = {\r\n conversation: {\r\n requestLocation: {\r\n isLoading: false,\r\n },\r\n sendLocation: {\r\n isSending: false,\r\n },\r\n },\r\n};\r\n\r\nexport const carrierTrackingReducer = createMergedReducer(initialState, [\r\n requestOneTimeLocationFromConversationAction.initiateCase((state: CarrierTrackingState) => {\r\n state.conversation.requestLocation.isLoading = true;\r\n }),\r\n requestOneTimeLocationFromConversationAction.completeCase((state: CarrierTrackingState, action) => {\r\n state.conversation.requestLocation.isLoading = false;\r\n state.conversation.requestLocation.wasSuccessful = action.response.success;\r\n }),\r\n sendOneTimeLocationInConversationAction.initiateCase((state: CarrierTrackingState) => {\r\n state.conversation.sendLocation.isSending = true;\r\n }),\r\n sendOneTimeLocationInConversationAction.completeCase((state: CarrierTrackingState, action) => {\r\n state.conversation.sendLocation.isSending = false;\r\n state.conversation.sendLocation.wasSuccessful = action.response.success;\r\n }),\r\n]);\r\n\r\nexport const createCarrierTrackingEpic = (api: Api) => {\r\n const carrierTrackingClient = new CarrierTrackingClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n requestOneTimeLocationFromConversationAction.createEpic$(\r\n action$,\r\n carrierTrackingClient.requestOneTimeLocationSharing$\r\n ),\r\n sendOneTimeLocationInConversationAction.createEpic$(action$, carrierTrackingClient.sendOneTimeLocation$)\r\n );\r\n};\r\n","import { clone, concat, filter, findIndex, forEach, map } from 'lodash';\r\nimport moment from 'moment';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$, zip as zip$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api } from '@common/api';\r\nimport { CommunicationClient, SendMessageResponse } from '@common/client/CommunicationClient';\r\nimport { Document, MessagesSummary } from '@common/model';\r\nimport {\r\n CanMessageResponse,\r\n CommunicationStatus,\r\n Conversation,\r\n ConversationMessage,\r\n ConversationMessageResponse,\r\n ConversationMessageUsers,\r\n ConversationResponse,\r\n ConversationsListRequest,\r\n ConversationsSummary,\r\n ConversationUserStatuses,\r\n LoadWithDataForConversation,\r\n MessagePayload,\r\n MessageStatusChanged,\r\n} from '@common/model/Conversation';\r\nimport { createAction, createApiAction, createApiActionWithFetchData, ResultResponseAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst NEW_MESSAGE_ACTION_TYPE = 'NEW_MESSAGE_ACTION_TYPE';\r\nconst UPDATE_MESSAGE_ACTION_TYPE = 'UPDATE_MESSAGE_ACTION_TYPE';\r\nconst CLEAR_SENT_MESSAGE_RESPONSE = 'CLEAR_SENT_MESSAGE_RESPONSE';\r\nconst RESET_COMMUNICATIONS_STATE = 'RESET_COMMUNICATIONS_STATE';\r\nconst SET_CONVERSATION_USER_STATUS = 'SET_CONVERSATION_USER_STATUS';\r\nconst INIT_CONVERSATIONS_BY_IDS = 'INITIATE.CONVERSATIONS_BY_IDS';\r\nconst COMPLETE_CONVERSATIONS_BY_IDS = 'COMPLETE.CONVERSATIONS_BY_IDS';\r\n\r\ninterface ConversationByIDAction extends Action {\r\n conversationIds: string[];\r\n userId: string;\r\n}\r\ninterface SetConversationUserStatusAction extends Action {\r\n conversationID: string;\r\n userID: string;\r\n isOnline: boolean;\r\n mostRecentActivity?: string;\r\n}\r\n\r\ntype ConversationsByIDResponseAction = ResultResponseAction> & { userId?: string };\r\n\r\nconst getConversationLoadDetailsAction = createApiAction(\r\n 'GET_CONVERSATION_LOAD_DETAILS'\r\n);\r\n\r\nconst conversationsSummaryAction = createApiAction('FETCH_CONVERSATIONS_SUMMARY');\r\nconst messagesSummaryAction = createApiAction('FETCH_MESSAGES_SUMMARY');\r\nconst communicationStatusApiAction = createApiAction('FETCH_CONVERSATIONS_STATUS');\r\nconst conversationAction = createApiAction('FETCH_CONVERSATIONS');\r\nconst loadConversationAction = createApiActionWithFetchData(\r\n 'FETCH_LOAD_CONVERSATIONS'\r\n);\r\n\r\nconst messagesAction = createApiActionWithFetchData<{ conversationID: string }, ConversationMessageResponse>(\r\n 'FETCH_MESSAGES'\r\n);\r\nconst userStatusApiAction = createApiActionWithFetchData<{ conversationID: string }, ConversationUserStatuses>(\r\n 'COMMUNICATION_USER_STATUS'\r\n);\r\nconst messageReadAction = createApiActionWithFetchData('MESSAGE_READ');\r\nconst sendMessageApiAction = createApiActionWithFetchData('SEND_MESSAGE');\r\n\r\nconst updateMessageApiAction = createApiActionWithFetchData(\r\n 'UPDATE_MESSAGE'\r\n);\r\n\r\nconst shouldMonitorSocketAction = createAction<{ isEnabled: boolean }>('SET_SHOULD_MONITOR_SOCKET');\r\nconst wasSocketPermanentlyDisconnectedAction = createAction<{ isEnabled: boolean }>(\r\n 'SET_WAS_SOCKET_PERMANENTLY_DISCONNECTED'\r\n);\r\nconst markAllMessagesAsReadAction = createApiAction('MARK_ALL_MESSAGES_AS_READ');\r\n\r\nconst updateAttachDocumentsFormAction = createAction>('UPDATE_ATTACH_DOCUMENTS_FORM');\r\n\r\nconst getCanMessageConversationAction = createApiActionWithFetchData<{ userIDs: string[] }, CanMessageResponse>(\r\n 'CAN_MESSAGE'\r\n);\r\nexport const getConversationLoadDetails = getConversationLoadDetailsAction.fetchAction;\r\n\r\ninterface LoadConversationsInfo {\r\n loadID: string;\r\n originUI: string;\r\n inquireBroker: boolean;\r\n}\r\n\r\ninterface MessageReadPayload {\r\n conversationID: string;\r\n messageID: string;\r\n}\r\ninterface SendMessagePayload extends MessagePayload {\r\n key: string;\r\n conversationID: string;\r\n userID: string;\r\n}\r\ninterface ConversationIDAction extends Action {\r\n conversationID: string;\r\n}\r\ninterface NewMessageAction extends Action {\r\n message: ConversationMessage;\r\n conversationID: string;\r\n}\r\n\r\ninterface UpdateMessageAction extends Action {\r\n messageId: string;\r\n conversationId: string;\r\n users: ConversationMessageUsers[];\r\n}\r\n\r\nexport const resetCommunicationsState = (): Action => ({\r\n type: RESET_COMMUNICATIONS_STATE,\r\n});\r\n\r\nexport const onNewMessage = (conversationID: string, message: ConversationMessage): NewMessageAction => ({\r\n type: NEW_MESSAGE_ACTION_TYPE,\r\n message: message,\r\n conversationID: conversationID,\r\n});\r\n\r\nexport const onMessageUpdate = (\r\n conversationId: string,\r\n messageId: string,\r\n users: ConversationMessageUsers[]\r\n): UpdateMessageAction => ({\r\n type: UPDATE_MESSAGE_ACTION_TYPE,\r\n messageId: messageId,\r\n users: users,\r\n conversationId: conversationId,\r\n});\r\n\r\nexport const getConversationsSummary = () => conversationsSummaryAction.fetchAction(undefined);\r\nexport const getMessagesSummary = () => messagesSummaryAction.fetchAction(undefined);\r\nexport const getCommunicationStatus = () => communicationStatusApiAction.fetchAction(undefined);\r\n\r\nexport const getConversationsByID = (conversationIds: string[], userId: string): ConversationByIDAction => ({\r\n type: INIT_CONVERSATIONS_BY_IDS,\r\n conversationIds: conversationIds,\r\n userId: userId,\r\n});\r\n\r\nexport const getLoadConversations = loadConversationAction.fetchAction;\r\n\r\nexport const getConversationList = (unread: boolean, token?: string, limit?: number) =>\r\n conversationAction.fetchAction({ token: token, limit: limit, unread: unread });\r\n\r\nexport const getMessagesList = messagesAction.fetchAction;\r\nexport const sendMessage = (conversationID: string, userID: string, message: MessagePayload, clientID: string) =>\r\n sendMessageApiAction.fetchAction({\r\n ...message,\r\n conversationID: conversationID,\r\n key: `${Date.now()}_${clientID}`,\r\n userID: userID,\r\n });\r\n\r\nexport const updateMessage = (conversationId: string, messageId: string, users: ConversationMessageUsers[]) =>\r\n updateMessageApiAction.fetchAction({\r\n conversationId: conversationId,\r\n messageId: messageId,\r\n users: users,\r\n });\r\nexport const clearSentMessageResponse = (conversationID: string): ConversationIDAction => ({\r\n type: CLEAR_SENT_MESSAGE_RESPONSE,\r\n conversationID: conversationID,\r\n});\r\nexport const markMessageRead = messageReadAction.fetchAction;\r\nexport const getConversationUserStatus = userStatusApiAction.fetchAction;\r\nexport const setConversationUserStatus = (\r\n conversationID: string,\r\n userID: string,\r\n isOnline: boolean,\r\n mostRecentActivity?: string\r\n): SetConversationUserStatusAction => ({\r\n type: SET_CONVERSATION_USER_STATUS,\r\n conversationID: conversationID,\r\n userID: userID,\r\n isOnline: isOnline,\r\n mostRecentActivity: mostRecentActivity,\r\n});\r\n\r\nexport const setShouldMonitorSocket = (shouldMonitor: boolean) =>\r\n shouldMonitorSocketAction.action({ isEnabled: shouldMonitor });\r\n\r\nexport const setWasSocketPermanentlyDisconnected = (wasPermanentlyDisconnected: boolean) =>\r\n wasSocketPermanentlyDisconnectedAction.action({ isEnabled: wasPermanentlyDisconnected });\r\n\r\nexport const markAllMessagesAsRead = () => markAllMessagesAsReadAction.fetchAction(undefined);\r\n\r\nexport const updateAttachDocumentsForm = updateAttachDocumentsFormAction.action;\r\n\r\nexport const resetAttachDocumentsForm = () => updateAttachDocumentsForm(createInitialAttachDocumentsForm());\r\n\r\nexport const getCanMessage = (userIDs: string[]) => getCanMessageConversationAction.fetchAction({ userIDs: userIDs });\r\n\r\ninterface UserConversationMessage extends ConversationMessage {\r\n didFailSending?: boolean;\r\n isSending?: boolean;\r\n}\r\n\r\nexport interface ConversationMessageEntry {\r\n messages: UserConversationMessage[];\r\n isLoading: boolean;\r\n response?: {\r\n success: boolean;\r\n };\r\n isSendMessageLoading: boolean;\r\n isSendMessageSuccess?: boolean;\r\n userStatus: ConversationUserStatuses;\r\n}\r\n\r\nconst createEmptyConversationMessageEntry = (): ConversationMessageEntry => ({\r\n messages: [],\r\n isLoading: false,\r\n isSendMessageLoading: false,\r\n userStatus: { users: [] },\r\n});\r\n\r\ninterface LoadConversationInfo {\r\n isLoading: boolean;\r\n conversationsListIds: string[];\r\n hasError: boolean;\r\n}\r\nexport interface AttachDocumentsForm {\r\n selectedDocuments: Document[];\r\n conversationID?: string;\r\n isAddNewDocument: boolean;\r\n message: string;\r\n}\r\n\r\nconst createInitialAttachDocumentsForm = (): AttachDocumentsForm => ({\r\n conversationID: undefined,\r\n selectedDocuments: [],\r\n isAddNewDocument: false,\r\n message: '',\r\n});\r\n\r\nexport interface CommunicationState {\r\n unreadConversationsCount: number;\r\n unreadMessagesCount: number;\r\n // if this param is modified, also update persist filters in RootReducer.tsx (MOB) and Store.ts (WEB)\r\n isCommunicationsEnabled?: boolean;\r\n isBrokerCommunicationEnabled?: boolean;\r\n conversationsListIds: string[];\r\n isLoadingConversations: boolean;\r\n didFailToLoadConversations: boolean;\r\n conversations: Map;\r\n conversationMessages: Map;\r\n pendingMessageKeys: Set;\r\n loadConversation: Map;\r\n socketMonitor: {\r\n // @FIXME signalR socket is now used for more than just Communication\r\n // this should be moved to a more neutral redux state\r\n shouldMonitor: boolean;\r\n wasSocketPermanentlyDisconnected: boolean;\r\n };\r\n unread: boolean;\r\n markAllMessagesAsRead: {\r\n isLoading: boolean;\r\n wereAllMarkedAsRead: boolean;\r\n updateTime: number;\r\n };\r\n isLastPage: boolean;\r\n token?: string;\r\n attachDocuments: AttachDocumentsForm;\r\n latestMessageTimestamp: number;\r\n latestMessageSendBy: string;\r\n conversationLoadDetails: {\r\n isLoading: boolean;\r\n load?: LoadWithDataForConversation;\r\n };\r\n canMessageConversation: {\r\n canMessage: boolean;\r\n isLoading: boolean;\r\n };\r\n}\r\n\r\nconst initialState: CommunicationState = {\r\n unreadConversationsCount: 0,\r\n unreadMessagesCount: 0,\r\n conversationsListIds: [],\r\n isLoadingConversations: false,\r\n didFailToLoadConversations: false,\r\n\r\n conversations: new Map(),\r\n conversationMessages: new Map(),\r\n pendingMessageKeys: new Set(),\r\n loadConversation: new Map(),\r\n socketMonitor: {\r\n shouldMonitor: false,\r\n wasSocketPermanentlyDisconnected: false,\r\n },\r\n unread: false,\r\n markAllMessagesAsRead: {\r\n isLoading: false,\r\n wereAllMarkedAsRead: false,\r\n updateTime: Date.now(),\r\n },\r\n isLastPage: false,\r\n attachDocuments: createInitialAttachDocumentsForm(),\r\n latestMessageTimestamp: 0,\r\n latestMessageSendBy: '',\r\n conversationLoadDetails: {\r\n isLoading: false,\r\n },\r\n canMessageConversation: {\r\n canMessage: false,\r\n isLoading: false,\r\n },\r\n};\r\n\r\nexport const communicationReducer = createMergedReducer(initialState, [\r\n conversationsSummaryAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.unreadConversationsCount = action.response.payload.unreadConversationsCount;\r\n }\r\n }),\r\n messagesSummaryAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.unreadMessagesCount = action.response.payload.unreadMessagesCount;\r\n }\r\n }),\r\n getConversationLoadDetailsAction.initiateCase((state) => {\r\n state.conversationLoadDetails.isLoading = true;\r\n }),\r\n getConversationLoadDetailsAction.completeCase((state, action) => {\r\n state.conversationLoadDetails.isLoading = false;\r\n if (action.response.success) {\r\n state.conversationLoadDetails.load = action.response.payload;\r\n } else {\r\n state.conversationLoadDetails.load = undefined;\r\n }\r\n }),\r\n\r\n conversationAction.initiateCase((state, action) => {\r\n state.isLoadingConversations = true;\r\n state.token = action.data.token;\r\n }),\r\n conversationAction.completeCase((state, action) => {\r\n state.isLoadingConversations = false;\r\n const conversations: string[] = [];\r\n if (action.response.success) {\r\n if (state.conversationsListIds.length > 0 && state.token) {\r\n forEach(action.response.payload.conversations, (conversation) => {\r\n conversations.push(conversation.conversationId);\r\n state.conversations.set(conversation.conversationId, conversation);\r\n });\r\n state.conversationsListIds = concat(state.conversationsListIds, conversations);\r\n } else {\r\n state.conversations = new Map();\r\n forEach(action.response.payload.conversations, (conversation) => {\r\n conversations.push(conversation.conversationId);\r\n state.conversations.set(conversation.conversationId, conversation);\r\n });\r\n state.conversationsListIds = conversations;\r\n }\r\n state.isLastPage = action.response.payload.isLastPage;\r\n state.token = action.response.payload.token;\r\n state.didFailToLoadConversations = false;\r\n } else {\r\n state.didFailToLoadConversations = true;\r\n }\r\n }),\r\n loadConversationAction.initiateCase((state, action) => {\r\n state.loadConversation.set(action.data.loadID, {\r\n isLoading: true,\r\n conversationsListIds: [],\r\n hasError: false,\r\n });\r\n }),\r\n loadConversationAction.completeCase((state, action) => {\r\n if (!action.fetchData) {\r\n return;\r\n }\r\n const conversationIds: string[] = [];\r\n if (action.response.success) {\r\n forEach(action.response.payload.conversations, (conversation) => {\r\n conversationIds.push(conversation.conversationId);\r\n state.conversations.set(conversation.conversationId, conversation);\r\n });\r\n }\r\n\r\n state.loadConversation.set(action.fetchData.loadID, {\r\n isLoading: false,\r\n conversationsListIds: conversationIds,\r\n hasError: !action.response.success,\r\n });\r\n }),\r\n messagesAction.initiateCase((state, action) => {\r\n const messageEntry: ConversationMessageEntry =\r\n state.conversationMessages.get(action.data.conversationID) ?? createEmptyConversationMessageEntry();\r\n messageEntry.isLoading = true;\r\n messageEntry.response = undefined;\r\n state.conversationMessages.set(action.data.conversationID, messageEntry);\r\n }),\r\n messagesAction.completeCase((state, action) => {\r\n const conversationID = action.fetchData?.conversationID;\r\n if (conversationID) {\r\n const existingMessagesEntry =\r\n state.conversationMessages.get(conversationID) ?? createEmptyConversationMessageEntry();\r\n const newMessagesEntry: ConversationMessageEntry = {\r\n ...existingMessagesEntry,\r\n isLoading: false,\r\n response: {\r\n success: action.response.success,\r\n },\r\n messages: action.response.success ? action.response.payload.messages : [],\r\n };\r\n state.conversationMessages.set(conversationID, newMessagesEntry);\r\n }\r\n }),\r\n sendMessageApiAction.initiateCase((state, action) => {\r\n const messagesEntry: ConversationMessageEntry = state.conversationMessages.get(action.data.conversationID) || {\r\n isLoading: true,\r\n isSendMessageLoading: true,\r\n messages: [],\r\n userStatus: { users: [] },\r\n };\r\n messagesEntry.isSendMessageLoading = true;\r\n messagesEntry.isSendMessageSuccess = undefined;\r\n if (messagesEntry) {\r\n messagesEntry.messages.unshift({\r\n documents: action.data.documents ?? [],\r\n sentAt: moment().format(),\r\n messageId: '',\r\n read: true,\r\n sentBy: action.data.userID,\r\n text: action.data.text?.trim() || '',\r\n isSending: true,\r\n clientMessageId: action.data.key,\r\n });\r\n state.conversationMessages.set(action.data.conversationID, messagesEntry);\r\n state.pendingMessageKeys.add(action.data.key);\r\n }\r\n }),\r\n sendMessageApiAction.completeCase((state, action) => {\r\n if (!action.fetchData) {\r\n return;\r\n }\r\n const messagesEntry: ConversationMessageEntry = state.conversationMessages.get(action.fetchData.conversationID) || {\r\n isLoading: true,\r\n isSendMessageLoading: true,\r\n messages: [],\r\n userStatus: { users: [] },\r\n };\r\n messagesEntry.isSendMessageLoading = false;\r\n\r\n if (messagesEntry) {\r\n const newMessages = clone(messagesEntry);\r\n if (action.response.success) {\r\n newMessages.isSendMessageSuccess = true;\r\n forEach(messagesEntry.messages, (message, i) => {\r\n if (message.clientMessageId === action.fetchData?.key) {\r\n if (!message.isSending) {\r\n //if not sending means we already received it back from the socket and info is correct.\r\n return false;\r\n }\r\n const updatedMessage: UserConversationMessage = { ...message, isSending: false };\r\n if (action.response.success) {\r\n updatedMessage.messageId = action.response.payload.messageId;\r\n //in the future, when we have a way to re-send failed messages,\r\n //if the temporary message was detected and Successfully sent we can\r\n //remove it from the buffer and break the loop\r\n } else {\r\n updatedMessage.didFailSending = true;\r\n }\r\n\r\n newMessages.messages[i] = updatedMessage;\r\n\r\n return false;\r\n }\r\n return true;\r\n });\r\n } else {\r\n newMessages.messages = filter(\r\n newMessages.messages,\r\n (message) => message.clientMessageId !== action.fetchData?.key\r\n );\r\n newMessages.isSendMessageSuccess = false;\r\n }\r\n\r\n state.conversationMessages.set(action.fetchData.conversationID, newMessages);\r\n }\r\n }),\r\n userStatusApiAction.completeCase((state, action) => {\r\n if (!action.fetchData) {\r\n return;\r\n }\r\n if (action.response.success) {\r\n const messagesEntry = state.conversationMessages.get(action.fetchData.conversationID);\r\n if (messagesEntry) {\r\n state.conversationMessages.set(action.fetchData.conversationID, {\r\n ...messagesEntry,\r\n userStatus: action.response.payload,\r\n });\r\n }\r\n }\r\n }),\r\n communicationStatusApiAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.isCommunicationsEnabled = !action.response.payload.disabled;\r\n state.isBrokerCommunicationEnabled = action.response.payload.brokerAcceptsLoadInquiries;\r\n }\r\n }),\r\n markAllMessagesAsReadAction.initiateCase((state) => {\r\n state.markAllMessagesAsRead.isLoading = true;\r\n state.markAllMessagesAsRead.wereAllMarkedAsRead = false;\r\n }),\r\n markAllMessagesAsReadAction.completeCase((state, action) => {\r\n state.markAllMessagesAsRead.isLoading = false;\r\n state.markAllMessagesAsRead.updateTime = Date.now();\r\n if (action.response.success) {\r\n state.markAllMessagesAsRead.wereAllMarkedAsRead = action.response.success;\r\n } else {\r\n state.markAllMessagesAsRead.wereAllMarkedAsRead = false;\r\n }\r\n }),\r\n updateAttachDocumentsFormAction.addCase((state, action) => {\r\n state.attachDocuments = {\r\n ...state.attachDocuments,\r\n ...action.data,\r\n };\r\n }),\r\n shouldMonitorSocketAction.addCase((state, action) => {\r\n state.socketMonitor.shouldMonitor = action.data.isEnabled;\r\n }),\r\n wasSocketPermanentlyDisconnectedAction.addCase((state, action) => {\r\n state.socketMonitor.wasSocketPermanentlyDisconnected = action.data.isEnabled;\r\n }),\r\n getCanMessageConversationAction.initiateCase((state) => {\r\n state.canMessageConversation.canMessage = false;\r\n state.canMessageConversation.isLoading = true;\r\n }),\r\n getCanMessageConversationAction.completeCase((state, action) => {\r\n state.canMessageConversation.isLoading = false;\r\n if (action.response.success) {\r\n state.canMessageConversation.canMessage = action.response.payload.canMessage;\r\n }\r\n }),\r\n {\r\n [RESET_COMMUNICATIONS_STATE]: (state) => ({\r\n ...initialState,\r\n isCommunicationsEnabled: state.isCommunicationsEnabled,\r\n isBrokerCommunicationEnabled: state.isBrokerCommunicationEnabled,\r\n }),\r\n [NEW_MESSAGE_ACTION_TYPE]: (state, action: NewMessageAction) => {\r\n const newMessages: ConversationMessageEntry = state.conversationMessages.get(action.conversationID) || {\r\n isLoading: false,\r\n isSendMessageLoading: false,\r\n messages: [],\r\n userStatus: { users: [] },\r\n };\r\n const messageKey = action.message.clientMessageId || '';\r\n if (state.pendingMessageKeys.has(messageKey)) {\r\n state.pendingMessageKeys.delete(messageKey);\r\n forEach(newMessages.messages, (message, i) => {\r\n if (message.clientMessageId === messageKey) {\r\n newMessages.messages[i] = action.message;\r\n return false;\r\n }\r\n return true;\r\n });\r\n } else {\r\n newMessages.messages.unshift(action.message);\r\n }\r\n state.conversationMessages.set(action.conversationID, newMessages);\r\n state.latestMessageTimestamp = Date.now();\r\n state.latestMessageSendBy = action.message.sentBy;\r\n },\r\n [UPDATE_MESSAGE_ACTION_TYPE]: (state, action: UpdateMessageAction) => {\r\n const newMessages: ConversationMessageEntry = state.conversationMessages.get(action.conversationId) || {\r\n isLoading: false,\r\n isSendMessageLoading: false,\r\n messages: [],\r\n userStatus: { users: [] },\r\n };\r\n\r\n const messageKey = action.messageId || '';\r\n forEach(newMessages.messages, (message, i) => {\r\n if (message.messageId === messageKey) {\r\n newMessages.messages[i].users = action.users;\r\n }\r\n });\r\n\r\n state.conversationMessages.set(action.conversationId, newMessages);\r\n },\r\n [COMPLETE_CONVERSATIONS_BY_IDS]: (state, action: ConversationsByIDResponseAction) => {\r\n if (action.response.success) {\r\n forEach(action.response.payload, (conversation) => {\r\n if (conversation) {\r\n const index = findIndex(\r\n state.conversationsListIds,\r\n (conversationID) => conversation.conversationId === conversationID\r\n );\r\n const userId = action.userId ?? '';\r\n if (index === -1 && !conversation.mostRecentMessageId && userId && conversation.createdBy !== userId) {\r\n // If another user starts a conversation but does not send a message, API will\r\n // not include it in calls to GET /conversations, but it will still send us an\r\n // update over the socket for this new \"conversation\". In this case, we ignore it.\r\n // Note that if the logged-in user starts a conversation without sending a message,\r\n // API will include it in conversations results, so we do not ignore in that case.\r\n return;\r\n }\r\n state.conversations.set(conversation.conversationId, conversation);\r\n if (index !== -1) {\r\n state.conversationsListIds.splice(index, 1);\r\n }\r\n state.conversationsListIds.unshift(conversation.conversationId);\r\n }\r\n });\r\n }\r\n },\r\n [CLEAR_SENT_MESSAGE_RESPONSE]: (state, action: ConversationIDAction) => {\r\n const messagesEntry = state.conversationMessages.get(action.conversationID);\r\n if (messagesEntry) {\r\n state.conversationMessages.set(action.conversationID, {\r\n ...messagesEntry,\r\n isSendMessageSuccess: undefined,\r\n });\r\n }\r\n },\r\n [SET_CONVERSATION_USER_STATUS]: (state, action: SetConversationUserStatusAction) => {\r\n const messagesEntry = state.conversationMessages.get(action.conversationID);\r\n if (messagesEntry) {\r\n const userIndex = findIndex(messagesEntry.userStatus.users, (user) => user.userId === action.userID);\r\n if (userIndex !== -1) {\r\n const updatedUsers = clone(messagesEntry.userStatus.users);\r\n updatedUsers[userIndex].online = action.isOnline;\r\n state.conversationMessages.set(action.conversationID, {\r\n ...messagesEntry,\r\n userStatus: {\r\n ...messagesEntry.userStatus,\r\n users: updatedUsers,\r\n },\r\n });\r\n }\r\n }\r\n },\r\n },\r\n]);\r\n\r\nconst conversationsByID$ = (action$: ActionsObservable, client: CommunicationClient) =>\r\n action$.ofType(INIT_CONVERSATIONS_BY_IDS).pipe(\r\n mergeMap$((action: ConversationByIDAction) => {\r\n const conversationRequests = map(action.conversationIds, (conversationID) =>\r\n client.getConversation$(conversationID)\r\n );\r\n return zip$(...conversationRequests).pipe(\r\n map$((responses): ConversationsByIDResponseAction => {\r\n const conversations = map(responses, (response) =>\r\n response.result(\r\n (data) => data,\r\n () => undefined\r\n )\r\n );\r\n return {\r\n type: COMPLETE_CONVERSATIONS_BY_IDS,\r\n userId: action.userId,\r\n response: {\r\n success: true,\r\n payload: conversations,\r\n },\r\n };\r\n })\r\n );\r\n })\r\n );\r\n\r\nexport const createCommunicationsEpic$ = (api: Api) => {\r\n const client = new CommunicationClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n conversationsSummaryAction.createEpic$(action$, client.getConversationsSummary$),\r\n messagesSummaryAction.createEpic$(action$, client.getMessagesSummary$),\r\n conversationAction.createEpic$(action$, (data) => client.getConversations$(data)),\r\n loadConversationAction.createEpic$(action$, (data) =>\r\n client.getLoadConversations$(data.loadID, data.originUI, data.inquireBroker)\r\n ),\r\n messagesAction.createEpic$(action$, (data) => client.getMessages$(data.conversationID)),\r\n sendMessageApiAction.createEpic$(action$, (data) =>\r\n client.sendMessage$(data.conversationID, {\r\n text: data.text?.trim(),\r\n documents: data.documents,\r\n clientMessageId: data.key,\r\n })\r\n ),\r\n messageReadAction.createEpic$(action$, (data) => client.markMessageRead$(data.conversationID, data.messageID)),\r\n userStatusApiAction.createEpic$(action$, (data) => client.getUserStatus$(data.conversationID)),\r\n conversationsByID$(action$, client),\r\n getConversationLoadDetailsAction.createEpic$(action$, client.getConversationLoadDetails$),\r\n communicationStatusApiAction.createEpic$(action$, client.getCommunicationStatus$),\r\n markAllMessagesAsReadAction.createEpic$(action$, client.markAllMessagesAsRead$),\r\n getCanMessageConversationAction.createEpic$(action$, (data) => client.getCanMessage$(data.userIDs))\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { CompanyAvatarClient, UploadAvatarData } from '@common/client/CompanyAvatarClient';\r\nimport { createApiAction, createApiActionWithFetchData } from '@common/redux/Base';\r\n\r\nimport { createMergedReducer } from '../ReduxHelper';\r\nimport { Avatar } from './AvatarEpic';\r\n\r\nconst fetchCompanyAvatarAction = createApiAction('FETCH_COMPANY_AVATAR');\r\n\r\nconst fetchSmallCompanyAvatarAction = createApiAction('FETCH_SMALL_COMPANY_AVATAR');\r\n\r\nconst fetchSmallCompaniesAvatarAction = createApiActionWithFetchData('FETCH_SMALL_COMPANIES_AVATAR');\r\n\r\nconst uploadCompanyAvatarAction = createApiAction('UPLOAD_COMPANY_AVATAR');\r\n\r\nconst deleteCompanyAvatarAction = createApiAction('DELETE_COMPANY_AVATAR');\r\n\r\nexport const uploadCompanyAvatar = (documentMetadata: UploadAvatarData) =>\r\n uploadCompanyAvatarAction.fetchAction(documentMetadata);\r\n\r\nexport const fetchCompanyAvatar = () => fetchCompanyAvatarAction.fetchAction(undefined);\r\n\r\nexport const fetchSmallCompanyAvatar = () => fetchSmallCompanyAvatarAction.fetchAction(undefined);\r\n\r\nexport const fetchCompaniesAvatar = (id: string) => fetchSmallCompaniesAvatarAction.fetchAction(id);\r\n\r\nexport const deleteCompanyAvatar = () => deleteCompanyAvatarAction.fetchAction(undefined);\r\n\r\nexport enum AvatarType {\r\n Company = 'companyAvatar',\r\n Profile = 'profileAvatar',\r\n}\r\nexport interface CompaniesAvatarInfo {\r\n isLoading: boolean;\r\n companiesAvatar: string | null;\r\n}\r\nexport interface CompaniesAvatarState {\r\n isFetching: boolean;\r\n isFetchingForSmall: boolean;\r\n isFetchingForFull: boolean;\r\n /** Null is for if user has no avatar, Undefined means the avatar is not loaded yet. */\r\n currentAvatarSmall: string | undefined | null;\r\n currentAvatarFull: string | undefined | null;\r\n isUploadingAvatar: boolean;\r\n isUploadError: boolean | undefined;\r\n companiesAvatarMap: Map;\r\n isDeleteCompanyAvatarLoading: boolean;\r\n wasDeleteCompanyAvatarCompleted: boolean;\r\n}\r\n\r\nconst initialState: CompaniesAvatarState = {\r\n isFetching: false,\r\n isFetchingForSmall: false,\r\n isFetchingForFull: false,\r\n currentAvatarSmall: undefined,\r\n currentAvatarFull: undefined,\r\n isUploadingAvatar: false,\r\n isUploadError: false,\r\n companiesAvatarMap: new Map(),\r\n isDeleteCompanyAvatarLoading: false,\r\n wasDeleteCompanyAvatarCompleted: false,\r\n};\r\n\r\nexport const companyAvatarReducer = createMergedReducer(initialState, [\r\n fetchSmallCompaniesAvatarAction.initiateCase((state, action) => {\r\n const companiesAvatarInfo = state.companiesAvatarMap.get(action.data) ?? ({} as CompaniesAvatarInfo);\r\n companiesAvatarInfo.isLoading = true;\r\n state.companiesAvatarMap.set(action.data, companiesAvatarInfo);\r\n }),\r\n fetchSmallCompaniesAvatarAction.completeCase((state, action) => {\r\n const companiesAvatarInfo = state.companiesAvatarMap.get(action.fetchData ?? '') ?? ({} as CompaniesAvatarInfo);\r\n companiesAvatarInfo.isLoading = false;\r\n if (action.response.success) {\r\n const mimeType = action.response.headers?.['content-type'];\r\n companiesAvatarInfo.companiesAvatar = mimeType ? `data:${mimeType};base64,${action.response.payload}` : null;\r\n }\r\n }),\r\n\r\n fetchCompanyAvatarAction.initiateCase((state) => {\r\n state.isFetchingForFull = true;\r\n }),\r\n\r\n fetchCompanyAvatarAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const mimeType = action.response.headers?.['content-type'];\r\n state.currentAvatarFull = mimeType ? `data:${mimeType};base64,${action.response.payload}` : null;\r\n state.isFetchingForFull = false;\r\n } else {\r\n state.currentAvatarFull = null;\r\n }\r\n state.isFetchingForFull = false;\r\n }),\r\n\r\n fetchSmallCompanyAvatarAction.initiateCase((state) => {\r\n state.isFetchingForSmall = true;\r\n }),\r\n\r\n fetchSmallCompanyAvatarAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const mimeType = action.response.headers?.['content-type'];\r\n state.currentAvatarSmall = mimeType ? `data:${mimeType};base64,${action.response.payload}` : null;\r\n state.isFetchingForSmall = false;\r\n } else {\r\n state.currentAvatarSmall = null;\r\n }\r\n state.isFetchingForSmall = false;\r\n }),\r\n\r\n uploadCompanyAvatarAction.initiateCase((state) => {\r\n state.isUploadingAvatar = true;\r\n state.isUploadError = undefined;\r\n }),\r\n\r\n uploadCompanyAvatarAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.isUploadError = false;\r\n state.isUploadingAvatar = false;\r\n state.currentAvatarFull = undefined;\r\n state.currentAvatarSmall = undefined;\r\n } else {\r\n state.isUploadError = true;\r\n state.isUploadingAvatar = false;\r\n }\r\n }),\r\n deleteCompanyAvatarAction.initiateCase((state) => {\r\n state.isDeleteCompanyAvatarLoading = true;\r\n state.wasDeleteCompanyAvatarCompleted = false;\r\n }),\r\n deleteCompanyAvatarAction.completeCase((state, action) => {\r\n state.isDeleteCompanyAvatarLoading = false;\r\n if (action.response.success) {\r\n state.wasDeleteCompanyAvatarCompleted = true;\r\n } else {\r\n state.wasDeleteCompanyAvatarCompleted = false;\r\n }\r\n }),\r\n]);\r\n\r\nexport const createCompanyAvatarEpic = (api: Api) => {\r\n const client = new CompanyAvatarClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchCompanyAvatarAction.createEpic$(action$, () => client.fetchCompanyAvatar$('Full')),\r\n fetchSmallCompanyAvatarAction.createEpic$(action$, () => client.fetchCompanyAvatar$('Small')),\r\n fetchSmallCompaniesAvatarAction.createEpic$(action$, client.fetchOtherCompanyAvatar$),\r\n uploadCompanyAvatarAction.createEpic$(action$, client.uploadCompanyAvatar$),\r\n deleteCompanyAvatarAction.createEpic$(action$, client.deleteCompanyAvatar$)\r\n );\r\n};\r\n","import { assign, clone, map, round } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { iif as if$, merge as merge$, of as of$ } from 'rxjs';\r\nimport { flatMap as flatMap$, map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiErrorCode, ApiResponse123 } from '@common/api';\r\nimport { CompanyClient, CompanyUserData } from '@common/client';\r\nimport { ContactClient } from '@common/client/ContactClient';\r\nimport { phoneNumberWithoutAreaCode } from '@common/helper';\r\nimport {\r\n CarrierRating,\r\n Company,\r\n CompanyAuthorityInfo,\r\n CompanyInfoFields,\r\n CompanyInsuranceInfo,\r\n CompanyLicensingInfo,\r\n CompanyUserDataPayload,\r\n CompanyVerificationDetailsResponse,\r\n CreditInfo,\r\n UserDataCompany,\r\n} from '@common/model';\r\nimport { CarrierInfo, ContactBrokerInfo } from '@common/model/Carrier';\r\nimport {\r\n ApiAction,\r\n BaseState,\r\n createApiAction,\r\n createApiActionWithFetchData,\r\n EmptyResponse,\r\n Response,\r\n} from '@common/redux/Base';\r\nimport { simpleApiEpicToAction } from '@common/redux/epic/EpicHelper';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst FAVORITE_CARRIER = 'FAVORITE_CARRIER';\r\nconst HIDE_CARRIER = 'HIDE_CARRIER';\r\nconst FETCH_COMPANY = 'FETCH_COMPANY';\r\nconst FETCH_COMPANY_AUTHORITY = 'FETCH_COMPANY_AUTHORITY';\r\nconst FETCH_COMPANY_AUTHORITY_LICENSING = 'FETCH_COMPANY_AUTHORITY_LICENSING';\r\nconst FETCH_COMPANY_INSURANCE = 'FETCH_COMPANY_INSURANCE';\r\nconst FETCHED_COMPANY = 'FETCHED_COMPANY';\r\nconst FETCHED_COMPANY_AUTHORITY = 'FETCHED_COMPANY_AUTHORITY';\r\nconst FETCHED_COMPANY_AUTHORITY_LICENSING = 'FETCHED_COMPANY_AUTHORITY_LICENSING';\r\nconst FETCHED_COMPANY_INSURANCE = 'FETCHED_COMPANY_INSURANCE';\r\nconst UPDATE_COMPANY_INFO = 'UPDATE_COMPANY_INFO';\r\nconst CHANGE_COMPANY_INFO = 'CHANGE_COMPANY_INFO';\r\nconst LOAD_COMPANY_INFO = 'LOAD_COMPANY_INFO';\r\nconst ONBOARD_CARRIER = 'ONBOARD_CARRIER';\r\nconst FETCH_CREDIT_INFO = 'FETCH_CREDIT_INFO';\r\nconst CREDIT_INFO_FETCHED = 'CREDIT_INFO_FETCHED';\r\n\r\nconst COMPANY_INFO_LOADED = 'COMPANY_INFO_LOADED';\r\nconst COMPANY_INFO_UPDATED = 'COMPANY_INFO_UPDATED';\r\nexport const CARRIER_FAVORITED = 'CARRIER_FAVORITED';\r\nexport const CARRIER_HIDDEN = 'CARRIER_HIDDEN';\r\nexport const CARRIER_ONBOARDED = 'CARRIER_ONBOARDED';\r\n\r\ntype CompanyActionResponse = EmptyResponse & { updated: Array> };\r\ntype CompanyResponse = Response;\r\ntype CompanyDetailResponse = Response;\r\ntype CompanyPatchResponse = Response<{\r\n onboardingUrl?: string;\r\n}>;\r\ntype CompanyAuthorityResponse = Response;\r\ntype CompanyAuthorityLicensingResponse = Response<{\r\n authorityInfo: CompanyAuthorityInfo;\r\n licensingInfo: CompanyLicensingInfo;\r\n}>;\r\ntype CompanyInsuranceResponse = Response;\r\ntype CreditInfoResponse = Response;\r\n\r\nexport type CompanyUserDataResponse = Response;\r\n\r\nexport interface FavoriteCompany {\r\n id: string;\r\n favorite: boolean;\r\n}\r\n\r\nexport interface HideCompany {\r\n id: string;\r\n hide: boolean;\r\n}\r\n\r\nexport interface OnboardCarrier {\r\n id: string;\r\n onboard: boolean;\r\n}\r\n\r\ninterface SetOnboardingURLPayload {\r\n id: string;\r\n onboardingUrl: string;\r\n}\r\n\r\ninterface FavoriteCarriersAction extends Action {\r\n carriers: FavoriteCompany[];\r\n}\r\n\r\ninterface HideCarriersAction extends Action {\r\n carriers: HideCompany[];\r\n}\r\n\r\ninterface OnboardCarrierAction extends Action {\r\n carriers: OnboardCarrier[];\r\n}\r\n\r\nexport interface CompanyResponseAction extends Action {\r\n response: EmptyResponse;\r\n updated: Array>;\r\n}\r\n\r\ninterface UpdateCompanyInfoAction extends Action {\r\n updateInfo: Company;\r\n}\r\ninterface FetchComanpanyAction extends Action {\r\n id: string;\r\n}\r\ninterface FetchCompanyAuthorityAction extends Action {\r\n id: string;\r\n}\r\ninterface FetchCreditInfoAction extends Action {\r\n id: string;\r\n}\r\ninterface ChangeCompanyInfoAction extends Action {\r\n updateInfo: Partial;\r\n}\r\n\r\ninterface CompanyInfoAction extends Action {\r\n response: CompanyResponse;\r\n}\r\ninterface CompanyDetailResponseAction extends Action {\r\n response: CompanyDetailResponse;\r\n}\r\n\r\ninterface CompanyPatchResponseAction extends Action {\r\n response: CompanyPatchResponse;\r\n}\r\ninterface CompanyAuthorityResponseAction extends Action {\r\n response: CompanyAuthorityResponse;\r\n companyID: string;\r\n}\r\n\r\ninterface CompanyAuthorityLicensingResponseAction extends Action {\r\n response: CompanyAuthorityLicensingResponse;\r\n companyID: string;\r\n}\r\ninterface CompanyInsuranceResponseAction extends Action {\r\n response: CompanyInsuranceResponse;\r\n companyID: string;\r\n}\r\ninterface CreditInfoResponseAction extends Action {\r\n response: CreditInfoResponse;\r\n}\r\n\r\nexport const getCreditInfo = (id: string): FetchCreditInfoAction => ({\r\n type: FETCH_CREDIT_INFO,\r\n id: id,\r\n});\r\nexport const getCompanyInfo = (): Action => ({\r\n type: LOAD_COMPANY_INFO,\r\n});\r\nexport const getCompanyDetails = (id: string): FetchComanpanyAction => ({\r\n type: FETCH_COMPANY,\r\n id: id,\r\n});\r\nexport const getCompanyAuthority = (id: string): FetchCompanyAuthorityAction => ({\r\n type: FETCH_COMPANY_AUTHORITY,\r\n id: id,\r\n});\r\nexport const getCompanyAuthorityLicensing = (id: string): FetchCompanyAuthorityAction => ({\r\n type: FETCH_COMPANY_AUTHORITY_LICENSING,\r\n id: id,\r\n});\r\nexport const getCompanyInsurance = (id: string): FetchComanpanyAction => ({\r\n type: FETCH_COMPANY_INSURANCE,\r\n id: id,\r\n});\r\n\r\nexport const updateCompanyInfo = (company: Company): UpdateCompanyInfoAction => ({\r\n type: UPDATE_COMPANY_INFO,\r\n updateInfo: company,\r\n});\r\n\r\nexport const changeCompanyInfo = (company: Partial): ChangeCompanyInfoAction => ({\r\n type: CHANGE_COMPANY_INFO,\r\n updateInfo: company,\r\n});\r\n\r\nexport const favoriteCarriers = (carriers: FavoriteCompany[]): FavoriteCarriersAction => {\r\n return { type: FAVORITE_CARRIER, carriers: carriers };\r\n};\r\n\r\nexport const hideCarriers = (carriers: HideCompany[]): HideCarriersAction => {\r\n return { type: HIDE_CARRIER, carriers: carriers };\r\n};\r\n\r\nexport const onboardCarriers = (carriers: OnboardCarrier[]): OnboardCarrierAction => {\r\n return { type: ONBOARD_CARRIER, carriers: carriers };\r\n};\r\n\r\nconst carrierResponse = (\r\n response: EmptyResponse,\r\n type: string,\r\n updated: Array>\r\n): CompanyResponseAction => ({\r\n type: type,\r\n response: response,\r\n updated: updated,\r\n});\r\n\r\nconst getCompanyInformationFromVolpeAction = createApiAction(\r\n 'COMPANY_INFORMATION_FROM_VOLPE'\r\n);\r\nexport const getCompanyInformationFromVolpe = (dotNumber: string) =>\r\n getCompanyInformationFromVolpeAction.fetchAction(dotNumber);\r\n\r\nconst getCarrierRatingAction = createApiAction('FETCH_CARRIER_RATING');\r\nexport const getCarrierRating = (dotNumber: string) => getCarrierRatingAction.fetchAction(dotNumber);\r\n\r\nconst setOnboardingURLAction = createApiAction('SET_COMPANY_ONBOARDING_URL');\r\nexport const setOnboardingUrl = (id: string, onboardingUrl: string) =>\r\n setOnboardingURLAction.fetchAction({ id: id, onboardingUrl: onboardingUrl });\r\n\r\nexport interface CompanyState extends BaseState {\r\n favoriteResponse?: CompanyActionResponse;\r\n hideResponse?: CompanyActionResponse;\r\n onboardResponse?: CompanyActionResponse;\r\n selectedCompany?: UserDataCompany;\r\n authorities?: CompanyAuthorityInfo;\r\n licensing?: CompanyLicensingInfo;\r\n insurance?: CompanyInsuranceInfo;\r\n updateCompany: {\r\n isLoading: boolean;\r\n updatedSuccessfully?: boolean;\r\n errorMessage: string;\r\n updateTime?: number;\r\n };\r\n isLoadingCompany: boolean;\r\n isLoadingCompanyInformation: boolean;\r\n didRetrieveCompanyDetailsSuccessfully?: boolean;\r\n company?: Company;\r\n creditInfo?: CreditInfo;\r\n isLoadingCreditRating: boolean;\r\n isLoadingAuthority: boolean;\r\n isLoadingInsurance: boolean;\r\n isLoadingVolpeInformation: boolean;\r\n companyVolpeInformation?: CompanyVerificationDetailsResponse;\r\n carrierRating?: CarrierRating;\r\n didCarrierRatingFetchFail?: boolean;\r\n isLoadingCarrierRating?: boolean;\r\n isLoadingOnboardingUrl: boolean;\r\n didSetOnboardingURLSuccessfully?: boolean;\r\n didSendOnboardingUrl: boolean;\r\n}\r\n\r\nconst initialState: CompanyState = {\r\n updateCompany: {\r\n isLoading: false,\r\n errorMessage: '',\r\n },\r\n isLoadingCompany: false,\r\n isLoadingCompanyInformation: false,\r\n isLoading: false,\r\n isLoadingCreditRating: false,\r\n isLoadingAuthority: false,\r\n isLoadingInsurance: false,\r\n isLoadingVolpeInformation: false,\r\n isLoadingOnboardingUrl: false,\r\n didSendOnboardingUrl: false,\r\n};\r\n\r\nexport const companyReducer = createMergedReducer(initialState, [\r\n {\r\n [FAVORITE_CARRIER]: (state) => {\r\n state.isLoading = true;\r\n },\r\n [ONBOARD_CARRIER]: (state) => {\r\n state.isLoading = true;\r\n },\r\n [HIDE_CARRIER]: (state) => {\r\n state.isLoading = true;\r\n },\r\n [CARRIER_HIDDEN]: (state, action: CompanyResponseAction) => {\r\n return {\r\n ...state,\r\n isLoading: false,\r\n hideResponse: { ...action.response, updated: action.updated },\r\n };\r\n },\r\n [CARRIER_FAVORITED]: (state, action) => {\r\n const favoriteAction = action as CompanyResponseAction;\r\n return {\r\n ...state,\r\n isLoading: false,\r\n favoriteResponse: { ...favoriteAction.response, updated: favoriteAction.updated },\r\n };\r\n },\r\n [CARRIER_ONBOARDED]: (state, action: CompanyResponseAction) => {\r\n return {\r\n ...state,\r\n isLoading: false,\r\n onboardResponse: { ...action.response, updated: action.updated },\r\n };\r\n },\r\n [LOAD_COMPANY_INFO]: (state) => {\r\n return {\r\n ...state,\r\n updateCompany: {\r\n isLoading: false,\r\n errorMessage: '',\r\n },\r\n isLoadingCompany: true,\r\n company: undefined,\r\n };\r\n },\r\n [COMPANY_INFO_LOADED]: (state, action: CompanyInfoAction) => {\r\n const company = action.response.payload;\r\n if (company && company.phone) {\r\n company.phone.number = phoneNumberWithoutAreaCode(company.phone);\r\n }\r\n const didReceiveCompany = action.response.success && company !== undefined;\r\n const didReceiveErrorNoCompany =\r\n !action.response.success &&\r\n action.response.error &&\r\n action.response.error.code === ApiErrorCode.USER_DOES_NOT_HAVE_COMPANY;\r\n return {\r\n ...state,\r\n isLoadingCompany: false,\r\n company: company,\r\n didRetrieveCompanyDetailsSuccessfully: didReceiveCompany || didReceiveErrorNoCompany,\r\n };\r\n },\r\n [UPDATE_COMPANY_INFO]: (state) => {\r\n return {\r\n ...state,\r\n updateCompany: {\r\n isLoading: true,\r\n errorMessage: '',\r\n },\r\n };\r\n },\r\n [FETCH_COMPANY]: (state) => {\r\n state.isLoadingCompanyInformation = true;\r\n },\r\n [FETCHED_COMPANY]: (state, action: CompanyDetailResponseAction) => {\r\n const company = action.response.payload;\r\n let selectedCompany = undefined;\r\n if (company) {\r\n const mcNumber = company.mcNumber || company.brokerMcNumber;\r\n const docketNumber = mcNumber ? { prefix: CompanyInfoFields.MC, number: mcNumber } : undefined;\r\n selectedCompany = {\r\n ...company,\r\n docketNumber: company.docketNumber ? company.docketNumber : docketNumber,\r\n };\r\n }\r\n state.selectedCompany = selectedCompany;\r\n state.isLoadingCompanyInformation = false;\r\n },\r\n\r\n [FETCHED_COMPANY_AUTHORITY]: (state, action: CompanyAuthorityResponseAction) => {\r\n state.authorities = action.response.payload;\r\n },\r\n\r\n [FETCH_COMPANY_AUTHORITY_LICENSING]: (state) => {\r\n state.isLoadingAuthority = true;\r\n state.authorities = undefined;\r\n state.licensing = undefined;\r\n },\r\n\r\n [FETCHED_COMPANY_AUTHORITY_LICENSING]: (state, action: CompanyAuthorityLicensingResponseAction) => {\r\n const authorities = action.response.payload?.authorityInfo;\r\n const licensing = action.response.payload?.licensingInfo;\r\n return {\r\n ...state,\r\n authorities: authorities,\r\n isLoadingAuthority: false,\r\n licensing: licensing,\r\n };\r\n },\r\n [FETCH_COMPANY_INSURANCE]: (state) => {\r\n state.isLoadingInsurance = true;\r\n },\r\n [FETCHED_COMPANY_INSURANCE]: (state, action: CompanyInsuranceResponseAction) => {\r\n const insurance = action.response.payload;\r\n return {\r\n ...state,\r\n isLoadingInsurance: false,\r\n insurance: insurance,\r\n };\r\n },\r\n [CHANGE_COMPANY_INFO]: (state, action: ChangeCompanyInfoAction) => {\r\n const { id, ...company } = action.updateInfo;\r\n state.company = assign(clone(state.company), company);\r\n },\r\n [COMPANY_INFO_UPDATED]: (state, action: CompanyInfoAction) => {\r\n const updatedCompany = action.response.payload;\r\n return {\r\n ...state,\r\n updateCompany: {\r\n isLoading: false,\r\n updatedSuccessfully: action.response.success,\r\n errorMessage:\r\n // same api error code (4040092) for both incorrect DOT and MC number\r\n action.response.error && action.response.error.code === 4040092 ? action.response.error.message : '',\r\n updateTime: Date.now(),\r\n },\r\n company: updatedCompany ? updatedCompany : state.company,\r\n };\r\n },\r\n [FETCH_CREDIT_INFO]: (state) => {\r\n state.isLoadingCreditRating = true;\r\n },\r\n [CREDIT_INFO_FETCHED]: (state, action: CreditInfoResponseAction) => {\r\n const creditInfo = action.response.payload;\r\n return {\r\n ...state,\r\n creditInfo: creditInfo,\r\n isLoadingCreditRating: false,\r\n };\r\n },\r\n },\r\n getCompanyInformationFromVolpeAction.initiateCase((state) => {\r\n state.isLoadingVolpeInformation = true;\r\n }),\r\n getCompanyInformationFromVolpeAction.completeCase((state, action) => {\r\n if (action.response.success && action.response.payload) {\r\n state.companyVolpeInformation = action.response.payload;\r\n }\r\n state.isLoadingVolpeInformation = false;\r\n }),\r\n getCarrierRatingAction.initiateCase((state) => {\r\n state.isLoadingCarrierRating = true;\r\n state.didCarrierRatingFetchFail = undefined;\r\n }),\r\n getCarrierRatingAction.completeCase((state, { response }) => {\r\n if (response.success) {\r\n state.carrierRating = { ...response.payload, starRating: round(response.payload.starRating, 1) };\r\n } else {\r\n state.carrierRating = undefined;\r\n state.didCarrierRatingFetchFail = response.error.code !== ApiErrorCode.RATING_NOT_FOUND_FOR_USDOT;\r\n }\r\n state.isLoadingCarrierRating = false;\r\n }),\r\n setOnboardingURLAction.initiateCase((state) => {\r\n state.isLoadingOnboardingUrl = true;\r\n state.didSendOnboardingUrl = false;\r\n }),\r\n setOnboardingURLAction.completeCase((state, action: CompanyPatchResponseAction) => {\r\n state.didSetOnboardingURLSuccessfully = action?.response?.success;\r\n state.isLoadingOnboardingUrl = false;\r\n state.didSendOnboardingUrl = true;\r\n }),\r\n]);\r\n\r\nconst carrierInfoApiAction = createApiActionWithFetchData('CONTACT_CARRIER_INFO');\r\nconst brokerInfoApiAction = createApiActionWithFetchData('CONTACT_BROKER_INFO');\r\n\r\nexport const fetchCarrierInfo = carrierInfoApiAction.fetchAction;\r\nexport const fetchBrokerInfo = brokerInfoApiAction.fetchAction;\r\n\r\nexport interface ContactInfo {\r\n isLoading: boolean;\r\n carrier?: CarrierInfo;\r\n broker?: ContactBrokerInfo;\r\n}\r\n\r\n//@TODO: Merge with company reducer.\r\nexport interface ContactState {\r\n contacts: Map;\r\n authority: Map;\r\n}\r\nconst initialContactState: ContactState = {\r\n contacts: new Map(),\r\n authority: new Map(),\r\n};\r\nexport const contactReducer = createMergedReducer(initialContactState, [\r\n carrierInfoApiAction.initiateCase((state, action) => {\r\n const contactInfo = state.contacts.get(action.data) || {\r\n isLoading: true,\r\n };\r\n contactInfo.isLoading = true;\r\n state.contacts.set(action.data, contactInfo);\r\n }),\r\n carrierInfoApiAction.completeCase((state, action) => {\r\n const contactInfo = state.contacts.get(action.fetchData || '') || {\r\n isLoading: false,\r\n };\r\n contactInfo.isLoading = false;\r\n if (action.response.success) {\r\n contactInfo.carrier = action.response.payload;\r\n }\r\n }),\r\n brokerInfoApiAction.initiateCase((state, action) => {\r\n const contactInfo = state.contacts.get(action.data) || {\r\n isLoading: true,\r\n };\r\n contactInfo.isLoading = true;\r\n state.contacts.set(action.data, contactInfo);\r\n }),\r\n brokerInfoApiAction.completeCase((state, action) => {\r\n const contactInfo = state.contacts.get(action.fetchData || '') || {\r\n isLoading: false,\r\n };\r\n contactInfo.isLoading = false;\r\n if (action.response.success) {\r\n contactInfo.broker = action.response.payload;\r\n }\r\n }),\r\n\r\n {\r\n [FETCHED_COMPANY_AUTHORITY]: (state, action: CompanyAuthorityResponseAction) => {\r\n if (action.response.success && action.response.payload) {\r\n state.authority.set(action.companyID, action.response.payload);\r\n }\r\n },\r\n },\r\n]);\r\n\r\nconst favoriteCarrier$ = (client: CompanyClient, action$: ActionsObservable) =>\r\n action$.ofType(FAVORITE_CARRIER).pipe(\r\n flatMap$((action: FavoriteCarriersAction) => {\r\n const carriers: Array> = map(action.carriers, (carrier) => ({\r\n id: carrier.id,\r\n value: carrier.favorite,\r\n }));\r\n return client.favoriteCarriers$(carriers).pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n return carrierResponse({ success: response.success }, CARRIER_FAVORITED, carriers);\r\n } else {\r\n const error = response as ApiError;\r\n return carrierResponse({ success: false, error: error }, CARRIER_FAVORITED, carriers);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst hideCarrier$ = (client: CompanyClient, action$: ActionsObservable) =>\r\n action$.ofType(HIDE_CARRIER).pipe(\r\n flatMap$((action: HideCarriersAction) => {\r\n const carriers: Array> = map(action.carriers, (carrier) => ({\r\n id: carrier.id,\r\n value: carrier.hide,\r\n }));\r\n return client.hideCarriers$(carriers).pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n return carrierResponse({ success: response.success }, CARRIER_HIDDEN, carriers);\r\n } else {\r\n const error = response as ApiError;\r\n return carrierResponse({ success: response.success, error: error }, CARRIER_HIDDEN, carriers);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst onboardCarrier$ = (client: CompanyClient, action$: ActionsObservable) =>\r\n action$.ofType(ONBOARD_CARRIER).pipe(\r\n flatMap$((action: OnboardCarrierAction) => {\r\n const carriers: Array> = map(action.carriers, (carrier) => ({\r\n id: carrier.id,\r\n value: carrier.onboard,\r\n }));\r\n return client.onboardCarrier$(carriers).pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n return carrierResponse({ success: response.success }, CARRIER_ONBOARDED, carriers);\r\n } else {\r\n const error = response as ApiError;\r\n return carrierResponse({ success: response.success, error: error }, CARRIER_ONBOARDED, carriers);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst updateCompany$ = (client: CompanyClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n UPDATE_COMPANY_INFO,\r\n (action: UpdateCompanyInfoAction) => client.updateCompanyInfo$(action.updateInfo),\r\n (response): CompanyInfoAction => ({ type: COMPANY_INFO_UPDATED, response: response })\r\n );\r\n};\r\n\r\nconst loadCompanyInfo$ = (client: CompanyClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n LOAD_COMPANY_INFO,\r\n () => client.getCompanyInfo$(),\r\n (response): CompanyInfoAction => ({ type: COMPANY_INFO_LOADED, response: response })\r\n );\r\n};\r\nconst fetchCompanyInfo$ = (client: CompanyClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n FETCH_COMPANY,\r\n (action: FetchComanpanyAction) => client.getCompanyDetails$(action.id),\r\n (response): CompanyDetailResponseAction => ({ type: FETCHED_COMPANY, response: response })\r\n );\r\n};\r\n\r\nconst fetchCreditInfo$ = (client: CompanyClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n FETCH_CREDIT_INFO,\r\n (action: FetchCreditInfoAction) => client.getCompanyCredit$(action.id),\r\n (response): CreditInfoResponseAction => ({ type: CREDIT_INFO_FETCHED, response: response })\r\n );\r\n};\r\n\r\nconst fetchCompanyAuthority$ = (client: CompanyClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n FETCH_COMPANY_AUTHORITY,\r\n (action: FetchCompanyAuthorityAction) => client.getCompanyAuthority$(action.id),\r\n (response, action: FetchCompanyAuthorityAction): CompanyAuthorityResponseAction => ({\r\n type: FETCHED_COMPANY_AUTHORITY,\r\n response: response,\r\n companyID: action.id,\r\n })\r\n );\r\n};\r\n\r\nconst fetchCompanyAuthorityLicensing$ = (client: CompanyClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n FETCH_COMPANY_AUTHORITY_LICENSING,\r\n (action: FetchCompanyAuthorityAction) => client.getCompanyAuthorityLicensing$(action.id),\r\n (response, action: FetchCompanyAuthorityAction): CompanyAuthorityLicensingResponseAction => ({\r\n type: FETCHED_COMPANY_AUTHORITY_LICENSING,\r\n response: response,\r\n companyID: action.id,\r\n })\r\n );\r\n};\r\nconst fetchCompanyInsurance$ = (client: CompanyClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n FETCH_COMPANY_INSURANCE,\r\n (action: FetchCompanyAuthorityAction) => client.getCompanyInsurance$(action.id),\r\n (response, action: FetchCompanyAuthorityAction): CompanyInsuranceResponseAction => ({\r\n type: FETCHED_COMPANY_INSURANCE,\r\n response: response,\r\n companyID: action.id,\r\n })\r\n );\r\n};\r\n\r\nconst setOnboardingURL$ = (companyClient: CompanyClient, action$: ActionsObservable) =>\r\n action$.ofType(setOnboardingURLAction.fetchType).pipe(\r\n mergeMap$((action: ApiAction) =>\r\n companyClient.patchCompanyDetails$(action.data.id, action.data.onboardingUrl).pipe(\r\n mergeMap$((response: ApiResponse123<{}>) =>\r\n merge$(\r\n of$(setOnboardingURLAction.responseAction(response)),\r\n if$(() => response.success, of$(getCompanyInfo()))\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\nexport const createCompanyEpic = (api: Api) => {\r\n const companyClient = new CompanyClient(api);\r\n const contactClient = new ContactClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n favoriteCarrier$(companyClient, action$),\r\n hideCarrier$(companyClient, action$),\r\n onboardCarrier$(companyClient, action$),\r\n loadCompanyInfo$(companyClient, action$),\r\n updateCompany$(companyClient, action$),\r\n fetchCompanyInfo$(companyClient, action$),\r\n fetchCreditInfo$(companyClient, action$),\r\n fetchCompanyAuthority$(companyClient, action$),\r\n fetchCompanyAuthorityLicensing$(companyClient, action$),\r\n fetchCompanyInsurance$(companyClient, action$),\r\n carrierInfoApiAction.createEpic$(action$, (carrierID) => contactClient.fetchCarrierInfo$(carrierID)),\r\n brokerInfoApiAction.createEpic$(action$, (id) => contactClient.fetchBrokerInfo$(id)),\r\n getCompanyInformationFromVolpeAction.createEpic$(action$, companyClient.fetchVolpeInformationByDotNumber$),\r\n getCarrierRatingAction.createEpic$(action$, companyClient.fetchCarrierRating$),\r\n setOnboardingURL$(companyClient, action$)\r\n );\r\n};\r\n","import { clone, forEach, map, values } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$, Observable } from 'rxjs';\r\n\r\nimport { ApiResponse123 } from '@common/api';\r\nimport { compareIds } from '@common/helper';\r\nimport {\r\n createDefaultDocumentsRequest,\r\n DateRange,\r\n Document,\r\n DOCUMENT_TYPE_ALL,\r\n DocumentFilters,\r\n DOCUMENTS_LIST_REQUEST_LIMIT_DEFAULT,\r\n DocumentsSortingOption,\r\n DocumentType,\r\n FolderIdentifier,\r\n SortDirection,\r\n} from '@common/model';\r\nimport { createAction } from '@common/redux/Base';\r\nimport {\r\n createActionKey,\r\n createPaginatedListReducer,\r\n PaginatedListState,\r\n} from '@common/redux/epic/PaginatedListReducer';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\nimport { t, T } from '@translate';\r\n\r\nexport const DOCUMENTS_STORE_KEY = 'documents';\r\n\r\nexport interface TypeDataCount {\r\n type?: string;\r\n count?: number;\r\n}\r\n\r\nexport interface PeriodDataCount {\r\n year?: number;\r\n month?: number;\r\n count?: number;\r\n}\r\n\r\n/**\r\n * Defines each unique usage of a Documents List in the app.\r\n * Each unique usage must be used at most once at a time\r\n * in a navigation stack to avoid conflicts in redux\r\n * state (i.e. bugs)\r\n */\r\n// For example, in Load Search, the user may have DEFAULT\r\n// and LOADSEARCH_BACKHAULS in the navigation stack at the\r\n// same time.\r\n// In Messages, they may have STANDALONE_LOADDETAILS and\r\n// LOADSEARCH_BACKHAULS, or LOADSEARCH_BACKHAULS and\r\n// CONVERSATION_ATTACHMENTS, etc\r\n// In More, DEFAULT and CONVERSATION_ATTACHMENTS, etc.\r\n// and so on.\r\nexport enum DocumentsContext {\r\n DEFAULT = 'default',\r\n LOADSEARCH_BACKHAULS = 'loadsearchBackhauls',\r\n STANDALONE_LOADDETAILS = 'loadDetailsStandalone',\r\n REQUEST_BUILDER = 'requestBuilder',\r\n CONVERSATION_ATTACHMENTS = 'conversationAttachments',\r\n COMPANY_SEARCH = 'companySearch',\r\n}\r\n\r\nexport interface DocumentsMetadata {\r\n totalResultCount: number;\r\n queryTime: number;\r\n typeDataCounts?: TypeDataCount[];\r\n periodDataCounts?: PeriodDataCount[];\r\n}\r\n\r\nexport interface DocumentsResponse {\r\n documents?: Document[];\r\n metadata?: DocumentsMetadata;\r\n}\r\n\r\ninterface DocumentListState extends PaginatedListState {\r\n entries: Document[]; // overwrite PaginatedListState\r\n}\r\n\r\nexport type DocumentListsState = Record;\r\n\r\nexport const createDefaultDocumentFilters = (): DocumentFilters => ({\r\n offset: 0,\r\n limit: DOCUMENTS_LIST_REQUEST_LIMIT_DEFAULT,\r\n sorting: DocumentsSortingOption.date,\r\n date: undefined,\r\n documentType: { enumName: DOCUMENT_TYPE_ALL, description: t(T.common_all) },\r\n sortDirection: SortDirection.Descending,\r\n});\r\n\r\nconst createDefaultDocumentListState = (): DocumentListState => ({\r\n isLoading: false,\r\n fetchRequest: createDefaultDocumentFilters(),\r\n entries: [],\r\n isRefreshing: false,\r\n isLoadingMore: false,\r\n didLoadingFail: false,\r\n isLastResult: false,\r\n});\r\n\r\nexport const createDefaultDocumentListsState = (): DocumentListsState => ({\r\n [DocumentsContext.DEFAULT]: createDefaultDocumentListState(),\r\n [DocumentsContext.LOADSEARCH_BACKHAULS]: createDefaultDocumentListState(),\r\n [DocumentsContext.STANDALONE_LOADDETAILS]: createDefaultDocumentListState(),\r\n [DocumentsContext.REQUEST_BUILDER]: createDefaultDocumentListState(),\r\n [DocumentsContext.CONVERSATION_ATTACHMENTS]: createDefaultDocumentListState(),\r\n [DocumentsContext.COMPANY_SEARCH]: createDefaultDocumentListState(),\r\n});\r\n\r\ninterface DocumentsListsStoreState {\r\n [DOCUMENTS_STORE_KEY]: {\r\n documentLists: DocumentListsState;\r\n };\r\n}\r\n\r\nenum DocumentListReducerAction {\r\n setFetchRequest = 'setFetchRequest',\r\n clearDocuments = 'clearDocuments',\r\n updateSortingOption = 'updateSortingOption',\r\n updateFolderFilter = 'updateFolderFilter',\r\n updateDateFilter = 'updateDateFilter',\r\n updateTypeFilter = 'updateTypeFilter',\r\n toggleSortOrder = 'toggleSortOrder',\r\n resetDocumentFilters = 'resetDocumentFilters',\r\n fetchEntriesResponse = 'fetchEntriesResponse',\r\n fetchDocuments = 'fetchDocuments',\r\n fetchMoreDocuments = 'fetchMoreDocuments',\r\n}\r\n\r\n// ensures typing is recognized by typescript\r\nconst createDocumentListActionLookup = (factory: T) => {\r\n return factory;\r\n};\r\n\r\n// ensures typing is recognized by typescript\r\nconst createDocumentListLookup = (factory: T) => {\r\n return factory;\r\n};\r\n\r\n/**\r\n * Document LIST Reducer\r\n *\r\n * Creates actions, reducer, and epic for a Document List State: a redux state to hold\r\n * a paginated list of documents\r\n * @param reducerKey unique key to (among other things) distinguish actions of this\r\n * document list from other document lists\r\n */\r\nconst createDocumentListStateReducer = (reducerKey: string) => {\r\n const paginationReducer = createPaginatedListReducer<\r\n Document,\r\n DocumentFilters,\r\n DocumentsResponse,\r\n DocumentsListsStoreState,\r\n DocumentListState\r\n >({\r\n reducerKey: reducerKey,\r\n getPaginatedListStateFromStoreState: (store) =>\r\n store.documents.documentLists[reducerKey as keyof DocumentListsState],\r\n getEntriesFromResponse: (payload: { documents: Document[] }) => payload.documents,\r\n areEntriesEqual: compareIds,\r\n defaultEntries: [],\r\n });\r\n\r\n const ACTION_KEY = createActionKey(reducerKey);\r\n\r\n const setFetchRequestAction = createAction(`${ACTION_KEY}SET_FETCH_REQUEST`);\r\n const clearDocumentsAction = createAction(`${ACTION_KEY}SET_FETCH_REQUEST`);\r\n const updateSortingOptionAction = createAction(`${ACTION_KEY}UPDATE_SORTING_OPTION`);\r\n const updateFolderFilterAction = createAction(`${ACTION_KEY}UPDATE_FOLDER_FILTER`);\r\n const updateDateFilterAction = createAction(`${ACTION_KEY}UPDATE_DATE_FILTER`);\r\n const updateTypeFilterAction = createAction(`${ACTION_KEY}UPDATE_TYPE_FILTER`);\r\n const toggleSortOrderAction = createAction(`${ACTION_KEY}TOGGLE_SORT_ORDER`);\r\n const resetDocumentFiltersAction = createAction(`${ACTION_KEY}RESET_DOCUMENT_FILTERS`);\r\n\r\n const { fetchEntries, fetchMoreEntries, fetchEntriesResponse } = paginationReducer.actions;\r\n\r\n const actions = createDocumentListActionLookup({\r\n [DocumentListReducerAction.setFetchRequest]: setFetchRequestAction.action,\r\n [DocumentListReducerAction.clearDocuments]: () => clearDocumentsAction.action(undefined),\r\n [DocumentListReducerAction.updateSortingOption]: updateSortingOptionAction.action,\r\n [DocumentListReducerAction.updateFolderFilter]: updateFolderFilterAction.action,\r\n [DocumentListReducerAction.updateDateFilter]: updateDateFilterAction.action,\r\n [DocumentListReducerAction.updateTypeFilter]: updateTypeFilterAction.action,\r\n [DocumentListReducerAction.toggleSortOrder]: () => toggleSortOrderAction.action(undefined),\r\n [DocumentListReducerAction.resetDocumentFilters]: () => resetDocumentFiltersAction.action(undefined),\r\n [DocumentListReducerAction.fetchEntriesResponse]: fetchEntriesResponse,\r\n [DocumentListReducerAction.fetchDocuments]: (filters?: DocumentFilters) =>\r\n fetchEntries(filters ? createDefaultDocumentsRequest(filters) : undefined),\r\n [DocumentListReducerAction.fetchMoreDocuments]: fetchMoreEntries,\r\n });\r\n\r\n const documentListStateReducer = createMergedReducer(\r\n createDefaultDocumentListState(),\r\n [\r\n setFetchRequestAction.addCase((state, action) => {\r\n state.fetchRequest = action.data;\r\n }),\r\n clearDocumentsAction.addCase((state) => {\r\n state.entries = [];\r\n }),\r\n updateSortingOptionAction.addCase((state, action) => {\r\n state.fetchRequest.sorting = action.data;\r\n state.fetchRequest.offset = 0;\r\n state.fetchRequest.limit = DOCUMENTS_LIST_REQUEST_LIMIT_DEFAULT;\r\n }),\r\n updateFolderFilterAction.addCase((state, action) => {\r\n state.fetchRequest.folder = action.data;\r\n }),\r\n updateDateFilterAction.addCase((state, action) => {\r\n if (!action.data) {\r\n state.fetchRequest.date = undefined;\r\n } else {\r\n state.fetchRequest.date = action.data;\r\n }\r\n state.fetchRequest.offset = 0;\r\n state.fetchRequest.limit = DOCUMENTS_LIST_REQUEST_LIMIT_DEFAULT;\r\n }),\r\n updateTypeFilterAction.addCase((state, action) => {\r\n state.fetchRequest.documentType = action.data;\r\n state.fetchRequest.offset = 0;\r\n state.fetchRequest.limit = DOCUMENTS_LIST_REQUEST_LIMIT_DEFAULT;\r\n }),\r\n toggleSortOrderAction.addCase((state) => {\r\n state.fetchRequest.sortDirection =\r\n state.fetchRequest.sortDirection === SortDirection.Ascending\r\n ? SortDirection.Descending\r\n : SortDirection.Ascending;\r\n }),\r\n resetDocumentFiltersAction.addCase((state) => {\r\n state.fetchRequest = createDefaultDocumentFilters();\r\n }),\r\n ],\r\n paginationReducer.reducer\r\n );\r\n\r\n return {\r\n createMergedEpic$: paginationReducer.createMergedEpic$,\r\n actions: actions,\r\n reducer: documentListStateReducer,\r\n };\r\n};\r\n\r\n/**\r\n * Document LISTS Reducer\r\n *\r\n * Creates actions, reducer, and epic for a Document Lists State, which holds\r\n * multiple instances of a DocumentListState in the form:\r\n * {\r\n * [DocumentList.DEFAULT]: DocumentListState,\r\n * ...\r\n * }\r\n */\r\nexport const createDocumentListsReducer = () => {\r\n const documentLists = createDocumentListLookup({\r\n [DocumentsContext.DEFAULT]: createDocumentListStateReducer(DocumentsContext.DEFAULT),\r\n [DocumentsContext.LOADSEARCH_BACKHAULS]: createDocumentListStateReducer(DocumentsContext.LOADSEARCH_BACKHAULS),\r\n [DocumentsContext.STANDALONE_LOADDETAILS]: createDocumentListStateReducer(DocumentsContext.STANDALONE_LOADDETAILS),\r\n [DocumentsContext.REQUEST_BUILDER]: createDocumentListStateReducer(DocumentsContext.REQUEST_BUILDER),\r\n [DocumentsContext.CONVERSATION_ATTACHMENTS]: createDocumentListStateReducer(\r\n DocumentsContext.CONVERSATION_ATTACHMENTS\r\n ),\r\n [DocumentsContext.COMPANY_SEARCH]: createDocumentListStateReducer(DocumentsContext.COMPANY_SEARCH),\r\n });\r\n\r\n /**\r\n * DocumentList reducer actions grouped by context\r\n * -----------------------------------------------\r\n * i.e.\r\n * {\r\n * default: {\r\n * setFetchRequest,\r\n * ...\r\n * },\r\n * loadsearchBackhauls: {\r\n * setFetchRequest,\r\n * ...\r\n * },\r\n * ...\r\n * }\r\n * -----------------------------------------------\r\n * Useful for class components mapDispatchToProps\r\n */\r\n const actionsLookup = createDocumentListLookup({\r\n [DocumentsContext.DEFAULT]: documentLists.default.actions,\r\n [DocumentsContext.LOADSEARCH_BACKHAULS]: documentLists.loadsearchBackhauls.actions,\r\n [DocumentsContext.STANDALONE_LOADDETAILS]: documentLists.loadDetailsStandalone.actions,\r\n [DocumentsContext.REQUEST_BUILDER]: documentLists.requestBuilder.actions,\r\n [DocumentsContext.CONVERSATION_ATTACHMENTS]: documentLists.conversationAttachments.actions,\r\n [DocumentsContext.COMPANY_SEARCH]: documentLists.companySearch.actions,\r\n });\r\n\r\n /**\r\n * DocumentList reducer actions mapped to proper context by\r\n * prefixed context parameter\r\n * -----------------------------------------------\r\n * i.e.\r\n * {\r\n * setFetchRequest: (context, ...(setFetchRequest's params)) => SetFetchRequest Action,\r\n * clearDocuments: (context, ...(clearDocuments's params)) => ClearDocuments Action,\r\n * ...\r\n * }\r\n * -----------------------------------------------\r\n * Useful for functional components\r\n */\r\n const actionsMap = createDocumentListActionLookup({\r\n setFetchRequest: (context: DocumentsContext, ...args: Parameters) =>\r\n actionsLookup[context].setFetchRequest(...args),\r\n clearDocuments: (context: DocumentsContext, ...args: Parameters) =>\r\n actionsLookup[context].clearDocuments(...args),\r\n updateSortingOption: (\r\n context: DocumentsContext,\r\n ...args: Parameters\r\n ) => actionsLookup[context].updateSortingOption(...args),\r\n updateFolderFilter: (\r\n context: DocumentsContext,\r\n ...args: Parameters\r\n ) => actionsLookup[context].updateFolderFilter(...args),\r\n updateDateFilter: (context: DocumentsContext, ...args: Parameters) =>\r\n actionsLookup[context].updateDateFilter(...args),\r\n updateTypeFilter: (context: DocumentsContext, ...args: Parameters) =>\r\n actionsLookup[context].updateTypeFilter(...args),\r\n toggleSortOrder: (context: DocumentsContext, ...args: Parameters) =>\r\n actionsLookup[context].toggleSortOrder(...args),\r\n resetDocumentFilters: (\r\n context: DocumentsContext,\r\n ...args: Parameters\r\n ) => actionsLookup[context].resetDocumentFilters(...args),\r\n fetchEntriesResponse: (\r\n context: DocumentsContext,\r\n ...args: Parameters\r\n ) => actionsLookup[context].fetchEntriesResponse(...args),\r\n fetchDocuments: (context: DocumentsContext, ...args: Parameters) =>\r\n actionsLookup[context].fetchDocuments(...args),\r\n fetchMoreDocuments: (\r\n context: DocumentsContext,\r\n ...args: Parameters\r\n ) => actionsLookup[context].fetchMoreDocuments(...args),\r\n });\r\n\r\n const documentlistsReducer = (state: DocumentListsState, action: Action): DocumentListsState => {\r\n // If a documentList is modified, return a new state object as well, so that the parent reducer\r\n // sees there was a state change.\r\n // If we don't do this, document list actions will not modify the redux state.\r\n const modifiedState = clone(state);\r\n let didSomeContextChange = false;\r\n forEach(values(DocumentsContext), (contextKey) => {\r\n const modifiedDocumentContextState = documentLists[contextKey].reducer(state[contextKey], action);\r\n if (modifiedDocumentContextState !== state[contextKey]) {\r\n modifiedState[contextKey] = modifiedDocumentContextState;\r\n didSomeContextChange = true;\r\n }\r\n });\r\n if (didSomeContextChange) {\r\n return modifiedState;\r\n } else {\r\n return state;\r\n }\r\n };\r\n\r\n /**\r\n * Reducer\r\n */\r\n const documentListsStateReducer = createMergedReducer(\r\n createDefaultDocumentListsState(),\r\n [],\r\n documentlistsReducer\r\n );\r\n\r\n /**\r\n * Epic\r\n */\r\n const createdMergedEpic$ = (\r\n fetchEntries$: (request: DocumentFilters) => Observable>,\r\n action$: ActionsObservable,\r\n state$: StateObservable\r\n ) => {\r\n return merge$(...map(documentLists, (list) => list.createMergedEpic$(fetchEntries$, action$, state$)));\r\n };\r\n\r\n return {\r\n createMergedEpic$: createdMergedEpic$,\r\n actions: actionsMap,\r\n actionsLookup: actionsLookup,\r\n reducer: documentListsStateReducer,\r\n };\r\n};\r\n\r\n/**\r\n * Applies specified modifier on each list state in the provided DocumentListsState\r\n * and returns new DocumentListsState with modified list states.\r\n */\r\nexport const modifyAllDocumentListStates = (\r\n documentListsState: DocumentListsState,\r\n modifier: (documentListState: DocumentListState) => DocumentListState\r\n): DocumentListsState => {\r\n const modifiedDocumentListsState = clone(documentListsState);\r\n forEach(values(DocumentsContext), (documentContext) => {\r\n modifiedDocumentListsState[documentContext] = modifier(documentListsState[documentContext]);\r\n });\r\n return modifiedDocumentListsState;\r\n};\r\n\r\n/**\r\n * Applies specified Document[] modifier on each list state's document list in the provided\r\n * DocumentListsState and returns new DocumentListsState with list states having modified document lists.\r\n */\r\nexport const modifyAllDocumentLists = (\r\n documentListsState: DocumentListsState,\r\n modifier: (documents: Document[]) => Document[]\r\n): DocumentListsState => {\r\n const modifiedDocumentListsState = clone(documentListsState);\r\n forEach(values(DocumentsContext), (documentContext) => {\r\n modifiedDocumentListsState[documentContext] = {\r\n ...modifiedDocumentListsState[documentContext],\r\n entries: modifier(documentListsState[documentContext].entries),\r\n };\r\n });\r\n return modifiedDocumentListsState;\r\n};\r\n\r\n/**\r\n * Executes specified side-effect for each DocumentListState in the provided DocumentListsState\r\n */\r\nexport const forEachDocumentListState = (\r\n documentListsState: DocumentListsState,\r\n operator: (documentContext: DocumentsContext, documentListState: DocumentListState) => void\r\n) => {\r\n forEach(values(DocumentsContext), (documentContext) =>\r\n operator(documentContext, documentListsState[documentContext])\r\n );\r\n};\r\n","import { clone, filter, findIndex, map } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { from as from$, merge as merge$, of as of$ } from 'rxjs';\r\nimport { flatMap as flatMap$, map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123 } from '@common/api';\r\nimport { DocumentsClient } from '@common/client/DocumentsClient';\r\nimport { ViewType } from '@common/helper/DocumentSortingHelper';\r\nimport {\r\n CustomFolder,\r\n CustomFoldersSort,\r\n Document,\r\n DocumentSendType,\r\n DocumentType,\r\n DocumentTypes,\r\n DownloadState,\r\n FolderIdentifier,\r\n MyDocumentsSendRequest,\r\n} from '@common/model';\r\nimport { createResponseAction, ResponseAction } from '@common/redux/Base';\r\nimport { simpleApiEpicToAction } from '@common/redux/epic/EpicHelper';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\nimport { t, T } from '@translate';\r\n\r\nimport {\r\n createDefaultDocumentFilters,\r\n createDefaultDocumentListsState,\r\n createDocumentListsReducer,\r\n DocumentListsState,\r\n DOCUMENTS_STORE_KEY,\r\n DocumentsContext,\r\n DocumentsMetadata,\r\n DocumentsResponse,\r\n modifyAllDocumentLists,\r\n modifyAllDocumentListStates,\r\n} from './DocumentListEpic';\r\nimport { createFoldersReducer, FoldersState, initialFoldersState, updateCustomFolder } from './FoldersEpic';\r\n\r\nexport const FOLDERS_STORE_KEY = 'folders';\r\nconst FOLDERS_REDUCER_KEY = `${DOCUMENTS_STORE_KEY}_${FOLDERS_STORE_KEY}`;\r\n\r\nconst UPDATE_SEND_DOCUMENTS_FORM = 'UPDATE_SEND_DOCUMENTS_FORM';\r\nconst SET_SHOW_BROKER_AS_POSSIBLE_RECIPIENT = 'SET_SHOW_BROKER_AS_POSSIBLE_RECIPIENT';\r\nconst SEND_DOCUMENTS = 'SEND_DOCUMENTS';\r\nconst CHANGE_DOCUMENT_NAME = 'CHANGE_DOCUMENT_NAME';\r\nconst CHANGE_DOCUMENT_NAME_FULFILLED = 'CHANGE_DOCUMENT_NAME_FULFILLED';\r\nconst FETCH_DOCUMENT_TYPES = 'FETCH_DOCUMENT_TYPES';\r\nconst DOCUMENT_TYPES_FETCHED = 'DOCUMENT_TYPES_FETCHED';\r\nconst DOCUMENTS_SENT = 'DOCUMENTS_SENT';\r\nconst UPDATE_FOLDER_SORTING = 'UPDATE_FOLDER_SORTING';\r\nconst DELETE_DOCUMENT = 'DELETE_DOCUMENT';\r\nexport const DOCUMENT_DELETED = 'DOCUMENT_DELETED';\r\nconst INCREMENT_LOAD_DOCUMENT_COUNT = 'INCREMENT_LOAD_DOCUMENT_COUNT';\r\nconst UPDATE_DOCUMENT_TYPE = 'UPDATE_DOCUMENT_TYPE';\r\nexport const DOCUMENT_TYPE_UPDATED = 'DOCUMENT_TYPE_UPDATED';\r\nconst UPDATE_DOCUMENT_FOLDER = 'UPDATE_DOCUMENT_FOLDER';\r\nconst UPDATE_DOCUMENT_IN_FOLDER = 'UPDATE_DOCUMENT_IN_FOLDER';\r\nexport const DOCUMENT_FOLDER_UPDATED = 'DOCUMENT_FOLDER_UPDATED';\r\nconst FETCH_TOTAL_DOCUMENT_COUNT = 'FETCH_TOTAL_DOCUMENT_COUNT';\r\nconst TOTAL_DOCUMENT_COUNT_FETCHED = 'TOTAL_DOCUMENT_COUNT_FETCHED';\r\nconst FETCH_FOLDER_BY_ID = 'FETCH_FOLDER_BY_ID';\r\nconst FOLDER_BY_ID_FETCHED = 'FOLDER_BY_ID_FETCHED';\r\nconst RESET_CURRENT_FOLDER = 'RESET_CURRENT_FOLDER';\r\nconst FETCH_DOCUMENT_FILE = 'FETCH_DOCUMENT_FILE';\r\nconst FETCH_CONVERSATION_DOCUMENT_FILE = 'FETCH_CONVERSATION_DOCUMENT_FILE';\r\nconst RESET_SEND_DOCUMENT_FORM = 'RESET_SEND_DOCUMENT_FORM';\r\nexport const DOCUMENT_FILE_FETCHED = 'DOCUMENT_FILE_FETCHED';\r\nexport const DOCUMENT_FILE_SAVED = 'DOCUMENT_FILE_SAVED';\r\nexport const DOCUMENT_FILE_FETCH_ERROR = 'DOCUMENT_FILE_FETCH_ERROR';\r\nconst SET_CREATE_DOCUMENT_CONFIG = 'SET_CREATE_DOCUMENT_CONFIG';\r\nconst SET_VIEW_TYPE = 'SET_VIEW_TYPE';\r\nconst FETCH_DOCUMENTS_COUNT = 'FETCH_DOCUMENTS_COUNT';\r\nconst DOCUMENTS_COUNT_FETCHED = 'DOCUMENTS_COUNT_FETCHED';\r\nconst SET_VIEW_DOCUMENT_FILE_DATA = 'SET_VIEW_DOCUMENT_FILE_DATA';\r\nconst SET_EXPORTING_DOCUMENT_ID = 'SET_EXPORTING_DOCUMENT_ID';\r\n\r\nexport enum RecipientType {\r\n Company = 'Company',\r\n ThunderFunding = 'ThunderFunding',\r\n Other = 'Other',\r\n}\r\n\r\ninterface SubStoreState {\r\n documents: DocumentsState;\r\n}\r\n\r\nenum UpdateOperation {\r\n DISPLAY_NAME = 'DISPLAY_NAME',\r\n DOCUMENT_TYPE = 'DOCUMENT_TYPE',\r\n DOCUMENT_FOLDER = 'DOCUMENT_FOLDER',\r\n}\r\n\r\nexport enum DocumentsUpdateType {\r\n DELETE,\r\n UPDATE_FOLDER,\r\n}\r\n\r\ninterface UpdateFormAction extends Action {\r\n info: Partial;\r\n}\r\n\r\ninterface SetShowBrokerAsPossibleRecipientAction extends Action {\r\n shouldShow: boolean;\r\n}\r\n\r\ninterface SendDocumentsAction extends Action {\r\n infoToSend: SendDocumentsForm;\r\n}\r\n\r\ninterface ChangeDocNameAction extends Action {\r\n newName: string;\r\n id: string;\r\n}\r\n\r\ninterface FolderSortingAction extends Action {\r\n sorting: CustomFoldersSort;\r\n}\r\ninterface SetCreateDocumentConfigAction extends Action {\r\n config: CreateDocumentConfig;\r\n}\r\n\r\ntype CacheFile = (name: string, file: string, encoding?: string) => Promise;\r\n\r\ntype DocumentTypesResponseAction = ResponseAction;\r\n\r\ninterface UpdateDocTypeAction extends Action {\r\n id: string;\r\n newType: string;\r\n}\r\n\r\nexport interface DocumentFileFetchAction extends Action {\r\n data: DocumentFileData;\r\n}\r\n\r\nexport interface DocumentFetchErrorAction extends Action {\r\n data: { id: string };\r\n}\r\n\r\ninterface UpdateDocFolderAction extends Action {\r\n documentID: string;\r\n newFolder: FolderIdentifier;\r\n}\r\ninterface UpdateDocInFolderAction extends Action {\r\n documentID: string;\r\n newFolderName: string;\r\n}\r\n\r\ninterface DeleteDocumentAction extends Action {\r\n id: string;\r\n}\r\n\r\ninterface GetFolderByLoadAction extends Action {\r\n guid: string;\r\n}\r\n\r\ninterface SaveDocumentAction extends Action {\r\n id: string;\r\n}\r\n\r\ninterface FetchDocumentFileAction extends Action {\r\n id: string;\r\n extension: string;\r\n}\r\ninterface FetchConversationDocumentFileAction extends Action {\r\n conversationId: string;\r\n messageId: string;\r\n docId: string;\r\n extension: string;\r\n}\r\n\r\ninterface LoadDocumentCountIncrementAction extends Action {\r\n increment: number;\r\n}\r\n\r\ninterface SetViewTypeAction extends Action {\r\n viewType: ViewType;\r\n}\r\n\r\ninterface SetViewDocumentFileData extends Action {\r\n fileData: DocumentFileData | undefined;\r\n}\r\n\r\ninterface SetExportingDocumentIDAction extends Action {\r\n documentID: string | undefined;\r\n}\r\n\r\ntype DocumentsSentResponseAction = ResponseAction<{}>;\r\ntype DocumentResponseAction = ResponseAction;\r\ntype TypesResponseAction = ResponseAction;\r\n\r\nexport type DocumentDeletedResponseAction = ResponseAction<{ id: string }>;\r\ntype TotalDocumentCountResponseAction = ResponseAction;\r\ntype FolderByIDResponseAction = ResponseAction;\r\ntype DocumentsCountFetchedResponse = ResponseAction;\r\n\r\nconst foldersRedux = createFoldersReducer(\r\n FOLDERS_REDUCER_KEY,\r\n (store: SubStoreState) => store[DOCUMENTS_STORE_KEY][FOLDERS_STORE_KEY].customFolders\r\n);\r\n\r\nconst documentLists = createDocumentListsReducer();\r\n\r\nexport const fetchDefaultFolders = foldersRedux.actions.fetchDefaultFolders;\r\nexport const fetchCustomFolders = foldersRedux.actions.fetchEntries;\r\nexport const fetchMoreCustomFolders = foldersRedux.actions.fetchMoreEntries;\r\nexport const createFolder = foldersRedux.actions.createFolder;\r\nexport const changeFolderName = foldersRedux.actions.changeFolderName;\r\nexport const deleteFolder = foldersRedux.actions.deleteFolder;\r\nexport const deleteLoadFolder = foldersRedux.actions.deleteLoadFolder;\r\nexport const deleteFolderResponse = foldersRedux.actions.deleteFolderResponse;\r\nexport const updateFolder = foldersRedux.actions.updateFolder;\r\n\r\n/**\r\n * DocumentList reducer actions grouped by context\r\n */\r\nexport const DocumentListAction = (documentsContext: DocumentsContext) => documentLists.actionsLookup[documentsContext];\r\n\r\n// DocumentList reducer actions mapped to proper context by prefixed context parameter\r\nexport const setFetchRequest = documentLists.actions.setFetchRequest;\r\nexport const clearDocuments = documentLists.actions.clearDocuments;\r\nexport const updateSortingOption = documentLists.actions.updateSortingOption;\r\nexport const updateFolderFilter = documentLists.actions.updateFolderFilter;\r\nexport const updateDateFilter = documentLists.actions.updateDateFilter;\r\nexport const updateTypeFilter = documentLists.actions.updateTypeFilter;\r\nexport const toggleSortOrder = documentLists.actions.toggleSortOrder;\r\nexport const resetDocumentFilters = documentLists.actions.resetDocumentFilters;\r\nexport const fetchEntriesResponse = documentLists.actions.fetchEntriesResponse;\r\nexport const fetchDocuments = documentLists.actions.fetchDocuments;\r\nexport const fetchMoreDocuments = documentLists.actions.fetchMoreDocuments;\r\n\r\nexport const updateSendDocumentsForm = (documents: Partial): UpdateFormAction => ({\r\n type: UPDATE_SEND_DOCUMENTS_FORM,\r\n info: documents,\r\n});\r\n\r\nexport const setShowBrokerAsPossibleRecipient = (shouldShow: boolean): SetShowBrokerAsPossibleRecipientAction => ({\r\n type: SET_SHOW_BROKER_AS_POSSIBLE_RECIPIENT,\r\n shouldShow: shouldShow,\r\n});\r\n\r\nexport const incrementLoadDocumentCount = (increment: number): LoadDocumentCountIncrementAction => ({\r\n type: INCREMENT_LOAD_DOCUMENT_COUNT,\r\n increment: increment,\r\n});\r\nexport const resetSendForm = (): Action => ({ type: RESET_SEND_DOCUMENT_FORM });\r\n\r\nexport const sendDocuments = (formInfo: SendDocumentsForm): SendDocumentsAction => ({\r\n type: SEND_DOCUMENTS,\r\n infoToSend: formInfo,\r\n});\r\n\r\nexport const changeDocName = (id: string, newName: string): ChangeDocNameAction => ({\r\n type: CHANGE_DOCUMENT_NAME,\r\n id: id,\r\n newName: newName,\r\n});\r\nexport const updateDocType = (id: string, type: string): UpdateDocTypeAction => ({\r\n type: UPDATE_DOCUMENT_TYPE,\r\n id: id,\r\n newType: type,\r\n});\r\n\r\nexport const updateDocFolder = (documentID: string, newFolder: FolderIdentifier): UpdateDocFolderAction => ({\r\n type: UPDATE_DOCUMENT_FOLDER,\r\n documentID: documentID,\r\n newFolder: newFolder,\r\n});\r\n\r\nexport const updateDocInFolder = (documentID: string, newFolderName: string): UpdateDocInFolderAction => ({\r\n type: UPDATE_DOCUMENT_IN_FOLDER,\r\n documentID: documentID,\r\n newFolderName: newFolderName,\r\n});\r\n\r\nexport const deleteDocument = (id: string): DeleteDocumentAction => ({ type: DELETE_DOCUMENT, id: id });\r\n\r\nexport const fetchDocumentTypes = (): Action => ({ type: FETCH_DOCUMENT_TYPES });\r\n\r\nexport const getTotalDocumentCount = (): Action => ({\r\n type: FETCH_TOTAL_DOCUMENT_COUNT,\r\n});\r\n\r\nexport const getFolderByLoad = (guid: string): GetFolderByLoadAction => ({\r\n type: FETCH_FOLDER_BY_ID,\r\n guid: guid,\r\n});\r\nexport const resetCurrentFolder = () => ({\r\n type: RESET_CURRENT_FOLDER,\r\n});\r\n\r\nexport const documentFileSaved = (id: string): SaveDocumentAction => ({ type: DOCUMENT_FILE_SAVED, id: id });\r\n\r\nexport const fetchDocumentFile = (id: string, extension: string): FetchDocumentFileAction => ({\r\n type: FETCH_DOCUMENT_FILE,\r\n id: id,\r\n extension: extension,\r\n});\r\n\r\nexport const fetchConversationDocumentFile = (\r\n conversationId: string,\r\n messageId: string,\r\n docId: string,\r\n extension: string\r\n): FetchConversationDocumentFileAction => ({\r\n type: FETCH_CONVERSATION_DOCUMENT_FILE,\r\n conversationId: conversationId,\r\n messageId: messageId,\r\n docId: docId,\r\n extension: extension,\r\n});\r\n\r\nexport const documentFileFetched = (data: DocumentFileData): DocumentFileFetchAction => ({\r\n type: DOCUMENT_FILE_FETCHED,\r\n data: data,\r\n});\r\n\r\nexport const updateFolderSortingOption = (sorting: CustomFoldersSort): FolderSortingAction => ({\r\n type: UPDATE_FOLDER_SORTING,\r\n sorting: sorting,\r\n});\r\n\r\nexport const setCreateDocumentConfig = (config: CreateDocumentConfig): SetCreateDocumentConfigAction => ({\r\n type: SET_CREATE_DOCUMENT_CONFIG,\r\n config: config,\r\n});\r\n\r\nexport const resetCreateDocumentConfig = () =>\r\n setCreateDocumentConfig({\r\n shouldDisableFolderSelect: false,\r\n presetFolder: undefined,\r\n shouldPushToAttachDocument: false,\r\n });\r\n\r\nexport const setViewType = (viewType: ViewType): SetViewTypeAction => ({\r\n type: SET_VIEW_TYPE,\r\n viewType: viewType,\r\n});\r\n\r\nexport const fetchDocumentsCount = (): Action => ({\r\n type: FETCH_DOCUMENTS_COUNT,\r\n});\r\n\r\nexport const setViewDocumentFileData = (fileData: DocumentFileData | undefined): SetViewDocumentFileData => ({\r\n type: SET_VIEW_DOCUMENT_FILE_DATA,\r\n fileData: fileData,\r\n});\r\n\r\nexport const setExportingDocumentID = (documentID: string | undefined): SetExportingDocumentIDAction => ({\r\n type: SET_EXPORTING_DOCUMENT_ID,\r\n documentID: documentID,\r\n});\r\n\r\nexport interface SendDocumentsForm {\r\n recipientName: string;\r\n recipientCompanyName: string;\r\n recipientEmail: string | undefined;\r\n recipientFax: string;\r\n documents: Document[];\r\n selectedRecipient: RecipientType;\r\n}\r\n\r\nexport interface DocumentsUpdate {\r\n mapIsLoading: Map;\r\n updateResult: {\r\n updateType?: DocumentsUpdateType;\r\n updatedSuccessfully?: boolean;\r\n updateTime: number;\r\n };\r\n}\r\nexport interface CachedImageMap {\r\n [id: string]: DownloadState | undefined;\r\n}\r\n\r\ninterface DocumentFileData {\r\n id: string;\r\n file: string;\r\n extension: string;\r\n}\r\n\r\nexport interface CreateDocumentConfig {\r\n shouldDisableFolderSelect: boolean;\r\n presetFolder?: FolderIdentifier;\r\n shouldPushToAttachDocument: boolean;\r\n}\r\n\r\nexport interface DocumentsState {\r\n sendDocuments: {\r\n formInfo: SendDocumentsForm;\r\n isSending: boolean;\r\n shouldShowBrokerAsPossibleRecipient: boolean;\r\n wasSentSuccessfully?: boolean;\r\n timeSent?: number;\r\n };\r\n viewDocument: {\r\n isLoadingDocumentData: boolean;\r\n documentCache: CachedImageMap;\r\n // below fields are used only in MEM as it does\r\n // not have a file cache library\r\n documentFileData: DocumentFileData | undefined;\r\n viewDocumentFileData: DocumentFileData | undefined;\r\n };\r\n loadDetailsDocuments: {\r\n loadDocumentCount: number;\r\n isLoadingLoadFolder: boolean;\r\n loadFolderIdentifier?: CustomFolder;\r\n };\r\n documentTypes: {\r\n types: DocumentType[];\r\n isLoading: boolean;\r\n };\r\n createDocument: CreateDocumentConfig;\r\n documentLists: DocumentListsState;\r\n exportDocument: {\r\n isExporting: boolean;\r\n documentID?: string;\r\n };\r\n // updates ---\r\n documentsUpdate: DocumentsUpdate;\r\n docNameUpdated: {\r\n wasUpdateSuccessful?: boolean;\r\n updateTime?: number;\r\n isLoading: boolean;\r\n };\r\n typeUpdated?: {\r\n wasUpdateSuccessful: boolean;\r\n updateTime: number;\r\n };\r\n // --- updates\r\n [FOLDERS_STORE_KEY]: FoldersState;\r\n totalDocumentCount: number | undefined;\r\n viewType: ViewType;\r\n metadata?: DocumentsMetadata;\r\n}\r\n\r\nconst initialState: DocumentsState = {\r\n sendDocuments: {\r\n isSending: false,\r\n formInfo: {\r\n recipientName: '',\r\n recipientCompanyName: '',\r\n recipientEmail: '',\r\n recipientFax: '',\r\n documents: [],\r\n selectedRecipient: RecipientType.ThunderFunding,\r\n },\r\n shouldShowBrokerAsPossibleRecipient: false,\r\n },\r\n viewDocument: {\r\n documentCache: {},\r\n isLoadingDocumentData: false,\r\n documentFileData: undefined,\r\n viewDocumentFileData: undefined,\r\n },\r\n loadDetailsDocuments: {\r\n loadDocumentCount: 0,\r\n isLoadingLoadFolder: false,\r\n },\r\n documentTypes: {\r\n types: [],\r\n isLoading: false,\r\n },\r\n createDocument: {\r\n shouldDisableFolderSelect: false,\r\n shouldPushToAttachDocument: false,\r\n },\r\n documentLists: createDefaultDocumentListsState(),\r\n exportDocument: {\r\n isExporting: false,\r\n },\r\n documentsUpdate: {\r\n mapIsLoading: new Map(),\r\n updateResult: {\r\n updateTime: Date.now(),\r\n },\r\n },\r\n docNameUpdated: {\r\n isLoading: false,\r\n },\r\n [FOLDERS_STORE_KEY]: initialFoldersState,\r\n totalDocumentCount: undefined,\r\n viewType: ViewType.Folders,\r\n};\r\n\r\nconst documentListsReducer = (state: DocumentsState, action: Action): DocumentsState => {\r\n const modifiedDocumentContextsState = documentLists.reducer(state.documentLists, action);\r\n if (modifiedDocumentContextsState !== state.documentLists) {\r\n return {\r\n ...state,\r\n documentLists: modifiedDocumentContextsState,\r\n };\r\n } else {\r\n return state;\r\n }\r\n};\r\n\r\nconst documentsFolderSubReducer = (state: DocumentsState, action: Action): DocumentsState => {\r\n const modifiedFoldersState = foldersRedux.reducer(state[FOLDERS_STORE_KEY], action);\r\n if (modifiedFoldersState !== state[FOLDERS_STORE_KEY]) {\r\n return {\r\n ...state,\r\n [FOLDERS_STORE_KEY]: modifiedFoldersState,\r\n };\r\n } else {\r\n return state;\r\n }\r\n};\r\n\r\nexport const documentsReducer = createReducer(\r\n initialState,\r\n {\r\n [UPDATE_SEND_DOCUMENTS_FORM]: (state, action: UpdateFormAction) => {\r\n state.sendDocuments.formInfo = { ...state.sendDocuments.formInfo, ...action.info };\r\n },\r\n [SET_SHOW_BROKER_AS_POSSIBLE_RECIPIENT]: (state, action: SetShowBrokerAsPossibleRecipientAction) => {\r\n state.sendDocuments.shouldShowBrokerAsPossibleRecipient = action.shouldShow;\r\n },\r\n [SEND_DOCUMENTS]: (state) => {\r\n state.sendDocuments.isSending = true;\r\n },\r\n [RESET_SEND_DOCUMENT_FORM]: (state) => {\r\n state.sendDocuments.formInfo = initialState.sendDocuments.formInfo;\r\n },\r\n [FETCH_DOCUMENT_TYPES]: (state) => {\r\n state.documentTypes.isLoading = true;\r\n },\r\n [CHANGE_DOCUMENT_NAME]: (state) => {\r\n state.docNameUpdated.isLoading = true;\r\n },\r\n [UPDATE_DOCUMENT_IN_FOLDER]: (state, action: UpdateDocInFolderAction) => {\r\n const modifiedDocumentLists = modifyAllDocumentLists(state.documentLists, (documentList) =>\r\n editDocumentDetails(documentList, action.newFolderName, action.documentID, UpdateOperation.DOCUMENT_TYPE)\r\n );\r\n state.documentLists = modifiedDocumentLists;\r\n },\r\n [DOCUMENTS_SENT]: (state, action: DocumentsSentResponseAction) => {\r\n state.sendDocuments.isSending = false;\r\n state.sendDocuments.wasSentSuccessfully = action.response.success;\r\n state.sendDocuments.timeSent = Date.now();\r\n if (state.sendDocuments.wasSentSuccessfully) {\r\n state.sendDocuments.formInfo = initialState.sendDocuments.formInfo;\r\n }\r\n },\r\n [DOCUMENTS_COUNT_FETCHED]: (state, action: DocumentsCountFetchedResponse) => {\r\n if (action.response.success) {\r\n state.metadata = action.response.payload?.metadata;\r\n } else {\r\n state.metadata = undefined;\r\n }\r\n },\r\n [CHANGE_DOCUMENT_NAME_FULFILLED]: (state: DocumentsState, action: DocumentResponseAction) => {\r\n state.docNameUpdated = {\r\n wasUpdateSuccessful: action.response.success,\r\n updateTime: Date.now(),\r\n isLoading: false,\r\n };\r\n const changedDocument = action.response.payload;\r\n if (changedDocument) {\r\n state.documentLists = modifyAllDocumentLists(state.documentLists, (documentList) =>\r\n editDocumentDetails(\r\n documentList,\r\n changedDocument.displayName,\r\n changedDocument.id,\r\n UpdateOperation.DISPLAY_NAME\r\n )\r\n );\r\n state.sendDocuments.formInfo.documents = map(state.sendDocuments.formInfo.documents, (document) =>\r\n document.id === changedDocument.id ? changedDocument : document\r\n );\r\n }\r\n },\r\n [DOCUMENT_TYPE_UPDATED]: (state, action: DocumentResponseAction) => {\r\n let modifiedDocumentLists = state.documentLists;\r\n if (action.response.payload) {\r\n const documentType = action.response.payload.type;\r\n const documentId = action.response.payload.id;\r\n modifiedDocumentLists = modifyAllDocumentLists(state.documentLists, (documentList) =>\r\n editDocumentDetails(documentList, documentType, documentId, UpdateOperation.DOCUMENT_TYPE)\r\n );\r\n }\r\n state.typeUpdated = { wasUpdateSuccessful: action.response.success, updateTime: Date.now() };\r\n state.documentLists = modifiedDocumentLists;\r\n },\r\n [UPDATE_DOCUMENT_FOLDER]: (state) => {\r\n state.documentsUpdate.mapIsLoading.set(DocumentsUpdateType.UPDATE_FOLDER, true);\r\n },\r\n [DOCUMENT_FOLDER_UPDATED]: (state: DocumentsState, action: DocumentResponseAction) => {\r\n const updateDocumentFolderResponse = action.response;\r\n state.documentsUpdate = generateNewDocumentsUpdate(\r\n state.documentsUpdate.mapIsLoading,\r\n DocumentsUpdateType.UPDATE_FOLDER,\r\n updateDocumentFolderResponse.success\r\n );\r\n if (updateDocumentFolderResponse.success && updateDocumentFolderResponse.payload) {\r\n const newDocument = updateDocumentFolderResponse.payload;\r\n const modifiedDocumentListsState = modifyAllDocumentListStates(state.documentLists, (documentListState) => {\r\n const modifiedDocumentListState = clone(documentListState);\r\n const isFilteredForFolder =\r\n documentListState.fetchRequest.folder && documentListState.fetchRequest.folder.name !== t(T.common_all);\r\n if (isFilteredForFolder) {\r\n // if a folder filter is currently set, then the document having its folder changed\r\n // will no longer fall under that filter and should be removed from the list\r\n modifiedDocumentListState.entries = filter(\r\n documentListState.entries,\r\n (document: Document) => document.id !== newDocument.id\r\n );\r\n modifiedDocumentListState.fetchRequest.offset = documentListState.fetchRequest.offset - 1;\r\n } else {\r\n // if no folder filter is set, then update the document in the list\r\n const documentIndex = findIndex(\r\n documentListState.entries,\r\n (document: Document) => document.id === newDocument.id\r\n );\r\n if (documentIndex !== -1) {\r\n const modifiedDocumentList = clone(documentListState.entries);\r\n modifiedDocumentList[documentIndex] = newDocument;\r\n modifiedDocumentListState.entries = modifiedDocumentList;\r\n }\r\n }\r\n return modifiedDocumentListState;\r\n });\r\n state.documentLists = modifiedDocumentListsState;\r\n }\r\n },\r\n [DOCUMENT_TYPES_FETCHED]: (state, action: DocumentTypesResponseAction) => {\r\n if (action.response.payload && action.response.payload.types) {\r\n state.documentTypes.types = action.response.payload.types;\r\n state.documentTypes.isLoading = false;\r\n return;\r\n }\r\n state.documentTypes.isLoading = false;\r\n },\r\n [DELETE_DOCUMENT]: (state) => {\r\n state.documentsUpdate.mapIsLoading.set(DocumentsUpdateType.DELETE, true);\r\n if (\r\n state.loadDetailsDocuments.loadFolderIdentifier &&\r\n state.loadDetailsDocuments.loadFolderIdentifier.fileCount !== undefined\r\n ) {\r\n state.loadDetailsDocuments.loadFolderIdentifier.fileCount =\r\n state.loadDetailsDocuments.loadFolderIdentifier.fileCount - 1;\r\n }\r\n },\r\n [DOCUMENT_DELETED]: (state: DocumentsState, action: DocumentDeletedResponseAction) => {\r\n state.documentsUpdate = generateNewDocumentsUpdate(\r\n state.documentsUpdate.mapIsLoading,\r\n DocumentsUpdateType.DELETE,\r\n action.response.success\r\n );\r\n if (action.response.success && action.response.payload) {\r\n // @TODO MOB-5751 payload does not have an ID...\r\n const deletedDocumentID = action.response.payload.id;\r\n state.sendDocuments.formInfo.documents = filter(\r\n state.sendDocuments.formInfo.documents,\r\n (document) => document.id !== deletedDocumentID\r\n );\r\n state.documentLists = modifyAllDocumentListStates(state.documentLists, (documentListState) => {\r\n const filteredDocumentList = filter(\r\n documentListState.entries,\r\n (document) => document.id !== deletedDocumentID\r\n );\r\n const didRemoveDocumentFromList = filteredDocumentList.length < documentListState.entries.length;\r\n if (didRemoveDocumentFromList) {\r\n const modifiedDocumentListState = clone(documentListState);\r\n modifiedDocumentListState.entries = filteredDocumentList;\r\n modifiedDocumentListState.fetchRequest.offset = documentListState.fetchRequest.offset - 1;\r\n return modifiedDocumentListState;\r\n } else {\r\n return documentListState;\r\n }\r\n });\r\n state.loadDetailsDocuments.loadDocumentCount -= 1;\r\n }\r\n },\r\n [TOTAL_DOCUMENT_COUNT_FETCHED]: (state, action: TotalDocumentCountResponseAction) => {\r\n const response = action.response.payload;\r\n if (response && response.metadata) {\r\n state.totalDocumentCount = response.metadata.totalResultCount;\r\n }\r\n },\r\n [INCREMENT_LOAD_DOCUMENT_COUNT]: (state, action: LoadDocumentCountIncrementAction) => {\r\n state.loadDetailsDocuments.loadDocumentCount += action.increment;\r\n },\r\n [FETCH_FOLDER_BY_ID]: (state) => {\r\n state.loadDetailsDocuments.isLoadingLoadFolder = true;\r\n state.loadDetailsDocuments.loadDocumentCount = 0;\r\n state.loadDetailsDocuments.loadFolderIdentifier = undefined;\r\n },\r\n [FOLDER_BY_ID_FETCHED]: (state, action: FolderByIDResponseAction) => {\r\n const folderByIDResponse = action.response.payload;\r\n state.loadDetailsDocuments.isLoadingLoadFolder = false;\r\n if (folderByIDResponse && folderByIDResponse.name) {\r\n state.loadDetailsDocuments.loadDocumentCount = folderByIDResponse.fileCount || 0;\r\n state.loadDetailsDocuments.loadFolderIdentifier = folderByIDResponse;\r\n state.folders.customFolders.entries = updateCustomFolder(\r\n folderByIDResponse,\r\n state.folders.customFolders.entries\r\n );\r\n\r\n return;\r\n }\r\n state.loadDetailsDocuments.loadDocumentCount = 0;\r\n state.loadDetailsDocuments.loadFolderIdentifier = undefined;\r\n },\r\n [RESET_CURRENT_FOLDER]: (state) => {\r\n state.loadDetailsDocuments.loadDocumentCount = 0;\r\n state.loadDetailsDocuments.loadFolderIdentifier = undefined;\r\n },\r\n [DOCUMENT_FILE_SAVED]: (state, action: SaveDocumentAction) => {\r\n state.viewDocument.documentCache[action.id] = DownloadState.success;\r\n },\r\n [DOCUMENT_FILE_FETCH_ERROR]: (state, action: DocumentFetchErrorAction) => {\r\n state.viewDocument.documentCache[action.data.id] = DownloadState.failure;\r\n state.viewDocument.isLoadingDocumentData = false;\r\n },\r\n [SET_CREATE_DOCUMENT_CONFIG]: (state, action: SetCreateDocumentConfigAction) => {\r\n state.createDocument = action.config;\r\n },\r\n [SET_VIEW_TYPE]: (state, action: SetViewTypeAction) => {\r\n state.viewType = action.viewType;\r\n },\r\n [FETCH_DOCUMENT_FILE]: (state) => {\r\n state.viewDocument.isLoadingDocumentData = true;\r\n state.viewDocument.documentFileData = undefined;\r\n },\r\n [FETCH_CONVERSATION_DOCUMENT_FILE]: (state) => {\r\n state.viewDocument.isLoadingDocumentData = true;\r\n state.viewDocument.documentFileData = undefined;\r\n },\r\n [DOCUMENT_FILE_FETCHED]: (state, action: DocumentFileFetchAction) => {\r\n state.viewDocument.isLoadingDocumentData = false;\r\n state.viewDocument.documentFileData = action.data;\r\n },\r\n [SET_VIEW_DOCUMENT_FILE_DATA]: (state, action: SetViewDocumentFileData) => {\r\n state.viewDocument.viewDocumentFileData = action.fileData;\r\n },\r\n [SET_EXPORTING_DOCUMENT_ID]: (state, action: SetExportingDocumentIDAction) => {\r\n state.exportDocument.isExporting = action.documentID !== undefined;\r\n state.exportDocument.documentID = action.documentID;\r\n },\r\n },\r\n documentsFolderSubReducer,\r\n documentListsReducer\r\n);\r\n\r\nconst editDocumentDetails = (docs: Document[], value: string, id: string, operation: UpdateOperation) => {\r\n const index = findIndex(docs, (doc) => doc.id === id);\r\n const copydocs = clone(docs);\r\n if (index >= 0) {\r\n const updatedDoc = copydocs[index];\r\n switch (operation) {\r\n case UpdateOperation.DISPLAY_NAME: {\r\n updatedDoc.displayName = value;\r\n break;\r\n }\r\n case UpdateOperation.DOCUMENT_TYPE: {\r\n updatedDoc.type = value;\r\n break;\r\n }\r\n case UpdateOperation.DOCUMENT_FOLDER: {\r\n updatedDoc.folderName = value;\r\n break;\r\n }\r\n }\r\n copydocs[index] = updatedDoc;\r\n }\r\n return copydocs;\r\n};\r\n\r\nconst changeDocNameEpics$ = (client: DocumentsClient, action$: ActionsObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n CHANGE_DOCUMENT_NAME,\r\n (action: ChangeDocNameAction) => client.setDocName$(action.id, action.newName),\r\n (response): DocumentResponseAction => ({ type: CHANGE_DOCUMENT_NAME_FULFILLED, response: response })\r\n );\r\nconst fetchTypesEpic$ = (client: DocumentsClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n FETCH_DOCUMENT_TYPES,\r\n client.fetchTypes$,\r\n (response): TypesResponseAction => ({ type: DOCUMENT_TYPES_FETCHED, response: response })\r\n );\r\n};\r\n\r\nconst updateDocType$ = (client: DocumentsClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n UPDATE_DOCUMENT_TYPE,\r\n (action: UpdateDocTypeAction) => client.changeDocType$(action.id, action.newType),\r\n (response): DocumentResponseAction => createResponseAction(DOCUMENT_TYPE_UPDATED)(response)\r\n );\r\n};\r\n\r\nconst updateDocFolder$ = (client: DocumentsClient, action$: ActionsObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n UPDATE_DOCUMENT_FOLDER,\r\n (action: UpdateDocFolderAction) => client.changeDocFolder$(action.documentID, action.newFolder),\r\n (response): DocumentResponseAction => createResponseAction(DOCUMENT_FOLDER_UPDATED)(response)\r\n );\r\n\r\nconst getDocumentTotal$ = (client: DocumentsClient, action$: ActionsObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_TOTAL_DOCUMENT_COUNT,\r\n client.fetchDocumentTotal$,\r\n createResponseAction(TOTAL_DOCUMENT_COUNT_FETCHED)\r\n );\r\n\r\nconst getFolderByLoad$ = (client: DocumentsClient, action$: ActionsObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_FOLDER_BY_ID,\r\n (action: GetFolderByLoadAction) => client.fetchFolderByLoad$(action.guid),\r\n createResponseAction(FOLDER_BY_ID_FETCHED)\r\n );\r\nconst cacheFile$ = (cacheFile: CacheFile | undefined, action$: ActionsObservable) =>\r\n action$\r\n .ofType(DOCUMENT_FILE_FETCHED)\r\n .pipe(\r\n mergeMap$((action: { data: { id: string; extension: string; file: string }; type: string }) =>\r\n cacheFile\r\n ? from$(cacheFile(`${action.data.id}.${action.data.extension}`, action.data.file)).pipe(\r\n mergeMap$(() => of$({ type: DOCUMENT_FILE_SAVED, id: action.data.id }))\r\n )\r\n : of$()\r\n )\r\n );\r\n\r\nconst sendDocumentsEpic$ = (client: DocumentsClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n SEND_DOCUMENTS,\r\n (action: SendDocumentsAction) => {\r\n let sendBy: DocumentSendType = DocumentSendType.email;\r\n if (action.infoToSend.recipientEmail) {\r\n if (action.infoToSend.recipientFax) {\r\n sendBy = DocumentSendType.both;\r\n }\r\n } else if (action.infoToSend.recipientFax) {\r\n sendBy = DocumentSendType.fax;\r\n }\r\n const request: MyDocumentsSendRequest = {\r\n recipientName: action.infoToSend.recipientName,\r\n recipientCompanyName: action.infoToSend.recipientCompanyName,\r\n documents: map(action.infoToSend.documents, (document) => document.id),\r\n recipientEmail: action.infoToSend.recipientEmail,\r\n recipientFax: action.infoToSend.recipientFax,\r\n sendToThunderFunding: action.infoToSend.selectedRecipient === RecipientType.ThunderFunding,\r\n sendBy: sendBy,\r\n };\r\n\r\n return client.sendDocuments$(request);\r\n },\r\n (response): DocumentsSentResponseAction => createResponseAction<{}>(DOCUMENTS_SENT)(response)\r\n );\r\n};\r\n\r\nconst deleteDocumentEpic$ = (client: DocumentsClient, action$: ActionsObservable) =>\r\n action$.ofType(DELETE_DOCUMENT).pipe(\r\n flatMap$((action: DeleteDocumentAction) =>\r\n client.deleteDocument$(action.id).pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n return createResponseAction<{}>(DOCUMENT_DELETED)({\r\n success: response.success,\r\n payload: { id: action.id },\r\n });\r\n } else {\r\n const error = response as ApiError;\r\n return createResponseAction<{}>(DOCUMENT_DELETED)({ success: false, error: error });\r\n }\r\n })\r\n )\r\n )\r\n );\r\n\r\nconst fetchDocumentFile$ = (client: DocumentsClient, action$: ActionsObservable) =>\r\n action$.ofType(FETCH_DOCUMENT_FILE).pipe(\r\n flatMap$((action: FetchDocumentFileAction) =>\r\n client.fetchDocumentFile$(action.id).pipe(\r\n map$((response: ApiResponse123) =>\r\n response.result(\r\n (data) => documentFileFetched({ id: action.id, file: data, extension: action.extension }),\r\n (): DocumentFetchErrorAction => ({ type: DOCUMENT_FILE_FETCH_ERROR, data: { id: action.id } })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\nconst fetchConversationDocumentFile$ = (client: DocumentsClient, action$: ActionsObservable) =>\r\n action$.ofType(FETCH_CONVERSATION_DOCUMENT_FILE).pipe(\r\n flatMap$((action: FetchConversationDocumentFileAction) =>\r\n client.fetchConversationDocumentFile$(action.conversationId, action.messageId, action.docId).pipe(\r\n map$((response: ApiResponse123) =>\r\n response.result(\r\n (data) => documentFileFetched({ id: action.docId, file: data, extension: action.extension }),\r\n (): DocumentFetchErrorAction => ({ type: DOCUMENT_FILE_FETCH_ERROR, data: { id: action.docId } })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\nconst fetchDocumentsCount$ = (client: DocumentsClient, action$: ActionsObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_DOCUMENTS_COUNT,\r\n () => client.fetchDocuments$({ ...createDefaultDocumentFilters(), fields: 'metadata' }),\r\n (response): DocumentsCountFetchedResponse => ({ type: DOCUMENTS_COUNT_FETCHED, response: response })\r\n );\r\n\r\nexport const createDocumentsEpic = (api: Api, cacheFile?: CacheFile) => {\r\n const client = new DocumentsClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n documentLists.createMergedEpic$(client.fetchDocuments$, action$, state$),\r\n sendDocumentsEpic$(client, action$),\r\n changeDocNameEpics$(client, action$),\r\n getDocumentTotal$(client, action$),\r\n deleteDocumentEpic$(client, action$),\r\n fetchTypesEpic$(client, action$),\r\n updateDocType$(client, action$),\r\n getFolderByLoad$(client, action$),\r\n updateDocFolder$(client, action$),\r\n fetchDocumentFile$(client, action$),\r\n fetchConversationDocumentFile$(client, action$),\r\n cacheFile$(cacheFile, action$),\r\n fetchDocumentsCount$(client, action$),\r\n foldersRedux.createMergedEpic$(\r\n action$,\r\n state$,\r\n client.fetchDefaultFolders$,\r\n client.fetchCustomFolders$,\r\n client.createCustomFolder$,\r\n client.changeFolderName$,\r\n client.deleteFolder$,\r\n client.getCustomFolder$\r\n )\r\n );\r\n};\r\n\r\nconst generateNewDocumentsUpdate = (\r\n mapIsLoading: Map,\r\n updateType: DocumentsUpdateType,\r\n wasSuccessful: boolean\r\n): DocumentsUpdate => {\r\n mapIsLoading.delete(updateType);\r\n return {\r\n mapIsLoading: mapIsLoading,\r\n updateResult: {\r\n updateType: updateType,\r\n updatedSuccessfully: wasSuccessful,\r\n updateTime: Date.now(),\r\n },\r\n };\r\n};\r\n","import { castArray } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { Observable } from 'rxjs';\r\nimport { debounceTime as debounce$, flatMap as flatMap$, map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { ApiError, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { Response } from '@common/redux/Base';\r\n\r\n//--------------------------------------\r\n// Epic boilerplate Helpers\r\n//--------------------------------------\r\n\r\n/** Implementation of a single Epic API Endpoint with onSuccess/onError callbacks\r\n *\r\n * In onSuccess/onError you can emit multiple action by returning an array.\r\n * You can also emit no action (not normal) by returning an empty array.\r\n */\r\nexport const standardApiEpic = (\r\n action$: ActionsObservable,\r\n actionType: string,\r\n getRequest$: (action: Action) => Observable>,\r\n onSuccess: (response: ApiResponseSuccess, action: Action) => Action | Action[],\r\n onError: (error: ApiError, action: Action) => Action | Action[],\r\n debounceTime?: number\r\n) => {\r\n const execution$ = mergeMap$((action: Action): Observable => {\r\n return getRequest$(action).pipe(\r\n flatMap$((response: ApiResponse123) => {\r\n if (response.success) {\r\n return castArray(onSuccess(response as ApiResponseSuccess, action));\r\n } else {\r\n return castArray(onError(response as ApiError, action));\r\n }\r\n })\r\n );\r\n });\r\n if (debounceTime) {\r\n return action$.ofType(actionType).pipe(debounce$(debounceTime), execution$);\r\n } else {\r\n return action$.ofType(actionType).pipe(execution$);\r\n }\r\n};\r\n\r\n/** Implementation of a single Epic API Endpoint with 'fulfilled' actionCreators handling and optional success sideEffect */\r\nexport const simpleApiEpicToAction = (\r\n action$: ActionsObservable,\r\n actionType: string,\r\n getRequest$: (action: Action) => Observable>,\r\n fulfilledActionCreator: (response: Response, action: Action) => Action,\r\n sideEffect?: (response: ApiResponseSuccess) => void\r\n) => {\r\n return action$.ofType(actionType).pipe(\r\n mergeMap$((action: Action): Observable => {\r\n return getRequest$(action).pipe(\r\n map$((response: ApiResponse123) => {\r\n const successResp = response as ApiResponseSuccess;\r\n if (response.success) {\r\n if (sideEffect) {\r\n sideEffect(successResp);\r\n }\r\n return fulfilledActionCreator({ success: true, payload: successResp.data }, action);\r\n } else {\r\n return fulfilledActionCreator({ success: false, error: response as ApiError }, action);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as observableMerge } from 'rxjs';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { FeedbackClient } from '@common/client';\r\nimport { FeedbackRequest, PostedLoadsUrl } from '@common/model';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\n\r\nconst REQUEST_FTP_ACCESS = 'REQUEST_FTP_ACCESS';\r\nconst REQUEST_URL_SCRAPE = 'REQUEST_URL_SCRAPE';\r\nconst REQUEST_UPLOAD_CSV = 'REQUEST_UPLOAD_CSV';\r\nconst REQUEST_FEEDBACK = 'REQUEST_FEEDBACK';\r\nconst REQUEST_BROKER_FEATURE = 'REQUEST_BROKER_FEATURE';\r\nexport const FTP_ACCESS_REQUESTED = 'FTP_ACCESS_REQUESTED';\r\nexport const URL_SCRAPE_REQUESTED = 'URL_SCRAPE_REQUESTED';\r\nexport const UPLOAD_CSV_REQUESTED = 'UPLOAD_CSV_REQUESTED';\r\nexport const FEEDBACK_REQUESTED = 'FEEDBACK_REQUESTED';\r\nexport const REQUESTED_BROKER_FEATURE = 'REQUESTED_BROKER_FEATURE';\r\nexport type FeedbackResponse = Response;\r\n\r\ninterface RequestURLScrape extends Action {\r\n url: PostedLoadsUrl;\r\n}\r\n\r\ninterface RequestCSVUpload extends Action {\r\n file: FormData;\r\n}\r\n\r\ninterface RequestFeedback extends Action {\r\n feedback: FeedbackRequest;\r\n}\r\n\r\ninterface RequestFeedbackResponse extends Action {\r\n response: FeedbackResponse;\r\n isNewUpload?: boolean;\r\n}\r\ninterface RequestFeature extends Action {\r\n isBroker: boolean;\r\n}\r\n\r\nexport function requestFTPAccess(): Action {\r\n return { type: REQUEST_FTP_ACCESS };\r\n}\r\n\r\nexport function requestBrokerFeature(isBroker: boolean): RequestFeature {\r\n return {\r\n type: REQUEST_BROKER_FEATURE,\r\n isBroker: isBroker,\r\n };\r\n}\r\n\r\nexport function requestURLScrape(url: PostedLoadsUrl): RequestURLScrape {\r\n return {\r\n type: REQUEST_URL_SCRAPE,\r\n url: url,\r\n };\r\n}\r\n\r\nexport function requestCSVUpload(file: FormData): RequestCSVUpload {\r\n return {\r\n type: REQUEST_UPLOAD_CSV,\r\n file: file,\r\n };\r\n}\r\n\r\nexport function requestFeedback(topic: string, feedbackText: string, height?: number, width?: number): RequestFeedback {\r\n return {\r\n type: REQUEST_FEEDBACK,\r\n feedback: {\r\n topic: topic,\r\n content: feedbackText,\r\n extraInfo: height && width ? `screenHeight: ${height}, screenWidth: ${width}` : undefined,\r\n },\r\n };\r\n}\r\n\r\nexport interface FeedbackState extends BaseState {\r\n responseType: string;\r\n response: FeedbackResponse;\r\n isNewUpload?: boolean;\r\n isFTPLoading: boolean;\r\n isUploadLoading: boolean;\r\n isScrapeLoading: boolean;\r\n isFeedbackLoading: boolean;\r\n isBrokerFeatureRequestLoading: boolean;\r\n}\r\n\r\nconst requestFeedbackResponse = (\r\n response: FeedbackResponse,\r\n type: string,\r\n isNewUpload?: boolean\r\n): RequestFeedbackResponse => ({\r\n type: type,\r\n response: response,\r\n isNewUpload: isNewUpload,\r\n});\r\n\r\nconst initialState: FeedbackState = {\r\n response: { success: false },\r\n responseType: '',\r\n isFTPLoading: false,\r\n isUploadLoading: false,\r\n isScrapeLoading: false,\r\n isFeedbackLoading: false,\r\n isLoading: false,\r\n isBrokerFeatureRequestLoading: false,\r\n};\r\n\r\nexport const feedbackReducer = (state: FeedbackState = initialState, action: Action) => {\r\n switch (action.type) {\r\n case URL_SCRAPE_REQUESTED: {\r\n const scrapeAction = action as RequestFeedbackResponse;\r\n return {\r\n ...state,\r\n responseType: scrapeAction.type,\r\n response: scrapeAction.response,\r\n isScrapeLoading: false,\r\n isLoading: false,\r\n };\r\n }\r\n case FTP_ACCESS_REQUESTED: {\r\n const FTPAction = action as RequestFeedbackResponse;\r\n return {\r\n ...state,\r\n responseType: FTPAction.type,\r\n response: FTPAction.response,\r\n isFTPLoading: false,\r\n isLoading: false,\r\n };\r\n }\r\n case UPLOAD_CSV_REQUESTED: {\r\n const uploadCSVAction = action as RequestFeedbackResponse;\r\n return {\r\n ...state,\r\n responseType: uploadCSVAction.type,\r\n response: uploadCSVAction.response,\r\n isLoading: false,\r\n isUploadLoading: false,\r\n isNewUpload: uploadCSVAction.isNewUpload,\r\n };\r\n }\r\n case FEEDBACK_REQUESTED: {\r\n const feedbackAction = action as RequestFeedbackResponse;\r\n return {\r\n ...state,\r\n responseType: feedbackAction.type,\r\n response: feedbackAction.response,\r\n isLoading: false,\r\n isFeedbackLoading: false,\r\n };\r\n }\r\n case REQUESTED_BROKER_FEATURE: {\r\n const feedbackAction = action as RequestFeedbackResponse;\r\n return {\r\n ...state,\r\n responseType: feedbackAction.type,\r\n response: feedbackAction.response,\r\n isLoading: false,\r\n isBrokerFeatureRequestLoading: false,\r\n };\r\n }\r\n case REQUEST_FTP_ACCESS: {\r\n return {\r\n ...state,\r\n isFTPLoading: true,\r\n isLoading: true,\r\n };\r\n }\r\n case REQUEST_URL_SCRAPE: {\r\n return {\r\n ...state,\r\n isScrapeLoading: true,\r\n isLoading: true,\r\n };\r\n }\r\n case REQUEST_UPLOAD_CSV: {\r\n return {\r\n ...state,\r\n isLoading: true,\r\n isUploadLoading: true,\r\n isNewUpload: false,\r\n };\r\n }\r\n case REQUEST_FEEDBACK: {\r\n return {\r\n ...state,\r\n isLoading: true,\r\n isFeedbackLoading: true,\r\n };\r\n }\r\n case REQUEST_BROKER_FEATURE: {\r\n return {\r\n ...state,\r\n isLoading: true,\r\n isBrokerFeatureRequestLoading: true,\r\n };\r\n }\r\n default: {\r\n return state;\r\n }\r\n }\r\n};\r\n\r\nconst requestFTPAccess$ = (client: FeedbackClient, action$: ActionsObservable) =>\r\n action$.ofType(REQUEST_FTP_ACCESS).pipe(\r\n mergeMap(() => {\r\n return client.requestFTPIntegration$().pipe(\r\n map((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n return requestFeedbackResponse({ success: response.success }, FTP_ACCESS_REQUESTED);\r\n } else {\r\n const error = response as ApiError;\r\n return requestFeedbackResponse({ success: response.success, error: error }, FTP_ACCESS_REQUESTED);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst NEW_UPLOAD_SUCCESS_CODE = 2020002;\r\n\r\nconst requestBrokerFeature$ = (client: FeedbackClient, action$: ActionsObservable) =>\r\n action$.ofType(REQUEST_BROKER_FEATURE).pipe(\r\n mergeMap((FeatureRequest) => {\r\n return client.requestBrokerFeature$((FeatureRequest as RequestFeature).isBroker).pipe(\r\n map((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n return requestFeedbackResponse({ success: response.success }, REQUESTED_BROKER_FEATURE);\r\n } else {\r\n const error = response as ApiError;\r\n return requestFeedbackResponse({ success: response.success, error: error }, REQUESTED_BROKER_FEATURE);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst requestCSVUpload$ = (client: FeedbackClient, action$: ActionsObservable) =>\r\n action$.ofType(REQUEST_UPLOAD_CSV).pipe(\r\n mergeMap((CVSRequest) => {\r\n return client.requestCSVUpload$((CVSRequest as RequestCSVUpload).file).pipe(\r\n map((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n const successResponse = response as ApiResponseSuccess<{ code: number }>;\r\n const isNewUpload = successResponse.data ? successResponse.data.code === NEW_UPLOAD_SUCCESS_CODE : false;\r\n return requestFeedbackResponse({ success: response.success }, UPLOAD_CSV_REQUESTED, isNewUpload);\r\n } else {\r\n const error = response as ApiError;\r\n return requestFeedbackResponse({ success: response.success, error: error }, UPLOAD_CSV_REQUESTED);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst requestURLScrape$ = (client: FeedbackClient, action$: ActionsObservable) =>\r\n action$.ofType(REQUEST_URL_SCRAPE).pipe(\r\n mergeMap((URLRequest) => {\r\n return client.requestURLScrape$((URLRequest as RequestURLScrape).url).pipe(\r\n map((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n return requestFeedbackResponse({ success: response.success }, URL_SCRAPE_REQUESTED);\r\n } else {\r\n const error = response as ApiError;\r\n return requestFeedbackResponse({ success: response.success, error: error }, URL_SCRAPE_REQUESTED);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst requestFeedback$ = (client: FeedbackClient, action$: ActionsObservable) =>\r\n action$.ofType(REQUEST_FEEDBACK).pipe(\r\n mergeMap((Feedback) => {\r\n return client.requestFeedback$((Feedback as RequestFeedback).feedback).pipe(\r\n map((response: ApiResponse123) => {\r\n if (response.success) {\r\n return requestFeedbackResponse({ success: response.success }, FEEDBACK_REQUESTED);\r\n } else {\r\n const error = response as ApiError;\r\n return requestFeedbackResponse({ success: response.success, error: error }, FEEDBACK_REQUESTED);\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nexport const createFeedbackEpic = (api: Api) => {\r\n const feedbackClient = new FeedbackClient(api);\r\n\r\n return (action$: ActionsObservable) =>\r\n observableMerge(\r\n requestFTPAccess$(feedbackClient, action$),\r\n requestCSVUpload$(feedbackClient, action$),\r\n requestURLScrape$(feedbackClient, action$),\r\n requestFeedback$(feedbackClient, action$),\r\n requestBrokerFeature$(feedbackClient, action$)\r\n );\r\n};\r\n","import { clone, filter, findIndex, map, slice, toUpper } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$, Observable } from 'rxjs';\r\n\r\nimport { ApiErrorCode, ApiResponse123 } from '@common/api';\r\nimport { compareIds, serverGMTRFCToLocalTZAndFormatISO } from '@common/helper';\r\nimport {\r\n createDefaultCustomFoldersRequest,\r\n CUSTOM_FOLDERS_REQUEST_LIMIT_APPENDING,\r\n CUSTOM_FOLDERS_REQUEST_LIMIT_DEFAULT,\r\n CUSTOM_FOLDERS_REQUEST_OFFSET_INCREMENT,\r\n CustomFolder,\r\n CustomFoldersRequest,\r\n CustomFoldersResponse,\r\n DefaultFolder,\r\n DefaultFoldersResponse,\r\n NewCustomFolderRequest,\r\n NewCustomFolderResponse,\r\n} from '@common/model';\r\nimport { createResponseAction, EmptyResponse, ResponseAction } from '@common/redux/Base';\r\nimport { createPaginatedListReducer, PaginatedListState } from '@common/redux/epic/PaginatedListReducer';\r\n\r\nimport { simpleApiEpicToAction } from './EpicHelper';\r\n\r\nexport type CustomFoldersState = PaginatedListState;\r\n\r\nexport enum CreateFolderError {\r\n ALREADY_EXISTS,\r\n OTHER,\r\n}\r\n\r\ninterface CreateFolderAction extends Action {\r\n request: NewCustomFolderRequest;\r\n}\r\n\r\ninterface FetchDefaultFoldersAction extends Action {\r\n isRefreshing: boolean;\r\n}\r\ninterface EditFolderNameAction extends Action {\r\n id: string;\r\n newName: string;\r\n}\r\ninterface UpdateFolderAction extends Action {\r\n id: string;\r\n}\r\ninterface DeleteFolderAction extends Action {\r\n id: string;\r\n}\r\n\r\nexport interface CreateFolderResponse {\r\n success: boolean;\r\n time: number;\r\n error?: CreateFolderError;\r\n folder?: CustomFolder;\r\n}\r\n\r\nexport interface FoldersState {\r\n defaultFolders: {\r\n defaultFolders: DefaultFolder[];\r\n isLoading: boolean;\r\n isRefreshing: boolean;\r\n didLoadingFail: boolean;\r\n };\r\n customFolders: CustomFoldersState;\r\n createFolderUpdate: {\r\n isLoading: boolean;\r\n response?: CreateFolderResponse;\r\n };\r\n editFolderNameUpdate: {\r\n isLoading: boolean;\r\n response?: CreateFolderResponse;\r\n };\r\n deleteFolderUpdate: {\r\n deletedFolderId?: string;\r\n response?: CreateFolderResponse;\r\n };\r\n}\r\n\r\nexport const initialFoldersState: FoldersState = {\r\n defaultFolders: {\r\n defaultFolders: [],\r\n isLoading: false,\r\n isRefreshing: false,\r\n didLoadingFail: false,\r\n },\r\n customFolders: {\r\n fetchRequest: createDefaultCustomFoldersRequest(),\r\n isLoading: false,\r\n didLoadingFail: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n isLastResult: false,\r\n },\r\n createFolderUpdate: {\r\n isLoading: false,\r\n },\r\n editFolderNameUpdate: {\r\n isLoading: false,\r\n },\r\n deleteFolderUpdate: {},\r\n};\r\n\r\n/**\r\n * Folders are a part of documents, so this reducer is defined here but\r\n * implemented in DocumentsEpic. This was done to reduce the complexity\r\n * of the DocumentsEpic file while still keeping things together in redux.\r\n * @param reducerKey String used to prefix folder actions.\r\n * @param getCustomFoldersStateFromStoreState Function which gets the\r\n * CustomFoldersState from the broader redux state (StoreState).\r\n * i.e. store.documents.folders.customFolders\r\n */\r\nexport const createFoldersReducer = (\r\n reducerKey: string,\r\n getCustomFoldersStateFromStoreState: (store: StoreState) => CustomFoldersState\r\n) => {\r\n const customFoldersReducer = createPaginatedListReducer<\r\n CustomFolder,\r\n CustomFoldersRequest,\r\n CustomFoldersResponse,\r\n StoreState,\r\n CustomFoldersState\r\n >({\r\n reducerKey: reducerKey,\r\n getPaginatedListStateFromStoreState: getCustomFoldersStateFromStoreState,\r\n requestConstants: {\r\n limit: {\r\n default: CUSTOM_FOLDERS_REQUEST_LIMIT_DEFAULT,\r\n appending: CUSTOM_FOLDERS_REQUEST_LIMIT_APPENDING,\r\n },\r\n offsetIncrement: CUSTOM_FOLDERS_REQUEST_OFFSET_INCREMENT,\r\n },\r\n getEntriesFromResponse: (response) => response.customFolders,\r\n areEntriesEqual: compareIds,\r\n transformFetchedEntries: (entries: CustomFolder[]) =>\r\n map(entries, (entry: CustomFolder) => convertCustomFolderDatesToSortableStrings(entry)),\r\n });\r\n\r\n const actionKey = `${toUpper(reducerKey)}_`;\r\n\r\n // Actions\r\n const actionTypes = {\r\n FETCH_DEFAULT_FOLDERS: `${actionKey}FETCH_DEFAULT_FOLDERS`,\r\n DEFAULT_FOLDERS_FETCHED: `${actionKey}DEFAULT_FOLDERS_FETCHED`,\r\n CREATE_FOLDER: `${actionKey}CREATE_FOLDER`,\r\n RECEIVED_CREATE_FOLDER_RESPONSE: `${actionKey}RECEIVED_CREATE_FOLDER_RESPONSE`,\r\n EDIT_FOLDER_NAME: `${actionKey}EDIT_FOLDER_NAME`,\r\n FOLDER_NAME_EDITED: `${actionKey}FOLDER_NAME_EDITED`,\r\n DELETE_FOLDER: `${actionKey}DELETE_FOLDER`,\r\n DELETE_LOAD_FOLDER: `${actionKey}DELETE_LOAD_FOLDER`,\r\n FOLDER_DELETED: `${actionKey}FOLDER_DELETED`,\r\n UPDATE_FOLDER: `${actionKey}UPDATE_FOLDER`,\r\n FOLDER_UPDATED: `${actionKey}FOLDER_UPDATED`,\r\n ...customFoldersReducer.actionTypes,\r\n };\r\n const actions = {\r\n fetchDefaultFolders: (isRefreshing: boolean = false): FetchDefaultFoldersAction => ({\r\n type: actionTypes.FETCH_DEFAULT_FOLDERS,\r\n isRefreshing: isRefreshing,\r\n }),\r\n fetchDefaultFoldersResponse: createResponseAction(actionTypes.DEFAULT_FOLDERS_FETCHED),\r\n createFolder: (folderName: string, loadID?: string): CreateFolderAction => ({\r\n type: actionTypes.CREATE_FOLDER,\r\n request: {\r\n name: folderName,\r\n loadId: loadID,\r\n },\r\n }),\r\n changeFolderName: (id: string, folderName: string): EditFolderNameAction => ({\r\n type: actionTypes.EDIT_FOLDER_NAME,\r\n id: id,\r\n newName: folderName,\r\n }),\r\n updateFolder: (id: string): UpdateFolderAction => ({\r\n type: actionTypes.UPDATE_FOLDER,\r\n id: id,\r\n }),\r\n deleteFolder: (id: string): DeleteFolderAction => ({ type: actionTypes.DELETE_FOLDER, id: id }),\r\n deleteLoadFolder: (id: string): DeleteFolderAction => ({ type: actionTypes.DELETE_LOAD_FOLDER, id: id }),\r\n deleteFolderResponse: createResponseAction(actionTypes.FOLDER_DELETED),\r\n updateFolderResponse: createResponseAction(actionTypes.FOLDER_UPDATED),\r\n createFolderResponse: createResponseAction(actionTypes.RECEIVED_CREATE_FOLDER_RESPONSE),\r\n changedFolderNameResponse: createResponseAction(actionTypes.FOLDER_NAME_EDITED),\r\n ...customFoldersReducer.actions,\r\n };\r\n\r\n // Reducer\r\n const foldersReducer = (state: FoldersState, action: Action): FoldersState => {\r\n switch (action.type) {\r\n // Creating Custom Folder\r\n case actionTypes.CREATE_FOLDER: {\r\n return {\r\n ...state,\r\n createFolderUpdate: {\r\n isLoading: true,\r\n response: undefined,\r\n },\r\n };\r\n }\r\n case actionTypes.EDIT_FOLDER_NAME: {\r\n return {\r\n ...state,\r\n editFolderNameUpdate: {\r\n isLoading: true,\r\n },\r\n };\r\n }\r\n case actionTypes.RECEIVED_CREATE_FOLDER_RESPONSE: {\r\n const response = (action as ResponseAction).response;\r\n if (response.success && response.payload) {\r\n return {\r\n ...state,\r\n customFolders: {\r\n ...state.customFolders,\r\n entries: state.customFolders.entries\r\n ? [response.payload, ...state.customFolders.entries]\r\n : [response.payload],\r\n },\r\n createFolderUpdate: {\r\n isLoading: false,\r\n response: {\r\n success: true,\r\n time: Date.now(),\r\n error: undefined,\r\n folder: response.payload,\r\n },\r\n },\r\n };\r\n }\r\n const error =\r\n response.error && response.error.code === ApiErrorCode.FOLDER_ALREADY_EXISTS\r\n ? CreateFolderError.ALREADY_EXISTS\r\n : CreateFolderError.OTHER;\r\n return {\r\n ...state,\r\n createFolderUpdate: {\r\n isLoading: false,\r\n response: {\r\n success: false,\r\n time: Date.now(),\r\n error: error,\r\n },\r\n },\r\n };\r\n }\r\n // Default Folders\r\n case actionTypes.FETCH_DEFAULT_FOLDERS: {\r\n const isRefreshing = (action as FetchDefaultFoldersAction).isRefreshing;\r\n return {\r\n ...state,\r\n defaultFolders: {\r\n ...state.defaultFolders,\r\n isLoading: !isRefreshing,\r\n isRefreshing: isRefreshing,\r\n didLoadingFail: false,\r\n },\r\n };\r\n }\r\n case actionTypes.DEFAULT_FOLDERS_FETCHED: {\r\n const defaultFoldersResponse = (action as ResponseAction).response;\r\n let didLoadingFail = false;\r\n let defaultFolders = state.defaultFolders.defaultFolders;\r\n if (defaultFoldersResponse.success && defaultFoldersResponse.payload) {\r\n defaultFolders = defaultFoldersResponse.payload.folders;\r\n } else if (!state.defaultFolders.isRefreshing) {\r\n didLoadingFail = true;\r\n }\r\n return {\r\n ...state,\r\n defaultFolders: {\r\n defaultFolders: defaultFolders,\r\n isLoading: false,\r\n isRefreshing: false,\r\n didLoadingFail: didLoadingFail,\r\n },\r\n };\r\n }\r\n case actionTypes.FOLDER_NAME_EDITED: {\r\n const customFoldersResponse = (action as ResponseAction).response;\r\n const error =\r\n customFoldersResponse.error && customFoldersResponse.error.code === ApiErrorCode.FOLDER_ALREADY_EXISTS\r\n ? CreateFolderError.ALREADY_EXISTS\r\n : CreateFolderError.OTHER;\r\n const payload = customFoldersResponse.payload;\r\n const customFolders = clone(state.customFolders);\r\n const newState = {\r\n ...state,\r\n customFolders: customFolders,\r\n editFolderNameUpdate: {\r\n isLoading: false,\r\n response: {\r\n success: customFoldersResponse.success,\r\n time: Date.now(),\r\n error: error,\r\n },\r\n },\r\n };\r\n if (payload) {\r\n newState.customFolders.entries = updateCustomFolder(payload, customFolders.entries);\r\n }\r\n return newState;\r\n }\r\n case actionTypes.DELETE_FOLDER:\r\n case actionTypes.DELETE_LOAD_FOLDER: {\r\n const { id } = action as DeleteFolderAction;\r\n return {\r\n ...state,\r\n customFolders: {\r\n ...state.customFolders,\r\n isRefreshing: true,\r\n },\r\n deleteFolderUpdate: {\r\n deletedFolderId: id,\r\n },\r\n };\r\n }\r\n case actionTypes.FOLDER_DELETED: {\r\n const customFolders = state.customFolders;\r\n const response = (action as ResponseAction).response;\r\n const folderListWithoutDeletedElement = response.success\r\n ? filter(customFolders.entries, (folder) => folder.id !== state.deleteFolderUpdate.deletedFolderId)\r\n : customFolders.entries;\r\n return {\r\n ...state,\r\n customFolders: {\r\n ...customFolders,\r\n isRefreshing: false,\r\n entries: folderListWithoutDeletedElement,\r\n },\r\n deleteFolderUpdate: {\r\n response: {\r\n success: response.success,\r\n time: Date.now(),\r\n },\r\n },\r\n };\r\n }\r\n case actionTypes.FOLDER_UPDATED: {\r\n const customFolders = state.customFolders;\r\n const customFolder = (action as ResponseAction).response.payload;\r\n if (customFolder) {\r\n return {\r\n ...state,\r\n customFolders: {\r\n ...customFolders,\r\n isRefreshing: false,\r\n entries: updateCustomFolder(customFolder, customFolders.entries),\r\n },\r\n };\r\n }\r\n break;\r\n }\r\n // Custom folders\r\n default: {\r\n // If the custom folders state is modified, return a new state object as well so that\r\n // the parent reducer sees there was a state change.\r\n // If we don't do this, folder actions will not modify the redux state.\r\n const modifiedFoldersState = customFoldersReducer.reducer(state.customFolders, action);\r\n if (modifiedFoldersState !== state.customFolders) {\r\n return {\r\n ...state,\r\n customFolders: modifiedFoldersState,\r\n };\r\n } else {\r\n return state;\r\n }\r\n }\r\n }\r\n return state;\r\n };\r\n\r\n // Epics\r\n const createCustomFolderEpic$ = (\r\n action$: ActionsObservable,\r\n createCustomFolder$: (request: NewCustomFolderRequest) => Observable>\r\n ) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n actionTypes.CREATE_FOLDER,\r\n (action: CreateFolderAction) => createCustomFolder$(action.request),\r\n actions.createFolderResponse\r\n );\r\n const changeFolderNameEpic$ = (\r\n action$: ActionsObservable,\r\n changeCustomFolderName$: (id: string, name: string) => Observable>\r\n ) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n actionTypes.EDIT_FOLDER_NAME,\r\n (action: EditFolderNameAction) => changeCustomFolderName$(action.id, action.newName),\r\n actions.changedFolderNameResponse\r\n );\r\n\r\n const fetchDefaultFoldersEpic$ = (\r\n action$: ActionsObservable,\r\n fetchDefaultFolders$: () => Observable>\r\n ) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n actionTypes.FETCH_DEFAULT_FOLDERS,\r\n () => fetchDefaultFolders$(),\r\n actions.fetchDefaultFoldersResponse\r\n );\r\n const deleteFolderEpic$ = (\r\n action$: ActionsObservable,\r\n deleteFolder$: (id: string) => Observable>\r\n ) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n actionTypes.DELETE_FOLDER,\r\n (action: DeleteFolderAction) => deleteFolder$(action.id),\r\n actions.deleteFolderResponse\r\n );\r\n const getCustomFolderEpic$ = (\r\n action$: ActionsObservable,\r\n getCustomFolder$: (id: string) => Observable>\r\n ) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n actionTypes.UPDATE_FOLDER,\r\n (action: UpdateFolderAction) => getCustomFolder$(action.id),\r\n actions.updateFolderResponse\r\n );\r\n\r\n const createdMergedEpic$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n fetchDefaultFolders$: () => Observable>,\r\n fetchCustomFolders$: (request: CustomFoldersRequest) => Observable>,\r\n newCustomFolder$: (request: NewCustomFolderRequest) => Observable>,\r\n changeCustomFolderName$: (id: string, name: string) => Observable>,\r\n deleteFolder$: (id: string) => Observable>,\r\n getCustomFolder$: (id: string) => Observable>\r\n ) => {\r\n return merge$(\r\n fetchDefaultFoldersEpic$(action$, fetchDefaultFolders$),\r\n customFoldersReducer.createMergedEpic$(fetchCustomFolders$, action$, state$),\r\n createCustomFolderEpic$(action$, newCustomFolder$),\r\n changeFolderNameEpic$(action$, changeCustomFolderName$),\r\n deleteFolderEpic$(action$, deleteFolder$),\r\n getCustomFolderEpic$(action$, getCustomFolder$)\r\n );\r\n };\r\n\r\n return {\r\n actionTypes: actionTypes,\r\n createMergedEpic$: createdMergedEpic$,\r\n actions: actions,\r\n reducer: foldersReducer,\r\n };\r\n};\r\n\r\nconst convertCustomFolderDatesToSortableStrings = (folder: CustomFolder) => {\r\n const newFolder = clone(folder);\r\n newFolder.createdOn = serverGMTRFCToLocalTZAndFormatISO(newFolder.createdOn);\r\n if (newFolder.modifiedOn) {\r\n newFolder.modifiedOn = serverGMTRFCToLocalTZAndFormatISO(newFolder.modifiedOn);\r\n }\r\n if (newFolder.lastAccessedOn) {\r\n newFolder.lastAccessedOn = serverGMTRFCToLocalTZAndFormatISO(newFolder.lastAccessedOn);\r\n }\r\n return newFolder;\r\n};\r\n\r\n/**\r\n * Will update the folder in place if it exists, otherwise it will append it to the list\r\n */\r\nexport const updateCustomFolder = (\r\n folderResponse: CustomFolder,\r\n entries: CustomFolder[] | undefined\r\n): CustomFolder[] | undefined => {\r\n if (!entries) {\r\n return [folderResponse];\r\n }\r\n const index = findIndex(entries, (entry) => entry.id === folderResponse.id);\r\n if (index > -1) {\r\n return [...slice(entries, 0, index), folderResponse, ...slice(entries, index + 1, entries.length)];\r\n }\r\n return [...entries, folderResponse];\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as observableMerge } from 'rxjs';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { FtpClient } from '@common/client';\r\nimport { Ftp, ModifiedFtp, NewFtp } from '@common/model';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\n\r\nconst FETCH_FTP = 'FETCH_FTP';\r\nconst FETCH_FTP_FULFILLED = 'FETCH_FTP_FULFILLED';\r\nconst POST_FTP = 'POST_FTP';\r\nconst POST_FTP_FULFILLED = 'POST_FTP_FULFILLED';\r\nconst UPDATE_FTP = 'UPDATE_FTP';\r\nconst UPDATE_FTP_FULFILLED = 'UPDATE_FTP_FULFILLED';\r\nconst DELETE_FTP = 'DELETE_FTP';\r\nconst DELETE_FTP_FULFILLED = 'DELETE_FTP_FULFILLED';\r\n\r\nexport type FtpResponse = Response;\r\n\r\ninterface FetchFtpResponse extends Action {\r\n response: FtpResponse;\r\n}\r\n\r\ninterface PostFtp extends Action {\r\n ftp: NewFtp;\r\n}\r\n\r\ninterface UpdateFtp extends Action {\r\n ftp: ModifiedFtp;\r\n}\r\n\r\ninterface DeleteFtp extends Action {\r\n ftpId: string;\r\n}\r\n\r\ninterface DatalessResponse extends Action {\r\n datalessResponse: Response;\r\n}\r\n\r\ninterface DatalessResponseWithFtps extends DatalessResponse {\r\n ftps?: Ftp[] | null;\r\n}\r\n\r\nexport const fetchFtp = (): Action => ({\r\n type: FETCH_FTP,\r\n});\r\n\r\nexport const fetchFtpResponse = (response: FtpResponse): FetchFtpResponse => ({\r\n type: FETCH_FTP_FULFILLED,\r\n response: response,\r\n});\r\n\r\nexport const postFtp = (ftpToPost: NewFtp): PostFtp => ({\r\n type: POST_FTP,\r\n ftp: ftpToPost,\r\n});\r\n\r\nexport const postFtpResponse = (response: FtpResponse): DatalessResponseWithFtps => {\r\n const { payload, ...datalessResponse } = response;\r\n return {\r\n type: POST_FTP_FULFILLED,\r\n datalessResponse: datalessResponse,\r\n ftps: payload,\r\n };\r\n};\r\n\r\nexport const updateFtp = (ftpToUpdate: ModifiedFtp): UpdateFtp => ({\r\n type: UPDATE_FTP,\r\n ftp: ftpToUpdate,\r\n});\r\n\r\nexport const updateFtpResponse = (response: FtpResponse): DatalessResponseWithFtps => {\r\n const { payload, ...datalessResponse } = response;\r\n\r\n return {\r\n type: UPDATE_FTP_FULFILLED,\r\n datalessResponse: datalessResponse,\r\n ftps: payload,\r\n };\r\n};\r\n\r\nexport const deleteFtp = (ftpIdToDelete: string): DeleteFtp => ({\r\n type: DELETE_FTP,\r\n ftpId: ftpIdToDelete,\r\n});\r\n\r\nexport const deleteFtpResponse = (response: Response): DatalessResponse => {\r\n return {\r\n type: DELETE_FTP_FULFILLED,\r\n datalessResponse: response,\r\n };\r\n};\r\n\r\nexport interface FtpState extends BaseState {\r\n ftps: Ftp[];\r\n saveFtpResponse: DatalessResponseWithFtps;\r\n deleteFtpResponse: DatalessResponseWithFtps;\r\n isSaveLoading: boolean;\r\n isDeleteLoading: boolean;\r\n}\r\n\r\nexport const ftpReducer = (state = {}, action: Action) => {\r\n let changedStates = {};\r\n\r\n switch (action.type) {\r\n case FETCH_FTP_FULFILLED: {\r\n const fetchFtpAction = action as FetchFtpResponse;\r\n return {\r\n ...state,\r\n ftps: fetchFtpAction.response.payload,\r\n isLoading: false,\r\n };\r\n }\r\n case POST_FTP_FULFILLED: {\r\n const postFtpAction = action as DatalessResponseWithFtps;\r\n if (postFtpAction.ftps) {\r\n changedStates = {\r\n ...changedStates,\r\n ftps: postFtpAction.ftps,\r\n };\r\n }\r\n changedStates = {\r\n ...changedStates,\r\n saveFtpResponse: postFtpAction.datalessResponse,\r\n isSaveLoading: false,\r\n };\r\n return {\r\n ...state,\r\n ...changedStates,\r\n };\r\n }\r\n\r\n case UPDATE_FTP_FULFILLED: {\r\n const updateFtpAction = action as DatalessResponseWithFtps;\r\n if (updateFtpAction.ftps) {\r\n changedStates = {\r\n ...changedStates,\r\n ftps: updateFtpAction.ftps,\r\n };\r\n }\r\n changedStates = {\r\n ...changedStates,\r\n saveFtpResponse: updateFtpAction.datalessResponse,\r\n isSaveLoading: false,\r\n };\r\n return {\r\n ...state,\r\n ...changedStates,\r\n };\r\n }\r\n\r\n case DELETE_FTP_FULFILLED: {\r\n const deleteFtpAction = action as DatalessResponse;\r\n return {\r\n ...state,\r\n deleteFtpResponse: deleteFtpAction.datalessResponse,\r\n isDeleteLoading: false,\r\n };\r\n }\r\n case FETCH_FTP:\r\n return {\r\n ...state,\r\n isLoading: true,\r\n };\r\n case POST_FTP:\r\n case UPDATE_FTP:\r\n return {\r\n ...state,\r\n isSaveLoading: true,\r\n };\r\n\r\n case DELETE_FTP:\r\n return {\r\n ...state,\r\n isDeleteLoading: true,\r\n };\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const createFtpEpic = (api: Api) => {\r\n const ftpClient = new FtpClient(api);\r\n return (action$: ActionsObservable) =>\r\n observableMerge(\r\n action$.ofType(FETCH_FTP).pipe(\r\n mergeMap(() => {\r\n return ftpClient.fetchFtps$().pipe(\r\n map((response: ApiResponse123) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess;\r\n return fetchFtpResponse({ success: response.success, payload: successResp.data });\r\n } else {\r\n const error = response as ApiError;\r\n return fetchFtpResponse({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n ),\r\n action$.ofType(POST_FTP).pipe(\r\n mergeMap((data) => {\r\n return ftpClient.postFtp$((data as PostFtp).ftp).pipe(\r\n map((response: ApiResponse123) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess;\r\n return postFtpResponse({ success: response.success, payload: successResp.data });\r\n } else {\r\n const error = response as ApiError;\r\n return postFtpResponse({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n ),\r\n action$.ofType(UPDATE_FTP).pipe(\r\n mergeMap((data) => {\r\n return ftpClient.patchFtp$((data as UpdateFtp).ftp).pipe(\r\n map((response: ApiResponse123) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess;\r\n return updateFtpResponse({ success: response.success, payload: successResp.data });\r\n } else {\r\n const error = response as ApiError;\r\n return updateFtpResponse({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n ),\r\n action$.ofType(DELETE_FTP).pipe(\r\n mergeMap((data) => {\r\n return ftpClient.deleteFtp$((data as DeleteFtp).ftpId).pipe(\r\n map((response: ApiResponse123) => {\r\n if (response.success) {\r\n return deleteFtpResponse({ success: response.success });\r\n } else {\r\n const error = response as ApiError;\r\n return deleteFtpResponse({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n )\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { IdentityVerificationClient } from '@common/client/IdentityVerificationClient';\r\nimport { ContactsCompanyVerificationResponse, IdentityVerificationPhoneResponse, Phone } from '@common/model';\r\nimport { createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface IdentityVerificationState {\r\n isLoadingCompany: boolean;\r\n isLoadingPhone: boolean;\r\n companyIdentityResponse: ContactsCompanyVerificationResponse | undefined;\r\n phoneIdentityResponse: IdentityVerificationPhoneResponse | undefined;\r\n}\r\n\r\nconst getIdentityVerificationCompanyAction = createApiAction<{}, ContactsCompanyVerificationResponse>(\r\n 'GET_IDENTITY_VERIFICATION_COMPANY'\r\n);\r\nconst addNewIdentityVerificationNumberAction = createApiAction(\r\n 'ADD_NEW_IDENTITY_VERIFICATION_NUMBER'\r\n);\r\n\r\nexport const fetchIdentityVerificationCompany = () => getIdentityVerificationCompanyAction.fetchAction({});\r\nexport const addNewIdentityVerificationNumber = (phone: Phone) =>\r\n addNewIdentityVerificationNumberAction.fetchAction(phone);\r\n\r\nconst initialState: IdentityVerificationState = {\r\n isLoadingCompany: false,\r\n isLoadingPhone: false,\r\n companyIdentityResponse: undefined,\r\n phoneIdentityResponse: undefined,\r\n};\r\n\r\nexport const identityVerificationReducer = createMergedReducer(initialState, [\r\n getIdentityVerificationCompanyAction.initiateCase((state: IdentityVerificationState) => {\r\n state.isLoadingCompany = true;\r\n state.companyIdentityResponse = undefined;\r\n }),\r\n getIdentityVerificationCompanyAction.completeCase((state, action) => {\r\n state.isLoadingCompany = false;\r\n if (action.response.success) {\r\n state.companyIdentityResponse = action.response.payload;\r\n }\r\n }),\r\n addNewIdentityVerificationNumberAction.initiateCase((state) => {\r\n state.isLoadingPhone = true;\r\n }),\r\n addNewIdentityVerificationNumberAction.completeCase((state, action) => {\r\n state.isLoadingPhone = false;\r\n if (action.response.success) {\r\n state.phoneIdentityResponse = action.response.payload;\r\n }\r\n }),\r\n]);\r\n\r\nexport const createIdentityVerificationEpic = (api: Api) => {\r\n const client = new IdentityVerificationClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n getIdentityVerificationCompanyAction.createEpic$(action$, client.getIdentityVerificationCompany$),\r\n addNewIdentityVerificationNumberAction.createEpic$(action$, client.addIdentityVerificationPhoneNumber$)\r\n );\r\n};\r\n","import { filter, map } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api, ApiError } from '@common/api';\r\nimport { InboxClient } from '@common/client/InboxClient';\r\nimport { GetMessagesResponse, InboxMessage, MessageAction } from '@common/model/Inbox';\r\nimport { createApiAction, createApiActionWithFetchData, EmptyResponse } from '@common/redux/Base';\r\n\r\nimport { createMergedReducer } from '../ReduxHelper';\r\n\r\nexport interface InboxState {\r\n messages: InboxMessage[];\r\n currentMessage?: InboxMessage;\r\n isLoadingCurrentMessage: boolean;\r\n didFetchMessages: boolean;\r\n isLoadingMessages: boolean;\r\n delete: {\r\n isDeleting: boolean;\r\n deletedSuccessfully: boolean;\r\n deletedTime?: number;\r\n error?: ApiError;\r\n };\r\n clear: {\r\n isClearing: boolean;\r\n clearedSuccessfully: boolean;\r\n clearedTime?: number;\r\n error?: ApiError;\r\n };\r\n read: {\r\n isReading: boolean;\r\n readSuccessfully: boolean;\r\n error?: ApiError;\r\n };\r\n token?: string;\r\n hasMore: boolean;\r\n error?: ApiError;\r\n}\r\n\r\nconst initialState: InboxState = {\r\n didFetchMessages: false,\r\n isLoadingMessages: false,\r\n isLoadingCurrentMessage: false,\r\n delete: {\r\n isDeleting: false,\r\n deletedSuccessfully: false,\r\n },\r\n clear: {\r\n isClearing: false,\r\n clearedSuccessfully: false,\r\n },\r\n read: {\r\n isReading: false,\r\n readSuccessfully: false,\r\n },\r\n messages: [],\r\n hasMore: true,\r\n};\r\n\r\nexport const fetchInboxMessagesAction = createApiActionWithFetchData<\r\n { token: string | undefined },\r\n GetMessagesResponse\r\n>('FETCH_INBOX_MESSAGES');\r\nconst fetchInboxMessageAction = createApiAction<{ messageId: string }, InboxMessage>('FETCH_INBOX_MESSAGE');\r\nconst deleteInboxMessageAction = createApiActionWithFetchData<{ messageId: string }, EmptyResponse>(\r\n 'DELETE_INBOX_MESSAGE'\r\n);\r\nexport const clearInboxMessagesAction = createApiAction<{}, EmptyResponse>('CLEAR_INBOX_MESSAGES');\r\nexport const markAsReadAction = createApiActionWithFetchData<{ messageId: string }, EmptyResponse>('MARK_AS_READ');\r\n\r\nexport const fetchInboxMessages = (token: string | undefined) => fetchInboxMessagesAction.fetchAction({ token: token });\r\nexport const fetchInboxMessage = (messageId: string) => fetchInboxMessageAction.fetchAction({ messageId: messageId });\r\nexport const deleteInboxMessage = (messageId: string) => deleteInboxMessageAction.fetchAction({ messageId: messageId });\r\nexport const clearInboxMessages = () => clearInboxMessagesAction.fetchAction({});\r\nexport const markAsRead = (messageId: string) => markAsReadAction.fetchAction({ messageId: messageId });\r\n\r\nexport const inboxReducer = createMergedReducer(initialState, [\r\n fetchInboxMessagesAction.initiateCase((state) => {\r\n state.isLoadingMessages = true;\r\n }),\r\n fetchInboxMessagesAction.completeCase((state, action) => {\r\n state.isLoadingMessages = false;\r\n state.didFetchMessages = action.response.success;\r\n if (action.response.success) {\r\n state.messages = action?.fetchData?.token\r\n ? [...state.messages, ...action.response.payload.items]\r\n : action.response.payload.items;\r\n state.hasMore = action.response.payload.hasMore;\r\n state.token = action.response.payload.token;\r\n } else {\r\n state.error = action.response.error;\r\n }\r\n }),\r\n fetchInboxMessageAction.initiateCase((state) => {\r\n state.isLoadingCurrentMessage = true;\r\n }),\r\n fetchInboxMessageAction.completeCase((state, action) => {\r\n state.isLoadingCurrentMessage = false;\r\n if (action.response.success) {\r\n state.currentMessage = action.response.payload;\r\n }\r\n }),\r\n deleteInboxMessageAction.initiateCase((state) => {\r\n state.delete.isDeleting = true;\r\n }),\r\n deleteInboxMessageAction.completeCase((state, action) => {\r\n state.delete = {\r\n isDeleting: false,\r\n deletedSuccessfully: action.response.success,\r\n };\r\n if (action.response.success) {\r\n state.messages = filter(state.messages, ({ guid }) => guid !== action.fetchData?.messageId);\r\n state.delete.deletedTime = Date.now();\r\n } else {\r\n state.delete.error = action.response.error;\r\n }\r\n }),\r\n clearInboxMessagesAction.initiateCase((state) => {\r\n state.clear.isClearing = true;\r\n }),\r\n clearInboxMessagesAction.completeCase((state, action) => {\r\n state.clear = {\r\n isClearing: false,\r\n clearedSuccessfully: action.response.success,\r\n };\r\n if (action.response.success) {\r\n state.messages = [];\r\n state.clear.clearedTime = Date.now();\r\n } else {\r\n state.clear.error = action.response.error;\r\n }\r\n }),\r\n markAsReadAction.initiateCase((state) => {\r\n state.read.isReading = true;\r\n }),\r\n markAsReadAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.messages = map(state.messages, (message) =>\r\n message.guid === action.fetchData?.messageId ? { ...message, read: true } : message\r\n );\r\n if (\r\n state.currentMessage &&\r\n state.currentMessage?.guid &&\r\n action.fetchData?.messageId === state.currentMessage?.guid\r\n ) {\r\n state.currentMessage.read = true;\r\n }\r\n } else {\r\n state.read.error = action.response.error;\r\n }\r\n state.read.isReading = false;\r\n }),\r\n]);\r\n\r\nexport const createInboxEpic = (api: Api) => {\r\n const client = new InboxClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n deleteInboxMessageAction.createEpic$(action$, (data) =>\r\n client.updateInboxMessage$({ action: MessageAction.delete, messageIds: [data.messageId] })\r\n ),\r\n clearInboxMessagesAction.createEpic$(action$, client.clearAllMessage$),\r\n markAsReadAction.createEpic$(action$, (data) => client.readMessage$(data.messageId)),\r\n fetchInboxMessagesAction.createEpic$(action$, (data) => client.fetchAllInboxMessages$(data.token)),\r\n fetchInboxMessageAction.createEpic$(action$, (data) => client.fetchMessage$(data.messageId))\r\n );\r\n};\r\n","import { find, map, reduce } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api } from '@common/api';\r\nimport { LoadsClient } from '@common/client/LoadsClient';\r\nimport { withoutStateHI } from '@common/helper/LoadAvailabilityHelper';\r\nimport { KeysSortByAge, loadSortToKeysSortBy } from '@common/helper/SortByKeys';\r\nimport {\r\n EquipmentType,\r\n FormatedLoadAvailability,\r\n LoadAvailabilitySortCategory,\r\n LoadAvailabilityType,\r\n LoadSearchRequest,\r\n LoadSearchSort,\r\n LoadSortField,\r\n loadSortFor,\r\n StateLoadAvailabilityResponse,\r\n} from '@common/model';\r\nimport { Response } from '@common/redux/Base';\r\n\r\nimport { initialState as initialLoadSearchState, LoadSearchBaseState } from './loadSearch/HelperFunctions';\r\nimport { createLoadSearch, SearchReducerKey } from './loadSearch/LoadSearchShared';\r\n\r\nexport const LOAD_AVAILABILITY_REDUCER_KEY = SearchReducerKey.LOAD_AVAILABILITY;\r\n\r\nconst FETCH_LOAD_AVAILABILITIES = 'FETCH_LOAD_AVAILABILITIES';\r\nconst LOAD_AVAILABILITIES_FETCHED = 'LOAD_AVAILABILITIES_FETCHED';\r\nconst SET_SORT_OPTION = 'SET_SORT_OPTION';\r\nconst UPDATE_LAST_SEARCH_AVAILABILITIES = 'UPDATE_LAST_SEARCH_AVAILABILITIES';\r\nconst UPDATE_LIST_SEARCH_AVAILABILITIES = 'UPDATE_LIST_SEARCH_AVAILABILITIES';\r\n\r\nconst loadAvailabilitySearch = createLoadSearch(LOAD_AVAILABILITY_REDUCER_KEY);\r\n\r\ninterface LoadAvailabilityResponse extends Action {\r\n response: Response;\r\n}\r\n\r\ninterface Filters {\r\n equipmentTypes: EquipmentType[];\r\n sortCategory: LoadAvailabilitySortCategory;\r\n isRefreshing: boolean;\r\n}\r\n\r\ninterface SetSortOptionAction extends Action {\r\n sortOption?: LoadSearchSort;\r\n}\r\n\r\ninterface SetLastSearchAction extends Action {\r\n lastSearch: LoadSearchRequest;\r\n}\r\n\r\ntype FetchLoadAvailabilitiesAction = Filters & Action;\r\n\r\nexport const fetchLoadAvailabilities = (\r\n equipmentTypes: EquipmentType[],\r\n sortCategory: LoadAvailabilitySortCategory,\r\n isRefreshing = false\r\n): FetchLoadAvailabilitiesAction => ({\r\n type: FETCH_LOAD_AVAILABILITIES,\r\n equipmentTypes: equipmentTypes,\r\n sortCategory: sortCategory,\r\n isRefreshing: isRefreshing,\r\n});\r\n\r\nexport const setSortOption = (sortOption?: LoadSearchSort): SetSortOptionAction => ({\r\n type: SET_SORT_OPTION,\r\n sortOption: sortOption,\r\n});\r\n\r\n// Only used for updating last search after doing map searches\r\nexport const updateLastSearch = (lastSearch: LoadSearchRequest): SetLastSearchAction => ({\r\n type: UPDATE_LAST_SEARCH_AVAILABILITIES,\r\n lastSearch: lastSearch,\r\n});\r\n\r\nexport const updateListSearch = (lastSearch: LoadSearchRequest): SetLastSearchAction => ({\r\n type: UPDATE_LIST_SEARCH_AVAILABILITIES,\r\n lastSearch: lastSearch,\r\n});\r\n\r\nexport const searchLoads = (searchData?: LoadSearchRequest) => loadAvailabilitySearch.actions.searchLoads(searchData);\r\nexport const nextSearchLoads = loadAvailabilitySearch.actions.nextSearchLoads;\r\nexport const updateLoadAvailabilityLoads = loadAvailabilitySearch.actions.updateLoads;\r\nexport const performAutoRefresh = loadAvailabilitySearch.actions.performAutoRefresh;\r\nexport const viewLoadAvailabilityLoad = loadAvailabilitySearch.actions.viewLoad;\r\nexport const refreshLoadCount = loadAvailabilitySearch.actions.refreshLoadCount;\r\nexport const setSearchFilterDraft = loadAvailabilitySearch.actions.setSearchFilterDraft;\r\nexport const fetchLoadCount = loadAvailabilitySearch.actions.fetchLoadCount;\r\n\r\nexport interface LoadAvailabilityState extends LoadSearchBaseState {\r\n isLoading: boolean;\r\n isRefreshing: boolean;\r\n isRequestSuccessful?: boolean;\r\n updateTime?: number;\r\n errorCode?: number;\r\n loadAvailabilities?: FormatedLoadAvailability[];\r\n selectedSortOption?: LoadSearchSort;\r\n outboundAverage: number;\r\n}\r\n\r\nexport const initialState: LoadAvailabilityState = {\r\n ...initialLoadSearchState,\r\n isLoading: false,\r\n isRefreshing: false,\r\n selectedSortOption: loadSortFor(LoadSortField.PostedAge),\r\n sortBy: KeysSortByAge,\r\n outboundAverage: 0,\r\n};\r\n\r\nexport const loadAvailabilityReducer = (state = initialState, action: Action): LoadAvailabilityState => {\r\n switch (action.type) {\r\n case FETCH_LOAD_AVAILABILITIES: {\r\n const fetchAction = action as FetchLoadAvailabilitiesAction;\r\n return {\r\n ...state,\r\n isLoading: !fetchAction.isRefreshing,\r\n isRequestSuccessful: undefined,\r\n updateTime: undefined,\r\n isRefreshing: fetchAction.isRefreshing,\r\n };\r\n }\r\n case LOAD_AVAILABILITIES_FETCHED: {\r\n const availabilitiesAction = action as LoadAvailabilityResponse;\r\n const { success, payload, error } = availabilitiesAction.response;\r\n let availabilities = undefined;\r\n let outboundAverage = 0;\r\n if (success) {\r\n availabilities = map(payload?.stateAvailabilities, (stateAvailability) => {\r\n const filteredStateAvailability = withoutStateHI(stateAvailability);\r\n const inbound = find(\r\n filteredStateAvailability.availabilities,\r\n (availability) => availability.type === LoadAvailabilityType.INBOUND\r\n );\r\n const outbound = find(\r\n filteredStateAvailability.availabilities,\r\n (availability) => availability.type === LoadAvailabilityType.OUTBOUND\r\n );\r\n const intrastate = find(\r\n filteredStateAvailability.availabilities,\r\n (availability) => availability.type === LoadAvailabilityType.INTRASTATE\r\n );\r\n const outboundQuery = outbound && { ...outbound.query, saveLocations: false, saveAsRecentSearch: false };\r\n const intrastateQuery = intrastate && {\r\n ...intrastate.query,\r\n saveLocations: false,\r\n saveAsRecentSearch: false,\r\n };\r\n const inboundQuery = inbound && { ...inbound.query, saveLocations: false, saveAsRecentSearch: false };\r\n return {\r\n state: filteredStateAvailability.state,\r\n inbound: inbound?.count || 0,\r\n outbound: outbound?.count || 0,\r\n intrastate: intrastate?.count || 0,\r\n outboundQuery: outboundQuery,\r\n intrastateQuery: intrastateQuery,\r\n inboundQuery: inboundQuery,\r\n };\r\n });\r\n\r\n outboundAverage =\r\n reduce(availabilities, (totalLoads, availability) => totalLoads + availability.outbound, 0) /\r\n availabilities.length;\r\n }\r\n\r\n return {\r\n ...state,\r\n isLoading: false,\r\n isRefreshing: false,\r\n isRequestSuccessful: success,\r\n updateTime: Date.now(),\r\n loadAvailabilities: availabilities,\r\n outboundAverage: outboundAverage,\r\n errorCode: error?.code,\r\n };\r\n }\r\n case SET_SORT_OPTION: {\r\n const sortAction = action as SetSortOptionAction;\r\n const sortBy = sortAction.sortOption ? loadSortToKeysSortBy(sortAction.sortOption) || state.sortBy : state.sortBy;\r\n return { ...state, sortBy: sortBy, selectedSortOption: sortAction.sortOption };\r\n }\r\n case UPDATE_LAST_SEARCH_AVAILABILITIES: {\r\n const setLastSearchAction = action as SetLastSearchAction;\r\n return {\r\n ...state,\r\n lastSearchRequest: setLastSearchAction.lastSearch,\r\n listSearchRequest: setLastSearchAction.lastSearch,\r\n };\r\n }\r\n case UPDATE_LIST_SEARCH_AVAILABILITIES: {\r\n const setLastSearchAction = action as SetLastSearchAction;\r\n return { ...state, listSearchRequest: setLastSearchAction.lastSearch };\r\n }\r\n default: {\r\n const loadAvailabilitySearchState = loadAvailabilitySearch.reducer(state, action);\r\n if (loadAvailabilitySearch) {\r\n return { ...state, ...loadAvailabilitySearchState };\r\n }\r\n return state;\r\n }\r\n }\r\n};\r\n\r\nconst fetchLoadAvailabilitiesEpic$ = (loadsClient: LoadsClient, action$: ActionsObservable) =>\r\n action$\r\n .ofType(FETCH_LOAD_AVAILABILITIES)\r\n .pipe(\r\n mergeMap$((action: FetchLoadAvailabilitiesAction) =>\r\n loadsClient\r\n .fetchLoadAvailability$(action.equipmentTypes, action.sortCategory)\r\n .pipe(map$((response) => response.resultDataResponse(LOAD_AVAILABILITIES_FETCHED)))\r\n )\r\n );\r\n\r\nexport const createLoadAvailabilityEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const loadsClient = new LoadsClient(api, isLiveEnvironment);\r\n\r\n return (action$: ActionsObservable, state$: StateObservable<{}>) =>\r\n merge$(\r\n fetchLoadAvailabilitiesEpic$(loadsClient, action$),\r\n loadAvailabilitySearch.createMergedEpic$(loadsClient, action$, state$)\r\n );\r\n};\r\n","import { assign, clone, cloneDeep, filter, map, merge, some } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$, of as of$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError } from '@common/api';\r\nimport { ApiErrorCode } from '@common/api/ApiErrorCode';\r\nimport { LoadsClient } from '@common/client/LoadsClient';\r\nimport { uniqDates } from '@common/helper/DateHelper';\r\nimport { getFlowIDFrom } from '@common/helper/FlowIDHeaderHelper';\r\nimport {\r\n addLoadFetchedTime,\r\n hackToRevertAPI3330,\r\n LoadAction,\r\n LoadFieldAction,\r\n LoadUpdate,\r\n removeLoadDatesTimesIfMidnight,\r\n updateLoad,\r\n UpdateLoadAction,\r\n updateLoadActionCreator,\r\n} from '@common/helper/LoadHelper';\r\nimport { Load, LOAD_DETAIL_REQUEST_FIELDS_DEFAULT, LoadSearchArchiving, RateCheckPreviewStatus } from '@common/model';\r\nimport { createAction, Response, responseActionHandler } from '@common/redux/Base';\r\nimport { createEpics, LoadSearchType } from '@common/redux/epic/loadSearch/LoadSearchHelper';\r\nimport {\r\n processRateCheckPreviewResponse,\r\n RateCheckPreviewResponseAction,\r\n} from '@common/redux/epic/rateCheck/RateCheckPreviewHelper';\r\nimport {\r\n getSettingsFromStateObservable,\r\n isRateCheckPreviewEnabled,\r\n SettingsState,\r\n} from '@common/redux/epic/SettingsStateHelper';\r\nimport { createMergedReducer, createReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport enum LoadDetailsReducerKey {\r\n LOAD_SEARCH = 'loadDetails',\r\n BACKHAULS = 'loadDetailsBackhauls',\r\n COMPANY_SEARCH = 'loadDetailsCompanySearch',\r\n POSTED = 'postedLoadDetails', // For Web only\r\n}\r\n\r\n// used currently to get the loadID from reference and contactId\r\n// since we don't have an api endpoint\r\n// TODO: https://123loadboard.atlassian.net/browse/LB-361 Messaging Widgets for integrators TMS\r\nconst references = {\r\n '970b1909-3c99-4121-8dc1-4b0f2cd80f48': {\r\n '26583': 'f7646d11-05f2-48b5-99d6-9062e28ce8e9',\r\n '35446': '33a8e100-cfd0-49dc-8e2e-8d3aaaf3eec4',\r\n '52893': 'ff1fa2d2-c913-4486-b603-0c1b87010808',\r\n '72932': 'b677c216-715f-47cb-b73c-f31665c66ad1',\r\n '86717': '8494076a-ced8-48d9-81d0-8de721f7c3db',\r\n },\r\n};\r\n\r\ninterface LoadDetailsActions {\r\n fetchLoadDetails: (loadID: string, fields?: string) => LoadAction;\r\n refreshLoadDetails: (loadID: string) => LoadAction;\r\n willShowLoadDetails: (\r\n load: Load,\r\n shouldResetLimit: boolean,\r\n archivingFlowID: string | undefined,\r\n overrideArchivingID: boolean\r\n ) => WillShowLoadDetailsAction;\r\n willShowLoadWithoutLoad: () => Action;\r\n updateLoadDetails: (update: LoadUpdate) => UpdateLoadAction;\r\n clearCurrentLoad: () => Action;\r\n setPreviousSelectedLoadID: (loadID: string | undefined) => SetPreviousSelectedLoadIDAction;\r\n}\r\n\r\nexport interface LoadDetailsResponseAction extends Action {\r\n response: Response;\r\n loadID: string;\r\n httpStatus: number;\r\n archivingFlowID: string | undefined;\r\n}\r\n\r\ninterface WillShowLoadDetailsAction extends Action, LoadSearchArchiving {\r\n load: Load;\r\n shouldResetLimit: boolean;\r\n overrideArchivingID: boolean;\r\n}\r\n\r\ninterface SetPreviousSelectedLoadIDAction extends Action {\r\n loadID: string | undefined;\r\n}\r\n\r\ninterface FetchSingleRateCheckPreviewAction extends Action {\r\n loadID: string;\r\n}\r\n\r\nexport type LoadDetailsStatus = 'Unknown' | 'Loading' | 'Loaded' | 'Unavailable' | 'PermissionDenied' | 'Error';\r\n\r\ninterface BaseResponseState {\r\n status: LoadDetailsStatus;\r\n}\r\n\r\ninterface ResponseStateUnknown extends BaseResponseState {\r\n status: 'Unknown';\r\n}\r\n\r\ninterface ResponseStateLoading extends BaseResponseState {\r\n status: 'Loading';\r\n}\r\n\r\ninterface ResponseStateLoaded extends BaseResponseState {\r\n status: 'Loaded';\r\n}\r\n\r\ninterface ResponseStateUnavailable extends BaseResponseState {\r\n status: 'Unavailable';\r\n}\r\n\r\ninterface ResponseStatePermissionDenied extends BaseResponseState {\r\n status: 'PermissionDenied';\r\n}\r\n\r\ninterface ResponseStateError extends BaseResponseState {\r\n status: 'Error';\r\n message: string;\r\n}\r\n\r\nexport type ResponseState =\r\n | ResponseStateUnknown\r\n | ResponseStateLoading\r\n | ResponseStateLoaded\r\n | ResponseStateUnavailable\r\n | ResponseStateError\r\n | ResponseStatePermissionDenied;\r\n\r\ntype LoadDetailsEpicStateObservable = StateObservable<{\r\n [reducerKey: string]: LoadDetailsState | SettingsState;\r\n}>;\r\n\r\nexport interface LoadDetailsState {\r\n widgetLoadId?: string;\r\n currentLoad?: Load;\r\n hasReachedLimit: boolean;\r\n loadingIDs: string[];\r\n responseState: ResponseState;\r\n showRetry: boolean;\r\n previousSelectedLoadID: string | undefined;\r\n archivingFlowID: string | undefined;\r\n}\r\n\r\nconst initialState: Readonly = {\r\n hasReachedLimit: false,\r\n loadingIDs: [],\r\n responseState: { status: 'Unknown' },\r\n showRetry: false,\r\n archivingFlowID: undefined,\r\n previousSelectedLoadID: undefined,\r\n};\r\n\r\nconst getLoadDetailsState = (state$: StateObservable, key: string) => state$.value[key] as LoadDetailsState;\r\n\r\nconst fetchLoadIdAction = createAction<{ referenceId: string; contactId: string }>('FETCH_LOAD_ID');\r\nexport const fetchLoadId = (referenceId: string, contactId: string) =>\r\n fetchLoadIdAction.action({ referenceId: referenceId, contactId: contactId });\r\n\r\nconst createLoadDetailsEpic = (key: string) => {\r\n //Actions\r\n const baseActionKey = `${key}_`;\r\n const actionsKeys = {\r\n FETCH_LOAD_DETAILS: `${baseActionKey}_FETCH_LOAD_DETAILS`,\r\n LOAD_DETAILS_FETCHED: `${baseActionKey}_LOAD_DETAILS_FETCHED`,\r\n REFRESH_LOAD_DETAILS: `${baseActionKey}_REFRESH_LOAD_DETAILS`,\r\n LOAD_DETAILS_REFRESHED: `${baseActionKey}_LOAD_DETAILS_REFRESHED`,\r\n WILL_SHOW_DETAILS: `${baseActionKey}_WILL_SHOW_DETAILS`,\r\n WILL_SHOW_DETAILS_WITHOUT_LOAD: `${baseActionKey}_WILL_SHOW_DETAILS_WITHOUT_LOAD`,\r\n UPDATE_LOAD_DETAILS: `${baseActionKey}_UPDATE_LOAD_DETAILS`,\r\n CLEAR_CURRENT_LOAD: `${baseActionKey}_CLEAR_CURRENT_LOAD`,\r\n SET_PREVIOUS_SELECTED_LOAD_ID: `${baseActionKey}_SET_PREVIOUS_SELECTED_LOAD_ID`,\r\n FETCH_SINGLERATECHECK_PREVIEW: `${baseActionKey}_FETCH_SINGLERATECHECK_PREVIEW`,\r\n SINGLERATECHECK_PREVIEW_COMPLETE: `${baseActionKey}_SINGLERATECHECK_PREVIEW_COMPLETE`,\r\n };\r\n\r\n const exportedActions: LoadDetailsActions = {\r\n fetchLoadDetails: (loadID: string, fields?: string): LoadFieldAction => ({\r\n type: actionsKeys.FETCH_LOAD_DETAILS,\r\n loadID: loadID,\r\n fields: fields ?? LOAD_DETAIL_REQUEST_FIELDS_DEFAULT,\r\n }),\r\n refreshLoadDetails: (loadID: string): LoadFieldAction => ({\r\n type: actionsKeys.REFRESH_LOAD_DETAILS,\r\n loadID: loadID,\r\n fields: LOAD_DETAIL_REQUEST_FIELDS_DEFAULT,\r\n }),\r\n willShowLoadDetails: (\r\n load: Load,\r\n shouldResetLimit: boolean = false,\r\n archivingFlowID: string | undefined,\r\n overrideArchivingID: boolean = true\r\n ): WillShowLoadDetailsAction => ({\r\n type: actionsKeys.WILL_SHOW_DETAILS,\r\n load: load,\r\n shouldResetLimit: shouldResetLimit,\r\n flowID: archivingFlowID,\r\n overrideArchivingID: overrideArchivingID,\r\n }),\r\n willShowLoadWithoutLoad: (): Action => ({\r\n type: actionsKeys.WILL_SHOW_DETAILS_WITHOUT_LOAD,\r\n }),\r\n updateLoadDetails: updateLoadActionCreator(actionsKeys.UPDATE_LOAD_DETAILS),\r\n clearCurrentLoad: (): Action => ({\r\n type: actionsKeys.CLEAR_CURRENT_LOAD,\r\n }),\r\n setPreviousSelectedLoadID: (loadID: string | undefined): SetPreviousSelectedLoadIDAction => ({\r\n type: actionsKeys.SET_PREVIOUS_SELECTED_LOAD_ID,\r\n loadID: loadID,\r\n }),\r\n };\r\n const loadDetailsResponse =\r\n (loadID: string, success: boolean, httpStatus: number, archivingFlowID: string | undefined) =>\r\n (response: Load | ApiError): LoadDetailsResponseAction => ({\r\n type: actionsKeys.LOAD_DETAILS_FETCHED,\r\n response: success\r\n ? { payload: response as Load, success: true }\r\n : { error: response as ApiError, success: false },\r\n loadID: loadID,\r\n httpStatus: httpStatus,\r\n archivingFlowID: archivingFlowID,\r\n });\r\n\r\n const loadDetailsUpdated = (state: LoadDetailsState, action: LoadDetailsResponseAction) => {\r\n const load = action.response.payload;\r\n\r\n state.showRetry = action.httpStatus <= 0;\r\n state.hasReachedLimit = false;\r\n state.loadingIDs = filter(state.loadingIDs, (id) => id !== action.loadID);\r\n state.responseState = { status: 'Loaded' };\r\n state.archivingFlowID = action.archivingFlowID;\r\n\r\n if (action.response.success && load) {\r\n state.currentLoad = getUpdatedCurrentLoad(state.currentLoad, load);\r\n return;\r\n }\r\n\r\n const error = action.response.error;\r\n if (error) {\r\n loadDetailsFailed(state, error, () => {\r\n state.responseState = { status: 'Error', message: error.message };\r\n });\r\n }\r\n };\r\n\r\n const loadDetailsRefreshed = (state: LoadDetailsState, action: LoadDetailsResponseAction) => {\r\n const load = action.response.payload;\r\n if (action.response.success && load) {\r\n state.showRetry = false;\r\n state.hasReachedLimit = false;\r\n state.responseState = { status: 'Loaded' };\r\n state.currentLoad = getUpdatedCurrentLoad(state.currentLoad, load);\r\n return;\r\n }\r\n const error = action.response.error;\r\n if (error) {\r\n loadDetailsFailed(state, error);\r\n }\r\n };\r\n\r\n const getUpdatedCurrentLoad = (prevCurrentLoad: Load | undefined, load: Load) => {\r\n const mergedLoad = mergeFetchedLoad(prevCurrentLoad, load);\r\n const currentLoad = addLoadFetchedTime(Date.now())(removeLoadDatesTimesIfMidnight(hackToRevertAPI3330(mergedLoad)));\r\n const pickupDateTimes = currentLoad.pickupDateTimes;\r\n if (pickupDateTimes) {\r\n return { ...currentLoad, pickupDateTimes: uniqDates(pickupDateTimes) };\r\n }\r\n return currentLoad;\r\n };\r\n\r\n const loadDetailsFailed = (state: LoadDetailsState, error: ApiError, unexpected?: () => void) => {\r\n if (error.code === ApiErrorCode.LOAD_LIMIT_REACHED) {\r\n state.hasReachedLimit = true;\r\n return;\r\n }\r\n if (error.code === ApiErrorCode.LOAD_NOT_FOUND) {\r\n state.currentLoad = undefined;\r\n state.responseState = { status: 'Unavailable' };\r\n return;\r\n }\r\n if (error.code === ApiErrorCode.PERMISSION_DENIED) {\r\n state.responseState = { status: 'PermissionDenied' };\r\n return;\r\n }\r\n unexpected?.();\r\n };\r\n\r\n const refreshLoadDetailsResponse =\r\n (loadID: string, success: boolean, httpStatus: number, archivingFlowID: string | undefined) =>\r\n (response: Load | ApiError): LoadDetailsResponseAction => ({\r\n type: actionsKeys.LOAD_DETAILS_REFRESHED,\r\n response: success\r\n ? { payload: response as Load, success: true }\r\n : { error: response as ApiError, success: false },\r\n loadID: loadID,\r\n httpStatus: httpStatus,\r\n archivingFlowID: archivingFlowID,\r\n });\r\n\r\n //Reducer\r\n const reducer = createReducer(initialState, {\r\n [actionsKeys.WILL_SHOW_DETAILS]: (state, action: WillShowLoadDetailsAction) => {\r\n state.currentLoad = action.load;\r\n if (action.shouldResetLimit) {\r\n state.hasReachedLimit = false;\r\n }\r\n if (action.overrideArchivingID) {\r\n state.archivingFlowID = action.flowID;\r\n }\r\n },\r\n [actionsKeys.WILL_SHOW_DETAILS_WITHOUT_LOAD]: (state) => {\r\n state.currentLoad = undefined;\r\n state.hasReachedLimit = false;\r\n state.archivingFlowID = undefined;\r\n },\r\n [actionsKeys.FETCH_LOAD_DETAILS]: (state, action: LoadAction) => {\r\n const loadingIds = clone(state.loadingIDs);\r\n loadingIds.push(action.loadID);\r\n state.loadingIDs = loadingIds;\r\n state.responseState = { status: 'Loading' };\r\n },\r\n [actionsKeys.LOAD_DETAILS_FETCHED]: loadDetailsUpdated,\r\n [actionsKeys.LOAD_DETAILS_REFRESHED]: loadDetailsRefreshed,\r\n [actionsKeys.UPDATE_LOAD_DETAILS]: (state, action: UpdateLoadAction) => {\r\n if (state.currentLoad) {\r\n state.currentLoad = clone(updateLoad(state.currentLoad, action.update));\r\n }\r\n },\r\n [actionsKeys.CLEAR_CURRENT_LOAD]: (state) => {\r\n state.currentLoad = undefined;\r\n },\r\n [actionsKeys.SET_PREVIOUS_SELECTED_LOAD_ID]: (state, action: SetPreviousSelectedLoadIDAction) => {\r\n state.previousSelectedLoadID = action.loadID;\r\n },\r\n [actionsKeys.SINGLERATECHECK_PREVIEW_COMPLETE]: (state, action: RateCheckPreviewResponseAction) => {\r\n if (action.response.success && action.response.payload && state.currentLoad) {\r\n const payload = action.response.payload;\r\n const stateLoadId = state.currentLoad.id;\r\n if (\r\n some(\r\n map([...(payload.rates ?? []), ...(payload.skippedLoads ?? [])], (rateInfo) => rateInfo.loadId),\r\n (loadId) => loadId === stateLoadId\r\n )\r\n ) {\r\n processRateCheckPreviewResponse(state.currentLoad, payload);\r\n }\r\n }\r\n },\r\n });\r\n\r\n const mergedReducer = createMergedReducer(\r\n initialState,\r\n [\r\n fetchLoadIdAction.addCase((state, action) => {\r\n const referenceId = action.data.referenceId;\r\n const contactId = action.data.contactId;\r\n state.widgetLoadId = (references as any)[contactId]?.[referenceId];\r\n }),\r\n ],\r\n reducer\r\n );\r\n\r\n //Epics\r\n const fetchLoadDetails$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: StateObservable\r\n ) =>\r\n action$.ofType(actionsKeys.FETCH_LOAD_DETAILS).pipe(\r\n mergeMap$((action: LoadFieldAction) => {\r\n return loadsClient\r\n .fetchLoadDetails$(action.loadID, getLoadDetailsArchivingFlowID(state$, key), action.fields)\r\n .pipe(\r\n map$((response) => {\r\n const flowID = getFlowIDFrom(response);\r\n return response.result(\r\n loadDetailsResponse(action.loadID, true, response.httpStatus, flowID),\r\n loadDetailsResponse(action.loadID, false, response.httpStatus, flowID)\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const refreshLoadDetails$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: StateObservable\r\n ) =>\r\n action$.ofType(actionsKeys.REFRESH_LOAD_DETAILS).pipe(\r\n mergeMap$((action: LoadFieldAction) => {\r\n return loadsClient\r\n .fetchLoadDetails$(action.loadID, getLoadDetailsArchivingFlowID(state$, key), action.fields)\r\n .pipe(\r\n map$((response) => {\r\n const flowID = getFlowIDFrom(response);\r\n return response.result(\r\n refreshLoadDetailsResponse(action.loadID, true, response.httpStatus, flowID),\r\n refreshLoadDetailsResponse(action.loadID, false, response.httpStatus, flowID)\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const singleRateCheckPreviewEpic$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadDetailsEpicStateObservable\r\n ) =>\r\n merge$(\r\n action$.ofType(actionsKeys.LOAD_DETAILS_FETCHED).pipe(\r\n mergeMap$(() => {\r\n if (!isRateCheckPreviewEnabled(getSettingsFromStateObservable(state$))) {\r\n return of$();\r\n }\r\n\r\n const storeState = getLoadDetailsState(state$, key);\r\n if (\r\n !storeState.currentLoad ||\r\n (storeState.currentLoad.rateCheckPreview &&\r\n storeState.currentLoad.rateCheckPreview?.status !== RateCheckPreviewStatus.Loading)\r\n ) {\r\n // if we don't have a currentLoad (weird) or rateCheckPreview is already loaded, do nothing.\r\n return of$();\r\n }\r\n return of$({\r\n type: actionsKeys.FETCH_SINGLERATECHECK_PREVIEW,\r\n loadID: storeState.currentLoad.id,\r\n } as FetchSingleRateCheckPreviewAction);\r\n })\r\n ),\r\n action$.ofType(actionsKeys.FETCH_SINGLERATECHECK_PREVIEW).pipe(\r\n mergeMap$((action: FetchSingleRateCheckPreviewAction) => {\r\n const storeState = getLoadDetailsState(state$, key);\r\n return loadsClient.fetchLoadRateCheckPreviews$([action.loadID], storeState.archivingFlowID).pipe(\r\n map$((response) => ({\r\n ...responseActionHandler(actionsKeys.SINGLERATECHECK_PREVIEW_COMPLETE, response),\r\n fetchData: action,\r\n }))\r\n );\r\n })\r\n )\r\n );\r\n\r\n const createEpic$ = (api: Api, isLiveEnvironment: boolean) => {\r\n const client = new LoadsClient(api, isLiveEnvironment);\r\n\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n fetchLoadDetails$(action$, client, state$),\r\n refreshLoadDetails$(action$, client, state$),\r\n singleRateCheckPreviewEpic$(action$, client, state$)\r\n );\r\n };\r\n\r\n return {\r\n reducer: mergedReducer,\r\n createEpic$: createEpic$,\r\n actions: exportedActions,\r\n actionKeys: actionsKeys,\r\n };\r\n};\r\n\r\nconst mergeFetchedLoad = (currentLoad: Load | undefined, fetchedLoad: Load) => {\r\n if (!currentLoad || currentLoad.id !== fetchedLoad.id) {\r\n // replace load completely if different id\r\n return cloneDeep(fetchedLoad);\r\n } else {\r\n // shallow merge (without mutation) for most fields in Load\r\n // Most subfields needs to be *replaced* instead of merged.\r\n // Phone, Rate, arrays like equipments/pickupDates, originLocation, destinationLocation, creditRatings\r\n // note, deliverydate, length, weight, postRef., rate can all be set to '' by the user\r\n // So when a value is deleted, the new fetchedload will not have the above keys,\r\n // When we assign the fetched load to curent load the previous values are preserved instead of undefined\r\n const loadBase = assign(\r\n {},\r\n {\r\n notes: undefined,\r\n privateLoadNote: undefined,\r\n deliveryDateTime: undefined,\r\n length: undefined,\r\n weight: undefined,\r\n postReference: undefined,\r\n rate: undefined,\r\n },\r\n fetchedLoad\r\n );\r\n const load = assign({}, currentLoad, loadBase);\r\n // deep merge of specific fields without mutation (unless both sides are undefined)\r\n if (load.poster !== undefined) {\r\n load.poster = merge({}, currentLoad.poster, fetchedLoad.poster);\r\n }\r\n if (load.metadata !== undefined) {\r\n load.metadata = merge({}, currentLoad.metadata, fetchedLoad.metadata);\r\n }\r\n load.dispatchEmail = fetchedLoad.dispatchEmail;\r\n load.dispatchPhone = fetchedLoad.dispatchPhone;\r\n // make sure everything is cloned\r\n return cloneDeep(load);\r\n }\r\n};\r\n\r\nconst LoadDetailsEpics = createEpics(\r\n {\r\n [LoadSearchType.Backhaul]: LoadDetailsReducerKey.BACKHAULS,\r\n [LoadSearchType.LoadSearch]: LoadDetailsReducerKey.LOAD_SEARCH,\r\n [LoadSearchType.CompanySearch]: LoadDetailsReducerKey.COMPANY_SEARCH,\r\n [LoadSearchType.Posted]: LoadDetailsReducerKey.POSTED, // Only for Web\r\n [LoadSearchType.LoadAvailability]: LoadDetailsReducerKey.LOAD_SEARCH,\r\n },\r\n createLoadDetailsEpic\r\n);\r\n\r\nconst loadDetails = LoadDetailsEpics[LoadSearchType.LoadSearch];\r\nconst loadDetailsBackhauls = LoadDetailsEpics[LoadSearchType.Backhaul];\r\nconst loadDetailsCompanySearch = LoadDetailsEpics[LoadSearchType.CompanySearch];\r\n\r\nexport const fetchLoadDetails = (type: LoadSearchType, loadId: string, fields?: string | undefined) =>\r\n LoadDetailsEpics[type].actions.fetchLoadDetails(loadId, fields);\r\nexport const clearCurrentLoad = (type: LoadSearchType) => LoadDetailsEpics[type].actions.clearCurrentLoad();\r\nexport const willShowLoadDetails = (\r\n type: LoadSearchType,\r\n load: Load,\r\n shouldResetLimit: boolean,\r\n archivingFlowID: string | undefined,\r\n overrideArchivingID: boolean = true\r\n) => LoadDetailsEpics[type].actions.willShowLoadDetails(load, shouldResetLimit, archivingFlowID, overrideArchivingID);\r\nexport const setPreviousSelectedLoadID = (type: LoadSearchType, loadId: string | undefined) =>\r\n LoadDetailsEpics[type].actions.setPreviousSelectedLoadID(loadId);\r\nexport const refreshLoadDetails = (type: LoadSearchType, loadId: string) =>\r\n LoadDetailsEpics[type].actions.refreshLoadDetails(loadId);\r\nexport const updateLoadDetails = (type: LoadSearchType, update: LoadUpdate) =>\r\n LoadDetailsEpics[type].actions.updateLoadDetails(update);\r\nexport const willShowLoadWithoutLoad = (type: LoadSearchType) =>\r\n LoadDetailsEpics[type].actions.willShowLoadWithoutLoad();\r\n\r\nexport const loadDetailsReducer = (type: LoadSearchType) => LoadDetailsEpics[type].reducer;\r\n\r\nexport const loadDetailsEpicCreator$ = (type: LoadSearchType, api: Api, isLiveEnvironment: boolean) =>\r\n LoadDetailsEpics[type].createEpic$(api, isLiveEnvironment);\r\n\r\nexport const WILL_SHOW_DETAILS = loadDetails.actionKeys.WILL_SHOW_DETAILS;\r\nexport const WILL_SHOW_BACKHAUL_DETAILS = loadDetailsBackhauls.actionKeys.WILL_SHOW_DETAILS;\r\nexport const LOAD_DETAILS_FETCHED = loadDetails.actionKeys.LOAD_DETAILS_FETCHED;\r\nexport const BACKHAULS_LOAD_DETAILS_FETCHED = loadDetailsBackhauls.actionKeys.LOAD_DETAILS_FETCHED;\r\nexport const WILL_SHOW_COMPANY_SEARCH_DETAILS = loadDetailsCompanySearch.actionKeys.WILL_SHOW_DETAILS;\r\nexport const LOAD_DETAILS_COMPANY_SEARCH_FETCHED = loadDetailsCompanySearch.actionKeys.LOAD_DETAILS_FETCHED;\r\n\r\nexport const getLoadDetailsArchivingFlowID = (state$: StateObservable, key: string) =>\r\n getLoadDetailsState(state$, key).archivingFlowID;\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api, ApiError } from '@common/api';\r\nimport { LoadsClient } from '@common/client/LoadsClient';\r\nimport { AspectRatio } from '@common/model';\r\nimport { Response } from '@common/redux/Base';\r\nimport { standardApiEpic } from '@common/redux/epic/EpicHelper';\r\n\r\nconst FETCH_LOAD_DETAILS_MAP = 'FETCH_LOAD_DETAILS_MAP';\r\nconst LOAD_DETAILS_MAP_FETCHED = 'LOAD_DETAILS_MAP_FETCHED';\r\n\r\ntype RouteMapResult = Response;\r\n\r\ninterface FetchWithLoadIDAction extends Action {\r\n loadID: string;\r\n archivingFlowID: string | undefined;\r\n aspectRatio: AspectRatio;\r\n}\r\n\r\ninterface RouteMapResponseAction extends Action {\r\n response: RouteMapResult;\r\n loadID: string;\r\n}\r\n\r\nexport const fetchRouteMap = (\r\n loadID: string,\r\n archivingFlowID: string | undefined,\r\n aspectRatio = AspectRatio.Ratio3_1\r\n): FetchWithLoadIDAction => ({\r\n type: FETCH_LOAD_DETAILS_MAP,\r\n loadID: loadID,\r\n archivingFlowID: archivingFlowID,\r\n aspectRatio: aspectRatio,\r\n});\r\n\r\nconst routeMapResponse = (loadID: string, response: RouteMapResult): RouteMapResponseAction => ({\r\n type: LOAD_DETAILS_MAP_FETCHED,\r\n loadID: loadID,\r\n response: response,\r\n});\r\n\r\nexport interface LoadDetailsMapState {\r\n isLoading: boolean;\r\n map: string | undefined;\r\n loadID: string | undefined;\r\n}\r\n\r\nconst initialState: LoadDetailsMapState = {\r\n map: undefined,\r\n loadID: undefined,\r\n isLoading: false,\r\n};\r\n\r\nexport const loadDetailsMapReducer = (\r\n state: LoadDetailsMapState = initialState,\r\n action: Action\r\n): LoadDetailsMapState => {\r\n switch (action.type) {\r\n case FETCH_LOAD_DETAILS_MAP: {\r\n return { ...state, map: undefined, loadID: undefined, isLoading: true };\r\n }\r\n case LOAD_DETAILS_MAP_FETCHED: {\r\n const routeMapResult = action as RouteMapResponseAction;\r\n if (routeMapResult.response.success && routeMapResult.response.payload) {\r\n return { ...state, map: routeMapResult.response.payload, loadID: routeMapResult.loadID, isLoading: false };\r\n }\r\n return { ...state, map: '', loadID: routeMapResult.loadID, isLoading: false };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst fetchRouteMap$ = (loadsClient: LoadsClient, action$: ActionsObservable) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_LOAD_DETAILS_MAP,\r\n (action: FetchWithLoadIDAction) =>\r\n loadsClient.fetchRouteMap$(action.loadID, true, action.aspectRatio, action.archivingFlowID),\r\n (response, action: FetchWithLoadIDAction) => {\r\n if (response.data !== undefined) {\r\n return routeMapResponse(action.loadID, { success: true, payload: response.data });\r\n }\r\n return routeMapResponse(action.loadID, { success: false, error: new ApiError() });\r\n },\r\n (error, action: FetchWithLoadIDAction) => {\r\n return routeMapResponse(action.loadID, { success: false, error: error });\r\n }\r\n );\r\n\r\nexport const createLoadDetailsMapEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const loadsClient = new LoadsClient(api, isLiveEnvironment);\r\n return (action$: ActionsObservable) => merge$(fetchRouteMap$(loadsClient, action$));\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { LoadFeedbackClient } from '@common/client';\r\nimport { LoadResponse } from '@common/helper';\r\nimport {\r\n generateLoadFeedbackRequest,\r\n LOAD_FEEDBACK_CATEGORY,\r\n LoadFeedbackRequest,\r\n LoadUserMetadataValue,\r\n} from '@common/model/LoadFeedbackRequest';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\nimport { simpleApiEpicToAction } from '@common/redux/epic/EpicHelper';\r\n\r\nimport { getLoadDetailsArchivingFlowID } from './LoadDetailsEpic';\r\n\r\ntype LoadFeedbackResponse = Response<{}>;\r\n\r\n/* Actions: Flow: Send -> Receive */\r\nconst SEND_LOAD_FEEDBACK = 'SEND_LOAD_FEEDBACK';\r\nexport const RECEIVE_LOAD_FEEDBACK_RESPONSE = 'RECEIVE_LOAD_FEEDBACK_RESPONSE';\r\nexport const HIDE_LOAD = 'HIDE_LOAD';\r\n\r\nexport interface SendLoadFeedbackAction extends Action {\r\n loadID: string;\r\n loadFeedbackRequest: LoadFeedbackRequest;\r\n}\r\n\r\nexport interface HideLoadAction extends Action {\r\n loadID: string;\r\n}\r\n\r\nexport interface ReceiveLoadFeedbackResponse extends LoadResponse {\r\n category: LOAD_FEEDBACK_CATEGORY;\r\n value: LoadUserMetadataValue;\r\n}\r\n\r\nexport interface LoadFeedbackState extends BaseState {\r\n response?: LoadFeedbackResponse;\r\n}\r\n\r\n/* Action Dispatches */\r\nexport const sendLoadFeedback = (loadID: string, loadFeedbackRequest: LoadFeedbackRequest): SendLoadFeedbackAction => ({\r\n type: SEND_LOAD_FEEDBACK,\r\n loadID: loadID,\r\n loadFeedbackRequest: loadFeedbackRequest,\r\n});\r\n\r\nexport const hideLoad = (loadID: string): HideLoadAction => ({\r\n type: HIDE_LOAD,\r\n loadID: loadID,\r\n});\r\n\r\nexport const receiveLoadFeedbackResponse = (\r\n loadID: string,\r\n response: LoadFeedbackResponse,\r\n loadFeedbackRequest: LoadFeedbackRequest\r\n): ReceiveLoadFeedbackResponse => ({\r\n type: RECEIVE_LOAD_FEEDBACK_RESPONSE,\r\n response: response,\r\n category: categoryFor(loadFeedbackRequest.path),\r\n value: loadFeedbackRequest.value,\r\n loadID: loadID,\r\n});\r\n\r\n/* Reducer */\r\nexport const loadFeedbackReducer = (\r\n state: LoadFeedbackState = { isLoading: false, response: undefined },\r\n action: Action\r\n): LoadFeedbackState => {\r\n switch (action.type) {\r\n case HIDE_LOAD:\r\n case SEND_LOAD_FEEDBACK:\r\n return {\r\n ...state,\r\n isLoading: true,\r\n response: undefined,\r\n };\r\n case RECEIVE_LOAD_FEEDBACK_RESPONSE: {\r\n const loadFeedbackResponseAction = action as ReceiveLoadFeedbackResponse;\r\n return {\r\n ...state,\r\n isLoading: false,\r\n response: loadFeedbackResponseAction.response,\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n//@FIXME: state$.value.loadInfo.loadDetailsKey is being used as a hack here.\r\n//We already have this load progress in loadInfoEpic. This should be centralized and removed from here.\r\nconst sendLoadFeedbackEpic$ = (\r\n action$: ActionsObservable,\r\n client: LoadFeedbackClient,\r\n state$: StateObservable\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n SEND_LOAD_FEEDBACK,\r\n (action: SendLoadFeedbackAction) =>\r\n client.sendLoadFeedback$(\r\n action.loadID,\r\n action.loadFeedbackRequest,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: SendLoadFeedbackAction) =>\r\n receiveLoadFeedbackResponse(action.loadID, response, action.loadFeedbackRequest)\r\n );\r\n\r\nconst hideLoadEpic$ = (action$: ActionsObservable, client: LoadFeedbackClient, state$: StateObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n HIDE_LOAD,\r\n (action: HideLoadAction) =>\r\n client.sendLoadFeedback$(\r\n action.loadID,\r\n generateLoadFeedbackRequest(LOAD_FEEDBACK_CATEGORY.HIDDEN),\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: HideLoadAction) =>\r\n receiveLoadFeedbackResponse(action.loadID, response, generateLoadFeedbackRequest(LOAD_FEEDBACK_CATEGORY.HIDDEN))\r\n );\r\n\r\nexport const createLoadFeedbackEpic = (api: Api) => {\r\n const client = new LoadFeedbackClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(sendLoadFeedbackEpic$(action$, client, state$), hideLoadEpic$(action$, client, state$));\r\n};\r\n\r\nconst categoryFor = (path: string): LOAD_FEEDBACK_CATEGORY => {\r\n switch (path) {\r\n case LOAD_FEEDBACK_CATEGORY.CALLED:\r\n case LOAD_FEEDBACK_CATEGORY.DETAILS_INCORRECT:\r\n case LOAD_FEEDBACK_CATEGORY.HIDDEN:\r\n case LOAD_FEEDBACK_CATEGORY.NO_LONGER_AVAILABLE:\r\n case LOAD_FEEDBACK_CATEGORY.PAY_TOO_LOW:\r\n case LOAD_FEEDBACK_CATEGORY.PROGRESS:\r\n return path;\r\n default:\r\n return LOAD_FEEDBACK_CATEGORY.NOT_INTERESTED;\r\n }\r\n};\r\n","import { clone } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiErrorCode, ApiResponse123 } from '@common/api';\r\nimport { LoadsClient } from '@common/client';\r\nimport { VendorBidsClient } from '@common/client/VendorBidsClient';\r\nimport { LoadAction, LoadResponse } from '@common/helper';\r\nimport {\r\n BookNowResponse,\r\n CargoChiefRate,\r\n CreditRating,\r\n FuelPrice,\r\n GreenscreensRate,\r\n LoadBackhauls,\r\n LoadProgress,\r\n RateCheck,\r\n} from '@common/model';\r\nimport { LoadCreditRatingsResponse } from '@common/model/LoadCreditRatingsResponse';\r\nimport { RouteInfo } from '@common/model/PCMiler';\r\nimport { SharedLoadMessage } from '@common/model/SharedLoadMessage';\r\nimport { PostVendorBidRequest, PostVendorBidResponse } from '@common/model/VendorBid';\r\nimport { EmptyResponse, Response } from '@common/redux/Base';\r\n\r\nimport { simpleApiEpicToAction } from './EpicHelper';\r\nimport { getLoadDetailsArchivingFlowID, LoadDetailsReducerKey } from './LoadDetailsEpic';\r\n\r\nconst FETCH_LOAD_BACKHAULS = 'FETCH_LOAD_BACKHAULS';\r\nconst LOAD_BACKHAULS_FETCHED = 'LOAD_BACKHAULS_FETCHED';\r\nconst FETCH_ROUTE_INFO = 'FETCH_ROUTE_INFO';\r\nconst LOAD_ROUTE_INFO_FETCHED = 'LOAD_ROUTE_INFO_FETCHED';\r\nconst FETCH_CREDIT_RATINGS = 'FETCH_CREDIT_RATINGS';\r\nconst LOAD_CREDIT_RATINGS_FETCHED = 'LOAD_CREDIT_RATINGS_FETCHED';\r\nconst FETCH_LOAD_RATE_CHECK = 'FETCH_LOAD_RATE_CHECK';\r\n\r\n// @FIXME: Watch out, this action is also processed in RateCheckEpic for\r\n// the rate check accordion in load details. To be fixed when load details\r\n// is refactored with normalized data.\r\nexport const LOAD_RATE_CHECK_FETCHED = 'LOAD_RATE_CHECK_FETCHED';\r\n\r\nconst FETCH_LOAD_CARGOCHIEF_RATE = 'FETCH_LOAD_CARGOCHIEF_RATE';\r\nconst LOAD_CARGOCHIEF_RATE_FETCHED = 'LOAD_CARGOCHIEF_RATE_FETCHED';\r\nconst FETCH_LOAD_GREENSCREENS_RATE = 'FETCH_LOAD_GREENSCREENS_RATE';\r\nconst LOAD_GREENSCREENS_RATE_FETCHED = 'LOAD_GREENSCREENS_RATE_FETCHED';\r\nconst SAVE_LOAD = 'SAVE_LOAD';\r\nexport const REMOVE_LOAD = 'REMOVE_LOAD';\r\nexport const SAVE_LOAD_FULFILLED = 'SAVE_LOAD_FULFILLED';\r\nconst ADD_NOTE = 'ADD_NOTE';\r\nexport const ADD_NOTE_FULFILLED = 'ADD_NOTE_FULFILLED';\r\nconst ADD_PRIVATE_NOTE = 'ADD_PRIVATE_NOTE';\r\nexport const ADD_PRIVATE_LOAD_NOTE_FULFILLED = 'ADD_PRIVATE_LOAD_NOTE_FULFILLED';\r\nconst SET_PROGRESS = 'SET_PROGRESS';\r\nexport const SET_PROGRESS_FULFILLED = 'SET_PROGRESS_FULFILLED';\r\nconst CALL_LOAD = 'CALL_LOAD';\r\nexport const CALL_LOAD_FULFILLED = 'CALL_LOAD_FULFILLED';\r\nconst FETCH_SHARE_LOAD_URL = 'FETCH_SHARE_LOAD_URL';\r\nconst SHARE_LOAD_URL_FETCHED = 'SHARED_LOAD_URL_FETCHED';\r\nconst FETCH_FUEL_PRICE = 'FETCH_FUEL_PRICE';\r\nconst FUEL_PRICE_FETCHED = 'FUEL_PRICE_FETCHED';\r\nconst SEND_EMAIL_TO_BROKER = 'SEND_EMAIL_TO_BROKER';\r\nexport const SEND_EMAIL_TO_BROKER_FULFILLED = 'SEND_EMAIL_TO_BROKER_FULFILLED';\r\nconst CLEAR_EMAIL_SENDING_STATE = 'CLEAR_EMAIL_SENDING_STATE';\r\nconst CLEAR_SHARE_LOAD_URL_STATE = 'CLEAR_SHARE_LOAD_URL_STATE';\r\nconst PLACE_BID_ON_VENDOR_LOAD = 'BID_ON_VENDOR_LOAD';\r\nexport const SENT_BID_VENDOR_LOAD = 'SENT_BID_VENDOR_LOAD';\r\nconst SEND_BOOK_NOW = 'SEND_BOOK_NOW';\r\nexport const BOOK_NOW_SENT = 'BOOK_NOW_SENT';\r\nconst HIDE_LOAD = 'HIDE_LOAD';\r\nexport const HIDE_LOAD_FULFILLED = 'HIDE_LOAD_FULFILLED';\r\n\r\nexport const SET_LOAD_INFO_TYPE = 'SET_LOAD_INFO_TYPE';\r\ntype LoadRouteInfoResult = Response;\r\ntype LoadCreditRatingsResult = Response;\r\ntype ShareLoadUrlResult = Response;\r\n\r\nexport type LoadBackhaulsResult = Response;\r\nexport type LoadRateCheckResult = Response;\r\ntype LoadCargoChiefRateResult = Response;\r\ntype LoadGreenscreensRateResult = Response;\r\n\r\ntype LoadFuelPriceResult = Response;\r\n\r\nexport enum LoadActionType {\r\n Save,\r\n Unsave,\r\n Note,\r\n PrivateLoadNote,\r\n VendorBidPlaced,\r\n BookNow,\r\n Hidden,\r\n Unhidden,\r\n}\r\n\r\ninterface SetLoadInfoTypeAction extends Action {\r\n loadDetailsKey: string;\r\n}\r\n\r\ninterface SavedLoadAction extends LoadAction {\r\n willSave: boolean;\r\n}\r\n\r\nexport interface SaveLoadResponseAction extends LoadResponse {\r\n didSave: boolean;\r\n}\r\n\r\nexport interface HideLoadResponseAction extends LoadResponse {\r\n didHide: boolean;\r\n}\r\n\r\ninterface FetchLoadBackhaulsAction extends LoadAction {\r\n fromNamedSearchId?: string;\r\n}\r\n\r\ninterface LoadBackhaulsResponseAction extends LoadAction {\r\n response: LoadBackhaulsResult;\r\n}\r\n\r\ninterface LoadRouteInfoResponseAction extends LoadAction {\r\n response: LoadRouteInfoResult;\r\n}\r\n\r\ninterface LoadCreditRatingsResponseAction extends LoadAction {\r\n response: LoadCreditRatingsResult;\r\n}\r\n\r\nexport interface LoadRateCheckResponseAction extends LoadResponse {\r\n response: LoadRateCheckResult;\r\n}\r\n\r\ninterface LoadCargoChiefRateResponseAction extends LoadResponse {\r\n response: LoadCargoChiefRateResult;\r\n}\r\n\r\ninterface LoadGreenscreensRateResponseAction extends LoadResponse {\r\n response: LoadGreenscreensRateResult;\r\n}\r\n\r\ninterface ShareAppUrlResponseAction extends LoadResponse {\r\n response: ShareLoadUrlResult;\r\n}\r\n\r\ninterface AddNoteAction extends LoadAction {\r\n note: string;\r\n}\r\n\r\nexport interface AddNoteResponseAction extends LoadResponse {\r\n note: string;\r\n}\r\n\r\ninterface AddPrivateLoadNoteAction extends LoadAction {\r\n privateLoadNote: string;\r\n}\r\n\r\nexport interface AddPrivateLoadNoteResponseAction extends LoadResponse {\r\n privateLoadNote: string;\r\n}\r\n\r\ninterface SetProgressAction extends LoadAction {\r\n progress: LoadProgress;\r\n}\r\n\r\nexport interface SetProgressResponseAction extends LoadAction {\r\n progress: LoadProgress;\r\n response: EmptyResponse;\r\n}\r\n\r\ninterface CalledLoadAction extends LoadAction {\r\n isCalled: boolean;\r\n}\r\n\r\ninterface SendEmailToBrokerAction extends LoadAction {\r\n comment: string;\r\n loadID: string;\r\n}\r\n\r\ninterface FetchFuelPriceAction extends LoadAction {\r\n state: string;\r\n country?: string;\r\n}\r\n\r\n// this action must extend LoadAction since\r\n// updateCacheData expects loadID, not loadId\r\ninterface BidOnVendorLoadAction extends LoadAction {\r\n bidSubmission: PostVendorBidRequest;\r\n}\r\n\r\n// this action must extend LoadAction since\r\n// updateCacheData expects loadID, not loadId\r\nexport interface BidOnVendorLoadResponseAction extends LoadAction {\r\n response: Response;\r\n request: PostVendorBidRequest;\r\n}\r\n\r\nexport interface BookNowSentResponseAction extends LoadAction {\r\n response: Response;\r\n}\r\n\r\nexport const setLoadInfoType = (loadDetailsKey: string): SetLoadInfoTypeAction => ({\r\n type: SET_LOAD_INFO_TYPE,\r\n loadDetailsKey: loadDetailsKey,\r\n});\r\n\r\nexport const fetchLoadFuelPrice = (loadID: string, state: string, country?: string): FetchFuelPriceAction => ({\r\n type: FETCH_FUEL_PRICE,\r\n state: state,\r\n country: country,\r\n loadID: loadID,\r\n});\r\n\r\ninterface LoadFuelPriceResponseAction extends LoadAction {\r\n response: LoadFuelPriceResult;\r\n}\r\n\r\nexport interface CalledLoadResponseAction extends LoadAction {\r\n isCalled: boolean;\r\n response: EmptyResponse;\r\n}\r\n\r\nexport interface SendEmailToBrokerResponseAction extends LoadAction {\r\n response: EmptyResponse;\r\n}\r\n\r\nexport const fetchLoadBackhauls = (loadID: string, fromNamedSearchId?: string): FetchLoadBackhaulsAction => ({\r\n type: FETCH_LOAD_BACKHAULS,\r\n loadID: loadID,\r\n fromNamedSearchId: fromNamedSearchId,\r\n});\r\n\r\nexport const fetchRouteInfo = (loadID: string): LoadAction => ({\r\n type: FETCH_ROUTE_INFO,\r\n loadID: loadID,\r\n});\r\n\r\nexport const fetchCreditRatings = (loadID: string): LoadAction => ({\r\n type: FETCH_CREDIT_RATINGS,\r\n loadID: loadID,\r\n});\r\n\r\nexport const fetchRateCheck = (loadID: string): LoadAction => ({\r\n type: FETCH_LOAD_RATE_CHECK,\r\n loadID: loadID,\r\n});\r\n\r\nexport const fetchLoadCargoChiefRate = (loadID: string): LoadAction => ({\r\n type: FETCH_LOAD_CARGOCHIEF_RATE,\r\n loadID: loadID,\r\n});\r\n\r\nexport const fetchLoadGreenscreensRate = (loadID: string): LoadAction => ({\r\n type: FETCH_LOAD_GREENSCREENS_RATE,\r\n loadID: loadID,\r\n});\r\n\r\nexport const fetchSharedLoad = (loadID: string): LoadAction => ({\r\n type: FETCH_SHARE_LOAD_URL,\r\n loadID: loadID,\r\n});\r\n\r\nconst loadFuelPriceResponse = (loadID: string, response: LoadFuelPriceResult): LoadFuelPriceResponseAction => ({\r\n type: FUEL_PRICE_FETCHED,\r\n response: response,\r\n loadID: loadID,\r\n});\r\n\r\nconst loadBackhaulsResponse = (response: LoadBackhaulsResult, loadID: string): LoadBackhaulsResponseAction => ({\r\n type: LOAD_BACKHAULS_FETCHED,\r\n response: response,\r\n loadID: loadID,\r\n});\r\n\r\nconst loadCreditRatingsResponse = (\r\n response: LoadCreditRatingsResult,\r\n loadID: string\r\n): LoadCreditRatingsResponseAction => ({\r\n type: LOAD_CREDIT_RATINGS_FETCHED,\r\n response: response,\r\n loadID: loadID,\r\n});\r\n\r\nconst loadRouteInfoResponse = (response: LoadRouteInfoResult, loadID: string): LoadRouteInfoResponseAction => ({\r\n type: LOAD_ROUTE_INFO_FETCHED,\r\n response: response,\r\n loadID: loadID,\r\n});\r\n\r\nconst loadRateCheckResponse = (response: LoadRateCheckResult, loadID: string): LoadRateCheckResponseAction => ({\r\n type: LOAD_RATE_CHECK_FETCHED,\r\n response: response,\r\n loadID: loadID,\r\n});\r\nconst loadCargoChiefRateResponse = (\r\n response: LoadCargoChiefRateResult,\r\n loadID: string\r\n): LoadCargoChiefRateResponseAction => ({\r\n type: LOAD_CARGOCHIEF_RATE_FETCHED,\r\n response: response,\r\n loadID: loadID,\r\n});\r\nconst loadGreenscreensRateResponse = (\r\n response: LoadGreenscreensRateResult,\r\n loadID: string\r\n): LoadGreenscreensRateResponseAction => ({\r\n type: LOAD_GREENSCREENS_RATE_FETCHED,\r\n response: response,\r\n loadID: loadID,\r\n});\r\nconst savedLoadResponse = (response: Response<{}>, didSave: boolean, loadID: string): SaveLoadResponseAction => ({\r\n type: SAVE_LOAD_FULFILLED,\r\n response: response,\r\n didSave: didSave,\r\n loadID: loadID,\r\n});\r\nconst hiddenLoadResponse = (response: Response<{}>, didHide: boolean, loadID: string): HideLoadResponseAction => ({\r\n type: HIDE_LOAD_FULFILLED,\r\n response: response,\r\n didHide: didHide,\r\n loadID: loadID,\r\n});\r\nconst callLoadResponse = (response: EmptyResponse, isCalled: boolean, loadID: string): CalledLoadResponseAction => ({\r\n type: CALL_LOAD_FULFILLED,\r\n response: response,\r\n isCalled: isCalled,\r\n loadID: loadID,\r\n});\r\nconst sendEmailResponse = (response: EmptyResponse, loadID: string): SendEmailToBrokerResponseAction => ({\r\n type: SEND_EMAIL_TO_BROKER_FULFILLED,\r\n response: response,\r\n loadID: loadID,\r\n});\r\nconst sharedLoadUrlResponse = (response: ShareLoadUrlResult, loadID: string): ShareAppUrlResponseAction => ({\r\n type: SHARE_LOAD_URL_FETCHED,\r\n loadID: loadID,\r\n response: response,\r\n});\r\nexport const saveLoad = (loadID: string, willSave: boolean): SavedLoadAction => ({\r\n type: SAVE_LOAD,\r\n loadID: loadID,\r\n willSave: willSave,\r\n});\r\n\r\nexport const hideLoad = (loadID: string): LoadAction => ({\r\n type: HIDE_LOAD,\r\n loadID: loadID,\r\n});\r\n\r\nexport const addNote = (loadID: string, note: string): AddNoteAction => ({\r\n type: ADD_NOTE,\r\n loadID: loadID,\r\n note: note,\r\n});\r\nconst AddNoteResponse = (loadID: string, note: string, response: Response<{}>): AddNoteResponseAction => ({\r\n type: ADD_NOTE_FULFILLED,\r\n response: response,\r\n loadID: loadID,\r\n note: note,\r\n});\r\nexport const addPrivateLoadNote = (loadID: string, privateLoadNote: string): AddPrivateLoadNoteAction => ({\r\n type: ADD_PRIVATE_NOTE,\r\n loadID: loadID,\r\n privateLoadNote: privateLoadNote,\r\n});\r\nconst AddPrivateLoadNoteResponse = (\r\n loadID: string,\r\n privateLoadNote: string,\r\n response: Response<{}>\r\n): AddPrivateLoadNoteResponseAction => ({\r\n type: ADD_PRIVATE_LOAD_NOTE_FULFILLED,\r\n response: response,\r\n loadID: loadID,\r\n privateLoadNote: privateLoadNote,\r\n});\r\nexport const setProgress = (loadID: string, progress: LoadProgress): SetProgressAction => ({\r\n type: SET_PROGRESS,\r\n loadID: loadID,\r\n progress: progress,\r\n});\r\nexport const removeLoad = (loadID: string): LoadAction => ({\r\n type: REMOVE_LOAD,\r\n loadID: loadID,\r\n});\r\n\r\nexport const bidOnVendorLoad = (submission: PostVendorBidRequest): BidOnVendorLoadAction => ({\r\n type: PLACE_BID_ON_VENDOR_LOAD,\r\n bidSubmission: submission,\r\n loadID: submission.loadId,\r\n});\r\n\r\nconst bidOnVendorLoadResponse = (\r\n fetchAction: BidOnVendorLoadAction,\r\n response: Response\r\n): BidOnVendorLoadResponseAction => ({\r\n type: SENT_BID_VENDOR_LOAD,\r\n response: response,\r\n request: fetchAction.bidSubmission,\r\n loadID: fetchAction.loadID,\r\n});\r\n\r\nexport const bookLoad = (loadId: string): LoadAction => ({\r\n type: SEND_BOOK_NOW,\r\n loadID: loadId,\r\n});\r\n\r\nconst bookLoadResponse = (fetchAction: LoadAction, response: Response): LoadResponse => ({\r\n type: BOOK_NOW_SENT,\r\n response: response,\r\n loadID: fetchAction.loadID,\r\n});\r\n\r\nconst setProgressResponse = (\r\n loadID: string,\r\n progress: LoadProgress,\r\n response: EmptyResponse\r\n): SetProgressResponseAction => ({\r\n type: SET_PROGRESS_FULFILLED,\r\n loadID: loadID,\r\n progress: progress,\r\n response: response,\r\n});\r\nexport const callLoad = (loadID: string, isCalled: boolean): CalledLoadAction => ({\r\n type: CALL_LOAD,\r\n loadID: loadID,\r\n isCalled: isCalled,\r\n});\r\nexport const sendEmailToBroker = (loadID: string, comment: string): SendEmailToBrokerAction => ({\r\n type: SEND_EMAIL_TO_BROKER,\r\n loadID: loadID,\r\n comment: comment,\r\n});\r\nexport const clearEmailSendingState = (loadID: string): LoadAction => ({\r\n type: CLEAR_EMAIL_SENDING_STATE,\r\n loadID: loadID,\r\n});\r\nexport const clearShareLoadUrlState = (loadID: string): LoadAction => ({\r\n type: CLEAR_SHARE_LOAD_URL_STATE,\r\n loadID: loadID,\r\n});\r\n\r\nexport interface LoadInfo {\r\n isLoadingBackhauls: boolean;\r\n isLoadingCreditRating: boolean;\r\n isLoadingRouteInfo: boolean;\r\n isLoadingRateCheck: boolean;\r\n isLoadingCargoChiefRate: boolean;\r\n isLoadingGreenscreensRate: boolean;\r\n isLoadingShareLoadUrl: boolean;\r\n isLoadingFuelPrice: boolean;\r\n backhauls?: LoadBackhaulsResult;\r\n routeInfo?: RouteInfo;\r\n sharedLoadMessage?: SharedLoadMessage;\r\n creditRatings?: CreditRating[];\r\n rateCheck?: LoadRateCheckResult;\r\n cargoChiefValues?: LoadCargoChiefRateResult;\r\n greenscreensValues?: LoadGreenscreensRateResult;\r\n fuelPrice?: LoadFuelPriceResult;\r\n isSavingLoad: boolean;\r\n isLoadingNote: boolean;\r\n isLoadingPrivateLoadNote: boolean;\r\n isEmailSentSuccessfully?: boolean;\r\n emailSendingError?: ApiError | undefined;\r\n loadSharingError?: ApiError | undefined;\r\n vendorBid?: VendorBidState;\r\n isProgressUpdating: boolean;\r\n progressUpdateTime?: number;\r\n isUpdatingSuccess?: boolean;\r\n isLoadingHideLoad: boolean;\r\n bookNow?: BookNowState;\r\n}\r\n\r\nexport interface LoadInfoState {\r\n loadInfoMap: Map;\r\n loadUpdate?: {\r\n wasUpdatedSuccessfully: boolean;\r\n updateTime: number;\r\n updateType: LoadActionType;\r\n };\r\n loadDetailsKey: string;\r\n}\r\n\r\nexport interface VendorBidState {\r\n isSending: boolean;\r\n isSentSuccessfully?: boolean;\r\n errorCode?: ApiErrorCode;\r\n}\r\ninterface BookNowState {\r\n isSending: boolean;\r\n isSentSuccessfully?: boolean;\r\n isLoadUnavailable?: boolean;\r\n isNotFound?: boolean;\r\n}\r\n\r\nexport const defaultLoadInfo: LoadInfo = {\r\n isLoadingBackhauls: false,\r\n isLoadingCreditRating: false,\r\n isLoadingRouteInfo: false,\r\n isLoadingRateCheck: false,\r\n isLoadingCargoChiefRate: false,\r\n isLoadingGreenscreensRate: false,\r\n isLoadingShareLoadUrl: false,\r\n isSavingLoad: false,\r\n isLoadingHideLoad: false,\r\n isLoadingNote: false,\r\n isLoadingPrivateLoadNote: false,\r\n isLoadingFuelPrice: false,\r\n isProgressUpdating: false,\r\n vendorBid: {\r\n isSending: false,\r\n },\r\n};\r\n\r\n// Helper type to enforce no extra properties\r\ntype __NoExtraProperties = U & { [K in Exclude]?: never };\r\ntype NoExtraProperties = __NoExtraProperties;\r\n\r\ntype UpdateLoadInfo = (info: LoadInfo) => NoExtraProperties>;\r\nconst updateCacheData = (cache: Map, fetchAction: Action, update: UpdateLoadInfo) => {\r\n const loadID = (fetchAction as LoadAction).loadID;\r\n if (!loadID) {\r\n return cache;\r\n }\r\n const loadInfoMap = clone(cache);\r\n let loadInfo = loadInfoMap.get(loadID) || defaultLoadInfo;\r\n loadInfo = { ...loadInfo, ...update(loadInfo) };\r\n loadInfoMap.set(loadID, loadInfo);\r\n return loadInfoMap;\r\n};\r\n\r\nconst initialState: LoadInfoState = {\r\n loadInfoMap: new Map(),\r\n loadDetailsKey: LoadDetailsReducerKey.LOAD_SEARCH,\r\n};\r\n//Be careful updating this reducer to use createReducer or using produce as this use immer and was updated. Check immer+maps before any work.\r\nexport const loadInfoReducer = (state: LoadInfoState = initialState, action: Action): LoadInfoState => {\r\n let updateLoadInfo: UpdateLoadInfo;\r\n const newState = clone(state);\r\n switch (action.type) {\r\n case SET_LOAD_INFO_TYPE: {\r\n return { ...state, loadDetailsKey: (action as SetLoadInfoTypeAction).loadDetailsKey };\r\n }\r\n case FETCH_FUEL_PRICE: {\r\n updateLoadInfo = () => ({\r\n isLoadingFuelPrice: true,\r\n fuelPrice: undefined,\r\n });\r\n break;\r\n }\r\n case FETCH_LOAD_BACKHAULS: {\r\n updateLoadInfo = () => ({\r\n isLoadingBackhauls: true,\r\n backhauls: undefined,\r\n });\r\n break;\r\n }\r\n case LOAD_BACKHAULS_FETCHED: {\r\n const responseAction = action as LoadBackhaulsResponseAction;\r\n const backhauls = responseAction.response;\r\n updateLoadInfo = () => ({\r\n isLoadingBackhauls: false,\r\n backhauls: backhauls,\r\n });\r\n break;\r\n }\r\n case FETCH_ROUTE_INFO: {\r\n updateLoadInfo = () => ({\r\n isLoadingRouteInfo: true,\r\n routeInfo: undefined,\r\n });\r\n break;\r\n }\r\n case LOAD_ROUTE_INFO_FETCHED: {\r\n const loadRouteInfoResponseAction = action as LoadRouteInfoResponseAction;\r\n const routeInfo = loadRouteInfoResponseAction.response.payload;\r\n updateLoadInfo = () => ({\r\n isLoadingRouteInfo: false,\r\n routeInfo: routeInfo,\r\n });\r\n break;\r\n }\r\n case FETCH_CREDIT_RATINGS: {\r\n updateLoadInfo = () => ({\r\n isLoadingCreditRating: true,\r\n creditRatings: undefined,\r\n });\r\n break;\r\n }\r\n case LOAD_CREDIT_RATINGS_FETCHED: {\r\n const loadCreditRatingsResponseAction = action as LoadCreditRatingsResponseAction;\r\n const wasCreditRatingsListSuccessfullyRetrieved = loadCreditRatingsResponseAction.response.success === true;\r\n const loadHasNoCreditRatings =\r\n loadCreditRatingsResponseAction.response.error &&\r\n loadCreditRatingsResponseAction.response.error.code === 4040010;\r\n if (wasCreditRatingsListSuccessfullyRetrieved || loadHasNoCreditRatings) {\r\n const creditRatings = loadCreditRatingsResponseAction.response.payload\r\n ? loadCreditRatingsResponseAction.response.payload.creditors\r\n : [];\r\n updateLoadInfo = () => ({\r\n isLoadingCreditRating: false,\r\n creditRatings: creditRatings,\r\n });\r\n break;\r\n }\r\n\r\n updateLoadInfo = () => ({\r\n isLoadingCreditRating: false,\r\n creditRatings: undefined,\r\n });\r\n break;\r\n }\r\n case FETCH_SHARE_LOAD_URL: {\r\n updateLoadInfo = () => ({\r\n sharedLoadMessage: undefined,\r\n isLoadingShareLoadUrl: true,\r\n });\r\n break;\r\n }\r\n case SHARE_LOAD_URL_FETCHED: {\r\n const shareLoadResponse = action as ShareAppUrlResponseAction;\r\n if (shareLoadResponse.response.success && shareLoadResponse.response.payload) {\r\n updateLoadInfo = () => ({\r\n isLoadingShareLoadUrl: false,\r\n sharedLoadMessage: shareLoadResponse.response.payload,\r\n loadSharingError: undefined,\r\n });\r\n break;\r\n } else {\r\n updateLoadInfo = () => ({\r\n isLoadingShareLoadUrl: false,\r\n sharedLoadMessage: undefined,\r\n loadSharingError: shareLoadResponse.response.error,\r\n });\r\n }\r\n break;\r\n }\r\n case CLEAR_SHARE_LOAD_URL_STATE: {\r\n updateLoadInfo = () => ({\r\n isLoadingShareLoadUrl: false,\r\n sharedLoadMessage: undefined,\r\n loadSharingError: undefined,\r\n });\r\n break;\r\n }\r\n case FETCH_LOAD_RATE_CHECK: {\r\n updateLoadInfo = () => ({\r\n isLoadingRateCheck: true,\r\n rateCheck: undefined,\r\n });\r\n break;\r\n }\r\n case LOAD_RATE_CHECK_FETCHED: {\r\n const loadRateCheckResponseAction = action as LoadRateCheckResponseAction;\r\n updateLoadInfo = () => ({\r\n isLoadingRateCheck: false,\r\n rateCheck: loadRateCheckResponseAction.response,\r\n });\r\n break;\r\n }\r\n case FETCH_LOAD_CARGOCHIEF_RATE: {\r\n updateLoadInfo = () => ({\r\n isLoadingCargoChiefRate: true,\r\n cargoChiefValues: undefined,\r\n });\r\n break;\r\n }\r\n case LOAD_CARGOCHIEF_RATE_FETCHED: {\r\n const responseAction = action as LoadCargoChiefRateResponseAction;\r\n updateLoadInfo = () => ({\r\n isLoadingCargoChiefRate: false,\r\n cargoChiefValues: responseAction.response,\r\n });\r\n break;\r\n }\r\n case FETCH_LOAD_GREENSCREENS_RATE: {\r\n updateLoadInfo = () => ({\r\n isLoadingGreenscreensRate: true,\r\n greenscreensValues: undefined,\r\n });\r\n break;\r\n }\r\n case LOAD_GREENSCREENS_RATE_FETCHED: {\r\n const responseAction = action as LoadGreenscreensRateResponseAction;\r\n updateLoadInfo = () => ({\r\n isLoadingGreenscreensRate: false,\r\n greenscreensValues: responseAction.response,\r\n });\r\n break;\r\n }\r\n case SAVE_LOAD: {\r\n updateLoadInfo = () => ({\r\n isSavingLoad: true,\r\n });\r\n break;\r\n }\r\n case SAVE_LOAD_FULFILLED: {\r\n const saveAction = action as SaveLoadResponseAction;\r\n updateLoadInfo = () => ({\r\n isSavingLoad: false,\r\n });\r\n newState.loadUpdate = {\r\n wasUpdatedSuccessfully: saveAction.response.success,\r\n updateTime: Date.now(),\r\n updateType: saveAction.didSave === false ? LoadActionType.Unsave : LoadActionType.Save,\r\n };\r\n break;\r\n }\r\n case HIDE_LOAD: {\r\n updateLoadInfo = () => ({\r\n isLoadingHideLoad: true,\r\n });\r\n break;\r\n }\r\n case HIDE_LOAD_FULFILLED: {\r\n const hideAction = action as HideLoadResponseAction;\r\n updateLoadInfo = () => ({\r\n isLoadingHideLoad: false,\r\n });\r\n newState.loadUpdate = {\r\n wasUpdatedSuccessfully: hideAction.response.success,\r\n updateTime: Date.now(),\r\n updateType: hideAction.didHide === false ? LoadActionType.Unhidden : LoadActionType.Hidden,\r\n };\r\n break;\r\n }\r\n case ADD_NOTE: {\r\n updateLoadInfo = () => ({\r\n isLoadingNote: true,\r\n });\r\n break;\r\n }\r\n case ADD_NOTE_FULFILLED: {\r\n const noteAction = action as AddNoteResponseAction;\r\n updateLoadInfo = () => ({\r\n isLoadingNote: false,\r\n });\r\n newState.loadUpdate = {\r\n wasUpdatedSuccessfully: noteAction.response.success,\r\n updateTime: Date.now(),\r\n updateType: LoadActionType.Note,\r\n };\r\n break;\r\n }\r\n case ADD_PRIVATE_NOTE: {\r\n updateLoadInfo = () => ({\r\n isLoadingPrivateLoadNote: true,\r\n });\r\n break;\r\n }\r\n case ADD_PRIVATE_LOAD_NOTE_FULFILLED: {\r\n const privateLoadNoteAction = action as AddPrivateLoadNoteResponseAction;\r\n updateLoadInfo = () => ({\r\n isLoadingPrivateLoadNote: false,\r\n });\r\n newState.loadUpdate = {\r\n wasUpdatedSuccessfully: privateLoadNoteAction.response.success,\r\n updateTime: Date.now(),\r\n updateType: LoadActionType.PrivateLoadNote,\r\n };\r\n break;\r\n }\r\n case FUEL_PRICE_FETCHED: {\r\n const loadFuelPriceResponseAction = action as LoadFuelPriceResponseAction;\r\n updateLoadInfo = () => ({\r\n isLoadingFuelPrice: false,\r\n fuelPrice: loadFuelPriceResponseAction.response,\r\n });\r\n break;\r\n }\r\n case CLEAR_EMAIL_SENDING_STATE:\r\n case SEND_EMAIL_TO_BROKER: {\r\n updateLoadInfo = () => ({\r\n isEmailSentSuccessfully: undefined,\r\n emailSendingError: undefined,\r\n });\r\n break;\r\n }\r\n case SEND_EMAIL_TO_BROKER_FULFILLED: {\r\n const loadFuelPriceResponseAction = action as SendEmailToBrokerResponseAction;\r\n updateLoadInfo = () => ({\r\n isEmailSentSuccessfully: loadFuelPriceResponseAction.response.success,\r\n emailSendingError: loadFuelPriceResponseAction.response.error,\r\n });\r\n break;\r\n }\r\n case PLACE_BID_ON_VENDOR_LOAD: {\r\n updateLoadInfo = () => ({\r\n vendorBid: { isSending: true, isSentSuccessfully: false },\r\n });\r\n break;\r\n }\r\n case SENT_BID_VENDOR_LOAD: {\r\n const vendorBidResponseAction = action as BidOnVendorLoadResponseAction;\r\n updateLoadInfo = () => ({\r\n vendorBid: {\r\n isSending: false,\r\n isSentSuccessfully: vendorBidResponseAction.response.success,\r\n errorCode: vendorBidResponseAction.response.error ? vendorBidResponseAction.response.error.code : undefined,\r\n },\r\n });\r\n break;\r\n }\r\n case SEND_BOOK_NOW: {\r\n updateLoadInfo = () => ({\r\n bookNow: { isSentSuccessfully: false, isSending: true },\r\n });\r\n break;\r\n }\r\n case BOOK_NOW_SENT: {\r\n const bookResponseAction = action as LoadResponse;\r\n updateLoadInfo = () => ({\r\n bookNow: {\r\n isSentSuccessfully: bookResponseAction.response.success,\r\n isSending: false,\r\n isLoadUnavailable: bookResponseAction.response.error?.code === ApiErrorCode.BOOK_NOW_LOAD_UNAVAILABLE,\r\n isNotFound: bookResponseAction.response.error?.code === ApiErrorCode.BOOK_NOW_NOT_FOUND_ERROR,\r\n },\r\n });\r\n break;\r\n }\r\n case SET_PROGRESS: {\r\n updateLoadInfo = () => ({\r\n isProgressUpdating: true,\r\n });\r\n break;\r\n }\r\n case SET_PROGRESS_FULFILLED: {\r\n const setProgressStatusAction = action as SetProgressResponseAction;\r\n updateLoadInfo = () => ({\r\n isProgressUpdating: false,\r\n isUpdatingSuccess: setProgressStatusAction.response.success,\r\n progressUpdateTime: Date.now(),\r\n });\r\n break;\r\n }\r\n default:\r\n return state;\r\n }\r\n return {\r\n ...newState,\r\n loadInfoMap: updateCacheData(newState.loadInfoMap, action, updateLoadInfo),\r\n };\r\n};\r\n\r\ntype LoadInfoStateObservable = StateObservable<{ loadInfo: LoadInfoState }>;\r\nconst fetchLoadBackhauls$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_LOAD_BACKHAULS,\r\n (action: FetchLoadBackhaulsAction) =>\r\n loadsClient.fetchLoadBackhauls$(\r\n action.loadID,\r\n action.fromNamedSearchId,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: FetchLoadBackhaulsAction) => loadBackhaulsResponse(response, action.loadID)\r\n );\r\n\r\nconst fetchRouteInfo$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_ROUTE_INFO,\r\n (action: LoadResponse) =>\r\n loadsClient.fetchRouteInfo$(\r\n action.loadID,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: LoadResponse) => loadRouteInfoResponse(response, action.loadID)\r\n );\r\n\r\nconst fetchCreditRatings$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_CREDIT_RATINGS,\r\n (action: LoadResponse) =>\r\n loadsClient.fetchCreditRatings$(\r\n action.loadID,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: LoadResponse) => loadCreditRatingsResponse(response, action.loadID)\r\n );\r\n\r\nconst fetchRateCheck$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_LOAD_RATE_CHECK,\r\n (action: LoadResponse) =>\r\n loadsClient.fetchRateCheck$(\r\n action.loadID,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: LoadResponse) => loadRateCheckResponse(response, action.loadID)\r\n );\r\n\r\nconst fetchLoadCargoChiefRate$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_LOAD_CARGOCHIEF_RATE,\r\n (action: LoadResponse) =>\r\n loadsClient.fetchLoadCargoChiefRate$(\r\n action.loadID,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: LoadResponse) =>\r\n loadCargoChiefRateResponse({ ...response, payload: response.payload }, action.loadID)\r\n );\r\n\r\nconst fetchLoadGreenscreensRate$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_LOAD_GREENSCREENS_RATE,\r\n (action: LoadResponse) =>\r\n loadsClient.fetchLoadGreenscreensRate$(\r\n action.loadID,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: LoadResponse) =>\r\n loadGreenscreensRateResponse({ ...response, payload: response.payload }, action.loadID)\r\n );\r\n\r\nconst fetchShareLoadUrl$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_SHARE_LOAD_URL,\r\n (action: LoadResponse) =>\r\n loadsClient.getSharedLoadUrl$(\r\n action.loadID,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: LoadResponse) => sharedLoadUrlResponse(response, action.loadID)\r\n );\r\n\r\nconst saveLoad$ = (action$: ActionsObservable, loadsClient: LoadsClient, state$: LoadInfoStateObservable) =>\r\n action$.ofType(SAVE_LOAD).pipe(\r\n mergeMap$((action: SavedLoadAction) =>\r\n loadsClient\r\n .setSavedLoad$(\r\n action.loadID,\r\n action.willSave,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n )\r\n .pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n return response.resultWithoutData(\r\n () => savedLoadResponse({ success: response.success }, action.willSave, action.loadID),\r\n (error) => savedLoadResponse({ success: response.success, error: error }, action.willSave, action.loadID)\r\n );\r\n })\r\n )\r\n )\r\n );\r\nconst hideLoad$ = (action$: ActionsObservable, loadsClient: LoadsClient, state$: LoadInfoStateObservable) =>\r\n action$.ofType(HIDE_LOAD).pipe(\r\n mergeMap$((action: LoadAction) =>\r\n loadsClient\r\n .setHiddenLoad$(action.loadID, getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey))\r\n .pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n return response.resultWithoutData(\r\n () => hiddenLoadResponse({ success: response.success }, response.success, action.loadID),\r\n (error) =>\r\n hiddenLoadResponse({ success: response.success, error: error }, response.success, action.loadID)\r\n );\r\n })\r\n )\r\n )\r\n );\r\n\r\nconst sendEmailToBroker$ = (action$: ActionsObservable, loadsClient: LoadsClient) =>\r\n action$.ofType(SEND_EMAIL_TO_BROKER).pipe(\r\n mergeMap$((action: SendEmailToBrokerAction) =>\r\n loadsClient.sendEmailToBroker$(action.loadID, action.comment).pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n return response.resultWithoutData(\r\n () => sendEmailResponse({ success: true }, action.loadID),\r\n (error) => sendEmailResponse({ success: response.success, error: error }, action.loadID)\r\n );\r\n })\r\n )\r\n )\r\n );\r\n\r\nconst callLoad$ = (action$: ActionsObservable, loadsClient: LoadsClient, state$: LoadInfoStateObservable) =>\r\n action$.ofType(CALL_LOAD).pipe(\r\n mergeMap$((action: CalledLoadAction) =>\r\n loadsClient\r\n .setLoadCall$(\r\n action.loadID,\r\n action.isCalled,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n )\r\n .pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n return response.resultWithoutData(\r\n () => callLoadResponse({ success: response.success }, action.isCalled, action.loadID),\r\n (error) => callLoadResponse({ success: response.success, error: error }, action.isCalled, action.loadID)\r\n );\r\n })\r\n )\r\n )\r\n );\r\n\r\nconst addLoadNote$ = (action$: ActionsObservable, loadsClient: LoadsClient, state$: LoadInfoStateObservable) =>\r\n action$.ofType(ADD_NOTE).pipe(\r\n mergeMap$((action: AddNoteAction) =>\r\n loadsClient\r\n .setLoadNote$(\r\n action.loadID,\r\n action.note,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n )\r\n .pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n return response.resultWithoutData(\r\n () => AddNoteResponse(action.loadID, action.note, { success: response.success }),\r\n (error) => AddNoteResponse(action.loadID, action.note, { success: response.success, error: error })\r\n );\r\n })\r\n )\r\n )\r\n );\r\n\r\nconst addPrivateLoadNote$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n action$.ofType(ADD_PRIVATE_NOTE).pipe(\r\n mergeMap$((action: AddPrivateLoadNoteAction) =>\r\n loadsClient\r\n .setPrivateLoadNote$(\r\n action.loadID,\r\n action.privateLoadNote,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n )\r\n .pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n return response.resultWithoutData(\r\n () => AddPrivateLoadNoteResponse(action.loadID, action.privateLoadNote, { success: response.success }),\r\n (error) =>\r\n AddPrivateLoadNoteResponse(action.loadID, action.privateLoadNote, {\r\n success: response.success,\r\n error: error,\r\n })\r\n );\r\n })\r\n )\r\n )\r\n );\r\n\r\nconst placeVendorBid$ = (action$: ActionsObservable, vendorBidsClient: VendorBidsClient) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n PLACE_BID_ON_VENDOR_LOAD,\r\n (action: BidOnVendorLoadAction) => vendorBidsClient.postVendorBid$(action.bidSubmission),\r\n (response, action: BidOnVendorLoadAction) => bidOnVendorLoadResponse(action, response)\r\n );\r\n\r\nconst bookNow = (action$: ActionsObservable, loadsClient: LoadsClient) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n SEND_BOOK_NOW,\r\n (action: LoadAction) => loadsClient.sendBookNow$(action.loadID),\r\n (response, action: LoadAction) => bookLoadResponse(action, response)\r\n );\r\n\r\nconst setLoadProgress$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n action$.ofType(SET_PROGRESS).pipe(\r\n mergeMap$((action: SetProgressAction) =>\r\n loadsClient\r\n .setLoadProgress$(\r\n action.loadID,\r\n action.progress,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n )\r\n .pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n return response.resultWithoutData(\r\n () => setProgressResponse(action.loadID, action.progress, { success: response.success }),\r\n (error) =>\r\n setProgressResponse(action.loadID, action.progress, { success: response.success, error: error })\r\n );\r\n })\r\n )\r\n )\r\n );\r\n\r\nconst fetchFuelPrice$ = (\r\n action$: ActionsObservable,\r\n loadsClient: LoadsClient,\r\n state$: LoadInfoStateObservable\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_FUEL_PRICE,\r\n (action: FetchFuelPriceAction) =>\r\n loadsClient.fetchFuelPrice$(\r\n action.state,\r\n action.country,\r\n getLoadDetailsArchivingFlowID(state$, state$.value.loadInfo.loadDetailsKey)\r\n ),\r\n (response, action: LoadFuelPriceResponseAction) => loadFuelPriceResponse(action.loadID, response)\r\n );\r\n\r\nexport const createLoadInfoEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const loadsClient = new LoadsClient(api, isLiveEnvironment);\r\n const vendorBidsClient = new VendorBidsClient(api);\r\n return (action$: ActionsObservable, state$: LoadInfoStateObservable) => {\r\n return merge$(\r\n fetchLoadBackhauls$(action$, loadsClient, state$),\r\n fetchRouteInfo$(action$, loadsClient, state$),\r\n fetchCreditRatings$(action$, loadsClient, state$),\r\n fetchRateCheck$(action$, loadsClient, state$),\r\n fetchLoadCargoChiefRate$(action$, loadsClient, state$),\r\n fetchLoadGreenscreensRate$(action$, loadsClient, state$),\r\n saveLoad$(action$, loadsClient, state$),\r\n addLoadNote$(action$, loadsClient, state$),\r\n addPrivateLoadNote$(action$, loadsClient, state$),\r\n callLoad$(action$, loadsClient, state$),\r\n setLoadProgress$(action$, loadsClient, state$),\r\n fetchShareLoadUrl$(action$, loadsClient, state$),\r\n fetchFuelPrice$(action$, loadsClient, state$),\r\n sendEmailToBroker$(action$, loadsClient),\r\n placeVendorBid$(action$, vendorBidsClient),\r\n bookNow(action$, loadsClient),\r\n hideLoad$(action$, loadsClient, state$)\r\n );\r\n };\r\n};\r\n\r\nexport const isStateUnavailableForFuelPrice = (state: string) => state === 'YT' || state === 'NU';\r\n","import { clone, find } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { iif as iif$, merge as merge$, of as of$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiErrorCode, ApiResponse123 } from '@common/api';\r\nimport { SettingsClient } from '@common/client';\r\nimport { toAddress } from '@common/helper';\r\nimport { HomeLocation, LoadLocationCity, LoadSearchSettings, LocationType } from '@common/model';\r\nimport {\r\n CardView,\r\n KeysView,\r\n KeysViewWithoutMap,\r\n KeysWithoutList,\r\n ListView,\r\n ViewChoice,\r\n WebViewPages,\r\n WebViews,\r\n} from '@common/model/LoadView';\r\nimport { ResponseAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport const HOME_LOCATION_REDUCER_KEY = 'HOME_LOCATION_REDUCER_KEY';\r\nconst SET_HOME_LOCATION = 'SET_HOME_LOCATION';\r\nconst LOAD_SEARCH_SETTINGS_SET = 'LOAD_SEARCH_SETTINGS_SET';\r\nconst FETCH_LOAD_SEARCH_SETTINGS = 'FETCH_LOAD_SEARCH_SETTINGS';\r\nconst SET_VIEW_OPTION = 'SET_VIEW_OPTION';\r\nconst SET_LAST_VISITED_PAGE = 'SET_LAST_VISITED_PAGE';\r\nexport const LOAD_SEARCH_SETTINGS_FETCHED = 'LOAD_SEARCH_SETTINGS_FETCHED';\r\nconst SET_MORE_FILTERS_EXPANDED_STATE = 'SET_MORE_FILTERS_EXPANDED_STATE';\r\n\r\nexport interface LoadSearchSettingsState {\r\n hasSettings: boolean;\r\n viewOption: WebViews;\r\n appViewOption: ViewChoice;\r\n previousViewOption: WebViews | undefined;\r\n homeLocation?: HomeLocation;\r\n lastViewedPage?: WebViewPages;\r\n isMoreFiltersExpanded: boolean;\r\n}\r\n\r\ninterface PartialState {\r\n loadSearchSettings: LoadSearchSettingsState;\r\n}\r\n\r\ninterface SetHomeLocationAction extends Action {\r\n location: LoadLocationCity;\r\n}\r\ninterface LoadSearchSettingsSetAction extends Action {\r\n loadSearchSettings?: LoadSearchSettings;\r\n error?: ApiError;\r\n}\r\ninterface SetViewOptionAction extends Action {\r\n viewOption: ViewChoice;\r\n webPage?: WebViewPages;\r\n}\r\ninterface LastViewPageAction extends Action {\r\n webPage: WebViewPages;\r\n}\r\n\r\ninterface SetMoreFiltersExpandedStateAction extends Action {\r\n isExpanded: boolean;\r\n}\r\n\r\ntype LoadSearchSettingsResponse = ResponseAction;\r\n\r\nexport const setLocation = (location: HomeLocation) => ({\r\n type: SET_HOME_LOCATION,\r\n location: location,\r\n});\r\n\r\nexport const fetchLoadSearchSettings = () => ({\r\n type: FETCH_LOAD_SEARCH_SETTINGS,\r\n});\r\n\r\nexport const setLastVisitedPage = (page: WebViewPages): LastViewPageAction => ({\r\n type: SET_LAST_VISITED_PAGE,\r\n webPage: page,\r\n});\r\n\r\nexport const setViewOption = (viewOption: ViewChoice, webPage?: WebViewPages): SetViewOptionAction => ({\r\n type: SET_VIEW_OPTION,\r\n viewOption: viewOption,\r\n webPage: webPage,\r\n});\r\n\r\nexport const setMoreFiltersExpandedState = (isExpanded: boolean): SetMoreFiltersExpandedStateAction => ({\r\n type: SET_MORE_FILTERS_EXPANDED_STATE,\r\n isExpanded: isExpanded,\r\n});\r\n\r\nconst InitialView: WebViews = {\r\n findLoads: ListView,\r\n myLoads: CardView,\r\n loadAvailability: CardView,\r\n brokerLoads: ListView,\r\n companySearch: CardView,\r\n};\r\n\r\nconst loadSearchSettingsInitialState: LoadSearchSettingsState = {\r\n hasSettings: false,\r\n homeLocation: undefined,\r\n viewOption: InitialView,\r\n appViewOption: CardView,\r\n previousViewOption: undefined,\r\n lastViewedPage: undefined,\r\n isMoreFiltersExpanded: false,\r\n};\r\nconst createViewOption = (payload: LoadSearchSettings) => {\r\n const viewFindLoads = find(KeysView, { title: payload.webUiLayout });\r\n const viewMyLoads = find(KeysView, {\r\n title: payload.webMyLoadsUiLayout,\r\n });\r\n const viewLoadAvailability = find(KeysView, {\r\n title: payload.webAvailabilityUiLayout,\r\n });\r\n const viewBrokerLoads = find(KeysViewWithoutMap, {\r\n title: payload.webBrokerUiLayout,\r\n });\r\n return {\r\n findLoads: viewFindLoads ? viewFindLoads : ListView,\r\n myLoads: viewMyLoads ?? CardView,\r\n loadAvailability: viewLoadAvailability ? viewLoadAvailability : CardView,\r\n brokerLoads: viewBrokerLoads ? viewBrokerLoads : ListView,\r\n };\r\n};\r\nconst updateViewField = (currentViewOption: WebViews, action: SetViewOptionAction) => {\r\n const viewOption = clone(currentViewOption);\r\n switch (action.webPage) {\r\n case WebViewPages.FindLoads:\r\n {\r\n viewOption.findLoads = action.viewOption;\r\n }\r\n break;\r\n case WebViewPages.MyLoads:\r\n {\r\n viewOption.myLoads = action.viewOption;\r\n }\r\n break;\r\n case WebViewPages.LoadAvailability:\r\n {\r\n viewOption.loadAvailability = action.viewOption;\r\n }\r\n break;\r\n case WebViewPages.BrokerLoads:\r\n {\r\n viewOption.brokerLoads = action.viewOption;\r\n }\r\n break;\r\n case WebViewPages.CompanySearch:\r\n {\r\n viewOption.companySearch = action.viewOption;\r\n }\r\n break;\r\n }\r\n return viewOption;\r\n};\r\n\r\nexport const loadSearchSettingsReducer = createMergedReducer(loadSearchSettingsInitialState, [\r\n {\r\n [LOAD_SEARCH_SETTINGS_FETCHED]: (state, action) => {\r\n const loadSearchSettingsAction = action as LoadSearchSettingsResponse;\r\n if (loadSearchSettingsAction.response.success && loadSearchSettingsAction.response.payload) {\r\n const viewOption = createViewOption(loadSearchSettingsAction.response.payload);\r\n return {\r\n ...state,\r\n hasSettings: true,\r\n homeLocation: locationFromResponse(loadSearchSettingsAction.response.payload),\r\n viewOption: { ...viewOption, companySearch: state.viewOption.companySearch },\r\n appViewOption:\r\n find(KeysWithoutList, { title: loadSearchSettingsAction.response.payload.appUiLayout }) ?? CardView,\r\n previousViewOption: state.viewOption,\r\n };\r\n }\r\n return state;\r\n },\r\n [LOAD_SEARCH_SETTINGS_SET]: (state, action) => {\r\n const { loadSearchSettings, error } = action as LoadSearchSettingsSetAction;\r\n\r\n if (error || !loadSearchSettings) {\r\n return state;\r\n }\r\n\r\n const viewOption = createViewOption(loadSearchSettings);\r\n return {\r\n ...state,\r\n hasSettings: true,\r\n homeLocation: locationFromResponse(loadSearchSettings),\r\n viewOption: { ...viewOption, companySearch: state.viewOption.companySearch },\r\n appViewOption: find(KeysWithoutList, { title: loadSearchSettings.appUiLayout }) ?? CardView,\r\n previousViewOption: state.viewOption,\r\n };\r\n },\r\n [SET_LAST_VISITED_PAGE]: (state, action) => {\r\n const setViewOptionAction = action as LastViewPageAction;\r\n if (setViewOptionAction.webPage) {\r\n return {\r\n ...state,\r\n lastViewedPage: setViewOptionAction.webPage,\r\n };\r\n }\r\n return state;\r\n },\r\n [SET_VIEW_OPTION]: (state, action) => {\r\n const setViewOptionAction = action as SetViewOptionAction;\r\n if (setViewOptionAction.viewOption) {\r\n return setViewOptionAction.webPage\r\n ? {\r\n ...state,\r\n viewOption: updateViewField(state.viewOption, setViewOptionAction),\r\n previousViewOption: state.viewOption,\r\n }\r\n : { ...state, appViewOption: setViewOptionAction.viewOption };\r\n }\r\n return state;\r\n },\r\n [SET_MORE_FILTERS_EXPANDED_STATE]: (state, action) => {\r\n const setAction = action as SetMoreFiltersExpandedStateAction;\r\n return { ...state, isMoreFiltersExpanded: setAction.isExpanded };\r\n },\r\n },\r\n]);\r\n\r\nconst locationFromResponse = (response: LoadSearchSettings): HomeLocation | undefined => {\r\n const locationType = response.homeLocationType as LocationType;\r\n switch (locationType) {\r\n case LocationType.CITY:\r\n if (response.homeAddress) {\r\n return {\r\n type: LocationType.CITY,\r\n city: response.homeAddress.city,\r\n states: [response.homeAddress.state],\r\n };\r\n }\r\n break;\r\n case LocationType.ZIP:\r\n if (response.homeAddress) {\r\n return {\r\n type: LocationType.ZIP,\r\n zipCode: response.homeAddress.zipCode || '',\r\n city: response.homeAddress.city,\r\n states: [response.homeAddress.state],\r\n };\r\n }\r\n break;\r\n case LocationType.GEOLOCATION:\r\n if (response.homeGeolocation) {\r\n let city = '';\r\n let state = '';\r\n if (response.homeAddress) {\r\n city = response.homeAddress.city;\r\n state = response.homeAddress.state;\r\n }\r\n return {\r\n type: LocationType.GEOLOCATION,\r\n latitude: response.homeGeolocation.latitude,\r\n longitude: response.homeGeolocation.longitude,\r\n city: city,\r\n states: [state],\r\n };\r\n }\r\n break;\r\n }\r\n return undefined;\r\n};\r\nconst loadSearchSettingResponseMapping = (response: ApiResponse123) =>\r\n response.result(\r\n (result) => ({ type: LOAD_SEARCH_SETTINGS_SET, loadSearchSettings: result }),\r\n (error) => ({ type: LOAD_SEARCH_SETTINGS_SET, error: error })\r\n );\r\n\r\nconst setHomeLocation$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n settingsClient: SettingsClient\r\n) =>\r\n action$.ofType(SET_HOME_LOCATION).pipe(\r\n mergeMap$((action: SetHomeLocationAction) =>\r\n settingsClient.setHomeLocation$(action.location, state$.value.loadSearchSettings.hasSettings).pipe(\r\n mergeMap$((response: ApiResponse123) => {\r\n if (!response.success && (response as ApiError).code === ApiErrorCode.LOAD_SEARCH_SETTINGS_ALREADY_EXIST) {\r\n return settingsClient.setHomeLocation$(action.location, true);\r\n }\r\n return of$(response);\r\n }),\r\n map$(loadSearchSettingResponseMapping)\r\n )\r\n )\r\n );\r\n\r\nconst setWebUiLayout$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n settingsClient: SettingsClient\r\n) =>\r\n action$.ofType(SET_VIEW_OPTION).pipe(\r\n mergeMap$((action: SetViewOptionAction) =>\r\n settingsClient\r\n .setUiLayout$(action.viewOption.field, state$.value.loadSearchSettings.hasSettings, action.webPage)\r\n .pipe(\r\n mergeMap$((response: ApiResponse123) => {\r\n if (!response.success && (response as ApiError).code === ApiErrorCode.LOAD_SEARCH_SETTINGS_ALREADY_EXIST) {\r\n return settingsClient.setUiLayout$(action.viewOption.field, true, action.webPage);\r\n }\r\n return of$(response);\r\n }),\r\n map$(loadSearchSettingResponseMapping)\r\n )\r\n )\r\n );\r\n\r\nconst fetchSettings$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n settingsClient: SettingsClient\r\n) =>\r\n action$.ofType(FETCH_LOAD_SEARCH_SETTINGS).pipe(\r\n mergeMap$(() => settingsClient.fetchLoadSearchSettings$()),\r\n mergeMap$((response) =>\r\n iif$(\r\n () => !response.success && response.httpStatus === 404,\r\n settingsClient\r\n .createLoadSearchSettings$({\r\n homeLocationType: state$.value.loadSearchSettings.homeLocation?.type,\r\n homeAddress: toAddress(state$.value.loadSearchSettings.homeLocation),\r\n webUiLayout: state$.value.loadSearchSettings.viewOption.findLoads.field,\r\n webAvailabilityUiLayout: state$.value.loadSearchSettings.viewOption.loadAvailability.field,\r\n webMyLoadsUiLayout: state$.value.loadSearchSettings.viewOption.myLoads.field,\r\n webBrokerUiLayout: state$.value.loadSearchSettings.viewOption.brokerLoads.field,\r\n })\r\n .pipe(\r\n map$((createSettingResponse) => createSettingResponse.resultDataResponse(LOAD_SEARCH_SETTINGS_FETCHED))\r\n ),\r\n of$(response.resultDataResponse(LOAD_SEARCH_SETTINGS_FETCHED))\r\n )\r\n )\r\n );\r\n\r\nexport const createHomeLocationEpic = (api: Api) => {\r\n const settingsClient = new SettingsClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n setHomeLocation$(action$, state$, settingsClient),\r\n fetchSettings$(action$, state$, settingsClient),\r\n setWebUiLayout$(action$, state$, settingsClient)\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as observableMerge } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { LoadsClient } from '@common/client';\r\nimport { addFetchedTime } from '@common/helper';\r\nimport { AlertNotification, Load, PayRateUnit } from '@common/model';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\n\r\nconst FETCH_LOADS = 'FETCH_LOADS';\r\nconst LOADS_FETCHED = 'LOADS_FETCHED';\r\nconst FETCH_POSTED_LOAD_COUNT = 'FETCH_POSTED_LOAD_COUNT';\r\nconst POSTED_LOAD_COUNT_FETCHED = 'POSTED_LOAD_COUNT_FETCHED';\r\nconst SEND_ALERT = 'SEND_ALERT';\r\nconst ALERT_SENT = 'ALERT_SENT';\r\nconst SAVE_LOAD_FILTER = 'SAVE_LOAD_FILTER';\r\nconst FETCH_POSTED_LOAD_COUNT_FIELDS = 'metadata{totalResultCount}';\r\n\r\nconst INITIAL_STATE: LoadsState = {\r\n isLoading: false,\r\n numberOfAlertsSent: 0,\r\n isAlertSending: false,\r\n alertResponseTimeStamp: 0,\r\n lastLoadFilter: '',\r\n};\r\nexport type LoadsResponse = Response;\r\nexport type LoadCountResponse = Response;\r\nexport type AlertNotificationResponse = Response;\r\n\r\ninterface FetchLoadsResponse extends Action {\r\n loads: LoadsResponse;\r\n}\r\n\r\ninterface LoadFilterResponse extends Action {\r\n filter: string;\r\n sort: LoadSortOrder;\r\n}\r\n\r\ninterface FetchPostedLoadCountResponse extends Action {\r\n postedLoadCount: LoadCountResponse;\r\n}\r\n\r\ninterface AlertNotificationRequest extends Action {\r\n loadId: string;\r\n alertNotification: AlertNotification;\r\n}\r\n\r\ninterface FetchLoadsRequest extends Action {\r\n /** only used for internal truck locator */\r\n companyName?: string;\r\n}\r\n\r\ninterface PostAlertNotificationResponse extends Action {\r\n response: AlertNotificationResponse;\r\n numberOfAlertedCarriers: number;\r\n}\r\n/** @param companyName is only used for internal truck locator */\r\nexport function fetchLoads(companyName?: string): FetchLoadsRequest {\r\n return {\r\n type: FETCH_LOADS,\r\n companyName: companyName,\r\n };\r\n}\r\n\r\nexport function fetchPostedLoadCount(): Action {\r\n return {\r\n type: FETCH_POSTED_LOAD_COUNT,\r\n };\r\n}\r\n\r\nexport function postAlertNotification(loadId: string, alertNotification: AlertNotification): AlertNotificationRequest {\r\n return {\r\n type: SEND_ALERT,\r\n loadId: loadId,\r\n alertNotification: alertNotification,\r\n };\r\n}\r\n\r\nexport interface LoadSortOrder {\r\n sortedAsc: boolean;\r\n category: string;\r\n}\r\n\r\nexport interface LoadsState extends BaseState {\r\n loads?: LoadsResponse;\r\n postedLoadCount?: LoadCountResponse;\r\n alertResponse?: AlertNotificationResponse;\r\n numberOfAlertsSent: number;\r\n isAlertSending: boolean;\r\n alertResponseTimeStamp: number;\r\n lastLoadFilter: string;\r\n}\r\n\r\nexport const fetchLoadsResponse = (response: LoadsResponse): FetchLoadsResponse => ({\r\n type: LOADS_FETCHED,\r\n loads: response,\r\n});\r\n\r\nexport const saveLoadFilter = (filter: string, sort: LoadSortOrder): LoadFilterResponse => ({\r\n type: SAVE_LOAD_FILTER,\r\n filter: filter,\r\n sort: sort,\r\n});\r\n\r\nexport const fetchPostedLoadCountResponse = (response: LoadCountResponse): FetchPostedLoadCountResponse => ({\r\n type: POSTED_LOAD_COUNT_FETCHED,\r\n postedLoadCount: response,\r\n});\r\n\r\nexport const postAlertNotificationResponse = (\r\n response: AlertNotificationResponse,\r\n alertedAmount: number\r\n): PostAlertNotificationResponse => ({\r\n type: ALERT_SENT,\r\n response: response,\r\n numberOfAlertedCarriers: alertedAmount,\r\n});\r\n\r\nexport const loadsReducer = (state = INITIAL_STATE, action: Action): LoadsState => {\r\n switch (action.type) {\r\n case POSTED_LOAD_COUNT_FETCHED: {\r\n const postedLoadCountAction = action as FetchPostedLoadCountResponse;\r\n return {\r\n ...state,\r\n postedLoadCount: postedLoadCountAction.postedLoadCount,\r\n isLoading: false,\r\n };\r\n }\r\n case SAVE_LOAD_FILTER: {\r\n const saveAction = action as LoadFilterResponse;\r\n return {\r\n ...state,\r\n lastLoadFilter: saveAction.filter,\r\n };\r\n }\r\n case LOADS_FETCHED: {\r\n const loadAction = action as FetchLoadsResponse;\r\n if (loadAction.loads.payload) {\r\n loadAction.loads.payload = addFetchedTime(loadAction.loads.payload);\r\n }\r\n return {\r\n ...state,\r\n loads: loadAction.loads,\r\n isLoading: false,\r\n };\r\n }\r\n case FETCH_POSTED_LOAD_COUNT:\r\n case FETCH_LOADS:\r\n return {\r\n ...state,\r\n loads: undefined,\r\n isLoading: true,\r\n };\r\n case SEND_ALERT:\r\n return {\r\n ...state,\r\n isAlertSending: true,\r\n };\r\n case ALERT_SENT: {\r\n const alertAction = action as PostAlertNotificationResponse;\r\n return {\r\n ...state,\r\n alertResponse: alertAction.response,\r\n isAlertSending: false,\r\n alertResponseTimeStamp: new Date().getTime(),\r\n numberOfAlertsSent: alertAction.numberOfAlertedCarriers,\r\n };\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst fetchLoadsAction$ = (action$: ActionsObservable, client: LoadsClient) =>\r\n action$.ofType(FETCH_LOADS).pipe(\r\n mergeMap$((action: FetchLoadsRequest) => {\r\n return client.fetchLoads$(action.companyName).pipe(\r\n map$((response: ApiResponse123) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess;\r\n return fetchLoadsResponse({ success: response.success, payload: successResp.data });\r\n } else {\r\n const error = response as ApiError;\r\n return fetchLoadsResponse({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst fetchPostedLoadCountAction$ = (action$: ActionsObservable, client: LoadsClient) =>\r\n action$.ofType(FETCH_POSTED_LOAD_COUNT).pipe(\r\n mergeMap$(() => {\r\n return client.fetchPostedLoadsList$(FETCH_POSTED_LOAD_COUNT_FIELDS).pipe(\r\n map$((response: ApiResponse123<{ metadata: { totalResultCount: number } }>) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess<{ metadata: { totalResultCount: number } }>;\r\n if (successResp.data) {\r\n return fetchPostedLoadCountResponse({\r\n success: response.success,\r\n payload: successResp.data.metadata.totalResultCount,\r\n });\r\n }\r\n }\r\n\r\n const error = response as ApiError;\r\n return fetchPostedLoadCountResponse({ success: response.success, error: error });\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst postAlertNotificationAction$ = (action$: ActionsObservable, client: LoadsClient) =>\r\n action$.ofType(SEND_ALERT).pipe(\r\n mergeMap$((alertNotificationRequest: AlertNotificationRequest) => {\r\n return client\r\n .postAlertNotification$(alertNotificationRequest.loadId, {\r\n ...alertNotificationRequest.alertNotification,\r\n amountType: PayRateUnit.Flat,\r\n })\r\n .pipe(\r\n map$((response: ApiResponse123<{ count: number }>) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess<{ count: number }>;\r\n if (successResp.data) {\r\n return postAlertNotificationResponse(\r\n {\r\n success: response.success,\r\n payload: successResp.data.count,\r\n },\r\n alertNotificationRequest.alertNotification.targets.length\r\n );\r\n }\r\n }\r\n\r\n const error = response as ApiError;\r\n return postAlertNotificationResponse({ success: response.success, error: error }, 0);\r\n })\r\n );\r\n })\r\n );\r\n\r\nexport const createLoadsEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const loadsClient = new LoadsClient(api, isLiveEnvironment);\r\n return (action$: ActionsObservable) =>\r\n observableMerge(\r\n fetchLoadsAction$(action$, loadsClient),\r\n fetchPostedLoadCountAction$(action$, loadsClient),\r\n postAlertNotificationAction$(action$, loadsClient)\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { of as observableOf } from 'rxjs';\r\nimport { debounceTime, map, mergeMap } from 'rxjs/operators';\r\n\r\nimport { Api } from '@common/api';\r\nimport { LocationMatchClient } from '@common/client/LocationMatchClient';\r\nimport { ImmutableLRUMap } from '@common/helper/ImmutableLRUMap';\r\nimport { LocationSuggestions } from '@common/model';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\n\r\nconst FETCH_LOCATION_MATCH = 'FETCH_LOCATION_MATCH';\r\nconst FETCH_LOCATION_MATCH_COMPLETE = 'FETCH_LOCATION_MATCH_COMPLETE';\r\n\r\nexport type LocationMatchResponse = Response;\r\n\r\n// NOTE: if adding more location options like includeStates,\r\n// adapt the caching key to include those options as well\r\ninterface FetchLocationMatchAction extends Action {\r\n location: string;\r\n includeStates: boolean;\r\n}\r\n\r\ninterface FetchLocationMatchCompleteAction extends Action {\r\n query: string;\r\n includeStates: boolean;\r\n response: LocationMatchResponse;\r\n}\r\n\r\nexport function fetchLocationMatch(location: string, includeStates = false): FetchLocationMatchAction {\r\n return {\r\n type: FETCH_LOCATION_MATCH,\r\n location: location,\r\n includeStates: includeStates,\r\n };\r\n}\r\n\r\nexport interface LocationMatchState extends BaseState {\r\n matches: LocationSuggestions;\r\n}\r\n\r\nexport const fetchLocationMatchComplete = (\r\n query: string,\r\n includeStates: boolean,\r\n response: LocationMatchResponse\r\n): FetchLocationMatchCompleteAction => ({\r\n type: FETCH_LOCATION_MATCH_COMPLETE,\r\n query: query,\r\n includeStates: includeStates,\r\n response: response,\r\n});\r\n\r\nexport const EMPTY_MATCHES = { suggestions: [] };\r\n\r\nexport const locationCacheKey = (queryText: string, includeStates: boolean) =>\r\n (includeStates ? 'S' : '-') + '|' + queryText;\r\n\r\nexport const locationMatchReducer = (state = new ImmutableLRUMap(100), action: Action) => {\r\n switch (action.type) {\r\n case FETCH_LOCATION_MATCH_COMPLETE: {\r\n const locationAction = action as FetchLocationMatchCompleteAction;\r\n const key = locationCacheKey(locationAction.query, locationAction.includeStates);\r\n\r\n let matches: LocationSuggestions;\r\n if (locationAction.response.payload) {\r\n matches = locationAction.response.payload;\r\n } else {\r\n matches = EMPTY_MATCHES;\r\n }\r\n return state.set(key, { matches: matches, isLoading: false });\r\n }\r\n case FETCH_LOCATION_MATCH: {\r\n const locationAction = action as FetchLocationMatchAction;\r\n const key = locationCacheKey(locationAction.location, locationAction.includeStates);\r\n\r\n // fetch from our cache\r\n const locationState: LocationMatchState | undefined = state.get(key);\r\n\r\n if (locationState) {\r\n if (locationState.isLoading) {\r\n // already in loading state\r\n return state;\r\n } else if (locationState.matches !== EMPTY_MATCHES) {\r\n // data already present, move the entry as Last Recently Used (LRU)\r\n // (Note: Using \"EMPTY_MATCHES\" for potential previous errors)\r\n state.moveToLastUsed(key);\r\n return state;\r\n }\r\n }\r\n\r\n // this will trigger loading the data in the EPIC\r\n return state.set(key, { matches: EMPTY_MATCHES, isLoading: true });\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const createLocationMatchEpic = (api: Api) => {\r\n const client = new LocationMatchClient(api);\r\n return (\r\n action$: ActionsObservable,\r\n state$: StateObservable<{ locationMatches: ImmutableLRUMap }>\r\n ) => {\r\n return action$.ofType(FETCH_LOCATION_MATCH).pipe(\r\n debounceTime(150),\r\n mergeMap((action) => {\r\n const locationAction = action as FetchLocationMatchAction;\r\n const query = locationAction.location;\r\n const includeStates = locationAction.includeStates;\r\n\r\n const locationStatesCache = state$.value.locationMatches;\r\n\r\n // check if we are supposed to be loading it or not\r\n const locationState: LocationMatchState | undefined = locationStatesCache?.get(\r\n locationCacheKey(query, includeStates)\r\n );\r\n\r\n if (!locationState || !locationState.isLoading) {\r\n // already loaded or store not initialized properly\r\n return observableOf({ type: '' });\r\n }\r\n\r\n const locationObs$ = client.fetchLocationMatch$(query, includeStates);\r\n return locationObs$.pipe(\r\n map((response) => {\r\n if (query !== locationAction.location) {\r\n return { type: '' };\r\n }\r\n return response.result(\r\n (data) => fetchLocationMatchComplete(query, includeStates, { success: true, payload: data }),\r\n (error) => fetchLocationMatchComplete(query, includeStates, { success: response.success, error: error })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n };\r\n};\r\n","import { find } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { LoadsClient, RateCheckClient, RouteClient } from '@common/client';\r\nimport { formatNumberDecimals, LTLEquipmentTypes, toAddress } from '@common/helper';\r\nimport {\r\n AverageRateInitialExpansionLevel,\r\n CargoChiefRate,\r\n EquipmentType,\r\n ExpediteAllRateRequest,\r\n ExpediteAllResponse,\r\n GreenscreensRate,\r\n LoadSearchRequest,\r\n LoadToTruckRatioRequest,\r\n LoadToTruckRatioResponse,\r\n LocationSuggestion,\r\n RateCheck,\r\n RateCheckEquipmentTypes,\r\n RateCheckLocation,\r\n RateCheckRequest,\r\n RouteInfo,\r\n StopsLocation,\r\n ThirdPartyLaneRateRequest,\r\n ThirdPartyLaneRateResponse,\r\n} from '@common/model';\r\nimport { createAction, createApiAction } from '@common/redux/Base';\r\nimport { MileageRequest } from '@common/redux/epic/PostTruckEpic';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst GREENSSCREENS_SOURCE = 'Greenscreens';\r\nconst CARGO_CHIEF_SOURCE = 'CargoChief';\r\n\r\nexport interface AcceptancePointCalculator {\r\n postingRate: number;\r\n estimatedCarrierOffer: number;\r\n acceptancePoint: number;\r\n shipperCharge: number;\r\n}\r\n\r\nexport type MarketRatesEquipmentTypes = RateCheckEquipmentTypes | LTLEquipmentTypes;\r\n\r\nexport interface MarketRatesSearchForm {\r\n equipmentType: MarketRatesEquipmentTypes;\r\n origin?: RateCheckLocation;\r\n destination?: RateCheckLocation;\r\n originSuggestion?: LocationSuggestion;\r\n destinationSuggestion?: LocationSuggestion;\r\n}\r\n\r\nconst changeMargetRatesSearchFormAction = createAction>(\r\n 'CHANGE_MARKET_RATES_SEARCH_FORM'\r\n);\r\nconst setAreaExpansionLevelAction = createAction('SET_AREA_EXPANSION_LEVEL');\r\nconst setTimeIntervalAction = createAction('SET_TIME_INTERVAL');\r\nconst resetDataRangeAction = createAction('RESET_DATA_RANGE');\r\nconst switchLocationsSearchFormAction = createAction('SWITCH_LOCATIONS_MARKET_RATES_SEARCH_FORM');\r\n\r\nconst fetchBackhaulsRateCheckAction = createApiAction('FETCH_BACKHAULS_RATECHECK');\r\nconst fetchRouteInfoAction = createApiAction('FETCH_ROUTE_INFO');\r\n\r\nconst setIsAcceptancePointExpansionPanelOpenAction = createAction(\r\n 'SET_IS_ACCEPTANCE_POINT_EXPANSION_PANEL_OPEN'\r\n);\r\nconst setIsCapacityFinderExpansionPanelOpenAction = createAction(\r\n 'SET_IS_CAPACITY_FINDER_EXPANSION_PANEL_OPEN'\r\n);\r\nconst fetchPickupLoadsCountAction = createApiAction(\r\n 'FETCH_PICKUP_LOADS_COUNT'\r\n);\r\nconst fetchAnywherePickupLoadsCountAction = createApiAction(\r\n 'FETCH_PICKUP_ANYWHERE_LOADS_COUNT'\r\n);\r\nconst fetchBackhaulsLoadsCountAction = createApiAction(\r\n 'FETCH_BACKHAUL_LOADS_COUNT'\r\n);\r\nconst fetchAnywhereBackhaulsLoadsCountAction = createApiAction(\r\n 'FETCH_BACKHAUL_ANYWHERE_LOADS_COUNT'\r\n);\r\nconst setAcceptancePointCalculatorAction = createAction>(\r\n 'SET_ACCEPTANCE_POINT_CALCULATOR'\r\n);\r\nconst fetchThirdPartyLaneRatesAction = createApiAction(\r\n 'FETCH_LANE_RATES'\r\n);\r\nconst fetchLoadToTruckRatioAction = createApiAction<\r\n LoadToTruckRatioRequest[],\r\n { individualResponses: LoadToTruckRatioResponse[] }\r\n>('FETCH_LOAD_TO_TRUCK_RATIO');\r\nconst fetchExpediteAllRateAction = createApiAction(\r\n 'FETCH_EXPEDITE_ALL_RATE'\r\n);\r\nconst fetchBackhaulsExpediteAllRateAction = createApiAction(\r\n 'FETCH_BACKHAULS_EXPEDITE_ALL_RATE'\r\n);\r\n\r\nexport const changeMarketRatesSearchForm = (form: Partial) =>\r\n changeMargetRatesSearchFormAction.action(form);\r\nexport const setAreaExpansionLevel = (value: AverageRateInitialExpansionLevel) =>\r\n setAreaExpansionLevelAction.action(value);\r\n/** @param value - time interval in weeks */\r\nexport const setTimeInterval = (value: number) => setTimeIntervalAction.action(value);\r\nexport const resetDataRange = () => resetDataRangeAction.action(undefined);\r\nexport const switchLocations = () => switchLocationsSearchFormAction.action(undefined);\r\nexport const fetchBackhaulsRateCheck = (request: RateCheckRequest) =>\r\n fetchBackhaulsRateCheckAction.fetchAction(request);\r\nexport const fetchRouteInfo = (stops: StopsLocation[]) => fetchRouteInfoAction.fetchAction({ stops: stops });\r\nexport const setIsAcceptancePointExpansionPanelOpen = (isOpen: boolean) =>\r\n setIsAcceptancePointExpansionPanelOpenAction.action(isOpen);\r\nexport const setIsCapacityFinderExpansionPanelOpen = (isOpen: boolean) =>\r\n setIsCapacityFinderExpansionPanelOpenAction.action(isOpen);\r\nexport const setAcceptancePointCalculator = (values: Partial) =>\r\n setAcceptancePointCalculatorAction.action(values);\r\nexport const fetchPickupLoadsCount = (request: LoadSearchRequest) => fetchPickupLoadsCountAction.fetchAction(request);\r\nexport const fetchAnywherePickupLoadsCount = (request: LoadSearchRequest) => {\r\n return fetchAnywherePickupLoadsCountAction.fetchAction(request);\r\n};\r\nexport const fetchBackhaulsLoadsCount = (request: LoadSearchRequest) =>\r\n fetchBackhaulsLoadsCountAction.fetchAction(request);\r\nexport const fetchAnywhereBackhaulsLoadsCount = (request: LoadSearchRequest) =>\r\n fetchAnywhereBackhaulsLoadsCountAction.fetchAction(request);\r\nexport const fetchThirdPartyLaneRates = (request: ThirdPartyLaneRateRequest) =>\r\n fetchThirdPartyLaneRatesAction.fetchAction(request);\r\nexport const fetchLoadToTruckRatio = (request: LoadToTruckRatioRequest[]) =>\r\n fetchLoadToTruckRatioAction.fetchAction(request);\r\nexport const fetchExpediteAllRate = (request: ExpediteAllRateRequest) =>\r\n fetchExpediteAllRateAction.fetchAction(request);\r\nexport const fetchBackhaulsExpediteAllRate = (request: ExpediteAllRateRequest) =>\r\n fetchBackhaulsExpediteAllRateAction.fetchAction(request);\r\n\r\nexport interface MarketRatesState {\r\n searchForm: MarketRatesSearchForm;\r\n isFetchingBackhaulsRateCheck: boolean;\r\n backhaulsRateCheck?: RateCheck;\r\n isFetchingRouteInfo: boolean;\r\n routeInfo?: RouteInfo;\r\n isAcceptancePointExpansionPanelOpen: boolean;\r\n isCapacityFinderExpansionPanelOpen: boolean;\r\n acceptancePointCalculator: AcceptancePointCalculator;\r\n isFetchingLoadsCount: boolean;\r\n loadsCount: {\r\n pickupLoadsCount?: number;\r\n anywherePickupLoadsCount?: number;\r\n backhaulLoadsCount?: number;\r\n anywhereBackhaulLoadsCount?: number;\r\n };\r\n cargoChiefRate?: CargoChiefRate;\r\n greenscreensRate?: GreenscreensRate;\r\n isCargoChiefGreenscreensRateLoading: boolean;\r\n isCargoChiefRateFound?: boolean;\r\n isGreenscreensRateFound?: boolean;\r\n areaExpansionLevel: AverageRateInitialExpansionLevel;\r\n /** in weeks, min = 2, max = 52 */\r\n timeInterval: number;\r\n isLoadingLoadToTruckRatio: boolean;\r\n ratioAtOrigin?: string;\r\n ratioAtDestination?: string;\r\n isLoadingExpediteAllRate: boolean;\r\n expediteAllRate?: ExpediteAllResponse;\r\n errorFetchingExpediteAllRate?: boolean;\r\n isLoadingExpediteAllRateBackhaul: boolean;\r\n backhaulsExpediteAllRate?: ExpediteAllResponse;\r\n}\r\n\r\nconst initialState: MarketRatesState = {\r\n searchForm: {\r\n equipmentType: EquipmentType.Flatbed,\r\n },\r\n isFetchingBackhaulsRateCheck: false,\r\n isFetchingRouteInfo: false,\r\n isAcceptancePointExpansionPanelOpen: true,\r\n isCapacityFinderExpansionPanelOpen: true,\r\n acceptancePointCalculator: {\r\n postingRate: 0,\r\n estimatedCarrierOffer: 0,\r\n acceptancePoint: 0,\r\n shipperCharge: 0,\r\n },\r\n isFetchingLoadsCount: false,\r\n loadsCount: {},\r\n isCargoChiefGreenscreensRateLoading: false,\r\n areaExpansionLevel: AverageRateInitialExpansionLevel.City,\r\n timeInterval: 2,\r\n isLoadingLoadToTruckRatio: false,\r\n isLoadingExpediteAllRate: false,\r\n isLoadingExpediteAllRateBackhaul: false,\r\n};\r\n\r\nexport const marketRatesReducer = createMergedReducer(initialState, [\r\n changeMargetRatesSearchFormAction.addCase((state, action) => {\r\n state.searchForm = { ...state.searchForm, ...action.data };\r\n }),\r\n setAreaExpansionLevelAction.addCase((state, action) => {\r\n state.areaExpansionLevel = action.data;\r\n }),\r\n resetDataRangeAction.addCase((state) => {\r\n state.areaExpansionLevel = initialState.areaExpansionLevel;\r\n state.timeInterval = initialState.timeInterval;\r\n }),\r\n setTimeIntervalAction.addCase((state, action) => {\r\n state.timeInterval = action.data;\r\n }),\r\n switchLocationsSearchFormAction.addCase((state) => {\r\n const newOrigin = state.searchForm?.destination;\r\n const newDestination = state.searchForm?.origin;\r\n const newOriginSuggestion = state.searchForm.destinationSuggestion;\r\n const newDestinationSuggestion = state.searchForm.originSuggestion;\r\n state.searchForm = {\r\n ...state.searchForm,\r\n origin: newOrigin,\r\n destination: newDestination,\r\n originSuggestion: newOriginSuggestion,\r\n destinationSuggestion: newDestinationSuggestion,\r\n };\r\n }),\r\n fetchBackhaulsRateCheckAction.initiateCase((state) => {\r\n state.isFetchingBackhaulsRateCheck = true;\r\n state.backhaulsRateCheck = undefined;\r\n }),\r\n fetchBackhaulsRateCheckAction.completeCase((state, action) => {\r\n state.isFetchingBackhaulsRateCheck = false;\r\n if (action.response.success) {\r\n state.backhaulsRateCheck = action.response.payload;\r\n }\r\n }),\r\n fetchPickupLoadsCountAction.initiateCase((state) => {\r\n state.isFetchingLoadsCount = true;\r\n state.loadsCount.pickupLoadsCount = undefined;\r\n }),\r\n fetchPickupLoadsCountAction.completeCase((state, action) => {\r\n state.isFetchingLoadsCount = false;\r\n if (action.response.success) {\r\n state.loadsCount.pickupLoadsCount = action.response.payload.totalResultCount;\r\n }\r\n }),\r\n fetchAnywherePickupLoadsCountAction.initiateCase((state) => {\r\n state.isFetchingLoadsCount = true;\r\n state.loadsCount.anywherePickupLoadsCount = undefined;\r\n }),\r\n fetchAnywherePickupLoadsCountAction.completeCase((state, action) => {\r\n state.isFetchingLoadsCount = false;\r\n if (action.response.success) {\r\n state.loadsCount.anywherePickupLoadsCount = action.response.payload.totalResultCount;\r\n }\r\n }),\r\n fetchAnywhereBackhaulsLoadsCountAction.initiateCase((state) => {\r\n state.isFetchingLoadsCount = true;\r\n state.loadsCount.anywhereBackhaulLoadsCount = undefined;\r\n }),\r\n fetchAnywhereBackhaulsLoadsCountAction.completeCase((state, action) => {\r\n state.isFetchingLoadsCount = false;\r\n if (action.response.success) {\r\n state.loadsCount.anywhereBackhaulLoadsCount = action.response.payload.totalResultCount;\r\n }\r\n }),\r\n fetchBackhaulsLoadsCountAction.initiateCase((state) => {\r\n state.isFetchingLoadsCount = true;\r\n state.loadsCount.backhaulLoadsCount = undefined;\r\n }),\r\n fetchBackhaulsLoadsCountAction.completeCase((state, action) => {\r\n state.isFetchingLoadsCount = false;\r\n if (action.response.success) {\r\n state.loadsCount.backhaulLoadsCount = action.response.payload.totalResultCount;\r\n }\r\n }),\r\n fetchRouteInfoAction.initiateCase((state) => {\r\n state.isFetchingRouteInfo = true;\r\n state.routeInfo = undefined;\r\n }),\r\n fetchRouteInfoAction.completeCase((state, action) => {\r\n state.isFetchingRouteInfo = false;\r\n if (action.response.success) {\r\n state.routeInfo = action.response.payload;\r\n }\r\n }),\r\n setIsAcceptancePointExpansionPanelOpenAction.addCase((state, action) => {\r\n state.isAcceptancePointExpansionPanelOpen = action.data;\r\n }),\r\n setIsCapacityFinderExpansionPanelOpenAction.addCase((state, action) => {\r\n state.isCapacityFinderExpansionPanelOpen = action.data;\r\n }),\r\n setAcceptancePointCalculatorAction.addCase((state, action) => {\r\n state.acceptancePointCalculator = { ...state.acceptancePointCalculator, ...action.data };\r\n }),\r\n fetchThirdPartyLaneRatesAction.initiateCase((state) => {\r\n state.isCargoChiefGreenscreensRateLoading = true;\r\n state.isCargoChiefRateFound = true;\r\n state.isGreenscreensRateFound = true;\r\n state.greenscreensRate = undefined;\r\n state.cargoChiefRate = undefined;\r\n }),\r\n fetchThirdPartyLaneRatesAction.completeCase((state, action) => {\r\n state.isCargoChiefGreenscreensRateLoading = false;\r\n if (action.response.success && action.response.payload) {\r\n const greenscreensRate = find(action.response.payload, { source: GREENSSCREENS_SOURCE });\r\n const cargoChiefRate = find(action.response.payload, { source: CARGO_CHIEF_SOURCE });\r\n state.greenscreensRate = greenscreensRate;\r\n state.cargoChiefRate = {\r\n allInCost: cargoChiefRate?.cost,\r\n allInCostHigh: cargoChiefRate?.costHigh,\r\n allInCostLow: cargoChiefRate?.costLow,\r\n laneMiles: cargoChiefRate?.laneMiles,\r\n };\r\n state.isCargoChiefRateFound = cargoChiefRate?.isRateFound;\r\n state.isGreenscreensRateFound = greenscreensRate?.isRateFound;\r\n } else {\r\n state.isCargoChiefRateFound = false;\r\n state.isGreenscreensRateFound = false;\r\n }\r\n }),\r\n fetchLoadToTruckRatioAction.initiateCase((state) => {\r\n state.isLoadingLoadToTruckRatio = true;\r\n }),\r\n fetchLoadToTruckRatioAction.completeCase((state, action) => {\r\n state.isLoadingLoadToTruckRatio = false;\r\n if (action.response.success) {\r\n const payload = action.response.payload.individualResponses;\r\n const originInfo = find(payload, (result) => result.state === toAddress(state.searchForm.origin)?.state);\r\n const destInfo = find(payload, (result) => result.state === toAddress(state.searchForm.destination)?.state);\r\n\r\n state.ratioAtOrigin = originInfo?.isRatioFound ? formatNumberDecimals(originInfo.ratio, 1, 1) : undefined;\r\n state.ratioAtDestination = destInfo?.isRatioFound ? formatNumberDecimals(destInfo.ratio, 1, 1) : undefined;\r\n }\r\n }),\r\n fetchExpediteAllRateAction.initiateCase((state) => {\r\n state.isLoadingExpediteAllRate = true;\r\n state.errorFetchingExpediteAllRate = undefined;\r\n }),\r\n fetchExpediteAllRateAction.completeCase((state, action) => {\r\n state.isLoadingExpediteAllRate = false;\r\n state.errorFetchingExpediteAllRate = !action.response.success;\r\n if (action.response.success) {\r\n state.expediteAllRate = action.response.payload;\r\n } else {\r\n state.expediteAllRate = undefined;\r\n }\r\n }),\r\n fetchBackhaulsExpediteAllRateAction.initiateCase((state) => {\r\n state.isLoadingExpediteAllRateBackhaul = true;\r\n }),\r\n fetchBackhaulsExpediteAllRateAction.completeCase((state, action) => {\r\n state.isLoadingExpediteAllRateBackhaul = false;\r\n if (action.response.success) {\r\n state.backhaulsExpediteAllRate = action.response.payload;\r\n } else {\r\n state.backhaulsExpediteAllRate = undefined;\r\n }\r\n }),\r\n]);\r\n\r\nexport const createMarketRatesEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const rateCheckClient = new RateCheckClient(api);\r\n const routeClient = new RouteClient(api);\r\n const loadClient = new LoadsClient(api, isLiveEnvironment);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchBackhaulsRateCheckAction.createEpic$(action$, rateCheckClient.fetchRateCheck$),\r\n fetchRouteInfoAction.createEpic$(action$, routeClient.getRouteMileage$),\r\n fetchPickupLoadsCountAction.createEpic$(action$, (searchRequest) => loadClient.fetchLoadCount$(searchRequest)),\r\n fetchAnywherePickupLoadsCountAction.createEpic$(action$, (searchRequest) =>\r\n loadClient.fetchLoadCount$(searchRequest)\r\n ),\r\n fetchBackhaulsLoadsCountAction.createEpic$(action$, (searchRequest) => loadClient.fetchLoadCount$(searchRequest)),\r\n fetchAnywhereBackhaulsLoadsCountAction.createEpic$(action$, (searchRequest) =>\r\n loadClient.fetchLoadCount$(searchRequest)\r\n ),\r\n fetchThirdPartyLaneRatesAction.createEpic$(action$, rateCheckClient.getThirdPartyLaneRates$),\r\n fetchLoadToTruckRatioAction.createEpic$(action$, rateCheckClient.getLoadToTruckRatio$),\r\n fetchExpediteAllRateAction.createEpic$(action$, rateCheckClient.getExpediteAllRate$),\r\n fetchBackhaulsExpediteAllRateAction.createEpic$(action$, rateCheckClient.getExpediteAllRate$)\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api, ApiError } from '@common/api';\r\nimport { MyCarrierPortalClient } from '@common/client/MyCarrierPortalClient';\r\nimport {\r\n MCPCarrierAssessment,\r\n MCPLinkAccount,\r\n MCPRiskAssessment,\r\n MCPVerificationResponse,\r\n SendMCPVerificationData,\r\n} from '@common/model';\r\nimport { createAction, createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface MyCarrierPortalState {\r\n dotVerification: {\r\n isLoading: boolean;\r\n isError: boolean;\r\n verificationAlreadyInitiated: boolean;\r\n instructionsSent: boolean;\r\n emailSentDate?: string;\r\n };\r\n onboarding: {\r\n isSendingRequest: boolean;\r\n onboardingError?: ApiError;\r\n isOnboarded: boolean;\r\n isOnboardingRequestSent: boolean;\r\n };\r\n linking: {\r\n isSendingRequest: boolean;\r\n linkError?: ApiError;\r\n isBrokerAccountLinkedToMcp?: boolean;\r\n };\r\n isLoadingRiskAssessment: boolean;\r\n carrierRiskAssessment?: MCPRiskAssessment;\r\n}\r\n\r\nconst sendMcpDotVerificationAction = createApiAction(\r\n 'SEND_MCP_DOT_VERIFICATION_REQUEST'\r\n);\r\nconst sendOnboardingRequestAction = createApiAction('SEND_ONBOARDING_REQUEST');\r\nconst linkMcpAccountAction = createApiAction('LINK_MCP_ACCOUNT_REQUEST');\r\nconst fetchCarrierRiskAssessmentAction = createApiAction('GET_CARRIER_RISK_ASSESSMENT');\r\nconst resetMCPApiErrorAction = createAction('RESET_MCP_API_ERROR');\r\n\r\nexport const resetMCPApiError = () => resetMCPApiErrorAction.action(undefined);\r\nexport const sendOnboardingRequest = (contactGuid: string) => sendOnboardingRequestAction.fetchAction(contactGuid);\r\nexport const linkMcpAccount = (params: MCPLinkAccount) => linkMcpAccountAction.fetchAction(params);\r\nexport const getCarrierRiskAssessment = (contactGuid: string) =>\r\n fetchCarrierRiskAssessmentAction.fetchAction(contactGuid);\r\nexport const sendMcpDotVerification = (params: SendMCPVerificationData) =>\r\n sendMcpDotVerificationAction.fetchAction(params);\r\n\r\nconst initialState: MyCarrierPortalState = {\r\n dotVerification: {\r\n isLoading: false,\r\n isError: false,\r\n verificationAlreadyInitiated: false,\r\n instructionsSent: false,\r\n emailSentDate: undefined,\r\n },\r\n onboarding: {\r\n isSendingRequest: false,\r\n isOnboarded: false,\r\n isOnboardingRequestSent: false,\r\n },\r\n linking: {\r\n isSendingRequest: false,\r\n },\r\n isLoadingRiskAssessment: false,\r\n carrierRiskAssessment: undefined,\r\n};\r\n\r\nexport const myCarrierPortalReducer = createMergedReducer(initialState, [\r\n resetMCPApiErrorAction.addCase((state) => {\r\n state.onboarding.onboardingError = undefined;\r\n state.linking.linkError = undefined;\r\n }),\r\n\r\n sendMcpDotVerificationAction.initiateCase((state) => {\r\n state.dotVerification.isLoading = true;\r\n state.dotVerification.isError = false;\r\n }),\r\n sendMcpDotVerificationAction.completeCase((state, action) => {\r\n if (action.response.success && action.response.payload) {\r\n state.dotVerification.verificationAlreadyInitiated = action.response.payload.verificationAlreadyInitiated;\r\n state.dotVerification.instructionsSent = action.response.payload.instructionsSent;\r\n state.dotVerification.emailSentDate = action.response.payload.emailSentDate;\r\n }\r\n state.dotVerification.isError = !action.response.success;\r\n state.dotVerification.isLoading = false;\r\n }),\r\n\r\n sendOnboardingRequestAction.initiateCase((state) => {\r\n state.onboarding.isSendingRequest = true;\r\n state.onboarding.onboardingError = undefined;\r\n }),\r\n sendOnboardingRequestAction.completeCase((state, action) => {\r\n state.onboarding.isSendingRequest = false;\r\n if (action.response.success) {\r\n state.onboarding.isOnboardingRequestSent = true;\r\n } else {\r\n state.onboarding.onboardingError = action.response.error;\r\n }\r\n }),\r\n\r\n linkMcpAccountAction.initiateCase((state) => {\r\n state.linking.isSendingRequest = true;\r\n state.linking.linkError = undefined;\r\n }),\r\n linkMcpAccountAction.completeCase((state, action) => {\r\n state.linking.isSendingRequest = false;\r\n if (action.response.success) {\r\n state.linking.isBrokerAccountLinkedToMcp = true;\r\n } else {\r\n state.linking.linkError = action.response.error;\r\n }\r\n }),\r\n\r\n fetchCarrierRiskAssessmentAction.initiateCase((state) => {\r\n state.isLoadingRiskAssessment = true;\r\n state.onboarding.onboardingError = undefined;\r\n state.linking.linkError = undefined;\r\n state.linking.isBrokerAccountLinkedToMcp = initialState.linking.isBrokerAccountLinkedToMcp;\r\n state.onboarding.isOnboardingRequestSent = initialState.onboarding.isOnboardingRequestSent;\r\n state.onboarding.isOnboarded = initialState.onboarding.isOnboarded;\r\n state.carrierRiskAssessment = initialState.carrierRiskAssessment;\r\n }),\r\n fetchCarrierRiskAssessmentAction.completeCase((state, action) => {\r\n state.isLoadingRiskAssessment = false;\r\n if (action.response.success) {\r\n state.linking.isBrokerAccountLinkedToMcp = action.response.payload.isBrokerAccountLinkedToMcp;\r\n state.onboarding.isOnboardingRequestSent = action.response.payload.isOnboardingRequestSent;\r\n state.onboarding.isOnboarded = action.response.payload.isCarrierOnboarded;\r\n state.carrierRiskAssessment = action.response.payload.riskAssessment;\r\n }\r\n }),\r\n]);\r\n\r\nexport const createMyCarrierPortalEpic = (api: Api) => {\r\n const client = new MyCarrierPortalClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n sendMcpDotVerificationAction.createEpic$(action$, client.sendMcpDotVerification$),\r\n sendOnboardingRequestAction.createEpic$(action$, client.sendOnboardingRequest$),\r\n linkMcpAccountAction.createEpic$(action$, client.linkMcpAccount$),\r\n fetchCarrierRiskAssessmentAction.createEpic$(action$, client.getCarrierRiskAssessment$)\r\n );\r\n};\r\n","import { filter, findIndex, forEach, map, reduce, some } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { forkJoin as forkJoin$, merge as merge$, of as of$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { LoadsClient } from '@common/client';\r\nimport { MyLoadsClient } from '@common/client/MyLoadsClient';\r\nimport {\r\n addFetchedTime,\r\n compareIds,\r\n treatZeroAsUndefined,\r\n UpdateCategory,\r\n UpdateLoadAction,\r\n updateLoadActionCreator,\r\n updateLoadsList,\r\n} from '@common/helper';\r\nimport {\r\n Filter,\r\n filterToPropertyKey,\r\n MYLOADS_FILTERS_LIST,\r\n myLoadsRequestFromFilter,\r\n} from '@common/helper/MyLoadsHelper';\r\nimport {\r\n DEFAULT_LOAD_SEARCH_RADIUS,\r\n Geolocation,\r\n GeolocationGroup,\r\n Load,\r\n LoadProgress,\r\n Loads,\r\n LoadSearchGeoResponse,\r\n MapBounds,\r\n RateCheckPreviewStatus,\r\n} from '@common/model';\r\nimport {\r\n createDefaultMyLoadsRequest,\r\n MY_LOADS_REQUEST_LIMIT_APPENDING,\r\n MY_LOADS_REQUEST_LIMIT_DEFAULT,\r\n MY_LOADS_REQUEST_OFFSET_INCREMENT,\r\n MyLoadsRequest,\r\n} from '@common/model/MyLoadsRequest';\r\nimport {\r\n ApiAction,\r\n createApiAction,\r\n createResponseAction,\r\n EmptyResponse,\r\n ResponseAction,\r\n responseActionHandler,\r\n} from '@common/redux/Base';\r\nimport { createPaginatedListReducer, PaginatedListState } from '@common/redux/epic/PaginatedListReducer';\r\nimport {\r\n FetchRateCheckPreviewAction,\r\n processRateCheckPreviewResponse,\r\n RateCheckPreviewResponseAction,\r\n} from '@common/redux/epic/rateCheck/RateCheckPreviewHelper';\r\nimport {\r\n getSettingsFromStateObservable,\r\n isRateCheckPreviewEnabled,\r\n SettingsState,\r\n} from '@common/redux/epic/SettingsStateHelper';\r\n\r\nimport { createReducer } from '../ReduxHelper';\r\nimport { simpleApiEpicToAction } from './EpicHelper';\r\n\r\nexport const MY_LOADS_REDUCER_KEY = 'myLoads';\r\n\r\nconst MY_LOADS_UPDATE_LOAD = 'MY_LOADS_UPDATE_LOAD';\r\nconst FETCH_SAVED_LOADS_COUNT = 'FETCH_SAVED_LOADS_COUNT';\r\nconst SAVED_LOADS_COUNT_FETCHED = 'SAVED_LOADS_COUNT_FETCHED';\r\nconst CLEAR_MY_LOADS = 'CLEAR_MY_LOADS';\r\nconst FETCH_MY_LOADS_TOTAL_COUNTS = 'FETCH_MY_LOADS_TOTAL_COUNTS';\r\nconst MY_LOADS_TOTAL_COUNTS_FETCHED = 'MY_LOADS_TOTAL_COUNTS_FETCHED';\r\nconst MY_LOADS_FETCH_RATECHECK_PREVIEW = 'MY_LOADS_FETCH_RATECHECK_PREVIEW';\r\nconst MY_LOADS_RATECHECK_PREVIEW_FETCHED = 'MY_LOADS_RATECHECK_PREVIEW_FETCHED';\r\n\r\ntype FetchWorkingLoadsAction = ApiAction;\r\n\r\nexport interface TotalCountState {\r\n viewed: number | undefined;\r\n saved: number | undefined;\r\n called: number | undefined;\r\n contacted: number | undefined;\r\n booked: number | undefined;\r\n scheduledForPickup: number | undefined;\r\n pickupComplete: number | undefined;\r\n loadEnRoute: number | undefined;\r\n delivered: number | undefined;\r\n hidden: number | undefined;\r\n}\r\n\r\ninterface UnableToClearLoads {\r\n hidden: boolean | undefined;\r\n saved: boolean | undefined;\r\n}\r\n\r\ninterface GeoSearch {\r\n pins: GeolocationGroup[];\r\n center?: Geolocation;\r\n radius?: number;\r\n latLongBounds?: MapBounds;\r\n isLoadingPins: boolean;\r\n lastMapSearchID?: string;\r\n}\r\n\r\nexport interface MyLoadsState extends PaginatedListState {\r\n savedLoadsCount: number;\r\n isLoadingTotalCount: boolean;\r\n totalCount: TotalCountState;\r\n unableToClearLoads: UnableToClearLoads;\r\n isLoadingWorkingLoads: boolean;\r\n workingLoad: Load | undefined;\r\n wasUnhideMyLoadsSuccessful: boolean;\r\n isLoadUnhided: boolean;\r\n geoSearch: GeoSearch;\r\n}\r\n\r\ninterface FetchMyLoadsTotalCountAction extends Action {\r\n filters: Filter[];\r\n}\r\n\r\ninterface FetchMyLoadsTotalCountResponse extends Action {\r\n responses: ApiResponse123[];\r\n filters: Filter[];\r\n}\r\n\r\ninterface MyLoadsStoreState {\r\n [MY_LOADS_REDUCER_KEY]: MyLoadsState;\r\n}\r\n\r\ntype MyLoadsStateObservable = StateObservable<{\r\n [reducerKey: string]: MyLoadsState | SettingsState;\r\n}>;\r\n\r\nconst getMyLoadsState = (stateObservable: MyLoadsStateObservable) =>\r\n stateObservable.value[MY_LOADS_REDUCER_KEY] as MyLoadsState;\r\n\r\nconst myLoadsPaginationReducer = createPaginatedListReducer<\r\n Load,\r\n MyLoadsRequest,\r\n Loads,\r\n MyLoadsStoreState,\r\n MyLoadsState\r\n>({\r\n reducerKey: MY_LOADS_REDUCER_KEY,\r\n requestConstants: {\r\n limit: {\r\n default: MY_LOADS_REQUEST_LIMIT_DEFAULT,\r\n appending: MY_LOADS_REQUEST_LIMIT_APPENDING,\r\n },\r\n offsetIncrement: MY_LOADS_REQUEST_OFFSET_INCREMENT,\r\n },\r\n getEntriesFromResponse: (response) => response.loads,\r\n areEntriesEqual: compareIds,\r\n transformFetchedEntries: addFetchedTime,\r\n});\r\n\r\nconst initialState: MyLoadsState = {\r\n fetchRequest: createDefaultMyLoadsRequest(),\r\n isLoading: false,\r\n isLoadingWorkingLoads: false,\r\n workingLoad: undefined,\r\n didLoadingFail: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n isLastResult: false,\r\n savedLoadsCount: 0,\r\n isLoadingTotalCount: false,\r\n geoSearch: {\r\n isLoadingPins: false,\r\n pins: [],\r\n },\r\n unableToClearLoads: {\r\n saved: undefined,\r\n hidden: undefined,\r\n },\r\n totalCount: {\r\n viewed: undefined,\r\n saved: undefined,\r\n called: undefined,\r\n contacted: undefined,\r\n booked: undefined,\r\n scheduledForPickup: undefined,\r\n pickupComplete: undefined,\r\n loadEnRoute: undefined,\r\n delivered: undefined,\r\n hidden: undefined,\r\n },\r\n wasUnhideMyLoadsSuccessful: false,\r\n isLoadUnhided: false,\r\n};\r\n\r\nexport const fetchMyLoads = myLoadsPaginationReducer.actions.fetchEntries;\r\nexport const fetchMoreMyLoads = myLoadsPaginationReducer.actions.fetchMoreEntries;\r\n\r\nexport const fetchSavedLoadsCount = (): Action => ({\r\n type: FETCH_SAVED_LOADS_COUNT,\r\n});\r\n\r\nexport const updateMyLoads = updateLoadActionCreator(MY_LOADS_UPDATE_LOAD);\r\n\r\nexport const clearMyLoads = (): Action => ({ type: CLEAR_MY_LOADS });\r\n\r\nexport const fetchSavedLoadsCountResponse = createResponseAction(SAVED_LOADS_COUNT_FETCHED);\r\n\r\nexport const fetchMyLoadsTotalCount = (filters: Filter[]) => ({ type: FETCH_MY_LOADS_TOTAL_COUNTS, filters: filters });\r\n\r\nconst unsaveMyLoadsAction = createApiAction('PATCH_LOADS_USERDATA');\r\nconst fetchWorkingLoadAction = createApiAction('FETCH_WORKING_LOAD');\r\nconst fetchMyGeoLoadsAction = createApiAction('FETCH_MY_GEO_LOADS');\r\nexport const unsaveMyLoads = () => unsaveMyLoadsAction.fetchAction(undefined);\r\nexport const fetchWorkingLoads = (request: MyLoadsRequest) => fetchWorkingLoadAction.fetchAction(request);\r\nexport const fetchMyGeoLoads = (request: MyLoadsRequest) => fetchMyGeoLoadsAction.fetchAction(request);\r\nconst unhideMyLoadsAction = createApiAction('UNHIDE_MY_LOADS');\r\nexport const unhideMyLoads = () => unhideMyLoadsAction.fetchAction(undefined);\r\nconst unhideMyLoadAction = createApiAction('UNHIDE_MY_LOAD');\r\nexport const unhideMyLoad = (loadID: string) => unhideMyLoadAction.fetchAction(loadID);\r\n\r\nconst fetchMyLoadsTotalCountResponse = (\r\n responses: ApiResponse123[],\r\n filters: Filter[]\r\n): FetchMyLoadsTotalCountResponse => ({\r\n type: MY_LOADS_TOTAL_COUNTS_FETCHED,\r\n responses: responses,\r\n filters: filters,\r\n});\r\n\r\nexport const myLoadsReducer = createReducer(\r\n initialState,\r\n {\r\n [MY_LOADS_UPDATE_LOAD]: (state: MyLoadsState, action: UpdateLoadAction) => {\r\n let updatedSavedLoadsCount = state.savedLoadsCount;\r\n if (action.update.category === UpdateCategory.SAVED) {\r\n updatedSavedLoadsCount = action.update.isSaved ? updatedSavedLoadsCount + 1 : updatedSavedLoadsCount - 1;\r\n }\r\n let newState: MyLoadsState = {\r\n ...state,\r\n savedLoadsCount: updatedSavedLoadsCount,\r\n };\r\n if (state.entries) {\r\n newState = {\r\n ...newState,\r\n entries: updateLoadsList(state.entries, action.update),\r\n fetchRequest: {\r\n ...newState.fetchRequest,\r\n offset: getNewOffset(state, action),\r\n },\r\n };\r\n }\r\n return newState;\r\n },\r\n [SAVED_LOADS_COUNT_FETCHED]: (state: MyLoadsState, action: ResponseAction) => {\r\n const response = action.response;\r\n if (response.payload && response.payload.metadata.totalResultCount !== undefined) {\r\n return { ...state, savedLoadsCount: response.payload.metadata.totalResultCount };\r\n }\r\n return state;\r\n },\r\n [CLEAR_MY_LOADS]: (state: MyLoadsState) => {\r\n return {\r\n ...state,\r\n fetchRequest: createDefaultMyLoadsRequest(),\r\n entries: [],\r\n isLoading: false,\r\n didLoadingFail: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n isLastResult: false,\r\n };\r\n },\r\n [FETCH_MY_LOADS_TOTAL_COUNTS]: (state: MyLoadsState) => {\r\n return { ...state, isLoadingTotalCount: true };\r\n },\r\n [MY_LOADS_TOTAL_COUNTS_FETCHED]: (state: MyLoadsState, action: FetchMyLoadsTotalCountResponse) => {\r\n if (some(action.responses, (response) => !response.success)) {\r\n return { ...state, isLoadingTotalCount: false };\r\n }\r\n const totalCountState = reduce(\r\n action.responses,\r\n (countState, response: ApiResponseSuccess, index) => ({\r\n ...countState,\r\n ...responseToTotalCountState(response, action.filters[index]),\r\n }),\r\n state.totalCount\r\n );\r\n return { ...state, isLoadingTotalCount: false, totalCount: totalCountState };\r\n },\r\n [unsaveMyLoadsAction.fetchType]: (state: MyLoadsState) => {\r\n return {\r\n ...state,\r\n isLoading: true,\r\n unableToClearLoads: { ...state.unableToClearLoads, [Filter.Saved]: false },\r\n };\r\n },\r\n [unsaveMyLoadsAction.responseType]: (state: MyLoadsState, action: ResponseAction) => {\r\n return {\r\n ...state,\r\n isLoading: false,\r\n unableToClearLoads: { ...state.unableToClearLoads, [Filter.Saved]: !action.response.success },\r\n };\r\n },\r\n [fetchWorkingLoadAction.fetchType]: (state: MyLoadsState) => {\r\n return {\r\n ...state,\r\n isLoadingWorkingLoads: true,\r\n };\r\n },\r\n [fetchWorkingLoadAction.responseType]: (state: MyLoadsState, action: ResponseAction) => {\r\n return {\r\n ...state,\r\n isLoadingWorkingLoads: false,\r\n workingLoad: action.response.payload?.loads[0],\r\n };\r\n },\r\n [unhideMyLoadsAction.fetchType]: (state: MyLoadsState) => {\r\n return {\r\n ...state,\r\n unableToClearLoads: { ...state.unableToClearLoads, [Filter.Hidden]: false },\r\n isLoading: true,\r\n wasUnhideMyLoadsSuccessful: false,\r\n };\r\n },\r\n [unhideMyLoadsAction.responseType]: (state: MyLoadsState, action: ResponseAction) => {\r\n return {\r\n ...state,\r\n unableToClearLoads: { ...state.unableToClearLoads, [Filter.Hidden]: !action.response.success },\r\n isLoading: false,\r\n wasUnhideMyLoadsSuccessful: action.response.success,\r\n };\r\n },\r\n [unhideMyLoadAction.fetchType]: (state: MyLoadsState) => {\r\n return {\r\n ...state,\r\n isLoadUnhided: false,\r\n };\r\n },\r\n [unhideMyLoadAction.responseType]: (state: MyLoadsState, action: ResponseAction) => {\r\n return {\r\n ...state,\r\n isLoadUnhided: action.response.success,\r\n };\r\n },\r\n [fetchMyGeoLoadsAction.fetchType]: (state: MyLoadsState) => {\r\n return {\r\n ...state,\r\n geoSearch: {\r\n ...state.geoSearch,\r\n isLoadingPins: true,\r\n radius: state.geoSearch.radius ?? DEFAULT_LOAD_SEARCH_RADIUS,\r\n },\r\n };\r\n },\r\n [fetchMyGeoLoadsAction.responseType]: (state: MyLoadsState, action: ResponseAction) => {\r\n if (action.response.success && action.response.payload) {\r\n const { id, groups, metadata } = action.response.payload;\r\n return {\r\n ...state,\r\n geoSearch: {\r\n ...state.geoSearch,\r\n pins: groups,\r\n lastMapSearchID: id,\r\n center: metadata.center,\r\n radius: getRadius(metadata.radius, metadata.requestParams?.origin.radius, state),\r\n latLongBounds: metadata.latLongBounds,\r\n isLoadingPins: false,\r\n },\r\n };\r\n }\r\n return {\r\n ...state,\r\n geoSearch: {\r\n ...state.geoSearch,\r\n isLoadingPins: false,\r\n },\r\n };\r\n },\r\n [MY_LOADS_FETCH_RATECHECK_PREVIEW]: (state: MyLoadsState, action: FetchRateCheckPreviewAction) => {\r\n const loadidsSet = new Set(action.loadIds);\r\n map(state.entries, (load: Load) => {\r\n if (loadidsSet.has(load.id)) load.rateCheckPreview = { status: RateCheckPreviewStatus.Loading };\r\n });\r\n },\r\n [MY_LOADS_RATECHECK_PREVIEW_FETCHED]: (state: MyLoadsState, action: RateCheckPreviewResponseAction) => {\r\n const fetchData = action.fetchData as FetchRateCheckPreviewAction;\r\n if (action.response.success && action.response.payload) {\r\n const payload = action.response.payload;\r\n forEach(state.entries, (load: Load) => {\r\n processRateCheckPreviewResponse(load, payload);\r\n });\r\n } else {\r\n const loadidsSet = new Set(fetchData.loadIds);\r\n forEach(state.entries, (load: Load) => {\r\n if (loadidsSet.has(load.id)) load.rateCheckPreview = { status: RateCheckPreviewStatus.Error };\r\n });\r\n }\r\n },\r\n },\r\n myLoadsPaginationReducer.reducer\r\n);\r\n\r\nconst getNewOffset = (state: MyLoadsState, action: UpdateLoadAction) => {\r\n const loadID =\r\n action.update.category !== UpdateCategory.BLOCKED &&\r\n action.update.category !== UpdateCategory.FAVORITE &&\r\n action.update.category !== UpdateCategory.ONBOARDED\r\n ? action.update.loadID\r\n : undefined;\r\n const index = findIndex(state.entries, (load: Load) => load.id === loadID);\r\n let offset = state.fetchRequest.offset;\r\n\r\n if (index === -1) {\r\n return offset;\r\n }\r\n if (action.update.category === UpdateCategory.SAVED && state.fetchRequest.isSaved) {\r\n // case: user is viewing a load from Saved Loads ---\r\n // if the user unsaves the load, we have to adjust the offset accordingly so that we\r\n // do not 'skip' loads on subsequent pagination requests. since the user may un-save\r\n // and re-save a load when viewing from load details, we account for both cases.\r\n //\r\n // note also that the updateLoadsList function above does not remove un-saved loads\r\n // from the list - it just marks them as 'unsaved' so that the view does not\r\n // render them. this way, if the user decides to re-save the load while viewing it,\r\n // we still have all the load details stored in the myloads list.\r\n offset += action.update.isSaved ? 1 : -1;\r\n } else if (action.update.category === UpdateCategory.PROGRESS && state.fetchRequest.isBooked) {\r\n // case: user is viewing a load from Booked Loads ---\r\n // same logic as for Saved Loads above.\r\n if (action.update.progress === LoadProgress.LoadAvailable) {\r\n offset -= 1;\r\n }\r\n if (action.update.progress === LoadProgress.Booked) {\r\n offset += 1;\r\n }\r\n } else if (action.update.category === UpdateCategory.HIDDEN) {\r\n offset -= 1;\r\n }\r\n return offset;\r\n};\r\n\r\nconst responseToTotalCountState = (response: ApiResponseSuccess, filter: Filter) => {\r\n const totalResultCount = response.data?.metadata.totalResultCount;\r\n return { [filterToPropertyKey(filter)]: totalResultCount };\r\n};\r\n\r\nconst fetchSavedLoadsCount$ = (action$: ActionsObservable, client: MyLoadsClient) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_SAVED_LOADS_COUNT,\r\n () => {\r\n const request = createDefaultMyLoadsRequest();\r\n request.isSaved = true;\r\n request.fields = 'metadata{totalResultCount}';\r\n return client.fetchMyLoads$(request);\r\n },\r\n fetchSavedLoadsCountResponse\r\n );\r\n\r\nconst fetchMyLoadsTotalCount$ = (action$: ActionsObservable, client: MyLoadsClient) =>\r\n action$.ofType(FETCH_MY_LOADS_TOTAL_COUNTS).pipe(\r\n mergeMap$((action: FetchMyLoadsTotalCountAction) =>\r\n forkJoin$(\r\n map(action.filters, (filter) => {\r\n const totalCountRequest = myLoadsRequestFromFilter(filter);\r\n totalCountRequest.fields = 'metadata';\r\n return client.fetchMyLoads$(totalCountRequest);\r\n })\r\n ).pipe(map$((responses) => fetchMyLoadsTotalCountResponse(responses, action.filters)))\r\n )\r\n );\r\n\r\nconst unsaveMyLoads$ = (action$: ActionsObservable, client: MyLoadsClient) =>\r\n merge$(\r\n unsaveMyLoadsAction.createEpic$(action$, () =>\r\n client.patchLoadsUserdata$({\r\n searchQuery: { isSaved: true },\r\n patchDocument: { isSaved: false },\r\n excludeIds: [],\r\n })\r\n ),\r\n action$.ofType(unsaveMyLoadsAction.responseType).pipe(\r\n map$((action: ResponseAction<{}>) => {\r\n if (action.response.success) {\r\n return fetchMyLoadsTotalCount([Filter.Saved]);\r\n }\r\n return of$();\r\n })\r\n )\r\n );\r\nconst unhideMyLoads$ = (action$: ActionsObservable, client: MyLoadsClient) =>\r\n merge$(\r\n unhideMyLoadsAction.createEpic$(action$, () =>\r\n client.patchLoadsUserdata$({\r\n searchQuery: { isHidden: true },\r\n patchDocument: { isHidden: false },\r\n excludeIds: [],\r\n })\r\n ),\r\n action$.ofType(unhideMyLoadsAction.responseType).pipe(\r\n map$((action: ResponseAction<{}>) => {\r\n if (action.response.success) {\r\n return fetchMyLoadsTotalCount(MYLOADS_FILTERS_LIST);\r\n }\r\n return of$();\r\n })\r\n )\r\n );\r\nconst unhideMyLoad$ = (action$: ActionsObservable, client: LoadsClient) =>\r\n merge$(\r\n unhideMyLoadAction.createEpic$(action$, (data) => client.setHiddenLoad$(data, undefined, false)),\r\n action$.ofType(unhideMyLoadAction.responseType).pipe(\r\n map$((action: ResponseAction<{}>) => {\r\n if (action.response.success) {\r\n return fetchMyLoadsTotalCount(MYLOADS_FILTERS_LIST);\r\n }\r\n return of$();\r\n })\r\n )\r\n );\r\n\r\nconst fetchWorkingLoads$ = (action$: ActionsObservable, client: MyLoadsClient) =>\r\n action$\r\n .ofType(fetchWorkingLoadAction.fetchType)\r\n .pipe(\r\n mergeMap$((action: FetchWorkingLoadsAction) =>\r\n client.fetchMyLoads$(action.data).pipe(map$(fetchWorkingLoadAction.responseAction))\r\n )\r\n );\r\n\r\nconst rateCheckPreviewEpic$ = (\r\n action$: ActionsObservable,\r\n state$: MyLoadsStateObservable,\r\n loadsClient: LoadsClient\r\n) =>\r\n merge$(\r\n action$.ofType(myLoadsPaginationReducer.actionTypes.ENTRIES_FETCHED).pipe(\r\n mergeMap$(() => {\r\n if (!isRateCheckPreviewEnabled(getSettingsFromStateObservable(state$))) {\r\n return of$();\r\n }\r\n\r\n const storeState = getMyLoadsState(state$);\r\n\r\n const loadids = map(\r\n filter(storeState.entries, (load) => !load.rateCheckPreview),\r\n (load) => load.id\r\n );\r\n\r\n if (loadids.length === 0) {\r\n return of$();\r\n }\r\n\r\n return of$({\r\n type: MY_LOADS_FETCH_RATECHECK_PREVIEW,\r\n loadIds: loadids,\r\n } as FetchRateCheckPreviewAction);\r\n })\r\n ),\r\n\r\n action$.ofType(MY_LOADS_FETCH_RATECHECK_PREVIEW).pipe(\r\n mergeMap$((action: FetchRateCheckPreviewAction) => {\r\n return loadsClient.fetchLoadRateCheckPreviews$(action.loadIds, undefined).pipe(\r\n map$((response) => ({\r\n ...responseActionHandler(MY_LOADS_RATECHECK_PREVIEW_FETCHED, response),\r\n fetchData: action,\r\n }))\r\n );\r\n })\r\n )\r\n );\r\n\r\nexport const createMyLoadsEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const myLoadsClient = new MyLoadsClient(api);\r\n const loadsClient = new LoadsClient(api, isLiveEnvironment);\r\n\r\n return (action$: ActionsObservable, state$: MyLoadsStateObservable) =>\r\n merge$(\r\n myLoadsPaginationReducer.createMergedEpic$(\r\n myLoadsClient.fetchMyLoads$,\r\n action$,\r\n // Complex downcast not working\r\n state$ as unknown as StateObservable\r\n ),\r\n fetchMyGeoLoadsAction.createEpic$(action$, (data) => myLoadsClient.fetchMyGeoLoads$(data)),\r\n fetchSavedLoadsCount$(action$, myLoadsClient),\r\n fetchMyLoadsTotalCount$(action$, myLoadsClient),\r\n unsaveMyLoads$(action$, myLoadsClient),\r\n fetchWorkingLoads$(action$, myLoadsClient),\r\n unhideMyLoads$(action$, myLoadsClient),\r\n unhideMyLoad$(action$, loadsClient),\r\n rateCheckPreviewEpic$(action$, state$, loadsClient)\r\n );\r\n};\r\n\r\nconst getRadius = (\r\n requestMetadataRadius: number | undefined,\r\n originRadius: number | undefined,\r\n state: MyLoadsState\r\n) => {\r\n return treatZeroAsUndefined(requestMetadataRadius) ?? treatZeroAsUndefined(originRadius) ?? state.geoSearch.radius;\r\n};\r\n","import { cloneDeep, concat, isEqual, toUpper, uniqWith } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { iif as if$, merge as merge$, Observable, of as of$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { ApiResponse123 } from '@common/api';\r\nimport { BaseState, createResponseAction, ResponseAction } from '@common/redux/Base';\r\n\r\nexport const defaultRequestConstants: Readonly = {\r\n limit: {\r\n default: 20,\r\n appending: 10,\r\n },\r\n offsetIncrement: 10,\r\n};\r\ninterface FetchEntriesAction extends Action {\r\n request?: Request;\r\n}\r\n\r\ninterface FetchRequestConstants {\r\n limit: {\r\n default: number;\r\n appending: number;\r\n };\r\n offsetIncrement: number;\r\n}\r\n\r\nexport interface PaginatedRequest {\r\n offset: number;\r\n limit: number;\r\n fields?: string;\r\n}\r\n\r\nexport interface PaginatedListState extends BaseState {\r\n fetchRequest: FetchRequest;\r\n // entries undefined: no request ever sent or error (see didLoadingFail)\r\n // entries empty: user has no entries\r\n entries?: Entry[];\r\n didLoadingFail: boolean;\r\n isLoadingMore: boolean;\r\n isRefreshing: boolean;\r\n isLastResult: boolean;\r\n}\r\n\r\ninterface PaginatedListReducerConfig<\r\n Entry,\r\n FetchRequest extends { limit: number; offset: number },\r\n FetchResponse,\r\n StoreState,\r\n> {\r\n reducerKey: string;\r\n getPaginatedListStateFromStoreState?: (store: StoreState) => PaginatedListState;\r\n requestConstants?: FetchRequestConstants;\r\n getEntriesFromResponse: (response: FetchResponse) => Entry[];\r\n areEntriesEqual: (entry1: Entry, entry2: Entry) => boolean;\r\n transformFetchedEntries?: (entries: Entry[]) => Entry[];\r\n defaultEntries?: Entry[];\r\n}\r\n/**\r\n *\r\n * Creates a reducer that can be used with the react-native flatlist or PaginatedListView to give the infinite scrolling effect\r\n *\r\n * @param config.reducerKey Key used to prefix action names\r\n *\r\n * @param config.getPaginatedListStateFromStoreState Retrieves the PaginatedListState from the broader store state. If your redux state is structured like:\r\n * reduxState: {\r\n * ...\r\n * storeStateForEpicYoureWorkingOn: {\r\n * ...some stuff...\r\n * storeOfPaginatedList: PaginatedListState<...>\r\n * }\r\n * }\r\n * your function would tell PaginatedListReducer how to retrieve storeOfPaginatedList from the broader store state.\r\n * yourReduxState.storeStateForEpicYoureWorkingOn.storeOfPaginatedList\r\n *\r\n * @param config.requestConstants Pagination constants\r\n *\r\n * @param config.getEntriesFromResponse function to retrieve the actual array of results from the response returned by the server\r\n * so if you expect a response object like:\r\n * {\r\n * fancyMetadataString: string;\r\n * results: Entry[];\r\n * someOtherObject: ...;\r\n * }\r\n * from the server, this function would just take in an object of type FetchResponse and return\r\n * response.results\r\n *\r\n * @param config.areEntriesEqual Determines whether two Entries are equivalent or not\r\n *\r\n * @param config.transformFetchedEntries Optional - transformation to apply to Entries returned from the server, for instance if you\r\n * want to add a 'time fetched' to each entry\r\n *\r\n * @param config.defaultEntries Optional - The default value when fetching new entries\r\n */\r\n//@FIXME: Complexity in this function is near the limit, so abstract it if any more work needs to be done here.\r\nexport const createPaginatedListReducer = <\r\n Entry,\r\n FetchRequest extends { limit: number; offset: number },\r\n FetchResponse,\r\n StoreState,\r\n ReducerState extends PaginatedListState,\r\n>({\r\n reducerKey,\r\n getPaginatedListStateFromStoreState = (store) => (store as any)[reducerKey],\r\n requestConstants = defaultRequestConstants,\r\n getEntriesFromResponse,\r\n areEntriesEqual,\r\n transformFetchedEntries,\r\n defaultEntries,\r\n}: PaginatedListReducerConfig) => {\r\n const actionKey = createActionKey(reducerKey);\r\n // Actions\r\n const actionTypes = {\r\n FETCH_ENTRIES: `${actionKey}FETCH_ENTRIES`,\r\n FETCH_MORE_ENTRIES: `${actionKey}FETCH_MORE_ENTRIES`,\r\n ENTRIES_FETCHED: createEntriesFetchedActionType(actionKey),\r\n LAST_RESULT_REACHED: `${actionKey}LAST_RESULT_REACHED`,\r\n };\r\n const actions = {\r\n fetchEntries: (request?: FetchRequest): FetchEntriesAction => ({\r\n type: actionTypes.FETCH_ENTRIES,\r\n request: request,\r\n }),\r\n fetchMoreEntries: (): Action => ({\r\n type: actionTypes.FETCH_MORE_ENTRIES,\r\n }),\r\n fetchEntriesResponse: createResponseAction(actionTypes.ENTRIES_FETCHED),\r\n };\r\n\r\n // Reducer\r\n const paginatedListReducer = (state: ReducerState, action: Action): ReducerState => {\r\n switch (action.type) {\r\n case actionTypes.FETCH_ENTRIES: {\r\n const request = (action as FetchEntriesAction).request;\r\n const isRefreshing = !request;\r\n return {\r\n ...state,\r\n isLoading: true,\r\n isRefreshing: isRefreshing,\r\n didLoadingFail: false,\r\n isLastResult: false,\r\n entries: isRefreshing ? state.entries : defaultEntries, // keep old results if refreshing.\r\n fetchRequest: request ?? { ...state.fetchRequest, limit: requestConstants.limit.default, offset: 0 },\r\n };\r\n }\r\n case actionTypes.FETCH_MORE_ENTRIES: {\r\n return {\r\n ...state,\r\n isLoadingMore: true,\r\n };\r\n }\r\n case actionTypes.ENTRIES_FETCHED: {\r\n const responseAction = action as ResponseAction;\r\n const response = responseAction.response;\r\n if (!isEqual(responseAction?.fetchData, state.fetchRequest)) {\r\n return state;\r\n }\r\n // treat 204 as success - MOB-6102\r\n if (response.error && response.error.httpStatus === 204) {\r\n return {\r\n ...state,\r\n isLoading: false,\r\n isRefreshing: false,\r\n isLoadingMore: false,\r\n entries: state.entries ?? [],\r\n didLoadingFail: false,\r\n isLastResult: true,\r\n };\r\n }\r\n if (!response.success || !response.payload) {\r\n return {\r\n ...state,\r\n isLoading: false,\r\n // if this is a fetch from nothing, mark that it failed so we can\r\n // display an error screen.\r\n didLoadingFail: !state.entries,\r\n isRefreshing: false,\r\n isLoadingMore: false,\r\n };\r\n }\r\n let receivedEntries = getEntriesFromResponse(response.payload);\r\n if (transformFetchedEntries) {\r\n receivedEntries = transformFetchedEntries(receivedEntries);\r\n }\r\n const newEntries = state.isRefreshing\r\n ? receivedEntries\r\n : uniqWith(concat(state.entries || [], receivedEntries), areEntriesEqual);\r\n return {\r\n ...state,\r\n entries: newEntries,\r\n isLoading: false,\r\n didLoadingFail: false,\r\n isRefreshing: false,\r\n isLoadingMore: false,\r\n isLastResult: receivedEntries.length < state.fetchRequest.limit,\r\n };\r\n }\r\n case actionTypes.LAST_RESULT_REACHED: {\r\n return {\r\n ...state,\r\n isLoading: false,\r\n isRefreshing: false,\r\n isLoadingMore: false,\r\n didLoadingFail: true,\r\n isLastResult: true,\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n };\r\n\r\n // Epics\r\n const fetchEntriesEpic$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n fetchEntries$: (request: FetchRequest) => Observable>\r\n ) =>\r\n action$.ofType(actionTypes.FETCH_ENTRIES).pipe(\r\n mergeMap$((action: FetchEntriesAction) => {\r\n const request = action.request ?? getPaginatedListStateFromStoreState(state$.value).fetchRequest;\r\n return fetchEntries$(request).pipe(\r\n map$((response) =>\r\n response.result(\r\n (data) =>\r\n actions.fetchEntriesResponse(\r\n {\r\n success: true,\r\n payload: data,\r\n },\r\n request\r\n ),\r\n (error) =>\r\n actions.fetchEntriesResponse(\r\n {\r\n success: false,\r\n error: error,\r\n },\r\n request\r\n )\r\n )\r\n )\r\n );\r\n })\r\n );\r\n\r\n const fetchMoreEntriesEpic$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n fetchEntries$: (request: FetchRequest) => Observable>\r\n ) =>\r\n action$.ofType(actionTypes.FETCH_MORE_ENTRIES).pipe(\r\n mergeMap$(() => {\r\n const state = getPaginatedListStateFromStoreState(state$.value);\r\n state.fetchRequest = cloneDeep(state.fetchRequest);\r\n const { fetchRequest, isLastResult } = state;\r\n fetchRequest.limit = requestConstants.limit.appending;\r\n if (fetchRequest.offset === 0) {\r\n fetchRequest.offset = Math.max(requestConstants.limit.default, 0);\r\n } else {\r\n fetchRequest.offset = Math.max(fetchRequest.offset + requestConstants.offsetIncrement, 0);\r\n }\r\n return if$(\r\n () => isLastResult,\r\n of$({ type: actionTypes.LAST_RESULT_REACHED }),\r\n fetchEntries$(fetchRequest).pipe(\r\n map$((response) =>\r\n response.result(\r\n (data) =>\r\n actions.fetchEntriesResponse(\r\n {\r\n success: true,\r\n payload: data,\r\n },\r\n fetchRequest\r\n ),\r\n (error) =>\r\n actions.fetchEntriesResponse(\r\n {\r\n success: false,\r\n error: error,\r\n },\r\n fetchRequest\r\n )\r\n )\r\n )\r\n )\r\n );\r\n })\r\n );\r\n\r\n const createdMergedEpic$ = (\r\n fetchEntries$: (request: FetchRequest) => Observable>,\r\n action$: ActionsObservable,\r\n state$: StateObservable\r\n ) => {\r\n return merge$(\r\n fetchEntriesEpic$(action$, state$, fetchEntries$),\r\n fetchMoreEntriesEpic$(action$, state$, fetchEntries$)\r\n );\r\n };\r\n\r\n return {\r\n actionTypes: actionTypes,\r\n createMergedEpic$: createdMergedEpic$,\r\n actions: actions,\r\n reducer: paginatedListReducer,\r\n };\r\n};\r\n\r\nexport const createActionKey = (reducerKey: string) => `${toUpper(reducerKey)}_`;\r\n\r\nexport const createEntriesFetchedActionType = (actionKey: string) => `${actionKey}ENTRIES_FETCHED`;\r\n","import { concat, find, last } from 'lodash';\r\nimport moment from 'moment';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api, ApiError, ApiErrorCode } from '@common/api';\r\nimport { PaymentClient } from '@common/client/PaymentClient';\r\nimport {\r\n DEFAULT_INVOICE_REQUEST,\r\n Invoice,\r\n InvoiceListResponse,\r\n INVOICES_LIST_REQUEST_LIMIT_APPENDING,\r\n INVOICES_LIST_REQUEST_LIMIT_DEFAULT,\r\n INVOICES_LIST_REQUEST_OFFSET_INCREMENT,\r\n InvoicesFilters,\r\n InvoicesRequest,\r\n MembershipReactivateError,\r\n PaymentDecline,\r\n PaymentFormErrorType,\r\n PaymentInfo,\r\n PaymentMethodUpdateError,\r\n Period,\r\n PeriodResponse,\r\n PlanPaymentInfo,\r\n UpgradePlanPaymentResult,\r\n} from '@common/model';\r\nimport { createAction, createApiAction, ResultResponseAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\ninterface PaymentHistoryRequest {\r\n accountId: string;\r\n fetchRequest: InvoicesRequest;\r\n}\r\n\r\nconst planPayment = createApiAction('PLAN_PAYMENT');\r\nconst reactivatePlanPaymentAction = createApiAction('REACTIVATE_PLAN_PAYMENT');\r\nconst updatePaymentMethodAction = createApiAction('UPDATE_PAYMENT_METHOD');\r\nconst paymentHistory = createApiAction('FETCH_PAYMENT_HISTORY');\r\nconst morePaymentHistory = createApiAction('FETCH_MORE_PAYMENT_HISTORY');\r\nconst fetchPaymentDeclineInfoAction = createApiAction('FETCH_PAYMENT_DECLINE_INFO');\r\nconst fetchYearsAction = createApiAction('FETCH_YEARS');\r\nconst setSelectedYearAction = createAction('SET_SELECTED_YEAR');\r\nconst clearPaymentResultAction = createAction('CLEAR_PAYMENT_RESULT');\r\nconst clearPaymentMethodResultAction = createAction('CLEAR_PAYMENT_METHOD_RESULT');\r\n\r\nexport const PLAN_UPGRADED_ACTION = planPayment.responseType;\r\nexport const confirmPlanPayment = planPayment.fetchAction;\r\nexport const reactivatePlanPayment = reactivatePlanPaymentAction.fetchAction;\r\n\r\nexport const clearPaymentResult = () => clearPaymentResultAction.action(undefined);\r\nexport const clearPaymentMethodResult = () => clearPaymentMethodResultAction.action(undefined);\r\nexport const setSelectedYear = (year: string) => setSelectedYearAction.action(year);\r\n\r\nexport const updatePaymentMethod = (paymentMethod: PaymentInfo) => updatePaymentMethodAction.fetchAction(paymentMethod);\r\nexport const fetchPaymentHistory = (accountId: string, fetchRequest: InvoicesRequest) =>\r\n paymentHistory.fetchAction({ accountId: accountId, fetchRequest: fetchRequest });\r\nexport const fetchMorePaymentHistory = (accountId: string, fetchRequest: InvoicesRequest) =>\r\n morePaymentHistory.fetchAction({ accountId: accountId, fetchRequest: fetchRequest });\r\nexport const fetchYears = (accountId: string) => fetchYearsAction.fetchAction(accountId);\r\nexport const fetchPaymentDeclineInfo = (accountId: string) => fetchPaymentDeclineInfoAction.fetchAction(accountId);\r\n\r\nexport interface PaymentState {\r\n payment: {\r\n isUpgrading: boolean;\r\n result?: UpgradePlanPaymentResult;\r\n };\r\n paymentMethod: {\r\n isLoading: boolean;\r\n isSuccessful?: boolean;\r\n errorType?: PaymentMethodUpdateError;\r\n };\r\n paymentHistory: {\r\n yearsList: Period[];\r\n selectedYear?: string;\r\n list: Invoice[];\r\n fetchRequest: InvoicesFilters;\r\n isLoading: boolean;\r\n isSuccessful?: boolean;\r\n error?: ApiError;\r\n isYearsLoading: boolean;\r\n isLastResult: boolean;\r\n isLoadingMore: boolean;\r\n listWasFetched: boolean;\r\n yearsWasFetched: boolean;\r\n };\r\n isLoadingPaymentDeclineInfo: boolean;\r\n paymentDecline?: PaymentDecline;\r\n reactivatePlan: {\r\n errorType?: PaymentFormErrorType;\r\n isLoading: boolean;\r\n isReactivatedSuccessful?: boolean;\r\n };\r\n}\r\n\r\nconst initialState: PaymentState = {\r\n payment: {\r\n isUpgrading: false,\r\n },\r\n paymentMethod: {\r\n isLoading: false,\r\n },\r\n paymentHistory: {\r\n yearsList: [],\r\n list: [],\r\n fetchRequest: DEFAULT_INVOICE_REQUEST,\r\n isLastResult: false,\r\n isLoadingMore: false,\r\n isLoading: false,\r\n isYearsLoading: false,\r\n isSuccessful: false,\r\n listWasFetched: false,\r\n yearsWasFetched: false,\r\n },\r\n isLoadingPaymentDeclineInfo: false,\r\n reactivatePlan: {\r\n isLoading: false,\r\n },\r\n};\r\n\r\nexport const paymentReducer = createMergedReducer(initialState, [\r\n clearPaymentResultAction.addCase((state) => {\r\n state.payment = initialState.payment;\r\n }),\r\n\r\n clearPaymentMethodResultAction.addCase((state) => {\r\n state.paymentMethod.isSuccessful = undefined;\r\n state.paymentMethod.errorType = undefined;\r\n }),\r\n\r\n setSelectedYearAction.addCase((state, action) => {\r\n state.paymentHistory.selectedYear = action.data;\r\n state.paymentHistory.fetchRequest = DEFAULT_INVOICE_REQUEST;\r\n state.paymentHistory.listWasFetched = false;\r\n }),\r\n\r\n paymentHistory.initiateCase((state) => {\r\n state.paymentHistory = {\r\n ...state.paymentHistory,\r\n isLoading: true,\r\n list: [],\r\n fetchRequest: DEFAULT_INVOICE_REQUEST,\r\n listWasFetched: true,\r\n };\r\n }),\r\n paymentHistory.completeCase((state, action) => fetchedPaymentHistoryReducer(state, action, true)),\r\n\r\n morePaymentHistory.initiateCase((state) => {\r\n state.paymentHistory.fetchRequest = {\r\n ...state.paymentHistory.fetchRequest,\r\n limit: INVOICES_LIST_REQUEST_LIMIT_APPENDING,\r\n offset:\r\n state.paymentHistory.fetchRequest.offset === 0\r\n ? INVOICES_LIST_REQUEST_LIMIT_DEFAULT\r\n : state.paymentHistory.fetchRequest.offset + INVOICES_LIST_REQUEST_OFFSET_INCREMENT,\r\n };\r\n state.paymentHistory.isLoadingMore = true;\r\n }),\r\n morePaymentHistory.completeCase((state, action) => fetchedPaymentHistoryReducer(state, action)),\r\n\r\n planPayment.initiateCase((state) => {\r\n state.payment.isUpgrading = true;\r\n }),\r\n planPayment.completeCase((state, action) => {\r\n state.payment.isUpgrading = false;\r\n if (action.response.success) {\r\n state.payment.result = UpgradePlanPaymentResult.Success;\r\n } else {\r\n if (action.response.error.httpStatus === 0) {\r\n state.payment.result = UpgradePlanPaymentResult.Unknown;\r\n } else {\r\n state.payment.result = UpgradePlanPaymentResult.Failed;\r\n }\r\n }\r\n }),\r\n\r\n updatePaymentMethodAction.initiateCase((state) => {\r\n state.paymentMethod = {\r\n isLoading: true,\r\n isSuccessful: undefined,\r\n };\r\n }),\r\n updatePaymentMethodAction.completeCase((state, action) => {\r\n state.paymentMethod = {\r\n isLoading: false,\r\n isSuccessful: action.response.success,\r\n };\r\n\r\n if (!action.response.success && action.response.error) {\r\n let type = PaymentMethodUpdateError.Unknown;\r\n switch (action.response.error.code) {\r\n case ApiErrorCode.CREDITCARD_EXPIRED:\r\n type = PaymentMethodUpdateError.InvalidExpiryDate;\r\n break;\r\n case ApiErrorCode.CREDITCARD_CVD_NOT_ACCEPTED:\r\n type = PaymentMethodUpdateError.InvalidSecurityCode;\r\n break;\r\n case ApiErrorCode.CREDITCARD_AVS_NOT_ACCEPTED:\r\n type = PaymentMethodUpdateError.AddressVerificationFailed;\r\n break;\r\n case ApiErrorCode.CREDITCARD_NUMBER_NOT_ACCEPTED:\r\n type = PaymentMethodUpdateError.InvalidCardNumber;\r\n break;\r\n }\r\n state.paymentMethod.errorType = type;\r\n }\r\n }),\r\n\r\n reactivatePlanPaymentAction.initiateCase((state) => {\r\n state.reactivatePlan = {\r\n isLoading: true,\r\n isReactivatedSuccessful: undefined,\r\n errorType: undefined,\r\n };\r\n }),\r\n reactivatePlanPaymentAction.completeCase((state, action) => {\r\n state.reactivatePlan = {\r\n isLoading: false,\r\n isReactivatedSuccessful: action.response.success,\r\n errorType: undefined,\r\n };\r\n\r\n if (!action.response.success && action.response.error) {\r\n let errorType;\r\n switch (action.response.error.code) {\r\n case ApiErrorCode.CREDITCARD_EXPIRED:\r\n errorType = PaymentMethodUpdateError.InvalidExpiryDate;\r\n break;\r\n case ApiErrorCode.CREDITCARD_CVD_NOT_ACCEPTED:\r\n errorType = PaymentMethodUpdateError.InvalidSecurityCode;\r\n break;\r\n case ApiErrorCode.CREDITCARD_AVS_NOT_ACCEPTED:\r\n errorType = PaymentMethodUpdateError.AddressVerificationFailed;\r\n break;\r\n case ApiErrorCode.CREDITCARD_NUMBER_NOT_ACCEPTED:\r\n errorType = PaymentMethodUpdateError.InvalidCardNumber;\r\n break;\r\n case ApiErrorCode.INVALID_MEMBERSHIP_STATUS:\r\n errorType = MembershipReactivateError.WrongStatus;\r\n break;\r\n case ApiErrorCode.REACTIVATION_CHARGE_INVOICE_ERROR:\r\n errorType = MembershipReactivateError.ReactivationChargeInvoiceError;\r\n break;\r\n default:\r\n errorType = PaymentMethodUpdateError.Unknown;\r\n }\r\n state.reactivatePlan.errorType = errorType;\r\n }\r\n }),\r\n\r\n fetchYearsAction.initiateCase((state) => {\r\n state.paymentHistory.isYearsLoading = true;\r\n state.paymentHistory.yearsWasFetched = false;\r\n }),\r\n fetchYearsAction.completeCase((state, action) => {\r\n state.paymentHistory.isYearsLoading = false;\r\n state.paymentHistory.yearsWasFetched = true;\r\n if (action.response.success) {\r\n state.paymentHistory.yearsList = action.response.payload.periods;\r\n const currentYear = moment().year().toString();\r\n state.paymentHistory.selectedYear =\r\n find(action.response.payload.periods, ({ date }) => date === currentYear)?.date ??\r\n last(action.response.payload.periods)?.date;\r\n }\r\n }),\r\n\r\n fetchPaymentDeclineInfoAction.initiateCase((state) => {\r\n state.isLoadingPaymentDeclineInfo = true;\r\n }),\r\n fetchPaymentDeclineInfoAction.completeCase((state, action) => {\r\n state.isLoadingPaymentDeclineInfo = false;\r\n if (action.response.success && action.response.payload) {\r\n state.paymentDecline = action.response.payload;\r\n }\r\n }),\r\n]);\r\n\r\nconst fetchedPaymentHistoryReducer = (\r\n state: PaymentState,\r\n action: ResultResponseAction,\r\n isInitial: boolean = false\r\n) => {\r\n if (action.response.success) {\r\n const invoices = action.response.payload.invoices;\r\n state.paymentHistory.list = isInitial ? invoices : concat(state.paymentHistory.list, invoices);\r\n state.paymentHistory.isLastResult = invoices.length < state.paymentHistory.fetchRequest.limit;\r\n }\r\n state.paymentMethod.isSuccessful = action.response.success;\r\n state.paymentHistory.isLoading = false;\r\n state.paymentHistory.isLoadingMore = false;\r\n state.paymentHistory.fetchRequest = {\r\n ...state.paymentHistory.fetchRequest,\r\n limit: INVOICES_LIST_REQUEST_LIMIT_APPENDING,\r\n offset:\r\n state.paymentHistory.fetchRequest.offset === 0\r\n ? INVOICES_LIST_REQUEST_LIMIT_DEFAULT\r\n : state.paymentHistory.fetchRequest.offset + INVOICES_LIST_REQUEST_OFFSET_INCREMENT,\r\n };\r\n};\r\n\r\nexport const createPaymentEpic = (api: Api) => {\r\n const client = new PaymentClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n planPayment.createEpic$(action$, client.sendPayment$),\r\n reactivatePlanPaymentAction.createEpic$(action$, client.reactivatePayment$),\r\n updatePaymentMethodAction.createEpic$(action$, client.updatePaymentCard$),\r\n fetchYearsAction.createEpic$(action$, client.getPaymentYears$),\r\n paymentHistory.createEpic$(action$, (data) => client.getPaymentHistory$(data.accountId, data.fetchRequest)),\r\n morePaymentHistory.createEpic$(action$, (data) => client.getPaymentHistory$(data.accountId, data.fetchRequest)),\r\n fetchPaymentDeclineInfoAction.createEpic$(action$, client.fetchPaymentDeclineInfo$)\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { PermissionsClient } from '@common/client/PermissionsClient';\r\n\r\nimport { createApiAction, EmptyResponse } from '../Base';\r\nimport { createMergedReducer } from '../ReduxHelper';\r\n\r\nexport interface Integrations {\r\n createdOn?: string;\r\n name?: string;\r\n id?: string;\r\n scopes?: [\r\n {\r\n name: string;\r\n description: string;\r\n },\r\n ];\r\n}\r\n\r\nexport interface IntegrationsResponse {\r\n sessions: Integrations[] | undefined;\r\n}\r\n\r\nexport interface LoginSessions {\r\n createdOn?: string;\r\n name?: string;\r\n id?: string;\r\n userAgent?: string;\r\n ip?: string;\r\n lastUsedOn?: string;\r\n isCurrentSession?: boolean;\r\n}\r\n\r\nexport interface LoginSessionsResponse {\r\n sessions: LoginSessions[] | undefined;\r\n}\r\n\r\nexport interface PermissionsState {\r\n integrations: Integrations[];\r\n sessions: LoginSessions[];\r\n isFetchingIntegrations: boolean;\r\n isFetchingSessions: boolean;\r\n isInvalidatingSession: boolean;\r\n invalidationError?: boolean;\r\n}\r\n\r\nconst initialState: PermissionsState = {\r\n integrations: [],\r\n sessions: [],\r\n isFetchingIntegrations: false,\r\n isFetchingSessions: false,\r\n isInvalidatingSession: false,\r\n invalidationError: false,\r\n};\r\n\r\nconst fetchIntegrationsAction = createApiAction('FETCH_INTEGRATIONS');\r\n\r\nconst fetchLoginSessionsAction = createApiAction('FETCH_LOGIN_SESSIONS');\r\n\r\nconst invalidateSessionAction = createApiAction('INVALIDATE_LOGIN_SESSION');\r\n\r\nexport const fetchIntegrations = () => fetchIntegrationsAction.fetchAction(undefined);\r\n\r\nexport const fetchLoginSessions = () => fetchLoginSessionsAction.fetchAction(undefined);\r\n\r\nexport const invalidateSession = (sessionID: string) => invalidateSessionAction.fetchAction(sessionID);\r\n\r\nexport const permissionsReducer = createMergedReducer(initialState, [\r\n fetchIntegrationsAction.initiateCase((state) => {\r\n state.isFetchingIntegrations = true;\r\n }),\r\n\r\n fetchIntegrationsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.integrations = action.response.payload.sessions ?? [];\r\n } else {\r\n state.integrations = [];\r\n }\r\n state.isFetchingIntegrations = false;\r\n }),\r\n\r\n fetchLoginSessionsAction.initiateCase((state) => {\r\n state.isFetchingSessions = true;\r\n }),\r\n\r\n fetchLoginSessionsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.sessions = action.response.payload.sessions ?? [];\r\n } else {\r\n state.sessions = [];\r\n }\r\n state.isFetchingSessions = false;\r\n }),\r\n\r\n invalidateSessionAction.initiateCase((state) => {\r\n state.isInvalidatingSession = true;\r\n }),\r\n\r\n invalidateSessionAction.completeCase((state, action) => {\r\n state.invalidationError = !action.response.success;\r\n state.isInvalidatingSession = false;\r\n }),\r\n]);\r\n\r\nexport const createPermissionsEpic = (api: Api) => {\r\n const client = new PermissionsClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchIntegrationsAction.createEpic$(action$, client.fetchIntegrations$),\r\n fetchLoginSessionsAction.createEpic$(action$, client.fetchLoginSessions$),\r\n invalidateSessionAction.createEpic$(action$, (request) => client.invalidateSession$(request))\r\n );\r\n};\r\n","import { filter, map } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { PostTruckClient } from '@common/client/PostTruckClient';\r\nimport {\r\n AvailabilityTypes,\r\n EquipmentType,\r\n INITIAL_TRUCK_AVAILABILITY_LIMIT,\r\n LoadLocation,\r\n LoadSize,\r\n MAX_PLUS_TRUCK_LENGTH,\r\n MAX_PLUS_TRUCK_WEIGHT,\r\n PostsFilter,\r\n PostTruckAddress,\r\n RateCheck,\r\n RateCheckRequest,\r\n Statuses,\r\n TRUCK_AVAILABILITY_LIMIT_APPENDING,\r\n TruckAvailabilitiesPayload,\r\n TruckAvailability,\r\n TruckAvailabilityCounts,\r\n TruckAvailabilityDeleteRequest,\r\n TruckAvailabilityResponse,\r\n Types,\r\n} from '@common/model';\r\nimport { createAction, createApiAction, EmptyResponse } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst getTruckAvailabilityCountAction = createApiAction(\r\n 'GET_TRUCK_AVAILABILITY_COUNT'\r\n);\r\nconst getTruckAvailabilitiesAction = createApiAction(\r\n 'GET_TRUCK_AVAILABILITIES'\r\n);\r\nconst getMoreTruckAvailabilitiesAction = createApiAction(\r\n 'GET_MORE_TRUCK_AVAILABILITIES'\r\n);\r\nconst addNewTruckAvailabilityAction = createApiAction<\r\n { data: TruckAvailabilityResponse; override?: boolean },\r\n TruckAvailability\r\n>('ADD_NEW_TRUCK_AVAILABILITY');\r\nconst updateTruckAvailabilityAction = createApiAction<\r\n { update: Partial; id: number; override?: boolean },\r\n undefined\r\n>('UPDATE_NEW_TRUCK_AVAILABILITY');\r\n\r\nconst deleteTruckAvailabilityAction = createApiAction<{ id: number; screenType: PostsFilter }, undefined>(\r\n 'DELETE_TRUCK_AVAILABILITY'\r\n);\r\nconst deleteAllExpiredTrucksAction = createApiAction('BULK_DELETE_TRUCK_AVAILABILITIES');\r\nconst deleteAllTrucksAction = createApiAction(\r\n 'DELETE_TRUCK_AVAILABILITIES'\r\n);\r\n\r\nconst toggleClearAllAction = createApiAction('TOGGLE_CLEAR_ALL');\r\nconst setLastRealTimeTruckPostedAction = createAction('SET_LAST_REAL_TIME_TRUCK_POSTED');\r\n\r\nconst fetchTotalMileageAction = createApiAction('POST_TRUCK_FETCH_MILEAGE');\r\n\r\nconst fetchRateCheckAction = createApiAction('POST_TRUCK_FETCH_RATE_CHECK_INFO');\r\n\r\nexport const getTruckAvailabilityCount = () => getTruckAvailabilityCountAction.fetchAction(undefined);\r\nexport const getTruckAvailabilities = (type?: PostsFilter) =>\r\n getTruckAvailabilitiesAction.fetchAction(type ?? PostsFilter.ScheduledPosts);\r\nexport const getMoreTruckAvailabilities = (type?: PostsFilter) =>\r\n getMoreTruckAvailabilitiesAction.fetchAction(type ?? PostsFilter.ScheduledPosts);\r\nexport const addNewTruckAvailability = (availability: TruckAvailabilityResponse, override?: boolean) =>\r\n addNewTruckAvailabilityAction.fetchAction({ data: availability, override: override });\r\nexport const updateTruckAvailability = (\r\n availability: Partial,\r\n id: number,\r\n override?: boolean\r\n) => updateTruckAvailabilityAction.fetchAction({ update: availability, id: id, override: override });\r\nexport const deleteTruckAvailability = (id: number, screenType: PostsFilter) =>\r\n deleteTruckAvailabilityAction.fetchAction({ id: id, screenType: screenType });\r\nexport const deleteAllExpiredTrucks = (ids: number[]) => deleteAllExpiredTrucksAction.fetchAction(ids);\r\nexport const deleteAllTrucks = (request: TruckAvailabilityDeleteRequest) => deleteAllTrucksAction.fetchAction(request);\r\nexport const toggleClearAll = () => toggleClearAllAction.fetchAction(undefined);\r\nexport const setLastRealTimeTruckPosted = (truck: LastPostedRealTruck) =>\r\n setLastRealTimeTruckPostedAction.action(truck);\r\n\r\nexport const fetchTotalMileage = (stops: PostTruckAddress[]) => fetchTotalMileageAction.fetchAction({ stops: stops });\r\n\r\nexport const fetchRateCheck = fetchRateCheckAction.fetchAction;\r\n\r\ninterface PartialState {\r\n postTruck: PostTruckState;\r\n}\r\n\r\ninterface LastPostedRealTruck {\r\n equipmentType: EquipmentType | undefined;\r\n displayName: string | undefined;\r\n weight: number;\r\n length: number;\r\n truckId: string | undefined;\r\n size: LoadSize;\r\n anonymous: boolean;\r\n minRate?: string | null;\r\n dropoff: LoadLocation | undefined;\r\n}\r\n\r\nexport interface PostTruckState {\r\n truckCount: {\r\n isLoadingCount: boolean;\r\n wasFetchedSuccessfully: boolean;\r\n count: TruckAvailabilityCounts;\r\n };\r\n truckAvailabilities: {\r\n isLoading: boolean;\r\n isLoadingMore: boolean;\r\n wasFetched: boolean;\r\n currentTrucks: TruckAvailability[];\r\n currentAvailabilityId?: number;\r\n currentFilter?: PostsFilter;\r\n paginationLimit?: number;\r\n paginationToken?: string;\r\n hasMore?: boolean;\r\n };\r\n updateAvailability: {\r\n isLoading: boolean;\r\n wasUpdated: boolean;\r\n updatedAvailability?: Partial;\r\n httpError?: number;\r\n };\r\n createAvailability: {\r\n isLoading: boolean;\r\n wasUpdated: boolean;\r\n httpError?: number;\r\n errorMessage?: string;\r\n };\r\n deleteAvailability: {\r\n isLoading: boolean;\r\n wasDeleted: boolean;\r\n };\r\n bulkDelete: {\r\n isLoading: boolean;\r\n wereDeleted: boolean;\r\n shouldInitiateDelete: boolean;\r\n };\r\n pcMiler: {\r\n totalPostMileage?: number;\r\n mileageHttpError?: number;\r\n isLoading: boolean;\r\n };\r\n rateCheck: {\r\n avgRateCheck?: number;\r\n rateCheckHttpError?: number;\r\n isLoading: boolean;\r\n };\r\n lastRealTimeTruckPosted: LastPostedRealTruck | undefined;\r\n}\r\n\r\nconst postTruckInitialState: PostTruckState = {\r\n truckCount: {\r\n isLoadingCount: false,\r\n wasFetchedSuccessfully: false,\r\n count: { realTimeCount: 0, scheduledCount: 0, expiredCount: 0, total: 0 },\r\n },\r\n truckAvailabilities: {\r\n currentTrucks: [],\r\n isLoading: false,\r\n isLoadingMore: false,\r\n wasFetched: false,\r\n },\r\n updateAvailability: {\r\n isLoading: false,\r\n wasUpdated: false,\r\n },\r\n createAvailability: {\r\n isLoading: false,\r\n wasUpdated: false,\r\n },\r\n deleteAvailability: {\r\n isLoading: false,\r\n wasDeleted: false,\r\n },\r\n bulkDelete: {\r\n isLoading: false,\r\n wereDeleted: false,\r\n shouldInitiateDelete: false,\r\n },\r\n pcMiler: {\r\n totalPostMileage: undefined,\r\n mileageHttpError: undefined,\r\n isLoading: false,\r\n },\r\n rateCheck: {\r\n avgRateCheck: undefined,\r\n rateCheckHttpError: undefined,\r\n isLoading: false,\r\n },\r\n lastRealTimeTruckPosted: undefined,\r\n};\r\n\r\nexport interface MileageRequest {\r\n stops: PostTruckAddress[];\r\n}\r\n\r\nexport interface MileageResponse {\r\n mileage?: number;\r\n}\r\n\r\nexport const postTruckReducer = createMergedReducer(postTruckInitialState, [\r\n getTruckAvailabilityCountAction.initiateCase((state) => {\r\n state.truckCount.isLoadingCount = true;\r\n state.truckCount.wasFetchedSuccessfully = false;\r\n }),\r\n getTruckAvailabilityCountAction.completeCase((state, action) => {\r\n state.truckCount.isLoadingCount = false;\r\n if (action.response.success) {\r\n state.truckCount.count = action.response.payload;\r\n const count = state.truckCount.count;\r\n state.truckCount.count.total = count.expiredCount + count.realTimeCount + count.scheduledCount;\r\n state.truckCount.wasFetchedSuccessfully = true;\r\n } else {\r\n state.truckCount.wasFetchedSuccessfully = false;\r\n }\r\n }),\r\n getTruckAvailabilitiesAction.initiateCase((state, action) => {\r\n state.truckAvailabilities.isLoading = true;\r\n state.truckAvailabilities.wasFetched = false;\r\n state.truckAvailabilities.currentFilter = action.data;\r\n state.truckAvailabilities.paginationLimit = INITIAL_TRUCK_AVAILABILITY_LIMIT;\r\n state.truckAvailabilities.paginationToken = undefined;\r\n }),\r\n getTruckAvailabilitiesAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.truckAvailabilities.currentTrucks = action.response.payload.items;\r\n state.truckAvailabilities.wasFetched = true;\r\n state.truckAvailabilities.paginationLimit = TRUCK_AVAILABILITY_LIMIT_APPENDING;\r\n state.truckAvailabilities.paginationToken = action.response.payload.paginationToken;\r\n state.truckAvailabilities.hasMore = action.response.payload.hasMore;\r\n } else {\r\n state.truckAvailabilities.wasFetched = false;\r\n }\r\n state.truckAvailabilities.isLoading = false;\r\n }),\r\n getMoreTruckAvailabilitiesAction.initiateCase((state) => {\r\n state.truckAvailabilities.isLoadingMore = true;\r\n }),\r\n getMoreTruckAvailabilitiesAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.truckAvailabilities.currentTrucks = [\r\n ...state.truckAvailabilities.currentTrucks,\r\n ...action.response.payload.items,\r\n ];\r\n state.truckAvailabilities.wasFetched = true;\r\n state.truckAvailabilities.paginationLimit = TRUCK_AVAILABILITY_LIMIT_APPENDING;\r\n state.truckAvailabilities.paginationToken = action.response.payload.paginationToken;\r\n state.truckAvailabilities.hasMore = action.response.payload.hasMore;\r\n } else {\r\n state.truckAvailabilities.wasFetched = false;\r\n }\r\n state.truckAvailabilities.isLoadingMore = false;\r\n }),\r\n addNewTruckAvailabilityAction.initiateCase((state) => {\r\n state.createAvailability.isLoading = true;\r\n state.createAvailability.wasUpdated = false;\r\n }),\r\n addNewTruckAvailabilityAction.completeCase((state, action) => {\r\n state.createAvailability.isLoading = false;\r\n if (action.response.success) {\r\n state.createAvailability.wasUpdated = true;\r\n } else {\r\n state.createAvailability.wasUpdated = false;\r\n state.createAvailability.httpError = action.response.error.httpStatus;\r\n state.createAvailability.errorMessage = action.response.error.message;\r\n }\r\n }),\r\n updateTruckAvailabilityAction.initiateCase((state) => {\r\n state.updateAvailability.isLoading = true;\r\n state.updateAvailability.wasUpdated = false;\r\n }),\r\n updateTruckAvailabilityAction.completeCase((state, action) => {\r\n state.updateAvailability.isLoading = false;\r\n if (action.response.success) {\r\n state.updateAvailability.wasUpdated = true;\r\n } else {\r\n state.updateAvailability.wasUpdated = false;\r\n state.updateAvailability.httpError = action.response.error.httpStatus;\r\n }\r\n }),\r\n deleteTruckAvailabilityAction.initiateCase((state, action) => {\r\n state.deleteAvailability.isLoading = true;\r\n state.deleteAvailability.wasDeleted = false;\r\n state.truckAvailabilities.currentAvailabilityId = action.data.id;\r\n state.truckAvailabilities.currentFilter = action.data.screenType;\r\n }),\r\n deleteTruckAvailabilityAction.completeCase((state, action) => {\r\n state.deleteAvailability.isLoading = false;\r\n const currentTrucks = state.truckAvailabilities.currentTrucks;\r\n if (action.response.success) {\r\n state.truckAvailabilities.currentTrucks = filter(\r\n currentTrucks,\r\n (currentTruck) => currentTruck.id !== state.truckAvailabilities.currentAvailabilityId\r\n );\r\n state.truckCount.count = updateCountAfterDelete(state.truckCount.count, state.truckAvailabilities.currentFilter);\r\n state.deleteAvailability.wasDeleted = true;\r\n } else {\r\n state.deleteAvailability.wasDeleted = false;\r\n }\r\n }),\r\n deleteAllExpiredTrucksAction.initiateCase((state) => {\r\n state.bulkDelete.isLoading = true;\r\n state.bulkDelete.wereDeleted = false;\r\n }),\r\n deleteAllExpiredTrucksAction.completeCase((state, action) => {\r\n state.bulkDelete.isLoading = false;\r\n if (action.response.success) {\r\n state.bulkDelete.wereDeleted = true;\r\n } else {\r\n state.bulkDelete.wereDeleted = false;\r\n }\r\n }),\r\n deleteAllTrucksAction.initiateCase((state) => {\r\n state.bulkDelete.isLoading = true;\r\n state.bulkDelete.wereDeleted = false;\r\n }),\r\n deleteAllTrucksAction.completeCase((state, action) => {\r\n state.bulkDelete.isLoading = false;\r\n if (action.response.success) {\r\n state.bulkDelete.wereDeleted = true;\r\n } else {\r\n state.bulkDelete.wereDeleted = false;\r\n }\r\n }),\r\n toggleClearAllAction.initiateCase((state) => {\r\n state.bulkDelete.shouldInitiateDelete = !state.bulkDelete.shouldInitiateDelete;\r\n }),\r\n setLastRealTimeTruckPostedAction.addCase((state, action) => {\r\n state.lastRealTimeTruckPosted = action.data;\r\n }),\r\n fetchTotalMileageAction.initiateCase((state) => {\r\n state.pcMiler.totalPostMileage = undefined;\r\n state.pcMiler.mileageHttpError = undefined;\r\n state.pcMiler.isLoading = true;\r\n }),\r\n fetchTotalMileageAction.completeCase((state, action) => {\r\n state.pcMiler.isLoading = false;\r\n if (action.response.success) {\r\n state.pcMiler.totalPostMileage = action.response.payload.mileage;\r\n } else if (action.response.error) {\r\n state.pcMiler.mileageHttpError = action.response.error.httpStatus;\r\n }\r\n }),\r\n fetchRateCheckAction.initiateCase((state) => {\r\n state.rateCheck.avgRateCheck = undefined;\r\n state.rateCheck.rateCheckHttpError = undefined;\r\n state.rateCheck.isLoading = true;\r\n }),\r\n fetchRateCheckAction.completeCase((state, action) => {\r\n state.rateCheck.isLoading = false;\r\n if (action.response.success) {\r\n state.rateCheck.avgRateCheck = action.response.payload.avgRatePerMile;\r\n } else if (action.response.error) {\r\n state.rateCheck.rateCheckHttpError = action.response.error.httpStatus;\r\n }\r\n }),\r\n]);\r\n\r\nconst updateCountAfterDelete = (count: TruckAvailabilityCounts, filterType?: PostsFilter): TruckAvailabilityCounts => {\r\n if (filterType === PostsFilter.RealTimePosts) {\r\n return { ...count, realTimeCount: count.realTimeCount - 1, total: count.total - 1 };\r\n }\r\n if (filterType === PostsFilter.ExpiredPosts) {\r\n return { ...count, expiredCount: count.expiredCount - 1, total: count.total - 1 };\r\n }\r\n return { ...count, scheduledCount: count.scheduledCount - 1, total: count.total - 1 };\r\n};\r\n\r\nconst getTruckFetchingData = (postsFilter: PostsFilter): AvailabilityTypes => {\r\n switch (postsFilter) {\r\n case PostsFilter.RealTimePosts:\r\n return { types: Types.Dynamic };\r\n case PostsFilter.ExpiredPosts:\r\n return {\r\n types: Types.Static,\r\n statuses: Statuses.Expired,\r\n };\r\n default:\r\n return {\r\n types: Types.Static,\r\n statuses: Statuses.Active,\r\n };\r\n }\r\n};\r\n\r\nexport const getAvailabilityIdToDelete = (availabilities: TruckAvailability[]): number[] => {\r\n return map(availabilities, (availability) => availability.id);\r\n};\r\n\r\nconst getTruckAvailabilities$ =\r\n (client: PostTruckClient, state$: StateObservable) => (data: PostsFilter) => {\r\n const { paginationLimit, paginationToken } = state$.value.postTruck.truckAvailabilities;\r\n const truckData = getTruckFetchingData(data);\r\n return client.getTruckAvailabilities(truckData.types, truckData.statuses, paginationLimit, paginationToken);\r\n };\r\n\r\nexport const createPostTruckEpic = (api: Api) => {\r\n const client = new PostTruckClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n getTruckAvailabilityCountAction.createEpic$(action$, client.getTruckAvailabilityCount),\r\n getTruckAvailabilitiesAction.createEpic$(action$, getTruckAvailabilities$(client, state$)),\r\n getMoreTruckAvailabilitiesAction.createEpic$(action$, getTruckAvailabilities$(client, state$)),\r\n addNewTruckAvailabilityAction.createEpic$(action$, (data) =>\r\n client.addTruckAvailabilities(data.data, true, data.override)\r\n ),\r\n updateTruckAvailabilityAction.createEpic$(action$, (data) =>\r\n client.updateTruckAvailabilities(data.update, data.id, data.override)\r\n ),\r\n deleteTruckAvailabilityAction.createEpic$(action$, (data) => client.deleteTruckAvailability(data.id)),\r\n deleteAllExpiredTrucksAction.createEpic$(action$, (data) => client.bulkDeleteAvailability(data)),\r\n deleteAllTrucksAction.createEpic$(action$, (data) => client.deleteTruckAvailabilities(data)),\r\n fetchTotalMileageAction.createEpic$(action$, client.fetchTotalMileage$),\r\n fetchRateCheckAction.createEpic$(action$, (data) => client.fetchRateCheck$(data))\r\n );\r\n};\r\n\r\nexport const formatTruckAvailability = (truckAvailability: Partial) => ({\r\n ...truckAvailability,\r\n weight: truckAvailability.weight === MAX_PLUS_TRUCK_WEIGHT ? null : truckAvailability.weight,\r\n length: truckAvailability.length === MAX_PLUS_TRUCK_LENGTH ? null : truckAvailability.length,\r\n});\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiResponse123 } from '@common/api';\r\nimport { QuoteClient } from '@common/client';\r\nimport { Quote, QuoteListResponse, QuoteRequest, QuoteResult } from '@common/model';\r\nimport { ApiResponse$, createResponseAction, Response, ResponseAction } from '@common/redux/Base';\r\nimport { simpleApiEpicToAction } from '@common/redux/epic/EpicHelper';\r\n\r\nimport { createReducer } from '../ReduxHelper';\r\n\r\nconst FETCH_LOAD_RECENT_QUOTES = 'FETCH_LOAD_RECENT_QUOTES';\r\nconst LOAD_RECENT_QUOTES_FETCHED = 'LOAD_RECENT_QUOTES_FETCHED';\r\n\r\nexport type QuoteResultResponse = Response;\r\nexport type QuoteResponse = Response;\r\n\r\ninterface ActionWithOptionalAuth extends Action {\r\n withAuthentication: boolean;\r\n}\r\n\r\ninterface FetchQuoteResponse extends Action {\r\n response: QuoteResultResponse;\r\n}\r\n\r\ninterface PostQuote extends ActionWithOptionalAuth {\r\n request: QuoteRequest;\r\n}\r\n\r\ninterface PostQuoteResponse extends Action {\r\n response: QuoteResponse;\r\n}\r\n\r\ninterface MostRecentQuoteForLoadAction extends Action {\r\n guid: string;\r\n}\r\n\r\nexport const fetchMostRecentQuoteForLoad = (guid: string): MostRecentQuoteForLoadAction => ({\r\n type: FETCH_LOAD_RECENT_QUOTES,\r\n guid: guid,\r\n});\r\n\r\nexport interface QuoteState {\r\n fetchQuoteResponse?: QuoteResultResponse;\r\n postQuoteResponse?: QuoteResponse;\r\n isPostLoading: boolean;\r\n isFetchLoading: boolean;\r\n}\r\nconst initialState: QuoteState = {\r\n isPostLoading: false,\r\n isFetchLoading: false,\r\n};\r\n\r\nconst createQuoteReducer = (key: string) => {\r\n const actionTypes = {\r\n FETCH_QUOTE: `${key}FETCH_QUOTE`,\r\n FETCH_QUOTE_FULFILLED: `${key}FETCH_QUOTE_FULFILLED`,\r\n POST_QUOTE: `${key}POST_QUOTE`,\r\n POST_QUOTE_FULFILLED: `${key}POST_QUOTE_FULFILLED`,\r\n };\r\n\r\n const actions = {\r\n fetchQuotes: (): ActionWithOptionalAuth => ({\r\n type: actionTypes.FETCH_QUOTE,\r\n withAuthentication: false,\r\n }),\r\n postQuote: (request: QuoteRequest): PostQuote => ({\r\n type: actionTypes.POST_QUOTE,\r\n withAuthentication: false,\r\n request: request,\r\n }),\r\n\r\n fetchQuotesResponse: (response: QuoteResultResponse): FetchQuoteResponse => ({\r\n type: actionTypes.FETCH_QUOTE_FULFILLED,\r\n response: response,\r\n }),\r\n postQuoteResponse: (response: QuoteResponse): PostQuoteResponse => ({\r\n type: actionTypes.POST_QUOTE_FULFILLED,\r\n response: response,\r\n }),\r\n };\r\n\r\n const quoteReducer = createReducer(initialState, {\r\n [actionTypes.FETCH_QUOTE]: (state) => {\r\n state.isFetchLoading = true;\r\n state.fetchQuoteResponse = undefined;\r\n },\r\n [actionTypes.FETCH_QUOTE_FULFILLED]: (state, action: FetchQuoteResponse) => {\r\n state.isFetchLoading = false;\r\n state.fetchQuoteResponse = action.response;\r\n },\r\n [actionTypes.POST_QUOTE]: (state) => {\r\n state.isPostLoading = true;\r\n state.postQuoteResponse = undefined;\r\n },\r\n [actionTypes.POST_QUOTE_FULFILLED]: (state, action: PostQuoteResponse) => {\r\n state.isPostLoading = false;\r\n state.postQuoteResponse = action.response;\r\n },\r\n });\r\n\r\n return { actions: actions, reducer: quoteReducer, actionTypes: actionTypes };\r\n};\r\n\r\nexport const quoteAlreadySubmitted = (response?: QuoteResultResponse): boolean | undefined => {\r\n if (response && response.success && response.payload) {\r\n return response.payload.metadata && response.payload.metadata.totalResultCount > 0;\r\n }\r\n\r\n return undefined;\r\n};\r\n\r\nconst genericEpic = (config: {\r\n fetchActionType: string;\r\n postActionType: string;\r\n fetchQuotes$: (withAuthentication: boolean) => ApiResponse$;\r\n postQuote$: (quote: QuoteRequest, withAuthentication: boolean) => ApiResponse$;\r\n fetchQuotesResponse: (response: QuoteResultResponse) => FetchQuoteResponse;\r\n postQuoteResponse: (response: QuoteResponse) => PostQuoteResponse;\r\n}) => {\r\n const doFetchQuote = (action$: ActionsObservable) =>\r\n action$.ofType(config.fetchActionType).pipe(\r\n mergeMap$((data: ActionWithOptionalAuth) => {\r\n return config.fetchQuotes$(data.withAuthentication).pipe(\r\n map$((response: ApiResponse123) => {\r\n return response.result(\r\n (data) =>\r\n config.fetchQuotesResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n config.fetchQuotesResponse({\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const doPostQuote = (action$: ActionsObservable) =>\r\n action$.ofType(config.postActionType).pipe(\r\n mergeMap$((data: PostQuote) => {\r\n return config.postQuote$(data.request, data.withAuthentication).pipe(\r\n map$((response: ApiResponse123) => {\r\n return response.result(\r\n (data) =>\r\n config.postQuoteResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n config.postQuoteResponse({\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n return (action$: ActionsObservable) => merge$(doFetchQuote(action$), doPostQuote(action$));\r\n};\r\n\r\nconst getPaidFaster = createQuoteReducer('Factoring');\r\nexport const getPaidFasterQuoteReducer = getPaidFaster.reducer;\r\n\r\nconst fuelCard = createQuoteReducer('FuelCard');\r\nexport const fuelCardQuoteReducer = fuelCard.reducer;\r\n\r\nconst roadsideAssist = createQuoteReducer('RoadsideAssist');\r\nexport const roadsideAssistQuoteReducer = roadsideAssist.reducer;\r\n\r\nconst truckingAuthority = createQuoteReducer('TruckingAuthority');\r\nexport const truckingAuthorityQuoteReducer = truckingAuthority.reducer;\r\n\r\nconst fuelAdvance = createQuoteReducer('FuelAdvance');\r\nexport const fuelAdvanceQuoteReducer = fuelAdvance.reducer;\r\n\r\nexport const fetchTruckingAuthorityQuotes = truckingAuthority.actions.fetchQuotes;\r\nexport const postTruckingAuthorityQuote = truckingAuthority.actions.postQuote;\r\n\r\nexport const fetchRoadsideAssistQuote = roadsideAssist.actions.fetchQuotes;\r\nexport const postRoadsideAssistQuote = roadsideAssist.actions.postQuote;\r\n\r\nexport const fetchGetPaidFasterQuote = getPaidFaster.actions.fetchQuotes;\r\nexport const postGetPaidFasterQuote = getPaidFaster.actions.postQuote;\r\n\r\nexport const fetchFuelCardQuote = fuelCard.actions.fetchQuotes;\r\nexport const postFuelCardQuote = fuelCard.actions.postQuote;\r\n\r\nexport const postFuelAdvanceQuote = fuelAdvance.actions.postQuote;\r\nexport const postFuelAdvanceQuoteResponse = fuelAdvance.actions.postQuoteResponse;\r\n\r\n//responses used in the QuoteEpic.test\r\nexport const fetchGetPaidFasterQuotesResponse = getPaidFaster.actions.fetchQuotesResponse;\r\nexport const fetchFuelCardQuotesResponse = fuelCard.actions.fetchQuotesResponse;\r\nexport interface LoadQuotesState {\r\n loadQuotes: QuoteListResponse;\r\n isLoading: boolean;\r\n}\r\n\r\nexport const loadQuotesReducer = (\r\n state: LoadQuotesState = { loadQuotes: { quotes: [] }, isLoading: false },\r\n action: Action\r\n): LoadQuotesState => {\r\n switch (action.type) {\r\n case FETCH_LOAD_RECENT_QUOTES:\r\n return {\r\n ...state,\r\n loadQuotes: { quotes: [] },\r\n isLoading: true,\r\n };\r\n case LOAD_RECENT_QUOTES_FETCHED: {\r\n const quotesPayload = (action as ResponseAction).response.payload;\r\n if (quotesPayload) {\r\n return {\r\n ...state,\r\n loadQuotes: { quotes: quotesPayload.quotes },\r\n isLoading: false,\r\n };\r\n }\r\n return state;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst fetchLoadRecentQuotes$ = (client: QuoteClient, action$: ActionsObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_LOAD_RECENT_QUOTES,\r\n (action: MostRecentQuoteForLoadAction) => client.fetchMostRecentQuotes$(action.guid),\r\n createResponseAction(LOAD_RECENT_QUOTES_FETCHED)\r\n );\r\n\r\nexport const createQuotesEpic = (api: Api) => {\r\n const quoteClient = new QuoteClient(api);\r\n const getPaidFasterEpic = genericEpic({\r\n fetchActionType: getPaidFaster.actionTypes.FETCH_QUOTE,\r\n fetchQuotes$: quoteClient.fetchFactoringQuotes$,\r\n fetchQuotesResponse: getPaidFaster.actions.fetchQuotesResponse,\r\n postActionType: getPaidFaster.actionTypes.POST_QUOTE,\r\n postQuote$: quoteClient.postFactoringQuote$,\r\n postQuoteResponse: getPaidFaster.actions.postQuoteResponse,\r\n });\r\n const fuelCardEpic = genericEpic({\r\n fetchActionType: fuelCard.actionTypes.FETCH_QUOTE,\r\n fetchQuotes$: quoteClient.fetchFuelCardQuotes$,\r\n fetchQuotesResponse: fuelCard.actions.fetchQuotesResponse,\r\n postActionType: fuelCard.actionTypes.POST_QUOTE,\r\n postQuote$: quoteClient.postFuelCardQuote$,\r\n postQuoteResponse: fuelCard.actions.postQuoteResponse,\r\n });\r\n const roadsideAssistEpic = genericEpic({\r\n fetchActionType: roadsideAssist.actionTypes.FETCH_QUOTE,\r\n fetchQuotes$: quoteClient.fetchRoadsideAssistQuotes$,\r\n fetchQuotesResponse: roadsideAssist.actions.fetchQuotesResponse,\r\n postActionType: roadsideAssist.actionTypes.POST_QUOTE,\r\n postQuote$: quoteClient.postRoadsideAssistQuote$,\r\n postQuoteResponse: roadsideAssist.actions.postQuoteResponse,\r\n });\r\n const truckingAuthorityEpic = genericEpic({\r\n fetchActionType: truckingAuthority.actionTypes.FETCH_QUOTE,\r\n fetchQuotes$: quoteClient.fetchTruckingAuthorityQuotes$,\r\n fetchQuotesResponse: truckingAuthority.actions.fetchQuotesResponse,\r\n postActionType: truckingAuthority.actionTypes.POST_QUOTE,\r\n postQuote$: quoteClient.postTruckingAuthorityQuote$,\r\n postQuoteResponse: truckingAuthority.actions.postQuoteResponse,\r\n });\r\n\r\n const fuelAdvanceEpic = genericEpic({\r\n fetchActionType: fuelAdvance.actionTypes.FETCH_QUOTE,\r\n fetchQuotes$: quoteClient.fetchFactoringQuotes$,\r\n fetchQuotesResponse: fuelAdvance.actions.fetchQuotesResponse,\r\n postActionType: fuelAdvance.actionTypes.POST_QUOTE,\r\n postQuote$: quoteClient.postFuelAdvanceQuote$,\r\n postQuoteResponse: fuelAdvance.actions.postQuoteResponse,\r\n });\r\n\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchLoadRecentQuotes$(quoteClient, action$),\r\n getPaidFasterEpic(action$),\r\n fuelCardEpic(action$),\r\n roadsideAssistEpic(action$),\r\n truckingAuthorityEpic(action$),\r\n fuelAdvanceEpic(action$)\r\n );\r\n};\r\n","import { pickBy } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123 } from '@common/api';\r\nimport { RateCheckClient } from '@common/client';\r\nimport { LoadAction } from '@common/helper';\r\nimport {\r\n MarketRankingRequest,\r\n MarketRankingResponse,\r\n NegotiationStrength,\r\n PartialRateCheckFeedback,\r\n RateCheck,\r\n RateCheckAverageRequest,\r\n RateCheckAverageResponse,\r\n RateCheckFeedback,\r\n RateCheckFeedbackCollection,\r\n RateCheckRequest,\r\n RateCheckRevenueData,\r\n RateCheckRevenueResponse,\r\n} from '@common/model';\r\nimport { BaseState, createApiAction, createApiActionWithFetchData, Response, ResponseAction } from '@common/redux/Base';\r\nimport { LOAD_RATE_CHECK_FETCHED, LoadRateCheckResponseAction } from '@common/redux/epic/LoadInfoEpic';\r\nimport { createReducer } from '@reduxjs/toolkit';\r\n\r\nimport {\r\n createFeedback,\r\n createLoadRateCheckHistoryRequest,\r\n createRateCheckHistoricalRequest,\r\n createRateCheckHistoryRequest,\r\n filterOldAndFailed,\r\n parseRateCheckHistory,\r\n serializeRequest,\r\n} from './rateCheck/RateCheckHelper';\r\n\r\nconst FETCH_RATE_CHECK = 'FETCH_RATE_CHECK';\r\nconst RATE_CHECK_FETCHED = 'RATE_CHECK_FETCHED';\r\nconst CLEAR_RATE_CHECK = 'CLEAR_RATE_CHECK';\r\nconst UPDATE_RATE_CHECK_FEEDBACK = 'UPDATE_RATE_CHECK_FEEDBACK';\r\nconst SEND_RATE_CHECK_FEEDBACK = 'SEND_RATE_CHECK_FEEDBACK';\r\nconst SEND_LOAD_RATE_CHECK_FEEDBACK = 'SEND_LOAD_RATE_CHECK_FEEDBACK';\r\nconst RATE_CHECK_FEEDBACK_RESPONSE = 'RATE_CHECK_FEEDBACK_RESPONSE';\r\nconst CLEAR_RATE_CHECK_FEEDBACK = 'CLEAR_RATE_CHECK_FEEDBACK';\r\nconst FETCH_LOAD_RATE_CHECK_HISTORY = 'FETCH_LOAD_RATE_CHECK_HISTORY';\r\nconst FETCH_RATE_CHECK_HISTORY = 'FETCH_RATE_CHECK_HISTORY';\r\nconst RATE_CHECK_HISTORY_FETCHED = 'RATE_CHECK_HISTORY_FETCHED';\r\n\r\nexport type RateCheckResponse = Response;\r\n\r\ninterface FetchRateCheck extends Action {\r\n request: RateCheckRequest;\r\n}\r\n\r\ninterface FetchRateCheckHistory extends FetchRateCheck {\r\n id: string;\r\n}\r\n\r\ntype FetchRateCheckResponse = ResponseAction;\r\n\r\ninterface SetFeedbackAction extends Action {\r\n newFeedback: PartialRateCheckFeedback | undefined;\r\n rateCheckID: string;\r\n}\r\n\r\ninterface SendRateCheckFeedbackAction extends Action {\r\n feedback: RateCheckFeedback;\r\n rateCheckID: string;\r\n response: RateCheck;\r\n archivingFlowID: string | undefined;\r\n}\r\n\r\ninterface FetchLoadRateCheckHistory extends LoadAction {\r\n archivingFlowID: string | undefined;\r\n}\r\n\r\nexport type RateCheckHistoryResponse = { revenues: RateCheckRevenueData[]; id: string; success: boolean };\r\n\r\nexport interface RateCheckHistory {\r\n revenues: RateCheckRevenueData[];\r\n fuelCost: number;\r\n tollCost: number;\r\n mpg: number;\r\n mileage: number;\r\n}\r\n\r\ninterface ClearRateCheckAction extends Action {\r\n rateCheckID: string;\r\n}\r\n\r\nexport interface RateCheckHistoryInformation {\r\n data: RateCheckRevenueResponse | undefined;\r\n isSuccess: boolean | undefined;\r\n isLoading: boolean;\r\n timeAdded: number;\r\n}\r\n\r\nexport interface RateCheckState extends BaseState {\r\n rateCheck: RateCheck | undefined;\r\n rateCheckError: ApiError | undefined;\r\n feedback: RateCheckFeedbackCollection;\r\n request: RateCheckRequest | undefined;\r\n loadRateCheckID: string | undefined;\r\n history: {\r\n [id: string]: RateCheckHistoryInformation;\r\n };\r\n historical: {\r\n [id: string]: RateCheckHistoryInformation;\r\n };\r\n negotiationStrength?: NegotiationStrength;\r\n backhaulRateDifference?: number;\r\n rateCheckAverage?: RateCheckAverageResponse;\r\n isLoadingRateCheckAverage: boolean;\r\n}\r\n\r\nexport const fetchRateCheck = (request: RateCheckRequest): FetchRateCheck => ({\r\n type: FETCH_RATE_CHECK,\r\n request: request,\r\n});\r\n\r\nexport const fetchRateCheckHistory = (request: RateCheckRequest): FetchRateCheckHistory => ({\r\n type: FETCH_RATE_CHECK_HISTORY,\r\n request: request,\r\n id: serializeRequest(request),\r\n});\r\n\r\nexport const fetchLoadRateCheckHistory = (\r\n loadID: string,\r\n archivingFlowID: string | undefined\r\n): FetchLoadRateCheckHistory => ({\r\n type: FETCH_LOAD_RATE_CHECK_HISTORY,\r\n loadID: loadID,\r\n archivingFlowID: archivingFlowID,\r\n});\r\n\r\nexport const clearRateCheck = (): Action => ({\r\n type: CLEAR_RATE_CHECK,\r\n});\r\n\r\nexport const updateRateCheckFeedback = (newFeedback: RateCheckFeedback, rateCheckID: string): SetFeedbackAction => ({\r\n type: UPDATE_RATE_CHECK_FEEDBACK,\r\n newFeedback: newFeedback,\r\n rateCheckID: rateCheckID,\r\n});\r\n\r\nexport const clearRateCheckFeedback = (rateCheckID: string): ClearRateCheckAction => ({\r\n type: CLEAR_RATE_CHECK_FEEDBACK,\r\n rateCheckID: rateCheckID,\r\n});\r\n\r\nexport const sendRateCheckFeedback = (\r\n rateCheckID: string,\r\n feedback: RateCheckFeedback,\r\n response: RateCheck\r\n): SendRateCheckFeedbackAction => ({\r\n type: SEND_RATE_CHECK_FEEDBACK,\r\n rateCheckID: rateCheckID,\r\n feedback: feedback,\r\n response: response,\r\n archivingFlowID: undefined,\r\n});\r\n\r\nexport const sendLoadRateCheckFeedback = (\r\n rateCheckID: string,\r\n feedback: RateCheckFeedback,\r\n response: RateCheck,\r\n archivingFlowID: string | undefined\r\n): SendRateCheckFeedbackAction => ({\r\n type: SEND_LOAD_RATE_CHECK_FEEDBACK,\r\n rateCheckID: rateCheckID,\r\n feedback: feedback,\r\n response: response,\r\n archivingFlowID: archivingFlowID,\r\n});\r\n\r\nconst fetchMarketRankingsAction = createApiAction('FETCH_MARKET_RANKINGS');\r\nconst fetchRateCheckHistoricalAction = createApiActionWithFetchData<\r\n RateCheckRequest & { id: string },\r\n RateCheckHistory\r\n>('FETCH_RATE_CHECK_HISTORICAL');\r\nconst fetchRateCheckAverageAction = createApiAction(\r\n 'FETCH_RATECHECK_AVERAGE_IN_PERIOD'\r\n);\r\n\r\nexport const fetchMarketRankings = (request: MarketRankingRequest) => fetchMarketRankingsAction.fetchAction(request);\r\nexport const fetchRateCheckHistorical = (request: RateCheckRequest) =>\r\n fetchRateCheckHistoricalAction.fetchAction({ ...request, id: serializeRequest(request) });\r\nexport const fetchRateCheckAverage = (request: RateCheckAverageRequest) =>\r\n fetchRateCheckAverageAction.fetchAction(request);\r\n\r\nexport const initialFeedbackState: Readonly = {\r\n expectedRate: undefined,\r\n isLoading: false,\r\n isRateCheckAccurate: undefined,\r\n isSubmitted: false,\r\n isSuccess: false,\r\n response: undefined,\r\n timeAdded: 0,\r\n request: undefined,\r\n loadID: undefined,\r\n};\r\n\r\nconst initialState: Readonly = {\r\n isLoading: false,\r\n rateCheckError: undefined,\r\n feedback: {},\r\n request: undefined,\r\n loadRateCheckID: undefined,\r\n rateCheck: undefined,\r\n history: {},\r\n historical: {},\r\n isLoadingRateCheckAverage: false,\r\n};\r\n\r\nconst createInitialRateCheckHistory = (): RateCheckHistoryInformation => ({\r\n data: undefined,\r\n isSuccess: undefined,\r\n isLoading: true,\r\n timeAdded: Date.now(),\r\n});\r\n\r\ntype ResponseWithRateCheckID = ResponseAction<{}> & {\r\n rateCheckID: string;\r\n};\r\n\r\nconst sendFeedbackReducerCase = (\r\n state: Readonly,\r\n { rateCheckID, feedback }: SendRateCheckFeedbackAction\r\n) => {\r\n state.feedback[rateCheckID] = state.feedback[rateCheckID]\r\n ? {\r\n ...state.feedback[rateCheckID],\r\n ...feedback,\r\n isLoading: true,\r\n isSubmitted: true,\r\n }\r\n : newFeedback({ ...feedback, isLoading: true, isSubmitted: true });\r\n};\r\n\r\nexport const rateCheckReducer = createReducer(initialState, {\r\n [RATE_CHECK_FETCHED]: (state, { response }: FetchRateCheckResponse) => {\r\n state.isLoading = false;\r\n state.rateCheck = response.payload;\r\n state.rateCheckError = response.error;\r\n },\r\n\r\n [FETCH_RATE_CHECK]: (state, { request }: FetchRateCheck) => {\r\n state.rateCheck = undefined;\r\n state.isLoading = true;\r\n state.rateCheckError = undefined;\r\n state.request = request;\r\n state.loadRateCheckID = undefined;\r\n state.feedback = filterOldAndFailed(state.feedback);\r\n },\r\n\r\n [LOAD_RATE_CHECK_FETCHED]: (state, { loadID, response }: LoadRateCheckResponseAction) => {\r\n state.rateCheck = response.payload;\r\n state.loadRateCheckID = loadID;\r\n state.feedback = filterOldAndFailed(state.feedback);\r\n },\r\n\r\n [UPDATE_RATE_CHECK_FEEDBACK]: (state, { newFeedback, rateCheckID }: SetFeedbackAction) => {\r\n if (state.feedback[rateCheckID]) {\r\n state.feedback[rateCheckID] = { ...state.feedback[rateCheckID], ...newFeedback };\r\n } else {\r\n // If there is not feedback for this request yet, we need to set the request/load id and response\r\n state.feedback[rateCheckID] = { ...initialFeedbackState, ...newFeedback, timeAdded: Date.now() };\r\n }\r\n },\r\n\r\n [SEND_RATE_CHECK_FEEDBACK]: sendFeedbackReducerCase,\r\n [SEND_LOAD_RATE_CHECK_FEEDBACK]: sendFeedbackReducerCase,\r\n\r\n [RATE_CHECK_FEEDBACK_RESPONSE]: (state, { response, rateCheckID }: ResponseWithRateCheckID) => {\r\n state.feedback[rateCheckID] = {\r\n ...state.feedback[rateCheckID],\r\n isLoading: false,\r\n isSuccess: response.success,\r\n };\r\n },\r\n\r\n [CLEAR_RATE_CHECK_FEEDBACK]: (state, { rateCheckID }: ClearRateCheckAction) => {\r\n state.feedback = pickBy(state.feedback, (value, key) => key !== rateCheckID);\r\n },\r\n\r\n [CLEAR_RATE_CHECK]: (state) => ({\r\n ...initialState,\r\n feedback: state.feedback,\r\n history: state.history,\r\n }),\r\n\r\n [FETCH_LOAD_RATE_CHECK_HISTORY]: (state, action: LoadAction) => {\r\n state.history = { ...filterOldAndFailed(state.history), [action.loadID]: createInitialRateCheckHistory() };\r\n },\r\n\r\n [FETCH_RATE_CHECK_HISTORY]: (state, action: FetchRateCheckHistory) => {\r\n state.history = { ...filterOldAndFailed(state.history), [action.id]: createInitialRateCheckHistory() };\r\n },\r\n\r\n [RATE_CHECK_HISTORY_FETCHED]: (state, { revenues, id, success }: RateCheckHistoryResponse) => {\r\n if (!state.history[id]) {\r\n state.history[id] = createInitialRateCheckHistory();\r\n }\r\n state.history[id].isSuccess = success;\r\n state.history[id].isLoading = false;\r\n if (success) {\r\n state.history[id].data = parseRateCheckHistory(revenues, state.rateCheck);\r\n }\r\n },\r\n\r\n [fetchMarketRankingsAction.responseType]: (state, action: ResponseAction) => {\r\n if (action.response.success && action.response.payload) {\r\n const { negotiationStrength, backhaulRateDifference } = action.response.payload;\r\n state.negotiationStrength = negotiationStrength;\r\n state.backhaulRateDifference = backhaulRateDifference;\r\n }\r\n },\r\n [fetchRateCheckHistoricalAction.fetchType]: (state, action) => {\r\n state.historical = { ...filterOldAndFailed(state.historical), [action.data.id]: createInitialRateCheckHistory() };\r\n },\r\n [fetchRateCheckHistoricalAction.responseType]: (state, action: ResponseAction) => {\r\n const { id } = action.fetchData;\r\n const { success, payload } = action.response;\r\n if (!state.historical[id]) {\r\n state.historical[id] = createInitialRateCheckHistory();\r\n }\r\n state.historical[id].isSuccess = success;\r\n state.historical[id].isLoading = false;\r\n if (success && payload) {\r\n state.historical[id].data = parseRateCheckHistory(payload.revenues, state.rateCheck);\r\n }\r\n },\r\n [fetchRateCheckAverageAction.fetchType]: (state) => {\r\n state.isLoadingRateCheckAverage = true;\r\n state.rateCheckAverage = undefined;\r\n },\r\n [fetchRateCheckAverageAction.responseType]: (state, action) => {\r\n state.isLoadingRateCheckAverage = false;\r\n if (action.response.success && action.response.payload) {\r\n state.rateCheckAverage = action.response.payload;\r\n }\r\n },\r\n});\r\n\r\nconst feedbackResponse = (rateCheckID: string) =>\r\n map$((response) => ({\r\n type: RATE_CHECK_FEEDBACK_RESPONSE,\r\n rateCheckID: rateCheckID,\r\n response: response,\r\n }));\r\n\r\nconst sendRateCheckFeedback$ = (action$: ActionsObservable, rateCheckClient: RateCheckClient) =>\r\n action$\r\n .ofType(SEND_RATE_CHECK_FEEDBACK)\r\n .pipe(\r\n mergeMap$(({ rateCheckID, feedback, response }: SendRateCheckFeedbackAction) =>\r\n rateCheckClient.postRateCheckFeedback$(createFeedback(feedback, response)).pipe(feedbackResponse(rateCheckID))\r\n )\r\n );\r\n\r\nconst sendLoadRateCheckFeedback$ = (action$: ActionsObservable, rateCheckClient: RateCheckClient) =>\r\n action$\r\n .ofType(SEND_LOAD_RATE_CHECK_FEEDBACK)\r\n .pipe(\r\n mergeMap$(({ rateCheckID, feedback, response, archivingFlowID }: SendRateCheckFeedbackAction) =>\r\n rateCheckClient\r\n .postLoadRateCheckFeedback$(createFeedback(feedback, response), rateCheckID, archivingFlowID)\r\n .pipe(feedbackResponse(rateCheckID))\r\n )\r\n );\r\n\r\nconst fetchLoadRateCheckHistory$ = (action$: ActionsObservable, rateCheckClient: RateCheckClient) =>\r\n action$.ofType(FETCH_LOAD_RATE_CHECK_HISTORY).pipe(\r\n mergeMap$((action: FetchLoadRateCheckHistory) =>\r\n rateCheckClient\r\n .getLoadRateCheckHistory$(createLoadRateCheckHistoryRequest(), action.loadID, action.archivingFlowID)\r\n .pipe(\r\n map$((response: ApiResponse123) =>\r\n response.result(\r\n (data) => ({\r\n type: RATE_CHECK_HISTORY_FETCHED,\r\n revenues: data.revenues,\r\n id: action.loadID,\r\n success: true,\r\n }),\r\n () => ({ type: RATE_CHECK_HISTORY_FETCHED, success: false, id: action.loadID })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\nconst fetchRateCheck$ = (action$: ActionsObservable, rateCheckClient: RateCheckClient) =>\r\n action$\r\n .ofType(FETCH_RATE_CHECK)\r\n .pipe(\r\n mergeMap$((rateCheckRequest: FetchRateCheck) =>\r\n merge$(\r\n rateCheckClient\r\n .fetchRateCheck$(rateCheckRequest.request)\r\n .pipe(map$((response: ApiResponse123) => response.resultDataResponse(RATE_CHECK_FETCHED)))\r\n )\r\n )\r\n );\r\n\r\nconst fetchRateCheckHistory$ = (action$: ActionsObservable, rateCheckClient: RateCheckClient) =>\r\n action$.ofType(FETCH_RATE_CHECK_HISTORY).pipe(\r\n mergeMap$((rateCheckRequest: FetchRateCheckHistory) =>\r\n merge$(\r\n rateCheckClient.getRateCheckHistory$(createRateCheckHistoryRequest(rateCheckRequest.request)).pipe(\r\n map$((response: ApiResponse123) =>\r\n response.result(\r\n (data) => ({\r\n type: RATE_CHECK_HISTORY_FETCHED,\r\n revenues: data.revenues,\r\n id: rateCheckRequest.id,\r\n success: true,\r\n }),\r\n () => ({ type: RATE_CHECK_HISTORY_FETCHED, success: false, id: rateCheckRequest.id })\r\n )\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\nexport const createRateChecksEpic = (api: Api) => {\r\n const rateCheckClient = new RateCheckClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchRateCheck$(action$, rateCheckClient),\r\n fetchRateCheckHistory$(action$, rateCheckClient),\r\n fetchLoadRateCheckHistory$(action$, rateCheckClient),\r\n sendRateCheckFeedback$(action$, rateCheckClient),\r\n sendLoadRateCheckFeedback$(action$, rateCheckClient),\r\n fetchMarketRankingsAction.createEpic$(action$, rateCheckClient.getMarketRanking$),\r\n fetchRateCheckHistoricalAction.createEpic$(action$, (request) =>\r\n rateCheckClient.getRateCheckHistory$(createRateCheckHistoricalRequest(request))\r\n ),\r\n fetchRateCheckAverageAction.createEpic$(action$, rateCheckClient.getRateCheckAverage$)\r\n );\r\n};\r\n\r\nexport const newFeedback = (partialFeedback: Partial) => ({\r\n ...initialFeedbackState,\r\n ...partialFeedback,\r\n timeAdded: Date.now(),\r\n});\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { LocationsClient } from '@common/client';\r\nimport { RecentLocation, RecentLocationType, RecentSearchLocationsResponse } from '@common/model';\r\nimport { createApiAction } from '@common/redux/Base';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst recentLocationsAction = createApiAction(\r\n 'FETCH_RECENT_LOCATIONS'\r\n);\r\n\r\nexport const fetchRecentLocations = (locationType?: RecentLocationType[]) =>\r\n recentLocationsAction.fetchAction(locationType);\r\n\r\nexport interface RecentSearchLocationsState {\r\n recentLocations: RecentLocation[];\r\n}\r\n\r\nconst initialState: RecentSearchLocationsState = {\r\n recentLocations: [],\r\n};\r\n\r\nexport const recentSearchLocationsReducer = createReducer(\r\n initialState,\r\n recentLocationsAction.completeCase((state, action) => {\r\n if (action.response.success && action.response.payload && action.response.payload.locations) {\r\n state.recentLocations = action.response.payload.locations;\r\n }\r\n })\r\n);\r\n\r\nexport const createRecentSearchLocationsEpic = (api: Api) => {\r\n const locationsClient = new LocationsClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(recentLocationsAction.createEpic$(action$, locationsClient.fetchRecentLocations$));\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api, ApiError } from '@common/api';\r\nimport { RouteClient } from '@common/client';\r\nimport { Geolocation, RoutePoints, StopsLocation } from '@common/model';\r\nimport { BaseState, createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\ninterface FetchRouteData {\r\n origin: Geolocation;\r\n destination: Geolocation;\r\n archivingFlowID: string | undefined;\r\n}\r\n\r\ninterface PostRouteData {\r\n stops: StopsLocation[];\r\n}\r\n\r\nexport const fetchRouteAction = createApiAction('FETCH_ROUTE');\r\nconst postRouteAction = createApiAction('POST_ROUTE');\r\nexport const fetchRoute = (origin: Geolocation, destination: Geolocation, archivingFlowID: string | undefined) =>\r\n fetchRouteAction.fetchAction({ origin: origin, destination: destination, archivingFlowID: archivingFlowID });\r\nexport const postRoute = (data: PostRouteData) => postRouteAction.fetchAction(data);\r\n\r\nexport interface RouteState extends BaseState {\r\n route?: RoutePoints;\r\n error: ApiError | undefined;\r\n}\r\n\r\nconst initialState: RouteState = { isLoading: false, error: undefined };\r\n\r\nexport const routeReducer = createMergedReducer(initialState, [\r\n fetchRouteAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n }),\r\n fetchRouteAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.route = action.response.payload;\r\n } else {\r\n state.error = action.response.error;\r\n }\r\n state.isLoading = false;\r\n }),\r\n postRouteAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.route = action.response.payload;\r\n } else {\r\n state.error = action.response.error;\r\n }\r\n state.isLoading = false;\r\n }),\r\n postRouteAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n }),\r\n]);\r\n\r\nexport const createRouteEpic = (api: Api) => {\r\n const routeClient = new RouteClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchRouteAction.createEpic$(action$, ({ origin, destination, archivingFlowID }) =>\r\n routeClient.fetchRoute$({ origin: origin, destination: destination }, true, archivingFlowID)\r\n ),\r\n postRouteAction.createEpic$(action$, (data) => routeClient.postRoutePath$({ route: data }))\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$, of as of$ } from 'rxjs';\r\nimport { flatMap as flatMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiResponse123 } from '@common/api';\r\nimport { SupportClient } from '@common/client';\r\nimport { ServiceCode } from '@common/model';\r\n\r\nconst SHOULD_REQUEST_SERVICE_CODE = 'SHOULD_REQUEST_SERVICE_CODE';\r\nconst SHOULD_DISPOSE_SERVICE_CODE = 'SHOULD_DISPOSE_SERVICE_CODE';\r\nconst REQUEST_SERVICE_CODE_REQUEST_COMPLETED = 'REQUEST_SERVICE_CODE_REQUEST_COMPLETED';\r\n\r\nexport interface ServiceCodeState {\r\n serviceCode?: string;\r\n isLoadingServiceCode: boolean;\r\n}\r\n\r\ninterface ServiceCodeRequestCompleted extends Action {\r\n serviceCode?: string;\r\n success: boolean;\r\n}\r\n\r\ninterface ServiceCodeRequested extends Action {\r\n isUserSignedIn: boolean;\r\n}\r\n\r\nexport const serviceCodeRequestCompleted = (success: boolean, serviceCode?: string): ServiceCodeRequestCompleted => ({\r\n type: REQUEST_SERVICE_CODE_REQUEST_COMPLETED,\r\n serviceCode: serviceCode,\r\n success: success,\r\n});\r\n\r\nexport const shouldRequestServiceCode = (isUserSignedIn: boolean): ServiceCodeRequested => {\r\n return {\r\n type: SHOULD_REQUEST_SERVICE_CODE,\r\n isUserSignedIn: isUserSignedIn,\r\n };\r\n};\r\n\r\nexport const shouldDisposeServiceCode = (): Action => ({\r\n type: SHOULD_DISPOSE_SERVICE_CODE,\r\n});\r\n\r\nconst initialState: ServiceCodeState = {\r\n serviceCode: '',\r\n isLoadingServiceCode: false,\r\n};\r\n\r\nexport const ServiceCodeReducer = (state: ServiceCodeState = initialState, action: Action): ServiceCodeState => {\r\n switch (action.type) {\r\n case SHOULD_REQUEST_SERVICE_CODE: {\r\n return { ...state, isLoadingServiceCode: true };\r\n }\r\n case SHOULD_DISPOSE_SERVICE_CODE: {\r\n return { ...state, serviceCode: '' };\r\n }\r\n case REQUEST_SERVICE_CODE_REQUEST_COMPLETED: {\r\n const serviceCodeAction = action as ServiceCodeRequestCompleted;\r\n return {\r\n ...state,\r\n serviceCode: serviceCodeAction.serviceCode,\r\n isLoadingServiceCode: false,\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst requestServiceCode$ = (supportClient: SupportClient) => {\r\n return supportClient.requestServiceCode$().pipe(\r\n flatMap$((response: ApiResponse123) => {\r\n return response.result(\r\n (data) => of$(serviceCodeRequestCompleted(true, data.serviceCode)),\r\n () => of$(serviceCodeRequestCompleted(true))\r\n );\r\n })\r\n );\r\n};\r\n\r\nconst serviceCodeRequest$ = (\r\n action$: ActionsObservable,\r\n unAuthenticatedSupportClient: SupportClient,\r\n authenticatedSupportClient: SupportClient\r\n) => {\r\n return action$\r\n .ofType(SHOULD_REQUEST_SERVICE_CODE)\r\n .pipe(\r\n flatMap$((action: ServiceCodeRequested) =>\r\n requestServiceCode$(action.isUserSignedIn ? authenticatedSupportClient : unAuthenticatedSupportClient)\r\n )\r\n );\r\n};\r\n\r\nexport const createServiceCodeEpic = (rawApi: Api, authenticatedApi: Api) => {\r\n const unAuthenticatedSupportClient = new SupportClient(rawApi);\r\n const authenticatedSupportClient = new SupportClient(authenticatedApi);\r\n return (action$: ActionsObservable) =>\r\n merge$(serviceCodeRequest$(action$, unAuthenticatedSupportClient, authenticatedSupportClient));\r\n};\r\n","import { forEach } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$, Observable, of as of$ } from 'rxjs';\r\nimport { flatMap as flatMap$, map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { ApiErrorCode } from '@common/api/ApiErrorCode';\r\nimport { SettingsClient } from '@common/client/SettingsClient';\r\nimport {\r\n AlertSettings,\r\n Config,\r\n EmailVerificationSettings,\r\n Flag,\r\n RoutesSettings,\r\n SettingsChangeFeedResponse,\r\n SystemSetting,\r\n SystemSettingResultResponseAction,\r\n TruckLocatorSettings,\r\n UpdateSystemSetting,\r\n UserSettings,\r\n} from '@common/model';\r\nimport { createApiAction, createApiActionWithFetchData, Response, ResponseAction } from '@common/redux/Base';\r\nimport { simpleApiEpicToAction, standardApiEpic } from '@common/redux/epic/EpicHelper';\r\nimport {\r\n DEFAULT_TL_SETTINGS,\r\n initialSystemSettingsState,\r\n isSystemSettingConfig,\r\n RSResponse,\r\n SETTINGS_REDUCER_KEY,\r\n SettingsState,\r\n TLSettingsResponse,\r\n} from '@common/redux/epic/SettingsStateHelper';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\nimport { parseValueFrom } from '@common/util/parser/ParserUtils';\r\n\r\ninterface PartialStoreState {\r\n [SETTINGS_REDUCER_KEY]: SettingsState;\r\n}\r\n\r\nconst FETCH_USER_SETTINGS = 'FETCH_USER_SETTINGS';\r\nconst FETCH_ALERT_SETTINGS = 'FETCH_ALERT_SETTINGS';\r\nconst FETCH_EMAIL_VERIFICATION_SETTINGS = 'FETCH_EMAIL_VERIFICATION_SETTINGS';\r\n\r\nconst FETCH_ROUTES_SETTINGS = 'FETCH_ROUTES_SETTINGS';\r\nconst ROUTES_SETTINGS_FETCHED = 'ROUTES_SETTINGS_FETCHED';\r\nconst UPDATE_ROUTES_SETTINGS = 'UPDATE_ROUTES_SETTINGS';\r\nconst ROUTES_SETTINGS_UPDATED = 'ROUTES_SETTINGS_UPDATED';\r\n\r\nconst FETCH_TL_SETTINGS = 'FETCH_TL_SETTINGS';\r\nconst TL_SETTINGS_FETCHED = 'TL_SETTINGS_FETCHED';\r\nconst UPDATE_TL_SETTINGS = 'UPDATE_TL_SETTINGS';\r\nconst USER_SETTINGS_FETCHED = 'USER_SETTINGS_FETCHED';\r\nconst ALERT_SETTINGS_FETCHED = 'ALERT_SETTINGS_FETCHED';\r\nconst EMAIL_VERIFICATION_SETTINGS_FETCHED = 'EMAIL_VERIFICATION_SETTINGS_FETCHED';\r\nconst UPDATE_USER_SETTINGS = 'UPDATE_USER_SETTINGS';\r\n\r\nexport type UserSettingsResponse = Response;\r\nexport type AlertSettingsResponse = Response;\r\nexport type EmailVerificationSettingsResponse = Response;\r\n\r\ninterface RoutesSettingsResponse extends Action {\r\n settings: RSResponse;\r\n}\r\n\r\nexport interface TruckLocatorResponse extends Action {\r\n settings: TLSettingsResponse;\r\n}\r\n\r\ninterface FetchUserSettingsAction extends Action {\r\n forceRefresh: boolean;\r\n}\r\n\r\ninterface FetchAlertSettingsAction extends Action {\r\n forceRefresh: boolean;\r\n}\r\n\r\ninterface AlertSettingsActionResponse extends Action {\r\n response: AlertSettingsResponse;\r\n}\r\n\r\ninterface UpdateSettings extends Action {\r\n settings: Partial;\r\n}\r\n\r\ninterface UserSettingsActionResponse extends Action {\r\n response: UserSettingsResponse;\r\n}\r\n\r\ninterface EmailVerificationSettingsActionResponse extends Action {\r\n response: EmailVerificationSettingsResponse;\r\n}\r\n\r\ninterface UpdateRoutesSettings extends Action {\r\n settings: RoutesSettings;\r\n}\r\n\r\ntype UpdateTLSettings = UpdateSettings;\r\ntype UpdateWizardSettings = UpdateSettings;\r\n\r\nexport const fetchRoutesSettings = (): Action => ({\r\n type: FETCH_ROUTES_SETTINGS,\r\n});\r\n\r\nexport const fetchUserSettings = (forceRefresh: boolean = false): FetchUserSettingsAction => ({\r\n type: FETCH_USER_SETTINGS,\r\n forceRefresh: forceRefresh,\r\n});\r\n\r\nexport const fetchAlertSettings = (forceRefresh: boolean = false): FetchAlertSettingsAction => ({\r\n type: FETCH_ALERT_SETTINGS,\r\n forceRefresh: forceRefresh,\r\n});\r\n\r\nexport const fetchEmailVerificationSettings = (): Action => ({\r\n type: FETCH_EMAIL_VERIFICATION_SETTINGS,\r\n});\r\n\r\nexport const fetchTruckLocatorSettings = (): Action => ({\r\n type: FETCH_TL_SETTINGS,\r\n});\r\n\r\nexport const updateRoutesSettings = (settings: RoutesSettings): UpdateRoutesSettings => ({\r\n type: UPDATE_ROUTES_SETTINGS,\r\n settings: settings,\r\n});\r\nexport const updateTruckLocatorSettings = (settings: Partial): UpdateTLSettings => ({\r\n type: UPDATE_TL_SETTINGS,\r\n settings: settings,\r\n});\r\n\r\nexport const updateWizardSettings = (settings: Partial): UpdateWizardSettings => ({\r\n type: UPDATE_USER_SETTINGS,\r\n settings: settings,\r\n});\r\n\r\nconst getSystemSettingAction = createApiActionWithFetchData('GET_SYSTEM_SETTING');\r\nexport const getSystemSetting = getSystemSettingAction.fetchAction;\r\nconst updateSystemSettingAction = createApiActionWithFetchData('UPDATE_SYSTEM_SETTING');\r\nexport const updateSystemSetting = updateSystemSettingAction.fetchAction;\r\nconst syncAllSystemSettingsAction = createApiAction<{ shouldUpdateOnly: boolean }, SettingsChangeFeedResponse>(\r\n 'SYNC_ALL_SYSTEM_SETTINGS'\r\n);\r\nexport const syncAllSystemSettings = (shouldUpdateOnly: boolean = false) =>\r\n syncAllSystemSettingsAction.fetchAction({ shouldUpdateOnly: shouldUpdateOnly });\r\n\r\nconst routesSettingsResponse = (response: RSResponse): RoutesSettingsResponse => ({\r\n type: ROUTES_SETTINGS_FETCHED,\r\n settings: response,\r\n});\r\n\r\nconst tlSettingsResponse = (response: TLSettingsResponse): TruckLocatorResponse => ({\r\n type: TL_SETTINGS_FETCHED,\r\n settings: response,\r\n});\r\nconst userSettingsResponse = (response: UserSettingsResponse): UserSettingsActionResponse => ({\r\n type: USER_SETTINGS_FETCHED,\r\n response: response,\r\n});\r\n\r\nconst alertSettingsResponse = (response: AlertSettingsResponse): AlertSettingsActionResponse => ({\r\n type: ALERT_SETTINGS_FETCHED,\r\n response: response,\r\n});\r\n\r\nconst emailVerificationSettingsResponse = (\r\n response: EmailVerificationSettingsResponse\r\n): EmailVerificationSettingsActionResponse => ({\r\n type: EMAIL_VERIFICATION_SETTINGS_FETCHED,\r\n response: response,\r\n});\r\n\r\nconst updateRouteSettings = (state: SettingsState, action: RoutesSettingsResponse) => {\r\n state.routesSettings = action.settings;\r\n state.isLoading = false;\r\n};\r\n\r\nconst isActionPermissionDeniedOrUnverifiedEmail = (action: ResponseAction) => {\r\n return (\r\n !action.response.success &&\r\n action.response.error &&\r\n (action.response.error.code === ApiErrorCode.EMAIL_NOT_VERIFIED ||\r\n action.response.error.code === ApiErrorCode.ACTION_PERMISSION_DENIED)\r\n );\r\n};\r\n\r\nconst userSettingsFetched = (state: SettingsState, action: UserSettingsActionResponse): SettingsState => {\r\n if (isActionPermissionDeniedOrUnverifiedEmail(action)) {\r\n return {\r\n ...state,\r\n isEmailVerified: false,\r\n isLoadingUserSettings: false,\r\n };\r\n }\r\n return {\r\n ...state,\r\n userSettings: action.response.payload || {\r\n hasCompany: false,\r\n hasTruck: false,\r\n liveLoadRefreshInterval: 30,\r\n },\r\n isEmailVerified: true, //If no pending action is triggered, then email is verified.\r\n isLoadingUserSettings: false,\r\n };\r\n};\r\n\r\nconst emailVerificationSettingsFetched = (\r\n state: SettingsState,\r\n action: EmailVerificationSettingsActionResponse\r\n): SettingsState => {\r\n if (isActionPermissionDeniedOrUnverifiedEmail(action)) {\r\n return {\r\n ...state,\r\n isEmailVerified: false,\r\n isLoadingEmailVerificationSettings: false,\r\n };\r\n }\r\n return {\r\n ...state,\r\n isEmailVerified: action.response.payload?.emailIsValidated,\r\n isLoadingEmailVerificationSettings: false,\r\n };\r\n};\r\n\r\nconst initialState: SettingsState = {\r\n isLoading: false,\r\n isLoadingUserSettings: false,\r\n isLoadingAlertSettings: false,\r\n isLoadingEmailVerificationSettings: false,\r\n isLoadingSystemSetting: false,\r\n systemSetting: initialSystemSettingsState,\r\n changeFeedToken: undefined,\r\n};\r\n\r\nconst updateSystemSettingState = (state: SettingsState, setting: SystemSetting, value: unknown) => {\r\n if (value === undefined || value === null) {\r\n return;\r\n }\r\n // Note: If state.systemSetting[setting] is not defined, we default to the setting's initial state.\r\n // In practice, it should always be defined, but since this code is crucial, we implemented this\r\n // failsafe to at least prevent a crash from occurring if something goes very wrong.\r\n if (isSystemSettingConfig(setting)) {\r\n const existingSystemConfigState = state.systemSetting[setting] ?? initialSystemSettingsState[setting];\r\n state.systemSetting = {\r\n ...state.systemSetting,\r\n [setting]: {\r\n ...existingSystemConfigState,\r\n value: {\r\n ...existingSystemConfigState.value,\r\n ...safeSpread(value),\r\n },\r\n },\r\n };\r\n } else {\r\n state.systemSetting[setting] = {\r\n ...(state.systemSetting[setting] ?? initialSystemSettingsState[setting]),\r\n value: !!value,\r\n };\r\n }\r\n};\r\n\r\nexport const settingsReducer = createMergedReducer(initialState, [\r\n getSystemSettingAction.initiateCase((state, action) => {\r\n state.systemSetting[action.data].isLoading = true;\r\n }),\r\n getSystemSettingAction.completeCase((state, action) => {\r\n if (action.fetchData) {\r\n const typedAction = action as SystemSettingResultResponseAction;\r\n state.systemSetting[typedAction.fetchData].isLoading = false;\r\n if (typedAction.response.success) {\r\n updateSystemSettingState(state, typedAction.fetchData, typedAction.response.payload?.value);\r\n }\r\n }\r\n }),\r\n\r\n updateSystemSettingAction.initiateCase((state, action) => {\r\n state.systemSetting[action.data.key].isUpdating = true;\r\n state.systemSetting[action.data.key].wasUpdated = undefined;\r\n }),\r\n updateSystemSettingAction.completeCase((state, action) => {\r\n if (action.fetchData?.key) {\r\n state.systemSetting[action.fetchData.key].isUpdating = false;\r\n state.systemSetting[action.fetchData.key].wasUpdated = action.response.success;\r\n if (action.response.success) {\r\n state.systemSetting[action.fetchData.key].value = action.fetchData.value;\r\n }\r\n }\r\n }),\r\n syncAllSystemSettingsAction.initiateCase((state) => {\r\n state.isLoadingSystemSetting = true;\r\n }),\r\n syncAllSystemSettingsAction.completeCase((state, action) => {\r\n state.isLoadingSystemSetting = false;\r\n if (action.response.success) {\r\n state.changeFeedToken = action.response.payload.changeFeedToken;\r\n forEach(action.response.payload.items, ({ name, value }) => {\r\n const systemSetting = parseValueFrom(name, Flag) ?? parseValueFrom(name, Config);\r\n if (systemSetting) {\r\n updateSystemSettingState(state, systemSetting, value);\r\n }\r\n });\r\n }\r\n }),\r\n {\r\n [FETCH_ROUTES_SETTINGS]: (state) => {\r\n state.isLoading = true;\r\n },\r\n [UPDATE_ROUTES_SETTINGS]: (state) => {\r\n state.isLoading = true;\r\n },\r\n [ROUTES_SETTINGS_FETCHED]: updateRouteSettings,\r\n [ROUTES_SETTINGS_UPDATED]: updateRouteSettings,\r\n [FETCH_TL_SETTINGS]: (state) => {\r\n state.truckLocatorSettings = undefined;\r\n state.isLoading = true;\r\n },\r\n [TL_SETTINGS_FETCHED]: (state, action: TruckLocatorResponse) => {\r\n state.truckLocatorSettings = action.settings;\r\n state.isLoading = false;\r\n },\r\n [UPDATE_TL_SETTINGS]: (state) => {\r\n state.truckLocatorUpdatedSettings = undefined;\r\n state.isLoading = true;\r\n },\r\n [FETCH_USER_SETTINGS]: (state) => {\r\n state.userSettings = undefined;\r\n state.isLoadingUserSettings = true;\r\n },\r\n [USER_SETTINGS_FETCHED]: userSettingsFetched,\r\n [UPDATE_USER_SETTINGS]: (state, action: UpdateWizardSettings) => {\r\n const userSettings: UserSettings = { ...state.userSettings, ...action.settings } as UserSettings;\r\n state.userSettings = userSettings;\r\n },\r\n [FETCH_ALERT_SETTINGS]: (state) => {\r\n state.alertSettings = undefined;\r\n state.isLoadingAlertSettings = true;\r\n },\r\n [ALERT_SETTINGS_FETCHED]: (state, action: AlertSettingsActionResponse) => {\r\n state.alertSettings = action.response.payload;\r\n state.isLoadingAlertSettings = false;\r\n },\r\n [FETCH_EMAIL_VERIFICATION_SETTINGS]: (state) => {\r\n state.isLoadingEmailVerificationSettings = true;\r\n },\r\n [EMAIL_VERIFICATION_SETTINGS_FETCHED]: emailVerificationSettingsFetched,\r\n // TEMPORARY FIX --------------\r\n // to be removed by MOB-6142\r\n LOGIN_USER: (state) => {\r\n state.changeFeedToken = undefined;\r\n state.systemSetting = initialSystemSettingsState;\r\n },\r\n EXTERNAL_LOGIN_USER: (state) => {\r\n state.changeFeedToken = undefined;\r\n state.systemSetting = initialSystemSettingsState;\r\n },\r\n // -------------- TEMPORARY FIX\r\n },\r\n]);\r\n\r\nconst fetchTLSettingsAction$ = (action$: ActionsObservable, client: SettingsClient) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_TL_SETTINGS,\r\n client.fetchTruckLocatorSettings$,\r\n tlSettingsResponseSuccess,\r\n () =>\r\n tlSettingsResponse({\r\n success: true,\r\n recordOnServer: false,\r\n payload: DEFAULT_TL_SETTINGS,\r\n })\r\n );\r\n\r\nconst handleRoutesSettingsResponse = (response: ApiResponse123) => {\r\n return response.result(\r\n (data) =>\r\n routesSettingsResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n routesSettingsResponse({\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n};\r\nconst fetchRoutesSettingsAction$ = (action$: ActionsObservable, client: SettingsClient) =>\r\n action$.ofType(FETCH_ROUTES_SETTINGS).pipe(\r\n mergeMap$(() => {\r\n return client.fetchRoutesSettings$().pipe(\r\n map$((response: ApiResponse123) => {\r\n return handleRoutesSettingsResponse(response);\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst updateRoutesSettingsAction$ = (action$: ActionsObservable, client: SettingsClient) =>\r\n action$.ofType(UPDATE_ROUTES_SETTINGS).pipe(\r\n mergeMap$((action: UpdateRoutesSettings) => {\r\n return client.updateRoutesSettings$(action.settings).pipe(\r\n map$((response: ApiResponse123) => {\r\n return handleRoutesSettingsResponse(response);\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst updateTLSettingsAction$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n client: SettingsClient\r\n) =>\r\n action$.ofType(UPDATE_TL_SETTINGS).pipe(\r\n mergeMap$((action: UpdateTLSettings) => {\r\n const truckLocatorState = state$.value.settings?.truckLocatorSettings;\r\n\r\n const settings = getUpdatedTruckLocatorSettings(truckLocatorState, action.settings);\r\n\r\n const updateTruckLocatorSettings$ = (hasSettings: boolean): Observable =>\r\n client.updateTruckLocatorSettings$(settings, hasSettings).pipe(\r\n flatMap$((response) => {\r\n if (response.success) {\r\n return of$(tlSettingsResponseSuccess(response as ApiResponseSuccess));\r\n }\r\n const error = response as ApiError;\r\n if (hasSettings && error.httpStatus === 404) {\r\n return updateTruckLocatorSettings$(false);\r\n }\r\n return of$(tlSettingsResponse({ success: false, recordOnServer: false, error: error }));\r\n })\r\n );\r\n\r\n return updateTruckLocatorSettings$(true);\r\n })\r\n );\r\n\r\nconst getUpdatedTruckLocatorSettings = (\r\n truckLocatorState: TLSettingsResponse | undefined,\r\n settings: Partial\r\n) => {\r\n const recordOnServer = !!truckLocatorState?.recordOnServer;\r\n if (recordOnServer) {\r\n return settings;\r\n }\r\n // When (we think) the server contains no settings yet,\r\n // merge with what we currently have in the client\r\n // before creating (PUTting) a new record\r\n // TODO: It's possible that there is already a record that was created in the meantime (from another window or device)\r\n // in which case we will override the other settings. Need to find a better alternative. [BP]\r\n // TODO: generalize all settings-related logic so it's easy to re-use for all types of settings.\r\n const settingsOnClient = truckLocatorState?.payload;\r\n return { ...settingsOnClient, ...settings };\r\n};\r\n\r\nconst tlSettingsResponseSuccess = (response: ApiResponseSuccess) =>\r\n tlSettingsResponse({\r\n success: true,\r\n recordOnServer: true,\r\n payload: { ...DEFAULT_TL_SETTINGS, ...response.data },\r\n });\r\n\r\nconst userSettingsEpic$ = (client: SettingsClient, action$: ActionsObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_USER_SETTINGS,\r\n (action: FetchUserSettingsAction) => client.fetchUserSettings(action.forceRefresh),\r\n (response) => userSettingsResponse(response)\r\n );\r\n\r\nconst alertSettingsEpic$ = (client: SettingsClient, action$: ActionsObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_ALERT_SETTINGS,\r\n (action: FetchAlertSettingsAction) => client.fetchAlertSettings$(action.forceRefresh),\r\n (response) => alertSettingsResponse(response)\r\n );\r\n\r\nconst emailVerificationSettingsEpic$ = (client: SettingsClient, action$: ActionsObservable) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_EMAIL_VERIFICATION_SETTINGS,\r\n () => client.fetchEmailVerificationSettings$(),\r\n (response) => emailVerificationSettingsResponse(response)\r\n );\r\n\r\nexport const createSettingsEpic = (api: Api) => {\r\n const client = new SettingsClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n fetchTLSettingsAction$(action$, client),\r\n fetchRoutesSettingsAction$(action$, client),\r\n updateTLSettingsAction$(action$, state$, client),\r\n updateRoutesSettingsAction$(action$, client),\r\n userSettingsEpic$(client, action$),\r\n alertSettingsEpic$(client, action$),\r\n emailVerificationSettingsEpic$(client, action$),\r\n getSystemSettingAction.createEpic$(action$, client.getSettingByName$),\r\n updateSystemSettingAction.createEpic$(action$, (data) => client.putSettingsByName$(data.key, data.value)),\r\n syncAllSystemSettingsAction.createEpic$(action$, ({ shouldUpdateOnly }) =>\r\n client.getSettingsChangeFeed$(\r\n shouldUpdateOnly ? state$.value[SETTINGS_REDUCER_KEY]?.changeFeedToken : undefined\r\n )\r\n )\r\n );\r\n};\r\n\r\nconst safeSpread = (value: unknown) => (value !== undefined && typeof value === 'object' ? value : {});\r\n","import { includes } from 'lodash';\r\nimport { StateObservable } from 'redux-observable';\r\n\r\nimport {\r\n AlertSettings,\r\n Config,\r\n ConfigList,\r\n Flag,\r\n LoadSortCategory,\r\n RoutesSettings,\r\n SystemSettingsState,\r\n TruckLocatorSettings,\r\n UserSettings,\r\n} from '@common/model';\r\nimport {\r\n CostPerDaySetting,\r\n DEFAULT_DRIVING_HOURS,\r\n DEFAULT_LOADING_HOURS,\r\n DEFAULT_WORK_DAYS,\r\n} from '@common/model/CostPerDaySettings';\r\nimport { ProfitCalculatorSubMenu } from '@common/model/ProfitCalculatorSettings';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\n\r\nexport const SETTINGS_REDUCER_KEY = 'settings';\r\n\r\nexport const DEFAULT_TL_SETTINGS: TruckLocatorSettings = {\r\n loadSortBy: LoadSortCategory.PICKUP_DATE,\r\n loadSortAsc: true,\r\n mapView: true,\r\n loadAlertMessage: '',\r\n loadWizardStep: 0,\r\n loadWizardCompleted: false,\r\n truckWizardStep: 0,\r\n truckWizardCompleted: false,\r\n};\r\n\r\ninterface SettingsResponse extends Response {\r\n recordOnServer: boolean;\r\n}\r\n\r\nexport type RSResponse = Response;\r\nexport type TLSettingsResponse = SettingsResponse;\r\n\r\nexport interface SettingsState extends BaseState {\r\n routesSettings?: RSResponse;\r\n truckLocatorSettings?: TLSettingsResponse;\r\n truckLocatorUpdatedSettings?: TLSettingsResponse;\r\n isLoadingUserSettings: boolean;\r\n isLoadingAlertSettings: boolean;\r\n isLoadingEmailVerificationSettings: boolean;\r\n userSettings?: UserSettings;\r\n alertSettings?: AlertSettings;\r\n isEmailVerified?: boolean; //Keeping it optional to differ behaviour beteween non initialized and false/true\r\n isLoadingSystemSetting: boolean;\r\n systemSetting: SystemSettingsState;\r\n /** The changeFeedToken returned on the response can be passed back on\r\n * the next call to get all the settings that have changed. */\r\n changeFeedToken: string | undefined;\r\n}\r\n\r\n/** Extract a type-safe state for the settings redux slice from root Epic StateObservable */\r\nexport const getSettingsFromStateObservable = (\r\n stateObservable: StateObservable<{\r\n [reducerKey: string]: SettingsState | any;\r\n }>\r\n) => stateObservable.value[SETTINGS_REDUCER_KEY] as SettingsState;\r\n\r\nexport const initialSystemSettingsState: SystemSettingsState = {\r\n [Flag.BiddingDisabled]: { value: true },\r\n [Flag.BiddingV2Disabled]: { value: true },\r\n [Flag.BookNowDisabled]: { value: true },\r\n [Flag.LoadRateCheckPreviewEnabled]: { value: false },\r\n [Flag.LoadRateCheckPreviewUserDisabled]: { value: false },\r\n [Flag.VendorBiddingDisabled]: { value: true },\r\n [Flag.HideParadeContact]: { value: false },\r\n [Flag.CargoChiefUserDisabled]: { value: false },\r\n [Flag.GreenscreensRateDisabled]: { value: true },\r\n [Flag.DisplaySearchLoadCount]: { value: false },\r\n [Flag.BrokerAcceptsBids]: { value: true },\r\n [Flag.IntegrationCotaEnabled]: { value: false },\r\n [Flag.MessageSoundAlertsEnabled]: { value: false },\r\n [Flag.BookingOptionsEnabled]: { value: false },\r\n [Flag.CarrierOnboardingBannerEnabled]: { value: false },\r\n [Flag.CapacityFinderDisabled]: { value: false },\r\n [Flag.TripBuilderEnabled]: { value: false },\r\n [Flag.LoadPlannerEnabled]: { value: true },\r\n [Flag.LoadLocatorEnabled]: { value: false },\r\n [Flag.BrokerOnboardingLinkUploadEnabled]: { value: false },\r\n [Flag.LoadToTruckRatioEnabled]: { value: false },\r\n [Flag.MyCarrierPortalEnabled]: { value: false },\r\n [Flag.MyCarrierPortalBrokerEnabled]: { value: false },\r\n [Flag.ExpediteAllMarketRateEnabled]: { value: false },\r\n [Flag.ExpediteAllPostLoadEnabled]: { value: false },\r\n [Config.CostPerDaySettings]: {\r\n value: {\r\n [CostPerDaySetting.enabled]: true,\r\n [CostPerDaySetting.truckExpenses]: 0,\r\n [CostPerDaySetting.homeExpenses]: 0,\r\n [CostPerDaySetting.workDays]: DEFAULT_WORK_DAYS,\r\n [CostPerDaySetting.loadingHours]: DEFAULT_LOADING_HOURS,\r\n [CostPerDaySetting.drivingHours]: DEFAULT_DRIVING_HOURS,\r\n },\r\n },\r\n [Config.MaintenancePopup]: { value: undefined },\r\n [Config.ProfitCalculatorSettings]: {\r\n value: {\r\n [ProfitCalculatorSubMenu.estimatedFuelCostsIsExpanded]: false,\r\n [ProfitCalculatorSubMenu.tripIsExpanded]: false,\r\n [ProfitCalculatorSubMenu.additionalCostsIsExpanded]: false,\r\n },\r\n },\r\n};\r\n\r\nexport const isSystemSettingConfig = (setting: string): setting is Config => includes(ConfigList, setting);\r\n\r\nexport const isRateCheckPreviewEnabled = (settingsState: SettingsState) =>\r\n settingsState.systemSetting[Flag.LoadRateCheckPreviewEnabled].value &&\r\n !settingsState.systemSetting[Flag.LoadRateCheckPreviewUserDisabled].value;\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\n\r\nimport { Api } from '@common/api';\r\nimport { SharedLoad, SharedLoadClient } from '@common/client/SharedLoadClient';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\n\r\nimport { standardApiEpic } from './EpicHelper';\r\n\r\nconst FETCH_SHARED_LOAD = 'FETCH_SHARED_LOAD';\r\nconst FETCH_SHARED_LOAD_FULFILLED = 'FETCH_SHARED_LOAD_FULFILLED';\r\n\r\nexport interface SharedLoadResponse extends Response {\r\n isUnavailable: boolean;\r\n}\r\n\r\ninterface FetchSharedLoad extends Action {\r\n token: string;\r\n isPoster: boolean | undefined;\r\n}\r\n\r\ninterface FetchSharedLoadResponse extends Action {\r\n response: SharedLoadResponse;\r\n}\r\n\r\nexport function fetchSharedLoad(token: string, isPoster?: boolean): FetchSharedLoad {\r\n return {\r\n type: FETCH_SHARED_LOAD,\r\n token: token,\r\n isPoster: isPoster,\r\n };\r\n}\r\n\r\nexport interface SharedLoadState extends BaseState {\r\n response: SharedLoadResponse;\r\n}\r\n\r\nexport type SharedLoadActions = FetchSharedLoad | FetchSharedLoadResponse;\r\n\r\nexport const fetchSharedLoadResponse = (response: SharedLoadResponse): FetchSharedLoadResponse => ({\r\n type: FETCH_SHARED_LOAD_FULFILLED,\r\n response: response,\r\n});\r\n\r\nexport const sharedLoadReducer = (state = {}, action: SharedLoadActions) => {\r\n switch (action.type) {\r\n case FETCH_SHARED_LOAD_FULFILLED: {\r\n const sharedLoadAction = action as FetchSharedLoadResponse;\r\n return {\r\n ...state,\r\n response: sharedLoadAction.response,\r\n isLoading: false,\r\n };\r\n }\r\n case FETCH_SHARED_LOAD:\r\n return {\r\n ...state,\r\n isLoading: true,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const createSharedLoadEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const sharedLoadClient = new SharedLoadClient(api, isLiveEnvironment);\r\n return (action$: ActionsObservable) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_SHARED_LOAD,\r\n (action: FetchSharedLoad) => sharedLoadClient.fetchSharedLoad$(action.token, action.isPoster),\r\n (successResponse) =>\r\n fetchSharedLoadResponse({\r\n payload: successResponse.data,\r\n success: true,\r\n isUnavailable: false,\r\n }),\r\n (error) =>\r\n fetchSharedLoadResponse({\r\n success: false,\r\n error: error,\r\n isUnavailable: error.httpStatus === 404 || error.httpStatus === 403,\r\n })\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\n\r\nimport { Api, ApiResponse123 } from '@common/api';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface SystemTimeData {\r\n systemTime?: any;\r\n}\r\n\r\nexport type SystemTimeResponse = Response;\r\n\r\ninterface SystemTimeDataResponse extends Action {\r\n response: SystemTimeResponse;\r\n}\r\n\r\nexport interface SystemTimeState extends BaseState {\r\n isLoading: boolean;\r\n systemTime?: string;\r\n systemTimeReceivedAt?: number;\r\n}\r\n\r\nconst initialState: SystemTimeState = {\r\n isLoading: false,\r\n};\r\n\r\n//create reducer begin\r\nconst createSystemTimeReducer = () => {\r\n //@FIXME use createApiAction to avoid boilerplate code\r\n const actionTypes = {\r\n FETCH_SYSTEM_TIME: 'FETCH_SYSTEM_TIME',\r\n SYSTEM_TIME_FETCHED: 'SYSTEM_TIME_FETCHED',\r\n };\r\n\r\n const actions = {\r\n fetchSystemTime: (): Action => ({\r\n type: actionTypes.FETCH_SYSTEM_TIME,\r\n }),\r\n systemTimeDataResponse: (response: SystemTimeResponse): SystemTimeDataResponse => ({\r\n type: actionTypes.SYSTEM_TIME_FETCHED,\r\n response: response,\r\n }),\r\n };\r\n\r\n const systemTimeReducer = createReducer(initialState, {\r\n [actionTypes.FETCH_SYSTEM_TIME]: (state) => {\r\n state.isLoading = true;\r\n state.systemTime = undefined;\r\n state.systemTimeReceivedAt = undefined;\r\n },\r\n [actionTypes.SYSTEM_TIME_FETCHED]: (state, action: SystemTimeDataResponse) => {\r\n state.isLoading = false;\r\n state.systemTime = action.response.payload?.systemTime;\r\n state.systemTimeReceivedAt = Date.now();\r\n },\r\n });\r\n\r\n return { actions: actions, reducer: systemTimeReducer, actionTypes: actionTypes };\r\n};\r\n//create reducer end\r\n\r\nconst systemTime = createSystemTimeReducer();\r\nexport const systemTimeReducer = systemTime.reducer;\r\n\r\nexport const fetchSystemTime = systemTime.actions.fetchSystemTime;\r\nexport const systemTimeDataResponse = systemTime.actions.systemTimeDataResponse;\r\n\r\nexport const createSystemTimeEpic = (api: Api) => {\r\n const client = new SystemTimeClient(api);\r\n\r\n const fetchSystemTime$ = (action$: ActionsObservable, client: SystemTimeClient) =>\r\n action$.ofType(systemTime.actionTypes.FETCH_SYSTEM_TIME).pipe(\r\n mergeMap(() => {\r\n return client.getSystemTime$().pipe(\r\n map((response: ApiResponse123) => {\r\n return response.result(\r\n (data) =>\r\n systemTimeDataResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n systemTimeDataResponse({\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n return (action$: ActionsObservable) => merge$(fetchSystemTime$(action$, client));\r\n};\r\n\r\nexport class SystemTimeClient extends BaseClient {\r\n getSystemTime$ = () => this.api.get$('/system/info/time', {});\r\n}\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { TermsAndConditionsClient } from '@common/client/TermsAndConditionsClient';\r\nimport { TermsAndConditions } from '@common/model/TermsAndConditions';\r\nimport { Response } from '@common/redux/Base';\r\n\r\nimport { standardApiEpic } from './EpicHelper';\r\n\r\nconst FETCH_TERMS_OF_SERVICE = 'FETCH_TERMS_OF_SERVICE';\r\nconst FETCH_PRIVACY_POLICY = 'FETCH_PRIVACY_POLICY';\r\nconst TERMS_OF_SERVICE_FETCHED = 'TERMS_OF_SERVICE_FETCHED';\r\nconst PRIVACY_POLICY_FETCHED = 'PRIVACY_POLICY_FETCHED';\r\n\r\ntype TermsandConditionsResponse = Response;\r\n\r\nexport const fetchTermsOfService = (): Action => ({ type: FETCH_TERMS_OF_SERVICE });\r\n\r\nexport const fetchPrivacyPolicy = (): Action => ({ type: FETCH_PRIVACY_POLICY });\r\n\r\ninterface TermsandConditionsResponseAction extends Action {\r\n termsandConditionsResponse: TermsandConditionsResponse;\r\n}\r\n\r\nexport const termsofServiceResponse = (response: TermsandConditionsResponse): TermsandConditionsResponseAction => ({\r\n type: TERMS_OF_SERVICE_FETCHED,\r\n termsandConditionsResponse: response,\r\n});\r\n\r\nexport const privacyPolicyResponse = (response: TermsandConditionsResponse): TermsandConditionsResponseAction => ({\r\n type: PRIVACY_POLICY_FETCHED,\r\n termsandConditionsResponse: response,\r\n});\r\n\r\nexport interface TermsAndConditionsState {\r\n termsOfService: string;\r\n privacyPolicy: string;\r\n hasError: boolean;\r\n isLoadingTermsOfService: boolean;\r\n isLoadingPrivacyPolicy: boolean;\r\n}\r\nexport const termsAndConditionsReducer = (\r\n state: TermsAndConditionsState = {\r\n termsOfService: '',\r\n privacyPolicy: '',\r\n isLoadingTermsOfService: false,\r\n isLoadingPrivacyPolicy: false,\r\n hasError: false,\r\n },\r\n action: Action\r\n): TermsAndConditionsState => {\r\n switch (action.type) {\r\n case FETCH_TERMS_OF_SERVICE: {\r\n return { ...state, hasError: false, termsOfService: '', isLoadingTermsOfService: true };\r\n }\r\n case TERMS_OF_SERVICE_FETCHED: {\r\n const TACResponseAction = action as TermsandConditionsResponseAction;\r\n if (TACResponseAction.termsandConditionsResponse.payload) {\r\n return {\r\n ...state,\r\n hasError: false,\r\n isLoadingTermsOfService: false,\r\n termsOfService: TACResponseAction.termsandConditionsResponse.payload.text,\r\n };\r\n }\r\n if (TACResponseAction.termsandConditionsResponse.error) {\r\n return { ...state, hasError: true, isLoadingTermsOfService: false };\r\n }\r\n return state;\r\n }\r\n case FETCH_PRIVACY_POLICY: {\r\n return { ...state, hasError: false, privacyPolicy: '', isLoadingPrivacyPolicy: true };\r\n }\r\n case PRIVACY_POLICY_FETCHED: {\r\n const TACResponseAction = action as TermsandConditionsResponseAction;\r\n if (TACResponseAction.termsandConditionsResponse.payload) {\r\n return {\r\n ...state,\r\n hasError: false,\r\n isLoadingPrivacyPolicy: false,\r\n privacyPolicy: TACResponseAction.termsandConditionsResponse.payload.text,\r\n };\r\n }\r\n if (TACResponseAction.termsandConditionsResponse.error) {\r\n return { ...state, hasError: true, isLoadingPrivacyPolicy: false };\r\n }\r\n return state;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst fetchTermsOfServiceEpic$ = (action$: ActionsObservable, client: TermsAndConditionsClient) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_TERMS_OF_SERVICE,\r\n () => client.fetchTermsOfService$(),\r\n (response) => {\r\n return termsofServiceResponse({ success: true, payload: response.data });\r\n },\r\n (error) => {\r\n return termsofServiceResponse({ success: false, error: error });\r\n }\r\n );\r\n\r\nconst fetchPrivacyPolicyEpic$ = (action$: ActionsObservable, client: TermsAndConditionsClient) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_PRIVACY_POLICY,\r\n () => client.fetchPrivacyPolicy$(),\r\n (response) => {\r\n return privacyPolicyResponse({ success: true, payload: response.data });\r\n },\r\n (error) => {\r\n return privacyPolicyResponse({ success: false, error: error });\r\n }\r\n );\r\n\r\nexport const createTermsAndConditionsEpic = (api: Api) => {\r\n const termsAndConditionsClient = new TermsAndConditionsClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchTermsOfServiceEpic$(action$, termsAndConditionsClient),\r\n fetchPrivacyPolicyEpic$(action$, termsAndConditionsClient)\r\n );\r\n};\r\n","//@TODO: Break this file up into quotes/requests/registration\r\n\r\nimport { cloneDeep, defaultTo, find } from 'lodash';\r\nimport { omit } from 'lodash/fp';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap } from 'rxjs/operators';\r\n\r\nimport { Api, ApiResponse123 } from '@common/api';\r\nimport { ThunderFundingClient } from '@common/client/ThunderFundingClient';\r\nimport { compareIds, createPatch } from '@common/helper';\r\nimport {\r\n CustomFolder,\r\n Document,\r\n FuelAdvanceQuoteSteps,\r\n FundingTypeOption,\r\n GetPaidFasterQuoteSteps,\r\n PaymentScheduleOption,\r\n} from '@common/model';\r\nimport {\r\n BaseThunderFundingQuote,\r\n DefaultThunderFundingQuotesRequest,\r\n FuelAdvanceQuote,\r\n FuelAdvanceQuoteRequest,\r\n fuelAdvanceQuoteToRequest,\r\n GetPaidFasterQuote,\r\n GetPaidFasterQuoteRequest,\r\n getPaidFasterQuoteToRequest,\r\n THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_APPENDING,\r\n THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_DEFAULT,\r\n THUNDER_FUNDING_QUOTES_REQUEST_OFFSET_INCREMENT,\r\n ThunderFundingFuelAdvanceQuotes,\r\n ThunderFundingGetPaidFasterQuotes,\r\n ThunderFundingInvoice,\r\n} from '@common/model/ThunderFundingRequest';\r\nimport { BaseState, ResponseAction, SearchResponsePayload } from '@common/redux/Base';\r\nimport {\r\n createPaginatedListReducer,\r\n PaginatedListState,\r\n PaginatedRequest,\r\n} from '@common/redux/epic/PaginatedListReducer';\r\n\r\nexport const THUNDER_FUNDING_QUOTES_REDUCER_KEY = 'thunderFundingQuotes';\r\nconst FUEL_ADVANCE_QUOTES_REDUCER_KEY = `${THUNDER_FUNDING_QUOTES_REDUCER_KEY}_fuelAdvance`;\r\nconst GET_PAID_FASTER_QUOTES_REDUCER_KEY = `${THUNDER_FUNDING_QUOTES_REDUCER_KEY}_getPaidFaster`;\r\n\r\nconst UPDATE_FUEL_ADVANCE_REQUEST = 'UPDATE_FUEL_ADVANCE_REQUEST';\r\nconst UPDATE_GET_PAID_FASTER_REQUEST = 'UPDATE_GET_PAID_FASTER_REQUEST';\r\n\r\nconst CLEAR_FUEL_ADVANCE_REQUEST = 'CLEAR_FUEL_ADVANCE_REQUEST';\r\nconst CLEAR_GET_PAID_FASTER_REQUEST = 'CLEAR_GET_PAID_FASTER_REQUEST';\r\n\r\nconst UPDATE_GET_PAID_FASTER_NOTE = 'UPDATE_GET_PAID_FASTER_NOTE';\r\nconst FETCH_FUEL_ADVANCE_FUNDING_TYPES = 'FETCH_FUEL_ADVANCE_FUNDING_TYPES';\r\nconst FETCH_GET_PAID_FASTER_PAYMENT_SCHEDULES = 'FETCH_GET_PAID_FASTER_PAYMENT_SCHEDULES';\r\nconst FUNDING_TYPES_RESPONSE = 'FUNDING_TYPES_RESPONSE';\r\nconst PAYMENT_SCHEDULES_RESPONSE = 'PAYMENT_SCHEDULES_RESPONSE';\r\n\r\nconst SEND_FUEL_ADVANCE_INTEGRATION_QUOTE = 'SEND_FUEL_ADVANCE_INTEGRATION_QUOTE';\r\nconst SEND_GET_PAID_FASTER_INTEGRATION_QUOTE = 'SEND_GET_PAID_FASTER_INTEGRATION_QUOTE';\r\nexport const FUEL_ADVANCE_INTEGRATION_QUOTE_RESPONSE = 'FUEL_ADVANCE_INTEGRATION_QUOTE_RESPONSE';\r\nexport const GET_PAID_FASTER_INTEGRATION_QUOTE_RESPONSE = 'GET_PAID_FASTER_INTEGRATION_QUOTE_RESPONSE';\r\nconst CLEAR_FUEL_ADVANCE_INTEGRATION_QUOTE_RESPONSE = 'CLEAR_FUEL_ADVANCE_INTEGRATION_QUOTE_RESPONSE';\r\nconst CLEAR_GET_PAID_FASTER_INTEGRATION_QUOTE_RESPONSE = 'CLEAR_GET_PAID_FASTER_INTEGRATION_QUOTE_RESPONSE';\r\nconst FETCH_FUEL_ADVANCE_QUOTE_BY_ID = 'FETCH_FUEL_ADVANCE_QUOTE_BY_ID';\r\nconst FETCH_GET_PAID_FASTER_QUOTE_BY_ID = 'FETCH_GET_PAID_FASTER_QUOTE_BY_ID';\r\nconst FUEL_ADVANCE_QUOTE_BY_ID_FETCHED = 'FUEL_ADVANCE_QUOTE_BY_ID_FETCHED';\r\nconst GET_PAID_FASTER_QUOTE_BY_ID_FETCHED = 'GET_PAID_FASTER_QUOTE_BY_ID_FETCHED';\r\nconst FETCH_TOTAL_THUNDER_FUNDING_QUOTES = 'FETCH_TOTAL_THUNDER_FUNDING_QUOTES';\r\nconst QUOTE_COUNT_RESPONSE = 'QUOTE_COUNT_RESPONSE';\r\n\r\ninterface ThunderFundingStoreState {\r\n [THUNDER_FUNDING_QUOTES_REDUCER_KEY]: ThunderFundingQuotesState;\r\n}\r\n\r\ninterface BaseQuoteState extends BaseState {\r\n id: string | undefined;\r\n}\r\n\r\nexport interface FuelAdvanceQuoteRequestState extends BaseQuoteState {\r\n isRequestSuccessful: boolean | undefined;\r\n steps: FuelAdvanceRequestSteps;\r\n fundingTypes: FundingTypeOption[];\r\n}\r\n\r\nexport interface GetPaidFasterQuoteRequestState extends BaseQuoteState {\r\n isRequestSuccessful: boolean | undefined;\r\n steps: GetPaidFasterRequestSteps;\r\n additionalNotes: string;\r\n paymentSchedules: PaymentScheduleOption[];\r\n}\r\n\r\ninterface UpdateGetPaidFasterNoteAction extends Action {\r\n value: string;\r\n}\r\n\r\nexport type FuelAdvanceQuotesState = PaginatedListState;\r\nexport type GetPaidFasterQuotesState = PaginatedListState;\r\n\r\ninterface UpdateFuelAdvanceFormAction extends Action {\r\n steps: Partial;\r\n id?: string;\r\n}\r\n\r\ninterface UpdateGetPaidFasterFormAction extends Action {\r\n steps: Partial;\r\n id?: string;\r\n}\r\n\r\ninterface GetQuoteByIdAction extends Action {\r\n id: string;\r\n}\r\n\r\nexport interface ThunderFundingQuotesState {\r\n fuelAdvanceQuotes: FuelAdvanceQuotesState;\r\n getPaidFasterQuotes: GetPaidFasterQuotesState;\r\n fuelAdvanceRequest: FuelAdvanceQuoteRequestState;\r\n getPaidFasterRequest: GetPaidFasterQuoteRequestState;\r\n hasQuotes: boolean;\r\n}\r\nexport interface FuelAdvanceRequestSteps {\r\n [FuelAdvanceQuoteSteps.desiredAmount]: string | undefined;\r\n [FuelAdvanceQuoteSteps.fundingType]: FundingTypeOption | undefined;\r\n [FuelAdvanceQuoteSteps.folder]: CustomFolder | undefined;\r\n [FuelAdvanceQuoteSteps.rateConfirmation]: Document | undefined;\r\n [FuelAdvanceQuoteSteps.deliveryDocument]: Document | undefined;\r\n [FuelAdvanceQuoteSteps.requestSent]: string | undefined;\r\n}\r\n\r\nexport interface GetPaidFasterRequestSteps {\r\n [GetPaidFasterQuoteSteps.paymentSchedule]: PaymentScheduleOption | undefined;\r\n [GetPaidFasterQuoteSteps.folder]: CustomFolder | undefined;\r\n [GetPaidFasterQuoteSteps.invoiceType]: ThunderFundingInvoice | undefined;\r\n [GetPaidFasterQuoteSteps.rateConfirmation]: Document | undefined;\r\n [GetPaidFasterQuoteSteps.billOfLading]: Document | undefined;\r\n [GetPaidFasterQuoteSteps.requestSent]: string | undefined;\r\n}\r\n\r\nconst fuelAdvanceQuotesPaginationReducer = createPaginatedListReducer<\r\n FuelAdvanceQuote,\r\n PaginatedRequest,\r\n ThunderFundingFuelAdvanceQuotes,\r\n ThunderFundingStoreState,\r\n FuelAdvanceQuotesState\r\n>({\r\n reducerKey: FUEL_ADVANCE_QUOTES_REDUCER_KEY,\r\n getPaginatedListStateFromStoreState: (store: ThunderFundingStoreState) =>\r\n store[THUNDER_FUNDING_QUOTES_REDUCER_KEY].fuelAdvanceQuotes,\r\n requestConstants: {\r\n limit: {\r\n default: THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_DEFAULT,\r\n appending: THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_APPENDING,\r\n },\r\n offsetIncrement: THUNDER_FUNDING_QUOTES_REQUEST_OFFSET_INCREMENT,\r\n },\r\n getEntriesFromResponse: (response) => response.quotes,\r\n areEntriesEqual: compareIds,\r\n});\r\n\r\nconst getPaidFasterQuotesPaginationReducer = createPaginatedListReducer<\r\n GetPaidFasterQuote,\r\n PaginatedRequest,\r\n ThunderFundingGetPaidFasterQuotes,\r\n ThunderFundingStoreState,\r\n GetPaidFasterQuotesState\r\n>({\r\n reducerKey: GET_PAID_FASTER_QUOTES_REDUCER_KEY,\r\n getPaginatedListStateFromStoreState: (store: ThunderFundingStoreState) =>\r\n store[THUNDER_FUNDING_QUOTES_REDUCER_KEY].getPaidFasterQuotes,\r\n requestConstants: {\r\n limit: {\r\n default: THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_DEFAULT,\r\n appending: THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_APPENDING,\r\n },\r\n offsetIncrement: THUNDER_FUNDING_QUOTES_REQUEST_OFFSET_INCREMENT,\r\n },\r\n getEntriesFromResponse: (response) => response.quotes,\r\n areEntriesEqual: compareIds,\r\n});\r\n\r\nconst createInitialQuotesPaginatedListState = (): PaginatedListState => ({\r\n fetchRequest: cloneDeep(DefaultThunderFundingQuotesRequest),\r\n isLoading: false,\r\n didLoadingFail: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n isLastResult: false,\r\n});\r\n\r\nexport const fetchQuoteCount = (): Action => ({\r\n type: FETCH_TOTAL_THUNDER_FUNDING_QUOTES,\r\n});\r\n\r\nexport const fetchFuelAdvanceFundingTypes = (): Action => ({\r\n type: FETCH_FUEL_ADVANCE_FUNDING_TYPES,\r\n});\r\n\r\nexport const sendFuelAdvanceQuote = (): Action => ({\r\n type: SEND_FUEL_ADVANCE_INTEGRATION_QUOTE,\r\n});\r\n\r\nexport const sendGetPaidFasterQuote = (): Action => ({\r\n type: SEND_GET_PAID_FASTER_INTEGRATION_QUOTE,\r\n});\r\n\r\nexport const clearGetPaidFasterQuoteRequest = (): Action => ({\r\n type: CLEAR_GET_PAID_FASTER_INTEGRATION_QUOTE_RESPONSE,\r\n});\r\n\r\nexport const clearFuelAdvanceQuoteRequest = (): Action => ({ type: CLEAR_FUEL_ADVANCE_INTEGRATION_QUOTE_RESPONSE });\r\n\r\nexport const fetchGetPaidFasterPaymentSchedules = (): Action => ({ type: FETCH_GET_PAID_FASTER_PAYMENT_SCHEDULES });\r\n\r\nexport const updateFuelAdvanceRequest = (\r\n steps: Partial,\r\n id?: string\r\n): UpdateFuelAdvanceFormAction => ({\r\n type: UPDATE_FUEL_ADVANCE_REQUEST,\r\n steps: steps,\r\n id: id,\r\n});\r\n\r\nexport const updateGetPaidFasterRequest = (\r\n steps: Partial,\r\n id?: string\r\n): UpdateGetPaidFasterFormAction => ({\r\n type: UPDATE_GET_PAID_FASTER_REQUEST,\r\n steps: steps,\r\n id: id,\r\n});\r\n\r\nexport const clearFuelAdvanceRequest = (): Action => ({\r\n type: CLEAR_FUEL_ADVANCE_REQUEST,\r\n});\r\n\r\nexport const clearGetPaidFasterRequest = (): Action => ({\r\n type: CLEAR_GET_PAID_FASTER_REQUEST,\r\n});\r\n\r\nexport const getFuelAdvanceQuoteById = (id: string): GetQuoteByIdAction => ({\r\n type: FETCH_FUEL_ADVANCE_QUOTE_BY_ID,\r\n id: id,\r\n});\r\n\r\nexport const getGetPaidFasterQuoteById = (id: string): GetQuoteByIdAction => ({\r\n type: FETCH_GET_PAID_FASTER_QUOTE_BY_ID,\r\n id: id,\r\n});\r\n\r\nexport const updateGetPaidFasterNote = (newState: { value: string | undefined }): UpdateGetPaidFasterNoteAction => ({\r\n type: UPDATE_GET_PAID_FASTER_NOTE,\r\n value: newState.value || '',\r\n});\r\n\r\nexport const fetchFuelAdvanceQuotes = fuelAdvanceQuotesPaginationReducer.actions.fetchEntries;\r\nexport const fetchMoreFuelAdvanceQuotes = fuelAdvanceQuotesPaginationReducer.actions.fetchMoreEntries;\r\n\r\nexport const fetchGetPaidFasterQuotes = getPaidFasterQuotesPaginationReducer.actions.fetchEntries;\r\nexport const fetchMoreGetPaidFasterQuotes = getPaidFasterQuotesPaginationReducer.actions.fetchMoreEntries;\r\n\r\nconst emptyFuelAdvanceDocuments = {\r\n rateConfirmation: undefined,\r\n deliveryDocument: undefined,\r\n};\r\n\r\nconst emptyFuelAdvanceRequestSteps: Readonly = {\r\n ...emptyFuelAdvanceDocuments,\r\n desiredAmount: undefined,\r\n fundingType: undefined,\r\n folder: undefined,\r\n requestSent: undefined,\r\n};\r\n\r\nconst emptyGetPaidFasterDocuments = {\r\n invoiceType: undefined,\r\n rateConfirmation: undefined,\r\n billOfLading: undefined,\r\n};\r\n\r\nconst emptyGetPaidFasterForm: Readonly = {\r\n ...emptyGetPaidFasterDocuments,\r\n paymentSchedule: undefined,\r\n folder: undefined,\r\n requestSent: undefined,\r\n};\r\n\r\nexport const fuelAdvanceInitialState: FuelAdvanceQuoteRequestState = {\r\n isRequestSuccessful: undefined,\r\n steps: emptyFuelAdvanceRequestSteps,\r\n isLoading: false,\r\n fundingTypes: [],\r\n id: undefined,\r\n};\r\n\r\nexport const getPaidFasterInitialState: GetPaidFasterQuoteRequestState = {\r\n isRequestSuccessful: undefined,\r\n steps: emptyGetPaidFasterForm,\r\n additionalNotes: '',\r\n isLoading: false,\r\n paymentSchedules: [],\r\n id: undefined,\r\n};\r\n\r\nconst initialState: ThunderFundingQuotesState = {\r\n fuelAdvanceQuotes: createInitialQuotesPaginatedListState(),\r\n getPaidFasterQuotes: createInitialQuotesPaginatedListState(),\r\n fuelAdvanceRequest: fuelAdvanceInitialState,\r\n getPaidFasterRequest: getPaidFasterInitialState,\r\n hasQuotes: false,\r\n};\r\n\r\nexport const thunderFundingQuotesReducer = (\r\n state: ThunderFundingQuotesState = initialState,\r\n action: Action\r\n): ThunderFundingQuotesState => {\r\n switch (action.type) {\r\n case FUEL_ADVANCE_INTEGRATION_QUOTE_RESPONSE: {\r\n const { response } = action as ResponseAction;\r\n return {\r\n ...state,\r\n hasQuotes: true,\r\n fuelAdvanceQuotes: {\r\n ...state.fuelAdvanceQuotes,\r\n entries: undefined,\r\n },\r\n fuelAdvanceRequest: {\r\n ...state.fuelAdvanceRequest,\r\n isRequestSuccessful: response.success,\r\n isLoading: false,\r\n },\r\n };\r\n }\r\n case GET_PAID_FASTER_INTEGRATION_QUOTE_RESPONSE: {\r\n const { response } = action as ResponseAction;\r\n return {\r\n ...state,\r\n hasQuotes: true,\r\n fuelAdvanceQuotes: {\r\n ...state.fuelAdvanceQuotes,\r\n entries: undefined,\r\n },\r\n getPaidFasterRequest: {\r\n ...state.getPaidFasterRequest,\r\n isRequestSuccessful: response.success,\r\n isLoading: false,\r\n },\r\n };\r\n }\r\n case UPDATE_GET_PAID_FASTER_REQUEST: {\r\n const { steps: stepsBeingUpdated, id } = action as UpdateGetPaidFasterFormAction;\r\n return {\r\n ...state,\r\n getPaidFasterRequest: {\r\n ...state.getPaidFasterRequest,\r\n steps: {\r\n ...state.getPaidFasterRequest.steps,\r\n //Reset documents if the folder is changed\r\n ...(didFolderChange(stepsBeingUpdated, state.getPaidFasterRequest)\r\n ? emptyGetPaidFasterDocuments\r\n : undefined),\r\n ...stepsBeingUpdated,\r\n },\r\n id: defaultTo(id, state.getPaidFasterRequest.id),\r\n },\r\n };\r\n }\r\n case UPDATE_GET_PAID_FASTER_NOTE: {\r\n const updateAction = action as UpdateGetPaidFasterNoteAction;\r\n return {\r\n ...state,\r\n getPaidFasterRequest: {\r\n ...state.getPaidFasterRequest,\r\n additionalNotes: updateAction.value,\r\n },\r\n };\r\n }\r\n\r\n case PAYMENT_SCHEDULES_RESPONSE: {\r\n const { response } = action as ResponseAction<{ paymentSchedules: PaymentScheduleOption[] }>;\r\n if (response && response.payload) {\r\n return {\r\n ...state,\r\n getPaidFasterRequest: {\r\n ...state.getPaidFasterRequest,\r\n paymentSchedules: response.payload.paymentSchedules || [],\r\n },\r\n };\r\n }\r\n\r\n return state;\r\n }\r\n case SEND_GET_PAID_FASTER_INTEGRATION_QUOTE: {\r\n return {\r\n ...state,\r\n getPaidFasterRequest: {\r\n ...state.getPaidFasterRequest,\r\n isLoading: true,\r\n isRequestSuccessful: undefined,\r\n },\r\n };\r\n }\r\n case CLEAR_GET_PAID_FASTER_REQUEST: {\r\n return {\r\n ...state,\r\n getPaidFasterRequest: {\r\n ...state.getPaidFasterRequest,\r\n steps: getPaidFasterInitialState.steps,\r\n additionalNotes: '',\r\n id: undefined,\r\n },\r\n };\r\n }\r\n case CLEAR_GET_PAID_FASTER_INTEGRATION_QUOTE_RESPONSE: {\r\n return {\r\n ...state,\r\n getPaidFasterRequest: { ...state.getPaidFasterRequest, isRequestSuccessful: undefined, id: undefined },\r\n };\r\n }\r\n case UPDATE_FUEL_ADVANCE_REQUEST: {\r\n const { steps, id } = action as UpdateFuelAdvanceFormAction;\r\n return {\r\n ...state,\r\n fuelAdvanceRequest: {\r\n ...state.fuelAdvanceRequest,\r\n steps: {\r\n ...state.fuelAdvanceRequest.steps,\r\n //Reset documents if the folder is changed\r\n ...(didFolderChange(steps, state.fuelAdvanceRequest) ? emptyFuelAdvanceDocuments : undefined),\r\n ...steps,\r\n },\r\n id: defaultTo(id, state.fuelAdvanceRequest.id),\r\n },\r\n };\r\n }\r\n case FETCH_FUEL_ADVANCE_QUOTE_BY_ID: {\r\n return { ...state, fuelAdvanceQuotes: { ...state.fuelAdvanceQuotes, entries: undefined, isLoading: true } };\r\n }\r\n case FETCH_GET_PAID_FASTER_QUOTE_BY_ID: {\r\n return { ...state, getPaidFasterQuotes: { ...state.getPaidFasterQuotes, entries: undefined, isLoading: true } };\r\n }\r\n case FUEL_ADVANCE_QUOTE_BY_ID_FETCHED: {\r\n const { response } = action as ResponseAction;\r\n if (response && response.payload && response.payload.id) {\r\n return {\r\n ...state,\r\n fuelAdvanceQuotes: {\r\n ...state.fuelAdvanceQuotes,\r\n entries: [response.payload],\r\n isLoading: false,\r\n },\r\n };\r\n }\r\n return {\r\n ...state,\r\n fuelAdvanceQuotes: { ...state.fuelAdvanceQuotes, isLoading: false },\r\n };\r\n }\r\n case GET_PAID_FASTER_QUOTE_BY_ID_FETCHED: {\r\n const { response } = action as ResponseAction;\r\n if (response && response.payload && response.payload.id) {\r\n return {\r\n ...state,\r\n getPaidFasterQuotes: {\r\n ...state.getPaidFasterQuotes,\r\n entries: [response.payload],\r\n isLoading: false,\r\n },\r\n };\r\n }\r\n return {\r\n ...state,\r\n getPaidFasterQuotes: { ...state.getPaidFasterQuotes, isLoading: false },\r\n };\r\n }\r\n case CLEAR_FUEL_ADVANCE_REQUEST: {\r\n return {\r\n ...state,\r\n fuelAdvanceRequest: { ...state.fuelAdvanceRequest, steps: emptyFuelAdvanceRequestSteps, id: undefined },\r\n };\r\n }\r\n case FUNDING_TYPES_RESPONSE: {\r\n const { response } = action as ResponseAction<{ fundingTypes: FundingTypeOption[] }>;\r\n if (response.success && response.payload) {\r\n return {\r\n ...state,\r\n fuelAdvanceRequest: { ...state.fuelAdvanceRequest, fundingTypes: response.payload.fundingTypes },\r\n };\r\n }\r\n return state;\r\n }\r\n case SEND_FUEL_ADVANCE_INTEGRATION_QUOTE: {\r\n return {\r\n ...state,\r\n fuelAdvanceRequest: { ...state.fuelAdvanceRequest, isLoading: true, isRequestSuccessful: undefined },\r\n };\r\n }\r\n case CLEAR_FUEL_ADVANCE_INTEGRATION_QUOTE_RESPONSE: {\r\n return {\r\n ...state,\r\n fuelAdvanceRequest: { ...state.fuelAdvanceRequest, isRequestSuccessful: undefined, isLoading: false },\r\n };\r\n }\r\n case QUOTE_COUNT_RESPONSE: {\r\n const { response } = action as ResponseAction;\r\n if (response && response.payload) {\r\n return {\r\n ...state,\r\n hasQuotes: state.hasQuotes || response.payload.metadata.totalResultCount > 0,\r\n };\r\n }\r\n return state;\r\n }\r\n default: {\r\n const alteredFuelAdvanceState = fuelAdvanceQuotesPaginationReducer.reducer(state.fuelAdvanceQuotes, action);\r\n const alteredGetPaidFasterState = getPaidFasterQuotesPaginationReducer.reducer(state.getPaidFasterQuotes, action);\r\n if (alteredFuelAdvanceState || alteredGetPaidFasterState) {\r\n return {\r\n ...state,\r\n fuelAdvanceQuotes: alteredFuelAdvanceState ? alteredFuelAdvanceState : state.fuelAdvanceQuotes,\r\n getPaidFasterQuotes: alteredGetPaidFasterState ? alteredGetPaidFasterState : state.getPaidFasterQuotes,\r\n };\r\n }\r\n return state;\r\n }\r\n }\r\n};\r\n\r\nconst postFuelAdvanceIntegrationQuote$ = (\r\n client: ThunderFundingClient,\r\n action$: ActionsObservable,\r\n state$: StateObservable\r\n) =>\r\n action$\r\n .ofType(SEND_FUEL_ADVANCE_INTEGRATION_QUOTE)\r\n .pipe(\r\n mergeMap(() => {\r\n const { fuelAdvanceRequest, fuelAdvanceQuotes } = state$.value[THUNDER_FUNDING_QUOTES_REDUCER_KEY];\r\n\r\n if (fuelAdvanceRequest.id) {\r\n return client.patchFuelAdvanceIntegrationQuote$(\r\n createFuelAdvancePatch(fuelAdvanceRequest, fuelAdvanceQuotes.entries),\r\n fuelAdvanceRequest.id\r\n );\r\n }\r\n return client.postFuelAdvanceIntegrationQuote$(createFuelAdvanceQuoteRequest(fuelAdvanceRequest));\r\n })\r\n )\r\n .pipe(map$((response) => response.resultDataResponse(FUEL_ADVANCE_INTEGRATION_QUOTE_RESPONSE)));\r\n\r\nconst postGetPaidFasterIntegrationQuote$ = (\r\n client: ThunderFundingClient,\r\n action$: ActionsObservable,\r\n state$: StateObservable\r\n) =>\r\n action$\r\n .ofType(SEND_GET_PAID_FASTER_INTEGRATION_QUOTE)\r\n .pipe(\r\n mergeMap(() => {\r\n const { getPaidFasterRequest, getPaidFasterQuotes } = state$.value[THUNDER_FUNDING_QUOTES_REDUCER_KEY];\r\n\r\n if (getPaidFasterRequest.id) {\r\n return client.patchGetPaidFasterIntegrationQuote$(\r\n createGetPaidFasterPatch(getPaidFasterRequest, getPaidFasterQuotes.entries),\r\n getPaidFasterRequest.id\r\n );\r\n }\r\n return client.postGetPaidFasterIntegrationQuote$(createGetPaidFasterQuoteRequest(getPaidFasterRequest));\r\n })\r\n )\r\n .pipe(\r\n map$((response: ApiResponse123) =>\r\n response.resultDataResponse(GET_PAID_FASTER_INTEGRATION_QUOTE_RESPONSE)\r\n )\r\n );\r\n\r\nconst fetchFundingTypes$ = (client: ThunderFundingClient, action$: ActionsObservable) =>\r\n action$\r\n .ofType(FETCH_FUEL_ADVANCE_FUNDING_TYPES)\r\n .pipe(\r\n mergeMap(() =>\r\n client.getFundingTypes$().pipe(map$((response) => response.resultDataResponse(FUNDING_TYPES_RESPONSE)))\r\n )\r\n );\r\n\r\nconst fetchNumberOfQuotes$ = (client: ThunderFundingClient, action$: ActionsObservable) =>\r\n action$.ofType(FETCH_TOTAL_THUNDER_FUNDING_QUOTES).pipe(\r\n mergeMap(() =>\r\n client.countFuelAdvanceQuotes$().pipe(map$((response) => response.resultDataResponse(QUOTE_COUNT_RESPONSE)))\r\n ),\r\n mergeMap(() =>\r\n client.countGetPaidFasterQuotes$().pipe(map$((response) => response.resultDataResponse(QUOTE_COUNT_RESPONSE)))\r\n )\r\n );\r\n\r\nconst fetchPaymentSchedules = (client: ThunderFundingClient, action$: ActionsObservable) =>\r\n action$\r\n .ofType(FETCH_GET_PAID_FASTER_PAYMENT_SCHEDULES)\r\n .pipe(\r\n mergeMap(() =>\r\n client.fetchPaymentTypes$().pipe(map$((response) => response.resultDataResponse(PAYMENT_SCHEDULES_RESPONSE)))\r\n )\r\n );\r\n\r\nconst fetchGetPaidFasterQuoteById$ = (client: ThunderFundingClient, action$: ActionsObservable) =>\r\n action$\r\n .ofType(FETCH_GET_PAID_FASTER_QUOTE_BY_ID)\r\n .pipe(\r\n mergeMap((action: GetQuoteByIdAction) =>\r\n client\r\n .fetchGetPaidFasterQuoteById$(action.id)\r\n .pipe(map$((response) => response.resultDataResponse(GET_PAID_FASTER_QUOTE_BY_ID_FETCHED)))\r\n )\r\n );\r\n\r\nconst fetchFuelAdvanceQuoteById$ = (client: ThunderFundingClient, action$: ActionsObservable) =>\r\n action$\r\n .ofType(FETCH_FUEL_ADVANCE_QUOTE_BY_ID)\r\n .pipe(\r\n mergeMap((action: GetQuoteByIdAction) =>\r\n client\r\n .fetchFuelAdvanceQuoteById$(action.id)\r\n .pipe(map$((response) => response.resultDataResponse(FUEL_ADVANCE_QUOTE_BY_ID_FETCHED)))\r\n )\r\n );\r\n\r\nexport const createThunderFundingQuotesEpic = (api: Api) => {\r\n const thunderFundingQuotesClient = new ThunderFundingClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n fetchFuelAdvanceQuoteById$(thunderFundingQuotesClient, action$),\r\n fetchGetPaidFasterQuoteById$(thunderFundingQuotesClient, action$),\r\n fuelAdvanceQuotesPaginationReducer.createMergedEpic$(\r\n thunderFundingQuotesClient.fetchFuelAdvanceQuotes$,\r\n action$,\r\n state$\r\n ),\r\n getPaidFasterQuotesPaginationReducer.createMergedEpic$(\r\n thunderFundingQuotesClient.fetchGetPaidFasterQuotes$,\r\n action$,\r\n state$\r\n ),\r\n fetchFundingTypes$(thunderFundingQuotesClient, action$),\r\n fetchPaymentSchedules(thunderFundingQuotesClient, action$),\r\n postGetPaidFasterIntegrationQuote$(thunderFundingQuotesClient, action$, state$),\r\n postFuelAdvanceIntegrationQuote$(thunderFundingQuotesClient, action$, state$),\r\n fetchNumberOfQuotes$(thunderFundingQuotesClient, action$)\r\n );\r\n};\r\n\r\nconst createFuelAdvanceQuoteRequest = (request: FuelAdvanceQuoteRequestState): FuelAdvanceQuoteRequest => ({\r\n folderId: defaultTo(request.steps.folder && request.steps.folder.id, ''),\r\n desiredAmount: defaultTo(request.steps.desiredAmount, '0'),\r\n fundingType: defaultTo(request.steps.fundingType && request.steps.fundingType.name, ''),\r\n bolOrPodDocumentId: getId(request.steps.deliveryDocument),\r\n rateConfirmationDocumentId: getId(request.steps.rateConfirmation),\r\n});\r\n\r\nconst createGetPaidFasterQuoteRequest = (request: GetPaidFasterQuoteRequestState): GetPaidFasterQuoteRequest => ({\r\n folderId: defaultTo(request.steps.folder && request.steps.folder.id, ''),\r\n tfCreatesInvoice: defaultTo(request.steps.invoiceType && request.steps.invoiceType.isThunderFundingInvoice, false),\r\n specialInstructions: request.additionalNotes,\r\n paymentSchedule: defaultTo(request.steps.paymentSchedule && request.steps.paymentSchedule.name, ''),\r\n bolDocumentId: getId(request.steps.billOfLading),\r\n rateConfirmationDocumentId: getId(request.steps.rateConfirmation),\r\n invoiceDocumentId:\r\n request.steps.invoiceType && !request.steps.invoiceType.isThunderFundingInvoice\r\n ? getId(request.steps.invoiceType.invoiceDocument)\r\n : undefined,\r\n});\r\n\r\nconst createGetPaidFasterPatch = (\r\n request: GetPaidFasterQuoteRequestState,\r\n quotes: GetPaidFasterQuote[] | undefined\r\n) => {\r\n const oldQuote = findQuote(quotes, request);\r\n if (!oldQuote) {\r\n return [];\r\n }\r\n\r\n const oldQuoteRequest = createGetPaidFasterQuoteRequest({\r\n ...request,\r\n steps: getPaidFasterQuoteToRequest(oldQuote, request.paymentSchedules),\r\n additionalNotes: oldQuote.specialInstructions || '',\r\n });\r\n\r\n const newQuoteRequest = omitIds(createGetPaidFasterQuoteRequest(request));\r\n\r\n return createPatch(oldQuoteRequest, newQuoteRequest);\r\n};\r\n\r\nconst createFuelAdvancePatch = (request: FuelAdvanceQuoteRequestState, quotes: FuelAdvanceQuote[] | undefined) => {\r\n const oldQuote = findQuote(quotes, request);\r\n if (!oldQuote) {\r\n return [];\r\n }\r\n\r\n const oldQuoteRequest = createFuelAdvanceQuoteRequest({\r\n ...request,\r\n steps: fuelAdvanceQuoteToRequest(oldQuote, request.fundingTypes),\r\n });\r\n\r\n const newQuoteRequest = omitIds(createFuelAdvanceQuoteRequest(request));\r\n\r\n return createPatch(oldQuoteRequest, newQuoteRequest);\r\n};\r\n\r\nconst omitIds = omit(['folderId', 'id']);\r\n\r\nconst findQuote = (quotes: T[] | undefined, request: { id?: string }) =>\r\n find(quotes, (quote) => quote.id === request.id);\r\n\r\nconst getId = (document: Document | undefined): string => (document && document.id) || '';\r\n\r\nconst didFolderChange = (\r\n stepsBeingUpdated: Partial,\r\n state: GetPaidFasterQuoteRequestState | FuelAdvanceQuoteRequestState\r\n): boolean => {\r\n if (stepsBeingUpdated.folder && state.steps.folder) {\r\n return state.steps.folder.id !== stepsBeingUpdated.folder.id;\r\n }\r\n return false;\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { TmsClient } from '@common/client';\r\nimport { Tms } from '@common/model';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\n\r\nconst POST_TMS = 'POST_TMS';\r\nconst POST_TMS_FULFILLED = 'POST_TMS_FULFILLED';\r\n\r\nexport type TmsResponse = Response<{}>;\r\n\r\ninterface PostTms extends Action {\r\n tms: Tms;\r\n}\r\n\r\ninterface PostTmsResponse extends Action {\r\n response: TmsResponse;\r\n}\r\n\r\nexport function postTms(tms: Tms): PostTms {\r\n return {\r\n type: POST_TMS,\r\n tms: tms,\r\n };\r\n}\r\n\r\nexport interface TmsState extends BaseState {\r\n response: TmsResponse;\r\n}\r\n\r\nconst postTmsResponse = (response: TmsResponse): PostTmsResponse => ({\r\n type: POST_TMS_FULFILLED,\r\n response: response,\r\n});\r\n\r\nexport const tmsReducer = (state = {}, action: Action) => {\r\n switch (action.type) {\r\n case POST_TMS_FULFILLED: {\r\n const tmsAction = action as PostTmsResponse;\r\n return {\r\n ...state,\r\n response: tmsAction.response,\r\n isLoading: false,\r\n };\r\n }\r\n case POST_TMS:\r\n return {\r\n ...state,\r\n isLoading: true,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nexport const createTmsEpic = (api: Api) => {\r\n const tmsClient = new TmsClient(api);\r\n return (action$: ActionsObservable) =>\r\n action$.ofType(POST_TMS).pipe(\r\n mergeMap((payload) => {\r\n return tmsClient.postTms$(payload.tms).pipe(\r\n map((response: ApiResponse123<{}>) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess<{}>;\r\n return postTmsResponse({ success: response.success, payload: successResp.data });\r\n } else {\r\n const error = response as ApiError;\r\n return postTmsResponse({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n );\r\n};\r\n","import { cloneDeep, findIndex, forEach, isEmpty, map } from 'lodash';\r\nimport moment from 'moment';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$, of as of$ } from 'rxjs';\r\nimport { mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api } from '@common/api';\r\nimport { TripBuilderClient } from '@common/client/TripBuilderClient';\r\nimport { getTodayDateYYYYMMDD, isDateInThePast, LoadUpdate, UpdateCategory } from '@common/helper';\r\nimport { AspectRatio, DestLocation, LocationType, OriginLocation, ViewField } from '@common/model';\r\nimport {\r\n CreateUserTripRequest,\r\n NewUserTrip,\r\n Segments,\r\n TripBuilderLocation,\r\n TripLoadsDetails,\r\n TripRouteDetails,\r\n TripSegmentDetails,\r\n TripTypeCategory,\r\n UserTrip,\r\n UserTripResponse,\r\n} from '@common/model/TripBuilder';\r\nimport { TripForm } from '@common/model/TripForm';\r\nimport {\r\n createAction,\r\n createApiAction,\r\n createApiActionWithFetchData,\r\n ResultResponseActionWithFetchData,\r\n} from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport const TRIP_BUILDER_DEFAULT_RADIUS = 100;\r\nexport const TRIP_BUILDER_RADIUS_OPTIONS = [10, 50, 100];\r\n\r\nexport type TripBuilderState = {\r\n isLoading: boolean;\r\n isFetchingTripInfo: boolean;\r\n didFinishFetchingLoadDetails: boolean;\r\n noUserTripsFetched: boolean;\r\n wasTripCreationSuccessful: boolean | undefined;\r\n isDeletingTrip: boolean;\r\n wasTripDeletionSuccessful: boolean | undefined;\r\n wasLoadAdditionSuccessful: boolean | undefined;\r\n loadAdditionErrorMessage: string | undefined;\r\n wasLoadHiddenSuccessful: boolean | undefined;\r\n wasLoadRemovalSuccessful: boolean | undefined;\r\n form: TripForm;\r\n miniMap: {\r\n isLoading: boolean;\r\n isError: boolean;\r\n data?: string;\r\n };\r\n map: {\r\n isLoading: boolean;\r\n isError: boolean;\r\n data?: string;\r\n };\r\n userTrips: UserTrip[];\r\n availableLoads?: TripLoads;\r\n newestTripId?: string;\r\n selectedRouteIndex: number;\r\n tripSegments?: Segments;\r\n tripLoadDetails?: TripLoadsDetails;\r\n tripRouteDetails?: TripRouteDetails;\r\n viewType: ViewField;\r\n};\r\n\r\nconst initialState: TripBuilderState = {\r\n isLoading: false,\r\n isFetchingTripInfo: false,\r\n didFinishFetchingLoadDetails: false,\r\n noUserTripsFetched: false,\r\n wasTripCreationSuccessful: undefined,\r\n isDeletingTrip: false,\r\n wasTripDeletionSuccessful: undefined,\r\n wasLoadAdditionSuccessful: undefined,\r\n loadAdditionErrorMessage: undefined,\r\n wasLoadHiddenSuccessful: undefined,\r\n wasLoadRemovalSuccessful: undefined,\r\n form: {\r\n mode: TripTypeCategory.LoadByLoad,\r\n pickUpLocation: {\r\n city: '',\r\n radius: TRIP_BUILDER_DEFAULT_RADIUS,\r\n state: '',\r\n },\r\n dropOffLocation: undefined,\r\n pickUpDate: getTodayDateYYYYMMDD(),\r\n pickup: '',\r\n dropoff: '',\r\n hasPickedLocation: false,\r\n mpg: undefined,\r\n maxLength: 54,\r\n strictLength: false,\r\n maxWeight: 49000,\r\n strictWeight: false,\r\n countries: ['CA', 'US'],\r\n excludedStates: [],\r\n minMileage: undefined,\r\n maxMileage: undefined,\r\n equipmentType: undefined,\r\n maxLoads: 4,\r\n maxAge: undefined,\r\n },\r\n miniMap: {\r\n isLoading: false,\r\n isError: false,\r\n },\r\n map: {\r\n isLoading: false,\r\n isError: false,\r\n },\r\n userTrips: [],\r\n availableLoads: undefined,\r\n newestTripId: undefined,\r\n selectedRouteIndex: 0,\r\n tripSegments: undefined,\r\n tripLoadDetails: undefined,\r\n tripRouteDetails: undefined,\r\n viewType: ViewField.List,\r\n};\r\n\r\nexport interface TripLoads {\r\n loads?: Array<{ id: string; next: number }>;\r\n routes?: Array<{ loadIds: string[] }>;\r\n}\r\n\r\nexport type MapRequest = {\r\n thumbnail: boolean;\r\n aspectRatio: AspectRatio;\r\n originAddress: {\r\n city: string;\r\n state: string;\r\n };\r\n loadIds: string[];\r\n destinationAddress?: {\r\n city: string;\r\n state: string;\r\n };\r\n};\r\n\r\nexport type MapResponse = string;\r\n\r\nexport const convertFromTripBuilderLocation = (from: TripBuilderLocation | undefined): OriginLocation | undefined => {\r\n if (!from) {\r\n return undefined;\r\n } else {\r\n if (from.zipCode) {\r\n return {\r\n type: LocationType.ZIP,\r\n zipCode: from.zipCode,\r\n city: from.city ?? '',\r\n states: from.state ? [from.state] : [],\r\n radius: from.radius,\r\n };\r\n } else {\r\n return {\r\n type: LocationType.CITY,\r\n city: from.city ?? '',\r\n states: from.state ? [from.state] : [],\r\n radius: from.radius,\r\n };\r\n }\r\n }\r\n};\r\n\r\nexport const convertFromTripBuilderDestinationLocation = (from: TripBuilderLocation | undefined): DestLocation => {\r\n if (!from) {\r\n return {\r\n type: LocationType.ANY,\r\n };\r\n } else {\r\n if (from.zipCode) {\r\n return {\r\n type: LocationType.ZIP,\r\n zipCode: from.zipCode,\r\n city: from.city ?? '',\r\n states: from.state ? [from.state] : [],\r\n radius: from.radius,\r\n };\r\n } else {\r\n return {\r\n type: LocationType.CITY,\r\n city: from.city ?? '',\r\n states: from.state ? [from.state] : [],\r\n radius: from.radius,\r\n };\r\n }\r\n }\r\n};\r\n\r\nconst convertToTripBuilderLocation = (from: OriginLocation | DestLocation): TripBuilderLocation | undefined => {\r\n if (from.type === LocationType.ZIP) {\r\n return {\r\n radius: from.radius ?? 0,\r\n city: from.city,\r\n state: from.states.length > 0 ? from.states[0] : '',\r\n zipCode: from.zipCode,\r\n };\r\n } else if (from.type === LocationType.CITY) {\r\n return {\r\n radius: from.radius ?? 0,\r\n city: from.city,\r\n state: from.states.length > 0 ? from.states[0] : '',\r\n };\r\n } else if (from.type === LocationType.ANY) {\r\n return undefined;\r\n } else {\r\n throw new Error(`Unsupported type ${from.type} in trip builder location picker.`);\r\n }\r\n};\r\n\r\nconst convertFromTripLocationRequest = (response: UserTripResponse): UserTrip => {\r\n if (response.search.schedule.destination) {\r\n return {\r\n id: response.id,\r\n loadCount: response.loadCount,\r\n mode: response.mode,\r\n search: {\r\n schedule: {\r\n origin: response.search.schedule.origin,\r\n destination: response.search.schedule.destination,\r\n timeFrame: response.search.schedule.timeFrame,\r\n area: response.search.schedule.area,\r\n },\r\n truck: response.search.truck,\r\n loadFilter: response.search.loadFilter,\r\n tripLoads: response.search.tripLoads,\r\n },\r\n // maxLoads: response.search.maxLoads,\r\n profit: response.profit,\r\n mileage: response.mileage,\r\n duration: response.duration,\r\n available: response.available,\r\n loadIds: response.loadIds,\r\n };\r\n } else {\r\n return {\r\n id: response.id,\r\n loadCount: response.loadCount,\r\n mode: response.mode,\r\n search: {\r\n schedule: {\r\n origin: response.search.schedule.origin,\r\n timeFrame: response.search.schedule.timeFrame,\r\n area: response.search.schedule.area,\r\n },\r\n truck: response.search.truck,\r\n loadFilter: response.search.loadFilter,\r\n // maxLoads: response.search.maxLoads,\r\n tripLoads: response.search.tripLoads,\r\n },\r\n profit: response.profit,\r\n mileage: response.mileage,\r\n duration: response.duration,\r\n available: response.available,\r\n loadIds: response.loadIds,\r\n };\r\n }\r\n};\r\n\r\nconst convertToTripLocationRequest = (request: NewUserTrip): CreateUserTripRequest => {\r\n if (request.search.schedule.destination) {\r\n return {\r\n mode: request.mode,\r\n search: {\r\n schedule: {\r\n origin: request.search.schedule.origin,\r\n destination: request.search.schedule.destination,\r\n timeFrame: request.search.schedule.timeFrame,\r\n area: request.search.schedule.area,\r\n },\r\n truck: request.search.truck,\r\n loadFilter: request.search.loadFilter,\r\n // maxLoads: request.search.maxLoads,\r\n tripLoads: request.search.tripLoads,\r\n },\r\n };\r\n } else {\r\n return {\r\n mode: request.mode,\r\n search: {\r\n schedule: {\r\n origin: request.search.schedule.origin,\r\n\r\n timeFrame: request.search.schedule.timeFrame,\r\n area: request.search.schedule.area,\r\n },\r\n truck: request.search.truck,\r\n loadFilter: request.search.loadFilter,\r\n // maxLoads: request.search.maxLoads,\r\n tripLoads: request.search.tripLoads,\r\n },\r\n };\r\n }\r\n};\r\n\r\nexport const calculateTripLengthDays = (\r\n startingDeadhead: number,\r\n firstPickupDatetime: string | undefined,\r\n lastPickupDatetime: string | undefined,\r\n lastLoadDuration: number,\r\n finalDeadheadDuration: number\r\n) => {\r\n if (!firstPickupDatetime || !lastPickupDatetime) {\r\n return 0;\r\n } else {\r\n const startTime = moment(firstPickupDatetime).subtract(startingDeadhead, 's').startOf('day');\r\n const endTime = moment(lastPickupDatetime)\r\n .add(lastLoadDuration, 's')\r\n .add(finalDeadheadDuration, 's')\r\n .startOf('day');\r\n if (endTime.diff(startTime, 'd') === 0) {\r\n return 1;\r\n } else {\r\n return endTime.diff(startTime, 'd');\r\n }\r\n }\r\n};\r\n\r\ntype TripOperationRequest = {\r\n id: string;\r\n loadId: string;\r\n type: TripTypeCategory;\r\n routeIds?: string[];\r\n};\r\n\r\n// Action definitions\r\nconst selectViewTypeAction = createAction('SELECT_VIEW_TYPE');\r\nconst fetchTripBuilderFormAction = createApiAction('FETCH_TRIP_FORM');\r\nconst pickUpLocationAction = createAction<{ location: OriginLocation }>('SET_TRIP_PICK_UP_LOCATION');\r\nconst dropoffLocationAction = createAction<{ location: DestLocation }>('SET_TRIP_DELIVERY_LOCATION');\r\nconst switchLocationAction = createAction('SWITCH_LOCATIONS');\r\nconst updateFormFieldsAction = createAction>('UPDATE_TRIP_FORM_FIELDS');\r\nconst clearFormAction = createAction('CLEAR_NEW_TRIP_FORM');\r\nconst updateTripLoadsAction = createAction('UPDATE_TRIP_LOAD');\r\n\r\nconst fetchUserTripsAction = createApiAction('FETCH_USER_TRIPS');\r\n\r\nconst createNewTripAction = createApiActionWithFetchData('CREATE_NEW_TRIP');\r\n\r\nconst deleteUserTripAction = createApiActionWithFetchData('DELETE_TRIP');\r\n\r\nconst fetchSegmentsAction = createApiActionWithFetchData('FETCH_TRIP_SEGMENTS', { multiplex: false });\r\n\r\nconst fetchLoadsAction = createApiActionWithFetchData<\r\n { id: string; type: TripTypeCategory; index?: number },\r\n TripLoads\r\n>('FETCH_TRIP_LOADS', { multiplex: false });\r\n\r\nconst fetchRouteLoadDetailsAction = createApiActionWithFetchData<{ id: string; loadIds: string[] }, TripRouteDetails>(\r\n 'FETCH_TRIP_ROUTE_DETAILS',\r\n { multiplex: false }\r\n);\r\n\r\nconst fetchLoadsDetailsAction = createApiActionWithFetchData<{ id: string; loadIds: string[] }, TripLoadsDetails>(\r\n 'FETCH_TRIP_LOADS_DETAILS',\r\n { multiplex: false }\r\n);\r\n\r\nconst addLoadAction = createApiActionWithFetchData('ADD_TRIP_LOAD');\r\n\r\nconst removeLoadAction = createApiActionWithFetchData('REMOVE_TRIP_LOAD');\r\nconst removeLoadsAction = createApiAction<{ id: string; loadIds: string[] }, UserTripResponse>('REMOVE_TRIP_LOADS');\r\n\r\nconst hideLoadAction = createApiActionWithFetchData<\r\n { loadId: string; id: string; type: TripTypeCategory; routeIds?: string[] },\r\n {}\r\n>('HIDE_LOAD_ACTION');\r\n\r\nconst fetchMapAction = createApiActionWithFetchData('FETCH_TRIP_BUILDER_MAP', {\r\n multiplex: false,\r\n});\r\n\r\nconst fetchMiniMapAction = createApiActionWithFetchData('FETCH_TRIP_BUILDER_MINI_MAP', {\r\n multiplex: false,\r\n});\r\n\r\nconst setSelectedRouteIndex = createAction('SET_ROUTE_INDEX');\r\n\r\nconst sanitizeFormDatesAction = createAction('SANITIZE_TRIP_FORM');\r\n\r\n// Action creators\r\nexport const selectViewTpe = (viewType: ViewField) => selectViewTypeAction.action(viewType);\r\nexport const fetchTripBuilderForm = () => fetchTripBuilderFormAction.fetchAction(undefined);\r\nexport const fetchUserTrips = () => fetchUserTripsAction.fetchAction(undefined);\r\n\r\nexport const setPickUpLocationAction = (location: OriginLocation) =>\r\n pickUpLocationAction.action({ location: location });\r\n\r\nexport const setDropoffLocationAction = (location: DestLocation) =>\r\n dropoffLocationAction.action({ location: location });\r\n\r\nexport const setSwitchLocationAction = () => switchLocationAction.action(undefined);\r\nexport const setUpdateFormFieldsAction = (form: Partial) => updateFormFieldsAction.action(form);\r\nexport const setClearFormAction = () => clearFormAction.action(undefined);\r\n\r\nexport const createNewTrip = (newTrip: NewUserTrip) => createNewTripAction.fetchAction(newTrip);\r\n\r\nexport const deleteUserTrip = (id: string) => deleteUserTripAction.fetchAction(id);\r\n\r\nexport const fetchSegments = (id: string) => fetchSegmentsAction.fetchAction(id);\r\n\r\nexport const fetchLoads = (id: string, type: TripTypeCategory, index?: number) =>\r\n fetchLoadsAction.fetchAction({ id: id, type: type, index: index });\r\n\r\nexport const fetchTripLoadsDetails = (request: { id: string; loadIds: string[] }) =>\r\n fetchLoadsDetailsAction.fetchAction(request);\r\n\r\nexport const fetchRouteLoadDetails = (request: { id: string; loadIds: string[] }) =>\r\n fetchRouteLoadDetailsAction.fetchAction(request);\r\n\r\nexport const addLoad = (request: TripOperationRequest) => addLoadAction.fetchAction(request);\r\n\r\nexport const removeLoad = (request: TripOperationRequest) => removeLoadAction.fetchAction(request);\r\nexport const removeLoads = (request: { id: string; loadIds: string[] }) => removeLoadsAction.fetchAction(request);\r\n\r\nexport const hideLoad = (request: { loadId: string; id: string; type: TripTypeCategory; routeIds?: string[] }) =>\r\n hideLoadAction.fetchAction(request);\r\n\r\nexport const fetchTripBuilderMap = (request: MapRequest) => fetchMapAction.fetchAction(request);\r\n\r\nexport const fetchTripBuilderMiniMap = (request: MapRequest) => fetchMiniMapAction.fetchAction(request);\r\n\r\nexport const setRouteIndex = (index: number) => setSelectedRouteIndex.action(index);\r\n\r\nexport const sanitizeFormDates = () => sanitizeFormDatesAction.action(undefined);\r\n\r\nexport const updateTripLoads = (update: LoadUpdate) => updateTripLoadsAction.action(update);\r\n\r\n// Reducer\r\nexport const tripBuilderReducer = createMergedReducer(initialState, [\r\n updateTripLoadsAction.addCase((state, action) => {\r\n if (state.tripSegments?.segments) {\r\n state.tripSegments.segments = updateLoadsList(state.tripSegments.segments, action.data);\r\n }\r\n if (state.tripLoadDetails?.loads) {\r\n forEach(state.tripLoadDetails.loads, (loads) => {\r\n loads.segments = updateLoadsList(loads.segments, action.data);\r\n });\r\n }\r\n if (state.tripRouteDetails?.segments) {\r\n state.tripRouteDetails.segments = updateLoadsList(state.tripRouteDetails.segments, action.data);\r\n }\r\n }),\r\n selectViewTypeAction.addCase((state, action) => {\r\n state.viewType = action.data;\r\n }),\r\n pickUpLocationAction.addCase((state, action) => {\r\n state.form.pickUpLocation = convertToTripBuilderLocation(action.data.location);\r\n if (state.form.pickUpLocation && state.form.pickUpLocation.radius === undefined) {\r\n state.form.pickUpLocation.radius = TRIP_BUILDER_DEFAULT_RADIUS;\r\n }\r\n state.form.hasPickedLocation = true;\r\n }),\r\n dropoffLocationAction.addCase((state, action) => {\r\n state.form.dropOffLocation = convertToTripBuilderLocation(action.data.location);\r\n if (state.form.dropOffLocation && state.form.dropOffLocation.radius === undefined) {\r\n state.form.dropOffLocation.radius = TRIP_BUILDER_DEFAULT_RADIUS;\r\n }\r\n }),\r\n switchLocationAction.addCase((state) => {\r\n const location = state.form.dropOffLocation;\r\n state.form.dropOffLocation = state.form.pickUpLocation;\r\n state.form.pickUpLocation = location;\r\n }),\r\n updateFormFieldsAction.addCase((state, action) => {\r\n state.form.mode = action.data.mode ?? state.form.mode;\r\n state.form.pickup = action.data.pickup ?? state.form.pickup;\r\n state.form.pickUpDate = action.data.pickUpDate;\r\n state.form.pickUpTime = action.data.pickUpTime;\r\n state.form.dropoff = action.data.dropoff ?? state.form.dropoff;\r\n state.form.dropOffDate = action.data.dropOffDate;\r\n state.form.dropOffTime = action.data.dropOffTime;\r\n state.form.minMileage = action.data.minMileage;\r\n state.form.maxMileage = action.data.maxMileage;\r\n state.form.excludedStates = action.data.excludedStates ?? state.form.excludedStates;\r\n state.form.equipmentType = action.data.equipmentType;\r\n state.form.mpg = action.data.mpg;\r\n state.form.maxLoads = action.data.maxLoads ?? state.form.maxLoads;\r\n state.form.maxLength = action.data.maxLength ?? state.form.maxLength;\r\n state.form.strictLength = action.data.strictLength ?? state.form.strictLength;\r\n state.form.maxWeight = action.data.maxWeight ?? state.form.maxWeight;\r\n state.form.strictWeight = action.data.strictWeight ?? state.form.strictWeight;\r\n }),\r\n clearFormAction.addCase((state) => {\r\n state.form.mode = initialState.form.mode;\r\n state.form.pickUpLocation = initialState.form.pickUpLocation;\r\n state.form.pickUpDate = getTodayDateYYYYMMDD();\r\n state.form.pickUpTime = initialState.form.pickUpTime;\r\n state.form.dropOffLocation = initialState.form.dropOffLocation;\r\n state.form.dropOffDate = initialState.form.dropOffDate;\r\n state.form.dropOffTime = initialState.form.dropOffTime;\r\n state.form.minMileage = initialState.form.minMileage;\r\n state.form.maxMileage = initialState.form.maxMileage;\r\n state.form.excludedStates = initialState.form.excludedStates;\r\n state.form.equipmentType = initialState.form.equipmentType;\r\n state.form.maxLoads = initialState.form.maxLoads;\r\n state.form.maxLength = initialState.form.maxLength;\r\n state.form.strictLength = initialState.form.strictLength;\r\n state.form.maxWeight = initialState.form.maxWeight;\r\n state.form.strictWeight = initialState.form.strictWeight;\r\n }),\r\n sanitizeFormDatesAction.addCase((state) => {\r\n if (isDateInThePast(state.form.dropOffDate)) {\r\n state.form.dropOffDate = undefined;\r\n }\r\n if (isDateInThePast(state.form.pickUpDate)) {\r\n state.form.pickUpDate = getTodayDateYYYYMMDD();\r\n }\r\n }),\r\n fetchTripBuilderFormAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n state.form.pickUpLocation = data.form?.pickUpLocation;\r\n state.form.pickUpTime = data.form?.pickUpTime;\r\n state.form.pickUpDate = data.form?.pickUpDate;\r\n state.form.dropOffLocation = data.form?.dropOffLocation;\r\n state.form.dropOffTime = data.form?.dropOffDate;\r\n state.form.dropOffDate = data.form?.dropOffTime;\r\n state.form.excludedStates = data.form?.excludedStates;\r\n state.form.equipmentType = data.form?.equipmentType;\r\n state.form.mode = data.form?.mode;\r\n state.form.mpg = data.form?.mpg;\r\n state.form.maxLength = data.form?.maxLength;\r\n state.form.strictLength = data.form?.strictLength;\r\n state.form.maxWeight = data.form?.maxWeight;\r\n state.form.strictWeight = data.form?.strictWeight;\r\n state.form.minMileage = data.form.minMileage;\r\n state.form.maxMileage = data.form.maxMileage;\r\n }\r\n }),\r\n fetchUserTripsAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.isFetchingTripInfo = true;\r\n state.newestTripId = undefined;\r\n state.noUserTripsFetched = false;\r\n }),\r\n fetchUserTripsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n if (!isEmpty(data.trips)) {\r\n state.userTrips = map(data.trips, convertFromTripLocationRequest);\r\n state.isFetchingTripInfo = false;\r\n } else {\r\n state.noUserTripsFetched = true;\r\n state.userTrips = initialState.userTrips;\r\n }\r\n }\r\n state.isLoading = false;\r\n }),\r\n createNewTripAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.wasTripCreationSuccessful = initialState.wasTripCreationSuccessful;\r\n }),\r\n createNewTripAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n state.userTrips = [convertFromTripLocationRequest(data)];\r\n state.newestTripId = data.id;\r\n }\r\n state.wasTripCreationSuccessful = action.response.success;\r\n state.isLoading = false;\r\n }),\r\n deleteUserTripAction.initiateCase((state) => {\r\n state.isDeletingTrip = true;\r\n state.wasTripDeletionSuccessful = initialState.wasTripDeletionSuccessful;\r\n }),\r\n deleteUserTripAction.completeCase((state, action) => {\r\n state.wasTripDeletionSuccessful = action.response.success;\r\n state.isDeletingTrip = false;\r\n }),\r\n fetchSegmentsAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.tripSegments = initialState.tripSegments;\r\n }),\r\n fetchSegmentsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n state.tripSegments = data;\r\n }\r\n state.isLoading = false;\r\n }),\r\n fetchLoadsAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.availableLoads = initialState.availableLoads;\r\n state.didFinishFetchingLoadDetails = false;\r\n }),\r\n fetchLoadsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n state.availableLoads = data;\r\n }\r\n state.isLoading = false;\r\n state.didFinishFetchingLoadDetails = true;\r\n }),\r\n fetchMapAction.initiateCase((state) => {\r\n state.map.isLoading = true;\r\n state.map.isError = false;\r\n }),\r\n fetchMapAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const mimeType = action.response.headers?.['content-type'];\r\n state.map.data = mimeType ? `data:${mimeType};base64,${action.response.payload}` : undefined;\r\n } else {\r\n state.map.data = undefined;\r\n state.map.isError = true;\r\n }\r\n state.map.isLoading = false;\r\n }),\r\n fetchMiniMapAction.initiateCase((state) => {\r\n state.miniMap.isLoading = true;\r\n state.miniMap.isError = false;\r\n }),\r\n fetchMiniMapAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const mimeType = action.response.headers?.['content-type'];\r\n state.miniMap.data = mimeType ? `data:${mimeType};base64,${action.response.payload}` : undefined;\r\n } else {\r\n state.miniMap.data = undefined;\r\n state.miniMap.isError = true;\r\n }\r\n state.miniMap.isLoading = false;\r\n }),\r\n fetchLoadsDetailsAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.didFinishFetchingLoadDetails = false;\r\n state.newestTripId = undefined;\r\n state.tripLoadDetails = initialState.tripLoadDetails;\r\n }),\r\n fetchLoadsDetailsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n state.tripLoadDetails = data;\r\n } else {\r\n state.tripLoadDetails = undefined;\r\n }\r\n state.isLoading = false;\r\n state.didFinishFetchingLoadDetails = true;\r\n }),\r\n fetchRouteLoadDetailsAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.didFinishFetchingLoadDetails = false;\r\n state.newestTripId = undefined;\r\n state.tripRouteDetails = initialState.tripRouteDetails;\r\n }),\r\n fetchRouteLoadDetailsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n state.tripRouteDetails = data;\r\n } else {\r\n state.tripRouteDetails = undefined;\r\n }\r\n state.isLoading = false;\r\n state.didFinishFetchingLoadDetails = true;\r\n }),\r\n addLoadAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.loadAdditionErrorMessage = undefined;\r\n state.wasLoadAdditionSuccessful = initialState.wasLoadAdditionSuccessful;\r\n }),\r\n addLoadAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n map(state.userTrips, (trip, index) => {\r\n if (trip.id === data.id) {\r\n state.userTrips[index].search.tripLoads = data.loadIds;\r\n }\r\n });\r\n } else {\r\n state.loadAdditionErrorMessage = action.response.error.message;\r\n }\r\n state.wasLoadAdditionSuccessful = action.response.success;\r\n state.isLoading = false;\r\n }),\r\n removeLoadAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.wasLoadRemovalSuccessful = initialState.wasLoadRemovalSuccessful;\r\n }),\r\n removeLoadAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n map(state.userTrips, (trip, index) => {\r\n if (trip.id === data.id) {\r\n state.userTrips[index].search.tripLoads = data.loadIds;\r\n }\r\n });\r\n }\r\n state.wasLoadRemovalSuccessful = action.response.success;\r\n state.isLoading = false;\r\n }),\r\n removeLoadsAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.wasLoadRemovalSuccessful = initialState.wasLoadRemovalSuccessful;\r\n }),\r\n removeLoadsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const data = action.response.payload;\r\n const indexToUpdate = findIndex(state.userTrips, (trip) => trip.id === data.id);\r\n state.userTrips[indexToUpdate].search.tripLoads = data.loadIds;\r\n }\r\n state.wasLoadRemovalSuccessful = action.response.success;\r\n state.isLoading = false;\r\n }),\r\n hideLoadAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.wasLoadHiddenSuccessful = initialState.wasLoadHiddenSuccessful;\r\n }),\r\n hideLoadAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n state.wasLoadHiddenSuccessful = action.response.success;\r\n }),\r\n setSelectedRouteIndex.addCase((state, action) => {\r\n state.selectedRouteIndex = action.data;\r\n }),\r\n]);\r\n\r\nconst updateOnRemove$ = (action$: ActionsObservable) =>\r\n action$.ofType(removeLoadAction.responseType).pipe(\r\n mergeMap$((action: ResultResponseActionWithFetchData) => {\r\n if (action.response.success && action.fetchData) {\r\n return of$(\r\n fetchUserTripsAction.fetchAction(undefined),\r\n fetchSegmentsAction.fetchAction(action.fetchData.id),\r\n fetchLoadsAction.fetchAction({ id: action.fetchData.id, type: action.fetchData.type })\r\n );\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updateOnRemoveLoads$ = (action$: ActionsObservable) =>\r\n action$.ofType(removeLoadsAction.responseType).pipe(\r\n mergeMap$((action: ResultResponseActionWithFetchData) => {\r\n if (action.response.success) {\r\n return of$(fetchUserTripsAction.fetchAction(undefined));\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updateOnAdd$ = (action$: ActionsObservable) =>\r\n action$.ofType(addLoadAction.responseType).pipe(\r\n mergeMap$((action: ResultResponseActionWithFetchData) => {\r\n if (action.response.success && action.fetchData) {\r\n return of$(\r\n fetchSegmentsAction.fetchAction(action.fetchData.id),\r\n fetchUserTripsAction.fetchAction(undefined),\r\n fetchLoadsAction.fetchAction({ id: action.fetchData.id, type: action.fetchData.type })\r\n );\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updateOnHide$ = (action$: ActionsObservable) =>\r\n action$.ofType(hideLoadAction.responseType).pipe(\r\n mergeMap$((action: ResultResponseActionWithFetchData) => {\r\n if (action.response.success && action.fetchData) {\r\n if (action.fetchData?.type === TripTypeCategory.LoadByLoad) {\r\n return of$(\r\n fetchUserTripsAction.fetchAction(undefined),\r\n fetchSegmentsAction.fetchAction(action.fetchData.id),\r\n fetchLoadsAction.fetchAction({ id: action.fetchData.id, type: action.fetchData.type })\r\n );\r\n } else if (action.fetchData?.type === TripTypeCategory.EntireTrip) {\r\n if (action.fetchData.routeIds) {\r\n return of$(\r\n fetchUserTripsAction.fetchAction(undefined),\r\n fetchSegmentsAction.fetchAction(action.fetchData.id),\r\n fetchRouteLoadDetailsAction.fetchAction({ id: action.fetchData.id, loadIds: action.fetchData.routeIds })\r\n );\r\n }\r\n }\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updateOnCreateTrip$ = (action$: ActionsObservable) =>\r\n action$.ofType(createNewTripAction.responseType).pipe(\r\n mergeMap$((action: ResultResponseActionWithFetchData) => {\r\n if (action.response.success) {\r\n return of$(fetchUserTripsAction.fetchAction(undefined));\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updateOnDeleteTrip$ = (action$: ActionsObservable) =>\r\n action$.ofType(deleteUserTripAction.responseType).pipe(\r\n mergeMap$((action: ResultResponseActionWithFetchData) => {\r\n if (action.response.success) {\r\n return of$(fetchUserTripsAction.fetchAction(undefined));\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst onFetchAvailableLoads$ = (action$: ActionsObservable) =>\r\n action$.ofType(fetchLoadsAction.responseType).pipe(\r\n mergeMap$(\r\n (\r\n action: ResultResponseActionWithFetchData\r\n ) => {\r\n if (action.response.success && action.fetchData && action.response.payload) {\r\n if (action.fetchData.type === TripTypeCategory.EntireTrip) {\r\n if (!isEmpty(action.response.payload.routes)) {\r\n return of$(\r\n fetchRouteLoadDetailsAction.fetchAction({\r\n id: action.fetchData.id,\r\n loadIds: action.response.payload.routes?.[0].loadIds ?? [],\r\n })\r\n );\r\n } else {\r\n return of$();\r\n }\r\n } else {\r\n const loadIds = map(action.response.payload.loads, (load) => load.id);\r\n return of$(fetchLoadsDetailsAction.fetchAction({ id: action.fetchData.id, loadIds: loadIds }));\r\n }\r\n }\r\n return of$();\r\n }\r\n )\r\n );\r\n\r\nexport const createTripBuilderEpic = (api: Api) => {\r\n const tripBuilderClient = new TripBuilderClient(api);\r\n\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n createNewTripAction.createEpic$(action$, (request) =>\r\n tripBuilderClient.createNewTrip$(convertToTripLocationRequest(request))\r\n ),\r\n fetchUserTripsAction.createEpic$(action$, () => tripBuilderClient.fetchUserTrips$()),\r\n deleteUserTripAction.createEpic$(action$, (id) => tripBuilderClient.deleteUserTrip$(id)),\r\n fetchSegmentsAction.createEpic$(action$, (id) => tripBuilderClient.fetchSegments$(id)),\r\n fetchLoadsAction.createEpic$(action$, (request) => tripBuilderClient.fetchLoads$(request)),\r\n fetchMapAction.createEpic$(action$, (request) => tripBuilderClient.fetchMap$(request)),\r\n fetchMiniMapAction.createEpic$(action$, (request) => tripBuilderClient.fetchMiniMap$(request)),\r\n fetchLoadsDetailsAction.createEpic$(action$, (request) => tripBuilderClient.fetchTripLoadsDetails(request)),\r\n fetchRouteLoadDetailsAction.createEpic$(action$, (request) => tripBuilderClient.fetchRouteLoadDetails$(request)),\r\n addLoadAction.createEpic$(action$, (request) => tripBuilderClient.addLoad$(request)),\r\n removeLoadAction.createEpic$(action$, (request) => tripBuilderClient.removeLoad$(request)),\r\n removeLoadsAction.createEpic$(action$, (request) => tripBuilderClient.removeLoads$(request)),\r\n hideLoadAction.createEpic$(action$, (request) => tripBuilderClient.hideLoad$(request)),\r\n updateOnRemove$(action$),\r\n updateOnAdd$(action$),\r\n updateOnHide$(action$),\r\n updateOnCreateTrip$(action$),\r\n updateOnRemoveLoads$(action$),\r\n updateOnDeleteTrip$(action$),\r\n onFetchAvailableLoads$(action$)\r\n );\r\n};\r\n\r\nconst updateLoadsList = (loads: TripSegmentDetails[], update: LoadUpdate) => {\r\n switch (update.category) {\r\n case UpdateCategory.FAVORITE:\r\n case UpdateCategory.ONBOARDED:\r\n case UpdateCategory.HIDDEN:\r\n case UpdateCategory.BLOCKED:\r\n return loads;\r\n default:\r\n return map(loads, (load: TripSegmentDetails) => {\r\n if (load.id === update.loadID) {\r\n const updatedLoad = cloneDeep(load);\r\n switch (update.category) {\r\n case UpdateCategory.SAVED:\r\n updatedLoad.saved = update.isSaved;\r\n break;\r\n case UpdateCategory.CALLED:\r\n updatedLoad.contacted = update.isCalled;\r\n break;\r\n case UpdateCategory.EMAILED:\r\n updatedLoad.contacted = update.isEmailed;\r\n break;\r\n case UpdateCategory.PROGRESS:\r\n updatedLoad.progress = update.progress;\r\n if (update.isSaved !== undefined) {\r\n updatedLoad.saved = !!update.isSaved;\r\n }\r\n break;\r\n case UpdateCategory.NOTE:\r\n updatedLoad.note = update.note;\r\n break;\r\n }\r\n return updatedLoad;\r\n }\r\n return load;\r\n });\r\n }\r\n};\r\n","import { concat, defaultTo, filter, findIndex, map, uniqWith } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$, of as of$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError } from '@common/api';\r\nimport { TruckAlertsClient } from '@common/client/TruckAlertsClient';\r\nimport {\r\n createDefaultMessagesRequest,\r\n Message,\r\n MessageRequest,\r\n MESSAGES_REQUEST_LIMIT_APPENDING,\r\n MESSAGES_REQUEST_LIMIT_DEFAULT,\r\n MESSAGES_REQUEST_OFFSET_DEFAULT,\r\n MessagesByLoad,\r\n MessagesResult,\r\n} from '@common/model';\r\nimport { Response } from '@common/redux/Base';\r\nimport { simpleApiEpicToAction } from '@common/redux/epic/EpicHelper';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport const TRUCK_ALERTS_REDUCER_KEY = 'truckAlerts';\r\n\r\nconst FETCH_UNREAD_TRUCK_ALERTS_COUNT = 'FETCH_UNREAD_TRUCK_ALERTS_COUNT';\r\nconst FETCH_TRUCK_ALERTS = 'FETCH_TRUCK_ALERTS';\r\nconst FETCH_MORE_TRUCK_ALERTS = 'FETCH_MORE_TRUCK_ALERTS';\r\nconst FETCH_LOAD_INFO_TRUCK_ALERTS = 'FETCH_LOAD_INFO_TRUCK_ALERTS';\r\nconst UNREAD_TRUCK_ALERTS_COUNT_FETCHED = 'UNREAD_TRUCK_ALERTS_COUNT_FETCHED';\r\nconst TRUCK_ALERTS_FETCHED = 'TRUCK_ALERTS_FETCHED';\r\nconst LOAD_INFO_TRUCK_ALERTS_FETCHED = 'LOAD_INFO_TRUCK_ALERTS_FETCHED';\r\nconst READ_ALERT = 'READ_ALERT';\r\nconst DELETE_ALERT = 'DELETE_ALERT';\r\nconst UPDATE_LOAD_ALERT_RESPONSE = 'UPDATE_LOAD_ALERT_RESPONSE';\r\nconst NEW_TRUCK_ALERT = 'NEW_TRUCK_ALERT';\r\nconst NEW_TRUCK_ALERTS_FETCHED = 'NEW_TRUCK_ALERTS_FETCHED';\r\n\r\ntype MessagesResponse = Response;\r\n\r\ntype MessagesCountResponse = Response;\r\n\r\ninterface PartialStateLoadAlerts {\r\n [TRUCK_ALERTS_REDUCER_KEY]: TruckAlertsState;\r\n}\r\n\r\ninterface FetchLoadMessagesAction extends Action {\r\n loadID: string;\r\n}\r\n\r\ninterface UpdateMessageAction extends Action {\r\n messageID: string;\r\n}\r\n\r\ninterface ReadMessageAction extends UpdateMessageAction {\r\n isRead: boolean;\r\n}\r\n\r\ninterface LoadMessagesResponseAction extends Action {\r\n messagesResult: MessagesResult;\r\n loadID: string;\r\n}\r\n\r\ninterface FetchMessagesResponseAction extends Action {\r\n messagesResponse: MessagesResponse;\r\n}\r\n\r\ninterface FetchUnreadCountResponseAction extends Action {\r\n unreadMessages: number;\r\n updateNewMessagesTimestamp: number;\r\n}\r\n\r\nconst fetchMessagesResponse = (response: MessagesResponse): FetchMessagesResponseAction => ({\r\n type: TRUCK_ALERTS_FETCHED,\r\n messagesResponse: response,\r\n});\r\n\r\nconst fetchNewMessagesResponse = (response: MessagesResponse): FetchMessagesResponseAction => ({\r\n type: NEW_TRUCK_ALERTS_FETCHED,\r\n messagesResponse: response,\r\n});\r\n\r\nconst fetchMessageCountResponse = (response: MessagesCountResponse): FetchUnreadCountResponseAction => ({\r\n type: UNREAD_TRUCK_ALERTS_COUNT_FETCHED,\r\n unreadMessages: defaultTo(response.payload, -1),\r\n updateNewMessagesTimestamp: Date.now(),\r\n});\r\n\r\nexport const fetchUnreadTruckAlertsCount = (): Action => ({ type: FETCH_UNREAD_TRUCK_ALERTS_COUNT });\r\n\r\nconst fetchLoadMessagesResponse = (loadID: string) => (data: MessagesResult) => ({\r\n type: LOAD_INFO_TRUCK_ALERTS_FETCHED,\r\n messagesResult: data,\r\n loadID: loadID,\r\n});\r\n\r\nconst readMessageError = () => (error: ApiError) => ({\r\n success: false,\r\n type: UPDATE_LOAD_ALERT_RESPONSE,\r\n error: error,\r\n});\r\n\r\nconst loadMessageError = (loadID: string) => (error: ApiError) => ({\r\n success: false,\r\n type: LOAD_INFO_TRUCK_ALERTS_FETCHED,\r\n error: error,\r\n messagesResult: { messages: [], resultCount: 0, unreadMessagesCount: 0 },\r\n loadID: loadID,\r\n});\r\n\r\nexport const fetchMessages = (): Action => ({\r\n type: FETCH_TRUCK_ALERTS,\r\n});\r\n\r\nexport const fetchMoreMessages = (): Action => ({ type: FETCH_MORE_TRUCK_ALERTS });\r\n\r\nexport const fetchLoadInfoMessages = (loadID: string): FetchLoadMessagesAction => ({\r\n type: FETCH_LOAD_INFO_TRUCK_ALERTS,\r\n loadID: loadID,\r\n});\r\n\r\nexport const readMessage = (messageID: string, isRead: boolean = true): ReadMessageAction => ({\r\n type: READ_ALERT,\r\n messageID: messageID,\r\n isRead: isRead,\r\n});\r\n\r\nexport const deleteMessage = (messageID: string): UpdateMessageAction => ({\r\n type: DELETE_ALERT,\r\n messageID: messageID,\r\n});\r\n\r\nexport const newTruckAlert = (): Action => ({\r\n type: NEW_TRUCK_ALERT,\r\n});\r\n\r\nconst messageUpdated = (): Action => ({\r\n type: UPDATE_LOAD_ALERT_RESPONSE,\r\n});\r\n\r\nexport interface TruckAlertsState {\r\n messagesRequest: MessageRequest;\r\n messages?: Message[]; // undefined: error, empty: user has no messages\r\n loadInfoMessages: MessagesByLoad;\r\n resultCount: number;\r\n unreadMessagesCount: number;\r\n isLoadingMessages: boolean;\r\n isLastResult: boolean;\r\n isLoadingMore: boolean;\r\n updateNewMessagesTimestamp: number;\r\n}\r\n\r\nconst initialState: TruckAlertsState = {\r\n messagesRequest: createDefaultMessagesRequest(),\r\n isLoadingMessages: false,\r\n resultCount: 0,\r\n unreadMessagesCount: 0,\r\n loadInfoMessages: new Map(),\r\n isLastResult: false,\r\n isLoadingMore: false,\r\n updateNewMessagesTimestamp: 0,\r\n};\r\n\r\n// This epic was renamed from MessagesEpic to TruckAlertsEpic to better describe its\r\n// purpose and reduce confusion with Communication related code. Note that not all\r\n// properties have been renamed, so you may see 'messages' used in places.\r\n// There will be a larger refactor in the future.\r\n//\r\n// Be careful updating this reducer to use createReducer or using produce as this use immer and was updated. Check immer+maps before any work.\r\nexport const truckAlertsReducer = createReducer(initialState, {\r\n [READ_ALERT]: (state: TruckAlertsState, action: ReadMessageAction) => {\r\n if (state.messages) {\r\n const index = findIndex(state.messages, (message) => {\r\n return message.id === action.messageID;\r\n });\r\n if (index !== -1) {\r\n const isPreviouslyRead = state.messages[index].read;\r\n state.messages[index].read = action.isRead;\r\n\r\n if (action.isRead && !isPreviouslyRead && state.unreadMessagesCount > 0) {\r\n state.unreadMessagesCount--;\r\n } else if (!action.isRead && isPreviouslyRead) {\r\n state.unreadMessagesCount++;\r\n }\r\n }\r\n }\r\n },\r\n [DELETE_ALERT]: (state: TruckAlertsState, action: UpdateMessageAction) => {\r\n if (state.messages) {\r\n const deletedMessageID = action.messageID;\r\n const indexDeletedMessage = findIndex(state.messages, (message) => message.id === deletedMessageID);\r\n if (indexDeletedMessage !== -1) {\r\n const isDeletedMessageRead = state.messages[indexDeletedMessage].read;\r\n const filteredMessages = filter(state.messages, (message: Message) => message.id !== deletedMessageID);\r\n let newUnreadMessagesCount = state.unreadMessagesCount;\r\n if (!isDeletedMessageRead && state.unreadMessagesCount > 0) {\r\n newUnreadMessagesCount = state.unreadMessagesCount - 1;\r\n }\r\n return {\r\n ...state,\r\n messages: filteredMessages,\r\n unreadMessagesCount: newUnreadMessagesCount,\r\n messagesRequest: {\r\n ...state.messagesRequest,\r\n // reduce offset so we don't miss a result from server\r\n // on next additional fetch\r\n offset: state.messagesRequest.offset - 1,\r\n },\r\n };\r\n }\r\n }\r\n return state;\r\n },\r\n [FETCH_TRUCK_ALERTS]: (state: TruckAlertsState) => ({\r\n ...state,\r\n messagesRequest: {\r\n ...state.messagesRequest,\r\n limit: MESSAGES_REQUEST_LIMIT_DEFAULT,\r\n offset: MESSAGES_REQUEST_OFFSET_DEFAULT,\r\n },\r\n isLoadingMessages: true,\r\n }),\r\n [FETCH_MORE_TRUCK_ALERTS]: (state: TruckAlertsState) => ({\r\n ...state,\r\n isLoadingMore: true,\r\n messagesRequest: {\r\n ...state.messagesRequest,\r\n limit: MESSAGES_REQUEST_LIMIT_APPENDING,\r\n offset:\r\n state.messagesRequest.offset === MESSAGES_REQUEST_OFFSET_DEFAULT\r\n ? MESSAGES_REQUEST_LIMIT_DEFAULT\r\n : state.messagesRequest.offset + MESSAGES_REQUEST_LIMIT_APPENDING,\r\n },\r\n }),\r\n [TRUCK_ALERTS_FETCHED]: (state: TruckAlertsState, action: FetchMessagesResponseAction) => {\r\n const messagesResult = action.messagesResponse.payload;\r\n const wasInitialRequest = state.messagesRequest.offset === MESSAGES_REQUEST_OFFSET_DEFAULT;\r\n if (messagesResult) {\r\n const newMessages = wasInitialRequest\r\n ? messagesResult.messages\r\n : uniqWith(\r\n concat(state.messages || [], messagesResult.messages),\r\n (message1: Message, message2: Message) => message1.id === message2.id\r\n );\r\n return {\r\n ...state,\r\n isLoadingMessages: false,\r\n isLoadingMore: false,\r\n messages: newMessages,\r\n unreadMessagesCount: messagesResult.unreadMessagesCount,\r\n updateNewMessagesTimestamp: Date.now(),\r\n resultCount: messagesResult.resultCount,\r\n isLastResult: messagesResult.messages.length < state.messagesRequest.limit,\r\n };\r\n }\r\n return {\r\n ...state,\r\n isLoadingMessages: false,\r\n isLoadingMore: false,\r\n };\r\n },\r\n [LOAD_INFO_TRUCK_ALERTS_FETCHED]: (state: TruckAlertsState, action: LoadMessagesResponseAction) => {\r\n const { messagesResult } = action;\r\n // Keep the load messages in a key value map, where the key is the loadID\r\n const newLoadInfoMessages = new Map(state.loadInfoMessages);\r\n newLoadInfoMessages.set(action.loadID, messagesResult.messages);\r\n return { ...state, loadInfoMessages: newLoadInfoMessages };\r\n },\r\n [UNREAD_TRUCK_ALERTS_COUNT_FETCHED]: (\r\n state: TruckAlertsState = initialState,\r\n action: FetchUnreadCountResponseAction\r\n ) => {\r\n if (action.unreadMessages >= 0) {\r\n return {\r\n ...state,\r\n unreadMessagesCount: action.unreadMessages,\r\n updateNewMessagesTimestamp: action.updateNewMessagesTimestamp,\r\n };\r\n }\r\n return state;\r\n },\r\n [NEW_TRUCK_ALERTS_FETCHED]: (state: TruckAlertsState = initialState, action: FetchMessagesResponseAction) => {\r\n if (action.messagesResponse.payload) {\r\n const newMessages = uniqWith(\r\n concat(action.messagesResponse.payload.messages, state.messages || []),\r\n (message1: Message, message2: Message) => message1.id === message2.id\r\n );\r\n return {\r\n ...state,\r\n unreadMessagesCount: state.unreadMessagesCount + action.messagesResponse.payload?.unreadMessagesCount,\r\n updateNewMessagesTimestamp: Date.now(),\r\n messages: newMessages,\r\n messagesRequest: {\r\n ...state.messagesRequest,\r\n offset: newMessages.length,\r\n },\r\n };\r\n }\r\n return state;\r\n },\r\n});\r\n\r\nconst fetchMessages$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n truckAlertsClient: TruckAlertsClient\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_TRUCK_ALERTS,\r\n () => {\r\n const request = state$.value.truckAlerts.messagesRequest;\r\n return truckAlertsClient.fetchTruckAlerts$(request);\r\n },\r\n fetchMessagesResponse\r\n );\r\n\r\nconst fetchMoreMessages$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n truckAlertsClient: TruckAlertsClient\r\n) =>\r\n action$.ofType(FETCH_MORE_TRUCK_ALERTS).pipe(\r\n mergeMap$(() => {\r\n if (state$.value.truckAlerts.isLastResult) {\r\n return of$(\r\n fetchMessagesResponse({\r\n success: true,\r\n payload: {\r\n messages: [],\r\n resultCount: state$.value.truckAlerts.resultCount,\r\n unreadMessagesCount: state$.value.truckAlerts.unreadMessagesCount,\r\n },\r\n })\r\n );\r\n }\r\n const request = state$.value.truckAlerts.messagesRequest;\r\n return truckAlertsClient.fetchTruckAlerts$(request).pipe(\r\n map$((response) => {\r\n return response.result(\r\n (data) =>\r\n fetchMessagesResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n fetchMessagesResponse({\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst fetchNewMessages$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n truckAlertsClient: TruckAlertsClient\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n NEW_TRUCK_ALERT,\r\n () => {\r\n return truckAlertsClient.fetchUnreadTruckAlerts$(\r\n { limit: MESSAGES_REQUEST_LIMIT_DEFAULT, offset: MESSAGES_REQUEST_OFFSET_DEFAULT },\r\n state$.value.truckAlerts.updateNewMessagesTimestamp\r\n );\r\n },\r\n fetchNewMessagesResponse\r\n );\r\n\r\nconst fetchUnreadTruckAlertsCount$ = (action$: ActionsObservable, truckAlertsClient: TruckAlertsClient) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n FETCH_UNREAD_TRUCK_ALERTS_COUNT,\r\n () => truckAlertsClient.fetchTruckAlertsCount$(),\r\n fetchMessageCountResponse\r\n );\r\n\r\nconst fetchLoadInfoMessages$ = (action$: ActionsObservable, truckAlertsClient: TruckAlertsClient) =>\r\n action$\r\n .ofType(FETCH_LOAD_INFO_TRUCK_ALERTS)\r\n .pipe(\r\n mergeMap$((action: FetchLoadMessagesAction) =>\r\n truckAlertsClient\r\n .fetchLoadInfoAlerts$(action.loadID)\r\n .pipe(\r\n map$((response) =>\r\n response.result(fetchLoadMessagesResponse(action.loadID), loadMessageError(action.loadID))\r\n )\r\n )\r\n )\r\n );\r\n\r\nconst readMessage$ = (action$: ActionsObservable, truckAlertsClient: TruckAlertsClient) =>\r\n action$\r\n .ofType(READ_ALERT)\r\n .pipe(\r\n mergeMap$((action: ReadMessageAction) =>\r\n truckAlertsClient\r\n .readAlert$(action.messageID, action.isRead)\r\n .pipe(map$((response) => response.resultWithoutData(messageUpdated, readMessageError())))\r\n )\r\n );\r\n\r\nconst deleteMessage$ = (action$: ActionsObservable, truckAlertsClient: TruckAlertsClient) =>\r\n action$\r\n .ofType(DELETE_ALERT)\r\n .pipe(\r\n mergeMap$((action: UpdateMessageAction) =>\r\n truckAlertsClient\r\n .deleteAlert$(action.messageID)\r\n .pipe(map$((response) => response.resultWithoutData(messageUpdated, readMessageError())))\r\n )\r\n );\r\n\r\nexport const createTruckAlertsEpic = (api: Api) => {\r\n const truckAlertsClient = new TruckAlertsClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) => {\r\n return merge$(\r\n ...map([fetchLoadInfoMessages$, readMessage$, fetchUnreadTruckAlertsCount$, deleteMessage$], (func) =>\r\n func(action$, truckAlertsClient)\r\n ),\r\n fetchMessages$(action$, state$, truckAlertsClient),\r\n fetchMoreMessages$(action$, state$, truckAlertsClient),\r\n fetchNewMessages$(action$, state$, truckAlertsClient)\r\n );\r\n };\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api } from '@common/api';\r\nimport { ApiErrorCode } from '@common/api/ApiErrorCode';\r\nimport { UploadDocumentData, UploadFileClient } from '@common/client/UploadFileClient';\r\nimport { Document } from '@common/model';\r\nimport { createResponseAction, ResponseAction } from '@common/redux/Base';\r\n\r\nconst UPLOAD_NEW_DOCUMENT = 'UPLOAD_NEW_DOCUMENT';\r\nexport const UPLOAD_NEW_DOCUMENT_SENT = 'UPLOAD_NEW_DOCUMENT_SENT';\r\nconst RESET_UPLOAD_STATE = 'RESET_UPLOAD_STATE';\r\nconst CLEAR_NEW_DOCUMENT = 'CLEAR_NEW_DOCUMENT';\r\n\r\ninterface UploadDocumentAction extends Action {\r\n documentMetadata: DocumentFileMetaData;\r\n cancelGroup?: string;\r\n}\r\n\r\nexport type DocumentFileMetaData = UploadDocumentData;\r\nexport const uploadDocument = (documentMetadata: DocumentFileMetaData, cancelGroup?: string): UploadDocumentAction => {\r\n return {\r\n type: UPLOAD_NEW_DOCUMENT,\r\n documentMetadata: documentMetadata,\r\n cancelGroup: cancelGroup,\r\n };\r\n};\r\n\r\nexport const resetUploadState = (): Action => ({ type: RESET_UPLOAD_STATE });\r\n\r\nexport const clearNewDocument = (): Action => ({ type: CLEAR_NEW_DOCUMENT });\r\n\r\nexport interface UploadState {\r\n isUploadingDocument: boolean;\r\n isUploadError: boolean | undefined;\r\n isFileInvalid: boolean;\r\n isFileNameInvalid: boolean;\r\n wasCancelled: boolean;\r\n cancelID?: string;\r\n newDocument: Document | undefined;\r\n}\r\n\r\nconst initialState: UploadState = {\r\n isUploadingDocument: false,\r\n isUploadError: false,\r\n isFileInvalid: false,\r\n isFileNameInvalid: false,\r\n newDocument: undefined,\r\n wasCancelled: false,\r\n};\r\n\r\nexport const uploadFileReducer = (state = initialState, action: Action): UploadState => {\r\n switch (action.type) {\r\n case UPLOAD_NEW_DOCUMENT:\r\n return {\r\n ...state,\r\n isUploadingDocument: true,\r\n isUploadError: undefined,\r\n newDocument: undefined,\r\n };\r\n case CLEAR_NEW_DOCUMENT: {\r\n return { ...state, newDocument: undefined };\r\n }\r\n case UPLOAD_NEW_DOCUMENT_SENT: {\r\n const sentDocAction = action as ResponseAction;\r\n const wasCancelled = (sentDocAction.response.error && sentDocAction.response.error.wasCancelled) || false;\r\n\r\n if (sentDocAction.response.success || wasCancelled) {\r\n const newState = {\r\n ...state,\r\n isUploadError: false,\r\n isUploadingDocument: false,\r\n isFileInvalid: false,\r\n isFileNameInvalid: false,\r\n wasCancelled: wasCancelled,\r\n newDocument: sentDocAction.response.payload,\r\n };\r\n if (sentDocAction.response.payload) {\r\n newState.newDocument = sentDocAction.response.payload;\r\n }\r\n return newState;\r\n } else {\r\n return {\r\n ...state,\r\n isUploadError: true,\r\n isUploadingDocument: false,\r\n isFileInvalid: sentDocAction.response.error\r\n ? sentDocAction.response.error.code === ApiErrorCode.INVALID_UPLOAD_FILE_TYPE\r\n : false,\r\n isFileNameInvalid: sentDocAction.response.error\r\n ? sentDocAction.response.error.code === ApiErrorCode.INVALID_CHARACTERS_FILENAME_TYPE\r\n : false,\r\n };\r\n }\r\n }\r\n case RESET_UPLOAD_STATE: {\r\n return initialState;\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst uploadFile$ = (client: UploadFileClient, action$: ActionsObservable) =>\r\n action$.ofType(UPLOAD_NEW_DOCUMENT).pipe(\r\n mergeMap$((action: UploadDocumentAction) =>\r\n client.uploadDocument$(action.documentMetadata, action.cancelGroup).pipe(\r\n map$((response) =>\r\n response.result(\r\n (data) =>\r\n createResponseAction(UPLOAD_NEW_DOCUMENT_SENT)({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n createResponseAction(UPLOAD_NEW_DOCUMENT_SENT)({\r\n success: false,\r\n error: error,\r\n })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\nexport const createUploadFileEpic = (api: Api) => {\r\n const client = new UploadFileClient(api);\r\n return (action$: ActionsObservable) => merge$(uploadFile$(client, action$));\r\n};\r\n","import { clone, intersection } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$, Observable, of as of$ } from 'rxjs';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { UserClient } from '@common/client/UserClient';\r\nimport { CompanyCategory, LoadDetailsRoles, Roles, UserAlerts, UserInfo, UserProfile, UserType } from '@common/model';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\nimport { simpleApiEpicToAction } from '@common/redux/epic/EpicHelper';\r\n\r\nconst UPDATE_LAST_ID = 'UPDATE_LAST_ID';\r\nconst FETCH_USER = 'FETCH_USER';\r\nconst USER_ALERTS = 'USER_ALERTS';\r\nconst UPDATE_USER = 'UPDATE_USER';\r\nconst USER_UPDATED = 'USER_UPDATED';\r\nconst USER_ALERTS_FULFILLED = 'USER_ALERTS_FULFILLED';\r\nconst FETCH_USER_FULFILLED = 'FETCH_USER_FULFILLED';\r\nconst USER_INBOX_UPDATED = 'USER_INBOX_UPDATED';\r\nconst FETCH_GUEST_AVAILABLE_LOAD_VIEW_COUNT = 'FETCH_GUEST_AVAILABLE_LOAD_VIEW_COUNT';\r\nconst FETCH_GUEST_AVAILABLE_LOAD_VIEW_COUNT_FULFILLED = 'FETCH_GUEST_AVAILABLE_LOAD_VIEW_COUNT_FULFILLED';\r\n\r\nexport type UserResponse = Response;\r\nexport type UserAlertsResponse = Response;\r\nexport type UserUpdateResponse = Response;\r\n\r\ninterface UpdateLastId extends Action {\r\n lastMaintenanceIdVersion: number;\r\n}\r\n\r\ninterface FetchUser extends Action {\r\n redirectOnAuthentication: boolean;\r\n forceRefresh: boolean;\r\n}\r\n\r\ninterface UpdateUser extends Action {\r\n userInfo: UserInfo;\r\n}\r\n\r\ninterface UserUpdatedAction extends Action {\r\n response: UserUpdateResponse;\r\n}\r\n\r\ninterface FetchUserProfile extends Action {\r\n profile: UserResponse;\r\n}\r\n\r\ninterface UserAlertsFulfilled extends Action {\r\n userAlerts: UserAlertsResponse;\r\n}\r\n\r\ninterface UserInboxMessageUpdated extends Action {\r\n inboxUnreadCount: number;\r\n}\r\n\r\ninterface UpdateAvailableLoadViewCountAction extends Action {\r\n response: Response<{ availableLoadViewCount: number }>;\r\n}\r\n\r\nexport const updateLastId = (response: number): UpdateLastId => ({\r\n type: UPDATE_LAST_ID,\r\n lastMaintenanceIdVersion: response,\r\n});\r\nexport const fetchUser = (redirectOnAuthentication: boolean = true, forceRefresh: boolean = false): FetchUser => ({\r\n type: FETCH_USER,\r\n redirectOnAuthentication: redirectOnAuthentication,\r\n forceRefresh: forceRefresh,\r\n});\r\n\r\nexport const fetchAvailableLoadViewCount = () => ({\r\n type: FETCH_GUEST_AVAILABLE_LOAD_VIEW_COUNT,\r\n});\r\n\r\nconst fetchAvailableLoadViewCountFulfilled = (\r\n response: Response<{ availableLoadViewCount: number }>\r\n): UpdateAvailableLoadViewCountAction => ({\r\n type: FETCH_GUEST_AVAILABLE_LOAD_VIEW_COUNT_FULFILLED,\r\n response: response,\r\n});\r\n\r\nexport const updateUserInfo = (userInfo: UserInfo): UpdateUser => ({\r\n type: UPDATE_USER,\r\n userInfo: userInfo,\r\n});\r\n\r\nexport const fetchUserAlerts = () => ({\r\n type: USER_ALERTS,\r\n});\r\n\r\nexport const fetchUserFulfilled = (response: UserResponse): FetchUserProfile => ({\r\n type: FETCH_USER_FULFILLED,\r\n profile: response,\r\n});\r\n\r\nexport const fetchUserAlertsFulfilled = (response: UserAlertsResponse): UserAlertsFulfilled => ({\r\n type: USER_ALERTS_FULFILLED,\r\n userAlerts: response,\r\n});\r\n\r\nexport const fetchUserInboxMessageUpdated = (inboxUnreadCount: number): UserInboxMessageUpdated => ({\r\n type: USER_INBOX_UPDATED,\r\n inboxUnreadCount: inboxUnreadCount,\r\n});\r\n\r\nconst userInfoUpdated = (response: UserUpdateResponse): UserUpdatedAction => ({\r\n type: USER_UPDATED,\r\n response: response,\r\n});\r\n\r\nexport interface UserState extends BaseState {\r\n profile?: UserResponse;\r\n userAlerts?: UserAlertsResponse;\r\n roles?: Set;\r\n accesses: LoadDetailsRoles;\r\n update: {\r\n isUpdatingInfo: boolean;\r\n updatedSuccessfully?: boolean;\r\n updateTime?: number;\r\n };\r\n // @FIXME: This should be stored in a Settings-related state, not here\r\n // (Note that this value is used not only in MOB and MEM, but in Intg as well)\r\n lastMaintenanceIdVersion: number;\r\n profileFetchedAt?: number;\r\n userType: UserType;\r\n}\r\n\r\nexport const initialUserState = {\r\n isLoading: false,\r\n update: {\r\n isUpdatingInfo: false,\r\n },\r\n accesses: {\r\n isMapTollsAvailable: false,\r\n isCreditRatingAvailable: false,\r\n isRateCheckAvailable: false,\r\n isCargoChiefRateAvailable: false,\r\n isLoadPlannerAvailable: false,\r\n isInternalAdmin: false,\r\n },\r\n lastMaintenanceIdVersion: 0,\r\n userType: UserType.Carrier,\r\n};\r\n\r\nexport const userReducer = (state: UserState = initialUserState, action: Action): UserState => {\r\n switch (action.type) {\r\n case FETCH_USER_FULFILLED: {\r\n const profileAction = action as FetchUserProfile;\r\n let roles;\r\n let accesses = state.accesses;\r\n let userType = state.userType;\r\n\r\n if (profileAction.profile.payload) {\r\n const payload = profileAction.profile.payload;\r\n const rolesArr = payload.roles;\r\n roles = new Set(rolesArr);\r\n accesses = {\r\n isMapTollsAvailable: hasRoles(rolesArr, [Roles.Pcmiler]),\r\n isCreditRatingAvailable: hasRoles(rolesArr, [Roles.Guest, Roles.Premium, Roles.Website]),\r\n isRateCheckAvailable: hasRoles(rolesArr, [Roles.Guest, Roles.Ratecheck, Roles.Website, Roles.Internal]),\r\n isCargoChiefRateAvailable: hasRoles(rolesArr, [Roles.CargoChiefRate]),\r\n isLoadPlannerAvailable: hasRoles(rolesArr, [Roles.Loadplanner_beta, Roles.Loadplanner]),\r\n isInternalAdmin: hasRoles(rolesArr, [Roles.Admin, Roles.Internal]),\r\n };\r\n userType = deriveUserType(payload.companyCategory);\r\n }\r\n\r\n return {\r\n ...state,\r\n profile: profileAction.profile,\r\n roles: roles,\r\n isLoading: false,\r\n accesses: accesses,\r\n userType: userType,\r\n profileFetchedAt: Date.now(),\r\n };\r\n }\r\n case USER_ALERTS_FULFILLED: {\r\n const alertAction = action as UserAlertsFulfilled;\r\n return {\r\n ...state,\r\n userAlerts: alertAction.userAlerts,\r\n isLoading: false,\r\n };\r\n }\r\n case USER_ALERTS:\r\n case FETCH_USER:\r\n return {\r\n ...state,\r\n isLoading: true,\r\n };\r\n\r\n case UPDATE_USER:\r\n return {\r\n ...state,\r\n update: {\r\n isUpdatingInfo: true,\r\n updatedSuccessfully: undefined,\r\n },\r\n };\r\n case USER_UPDATED: {\r\n const updateAction = action as UserUpdatedAction;\r\n const stateToUpdate = state;\r\n //Here we update the existing user profile information\r\n if (\r\n updateAction.response.success &&\r\n updateAction.response.payload &&\r\n stateToUpdate.profile &&\r\n stateToUpdate.profile.payload\r\n ) {\r\n stateToUpdate.profile.payload = mergeUserInfo(stateToUpdate.profile.payload, updateAction.response.payload);\r\n }\r\n return {\r\n ...stateToUpdate,\r\n update: {\r\n isUpdatingInfo: false,\r\n updatedSuccessfully: updateAction.response.success,\r\n updateTime: Date.now(),\r\n },\r\n };\r\n }\r\n case UPDATE_LAST_ID: {\r\n const updateIdAction = action as UpdateLastId;\r\n return {\r\n ...state,\r\n lastMaintenanceIdVersion: updateIdAction.lastMaintenanceIdVersion,\r\n };\r\n }\r\n case USER_INBOX_UPDATED: {\r\n const updatedInboxCount = action as UserInboxMessageUpdated;\r\n const stateToUpdate = state;\r\n if (stateToUpdate.userAlerts && stateToUpdate.userAlerts?.payload) {\r\n stateToUpdate.userAlerts.payload.messagesInfo.unreadMessagesCount = updatedInboxCount.inboxUnreadCount;\r\n }\r\n return stateToUpdate;\r\n }\r\n case FETCH_GUEST_AVAILABLE_LOAD_VIEW_COUNT_FULFILLED: {\r\n const updateAction = action as UpdateAvailableLoadViewCountAction;\r\n const stateToUpdate = state;\r\n if (\r\n updateAction.response.success &&\r\n updateAction.response.payload &&\r\n stateToUpdate.profile &&\r\n stateToUpdate.profile.payload\r\n ) {\r\n const userInfo = clone(stateToUpdate.profile.payload);\r\n userInfo.availableLoadViewCount = updateAction.response.payload.availableLoadViewCount;\r\n stateToUpdate.profile.payload = userInfo;\r\n }\r\n return stateToUpdate;\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst fetchUserEpic$ = (\r\n client: UserClient,\r\n action$: ActionsObservable,\r\n state$: StateObservable<{ user: UserState }>\r\n) => {\r\n let isFetchingUser = false;\r\n return action$.ofType(FETCH_USER).pipe(\r\n mergeMap((action: FetchUser): Observable => {\r\n const user = state$.value.user;\r\n if (!action.forceRefresh && user && user.profile && user.profile.success) {\r\n return of$(fetchUserFulfilled({ success: user.profile.success, payload: user.profile.payload }));\r\n }\r\n if (isFetchingUser) {\r\n return of$({ type: '' });\r\n }\r\n isFetchingUser = true;\r\n return client.loadProfile$(action.redirectOnAuthentication, action.forceRefresh).pipe(\r\n map((response) => {\r\n isFetchingUser = false;\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess;\r\n return fetchUserFulfilled({ success: response.success, payload: successResp.data });\r\n } else {\r\n const error = response as ApiError;\r\n return fetchUserFulfilled({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n );\r\n};\r\n\r\nconst fetchUserAlertsEpic$ = (client: UserClient, action$: ActionsObservable) => {\r\n return action$.ofType(USER_ALERTS).pipe(\r\n mergeMap(() => {\r\n return client.alerts$().pipe(\r\n map((response: ApiResponse123) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess;\r\n return fetchUserAlertsFulfilled({ success: response.success, payload: successResp.data });\r\n } else {\r\n const error = response as ApiError;\r\n return fetchUserAlertsFulfilled({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n );\r\n};\r\n\r\nexport const updateUserEpic$ = (userClient: UserClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n UPDATE_USER,\r\n (action: UpdateUser) => userClient.updateUserInfo$(action.userInfo),\r\n userInfoUpdated\r\n );\r\n};\r\n\r\nconst updateUserAvailableLoadViewCountEpic$ = (userClient: UserClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n FETCH_GUEST_AVAILABLE_LOAD_VIEW_COUNT,\r\n userClient.fetchAvailableLoadViewCount$,\r\n fetchAvailableLoadViewCountFulfilled\r\n );\r\n};\r\n\r\nexport const createUserEpic = (api: Api) => {\r\n const userClient = new UserClient(api);\r\n\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n fetchUserEpic$(userClient, action$, state$),\r\n fetchUserAlertsEpic$(userClient, action$),\r\n updateUserEpic$(userClient, action$),\r\n updateUserAvailableLoadViewCountEpic$(userClient, action$)\r\n );\r\n};\r\n\r\nconst mergeUserInfo = (prevUserInfo: UserProfile, userInfo: UserInfo) => {\r\n // doing merge like this because otherwise new userInfo without optional params\r\n // does not overwrite populated optional params in old userInfo\r\n const mergedUserInfo = clone(prevUserInfo);\r\n mergedUserInfo.firstName = userInfo.firstName;\r\n mergedUserInfo.lastName = userInfo.lastName;\r\n mergedUserInfo.email = userInfo.email;\r\n mergedUserInfo.phone = userInfo.phone;\r\n mergedUserInfo.phoneExt = userInfo.phoneExt;\r\n mergedUserInfo.mobile = userInfo.mobile;\r\n mergedUserInfo.primaryPhone = userInfo.primaryPhone;\r\n return mergedUserInfo;\r\n};\r\nconst hasRoles = (currentRoles: Roles[], validRoles: Roles[]) => intersection(currentRoles, validRoles).length !== 0;\r\n\r\nconst deriveUserType = (companyCategory?: CompanyCategory) => {\r\n switch (companyCategory) {\r\n case CompanyCategory.BrokerCarrier:\r\n return UserType.BrokerCarrier;\r\n case CompanyCategory.PL3:\r\n case CompanyCategory.Broker:\r\n case CompanyCategory.FreightForwarder:\r\n case CompanyCategory.ShipperManufacturer:\r\n return UserType.BrokerShipper;\r\n default:\r\n return UserType.Carrier;\r\n }\r\n};\r\n","import { compact, difference, differenceBy, find, intersection, map } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiErrorCode } from '@common/api';\r\nimport { UserPlanManagementClient } from '@common/client/UserPlanManagementClient';\r\nimport {\r\n LbPlanPackage,\r\n MembershipData,\r\n MembershipType,\r\n MembershipTypeResponse,\r\n PromoCodeInfo,\r\n RetentionPlanInfo,\r\n SelectedMembershipData,\r\n TaxRate,\r\n UpgradePlanError,\r\n UserPlan,\r\n} from '@common/model/UserPlan';\r\nimport { ApiAction, createAction, createApiAction, createApiActionWithFetchData } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport const DEFAULT_PROMO_CODE = '50000';\r\nexport const WELCOME_BACK_PROMO_CODE = '50120';\r\nexport const DEFAULT_SELECTED_MEMBERSHIP_PLAN = 'Premium Plus';\r\nexport const BASIC_MEMBERSHIP_PLAN = 'Basic';\r\n\r\nexport const AVAILABLE_PROMO_CODES = ['50100', '50110', '50120', '50125'];\r\n\r\nexport const applyPromoCodeForUsersPlanAction = createApiActionWithFetchData<\r\n PromoCodeInfo | undefined,\r\n UserPlan,\r\n { appliedPromoCode: PromoCodeInfo }\r\n>('APPLY_PROMO_CODE_FOR_USER_PLANS');\r\nexport const fetchUserPlansAction = createApiActionWithFetchData<\r\n PromoCodeInfo | undefined,\r\n UserPlan,\r\n { appliedPromoCode: PromoCodeInfo | undefined }\r\n>('FETCH_USER_PLANS');\r\nconst fetchUserPlansWithoutPromoCodeAction = createApiAction(\r\n 'FETCH_USER_PLANS_WITHOUT_PROMO_CODE'\r\n);\r\nconst postSelectAddOnAction = createApiAction('POST_SELECT_ADD_ON');\r\nconst postDeselectAddOnAction = createApiAction('POST_DESELECT_ADD_ON');\r\nexport const fetchMembershipsDataAction = createApiAction('FETCH_MEMBERSHIP_DATA');\r\nconst changeMembershipPlanAction = createApiAction('CHANGE_MEMBERSHIP_PLAN');\r\nconst fetchMembershipTypeAction = createApiAction('FETCH_MEMBERSHIP_TYPE');\r\nconst createMembershipAction = createApiAction('CREATE_MEMBERSHIP');\r\nconst getRetentionPlanAction = createApiAction('FETCH_RETENTION_PLAN');\r\n\r\nconst clearUserPlansAction = createAction('CLEAR_USER_PLANS');\r\nconst addAddOnsToSelectedMembershipPlanAction = createAction('ADD_ADDONS_TO_SELECTED_MEMBERSHIP_PLAN');\r\nconst removeAddOnsFromSelectedMembershipPlanAction = createAction(\r\n 'REMOVE_ADDONS_FROM_SELECTED_MEMBERSHIP_PLAN'\r\n);\r\nconst changeSelectedMembershipPlanAction = createAction('CHANGE_SELECTED_MEMBERSHIP_PLAN');\r\n\r\nexport const fetchUserPlans = (promoCodeInfo?: PromoCodeInfo) => fetchUserPlansAction.fetchAction(promoCodeInfo);\r\nexport const applyPromoCodeForUsersPlan = (promoCodeInfo: PromoCodeInfo) =>\r\n applyPromoCodeForUsersPlanAction.fetchAction(promoCodeInfo);\r\nexport const fetchUserPlansWithoutPromoCode = () => fetchUserPlansWithoutPromoCodeAction.fetchAction(undefined);\r\nexport const postSelectAddOn = (addOnData: string[]) => postSelectAddOnAction.fetchAction(addOnData);\r\nexport const postDeselectAddOn = (addOnData: string[]) => postDeselectAddOnAction.fetchAction(addOnData);\r\nexport const fetchMembershipsData = () => fetchMembershipsDataAction.fetchAction(undefined);\r\nexport const changeMembershipPlan = (planID: string) => changeMembershipPlanAction.fetchAction(planID);\r\nexport const fetchMembershipType = () => fetchMembershipTypeAction.fetchAction(undefined);\r\nexport const createMembership = () => createMembershipAction.fetchAction(undefined);\r\nexport const getRetentionPlan = () => getRetentionPlanAction.fetchAction(undefined);\r\n\r\nexport const clearUserPlans = () => clearUserPlansAction.action(undefined);\r\nexport const changeSelectedMembershipPlan = (planID: string) => changeSelectedMembershipPlanAction.action(planID);\r\nexport const addAddOnsToSelectedMembershipPlan = (addOnData: string[]) =>\r\n addAddOnsToSelectedMembershipPlanAction.action(addOnData);\r\nexport const removeAddOnsFromSelectedMembershipPlan = (addOnData: string[]) =>\r\n removeAddOnsFromSelectedMembershipPlanAction.action(addOnData);\r\n\r\ntype FetchPlansAction = ApiAction;\r\n\r\nexport interface UserPlanState {\r\n isLoadingPlans: boolean;\r\n isLoadingDefaultPlans: boolean;\r\n lbPlans: LbPlanPackage[];\r\n lbPlansAvailableForPromoCode: LbPlanPackage[];\r\n lbPlansWithoutPromoCode: LbPlanPackage[];\r\n error?: {\r\n type: UpgradePlanError;\r\n time: number;\r\n };\r\n appliedPromoCode?: string;\r\n isLoadingData: boolean;\r\n membershipData?: MembershipData;\r\n isMembershipDataFetched: boolean;\r\n isChangingPlan: boolean;\r\n isPlanChangeSuccessful?: boolean;\r\n isLoadingAddOn: boolean;\r\n isAddOnAdded?: boolean;\r\n isAddOnRemoved?: boolean;\r\n membershipType?: MembershipType;\r\n isLoadingType: boolean;\r\n selectedPlan: SelectedMembershipData;\r\n taxRate?: TaxRate;\r\n membershipError?: ApiError;\r\n promoCodeIsAvailable: boolean;\r\n isPlanFetchSuccessful: boolean;\r\n isDefaultPlanFetchSuccessful: boolean;\r\n retentionPlan?: RetentionPlanInfo;\r\n}\r\n\r\nconst initialState: UserPlanState = {\r\n isLoadingPlans: false,\r\n isLoadingDefaultPlans: false,\r\n lbPlans: [],\r\n lbPlansWithoutPromoCode: [],\r\n lbPlansAvailableForPromoCode: [],\r\n isLoadingData: false,\r\n isChangingPlan: false,\r\n isLoadingAddOn: false,\r\n isLoadingType: false,\r\n selectedPlan: {\r\n selectedAddOns: [],\r\n },\r\n isMembershipDataFetched: false,\r\n promoCodeIsAvailable: true,\r\n isPlanFetchSuccessful: false,\r\n isDefaultPlanFetchSuccessful: false,\r\n};\r\n\r\nexport const userPlanReducer = createMergedReducer(initialState, [\r\n clearUserPlansAction.addCase((state) => {\r\n state.lbPlans = [];\r\n }),\r\n changeSelectedMembershipPlanAction.addCase((state, action) => {\r\n const currentPlan = find(state.lbPlans, (plan) => plan.guid === action.data);\r\n if (currentPlan) {\r\n state.selectedPlan = {\r\n ...state.selectedPlan,\r\n planName: currentPlan.name,\r\n };\r\n }\r\n }),\r\n\r\n applyPromoCodeForUsersPlanAction.initiateCase((state) => {\r\n state.isLoadingPlans = true;\r\n state.promoCodeIsAvailable = true;\r\n }),\r\n applyPromoCodeForUsersPlanAction.completeCase((state, action) => {\r\n state.isLoadingPlans = false;\r\n if (action.response.success) {\r\n state.lbPlansAvailableForPromoCode = action.response.payload.packages;\r\n updateSelectedPlanData(state, action.response.payload.packages);\r\n const selectedPlanName = state.selectedPlan.planName;\r\n const selectedPlanFromNewPackagesList = find(action.response.payload.packages, { name: selectedPlanName });\r\n if (selectedPlanFromNewPackagesList) {\r\n state.appliedPromoCode = action.appliedPromoCode?.promoCode;\r\n state.promoCodeIsAvailable = true;\r\n } else {\r\n state.promoCodeIsAvailable = false;\r\n }\r\n } else {\r\n state.error = {\r\n type:\r\n action.response.error.code === ApiErrorCode.UPGRADE_PROMO_CODE_INVALID\r\n ? UpgradePlanError.InvalidPromoCode\r\n : UpgradePlanError.Failed,\r\n time: Date.now(),\r\n };\r\n }\r\n }),\r\n\r\n fetchUserPlansAction.initiateCase((state) => {\r\n state.isLoadingPlans = true;\r\n }),\r\n fetchUserPlansAction.completeCase((state, action) => {\r\n state.isLoadingPlans = false;\r\n if (action.response.success) {\r\n state.isPlanFetchSuccessful = true;\r\n state.lbPlans = action.response.payload.packages;\r\n state.appliedPromoCode = action.appliedPromoCode?.promoCode;\r\n if (action.fetchData?.isToRemove) {\r\n updateSelectedPlanData(state, action.response.payload.packages);\r\n } else {\r\n state.taxRate = action.response.payload.taxRate;\r\n }\r\n } else {\r\n if (action.response.error.code === ApiErrorCode.UPGRADE_PROMO_CODE_INVALID) {\r\n state.error = {\r\n type: UpgradePlanError.InvalidPromoCode,\r\n time: Date.now(),\r\n };\r\n state.isPlanFetchSuccessful = true;\r\n } else {\r\n state.isPlanFetchSuccessful = false;\r\n }\r\n }\r\n }),\r\n fetchUserPlansWithoutPromoCodeAction.initiateCase((state) => {\r\n state.isLoadingDefaultPlans = true;\r\n }),\r\n fetchUserPlansWithoutPromoCodeAction.completeCase((state, action) => {\r\n state.isLoadingDefaultPlans = false;\r\n if (action.response.success) {\r\n state.isDefaultPlanFetchSuccessful = true;\r\n state.lbPlansWithoutPromoCode = action.response.payload.packages;\r\n } else {\r\n state.isDefaultPlanFetchSuccessful = false;\r\n }\r\n }),\r\n\r\n postSelectAddOnAction.initiateCase((state) => {\r\n state.isLoadingAddOn = true;\r\n state.isAddOnAdded = undefined;\r\n }),\r\n postSelectAddOnAction.completeCase((state, action) => {\r\n state.isLoadingAddOn = false;\r\n state.isAddOnAdded = action.response.success;\r\n }),\r\n\r\n postDeselectAddOnAction.initiateCase((state) => {\r\n state.isLoadingAddOn = true;\r\n state.isAddOnRemoved = undefined;\r\n }),\r\n postDeselectAddOnAction.completeCase((state, action) => {\r\n state.isLoadingAddOn = false;\r\n state.isAddOnRemoved = action.response.success;\r\n }),\r\n\r\n fetchMembershipsDataAction.initiateCase((state) => {\r\n state.isLoadingData = true;\r\n state.membershipData = undefined;\r\n state.isMembershipDataFetched = false;\r\n }),\r\n fetchMembershipsDataAction.completeCase((state, action) => {\r\n state.isLoadingData = false;\r\n if (action.response.success) {\r\n state.isMembershipDataFetched = true;\r\n state.membershipData = action.response.payload;\r\n state.membershipError = undefined;\r\n\r\n if (\r\n action.response.payload.isBroker &&\r\n action.response.payload.planName &&\r\n action.response.payload.planName !== BASIC_MEMBERSHIP_PLAN\r\n ) {\r\n state.selectedPlan.planName = action.response.payload.planName;\r\n } else {\r\n state.selectedPlan.planName =\r\n action.response.payload.package.name === BASIC_MEMBERSHIP_PLAN\r\n ? DEFAULT_SELECTED_MEMBERSHIP_PLAN\r\n : action.response.payload.package.name;\r\n }\r\n } else {\r\n state.membershipError = action.response.error;\r\n if (action.response.error.code === 4040129) {\r\n state.isMembershipDataFetched = false;\r\n } else {\r\n state.isMembershipDataFetched = true;\r\n }\r\n }\r\n }),\r\n\r\n changeMembershipPlanAction.initiateCase((state) => {\r\n state.isChangingPlan = true;\r\n state.isPlanChangeSuccessful = undefined;\r\n }),\r\n changeMembershipPlanAction.completeCase((state, action) => {\r\n state.isChangingPlan = false;\r\n state.isPlanChangeSuccessful = action.response.success;\r\n }),\r\n\r\n fetchMembershipTypeAction.initiateCase((state) => {\r\n state.isLoadingType = true;\r\n }),\r\n fetchMembershipTypeAction.completeCase((state, action) => {\r\n state.isLoadingType = false;\r\n if (action.response.success && action.response.payload) {\r\n state.membershipType = action.response.payload.membershipType;\r\n }\r\n }),\r\n\r\n getRetentionPlanAction.initiateCase((state) => {\r\n state.retentionPlan = undefined;\r\n }),\r\n getRetentionPlanAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.retentionPlan = action.response.payload;\r\n }\r\n }),\r\n\r\n addAddOnsToSelectedMembershipPlanAction.addCase((state, action) => {\r\n state.selectedPlan = {\r\n ...state.selectedPlan,\r\n selectedAddOns: [...state.selectedPlan.selectedAddOns, ...action.data],\r\n };\r\n }),\r\n removeAddOnsFromSelectedMembershipPlanAction.addCase((state, action) => {\r\n state.selectedPlan = {\r\n ...state.selectedPlan,\r\n selectedAddOns: difference(state.selectedPlan?.selectedAddOns, action.data),\r\n };\r\n }),\r\n]);\r\n\r\nconst fetchUserPlans$ = (action$: ActionsObservable, client: UserPlanManagementClient) =>\r\n action$.ofType(fetchUserPlansAction.fetchType).pipe(\r\n mergeMap$((action: FetchPlansAction) =>\r\n client.getUserPlans$(action.data?.promoCode, action.data?.isToRemove ? false : true).pipe(\r\n map$((response) => ({\r\n ...fetchUserPlansAction.responseAction(response, action),\r\n appliedPromoCode: action.data,\r\n }))\r\n )\r\n )\r\n );\r\n\r\nconst applyPromoCodeForUsersPlan$ = (action$: ActionsObservable, client: UserPlanManagementClient) =>\r\n action$.ofType(applyPromoCodeForUsersPlanAction.fetchType).pipe(\r\n mergeMap$((action: FetchPlansAction) =>\r\n client\r\n .getUserPlans$(action.data?.promoCode, action.data?.promoCode || action.data?.isToRemove ? false : true)\r\n .pipe(\r\n map$((response) => ({\r\n ...applyPromoCodeForUsersPlanAction.responseAction(response, action),\r\n appliedPromoCode: action.data,\r\n }))\r\n )\r\n )\r\n );\r\n\r\nexport const createUserPlanManagementEpic = (api: Api) => {\r\n const client = new UserPlanManagementClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n applyPromoCodeForUsersPlan$(action$, client),\r\n fetchUserPlans$(action$, client),\r\n fetchUserPlansWithoutPromoCodeAction.createEpic$(action$, () => client.getUserPlans$(undefined, false)),\r\n postSelectAddOnAction.createEpic$(action$, client.postSelectAddOns$),\r\n postDeselectAddOnAction.createEpic$(action$, client.postDeselectAddOns$),\r\n fetchMembershipsDataAction.createEpic$(action$, client.fetchMembershipsData$),\r\n changeMembershipPlanAction.createEpic$(action$, client.changeMembershipPlan$),\r\n fetchMembershipTypeAction.createEpic$(action$, client.fetchMembershipType$),\r\n createMembershipAction.createEpic$(action$, client.createMembership$),\r\n getRetentionPlanAction.createEpic$(action$, client.getRetentionPlans$)\r\n );\r\n};\r\n\r\nconst updateSelectedPlanData = (state: UserPlanState, packages: LbPlanPackage[]) => {\r\n const selectedPlanFromNewPackagesList = find(packages, { name: state.selectedPlan.planName });\r\n if (selectedPlanFromNewPackagesList) {\r\n state.selectedPlan.planName = selectedPlanFromNewPackagesList?.name;\r\n const newSelectedPlanAdditionAddOns = map(selectedPlanFromNewPackagesList?.additionalAddOns, (addOn) => addOn.name);\r\n const commonAddOnsCurrentlySelected = compact(\r\n intersection(newSelectedPlanAdditionAddOns, state.selectedPlan.selectedAddOns)\r\n );\r\n state.selectedPlan.selectedAddOns = commonAddOnsCurrentlySelected ?? [];\r\n const plansNotIncludedInPromoCode = differenceBy(state.lbPlans, packages, (plan) => plan.name);\r\n state.lbPlans = [...packages, ...plansNotIncludedInPromoCode];\r\n }\r\n};\r\n","import { clone, findIndex, map } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { flatMap as flatMap$, map as map$ } from 'rxjs/operators';\r\n\r\nimport { ApiResponse123 } from '@common/api';\r\nimport { Api } from '@common/api/ApiService';\r\nimport { TrucksClient } from '@common/client/TrucksClient';\r\nimport {\r\n MAX_LOAD_SEARCH_TRUCK_WEIGHT,\r\n MAX_PLUS_TRUCK_LENGTH,\r\n MAX_PLUS_TRUCK_WEIGHT,\r\n MAX_TRUCK_LENGTH,\r\n MAX_TRUCK_WEIGHT,\r\n UserTruck,\r\n UserTruckFromServer,\r\n} from '@common/model/Truck';\r\nimport { Response } from '@common/redux/Base';\r\nimport { standardApiEpic } from '@common/redux/epic/EpicHelper';\r\n\r\nconst FETCH_USER_TRUCKS = 'FETCH_USER_TRUCKS';\r\nconst USER_TRUCKS_FETCHED = 'USER_TRUCKS_FETCHED';\r\nconst FETCH_SINGLE_TRUCK = 'FETCH_SINGLE_TRUCK';\r\nconst SINGLE_TRUCK_FETCHED = 'SINGLE_TRUCK_FETCHED';\r\nconst SAVE_TRUCK = 'SAVE_TRUCK';\r\nconst EDIT_TRUCK = 'EDIT_TRUCK';\r\nconst DELETE_TRUCK = 'DELETE_TRUCK';\r\nexport const TRUCK_DELETED = 'TRUCK_DELETED';\r\nconst SET_ACTIVE_TRUCK = 'SET_ACTIVE_TRUCK';\r\nconst SET_SELECTED_TRUCK = 'SET_SELECTED_TRUCK';\r\nexport const TRUCK_SAVED = 'TRUCK_SAVED';\r\nexport const TRUCK_EDITED = 'TRUCK_EDITED';\r\n\r\ntype FetchTrucksResponse = Response;\r\ntype TruckResponse = Response;\r\ntype DeleteTruckResponse = Response<{ id: string; override?: boolean }>;\r\n\r\ninterface FetchUserTrucksResponseAction extends Action {\r\n response: FetchTrucksResponse;\r\n}\r\n\r\ninterface FetchTrucksWithDeviceIdAction extends Action {\r\n withDeviceId?: boolean;\r\n}\r\n\r\ninterface FetchSingleTruckAction extends Action {\r\n id: string;\r\n}\r\n\r\ninterface DeleteSingleTruckAction extends Action {\r\n id: string;\r\n override?: boolean;\r\n}\r\nexport interface DeleteSingleTruckResponseAction extends Action {\r\n response: DeleteTruckResponse;\r\n}\r\n\r\ninterface SetCurrentTruckAction extends Action {\r\n truck: UserTruck | undefined;\r\n}\r\nexport interface SingleTruckResponseAction extends Action {\r\n response: TruckResponse;\r\n}\r\n\r\ninterface TruckMutatorAction extends Action {\r\n truck: Partial;\r\n}\r\n\r\nexport const fetchUserTrucks = (withDeviceId?: boolean): FetchTrucksWithDeviceIdAction => ({\r\n type: FETCH_USER_TRUCKS,\r\n withDeviceId: withDeviceId,\r\n});\r\nconst fetchTrucksResponse = (response: FetchTrucksResponse): FetchUserTrucksResponseAction => ({\r\n type: USER_TRUCKS_FETCHED,\r\n response: response,\r\n});\r\nexport const fetchTruck = (id: string): FetchSingleTruckAction => ({ type: FETCH_SINGLE_TRUCK, id: id });\r\nconst fetchTruckResponse = (response: TruckResponse): SingleTruckResponseAction => ({\r\n type: SINGLE_TRUCK_FETCHED,\r\n response: response,\r\n});\r\nexport const saveTruck = (truck: Partial): TruckMutatorAction => ({\r\n type: SAVE_TRUCK,\r\n truck: truck,\r\n});\r\n\r\nconst saveTruckResponse = (response: TruckResponse): SingleTruckResponseAction => ({\r\n type: TRUCK_SAVED,\r\n response: response,\r\n});\r\n\r\nexport const editTruck = (truck: Partial): TruckMutatorAction => ({\r\n type: EDIT_TRUCK,\r\n truck: truck,\r\n});\r\n\r\nconst editTruckResponse = (response: TruckResponse): SingleTruckResponseAction => ({\r\n type: TRUCK_EDITED,\r\n response: response,\r\n});\r\n\r\nexport const deleteTruck = (id: string, override?: boolean): DeleteSingleTruckAction => ({\r\n type: DELETE_TRUCK,\r\n id: id,\r\n override: override,\r\n});\r\n\r\nconst deletedTruckResponse = (response: DeleteTruckResponse): DeleteSingleTruckResponseAction => ({\r\n type: TRUCK_DELETED,\r\n response: response,\r\n});\r\n\r\nexport const setActiveTruck = (truck: UserTruck): SetCurrentTruckAction => ({ type: SET_ACTIVE_TRUCK, truck: truck });\r\n\r\nexport const setSelectedTruck = (truck: UserTruck | undefined): SetCurrentTruckAction => ({\r\n type: SET_SELECTED_TRUCK,\r\n truck: truck,\r\n});\r\n\r\nexport interface UserTrucksState {\r\n trucks: UserTruck[];\r\n activeTruck?: UserTruck;\r\n selectedTruck?: UserTruck | undefined;\r\n isLoading: boolean;\r\n didTrucksLoadSuccessfully?: boolean;\r\n saved: {\r\n isSaving: boolean;\r\n wasSavedSuccessfuly: boolean;\r\n savedTime?: number;\r\n httpError?: number;\r\n errorCode?: number;\r\n errorMessage?: string;\r\n };\r\n edited: {\r\n isEditing: boolean;\r\n wasEditedSuccessfully: boolean;\r\n editedTime?: number;\r\n httpError?: number;\r\n errorCode?: number;\r\n errorMessage?: string;\r\n };\r\n deleted: {\r\n isDeleting: boolean;\r\n wasDeletedSuccessfully: boolean;\r\n deletedTime?: number;\r\n httpError?: number;\r\n };\r\n}\r\n\r\nconst initialState: UserTrucksState = {\r\n isLoading: false,\r\n trucks: [],\r\n saved: {\r\n isSaving: false,\r\n wasSavedSuccessfuly: false,\r\n },\r\n edited: { isEditing: false, wasEditedSuccessfully: false },\r\n deleted: {\r\n isDeleting: false,\r\n wasDeletedSuccessfully: false,\r\n },\r\n};\r\n\r\nexport const userTruckReducer = (state: UserTrucksState = initialState, action: Action): UserTrucksState => {\r\n switch (action.type) {\r\n case FETCH_USER_TRUCKS: {\r\n return { ...state, isLoading: true };\r\n }\r\n case USER_TRUCKS_FETCHED: {\r\n const trucksResponse = (action as FetchUserTrucksResponseAction).response;\r\n const newState = { ...state, isLoading: false, didTrucksLoadSuccessfully: false };\r\n if (trucksResponse.success && trucksResponse.payload) {\r\n newState.trucks = map(trucksResponse.payload, parseTruck);\r\n newState.didTrucksLoadSuccessfully = true;\r\n }\r\n return newState;\r\n }\r\n case SAVE_TRUCK: {\r\n return { ...state, saved: { isSaving: true, wasSavedSuccessfuly: false } };\r\n }\r\n case TRUCK_SAVED: {\r\n const saveAction = action as SingleTruckResponseAction;\r\n const wasSuccessful = saveAction.response.success;\r\n const newTruck = saveAction.response.payload;\r\n let userTrucks = state.trucks;\r\n if (wasSuccessful && newTruck) {\r\n userTrucks = clone(state.trucks);\r\n userTrucks.unshift(parseTruck(newTruck));\r\n }\r\n return {\r\n ...state,\r\n trucks: userTrucks,\r\n saved: {\r\n isSaving: false,\r\n wasSavedSuccessfuly: wasSuccessful,\r\n savedTime: Date.now(),\r\n httpError: saveAction.response.error?.httpStatus,\r\n errorCode: saveAction.response.error?.code,\r\n errorMessage: saveAction.response.error?.message,\r\n },\r\n };\r\n }\r\n case EDIT_TRUCK: {\r\n return { ...state, edited: { isEditing: true, wasEditedSuccessfully: false } };\r\n }\r\n case TRUCK_EDITED: {\r\n const saveAction = action as SingleTruckResponseAction;\r\n const wasSuccessful = saveAction.response.success;\r\n const modifiedTruck = saveAction.response.payload;\r\n let userTrucks = state.trucks;\r\n if (wasSuccessful && modifiedTruck) {\r\n const matchingTruckIndex = findIndex(\r\n state.trucks,\r\n (truck) => truck.id !== undefined && truck.id === modifiedTruck.id\r\n );\r\n if (matchingTruckIndex !== -1) {\r\n userTrucks = clone(state.trucks);\r\n userTrucks[matchingTruckIndex] = parseTruck(modifiedTruck);\r\n }\r\n }\r\n return {\r\n ...state,\r\n trucks: userTrucks,\r\n edited: {\r\n isEditing: false,\r\n wasEditedSuccessfully: wasSuccessful,\r\n editedTime: Date.now(),\r\n httpError: saveAction.response.error?.httpStatus,\r\n errorCode: saveAction.response.error?.code,\r\n errorMessage: saveAction.response.error?.message,\r\n },\r\n };\r\n }\r\n case FETCH_SINGLE_TRUCK: {\r\n return { ...state, isLoading: true, activeTruck: undefined };\r\n }\r\n case SINGLE_TRUCK_FETCHED: {\r\n const singleTruckAction = action as SingleTruckResponseAction;\r\n return {\r\n ...state,\r\n isLoading: false,\r\n activeTruck: singleTruckAction.response?.payload ? parseTruck(singleTruckAction.response.payload) : undefined,\r\n };\r\n }\r\n case SET_ACTIVE_TRUCK: {\r\n const setActiveTruckAction = action as SetCurrentTruckAction;\r\n return {\r\n ...state,\r\n activeTruck: setActiveTruckAction.truck,\r\n };\r\n }\r\n case SET_SELECTED_TRUCK: {\r\n const setSelectedTruckAction = action as SetCurrentTruckAction;\r\n return {\r\n ...state,\r\n selectedTruck: setSelectedTruckAction.truck,\r\n };\r\n }\r\n case DELETE_TRUCK: {\r\n return { ...state, deleted: { isDeleting: true, wasDeletedSuccessfully: false } };\r\n }\r\n case TRUCK_DELETED: {\r\n const deletedTruckAction = action as DeleteSingleTruckResponseAction;\r\n return {\r\n ...state,\r\n deleted: {\r\n isDeleting: false,\r\n wasDeletedSuccessfully: deletedTruckAction.response.success,\r\n httpError: deletedTruckAction.response.error?.httpStatus,\r\n deletedTime: Date.now(),\r\n },\r\n };\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst fetchTrucksEpic$ = (trucksClient: TrucksClient, action$: ActionsObservable) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_USER_TRUCKS,\r\n () => trucksClient.fetchTrucks$(undefined),\r\n (response) => {\r\n return fetchTrucksResponse({ success: true, payload: response.data });\r\n },\r\n (error) => {\r\n return fetchTrucksResponse({ success: false, error: error });\r\n }\r\n );\r\n\r\nconst fetchTruckEpic$ = (trucksClient: TrucksClient, action$: ActionsObservable) =>\r\n standardApiEpic(\r\n action$,\r\n FETCH_SINGLE_TRUCK,\r\n (action: FetchSingleTruckAction) => trucksClient.fetchTruck$(action.id),\r\n (response) => {\r\n return fetchTruckResponse({ success: true, payload: response.data });\r\n },\r\n (error) => {\r\n return fetchTruckResponse({ success: false, error: error });\r\n }\r\n );\r\n\r\nconst saveTruckEpic$ = (trucksClient: TrucksClient, action$: ActionsObservable) =>\r\n standardApiEpic(\r\n action$,\r\n SAVE_TRUCK,\r\n (action: TruckMutatorAction) => trucksClient.createTruck$(formatTruck(action.truck)),\r\n (response) => {\r\n return saveTruckResponse({ success: true, payload: response.data });\r\n },\r\n (error) => {\r\n return saveTruckResponse({ success: false, error: error });\r\n }\r\n );\r\n\r\nconst editTruckEpic$ = (trucksClient: TrucksClient, action$: ActionsObservable) =>\r\n standardApiEpic(\r\n action$,\r\n EDIT_TRUCK,\r\n (action: TruckMutatorAction) => trucksClient.updateTruck$(formatTruck(action.truck)),\r\n (response) => {\r\n return editTruckResponse({ success: true, payload: response.data });\r\n },\r\n (error) => {\r\n return editTruckResponse({ success: false, error: error });\r\n }\r\n );\r\n\r\nconst deleteTruckEpic$ = (trucksClient: TrucksClient, action$: ActionsObservable) =>\r\n action$.ofType(DELETE_TRUCK).pipe(\r\n flatMap$((action: DeleteSingleTruckAction) =>\r\n trucksClient.deleteTruck$(action.id, action.override).pipe(\r\n map$((response: ApiResponse123<{}>) =>\r\n response.resultWithoutData(\r\n () =>\r\n deletedTruckResponse({\r\n success: response.success,\r\n payload: { id: action.id, override: action.override },\r\n }),\r\n (error) => deletedTruckResponse({ success: false, error: error })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\nconst parseTruck = (truck: UserTruckFromServer): UserTruck => ({\r\n ...truck,\r\n defaultLength: truck.defaultLength ?? MAX_PLUS_TRUCK_LENGTH,\r\n defaultWeight: truck.defaultWeight ?? MAX_PLUS_TRUCK_WEIGHT,\r\n});\r\n\r\ninterface PartialStoreState {\r\n userTrucks: UserTrucksState;\r\n}\r\nexport const createUserTrucksEpic = (api: Api) => {\r\n const trucksClient = new TrucksClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchTrucksEpic$(trucksClient, action$),\r\n fetchTruckEpic$(trucksClient, action$),\r\n saveTruckEpic$(trucksClient, action$),\r\n editTruckEpic$(trucksClient, action$),\r\n deleteTruckEpic$(trucksClient, action$)\r\n );\r\n};\r\n\r\nconst formatTruck = (truck: Partial) => ({\r\n ...truck,\r\n defaultWeight: truck.defaultWeight === MAX_PLUS_TRUCK_WEIGHT ? null : truck.defaultWeight,\r\n defaultLength: truck.defaultLength === MAX_PLUS_TRUCK_LENGTH ? null : truck.defaultLength,\r\n});\r\n\r\nexport const formatDefaultLengthWeight = (truck: UserTruck | undefined, isForLoadSearch: boolean = false) => ({\r\n defaultLength: formatDefaultLength(truck),\r\n defaultWeight: formatDefaultWeight(truck, isForLoadSearch),\r\n});\r\n\r\nexport const formatDefaultLength = (truck: UserTruck | undefined) =>\r\n truck?.defaultLength || (truck?.lengthIsSet ? MAX_PLUS_TRUCK_LENGTH : MAX_TRUCK_LENGTH);\r\n\r\nexport const formatDefaultWeight = (truck: UserTruck | undefined, isForLoadSearch: boolean = false) =>\r\n truck?.defaultWeight ||\r\n (truck?.weightIsSet ? (isForLoadSearch ? MAX_LOAD_SEARCH_TRUCK_WEIGHT : MAX_PLUS_TRUCK_WEIGHT) : MAX_TRUCK_WEIGHT);\r\n","import moment from 'moment';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api, ApiError, ApiErrorCode } from '@common/api';\r\nimport { UserClient, VerifyPhoneClient } from '@common/client';\r\nimport {\r\n CreatePhoneVerificationResponse,\r\n NumberCategory,\r\n PhoneVerificationMethod,\r\n VerificationPointsTaskStatus,\r\n} from '@common/model';\r\nimport { createApiAction } from '@common/redux/Base';\r\nimport { VerifyPhoneCode } from '@common/redux/epic/VerificationPointsEpic';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport enum CreateVerificationError {\r\n OTHER = 1,\r\n TOO_MANY_ATTEMPTS_DIFFERENT_PHONE = 2,\r\n}\r\n\r\nexport interface VerifyPhoneResponse {\r\n primaryPhone: VerificationPointsTaskStatus;\r\n}\r\n\r\ninterface CreatePhoneVerificationRequest {\r\n guid: string;\r\n verificationMethod: PhoneVerificationMethod;\r\n category: NumberCategory;\r\n}\r\n\r\ninterface CreateCodeVerificationRequest {\r\n guid: string;\r\n code: string;\r\n category: NumberCategory;\r\n}\r\n\r\nconst getVerifiedPhoneApiAction = createApiAction<{}, VerifyPhoneResponse>('GET_VERIFIED_PHONE');\r\nconst createPhoneVerificationApiAction = createApiAction<\r\n CreatePhoneVerificationRequest,\r\n CreatePhoneVerificationResponse\r\n>('CREATE_PHONE_VERIFICATION');\r\nexport const createCodeVerificationApiAction = createApiAction(\r\n 'CREATE_CODE_VERIFICATION'\r\n);\r\n\r\nexport const getVerifiedPhoneStatus = () => getVerifiedPhoneApiAction.fetchAction({});\r\nexport const createPhoneVerification = (\r\n guid: string,\r\n verificationMethod: PhoneVerificationMethod,\r\n category: NumberCategory\r\n) =>\r\n createPhoneVerificationApiAction.fetchAction({\r\n guid: guid,\r\n category: category,\r\n verificationMethod: verificationMethod,\r\n });\r\nexport const createCodeVerification = (guid: string, code: string, category: NumberCategory) =>\r\n createCodeVerificationApiAction.fetchAction({ guid: guid, code: code, category: category });\r\n\r\nconst CLEAR_VERIFY_DATA = 'CLEAR_VERIFY_DATA';\r\nexport const clearVerifyData = (): Action => ({\r\n type: CLEAR_VERIFY_DATA,\r\n});\r\n\r\nexport interface VerificationRequest {\r\n isLoading: boolean;\r\n isRequestSuccessful?: boolean;\r\n updateTime?: number;\r\n error?: ApiError;\r\n}\r\n\r\nexport interface VerifyPhoneState {\r\n isLoading: boolean;\r\n verifyPhoneCode: VerifyPhoneCode;\r\n phoneVerificationType?: PhoneVerificationMethod;\r\n phoneVerificationExpire?: string;\r\n phoneVerifiedStatus?: VerificationPointsTaskStatus;\r\n primaryPhoneVerificationStatus?: VerificationPointsTaskStatus;\r\n createPhoneVerification: VerificationRequest;\r\n createCodeVerification: VerificationRequest;\r\n currentGuid?: string;\r\n requestGuid?: string;\r\n}\r\n\r\nconst initialState: VerifyPhoneState = {\r\n isLoading: false,\r\n verifyPhoneCode: {\r\n isLoading: false,\r\n },\r\n createPhoneVerification: {\r\n isLoading: false,\r\n },\r\n createCodeVerification: {\r\n isLoading: false,\r\n },\r\n};\r\n\r\nexport const verifyPhoneReducer = createMergedReducer(initialState, [\r\n getVerifiedPhoneApiAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n }),\r\n\r\n getVerifiedPhoneApiAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n if (action.response.success) {\r\n state.primaryPhoneVerificationStatus = action.response.payload.primaryPhone;\r\n }\r\n }),\r\n\r\n createPhoneVerificationApiAction.initiateCase((state, action) => {\r\n if (action.data.verificationMethod) {\r\n state.phoneVerificationType = action.data.verificationMethod;\r\n }\r\n state.createPhoneVerification = {\r\n isLoading: true,\r\n };\r\n state.requestGuid = action.data.guid;\r\n }),\r\n\r\n createPhoneVerificationApiAction.completeCase((state, action) => {\r\n state.createPhoneVerification = {\r\n isLoading: true,\r\n };\r\n if (action.response.success) {\r\n state.createPhoneVerification = {\r\n isLoading: false,\r\n isRequestSuccessful: action.response.success,\r\n updateTime: Date.now(),\r\n };\r\n state.phoneVerificationExpire = moment().add(action.response.payload.expiresIn, 'seconds').toString();\r\n state.currentGuid = action.response.payload.phoneGUID;\r\n } else {\r\n let error;\r\n if (\r\n action.response.error?.code === ApiErrorCode.PHONEVERIFICATION_TOO_MANY_ATTEMPTS &&\r\n state.currentGuid !== state.requestGuid\r\n ) {\r\n error = { ...action.response.error, code: CreateVerificationError.TOO_MANY_ATTEMPTS_DIFFERENT_PHONE };\r\n } else {\r\n error = { ...action.response.error, code: action.response.error?.code || CreateVerificationError.OTHER };\r\n }\r\n\r\n state.createPhoneVerification = {\r\n isLoading: false,\r\n isRequestSuccessful: action.response.success,\r\n updateTime: Date.now(),\r\n error: error,\r\n };\r\n }\r\n }),\r\n createCodeVerificationApiAction.initiateCase((state) => {\r\n state.createCodeVerification.isLoading = true;\r\n }),\r\n createCodeVerificationApiAction.completeCase((state, action) => {\r\n state.createCodeVerification = {\r\n isLoading: false,\r\n isRequestSuccessful: action.response.success,\r\n updateTime: Date.now(),\r\n };\r\n if (action.response.success) {\r\n state.createCodeVerification.isRequestSuccessful = action.response.success;\r\n state.phoneVerifiedStatus = VerificationPointsTaskStatus.COMPLETED;\r\n state.phoneVerificationExpire = undefined;\r\n } else {\r\n state.createCodeVerification.error = action.response.error;\r\n }\r\n }),\r\n {\r\n [CLEAR_VERIFY_DATA]: (state) => {\r\n state.createCodeVerification = {\r\n isLoading: false,\r\n isRequestSuccessful: undefined,\r\n updateTime: undefined,\r\n error: undefined,\r\n };\r\n state.createPhoneVerification = {\r\n isLoading: false,\r\n isRequestSuccessful: undefined,\r\n updateTime: undefined,\r\n error: undefined,\r\n };\r\n },\r\n },\r\n]);\r\n\r\nexport const createVerifyPhoneEpic = (api: Api) => {\r\n const userClient = new UserClient(api);\r\n const phoneClient = new VerifyPhoneClient(api);\r\n\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n getVerifiedPhoneApiAction.createEpic$(action$, () => phoneClient.getPhoneVerificationStatus$()),\r\n createPhoneVerificationApiAction.createEpic$(action$, (data) =>\r\n userClient.createPhoneVerification$(data.guid, data.verificationMethod, data.category)\r\n ),\r\n createCodeVerificationApiAction.createEpic$(action$, (data) =>\r\n userClient.verifyPhoneCode$(data.code, data.guid, data.category)\r\n )\r\n );\r\n};\r\n","import { clone, first, forEach, isEmpty } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { iif as if$, merge as merge$, of as of$ } from 'rxjs';\r\nimport { mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiResponse123 } from '@common/api';\r\nimport { BidsClient } from '@common/client/BidsClient';\r\nimport { convertBidDetailsToBidSummary, getBidAck } from '@common/helper/BidsHelper';\r\nimport {\r\n Bid,\r\n BidActionRequest,\r\n BidDetails,\r\n BiddingRole,\r\n BiddingSummaryRequest,\r\n BiddingSummaryResponse,\r\n BidsSummariesRequest,\r\n BidStatus,\r\n BidSummariesResponse,\r\n CarrierInfo,\r\n LoadBidsRequest,\r\n LoadBidsResponse,\r\n LoadStatus,\r\n LoadWithDataForBiddingOnly,\r\n LoadWithStatusOnly,\r\n PostBidRequest,\r\n UpdateBidEvent,\r\n UpdateBidEventType,\r\n} from '@common/model';\r\nimport {\r\n ApiAction,\r\n createAction,\r\n createApiAction,\r\n createApiActionWithFetchData,\r\n ResultResponseActionWithFetchData,\r\n} from '@common/redux/Base';\r\nimport {\r\n addBidSummaryFromBidDetails,\r\n BidsState,\r\n handleBidEditOrCounterOffer,\r\n processBidUpdate,\r\n processNewBid,\r\n updateBidSummaryFromBidDetails,\r\n} from '@common/redux/epic/bids/BidsStateHelper';\r\nimport { LoadSearchType } from '@common/redux/epic/loadSearch';\r\nimport { clearUnreferencedEntities, FetchStatus } from '@common/redux/NormalizationHelper';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\ntype BidsStateObservable = StateObservable<{ bids: BidsState }>;\r\ntype BidUpdateEventData = { eventType: UpdateBidEventType; event: UpdateBidEvent; role: BiddingRole };\r\ntype BidUpdateEventAction = ApiAction;\r\ntype BidLoadDetailsPayload = { loadSearchType: LoadSearchType; loadId: string };\r\n\r\nconst RECEIVED_BID_UPDATE = 'RECEIVED_BID_UPDATE';\r\n\r\nconst getBiddingSummaryAction = createApiActionWithFetchData(\r\n 'GET_BIDDING_SUMMARY'\r\n);\r\nconst getBiddingSummaryListAction = createApiAction('FETCH_BIDDING_SUMMARY');\r\n\r\nconst getBidSummariesAction = createApiAction('FETCH_BID_SUMMARIES');\r\nconst getBidSummaryAction = createApiAction<{ bidId: string }, BidDetails>('GET_BID_SUMMARY');\r\nconst receivedBidUpdateEventAction = createAction(RECEIVED_BID_UPDATE);\r\n\r\nconst incrementViewingBidsCountAction = createAction('INCREMENT_VIEWING_COUNT');\r\nconst decrementViewingBidsCountAction = createAction('DECREMENT_VIEWING_COUNT');\r\n\r\nconst getLoadBidsAction = createApiActionWithFetchData('FETCH_LOAD_BIDS');\r\nconst getBidAction = createApiActionWithFetchData<{ bidId: string; isSilent: boolean; isUpdate: boolean }, BidDetails>(\r\n 'GET_BID'\r\n);\r\n\r\nconst markAllBidsAsViewedAction = createApiAction('MARK_ALL_BIDS_AS_VIEWED');\r\n\r\nconst clearFailedGetBidAction = createAction<{ bidId: string }>('CLEAR_FAILED_GET_BID');\r\n\r\nconst getBidLoadIsOnlineAction = createApiActionWithFetchData(\r\n 'GET_BID_LOAD_IS_ONLINE'\r\n);\r\nconst getBidLoadDetailsAction = createApiActionWithFetchData(\r\n 'GET_BID_LOAD_DETAILS'\r\n);\r\n\r\nconst actOnBidAction = createApiActionWithFetchData('ACT_ON_BID');\r\nconst clearFailedBidActionAction = createAction<{ bidId: string }>('CLEAR_FAILED_BID_ACTION');\r\nconst postBidAction = createApiActionWithFetchData('POST_BID');\r\n\r\nconst getCarrierInfoAction = createApiActionWithFetchData<{ bidId: string }, CarrierInfo>('GET_CARRIER_INFO');\r\n\r\nexport const PostBidResponseType = postBidAction.responseType;\r\nexport type PostBidResponseAction = ResultResponseActionWithFetchData;\r\n\r\nexport const receivedBidUpdateEvent = (eventType: UpdateBidEventType, event: UpdateBidEvent, role?: BiddingRole) =>\r\n receivedBidUpdateEventAction.action({ eventType: eventType, event: event, role: role ?? BiddingRole.Carrier });\r\n\r\nexport const incrementViewingBidsCount = () => incrementViewingBidsCountAction.action(undefined);\r\nexport const decrementViewingBidsCount = () => decrementViewingBidsCountAction.action(undefined);\r\n\r\nexport const fetchBidSummaries = (roles?: BiddingRole[], status?: BidStatus[]) =>\r\n getBidSummariesAction.fetchAction({ roles: roles ?? [BiddingRole.Carrier], status: status });\r\n\r\nexport const fetchMoreBidSummaries = (nextToken: string, roles?: BiddingRole[], status?: BidStatus[]) =>\r\n getBidSummariesAction.fetchAction({ roles: roles ?? [BiddingRole.Carrier], token: nextToken, status: status });\r\n\r\nexport const fetchBidSummary = getBidSummaryAction.fetchAction;\r\n\r\nexport const fetchLoadBids = getLoadBidsAction.fetchAction;\r\n\r\nexport const getBiddingSummary = (role: BiddingRole) => getBiddingSummaryAction.fetchAction({ role: role });\r\n\r\nexport const fetchBiddingSummaryList = getBiddingSummaryListAction.fetchAction;\r\n\r\nexport const fetchMoreBiddingSummaryList = getBiddingSummaryListAction.fetchAction;\r\n\r\nconst updateBid = (bidId: string) => getBidAction.fetchAction({ bidId: bidId, isSilent: false, isUpdate: true });\r\n\r\nconst silentlyGetBid = (bidId: string, isUpdate: boolean) =>\r\n getBidAction.fetchAction({ bidId: bidId, isSilent: true, isUpdate: isUpdate });\r\n\r\nexport const clearFailedGetBid = (bidId: string) => clearFailedGetBidAction.action({ bidId: bidId });\r\n\r\nexport const getBidLoadIsOnline = (loadSearchType: LoadSearchType, loadId: string) =>\r\n getBidLoadIsOnlineAction.fetchAction({ loadSearchType: loadSearchType, loadId: loadId });\r\n\r\nexport const getBidLoadDetails = (loadSearchType: LoadSearchType, loadId: string) =>\r\n getBidLoadDetailsAction.fetchAction({ loadSearchType: loadSearchType, loadId: loadId });\r\n\r\nexport const markAllBidsAsViewed = () => markAllBidsAsViewedAction.fetchAction(undefined);\r\n\r\nexport const actOnBid = actOnBidAction.fetchAction;\r\n\r\nexport const ackBid = (bid: Bid) => {\r\n const ack = getBidAck(bid);\r\n return ack ? actOnBid({ action: ack, bidId: bid.bidId }) : undefined;\r\n};\r\n\r\nexport const clearFailedBidAction = (bidId: string) => clearFailedBidActionAction.action({ bidId: bidId });\r\n\r\nexport const postBid = postBidAction.fetchAction;\r\n\r\nexport const getBidCarrierInfo = (bidId: string) => getCarrierInfoAction.fetchAction({ bidId: bidId });\r\n\r\nconst createInitialBidLoadDetailsState = () => ({\r\n isLoading: false,\r\n loadId: '',\r\n});\r\n\r\nconst initialState: BidsState = {\r\n viewingBidsCount: 0,\r\n summary: {\r\n carrierUnreadBids: 0,\r\n brokerUnreadBids: 0,\r\n },\r\n bidSummaries: {\r\n listAll: {\r\n isLoading: false,\r\n didFailToLoad: false,\r\n ids: [],\r\n isLastPage: false,\r\n },\r\n listPerLoad: {\r\n loadId: '',\r\n isLoading: false,\r\n didFailToLoad: false,\r\n ids: [],\r\n isLastPage: false,\r\n },\r\n isLoadingSingleBidSummary: false,\r\n summaries: new Map(),\r\n },\r\n biddingSummary: {\r\n listAll: {\r\n loadId: '',\r\n isLoading: false,\r\n didFailToLoad: false,\r\n isLastPage: false,\r\n ids: [],\r\n },\r\n summaries: new Map(),\r\n fetchingBids: new Map(),\r\n },\r\n loadBids: {\r\n listAll: {\r\n loadId: '',\r\n carrierId: '',\r\n isLoading: false,\r\n didFailToLoad: false,\r\n isLastPage: false,\r\n ids: [],\r\n },\r\n entities: new Map(),\r\n fetchingBids: new Map(),\r\n },\r\n bidLoadDetails: {\r\n [LoadSearchType.LoadSearch]: createInitialBidLoadDetailsState(),\r\n [LoadSearchType.Backhaul]: createInitialBidLoadDetailsState(),\r\n [LoadSearchType.CompanySearch]: createInitialBidLoadDetailsState(),\r\n [LoadSearchType.LoadAvailability]: createInitialBidLoadDetailsState(),\r\n [LoadSearchType.Posted]: createInitialBidLoadDetailsState(),\r\n },\r\n bidActions: {\r\n actionsInProgress: new Map(),\r\n actionsFailed: new Map(),\r\n },\r\n postBid: {\r\n isPosting: false,\r\n },\r\n bidsCarrierInfo: {\r\n isLoading: false,\r\n },\r\n markAllBidsAsViewed: {\r\n isLoading: false,\r\n wereAllMarkedAsViewed: false,\r\n },\r\n};\r\n\r\nexport const bidsReducer = createMergedReducer(initialState, [\r\n getBiddingSummaryAction.completeCase((state, action) => {\r\n const biddingRole = action.fetchData?.role;\r\n if (biddingRole && action.response.success) {\r\n const countUnread = action.response.payload.offerUpdatesCount;\r\n if (biddingRole === BiddingRole.Carrier) {\r\n state.summary.carrierUnreadBids = countUnread;\r\n } else {\r\n state.summary.brokerUnreadBids = countUnread;\r\n }\r\n }\r\n }),\r\n incrementViewingBidsCountAction.addCase((state) => {\r\n state.viewingBidsCount += 1;\r\n }),\r\n decrementViewingBidsCountAction.addCase((state) => {\r\n state.viewingBidsCount -= 1;\r\n }),\r\n getBidSummariesAction.initiateCase((state, action) => {\r\n state.bidSummaries.listAll.isLoading = true;\r\n state.bidSummaries.listAll.nextToken = action.data.token;\r\n state.bidSummaries.listAll.selectedFilters = action.data.status;\r\n }),\r\n getBidSummariesAction.completeCase((state, action) => {\r\n state.bidSummaries.listAll.isLoading = false;\r\n if (action.response.success) {\r\n if (state.bidSummaries.listAll.ids.length > 0 && state.bidSummaries.listAll.nextToken) {\r\n const modifiedBidSummaryIds = clone(state.bidSummaries.listAll.ids);\r\n forEach(action.response.payload.bids, (bidSummary) => {\r\n modifiedBidSummaryIds.push(bidSummary.bidId);\r\n state.bidSummaries.summaries.set(bidSummary.bidId, bidSummary);\r\n });\r\n state.bidSummaries.listAll.ids = modifiedBidSummaryIds;\r\n } else {\r\n const bidSummariesIds: string[] = [];\r\n // if this is a new request, clear any newly unreferenced entities from memory\r\n state.bidSummaries.summaries = clearUnreferencedEntities(\r\n [...state.bidSummaries.listAll.ids, ...state.bidSummaries.listPerLoad.ids],\r\n state.bidSummaries.summaries\r\n );\r\n forEach(action.response.payload.bids, (bidSummary) => {\r\n bidSummariesIds.push(bidSummary.bidId);\r\n state.bidSummaries.summaries.set(bidSummary.bidId, bidSummary);\r\n });\r\n state.bidSummaries.listAll.ids = bidSummariesIds;\r\n }\r\n state.bidSummaries.listAll.isLastPage = !action.response.payload.hasMore || isEmpty(action.response.payload.bids);\r\n state.bidSummaries.listAll.nextToken = action.response.payload.token;\r\n state.bidSummaries.listAll.didFailToLoad = false;\r\n } else {\r\n state.bidSummaries.listAll.didFailToLoad = true;\r\n state.bidSummaries.listAll.selectedFilters = undefined;\r\n }\r\n }),\r\n getBidSummaryAction.initiateCase((state) => {\r\n state.bidSummaries.isLoadingSingleBidSummary = true;\r\n }),\r\n getBidSummaryAction.completeCase((state, action) => {\r\n state.bidSummaries.isLoadingSingleBidSummary = false;\r\n if (action.response.success) {\r\n const bidDetails = action.response.payload;\r\n state.bidSummaries.summaries.set(bidDetails.bidId, convertBidDetailsToBidSummary(bidDetails));\r\n }\r\n }),\r\n getBiddingSummaryListAction.initiateCase((state, action) => {\r\n state.biddingSummary.listAll.isLoading = true;\r\n if (isEmpty(action.data.token)) {\r\n state.biddingSummary.listAll.loadId = action.data.loadId;\r\n }\r\n state.biddingSummary.listAll.nextToken = action.data.token;\r\n }),\r\n getBiddingSummaryListAction.completeCase((state, action) => {\r\n state.biddingSummary.listAll.isLoading = false;\r\n\r\n if (action.response.success) {\r\n if (state.biddingSummary.listAll.ids.length > 0 && state.biddingSummary.listAll.nextToken) {\r\n const modifiedBidIds = clone(state.biddingSummary.listAll.ids);\r\n forEach(action.response.payload.bids, (bid) => {\r\n modifiedBidIds.push(bid.bidId);\r\n state.biddingSummary.summaries.set(bid.bidId, bid);\r\n });\r\n state.biddingSummary.listAll.ids = modifiedBidIds;\r\n } else {\r\n const bidIds: string[] = [];\r\n state.biddingSummary.summaries = clearUnreferencedEntities(\r\n state.biddingSummary.listAll.ids,\r\n state.biddingSummary.summaries\r\n );\r\n forEach(action.response.payload.bids, (bid) => {\r\n bidIds.push(bid.bidId);\r\n state.biddingSummary.summaries.set(bid.bidId, bid);\r\n });\r\n state.biddingSummary.listAll.ids = bidIds;\r\n }\r\n state.biddingSummary.listAll.isLastPage =\r\n !action.response.payload.hasMore || isEmpty(action.response.payload.bids);\r\n state.biddingSummary.listAll.nextToken = action.response.payload.token;\r\n state.biddingSummary.listAll.didFailToLoad = false;\r\n } else {\r\n state.biddingSummary.listAll.didFailToLoad = true;\r\n }\r\n }),\r\n\r\n getLoadBidsAction.initiateCase((state, action) => {\r\n state.loadBids.listAll.isLoading = true;\r\n if (isEmpty(action.data.token)) {\r\n state.loadBids.listAll.loadId = action.data.loadId;\r\n state.loadBids.listAll.carrierId = action.data.carrierId ?? 'self';\r\n }\r\n state.loadBids.listAll.nextToken = action.data.token;\r\n }),\r\n getLoadBidsAction.completeCase((state, action) => {\r\n state.loadBids.listAll.isLoading = false;\r\n if (action.response.success) {\r\n // @FIXME: when the pagination for history bids is implemented check if we need to include\r\n // the token in this flag\r\n const didLoadChange = state.loadBids.listAll.loadId !== action.fetchData?.loadId;\r\n\r\n if (didLoadChange) {\r\n return;\r\n }\r\n\r\n if (state.loadBids.listAll.ids.length > 0 && state.loadBids.listAll.nextToken) {\r\n const modifiedBidIds = clone(state.loadBids.listAll.ids);\r\n forEach(action.response.payload.bids, (bid) => {\r\n modifiedBidIds.push(bid.bidId);\r\n state.loadBids.entities.set(bid.bidId, bid);\r\n });\r\n state.loadBids.listAll.ids = modifiedBidIds;\r\n } else {\r\n // if this is a new request, clear any newly unreferenced entities from memory\r\n state.loadBids.entities = clearUnreferencedEntities(state.loadBids.listAll.ids, state.loadBids.entities);\r\n const bidIds: string[] = [];\r\n forEach(action.response.payload.bids, (bid) => {\r\n bidIds.push(bid.bidId);\r\n state.loadBids.entities.set(bid.bidId, bid);\r\n });\r\n state.loadBids.listAll.ids = bidIds;\r\n const mostRecentBid = first(action.response.payload.bids);\r\n if (mostRecentBid) {\r\n // The bid summary is used by UI to keep track of when to send bid Acks\r\n // in the Bid Summaries screen. Here, we add a Bid Summary if necessary.\r\n const matchingBidSummary = state.bidSummaries.summaries.get(mostRecentBid.bidId);\r\n if (!matchingBidSummary) {\r\n addBidSummaryFromBidDetails(state, {\r\n ...mostRecentBid,\r\n isMostRecentOffer: true,\r\n isViewed: false,\r\n });\r\n }\r\n }\r\n }\r\n state.loadBids.listAll.isLastPage = !action.response.payload.hasMore || isEmpty(action.response.payload.bids);\r\n state.loadBids.listAll.nextToken = action.response.payload.token;\r\n state.loadBids.listAll.didFailToLoad = false;\r\n } else {\r\n state.loadBids.listAll.didFailToLoad = true;\r\n }\r\n }),\r\n getBidAction.initiateCase((state, action) => {\r\n if (!action.data.isSilent) {\r\n state.loadBids.fetchingBids.set(action.data.bidId, FetchStatus.Loading);\r\n }\r\n }),\r\n getBidAction.completeCase((state, action) => {\r\n if (action.fetchData) {\r\n const { bidId, isSilent, isUpdate } = action.fetchData;\r\n if (!isSilent) {\r\n state.loadBids.fetchingBids.delete(bidId);\r\n }\r\n if (action.response.success) {\r\n if (isUpdate) {\r\n processBidUpdate(state, action.response.payload);\r\n } else {\r\n processNewBid(state, action.response.payload);\r\n }\r\n } else if (!isSilent) {\r\n state.loadBids.fetchingBids.set(bidId, FetchStatus.Failed);\r\n }\r\n }\r\n }),\r\n markAllBidsAsViewedAction.initiateCase((state) => {\r\n state.markAllBidsAsViewed.isLoading = true;\r\n state.markAllBidsAsViewed.wereAllMarkedAsViewed = false;\r\n }),\r\n markAllBidsAsViewedAction.completeCase((state, action) => {\r\n state.markAllBidsAsViewed.isLoading = false;\r\n state.markAllBidsAsViewed.wereAllMarkedAsViewed = action.response.success;\r\n }),\r\n clearFailedGetBidAction.addCase((state, action) => {\r\n state.loadBids.fetchingBids.delete(action.data.bidId);\r\n }),\r\n actOnBidAction.initiateCase((state, action) => {\r\n state.bidActions.actionsInProgress.set(action.data.bidId, action.data.action);\r\n }),\r\n actOnBidAction.completeCase((state, action) => {\r\n if (action.fetchData) {\r\n const bidId = action.fetchData.bidId;\r\n state.bidActions.actionsInProgress.delete(bidId);\r\n if (action.response.success) {\r\n const updatedBidData = action.response.payload;\r\n const existingBidData = state.loadBids.entities.get(bidId);\r\n state.loadBids.entities.set(bidId, {\r\n ...existingBidData,\r\n ...updatedBidData,\r\n });\r\n const matchingBidSummary = state.bidSummaries.summaries.get(bidId);\r\n if (matchingBidSummary) {\r\n updateBidSummaryFromBidDetails(state, matchingBidSummary, updatedBidData, true);\r\n }\r\n } else {\r\n const bidAction = action.fetchData.action;\r\n state.bidActions.actionsFailed.set(bidId, bidAction);\r\n }\r\n }\r\n }),\r\n clearFailedBidActionAction.addCase((state, action) => {\r\n state.bidActions.actionsFailed.delete(action.data.bidId);\r\n }),\r\n postBidAction.initiateCase((state) => {\r\n state.postBid.isPosting = true;\r\n state.postBid.didPostSuccessfully = undefined;\r\n state.postBid.postedBidId = undefined;\r\n }),\r\n postBidAction.completeCase((state, action) => {\r\n state.postBid.isPosting = false;\r\n if (action.response.success) {\r\n const newBid = action.response.payload;\r\n const previousBidId = action.fetchData?.previousBidId;\r\n if (previousBidId) {\r\n handleBidEditOrCounterOffer(state, previousBidId, newBid);\r\n } else {\r\n addBidSummaryFromBidDetails(state, newBid);\r\n }\r\n state.postBid.didPostSuccessfully = true;\r\n state.postBid.postedBidId = newBid.bidId;\r\n } else {\r\n state.postBid.didPostSuccessfully = false;\r\n }\r\n }),\r\n getBidLoadIsOnlineAction.completeCase((state, action) => {\r\n const loadSearchType = action.fetchData?.loadSearchType;\r\n if (loadSearchType !== undefined) {\r\n if (action.response.success) {\r\n const existingState = state.bidLoadDetails[loadSearchType];\r\n if (existingState.load && action.response.payload.id !== existingState.load.id) {\r\n state.bidLoadDetails[loadSearchType].load = undefined;\r\n }\r\n state.bidLoadDetails[loadSearchType].loadId = action.response.payload.id;\r\n state.bidLoadDetails[loadSearchType].isOnline = action.response.payload.status === LoadStatus.Online;\r\n } else {\r\n state.bidLoadDetails[loadSearchType].isOnline = undefined;\r\n }\r\n }\r\n }),\r\n getBidLoadDetailsAction.initiateCase((state, action) => {\r\n state.bidLoadDetails[action.data.loadSearchType].isLoading = true;\r\n }),\r\n getBidLoadDetailsAction.completeCase((state, action) => {\r\n const loadSearchType = action.fetchData?.loadSearchType;\r\n if (loadSearchType !== undefined) {\r\n state.bidLoadDetails[loadSearchType].isLoading = false;\r\n if (action.response.success) {\r\n if (action.response.payload.id !== state.bidLoadDetails[loadSearchType].loadId) {\r\n state.bidLoadDetails[loadSearchType].isOnline = undefined;\r\n }\r\n state.bidLoadDetails[loadSearchType].loadId = action.response.payload.id;\r\n state.bidLoadDetails[loadSearchType].load = action.response.payload;\r\n }\r\n }\r\n }),\r\n getCarrierInfoAction.initiateCase((state) => {\r\n state.bidsCarrierInfo.isLoading = true;\r\n }),\r\n getCarrierInfoAction.completeCase((state, action) => {\r\n state.bidsCarrierInfo.isLoading = false;\r\n if (action.response.success) {\r\n state.bidsCarrierInfo = action.response.payload;\r\n }\r\n }),\r\n]);\r\n\r\nconst postBid$ = (action$: ActionsObservable, bidsClient: BidsClient) =>\r\n action$.ofType(postBidAction.fetchType).pipe(\r\n mergeMap$((action: ApiAction) =>\r\n bidsClient.postBid$(action.data).pipe(\r\n mergeMap$((response: ApiResponse123) =>\r\n merge$(\r\n of$(postBidAction.responseAction(response, action)),\r\n if$(\r\n () => !isEmpty(action.data?.previousBidId) && response.success,\r\n of$(updateBid(action.data?.previousBidId ?? ''))\r\n )\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\nconst receivedBidUpdateEvent$ = (action$: ActionsObservable, state$: BidsStateObservable) =>\r\n action$.ofType(RECEIVED_BID_UPDATE).pipe(\r\n mergeMap$((action: BidUpdateEventAction) => {\r\n const actions: Action[] = [getBiddingSummary(action.data.role)];\r\n if (state$.value.bids.viewingBidsCount > 0) {\r\n forEach(action.data.event.bids, (bid) => {\r\n const eventBidId = bid.bidId;\r\n\r\n switch (action.data.eventType) {\r\n case UpdateBidEventType.NewBids: {\r\n const topLoadBidId = first(state$.value.bids.loadBids.listAll.ids);\r\n // if we have this bid already at the top of our load bids,\r\n // which is possible if the user just created it in the app,\r\n // then we don't have to fetch it again since we have the\r\n // latest data already\r\n if (!topLoadBidId || topLoadBidId !== eventBidId) {\r\n actions.push(silentlyGetBid(eventBidId, false));\r\n }\r\n\r\n const topLoadBiddingSummaryId = first(state$.value.bids.biddingSummary.listAll.ids);\r\n if (\r\n action.data.role === BiddingRole.Broker &&\r\n (!topLoadBiddingSummaryId || topLoadBiddingSummaryId !== eventBidId)\r\n ) {\r\n actions.push(silentlyGetBid(bid.bidId, false));\r\n }\r\n\r\n break;\r\n }\r\n case UpdateBidEventType.UpdatedBids:\r\n actions.push(silentlyGetBid(bid.bidId, true));\r\n break;\r\n }\r\n });\r\n }\r\n return of$(...actions);\r\n })\r\n );\r\n\r\nexport const createBidsEpic = (api: Api) => {\r\n const client = new BidsClient(api);\r\n return (action$: ActionsObservable, state$: BidsStateObservable) =>\r\n merge$(\r\n getBiddingSummaryAction.createEpic$(action$, client.getBiddingSummary$),\r\n getBidSummaryAction.createEpic$(action$, ({ bidId }) => client.getBid$(bidId)),\r\n receivedBidUpdateEvent$(action$, state$),\r\n getBidSummariesAction.createEpic$(action$, client.getBidSummaries$),\r\n getBiddingSummaryListAction.createEpic$(action$, client.getBiddingSummaryList$),\r\n getLoadBidsAction.createEpic$(action$, client.getBidSummary$),\r\n getBidAction.createEpic$(action$, ({ bidId }) => client.getBid$(bidId)),\r\n actOnBidAction.createEpic$(action$, client.actOnBid$),\r\n postBid$(action$, client),\r\n getBidLoadIsOnlineAction.createEpic$(action$, ({ loadId }) => client.getLoadIsOnline$(loadId)),\r\n getBidLoadDetailsAction.createEpic$(action$, ({ loadId }) => client.getBidLoadDetails$(loadId)),\r\n getCarrierInfoAction.createEpic$(action$, ({ bidId }) => client.getCarrierInfo$(bidId)),\r\n markAllBidsAsViewedAction.createEpic$(action$, client.markAllBidsAsViewed$)\r\n );\r\n};\r\n","import { useEffect } from 'react';\r\n\r\nimport { isEmpty, some, uniq } from 'lodash';\r\nimport moment from 'moment';\r\nimport { useDispatch } from 'react-redux';\r\n\r\nimport { convertBidDetailsToBid, convertBidDetailsToBidSummary } from '@common/helper/BidsHelper';\r\nimport { Bid, BidAction, BidDetails, BidStatus, BidSummary, LoadWithDataForBiddingOnly } from '@common/model';\r\nimport { LoadSearchType } from '@common/redux/epic/loadSearch';\r\nimport { FetchStatus, NormalizedListState, updateIdsInNormalizedStates } from '@common/redux/NormalizationHelper';\r\n\r\nimport { decrementViewingBidsCount, incrementViewingBidsCount } from './BidsEpic';\r\n\r\nexport interface BidsState {\r\n viewingBidsCount: number;\r\n summary: {\r\n carrierUnreadBids: number;\r\n brokerUnreadBids: number;\r\n };\r\n bidSummaries: {\r\n listAll: NormalizedListState & {\r\n selectedFilters?: BidStatus[];\r\n };\r\n listPerLoad: NormalizedListState & {\r\n loadId: string;\r\n };\r\n isLoadingSingleBidSummary: boolean;\r\n summaries: Map;\r\n };\r\n biddingSummary: {\r\n listAll: NormalizedListState & {\r\n loadId: string;\r\n };\r\n summaries: Map;\r\n fetchingBids: Map;\r\n };\r\n loadBids: {\r\n listAll: NormalizedListState & {\r\n loadId: string;\r\n carrierId: string;\r\n };\r\n entities: Map;\r\n fetchingBids: Map;\r\n };\r\n bidLoadDetails: Record<\r\n LoadSearchType,\r\n // @FIXME once load normalization is implemented,\r\n // this data will be available from there\r\n {\r\n loadId: string;\r\n isLoading: boolean;\r\n load?: LoadWithDataForBiddingOnly;\r\n isOnline?: boolean;\r\n }\r\n >;\r\n bidActions: {\r\n actionsInProgress: Map;\r\n actionsFailed: Map;\r\n };\r\n postBid: {\r\n isPosting: boolean;\r\n didPostSuccessfully?: boolean;\r\n postedBidId?: string;\r\n };\r\n bidsCarrierInfo: {\r\n isLoading?: boolean;\r\n firstName?: string;\r\n lastName?: string;\r\n email?: string;\r\n companyName?: string;\r\n phone?: string;\r\n phoneExtension?: string;\r\n docketNumber?: string;\r\n usdotNumber?: string;\r\n isCarrierIdentityVerified?: boolean;\r\n };\r\n markAllBidsAsViewed: {\r\n isLoading: boolean;\r\n wereAllMarkedAsViewed: boolean;\r\n };\r\n}\r\n\r\nconst isNewerBid = (newBid: Bid, existingBid: Bid) => {\r\n const existingBidDate = existingBid.mostRecentActivity;\r\n const newBidDate = newBid.mostRecentActivity;\r\n if (newBidDate && existingBidDate) {\r\n return moment(newBidDate).diff(moment(existingBidDate)) >= 0;\r\n }\r\n return false;\r\n};\r\n\r\nconst findBidSummaryForSameLoad = (state: BidsState, bidDetails: BidDetails) => {\r\n for (const bidSummary of state.bidSummaries.summaries.values()) {\r\n if (\r\n bidSummary.load?.id &&\r\n bidSummary.load?.id === bidDetails.load?.id &&\r\n bidSummary.otherParty?.contactId &&\r\n bidSummary.otherParty?.contactId === bidDetails.otherParty?.contactId\r\n ) {\r\n return state.bidSummaries.summaries.get(bidSummary.bidId);\r\n }\r\n }\r\n return undefined;\r\n};\r\n\r\nconst getPrecedingBidSummary = (state: BidsState, bidDetails: BidDetails) => {\r\n const previousBidId = bidDetails.previousBidId;\r\n let existingBidSummary = previousBidId ? state.bidSummaries.summaries.get(previousBidId) : undefined;\r\n if (!existingBidSummary) {\r\n // it's possible our data has become out of sync with API.\r\n // as a result, we cannot rely on previousBidId, since our id may be older.\r\n existingBidSummary = findBidSummaryForSameLoad(state, bidDetails);\r\n }\r\n return existingBidSummary;\r\n};\r\n\r\n/**\r\n * Process an UPDATE to a Bid.\r\n */\r\nexport const processBidUpdate = (state: BidsState, bidDetails: BidDetails) => {\r\n if (state.loadBids.entities.has(bidDetails.bidId)) {\r\n state.loadBids.entities.set(bidDetails.bidId, convertBidDetailsToBid(bidDetails));\r\n }\r\n\r\n /**\r\n * For bid updates from API, we have to handle 3 scenarios when it comes to Bid Summaries:\r\n * Matching Bid Summary:\r\n * We have an existing Bid Summary for the Bid in our list already\r\n * Old Matching Bid Summary (Sync Issue):\r\n * We don't have an existing Bid Summary in our list, but we have an outdated version\r\n * No Matching Bid Summary (Effectively New Bid):\r\n * We don't have this Bid Summary in our list, i.e. user has not paginated to it yet\r\n */\r\n const existingBidSummary = state.bidSummaries.summaries.get(bidDetails.bidId);\r\n\r\n if (existingBidSummary) {\r\n if (isNewerBid(bidDetails, existingBidSummary)) {\r\n updateIdsInBidSummaryLists(state, existingBidSummary.bidId, bidDetails.bidId);\r\n updateBidSummaryFromBidDetails(state, existingBidSummary, bidDetails);\r\n }\r\n // else: if !isNewerBid, we already have a newer copy, so do nothing\r\n } else {\r\n const possiblyOutdatedBidSummary = findBidSummaryForSameLoad(state, bidDetails);\r\n\r\n if (possiblyOutdatedBidSummary) {\r\n if (bidDetails.isMostRecentOffer) {\r\n // replace our old copy with new details\r\n updateIdsInBidSummaryLists(state, possiblyOutdatedBidSummary.bidId, bidDetails.bidId);\r\n updateBidSummaryFromBidDetails(state, possiblyOutdatedBidSummary, bidDetails);\r\n }\r\n // else: if !isMostRecentOffer, we already have a newer copy, do nothing\r\n } else {\r\n processNewBid(state, bidDetails);\r\n }\r\n }\r\n};\r\n\r\n/**\r\n * Process a NEW Bid, after API has notified us of the new bid via signalR.\r\n */\r\nexport const processNewBid = (state: BidsState, bidDetails: BidDetails) => {\r\n const precedingBidSummary = getPrecedingBidSummary(state, bidDetails);\r\n if (precedingBidSummary) {\r\n updateIdsInBidSummaryLists(state, precedingBidSummary.bidId, bidDetails.bidId);\r\n updateBidSummaryFromBidDetails(state, precedingBidSummary, bidDetails);\r\n } else {\r\n addBidSummaryFromBidDetails(state, bidDetails);\r\n const bidSummariesListAll = state.bidSummaries.listAll;\r\n if (!isEmpty(bidSummariesListAll.ids) && !some(bidSummariesListAll.ids, (id) => id === bidDetails.bidId)) {\r\n state.bidSummaries.listAll.ids = [bidDetails.bidId, ...bidSummariesListAll.ids];\r\n }\r\n const biddingSummariesListAll = state.biddingSummary.listAll;\r\n const biddingSummariesListPerLoad = state.biddingSummary.listAll.loadId;\r\n if (\r\n !isEmpty(biddingSummariesListAll.ids) &&\r\n !some(biddingSummariesListAll, (id) => id === bidDetails.bidId) &&\r\n biddingSummariesListPerLoad === bidDetails.load?.id\r\n ) {\r\n state.biddingSummary.listAll.ids = [bidDetails.bidId, ...biddingSummariesListAll.ids];\r\n }\r\n const bidSummariesListPerLoad = state.bidSummaries.listPerLoad;\r\n if (\r\n bidSummariesListPerLoad.loadId === bidDetails.load?.id &&\r\n !isEmpty(bidSummariesListPerLoad.ids) &&\r\n !some(bidSummariesListPerLoad.ids, (id) => id === bidDetails.bidId)\r\n ) {\r\n state.bidSummaries.listPerLoad.ids = [bidDetails.bidId, ...bidSummariesListPerLoad.ids];\r\n }\r\n }\r\n if (\r\n state.loadBids.listAll.loadId === bidDetails.load?.id &&\r\n !isEmpty(state.loadBids.listAll.ids) &&\r\n !some(state.loadBids.listAll.ids, (id) => id === bidDetails.bidId)\r\n ) {\r\n state.loadBids.entities.set(bidDetails.bidId, convertBidDetailsToBid(bidDetails));\r\n state.loadBids.listAll.ids = [bidDetails.bidId, ...state.loadBids.listAll.ids];\r\n }\r\n};\r\n\r\nconst updateIdsInBidSummaryLists = (state: BidsState, oldBidId: string, newBidId: string) => {\r\n updateIdsInNormalizedStates(\r\n oldBidId,\r\n newBidId,\r\n state.bidSummaries.listAll,\r\n state.biddingSummary.listAll,\r\n state.bidSummaries.listPerLoad\r\n );\r\n};\r\n\r\nexport const updateBidSummaryFromBidDetails = (\r\n state: BidsState,\r\n existingBidSummary: BidSummary,\r\n updatedBid: BidDetails,\r\n forcedIsBidSummaryViewed?: boolean\r\n) => {\r\n if (existingBidSummary.bidId !== updatedBid.bidId) {\r\n state.bidSummaries.summaries.delete(existingBidSummary.bidId);\r\n }\r\n state.bidSummaries.summaries.set(updatedBid.bidId, {\r\n ...existingBidSummary,\r\n ...convertBidDetailsToBid(updatedBid),\r\n isViewed: forcedIsBidSummaryViewed !== undefined ? forcedIsBidSummaryViewed : updatedBid.isViewed,\r\n });\r\n state.biddingSummary.summaries.set(updatedBid.bidId, {\r\n ...existingBidSummary,\r\n ...convertBidDetailsToBid(updatedBid),\r\n isViewed: forcedIsBidSummaryViewed !== undefined ? forcedIsBidSummaryViewed : updatedBid.isViewed,\r\n });\r\n};\r\n\r\nexport const addBidSummaryFromBidDetails = (state: BidsState, updatedBid: BidDetails) => {\r\n state.bidSummaries.summaries.set(updatedBid.bidId, convertBidDetailsToBidSummary(updatedBid));\r\n state.biddingSummary.summaries.set(updatedBid.bidId, convertBidDetailsToBidSummary(updatedBid));\r\n};\r\n\r\n/**\r\n * Process new Bid that user has just created, either via \"editing\" a Bid or counter-offering.\r\n */\r\nexport const handleBidEditOrCounterOffer = (state: BidsState, previousBidId: string, newBid: BidDetails) => {\r\n state.loadBids.entities.set(newBid.bidId, convertBidDetailsToBid(newBid));\r\n state.loadBids.listAll.ids = uniq([newBid.bidId, ...state.loadBids.listAll.ids]);\r\n const precedingBidSummary = state.bidSummaries.summaries.get(previousBidId);\r\n if (precedingBidSummary) {\r\n updateIdsInBidSummaryLists(state, previousBidId, newBid.bidId);\r\n updateBidSummaryFromBidDetails(state, precedingBidSummary, newBid, true);\r\n }\r\n};\r\n\r\nexport const useBiddingSocketUpdates = () => {\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n dispatch(incrementViewingBidsCount());\r\n return () => {\r\n dispatch(decrementViewingBidsCount());\r\n };\r\n }, []);\r\n};\r\n","import { forEach, isEmpty } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { VendorBidsClient } from '@common/client/VendorBidsClient';\r\nimport { VendorBid, VendorBidsResponse } from '@common/model/VendorBid';\r\nimport { createAction, createApiActionWithFetchData } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst getVendorBidsAction = createApiActionWithFetchData('GET_VENDOR_BIDS');\r\nconst addVendorBidAction = createAction('ADD_VENDOR_BID');\r\n\r\nexport const fetchVendorBids = () => getVendorBidsAction.fetchAction(undefined);\r\nexport const fetchMoreVendorBids = (nextToken: string) => getVendorBidsAction.fetchAction(nextToken);\r\n\r\nexport const addVendorBid = addVendorBidAction.action;\r\n\r\nexport interface VendorBidsState {\r\n isLoading: boolean;\r\n bids: VendorBid[];\r\n didFailToLoad: boolean;\r\n isLastPage: boolean;\r\n nextToken?: string;\r\n}\r\n\r\nconst initialState: VendorBidsState = {\r\n isLoading: false,\r\n bids: [],\r\n didFailToLoad: false,\r\n isLastPage: false,\r\n nextToken: undefined,\r\n};\r\n\r\nexport const vendorBidsReducer = createMergedReducer(initialState, [\r\n getVendorBidsAction.initiateCase((state, action) => {\r\n state.nextToken = action.data;\r\n state.isLoading = true;\r\n }),\r\n getVendorBidsAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n\r\n if (action.response.success && action.response.payload) {\r\n state.didFailToLoad = false;\r\n state.isLastPage = !action.response.payload.hasMore || isEmpty(action.response.payload.bids);\r\n state.nextToken = action.response.payload.token;\r\n if (action.fetchData) {\r\n // process pagination result\r\n forEach(action.response.payload.bids, (bid) => {\r\n state.bids.push(bid);\r\n });\r\n } else {\r\n // process initial result\r\n state.bids = action.response.payload.bids;\r\n }\r\n } else {\r\n state.didFailToLoad = true;\r\n }\r\n }),\r\n addVendorBidAction.addCase((state, action) => {\r\n if (!isEmpty(state.bids)) {\r\n state.bids = [action.data, ...state.bids];\r\n }\r\n }),\r\n]);\r\n\r\nexport const createVendorBidsEpic = (api: Api) => {\r\n const client = new VendorBidsClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(getVendorBidsAction.createEpic$(action$, client.getVendorBids$));\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { LoadsClient } from '@common/client';\r\nimport { isLocationCountryOrAnywhere, withSorting } from '@common/helper';\r\nimport { LoadSearchRequest } from '@common/model';\r\nimport { createAction } from '@common/redux/Base';\r\nimport { createLoadSearch, SearchReducerKey } from '@common/redux/epic/loadSearch/LoadSearchShared';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nimport { getSortByMatchingCompanySearchOrigin } from './CompanySearchHelper';\r\nimport { initialState, LoadSearchBaseState } from './HelperFunctions';\r\n\r\nexport type CompanySearchState = LoadSearchBaseState;\r\n\r\nexport const COMPANY_SEARCH_REDUCER_KEY = SearchReducerKey.COMPANY_SEARCH;\r\nconst companySearch = createLoadSearch(COMPANY_SEARCH_REDUCER_KEY);\r\n\r\nexport const fetchLoadCount = companySearch.actions.fetchLoadCount;\r\nexport const searchLoads = (searchData?: LoadSearchRequest) => companySearch.actions.searchLoads(searchData);\r\nexport const searchLoadsById = companySearch.actions.searchLoadsById;\r\nexport const setSelectedSearch = companySearch.actions.setSelectedSearch;\r\nexport const setSortBy = companySearch.actions.setSortBy;\r\nexport const setSearchFilterDraft = companySearch.actions.setSearchFilterDraft;\r\nexport const nextSearchLoads = companySearch.actions.nextSearchLoads;\r\nexport const updateCompanySearchLoads = companySearch.actions.updateLoads;\r\nexport const refreshCompanySearchLoadCount = companySearch.actions.refreshLoadCount;\r\nexport const performAutoRefresh = companySearch.actions.performAutoRefresh;\r\n\r\nconst updateLastSearchAction = createAction('UPDATE_LAST_COMPANY_SEARCH');\r\nconst updateListSearchAction = createAction('UPDATE_LIST_COMPANY_SEARCH');\r\n\r\nexport const updateLastSearch = updateLastSearchAction.action;\r\nexport const updateListSearch = updateListSearchAction.action;\r\n\r\nexport const companySearchReducer = createMergedReducer(\r\n initialState,\r\n [\r\n updateLastSearchAction.addCase((state, action) => {\r\n const sortBy = getSortByMatchingCompanySearchOrigin(action.data.origin);\r\n const newLastSearch = withSorting(action.data, sortBy);\r\n if (!isLocationCountryOrAnywhere(action.data.destination)) {\r\n newLastSearch.minMileage = undefined;\r\n newLastSearch.maxMileage = undefined;\r\n }\r\n state.lastSearchRequest = newLastSearch;\r\n state.listSearchRequest = newLastSearch;\r\n }),\r\n updateListSearchAction.addCase((state, action) => {\r\n state.listSearchRequest = action.data;\r\n }),\r\n ],\r\n (state: CompanySearchState, action) => {\r\n const newState = companySearch.reducer(state, action);\r\n if (newState) {\r\n return { ...state, ...newState };\r\n }\r\n return state;\r\n }\r\n);\r\n\r\nexport const createCompanySearchEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const loadsClient = new LoadsClient(api, isLiveEnvironment);\r\n return (\r\n action$: ActionsObservable,\r\n state$: StateObservable<{ [COMPANY_SEARCH_REDUCER_KEY]: CompanySearchState }>\r\n ) => merge$(companySearch.createMergedEpic$(loadsClient, action$, state$));\r\n};\r\n","import { addRadius, createLoadSearchMetadata, isLocationCountryOrAnywhere } from '@common/helper';\r\nimport { KeysSortByDeadhead, KeysSortByPickupDate } from '@common/helper/SortByKeys';\r\nimport {\r\n ANYWHERE_LOCATION,\r\n CompanyFilterType,\r\n Load,\r\n LoadSearchRequest,\r\n LocationType,\r\n OriginLocation,\r\n UserDataCompany,\r\n} from '@common/model';\r\n\r\nexport const getSortByMatchingCompanySearchOrigin = (origin: OriginLocation) => {\r\n if (origin.type === LocationType.STATE || isLocationCountryOrAnywhere(origin)) {\r\n return {\r\n field: KeysSortByPickupDate.field,\r\n direction: KeysSortByPickupDate.direction,\r\n };\r\n } else {\r\n return {\r\n field: KeysSortByDeadhead.field,\r\n direction: KeysSortByDeadhead.direction,\r\n };\r\n }\r\n};\r\n\r\nexport const convertLoadToCompanySearchRequest = (load: Load | undefined): LoadSearchRequest | undefined => {\r\n if (!load) {\r\n return undefined;\r\n }\r\n const companyIDs = load.poster?.id ? [load.poster?.id] : undefined;\r\n return addRadius({\r\n origin: ANYWHERE_LOCATION as OriginLocation,\r\n destination: ANYWHERE_LOCATION,\r\n company: {\r\n types: CompanyFilterType.All,\r\n name: load.poster?.name,\r\n companyIds: companyIDs,\r\n },\r\n pickupDates: [],\r\n metadata: createLoadSearchMetadata({ sortBy: KeysSortByPickupDate }),\r\n });\r\n};\r\n\r\nexport const convertCompanyDataCompanySearchRequest = (\r\n company: UserDataCompany | undefined\r\n): LoadSearchRequest | undefined => {\r\n if (!company) {\r\n return undefined;\r\n }\r\n const companyIDs = company?.id ? [company?.id] : undefined;\r\n\r\n return {\r\n origin: ANYWHERE_LOCATION as OriginLocation,\r\n destination: ANYWHERE_LOCATION,\r\n company: {\r\n types: CompanyFilterType.All,\r\n name: company.name,\r\n companyIds: companyIDs,\r\n },\r\n pickupDates: [],\r\n metadata: createLoadSearchMetadata({ sortBy: KeysSortByPickupDate }),\r\n };\r\n};\r\n","import { clone, findIndex, map, reduce } from 'lodash';\r\n\r\nimport { ApiError } from '@common/api';\r\nimport { SearchFilter } from '@common/helper/FilterHelper';\r\nimport { addLoadFetchedTime } from '@common/helper/LoadHelper';\r\nimport {\r\n createDefaultLoadSearchRequest,\r\n createRequestFromLoadSearchSettings,\r\n} from '@common/helper/LoadSearchRequestFactory';\r\nimport { IKeysSortByLoads, KeysSortBy } from '@common/helper/SortByKeys';\r\nimport {\r\n EMPTY_ORIGIN_LOCATION,\r\n GeolocationGroup,\r\n Load,\r\n LoadSearchRequest,\r\n LoadStatus,\r\n LocationType,\r\n PersistentLoadSearchDef,\r\n SimilarLoad,\r\n} from '@common/model';\r\nimport { ResultResponse } from '@common/redux/Base';\r\n\r\nexport const SEARCH_ALERT_LIMIT = 10;\r\n\r\nexport enum ViewFilter {\r\n ALL = 'ALL',\r\n WITH_ALERTS = 'WITH_ALERTS',\r\n WITHOUT_ALERTS = 'WITHOUT_ALERTS',\r\n}\r\n\r\nexport enum SearchState {\r\n Loading = 'Loading',\r\n Loaded = 'Loaded',\r\n Failed = 'Failed',\r\n}\r\n\r\nexport type AlertsResponse = {\r\n totalAlertCount: number;\r\n namedSearchAlertCounts: Array<{ namedSearchId: string; alertCount: number }>;\r\n};\r\n\r\nexport interface UpdateSearchAlertRequest {\r\n namedSearchId: string;\r\n hasAlert?: boolean;\r\n}\r\n\r\nexport interface SearchesResponse {\r\n namedSearches: PersistentLoadSearchDef[];\r\n metadata: {\r\n totalResultCount: number;\r\n };\r\n}\r\n\r\nexport interface PersistentSearch {\r\n id: string;\r\n search: LoadSearchRequest;\r\n isLoading?: boolean;\r\n isUpdatingAlert?: boolean;\r\n searchName?: string;\r\n hasAlert?: boolean;\r\n}\r\n\r\nexport interface NormalizedPersistentSearches {\r\n ui: string[];\r\n entities: { [id: string]: PersistentSearch };\r\n}\r\n\r\nexport interface NormalizedSearchAlertsEntities {\r\n [id: string]:\r\n | {\r\n count: number | undefined;\r\n isLoading: boolean;\r\n }\r\n | undefined;\r\n}\r\n\r\ninterface NormalizedSearchAlerts {\r\n totalCount: number;\r\n entities: NormalizedSearchAlertsEntities;\r\n isLoading: boolean;\r\n alertError?: ApiError | undefined;\r\n isRateLimitingResponseOrNoAlertsSet: boolean;\r\n}\r\n\r\ninterface NamedSearchesState {\r\n searches: NormalizedPersistentSearches;\r\n isLoadingSearches: boolean;\r\n didSearchesFetchFail?: boolean;\r\n wasAlertUpdated?: boolean;\r\n wasSearchCreated?: boolean;\r\n wasSearchUpdated?: boolean;\r\n wasSearchDeleted?: boolean;\r\n error?: ApiError | undefined;\r\n viewFilter: ViewFilter;\r\n /** only used on MOB */\r\n selectedNamedSearch: PersistentSearch | undefined;\r\n}\r\n\r\nexport interface LoadSearchBaseState {\r\n showSimilarLoads: boolean;\r\n loadSearchState: SearchState | undefined;\r\n isPerformingSearch: boolean;\r\n isFetchingCount: boolean;\r\n isCountingSearches: boolean;\r\n searchCount: number;\r\n loads: Load[];\r\n didLoadFetchFail: boolean;\r\n similarLoads: SimilarLoad[];\r\n isLastResult: boolean;\r\n isAutoRefreshing: boolean;\r\n isLastSimilarResult: boolean;\r\n lastSearchRequest: LoadSearchRequest;\r\n listSearchRequest: LoadSearchRequest;\r\n nextToken: string;\r\n nextTokenSimilarLoads: string;\r\n totalLoadsCount: number;\r\n totalSimilarLoadsCount: number;\r\n totalLoadsCountSearchForm?: number;\r\n newLoadIds: string[];\r\n archivingFlowID: string | undefined;\r\n loadSearchAlerts: NormalizedSearchAlerts;\r\n fetchingError?: ApiError | undefined;\r\n sortBy: IKeysSortByLoads;\r\n searchFilterDraft: SearchFilter;\r\n selectedSearch: LoadSearchRequest | undefined;\r\n searchesState: NamedSearchesState;\r\n}\r\n\r\nexport const createInitialNormalizedPersistentSearches = (): NormalizedPersistentSearches => ({\r\n entities: {},\r\n ui: new Array(),\r\n});\r\n\r\nconst createInitialSearchesState = (): NamedSearchesState => ({\r\n searches: createInitialNormalizedPersistentSearches(),\r\n selectedNamedSearch: undefined,\r\n isLoadingSearches: false,\r\n viewFilter: ViewFilter.ALL,\r\n});\r\n\r\nexport const initialState: LoadSearchBaseState = {\r\n showSimilarLoads: false,\r\n loadSearchState: undefined,\r\n isCountingSearches: false,\r\n isPerformingSearch: false,\r\n searchCount: 0,\r\n isFetchingCount: false,\r\n isLastResult: false,\r\n isLastSimilarResult: false,\r\n isAutoRefreshing: false,\r\n didLoadFetchFail: false,\r\n loads: [],\r\n similarLoads: [],\r\n totalLoadsCount: 0,\r\n totalSimilarLoadsCount: 0,\r\n newLoadIds: [],\r\n lastSearchRequest: createDefaultLoadSearchRequest(),\r\n listSearchRequest: createDefaultLoadSearchRequest(),\r\n sortBy: KeysSortBy[0],\r\n nextToken: '',\r\n nextTokenSimilarLoads: '',\r\n selectedSearch: undefined,\r\n archivingFlowID: undefined,\r\n loadSearchAlerts: { totalCount: 0, entities: {}, isLoading: false, isRateLimitingResponseOrNoAlertsSet: false },\r\n fetchingError: undefined,\r\n searchFilterDraft: {},\r\n searchesState: createInitialSearchesState(),\r\n};\r\n\r\nexport const getLoadIndex = (loads: Load[], loadId: string) => findIndex(loads, (load) => load.id === loadId);\r\n\r\ntype UpdatedLoads = { currentLoad: Load; loads: T[] } | undefined;\r\n\r\nexport const updateOnLoadFetched = (loads: Load[], fetchedLoad: Load): UpdatedLoads => {\r\n const index = getLoadIndex(loads, fetchedLoad.id);\r\n if (index < 0) {\r\n return undefined;\r\n }\r\n const newLoads = clone(loads);\r\n const updatedLoad = updateLoadData(loads[index], fetchedLoad);\r\n newLoads[index] = updatedLoad;\r\n return {\r\n currentLoad: updatedLoad,\r\n loads: newLoads,\r\n };\r\n};\r\nexport const updateOnLoadError = (loads: Load[], loadID: string): Load[] => {\r\n const loadIndex = findIndex(loads, (load) => load.id === loadID);\r\n if (loadIndex < 0) {\r\n return loads;\r\n }\r\n const newLoads = clone(loads);\r\n newLoads[loadIndex].status = LoadStatus.Deleted;\r\n return newLoads;\r\n};\r\n\r\nexport const updateLoadData = (load: Load, updatedLoad: Load, addFetchedTime = true): Load => {\r\n const selectedLoad = { ...load, ...updatedLoad };\r\n if (load && load.metadata && load.metadata.userdata) {\r\n selectedLoad.metadata = { userdata: { ...load.metadata.userdata } };\r\n }\r\n\r\n // mark the load as viewed.\r\n if (selectedLoad.metadata === undefined) {\r\n selectedLoad.metadata = {};\r\n }\r\n if (selectedLoad.metadata.userdata === undefined) {\r\n selectedLoad.metadata.userdata = {\r\n isViewed: false,\r\n isGone: false,\r\n isLowPayRate: false,\r\n isHidden: false,\r\n isCalled: false,\r\n isEmailed: false,\r\n isMessaged: false,\r\n isContacted: false,\r\n isWrongInfo: false,\r\n isNotInterested: false,\r\n isSaved: false,\r\n };\r\n }\r\n if (\r\n updatedLoad.metadata &&\r\n updatedLoad.metadata.userdata &&\r\n (updatedLoad.metadata.userdata.note || updatedLoad.metadata.userdata.note === '')\r\n ) {\r\n selectedLoad.metadata.userdata.note = updatedLoad.metadata.userdata.note;\r\n }\r\n if (updatedLoad.metadata && updatedLoad.metadata.userdata && updatedLoad.metadata.userdata.progress) {\r\n selectedLoad.metadata.userdata.progress = updatedLoad.metadata.userdata.progress;\r\n }\r\n if (updatedLoad.metadata && updatedLoad.metadata.userdata) {\r\n selectedLoad.metadata.userdata.isSaved = updatedLoad.metadata.userdata.isSaved;\r\n selectedLoad.metadata.userdata.isCalled = updatedLoad.metadata.userdata.isCalled;\r\n }\r\n selectedLoad.metadata.userdata.isViewed = true;\r\n if (addFetchedTime) {\r\n return addLoadFetchedTime(Date.now())(selectedLoad);\r\n }\r\n return selectedLoad;\r\n};\r\n\r\n/**\r\n * Checks if a search will return valid results, currently only used to check if origin city is valid\r\n */\r\nexport const isValidSearch = (search: LoadSearchRequest): boolean => {\r\n switch (search.origin.type) {\r\n case LocationType.CITY:\r\n return search.origin.city !== EMPTY_ORIGIN_LOCATION.city && search.origin.states !== EMPTY_ORIGIN_LOCATION.states;\r\n default:\r\n return true;\r\n }\r\n};\r\n\r\nexport const getSetAlertsCount = (searches: NormalizedPersistentSearches) =>\r\n reduce(searches.entities, (acc, entity) => acc + (entity?.hasAlert ? 1 : 0), 0);\r\n\r\nexport const convertPersistentSearchFromServer = (search: PersistentLoadSearchDef): PersistentSearch => ({\r\n id: search.id || '',\r\n search: createRequestFromLoadSearchSettings(search),\r\n hasAlert: search.hasAlert,\r\n searchName: search.searchName,\r\n isLoading: false,\r\n});\r\n\r\nexport const normalizePersistentSearches = (searches: PersistentLoadSearchDef[]): NormalizedPersistentSearches => ({\r\n ...createInitialNormalizedPersistentSearches(),\r\n entities: reduce(\r\n searches,\r\n (accumulator, currentSearch) => {\r\n if (currentSearch.id) {\r\n accumulator[currentSearch.id] = convertPersistentSearchFromServer(currentSearch);\r\n }\r\n return accumulator;\r\n },\r\n {} as { [key: string]: PersistentSearch }\r\n ),\r\n ui: map(searches, (search) => search.id || ''),\r\n});\r\n\r\nexport const isRateLimitingResponseOrNoAlertsSet = (response: ResultResponse): boolean =>\r\n (!response.success && response.error.httpStatus === 429) ||\r\n (response.success === true && Object.keys(response.payload.namedSearchAlertCounts).length === 0);\r\n\r\nexport const getGroupsTotalLoadsCount = (groups: GeolocationGroup[]): number => {\r\n return reduce(groups, (sum, { count }) => sum + count, 0);\r\n};\r\n","import { clone, map } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { LoadsClient } from '@common/client';\r\nimport { serverRFCDateToYYYYMMDD } from '@common/helper';\r\nimport { createLoadSearchMetadata } from '@common/helper/LoadSearchRequestFactory';\r\nimport { BackhaulsLoadSearchQuery, LoadSearchRequest } from '@common/model';\r\nimport { createLoadSearch, SearchReducerKey } from '@common/redux/epic/loadSearch/LoadSearchShared';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\n\r\nimport { initialState as initialStateLoadState, LoadSearchBaseState } from './HelperFunctions';\r\n\r\nexport const LOAD_BACKHAULS_REDUCER_KEY = SearchReducerKey.BACKHAULS;\r\nexport const COMPANY_SEARCH_BACKHAULS_REDUCER_KEY = SearchReducerKey.COMPANY_SEARCH_BACKHAULS;\r\n\r\ninterface SetBackhaulsQueryAction extends Action {\r\n query: BackhaulsLoadSearchQuery;\r\n archivingFlowID: string | undefined;\r\n}\r\n\r\ninterface UpdateListSearchAction extends Action {\r\n search: LoadSearchRequest;\r\n}\r\n\r\nexport type LoadBackhaulsState = LoadSearchBaseState;\r\n\r\nconst initialState: LoadBackhaulsState = {\r\n ...initialStateLoadState,\r\n};\r\n\r\nconst createBackhaulsEpic = (reducerKey: string) => {\r\n //Actions\r\n const baseActionKey = `${reducerKey}_`;\r\n const actionsKeys = {\r\n BACKHAULS_SET_QUERY: `${baseActionKey}BACKHAULS_SET_QUERY`,\r\n CLEAR_BACKHAULS: `${baseActionKey}CLEAR_BACKHAULS`,\r\n BACKHAULS_UPDATE_LIST_SEARCH: `${baseActionKey}BACKHAULS_UPDATE_LIST_SEARCH`,\r\n };\r\n const backhauls = createLoadSearch(reducerKey);\r\n\r\n const exportedActions = {\r\n /** computes a new backhauls \"lastSearch\" from the selected loads backhauls entry.\r\n * The filter values will be extracted from this request through a ReducerSync.\r\n * The actual search is performed later in the fetchBackhaulsLoads\r\n * upon going into the backhauls loads results screen\r\n * Filters changes are re-applied to the request upon modification.\r\n */\r\n backhaulsSetQuery: (\r\n query: BackhaulsLoadSearchQuery,\r\n archivingFlowID: string | undefined\r\n ): SetBackhaulsQueryAction => ({\r\n type: actionsKeys.BACKHAULS_SET_QUERY,\r\n query: query,\r\n archivingFlowID: archivingFlowID,\r\n }),\r\n clearBackhauls: (): Action => ({\r\n type: actionsKeys.CLEAR_BACKHAULS,\r\n }),\r\n updateListSearch: (search: LoadSearchRequest): UpdateListSearchAction => ({\r\n type: actionsKeys.BACKHAULS_UPDATE_LIST_SEARCH,\r\n search: search,\r\n }),\r\n fetchBackhaulsLoadCount: backhauls.actions.fetchLoadCount,\r\n nextSearchLoads: backhauls.actions.nextSearchLoads,\r\n resetBackhaulsLoadCount: backhauls.actions.resetLoadCount,\r\n searchLoads: backhauls.actions.searchLoads,\r\n searchLoadsById: backhauls.actions.searchLoadsById,\r\n showBackhaulsSimilarLoads: backhauls.actions.showSimilarLoads,\r\n updateBackhaulsOriginLocation: backhauls.actions.updateOriginLocation,\r\n updateBackhaulsLoadSearchTruck: backhauls.actions.updateLoadSearchTruck,\r\n updateBackhaulLoads: backhauls.actions.updateLoads,\r\n refreshBackhaulsLoadCount: backhauls.actions.refreshLoadCount,\r\n performAutoRefresh: backhauls.actions.performAutoRefresh,\r\n setSelectedSearch: backhauls.actions.setSelectedSearch,\r\n viewBackhaulLoad: backhauls.actions.viewLoad,\r\n setSortBy: backhauls.actions.setSortBy,\r\n };\r\n\r\n //Reducer\r\n const reducer = createReducer(\r\n initialState,\r\n {\r\n [actionsKeys.BACKHAULS_SET_QUERY]: (state, action: SetBackhaulsQueryAction) => {\r\n // compute loadsearch query from backhaul query\r\n const lastSearch = loadSearchQueryFromBackhaulsQuery(action.query);\r\n state.lastSearchRequest = lastSearch;\r\n state.listSearchRequest = lastSearch;\r\n state.archivingFlowID = action.archivingFlowID;\r\n },\r\n [actionsKeys.CLEAR_BACKHAULS]: () => {\r\n return initialState;\r\n },\r\n [actionsKeys.BACKHAULS_UPDATE_LIST_SEARCH]: (state, action: UpdateListSearchAction) => {\r\n state.listSearchRequest = action.search;\r\n },\r\n },\r\n (state: LoadBackhaulsState, action) => {\r\n const backhaulsState = backhauls.reducer(state, action);\r\n if (backhaulsState) {\r\n return { ...state, ...backhaulsState };\r\n }\r\n return state;\r\n }\r\n );\r\n\r\n const createEpic$ = (api: Api, isLiveEnvironment: boolean) => {\r\n const loadsClient = new LoadsClient(api, isLiveEnvironment);\r\n return (\r\n action$: ActionsObservable,\r\n state$: StateObservable<{ [reducerKey: string]: LoadBackhaulsState }>\r\n ) => merge$(backhauls.createMergedEpic$(loadsClient, action$, state$));\r\n };\r\n\r\n return {\r\n reducer: reducer,\r\n createEpic$: createEpic$,\r\n actions: exportedActions,\r\n actionKeys: actionsKeys,\r\n actionsQueue: backhauls.actionsQueue,\r\n };\r\n};\r\n\r\nexport const loadSearchQueryFromBackhaulsQuery = (query: BackhaulsLoadSearchQuery): LoadSearchRequest => {\r\n // Trust the server to create a useful request that matches it's own load search\r\n\r\n // IMPORTANT: At runtime, there will be more fields than we see in TypeScript\r\n // as we do not normally use them within the App. We want these to be copied over.\r\n\r\n const request = clone(query) as LoadSearchRequest;\r\n\r\n // convert date formats\r\n request.pickupDates = map(request.pickupDates, serverRFCDateToYYYYMMDD);\r\n\r\n // There is never a metadata structure from the backhauls query.\r\n // Use our defaults metadata\r\n request.metadata = createLoadSearchMetadata();\r\n\r\n return request;\r\n};\r\n\r\nconst backhaulsEpic = createBackhaulsEpic(LOAD_BACKHAULS_REDUCER_KEY);\r\n\r\nexport const backhaulsReducer = backhaulsEpic.reducer;\r\nexport const backhaulsEpicCreator$ = backhaulsEpic.createEpic$;\r\nexport const backhaulsActions = backhaulsEpic.actions;\r\nexport const backhaulsActionKeys = backhaulsEpic.actionKeys;\r\nexport const ACTIONS_BLOCKING_GROUP = backhaulsEpic.actionsQueue;\r\n","import { cloneDeep, has, map, pull, reduce } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$, of as of$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$, switchMap as switchMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiErrorCode } from '@common/api';\r\nimport { LoadsClient } from '@common/client';\r\nimport { isLocationCountryOrAnywhere, prepareNearbyLoadsSearchRequest, withSorting } from '@common/helper';\r\nimport { getSortByMatchingLoadSearchOrigin } from '@common/helper/SearchHelper';\r\nimport {\r\n INITIAL_LOAD_SEARCH_LIMIT,\r\n Load,\r\n LoadLocation,\r\n LoadSearchMetadata,\r\n LoadSearchRequest,\r\n NamedSearchRequest,\r\n NearbyLoadsResponse,\r\n NearbyLoadsReverseGeolocationsResponse,\r\n NearbyLoadsSearchRequest,\r\n NearbyLoadsSettings,\r\n OriginLocation,\r\n PersistentLoadSearchDef,\r\n} from '@common/model';\r\nimport {\r\n createAction,\r\n createApiAction,\r\n createApiActionWithFetchData,\r\n ResultResponseActionWithFetchData,\r\n SearchResponseMetadata,\r\n} from '@common/redux/Base';\r\nimport { createLoadSearch, SearchReducerKey } from '@common/redux/epic/loadSearch/LoadSearchShared';\r\nimport { SETTINGS_REDUCER_KEY, SettingsState } from '@common/redux/epic/SettingsStateHelper';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nimport { SET_PROGRESS_FULFILLED, SetProgressResponseAction } from '../LoadInfoEpic';\r\nimport {\r\n AlertsResponse,\r\n convertPersistentSearchFromServer,\r\n createInitialNormalizedPersistentSearches,\r\n initialState,\r\n isRateLimitingResponseOrNoAlertsSet,\r\n LoadSearchBaseState,\r\n NormalizedSearchAlertsEntities,\r\n normalizePersistentSearches,\r\n PersistentSearch,\r\n SearchesResponse,\r\n UpdateSearchAlertRequest,\r\n ViewFilter,\r\n} from './HelperFunctions';\r\n\r\nexport enum screensForCustomRecentSearch {\r\n RateCheck = 'rateCheck',\r\n}\r\n\r\nconst updateLastSearchAction = createAction('UPDATE_LAST_SEARCH');\r\nconst updateListSearchAction = createAction('UPDATE_LIST_SEARCH');\r\nconst setSelectedNamedSearchAction = createAction('SET_SELECTED_NAMED_SEARCH');\r\nconst setSearchReferrerAction = createAction('SET_SEARCH_REFERRER');\r\nconst clearAlertErrorAction = createAction('CLEAR_ALERT_ERROR');\r\nconst clearFetchingErrorAction = createAction('CLEAR_FETCHING_ERROR');\r\nconst setNearbyLoadsSettingsAction = createAction('SET_NEARBY_LOADS_SETTINGS');\r\nconst setLoadSearchViewFilterAction = createAction('SET_SEARCH_VIEW_FILTER');\r\n\r\nconst fetchAllSearchesAction = createApiAction('FETCH_SEARCHES');\r\nconst deleteAllSearchesAction = createApiActionWithFetchData('DELETE_ALL_SEARCHES');\r\nconst createSearchAction = createApiAction('CREATE_SEARCH');\r\nconst fetchSearchByIDAction = createApiAction('FETCH_SEARCH_BY_ID');\r\nconst editSearchRequestAction = createApiActionWithFetchData<\r\n { namedSearchId: string; request: NamedSearchRequest },\r\n PersistentLoadSearchDef\r\n>('EDIT_SEARCH');\r\nconst deleteSearchAction = createApiActionWithFetchData('DELETE_SEARCH');\r\nconst fetchNearbyLoadsCountAction = createApiAction(\r\n 'FETCH_NEARBY_LOADS_COUNT'\r\n);\r\nconst loadAlerts = createApiAction('FETCH_LOAD_ALERTS');\r\nconst updateSearchAlertAction = createApiActionWithFetchData('UPDATE_SEARCH_ALERT');\r\nexport const getNearbyLoadsAction = createApiAction, NearbyLoadsResponse>(\r\n 'NEARBY_LOADS'\r\n);\r\nexport const fetchNearbyLoadsReverseGeolocationsAction = createApiAction<\r\n LoadSearchRequest,\r\n NearbyLoadsReverseGeolocationsResponse\r\n>('FETCH_NEARBY_LOADS_REVERSE_GEOLOCATIONS');\r\nexport const fetchNearbyLoadsReverseGeolocations = fetchNearbyLoadsReverseGeolocationsAction.fetchAction;\r\n\r\n/** Only used for updating last search after doing map searches on MEM\r\n * On MOB it is used to update all last searches */\r\nexport const updateLastSearch = (lastSearch: LoadSearchRequest) => updateLastSearchAction.action(lastSearch);\r\n/** Only used for updating last list search on MEM */\r\nexport const updateListSearch = (listSearch: LoadSearchRequest) => updateListSearchAction.action(listSearch);\r\nexport const setSelectedNamedSearch = (search: PersistentSearch | undefined) =>\r\n setSelectedNamedSearchAction.action(search);\r\nexport const setSearchReferrer = (referrer: string | undefined) => setSearchReferrerAction.action(referrer);\r\nexport const clearAlertError = (searchId: string | undefined) => clearAlertErrorAction.action(searchId);\r\nexport const clearFetchingError = () => clearFetchingErrorAction.action(undefined);\r\nexport const setLoadSearchViewFilter = (view: ViewFilter) => setLoadSearchViewFilterAction.action(view);\r\n\r\nexport const fetchAllSearches = (filter: ViewFilter = ViewFilter.ALL) => fetchAllSearchesAction.fetchAction(filter);\r\nexport const deleteAllSearches = (filter: ViewFilter) => deleteAllSearchesAction.fetchAction(filter);\r\nexport const createSearch = (request: NamedSearchRequest) => createSearchAction.fetchAction(request);\r\nexport const fetchSearchByID = (namedSearchId: string) => fetchSearchByIDAction.fetchAction(namedSearchId);\r\nexport const editSearchRequest = (namedSearchId: string, request: NamedSearchRequest) =>\r\n editSearchRequestAction.fetchAction({ namedSearchId: namedSearchId, request: request });\r\nexport const updateSearchAlert = (request: UpdateSearchAlertRequest) => updateSearchAlertAction.fetchAction(request);\r\nexport const deleteSearch = (namedSearchId: string) => deleteSearchAction.fetchAction(namedSearchId);\r\nexport const getNearbyLoads = getNearbyLoadsAction.fetchAction;\r\nexport const setNearbyLoadsSettings = setNearbyLoadsSettingsAction.action;\r\nexport const fetchNearbyLoadsCount = fetchNearbyLoadsCountAction.fetchAction;\r\nexport const fetchLoadAlerts = () => loadAlerts.fetchAction(undefined);\r\n\r\nexport const LOAD_SEARCH_REDUCER_KEY = SearchReducerKey.LOAD_SEARCH;\r\n\r\nconst loadSearch = createLoadSearch(LOAD_SEARCH_REDUCER_KEY);\r\n\r\nexport const ACTIONS_BLOCKING_GROUP = loadSearch.actionsQueue;\r\n\r\nexport const fetchLoadCount = loadSearch.actions.fetchLoadCount;\r\nexport const nextSearchLoads = loadSearch.actions.nextSearchLoads;\r\nexport const resetLoadCount = loadSearch.actions.resetLoadCount;\r\nexport const searchLoads = (searchData?: LoadSearchRequest, originatedAppLocation = '') =>\r\n loadSearch.actions.searchLoads(searchData, undefined, originatedAppLocation, INITIAL_LOAD_SEARCH_LIMIT);\r\nexport const searchLoadsById = (id: string, metadata: LoadSearchMetadata) =>\r\n loadSearch.actions.searchLoadsById(id, metadata, INITIAL_LOAD_SEARCH_LIMIT);\r\nexport const showSimilarLoads = loadSearch.actions.showSimilarLoads;\r\nexport const updateOriginLocation = loadSearch.actions.updateOriginLocation;\r\nexport const updateLoadSearchTruck = loadSearch.actions.updateLoadSearchTruck;\r\nexport const updateLoads = loadSearch.actions.updateLoads;\r\nexport const refreshLoadCount = loadSearch.actions.refreshLoadCount;\r\nexport const loadCountRefreshed = loadSearch.actions.loadCountRefreshed;\r\nexport const performAutoRefresh = loadSearch.actions.performAutoRefresh;\r\nexport const removeBlockedLoad = loadSearch.actions.removeBlockedLoad;\r\nexport const toggleCountingSearches = loadSearch.actions.toggleCountingSearches;\r\nexport const setSelectedSearch = loadSearch.actions.setSelectedSearch;\r\nexport const viewLoad = loadSearch.actions.viewLoad;\r\nexport const clearLoadSearchState = loadSearch.actions.clearLoadSearchState;\r\nexport const setSearchFilterDraft = loadSearch.actions.setSearchFilterDraft;\r\nexport const setSortBy = loadSearch.actions.setSortBy;\r\n\r\nexport interface LoadSearchState extends LoadSearchBaseState {\r\n nearbyLoads: {\r\n isLoading: boolean;\r\n isCountLoading: boolean;\r\n searchRequest?: LoadSearchRequest;\r\n origin?: OriginLocation;\r\n destination?: LoadLocation;\r\n totalCount?: number;\r\n nearbyLoadsSettings?: NearbyLoadsSettings;\r\n };\r\n //@FIXME: We're using this here due to a bug with React-navigation v4. seems to be fixed on V5, remove when updated.\r\n searchReferrer?: string;\r\n}\r\nconst loadSearchInitialState: LoadSearchState = {\r\n ...initialState,\r\n nearbyLoads: {\r\n isLoading: false,\r\n isCountLoading: false,\r\n },\r\n};\r\n\r\nexport const loadSearchReducer = createMergedReducer(\r\n loadSearchInitialState,\r\n [\r\n {\r\n [SET_PROGRESS_FULFILLED]: (state, action: SetProgressResponseAction) => {\r\n if (!action.response.success) {\r\n return state;\r\n }\r\n const updatedLoads = map(state.loads, (load: Load) => {\r\n if (load.id !== action.loadID) {\r\n return load;\r\n }\r\n const updatedLoad = cloneDeep(load);\r\n if (updatedLoad && updatedLoad.metadata && updatedLoad.metadata.userdata) {\r\n updatedLoad.metadata.userdata.progress = action.progress;\r\n }\r\n return updatedLoad;\r\n });\r\n return { ...state, loads: updatedLoads };\r\n },\r\n },\r\n\r\n updateLastSearchAction.addCase((state, action) => {\r\n let lastSearchRequest = { ...state.lastSearchRequest, ...action.data };\r\n if (state.lastSearchRequest.origin.type !== action.data.origin.type) {\r\n const updatedSortBy = getSortByMatchingLoadSearchOrigin(action.data.origin, state.sortBy);\r\n lastSearchRequest = withSorting(lastSearchRequest, updatedSortBy);\r\n }\r\n if (!isLocationCountryOrAnywhere(action.data.destination)) {\r\n lastSearchRequest.minMileage = undefined;\r\n lastSearchRequest.maxMileage = undefined;\r\n }\r\n return { ...state, lastSearchRequest: lastSearchRequest, listSearchRequest: lastSearchRequest };\r\n }),\r\n\r\n updateListSearchAction.addCase((state, action) => {\r\n return { ...state, listSearchRequest: action.data };\r\n }),\r\n\r\n setSelectedNamedSearchAction.addCase((state, action) => {\r\n state.searchesState.selectedNamedSearch = action.data;\r\n }),\r\n\r\n setSearchReferrerAction.addCase((state, action) => {\r\n state.searchReferrer = action.data;\r\n }),\r\n clearAlertErrorAction.addCase((state, action) => {\r\n state.loadSearchAlerts.alertError = undefined;\r\n if (action.data) {\r\n state.loadSearchAlerts.entities[action.data] = {\r\n count: undefined,\r\n isLoading: false,\r\n };\r\n }\r\n }),\r\n\r\n clearFetchingErrorAction.addCase((state) => {\r\n state.fetchingError = undefined;\r\n }),\r\n\r\n setLoadSearchViewFilterAction.addCase((state, action) => {\r\n state.searchesState.viewFilter = action.data;\r\n }),\r\n\r\n fetchAllSearchesAction.initiateCase((state) => {\r\n state.searchesState.isLoadingSearches = true;\r\n state.searchesState.didSearchesFetchFail = undefined;\r\n }),\r\n fetchAllSearchesAction.completeCase((state, action) => {\r\n state.searchesState.isLoadingSearches = false;\r\n state.searchesState.didSearchesFetchFail = !action.response.success;\r\n if (action.response.success) {\r\n state.searchesState.searches = normalizePersistentSearches(action.response.payload.namedSearches);\r\n }\r\n }),\r\n\r\n deleteAllSearchesAction.initiateCase((state) => {\r\n state.searchesState.isLoadingSearches = true;\r\n }),\r\n deleteAllSearchesAction.completeCase((state, action) => {\r\n state.searchesState.isLoadingSearches = false;\r\n if (action.response.success) {\r\n state.searchesState.searches = createInitialNormalizedPersistentSearches();\r\n }\r\n }),\r\n\r\n createSearchAction.initiateCase((state) => {\r\n state.searchesState.isLoadingSearches = true;\r\n state.searchesState.wasSearchCreated = undefined;\r\n state.searchesState.wasSearchUpdated = undefined;\r\n }),\r\n createSearchAction.completeCase((state, action) => {\r\n state.searchesState.isLoadingSearches = false;\r\n state.searchesState.wasSearchCreated = action.response.success;\r\n\r\n if (action.response.success) {\r\n const persistentNamedSearch = convertPersistentSearchFromServer(action.response.payload);\r\n\r\n state.searchesState.searches.entities = {\r\n [persistentNamedSearch.id]: persistentNamedSearch,\r\n ...state.searchesState.searches.entities,\r\n };\r\n state.searchesState.searches.ui.unshift(persistentNamedSearch.id);\r\n state.searchesState.viewFilter = ViewFilter.ALL;\r\n }\r\n }),\r\n\r\n fetchSearchByIDAction.initiateCase((state, action) => {\r\n state.searchesState.searches.entities[action.data].isLoading = true;\r\n }),\r\n fetchSearchByIDAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const persistentSearch = convertPersistentSearchFromServer(action.response.payload);\r\n state.searchesState.searches.entities[persistentSearch.id] = persistentSearch;\r\n }\r\n }),\r\n\r\n editSearchRequestAction.initiateCase((state) => {\r\n state.searchesState.wasSearchUpdated = undefined;\r\n state.searchesState.wasSearchCreated = undefined;\r\n }),\r\n editSearchRequestAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.searchesState.wasSearchUpdated = true;\r\n if (action.response.payload.id) {\r\n state.searchesState.searches.entities[action.response.payload.id] = convertPersistentSearchFromServer(\r\n action.response.payload\r\n );\r\n state.searchesState.searches.ui.unshift(\r\n state.searchesState.searches.ui.splice(\r\n state.searchesState.searches.ui.indexOf(action.response.payload.id),\r\n 1\r\n )[0]\r\n );\r\n state.searchesState.viewFilter = ViewFilter.ALL;\r\n }\r\n } else if (action.response.error.code !== ApiErrorCode.NAMED_LOAD_SEARCH_NOT_FOUND) {\r\n // if 404 -> create a request, see createSearchOnEditFail\r\n state.searchesState.wasSearchUpdated = false;\r\n }\r\n }),\r\n\r\n updateSearchAlertAction.initiateCase((state, action) => {\r\n state.searchesState.searches.entities[action.data.namedSearchId].isUpdatingAlert = true;\r\n state.searchesState.wasAlertUpdated = undefined;\r\n state.searchesState.error = undefined;\r\n }),\r\n updateSearchAlertAction.completeCase((state, action) => {\r\n if (\r\n action.fetchData?.namedSearchId &&\r\n has(state.searchesState.searches.entities, action.fetchData.namedSearchId)\r\n ) {\r\n state.searchesState.searches.entities[action.fetchData.namedSearchId].isUpdatingAlert = false;\r\n state.searchesState.wasAlertUpdated = action.response.success;\r\n if (action.response.success) {\r\n state.searchesState.searches.entities[action.fetchData.namedSearchId].hasAlert = action.fetchData.hasAlert;\r\n } else {\r\n state.searchesState.error = action.response.error;\r\n }\r\n }\r\n }),\r\n\r\n deleteSearchAction.initiateCase((state) => {\r\n state.searchesState.isLoadingSearches = true;\r\n state.searchesState.wasSearchDeleted = undefined;\r\n state.searchesState.error = undefined;\r\n }),\r\n deleteSearchAction.completeCase((state, action) => {\r\n state.searchesState.wasSearchDeleted = action.response.success;\r\n\r\n if (action.response.success) {\r\n if (action.fetchData) {\r\n state.searchesState.isLoadingSearches = false;\r\n delete state.searchesState.searches.entities[action.fetchData];\r\n pull(state.searchesState.searches.ui, action.fetchData);\r\n }\r\n } else {\r\n state.searchesState.error = action.response.error;\r\n }\r\n }),\r\n\r\n loadAlerts.initiateCase((state) => {\r\n state.loadSearchAlerts.isLoading = true;\r\n }),\r\n loadAlerts.completeCase((state, action) => {\r\n state.loadSearchAlerts.isLoading = false;\r\n state.loadSearchAlerts.isRateLimitingResponseOrNoAlertsSet = isRateLimitingResponseOrNoAlertsSet(action.response);\r\n if (action.response.success) {\r\n const { totalAlertCount, namedSearchAlertCounts } = action.response.payload;\r\n state.loadSearchAlerts.totalCount = totalAlertCount;\r\n state.loadSearchAlerts.entities = reduce(\r\n namedSearchAlertCounts,\r\n (acc, alert) => {\r\n acc[alert.namedSearchId] = { count: alert.alertCount, isLoading: false };\r\n return acc;\r\n },\r\n {} as NormalizedSearchAlertsEntities\r\n );\r\n }\r\n }),\r\n getNearbyLoadsAction.initiateCase((state) => {\r\n state.nearbyLoads.isLoading = true;\r\n }),\r\n getNearbyLoadsAction.completeCase((state, action) => {\r\n state.nearbyLoads.isLoading = false;\r\n if (action.response.success) {\r\n state.nearbyLoads.searchRequest = prepareNearbyLoadsSearchRequest(action.response.payload.query);\r\n state.nearbyLoads.origin = state.nearbyLoads.searchRequest.origin;\r\n state.nearbyLoads.destination = state.nearbyLoads.searchRequest.destination;\r\n state.nearbyLoads.totalCount = action.response.payload.metadata.totalCount;\r\n }\r\n }),\r\n fetchNearbyLoadsReverseGeolocationsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.nearbyLoads.origin = action.response.payload.origin;\r\n state.nearbyLoads.destination = action.response.payload.destination;\r\n }\r\n }),\r\n setNearbyLoadsSettingsAction.addCase((state, action) => {\r\n state.nearbyLoads.nearbyLoadsSettings = { ...state.nearbyLoads.nearbyLoadsSettings, ...action.data };\r\n }),\r\n fetchNearbyLoadsCountAction.initiateCase((state) => {\r\n state.nearbyLoads.isCountLoading = true;\r\n }),\r\n fetchNearbyLoadsCountAction.completeCase((state, action) => {\r\n state.nearbyLoads.isCountLoading = false;\r\n if (action.response.success) {\r\n state.nearbyLoads.totalCount = action.response.payload.totalResultCount;\r\n }\r\n }),\r\n ],\r\n (state: LoadSearchState, action) => {\r\n const { nearbyLoads, ...rest } = state;\r\n const newState = loadSearch.reducer(rest, action);\r\n if (newState !== rest) {\r\n let referrer = state.searchReferrer;\r\n if (action.type === loadSearch.actionTypes.LOADS_FETCHED) {\r\n referrer = undefined;\r\n }\r\n return { ...newState, nearbyLoads: nearbyLoads, searchReferrer: referrer };\r\n }\r\n return state;\r\n }\r\n);\r\n\r\nconst loadAlertPollingEpic$ = (action$: ActionsObservable, loadsClient: LoadsClient) =>\r\n action$\r\n .ofType(loadAlerts.fetchType, updateSearchAlertAction.responseType)\r\n .pipe(\r\n switchMap$(() => loadsClient.getSearchAlerts$().pipe(map$((response) => loadAlerts.responseAction(response))))\r\n );\r\n\r\nconst fetchSearchesOnListUpdate$ = (action$: ActionsObservable) =>\r\n action$.ofType(createSearchAction.responseType, editSearchRequestAction.responseType).pipe(\r\n mergeMap$((action: ResultResponseActionWithFetchData) => {\r\n if (action.response.success) {\r\n return of$(fetchAllSearchesAction.fetchAction(ViewFilter.ALL));\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\n// POST new search request, if PUT request fails with 404\r\nconst createSearchOnEditFail$ = (action$: ActionsObservable) =>\r\n action$.ofType(editSearchRequestAction.responseType).pipe(\r\n mergeMap$(\r\n (action: ResultResponseActionWithFetchData<{}, { namedSearchId: string; request: NamedSearchRequest }>) => {\r\n if (\r\n !action.response.success &&\r\n action.response.error.code === ApiErrorCode.NAMED_LOAD_SEARCH_NOT_FOUND &&\r\n action.fetchData\r\n ) {\r\n return of$(createSearchAction.fetchAction(action.fetchData.request));\r\n }\r\n return of$();\r\n }\r\n )\r\n );\r\n\r\nexport const createLoadSearchEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const loadsClient = new LoadsClient(api, isLiveEnvironment);\r\n return (\r\n action$: ActionsObservable,\r\n state$: StateObservable<{ [LOAD_SEARCH_REDUCER_KEY]: LoadSearchState; [SETTINGS_REDUCER_KEY]: SettingsState }>\r\n ) => {\r\n return merge$(\r\n createSearchAction.createEpic$(action$, loadsClient.createSearch$),\r\n fetchAllSearchesAction.createEpic$(action$, loadsClient.fetchAllSearches$),\r\n fetchSearchByIDAction.createEpic$(action$, loadsClient.fetchSearchByID$),\r\n editSearchRequestAction.createEpic$(action$, ({ namedSearchId, request }) =>\r\n loadsClient.editSearchRequest$(namedSearchId, request)\r\n ),\r\n deleteSearchAction.createEpic$(action$, loadsClient.deleteSearch$),\r\n deleteAllSearchesAction.createEpic$(action$, loadsClient.deleteAllSearches$),\r\n updateSearchAlertAction.createEpic$(action$, loadsClient.updateSearch$),\r\n loadAlertPollingEpic$(action$, loadsClient),\r\n getNearbyLoadsAction.createEpic$(action$, loadsClient.searchNearbyLoads$),\r\n loadSearch.createMergedEpic$(\r\n loadsClient,\r\n action$,\r\n state$ as StateObservable<{ [LOAD_SEARCH_REDUCER_KEY]: LoadSearchState }>\r\n ),\r\n fetchNearbyLoadsCountAction.createEpic$(action$, loadsClient.fetchLoadCount$),\r\n fetchSearchesOnListUpdate$(action$),\r\n createSearchOnEditFail$(action$)\r\n );\r\n };\r\n};\r\n\r\nexport const defaultSearchStateWithLastRequest = (prevState: LoadSearchState): LoadSearchState => {\r\n return {\r\n ...loadSearchInitialState,\r\n lastSearchRequest: prevState.lastSearchRequest,\r\n };\r\n};\r\n","import { reduce, union, values } from 'lodash';\r\n\r\nexport enum LoadSearchType {\r\n LoadSearch,\r\n Backhaul,\r\n CompanySearch,\r\n Posted,\r\n LoadAvailability,\r\n}\r\n\r\nexport const createEpics = (\r\n reducerKeys: { [key: string]: string },\r\n createReducer: (reducerKey: string) => TReducer\r\n) => {\r\n const reducers = reduce(\r\n union(values(reducerKeys)),\r\n (acc, reducerKey) => ({ ...acc, [reducerKey]: createReducer(reducerKey) }),\r\n {}\r\n );\r\n return reduce(\r\n reducerKeys,\r\n (acc, reducerKey, key) => ({ ...acc, [key]: reducers[reducerKey] }),\r\n {}\r\n );\r\n};\r\n","import {\r\n cloneDeep,\r\n concat,\r\n defaultTo,\r\n filter,\r\n find,\r\n findIndex,\r\n forEach,\r\n map,\r\n reduce,\r\n sum,\r\n toUpper,\r\n uniqBy,\r\n} from 'lodash';\r\nimport { Action } from 'redux';\r\n\r\nimport {\r\n addFetchedTime,\r\n metadataWithLimit,\r\n SetSelectedSearchAction,\r\n similarLoadsFrom,\r\n updateLoadsList,\r\n withLimit,\r\n withoutNextToken,\r\n} from '@common/helper';\r\nimport { SearchFilter } from '@common/helper/FilterHelper';\r\nimport {\r\n isLoadNew,\r\n LoadUpdate,\r\n UpdateCategory,\r\n updateLoad,\r\n UpdateLoadAction,\r\n updateLoadActionCreator,\r\n updateSimilarLoadsList,\r\n} from '@common/helper/LoadHelper';\r\nimport { didSortByChange, IKeysSortByLoads, keySortByToLoadSearchSort, KeysSortBy } from '@common/helper/SortByKeys';\r\nimport {\r\n INITIAL_SEARCH_LIMIT,\r\n Load,\r\n LoadSearchArchiving,\r\n LoadSearchMetadata,\r\n LoadSearchRequest,\r\n LoadSearchResponse as LoadSearchResponseModel,\r\n LoadSearchSort,\r\n LoadStatus,\r\n OriginLocation,\r\n RateCheckPreviewStatus,\r\n SEARCH_LIMIT_APPENDING,\r\n SearchMetadataType,\r\n SimilarLoadSearchResponse,\r\n} from '@common/model';\r\nimport { MAX_LOAD_SEARCH_TRUCK_WEIGHT, MAX_PLUS_TRUCK_WEIGHT, UserTruck } from '@common/model/Truck';\r\nimport { ResponseAction, ResultResponse, ResultResponseAction, SearchResponseMetadata } from '@common/redux/Base';\r\nimport {\r\n FetchRateCheckPreviewAction,\r\n processRateCheckPreviewResponse,\r\n RateCheckPreviewResponseAction,\r\n} from '@common/redux/epic/rateCheck/RateCheckPreviewHelper';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\nimport { mergeLoadLists } from '@common/sort/LoadsMerger';\r\n\r\nimport { initialState, LoadSearchBaseState, SearchState } from './HelperFunctions';\r\n\r\ninterface SetSortByAction extends Action {\r\n sortBy: IKeysSortByLoads;\r\n}\r\n\r\ninterface UpdateOriginLocationAction extends Action {\r\n location: OriginLocation;\r\n}\r\n\r\ninterface UpdateTruckAction extends Action {\r\n truck: Partial;\r\n}\r\n\r\nexport interface LoadCountAction extends Action {\r\n request: LoadSearchRequest;\r\n}\r\n\r\nexport interface RemoveBlockedLoadAction extends Action {\r\n loadID: string;\r\n}\r\n\r\nexport type AutoRefreshResponseAction = ResponseAction & { sentNextToken?: string };\r\n\r\nexport type SimilarLoadsResponseAction = ResultResponseAction & LoadSearchArchiving;\r\nexport interface FetchLoadResponseAction extends ResultResponseAction {\r\n searchRequest?: LoadSearchRequest;\r\n}\r\n\r\nexport interface SearchLoadsAction extends Action {\r\n searchData?: LoadSearchRequest;\r\n cancelGroup?: string;\r\n originatedAppLocation: string;\r\n}\r\n\r\nexport interface SearchLoadsByIdAction extends Action {\r\n id: string;\r\n metadata: LoadSearchMetadata;\r\n}\r\n\r\ninterface NextSearchLoadsAction extends Action {\r\n limit?: number;\r\n}\r\n\r\ninterface ViewLoadAction extends Action {\r\n loadID: string;\r\n}\r\n\r\nexport interface SetSearchFilterAction extends Action {\r\n searchFilter: SearchFilter;\r\n}\r\n\r\nexport type LoadCountResponseAction = ResponseAction;\r\n\r\nexport const createLoadSearchReducer = (reducerKey: string) => {\r\n const actionKey = toUpper(reducerKey);\r\n //Reducer Actions\r\n const actionTypes = {\r\n SET_SORT_BY: `${actionKey}.SET_SORT_BY`,\r\n UPDATE_ORIGIN_LOCATION: `${actionKey}.UPDATE_ORIGIN_LOCATION`,\r\n FETCH_LOADS: `${actionKey}.FETCH_LOADS`,\r\n LOADS_FETCHED: `${actionKey}.LOADS_FETCHED`,\r\n FETCH_LOADS_BY_ID: `${actionKey}.FETCH_LOADS_BY_ID`,\r\n SHOW_SIMILAR_LOADS: `${actionKey}.SHOW_SIMILAR_LOADS`,\r\n SIMILAR_LOADS_FETCHED: `${actionKey}.SIMILAR_LOADS_FETCHED`,\r\n GET_NEXT_SEARCH_LOADS: `${actionKey}.GET_NEXT_SEARCH_LOADS`,\r\n LAST_RESULT: `${actionKey}.LAST_RESULT`,\r\n FETCH_LOAD_COUNT: `${actionKey}.FETCH_LOAD_COUNT`,\r\n LOAD_COUNT_FETCHED: `${actionKey}.LOAD_COUNT_FETCHED`,\r\n RESET_LOAD_COUNT: `${actionKey}.RESET_LOAD_COUNT`,\r\n UPDATE_TRUCK: `${actionKey}.UPDATE_TRUCK`,\r\n UPDATE_LOAD: `${actionKey}.UPDATE_LOAD`,\r\n REFRESH_LOAD_COUNT: `${actionKey}.REFRESH_LOAD_COUNT`,\r\n LOAD_COUNT_REFRESHED: `${actionKey}.LOAD_COUNT_REFRESHED`,\r\n AUTO_REFRESH_LOADS: `${actionKey}.AUTO_REFRESH_LOADS`,\r\n AUTO_REFRESH_LOADS_COMPLETE: `${actionKey}.LOADS_AUTO_REFRESHED`,\r\n REMOVE_PENDING_BLOCKED: `${actionKey}.REMOVE_PENDING_BLOCKED`,\r\n TOGGLE_COUNTING_SEARCHES: `${actionKey}.TOGGLE_COUNTING_SEARCHES`,\r\n SET_SELECTED_SEARCH: `${actionKey}.SET_SELECTED_SEARCH`,\r\n SET_SELECTED_BACKHAUL: `${actionKey}.SET_SELECTED_BACKHAUL`,\r\n SET_ACTIVE_SEARCH: `${actionKey}.SET_ACTIVE_SEARCH`,\r\n VIEW_LOAD: `${actionKey}.VIEW_LOAD`,\r\n CLEAR_LOAD_SEARCH_STATE: `${actionKey}.CLEAR_LOAD_SEARCH_STATE`,\r\n SET_SEARCH_FILTER_DRAFT: `${actionKey}.SET_SEARCH_FILTER_DRAFT`,\r\n FETCH_RATECHECK_PREVIEW: `${actionKey}.FETCH_RATECHECK_PREVIEW`,\r\n RATECHECK_PREVIEW_COMPLETE: `${actionKey}.RATECHECK_PREVIEW_COMPLETE`,\r\n };\r\n const actions = {\r\n toggleCountingSearches: (): Action => ({ type: actionTypes.TOGGLE_COUNTING_SEARCHES }),\r\n setSortBy: (sortBy: IKeysSortByLoads): SetSortByAction => ({\r\n type: actionTypes.SET_SORT_BY,\r\n sortBy: sortBy,\r\n }),\r\n updateOriginLocation: (location: OriginLocation): UpdateOriginLocationAction => ({\r\n type: actionTypes.UPDATE_ORIGIN_LOCATION,\r\n location: location,\r\n }),\r\n updateLoadSearchTruck: (truck: Partial): UpdateTruckAction => ({\r\n type: actionTypes.UPDATE_TRUCK,\r\n truck: truck,\r\n }),\r\n showSimilarLoads: (): Action => ({\r\n type: actionTypes.SHOW_SIMILAR_LOADS,\r\n }),\r\n fetchLoadCount: (searchData: LoadSearchRequest): LoadCountAction => ({\r\n type: actionTypes.FETCH_LOAD_COUNT,\r\n request: searchData,\r\n }),\r\n resetLoadCount: (): Action => ({\r\n type: actionTypes.RESET_LOAD_COUNT,\r\n }),\r\n refreshLoadCount: (searchData: LoadSearchRequest): LoadCountAction => ({\r\n type: actionTypes.REFRESH_LOAD_COUNT,\r\n request: searchData,\r\n }),\r\n performAutoRefresh: (): Action => ({\r\n type: actionTypes.AUTO_REFRESH_LOADS,\r\n }),\r\n searchLoads: (\r\n searchData?: LoadSearchRequest,\r\n cancelGroup?: string,\r\n originatedAppLocation = '',\r\n limit: number = INITIAL_SEARCH_LIMIT\r\n ): SearchLoadsAction => ({\r\n type: actionTypes.FETCH_LOADS,\r\n searchData: searchData && withoutNextToken(withLimit(searchData, limit)),\r\n cancelGroup: cancelGroup,\r\n originatedAppLocation: originatedAppLocation,\r\n }),\r\n searchLoadsById: (\r\n id: string,\r\n metadata: LoadSearchMetadata,\r\n limit: number = INITIAL_SEARCH_LIMIT\r\n ): SearchLoadsByIdAction => ({\r\n type: actionTypes.FETCH_LOADS_BY_ID,\r\n id: id,\r\n metadata: metadataWithLimit(metadata, limit),\r\n }),\r\n setSelectedSearch: (search: LoadSearchRequest | undefined): SetSelectedSearchAction => ({\r\n type: actionTypes.SET_SELECTED_SEARCH,\r\n search: search,\r\n }),\r\n nextSearchLoads: (limit?: number): NextSearchLoadsAction => ({\r\n type: actionTypes.GET_NEXT_SEARCH_LOADS,\r\n limit: limit,\r\n }),\r\n updateLoads: updateLoadActionCreator(actionTypes.UPDATE_LOAD),\r\n loadCountRefreshed: (): Action => ({\r\n type: actionTypes.LOAD_COUNT_REFRESHED,\r\n }),\r\n removeBlockedLoad: (loadID: string): RemoveBlockedLoadAction => ({\r\n type: actionTypes.REMOVE_PENDING_BLOCKED,\r\n loadID: loadID,\r\n }),\r\n similarLoadsResponse: (\r\n response: ResultResponse,\r\n flowID: string | undefined\r\n ): SimilarLoadsResponseAction => ({\r\n type: actionTypes.SIMILAR_LOADS_FETCHED,\r\n response: response,\r\n flowID: flowID,\r\n }),\r\n loadsSearchResponse: (\r\n response: ResultResponse,\r\n flowID: string | undefined,\r\n searchRequest?: LoadSearchRequest\r\n ): FetchLoadResponseAction => ({\r\n type: actionTypes.LOADS_FETCHED,\r\n response: response,\r\n searchRequest: searchRequest,\r\n flowID: flowID,\r\n }),\r\n viewLoad: (loadID: string): ViewLoadAction => ({\r\n type: actionTypes.VIEW_LOAD,\r\n loadID: loadID,\r\n }),\r\n clearLoadSearchState: (): Action => ({\r\n type: actionTypes.CLEAR_LOAD_SEARCH_STATE,\r\n }),\r\n setSearchFilterDraft: (searchFilter: SearchFilter): SetSearchFilterAction => ({\r\n type: actionTypes.SET_SEARCH_FILTER_DRAFT,\r\n searchFilter: searchFilter,\r\n }),\r\n };\r\n\r\n //Reducer Code\r\n\r\n const updateLoadSearchStateSortBy = (state: LoadSearchBaseState, newSortBy: LoadSearchSort) => {\r\n const matchingKeySortBy = find(KeysSortBy, (sortBy) => sortBy.field === newSortBy.field);\r\n if (matchingKeySortBy) {\r\n const newKeySortBy = {\r\n ...matchingKeySortBy,\r\n direction: newSortBy.direction,\r\n };\r\n if (didSortByChange(state.sortBy, newKeySortBy)) {\r\n state.sortBy = newKeySortBy;\r\n }\r\n }\r\n };\r\n\r\n const fetchLoads = (\r\n state: LoadSearchBaseState,\r\n searchData: LoadSearchRequest | undefined,\r\n metadata: LoadSearchMetadata | undefined = undefined\r\n ) => {\r\n if (searchData) {\r\n state.listSearchRequest = cloneDeep(searchData);\r\n if (searchData.metadata.sortBy) {\r\n updateLoadSearchStateSortBy(state, searchData.metadata.sortBy);\r\n }\r\n } else {\r\n if (metadata?.sortBy) {\r\n updateLoadSearchStateSortBy(state, metadata.sortBy);\r\n }\r\n state.listSearchRequest.metadata.limit = metadata?.limit ?? INITIAL_SEARCH_LIMIT;\r\n state.listSearchRequest.metadata.nextToken = undefined;\r\n }\r\n state.loads = [];\r\n state.totalLoadsCount = 0;\r\n if (state.listSearchRequest.metadata.type === SearchMetadataType.Refresh) {\r\n state.listSearchRequest.metadata.type = SearchMetadataType.Regular;\r\n }\r\n state.listSearchRequest.metadata.sortBy = keySortByToLoadSearchSort(state.sortBy);\r\n if (state.isCountingSearches) {\r\n state.searchCount = state.searchCount + 1;\r\n }\r\n state.isPerformingSearch = true;\r\n state.isLastResult = false;\r\n state.isLastSimilarResult = false;\r\n state.loadSearchState = SearchState.Loading;\r\n state.similarLoads = [];\r\n state.showSimilarLoads = false;\r\n state.nextTokenSimilarLoads = '';\r\n state.fetchingError = undefined;\r\n state.searchesState.error = undefined;\r\n };\r\n\r\n const loadSearchReducer = createMergedReducer(initialState, [\r\n {\r\n [actionTypes.SET_SORT_BY]: (state, action: SetSortByAction) => {\r\n state.sortBy = action.sortBy;\r\n },\r\n [actionTypes.GET_NEXT_SEARCH_LOADS]: (state, action: NextSearchLoadsAction) => {\r\n state.listSearchRequest.metadata.limit = action.limit ?? SEARCH_LIMIT_APPENDING;\r\n if (state.isLastResult && (state.isLastSimilarResult || !state.showSimilarLoads)) {\r\n return;\r\n }\r\n state.loadSearchState = SearchState.Loading;\r\n state.fetchingError = undefined;\r\n if (state.isLastResult) {\r\n state.listSearchRequest.metadata.nextToken = state.nextTokenSimilarLoads;\r\n } else {\r\n state.listSearchRequest.metadata.nextToken = state.nextToken;\r\n }\r\n },\r\n [actionTypes.LAST_RESULT]: (state) => {\r\n state.loadSearchState = SearchState.Loaded;\r\n },\r\n\r\n [actionTypes.TOGGLE_COUNTING_SEARCHES]: (state) => {\r\n state.isCountingSearches = true;\r\n },\r\n\r\n [actionTypes.FETCH_LOADS_BY_ID]: (state, action: SearchLoadsByIdAction) => {\r\n fetchLoads(state, undefined, action.metadata);\r\n state.archivingFlowID = undefined;\r\n const alert = state.loadSearchAlerts.entities[action.id];\r\n if (alert) {\r\n alert.count = 0;\r\n }\r\n state.loadSearchAlerts.totalCount = sum(\r\n filter(map(state.loadSearchAlerts.entities, (entity) => entity?.count))\r\n );\r\n },\r\n [actionTypes.FETCH_LOADS]: (state, action: SearchLoadsAction) => {\r\n fetchLoads(state, action.searchData);\r\n },\r\n\r\n [actionTypes.LOADS_FETCHED]: (state, action: FetchLoadResponseAction) => {\r\n state.loadSearchState = SearchState.Loaded;\r\n state.isPerformingSearch = false;\r\n if (action.response.success && !action.response.payload) {\r\n return;\r\n }\r\n\r\n state.listSearchRequest = action.searchRequest ?? state.listSearchRequest;\r\n\r\n state.didLoadFetchFail = !action.response.success;\r\n state.archivingFlowID = action.flowID;\r\n if (action.response.success && action.response.payload) {\r\n const { id, metadata } = action.response.payload;\r\n if (metadata.sortOrder?.length && !state.listSearchRequest.metadata.sortBy) {\r\n state.listSearchRequest.metadata.sortBy = metadata.sortOrder[0];\r\n }\r\n if (!id) {\r\n state.loads = getMergedLoads(action.response.payload, state.loads);\r\n state.newLoadIds = map(getNewLoads(state.loads), (load) => load.id);\r\n } else {\r\n state.loads = addFetchedTime(action.response.payload.loads);\r\n state.newLoadIds = [];\r\n }\r\n state.isLastResult = defaultTo(metadata.isLastResult, false);\r\n state.nextToken = defaultTo(metadata.nextToken, '');\r\n state.totalLoadsCount = metadata.totalResultCount;\r\n state.totalLoadsCountSearchForm = metadata.totalResultCount;\r\n state.fetchingError = undefined;\r\n } else {\r\n state.loads = [];\r\n state.totalLoadsCount = 0;\r\n state.newLoadIds = [];\r\n }\r\n if (!action.response.success && action.response.error) {\r\n state.searchesState.error = action.response.error;\r\n state.fetchingError = action.response.error;\r\n state.loadSearchState = SearchState.Failed;\r\n }\r\n },\r\n\r\n [actionTypes.SIMILAR_LOADS_FETCHED]: (state, { response, flowID }: SimilarLoadsResponseAction) => {\r\n state.archivingFlowID = flowID;\r\n if (response.success) {\r\n state.similarLoads = uniqBy(\r\n concat(state.similarLoads, similarLoadsFrom(response.payload)),\r\n (similarLoad) => similarLoad.load.id\r\n );\r\n state.isLastSimilarResult = response.payload.metadata.isLastResult || false;\r\n state.nextTokenSimilarLoads = response.payload.metadata.nextToken;\r\n state.totalSimilarLoadsCount = response.payload.metadata.totalResultCount;\r\n state.loadSearchState = SearchState.Loaded;\r\n state.fetchingError = undefined;\r\n } else {\r\n state.loadSearchState = SearchState.Failed;\r\n state.isLastSimilarResult = true;\r\n state.fetchingError = response.error;\r\n }\r\n },\r\n\r\n [actionTypes.SET_SELECTED_SEARCH]: (state, action: SetSelectedSearchAction) => {\r\n state.selectedSearch = action.search;\r\n },\r\n\r\n [actionTypes.RESET_LOAD_COUNT]: (state) => {\r\n state.totalLoadsCountSearchForm = state.totalLoadsCount;\r\n },\r\n\r\n [actionTypes.FETCH_LOAD_COUNT]: (state) => {\r\n state.isFetchingCount = true;\r\n state.totalLoadsCountSearchForm = undefined;\r\n },\r\n\r\n [actionTypes.LOAD_COUNT_FETCHED]: (state, action: LoadCountResponseAction) => {\r\n state.isFetchingCount = false;\r\n state.totalLoadsCountSearchForm = action.response.payload?.totalResultCount;\r\n },\r\n\r\n [actionTypes.REMOVE_PENDING_BLOCKED]: (state, { loadID }: RemoveBlockedLoadAction) => {\r\n state.loads = filter(state.loads, (load) => load.id !== loadID);\r\n state.similarLoads = filter(state.similarLoads, (similarLoad) => similarLoad.load.id !== loadID);\r\n },\r\n\r\n [actionTypes.UPDATE_ORIGIN_LOCATION]: (state, action: UpdateOriginLocationAction) => {\r\n state.lastSearchRequest.origin = action.location;\r\n },\r\n\r\n [actionTypes.UPDATE_TRUCK]: (state, action: UpdateTruckAction) => {\r\n if (!action.truck.defaultLength || !action.truck.defaultWeight || !action.truck.equipmentType) {\r\n return;\r\n }\r\n state.lastSearchRequest.length = action.truck.defaultLength;\r\n state.lastSearchRequest.weight =\r\n action.truck.defaultWeight === MAX_PLUS_TRUCK_WEIGHT\r\n ? MAX_LOAD_SEARCH_TRUCK_WEIGHT\r\n : action.truck.defaultWeight;\r\n state.lastSearchRequest.equipmentTypes = [action.truck.equipmentType];\r\n },\r\n\r\n [actionTypes.SHOW_SIMILAR_LOADS]: (state) => {\r\n state.showSimilarLoads = true;\r\n state.loadSearchState = SearchState.Loading;\r\n state.fetchingError = undefined;\r\n },\r\n\r\n [actionTypes.UPDATE_LOAD]: (state, action: UpdateLoadAction) => {\r\n state.loads = updateLoadsList(state.loads, action.update);\r\n state.similarLoads = updateSimilarLoadsList(state.similarLoads, action.update);\r\n },\r\n\r\n [actionTypes.LOAD_COUNT_REFRESHED]: (state, action: LoadCountResponseAction) => {\r\n state.totalLoadsCount = action.response.payload\r\n ? action.response.payload.totalResultCount\r\n : state.totalLoadsCount;\r\n },\r\n\r\n [actionTypes.VIEW_LOAD]: (state, action: ViewLoadAction) => {\r\n const loadViewedUpdate: LoadUpdate = {\r\n category: UpdateCategory.VIEWED,\r\n loadID: action.loadID,\r\n poster: undefined,\r\n };\r\n const viewedLoadIndex = findIndex(state.loads, (load) => load.id === action.loadID);\r\n if (viewedLoadIndex !== -1) {\r\n state.loads[viewedLoadIndex] = updateLoad(state.loads[viewedLoadIndex], loadViewedUpdate);\r\n } else {\r\n const viewedSimilarLoadIndex = findIndex(\r\n state.similarLoads,\r\n (similarLoad) => similarLoad.load.id === action.loadID\r\n );\r\n if (viewedSimilarLoadIndex !== -1) {\r\n state.similarLoads[viewedSimilarLoadIndex].load = updateLoad(\r\n state.similarLoads[viewedSimilarLoadIndex].load,\r\n loadViewedUpdate\r\n );\r\n }\r\n }\r\n },\r\n\r\n [actionTypes.CLEAR_LOAD_SEARCH_STATE]: (state) => {\r\n state.loadSearchState = undefined;\r\n },\r\n [actionTypes.SET_SEARCH_FILTER_DRAFT]: (state, action: SetSearchFilterAction) => {\r\n state.searchFilterDraft = action.searchFilter;\r\n },\r\n [actionTypes.AUTO_REFRESH_LOADS]: (state) => {\r\n state.isAutoRefreshing = true;\r\n },\r\n [actionTypes.AUTO_REFRESH_LOADS_COMPLETE]: (state, action: AutoRefreshResponseAction) => {\r\n const sentNextToken = action.sentNextToken;\r\n const isAutoRefreshStillApplicable = sentNextToken && sentNextToken === state.nextToken;\r\n // Since the autorefresh actions are not blocking (i.e. not in ACTIONS_BLOCKING_GROUP), it's\r\n // possible that a sufficiently delayed autorefresh result will be out-of-sync with redux when it\r\n // returns. To ensure that we don't mess up our data, we check whether the nextTokens match.\r\n if (isAutoRefreshStillApplicable) {\r\n if (action.response.success && action.response.payload) {\r\n const loadsCountChange = reduce(\r\n action.response.payload.refreshedLoads,\r\n (loadsCountChange, load) => {\r\n return load.status === LoadStatus.Deleted ? loadsCountChange - 1 : loadsCountChange + 1;\r\n },\r\n 0\r\n );\r\n state.loads = getMergedLoads(action.response.payload, state.loads);\r\n state.newLoadIds = map(getNewLoads(state.loads), (load) => load.id);\r\n state.totalLoadsCount += loadsCountChange;\r\n if (state.totalLoadsCountSearchForm) {\r\n state.totalLoadsCountSearchForm += loadsCountChange;\r\n }\r\n state.nextToken = action.response.payload.metadata.nextToken;\r\n }\r\n state.archivingFlowID = action.flowID;\r\n }\r\n state.isAutoRefreshing = false;\r\n },\r\n [actionTypes.FETCH_RATECHECK_PREVIEW]: (state, action: FetchRateCheckPreviewAction) => {\r\n const loadidsSet = new Set(action.loadIds);\r\n forEach(action.forSimilarLoads ? map(state.similarLoads, (s) => s.load) : state.loads, (load: Load) => {\r\n if (loadidsSet.has(load.id)) load.rateCheckPreview = { status: RateCheckPreviewStatus.Loading };\r\n });\r\n },\r\n [actionTypes.RATECHECK_PREVIEW_COMPLETE]: (state, action: RateCheckPreviewResponseAction) => {\r\n const fetchData = action.fetchData as FetchRateCheckPreviewAction;\r\n if (action.response.success && action.response.payload) {\r\n const payload = action.response.payload;\r\n forEach(fetchData.forSimilarLoads ? map(state.similarLoads, (s) => s.load) : state.loads, (load: Load) => {\r\n processRateCheckPreviewResponse(load, payload);\r\n });\r\n } else {\r\n const loadidsSet = new Set(fetchData.loadIds);\r\n forEach(fetchData.forSimilarLoads ? map(state.similarLoads, (s) => s.load) : state.loads, (load: Load) => {\r\n if (loadidsSet.has(load.id)) load.rateCheckPreview = { status: RateCheckPreviewStatus.Error };\r\n });\r\n }\r\n },\r\n },\r\n ]);\r\n\r\n return {\r\n actionTypes: actionTypes,\r\n actions: actions,\r\n reducer: loadSearchReducer,\r\n };\r\n};\r\n\r\nexport const getMergedLoads = (response: LoadSearchResponseModel, currentLoads: Load[]) => {\r\n const refreshedLoads = addFetchedTime(response.refreshedLoads);\r\n const nextLoads = addFetchedTime(response.loads);\r\n return mergeLoadLists(currentLoads, refreshedLoads, nextLoads, response.metadata.sortOrder);\r\n};\r\n\r\nconst getNewLoads = (loads: Load[]) => {\r\n const currentTime = Date.now();\r\n return filter(loads, (load: Load) => isLoadNew(load, currentTime));\r\n};\r\n","import { cloneDeep, filter, map } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, ofType, StateObservable } from 'redux-observable';\r\nimport { iif as iif$, merge as merge$, of as of$ } from 'rxjs';\r\nimport {\r\n distinctUntilChanged,\r\n filter as filter$,\r\n map as map$,\r\n mergeMap as mergeMap$,\r\n switchMap as switchMap$,\r\n} from 'rxjs/operators';\r\n\r\nimport { LoadsClient } from '@common/client';\r\nimport { getFlowIDFrom } from '@common/helper/FlowIDHeaderHelper';\r\nimport { addLoadSearchFields, resetMetadata } from '@common/helper/LoadSearchRequestFactory';\r\nimport { SearchMetadataType } from '@common/model';\r\nimport { QueueActions } from '@common/redux/AsyncQueueMiddleware';\r\nimport { responseActionHandler } from '@common/redux/Base';\r\nimport { isValidSearch, LoadSearchBaseState } from '@common/redux/epic/loadSearch/HelperFunctions';\r\nimport {\r\n AutoRefreshResponseAction,\r\n createLoadSearchReducer,\r\n LoadCountAction,\r\n SearchLoadsAction,\r\n SearchLoadsByIdAction,\r\n} from '@common/redux/epic/loadSearch/LoadSearchReducer';\r\nimport { FetchRateCheckPreviewAction } from '@common/redux/epic/rateCheck/RateCheckPreviewHelper';\r\nimport {\r\n getSettingsFromStateObservable,\r\n isRateCheckPreviewEnabled,\r\n SettingsState,\r\n} from '@common/redux/epic/SettingsStateHelper';\r\n\r\nexport enum SearchReducerKey {\r\n LOAD_SEARCH = 'loadSearch',\r\n BACKHAULS = 'backhauls',\r\n MAP_SEARCH = 'mapSearch',\r\n LOAD_AVAILABILITY = 'loadAvailability',\r\n COMPANY_SEARCH = 'companySearch',\r\n COMPANY_SEARCH_BACKHAULS = 'companySearchBackhauls',\r\n}\r\n\r\ntype LoadSearchSharedEpicStateObservable = StateObservable<{\r\n [reducerKey: string]: LoadSearchBaseState | SettingsState;\r\n}>;\r\n\r\n// ** reducerKey should match the key in your store, that's what we use to link the state observable and look at values,\r\n// make sure they're matching.\r\nexport const createLoadSearch = (reducerKey: string) => {\r\n const loadSearchCommon = createLoadSearchReducer(reducerKey);\r\n const actionTypes = loadSearchCommon.actionTypes;\r\n const actions = loadSearchCommon.actions;\r\n\r\n const ACTIONS_BLOCKING_GROUP: QueueActions[] = [\r\n { initial: actionTypes.FETCH_LOADS, complete: actionTypes.LOADS_FETCHED },\r\n { initial: actionTypes.GET_NEXT_SEARCH_LOADS, complete: actionTypes.LOADS_FETCHED, overrideExisting: true },\r\n { initial: actionTypes.GET_NEXT_SEARCH_LOADS, complete: actionTypes.SIMILAR_LOADS_FETCHED, overrideExisting: true },\r\n { initial: actionTypes.GET_NEXT_SEARCH_LOADS, complete: actionTypes.LAST_RESULT, overrideExisting: true },\r\n { initial: actionTypes.FETCH_LOAD_COUNT, complete: actionTypes.LOAD_COUNT_FETCHED },\r\n { initial: actionTypes.FETCH_LOADS_BY_ID, complete: actionTypes.LOADS_FETCHED },\r\n { initial: actionTypes.SHOW_SIMILAR_LOADS, complete: actionTypes.SIMILAR_LOADS_FETCHED },\r\n ];\r\n const getLoadSearchState = (\r\n stateObservable: StateObservable<{ [reducerKey: string]: LoadSearchBaseState | SettingsState }>\r\n ) => stateObservable.value[reducerKey] as LoadSearchBaseState;\r\n\r\n const searchLoadsEpic$ = (\r\n action$: ActionsObservable,\r\n state$: LoadSearchSharedEpicStateObservable,\r\n client: LoadsClient\r\n ) =>\r\n action$.ofType(actionTypes.FETCH_LOADS).pipe(\r\n switchMap$((action: SearchLoadsAction) => {\r\n const searchState = getLoadSearchState(state$);\r\n let request = action.searchData !== undefined ? action.searchData : searchState.listSearchRequest;\r\n request = addLoadSearchFields(request);\r\n return client\r\n .searchLoads$(request, false, searchState.archivingFlowID, action.cancelGroup, action.originatedAppLocation)\r\n .pipe(\r\n map$((response) => {\r\n const flowID = getFlowIDFrom(response);\r\n return response.result(\r\n (data) => actions.loadsSearchResponse({ success: true, payload: data }, flowID, undefined),\r\n (error) => actions.loadsSearchResponse({ success: false, error: error }, flowID, undefined)\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const searchLoadsByIdEpic$ = (action$: ActionsObservable, client: LoadsClient) =>\r\n action$.ofType(actionTypes.FETCH_LOADS_BY_ID).pipe(\r\n mergeMap$((action: SearchLoadsByIdAction) =>\r\n client.searchLoadsById$(action.id, addLoadSearchFields({ metadata: action.metadata }), false, undefined)\r\n ),\r\n map$((response) => response.resultDataResponse(actionTypes.LOADS_FETCHED))\r\n );\r\n\r\n const getNextSearchLoadsEpic$ = (\r\n action$: ActionsObservable,\r\n state$: LoadSearchSharedEpicStateObservable,\r\n client: LoadsClient\r\n ) =>\r\n action$.pipe(\r\n distinctUntilChanged((prevAction, action) => prevAction.type === action.type),\r\n ofType(actionTypes.GET_NEXT_SEARCH_LOADS),\r\n mergeMap$(() =>\r\n iif$(\r\n () => {\r\n const searchState = getLoadSearchState(state$);\r\n\r\n return searchState.isLastResult && (searchState.isLastSimilarResult || !searchState.showSimilarLoads);\r\n },\r\n of$({ type: actionTypes.LAST_RESULT }),\r\n iif$(\r\n () => getLoadSearchState(state$).isLastResult,\r\n client\r\n .searchSimilarLoads$(\r\n getLoadSearchState(state$).listSearchRequest,\r\n getLoadSearchState(state$).archivingFlowID\r\n )\r\n .pipe(map$((response) => response.resultDataResponse(actionTypes.SIMILAR_LOADS_FETCHED))),\r\n client\r\n .searchLoads$(\r\n addLoadSearchFields(getLoadSearchState(state$).listSearchRequest),\r\n false,\r\n getLoadSearchState(state$).archivingFlowID\r\n )\r\n .pipe(map$((response) => response.resultDataResponse(actionTypes.LOADS_FETCHED)))\r\n )\r\n )\r\n )\r\n );\r\n\r\n const fetchSimilarLoads$ = (\r\n action$: ActionsObservable,\r\n state$: LoadSearchSharedEpicStateObservable,\r\n loadsClient: LoadsClient\r\n ) =>\r\n action$.ofType(actionTypes.SHOW_SIMILAR_LOADS).pipe(\r\n mergeMap$(() => {\r\n const state = getLoadSearchState(state$);\r\n return loadsClient.searchSimilarLoads$(resetMetadata(state.listSearchRequest), state.archivingFlowID);\r\n }),\r\n map$((response): Action => {\r\n const flowID = getFlowIDFrom(response);\r\n return response.result(\r\n (data) =>\r\n actions.similarLoadsResponse(\r\n {\r\n success: true,\r\n payload: data,\r\n },\r\n flowID\r\n ),\r\n (error) =>\r\n actions.similarLoadsResponse(\r\n {\r\n success: false,\r\n error: error,\r\n },\r\n flowID\r\n )\r\n );\r\n })\r\n );\r\n\r\n const fetchLoadCount$ = (action$: ActionsObservable, loadsClient: LoadsClient) =>\r\n action$.ofType(actionTypes.FETCH_LOAD_COUNT).pipe(\r\n filter$((action: LoadCountAction) => isValidSearch(action.request)),\r\n switchMap$((action: LoadCountAction) => loadsClient.fetchLoadCount$(action.request)),\r\n map$((response) => response.resultDataResponse(actionTypes.LOAD_COUNT_FETCHED))\r\n );\r\n\r\n const refreshLoadCount$ = (action$: ActionsObservable, loadsClient: LoadsClient) =>\r\n action$.ofType(actionTypes.REFRESH_LOAD_COUNT).pipe(\r\n filter$((action: LoadCountAction) => isValidSearch(action.request)),\r\n mergeMap$((action: LoadCountAction) => loadsClient.fetchLoadCount$(action.request)),\r\n map$((response) => response.resultDataResponse(actionTypes.LOAD_COUNT_REFRESHED))\r\n );\r\n\r\n const autoRefresh$ = (\r\n action$: ActionsObservable,\r\n state$: LoadSearchSharedEpicStateObservable,\r\n loadsClient: LoadsClient\r\n ) =>\r\n action$.ofType(actionTypes.AUTO_REFRESH_LOADS).pipe(\r\n mergeMap$(() => {\r\n const storeState = getLoadSearchState(state$);\r\n const request = cloneDeep(storeState.listSearchRequest);\r\n request.metadata.type = SearchMetadataType.Refresh;\r\n request.metadata.limit = undefined;\r\n request.metadata.nextToken = storeState.nextToken;\r\n const id = storeState.selectedSearch?.id;\r\n if (id) {\r\n return loadsClient.searchLoadsById$(id, addLoadSearchFields(request), true, storeState.archivingFlowID).pipe(\r\n map$(\r\n (response): AutoRefreshResponseAction => ({\r\n ...response.resultDataResponse(actionTypes.AUTO_REFRESH_LOADS_COMPLETE),\r\n sentNextToken: request.metadata.nextToken,\r\n })\r\n )\r\n );\r\n }\r\n return loadsClient.searchLoads$(addLoadSearchFields(request), true, storeState.archivingFlowID).pipe(\r\n map$(\r\n (response): AutoRefreshResponseAction => ({\r\n ...response.resultDataResponse(actionTypes.AUTO_REFRESH_LOADS_COMPLETE),\r\n sentNextToken: request.metadata.nextToken,\r\n })\r\n )\r\n );\r\n })\r\n );\r\n\r\n const rateCheckPreviewEpic$ = (\r\n action$: ActionsObservable,\r\n state$: LoadSearchSharedEpicStateObservable,\r\n loadsClient: LoadsClient\r\n ) =>\r\n merge$(\r\n action$.ofType(actionTypes.LOADS_FETCHED, actionTypes.AUTO_REFRESH_LOADS_COMPLETE).pipe(\r\n mergeMap$(() => {\r\n if (!isRateCheckPreviewEnabled(getSettingsFromStateObservable(state$))) {\r\n return of$();\r\n }\r\n\r\n const storeState = getLoadSearchState(state$);\r\n\r\n const loadids = map(\r\n filter(storeState.loads, (load) => !load.rateCheckPreview),\r\n (load) => load.id\r\n );\r\n\r\n if (loadids.length === 0) {\r\n return of$();\r\n }\r\n\r\n return of$({\r\n type: actionTypes.FETCH_RATECHECK_PREVIEW,\r\n loadIds: loadids,\r\n forSimilarLoads: false,\r\n } as FetchRateCheckPreviewAction);\r\n })\r\n ),\r\n action$.ofType(actionTypes.SIMILAR_LOADS_FETCHED).pipe(\r\n mergeMap$(() => {\r\n if (!isRateCheckPreviewEnabled(getSettingsFromStateObservable(state$))) {\r\n return of$();\r\n }\r\n\r\n const storeState = getLoadSearchState(state$);\r\n const loadids = map(\r\n filter(storeState.similarLoads, (similarLoad) => !similarLoad.load.rateCheckPreview),\r\n (similarLoad) => similarLoad.load.id\r\n );\r\n\r\n if (loadids.length === 0) {\r\n return of$();\r\n }\r\n\r\n return of$({\r\n type: actionTypes.FETCH_RATECHECK_PREVIEW,\r\n loadIds: loadids,\r\n forSimilarLoads: true,\r\n } as FetchRateCheckPreviewAction);\r\n })\r\n ),\r\n action$.ofType(actionTypes.FETCH_RATECHECK_PREVIEW).pipe(\r\n mergeMap$((action: FetchRateCheckPreviewAction) => {\r\n const storeState = getLoadSearchState(state$);\r\n return loadsClient.fetchLoadRateCheckPreviews$(action.loadIds, storeState.archivingFlowID).pipe(\r\n map$((response) => ({\r\n ...responseActionHandler(actionTypes.RATECHECK_PREVIEW_COMPLETE, response),\r\n fetchData: action,\r\n }))\r\n );\r\n })\r\n )\r\n );\r\n\r\n const createdMergedEpic$ = (\r\n loadsClient: LoadsClient,\r\n action$: ActionsObservable,\r\n state$: LoadSearchSharedEpicStateObservable\r\n ) =>\r\n merge$(\r\n searchLoadsEpic$(action$, state$, loadsClient),\r\n searchLoadsByIdEpic$(action$, loadsClient),\r\n getNextSearchLoadsEpic$(action$, state$, loadsClient),\r\n fetchLoadCount$(action$, loadsClient),\r\n fetchSimilarLoads$(action$, state$, loadsClient),\r\n refreshLoadCount$(action$, loadsClient),\r\n autoRefresh$(action$, state$, loadsClient),\r\n rateCheckPreviewEpic$(action$, state$, loadsClient)\r\n );\r\n\r\n return {\r\n reducer: loadSearchCommon.reducer,\r\n createMergedEpic$: createdMergedEpic$,\r\n actionsQueue: ACTIONS_BLOCKING_GROUP,\r\n actions: actions,\r\n actionTypes: actionTypes,\r\n getLoadSearchBaseState: getLoadSearchState,\r\n };\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$ } from 'rxjs/internal/operators/map';\r\nimport { mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api } from '@common/api';\r\nimport { LoadsClient } from '@common/client';\r\nimport { treatZeroAsUndefined } from '@common/helper';\r\nimport { getFlowIDFrom } from '@common/helper/FlowIDHeaderHelper';\r\nimport {\r\n BaseLocation,\r\n DEFAULT_LOAD_SEARCH_RADIUS,\r\n Geolocation,\r\n GeolocationGroup,\r\n LoadSearchArchiving,\r\n LoadSearchGeoResponse,\r\n LoadSearchMetadata,\r\n LoadSearchRequest,\r\n LocationType,\r\n MapBounds,\r\n SearchMetadataType,\r\n} from '@common/model';\r\nimport { ResultResponseAction } from '@common/redux/Base';\r\nimport {\r\n initialState as initialLoadSearchState,\r\n LoadSearchBaseState,\r\n} from '@common/redux/epic/loadSearch/HelperFunctions';\r\nimport { createLoadSearch } from '@common/redux/epic/loadSearch/LoadSearchShared';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport const MAP_SEARCH_REDUCER_KEY = 'mapSearch';\r\nexport const COMPANY_MAP_SEARCH_REDUCER_KEY = 'companyMapSearch';\r\n\r\ntype LoadSearchMapResponseAction = ResultResponseAction & LoadSearchArchiving;\r\n\r\ninterface MapSearchAction extends Action {\r\n mapSearchBounds: MapBounds;\r\n}\r\n\r\ninterface MapSearchGeoSearchAction extends Action {\r\n lastSearch: LoadSearchRequest;\r\n origin?: BaseLocation;\r\n shouldResetFlowID: boolean;\r\n}\r\n\r\ninterface MapSearchGeoSearchByIdAction extends Action {\r\n id: string;\r\n metadata: LoadSearchMetadata;\r\n shouldResetFlowID: boolean;\r\n}\r\n\r\nexport interface MapSearchState extends LoadSearchBaseState {\r\n mapSearchBounds?: MapBounds;\r\n pins: GeolocationGroup[];\r\n isNewSearch: boolean;\r\n center?: Geolocation;\r\n radius?: number;\r\n isLoadingPins: boolean;\r\n mapArchivingFlowID: string | undefined;\r\n lastMapSearchID?: string;\r\n}\r\n\r\nexport const initialMapSearchState: Readonly = {\r\n ...initialLoadSearchState,\r\n pins: [],\r\n isNewSearch: false,\r\n isLoadingPins: false,\r\n mapArchivingFlowID: undefined,\r\n};\r\n\r\nconst createMapSearchEpic = (key: string) => {\r\n //Actions\r\n const baseActionKey = `${key}_`;\r\n const actionsKeys = {\r\n CLEAR_LOADS: `${baseActionKey}CLEAR_LOADS`,\r\n SET_MAP_SEARCH_BOUNDS: `${baseActionKey}SET_MAP_SEARCH_BOUNDS`,\r\n FETCH_GEO_LOADS: `${baseActionKey}FETCH_GEO_LOADS`,\r\n FETCH_GEO_LOADS_ID: `${baseActionKey}FETCH_GEO_LOADS_ID`,\r\n GEO_LOADS_FETCHED: `${baseActionKey}GEO_LOADS_FETCHED`,\r\n NEW_GEO_LOADS_FETCHED: `${baseActionKey}NEW_GEO_LOADS_FETCHED`,\r\n };\r\n\r\n const mapSearch = createLoadSearch(key);\r\n\r\n const exportedActions = {\r\n clearLoads: (): Action => ({ type: actionsKeys.CLEAR_LOADS }),\r\n setMapSearchBounds: (mapSearchBounds: MapBounds): MapSearchAction => ({\r\n type: actionsKeys.SET_MAP_SEARCH_BOUNDS,\r\n mapSearchBounds: mapSearchBounds,\r\n }),\r\n fetchGeoLoads: (lastSearch: LoadSearchRequest, origin?: BaseLocation): MapSearchGeoSearchAction => ({\r\n type: actionsKeys.FETCH_GEO_LOADS,\r\n lastSearch: lastSearch,\r\n origin: origin,\r\n shouldResetFlowID: false,\r\n }),\r\n fetchGeoLoadsById: (\r\n id: string,\r\n metadata: LoadSearchMetadata,\r\n shouldResetFlowID: boolean = false\r\n ): MapSearchGeoSearchByIdAction => ({\r\n type: actionsKeys.FETCH_GEO_LOADS_ID,\r\n id: id,\r\n metadata: metadata,\r\n shouldResetFlowID: shouldResetFlowID,\r\n }),\r\n searchLoads: mapSearch.actions.searchLoads,\r\n nextSearchLoads: mapSearch.actions.nextSearchLoads,\r\n updateMapSearchLoads: mapSearch.actions.updateLoads,\r\n refreshMapSearchLoadCount: mapSearch.actions.refreshLoadCount,\r\n removeBlockedLoad: mapSearch.actions.removeBlockedLoad,\r\n viewClusterLoad: mapSearch.actions.viewLoad,\r\n toggleCountingSearches: mapSearch.actions.toggleCountingSearches,\r\n updateOriginLocation: mapSearch.actions.updateOriginLocation,\r\n };\r\n\r\n //Reducer\r\n const reducer = createReducer(\r\n initialMapSearchState,\r\n {\r\n [actionsKeys.FETCH_GEO_LOADS]: (state, action: MapSearchGeoSearchAction) => {\r\n state.isNewSearch = Boolean(action.origin);\r\n state.isPerformingSearch = true;\r\n state.isLoadingPins = true;\r\n state.radius = state.radius ? state.radius : action.lastSearch.origin.radius || DEFAULT_LOAD_SEARCH_RADIUS;\r\n state.mapArchivingFlowID = action.shouldResetFlowID ? undefined : state.mapArchivingFlowID;\r\n },\r\n [actionsKeys.FETCH_GEO_LOADS_ID]: (state, action: MapSearchGeoSearchByIdAction) => {\r\n state.isPerformingSearch = true;\r\n state.isLoadingPins = true;\r\n state.mapArchivingFlowID = action.shouldResetFlowID ? undefined : state.mapArchivingFlowID;\r\n },\r\n [actionsKeys.CLEAR_LOADS]: (state) => {\r\n state.loads = [];\r\n },\r\n [actionsKeys.SET_MAP_SEARCH_BOUNDS]: (state, action: MapSearchAction) => {\r\n state.mapSearchBounds = action.mapSearchBounds;\r\n },\r\n [actionsKeys.NEW_GEO_LOADS_FETCHED]: fetchedGeoloadsCase(true),\r\n [actionsKeys.GEO_LOADS_FETCHED]: fetchedGeoloadsCase(false),\r\n },\r\n (state: MapSearchState, action) => {\r\n const mapSearchState = mapSearch.reducer(state, action);\r\n if (mapSearchState) {\r\n return { ...state, ...mapSearchState };\r\n }\r\n return state;\r\n }\r\n );\r\n\r\n //Epic\r\n const searchGeoLoadsEpic$ = (\r\n action$: ActionsObservable,\r\n client: LoadsClient,\r\n state$: StateObservable<{ [reducerKey: string]: MapSearchState }>\r\n ) =>\r\n action$.ofType(actionsKeys.FETCH_GEO_LOADS).pipe(\r\n mergeMap$((action: MapSearchGeoSearchAction) => {\r\n const flowID = state$.value[key].mapArchivingFlowID;\r\n return client.searchGeoLoads$(updatedMapSearchWith(action.lastSearch, action.origin), flowID).pipe(\r\n map$((response) => {\r\n const flowID = getFlowIDFrom(response);\r\n return response.result(\r\n (data): LoadSearchMapResponseAction => ({\r\n type: action.origin ? actionsKeys.NEW_GEO_LOADS_FETCHED : actionsKeys.GEO_LOADS_FETCHED,\r\n response: { success: true, payload: data },\r\n flowID: flowID,\r\n }),\r\n (error): LoadSearchMapResponseAction => ({\r\n type: actionsKeys.GEO_LOADS_FETCHED,\r\n response: { success: false, error: error },\r\n flowID: flowID,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const searchGeoLoadsByIdEpic$ = (\r\n action$: ActionsObservable,\r\n client: LoadsClient,\r\n state$: StateObservable<{ [reducerKey: string]: MapSearchState }>\r\n ) =>\r\n action$.ofType(actionsKeys.FETCH_GEO_LOADS_ID).pipe(\r\n mergeMap$((action: MapSearchGeoSearchByIdAction) => {\r\n const flowID = state$.value[key].mapArchivingFlowID;\r\n return client.searchGeoLoadsById$(action.id, { metadata: action.metadata }, flowID).pipe(\r\n map$((response) => {\r\n const flowID = getFlowIDFrom(response);\r\n return response.result(\r\n (data): LoadSearchMapResponseAction => ({\r\n type: actionsKeys.GEO_LOADS_FETCHED,\r\n response: { success: true, payload: data },\r\n flowID: flowID,\r\n }),\r\n (error): LoadSearchMapResponseAction => ({\r\n type: actionsKeys.GEO_LOADS_FETCHED,\r\n response: { success: false, error: error },\r\n flowID: flowID,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const createEpic$ = (api: Api, isLiveEnvironment: boolean) => {\r\n const client = new LoadsClient(api, isLiveEnvironment);\r\n\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n mapSearch.createMergedEpic$(client, action$, state$),\r\n searchGeoLoadsEpic$(action$, client, state$),\r\n searchGeoLoadsByIdEpic$(action$, client, state$)\r\n );\r\n };\r\n\r\n return {\r\n reducer: reducer,\r\n createEpic$: createEpic$,\r\n actions: exportedActions,\r\n actionKeys: actionsKeys,\r\n };\r\n};\r\n\r\nconst fetchedGeoloadsCase = (isNewSearch: boolean) => (state: MapSearchState, action: LoadSearchMapResponseAction) => {\r\n if (action.response.success) {\r\n const { id, groups, metadata } = action.response.payload;\r\n state.pins = groups;\r\n state.lastMapSearchID = id;\r\n state.center = metadata.center;\r\n state.radius = getRadius(metadata.radius, metadata.requestParams.origin.radius, state);\r\n state.lastSearchRequest = metadata.requestParams;\r\n }\r\n state.isPerformingSearch = false;\r\n state.mapArchivingFlowID = action.flowID;\r\n state.archivingFlowID = action.flowID;\r\n state.isLoadingPins = false;\r\n state.isNewSearch = isNewSearch;\r\n};\r\n\r\nexport const updatedMapSearchWith = (\r\n lastSearch: LoadSearchRequest,\r\n origin: BaseLocation | undefined\r\n): LoadSearchRequest => {\r\n return {\r\n ...lastSearch,\r\n metadata: {\r\n type: origin ? SearchMetadataType.GeoPanning : SearchMetadataType.Geo,\r\n },\r\n origin: origin\r\n ? {\r\n type: LocationType.GEOLOCATION,\r\n longitude: origin.geolocation ? origin.geolocation.longitude : 0,\r\n latitude: origin.geolocation ? origin.geolocation.latitude : 0,\r\n radius: origin.radius || lastSearch.origin.radius || DEFAULT_LOAD_SEARCH_RADIUS,\r\n }\r\n : lastSearch.origin,\r\n };\r\n};\r\n\r\nconst getRadius = (\r\n requestMetadataRadius: number | undefined,\r\n originRadius: number | undefined,\r\n state: MapSearchState\r\n) => {\r\n return treatZeroAsUndefined(requestMetadataRadius) ?? treatZeroAsUndefined(originRadius) ?? state.radius;\r\n};\r\n\r\nconst mapSearch = createMapSearchEpic(MAP_SEARCH_REDUCER_KEY);\r\nconst companyMapSearch = createMapSearchEpic(COMPANY_MAP_SEARCH_REDUCER_KEY);\r\n\r\nexport const mapSearchReducer = mapSearch.reducer;\r\nexport const mapSearchEpicCreator$ = mapSearch.createEpic$;\r\nexport const mapSearchActions = mapSearch.actions;\r\nexport const mapSearchActionKeys = mapSearch.actionKeys;\r\n\r\nexport const companyMapSearchReducer = companyMapSearch.reducer;\r\nexport const companyMapSearchEpicCreator$ = companyMapSearch.createEpic$;\r\nexport const companyMapSearchActions = {\r\n ...companyMapSearch.actions,\r\n fetchGeoLoads: (searchRequest: LoadSearchRequest, origin?: BaseLocation) =>\r\n companyMapSearch.actions.fetchGeoLoads(searchRequest, origin),\r\n};\r\nexport const companyMapSearchActionKeys = companyMapSearch.actionKeys;\r\n","import { defaultTo, Dictionary, join, map, mapValues, pickBy, reduce, uniqBy } from 'lodash';\r\nimport moment from 'moment';\r\n\r\nimport {\r\n formatMomentYYYYMMDD,\r\n getTodayDateYYYYMMDD,\r\n MILLISECONDS_IN_ONE_DAY,\r\n parseAPIDateWithoutTime,\r\n} from '@common/helper/DateHelper';\r\nimport { addSuffix, dashIfUndefined } from '@common/helper/Functions';\r\nimport { safeFormatPrice } from '@common/helper/NumberHelper';\r\nimport {\r\n Address,\r\n LoadRateCheckHistoryRequest,\r\n PartialRateCheckFeedback,\r\n PayRateUnit,\r\n RateCheck,\r\n RateCheckExpansionLevel,\r\n RateCheckFeedback,\r\n RateCheckFeedbackCollection,\r\n RateCheckFeedbackRequest,\r\n RateCheckHistoryRequest,\r\n RateCheckRequest,\r\n RateCheckRevenueData,\r\n RateCheckRevenueResponse,\r\n RateCheckTimeSpan,\r\n} from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\nexport const createFeedback = (feedback: PartialRateCheckFeedback, response: RateCheck): RateCheckFeedbackRequest => {\r\n return {\r\n request: typeof feedback.request === 'string' ? undefined : feedback.request,\r\n amountType: feedback.expectedRate ? PayRateUnit.PerMile : undefined,\r\n expectedRate: feedback.expectedRate,\r\n userAccurate: feedback.isRateCheckAccurate,\r\n response: response,\r\n };\r\n};\r\n\r\nexport const serializeRequest = (request: RateCheckRequest) =>\r\n `${stringifyAddress(request.from)}-${stringifyAddress(request.to)}-${request.equipment}`;\r\n\r\nconst defaultToEmpty = (str: string): string => defaultTo(str, '');\r\n\r\nconst stringifyAddress = ({ city, state, addressLine1, addressLine2, country, geolocation, zipCode }: Address) =>\r\n join(map([city, state, addressLine1, addressLine2, country, geolocation, zipCode], defaultToEmpty), '');\r\n\r\ntype WithTimeAndSuccess = { timeAdded: number; isSuccess: boolean | undefined };\r\n\r\nexport const filterOldAndFailed = (\r\n feedbackSubmittedFor: Dictionary\r\n): Dictionary => {\r\n const now = Date.now();\r\n return pickBy(\r\n feedbackSubmittedFor,\r\n (route) => now - route.timeAdded < MILLISECONDS_IN_ONE_DAY && route.isSuccess === true\r\n );\r\n};\r\n\r\nexport const updateFeedback = (\r\n feedbacks: RateCheckFeedbackCollection,\r\n rateCheckID: string,\r\n newData: PartialRateCheckFeedback | undefined,\r\n initialFeedbackState: RateCheckFeedback\r\n): RateCheckFeedbackCollection => {\r\n if (feedbacks[rateCheckID]) {\r\n return mapValues(feedbacks, (feedback, rateCheckID) => {\r\n if (rateCheckID === rateCheckID) {\r\n return {\r\n ...feedback,\r\n ...newData,\r\n };\r\n }\r\n return feedback;\r\n });\r\n }\r\n return {\r\n ...feedbacks,\r\n [rateCheckID]: {\r\n ...initialFeedbackState,\r\n ...newData,\r\n timeAdded: Date.now(),\r\n },\r\n };\r\n};\r\n\r\nexport const getRateCheckID = (loadID: undefined | string, request: RateCheckRequest | undefined) => {\r\n if (loadID) {\r\n return loadID;\r\n }\r\n if (request) {\r\n return serializeRequest(request);\r\n }\r\n return 'unknown';\r\n};\r\n\r\nexport const createLoadRateCheckHistoryRequest = (): LoadRateCheckHistoryRequest => ({\r\n expansionLevel: RateCheckExpansionLevel.CityToCity,\r\n startDate: formatMomentYYYYMMDD(moment().subtract(1, 'year')),\r\n endDate: getTodayDateYYYYMMDD(),\r\n timeSpan: RateCheckTimeSpan.Monthly,\r\n});\r\n\r\nconst createLoadRateCheckHistoricalRequest = (yearsAgo: number = 1): LoadRateCheckHistoryRequest => ({\r\n expansionLevel: RateCheckExpansionLevel.CityToCity,\r\n startDate: formatMomentYYYYMMDD(moment().subtract(yearsAgo, 'year').startOf('year')),\r\n endDate: getTodayDateYYYYMMDD(),\r\n timeSpan: RateCheckTimeSpan.Monthly,\r\n});\r\n\r\nexport const createRateCheckHistoryRequest = (request: RateCheckRequest): RateCheckHistoryRequest => {\r\n const baseRequest = createLoadRateCheckHistoryRequest();\r\n return createRateHistoryRequestBody(baseRequest, request);\r\n};\r\n\r\nexport const createRateCheckHistoricalRequest = (request: RateCheckRequest): RateCheckHistoryRequest => {\r\n const baseRequest = createLoadRateCheckHistoricalRequest(4);\r\n return createRateHistoryRequestBody(baseRequest, request);\r\n};\r\n\r\nconst createRateHistoryRequestBody = (baseRequest: LoadRateCheckHistoryRequest, request: RateCheckRequest) => ({\r\n request: {\r\n timeSpan: baseRequest.timeSpan,\r\n expansionLevel: baseRequest.expansionLevel,\r\n destination: request.to,\r\n origin: request.from,\r\n equipment: request.equipment,\r\n endDate: baseRequest.endDate,\r\n startDate: baseRequest.startDate,\r\n },\r\n});\r\n\r\nexport const parseRateCheckHistory = (\r\n response: RateCheckRevenueData[],\r\n rateCheck: RateCheck | undefined\r\n): RateCheckRevenueResponse => {\r\n const withCurrent: RateCheckRevenueData[] = uniqBy(\r\n /* Check for uniques since the API sometimes gives duplicate resutls */\r\n rateCheck && rateCheck.avgRatePerMile && rateCheck.averageRateForMileage\r\n ? [\r\n ...response,\r\n /* We add one more point on the end of the rate check graph with the current avg/min/max */\r\n {\r\n avgRatePerMile: rateCheck.avgRatePerMile,\r\n ratePerMileMax: rateCheck.ratePerMileMax,\r\n ratePerMileMin: rateCheck.ratePerMileMin,\r\n averageRateForMileage: rateCheck.averageRateForMileage,\r\n minRateForMileage: rateCheck.minRateForMileage,\r\n maxRateForMileage: rateCheck.maxRateForMileage,\r\n date: formatMomentYYYYMMDD(moment().startOf('month')),\r\n endDate: formatMomentYYYYMMDD(moment().endOf('month')),\r\n },\r\n ]\r\n : response,\r\n 'date'\r\n );\r\n\r\n return {\r\n averageRatePerMileData: map(withCurrent, (data) => ({\r\n rate: data.avgRatePerMile,\r\n date: parseAPIDateWithoutTime(data.date).getTime(),\r\n })),\r\n maxRatePerMile: reduce(\r\n withCurrent,\r\n (max, data) => {\r\n if (data.ratePerMileMax && data.ratePerMileMax > max) {\r\n return data.ratePerMileMax;\r\n } else if (data.avgRatePerMile > max) {\r\n return data.avgRatePerMile;\r\n }\r\n return max;\r\n },\r\n 0\r\n ),\r\n minRatePerMile:\r\n reduce(\r\n withCurrent,\r\n (min, data) => (data.ratePerMileMin && min && data.ratePerMileMin < min ? data.ratePerMileMin : min),\r\n withCurrent[0].ratePerMileMin\r\n ) || 0,\r\n ratePerMileMaxData: map(withCurrent, (data) => ({\r\n rate: data.ratePerMileMax || data.avgRatePerMile,\r\n date: parseAPIDateWithoutTime(data.date).getTime(),\r\n })),\r\n ratePerMileMinData: map(withCurrent, (data) => ({\r\n rate: data.ratePerMileMin || data.avgRatePerMile,\r\n date: parseAPIDateWithoutTime(data.date).getTime(),\r\n })),\r\n averageFlatRateForMileageData: map(withCurrent, (data) => ({\r\n rate: data.averageRateForMileage,\r\n date: parseAPIDateWithoutTime(data.date).getTime(),\r\n })),\r\n maxFlatRateForMileageData: map(withCurrent, (data) => ({\r\n rate: data.maxRateForMileage || data.averageRateForMileage,\r\n date: parseAPIDateWithoutTime(data.date).getTime(),\r\n })),\r\n minFlatRateForMileageData: map(withCurrent, (data) => ({\r\n rate: data.minRateForMileage || data.averageRateForMileage,\r\n date: parseAPIDateWithoutTime(data.date).getTime(),\r\n })),\r\n maxFlatRate: reduce(\r\n withCurrent,\r\n (max, data) => {\r\n if (data.maxRateForMileage && data.maxRateForMileage > max) {\r\n return data.maxRateForMileage;\r\n } else if (data.averageRateForMileage > max) {\r\n return data.averageRateForMileage;\r\n }\r\n return max;\r\n },\r\n 0\r\n ),\r\n };\r\n};\r\n\r\nexport const formatDollarsPerMile = (value: number | undefined): string =>\r\n dashIfUndefined(\r\n addSuffix(t(T.common_per_miles_short))(value !== undefined ? `$${safeFormatPrice(value)}` : undefined)\r\n );\r\n\r\nexport const getInitialAverage = (feedback: RateCheckFeedback) =>\r\n (feedback.response && feedback.response.avgRatePerMile && safeFormatPrice(feedback.response.avgRatePerMile)) ||\r\n '0.00';\r\n","import { find } from 'lodash';\r\nimport { Action } from 'redux';\r\n\r\nimport { BulkLoadRateCheckPreviewResponse, Load, RateCheckPreviewStatus } from '@common/model';\r\nimport { ResponseAction } from '@common/redux/Base';\r\n\r\nexport interface FetchRateCheckPreviewAction extends Action {\r\n loadIds: string[];\r\n forSimilarLoads: boolean;\r\n}\r\n\r\nexport type RateCheckPreviewResponseAction = ResponseAction;\r\n\r\nexport const processRateCheckPreviewResponse = (load: Load, responsePayload: BulkLoadRateCheckPreviewResponse) => {\r\n const rate = find(responsePayload.rates, (r) => r.loadId === load.id);\r\n if (rate) {\r\n if (rate.isRateFound) {\r\n load.rateCheckPreview = {\r\n status: RateCheckPreviewStatus.Available,\r\n ratePerMile: rate.ratePerMile,\r\n totalRate: rate.totalRate,\r\n };\r\n } else {\r\n load.rateCheckPreview = {\r\n status: RateCheckPreviewStatus.NotAvailable,\r\n ratePerMile: rate.ratePerMile,\r\n totalRate: rate.totalRate,\r\n };\r\n }\r\n } else {\r\n const skippedRate = find(responsePayload.skippedLoads, (r) => r.loadId === load.id);\r\n if (skippedRate?.skipReasons) {\r\n if (skippedRate?.skipReasons[0]?.skipReason === RateCheckPreviewStatus.UnsupportedEquipmentType) {\r\n load.rateCheckPreview = {\r\n status: RateCheckPreviewStatus.UnsupportedEquipmentType,\r\n ratePerMile: undefined,\r\n totalRate: undefined,\r\n };\r\n } else if (skippedRate?.skipReasons[0]?.skipReason === RateCheckPreviewStatus.NoRateCheckAccess) {\r\n load.rateCheckPreview = {\r\n status: RateCheckPreviewStatus.NoRateCheckAccess,\r\n ratePerMile: undefined,\r\n totalRate: undefined,\r\n };\r\n } else {\r\n load.rateCheckPreview = {\r\n status: RateCheckPreviewStatus.NotAvailable,\r\n ratePerMile: undefined,\r\n totalRate: undefined,\r\n };\r\n }\r\n }\r\n }\r\n};\r\n","import { createAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\n/**\r\n * Follows Cobrowse's SessionState data structure\r\n */\r\nexport enum SessionStates {\r\n pending = 'pending',\r\n authorizing = 'authorizing',\r\n ended = 'ended',\r\n active = 'active',\r\n inactive = 'inactive',\r\n}\r\n\r\n/**\r\n * Follows Cobrowse's SessionLike data structure\r\n */\r\nexport interface ScreenSharingSession {\r\n id?: string;\r\n state: SessionStates;\r\n code?: string;\r\n full_device?: boolean;\r\n agent?: {\r\n name?: string;\r\n id?: string;\r\n };\r\n}\r\n\r\nexport interface ScreenSharingState {\r\n session?: ScreenSharingSession;\r\n}\r\n\r\nconst initialState: ScreenSharingState = {\r\n session: undefined,\r\n};\r\n\r\nconst updateScreenSharingSessionAction = createAction(\r\n 'UPDATE_SCREEN_SHARING_SESSION'\r\n);\r\nexport const updateScreenSharingSession = updateScreenSharingSessionAction.action;\r\n\r\nexport const ScreenSharingReducer = createMergedReducer(initialState, [\r\n updateScreenSharingSessionAction.addCase((state, { data: newSession }) => {\r\n if (state.session && newSession && state.session.id === newSession.id && !newSession.code) {\r\n // session updates from cobrowse do not always keep the code (if there was one)\r\n // this appears to be a bug, so we have this workaround to pass it between updates\r\n state.session = {\r\n ...newSession,\r\n code: state.session.code,\r\n };\r\n } else {\r\n state.session = newSession;\r\n }\r\n }),\r\n]);\r\n","import { Action } from 'redux';\r\n\r\nimport { RibbonMessage } from '@common/model';\r\n\r\nimport { createReducer } from '../ReduxHelper';\r\n\r\nconst OPEN_RIBBON = 'OPEN_RIBBON';\r\n\r\nconst CLOSE_RIBBON = 'CLOSE_RIBBON';\r\nexport enum RibbonMessageType {\r\n Info,\r\n Error,\r\n Warning,\r\n Success,\r\n}\r\ninterface OpenRibbon extends Action {\r\n messages: RibbonMessage[];\r\n messageType: RibbonMessageType;\r\n}\r\n\r\nexport const openRibbon = (\r\n msg: RibbonMessage[],\r\n messageType: RibbonMessageType = RibbonMessageType.Warning\r\n): OpenRibbon => ({\r\n type: OPEN_RIBBON,\r\n messages: msg,\r\n messageType: messageType,\r\n});\r\n\r\nexport function closeRibbon(): Action {\r\n return {\r\n type: CLOSE_RIBBON,\r\n };\r\n}\r\n\r\nexport interface RibbonState {\r\n isOpened: boolean;\r\n messages: RibbonMessage[];\r\n messageType: RibbonMessageType;\r\n}\r\n\r\nconst initialState: RibbonState = {\r\n isOpened: false,\r\n messages: [{ message: '', isPhoneLink: false }],\r\n messageType: RibbonMessageType.Warning,\r\n};\r\n\r\nexport const ribbonReducer = createReducer(initialState, {\r\n [OPEN_RIBBON]: (state, action: OpenRibbon) => {\r\n state.isOpened = true;\r\n state.messages = action.messages;\r\n state.messageType = action.messageType;\r\n },\r\n [CLOSE_RIBBON]: (state) => {\r\n state.isOpened = false;\r\n },\r\n});\r\n","import { Action } from 'redux';\r\n\r\nexport enum TutorialAction {\r\n START_LOAD_TUTORIAL = 'START_LOAD_TUTORIAL',\r\n STOP_LOAD_TUTORIAL = 'STOP_LOAD_TUTORIAL',\r\n START_TRUCK_TUTORIAL = 'START_TRUCK_TUTORIAL',\r\n STOP_TRUCK_TUTORIAL = 'STOP_TRUCK_TUTORIAL',\r\n}\r\n\r\nexport function toggleTutorial(action: TutorialAction): Action {\r\n return {\r\n type: action,\r\n };\r\n}\r\n\r\nexport interface TutorialState {\r\n runLoadTutorial: boolean;\r\n runTruckTutorial: boolean;\r\n}\r\n\r\nexport const tutorialReducer = (state: TutorialState, action: Action) => {\r\n switch (action.type) {\r\n case TutorialAction.START_LOAD_TUTORIAL:\r\n return { ...state, runLoadTutorial: true };\r\n case TutorialAction.STOP_LOAD_TUTORIAL:\r\n return { ...state, runLoadTutorial: false };\r\n case TutorialAction.START_TRUCK_TUTORIAL:\r\n return { ...state, runTruckTutorial: true };\r\n case TutorialAction.STOP_TRUCK_TUTORIAL:\r\n return { ...state, runTruckTutorial: false };\r\n }\r\n\r\n return state ? state : { runLoadTutorial: false, runTruckTutorial: false };\r\n};\r\n","import { clone, includes, keys, reduce } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { PersistConfig } from 'redux-persist';\r\nimport autoMergeLevel2 from 'redux-persist/lib/stateReconciler/autoMergeLevel2';\r\n\r\nimport { createReducer } from '../ReduxHelper';\r\n\r\nconst UPDATE_UNDER_DEVELOPMENT_FLAG_STATUSES = 'UPDATE_UNDER_DEVELOPMENT_FLAG_STATUSES';\r\n\r\nexport interface UnderDevelopmentFlagUpdate {\r\n flag: string;\r\n isEnabled: boolean;\r\n}\r\n\r\ninterface UpdateFlagsStatusAction extends Action {\r\n flagUpdates: UnderDevelopmentFlagUpdate[];\r\n}\r\n\r\nexport interface UnderDevelopmentState {\r\n flags: { [flag: string]: boolean };\r\n}\r\n\r\nconst initialUnderDevelopmentState = (availableFlags: string[]): UnderDevelopmentState => ({\r\n flags: reduce(\r\n availableFlags,\r\n (accFlags, availableFlag) => {\r\n accFlags[availableFlag] = false;\r\n return accFlags;\r\n },\r\n {} as { [key: string]: boolean }\r\n ),\r\n});\r\n\r\n/**\r\n * Since flag values may change between releases, if the user has a flag X persisted\r\n * from a previous release, we do not want to pull it into the current flags state\r\n * where X is no longer a valid flag. This state reconciler wraps the redux-persist\r\n * one and simply filters the inbound (persisted) state for valid flags only before\r\n * passing it to the default reconciler.\r\n * @param availableFlags List of currently valid feature flags\r\n */\r\nconst createUnderDevelopmentStateReconciler =\r\n (availableFlags: string[]) =>\r\n (\r\n inboundState: UnderDevelopmentState,\r\n originalState: UnderDevelopmentState,\r\n reducedState: UnderDevelopmentState,\r\n persistConfig: PersistConfig\r\n ) => {\r\n const filteredInboundState = {\r\n ...inboundState,\r\n flags: reduce(\r\n keys(inboundState.flags),\r\n (validPersistedFlags, currentPersistedFlag) => {\r\n if (includes(availableFlags, currentPersistedFlag)) {\r\n return {\r\n ...validPersistedFlags,\r\n // older versions of the app stored these flags with numbers, so\r\n // this conversion ensures we pull booleans.\r\n [currentPersistedFlag]: !!inboundState.flags[currentPersistedFlag],\r\n };\r\n }\r\n return validPersistedFlags;\r\n },\r\n {}\r\n ),\r\n };\r\n return autoMergeLevel2(filteredInboundState, originalState, reducedState, persistConfig);\r\n };\r\n\r\nexport const createUnderDevelopmentReducer = (availableFlags: string[]) => {\r\n const reducer = createReducer(initialUnderDevelopmentState(availableFlags), {\r\n [UPDATE_UNDER_DEVELOPMENT_FLAG_STATUSES]: (state: UnderDevelopmentState, action: UpdateFlagsStatusAction) => {\r\n const existingFlags = clone(state.flags);\r\n state.flags = reduce(\r\n action.flagUpdates,\r\n (flags, flagUpdate) => {\r\n flags[flagUpdate.flag] = flagUpdate.isEnabled;\r\n return flags;\r\n },\r\n existingFlags\r\n );\r\n },\r\n });\r\n\r\n const stateReconciler = createUnderDevelopmentStateReconciler(availableFlags);\r\n\r\n const actions = {\r\n updateUnderDevelopmentFlagStatuses: (flagUpdates: UnderDevelopmentFlagUpdate[]): UpdateFlagsStatusAction => ({\r\n type: UPDATE_UNDER_DEVELOPMENT_FLAG_STATUSES,\r\n flagUpdates: flagUpdates,\r\n }),\r\n };\r\n\r\n return {\r\n reducer: reducer,\r\n actions: actions,\r\n stateReconciler: stateReconciler,\r\n };\r\n};\r\n","import { forEach } from 'lodash';\r\n\r\nimport * as signalR from '@microsoft/signalr';\r\n\r\nimport { Api } from '@common/api';\r\nimport { CommunicationClient } from '@common/client/CommunicationClient';\r\nimport { voidFunction } from '@common/helper';\r\nimport { UpdateBidEvent } from '@common/model';\r\nimport {\r\n MessageStatusChanged,\r\n NewMessageEvent,\r\n UnreadConversationCountUpdate,\r\n UpdateMessagesStateEvent,\r\n} from '@common/model/Conversation';\r\n\r\nimport { SettingsUpdate } from './SignalRSettings';\r\n\r\ninterface CommunicationConfig {\r\n onNewMessage?: (newMessage: NewMessageEvent) => void;\r\n onUpdatedConversations?: (updatedIds: string[]) => void;\r\n onUpdateConversationCount?: (update: UnreadConversationCountUpdate) => void;\r\n onMessageStatusChange?: (status: MessageStatusChanged) => void;\r\n onUpdateClientStatus?: () => void;\r\n onSettingsUpdate?: (update: SettingsUpdate) => void;\r\n onUpdateMessagesState?: (update: UpdateMessagesStateEvent) => void;\r\n onNewBids?: (update: UpdateBidEvent) => void;\r\n onUpdatedBids?: (update: UpdateBidEvent) => void;\r\n onNewTruckAlert?: () => void;\r\n}\r\n\r\nexport enum TopicCategory {\r\n General = 'general',\r\n Communication = 'communication',\r\n Bidding = 'bidding',\r\n}\r\n\r\nexport type CommunicationStatsUpdate = 'alive' | 'foreground' | 'background' | 'offline';\r\nexport enum CommunicationTopic {\r\n NewMessage = 'NewMessage',\r\n UpdatedConversations = 'UpdatedConversations',\r\n UpdateConversationCount = 'UpdateConversationCount',\r\n MessageStatusChange = 'MessageStatusChange',\r\n UpdateClientStatus = 'UpdateClientStatus',\r\n SettingsUpdate = 'SettingsUpdate',\r\n UpdateMessagesState = 'UpdateMessagesState',\r\n NewBids = 'NewBids',\r\n UpdatedBids = 'UpdatedBids',\r\n TruckAlert = 'TruckAlert',\r\n}\r\n\r\nexport type ConnectedTopics = Record;\r\n\r\nexport const EmptyConnectedTopics: ConnectedTopics = {\r\n [TopicCategory.General]: [],\r\n [TopicCategory.Communication]: [],\r\n [TopicCategory.Bidding]: [],\r\n};\r\n\r\nexport enum ClientType {\r\n iOS = 'ios',\r\n Android = 'android',\r\n Web = 'web',\r\n}\r\n\r\ninterface ConnectedTopic {\r\n name: string;\r\n connect: () => void;\r\n}\r\n\r\n/**\r\n * @FIXME // IMPORTANT NOTE ON DEBUGGING\r\n * This class contains a 'connection' object that is assigned to a signalR Connection\r\n * upon successfully connecting to a signalR socket. When refreshing the connection,\r\n * we tell the existing connection object to \"stop\", and then start a new connection. This\r\n * works well in prod/beta/dev builds, but, if you are running the app in debug mode and you\r\n * have auto-refresh on (or you manually refresh the JS), a new connection will be started\r\n * without the previous one being \"stopped\". This will result in possibly having multiple\r\n * copies of handlers on each topic. For instance, after refreshing once, you might end\r\n * up with 2 copies of the 'new message' handler and see 2 copies of each new message\r\n * appear in your chat screen.\r\n *\r\n * Thus, when developing with debug mode, you should turn off auto-refresh JS, and\r\n * restart the app after each manual JS refresh.\r\n *\r\n * This issue should be addressed at some point, but since it only affects debugging,\r\n * we just have this warning for now.\r\n */\r\nexport class CommunicationService {\r\n client: CommunicationClient;\r\n clientType: ClientType;\r\n minimalLogging: boolean;\r\n constructor(api: Api, clientType: ClientType, minimalLogging: boolean) {\r\n this.client = new CommunicationClient(api);\r\n this.clientType = clientType;\r\n this.minimalLogging = minimalLogging;\r\n }\r\n\r\n private connection: signalR.HubConnection | undefined;\r\n private connectedTopics: Array = [];\r\n private pendingConnectedTopics: Array = [];\r\n isConnectionPermanentlyClosed = false;\r\n recentCauseOfConnectionPermanentlyClosed: string | undefined;\r\n\r\n startListening = async () => {\r\n this.connection?.stop();\r\n if (this.isConnectionPermanentlyClosed) {\r\n this.resetIsConnectionPermanentlyClosed();\r\n this.pendingConnectedTopics = [...this.connectedTopics, ...this.pendingConnectedTopics];\r\n this.connectedTopics = [];\r\n }\r\n const resp = await this.client.negotiate$().toPromise();\r\n if (!resp) {\r\n return;\r\n }\r\n await resp.result(\r\n (data) => {\r\n if (data.url && data.accessToken) {\r\n return this.startConnection(data.url, data.accessToken);\r\n } else {\r\n this.connectionWasPermanentlyClosed('negotiation returned data with undefined url or accessToken');\r\n return voidFunction;\r\n }\r\n },\r\n (apiError) => {\r\n this.connectionWasPermanentlyClosed(`${apiError.title}: ${apiError.message}`);\r\n return Promise.reject();\r\n }\r\n );\r\n };\r\n\r\n startConnection = async (url: string, token: string) => {\r\n this.connection = new signalR.HubConnectionBuilder()\r\n .withUrl(url, {\r\n accessTokenFactory: () => token,\r\n })\r\n .configureLogging(this.minimalLogging ? signalR.LogLevel.Critical : signalR.LogLevel.Information)\r\n .withAutomaticReconnect()\r\n .build();\r\n this.connection.serverTimeoutInMilliseconds = 120000;\r\n this.connection.onclose(this.onConnectionClosed);\r\n await this.connection.start();\r\n forEach(this.pendingConnectedTopics, (topic) => {\r\n topic.connect();\r\n this.connectedTopics.push(topic);\r\n });\r\n this.pendingConnectedTopics = [];\r\n };\r\n\r\n resetIsConnectionPermanentlyClosed = () => {\r\n this.isConnectionPermanentlyClosed = false;\r\n this.recentCauseOfConnectionPermanentlyClosed = undefined;\r\n };\r\n\r\n connectionWasPermanentlyClosed = (cause: string) => {\r\n this.isConnectionPermanentlyClosed = true;\r\n this.recentCauseOfConnectionPermanentlyClosed = cause;\r\n };\r\n\r\n /**\r\n * When signalR gets disconnected permanently (all reconnection attempts have been\r\n * exhausted) this handler is called.\r\n */\r\n onConnectionClosed = (error: Error | undefined) => {\r\n this.connectionWasPermanentlyClosed(\r\n error ? `${error.name}: ${error.message}\\n${error.stack}` : 'connection closed with no error provided'\r\n );\r\n };\r\n\r\n /**\r\n * Connects to an individual topic.\r\n */\r\n connectTo = (topic: string, callback: (value: T) => void) => {\r\n const connectedTopic: ConnectedTopic = {\r\n name: topic,\r\n connect: () => {\r\n this.connection?.on(topic, callback);\r\n },\r\n };\r\n if (!this.isConnected()) {\r\n this.pendingConnectedTopics.push(connectedTopic);\r\n } else {\r\n connectedTopic.connect();\r\n this.connectedTopics.push(connectedTopic);\r\n }\r\n };\r\n\r\n isConnected = () => this.connection?.state === signalR.HubConnectionState.Connected;\r\n\r\n isPermanentlyDisconnected = () => !this.isConnected() && this.isConnectionPermanentlyClosed;\r\n\r\n connectToTopics = (config: CommunicationConfig) => {\r\n const connectedTopics: CommunicationTopic[] = [];\r\n if (config.onNewMessage) {\r\n this.connectTo(CommunicationTopic.NewMessage, config.onNewMessage);\r\n connectedTopics.push(CommunicationTopic.NewMessage);\r\n }\r\n if (config.onUpdatedConversations) {\r\n this.connectTo(CommunicationTopic.UpdatedConversations, (data: any) =>\r\n config.onUpdatedConversations?.(data?.conversationIds || [])\r\n );\r\n connectedTopics.push(CommunicationTopic.UpdatedConversations);\r\n }\r\n\r\n if (config.onUpdateMessagesState) {\r\n this.connectTo(CommunicationTopic.UpdateMessagesState, config.onUpdateMessagesState);\r\n connectedTopics.push(CommunicationTopic.UpdateMessagesState);\r\n }\r\n\r\n if (config.onUpdateConversationCount) {\r\n this.connectTo(CommunicationTopic.UpdateConversationCount, config.onUpdateConversationCount);\r\n connectedTopics.push(CommunicationTopic.UpdateConversationCount);\r\n }\r\n\r\n if (config.onMessageStatusChange) {\r\n this.connectTo(CommunicationTopic.MessageStatusChange, config.onMessageStatusChange);\r\n connectedTopics.push(CommunicationTopic.MessageStatusChange);\r\n }\r\n\r\n if (config.onUpdateClientStatus) {\r\n this.connection?.on(CommunicationTopic.UpdateClientStatus, config.onUpdateClientStatus);\r\n connectedTopics.push(CommunicationTopic.UpdateClientStatus);\r\n }\r\n\r\n if (config.onSettingsUpdate) {\r\n this.connection?.on(CommunicationTopic.SettingsUpdate, config.onSettingsUpdate);\r\n connectedTopics.push(CommunicationTopic.SettingsUpdate);\r\n }\r\n\r\n if (config.onNewBids) {\r\n this.connection?.on(CommunicationTopic.NewBids, config.onNewBids);\r\n connectedTopics.push(CommunicationTopic.NewBids);\r\n }\r\n\r\n if (config.onUpdatedBids) {\r\n this.connection?.on(CommunicationTopic.UpdatedBids, config.onUpdatedBids);\r\n connectedTopics.push(CommunicationTopic.UpdatedBids);\r\n }\r\n\r\n if (config.onNewTruckAlert) {\r\n this.connection?.on(CommunicationTopic.TruckAlert, config.onNewTruckAlert);\r\n connectedTopics.push(CommunicationTopic.TruckAlert);\r\n }\r\n\r\n return connectedTopics;\r\n };\r\n\r\n disconnectFromTopic = (topic: CommunicationTopic) => {\r\n this.connection?.off(topic);\r\n };\r\n\r\n updateClientStatus = (status: CommunicationStatsUpdate) => {\r\n if (this.connection?.state === signalR.HubConnectionState.Connected) {\r\n this.connection?.send('UpdateClientStatus', {\r\n type: this.clientType,\r\n status: status,\r\n });\r\n }\r\n };\r\n\r\n stopListening = () => {\r\n if (\r\n this.connection &&\r\n this.connection?.state !== signalR.HubConnectionState.Disconnected &&\r\n this.connection?.state !== signalR.HubConnectionState.Disconnecting\r\n ) {\r\n this.connection?.stop();\r\n this.pendingConnectedTopics = [];\r\n this.connectedTopics = [];\r\n }\r\n };\r\n}\r\n","import { forEach, includes } from 'lodash';\r\nimport { Action } from 'redux';\r\n\r\nimport { Config, Flag, SystemSettingsMonitoredOnSignalR } from '@common/model/SystemSettings';\r\nimport { getSystemSetting } from '@common/redux/epic/SettingsEpic';\r\nimport { parseValueFrom } from '@common/util/parser/ParserUtils';\r\n\r\nexport interface SettingUpdate {\r\n name: string;\r\n}\r\nexport interface SettingsUpdate {\r\n settings: SettingUpdate[];\r\n}\r\n\r\nexport const mapSettingsUpdateToActions = (update: SettingsUpdate) => {\r\n const actions: Action[] = [];\r\n forEach(update.settings, ({ name }) => {\r\n const systemSetting = parseValueFrom(name, Flag) ?? parseValueFrom(name, Config);\r\n if (systemSetting !== undefined && includes(SystemSettingsMonitoredOnSignalR, systemSetting)) {\r\n actions.push(getSystemSetting(systemSetting));\r\n }\r\n });\r\n return actions;\r\n};\r\n","import { defaultTo, join, toLower } from 'lodash';\r\n\r\nimport { getFlatRateAmount, getPricePerMileRate, stringifyEquipments } from '@common/helper';\r\nimport { Load, LoadSortCategory, Location } from '@common/model';\r\n\r\nimport { Sort } from './Sort';\r\n\r\nclass SortLoad extends Sort {\r\n baseSortCategories = [\r\n LoadSortCategory.PICKUP_DATE,\r\n LoadSortCategory.ORIGIN,\r\n LoadSortCategory.AGE,\r\n LoadSortCategory.ID,\r\n ];\r\n\r\n valueForCategory = (category: string, load: Load, sortAsc: boolean) => {\r\n switch (category) {\r\n case LoadSortCategory.ORIGIN:\r\n return parseLocation(load.originLocation);\r\n case LoadSortCategory.ORIGIN_CITY:\r\n return parseLocationCity(load.originLocation);\r\n case LoadSortCategory.ORIGIN_STATE:\r\n return parseLocationState(load.originLocation);\r\n case LoadSortCategory.ORIGIN_ZIPCODE:\r\n return parseLocationZip(load.originLocation);\r\n case LoadSortCategory.DESTINATION:\r\n return parseLocation(load.destinationLocation);\r\n case LoadSortCategory.DESTINATION_CITY:\r\n return parseLocationCity(load.destinationLocation);\r\n case LoadSortCategory.DESTINATION_STATE:\r\n return parseLocationState(load.destinationLocation);\r\n case LoadSortCategory.DESTINATION_ZIPCODE:\r\n return parseLocationZip(load.destinationLocation);\r\n case LoadSortCategory.DESTINATION_RADIUS:\r\n return load.metadata && load.metadata.userdata && load.metadata.userdata.destinationDeadhead\r\n ? load.metadata.userdata.destinationDeadhead.value\r\n : undefined;\r\n case LoadSortCategory.PICKUP_DATE:\r\n return parseLoadDate(load);\r\n case LoadSortCategory.MESSAGES_SENT:\r\n return parseLoadMessageSent(load);\r\n case LoadSortCategory.EQUIPMENT:\r\n return load.sortEquipCode || parseLoadEquipment(load, sortAsc);\r\n case LoadSortCategory.AGE:\r\n return defaultTo(load.age, 0) - defaultTo(load.fetchedAt, 0);\r\n case LoadSortCategory.ID:\r\n return load.id;\r\n case LoadSortCategory.SIZE:\r\n return load.loadSize;\r\n case LoadSortCategory.LENGTH:\r\n return load.length;\r\n case LoadSortCategory.WEIGHT:\r\n return load.weight;\r\n case LoadSortCategory.COMPANY:\r\n return load.poster ? load.poster.name : undefined;\r\n case LoadSortCategory.ORIGIN_RADIUS:\r\n case LoadSortCategory.DEADHEAD:\r\n return load.metadata && load.metadata.userdata && load.metadata.userdata.originDeadhead\r\n ? load.metadata.userdata.originDeadhead.value\r\n : undefined;\r\n case LoadSortCategory.MILEAGE:\r\n return load.computedMileage;\r\n case LoadSortCategory.AMOUNT:\r\n return getFlatRateAmount(load);\r\n case LoadSortCategory.PRICE_PER_MILE:\r\n return getPricePerMileRate(load);\r\n case LoadSortCategory.CREDIT_RATING:\r\n case LoadSortCategory.DAYS_TO_PAY:\r\n case LoadSortCategory.TRANS_CREDIT_RATING:\r\n case LoadSortCategory.TRANS_CREDIT_DAYS_TO_PAY:\r\n return undefined;\r\n }\r\n return undefined;\r\n };\r\n\r\n categoryIsNumber = (category: string) => {\r\n switch (category) {\r\n case LoadSortCategory.DESTINATION_RADIUS:\r\n case LoadSortCategory.PICKUP_DATE:\r\n case LoadSortCategory.MESSAGES_SENT:\r\n case LoadSortCategory.AGE:\r\n case LoadSortCategory.LENGTH:\r\n case LoadSortCategory.WEIGHT:\r\n case LoadSortCategory.ORIGIN_RADIUS:\r\n case LoadSortCategory.DEADHEAD:\r\n case LoadSortCategory.MILEAGE:\r\n case LoadSortCategory.AMOUNT:\r\n case LoadSortCategory.CREDIT_RATING:\r\n case LoadSortCategory.DAYS_TO_PAY:\r\n case LoadSortCategory.TRANS_CREDIT_RATING:\r\n case LoadSortCategory.TRANS_CREDIT_DAYS_TO_PAY:\r\n case LoadSortCategory.PRICE_PER_MILE:\r\n return true;\r\n }\r\n return false;\r\n };\r\n}\r\n\r\nexport const LoadSort: Sort = new SortLoad();\r\n\r\nfunction parseLocation(location: Location | undefined): string {\r\n let radius = 0;\r\n let city = '';\r\n let state = '';\r\n if (location) {\r\n if (location.radius) {\r\n radius = location.radius;\r\n }\r\n if (location.address) {\r\n city = location.address.city || '';\r\n state = location.address.state || '';\r\n }\r\n }\r\n return `${radius}${city}${state}`;\r\n}\r\n\r\nfunction parseLocationCity(location: Location | undefined): string | undefined {\r\n if (location && location.address && location.address.city) {\r\n return toLower(location.address.city);\r\n } else {\r\n return undefined;\r\n }\r\n}\r\n\r\nfunction parseLocationState(location: Location | undefined): string | undefined {\r\n if (location && location.address && location.address.state) {\r\n return toLower(location.address.state);\r\n } else {\r\n return undefined;\r\n }\r\n}\r\n\r\nfunction parseLocationZip(location: Location | undefined): string | undefined {\r\n if (location && location.address && location.address.zipCode) {\r\n return toLower(location.address.zipCode);\r\n } else {\r\n return undefined;\r\n }\r\n}\r\n\r\nfunction parseLoadDate(load: Load): number | undefined {\r\n if (load.pickupDateTime) {\r\n return new Date(load.pickupDateTime).getTime();\r\n } else {\r\n return undefined;\r\n }\r\n}\r\n\r\nfunction parseLoadMessageSent(load: Load): number {\r\n if (load.metadata && load.metadata.messagesSentCounter) {\r\n return load.metadata.messagesSentCounter;\r\n } else {\r\n return -1;\r\n }\r\n}\r\n\r\nfunction parseLoadEquipment(load: Load, sortAsc: boolean): string | undefined {\r\n if (load.equipments && load.equipments.length > 0) {\r\n const equipmentStr = join(stringifyEquipments(load.equipments), ', ');\r\n if (equipmentStr !== '') {\r\n return equipmentStr;\r\n }\r\n }\r\n if (sortAsc) {\r\n return '\\uFFFF';\r\n } else {\r\n return '';\r\n }\r\n}\r\n","import { concat, curry, filter, map, reduce, slice } from 'lodash';\r\n\r\nimport { Load, LoadSearchSort, LoadSortCategory, LoadSortDirection, LoadStatus } from '@common/model';\r\nimport { LoadSort } from '@common/sort';\r\nimport { SortCategory, SortOrder } from '@common/sort/Sort';\r\n\r\n//============================================================================\r\n// Notes on Load Merging\r\n//----------------------------------------------------------------------------\r\n//\r\n// Due to potential sort inconsistencies between the server and client (due to\r\n// float rounding errors), avoid sorting what was already sorted.\r\n//\r\n// API may occasionally return duplicate results, so do not assume perfect data\r\n//\r\n\r\nconst getLoadsMap = (loads: Load[]) =>\r\n reduce(loads, (loadsMap: Record, load) => ({ ...loadsMap, [load.id]: load }), {});\r\n\r\nconst updateLoad = (existingLoad: Load, updatedLoad: Load) =>\r\n updatedLoad.status === LoadStatus.Online\r\n ? updatedLoad\r\n : // deleted loads do not come with any populated fields,\r\n // so DO NOT use them to overwrite existing data\r\n { ...existingLoad, status: updatedLoad.status };\r\n\r\n/**\r\n * Merges existing load list with latest data received from API\r\n * @param currentLoads existing list of loads\r\n * @param refreshedLoads updates to existing loads and new loads to be inserted into currentLoads\r\n * @param nextLoads new loads to be appended to our list (pagination)\r\n */\r\nexport const mergeLoadLists = (\r\n currentLoads: Load[] = [],\r\n refreshedLoads: Load[] = [],\r\n nextLoads: Load[] = [],\r\n sortOrder: LoadSearchSort[] = []\r\n): Load[] => {\r\n const refreshedLoadsWithAutoRefreshFlag = map(refreshedLoads, (load) => ({ ...load, isFromAutorefresh: true }));\r\n const refreshedLoadsMap = getLoadsMap(refreshedLoadsWithAutoRefreshFlag);\r\n const nextLoadsMap = getLoadsMap(nextLoads);\r\n\r\n // Iterate through the existing loads list and grab updated load data for each existing load\r\n // from refreshedLoads or nextLoads -- if found.\r\n // To avoid duplication, if updated load data is found in refreshedLoads or nextLoads,\r\n // remove the load from refreshedLoads/nextLoads after overwriting existing load (i.e. always\r\n // prefer a load's pre-existing index in the list)\r\n const { currentLoadsRefreshed, refreshedLoadsToInsert, loadsToAppend } = reduce(\r\n currentLoads,\r\n (acc, existingLoad) => {\r\n const currentLoadsRefreshed = acc.currentLoadsRefreshed;\r\n let refreshedLoadsToInsert = acc.refreshedLoadsToInsert;\r\n let loadsToAppend = acc.loadsToAppend;\r\n\r\n let updatedLoad: Load | undefined = undefined;\r\n\r\n const matchingRefreshedLoad = refreshedLoadsMap[existingLoad.id];\r\n if (matchingRefreshedLoad) {\r\n updatedLoad = updateLoad(existingLoad, matchingRefreshedLoad);\r\n refreshedLoadsToInsert = filter(refreshedLoadsToInsert, (load) => load.id !== existingLoad.id);\r\n }\r\n\r\n const matchingNewLoad = nextLoadsMap[existingLoad.id];\r\n if (matchingNewLoad) {\r\n updatedLoad = updateLoad(existingLoad, matchingNewLoad);\r\n loadsToAppend = filter(loadsToAppend, (load) => load.id !== existingLoad.id);\r\n }\r\n\r\n currentLoadsRefreshed.push(updatedLoad ?? existingLoad);\r\n\r\n return {\r\n currentLoadsRefreshed: currentLoadsRefreshed,\r\n refreshedLoadsToInsert: refreshedLoadsToInsert,\r\n loadsToAppend: loadsToAppend,\r\n };\r\n },\r\n {\r\n currentLoadsRefreshed: [] as Load[],\r\n refreshedLoadsToInsert: refreshedLoadsWithAutoRefreshFlag,\r\n loadsToAppend: nextLoads,\r\n }\r\n );\r\n\r\n // Remove any \"new\" refreshed loads that aren't Online (theoretically there should only\r\n // be Online loads in refreshedLoadsToInsert -- this is a safety check to avoid crashes)\r\n const loadsToInsert = filter(refreshedLoadsToInsert, (load) => load.status === LoadStatus.Online);\r\n\r\n const categories = map(\r\n sortOrder,\r\n (sort): SortCategory => ({\r\n category: sort.field,\r\n order: sort.direction === LoadSortDirection.Asc ? SortOrder.ASC : SortOrder.DESC,\r\n })\r\n );\r\n\r\n // Directly append loads from pagination to the existing list (prefer API's sorting as much as possible)\r\n // But insert auto-refresh loads into the list following the given sorting option (we have no other choice)\r\n return mergeSortedArrays(\r\n [...currentLoadsRefreshed, ...loadsToAppend],\r\n loadsToInsert,\r\n curry(LoadSort.compare)(categories)\r\n );\r\n};\r\n\r\n/** Merge two sorted arrays using the O(n) merge algorithm. Returns a new array instance.\r\n *\r\n * @param compare returns -1 if item1 is smaller than item2, 1 if item1 is bigger than item2 and 0 if equals\r\n */\r\nexport const mergeSortedArrays = (\r\n list1: T[] = [],\r\n list2: T[] = [],\r\n compare: (item1: T, item2: T) => number\r\n): T[] => {\r\n let index1 = 0;\r\n let index2 = 0;\r\n\r\n const list: T[] = [];\r\n\r\n while (index1 < list1.length && index2 < list2.length) {\r\n if (compare(list1[index1], list2[index2]) <= 0) {\r\n list.push(list1[index1]);\r\n index1 += 1;\r\n } else {\r\n list.push(list2[index2]);\r\n index2 += 1;\r\n }\r\n }\r\n\r\n return concat(list, slice(list1, index1), slice(list2, index2));\r\n};\r\n","import { gt, map, toLower, union } from 'lodash';\r\n\r\nexport enum SortOrder {\r\n ASC = 'asc',\r\n DESC = 'desc',\r\n}\r\n\r\nexport interface SortCategory {\r\n category: T;\r\n order: SortOrder;\r\n}\r\n\r\nexport function direction(sortAsc: boolean): string {\r\n if (sortAsc) {\r\n return SortOrder.ASC;\r\n } else {\r\n return SortOrder.DESC;\r\n }\r\n}\r\n\r\nexport abstract class Sort {\r\n abstract baseSortCategories: U[];\r\n\r\n sort = (list: T[], isSortAsc: boolean, category: U) => {\r\n const sortCategories: Array> = map(union([category], this.baseSortCategories), (categoryType) => ({\r\n category: categoryType,\r\n order: isSortAsc ? SortOrder.ASC : SortOrder.DESC,\r\n }));\r\n return this.sortMultiple(list, sortCategories);\r\n };\r\n\r\n compare = (sortingCategories: Array>, value1: T, value2: T): number => {\r\n for (const category of sortingCategories) {\r\n const result = this.compareValue(value1, value2, category.category, category.order === SortOrder.ASC);\r\n if (result !== 0) {\r\n return result;\r\n }\r\n }\r\n\r\n return 0;\r\n };\r\n\r\n sortMultiple = (list: T[], categories: Array>) => {\r\n const sortedList = [...list].sort((obj1: T, obj2: T) => {\r\n return this.compare(categories, obj1, obj2);\r\n });\r\n return sortedList;\r\n };\r\n\r\n // Can't be an arrow function due to JS restrictions (defaults to prototype)\r\n protected compareValue(obj1: T, obj2: T, category: U, isSortAsc: boolean) {\r\n if (this.categoryIsNumber(category)) {\r\n const value1 = this.normalizeNumberValue(this.valueForCategory(category, obj1, isSortAsc) as number, isSortAsc);\r\n const value2 = this.normalizeNumberValue(this.valueForCategory(category, obj2, isSortAsc) as number, isSortAsc);\r\n return isSortAsc ? value1 - value2 : value2 - value1;\r\n } else {\r\n const value1 = this.normalizeStringValue(this.valueForCategory(category, obj1, isSortAsc) as string);\r\n const value2 = this.normalizeStringValue(this.valueForCategory(category, obj2, isSortAsc) as string);\r\n\r\n if (value1 === value2) {\r\n return 0;\r\n }\r\n const cmp = gt(value1, value2) ? 1 : -1;\r\n\r\n return isSortAsc ? cmp : -cmp;\r\n }\r\n }\r\n\r\n /** This only works for number types */\r\n protected handleUndefinedReturn = (isSortAsc: boolean) => {\r\n if (isSortAsc) {\r\n return Number.MAX_SAFE_INTEGER;\r\n } else {\r\n return Number.MIN_SAFE_INTEGER;\r\n }\r\n };\r\n\r\n protected normalizeNumberValue = (value: number | undefined, isSortAsc: boolean) => {\r\n return value === undefined ? this.handleUndefinedReturn(isSortAsc) : value;\r\n };\r\n\r\n protected normalizeStringValue = (value: string | undefined) => {\r\n // lodash's toLower() converts undefined values to empty strings\r\n return toLower(value);\r\n };\r\n\r\n protected abstract valueForCategory: (category: U, value: T, sortAsc: boolean) => string | number | undefined;\r\n protected abstract categoryIsNumber: (category: U) => boolean;\r\n}\r\n","import { concat, includes } from 'lodash';\r\n\r\nimport { FMCSAAuthorityStatus, Truck, TruckTableItem } from '@common/model';\r\n\r\nimport { Sort } from './Sort';\r\n\r\nexport interface Matches {\r\n truckList: Truck[];\r\n anonymousList: Truck[];\r\n nonList: Truck[];\r\n}\r\n\r\nexport interface FilteredMatches extends Matches {\r\n filteredList: Truck[];\r\n}\r\n\r\nexport interface TruckItemMatches {\r\n anonymousMatches: TruckTableItem[];\r\n exactMatches: TruckTableItem[];\r\n nonMatches: TruckTableItem[];\r\n filteredOutMatches: TruckTableItem[];\r\n}\r\n\r\nexport interface TruckFilters {\r\n radius: number;\r\n favorite: boolean;\r\n onboarded: boolean;\r\n gpsVerified: boolean;\r\n activeAuthority: boolean;\r\n}\r\n\r\nexport enum TruckSortCategories {\r\n AGE = 'age',\r\n COMPANY = 'companyName',\r\n RATING = 'rating',\r\n DEADHEAD = 'deadhead',\r\n EQUIPMENT = 'equipmentTypes',\r\n SIZE = 'size',\r\n AVAILABLE_CAPACITY = 'availableCapacity',\r\n AVAILABILITY = 'availableDates',\r\n ALERT_SENT = 'alertSent',\r\n AMOUNT = 'amount',\r\n}\r\n\r\nclass SortTruck extends Sort {\r\n baseSortCategories = [TruckSortCategories.AVAILABILITY, TruckSortCategories.DEADHEAD, TruckSortCategories.ALERT_SENT];\r\n\r\n valueForCategory = (category: string, item: TruckTableItem, sortAsc: boolean) => {\r\n switch (category) {\r\n case TruckSortCategories.AVAILABILITY:\r\n return this.parseTruckDate(item.truck, sortAsc);\r\n case TruckSortCategories.DEADHEAD:\r\n return this.parseTruckDeadhead(item.truck, sortAsc);\r\n case TruckSortCategories.RATING:\r\n return item.truck[TruckSortCategories.RATING]?.starRating;\r\n default:\r\n return (item.truck as any)[category];\r\n }\r\n };\r\n\r\n categoryIsNumber = (category: string) => {\r\n switch (category) {\r\n case TruckSortCategories.AVAILABILITY:\r\n case TruckSortCategories.DEADHEAD:\r\n case TruckSortCategories.ALERT_SENT:\r\n case TruckSortCategories.AMOUNT:\r\n case TruckSortCategories.RATING:\r\n case TruckSortCategories.AGE:\r\n return true;\r\n }\r\n return false;\r\n };\r\n\r\n private parseTruckDate = (truck: Truck, isSortAsc: boolean): number | undefined => {\r\n if (truck.availableDates && truck.availableDates.length > 0) {\r\n return new Date(truck.availableDates[0]).getTime();\r\n } else {\r\n return this.handleUndefinedReturn(isSortAsc);\r\n }\r\n };\r\n\r\n private parseTruckDeadhead = (truck: Truck, isSortAsc: boolean): number | undefined => {\r\n if (truck.deadhead !== undefined) {\r\n return truck.deadhead;\r\n } else {\r\n return this.handleUndefinedReturn(isSortAsc);\r\n }\r\n };\r\n}\r\n\r\nconst TruckItemSort: Sort = new SortTruck();\r\n\r\nexport const sortTruckMatches = (\r\n list: TruckItemMatches,\r\n isSortAsc: boolean,\r\n category: TruckSortCategories\r\n): TruckItemMatches => ({\r\n exactMatches: TruckItemSort.sort(list.exactMatches, isSortAsc, category),\r\n anonymousMatches: TruckItemSort.sort(list.anonymousMatches, isSortAsc, category),\r\n nonMatches: TruckItemSort.sort(list.nonMatches, isSortAsc, category),\r\n filteredOutMatches: TruckItemSort.sort(list.filteredOutMatches, isSortAsc, category),\r\n});\r\n\r\nconst filterTrucks = (\r\n trucks: Truck[],\r\n filters: TruckFilters,\r\n onboardedCarriersDotNumbersList: string[]\r\n): {\r\n unfilteredTrucks: Truck[];\r\n filteredTrucks: Truck[];\r\n filteredAnonymousTrucks: Truck[];\r\n unfilteredAnonymousTrucks: Truck[];\r\n} => {\r\n const unfilteredTrucks = new Array();\r\n const filteredTrucks = new Array();\r\n const unfilteredAnonymousTrucks = new Array();\r\n const filteredAnonymousTrucks = new Array();\r\n for (const truck of trucks) {\r\n if (\r\n truck.matchResult.withinRadius &&\r\n (!filters.favorite || truck.isFavoriteCarrier) &&\r\n (!filters.onboarded || includes(onboardedCarriersDotNumbersList, truck.dotNumber)) &&\r\n (!filters.gpsVerified || truck.truckAvailabilityTypeId === 2) &&\r\n (!filters.activeAuthority ||\r\n truck.commonAuthorityStatus === FMCSAAuthorityStatus.Active ||\r\n truck.contractAuthorityStatus === FMCSAAuthorityStatus.Active)\r\n ) {\r\n if (truck.anonymous) {\r\n unfilteredAnonymousTrucks.push(truck);\r\n } else {\r\n unfilteredTrucks.push(truck);\r\n }\r\n } else {\r\n if (truck.anonymous) {\r\n filteredAnonymousTrucks.push(truck);\r\n } else {\r\n filteredTrucks.push(truck);\r\n }\r\n }\r\n }\r\n return {\r\n unfilteredTrucks: unfilteredTrucks,\r\n filteredTrucks: filteredTrucks,\r\n filteredAnonymousTrucks: filteredAnonymousTrucks,\r\n unfilteredAnonymousTrucks: unfilteredAnonymousTrucks,\r\n };\r\n};\r\n\r\nexport const filterTruckMatches = (\r\n matches: Matches,\r\n filters: TruckFilters,\r\n onboardedCarriersDotNumbersList: string[]\r\n): FilteredMatches => {\r\n const filtered = filterTrucks(\r\n concat(matches.truckList, matches.anonymousList),\r\n filters,\r\n onboardedCarriersDotNumbersList\r\n );\r\n return {\r\n truckList: filtered.unfilteredTrucks,\r\n anonymousList: filtered.unfilteredAnonymousTrucks,\r\n filteredList: concat(filtered.filteredTrucks, filtered.filteredAnonymousTrucks),\r\n nonList: matches.nonList,\r\n };\r\n};\r\n\r\n// splits the trucks into 4 category: matches, anonymousMatches, nonMatches and filteredMatches\r\nexport const splitTrucks = (trucks: Truck[]): Matches => {\r\n const matches = new Array();\r\n const anonymousMatches = new Array();\r\n const nonMatches = new Array();\r\n\r\n for (const truck of trucks) {\r\n if (truck.id != null && truck.isAvailable) {\r\n if (truck.matchResult.overallMatch) {\r\n if (truck.anonymous) {\r\n anonymousMatches.push(truck);\r\n } else {\r\n matches.push(truck);\r\n }\r\n } else {\r\n nonMatches.push(truck);\r\n }\r\n }\r\n }\r\n return { truckList: matches, anonymousList: anonymousMatches, nonList: nonMatches };\r\n};\r\n","// common english file\r\nexport default {\r\n ok: 'OK',\r\n cancel: 'Cancel',\r\n yes: 'Yes',\r\n no: 'No',\r\n remove: 'Remove',\r\n period: '.',\r\n colon: ':',\r\n bulletPoint: '•',\r\n equals: '=',\r\n hyphon: '-',\r\n feet: 'ft',\r\n lb: 'lb',\r\n lbs: 'lbs',\r\n miles: 'miles',\r\n miles_short: 'mi',\r\n per_miles_short: '/mi',\r\n dollar_sign: '$',\r\n phone_ext: 'ext.',\r\n error: 'Error',\r\n active: 'Active',\r\n warning: 'Warning',\r\n notApplicable: 'N/A',\r\n unknown: 'unknown',\r\n enabled: 'enabled',\r\n disabled: 'disabled',\r\n all: 'All',\r\n any: 'Any',\r\n or: 'Or',\r\n at: 'at',\r\n change: 'Change',\r\n select: 'Select',\r\n create: 'Create',\r\n add: 'Add',\r\n submit: 'Submit',\r\n reSubmit: 'Resubmit',\r\n enter: 'Enter',\r\n getStarted: 'Get started',\r\n update: 'Update',\r\n deactivate: 'Deactivate',\r\n tryAgain: 'Try again',\r\n email: 'Email',\r\n emailSent: 'Email sent',\r\n phone: 'Phone',\r\n loading: 'loading',\r\n noData: 'no data',\r\n new: 'New',\r\n success: 'Success',\r\n continue: 'Continue',\r\n anywhere: 'Anywhere',\r\n filter: 'Filter',\r\n firstName: 'First name',\r\n lastName: 'Last name',\r\n fullName: 'Full name',\r\n verify: 'Verify',\r\n verified: 'Verified',\r\n notVerified: 'Not verified',\r\n password: 'Password',\r\n save: 'Save',\r\n address: 'Address',\r\n address2: 'Address 2',\r\n city: 'City',\r\n stateProvince: 'State/Province',\r\n zip_postal_code: 'Zip/Postal code',\r\n country: 'Country',\r\n dispatcher: 'Dispatcher',\r\n apply: 'Apply',\r\n clear: 'Clear',\r\n clearAll: 'Clear all',\r\n top: 'Top',\r\n setAlert: 'Set alert',\r\n removeAlert: 'Remove alert',\r\n alertOn: 'Alert: On',\r\n alertOff: 'Alert: Off',\r\n Off: 'Off',\r\n On: 'On',\r\n moreFilters: 'More filters',\r\n documents: 'Documents',\r\n manage: 'Manage',\r\n attached: 'Attached',\r\n parameters: 'Parameters',\r\n withDimensions: 'With: {{value}}',\r\n loadsWith: 'Loads with',\r\n removeAll: 'Remove all',\r\n plusSign: '+',\r\n equalitySign: '=',\r\n edit: 'Edit',\r\n delete: 'Delete',\r\n hide: 'Hide',\r\n upload: 'Upload',\r\n mc: 'MC#',\r\n usDot: 'USDOT#',\r\n na: 'N/A',\r\n next: 'Next',\r\n done: 'Done',\r\n feedback: 'Feedback',\r\n day: 'day',\r\n costPerDay: {\r\n title: 'Cost-per-day',\r\n abbreviation: 'CPD',\r\n description:\r\n 'Activating Cost-per-day calculator will let you know quickly whether or not a load is a good value to you.',\r\n calculatorText: 'Cost-per-day calculator',\r\n bannerTitle: 'Cost-per-day calculator',\r\n bannerContent: `The value of a load isn't just about how many miles you drive, it's also about making sure all of your costs are covered (ie. truck costs, business costs, home costs, etc.)`,\r\n cardContentFirst:\r\n 'Your cost-per-day is the sum of your truck and home expenses divided by the number of days you would like to work.',\r\n cardContentSecond: 'In order to be profitable, each working day you will need to make more than:',\r\n cpdAbove: 'above cost per day',\r\n cpdBelow: 'below cost per day',\r\n edit: {\r\n of: '{{current}} of {{max}}',\r\n next: 'Next',\r\n truckExpenses: {\r\n description:\r\n 'Summarize your monthly truck expenses and make sure to include items such as your truck and trailer payments, insurance, maintenance costs, etc.',\r\n descriptionStart: 'Summarize your',\r\n descriptionBold: 'monthly truck expenses',\r\n descriptionEnd:\r\n 'and make sure to include items such as your truck and trailer payments, insurance, maintenance costs, etc.',\r\n disclaimer: '* Fuel cost should not be included as it will be calculated on a load-by-load basis.',\r\n imageAlt: 'Truck image',\r\n input: {\r\n label: 'Truck expenses',\r\n },\r\n },\r\n homeExpenses: {\r\n description:\r\n 'Summarize your monthly home expenses and make sure to include items such as your mortgage or rent, utility costs, car payments, insurance premiums, food costs, etc.',\r\n descriptionStart: 'Summarize your',\r\n descriptionBold: 'monthly home expenses',\r\n descriptionEnd:\r\n 'and make sure to include items such as your mortgage or rent, utility costs, car payments, insurance premiums, food costs, etc.',\r\n imageAlt: 'Home image',\r\n input: {\r\n label: 'Home expenses',\r\n },\r\n },\r\n workDays: {\r\n description: 'Enter the number of days you would like to work each month.',\r\n descriptionStart: 'Enter the',\r\n descriptionBold1: 'number of days',\r\n descriptionMiddle: 'you would like to',\r\n descriptionBold2: 'work each month.',\r\n imageAlt: 'Calendar image',\r\n input: {\r\n label: 'Work days',\r\n errorText: 'number of days',\r\n },\r\n },\r\n loadingHours: {\r\n description: 'Enter the average summary of loading and unloading hours per load.',\r\n input: {\r\n label: 'Loading and unloading hours',\r\n },\r\n },\r\n drivingHours: {\r\n description: 'Enter the daily average amount of driving hours.',\r\n input: {\r\n label: 'Driving hours per day',\r\n errorText: 'driving hours',\r\n },\r\n },\r\n },\r\n card: {\r\n title: 'Cost Per Day Reached',\r\n notAvailable: 'Cost per day n/a - no rate provided',\r\n description:\r\n 'This trip will take approximately {{maxDays}} and accounts for your total profit ({{totalProfit}}) after fuel and other expenses.',\r\n day: 'day',\r\n days: 'days',\r\n edit: 'Edit',\r\n setup: 'Setup',\r\n profitPerDay: 'Profit per day',\r\n profitPerHalfDay: 'Profit per half day',\r\n costPerDay: 'Cost per day',\r\n costPerHalfDay: 'Cost per half day',\r\n profitableLoad: 'Yes, profitable load. ',\r\n footerLoadInfo:\r\n 'To cover your daily costs, the trip rate should be {{tripRate}} ({{tripRatePerMile}}/mi). The base rate for this load is {{postedRate}} ({{postedRatePerMile}}/mile).',\r\n notProfitableload: 'No, not profitable. ',\r\n partialProfitabLeLoad: 'Partial, still a decent load. ',\r\n profitValuePerHalfDay: '{{profit}} profit per half day',\r\n },\r\n },\r\n resetPassword: {\r\n title: 'Reset password',\r\n content: 'Instructions will be emailed to \"{{email}}\"',\r\n button_cancel: 'Cancel',\r\n button_reset: 'Reset password',\r\n toast: {\r\n error: 'There was an error in reseting your password.',\r\n success: 'Instructions for resetting your password have been sent to {{email}}.',\r\n },\r\n },\r\n dates: {\r\n month: 'Month',\r\n year: 'Year',\r\n day: 'Day',\r\n today: 'Today',\r\n yesterday: 'Yesterday',\r\n thisMonth: 'This month',\r\n lastMonth: 'Last month',\r\n older: 'Older',\r\n monthNames: {\r\n january: 'January',\r\n february: 'February',\r\n march: 'March',\r\n april: 'April',\r\n may: 'May',\r\n june: 'June',\r\n july: 'July',\r\n august: 'August',\r\n september: 'September',\r\n october: 'October',\r\n november: 'November',\r\n december: 'December',\r\n },\r\n monthNamesShort: {\r\n january: 'Jan',\r\n february: 'Feb',\r\n march: 'Mar',\r\n april: 'Apr',\r\n may: 'May',\r\n june: 'Jun',\r\n july: 'Jul',\r\n august: 'Aug',\r\n september: 'Sept',\r\n october: 'Oct',\r\n november: 'Nov',\r\n december: 'Dec',\r\n },\r\n dayNames: {\r\n sunday: 'Sun',\r\n monday: 'Mon',\r\n tuesday: 'Tue',\r\n wednesday: 'Wed',\r\n thursday: 'Thu',\r\n friday: 'Fri',\r\n saturday: 'Sat',\r\n },\r\n dayNamesShort: {\r\n sunday: 'Sun',\r\n monday: 'Mon',\r\n tuesday: 'Tue',\r\n wednesday: 'Wed',\r\n thursday: 'Thu',\r\n friday: 'Fri',\r\n saturday: 'Sat',\r\n },\r\n },\r\n tripBuilder: {\r\n tripBuilder: {\r\n createNewTripButton: 'Create new trip',\r\n tripCardHeader01: `{{count}} Load added to this trip`,\r\n tripCardHeader02: `{{count}} Loads added to this trip`,\r\n tripCardTripText: `Trip {{value}} mi`,\r\n planYourTrip: 'Plan your trip',\r\n planTripDescription:\r\n 'Trip builder allows you to plan ahead by building a trip with multiple loads along the way.',\r\n tripSummary: 'Trip Summary',\r\n deadhead: 'Deadhead',\r\n added: 'Added',\r\n available: 'Available',\r\n notAvailable: 'Some added loads are unavailable, please remove them to continue building your trip.',\r\n unavailable: 'Unavailable',\r\n loadUnavailable: 'This load is no longer available, remove it to continue building your trip.',\r\n mapNotAvailable: 'Map is not available for this trip.',\r\n remove: 'Remove',\r\n },\r\n newTrip: {\r\n newTripHeader: 'New trip',\r\n resultLayout: 'Result layout',\r\n loadByLoadLabel: 'Load-by-load',\r\n loadByLoadDescription: 'Build your own trip load-by-load',\r\n entireTripLabel: 'Entire trip',\r\n entireTripDescription: 'Automatically builds an entire trip for you.',\r\n tripParameters: 'Trip parameters',\r\n originPoint: 'Origin point',\r\n destination: 'Destination',\r\n time: 'Time',\r\n pickupTimeHeader: 'Pickup time',\r\n dropoffTimeHeader: 'Drop off time',\r\n date: `Date `,\r\n pickupDateHeader: 'Pickup date',\r\n dropoffDateHeader: 'Drop off date',\r\n excludedStatesOptional: 'Excluded states (optional)',\r\n excludedStates: 'Excluded states',\r\n excludedStatesSubHeader: 'Only select states you do not want to travel to.',\r\n maximumLoadsHeader: 'Maximum loads per trip',\r\n popup: {\r\n popupHeader: 'Result layout',\r\n popupDescription1: 'Load-by-load allows you to build your own trip one load at a time.',\r\n popupDescription2: 'Entire trip automatically builds a trip by selecting loads matching your parameters.',\r\n },\r\n },\r\n },\r\n loadSearch: {\r\n ago: 'ago',\r\n renewed: 'Renewed',\r\n posted: 'Posted',\r\n selectLastRenewed: 'Select last renewed age',\r\n selectLastRenewedInfo: \"Filter by how recently the load's availability was updated\",\r\n withinLastMins: 'Within the last {{value}} minutes',\r\n withinLastOneHour: 'Within the last 1 hour',\r\n withinLastHours: 'Within the last {{value}} hours',\r\n lessThan: 'less than {{value}}',\r\n seeCountLoads: 'See {{count}} loads',\r\n noLoadsAvailable: 'No loads available',\r\n findLoads: '(Find loads)',\r\n tripLength: {\r\n title: 'Trip length',\r\n short_option: 'Short: 0-200 mi',\r\n medium_option: 'Medium: 201-500 mi',\r\n regional_option: 'Regional: 501-1000 mi',\r\n long_option: 'Long: 1001+ mi',\r\n short: 'Short',\r\n regional: 'Regional',\r\n medium: 'Medium',\r\n long: 'Long',\r\n any: 'Any',\r\n custom: 'Custom',\r\n accessibility: {\r\n tripLength: 'Trip length is {{length}}. Press to change length.',\r\n },\r\n },\r\n similarLoads: {\r\n title: 'Similar loads',\r\n subtitle: 'More potential loads available for you.',\r\n },\r\n clearSearchesPopup: {\r\n title: 'Clear searches',\r\n all: 'Clearing all searches will also clear any search alerts you have set.',\r\n withoutAlerts: 'Only searches without search alerts set will be cleared.',\r\n withAlerts: 'Only searches with search alerts set will be cleared.',\r\n buttonLabel: 'Clear',\r\n },\r\n },\r\n load: {\r\n New: 'New',\r\n Load: 'Load',\r\n Alerts: 'Alerts Sent',\r\n Views: 'Load Views',\r\n Views_Count: 'Views: {{count}}',\r\n View: 'View',\r\n Pickup: 'Pickup',\r\n Destination: 'Destination',\r\n Pickup_Date: 'Pickup Date',\r\n Search_Results: 'Search results',\r\n No_Loads: 'No loads found',\r\n No_Matches: 'No matches, check filters',\r\n noMatchesFound: 'No matches found',\r\n Search: 'Search',\r\n Found_Loads: 'Found {{quantity}} matches',\r\n Found_Load: 'Found 1 match',\r\n Filter_Applied: '1 filter applied',\r\n Filters_Applied: '{{quantity}} filters applied',\r\n Matches_after_filtering: '{{quantity}} matches after filtering',\r\n Found_Backhaul_Loads: 'Found {{quantity}} backhaul loads',\r\n Sort_By: 'Sort by',\r\n loadNoLongerAvailable: 'Load no longer available',\r\n View_Details: 'View Details',\r\n Save_Load: 'Save load',\r\n Saved_Load: 'Saved load',\r\n Status_updated: 'Status updated',\r\n Status_not_updated: 'Status is not updated',\r\n Load_is_saved: 'Load is saved',\r\n Load_hidden: 'Load hidden',\r\n Load_unhidden: 'Load unhidden',\r\n Loads_unhidden: 'Loads unhidden',\r\n Load_is_unsaved: 'Load is unsaved',\r\n Loads_are_unsaved: 'Loads are unsaved',\r\n hidePopup: {\r\n title: 'Unhide load',\r\n content: 'To view details for this load, please unhide it.',\r\n },\r\n Share: 'Share',\r\n Print: 'Print',\r\n Hide: 'Hide',\r\n Unhide: 'Unhide',\r\n Bid: 'Bid',\r\n Call: 'Call',\r\n Call_again: 'Call again',\r\n Contacted: 'Contacted',\r\n Trailer: 'Trailer',\r\n More_details: 'More details',\r\n Ref: 'Ref. #',\r\n Item: 'Item',\r\n Qty_Stops: 'Qty/Stops',\r\n Qty: 'Qty',\r\n ExtraStops: 'Extra stops',\r\n Note: 'Note',\r\n PrivateNoteMessage: '*Private notes will only be visible to you. Carriers will not see this note.',\r\n PrivateNote: 'Private note',\r\n Profit_Calculator: 'Profit calculator',\r\n your_profit_from_load: 'Profit {{sign}}${{profit}} ({{secondSign}}${{perMile}}/mi)',\r\n mi_maps_tolls: 'Mileage, maps, and tolls',\r\n Company_Name: 'Company name',\r\n Company_Phone: 'Company phone',\r\n DOT_number: 'DOT #',\r\n MC_number: 'MC #',\r\n Credit_Score: 'Score: {{value}}',\r\n Toll_Cost: '${{value}} toll cost',\r\n shipperMCNotRequired: 'Shipper (MC# not required)',\r\n loadUnavailable: 'Load unavailable',\r\n origToDest: '{{orig}} to {{dest}}',\r\n Popup: {\r\n Destinations: 'Desired destinations',\r\n Multiple: 'Multiple',\r\n Anywhere: 'Anywhere',\r\n AnywhereCA: 'Anywhere in Canada',\r\n AnywhereUS: 'Anywhere in US',\r\n },\r\n anyEquipmentType: 'Any type',\r\n Equipment: 'Equipment',\r\n equipmentType: {\r\n Van: 'Van',\r\n Reefer: 'Reefer',\r\n PowerOnly: 'Power only',\r\n Container: 'Container',\r\n HopperBottom: 'Hopper bottom',\r\n Tanker: 'Tanker',\r\n DoubleDrop: 'Double drop',\r\n Flatbed: 'Flatbed',\r\n AllFlatbed: 'All flatbed',\r\n AllVan: 'All van',\r\n Landoll: 'Landoll',\r\n LowBoy: 'Low boy',\r\n Maxi: 'Maxi',\r\n RemovableGooseneck: 'Removable gooseneck',\r\n StepDeck: 'Step deck',\r\n Auto: 'Auto',\r\n AnimalCarrier: 'Animal carrier',\r\n BoatHauler: 'Boat hauler',\r\n HeavyHaulers: 'Heavy haulers',\r\n MovingVan: 'Moving van',\r\n MiniVan: 'Mini van',\r\n CargoVan: 'Cargo van',\r\n BoxTruck: 'Straight box truck',\r\n Sprinter: 'Sprinter',\r\n DumpTruck: 'Dump truck',\r\n PilotCars: 'Pilot cars',\r\n },\r\n equipmentSpecification: {\r\n None: 'None',\r\n AirRide: 'Air ride',\r\n BlanketWrap: 'Blanket wrap',\r\n BTrain: 'B-Train',\r\n Chains: 'Chains',\r\n Chassis: 'Chassis',\r\n Conestoga: 'Conestoga',\r\n Curtains: 'Curtains',\r\n Double: 'Double',\r\n ETrack: 'E-Track',\r\n Extendable: 'Extendable',\r\n HazMat: 'Hazmat',\r\n HotShot: 'Hot shot',\r\n Insulated: 'Insulated',\r\n Intermodal: 'Intermodal',\r\n LiftGate: 'Lift gate',\r\n LoadRamps: 'Load ramps',\r\n LoadOut: 'Load out',\r\n Moving: 'Moving',\r\n OpenTop: 'Open top',\r\n Oversized: 'Oversized',\r\n PalletExchange: 'Pallet exchange',\r\n PlateTrailer: 'Plate trailer',\r\n SideKit: 'Side kit',\r\n Tarps: 'Tarps',\r\n TeamDriver: 'Team driver',\r\n TempControlled: 'Temp controlled',\r\n Triple: 'Triple',\r\n Vented: 'Vented',\r\n WalkingFloor: 'Walking floor',\r\n All: 'All',\r\n },\r\n Size: 'Size',\r\n Length: 'Length',\r\n Weight: 'Weight',\r\n Distance: 'Distance',\r\n Radius: 'Radius',\r\n Age: 'Age',\r\n equipmentCode: {\r\n All: 'All',\r\n Van: 'V',\r\n Reefer: 'R',\r\n PowerOnly: 'PO',\r\n Container: 'C',\r\n HopperBottom: 'HB',\r\n Tanker: 'T',\r\n DoubleDrop: 'DD',\r\n Flatbed: 'F',\r\n Landoll: 'LA',\r\n LowBoy: 'LB',\r\n Maxi: 'MX',\r\n RemovableGooseneck: 'RG',\r\n StepDeck: 'SD',\r\n Auto: 'Auto',\r\n AnimalCarrier: 'AC',\r\n BoatHauler: 'BH',\r\n HeavyHaulers: 'HH',\r\n MovingVan: 'MV',\r\n MiniVan: 'MiniVan',\r\n CargoVan: 'CV',\r\n BoxTruck: 'SB',\r\n Sprinter: 'Sprinter',\r\n DumpTruck: 'DT',\r\n PilotCars: 'PilotCars',\r\n None: 'None',\r\n },\r\n equipmentSpecificationCode: {\r\n None: 'None',\r\n AirRide: 'A',\r\n BlanketWrap: 'B',\r\n BTrain: 'BT',\r\n Chains: 'CH',\r\n Chassis: 'CS',\r\n Conestoga: 'CO',\r\n Curtains: 'C',\r\n Double: '2',\r\n ETrack: 'ET',\r\n Extendable: 'E',\r\n HazMat: 'Z',\r\n HotShot: 'HS',\r\n Insulated: 'I',\r\n Intermodal: 'N',\r\n LiftGate: 'LG',\r\n LoadRamps: 'LR',\r\n LoadOut: 'LO',\r\n Moving: 'MV',\r\n OpenTop: 'OT',\r\n Oversized: 'O',\r\n PalletExchange: 'X',\r\n PlateTrailer: 'PL',\r\n SideKit: 'S',\r\n Tarps: 'T',\r\n TeamDriver: 'M',\r\n TempControlled: 'TC',\r\n Triple: '3',\r\n Vented: 'V',\r\n WalkingFloor: 'WF',\r\n All: 'All',\r\n },\r\n filter: {\r\n onboardedCompanies: 'Onboarded companies',\r\n companyPreferences: 'Company preferences',\r\n favoriteCompanies: 'Favorite companies',\r\n creditRating: 'Credit rating (Transcredit)',\r\n daysToPay: 'Days-to-pay (Transcredit)',\r\n creditRatingShort: 'Credit rating',\r\n daysToPayShort: 'Days-to-pay',\r\n shipper: 'Shipper',\r\n renewedAge: 'Renewed age',\r\n loadInfo: 'Load info',\r\n postedAge: 'Posted age',\r\n withMessaging: 'With messaging',\r\n withBidding: 'With bidding',\r\n trailerSpecifications: 'Trailer specifications',\r\n commodity: 'Commodity',\r\n postedRate: 'Posted rate',\r\n teamDrivers: 'Team drivers',\r\n loadSize: 'Load size',\r\n tl: 'TL',\r\n ltl: 'LTL',\r\n withWeight: 'With weight',\r\n withLength: 'With length',\r\n distance: 'Distance',\r\n tripLength: 'Trip length',\r\n trailerSpecs: 'Trailer specs',\r\n singleResult: '{{quantity}} result',\r\n totalResult: '{{quantity}} results',\r\n },\r\n },\r\n creditRating: {\r\n selectCreditRating: 'Select credit rating range',\r\n pleaseSelect: 'Please select a range of credit scores from 0 to 100.',\r\n selectDaysToPay: 'Select Days-to-pay range',\r\n pleaseSelectDaysToPay: 'Please select your preferred range of days-to-pay from 0 to 65+.',\r\n },\r\n tripLength: {\r\n pleaseSelectTriplength: 'Please select the trip length',\r\n },\r\n postedAge: {\r\n selectPostedAge: 'Select posted age range',\r\n pleaseSelect: 'Please select the posted age of loads you want to see.',\r\n },\r\n loadDetails: {\r\n loadDocuments: {\r\n title: 'Load documents',\r\n filesAttached: '{{num}} files attached',\r\n oneFileAttached: '1 file attached',\r\n description:\r\n 'Attach rate confirmation, BOL or other documents to this load for your personal reference and/or to send to the poster, Thunder Funding, factoring companies, etc.',\r\n manageDocuments: 'Manage documents',\r\n },\r\n updateStatus: 'Update status',\r\n status: 'Status',\r\n manageDocumentsForThisLoad: 'Manage documents for this load',\r\n rateConfirmationBolEtc: 'Rate confirmation, BOL, etc.',\r\n didYouBook: {\r\n title: 'Did you book this load?',\r\n info: 'If so, click yes, and start uploading your documents.',\r\n },\r\n truckAlert: {\r\n alertSent: 'Alert sent {{time}}',\r\n },\r\n onboarding: {\r\n title: 'Get onboarded',\r\n start: 'Start onboarding',\r\n getOnboarded: {\r\n start: 'Get onboarded with ',\r\n end: ' to increase your chance of booking this load. You may start the onboarding process at any time.',\r\n },\r\n popup: {\r\n title: 'Get onboarded',\r\n message: {\r\n start: 'Continuing will redirect you to a new website to get onboarded with ',\r\n end: '. This will open a new tab where you will continue with the onboarding process.\\n\\nPlease note the terms and conditions on this site may differ from 123Loadboard. 123Loadboard is not responsible for any content on third party websites.',\r\n },\r\n proceed: 'Proceed',\r\n },\r\n },\r\n },\r\n bids: {\r\n title: 'Bids',\r\n titleInteractive: 'Interactive bids',\r\n infoDialog: {\r\n menuOption: 'About bids',\r\n title: 'About Bids',\r\n message: {\r\n vendor:\r\n 'The broker/shipper will respond to your bid via Call, Messaging, or Email. Your bidding history will be available for 2 weeks.',\r\n interactiveOnly:\r\n 'The broker/shipper will respond to your interactive bid here. Load posters will have the option to Accept or Reject your bid offer and may send counteroffers.',\r\n introBothActive: 'Depending on the load, bidding on loads will either be interactive or not:\\n\\nBids: ',\r\n interactiveBothActive:\r\n '\\n\\nInteractive bids: The broker/shipper will respond to your Bid within the “Interactive bids” section of the Bids tool. Load posters will have the option to Accept or Reject your bid offer and may send counteroffers.',\r\n },\r\n },\r\n markAllAsViewed: {\r\n title: 'Mark all bids as viewed',\r\n success: 'All unviewed bids have been marked as viewed.',\r\n failure: 'Failed to mark all unviewed bids as viewed.',\r\n },\r\n status: {\r\n actionRequired: 'Action required',\r\n confirmed: 'Confirmed',\r\n assigned: 'Assigned',\r\n pending: 'Pending',\r\n rejected: 'Rejected',\r\n withdrawn: 'Withdrawn',\r\n unknown: 'Unknown',\r\n accepted: 'Accepted',\r\n },\r\n expirationTime: {\r\n title: 'Expiration time',\r\n label: 'Expiration time *',\r\n message: 'Select expiration time, after which the bid will be automatically withdrawn.',\r\n requiredError: 'Expiration time is required.',\r\n bannerText: 'Bid offer will be withdrawn in',\r\n },\r\n placeBid: {\r\n title: 'Place bid',\r\n message: 'Before you bid, please ensure that you meet these requirements.',\r\n enterBid: 'Enter your bid amount below.',\r\n },\r\n editBid: {\r\n title: 'Edit offer',\r\n message:\r\n 'Previous offer was placed on {{date}} for {{amount}}.\\n\\nIn order to edit this offer, fill in the form below.',\r\n },\r\n placeCounterOffer: {\r\n title: 'Counteroffer',\r\n message:\r\n 'The carrier placed a bid for {{amount}} on {{date}}.\\n\\nYou may submit your counteroffer by filling in the form below.',\r\n messageCarrier:\r\n 'The load poster placed a bid for {{amount}} on {{date}}.\\n\\nYou may submit your counteroffer by filling in the form below.',\r\n },\r\n dotVerification: {\r\n popup: {\r\n title: 'Verify your DOT#',\r\n content: 'Only users with a verified DOT# can place bids.',\r\n button: 'Verify now',\r\n },\r\n },\r\n empty: {\r\n title: 'No bids placed',\r\n message: {\r\n broker: 'When carriers submit bids, they will appear here.',\r\n carrier: 'When you place bids on loads with Interactive Bidding enabled, they will appear here.',\r\n },\r\n },\r\n validation: {\r\n tooLow: 'Flat rate is too low.',\r\n sameValue: 'New offer must be different value than previous offer.',\r\n },\r\n biddingSummary: { title: 'Bidding summary' },\r\n summary: {\r\n title: 'Bid summary',\r\n menu: {\r\n viewLoadDetails: 'View load details',\r\n },\r\n bannerMessage: {\r\n carrier: {\r\n placedBid: 'When your bid has gotten a response, you can accept and confirm your availability.',\r\n confirmed: 'Thank you for confirming your availability.',\r\n assigned: 'For personal reference, this load has been marked as “Assigned” by the load poster.',\r\n },\r\n broker: {\r\n message: 'When carriers bid on this load, you can accept, reject, or provide a counteroffer.',\r\n },\r\n },\r\n otherParty: 'other party',\r\n messages: {\r\n sentOffer: 'Waiting for {{broker}} to accept or reject your {{amount}} bid.',\r\n sentOfferAccepted: '{{broker}} has accepted your {{amount}} bid. Confirm your availability to haul this load.',\r\n sentOfferRejected: '{{broker}} has rejected your {{amount}} offer.',\r\n sentOfferWithdrawn: 'You have withdrawn your {{amount}} offer to {{broker}}',\r\n sentOfferWithdrawnByBroker: '{{broker}} has withdrawn their {{amount}} offer.',\r\n receivedOfferAccepted: 'Waiting for {{broker}} to confirm.',\r\n receivedOfferRejected: 'You have rejected the {{amount}} offer by {{broker}}.',\r\n receivedCounterOffer: '{{broker}} has counteroffered {{amount}}. Please review and respond.',\r\n carrier: {\r\n confirmed: \"You have confirmed your availability to haul {{broker}}'s load for {{amount}}.\",\r\n assigned: '{{broker}} has assigned this load to you for {{amount}}',\r\n },\r\n broker: {\r\n sendConfirmation: 'To complete this booking, please send the Rate Confirmation to this carrier.',\r\n },\r\n accepted: '{{broker}} has accepted your {{amount}} offer.',\r\n },\r\n history: 'History',\r\n },\r\n bidItem: {\r\n titles: {\r\n offer: 'Your Offer',\r\n counterOffer: \"Load poster's counteroffer\",\r\n available: 'Load available',\r\n yourOffer: 'Your Offer',\r\n yourCounteroffer: 'Your counteroffer',\r\n carrierOffer: `Carrier's offer`,\r\n loadPostCounteroffer: 'Load poster counter offer',\r\n },\r\n failedToUpdate: 'Could not load',\r\n actions: {\r\n placeBid: 'Place bid',\r\n confirm: 'Confirm',\r\n accept: 'Accept',\r\n assign: 'Assign',\r\n counter: 'Counteroffer',\r\n reject: 'Reject',\r\n edit: 'Edit',\r\n cancel: 'Cancel',\r\n },\r\n messages: {\r\n sentOffer:\r\n 'Waiting for load poster to respond to your offer.\\n\\nYou may edit your bid if necessary. Editing your bid will cause your previous bid to be withdrawn.\\n\\nIf for any reason you need to cancel this bid offer, please click “Cancel”.',\r\n receivedOffer: 'Please respond to this offer. You may accept, submit a counteroffer, or reject.',\r\n carrier: {\r\n receivedOffer: '{{broker}} has offered {{amount}}. You may accept, submit a counteroffer, or reject.',\r\n available: 'This load is available for you to place a bid.',\r\n sentOfferAccepted:\r\n '{{broker}} has accepted your {{amount}} bid. Confirm your availability to haul this load.',\r\n receivedOfferAccepted:\r\n 'Waiting for the load poster to confirm that the load is still available.\\n\\nIf for any reason you need to cancel this bid offer, please click “Cancel”.',\r\n confirmed: {\r\n part1: 'You will be contacted by the load poster to complete the booking process.',\r\n part2:\r\n 'Note: Loads are time-sensitive, so please respond as quickly as possible. Otherwise, you may not be able to haul this load.',\r\n },\r\n assigned: 'Drive safely!',\r\n },\r\n broker: {\r\n sentCounteroffer:\r\n 'Waiting for the carrier to confirm your counteroffer.\\n\\nYou may edit your counteroffer if necessary. Editing will cause your previous counteroffer to be withdrawn.',\r\n sentOfferAccepted:\r\n 'Your counteroffer was accepted by the carrier. Please confirm that the load is still available.',\r\n receivedOfferAcceptedListCard: 'Waiting for {{otherParty}} to confirm their availability.',\r\n receivedOfferAccepted:\r\n 'Waiting for confirmation from the carrier. Once the carrier has confirmed their availability, you can contact the carrier and complete this booking through your normal procedures.\\n\\nIf for any reason you need to cancel this bid offer, please click “Cancel”.',\r\n confirmed:\r\n 'To complete this booking, contact the carrier through your normal procedures.\\n\\nYou may also send any attachments to this carrier at:',\r\n assigned: 'For your own reference, please check the box when you have received the signed Rate Confirmation.',\r\n },\r\n },\r\n },\r\n buttons: {\r\n view: 'View',\r\n bid: 'Bid',\r\n },\r\n error: {\r\n failedToPlaceBid: 'Failed to place bid',\r\n sendingFailed: 'An error occurred while sending a bid to the company.',\r\n statusUnknown: 'There was an error processing this bid. Updating the app may resolve this issue.',\r\n somethingWentWrong: 'Something went wrong. Please reload the page and try again.',\r\n },\r\n disabled: {\r\n message:\r\n 'Start receiving bids from carriers on your posted loads. Activating bidding will allow you to Accept, Reject, or Counteroffer any bids placed on your loads.\\n\\n Call ',\r\n activate: ' to activate this free feature.',\r\n phoneNumber: '877-875-5301 ex 2',\r\n },\r\n filterMessage: 'Filtering may reduce results',\r\n filterSubtitle: 'Please select to filter your results.',\r\n noMatches: {\r\n title: 'No matches',\r\n subtitle: 'Please refine your filter criteria',\r\n },\r\n },\r\n truck: {\r\n Company: 'Company',\r\n Deadhead_Short: 'Deadhead',\r\n Deadhead_Long: 'Deadhead Miles',\r\n MC_USDOT: 'MC# / USDOT',\r\n Authority: 'Authority (MC#)',\r\n MCS150: 'MCS-150 form date',\r\n MCS150_Popup:\r\n 'MCS-150 form date refers to the last time this carrier modified their business data with the FMCSA. This date is based on the most recently submitted MCS-150 form.',\r\n Carrier_History_Map: 'Areas of operation based on this carrier’s load searches.',\r\n Next_Available: 'Next available',\r\n Carrier: 'Carrier',\r\n Equipment: 'Equipment',\r\n Size: 'Size',\r\n Available_Capacity: 'Available Capacity',\r\n Insurance: 'Insurance (USD)',\r\n Auth_Insurance_Short: 'Auth. insurance',\r\n Auth_Issuance_Short: 'Auth. issuance',\r\n Auth_Insurance_Long: 'Authority insurance',\r\n Auth_Issuance_Long: 'Authority issuance',\r\n Phone_Number: 'Telephone number',\r\n Alert_Sent: 'Alert sent',\r\n desiredRate: 'Desired rate',\r\n Now: 'Today',\r\n spec: {\r\n length: '{{min}} ft - {{max}} ft',\r\n weight: '{{min}} lbs - {{max}} lbs',\r\n small_weight: '{{min}} lb - {{max}} lbs',\r\n },\r\n },\r\n postTruck: {\r\n title: 'Post truck',\r\n postTruckText: 'Post your truck and brokers/shippers will contact you with offers to haul their loads.',\r\n findLoadsLink: 'Find loads',\r\n sectionTitle: 'Posted trucks',\r\n infoDialogContent:\r\n 'Post your truck so brokers and shippers with available loads can contact you with offers to haul their freight.',\r\n truckPost: {\r\n realTimePosts: 'Real-time truck post',\r\n scheduledPosts: 'Scheduled truck posts',\r\n expiredPosts: 'Expired truck posts',\r\n createNewPost: 'Create new post',\r\n },\r\n pcMiler: {\r\n totalTripText: 'Total trip: ',\r\n },\r\n avgRate: {\r\n avgRateText: 'Average rate by rate check: ',\r\n avgRateLabel: '{{value}}/mi',\r\n },\r\n minRate: {\r\n title: 'Desired rate per mile',\r\n inputLabel: '/mile($)',\r\n info: 'If you have a preferred rate-per-mile, you may receive more relevant load alerts sent by brokers and shippers by posting your truck with a desired rate.',\r\n maxError: 'This field cannot be over ${{max}}',\r\n },\r\n additionalInfo: {\r\n title: 'Additional info',\r\n info: 'Enter any additional information or special instructions relating to the load that aren’t covered by the other fields.',\r\n inputLabel: 'Add a note',\r\n previewDescription: 'Additional info from carrier',\r\n },\r\n teamDriven: 'Team driven',\r\n postForm: {\r\n myTuck: 'My truck',\r\n availibleCapacity: 'Available capacity',\r\n post: 'Post truck',\r\n },\r\n AnonymousPost: {\r\n header: 'Anonymous',\r\n years: 'years',\r\n lessThanOneYear: '<1 years',\r\n AnonymousPopup: {\r\n title: 'Post anonymously',\r\n paragraph:\r\n 'Posting your truck anonymously reduces the amount of potentially unwanted calls and gives you the ability to act on the loads you want to haul.',\r\n listTitle: 'The following details will be hidden from brokers and shippers:',\r\n listItemOne: 'your name',\r\n listItemTwo: 'your company name',\r\n listItemThree: 'MC# & DOT#',\r\n listItemFour: 'your phone & email',\r\n },\r\n },\r\n noPostedTrucksScreen: {\r\n realTime: {\r\n title: 'Real-time truck post',\r\n subtitle: 'Create a real-time truck post so you can receive load offers wherever you are.',\r\n goToApp:\r\n 'Real-time truck posting is available on our mobile app only. Download our mobile app and assign this truck to your mobile device to activate Real-time truck posting.',\r\n },\r\n scheduled: {\r\n title: 'Scheduled truck posts',\r\n subtitle:\r\n 'Create a scheduled truck post when you know you’re going to be somewhere and would like to receive load offers ahead of time.',\r\n },\r\n expired: {\r\n title: 'Expired truck posts',\r\n subtitle:\r\n 'Truck posts that are past their posted date will appear here until their dates are changed or they are deleted.',\r\n },\r\n },\r\n myTruck: {\r\n newTruck: 'New truck',\r\n addTruck: 'Add truck',\r\n editTruck: 'Edit truck',\r\n addNewTruck: 'Add new truck',\r\n noTrucksText: 'You currently have no trucks on your account. To begin posting your truck, please add one.',\r\n truckSpacification: 'Truck specifications',\r\n truckName: 'Truck name',\r\n spec: {\r\n cardSpec: '{{length}} lbs, {{weight}} ft',\r\n cardName: '{{type}} ({{name}})',\r\n },\r\n toast: {\r\n updateError: 'There was an error updating your truck specifications',\r\n updateSuccess: 'Truck specifications saved.',\r\n deleteError: 'There was an error deleting your truck',\r\n deleteSuccess: 'Truck deleted.',\r\n savedSuccess: 'Truck was added successfully',\r\n savedError: 'There was an error adding your truck',\r\n nameError: 'Please choose a different name, the truck name you choose is already assigned to another truck.',\r\n },\r\n },\r\n snackBar: {\r\n updated: 'Post updated',\r\n failedToUpdate: 'Post failed to update',\r\n postDeleted: 'Post deleted',\r\n failedToDelete: 'Post failed to delete',\r\n saved: 'Post saved',\r\n failedToSave: 'Post failed to save',\r\n expiredPostsDeleted: 'All expired were deleted successfully',\r\n expiredPostsFailedToDelete: 'Failed to delete expired trucks',\r\n },\r\n popUps: {\r\n truckInUseRealTime: {\r\n title: 'Truck in use',\r\n body1:\r\n 'This truck is already associated with another device. You can create a new truck post that will not affect other devices.',\r\n body2: 'If you post this truck, it will be associated to this device instead.',\r\n button: 'Post',\r\n },\r\n truckInUseDelete: {\r\n title: 'Truck in use',\r\n body: 'This truck has already been posted. Deleting this truck will also delete all postings it is associated with.',\r\n button: 'Delete',\r\n },\r\n deleteTruck: {\r\n title: 'Delete truck',\r\n body: 'Are you sure you would like to delete the selected truck?',\r\n button: 'Delete',\r\n },\r\n deleteTruckPost: {\r\n title: 'Delete truck post',\r\n body: 'Are you sure you want to delete this truck post?',\r\n button: 'Delete',\r\n },\r\n duplicateName: {\r\n title: 'Truck name in use',\r\n body: 'The display name is already associated to one of your trucks. Please choose another name for your truck.',\r\n button: 'Ok',\r\n },\r\n clearAll: {\r\n title: 'Clear all expired posts',\r\n content: 'Are you sure you want to delete all your expired posts?',\r\n },\r\n },\r\n loadDetails: {\r\n action: 'Post truck if you need a backhaul.',\r\n },\r\n alerts: {\r\n sectionTitle: 'Posted truck load alerts',\r\n infoDialogContent:\r\n 'Load alerts about available loads are sent by brokers and shippers when they see your posted truck.',\r\n },\r\n },\r\n infoModal: {\r\n rateCheck: {\r\n title: 'What is rate check?',\r\n subtitle:\r\n 'Rate check provides the average market rate to help compare lane rates before accepting loads and better estimate your load revenues.',\r\n },\r\n pcMiler: {\r\n title: 'What is PC*Miler?',\r\n subtitle:\r\n 'PC*Miler calculates trucking-specific mileage to provide carriers with the most accurate and reliable route data: allowing for better planning and no suprises along the way.',\r\n },\r\n },\r\n loadAlert: {\r\n title: 'Load alerts',\r\n emptyTitle: 'No load alerts',\r\n emptySubtitle: 'To receive alerts, be sure to post your truck.',\r\n alertLoad: 'Load alert',\r\n markUnread: 'Mark as unread',\r\n },\r\n sortByKeys: {\r\n deadheadMiles: 'Deadhead miles',\r\n origin: 'Deadhead',\r\n pickupDate: 'Pickup date',\r\n pickupDateWithDate: 'Date:{{date}}',\r\n distance: 'Trip distance',\r\n rate: 'Trip rate',\r\n pricePerMile: 'Rate per mile',\r\n postedAge: 'Age',\r\n views: 'Views',\r\n weight: 'Weight',\r\n length: 'Length',\r\n mileage: 'Distance',\r\n amount: 'Posted Rate',\r\n rateCheck: 'Rate Check',\r\n company: 'Company name',\r\n creditScore: 'Credit score',\r\n daysToPay: 'Days-to-pay',\r\n trip: 'Trip (mi)',\r\n tripRate: 'Rate ($)',\r\n equipment: 'Equipment',\r\n size: 'Size',\r\n weightLb: 'Weight (lb)',\r\n lengthFt: 'Length (ft)',\r\n ref: 'Ref#',\r\n searchDirectory: {\r\n location: 'Location',\r\n USDOT: 'USDOT#',\r\n MCNO: 'MC#',\r\n phone: 'Phone',\r\n },\r\n },\r\n viewKeys: {\r\n cards: 'Card',\r\n list: 'List',\r\n map: 'Map',\r\n view: 'View: {{value}}',\r\n },\r\n search: {\r\n age: 'Age',\r\n pickUp: 'Pick up',\r\n pickUpLocation: 'Pick up location',\r\n dropOffLocation: 'Drop off location',\r\n trip: 'Trip',\r\n rate: 'Rate',\r\n avgRate: 'Avg. rate',\r\n equip: 'Equip',\r\n size: 'Size',\r\n company: 'Company',\r\n status: 'Status',\r\n ft: 'Ft',\r\n lb: 'Lb',\r\n },\r\n smallTruckLoadsDialog: {\r\n title: 'Small truck loads',\r\n content: 'To find the best results for smaller trucks, we recommend that you select the following equipment types:',\r\n },\r\n time: {\r\n minutes: 'minutes',\r\n oneMinute: '1m',\r\n abbreviation: {\r\n Year: 'y',\r\n Days: 'd',\r\n Hours: 'h',\r\n HoursAlt: 'hr',\r\n Minutes: 'min',\r\n MinutesShort: 'm',\r\n Seconds: 's',\r\n Month: 'mo',\r\n yearAlt: 'yr',\r\n },\r\n },\r\n recentSearch: {\r\n title: 'Recent searches',\r\n },\r\n savedSearches: {\r\n searchSaved: 'Search saved',\r\n savedSearchRemoved: 'Search removed',\r\n alertSaved: 'Alert saved',\r\n alertRemoved: 'Alert removed',\r\n unableToSave: 'Unable to save',\r\n unableToSaveReason: 'Your search could not be saved. Please move the map to another location and try again.',\r\n },\r\n namedSearch: {\r\n deletedSearch: 'Deleted search',\r\n searchDoesNotExist:\r\n 'This search has been deleted in another window or device. Please create a new search to find more loads.',\r\n cardOption: {\r\n view: 'View search results',\r\n alert: 'Turn search alert \"{{action}}\"',\r\n edit: 'Edit search',\r\n delete: 'Delete search',\r\n },\r\n view: {\r\n title: 'Views',\r\n label: 'View: {{view}}',\r\n option: {\r\n all: 'All',\r\n withAlerts: 'With alerts',\r\n withoutAlerts: 'Without alerts',\r\n },\r\n },\r\n form: {\r\n editSearchTitle: 'Edit search',\r\n newSearchTitle: 'New search',\r\n availibleCapacityInfo:\r\n 'Your available capacity is your equipment type and the size of the load you are looking to haul.',\r\n searchNameLabel: 'Name this search',\r\n searchNamePlaceholder: 'Search name (Optional)',\r\n searchNameTitle: 'Search name',\r\n searchNameInfo: 'You can easily manage your searches by giving them custom names.',\r\n },\r\n emptyPanel: {\r\n title: 'Start finding loads',\r\n subtitle: 'This tool allows you to find and book loads to haul.',\r\n },\r\n emptyAlertsPanel: {\r\n subtitle: 'Set search alerts on search results pages.',\r\n subtitleWithoutAlerts: 'You have no searches without alerts.',\r\n viewAll: 'View all',\r\n },\r\n createNewButton: 'Create new search',\r\n searchSaved: 'Search saved',\r\n searchRemoved: 'Search removed',\r\n alertSaved: 'Alert saved',\r\n alertRemoved: 'Alert removed',\r\n saveSearchMessage:\r\n 'Saving your search allows you to quickly find results for lanes you run regularly and can help save time when returning to this page.',\r\n saveSearchPopup: {\r\n title: 'Save search',\r\n content:\r\n \"Don't forget to save your search before leaving this page to quickly see results again when you return.\",\r\n },\r\n },\r\n errors: {\r\n required: 'This field is required',\r\n noSpaces: 'This field cannot contain any spaces',\r\n minLength: 'This field must be at least {{length}} characters',\r\n email: 'Please enter a valid email.',\r\n phone: 'Please enter a valid 10-digit phone number',\r\n state: 'Enter a valid value',\r\n requiredAsciiOnly: 'This field is required (Characters accepted: A-Z, 0-9)',\r\n requiredAsciiAndHyphenOnly: 'This field is required (Accepted: A-Z, 0-9, -, _)',\r\n requiredNumbersOnly: 'This field is required (Characters accepted: 0-9)',\r\n requiredPrice: 'Please enter a valid per mile rate',\r\n lessThanValue: 'Please enter a value under {{value}}',\r\n greaterThanValue: 'Please enter a value greater than {{value}}',\r\n unableToOpen: 'Unable to open {{appName}} app',\r\n notSupported: '{{appName}} app not supported',\r\n empty: 'This field cannot be empty. ',\r\n tooLow: 'Please enter a value greater than {{value}}',\r\n max: 'This field cannot be over {{max}} characters',\r\n mustBeNumber: 'Please enter a valid number',\r\n validDOT: 'Enter a valid DOT #',\r\n mapDataFailed: 'Map data failed to load',\r\n weightErrorLbs: 'Weight must be 132000 pounds or less',\r\n weightErrorKgs: 'Weight must be 59874 kilos or less',\r\n lengthErrorMetric: 'Length must be bigger than 2.44m and less than 21m',\r\n heightErrorMetric: 'Height must be bigger than 1.53m and less than 4.2m',\r\n lengthErrorFeet: 'Length must be between 8-69f',\r\n heightErrorFeet: 'Height must be between 5-14f',\r\n validMC: 'Enter a valid MC #',\r\n invalidPhoneShortError: 'Invalid phone number',\r\n streetNumberError: 'Invalid number',\r\n invalidCardError: 'Invalid card number.',\r\n genericCardError: 'Credit card verification failed. Please review your information and try again.',\r\n invalidExpiry: 'Invalid expiry date.',\r\n invalidSecurityCode: 'Invalid security code.',\r\n avsFailed: 'Address verification failed.',\r\n betweenValues: '{{fieldName}} must be between {{min}}-{{max}}.',\r\n invalidWebProtocol: 'URL must be valid and use https://',\r\n },\r\n rateCheck: {\r\n confirmation: {\r\n payAmount: 'How much do you expect this lane to pay?',\r\n isRateAccurate: 'Is this rate accurate?',\r\n thankYou: 'Thank you for your feedback!',\r\n errorSubmitting: 'Error submitting feedback',\r\n ratePerMile: 'Rate per mile',\r\n },\r\n postTruck: 'Post truck',\r\n legendTitle: 'Average rate check for {{month}}',\r\n },\r\n userRoles: {\r\n premium: 'Premium',\r\n standard: 'Standard',\r\n basic: 'Basic',\r\n member: 'Member',\r\n },\r\n loadProgress: {\r\n loadAvailable: 'Load available',\r\n booked: 'Booked',\r\n scheduledForPickup: 'Scheduled for pickup',\r\n pickupComplete: 'Pickup complete',\r\n loadEnRoute: 'Load en route',\r\n delivered: 'Delivered',\r\n },\r\n loadAlerts: {\r\n limitReached: 'Search alert limit reached',\r\n limitReachedContent: 'There is a maximum of 10 search alerts. Please remove a previous alert to set this one.',\r\n },\r\n loadAvailability: {\r\n foundLoads: 'Found {{quantity}} loads, results may vary',\r\n resultsMayVary: {\r\n title: 'Results may vary',\r\n blockedCompanies: 'blocked companies',\r\n contentBeforeLink:\r\n 'We display loads that are specific to your current profile setup and saved criteria. For example if you ',\r\n contentAfterLink: ', their loads will be hidden from your results and may affect displayed load count.',\r\n },\r\n regionTypes: {\r\n USA: 'USA',\r\n Northeast: 'Northeast',\r\n Midwest: 'Midwest',\r\n South: 'South',\r\n West: 'West',\r\n Plains: 'Plains',\r\n Other: 'Other',\r\n Canada: 'Canada',\r\n US: 'US',\r\n },\r\n },\r\n pcMiler: {\r\n title: 'PC*MILER map',\r\n toll: 'Toll:',\r\n routeInfo: 'Route info',\r\n summaryRoadInfo: {\r\n title: 'Summary road info',\r\n start: 'Start: {{location}}',\r\n end: 'End: {{location}}',\r\n totalDistance: 'Total distance:',\r\n totalDrivingTime: 'Total driving time: {{time}}',\r\n totalTollCost: 'Total toll cost:',\r\n },\r\n routing: {\r\n title: 'PC*Miler routing',\r\n departureFrom: 'Departure from:',\r\n },\r\n iftaReport: 'IFTA report',\r\n stateByStateReport: 'State by state mileage report',\r\n downloadIftaReport: 'Download state mileage report (IFTA)',\r\n iftaReportDownloadWarning: '(An app supporting CSV is required)',\r\n summary: {\r\n start: 'Start: ',\r\n end: 'End: ',\r\n totalDistance: 'Total distance: ',\r\n totalDrivingTime: 'Total driving time: ',\r\n totalTollCost: 'Total toll cost: ',\r\n },\r\n stop: 'Stop {{value}}: ',\r\n extraStops: 'Extra stops: {{value}}',\r\n stops: 'Stops',\r\n arrivalTo: 'Arrival to: ',\r\n },\r\n myLoads: {\r\n loads: 'Loads',\r\n viewed: 'Recently viewed',\r\n hidden: 'Hidden',\r\n potentialLoads: 'Potential loads',\r\n saved: 'Saved',\r\n called: 'Called',\r\n contacted: 'Contacted',\r\n workingLoads: 'Working loads',\r\n booked: 'Booked',\r\n scheduledForPickup: 'Scheduled for pickup',\r\n pickupComplete: 'Pickup complete',\r\n loadEnRoute: 'Load en route',\r\n completedLoads: 'Completed loads',\r\n delivered: 'Delivered',\r\n headerTitles: {\r\n viewedLoads: 'Recently viewed loads',\r\n savedLoads: 'Saved loads',\r\n calledLoads: 'Called loads',\r\n bookedLoads: 'Booked loads',\r\n scheduledLoads: 'Scheduled loads',\r\n pickupLoads: 'Pickup loads',\r\n deliveredLoads: 'Delivered loads',\r\n contactedLoads: 'Contacted loads',\r\n hiddenLoads: 'Hidden loads',\r\n },\r\n emptyResult: {\r\n viewed: {\r\n title: 'No viewed loads',\r\n content: 'Start viewing loads by performing a load search and clicking on a load.',\r\n },\r\n hidden: {\r\n title: 'No hidden loads',\r\n },\r\n saved: {\r\n title: 'No saved loads',\r\n content: 'Start saving loads by clicking the ‘Save Load’ link on the load details page.',\r\n },\r\n called: {\r\n title: 'No called loads',\r\n content: 'Start calling loads by clicking the ‘Call’ button on the load details page.',\r\n },\r\n booked: {\r\n title: 'No booked loads',\r\n },\r\n scheduled: {\r\n title: 'No scheduled loads',\r\n },\r\n picked: {\r\n title: 'No picked up loads',\r\n },\r\n enRoute: {\r\n title: 'No en route loads',\r\n },\r\n delivered: {\r\n title: 'No delivered loads',\r\n },\r\n contacted: {\r\n title: 'No contacted loads',\r\n content: 'Loads will be listed here when you contact a company through the Load details page.',\r\n },\r\n updateStatusContent: 'Update status on the load details page.',\r\n },\r\n deleteDialog: {\r\n title: 'Remove loads',\r\n content: 'Are you sure you want to unsave these loads?',\r\n },\r\n unhideLoads: {\r\n title: 'Unhide loads',\r\n content: 'Are you sure you want to unhide these loads?',\r\n },\r\n deleteFailedDialog: {\r\n title: 'Failed to remove',\r\n content: 'Your loads were unable to be removed.',\r\n },\r\n },\r\n avatar: {\r\n avatarPopupTitle: 'Remove avatar',\r\n avatarPopupContent: 'Are you sure you want to remove your avatar?',\r\n companyAvatarPlaceholderText: 'COMPANY LOGO',\r\n },\r\n myDocuments: {\r\n addNewDocument: 'Add new document',\r\n addNewFolder: 'Add new folder',\r\n select: 'Select',\r\n editFolderName: 'Edit folder name',\r\n deleteFolder: 'Delete folder',\r\n title: 'My documents',\r\n titleShort: 'My docs',\r\n viewLoadDetails: 'View load details',\r\n noDocuments: 'Upload and manage your carrier documents, loads, and other documents securely.',\r\n emptyDocument: {\r\n title: 'Documents',\r\n subTitle: 'Start adding documents to see files here',\r\n },\r\n tryAgain: 'Try Again',\r\n sortBy: 'Sort by',\r\n uploaded: 'Uploaded',\r\n folder: 'Folder',\r\n type: 'Type',\r\n date: 'Date',\r\n filterByFolder: 'Filter by folder',\r\n addDocument: 'Add document',\r\n attachToSendDocument: 'Attach to send',\r\n byDate: 'By date',\r\n alphabetical: 'Alphabetical',\r\n byFolder: 'By folder',\r\n byType: 'By type',\r\n downloading: 'Downloading',\r\n removeAttachment: 'Remove attachment',\r\n sent: 'Sent',\r\n selectFolder: {\r\n title: 'Folders',\r\n sort: {\r\n title: 'Sort by',\r\n name: 'Alphabetical',\r\n lastAccessedOn: 'Date',\r\n hasLoad: 'Source',\r\n },\r\n },\r\n createFolder: {\r\n title: 'Create new folder',\r\n description: 'Use common naming convention when creating folders to easily browse.',\r\n placeholder: 'Enter folder name',\r\n response: {\r\n alreadyExists: {\r\n title: 'Folder already exists',\r\n message: 'A folder with this name already exists. Please enter another name.',\r\n },\r\n success: 'New folder created',\r\n genericError: 'Error creating new folder',\r\n },\r\n },\r\n editFolder: {\r\n title: 'Edit folder',\r\n toast: {\r\n success: 'Folder name was updated successfully',\r\n error: 'Error updating folder name',\r\n successDelete: 'Folder was deleted successfully',\r\n errorDelete: 'Error deleting folder',\r\n },\r\n deleteDialog: {\r\n title: 'Delete folder',\r\n content:\r\n \"Are you sure you want to delete this folder?\\n\\nAny documents in this folder will be moved to the 'Unsorted' folder.\",\r\n contentFromMyLoaDetails: '\\n\\nIf this folder is deleted, you may no longer be able to view Load details.',\r\n loadFolderContent: '\\n\\nThe load associated with the folder will be unbooked.',\r\n },\r\n error: {\r\n title: 'Unable to edit folder name',\r\n message: 'Please try again or come back later.',\r\n },\r\n },\r\n renameDoc: {\r\n rename: 'Rename',\r\n description: 'Use common naming conventions when renaming files to easily browse.',\r\n accesibilityButton: 'Rename file button',\r\n newName: 'New Name',\r\n toast: {\r\n success: 'File name successfully changed',\r\n error: 'Error renaming file',\r\n },\r\n },\r\n updateFolder: {\r\n updating: 'Updating...',\r\n success: 'Document folder updated',\r\n fail: 'Updating folder was not successful',\r\n },\r\n viewDocument: 'View document',\r\n download: {\r\n success: 'Download document success',\r\n failure: 'Download document error',\r\n },\r\n fileNotSupported: {\r\n title: 'Preview not available',\r\n subTitle: 'A preview is not available for files with the extension ({{extension}}).',\r\n subTitleDownloadOnly:\r\n 'The file type ({{extension}}) you are trying to view is no longer supported. \\n\\n To download this file, click on the ‘more actions’ icon.',\r\n },\r\n documentError: {\r\n title: 'Document error',\r\n subTitle: 'Preview is not available, the document is corrupted.',\r\n },\r\n documentTypes: {\r\n certificateOfInsurance: 'Certificate of Insurance',\r\n w9: 'W-9',\r\n },\r\n addBottomSheet: {\r\n newDocument: 'New document',\r\n scanDocument: 'Scan document',\r\n uploadPhoto: 'Upload photo',\r\n uploadFile: 'Upload file',\r\n },\r\n documentActionSheet: {\r\n title: 'Document type: {{- documentType}}',\r\n send: 'Attach to send',\r\n select: 'Select',\r\n view: 'View',\r\n rename: 'Rename',\r\n renameDocument: 'Rename document',\r\n changeFolder: 'Change folder',\r\n changeType: 'Change type',\r\n download: 'Download',\r\n downloadDocument: 'Download document',\r\n delete: 'Delete',\r\n deleteDocument: 'Delete document',\r\n },\r\n documentCapture: {\r\n title: 'New document',\r\n backPopup: {\r\n title: 'Save',\r\n message: 'Your document is not saved. Would you like to save this document?',\r\n },\r\n deletePopup: {\r\n title: 'Delete',\r\n message: 'Are you sure you want to delete the selected files?',\r\n },\r\n errorOnSave: 'The file could not be saved. Please try again.',\r\n saveInProgress: 'Generating your document, please wait.',\r\n },\r\n toast: {\r\n deleteSuccess: 'Document deleted',\r\n deleteError: 'Error in deleting document',\r\n filePickerError: 'Something went wrong with the file picker',\r\n fileTooBigError: 'File must be less than 10Mb',\r\n },\r\n deleteDialog: {\r\n title: 'Delete document',\r\n content: 'Are you sure you want to delete this document?',\r\n },\r\n viewTypeOptions: {\r\n folders: 'Folders',\r\n dates: 'Dates',\r\n types: 'Types',\r\n },\r\n error: {\r\n sendDocuments: 'Error sending documents',\r\n sendDocumentSubtitle: 'Our system encountered an error while sending the documents.',\r\n createDocument: 'Failed to create document',\r\n createDocumentSubtitle:\r\n 'An error occurred and your document was not able to be created. Please try again later or choose a different file(s)',\r\n invalidCharactersDocumentSubtitle:\r\n 'An error occurred and your document was not able to be created. File Name should only contain alphanumeric characters.',\r\n renameDocument: 'Failed to rename document',\r\n renameDocumentSubtitle: 'An error occurred and your document was not able to be renamed. Please try again later.',\r\n downloadDocument: 'Download failed',\r\n downloadDocumentSubtitle: 'Please try again or come back later',\r\n invalidImageTypePopUpTitle: 'Upload failed',\r\n invalidImageTypePopUpContent:\r\n 'The file you have selected failed to upload. Please try again or choose another file.',\r\n couldNotRetrievePhoto: 'Sorry, there was an error receiving your selected photo.',\r\n },\r\n createDocument: {\r\n newDocument: 'New document',\r\n title: 'To create a document, enter a name, choose a desired folder, and file type.',\r\n buttonTitle: 'Create document',\r\n types: 'Types',\r\n form: {\r\n name: 'Enter document name',\r\n nameSelected: 'Document name',\r\n folderName: 'Folder name',\r\n folder: 'Select folder',\r\n folderSelected: 'Folder',\r\n type: 'Select type',\r\n typeSelected: 'Type',\r\n },\r\n toast: {\r\n success: 'Upload was successful',\r\n error: 'Error uploading',\r\n successUpdate: 'Update was successful',\r\n errorUpdate: 'Error updating',\r\n invalid: 'Invalid file type selected ',\r\n },\r\n cancelUpload: {\r\n title: 'Are you sure you want to cancel?',\r\n content: 'Leaving this page while the upload is in progress will cancel it',\r\n confirm: 'Leave',\r\n dismiss: 'Stay',\r\n },\r\n fileTypeError: {\r\n title: 'File type error',\r\n subTitle:\r\n 'The file uploader only accepts the following file types: {{fileTypes}}. \\n\\n Please select a valid file and try again.',\r\n },\r\n mimeTypeError: {\r\n title: 'Upload failed',\r\n subTitle:\r\n 'We weren’t able to process this file. Please select a different file or use our document scanner to upload another copy of this document.',\r\n buttonTitle: 'Go back',\r\n screenTitle: 'Error',\r\n },\r\n },\r\n sendDocuments: {\r\n description: 'You may send attached documents to any recipient.',\r\n emptyList: 'No attached files',\r\n attachedFiles: 'Attached files',\r\n send: 'Send',\r\n title: 'Send documents',\r\n disclaimer: 'Complete the form below to send your operating documents by fax or email at no charge.',\r\n documentsTitle: 'Documents to send',\r\n documentsSelected_plural: '{{count}} documents selected',\r\n sendTo: 'Send to:',\r\n recipient: 'Recipient',\r\n recipientPlaceholder: 'Recipient name',\r\n accountManager: 'Account Manager',\r\n company: 'Company name',\r\n companyPlaceholder: 'Company name',\r\n sendByEmail: 'Send by email',\r\n emailTitle: 'Email',\r\n emailPlaceholder: 'Email address',\r\n sendByFax: 'Send by fax',\r\n faxTitle: 'Recipient fax',\r\n faxPlaceholder: 'Fax #',\r\n fax: 'Fax',\r\n thunderFunding: 'Thunder Funding',\r\n getPaidFaster: 'Get paid faster',\r\n other: 'Other',\r\n sentDocumentsMessage: 'Your documents have been successfully sent',\r\n attachFiles: 'Attach files',\r\n toast: {\r\n updateError: 'There was an error sending your documents',\r\n updateSuccess: 'Documents sent',\r\n },\r\n error: {\r\n emailFaxEmpty: 'An email address or fax number is required',\r\n },\r\n accessibility: {\r\n continueToMainPage: 'Go back to My Documents Page',\r\n },\r\n button: {\r\n continue: 'Continue',\r\n },\r\n banner: {\r\n noDocuments: {\r\n title: 'No documents attached',\r\n content: 'Please attach 1 or more documents you would like to send.',\r\n },\r\n limitExceeded: {\r\n title: 'Attachment limit exceeded',\r\n content: 'Too many files selected. Please remove some of these files and send them separately.',\r\n },\r\n },\r\n },\r\n },\r\n conversations: {\r\n title123Connect: '123Connect',\r\n title: 'Messages',\r\n typeHereBox: 'Type here',\r\n button: 'Message',\r\n buttonMessageAgain: 'Message again',\r\n newConversation: {\r\n mainMessage:\r\n 'Start your conversation with this company by asking some questions about this load or about their onboarding procedures. \\n\\nWe will automatically share the following information with your message:\\n',\r\n sharedName: 'your name',\r\n sharedCompany: 'your company name',\r\n sharedMC: 'MC# & DOT#',\r\n sharedPhoneEmail: 'your phone & email',\r\n noLoadMessage: 'Start your conversation by typing in the text box below.',\r\n },\r\n empty: {\r\n title: 'No messages',\r\n unreadTitle: 'No unread messages',\r\n viewAllMessages: 'View all messages',\r\n unreadSubtitle: 'Messages that you have not read appear here.',\r\n subtitleCarrier_part1:\r\n '123Connect helps you contact brokers faster and easier than ever - before you even need to pick up the phone!',\r\n subtitleCarrier_part2:\r\n 'You can start a conversation through Load Details when the Message button is available next to the Call button.',\r\n subtitleCarrier_part3: 'After you start a conversation, new messages will appear here.',\r\n\r\n subtitleBroker: 'Messages will appear here when a Carrier begins a conversation about one of your loads.',\r\n },\r\n unavailable: {\r\n title: 'Conversation unavailable',\r\n subtitle: 'Sorry for the inconvenience, the conversation you attempted to open is no longer available.',\r\n },\r\n attachmentsDialog: {\r\n title: 'Attachment(s)',\r\n options: {\r\n select: 'My documents',\r\n add: 'Add new document',\r\n },\r\n },\r\n viewAttachment: {\r\n error: 'Sorry, there was an error opening this attachment.',\r\n },\r\n sendAttachments: {\r\n pickerTitle: 'Select attachments',\r\n messageTitle: 'Message',\r\n messagePlaceholder: 'Add message',\r\n sendAttachmentsTitle: 'Send attachments',\r\n error: 'Sorry, there was an error sending your attachments.',\r\n },\r\n status: {\r\n lastOnline: ' • Last online {{offlineTime}} ago',\r\n },\r\n filter: {\r\n all: 'All',\r\n unread: 'Unread',\r\n },\r\n chip: {\r\n loadDetails: 'Load details',\r\n contactInfo: 'Load contact',\r\n online: 'Online',\r\n offline: 'Offline',\r\n locateLoad: 'Locate load',\r\n },\r\n contactInfo: {\r\n title: 'Load contact',\r\n agent: 'Agent',\r\n carrier: 'Carrier',\r\n phoneNumber: 'Phone',\r\n authorityList: 'Authority(MC#)',\r\n powerUnits: 'Power units',\r\n usCanInspections: 'US/CAN inspections in the last 24 months',\r\n authorityTypes: {\r\n common: 'Common',\r\n contract: 'Contract',\r\n broker: 'Broker',\r\n },\r\n authorityBroker: 'Authority',\r\n authIssuance: 'Auth. issuance',\r\n mc: 'MC#',\r\n usDot: 'DOT#',\r\n moreDetails: 'More details',\r\n company: 'Company',\r\n broker: {\r\n authority: 'Authority',\r\n },\r\n cityState: 'City/State',\r\n loadContact: 'Contact info',\r\n loadPoster: 'Load poster info',\r\n showPhone: 'Show number',\r\n carrierInfo: 'Carrier contact info',\r\n },\r\n notificationBanner: {\r\n content: 'Notifications turned off',\r\n activate: 'Activate',\r\n deniedPopupTitle: 'Push notifications disabled',\r\n deniedPopupContent: {\r\n part1: 'Please allow for push notifications in your ',\r\n part2: 'browser settings',\r\n part3: '. 123Loadboard uses notifications to send alerts and communications.',\r\n },\r\n },\r\n disabled: {\r\n broker: {\r\n title: '123Connect',\r\n intro:\r\n 'Keep communicating with Carriers using the tools and methods you prefer and never lose communication or miss a message with ',\r\n reason1: 'Adapts to your current communication methods.',\r\n reason2: 'Exchange communications in real-time.',\r\n reason3: 'Respond faster and do more in less time.',\r\n subtitle:\r\n 'Start communicating directly with Carriers about the loads you post. This allows you to quickly respond to multiple carriers easily and efficiently.',\r\n callText: 'Call {{number}} ext. 2 to activate this free feature.',\r\n },\r\n wholeFeature: {\r\n title: 'Messages Not Available',\r\n subtitle: 'This feature is not currently available.',\r\n },\r\n },\r\n errorSendingMessage: 'There was an error sending your message. Please try again.',\r\n userHasMessagingDisabled: 'Sending messages is not available for this conversation.',\r\n userOfflineMessage:\r\n 'Messages will be delivered via email if they are unread for more than 1 minute. Please call if the issue is urgent.',\r\n markAllAsRead: {\r\n title: 'Mark all messages as read',\r\n success: 'All unread messages have been marked as read.',\r\n failure: 'Failed to mark all unread messages as read.',\r\n },\r\n locationRequest: {\r\n confirmation: {\r\n title: 'Current location',\r\n content: 'Confirming will send your current location into this conversation.',\r\n },\r\n sent: 'Location sent',\r\n failed: 'Request failed',\r\n },\r\n },\r\n vendorBid: {\r\n bid: 'Bid',\r\n bidSent: 'Bid sent',\r\n placeBid: {\r\n bidHeader: 'Before you bid, please ensure that you meet these requirements.',\r\n title: 'Place bid',\r\n information: 'In order to submit this bid, fill in the form below.',\r\n enter: 'Enter your total bid.',\r\n postedRate: 'Posted rate:',\r\n flatRate: 'Flat rate ($) *',\r\n submit: 'Place bid',\r\n reSubmitBid: 'Resubmit bid',\r\n previousBidPart1: 'In order to resubmit this bid, fill in the form below.',\r\n previousBidPart2: 'Your previous bid was placed on {{date}} for ${{amount}}.',\r\n companyName: 'Company: ',\r\n companyDOT: 'DOT#: ',\r\n equipmentTypes: 'Trailer type: ',\r\n equipmentSpecs: 'Trailer specs: ',\r\n commodity: 'Item: ',\r\n equipmentNotes: 'Notes: ',\r\n submitBidCallMessage:\r\n \"Submit a bid to reveal this company's phone number. Please tell the broker that you found this load on 123Loadboard.\",\r\n },\r\n bidPlaced: {\r\n title: 'Bid placed',\r\n part1: 'Your bid for this load has been sent to the company.',\r\n part2: 'You will be contacted directly if your bid is selected.',\r\n button: 'Ok',\r\n },\r\n failedToPlaceBid: {\r\n title: 'Failed to place bid',\r\n content: 'An error occurred while sending a bid to the company.',\r\n not_found:\r\n 'An error occurred while making the request. This may occur if the load is already gone, or if your DOT# can not be found in the system. You may call the load poster for more information about this load.',\r\n unavailable: 'The load is no longer available.',\r\n disqualified: {\r\n title: 'Not Approved',\r\n content:\r\n \"The load poster has determined that you're not qualified to haul this load. This may happen if your authority is too new, or your insurance is not high enough.\\n\\nIf you believe this is an error, please contact the load poster directly.\",\r\n },\r\n invalidDotMC: {\r\n title: 'Invalid DOT or MC number',\r\n content:\r\n 'The DOT number cannot be the same as the MC number. Please adjust your company information and try again.',\r\n },\r\n },\r\n dotPopUp: {\r\n title: 'Required',\r\n info: 'To place a bid, please enter your DOT#.',\r\n textFieldLabel: 'DOT # *',\r\n button: 'Submit',\r\n updateStatus: {\r\n success: 'DOT # was updated',\r\n failure: 'DOT # failed to update',\r\n },\r\n },\r\n bidItem: {\r\n placedOn: 'Bid placed',\r\n message: \"A bid for {{amount}} was placed on {{broker}}'s load.\",\r\n },\r\n empty: {\r\n title: 'No bids placed',\r\n message:\r\n 'When you submit a bid on a load, those offers will appear here.\\n\\nBid offers will be available for 2 weeks after being placed.',\r\n },\r\n },\r\n bookNow: {\r\n title: 'Book now',\r\n booked: 'Booked',\r\n pending: 'Pending',\r\n bookingPending: 'Booking pending',\r\n dialog: {\r\n information: 'Before you Book now, please ensure that you meet these requirements.',\r\n content: {\r\n part1: 'When you “Book now”, you agree that you can haul this load based on the provided load details at:',\r\n part2: 'You will be contacted by the load poster shortly after booking this load.',\r\n },\r\n submit:\r\n 'Book now to reveal this company’s phone number. Please tell the broker that you found this load on 123Loadboard.',\r\n pendingLong:\r\n 'The load poster will contact you shortly to confirm booking. This normally takes between 15 to 30 minutes.',\r\n pendingShort:\r\n 'The load poster will contact you shortly to confirm booking. This normally takes between 1 to 2 minutes.',\r\n alreadyBooked:\r\n 'You already booked this load on {{date}} at the posted rate {{amount}}. Please contact the load poster if necessary.',\r\n unavailable: 'Booking unavailable',\r\n unavailable_content: 'The load is no longer available.',\r\n not_found:\r\n 'An error occurred while making the request. This may occur if the load is already gone, or if your DOT# can not be found in the system. You may call the load poster for more information about this load.',\r\n recentlyBooked:\r\n 'It’s too soon since you booked your last load, which can be found in the “My loads” section. Please try again later.',\r\n },\r\n bookedSuccessfully: 'Booking request sent',\r\n dotVerification: {\r\n popup: {\r\n title: 'Verify your DOT#',\r\n content: 'Only users with a verified DOT# can use \"Book now\" to book loads.',\r\n button: 'Verify now',\r\n },\r\n },\r\n banner: {\r\n confirmedTitle: 'Booking request confirmed',\r\n confirmed: '{{company}} will send a rate confirmation to {{email}} shortly.',\r\n pendingTitle: 'Booking request pending',\r\n pendingLong:\r\n 'The load poster will contact you shortly to confirm booking. This normally takes between 15 to 30 minutes.',\r\n pendingShort:\r\n 'The load poster will contact you shortly to confirm booking. This normally takes between 1 to 2 minutes.',\r\n rejectedTitle: 'Booking request rejected',\r\n rejected: 'Your booking request has been rejected by the load poster.',\r\n },\r\n },\r\n vHub: {\r\n vHubMEMPopupHeader: \"You're leaving 123Loadboard\",\r\n vHubPopupHeader: \"You're leaving \\n123Loadboard\",\r\n vHubPopupDetails:\r\n 'This Load will be booked through vHub. Please note that their terms and conditions may differ from 123Loadboard. The website will open in a new tab.',\r\n vHubPopupSubDetails: '123Loadboard is not responsible for any content on third party websites.',\r\n vHubPopupButtonLabel: 'Proceed',\r\n vHubBookWithButtonLabel: 'Book',\r\n },\r\n help: {\r\n title: 'Help',\r\n faq: 'FAQs',\r\n videoTutorials: 'Video tutorials',\r\n serviceCode: {\r\n serviceCodeTitle: 'Service code',\r\n generateCode: 'Generate code',\r\n description:\r\n 'Service codes are a helpful way for our 123Loadboard support team to locate and troubleshoot accounts quicker. If you need technical assistance, please ensure that you are speaking to a representative and have your service code ready.',\r\n },\r\n screenSharing: {\r\n title: 'Screen sharing',\r\n generateCode: 'Generate code',\r\n description:\r\n 'Screen sharing will allow a 123Loadboard representative to better help you with troubleshooting. To activate the screen share, please call our Customer Support and provide them with your sharing code.',\r\n endSession: {\r\n title: 'End remote support\\nsession',\r\n description: 'Do you want to stop this screen sharing session?',\r\n },\r\n startSession: {\r\n title: 'Support request',\r\n description: 'A 123Loadboard support agent wants to start a screen sharing session with you. Do you accept?',\r\n reject: 'Reject',\r\n accept: 'Accept',\r\n },\r\n },\r\n },\r\n announcements: {\r\n clearConfirmation: 'Are you sure you want to clear all announcements?',\r\n serviceRelated: 'Service Related',\r\n notice: 'Notice',\r\n announcements: 'Announcements',\r\n announcementsNewLine: 'Announce-\\nments',\r\n announcement: 'Announcement',\r\n newsletter: 'Newsletter',\r\n promotion: 'Promotion',\r\n clearSuccess: 'Announcements cleared successfully.',\r\n clearFailure: 'An error occurred while clearing announcements.',\r\n deleteSuccess: 'Announcement deleted successfully.',\r\n deleteFailure: 'An error occurred while deleting the announcement.',\r\n emptyList: {\r\n title: 'No announcements available',\r\n content: \"We didn't find anything to show here.\",\r\n },\r\n },\r\n phoneVerification: {\r\n title: 'Phone verification',\r\n creation: {\r\n title: 'Verify your primary phone',\r\n content: 'The verification code will be sent to {{phone}}.',\r\n selectVerificationMethod: 'Select verification method',\r\n textMessage: 'Text message (SMS)',\r\n voiceMessage: 'Voice message',\r\n sendMessage: 'Send {{type}} message',\r\n messageTypes: {\r\n voice: 'voice',\r\n text: 'text',\r\n },\r\n success:\r\n 'Your phone number has been verified. This will make your truck stand out when Brokers are looking for Carriers.',\r\n error: {\r\n landline: {\r\n title: 'Cannot verify landline phone by text',\r\n content:\r\n 'This phone number is a landline and cannot be verified by text, would you like to send the verification by voice message?',\r\n },\r\n other: 'Something went wrong',\r\n wrongNumber: 'Cannot send verification message to invalid number.',\r\n tooManyAttempts: 'Too many attempts in a short period of time. Try again in a few minutes.',\r\n badRequest: 'A problem occurred. Verify that the phone number is valid.',\r\n },\r\n },\r\n codeInput: {\r\n title: 'Verify your primary phone',\r\n content: 'Enter the 6-digit code sent to you at {{phone}}',\r\n expiresIn: 'Expires in {{countdown}} min',\r\n expired: 'Expired',\r\n resendCode: 'Resend code',\r\n verificationCode: 'Verification code',\r\n verify: 'Verify',\r\n invalidCode: {\r\n title: 'Verification failed',\r\n content: 'The code submitted was incorrect, please try again.',\r\n },\r\n toast: {\r\n expiredCode: 'Code you entered has expired. Press back and try again.',\r\n tooManyAttempts:\r\n 'Max attempts to check a verification code reached. Please wait until the current verification expires to generate a new code.',\r\n },\r\n },\r\n success: {\r\n header: 'Phone verified',\r\n title: 'Verified',\r\n subtitle: 'Your phone number has been successfully verified.',\r\n },\r\n },\r\n paymentMethod: {\r\n cardNumber: 'Card number',\r\n cvv: 'CVV',\r\n cid: 'CID',\r\n zip: 'Zip/Postal code',\r\n cardName: 'Card holder name',\r\n billingAddress: 'Billing address',\r\n billingAddressInfo: 'The billing address is the address that appears on your credit card bill or bank statement.',\r\n securityCode: 'Security Code',\r\n screenInfo:\r\n 'Enter your current billing information to update your payment method. The existing card on file will be replaced.',\r\n methodWasUpdated: 'Your payment method has been updated',\r\n radioList: {\r\n other: 'Other',\r\n },\r\n expirationInfo: {\r\n title: 'Expiration date',\r\n description: 'You should be able to find this date on the front of your card, under the card number.',\r\n },\r\n CVVinfo: {\r\n title: 'CVV',\r\n description: 'A 3-digit code on your credit card, you can find this on the back of your card.',\r\n },\r\n CIDinfo: {\r\n title: 'CID',\r\n description: 'A 4-digit code located above your account number on the front of your card.',\r\n },\r\n },\r\n membership: {\r\n title: 'Membership',\r\n membershipPlan: 'Membership Plan',\r\n managePlan: 'Manage plans',\r\n keyFeatues: 'Key features',\r\n planPrice: '${{price}}/month',\r\n planPricePerYear: '${{price}}/year',\r\n unlockThisFeature: 'Unlock this feature',\r\n plan: {\r\n standard: 'Standard',\r\n premium: 'Premium',\r\n premiumPlus: 'Premium Plus',\r\n },\r\n upgradeResultScreen: {\r\n success: {\r\n title: 'Your membership plan has been updated.',\r\n button: 'Continue',\r\n },\r\n failure: {\r\n title: 'There was a problem with your credit card.',\r\n subtitle: 'Please check your payment method and try again.',\r\n help: 'Need help? Call {{number}}',\r\n button: 'Try again',\r\n },\r\n },\r\n upgradePlanTitle: 'Update plan',\r\n upgradePlanFirstMessage: 'After clicking ',\r\n upgradePlanSecondMessage: ', your plan will be updated to ',\r\n section: 'Grow your business by upgrading your plan.',\r\n learnMore: 'Learn more',\r\n addOn: {\r\n title: 'Add-ons',\r\n sectionTitle: 'Additional features',\r\n panelTitle: 'Available add-ons for your current plan',\r\n updated: 'Your Add-ons have been updated.',\r\n updateFailSub: 'Please check your payment method and try again.',\r\n popupTitle: 'Unable to update',\r\n popupDetail: 'The Add-on you have selected is already part of your current plan.',\r\n },\r\n openSettings: 'Open settings',\r\n manageSubscription: 'Manage subscription',\r\n openAppleManageSubscriptionSettings:\r\n 'Your 123Loadboard account is managed through the App Store. To make changes to your subscription, please do so through the App Store settings on your Apple device settings.',\r\n applePlanUpgradeDelay:\r\n 'Changes to your plan are effective upon confirmation from Apple, but may take some time to reflect on 123Loadboard.',\r\n },\r\n upgradePlanPopup: {\r\n button: 'Manage plan',\r\n addOns: 'Add-ons',\r\n title: 'This feature is not available in your plan',\r\n drivingTime:\r\n 'Driving time is available as part of the Premium and Premium plus membership plans, or can be added with the PC*Miler add-on.',\r\n rateCheck:\r\n 'Rate Check is available as part of the Premium Plus membership plans, or can be added with Rate Check add-on.',\r\n creditRating: 'Credit ratings are only available as part of the Premium and Premium Plus membership plans.',\r\n mileageCalculator:\r\n 'This feature is available as part of the Premium and Premium Plus membership plans, or can be added with the PC*Miler add-on.',\r\n },\r\n profitCalculator: {\r\n trip: 'Trip',\r\n tripDescription:\r\n 'If you’re unsure of your trip mileage, enter your Pick up and Drop off locations to pre-fill your miles.',\r\n },\r\n paymentDeclinedBanner: {\r\n actions: {\r\n fixNow: 'Fix now',\r\n here: 'here',\r\n viewDetails: 'View details',\r\n },\r\n accountExpired: {\r\n message: 'Your membership has been downgraded to Basic because of overdue invoices. ',\r\n },\r\n accountExpiringSoon: {\r\n message: 'Your membership is about to be suspended because of an overdue invoice. ',\r\n messageNonAdmin:\r\n 'Your membership is about to be suspended because of an overdue invoice. Please contact your account administrator.',\r\n },\r\n hardDecline: {\r\n message: 'We are unable to process payments on your account. ',\r\n messageFirstPart:\r\n 'There was an issue with processing your membership payment. Please update your billing information ',\r\n messageLastPart: 'You have access until {{date}}, after that your account will be processed to close.',\r\n messageIOS: 'Your membership may be affected due to a billing issue.',\r\n messageNonAdmin: 'We are unable to process payments on your account. Please contact your account administrator.',\r\n },\r\n softDecline: {\r\n message: 'We were unable to process a payment on your account. ',\r\n messageFirstPart:\r\n 'There was an issue with processing your membership payment. Please update your billing information ',\r\n messageLastPart: 'You have access until {{date}}, after that your account will be processed to close.',\r\n messageIOS: 'Your membership may be affected due to a billing issue.',\r\n messageNonAdmin:\r\n 'We were unable to process a payment on your account. Please contact your account administrator.',\r\n },\r\n generic: {\r\n message: 'You have a billing issue on file. ',\r\n },\r\n unsubscribeBannerMessageLink: 'click here',\r\n unsubscribedMessage: 'You have unsubscribed from your membership.',\r\n accessUntil: 'You will continue to have access until {{date}}.',\r\n reactivate: 'If you wish to re-activate your account, ',\r\n },\r\n businessProfile: {\r\n lockedCompany: 'To make changes to your company information, please contact our posting department at ',\r\n dot: 'DOT#',\r\n title: 'Business profile',\r\n addressTitle: 'Address:',\r\n companyPhoneTitle: 'Company phone:',\r\n companyNameTitle: 'Company name:',\r\n dotNumberTitle: 'DOT#:',\r\n mcNumberTitle: 'MC#:',\r\n dotBusinessProfileOption: {\r\n noDot: {\r\n title: 'Use FMCSA company details',\r\n text: 'Please enter your DOT# above to activate FMCSA company details.',\r\n },\r\n noInformationAvailable: {\r\n title: 'Use FMCSA company details',\r\n text: 'We were unable to find information for the entered DOT#.',\r\n },\r\n customProfile: {\r\n title: 'Use custom company details',\r\n },\r\n volpeProfile: {\r\n title: 'Use FMCSA company details',\r\n },\r\n },\r\n },\r\n dotVerification: {\r\n addExtension: 'Add extension',\r\n addExtensionText: 'Please enter your extension below to continue DOT# verification.',\r\n ext: 'Ext.',\r\n removeExtension: 'Remove extension',\r\n VerificationViaSMS:\r\n 'Verification via SMS is not available for numbers with extensions. If you wish to verify via text message (SMS), remove the extension from this number.',\r\n fmcsaBanner: {\r\n text: 'This information is provided by FMCSA. To edit or update the information, ',\r\n contactFMCSA: 'contact FMCSA',\r\n button: 'FMCSA',\r\n },\r\n popup: {\r\n title: 'Verify your DOT# {{dot}}',\r\n content: 'Only users with a verified DOT# can use \"Book now\" to book loads.',\r\n button: 'Verify now',\r\n addOnTitle: 'To activate add-on, please enter your DOT#.',\r\n },\r\n title: 'DOT# verification',\r\n dotNumberVerified: 'DOT# verified',\r\n verifyDotNumber: 'Verify DOT#',\r\n verifyYourDotNumber: 'Verify your DOT#',\r\n pleaseEnterDot: 'Please enter DOT#.',\r\n sendRequest: 'Send request',\r\n phoneListPanelText:\r\n 'Brokers and shippers prefer to work with Carriers that have verified their DOT#. You can verify your DOT# via phone confirmation. Please select a phone number that you have access to.',\r\n phoneListOptionPanelText:\r\n 'Brokers and shippers prefer to work with Carriers that have verified their DOT#s. \\n\\nYou can verify your DOT# through your phone number(s) via SMS or voice confirmation',\r\n verifyThroughMCP: '; or you can verify through MyCarrierPortal.',\r\n listPanelSelectOption: 'Select preferred option',\r\n verificationCodeWillBeSentTo: 'You can verify your DOT# with a confirmation code that will be sent to',\r\n selectActivationMethod: 'Please select your preferred activation method.',\r\n selectVerificationMethodTitle: 'Select verification method',\r\n enterCode: 'Enter code',\r\n errorPanel: {\r\n title: 'Verification error',\r\n unableToFindByDot: 'We were unable to find information\\n for the entered DOT#:',\r\n makeSureDotEntered: 'Please make sure your DOT# is\\n entered correctly or try again later.',\r\n },\r\n resultPanel: {\r\n successfullyVerified: 'Your DOT number has been successfully verified.',\r\n },\r\n myCarrierPortal: {\r\n title: 'MyCarrierPortal',\r\n sent: 'Instructions sent',\r\n instructionsSentTo: 'Verification instructions have been sent to ',\r\n emailSentOn: 'This email was sent on ',\r\n instructions:\r\n 'Please open the email and follow the provided instructions. When this process is completed and we receive confirmation from MyCarrierPortal, your DOT# verification status will be updated.',\r\n instructions2:\r\n \"If you haven't received an email, make sure to check your spam and deleted items folders for any items sent on \",\r\n verificationInitiated: 'Verification Already Initiated',\r\n verificationDescription:\r\n 'Your verification request has been previously initiated from another source. Once MCP confirms your verification, your DOT number will be marked as verified.',\r\n verificationdescription2:\r\n \"Should you have any questions or require further assistance with the process, MCP's team is available to help you understand the process and provide any additional support you might need. You can contact them at (818) 453-8591 or email \",\r\n MCPEmail: 'help@assureassist.com',\r\n },\r\n },\r\n permissions: {\r\n title: 'Permissions',\r\n loginSessions: 'Login Sessions',\r\n loginSessionsHeader: 'Active login sessions',\r\n user: `{{platform}} currently logged in on {{userAgent}}`,\r\n createdOn: 'Created: {{date}}',\r\n updatedOn: 'Updated: {{date}}',\r\n ipAddress: 'IP address: {{ip}}',\r\n currentSessionWarning: 'Attention, this is your current session.',\r\n logoutDialog: 'You will be logged out of this device ({{device}}) until you log in again.',\r\n deactivateDialog: 'This integration will no longer be available until you reactivate.',\r\n integrations: 'Integrations',\r\n integratorsHeader: 'Active integrations',\r\n activatedOn: 'Activated on {{date}}',\r\n integrationsHeader: 'Integration permission details',\r\n snackbarLogoutSuccess: 'Logged out successfully',\r\n snackbarLogoutFailure: 'Logout unsuccessfull',\r\n snackbarDeactivationSuccess: 'Successfully deactivated',\r\n snackbarDeactivationFailure: 'Deactivation unsuccessfull',\r\n },\r\n marketRate: {\r\n marketRates: 'Market Rates',\r\n title: 'Market rates',\r\n notAvailable: 'Not available',\r\n available: 'Available',\r\n notAvailableAtThisTime: 'Not available at this time',\r\n notAvailableTrailer: 'Not available for this trailer type',\r\n notAvailableOutsideUS: 'Not available for locations outside the US',\r\n byRateCheck: '{{rate}}/mi avg. rate by Rate Check',\r\n byCargoChief: '{{rate}}/mi est. rate by Cargo Chief',\r\n byGS: '{{minRate}}/mi - {{maxRate}}/mi est. rate by GS',\r\n content:\r\n 'Market rate is the price loads matching the lane and equipment type typically pay. This data can help with rate negotiation.',\r\n cargoChief: {\r\n title: 'Cargo Chief',\r\n popupContent:\r\n \"Cargo Chief's market rate add-on will give you estimates based on the highest, middle, and lowest rates gathered from\",\r\n popupContentBold: ' actual freight bills ',\r\n popupContent2: `rather than quoted prices.\\n\\nThis data can be seen by adding the Cargo Chief add-on.`,\r\n estRate: '{{rate}}/mi estimated rate',\r\n rateEst: 'Rate estimate',\r\n perMile: 'Per mile',\r\n lowEst: 'Low est.',\r\n highEst: 'High est.',\r\n est: 'Estimate',\r\n info: \"Cargo Chief's market rate estimates are based on the highest, middle, and lowest rates gathered from actual freight bills rather than quoted prices.\",\r\n },\r\n greenscreens: {\r\n title: 'Greenscreens',\r\n subtitle: '{{minRate}}/mi - {{maxRate}}/mi est. rate',\r\n valuePerMile: '{{rate}} per mile',\r\n min: 'MIN',\r\n max: 'MAX',\r\n info: 'Greenscreens provides market rate data gathered from a combination of quoted prices and confirmed rates.',\r\n },\r\n rateCheck: {\r\n rateNotAvailable: 'Rate not available',\r\n rateNotAvailable_info: 'Rate data for this load is not available at this time. Please try again later.',\r\n title: 'Rate Check',\r\n popupContent:\r\n 'The Rate Check market rate will give you the highest, lowest, and average market rates with historical data based on posted rates. Many tools on 123Loadboard use Rate Check data to bring you the most accurate information available.',\r\n popupContentDetails:\r\n 'Rate Check is available as part of the Premium Plus membership plan, or can be added with Rate Check add-on.',\r\n popupContentDetailsIOSUser: 'Rate Check is available as part of the Premium Plus membership plan.',\r\n },\r\n ratesAccess: {\r\n content1:\r\n 'The Market rates tool gives you lane-specific rate data including historical rates, insights, and average rates.',\r\n content2:\r\n 'Rate Check is required to have access to the Market rates tool. Many tools on 123Loadboard use Rate Check data to bring you the most accurate information available.',\r\n content3:\r\n 'Rate Check is available as part of the Premium Plus membership plan or can be added with Rate Check add-on.',\r\n content3IOSUsers: 'Rate Check is available as part of the Premium Plus membership plan.',\r\n },\r\n },\r\n currentLocationError: 'Error getting current location. Please try again',\r\n marketRankings: {\r\n unknown: 'Unknown',\r\n belowAverage: 'Below avg.',\r\n average: 'Average',\r\n aboveAverage: 'Above avg.',\r\n },\r\n ratings: {\r\n title: 'Rating',\r\n notRated: 'Not rated',\r\n basedOnReviews: 'Based on {{count}} reviews',\r\n basedOnReview: 'Based on 1 review',\r\n safetyRating: 'Safety Rating:',\r\n carrierOperation: 'Carrier Operation:',\r\n poweredBy: 'powered by',\r\n moreDetails: 'More details',\r\n popupTitle: \"You're leaving 123Loadboard\",\r\n popupInfo:\r\n 'More detailed carrier ratings are available on CarrierSource. Please note that their terms and conditions may differ from 123Loadboard. The website will open in a new tab.',\r\n proceed: 'Proceed',\r\n moreInfo: '123Loadboard is not responsible for any content on third party websites.',\r\n ratingsPoweredBy: 'Carrier Ratings powered by CarrierSource',\r\n newToCarrierSource: 'New to CarrierSource?',\r\n signUpContent: 'Sign up now and seek reviews from brokers to strengthen your brand.',\r\n signUpButton: 'Sign up',\r\n upMyScore: 'Up my score?',\r\n },\r\n};\r\n","import { TrackingClient } from '@common/client/TrackingClient';\r\nimport {\r\n CommonTrackingData,\r\n TrackingData,\r\n TrackingDataWithDeviceInfo,\r\n TrackingTag,\r\n VendorName,\r\n VendorTrackingData,\r\n VhubEvent,\r\n} from '@common/model/Tracking';\r\n\r\nexport type TrackAction = (trackingData: TrackingData) => void;\r\n\r\nexport const createTrackAction =\r\n (trackingClient: TrackingClient, commonTrackingData: CommonTrackingData): TrackAction =>\r\n (trackingData) => {\r\n const trackingDataWithDeviceInfo: TrackingDataWithDeviceInfo = {\r\n tag: trackingData.tag,\r\n data: {\r\n ...commonTrackingData,\r\n ...trackingData.data,\r\n },\r\n };\r\n const subscription = trackingClient.trackData$(trackingDataWithDeviceInfo).subscribe({\r\n complete: () => {\r\n if (subscription) {\r\n subscription.unsubscribe();\r\n }\r\n },\r\n });\r\n };\r\n\r\nexport const createVhubBookingTrackData = (event: VhubEvent, loadID: string): TrackingData => ({\r\n tag: TrackingTag.VendorTracking,\r\n data: { event: event, loadID: loadID, vendorName: VendorName.VhubBooking },\r\n});\r\n","import { useCallback, useEffect, useMemo, useState } from 'react';\r\n\r\nimport { noop } from 'lodash';\r\nimport moment from 'moment';\r\n\r\nexport type ExpirationTime = '15m' | '30m' | '45m' | '1h' | '2h' | '4h' | '8h';\r\n\r\nexport const EXPIRATION_TIMES: ExpirationTime[] = ['15m', '30m', '45m', '1h', '2h', '4h', '8h'];\r\n\r\nexport const getExpirationTime = (time: ExpirationTime): number => {\r\n switch (time) {\r\n case '15m':\r\n return getDurationInSeconds(15, 'minute');\r\n case '30m':\r\n return getDurationInSeconds(30, 'minute');\r\n case '45m':\r\n return getDurationInSeconds(45, 'minute');\r\n case '1h':\r\n return getDurationInSeconds(1, 'hour');\r\n case '2h':\r\n return getDurationInSeconds(2, 'hour');\r\n case '4h':\r\n return getDurationInSeconds(4, 'hour');\r\n case '8h':\r\n return getDurationInSeconds(8, 'hour');\r\n default:\r\n return 0;\r\n }\r\n};\r\n\r\ntype Timer = ReturnType;\r\n\r\nexport const useCountdown = (expirationTime: string, systemTime: string, systemTimeReceivedAt: number) => {\r\n const [remainingTime, setRemainingTime] = useState();\r\n\r\n // In most cases, when the system time is received, it will be offset (inaccurate) by a couple seconds\r\n // at most, if the user's device time is correct. Otherwise, if the request is delayed due to latency,\r\n // it could be inaccurate up to ~15 seconds (our request timeout threshold).\r\n // However, if the user's device time is incorrect, this offset could be much greater. In order to safeguard\r\n // against this scenario, we calculate the system time offset based on the device's time when the system\r\n // time was received.\r\n const systemTimeOffset = useMemo(\r\n () => (systemTime && systemTimeReceivedAt ? moment(systemTime).diff(systemTimeReceivedAt) : undefined),\r\n [systemTime, systemTimeReceivedAt]\r\n );\r\n\r\n const calculateRemainingTime = useCallback(\r\n (onComplete?: () => void) => {\r\n const remaining = moment(expirationTime).diff(moment().add(systemTimeOffset));\r\n if (remaining < 0) {\r\n setRemainingTime(0);\r\n onComplete?.();\r\n } else {\r\n setRemainingTime(remaining);\r\n }\r\n },\r\n [expirationTime, systemTimeOffset]\r\n );\r\n\r\n useEffect(() => {\r\n if (systemTimeOffset && expirationTime) {\r\n calculateRemainingTime();\r\n const interval: Timer = setInterval(() => calculateRemainingTime(() => clearInterval(interval)), 10000);\r\n return () => {\r\n clearInterval(interval);\r\n };\r\n } else {\r\n setRemainingTime(undefined);\r\n return noop;\r\n }\r\n }, [systemTimeOffset, expirationTime]);\r\n\r\n return getReturnValues(remainingTime ?? 0);\r\n};\r\n\r\nconst getReturnValues = (countDown: number) => {\r\n // calculate time left\r\n const duration = moment.duration(countDown);\r\n const hours = duration.hours();\r\n const minutes = duration.minutes();\r\n const seconds = duration.seconds();\r\n\r\n return { hours: hours, minutes: minutes, seconds: seconds };\r\n};\r\n\r\nconst getDurationInSeconds = (duration: number, durationType: 'minute' | 'hour') => {\r\n return moment.duration(duration, durationType).asSeconds();\r\n};\r\n","import { inRange } from 'lodash';\r\n\r\nimport { T, t } from '@translate';\r\n\r\nexport const getTotalCostPerDay = (truckExpenses: number, homeExpenses: number, workDays: number) =>\r\n workDays === 0 ? 0 : (truckExpenses + homeExpenses) / workDays;\r\n\r\nexport const getProfitPerDay = (totalProfit: number, workDays: number) =>\r\n workDays === 0 ? 0 : Math.round(totalProfit / workDays);\r\n\r\nexport const getProfitPercentage = (costPerDay: number, profitPerDay: number) =>\r\n costPerDay > 0 ? ((profitPerDay - costPerDay) / costPerDay) * 100 : 0;\r\n\r\nexport const isLoadPartiallyProfitable = (profitPercentage: number) => inRange(profitPercentage, -9, 0);\r\n\r\n// A “day” in Cost-per-day will need to be calculated based on\r\n// driving time + (load/unload) hours divided by working hours per day.\r\n// Result should be presented to the user rounded up when the decimal value > 0.2 (ie. [1, 1.3] = 1 day, [1.3, 2] = 2 days)\r\n// The only decimal the user should see is to represent half day (i.e [0, 0.3] = 0.5 day, [0.3, 0.9] = 1 day).\r\nexport const calculateWorkDays = (drivingTime: number, loadingHours: number, workingHours: number) => {\r\n if (workingHours <= 0) {\r\n return 0;\r\n }\r\n\r\n const driveTimeInHours = drivingTime / 3600;\r\n\r\n const workDays = (driveTimeInHours + loadingHours) / workingHours;\r\n\r\n const quotient = Math.floor(workDays);\r\n const remainder = workDays - quotient;\r\n\r\n if (quotient === 0) {\r\n return remainder >= 0.3 ? 1 : 0.5;\r\n }\r\n return remainder >= 0.3 ? Math.ceil(workDays) : Math.floor(workDays);\r\n};\r\n\r\nexport const formatDay = (day: number) =>\r\n day > 1 ? `${day} ${t(T.common_costPerDay_card_days)}` : `${day} ${t(T.common_costPerDay_card_day)}`;\r\n\r\nconst DEFAULT_SPEED = 55 / 3600; //(mile/second)\r\nexport const getDriveTime = (driveTimeFromLoad: number, mileageFromLoad: number, mileageFromUserInput: number) => {\r\n // use default speed in-case the driveTime is missing from the pc-miler\r\n const speed = driveTimeFromLoad === 0 || mileageFromLoad === 0 ? DEFAULT_SPEED : mileageFromLoad / driveTimeFromLoad;\r\n\r\n return mileageFromUserInput / speed;\r\n};\r\n","import React, { useContext } from 'react';\r\n\r\ninterface Props {\r\n container: T;\r\n}\r\nexport const createDependencyManager = () => {\r\n const DependencyContext = React.createContext<{\r\n container: T | null;\r\n }>({ container: null });\r\n\r\n const Provider: React.FC> = (props) => {\r\n return (\r\n {props.children}\r\n );\r\n };\r\n const useDependecyContainer = (): T => {\r\n const { container } = useContext(DependencyContext);\r\n if (!container) {\r\n throw new Error();\r\n }\r\n return container;\r\n };\r\n return {\r\n provider: Provider,\r\n hook: useDependecyContainer,\r\n };\r\n};\r\n","import { round, toNumber } from 'lodash';\r\n\r\nimport { removeComma } from '@common/formatter';\r\n\r\nexport const toNumberWithComma = (valueWithComma?: string) => {\r\n let value = valueWithComma;\r\n if (value === undefined) {\r\n value = '0';\r\n }\r\n return toNumber(removeComma(value));\r\n};\r\n\r\nexport const getFuelCosts = (\r\n mpg: number,\r\n miles: number,\r\n costPerGallon: number,\r\n costPerGallonDiscount: number,\r\n isFuelDiscountChecked: boolean\r\n) => {\r\n if (mpg === 0) {\r\n return 0;\r\n }\r\n return round((miles / mpg) * (costPerGallon - (isFuelDiscountChecked ? costPerGallonDiscount : 0)), 2);\r\n};\r\n\r\nexport const getAdditionalCosts = (\r\n dispatchFee: number,\r\n rate: number,\r\n tollCost: number,\r\n otherFee: number,\r\n isDispatchFeeFlatAmount: boolean\r\n) => {\r\n let updatedDispatchFee = dispatchFee;\r\n if (!isDispatchFeeFlatAmount) {\r\n updatedDispatchFee = (rate * dispatchFee) / 100;\r\n }\r\n return tollCost + updatedDispatchFee + otherFee;\r\n};\r\n\r\nexport const getProfitPerMile = (totalProfit: number, miles: number) => (miles === 0 ? 0 : totalProfit / miles);\r\n\r\nexport const getTotalProfit = (rate: number, fuelCosts: number, additionalCosts: number) => {\r\n return rate - fuelCosts - additionalCosts;\r\n};\r\n","import { cloneDeep, findKey, invert, isEqual, partial, trim } from 'lodash';\r\nimport QueryString from 'qs';\r\n\r\nconst ARRAY_LIMIT = 2000;\r\n\r\ninterface IVocabulary {\r\n [key: string]: string;\r\n}\r\n\r\nexport class DefaultEncoder {\r\n getVocabulary() {\r\n return {\r\n /*\r\n You should rewrite vocabulary\r\n */\r\n };\r\n }\r\n\r\n convertObjectRequestToUrlParams(object: T) {\r\n /*\r\n Set vocabulary to shorten keys -> \"search\" = \"S\".\r\n If no vocabulary, keys, except default, wouldn't be shortened.\r\n */\r\n\r\n return QueryString.stringify(cloneDeep(object), {\r\n arrayFormat: 'indices', // how arrays will be shown with brackets, indexes or separated by comma\r\n allowDots: true,\r\n encoder: (str: string, defaultEncoder: any, charset: any, type: 'key' | 'value') =>\r\n this.encoder({ str: trim(str), defaultEncoder: defaultEncoder, type: type }, this.getVocabulary()),\r\n });\r\n }\r\n\r\n convertUrlParamsToObjectRequest = (urlParams: string) => {\r\n /*\r\n If you have used vocabulary at convertObjectRequestToUrlParams,\r\n you must use the same vocabulary here, otherwise you will get wrong\r\n keys for object.\r\n\r\n To use vocabulary for converting Url Params To object\r\n we should revert vocabulary\r\n */\r\n\r\n const invertedVocabulary = invert(this.getVocabulary());\r\n\r\n return QueryString.parse(urlParams, {\r\n ignoreQueryPrefix: true,\r\n allowDots: true,\r\n arrayLimit: ARRAY_LIMIT,\r\n decoder: (str: string, defaultEncoder: any, charset: any, type: 'key' | 'value') =>\r\n this.decoder({ str: str, defaultEncoder: defaultEncoder, type: type }, invertedVocabulary),\r\n });\r\n };\r\n\r\n private searchKeyInVocabulary = (vocabulary: IVocabulary, key: string) => findKey(vocabulary, partial(isEqual, key));\r\n\r\n private convertKeys = (vocabulary: IVocabulary, str: string) => {\r\n if (this.searchKeyInVocabulary(vocabulary, str)) {\r\n // if key was founded return it as name of param or full key name.\r\n return this.searchKeyInVocabulary(vocabulary, str);\r\n } else if (str.includes('.')) {\r\n /*\r\n qs convert object key to string, {key: {key: val}} => 'key.key',\r\n so we need to separate it to shorten from key.key to k.k\r\n */\r\n const keyMap = str.split('.');\r\n keyMap.forEach((part: string, index: number) => {\r\n if (this.searchKeyInVocabulary(vocabulary, part)) {\r\n keyMap[index] = String(this.searchKeyInVocabulary(vocabulary, part));\r\n } else if (part.match(/\\w+\\[([0-9]+)\\]/g)) {\r\n /*\r\n Since we use indexes part looks like key[0], so we need to\r\n cut brackets to shorten key, and return brackets to final string\r\n key[0] => k[0] or k[0] => key[0]\r\n */\r\n const leftBracketPosition = part.indexOf('[');\r\n\r\n keyMap[index] =\r\n String(this.searchKeyInVocabulary(vocabulary, part.slice(0, leftBracketPosition))) +\r\n part.slice(leftBracketPosition);\r\n }\r\n });\r\n return keyMap.join('.');\r\n } else {\r\n // if no key in vocabulary return default key as param;\r\n return str;\r\n }\r\n };\r\n\r\n private encoder = (data: { str: string; defaultEncoder: any; type: 'key' | 'value' }, vocabulary: IVocabulary) => {\r\n /*\r\n str - key or value from Object or URL string;\r\n type - type of current str -> 'key' or 'value';\r\n defaultEncoder - default 'qs' encoder;\r\n */\r\n const { str, defaultEncoder, type } = data;\r\n\r\n if (type === 'key') {\r\n return defaultEncoder(this.convertKeys(vocabulary, str));\r\n } else {\r\n // default encoder will separate and convert arrays to URL params\r\n return defaultEncoder(str);\r\n }\r\n };\r\n\r\n private decoder = (data: { str: string; defaultEncoder: any; type: 'key' | 'value' }, vocabulary: IVocabulary) => {\r\n // qs will parse string of params to object;\r\n const { str, defaultEncoder, type } = data;\r\n\r\n if (type === 'key') {\r\n return this.convertKeys(vocabulary, defaultEncoder(str));\r\n } else {\r\n // default encoder will separate and convert arrays to URL params\r\n return defaultEncoder(str);\r\n }\r\n };\r\n}\r\n","import { DependencyList, EffectCallback, useEffect, useRef } from 'react';\r\n\r\nexport const useDidUpdate = (effect: EffectCallback, deps?: DependencyList) => {\r\n const hasMount = useRef(false);\r\n useEffect(() => {\r\n if (hasMount.current) {\r\n effect();\r\n } else {\r\n hasMount.current = true;\r\n }\r\n }, deps);\r\n};\r\n\r\nexport const useDidUpdateOnce = (effect: EffectCallback, deps?: DependencyList) => {\r\n const updated = useRef(false);\r\n useDidUpdate(() => {\r\n if (!updated.current) {\r\n effect();\r\n updated.current = true;\r\n }\r\n }, deps);\r\n};\r\n","import { useEffect, useRef } from 'react';\r\n\r\nimport { useRefFn } from '@common/util/hooks/UseRefFunction';\r\n\r\n/**\r\n * Creates an instance using a factory function and updates it if the factory function is changed.\r\n *\r\n * @param factory A function that returns an instance of type T.\r\n * @param init A functioin that initialize the new instance from the previous one.\r\n * @param deinit A function that deinitialize the instance.\r\n *\r\n *\r\n * @example Short example of using useFactory:\r\n *\r\n * const factory = useCallback(() => new A(arg1, arg2), [arg1, arg2]);\r\n * return useFactory(\r\n * factory,\r\n * (prevInstance, newInstance) => {\r\n * newInstance.setParam(prevManager.getParam());\r\n * if (prevManager.isSomething()) {\r\n * newInstance.setSomething();\r\n * }\r\n * },\r\n * (manager) => {\r\n * manager.clear();\r\n * }\r\n * );\r\n */\r\n\r\nexport const useFactory = (\r\n factory: () => T,\r\n init: (prevInstance: T, newInstance: T) => void,\r\n deinit: (instance: T) => void\r\n) => {\r\n const instanceRef = useRefFn(factory);\r\n const currentFactory = useRef(factory);\r\n if (currentFactory.current !== factory) {\r\n const prevInstance = instanceRef.current;\r\n instanceRef.current = factory();\r\n init(prevInstance, instanceRef.current);\r\n currentFactory.current = factory;\r\n deinit(prevInstance);\r\n }\r\n useEffect(() => {\r\n const instance = instanceRef.current;\r\n return () => {\r\n deinit(instance);\r\n };\r\n }, []);\r\n return instanceRef.current;\r\n};\r\n","import { useCallback, useState } from 'react';\r\n\r\n// https://stackoverflow.com/questions/46240647/react-how-to-force-a-function-component-to-render/53837442#53837442\r\nexport const useForceUpdate = () => {\r\n const [, updateState] = useState<{}>();\r\n return useCallback(() => updateState({}), []);\r\n};\r\n","import { useEffect, useRef } from 'react';\r\n\r\nimport { noop } from 'lodash';\r\n\r\nimport { voidFunction } from '@common/helper';\r\n\r\nexport const useInterval = (callback: () => void, delay: number) => {\r\n const savedCallback = useRef(voidFunction);\r\n\r\n // Remember the latest callback.\r\n useEffect(() => {\r\n savedCallback.current = callback;\r\n }, [callback]);\r\n\r\n // Set up the interval.\r\n useEffect(() => {\r\n const tick = () => {\r\n savedCallback.current();\r\n };\r\n if (delay !== null) {\r\n const id = setInterval(tick, delay);\r\n return () => clearInterval(id);\r\n }\r\n return noop;\r\n }, [delay]);\r\n};\r\n","import { useEffect } from 'react';\r\n\r\nexport const useMount = (onMount: (() => void) | undefined) =>\r\n useEffect(() => {\r\n onMount?.();\r\n }, []);\r\n","import { useRef } from 'react';\r\n\r\nconst SENTINEL = {};\r\n\r\n/**\r\n * `useRefFn` is extension of `useRef` that accepts the initial value as a function.\r\n *\r\n * `useRefFn` is useful for saving a class instance and preventing to construct it each time hook function is invoked.\r\n *\r\n * @see https://github.com/facebook/react/issues/14490\r\n *\r\n * @param init Initial value as a function.\r\n *\r\n * @example Example of using `useRefFn`:\r\n *\r\n * In this example a new instance will be created each time hook function is invoked.\r\n *\r\n * ```\r\n * const instanceRef = useRef(new Instance())\r\n * ```\r\n *\r\n * In this example a new instance will be created only once.\r\n *\r\n * ```\r\n * const instanceRef = useRefFn(() => new Instance())\r\n * ```\r\n */\r\nexport const useRefFn = (init: () => T) => {\r\n const ref = useRef(SENTINEL);\r\n if (ref.current === SENTINEL) {\r\n ref.current = init();\r\n }\r\n return ref as React.MutableRefObject;\r\n};\r\n","import { useEffect } from 'react';\r\n\r\nexport const useUnmount = (onUnmount: () => void) =>\r\n useEffect(() => {\r\n return onUnmount;\r\n }, []);\r\n","import { includes, isPlainObject, pickBy, reduce, values } from 'lodash';\r\n\r\nimport { isNumber } from '@common/helper/NumberHelper';\r\n\r\nexport interface ParseableObject {\r\n [field: string]: unknown;\r\n}\r\n\r\ntype ObjectParser = (parseableObject: ParseableObject) => T;\r\n\r\nconst isParseableObject = (value: unknown): value is ParseableObject => isPlainObject(value);\r\n\r\n/**\r\n * Creates a parser that takes a value of type unknown and attempts to convert it to an object using\r\n * the provided ObjectParser parser. If the value is an object, it's passed into the provided parser.\r\n * If the value is not an object, undefined is returned right away.\r\n * @param parser Any parser that attempts to convert a ParseableObject to a type T. Should return\r\n * undefined if conversion is not possible.\r\n */\r\nexport const createObjectParser =\r\n (parser: ObjectParser) =>\r\n (value: unknown) => {\r\n if (isParseableObject(value)) {\r\n return parser(value);\r\n }\r\n return undefined;\r\n };\r\n\r\n/**\r\n * Creates a parser that takes a value of type unknown and attempts to parse from it an\r\n * array of type T with the provided type T parser. If the value is not an array\r\n * or it is an array but not all values in it are of type T, returns undefined.\r\n * Otherwise returns the parsed array.\r\n * @param typeParser Parser for single values of type T.\r\n */\r\nexport const createArrayParser =\r\n (typeParser: (value: unknown) => T | undefined) =>\r\n (values: unknown): T[] | undefined => {\r\n if (Array.isArray(values)) {\r\n const numberOfEntries = values.length;\r\n const parsedEntries = reduce(\r\n values,\r\n (parsedValues, currentValue) => {\r\n const parsedValue = typeParser(currentValue);\r\n if (parsedValue !== undefined) {\r\n return [...parsedValues, parsedValue];\r\n } else {\r\n return parsedValues;\r\n }\r\n },\r\n [] as T[]\r\n );\r\n if (parsedEntries.length === numberOfEntries) {\r\n return parsedEntries;\r\n }\r\n }\r\n return undefined;\r\n };\r\n\r\nexport const parseString = (value: unknown) => {\r\n if (typeof value === 'string') {\r\n return value;\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const parseStringArray = createArrayParser(parseString);\r\n\r\nexport const parseNumber = (value: unknown, bounds?: { min?: number; max?: number }) => {\r\n if (typeof value === 'number' || typeof value === 'string') {\r\n if (isNumber(value)) {\r\n let parsedNumber = Number(value);\r\n if (bounds?.max !== undefined && parsedNumber > bounds.max) {\r\n parsedNumber = bounds.max;\r\n }\r\n if (bounds?.min !== undefined && parsedNumber < bounds.min) {\r\n parsedNumber = bounds.min;\r\n }\r\n return parsedNumber;\r\n }\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const parseBoolean = (value: unknown) => {\r\n if (value === 'true' || value === true) {\r\n return true;\r\n }\r\n if (value === 'false' || value === false) {\r\n return false;\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const parseValueIncludedIn = (value: unknown, collection: T[]): T | undefined => {\r\n if (includes(collection, value)) {\r\n return value as T;\r\n }\r\n return undefined;\r\n};\r\n\r\n/**\r\n * Given a value of unknown type and an enum, verifies if value exists in enum, and, if so,\r\n * returns value as appropriate type or, if not, returns undefined.\r\n * @param value value to parse\r\n * @param collection enum\r\n */\r\nexport const parseValueFrom = (value: unknown, collection: { [field: string]: T }): T | undefined =>\r\n reduce(\r\n values(collection),\r\n (chosenValue, collectionValue) => {\r\n if (collectionValue === value) {\r\n return value as T;\r\n }\r\n return chosenValue;\r\n },\r\n undefined // if there's no match, return undefined.\r\n );\r\n\r\n/**\r\n * Given a value of unknown type and an enum, verifies if value is an array. If so,\r\n * returns an array of all elements within value that exist in the provided enum.\r\n * If not, returns undefined.\r\n * @param values value to parse\r\n * @param collection enum\r\n */\r\nexport const parseArrayOfValuesFrom = (\r\n values: unknown,\r\n collection: { [field: string]: T }\r\n): Array | undefined => {\r\n if (Array.isArray(values)) {\r\n return reduce(\r\n values,\r\n (chosenValues, value) => {\r\n const parsedValue = parseValueFrom(value, collection);\r\n if (parsedValue !== undefined) {\r\n return [...chosenValues, parsedValue];\r\n }\r\n return chosenValues;\r\n },\r\n []\r\n );\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const pickDefinedProperties = (obj: T) => pickBy(obj, (param) => param !== undefined);\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { usePanelTrackingBackdropLayer } from '@component/panel/WindowScrollViewTrackingContext';\r\nimport { Color } from '@style/Color';\r\n\r\nconst LAYER_Z_INDEX_STEP = 10;\r\nconst BACKDROP_BEHIND_Z_INDEX = 5;\r\n\r\nconst StyledBackDrop = styled.div`\r\n position: absolute;\r\n top: 0;\r\n height: 100%;\r\n width: 100%;\r\n background-color: ${Color.GRAY_DARK};\r\n opacity: 0.6;\r\n`;\r\n\r\nexport const Backdrop: React.FC = () => {\r\n const backdropLayer = usePanelTrackingBackdropLayer();\r\n\r\n return backdropLayer !== undefined && backdropLayer > 0 ? (\r\n \r\n ) : null;\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { t, T } from '@/translate';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\n\r\nexport const NewBadgeContainer = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n width: 36px;\r\n height: 22px;\r\n background-color: ${Color.GREEN_MAIN};\r\n border: 1px solid ${Color.GRAY_SMOKE};\r\n border-radius: 12px;\r\n text-transform: uppercase;\r\n`;\r\nexport const BadgeLabel = styled.span`\r\n color: ${Color.GRAY_LIGHT};\r\n font-size: ${FontSize.Body}px;\r\n margin-top: 2px;\r\n\r\n &:hover {\r\n color: ${Color.GRAY_LIGHT};\r\n }\r\n &:active {\r\n color: ${Color.GRAY_LIGHT};\r\n }\r\n`;\r\n\r\nexport const NewBadge = ({ className }: { className?: string }) => (\r\n \r\n {t(T.common_new)}\r\n \r\n);\r\n","import React from 'react';\r\n\r\nimport { round } from 'lodash';\r\nimport styled from 'styled-components';\r\n\r\nimport { Tooltip } from '@material-ui/core';\r\n\r\nimport { Text, TextStyle } from '@component/text';\r\nimport { Color } from '@style/Color';\r\nimport { FontFamily, FontSize } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\nimport RatingIconSmall from './icon-rating-small.svg';\r\nimport RatingIcon from './icon-rating.svg';\r\n\r\nconst RatingTextSmall = styled.div`\r\n display: block;\r\n color: ${Color.WHITE};\r\n font-size: ${FontSize.Caption}px;\r\n font-family: ${FontFamily.Main};\r\n padding-left: 3px;\r\n margin-top: 1px;\r\n`;\r\n\r\nconst RatingContainer = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n margin-left: 5px;\r\n border-radius: 2px;\r\n padding: 2px 4px;\r\n margin-bottom: 2px;\r\n background-color: ${Color.GREEN_MAIN};\r\n max-height: 14px;\r\n`;\r\n\r\nconst Container = styled.div`\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: baseline;\r\n cursor: pointer;\r\n`;\r\n\r\nexport const RatingBadge: React.FC<{ rating: number; testID: string }> = ({ rating, testID }) => {\r\n return (\r\n \r\n \r\n \r\n \r\n {round(rating, 1)}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const RatingBadgeSmall: React.FC<{ rating: number; testID: string }> = ({ rating, testID }) => {\r\n return (\r\n \r\n \r\n {round(rating, 1)}\r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { ActionIcon } from '@component/icon/ActionIcon';\r\nimport VerifiedBadgeIcon from '@component/menu/icon/checkmark-badge-green.svg';\r\nimport NotVerifiedBadgeIcon from '@component/menu/icon/icon-unverified.svg';\r\nimport { usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { ElementSize } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\ninterface VerificationInfoBadgeProps {\r\n isVerified: boolean | undefined;\r\n testID: string;\r\n style?: React.CSSProperties;\r\n}\r\n\r\ninterface Props extends VerificationInfoBadgeProps {\r\n onRedirect?: () => void;\r\n}\r\n\r\ninterface IconProps {\r\n size?: number;\r\n}\r\n\r\nconst Icon = styled(({ size: size, ...rest }) => )`\r\n height: ${({ size }: IconProps) => size ?? ElementSize.Icon}px;\r\n width: ${({ size }: IconProps) => size ?? ElementSize.Icon}px;\r\n`;\r\n\r\nexport const VerificationBadge: React.FC = ({ isVerified, testID, onRedirect, style }) => {\r\n const { popup, closingPopup } = usePopup();\r\n\r\n const onClick = () => {\r\n if (popup) {\r\n closingPopup();\r\n }\r\n onRedirect?.();\r\n };\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport const VerificationInfoBadge: React.FC = ({ isVerified, testID, style }) => {\r\n return (\r\n \r\n );\r\n};\r\n","import React, { CSSProperties } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { FontSize, FontWeight } from '@style/StyleConstants';\r\nimport { withTheme } from '@style/WithTheme';\r\n\r\nimport { default as ErrorBlockSVG } from './error-block.svg?react';\r\nimport { default as SuccessIcon } from './icon_success.svg?react';\r\nimport { default as WarningIcon } from './icon_warning.svg?react';\r\nimport { default as InfoSVG } from './info.svg?react';\r\nimport { default as OnboardingSVG } from './onboarding.svg?react';\r\n\r\nexport enum BannerType {\r\n Information = 'Information',\r\n Error = 'Error',\r\n Success = 'Success',\r\n Warning = 'Warning',\r\n Onboarding = 'Onboarding',\r\n}\r\n\r\nconst backgroundColorForBannerType = (bannerType: BannerType) => {\r\n switch (bannerType) {\r\n case BannerType.Error:\r\n return Color.RED_BANNER_ERROR;\r\n case BannerType.Warning:\r\n return Color.ORANGE_MARIGOLD;\r\n case BannerType.Onboarding:\r\n case BannerType.Success:\r\n return Color.GREEN_LIGHT;\r\n default:\r\n return Color.BLUE_AZURE;\r\n }\r\n};\r\n\r\nconst underlineColorForBannerType = (bannerType: BannerType) => {\r\n switch (bannerType) {\r\n case BannerType.Error:\r\n return Color.RED_APPLE;\r\n case BannerType.Warning:\r\n return Color.ORANGE_BANNERBORDER;\r\n case BannerType.Onboarding:\r\n case BannerType.Success:\r\n return Color.GREEN_MAIN;\r\n default:\r\n return Color.BLUE_SKY;\r\n }\r\n};\r\n\r\nconst Container = styled(({ bannerType, ...rest }) =>
)`\r\n display: flex;\r\n flex-direction: column;\r\n background-color: ${({ bannerType }: { bannerType: BannerType }) => backgroundColorForBannerType(bannerType)};\r\n`;\r\ninterface FlexContainerProps {\r\n isFromBookNow: boolean;\r\n}\r\n\r\nconst FlexContainer = withTheme()(styled.div`\r\n padding: ${(props: FlexContainerProps) => (props.isFromBookNow ? '12px 16px 4px 16px' : '12px 16px')};\r\n display: flex;\r\n`);\r\n\r\nconst InformationContainer = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n flex-shrink: 1;\r\n margin-left: 16px;\r\n`;\r\n\r\nconst Title = styled.span`\r\n font-size: ${FontSize.Content}px;\r\n font-weight: ${FontWeight.Bold};\r\n margin-bottom: 8px;\r\n`;\r\n\r\nconst Content = styled.span`\r\n font-size: ${FontSize.ContentDetail}px;\r\n`;\r\n\r\nconst Underline = styled(({ bannerType, ...rest }) =>
)`\r\n height: 2px;\r\n background-color: ${({ bannerType }: { bannerType: BannerType }) => underlineColorForBannerType(bannerType)};\r\n`;\r\n\r\ninterface Props {\r\n bannerType: BannerType;\r\n title?: string;\r\n content: React.ReactElement;\r\n isBookNowBanner?: boolean;\r\n noIcon?: boolean;\r\n style?: CSSProperties;\r\n}\r\n\r\nconst iconForBannerType = (bannerType: BannerType) => {\r\n switch (bannerType) {\r\n case BannerType.Error:\r\n return ;\r\n case BannerType.Warning:\r\n return ;\r\n case BannerType.Success:\r\n return ;\r\n case BannerType.Onboarding:\r\n return ;\r\n default:\r\n return ;\r\n }\r\n};\r\n\r\nexport const Banner: React.FC = (props) => (\r\n \r\n \r\n {props.noIcon ? null :
{iconForBannerType(props.bannerType)}
}\r\n \r\n {props.title ? {props.title} : null}\r\n {props.content}\r\n \r\n
\r\n \r\n
\r\n);\r\n","import React from 'react';\r\n\r\nimport { generatePath, useHistory } from 'react-router';\r\nimport styled from 'styled-components';\r\n\r\nimport { Routes } from '@/router/Routes';\r\nimport { VerificationInfoBadge } from '@component/badge/VerificationBadge';\r\nimport { Text } from '@component/text';\r\nimport { useUserVerificationStatus } from '@page/communication/ConversationHelper';\r\nimport { Filter } from '@page/newSettings/panelSectionFilter/SettingsHelper';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize, Spacing } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\nconst Container = styled.div`\r\n border-radius: 6px;\r\n padding: ${Spacing.Mark}px;\r\n display: flex;\r\n margin: ${Spacing.InterSection}px ${Spacing.ScreenSide}px;\r\n background-color: ${Color.ORANGE_MARIGOLD};\r\n border: 1px solid ${Color.ORANGE_BORDER};\r\n`;\r\n\r\nconst Banner = styled(Container)`\r\n flex-direction: column;\r\n border: 0;\r\n border-radius: 0;\r\n border-bottom: 2px solid ${Color.ORANGE_BORDER};\r\n margin: 0 0 ${Spacing.LargePaddingVertical}px 0;\r\n padding-top: ${Spacing.InterSection}px;\r\n`;\r\n\r\nconst RightButton = styled.span`\r\n && {\r\n padding: 0 !important;\r\n display: flex;\r\n font-size: ${FontSize.ContentDetail}px;\r\n align-self: flex-end;\r\n color: ${Color.ORANGE_MAIN};\r\n cursor: pointer;\r\n margin-top: 5px;\r\n }\r\n`;\r\n\r\nexport const ConversationContactNotVerified: React.FC<{ conversationID: string }> = ({ conversationID }) => {\r\n const { isCurrentUserUnverified, isOtherUserUnverified } = useUserVerificationStatus(conversationID);\r\n\r\n if (isOtherUserUnverified) {\r\n return (\r\n \r\n \r\n \r\n {t(T.settings_dotVerification_carrierNotVerified)}\r\n \r\n \r\n );\r\n }\r\n\r\n if (isCurrentUserUnverified) {\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n\r\n return null;\r\n};\r\n\r\nconst VerifyDotContent = () => {\r\n const history = useHistory();\r\n\r\n const onClickVerifyDotNumberButton = () => {\r\n history.push({\r\n pathname: `${generatePath(Routes.MORE_SETTINGS, {\r\n filter: Filter.BusinessProfile,\r\n })}/`,\r\n });\r\n };\r\n return (\r\n <>\r\n
\r\n \r\n \r\n \r\n {t(T.settings_dotVerification_verifyYourDot)}\r\n \r\n {t(T.settings_dotVerification_betterOpportunities)}\r\n \r\n
\r\n \r\n {t(T.common_dotVerification_verifyDotNumber)}\r\n \r\n \r\n );\r\n};\r\n\r\nexport const VerifyDotBanner = () => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n","import styled from 'styled-components';\r\n\r\nimport { Button as MaterialButton } from '@material-ui/core';\r\n\r\nexport const Button = styled(MaterialButton)`\r\n && {\r\n text-transform: none;\r\n padding: 0px;\r\n border-radius: 0px;\r\n text-align: left;\r\n }\r\n`;\r\n","import styled from 'styled-components';\r\n\r\nimport { Button, CircularProgress } from '@material-ui/core';\r\n\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const StyledProgress = withTheme()(styled(CircularProgress)`\r\n && {\r\n color: ${(props: ThemeProps) => props.theme.palette.primary.contrastText};\r\n max-height: 20px;\r\n max-width: 20px;\r\n }\r\n`);\r\n\r\nexport const IconButtonDiv = styled.div`\r\n && {\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n }\r\n`;\r\n\r\nexport const ThemedButton = styled(Button)`\r\n && {\r\n margin: 0 !important;\r\n letter-spacing: 0.08929em;\r\n min-width: 64px;\r\n min-height: 36px;\r\n padding-left: 16px;\r\n padding-right: 16px;\r\n border-radius: 2px;\r\n\r\n > span {\r\n white-space: nowrap;\r\n }\r\n\r\n > span svg {\r\n margin-right: 8px;\r\n margin-left: -6px;\r\n }\r\n\r\n > span div svg {\r\n margin-right: 0px;\r\n margin-left: 0px;\r\n }\r\n }\r\n`;\r\n\r\nexport const PrimaryButton = withTheme()(styled(ThemedButton)`\r\n && {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primaryButton.normalBackground};\r\n border: none;\r\n box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);\r\n color: ${(props: ThemeProps) => props.theme.palette.primaryButton.text};\r\n &:hover {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primaryButton.hoverBackground};\r\n }\r\n &:active {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primaryButton.pressedBackground};\r\n }\r\n &:disabled {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.disabled.main};\r\n color: ${(props: ThemeProps) => props.theme.palette.disabled.dark};\r\n box-shadow: none;\r\n }\r\n }\r\n`);\r\n\r\nexport const SecondaryButton = withTheme()(styled(ThemedButton)`\r\n && {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.secondaryButton.normalBackground};\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.secondaryButton.border};\r\n color: ${(props: ThemeProps) => props.theme.palette.secondaryButton.text};\r\n\r\n &:hover {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.secondaryButton.hoverBackground};\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.secondaryButton.borderHover};\r\n }\r\n &:active {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.secondaryButton.pressedBackground};\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.secondaryButton.borderPressed};\r\n }\r\n &:disabled {\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.disabled.main};\r\n color: ${(props: ThemeProps) => props.theme.palette.disabled.dark};\r\n }\r\n }\r\n`);\r\n\r\nexport const PrimaryHeaderButton = withTheme()(styled(ThemedButton)`\r\n && {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primaryHeaderButton.normalBackground};\r\n border: none;\r\n color: ${(props: ThemeProps) => props.theme.palette.primaryHeaderButton.text};\r\n\r\n &:hover {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primaryHeaderButton.hoverBackground};\r\n }\r\n &:active {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primaryHeaderButton.pressedBackground};\r\n }\r\n &:disabled {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.disabled.main};\r\n color: ${(props: ThemeProps) => props.theme.palette.disabled.dark};\r\n }\r\n }\r\n`);\r\n\r\nexport const SecondaryHeaderButton = withTheme()(styled(ThemedButton)`\r\n && {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.secondaryHeaderButton.normalBackground};\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.secondaryHeaderButton.border};\r\n color: ${(props: ThemeProps) => props.theme.palette.secondaryHeaderButton.text};\r\n\r\n &:hover {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.secondaryHeaderButton.hoverBackground};\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.secondaryHeaderButton.borderHover};\r\n }\r\n &:active {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.secondaryHeaderButton.pressedBackground};\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.secondaryHeaderButton.borderPressed};\r\n }\r\n &:disabled {\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.disabled.main};\r\n color: ${(props: ThemeProps) => props.theme.palette.disabled.dark};\r\n }\r\n }\r\n`);\r\nexport const UnlockButton = withTheme()(styled(ThemedButton)`\r\n && {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.unlockButton.normalBackground};\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.unlockButton.border};\r\n color: ${(props: ThemeProps) => props.theme.palette.unlockButton.text};\r\n\r\n &:hover {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.unlockButton.hoverBackground};\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.unlockButton.borderHover};\r\n }\r\n &:active {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.unlockButton.pressedBackground};\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.unlockButton.borderPressed};\r\n }\r\n &:disabled {\r\n border: solid 1px;\r\n border-color: ${(props: ThemeProps) => props.theme.palette.disabled.main};\r\n color: ${(props: ThemeProps) => props.theme.palette.disabled.dark};\r\n }\r\n }\r\n`);\r\n\r\nexport const TextOnlyButton = styled(Button)`\r\n background: transparent;\r\n font-weight: bold;\r\n`;\r\n","import React from 'react';\r\n\r\nimport { Link } from 'react-router-dom';\r\n\r\nimport { ButtonProps } from '@material-ui/core/Button/Button';\r\n\r\nimport {\r\n PrimaryButton,\r\n PrimaryHeaderButton,\r\n SecondaryButton,\r\n SecondaryHeaderButton,\r\n StyledProgress,\r\n UnlockButton,\r\n} from '@component/button/ButtonThemes';\r\n\r\nexport enum ButtonTypes {\r\n PrimaryButton = 'PrimaryButton',\r\n PrimaryHeaderButton = 'PrimaryHeaderButton',\r\n SecondaryButton = 'SecondaryButton',\r\n SecondaryHeaderButton = 'SecondaryHeaderButton',\r\n UnlockButton = 'UnlockButton',\r\n}\r\n\r\nexport interface CustomButtonProps extends ButtonProps {\r\n id: string;\r\n isLoading?: boolean;\r\n buttonType: ButtonTypes;\r\n /** this is to force an external link (reload browser) even if href is starting with a slash '/' */\r\n externalLink?: boolean;\r\n}\r\n\r\nexport const CustomButton: React.FC = (props) => {\r\n const renderButtonInside = () => {\r\n if (props.isLoading) {\r\n return ;\r\n } else {\r\n return props.children;\r\n }\r\n };\r\n\r\n const buttonProps: any = {\r\n id: props.id,\r\n onClick: onButtonClick(props.onClick, props.isLoading),\r\n disabled: props.disabled,\r\n href: props.href,\r\n target: props.target,\r\n fullWidth: props.fullWidth,\r\n };\r\n\r\n // NOTE: lastIndexOf(xx,0) is the fast-compatible version of startsWith(xx)\r\n if (props.href && props.href.lastIndexOf('/', 0) === 0 && !props.externalLink) {\r\n // use internal routing (react-router) for internal links unless specified otherwise (externalLink = true)\r\n buttonProps.to = props.href;\r\n buttonProps.component = Link;\r\n buttonProps.href = undefined;\r\n }\r\n\r\n switch (props.buttonType) {\r\n case ButtonTypes.PrimaryHeaderButton:\r\n return {renderButtonInside()};\r\n case ButtonTypes.SecondaryButton:\r\n return {renderButtonInside()};\r\n case ButtonTypes.SecondaryHeaderButton:\r\n return {renderButtonInside()};\r\n case ButtonTypes.UnlockButton:\r\n return {renderButtonInside()};\r\n default:\r\n return {renderButtonInside()};\r\n }\r\n};\r\n\r\nexport const onButtonClick = (\r\n onClick: ((event: React.MouseEvent) => void) | undefined,\r\n isLoading: boolean | undefined\r\n) => (!isLoading && onClick ? onClick : undefined);\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@material-ui/core';\r\nimport { ButtonProps } from '@material-ui/core/Button';\r\nimport { default as AddIcon } from '@material-ui/icons/Add';\r\n\r\nimport { MuiButtonVariant } from '@style/Theme';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport enum FabType {\r\n Add,\r\n}\r\n\r\nconst StyledFab = withTheme()(styled(Button)`\r\n && {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primaryButton.normalBackground};\r\n border: none;\r\n box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);\r\n color: ${(props: ThemeProps) => props.theme.palette.primaryButton.text};\r\n &:hover {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primaryButton.hoverBackground};\r\n }\r\n &:active {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primaryButton.pressedBackground};\r\n }\r\n &:disabled {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.disabled.main};\r\n color: ${(props: ThemeProps) => props.theme.palette.disabled.dark};\r\n box-shadow: none;\r\n }\r\n }\r\n`);\r\n\r\nconst HangingFab = styled(StyledFab)`\r\n && {\r\n position: absolute;\r\n margin: 0 20px;\r\n top: 0;\r\n left: 0;\r\n transform: translate(0, -50%);\r\n }\r\n`;\r\n\r\ninterface PlusButtonProps extends ButtonProps {\r\n fabType: FabType;\r\n isHanging?: boolean;\r\n}\r\n\r\nexport const FloatingActionButton: React.FC = (props) => {\r\n const { fabType, isHanging, variant, innerRef, ...standardButtonProps } = props;\r\n const Fab = isHanging ? HangingFab : StyledFab;\r\n return (\r\n \r\n {getFabIcon(fabType)}\r\n \r\n );\r\n};\r\n\r\nconst getFabIcon = (type: FabType) => {\r\n switch (type) {\r\n default:\r\n case FabType.Add:\r\n return ;\r\n }\r\n};\r\n","import React, { Component, RefObject } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@material-ui/core';\r\nimport { ButtonProps } from '@material-ui/core/Button';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\n\r\nexport const MaterialTextButton = styled(Button)`\r\n && {\r\n font-weight: bold;\r\n font-size: ${FontSize.Content}px;\r\n color: ${Color.ORANGE_MAIN};\r\n text-transform: none;\r\n }\r\n`;\r\n\r\ninterface Props extends ButtonProps {\r\n innerRef?: ((instance: any) => void) | RefObject;\r\n}\r\n\r\nexport const TextButton: React.FC = (props) => ;\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { ButtonTypes, CustomButton } from '@component/button/CustomButton';\r\nimport { t, T } from '@translate';\r\nimport { validateFileSize, verifyFormat } from '@util/FileHelper';\r\n\r\nconst HiddenFileUploadBtn = styled.input`\r\n && {\r\n display: none;\r\n }\r\n`;\r\n\r\ninterface UploadButtonProps {\r\n id: string;\r\n buttonLabel: string;\r\n onChange: (file: FormData) => any;\r\n accept: string[];\r\n handleFileInvalid?: (message: string) => void;\r\n disabled?: boolean;\r\n}\r\n\r\nexport const UploadFileButton: React.SFC = (props) => {\r\n let inputRef: HTMLInputElement;\r\n\r\n const handleChange = (event: React.ChangeEvent) => {\r\n if (event.target.files && event.target.files.length > 0) {\r\n const file = event.target.files[0];\r\n\r\n if (verifyFormat(file, props.accept)) {\r\n if (validateFileSize(file)) {\r\n const formData = new FormData();\r\n formData.append('file', file, file.name);\r\n props.onChange(formData);\r\n } else {\r\n inputRef.value = '';\r\n if (props.handleFileInvalid) {\r\n props.handleFileInvalid(t(T.dropBox_File_Too_Big));\r\n }\r\n }\r\n } else {\r\n inputRef.value = '';\r\n if (props.handleFileInvalid) {\r\n props.handleFileInvalid(t(T.dropBox_Invalid_FeedBack));\r\n }\r\n }\r\n }\r\n };\r\n\r\n const handleClick = () => {\r\n inputRef.click();\r\n };\r\n\r\n // use of Ref in isolated class because it seems inevitable when using file input\r\n const setRef = (ref: HTMLInputElement) => {\r\n inputRef = ref;\r\n };\r\n\r\n let acceptString = '';\r\n\r\n if (props.accept.length > 0) {\r\n acceptString = props.accept[0];\r\n }\r\n for (let i = 1; i < props.accept.length; i++) {\r\n acceptString += ', ' + props.accept[i];\r\n }\r\n\r\n return (\r\n \r\n {props.buttonLabel}\r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@component/button/Button';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\nconst ButtonWrapper = styled.div`\r\n display: flex;\r\n flex: 1;\r\n justify-content: flex-end;\r\n`;\r\n\r\nconst StyledButton = styled(Button)`\r\n && {\r\n min-width: auto;\r\n font-size: ${FontSize.Content}px;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n }\r\n`;\r\n\r\ninterface Props {\r\n onClear: () => void;\r\n disabled: boolean | undefined;\r\n}\r\n\r\nexport const ClearButton: React.FC = ({ onClear, disabled }) => (\r\n \r\n \r\n {t(T.common_clear)}\r\n \r\n \r\n);\r\n","import styled from 'styled-components';\r\n\r\nimport { Load } from '@common/model';\r\nimport { MainButton } from '@component/buttons/MainButton';\r\n\r\nexport interface ContactButtonProps {\r\n load?: Load;\r\n isFullSize: boolean;\r\n isLabelHidden?: boolean;\r\n}\r\nexport const ContactsButton = styled(MainButton)`\r\n max-width: ${(props: ContactButtonProps) => (!props.isFullSize ? '48px' : 'undefined')};\r\n min-width: 48px !important;\r\n flex: 1;\r\n > span {\r\n line-height: 18px;\r\n }\r\n`;\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@material-ui/core';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\n\r\nimport { default as FilterSVG } from './filter.svg';\r\n\r\nconst ButtonContainer = styled(Button)`\r\n display: flex;\r\n align-items: center;\r\n && {\r\n text-transform: none;\r\n box-shadow: none;\r\n padding: 2px 4px;\r\n }\r\n`;\r\n\r\nconst Label = styled.span`\r\n font-size: ${FontSize.Content}px;\r\n color: ${Color.WHITE};\r\n padding-right: 4px;\r\n`;\r\n\r\ninterface Props {\r\n onClick: () => void;\r\n}\r\n\r\nexport const FilterButton: React.FC = (props) => (\r\n \r\n \r\n \r\n \r\n);\r\n","import React, { Component } from 'react';\r\n\r\nimport {\r\n StyledActionButtonWrapper,\r\n StyledContent,\r\n StyledControl,\r\n StyledIcon,\r\n} from '@component/buttons/MultipurposeButtonStyle';\r\n\r\ninterface ComponentProps {\r\n id: string;\r\n onClick?: () => void;\r\n mainIcon: string;\r\n controlIcon?: string;\r\n title: string;\r\n subTitle?: string;\r\n onControlClick?: () => void;\r\n}\r\n\r\nexport class IconActionButton extends Component {\r\n handleClick = () => {\r\n const { onClick } = this.props;\r\n if (onClick) {\r\n onClick();\r\n }\r\n };\r\n\r\n handleControlClick = (event: any) => {\r\n const { onControlClick } = this.props;\r\n event.stopPropagation();\r\n if (onControlClick) {\r\n onControlClick();\r\n }\r\n };\r\n\r\n render() {\r\n const { controlIcon, mainIcon, title, subTitle, id, onControlClick } = this.props;\r\n return (\r\n \r\n \r\n \r\n {title}\r\n {subTitle}\r\n \r\n {onControlClick ? (\r\n \r\n {controlIcon && \"c_icon\"}\r\n \r\n ) : null}\r\n \r\n );\r\n }\r\n}\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { FontSize, FontWeight } from '@style/StyleConstants';\r\n\r\ninterface Props {\r\n id: string;\r\n text: string;\r\n tabIndex?: number;\r\n onClick?: () => void;\r\n style?: React.CSSProperties;\r\n}\r\n\r\nconst StyledButton = styled.button`\r\n cursor: pointer;\r\n color: ${Color.ORANGE_MAIN};\r\n border: 0;\r\n background: transparent;\r\n font-size: ${FontSize.Content}px;\r\n font-weight: ${FontWeight.Bold};\r\n padding: 0;\r\n outline: none;\r\n &:focus {\r\n color: ${Color.ORANGE_MAIN_DARK};\r\n }\r\n &:hover {\r\n color: ${Color.ORANGE_MAIN_DARK};\r\n }\r\n`;\r\n\r\nexport const LinkButton: React.FC = ({ text, id, tabIndex, onClick, style }) => (\r\n \r\n {text}\r\n \r\n);\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Button, CircularProgress } from '@material-ui/core';\r\n\r\nimport { onButtonClick } from '@component/button/CustomButton';\r\nimport { Color } from '@style/Color';\r\nimport { ElementSize, FontSize, FontWeight } from '@style/StyleConstants';\r\n\r\nconst GreenButton = styled(({ disabled, ...rest }) =>
\r\n \r\n onSelectMenuItem(UIMenuLayout.Carrier)}>\r\n {t(T.menu_carrier)}\r\n \r\n onSelectMenuItem(UIMenuLayout.BrokerShipper)}>\r\n {t(T.menu_broker)}\r\n \r\n {/* TODO re-enable Integrator link once the final site is up DEV-3486 [BP] */}\r\n {/*props.isIntegrator ? (\r\n window.open(INTEGRATIONS_PORTAL_LINK, '_blank')}>\r\n {t(T.menu_integrator)}\r\n \r\n ) : null*/}\r\n \r\n \r\n );\r\n};\r\n\r\nconst getPrefLabel = (menuLayout: string, opened?: boolean) => {\r\n if (menuLayout === UIMenuLayout.Carrier) {\r\n return t(T.menu_carrier);\r\n }\r\n if (menuLayout === UIMenuLayout.BrokerShipper && !opened) {\r\n return t(T.menu_brokerSmall);\r\n }\r\n return t(T.menu_broker);\r\n};\r\n\r\nconst goDashboardIfNotAlreadyThere = () => {\r\n if (!/^\\/?$/.test(window.location.pathname)) {\r\n history.push(Routes.DASHBOARD);\r\n }\r\n};\r\n","import React, { useEffect, useMemo, useState } from 'react';\r\n\r\nimport { isUndefined, toString } from 'lodash';\r\nimport { connect, useDispatch } from 'react-redux';\r\nimport { generatePath } from 'react-router';\r\nimport { Link, useHistory } from 'react-router-dom';\r\nimport styled from 'styled-components';\r\n\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { Routes } from '@/router/Routes';\r\nimport { formatPhoneNumber, getUserMemberType, userRoleLocalizedText } from '@common/helper';\r\nimport { Flag, Roles, VerificationPointsTaskStatus } from '@common/model';\r\nimport { getVerifiedPhoneStatus } from '@common/redux/epic/VerifyPhoneEpic';\r\nimport { VerificationBadge } from '@component/badge/VerificationBadge';\r\nimport { AlertsIconBadge } from '@component/menu/AlertsIconBadge';\r\nimport { UserAvatar, UserContact, UserInfoText, UserName, UserProfile } from '@component/menu/menuStyles';\r\nimport { usePushPanel } from '@component/panel/PanelHooks';\r\nimport { FORCE_VERIFICATION_URL_QUERY } from '@component/panels/settings/company/BusinessProfileHelper';\r\nimport { usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { Filter } from '@page/newSettings/panelSectionFilter/SettingsHelper';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nimport { default as AvatarIcon } from './icon/icon-add-avatar-24px.svg';\r\nimport { useIsCarrier } from './NavigationMenuHelper';\r\nimport { UserAvatarContainer } from './UserAvatarContainer';\r\n\r\nconst Row = styled.div`\r\n display: flex;\r\n align-items: center;\r\n`;\r\n\r\nconst LinkButton = styled.div`\r\n cursor: pointer;\r\n color: ${Color.ORANGE_MAIN};\r\n margin-left: 8px;\r\n`;\r\n\r\ninterface ReduxProps {\r\n firstName?: string;\r\n lastName?: string;\r\n email?: string;\r\n phone?: string;\r\n roles?: Roles[];\r\n planDisplayName?: string;\r\n phoneVerifiedStatus?: VerificationPointsTaskStatus;\r\n}\r\n\r\ninterface ComponentProps {\r\n isMenuOpen: boolean;\r\n onClick: () => void;\r\n isDisplayingToggle: boolean;\r\n}\r\n\r\ntype Props = ComponentProps & ReduxProps;\r\n\r\nconst MenuUserProfileComponent: React.FC = (props: Props) => {\r\n const dispatch = useDispatch();\r\n const { popup, closingPopup } = usePopup();\r\n const isBroker = !useIsCarrier();\r\n const isSoundNotificationTurnedOn = useSelector(\r\n (state) => state.settings.systemSetting[Flag.MessageSoundAlertsEnabled].value\r\n );\r\n const isUsdotNumberVerified = useSelector((state) => state.user.profile?.payload?.isUsdotNumberVerified);\r\n const companyUsDotNumber = useSelector((state) => toString(state.companyState.company?.usdotNumber));\r\n const company = useSelector((state) => state.companyState.company);\r\n const isReady = useSelector(\r\n (state) =>\r\n state.companyState.didRetrieveCompanyDetailsSuccessfully &&\r\n !!state.user.profile?.payload &&\r\n state.verifyPhone.primaryPhoneVerificationStatus\r\n );\r\n const [currentUsDot, setCurrentUsDot] = useState(companyUsDotNumber);\r\n\r\n const history = useHistory();\r\n\r\n const pushUserProfilePanel = usePushPanel(generatePath(Routes.MORE_SETTINGS, { filter: Filter.Profile }));\r\n const pushBusinessProfilePanel = usePushPanel(generatePath(Routes.MORE_SETTINGS, { filter: Filter.BusinessProfile }));\r\n\r\n useEffect(() => {\r\n dispatch(getVerifiedPhoneStatus());\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (company) {\r\n setCurrentUsDot(companyUsDotNumber);\r\n }\r\n }, [companyUsDotNumber, company]);\r\n\r\n const {\r\n firstName,\r\n lastName,\r\n email,\r\n phone,\r\n roles,\r\n isMenuOpen,\r\n isDisplayingToggle,\r\n onClick,\r\n phoneVerifiedStatus,\r\n planDisplayName,\r\n } = props;\r\n const isPrimaryPhoneVerified = useMemo(\r\n () => phoneVerifiedStatus === VerificationPointsTaskStatus.COMPLETED,\r\n [phoneVerifiedStatus]\r\n );\r\n const userRole = getUserMemberType(roles);\r\n\r\n const onAvatarClick = () => {\r\n if (popup) {\r\n closingPopup();\r\n }\r\n onClick();\r\n };\r\n\r\n const openUserProfilePanel = () => {\r\n pushUserProfilePanel();\r\n onClick();\r\n };\r\n\r\n const openUserProfilePanelWithVerification = () => {\r\n if (isPrimaryPhoneVerified) {\r\n openUserProfilePanel();\r\n } else {\r\n history.push({\r\n pathname: generatePath(Routes.MORE_SETTINGS, { filter: Filter.Profile, subroutes: 'phone' }),\r\n search: `${FORCE_VERIFICATION_URL_QUERY}=1`,\r\n });\r\n onClick();\r\n }\r\n };\r\n\r\n const openBusinessProfile = (pathParam?: string) => {\r\n pushBusinessProfilePanel(pathParam);\r\n onClick();\r\n };\r\n\r\n const openBusinessProfilePanelWithVerification = () => {\r\n if (isUsdotNumberVerified) {\r\n openBusinessProfile();\r\n } else {\r\n history.push({\r\n pathname: generatePath(Routes.MORE_SETTINGS, { filter: Filter.BusinessProfile }),\r\n search: `${FORCE_VERIFICATION_URL_QUERY}=1`,\r\n });\r\n onClick();\r\n }\r\n };\r\n\r\n return (\r\n \r\n \r\n (\r\n \r\n )}\r\n icon={\"avatar_icon\"}\r\n label={planDisplayName || userRoleLocalizedText(userRole)}\r\n firstName={firstName}\r\n lastName={lastName}\r\n onClick={onAvatarClick}\r\n />\r\n \r\n \r\n \r\n {firstName} {lastName}\r\n \r\n {email ? (\r\n \r\n \r\n {email}\r\n \r\n \r\n \r\n ) : null}\r\n {phone ? (\r\n \r\n \r\n {formatPhoneNumber(phone)}\r\n \r\n {phoneVerifiedStatus ? (\r\n \r\n ) : null}\r\n {!isPrimaryPhoneVerified ? (\r\n {t(T.common_verify)}\r\n ) : null}\r\n \r\n ) : null}\r\n {!isBroker ? (\r\n \r\n openBusinessProfile()}>\r\n {`${t(T.settings_businessProfile_dot)} ${currentUsDot}`}\r\n \r\n {!currentUsDot ? (\r\n openBusinessProfile('edit_business_profile')}>{t(T.common_add)}\r\n ) : null}\r\n {currentUsDot ? (\r\n \r\n ) : null}\r\n {currentUsDot && !isUsdotNumberVerified ? (\r\n {t(T.common_verify)}\r\n ) : null}\r\n \r\n ) : null}\r\n \r\n {isBroker && !isUndefined(isSoundNotificationTurnedOn) ? (\r\n \r\n ) : null}\r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = (state: StoreState): ReduxProps => {\r\n return {\r\n firstName: state.user.profile && state.user.profile.payload ? state.user.profile.payload.firstName : undefined,\r\n lastName: state.user.profile && state.user.profile.payload ? state.user.profile.payload.lastName : undefined,\r\n email: state.user.profile && state.user.profile.payload ? state.user.profile.payload.email : undefined,\r\n phone: state.user.profile && state.user.profile.payload ? state.user.profile.payload.phone : undefined,\r\n roles: state.user.profile && state.user.profile.payload ? state.user.profile.payload.roles : undefined,\r\n planDisplayName:\r\n state.user.profile && state.user.profile.payload ? state.user.profile.payload.planDisplayName : undefined,\r\n phoneVerifiedStatus: state.verifyPhone.primaryPhoneVerificationStatus,\r\n };\r\n};\r\n\r\nexport const MenuUserProfile = connect(mapStateToProps)(MenuUserProfileComponent);\r\n","import React from 'react';\r\n\r\nimport { MobileDrawerContent, MobileDrawerHeader } from '@component/main/MobileDrawer';\r\n\r\nimport { MenuHeader } from './MenuHeader';\r\nimport { SideMenuContent } from './SideMenuContent';\r\n\r\nexport const MobileMenu: React.FC = () => (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nimport { startsWith } from 'lodash';\r\nimport { NavLink as RouterNavLink, NavLinkProps } from 'react-router-dom';\r\n\r\ninterface Props extends NavLinkProps {\r\n to: string;\r\n tooltip?: string;\r\n}\r\n\r\nexport const NavLink: React.FC = (props: Props) => {\r\n if (startsWith(props.to, 'https://')) {\r\n const { to, target, id, style, className, tooltip, children } = props;\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n }\r\n\r\n return ;\r\n};\r\n","import { useMemo } from 'react';\r\n\r\nimport { UIMenuLayout } from '@/reduxStore/epic/ApplicationSettingsReducer';\r\nimport { MembersUnderDevelopmentFlag } from '@/reduxStore/reducer/UnderDevelopmentReducer';\r\nimport { hasRoles } from '@common/helper';\r\nimport { Flag, Roles, UserType } from '@common/model';\r\nimport { useIsBiddingEnabled, useIsVendorBidsListEnabled } from '@page/bids/BidStatusHelper';\r\nimport { useSelector } from '@util/hooks';\r\nimport { hasLoginCookies } from '@webApi/CookiesHelper';\r\n\r\nimport { createBrokerNavGroup, createCarrierNavGroup, loggedOutNavMenu } from './menuList';\r\nimport { NavGroups } from './menuTypes';\r\n\r\nconst useBrokerMenu = (isMenuExpanded?: boolean) => {\r\n const isBiddingEnabled = useIsBiddingEnabled();\r\n const isVendorBidsListEnabled = useIsVendorBidsListEnabled();\r\n\r\n const inboxNotificationCount =\r\n useSelector((state) => state.user.userAlerts?.payload?.messagesInfo.unreadMessagesCount) ?? 0;\r\n const loadAlertsCount = useSelector((state) => state.loadSearch.loadSearchAlerts.totalCount);\r\n const isCommunicationEnabled = useSelector((state) => state.communication.isCommunicationsEnabled);\r\n const unreadMessagesCount = useSelector((state) => state.communication.unreadMessagesCount);\r\n const isCapacityFinderEnabled = useSelector(\r\n (state) => !state.settings.systemSetting[Flag.CapacityFinderDisabled].value\r\n );\r\n const bidsUnviewedCountBroker = useSelector((state) => state.bids.summary.brokerUnreadBids);\r\n const isInternalAdmin = useSelector((state) => state.user.accesses.isInternalAdmin);\r\n const isInternalTruckLocatorEnabled = useSelector(\r\n (state) => state.underDevelopment.flags[MembersUnderDevelopmentFlag.InternalTruckLocator]\r\n );\r\n\r\n return useMemo(\r\n () =>\r\n createBrokerNavGroup(\r\n inboxNotificationCount,\r\n unreadMessagesCount,\r\n isCommunicationEnabled ?? false,\r\n bidsUnviewedCountBroker,\r\n isBiddingEnabled ?? false,\r\n isVendorBidsListEnabled ?? false,\r\n (isInternalAdmin && isInternalTruckLocatorEnabled) ?? false,\r\n isCapacityFinderEnabled,\r\n loadAlertsCount,\r\n isMenuExpanded\r\n ),\r\n [\r\n inboxNotificationCount,\r\n unreadMessagesCount,\r\n isCommunicationEnabled,\r\n bidsUnviewedCountBroker,\r\n isBiddingEnabled,\r\n isVendorBidsListEnabled,\r\n isInternalAdmin,\r\n isInternalTruckLocatorEnabled,\r\n isCapacityFinderEnabled,\r\n loadAlertsCount,\r\n isMenuExpanded,\r\n ]\r\n );\r\n};\r\n\r\nconst useCarrierMenu = (isMenuExpanded?: boolean) => {\r\n const isBiddingEnabled = useIsBiddingEnabled();\r\n const isVendorBidsListEnabled = useIsVendorBidsListEnabled();\r\n\r\n const inboxNotificationCount = useSelector(\r\n (state) => state.user.userAlerts?.payload?.messagesInfo.unreadMessagesCount ?? 0\r\n );\r\n const loadAlertsCount = useSelector((state) => state.loadSearch.loadSearchAlerts.totalCount);\r\n const isCommunicationEnabled = useSelector((state) => state.communication.isCommunicationsEnabled);\r\n const unreadMessagesCount = useSelector((state) => state.communication.unreadMessagesCount);\r\n const unreadTruckAlertsCount = useSelector((state) => state.truckAlerts.unreadMessagesCount);\r\n const bidsUnviewedCountCarrier = useSelector((state) => state.bids.summary.carrierUnreadBids);\r\n const userRoles = useSelector((state) => state.user.profile?.payload);\r\n const isTripBuilderEnabled = useSelector(\r\n (state) =>\r\n state.settings.systemSetting[Flag.TripBuilderEnabled].value &&\r\n hasRoles(userRoles?.roles, [Roles.Loadplanner_beta, Roles.Loadplanner])\r\n );\r\n const isLoadPlannerEnabled = useSelector((state) => state.settings.systemSetting[Flag.LoadPlannerEnabled].value);\r\n\r\n return useMemo(\r\n () =>\r\n createCarrierNavGroup(\r\n inboxNotificationCount,\r\n loadAlertsCount,\r\n unreadMessagesCount,\r\n unreadTruckAlertsCount,\r\n isCommunicationEnabled ?? false,\r\n bidsUnviewedCountCarrier,\r\n isBiddingEnabled ?? false,\r\n isVendorBidsListEnabled ?? false,\r\n isTripBuilderEnabled ?? false,\r\n isLoadPlannerEnabled ?? false,\r\n isMenuExpanded\r\n ),\r\n [\r\n inboxNotificationCount,\r\n loadAlertsCount,\r\n unreadMessagesCount,\r\n unreadTruckAlertsCount,\r\n isCommunicationEnabled,\r\n bidsUnviewedCountCarrier,\r\n isBiddingEnabled,\r\n isVendorBidsListEnabled,\r\n isTripBuilderEnabled,\r\n isLoadPlannerEnabled,\r\n isMenuExpanded,\r\n ]\r\n );\r\n};\r\n\r\nexport const isCarrier = (userType: UserType, uiMenuLayout: UIMenuLayout) => {\r\n if (userType === UserType.BrokerCarrier) {\r\n // users with BrokerCarrier category can toggle between Menus, so we rely on uiMenuLayout\r\n return uiMenuLayout === UIMenuLayout.Carrier;\r\n }\r\n\r\n return userType === UserType.Carrier;\r\n};\r\n\r\nexport const useIsCarrier = () => {\r\n // controlled by api, based on CompanyCategory\r\n const userType = useSelector((state) => state.user.userType);\r\n // controlled by UI\r\n const uiMenuLayout = useSelector((state) => state.applicationSettings.uiMenuLayout);\r\n\r\n return isCarrier(userType, uiMenuLayout);\r\n};\r\n\r\nconst useSelectBrokerCarrierMenu = (isMenuExpanded?: boolean) => {\r\n const isCarrier = useIsCarrier();\r\n\r\n const carrierMenu = useCarrierMenu(isMenuExpanded);\r\n const brokerMenu = useBrokerMenu(isMenuExpanded);\r\n\r\n const isProfileFetched = useSelector((state) => state.user.profileFetchedAt !== undefined);\r\n\r\n if (!isProfileFetched) {\r\n return undefined;\r\n }\r\n\r\n return isCarrier ? carrierMenu : brokerMenu;\r\n};\r\n\r\nconst useIsLoggedIn = () => {\r\n const loginFailed = useSelector((state) => state.connectionError.loginFailed);\r\n return hasLoginCookies() && !loginFailed;\r\n};\r\n\r\nexport const useNavGroups = (isMenuExpanded?: boolean): NavGroups[] | undefined => {\r\n const isLoggedIn = useIsLoggedIn();\r\n const brokerCarrierMenu = useSelectBrokerCarrierMenu(isMenuExpanded);\r\n\r\n return !isLoggedIn ? loggedOutNavMenu() : brokerCarrierMenu;\r\n};\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\n\r\nimport { closeMenu, setMenuLayout } from '@/reduxStore/epic/ApplicationSettingsReducer';\r\nimport { UserType } from '@common/model';\r\nimport { useSelector } from '@util/hooks';\r\nimport { Width } from '@util/MediaQueries';\r\nimport { hasLoginCookies } from '@webApi/CookiesHelper';\r\n\r\nimport { MenuFooter } from './MenuFooter';\r\nimport { MenuNav } from './MenuNav';\r\nimport { MenuPreferenceSelect } from './MenuPreferenceSelect';\r\nimport { MenuUserProfile } from './MenuUserProfile';\r\nimport { useNavGroups } from './NavigationMenuHelper';\r\n\r\ninterface Props {\r\n isExpanded: boolean;\r\n}\r\n\r\nexport const SideMenuContent: React.FC = ({ isExpanded }) => {\r\n const navGroups = useNavGroups(isExpanded);\r\n const loginFailed = useSelector((state) => state.connectionError.loginFailed);\r\n const uiMenuLayout = useSelector((state) => state.applicationSettings.uiMenuLayout);\r\n const isIntegrator = useSelector((state) => state.user.profile?.payload?.isIntegrator);\r\n const isBrokerCarrier = useSelector((state) => state.user.userType === UserType.BrokerCarrier);\r\n\r\n const isLoggedIn = hasLoginCookies() && !loginFailed;\r\n const isDisplayingToggle = isLoggedIn && isBrokerCarrier;\r\n\r\n const dispatch = useDispatch();\r\n\r\n const closeMenuIfPossible = () => {\r\n if (!isWidthLargeEnoughForExpandedMenu()) {\r\n dispatch(closeMenu());\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n closeMenuIfPossible();\r\n }, []);\r\n\r\n return (\r\n <>\r\n {isDisplayingToggle ? (\r\n dispatch(setMenuLayout(menuLayout))}\r\n menuLayout={uiMenuLayout}\r\n isMenuOpen={isExpanded}\r\n isIntegrator={isIntegrator}\r\n onClose={closeMenuIfPossible}\r\n />\r\n ) : null}\r\n {isLoggedIn ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const isWidthLargeEnoughForExpandedMenu = (minWidth?: number) =>\r\n window.innerWidth > (minWidth ? minWidth : Width.sideMenuExpansion);\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport ButtonBase, { ButtonBaseProps } from '@material-ui/core/ButtonBase';\r\n\r\nimport { useSelector } from '@/util/hooks';\r\nimport { getInitials } from '@common/helper/UserHelper';\r\nimport { fetchSmallAvatar } from '@common/redux/epic/AvatarEpic';\r\nimport { Color } from '@style/Color';\r\nimport { withTheme } from '@style/WithTheme';\r\n\r\nconst UserProfileButton = withTheme()(styled(ButtonBase)`\r\n && {\r\n display: flex;\r\n flex-direction: column;\r\n justify-items: center;\r\n text-align: center;\r\n width: 74px;\r\n min-width: 74px;\r\n }\r\n`);\r\n\r\nconst IconContainer = styled.div`\r\n height: 40px;\r\n width: 40px;\r\n border-radius: 20px;\r\n border: solid 1px #f7f9fb;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color: white;\r\n font-size: 18px;\r\n`;\r\n\r\nconst TextContainerSmall = styled.div`\r\n margin-top: 3px;\r\n color: ${Color.ORANGE_MAIN};\r\n font-size: 12px;\r\n line-height: 14px;\r\n font-weight: 600;\r\n`;\r\n\r\nconst ImageViewer = styled.img`\r\n max-width: 40px;\r\n max-height: 40px;\r\n height: 40px;\r\n width: 40px;\r\n border-radius: 20px;\r\n background-color: white;\r\n`;\r\n\r\ninterface UserAvatarProps {\r\n id: string;\r\n icon: JSX.Element;\r\n component?: React.ElementType;\r\n href?: string;\r\n label: string | JSX.Element;\r\n firstName?: string;\r\n lastName?: string;\r\n onClick: () => void;\r\n}\r\n\r\nexport const UserAvatarContainer: React.SFC = (props) => {\r\n const currentAvatar = useSelector((state) => state.avatar.currentAvatarSmall);\r\n const isFetchingCurrentAvatar = useSelector((state) => state.avatar.isFetchingForSmall);\r\n const wasAvatarDeleted = useSelector((state) => state.avatar.wasDeleteAvatarCompleted);\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if ((currentAvatar === undefined && !isFetchingCurrentAvatar) || wasAvatarDeleted) {\r\n dispatch(fetchSmallAvatar());\r\n }\r\n }, [currentAvatar, wasAvatarDeleted]);\r\n\r\n return (\r\n \r\n {currentAvatar ? (\r\n \r\n ) : (\r\n \r\n {getInitials({ firstName: props.firstName ?? '', lastName: props.lastName ?? '' })}\r\n \r\n )}\r\n {props.label}\r\n \r\n );\r\n};\r\n","import { compact } from 'lodash';\r\nimport { generatePath } from 'react-router-dom';\r\n\r\nimport { Routes, TruckLocatorRoutes, urlForLoadSearch } from '@/router/Routes';\r\nimport { default as BorderWaitTimesIcon } from '@component/menu/icon/border-wait-times.svg?react';\r\nimport { default as CreditReportIcon } from '@component/menu/icon/credit-report.svg?react';\r\nimport { default as DashboardIcon } from '@component/menu/icon/dashboard.svg?react';\r\nimport { default as ExportPostsIcon } from '@component/menu/icon/export-posts.svg?react';\r\nimport { default as FmcsaSearchIcon } from '@component/menu/icon/fmcsa-search.svg?react';\r\nimport { default as FuelPricesIcon } from '@component/menu/icon/fuel-prices.svg?react';\r\nimport { default as GetPaidFasterIcon } from '@component/menu/icon/get-paid-faster.svg?react';\r\nimport { default as HelpIcon } from '@component/menu/icon/help-icon.svg?react';\r\nimport { default as HotLeadsIcon } from '@component/menu/icon/hot-leads.svg?react';\r\nimport { default as HtmlEmbedCodeIcon } from '@component/menu/icon/html-embed-code.svg?react';\r\nimport { default as BidsIcon } from '@component/menu/icon/icon-bid.svg?react';\r\nimport { default as AnnouncementsIcon } from '@component/menu/icon/icon-bullhorn.svg?react';\r\nimport { default as MessageIcon } from '@component/menu/icon/icon-message.svg?react';\r\nimport { default as LoadPlannerIcon } from '@component/menu/icon/load-planner.svg?react';\r\nimport { default as LoadAvailibilityIcon } from '@component/menu/icon/loadAvailability.svg?react';\r\nimport { default as LogoutIcon } from '@component/menu/icon/logout-icon.svg?react';\r\nimport { default as MileageCalculatorIcon } from '@component/menu/icon/mileage-calculator.svg?react';\r\nimport { default as MyCarriersIcon } from '@component/menu/icon/my-carriers.svg?react';\r\nimport { default as MyCompaniesIcon } from '@component/menu/icon/my-companies.svg?react';\r\nimport { default as MyDocumentsIcon } from '@component/menu/icon/my-documents.svg?react';\r\nimport { default as MyLoadsIcon } from '@component/menu/icon/my-loads.svg?react';\r\nimport { default as MyTruckPostIcon } from '@component/menu/icon/my-truck-post.svg?react';\r\nimport { default as PostIcon } from '@component/menu/icon/post.svg?react';\r\nimport { default as PostingAidIcon } from '@component/menu/icon/posting-aid.svg?react';\r\nimport { default as ProfitCalculatorIcon } from '@component/menu/icon/profit-calculator.svg?react';\r\nimport { default as RateCheckIcon } from '@component/menu/icon/rate-check.svg?react';\r\nimport { default as ReeferRatesIcon } from '@component/menu/icon/reefer-rates.svg?react';\r\nimport { default as RegisterIcon } from '@component/menu/icon/register.svg?react';\r\nimport { default as RoadsideAssistanceIcon } from '@component/menu/icon/roadside-assistance.svg?react';\r\nimport { default as SaveAtThePumpIcon } from '@component/menu/icon/save-at-the-pump.svg?react';\r\nimport { default as SearchDirectoryIcon } from '@component/menu/icon/search-directory.svg?react';\r\nimport { default as SearchTrucksIcon } from '@component/menu/icon/search-trucks.svg?react';\r\nimport { default as SearchIcon } from '@component/menu/icon/search.svg?react';\r\nimport { default as SettingsIcon } from '@component/menu/icon/settings.svg?react';\r\nimport { default as SignInIcon } from '@component/menu/icon/sign-in.svg?react';\r\nimport { default as TmsIntegrationIcon } from '@component/menu/icon/tms-integration.svg?react';\r\nimport { default as TruckingAuthorityIcon } from '@component/menu/icon/trucking-authority.svg?react';\r\nimport { default as UploadPostsIcon } from '@component/menu/icon/upload-posts.svg?react';\r\nimport { NavGroups, NavItem } from '@component/menu/menuTypes';\r\nimport { BidsTabs } from '@page/bids/BidsPanelRouting';\r\nimport { t, T } from '@translate';\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport { SIGNUP_LINK } from '@util/Link';\r\n\r\nconst commonServices = [\r\n {\r\n id: 'menu_services_get_paid_faster_button',\r\n label: t(T.menu_services_getPaidFaster),\r\n href: Routes.TOOLS_GET_PAID_FASTER,\r\n icon: GetPaidFasterIcon,\r\n },\r\n {\r\n id: 'menu_services_save_at_the_pump_button',\r\n label: t(T.menu_services_saveAtThePump),\r\n href: Routes.TOOLS_SAVE_AT_THE_PUMP,\r\n icon: SaveAtThePumpIcon,\r\n },\r\n {\r\n id: 'menu_services_roadside_assistance_button',\r\n label: t(T.menu_services_roadsideAssistance),\r\n href: Routes.TOOLS_ROADSIDE_ASSIST,\r\n icon: RoadsideAssistanceIcon,\r\n },\r\n {\r\n id: 'menu_services_trucking_authority_button',\r\n label: t(T.menu_services_truckingAuthority),\r\n href: Routes.TOOLS_TRUCKING_AUTHORITY,\r\n icon: TruckingAuthorityIcon,\r\n },\r\n];\r\n\r\nexport const loggedOutNavMenu: () => NavGroups[] = () => [\r\n {\r\n id: 'menu_account_title',\r\n label: t(T.menu_account_title),\r\n content: [\r\n {\r\n id: 'menu_account_signin_button',\r\n label: t(T.menu_account_signin),\r\n href: AppConfig.getLoginLink(),\r\n isExternalLink: true,\r\n icon: SignInIcon,\r\n },\r\n {\r\n id: 'menu_account_register_button',\r\n label: t(T.menu_account_register),\r\n href: SIGNUP_LINK,\r\n isExternalLink: true,\r\n icon: RegisterIcon,\r\n },\r\n ],\r\n },\r\n {\r\n id: 'menu_services_title',\r\n label: t(T.menu_services_title),\r\n content: commonServices,\r\n },\r\n];\r\n\r\nconst mainNavGroup = (\r\n announcementsNotificationCount: number,\r\n communicationsUnreadCount: number,\r\n isCommunicationEnabled: boolean,\r\n bidsUnviewedCount: number,\r\n isBiddingEnabled: boolean,\r\n isVendorBidsListEnabled: boolean,\r\n isMenuExpanded?: boolean\r\n): NavGroups => {\r\n return {\r\n id: 'menu_main_title',\r\n label: t(T.menu_main_title),\r\n content: [\r\n {\r\n id: 'menu_main_dashboard_button',\r\n label: t(T.menu_main_dashboard),\r\n href: Routes.DASHBOARD,\r\n icon: DashboardIcon,\r\n exact: true,\r\n },\r\n {\r\n id: 'menu_main_inbox_button',\r\n label:\r\n isMenuExpanded === false\r\n ? t(T.common_announcements_announcementsNewLine)\r\n : t(T.common_announcements_announcements),\r\n href: Routes.ANNOUNCEMENTS,\r\n icon: AnnouncementsIcon,\r\n notificationCount: announcementsNotificationCount,\r\n additionalLinksToMatch: ['/view-announcement/'],\r\n },\r\n {\r\n id: 'menu_main_communication_button',\r\n label: t(T.menu_main_messages),\r\n href: generatePath(Routes.COMMUNICATION),\r\n icon: MessageIcon,\r\n notificationCount: communicationsUnreadCount,\r\n additionalLinksToMatch: ['/communication/'],\r\n isHidden: !isCommunicationEnabled,\r\n },\r\n {\r\n id: 'menu_main_bids_button',\r\n label: t(T.Header_Bids),\r\n href: generatePath(Routes.BIDS_BASE_ROUTE, {\r\n tab: isVendorBidsListEnabled ? BidsTabs.Bids : BidsTabs.InteractiveBids,\r\n }),\r\n icon: BidsIcon,\r\n notificationCount: isBiddingEnabled ? bidsUnviewedCount : 0,\r\n additionalLinksToMatch: ['/bids/'],\r\n isHidden: !isBiddingEnabled && !isVendorBidsListEnabled,\r\n },\r\n ],\r\n };\r\n};\r\n\r\nconst resources = (isBroker?: boolean): NavGroups => ({\r\n id: 'menu_resources_title',\r\n label: t(T.menu_resources_title),\r\n content: [\r\n {\r\n id: 'menu_resources_fuel_prices_button',\r\n label: t(T.menu_resources_fuelPrices),\r\n href: Routes.TOOLS_FUEL_PRICES,\r\n icon: FuelPricesIcon,\r\n },\r\n {\r\n id: 'menu_resources_fmsca_search_button',\r\n label: t(T.menu_resources_fmcsaSearch),\r\n href: Routes.TOOLS_FMCSA_SEARCH,\r\n icon: FmcsaSearchIcon,\r\n },\r\n {\r\n id: 'menu_resources_credit_report_button',\r\n label: t(T.menu_resources_creditReport),\r\n href: Routes.RESOURCES_CREDIT_REPORT,\r\n icon: CreditReportIcon,\r\n isHidden: isBroker,\r\n },\r\n {\r\n id: 'menu_resources_search_directory_button',\r\n label: t(T.menu_resources_searchDirectory),\r\n href: Routes.RESOURCES_SEARCH_DIRECTORY_BASE,\r\n icon: SearchDirectoryIcon,\r\n exact: false,\r\n isNewOrUpdated: true,\r\n },\r\n {\r\n id: 'menu_resources_reefer_rates_button',\r\n label: t(T.menu_resources_reeferRates),\r\n href: Routes.TOOLS_REEFER_RATES,\r\n icon: ReeferRatesIcon,\r\n },\r\n {\r\n id: 'menu_resources_border_wait_time_button',\r\n label: t(T.menu_resources_borderWaitTimes),\r\n href: Routes.TOOLS_BORDER_WAIT_TIMES,\r\n icon: BorderWaitTimesIcon,\r\n },\r\n ],\r\n});\r\n\r\nconst moreNavGroup = (): NavGroups => {\r\n const content: NavItem[] = compact([\r\n {\r\n id: 'menu_more_settings_button',\r\n label: t(T.menu_more_settings),\r\n href: Routes.MORE_SETTINGS_BASE_ROUTE,\r\n icon: SettingsIcon,\r\n exact: false,\r\n },\r\n {\r\n id: 'menu_more_help_button',\r\n label: t(T.menu_more_help),\r\n href: Routes.MORE_HELP_BASE_ROUTE,\r\n icon: HelpIcon,\r\n exact: false,\r\n },\r\n {\r\n id: 'menu_more_logout_button',\r\n label: t(T.menu_more_logout),\r\n href: Routes.MORE_LOGOUT,\r\n icon: LogoutIcon,\r\n },\r\n ]);\r\n\r\n return {\r\n id: 'menu_more_title',\r\n label: t(T.menu_more_title),\r\n content: content,\r\n };\r\n};\r\n\r\nexport const createCarrierNavGroup = (\r\n announcementsNotificationCount: number,\r\n loadAlertsCount: number,\r\n unreadMessagesCount: number,\r\n unreadTruckAlertsCount: number,\r\n isCommunicationEnabled: boolean,\r\n bidsUnviewedCount: number,\r\n isBiddingEnabled: boolean,\r\n isVendorBidsListEnabled: boolean,\r\n isTripBuilderEnabled: boolean,\r\n isLoadPlannerEnabled: boolean,\r\n isMenuExpanded?: boolean\r\n): NavGroups[] => [\r\n mainNavGroup(\r\n announcementsNotificationCount,\r\n unreadMessagesCount,\r\n isCommunicationEnabled,\r\n bidsUnviewedCount,\r\n isBiddingEnabled,\r\n isVendorBidsListEnabled,\r\n isMenuExpanded\r\n ),\r\n {\r\n id: 'menu_loads_title',\r\n label: t(T.menu_loads_title),\r\n content: [\r\n {\r\n id: 'menu_loads_find_loads_button',\r\n label: t(T.menu_loads_findLoads),\r\n href: urlForLoadSearch,\r\n icon: SearchIcon,\r\n notificationCount: loadAlertsCount,\r\n },\r\n {\r\n id: 'menu_loads_availability_button',\r\n label: t(T.menu_loads_loadAvailability),\r\n href: `${generatePath(Routes.LOADS_LOAD_AVAILABILITY_MAP, {})}/`,\r\n icon: LoadAvailibilityIcon,\r\n exact: false,\r\n },\r\n {\r\n id: 'menu_loads_load_planner_button',\r\n label: t(T.menu_loads_loadPlanner),\r\n href: generatePath(Routes.LOADS_LOAD_PLANNER),\r\n icon: LoadPlannerIcon,\r\n isHidden: !isLoadPlannerEnabled,\r\n },\r\n {\r\n id: 'menu_loads_trip_builder_button',\r\n label: t(T.menu_loads_tripBuilder),\r\n href: generatePath(Routes.TRIP_BUILDER_BASE_URL),\r\n icon: LoadPlannerIcon,\r\n isHidden: !isTripBuilderEnabled,\r\n isNewOrUpdated: true,\r\n },\r\n {\r\n id: 'menu_loads_my_loads_button',\r\n label: t(T.menu_loads_myLoads),\r\n href: `${generatePath(Routes.LOADS_MY_LOADS, {})}/`,\r\n icon: MyLoadsIcon,\r\n exact: false,\r\n },\r\n {\r\n id: 'menu_loads_my_companies_button',\r\n label: t(T.menu_companies_myCompanies),\r\n href: `${generatePath(Routes.LOADS_COMPANIES, {})}/`,\r\n icon: MyCompaniesIcon,\r\n },\r\n ],\r\n },\r\n {\r\n id: 'menu_mytrucks_title',\r\n label: t(T.menu_myTrucks_title),\r\n content: [\r\n {\r\n id: 'menu_mytrucks_post_button',\r\n label: t(T.menu_myTrucks_post),\r\n href: Routes.MYTRUCKS_POST_BASE,\r\n icon: MyTruckPostIcon,\r\n notificationCount: unreadTruckAlertsCount,\r\n exact: false,\r\n },\r\n ],\r\n },\r\n {\r\n id: 'menu_tools_title',\r\n label: t(T.menu_tools_title),\r\n content: [\r\n {\r\n id: 'menu_tools_market_rates_button',\r\n label: t(T.marketRates_searchForm_marketRates),\r\n href: generatePath(Routes.TOOLS_MARKET_RATES_CARRIER, {}),\r\n icon: RateCheckIcon,\r\n isNewOrUpdated: true,\r\n },\r\n {\r\n id: 'menu_tools_profit_calculator_button',\r\n label: t(T.menu_tools_profitCalculator),\r\n href: generatePath(Routes.TOOLS_PROFIT_CALCULATOR_PAGE, {}),\r\n icon: ProfitCalculatorIcon,\r\n },\r\n {\r\n id: 'menu_tools_mileage_calculator_button',\r\n label: t(T.menu_tools_mileageCalculator),\r\n href: Routes.TOOLS_MILEAGE_CALCULATOR,\r\n icon: MileageCalculatorIcon,\r\n },\r\n {\r\n id: 'menu_tools_my_documents_button',\r\n label: t(T.menu_tools_myDocuments),\r\n href: generatePath(Routes.TOOLS_MY_DOCUMENTS, { viewType: 'folders' }),\r\n icon: MyDocumentsIcon,\r\n exact: false,\r\n },\r\n ],\r\n },\r\n {\r\n id: 'menu_services_title',\r\n label: t(T.menu_services_title),\r\n content: commonServices,\r\n },\r\n resources(),\r\n moreNavGroup(),\r\n];\r\n\r\nexport const createBrokerNavGroup = (\r\n inboxNotificationCount: number,\r\n communicationsUnreadCount: number,\r\n isCommunicationEnabled: boolean,\r\n bidsUnviewedCount: number,\r\n isBiddingEnabled: boolean,\r\n isVendorBidsListEnabled: boolean,\r\n isInternalTruckLocatorEnabled: boolean,\r\n isCapacityFinderEnabled: boolean,\r\n loadAlertsCount: number,\r\n isMenuExpanded?: boolean\r\n): NavGroups[] => [\r\n mainNavGroup(\r\n inboxNotificationCount,\r\n communicationsUnreadCount,\r\n isCommunicationEnabled,\r\n bidsUnviewedCount,\r\n isBiddingEnabled,\r\n isVendorBidsListEnabled,\r\n isMenuExpanded\r\n ),\r\n {\r\n id: 'menu_myloads_title',\r\n label: t(T.menu_myLoads_title),\r\n content: [\r\n {\r\n id: 'menu_myloads_post_button',\r\n label: t(T.menu_myLoads_post),\r\n href: `${generatePath(Routes.LOADS_MY_LOADS_POST, {})}/`,\r\n icon: PostIcon,\r\n exact: false,\r\n },\r\n {\r\n id: 'menu_myloads_upload_posts_button',\r\n label: t(T.menu_myLoads_uploadPosts),\r\n href: Routes.MYLOADS_UPLOADPOSTS,\r\n icon: UploadPostsIcon,\r\n },\r\n {\r\n id: 'menu_myloads_export_posts_button',\r\n label: t(T.menu_myLoads_exportPosts),\r\n href: Routes.MYLOADS_EXPORTPOSTS,\r\n icon: ExportPostsIcon,\r\n },\r\n ],\r\n },\r\n {\r\n id: 'menu_findtrucks_title',\r\n label: t(T.menu_findTrucks_title),\r\n content: [\r\n {\r\n id: 'menu_internal_findtrucks_search_button',\r\n label: t(T.Header_Internal_Truck_Locator),\r\n href: generatePath(Routes.FINDTRUCKS_TRUCKLOCATOR, {\r\n truckLocatorType: TruckLocatorRoutes.InternalTruckLocator,\r\n }),\r\n icon: SearchTrucksIcon,\r\n exact: false,\r\n isHidden: !isInternalTruckLocatorEnabled,\r\n },\r\n {\r\n id: 'menu_findtrucks_capacity_finder_button',\r\n label: t(T.capacityFinder_title),\r\n href: generatePath(Routes.TOOLS_CAPACITY_FINDER, {}),\r\n icon: HotLeadsIcon,\r\n isNewOrUpdated: true,\r\n isHidden: !isCapacityFinderEnabled,\r\n },\r\n {\r\n id: 'menu_findtrucks_search_button',\r\n label: t(T.menu_findTrucks_search),\r\n href: generatePath(Routes.FINDTRUCKS_TRUCKLOCATOR, { truckLocatorType: TruckLocatorRoutes.TruckLocator }),\r\n icon: SearchTrucksIcon,\r\n exact: false,\r\n },\r\n {\r\n id: 'menu_tools_hot_leads_button',\r\n label: t(T.menu_tools_hotLeads),\r\n href: Routes.TOOLS_HOT_LEADS,\r\n icon: HotLeadsIcon,\r\n isHidden: isCapacityFinderEnabled,\r\n },\r\n {\r\n id: 'menu_findtrucks_my_carriers_button',\r\n label: t(T.menu_findTrucks_myCarriers),\r\n href: `${generatePath(Routes.LOADS_CARRIERS, {})}/`,\r\n icon: MyCarriersIcon,\r\n },\r\n ],\r\n },\r\n {\r\n id: 'menu_tools_title',\r\n label: t(T.menu_tools_title),\r\n content: compact([\r\n {\r\n id: 'menu_tools_market_rates_button',\r\n label: t(T.marketRates_searchForm_marketRates),\r\n href: generatePath(Routes.TOOLS_MARKET_RATES, {}),\r\n icon: RateCheckIcon,\r\n isNewOrUpdated: true,\r\n },\r\n {\r\n id: 'menu_tools_mileage_calculator_button',\r\n label: t(T.menu_tools_mileageCalculator),\r\n href: Routes.TOOLS_MILEAGE_CALCULATOR,\r\n icon: MileageCalculatorIcon,\r\n },\r\n {\r\n id: 'menu_tools_my_documents_button',\r\n label: t(T.menu_tools_myDocuments),\r\n href: generatePath(Routes.TOOLS_MY_DOCUMENTS, { viewType: 'folders' }),\r\n icon: MyDocumentsIcon,\r\n exact: false,\r\n },\r\n {\r\n id: 'menu_tools_find_loads_button',\r\n label: t(T.menu_loads_findLoads),\r\n href: urlForLoadSearch,\r\n icon: SearchIcon,\r\n notificationCount: loadAlertsCount,\r\n },\r\n {\r\n id: 'menu_tools_availability_button',\r\n label: t(T.menu_loads_loadAvailability),\r\n href: `${generatePath(Routes.LOADS_LOAD_AVAILABILITY_MAP, {})}/`,\r\n icon: LoadAvailibilityIcon,\r\n exact: false,\r\n },\r\n ]),\r\n },\r\n {\r\n id: 'menu_integrationServices_title',\r\n label: t(T.menu_integrationServices_title),\r\n content: [\r\n {\r\n id: 'menu_integrationServices_tms_integration_button',\r\n label: t(T.menu_integrationServices_tmsIntegration),\r\n href: Routes.INTEGRATION_SERVICES_TMSINT,\r\n icon: TmsIntegrationIcon,\r\n },\r\n {\r\n id: 'menu_integrationServices_html_embed_code_button',\r\n label: t(T.menu_integrationServices_htmlEmbed),\r\n href: Routes.INTEGRATION_SERVICES_HTMLEMBED,\r\n icon: HtmlEmbedCodeIcon,\r\n },\r\n {\r\n id: 'menu_integrationServices_posting_aid_button',\r\n label: t(T.menu_integrationServices_postingAid),\r\n href: Routes.INTEGRATION_SERVICES_POSTINGAID,\r\n icon: PostingAidIcon,\r\n },\r\n ],\r\n },\r\n resources(true),\r\n moreNavGroup(),\r\n];\r\n","import React from 'react';\r\n\r\nimport SimpleBar from 'simplebar-react';\r\nimport styled from 'styled-components';\r\n\r\nimport { Link } from '@material-ui/core';\r\n\r\nimport { NewBadge } from '@component/badge/NewBadge';\r\nimport { OpenedProps } from '@component/menu/menuTypes';\r\nimport { Color } from '@style/Color';\r\nimport { ElementSize, FontFamily, FontLineHeight, FontSize, FontWeight } from '@style/StyleConstants';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nimport { NavLink } from './NavLink';\r\n\r\nexport const DESKTOP_MENU_TRANSITION_MS = 150;\r\nexport const DESKTOP_MENU_TRANSITION_TIMINGFUNC = 'cubic-bezier(0.765, 0.005, 0.755, 0.605)';\r\n\r\nexport const MENU_HEADER_HEIGHT = 60;\r\nexport const MENU_ICON_SIZE = 30;\r\n\r\nconst BaseText = styled.div`\r\n font-family: ${FontFamily.Main};\r\n color: ${Color.GRAY_LIGHT};\r\n`;\r\n\r\nexport const MenuSimpleBar = withTheme()(styled>(\r\n ({ opened, ...rest }) => \r\n)`\r\n display: flex;\r\n flex-direction: column;\r\n height: calc(100vh - ${ElementSize.HamburgerMenuHeight}px);\r\n overflow-y: auto;\r\n overflow-x: hidden;\r\n .simplebar-scrollbar::before {\r\n background-color: #fff;\r\n left: ${({ opened }) => (opened ? `3` : `7`)}px;\r\n right: ${({ opened }) => (opened ? `2` : `1`)}px;\r\n }\r\n .simplebar-scrollbar.simplebar-visible::before {\r\n opacity: 0.3;\r\n }\r\n`);\r\n\r\nexport const UserProfile = styled(\r\n ({ opened, isDisplayingToggle, ...rest }) => \r\n)`\r\n display: flex;\r\n flex-direction: row;\r\n padding-top: ${({ isDisplayingToggle }) => (isDisplayingToggle ? 0 : 20)}px;\r\n padding-bottom: ${({ opened }) => (opened ? 10 : 20)}px;\r\n border-bottom: 2px ${Color.GREEN_MAIN} solid;\r\n max-height: ${({ opened }) => (opened ? 120 : 88)}px;\r\n transition: max-height ${DESKTOP_MENU_TRANSITION_MS}ms ${DESKTOP_MENU_TRANSITION_TIMINGFUNC};\r\n overflow: visible;\r\n position: relative;\r\n`;\r\n\r\nexport const UserAvatar = styled(BaseText)`\r\n display: flex;\r\n flex-direction: column;\r\n justify-items: center;\r\n text-align: center;\r\n width: 74px;\r\n min-width: 74px;\r\n`;\r\n\r\nexport const UserInfoText = styled(BaseText)`\r\n display: flex;\r\n flex-direction: column;\r\n min-width: 226px;\r\n`;\r\n\r\nexport const UserName = styled>(({ opened, ...rest }) => (\r\n \r\n))`\r\n font-size: ${FontSize.Content}px;\r\n line-height: 20px;\r\n font-weight: ${FontWeight.SemiBold};\r\n margin-right: 18px;\r\n word-break: break-all;\r\n cursor: pointer;\r\n`;\r\n\r\nexport const UserContact = styled>(({ opened, ...rest }) => (\r\n \r\n))`\r\n margin-top: 1px;\r\n font-size: ${FontSize.ContentDetail}px;\r\n line-height: 22px;\r\n margin-right: 2px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n max-width: 200px;\r\n cursor: pointer;\r\n`;\r\n\r\nexport const PrefLabel = styled(({ opened, ...rest }) =>
)`\r\n color: ${Color.WHITE};\r\n font-size: ${({ opened }) => (opened ? FontSize.ModalTitle : FontSize.Body)}px;\r\n line-height: ${({ opened }) => (opened ? FontLineHeight.ModalTitle : FontLineHeight.Body)}px;\r\n font-family: ${FontFamily.Main};\r\n font-weight: ${FontWeight.SemiBold};\r\n text-transform: none;\r\n text-align: center;\r\n transition: line-height, font-size ${DESKTOP_MENU_TRANSITION_MS}ms ${DESKTOP_MENU_TRANSITION_TIMINGFUNC};\r\n margin-bottom: ${({ opened }) => (!opened ? '-12px' : '')};\r\n`;\r\n\r\nexport const HeaderLabel = styled(({ opened, ...rest }) =>
)`\r\n color: ${Color.WHITE};\r\n font-size: ${({ opened }) => (opened ? FontSize.ModalTitle : FontSize.Body)}px;\r\n line-height: ${({ opened }) => (opened ? FontLineHeight.ModalTitle : FontLineHeight.Body)}px;\r\n font-family: ${FontFamily.Main};\r\n font-weight: ${FontWeight.SemiBold};\r\n text-transform: none;\r\n text-align: ${({ opened }) => (opened ? 'left' : 'center')};\r\n margin-left: ${({ opened }) => (opened ? '15px' : '0')};\r\n transition: line-height, font-size ${DESKTOP_MENU_TRANSITION_MS}ms ${DESKTOP_MENU_TRANSITION_TIMINGFUNC};\r\n max-width: 100%;\r\n`;\r\n\r\nexport const SvgContainer = styled.div`\r\n height: 24px;\r\n z-index: 1;\r\n`;\r\n\r\nexport const MenuNavLink = styled(NavLink)`\r\n && {\r\n display: flex;\r\n flex-direction: column;\r\n justify-items: center;\r\n align-items: center;\r\n text-decoration: none;\r\n position: relative;\r\n background-color: ${Color.GRAY_MAGNET};\r\n font-weight: ${FontWeight.Regular};\r\n }\r\n\r\n svg {\r\n stroke: ${Color.GRAY_LIGHT};\r\n fill: ${Color.GRAY_LIGHT};\r\n }\r\n\r\n &:hover {\r\n svg {\r\n stroke: ${Color.GRAY_STONE};\r\n fill: ${Color.GRAY_STONE};\r\n }\r\n div {\r\n color: ${Color.GRAY_STONE};\r\n }\r\n }\r\n\r\n &.active {\r\n color: black;\r\n div {\r\n color: ${Color.ORANGE_MAIN};\r\n font-weight: ${FontWeight.SemiBold};\r\n }\r\n svg {\r\n stroke: ${Color.GRAY_LIGHT};\r\n fill: ${Color.GRAY_LIGHT};\r\n }\r\n }\r\n &.active::before {\r\n display: block;\r\n background-color: ${Color.ORANGE_MAIN};\r\n width: 34px;\r\n height: 34px;\r\n border-radius: 17px;\r\n position: absolute;\r\n left: 15px;\r\n top: 6px;\r\n content: ' ';\r\n }\r\n`;\r\n\r\nexport const OldLink = styled(Link)`\r\n && {\r\n display: flex;\r\n flex-direction: row;\r\n padding-left: 20px;\r\n justify-items: center;\r\n align-items: center;\r\n text-decoration: none;\r\n background-color: ${Color.GRAY_MAGNET};\r\n }\r\n\r\n && svg {\r\n stroke: ${Color.GRAY_LIGHT};\r\n fill: ${Color.GRAY_LIGHT};\r\n }\r\n\r\n &&:hover {\r\n text-decoration: none;\r\n svg {\r\n stroke: ${Color.GRAY_STONE};\r\n fill: ${Color.GRAY_STONE};\r\n }\r\n div {\r\n color: ${Color.GRAY_STONE};\r\n }\r\n }\r\n`;\r\n\r\nexport const NavLabel = styled.div`\r\n margin-left: 25px;\r\n font-size: ${FontSize.Content}px;\r\n color: white;\r\n line-height: 44px;\r\n font-family: ${FontFamily.Main};\r\n white-space: nowrap;\r\n`;\r\n\r\nexport const CopyrightText = styled(Link)`\r\n && {\r\n font-size: ${FontSize.Body}px;\r\n font-family: ${FontFamily.Main};\r\n font-weight: ${FontWeight.Regular};\r\n color: ${Color.GRAY_LIGHT};\r\n text-align: center;\r\n }\r\n`;\r\n\r\nexport const VersionFooter = styled.div`\r\n font-size: ${FontSize.TinyBody}px;\r\n font-family: ${FontFamily.Main};\r\n font-weight: normal;\r\n color: ${Color.GRAY_STONE};\r\n opacity: 0.6;\r\n text-align: center;\r\n margin-top: 0px;\r\n margin-bottom: -10px;\r\n`;\r\n\r\nexport const Header = withTheme()(styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n height: ${MENU_HEADER_HEIGHT}px;\r\n min-height: ${MENU_HEADER_HEIGHT}px;\r\n`);\r\n\r\nexport const AppLogoContainer = withTheme()(styled.button`\r\n display: flex;\r\n align-items: center;\r\n background: inherit;\r\n cursor: pointer;\r\n border: none;\r\n outline: none;\r\n padding: 0;\r\n`);\r\n\r\nexport const SideMenuIconButton = styled.button`\r\n background: inherit;\r\n cursor: pointer;\r\n border: none;\r\n padding: 0 22px;\r\n height: 60px;\r\n outline: none; /* chrome user agent stylesheet has outline on :focus */\r\n`;\r\n\r\nexport const Footer = styled.div`\r\n display: block;\r\n text-align: center;\r\n margin-top: 53px;\r\n transition: opacity, height ${DESKTOP_MENU_TRANSITION_MS}ms ${DESKTOP_MENU_TRANSITION_TIMINGFUNC};\r\n opacity: ${({ opened }) => (opened ? '1' : '0')};\r\n height: ${({ opened }) => (opened ? '100%' : '0')};\r\n font-family: ${FontFamily.Main};\r\n font-size: ${FontSize.Body}px;\r\n color: ${Color.GRAY_LIGHT};\r\n line-height: 22px;\r\n min-width: 300px;\r\n padding-bottom: 30px;\r\n`;\r\n\r\nexport const FooterLogoContainer = withTheme()(styled.div`\r\n height: 40px;\r\n display: flex;\r\n justify-content: center;\r\n margin-bottom: 20px;\r\n`);\r\n\r\nexport const FooterLogo = styled.img`\r\n height: 40px !important;\r\n`;\r\n\r\nexport const FooterIconLink = styled.a`\r\n padding: 0 5px;\r\n`;\r\n\r\nexport const StyledLink = styled(Link)`\r\n && {\r\n font-size: ${FontSize.Body}px;\r\n color: ${Color.GRAY_LIGHT};\r\n line-height: 22px;\r\n }\r\n &&:hover {\r\n text-decoration: none;\r\n color: ${Color.GRAY_STONE};\r\n }\r\n`;\r\n\r\nexport const MenuLabel = styled(NavLabel)`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n width: 100%;\r\n`;\r\n\r\nexport const NotificationCount = withTheme()(styled(BaseText)<{\r\n opened: boolean;\r\n hasNotifications: boolean;\r\n isMessageWidget?: boolean;\r\n isConversationList?: boolean;\r\n}>`\r\n display: inline-block;\r\n font-size: 13px;\r\n\r\n line-height: ${(props) => (!props.isMessageWidget ? '24px' : '')};\r\n width: ${(props) => (!props.isMessageWidget ? '30px' : '')};\r\n height: ${(props) => (!props.isMessageWidget ? '22px' : '')};\r\n\r\n color: ${Color.GRAY_LIGHT} !important;\r\n margin: auto 20px;\r\n opacity: ${(props) => (props.hasNotifications ? 1 : 0)};\r\n transition: opacity 500ms ease;\r\n text-align: center;\r\n background-color: ${Color.RED_APPLE};\r\n border: ${(props) => (props.isConversationList ? `solid 1px ${Color.RED_APPLE}` : `solid 1px ${Color.GRAY_SMOKE}`)};\r\n border-radius: 17px;\r\n @media (min-width: ${(props: ThemeProps) => props.theme.breakpoints.values.sm}px) {\r\n margin: 0;\r\n transition: opacity 500ms ease, top ${DESKTOP_MENU_TRANSITION_MS}ms ${DESKTOP_MENU_TRANSITION_TIMINGFUNC};\r\n position: absolute;\r\n right: ${({ opened }) => (opened ? 21 : 5)}px;\r\n top: ${({ opened }) => (opened ? 'auto' : 2)}px;\r\n z-index: 1;\r\n }\r\n justify-content: flex-end;\r\n`);\r\n\r\nexport const IconsContainer = styled.div`\r\n display: flex;\r\n margin: 20px 34px 20px 34px;\r\n justify-content: space-between;\r\n`;\r\n\r\nexport const MenuItemNewBadge = styled(NewBadge)`\r\n position: absolute;\r\n right: ${(props: { opened: boolean }) => (props.opened ? 21 : 5)}px;\r\n top: ${(props: { opened: boolean }) => (props.opened ? 'auto' : '2px')};\r\n align-self: center;\r\n`;\r\n\r\nexport const RedDot = styled.div`\r\n width: 9px;\r\n height: 9px;\r\n align-self: center;\r\n margin-right: 4px;\r\n border: 1px solid white;\r\n border-radius: 5px;\r\n box-sizing: border-box;\r\n background-color: ${Color.RED_APPLE};\r\n`;\r\n\r\nexport const BadgeOverlay = styled.div`\r\n position: absolute;\r\n right: 0;\r\n top: 0;\r\n left: 0;\r\n bottom: 0;\r\n z-index: 1;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n`;\r\n\r\nexport const NavLinkLabel = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n text-align: center;\r\n font-size: ${FontSize.SmallBody}px;\r\n color: ${Color.WHITE};\r\n margin-top: -4px;\r\n background-color: ${Color.GRAY_MAGNET};\r\n`;\r\n","import React from 'react';\r\n\r\nimport { APPSTORE_LINK, GOOGLEPLAY_LINK } from '@common/info';\r\n\r\nimport appStore_logo from './images/appstore.svg';\r\nimport googlePlay_logo from './images/googleplay.svg';\r\nimport { ComplexIconLink, ComplexLogo, ComplexLogoContainer } from './MobileStoreLinkStyle';\r\n\r\nconst getComplexLogoButton = (logoSrc: string, href: string, id: string) => (\r\n \r\n \r\n \r\n);\r\n\r\ninterface LogoLinkProps {\r\n page_Id_Prefix: string;\r\n}\r\n\r\nexport const MobileStoreLink: React.SFC = (props) => (\r\n <>\r\n \r\n {getComplexLogoButton(appStore_logo, APPSTORE_LINK, props.page_Id_Prefix + '_appstore_logo_link')}\r\n {getComplexLogoButton(googlePlay_logo, GOOGLEPLAY_LINK, props.page_Id_Prefix + '_googleplay_logo_link')}\r\n \r\n \r\n);\r\n","import styled from 'styled-components';\r\n\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const ComplexLogoContainer = withTheme()(styled.div`\r\n height: 40px;\r\n order: 2;\r\n flex-grow: 1;\r\n display: flex;\r\n justify-content: flex-end;\r\n align-items: center;\r\n flex-basis: 33%;\r\n margin-right: 5px;\r\n\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.md}px) {\r\n margin-right: 0px;\r\n order: 1;\r\n }\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.sm}px) {\r\n flex-basis: 30%;\r\n }\r\n`);\r\n\r\nexport const ComplexLogo = styled.img`\r\n height: 40px !important;\r\n height: 24px;\r\n`;\r\n\r\nexport const IconLink = styled.a`\r\n display: flex;\r\n align-items: center;\r\n`;\r\n\r\nexport const ComplexIconLink = styled(IconLink)`\r\n padding: 0 10px;\r\n`;\r\n","import React, { KeyboardEventHandler } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { FormControl, FormHelperText } from '@material-ui/core';\r\nimport { FormHelperTextProps } from '@material-ui/core/FormHelperText';\r\n\r\nimport { formatDateMMMdd } from '@common/helper';\r\nimport { DateChip, TextChip, TextChipWithoutPadding } from '@component/chip';\r\nimport { TimeChip } from '@component/chip/TimeChip';\r\nimport { ActionIcon } from '@component/icon/ActionIcon';\r\nimport { OverflowRenderer } from '@component/overflowRenderer/OverflowRenderer';\r\nimport { Color } from '@style/Color';\r\nimport { BorderRadius, BorderWidth, ElementSize, px, Spacing } from '@style/StyleConstants';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\nimport { T, t } from '@translate';\r\n\r\nconst SELECT_DISABLED_HEIGHT = 54;\r\n\r\nexport enum OptionType {\r\n Date = 'Date',\r\n PlainText = 'PlainText',\r\n Time = 'Time',\r\n State = 'State',\r\n}\r\n\r\nexport interface Option {\r\n type: OptionType;\r\n value: string;\r\n}\r\n\r\ninterface Props {\r\n id: string;\r\n label: string;\r\n options: Option[];\r\n mainIcon?: string;\r\n control?: { icon: string; id: string };\r\n containerStyle?: React.CSSProperties;\r\n onClick?: () => void;\r\n onFocus?: () => void;\r\n onControlClick?: () => void;\r\n helperText?: React.ReactNode;\r\n error?: boolean;\r\n dataSet?: { [name: string]: string | undefined };\r\n disabled?: boolean;\r\n isFixedAlignment?: boolean;\r\n innerRef?: React.RefObject;\r\n onKeyDown?: KeyboardEventHandler;\r\n inputRef?: React.RefObject;\r\n}\r\n\r\nexport interface ContainerProps {\r\n error?: boolean;\r\n disabled?: boolean;\r\n}\r\n\r\n// CSS properties from MUI TextField\r\n// recreates the 1px \"inner\" bottom border when disabled\r\nconst Container = withTheme()(styled.button`\r\n box-sizing: border-box;\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: flex-start;\r\n align-items: center;\r\n border: ${(props: ThemeProps & ContainerProps) =>\r\n `${px(props.disabled ? 0 : 1)} solid ${props.theme.palette.multiSelect.borderColor}`};\r\n border-bottom-width: ${(props: ContainerProps) => (props.disabled ? px(BorderWidth.Thin) : px(BorderWidth.Medium))};\r\n border-bottom-color: ${(props: ThemeProps & ContainerProps) =>\r\n props.error\r\n ? props.theme.palette.textField.error\r\n : props.disabled\r\n ? Color.GRAY_3\r\n : props.theme.palette.multiSelect.borderColor};\r\n border-radius: ${px(BorderRadius.Button)} ${px(BorderRadius.Button)} 0 0;\r\n outline: ${(props: ContainerProps & ThemeProps) =>\r\n props.disabled ? `1px solid ${props.theme.palette.multiSelect.borderColor}` : 'none'};\r\n height: ${(props: ContainerProps) => px(props.disabled ? SELECT_DISABLED_HEIGHT : ElementSize.HeaderHeight)};\r\n max-height: ${(props: ContainerProps) => px(props.disabled ? SELECT_DISABLED_HEIGHT : ElementSize.HeaderHeight)};\r\n box-shadow: none;\r\n cursor: ${(props: ContainerProps) => (props.disabled ? 'default' : 'pointer')};\r\n transition: all 0.5s ease;\r\n padding: ${Spacing.InterElementVertical}px ${Spacing.InterElementHorizontal}px ${Spacing.InterElementVertical}px\r\n ${Spacing.ElementPaddingHorizontal}px;\r\n flex: 1;\r\n background-color: ${(props: ThemeProps & ContainerProps) =>\r\n props.disabled ? props.theme.palette.textField.disabledBackground : props.theme.palette.background.white};\r\n margin-top: ${(props: ContainerProps) => px(props.disabled ? 1 : 0)};\r\n &::after {\r\n left: 1px;\r\n right: 0;\r\n bottom: 0;\r\n content: '';\r\n position: absolute;\r\n transform: scaleX(0);\r\n transition: transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;\r\n border-bottom: ${BorderWidth.Medium}px solid ${Color.GREEN_MAIN};\r\n pointer-events: none;\r\n width: calc(100% - 2px);\r\n }\r\n &:focus::after {\r\n transform: scaleX(1);\r\n bottom: 1px;\r\n }\r\n`);\r\n\r\nconst StyledFormControl = styled(FormControl)`\r\n align-self: stretch;\r\n flex: 1;\r\n`;\r\n\r\n//need to override color properties from material\r\nconst HelperText = withTheme()(styled(FormHelperText)`\r\n && {\r\n color: ${(props: FormHelperTextProps & ThemeProps) =>\r\n props.error ? props.theme.palette.textField.error : props.theme.palette.textField.normalText} !important;\r\n overflow: hidden;\r\n margin-top: 2px;\r\n margin-left: ${px(Spacing.ElementPaddingHorizontal)};\r\n font-size: ${(props: ThemeProps) => props.theme.text.note.fontSize};\r\n line-height: 1.33;\r\n letter-spacing: normal;\r\n font-stretch: normal;\r\n font-family: Roboto;\r\n width: 100%;\r\n }\r\n`);\r\n\r\nconst MainIcon = styled.img`\r\n margin-right: ${px(Spacing.ScreenSide)};\r\n`;\r\n\r\nconst Content = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: flex-start;\r\n flex: 1;\r\n align-self: stretch;\r\n justify-content: space-between;\r\n`;\r\n\r\nconst ContentContainer = styled.div`\r\n display: inline-block;\r\n flex: 1;\r\n overflow: hidden;\r\n`;\r\n\r\nconst Header = withTheme()(styled.label`\r\n color: ${(props: ThemeProps & ContainerProps) =>\r\n props.error ? props.theme.palette.textField.error : props.theme.palette.multiSelect.labelColor};\r\n font-size: ${(props: ThemeProps) => props.theme.text.body.fontSize};\r\n font-family: ${(props: ThemeProps) => props.theme.text.body.fontFamily};\r\n line-height: ${(props: ThemeProps) => props.theme.text.body.lineHeight};\r\n`);\r\n\r\nconst TextArea = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: flex-start;\r\n align-items: center;\r\n width: 100%;\r\n white-space: 'nowrap';\r\n overflow: 'hidden';\r\n text-overflow: 'ellipsis';\r\n`;\r\n\r\nexport const MultiSelect: React.FC = (props) => {\r\n const chipForOption = (option: Option, index: number) => {\r\n switch (option.type) {\r\n case OptionType.Date:\r\n return (\r\n \r\n );\r\n case OptionType.Time:\r\n return ;\r\n case OptionType.State:\r\n return ;\r\n default:\r\n return ;\r\n }\r\n };\r\n\r\n const renderItem = (option: Option, index: number) => {\r\n return (\r\n \r\n {chipForOption(option, index)}\r\n
\r\n );\r\n };\r\n\r\n return (\r\n \r\n \r\n {props.mainIcon ? : null}\r\n \r\n \r\n \r\n {props.label}\r\n \r\n \r\n \r\n \r\n {props.control && !props.disabled ? (\r\n \r\n ) : null}\r\n \r\n {props.helperText ? {props.helperText} : null}\r\n \r\n );\r\n};\r\n\r\nconst handleControlClick = (onControlClick?: () => void) => (event?: React.FormEvent) => {\r\n event?.stopPropagation();\r\n if (onControlClick) {\r\n onControlClick();\r\n }\r\n};\r\n","import React, { PropsWithChildren, ReactNode, useState } from 'react';\r\n\r\nimport { map, range } from 'lodash';\r\nimport styled from 'styled-components';\r\n\r\nimport { WidthMeasurer } from './WidthMeasurer';\r\n\r\nconst HiddenRenderableContent = styled.div`\r\n width: 0;\r\n height: 0;\r\n overflow: hidden;\r\n position: relative;\r\n`;\r\n\r\nconst AbsoluteWidthMeasurer = styled(WidthMeasurer)`\r\n position: absolute;\r\n left: 0;\r\n`;\r\n\r\ninterface Props {\r\n items: T[];\r\n renderItem: (item: T, index: number) => ReactNode;\r\n onMeasure: (width: number, item: T, index: number) => void;\r\n}\r\n\r\nexport const ItemsWidthMeasurer = (props: PropsWithChildren>) => {\r\n const onMeasure = (item: T, index: number) => (width: number) => props.onMeasure(width, item, index);\r\n return (\r\n \r\n {map(props.items, (item, index) => (\r\n \r\n {props.renderItem(item, index)}\r\n \r\n ))}\r\n \r\n );\r\n};\r\n\r\nexport const useItemsWidthMeasurer = (\r\n items: T[],\r\n renderItem: (item: T, index: number) => ReactNode,\r\n defaultWidth?: number\r\n): [number[], () => ReactNode] => {\r\n const [widths, setWidths] = useState([]);\r\n\r\n const onItemMeasured = (width: number, item: T, index: number) => {\r\n setWidths((prevWidths) =>\r\n prevWidths.length >= index\r\n ? [...prevWidths.slice(0, index), width, ...prevWidths.slice(index + 1)]\r\n : [...prevWidths, ...map(range(index - prevWidths.length), () => (defaultWidth ? defaultWidth : 0)), width]\r\n );\r\n };\r\n\r\n const renderMeasurement = () => (\r\n \r\n );\r\n\r\n return [widths.slice(0, items.length), renderMeasurement];\r\n};\r\n","import React, { PropsWithChildren, ReactNode, useState } from 'react';\r\n\r\nimport { map, reduce } from 'lodash';\r\nimport styled from 'styled-components';\r\n\r\nimport { CHIP_ITEM_HEIGHT } from '@component/chip/ChipStyle';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nimport { useItemsWidthMeasurer } from './ItemsWidthMeasurer';\r\nimport { WidthMeasurer } from './WidthMeasurer';\r\n\r\nconst MAX_WIDTH_OVERFLOW_COUNT = 26;\r\n\r\ninterface Props {\r\n id: string;\r\n items: T[];\r\n renderItem: (item: T, index: number) => ReactNode;\r\n customOverflowComponent?: JSX.Element;\r\n customMaxCounterWidth?: number;\r\n containerStyle?: React.CSSProperties;\r\n itemsContainerStyle?: React.CSSProperties;\r\n}\r\n\r\nconst Counter = withTheme()(styled.div`\r\n color: ${(props: ThemeProps) => props.theme.palette.multiSelect.labelColor};\r\n font-size: ${(props: ThemeProps) => props.theme.text.body.fontSize};\r\n font-family: ${(props: ThemeProps) => props.theme.text.body.fontFamily};\r\n line-height: ${CHIP_ITEM_HEIGHT}px;\r\n`);\r\n\r\nconst Container = styled(WidthMeasurer)`\r\n display: flex;\r\n width: 100%;\r\n`;\r\n\r\nconst ItemsContainer = styled.div`\r\n display: flex;\r\n`;\r\n\r\nexport const OverflowRenderer = (props: PropsWithChildren>) => {\r\n const { items, renderItem, customOverflowComponent, customMaxCounterWidth, containerStyle, itemsContainerStyle } =\r\n props;\r\n const [itemWidths, renderItemsMeasurement] = useItemsWidthMeasurer(items, renderItem);\r\n const [availableWidth, setAvailableWidth] = useState(0);\r\n\r\n const placeableItems = reduce(\r\n items,\r\n ({ placeableItems, availableWidth }, item, index) => {\r\n // get(index) should always return a number here, but if\r\n // for whatever reason it returns undefined, set the item\r\n // width to more than what's available so it does not get rendered.\r\n const width = itemWidths[index] || availableWidth + 1;\r\n // if it's the last item, every item before it was placed, and it fits, display it\r\n // otherwise, check if item and a potential '+X' can fit\r\n const isLastItem = index === items.length - 1 && items.length === placeableItems.length + 1;\r\n const remainingWidth = isLastItem\r\n ? availableWidth\r\n : availableWidth - (customMaxCounterWidth ?? MAX_WIDTH_OVERFLOW_COUNT);\r\n return remainingWidth >= width\r\n ? {\r\n placeableItems: [...placeableItems, item],\r\n availableWidth: availableWidth - width,\r\n }\r\n : { placeableItems: placeableItems, availableWidth: availableWidth };\r\n },\r\n {\r\n placeableItems: [],\r\n availableWidth: availableWidth,\r\n }\r\n ).placeableItems;\r\n\r\n const renderCountNumber = (count: number) =>\r\n count > 0 ? (customOverflowComponent ?? +{count}) : null;\r\n\r\n return (\r\n \r\n \r\n {renderItemsMeasurement()}\r\n {map(placeableItems, renderItem)}\r\n \r\n {renderCountNumber(items.length - placeableItems.length)}\r\n \r\n );\r\n};\r\n","import React, { CSSProperties, useEffect, useRef } from 'react';\r\n\r\ninterface Props {\r\n className?: string;\r\n style?: CSSProperties;\r\n onMeasure: (width: number) => void;\r\n}\r\n\r\nexport const WidthMeasurer: React.FC = (props) => {\r\n const ref = useRef(null);\r\n\r\n useEffect(() => {\r\n return updateWidthAsync();\r\n }, [ref, ref?.current?.clientWidth]);\r\n\r\n useEffect(() => {\r\n window.addEventListener('resize', updateWidthAsync);\r\n return () => window.removeEventListener('resize', updateWidthAsync);\r\n }, []);\r\n\r\n const updateWidth = () => {\r\n if (ref.current) {\r\n const bounds = ref.current.getBoundingClientRect();\r\n if (bounds?.width) {\r\n props.onMeasure(bounds?.width);\r\n }\r\n }\r\n };\r\n\r\n const updateWidthAsync = () => {\r\n const timer = setTimeout(updateWidth, 1);\r\n return () => clearTimeout(timer);\r\n };\r\n\r\n return (\r\n
\r\n {props.children}\r\n
\r\n );\r\n};\r\n","import React, { createContext, useContext, useState } from 'react';\r\n\r\nimport ReactResizeDetector from 'react-resize-detector';\r\n\r\nimport { PanelWidth } from '@component/panel/PanelSize';\r\n\r\ninterface ResizerProps {\r\n width: number;\r\n}\r\n\r\ntype Props = Pick<\r\n React.ComponentProps,\r\n 'skipOnMount' | 'refreshMode' | 'refreshRate' | 'refreshOptions'\r\n>;\r\n\r\ninterface ResizerContext {\r\n width: number;\r\n}\r\n\r\nexport const RESIZE_REFRESH_RATE = 1000;\r\n\r\nexport const ResizeContext = createContext({ width: 0 });\r\nexport const useResizeContext = () => useContext(ResizeContext);\r\n\r\nexport const PanelSizeDetector: React.FC = ({ children, ...rest }) => {\r\n const [panelWidth, setPanelWidth] = useState(0);\r\n\r\n const handleResize = (width: number) => {\r\n setPanelWidth(width);\r\n };\r\n\r\n return (\r\n \r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport const isPanelSingleColumn = (panelWidth: number) => panelWidth < PanelWidth.medium - 1;\r\n\r\nexport const singleDoubleColumnSelect = (singleColumn: string, doubleColumn: string) => (props: ResizerProps) =>\r\n isPanelSingleColumn(props.width) ? singleColumn : doubleColumn;\r\n","import { createContext, useContext } from 'react';\r\n\r\nexport const BackPanelContext = createContext({ isBackPanel: false, isHighest: false });\r\nexport const useBackPanelContext = () => useContext(BackPanelContext);\r\n","import React, { useState } from 'react';\r\n\r\nimport ReactResizeDetector from 'react-resize-detector';\r\nimport styled from 'styled-components';\r\n\r\nimport { Backdrop } from '@component/backdrop/Backdrop';\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\nimport { Promotion } from '@page/dashboard/Promotion';\r\nimport { Color } from '@style/Color';\r\n\r\nimport { PanelTrackingProvider } from './WindowScrollViewTrackingContext';\r\n\r\nconst DesktopPageWithPanels = styled.div`\r\n position: absolute;\r\n z-index: 0;\r\n left: 0;\r\n top: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: ${Color.GRAY_SMOKE};\r\n`;\r\n\r\n/** Defines a page meant to include one or more 'panels'\r\n */\r\nexport const PageWithPanels: React.FC<{ showPromotion?: boolean }> = ({ showPromotion = true, children }) => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n const [totalWidth, setTotalWidth] = useState(isWindowScrollMode ? window.innerWidth : 0);\r\n\r\n return (\r\n \r\n {isWindowScrollMode ? (\r\n <>{children}\r\n ) : (\r\n \r\n setTotalWidth(width)}\r\n />\r\n {children}\r\n {showPromotion ? : null}\r\n \r\n \r\n )}\r\n \r\n );\r\n};\r\n","import React, { ReactNode, RefObject } from 'react';\r\n\r\nimport { isFunction, isNumber } from 'lodash';\r\nimport styled from 'styled-components';\r\n\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\nimport { BackPanelContext } from '@component/panel/BackPanelContext';\r\nimport { AreaScrollView } from '@component/scrollView/AreaScrollView';\r\nimport { NonScrollView } from '@component/scrollView/NonScrollView';\r\nimport { Color } from '@style/Color';\r\nimport { useIsMobileView, useUniqueId } from '@util/hooks';\r\n\r\nimport { getPanelLayout } from './panelLayout';\r\nimport { PanelSize } from './PanelSize';\r\nimport { usePanelTracking } from './WindowScrollViewTrackingContext';\r\n\r\nexport const PANEL_LIGHT_BACKGROUND = Color.WHITE;\r\nexport const PANEL_SHADOW_BACKGROUND = Color.GRAY_LIGHT;\r\n\r\ninterface ComponentProps {\r\n id: string;\r\n layer: number;\r\n size: PanelSize;\r\n offset: number;\r\n scrollRef?: RefObject;\r\n panelRef?: RefObject;\r\n backgroundColor?: string;\r\n /** Minimum size of panel in pixel (defaults to PanelWidth.Small) */\r\n minSize?: number;\r\n\r\n /** true to make the panel content fill the remaining screen height.\r\n * This will turn off any vertical scrolling.\r\n * This is meant for displaying special components like a map that\r\n * does not have an internal height and have their own panning system.\r\n * (NOTE: watch for scrolling quirks in iOS in this case)\r\n *\r\n * Most panels should not use this.\r\n */\r\n contentHeightFill?: boolean;\r\n shouldRemoveShadow?: boolean;\r\n}\r\n\r\n/** Top panel 'div' */\r\nconst PanelComponent = styled.div`\r\n top: 0;\r\n min-height: 100%;\r\n`;\r\n\r\n/** Panel scrolling area. Responsible for the Panel vertical height. May contain header/footers */\r\nconst PanelAreaScrollView = styled(AreaScrollView)`\r\n min-height: 100%;\r\n min-width: 100%;\r\n width: 100%;\r\n`;\r\n\r\nexport const Panel: React.FC = ({\r\n id,\r\n layer,\r\n size,\r\n offset,\r\n contentHeightFill,\r\n scrollRef,\r\n backgroundColor,\r\n children,\r\n panelRef,\r\n minSize,\r\n shouldRemoveShadow,\r\n}) => {\r\n const isMobileView = useIsMobileView();\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n const uid = useUniqueId();\r\n\r\n // FIXME: Temporary workaround until we get a managed Panel system (MEM-1965) [BP]\r\n const windowScrollViewTracking = usePanelTracking(uid, offset, layer, size, id);\r\n\r\n const isHighest = windowScrollViewTracking.isHighest(offset, layer);\r\n const isBackPanel = isMobileView && isWindowScrollMode && !isHighest;\r\n\r\n if (windowScrollViewTracking.availableWidth === 0) {\r\n // do not render panels that are not visible in mobileView.\r\n // (Else it causes issues with header/footers window scroll mode)\r\n return null;\r\n }\r\n\r\n const { position, width } = getPanelLayout(\r\n offset,\r\n size,\r\n windowScrollViewTracking.availableWidth,\r\n isMobileView,\r\n minSize\r\n );\r\n\r\n let content = children;\r\n /**\r\n * To access the current \"width\" in the ReactNode;\r\n content = childFunction({ width: isNumber(width) ? width : windowScrollViewTracking.availableWidth });\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n {contentHeightFill ? (\r\n {content}\r\n ) : (\r\n \r\n {content}\r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { FixedFooter } from '@component/scrollView';\r\nimport { Color } from '@style/Color';\r\n\r\nexport const FooterSection = styled.section`\r\n background-color: ${Color.WHITE};\r\n border-top: 1px solid ${Color.GRAY_SMOKE};\r\n padding: 10px 15px 10px 15px;\r\n flex-direction: column;\r\n width: 100%;\r\n display: flex;\r\n flex: 1;\r\n box-sizing: border-box;\r\n`;\r\n\r\nexport const PanelFooter: React.FC = (props) => (\r\n \r\n {props.children}\r\n \r\n);\r\n","import React, { useEffect } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Button, IconButton } from '@material-ui/core';\r\nimport { TypographyStyle } from '@material-ui/core/styles/createTypography';\r\n\r\nimport { Subtitle, Title } from '@component/expansionPanel/ExpansionPanelStyle';\r\nimport { Loader } from '@component/loader';\r\nimport { useBackPanelContext } from '@component/panel/BackPanelContext';\r\nimport { FixedHeader } from '@component/scrollView/FixedArea';\r\nimport { Color } from '@style/Color';\r\nimport { ElementSize, FontSize, Spacing } from '@style/StyleConstants';\r\nimport THEME from '@style/Theme';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\nimport { t, T } from '@translate';\r\n\r\nimport { default as CloseIcon } from './close.svg';\r\nimport { default as BackIcon } from './icons_back.svg';\r\nimport { default as RefreshIcon } from './refresh.svg';\r\n\r\nexport interface ComponentProps {\r\n hasCloseButton?: boolean;\r\n hasBackButton?: boolean;\r\n hasRefreshButton?: boolean;\r\n hasSubtitle?: boolean;\r\n label?: string | JSX.Element;\r\n subtitle?: JSX.Element | null | string;\r\n actionElement?: JSX.Element;\r\n actionText?: string;\r\n handleClick?: () => void;\r\n isActionLoading?: boolean;\r\n onClose?: () => void;\r\n onRefresh?: () => void;\r\n actionTextStyle?: TypographyStyle;\r\n backgroundColor?: string;\r\n shouldCloseOnEsc?: boolean;\r\n style?: React.CSSProperties;\r\n subheader?: JSX.Element;\r\n}\r\n\r\ntype HeaderBackIconProps = Pick;\r\ntype ActionBarProps = Pick<\r\n ComponentProps,\r\n 'actionElement' | 'handleClick' | 'actionText' | 'actionTextStyle' | 'isActionLoading'\r\n>;\r\ntype HeaderRefreshIconProps = Pick;\r\ntype HeaderProps = ComponentProps & ThemeProps;\r\ntype Props = ComponentProps;\r\n\r\nconst Header = withTheme()(styled.div`\r\n display: flex;\r\n background-color: ${(props: HeaderProps) =>\r\n props.backgroundColor ? props.backgroundColor : props.theme.palette.background.white};\r\n min-height: ${ElementSize.HeaderHeight}px;\r\n height: ${ElementSize.HeaderHeight}px;\r\n align-items: center;\r\n padding: 0 ${Spacing.ElementPaddingHorizontal}px;\r\n border-bottom: ${(props: ThemeProps) => `1px solid ${props.theme.palette.background.smoke}`};\r\n`);\r\n\r\nconst ActionSection = withTheme()(styled.div`\r\n margin-left: auto;\r\n display: flex;\r\n align-items: center;\r\n font-size: ${(props: ActionBarProps & ThemeProps) =>\r\n props.actionTextStyle ? props.actionTextStyle.fontSize : props?.theme?.text.lightText.fontSize};\r\n font-weight: ${(props: ActionBarProps & ThemeProps) =>\r\n props.actionTextStyle ? props.actionTextStyle.fontWeight : 'normal'};\r\n line-height: ${(props: ActionBarProps & ThemeProps) =>\r\n props.actionTextStyle ? props.actionTextStyle.lineHeight : 'auto'};\r\n color: ${(props: ActionBarProps & ThemeProps) => (props.actionTextStyle ? props.actionTextStyle.color : 'initial')};\r\n cursor: pointer;\r\n`);\r\n\r\nconst Action = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n justify-content: flex-end;\r\n min-width: ${ElementSize.Icon}px;\r\n min-height: ${ElementSize.Icon}px;\r\n`;\r\n\r\nexport const ActionButton = styled(Button)`\r\n && {\r\n font-size: ${FontSize.Content}px;\r\n color: ${Color.LIGHT_BLACK};\r\n text-transform: none;\r\n }\r\n`;\r\n\r\nexport const HeaderLabel = withTheme()(styled.h1`\r\n color: ${THEME.text.title.color};\r\n font-size: ${THEME.text.title.fontSize};\r\n font-weight: ${THEME.text.title.fontWeight};\r\n margin: 0;\r\n line-height: ${THEME.text.title.lineHeight};\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n`);\r\n\r\nexport const HeaderLabelWithSub = styled(Title)`\r\n color: ${THEME.text.title.color};\r\n font-size: ${THEME.text.title.fontSize};\r\n font-weight: ${THEME.text.title.fontWeight};\r\n margin: 0;\r\n line-height: 20px;\r\n max-width: 240px;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n`;\r\n\r\nexport const HeaderSubtitle = styled(Subtitle)`\r\n && {\r\n color: ${THEME.text.title.color};\r\n font-size: ${THEME.text.subtitle2Regular.fontSize};\r\n font-weight: ${THEME.text.subtitle2Regular.fontWeight};\r\n margin: 0;\r\n line-height: 20px;\r\n max-width: 240px;\r\n text-overflow: ellipsis;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n }\r\n`;\r\n\r\n// augmenting specificity with && to allow styling material-ui component\r\nexport const HeaderButton = withTheme()(styled(IconButton)`\r\n && {\r\n align-self: center;\r\n margin: 0;\r\n width: ${ElementSize.CheckboxArea}px;\r\n height: ${ElementSize.CheckboxArea}px;\r\n padding: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n }\r\n`);\r\n\r\nexport const TitleContainer = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n flex-grow: 1;\r\n margin-left: 6px;\r\n text-align: left;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n`;\r\n\r\nconst HeaderContent = styled.div`\r\n overflow: hidden;\r\n margin-left: 6px;\r\n`;\r\n\r\nconst HeaderBackIcon: React.FC = ({ onClose, hasBackButton, hasCloseButton }) => {\r\n if (hasCloseButton) {\r\n return (\r\n \r\n {t(T.findLoads_loads_close)}\r\n \r\n );\r\n }\r\n if (hasBackButton) {\r\n return (\r\n \r\n \"left\"\r\n \r\n );\r\n }\r\n return null;\r\n};\r\n\r\nconst HeaderRefreshIcon: React.FC = ({ onRefresh, hasRefreshButton }) => {\r\n if (hasRefreshButton) {\r\n return (\r\n \r\n \"refresh\"\r\n \r\n );\r\n }\r\n return null;\r\n};\r\n\r\nexport const ActionBar: React.FC = (props) =>\r\n props.isActionLoading ? (\r\n \r\n ) : (\r\n \r\n {props.actionElement ? {props.actionElement} : null}\r\n {props.actionText ? (\r\n {props.actionText}\r\n ) : null}\r\n \r\n );\r\nconst getHeaderLabel = (props: Props) => {\r\n if (props.hasSubtitle) {\r\n return {props.label};\r\n } else {\r\n return {props.label};\r\n }\r\n};\r\nexport const PanelHeader: React.FC = (props) => {\r\n const { isHighest } = useBackPanelContext();\r\n\r\n useEffect(() => {\r\n const handleEscButtonClick = (event: KeyboardEvent) => {\r\n if (event.defaultPrevented) {\r\n return;\r\n }\r\n if (event.code === 'Escape' && isHighest && props.shouldCloseOnEsc) {\r\n props.onClose?.();\r\n }\r\n };\r\n document.addEventListener('keydown', handleEscButtonClick);\r\n return () => document.removeEventListener('keydown', handleEscButtonClick);\r\n }, [isHighest]);\r\n\r\n const headerLabel = typeof props.label === 'string' ? getHeaderLabel(props) : props.label;\r\n\r\n const headerSubtitle =\r\n typeof props.subtitle === 'string' ? {props.subtitle} : props.subtitle;\r\n return (\r\n \r\n
\r\n \r\n {props.label || props.subtitle ? (\r\n \r\n {headerLabel}\r\n {headerSubtitle}\r\n \r\n ) : null}\r\n {props.children}\r\n {props.actionText || props.actionElement ? (\r\n \r\n ) : null}\r\n \r\n
\r\n {props.subheader}\r\n
\r\n );\r\n};\r\n","import { endsWith, isEqual, replace } from 'lodash';\r\nimport QueryString from 'qs';\r\nimport { generatePath, useHistory, useLocation, useRouteMatch } from 'react-router-dom';\r\n\r\nexport const usePushPanel = (path: string) => {\r\n const history = useHistory();\r\n const match = useRouteMatch();\r\n const location = useLocation();\r\n\r\n return (pathParam: string = '', searchParams: {} = {}) => {\r\n let paramsString = '';\r\n if (!isEqual(searchParams, {})) {\r\n paramsString = `&${QueryString.stringify(searchParams)}`;\r\n }\r\n let pathname = `${match?.url}${path}`;\r\n if (pathParam) {\r\n pathname = `${pathname}/${pathParam}/`;\r\n }\r\n history.push({\r\n pathname: formatURL(pathname),\r\n search: `${location.search}${paramsString}`,\r\n });\r\n };\r\n};\r\n\r\nexport const usePushPanelWithPathParams = () => {\r\n const history = useHistory();\r\n const location = useLocation();\r\n\r\n return (pathParam: string = '', params: {} = {}) => {\r\n history.push({\r\n pathname: `${generatePath(formatURL(pathParam), params)}`,\r\n search: `${location.search}`,\r\n });\r\n };\r\n};\r\n\r\nexport const usePanelBackLocation = (basePath: string | undefined) => {\r\n const location = useLocation();\r\n const history = useHistory();\r\n\r\n return (search?: string | undefined) => {\r\n if (basePath) {\r\n let url = location.pathname || '';\r\n\r\n const baseIndex = url.lastIndexOf(basePath);\r\n url = `${url.substr(0, baseIndex)}`;\r\n\r\n history.push({\r\n pathname: formatURL(url),\r\n search: search ?? location.search,\r\n });\r\n }\r\n };\r\n};\r\n\r\n//This is exclusively for the PC Miler panel in load details!!!\r\n//While accessing nested communication load details, the route is\r\n//a bit complex and it ends up messing with the PC miler route\r\n//Here we manipulate the path and search fields to store and rebuild\r\n//when we are opening and closing the PC Miler panel\r\nexport const usePCMilerPushPanel = (path: string, specialPathname: string) => {\r\n const history = useHistory();\r\n const match = useRouteMatch();\r\n const location = useLocation();\r\n\r\n return (pathParam: string = '', params: {} = {}) => {\r\n let paramsString = '';\r\n if (!isEqual(params, {})) {\r\n paramsString = `&${QueryString.stringify(params)}`;\r\n }\r\n let pathname = `${match?.url}${path}`;\r\n\r\n if (pathname.startsWith(`/${specialPathname}`)) {\r\n if (pathParam) {\r\n pathname = `${pathname}/${pathParam}/`;\r\n }\r\n history.push({\r\n pathname: formatURL(pathname),\r\n });\r\n } else {\r\n if (pathParam) {\r\n pathname = `${pathname}${pathParam}/`;\r\n }\r\n const nestedPath = `${path}/${specialPathname}${pathname.split(specialPathname)[1]}`;\r\n const baseNestedURL = `${pathname.split(specialPathname)[0]}`;\r\n\r\n history.push({\r\n pathname: formatURL(`${nestedPath}`),\r\n search: `${baseNestedURL}${location.search}${paramsString}`,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const usePCMilerPanelBackLocation = () => {\r\n const match = useRouteMatch();\r\n const location = useLocation();\r\n\r\n let url = match?.url || '';\r\n\r\n url = `${url.replace('pc-miler-map/', '')}`;\r\n\r\n const baseNestedURL = location.search.split('/?')[0].replace('?', '');\r\n const search = location.search.split('/?')[1];\r\n url = `${baseNestedURL}${url}`;\r\n\r\n return {\r\n pathname: formatURL(url),\r\n search: search,\r\n };\r\n};\r\n//end of PC Miler specific push/back panels location\r\n\r\nconst formatURL = (url: string): string => {\r\n if (url.includes('//')) {\r\n return formatURL(replace(url, '//', '/'));\r\n }\r\n if (endsWith(url, '/')) {\r\n return url;\r\n }\r\n return `${url}/`;\r\n};\r\n\r\n//!!think twice if using this, Avoid usage if possible.!!\r\n//This function is a patch fix for FindLoads, since it does not follow regular routing.\r\n//remove it and use `usePushPanel` once that part is reworked.\r\nexport const usePatchedPushPanel = (path: string, pathToRemove: string) => {\r\n const history = useHistory();\r\n const match = useRouteMatch();\r\n const location = useLocation();\r\n\r\n return (pathParam: string = '', params: {} = {}) => {\r\n let paramsString = '';\r\n let url = match?.url || '';\r\n\r\n const pathIndex = url.lastIndexOf(path);\r\n if (pathIndex !== -1) {\r\n return;\r\n }\r\n if (!isEqual(params, {})) {\r\n paramsString = `&${QueryString.stringify(params)}`;\r\n }\r\n const baseIndex = url.lastIndexOf(pathToRemove);\r\n if (baseIndex !== -1) {\r\n url = `${url.substr(0, baseIndex)}`;\r\n }\r\n let pathname = `${url}${path}`;\r\n if (pathParam) {\r\n pathname = `${pathname}/${pathParam}/`;\r\n }\r\n history.push({\r\n pathname: formatURL(pathname),\r\n search: `${location.search}${paramsString}`,\r\n });\r\n };\r\n};\r\n","export enum PanelSize {\r\n /** one column */\r\n small = 'small',\r\n\r\n /** two columns but can be reduced to one to fit or in mobile view */\r\n medium = 'medium',\r\n\r\n /** three columns but can be reduced to one to fit or in mobile view */\r\n large = 'large',\r\n\r\n /** four columns size */\r\n xlarge = 'xlarge',\r\n\r\n /** 100% of the available space */\r\n full = 'full',\r\n}\r\n\r\nexport const PANEL_SIZE = 340;\r\nconst PANEL_PADDING = 10;\r\n\r\nexport enum PanelWidth {\r\n small = PANEL_SIZE,\r\n medium = PANEL_SIZE + PANEL_PADDING + PANEL_SIZE,\r\n large = PANEL_SIZE + PANEL_PADDING + PANEL_SIZE + PANEL_PADDING + PANEL_SIZE,\r\n xlarge = PANEL_SIZE + PANEL_PADDING + PANEL_SIZE + PANEL_PADDING + PANEL_SIZE + PANEL_PADDING + PANEL_SIZE,\r\n}\r\n","import React, { createContext, useContext, useLayoutEffect, useMemo, useState } from 'react';\r\n\r\nimport { every, map, max, noop } from 'lodash';\r\n\r\nimport { PanelSize } from '@component/panel/PanelSize';\r\n\r\ntype PanelEntries = { [key: string]: { offset: number; layer: number; size: PanelSize; debugId: string } };\r\n\r\ninterface WindowScrollViewTracking {\r\n panels: PanelEntries;\r\n closingPanel: (uid: string, offset: number, layer: number, debugId: string) => void;\r\n openingPanel: (uid: string, offset: number, layer: number, size: PanelSize, debugId: string) => void;\r\n isHighest: (offset: number, layer: number) => boolean;\r\n getBackdropLayer: () => number | undefined;\r\n availableWidth: number;\r\n}\r\n\r\nexport const panelTrackingContext = createContext({\r\n panels: {},\r\n openingPanel: noop,\r\n closingPanel: noop,\r\n isHighest: () => false,\r\n getBackdropLayer: () => undefined,\r\n availableWidth: 0,\r\n});\r\n\r\n/** @FIXME: Temporary workaround until we get a managed Panel system (MEM-1965). File to be deleted.\r\n * The only purpose is to track which \"panel\" is currently the \"active\" one. This\r\n * track which panels are mounted and get the one with the highest layer & offset value.\r\n */\r\nexport const usePanelTracking = (uid: string, offset: number, layer: number, size: PanelSize, debugId: string) => {\r\n const windowScrollViewTracking = useContext(panelTrackingContext);\r\n\r\n useLayoutEffect(() => {\r\n windowScrollViewTracking.openingPanel(uid, offset, layer, size, debugId);\r\n return () => {\r\n windowScrollViewTracking.closingPanel(uid, offset, layer, debugId);\r\n };\r\n }, [uid, offset, layer]);\r\n\r\n return windowScrollViewTracking;\r\n};\r\n\r\nexport const usePanelTrackingBackdropLayer = () => {\r\n const windowScrollViewTracking = useContext(panelTrackingContext);\r\n\r\n return windowScrollViewTracking.getBackdropLayer();\r\n};\r\n\r\n/** FIXME: Temporary workaround until we get a managed Panel system (MEM-1965). To be deleted.\r\n * The only purpose is to track which \"panel\" is currently the \"active\" one. This\r\n * track which panels are mounted and get the one with the highest layer & offset value.\r\n *\r\n * Note that we need a UID so panels do not collide into each other. This happens because the order of mounting/unmounting\r\n * components in React cannot be predetermined. Having two panels with the same offset/layer at the same time is invalid\r\n * but frequently occurs when transitioning (opening/closing panels).\r\n */\r\nexport const PanelTrackingProvider: React.FC<{ availableWidth: number }> = ({ availableWidth, children }) => {\r\n const [panels, setPanels] = useState({});\r\n\r\n const context = useMemo(\r\n () => ({\r\n panels: panels,\r\n availableWidth: availableWidth,\r\n openingPanel: (uid: string, offset: number, layer: number, size: PanelSize, debugId: string) => {\r\n const key = `${layer}_${offset}_${uid}`;\r\n setPanels((panels) => {\r\n const newPanels = {\r\n ...panels,\r\n [key]: { uid: uid, offset: offset, layer: layer, size: size, debugId: debugId },\r\n };\r\n return newPanels;\r\n });\r\n },\r\n closingPanel: (uid: string, offset: number, layer: number) => {\r\n const key = `${layer}_${offset}_${uid}`;\r\n setPanels((panels) => {\r\n const newPanels = { ...panels };\r\n delete newPanels[key];\r\n return newPanels;\r\n });\r\n },\r\n isHighest: (offset: number, layer: number) =>\r\n every(panels, (panel) => panel.layer < layer || (panel.layer === layer && panel.offset <= offset)),\r\n getBackdropLayer: () => max(map(panels, (panelEntry) => panelEntry.layer)),\r\n }),\r\n [panels, availableWidth]\r\n );\r\n\r\n return {children};\r\n};\r\n","import { PanelSize, PanelWidth } from './PanelSize';\r\n\r\nconst PANEL_GUTTER_LARGE = 10;\r\nconst PANEL_GUTTER_SMALL = 5;\r\nexport const OFFSET_FLOATING = -5;\r\n\r\n// @FIXME: TEMPORARY HARD-CODED POSITIONS/SIZES UNTIL WE GET A PROPER PANEL SYSTEM (MEM-1965)\r\n\r\n// \"Soft\" breakpoints, delimited by available space instead of window width.\r\n\r\nconst BREAKPOINT_SMALL_SMALL_MEDIUM_SPACED = 2 * (PanelWidth.small + PANEL_GUTTER_LARGE) + PanelWidth.medium;\r\nconst BREAKPOINT_SMALL_SMALL_MEDIUM_TIGHT = 2 * (PanelWidth.small + PANEL_GUTTER_SMALL) + PanelWidth.medium;\r\nconst BREAKPOINT_SMALL_SMALL_SMALL_SPACED = 2 * (PanelWidth.small + PANEL_GUTTER_LARGE) + PanelWidth.small;\r\nconst BREAKPOINT_SMALL_SMALL_SMALL_TIGHT = 2 * (PanelWidth.small + PANEL_GUTTER_LARGE) + PanelWidth.small;\r\nconst BREAKPOINT_SMALL_SMALL_SPACED = PanelWidth.small + PANEL_GUTTER_LARGE + PanelWidth.small;\r\n\r\nconst gutterSize = (totalWidth: number) => {\r\n if (totalWidth < BREAKPOINT_SMALL_SMALL_SPACED) {\r\n return PANEL_GUTTER_SMALL;\r\n }\r\n if (totalWidth < BREAKPOINT_SMALL_SMALL_SMALL_TIGHT) {\r\n return PANEL_GUTTER_LARGE;\r\n }\r\n if (totalWidth < BREAKPOINT_SMALL_SMALL_SMALL_SPACED) {\r\n return PANEL_GUTTER_SMALL;\r\n }\r\n if (totalWidth < BREAKPOINT_SMALL_SMALL_MEDIUM_TIGHT) {\r\n return PANEL_GUTTER_LARGE;\r\n }\r\n if (totalWidth < BREAKPOINT_SMALL_SMALL_MEDIUM_SPACED) {\r\n return PANEL_GUTTER_SMALL;\r\n }\r\n return PANEL_GUTTER_LARGE;\r\n};\r\n\r\nconst panelSizeToMaxWidth = {\r\n [PanelSize.small]: PanelWidth.small,\r\n [PanelSize.medium]: PanelWidth.medium,\r\n [PanelSize.large]: PanelWidth.large,\r\n [PanelSize.xlarge]: PanelWidth.xlarge,\r\n [PanelSize.full]: undefined,\r\n};\r\n\r\nconst fitRemaining = (size: PanelSize, remaining: number) =>\r\n Math.min(panelSizeToMaxWidth[size] ?? remaining, remaining);\r\n\r\nexport const getPanelLayout = (\r\n offset: number,\r\n size: PanelSize,\r\n totalWidth: number,\r\n isMobileView: boolean,\r\n minSize: number | undefined\r\n) => {\r\n if (isMobileView) {\r\n return { position: 0, width: '100%' };\r\n }\r\n if (offset === OFFSET_FLOATING) {\r\n const width = Math.min(panelSizeToMaxWidth[size] ?? totalWidth, totalWidth);\r\n return {\r\n position: totalWidth - width,\r\n width: width,\r\n };\r\n }\r\n\r\n const position = offset * (PanelWidth.small + gutterSize(totalWidth));\r\n\r\n const remaining = totalWidth - position;\r\n\r\n if (remaining < (minSize ?? PanelWidth.small)) {\r\n return { position: 0, width: totalWidth <= PanelWidth.medium ? '100%' : fitRemaining(size, totalWidth) };\r\n }\r\n\r\n return { position: position, width: fitRemaining(size, remaining) };\r\n};\r\n","import React from 'react';\r\n\r\nimport { connect } from 'react-redux';\r\nimport { RouteComponentProps, withRouter } from 'react-router-dom';\r\nimport { Action, bindActionCreators, Dispatch } from 'redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { LoadDetailsTabs } from '@/model';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { formatNumber } from '@common/helper';\r\nimport { BackhaulsLoadSearchQuery, Load, LoadBackhaul, LoadSearchRequest } from '@common/model';\r\nimport { defaultLoadInfo, fetchLoadBackhauls, LoadBackhaulsResult, LoadInfo } from '@common/redux/epic/LoadInfoEpic';\r\nimport {\r\n backhaulsActions,\r\n loadSearchQueryFromBackhaulsQuery,\r\n} from '@common/redux/epic/loadSearch/LoadSearchBackhaulsEpic';\r\nimport { BackhaulsCard } from '@component/cards/BackhaulsCard';\r\nimport { AccordionInfoStatus, ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { ExpansionPanelDataWrapper } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { Text, TextStyle } from '@component/text';\r\nimport { ElementSize, Spacing } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\n\r\nimport { default as BackhaulsIcon } from './backhauls.svg';\r\nimport { default as PostTruck } from './post-truck.svg';\r\n\r\ninterface ReduxProps {\r\n status: AccordionInfoStatus;\r\n backhauls: LoadBackhaulsResult | undefined;\r\n}\r\n\r\ninterface DispatchProps {\r\n fetchLoadBackhauls(loadID: string, fromNamedSearchId?: string): void;\r\n backhaulsSetQuery(query: BackhaulsLoadSearchQuery): void;\r\n setSelectedSearch(search: LoadSearchRequest | undefined): void;\r\n}\r\nconst LinkWrapper = styled.div`\r\n display: flex;\r\n cursor: pointer;\r\n align-items: center;\r\n margin: auto;\r\n`;\r\ninterface ComponentProps {\r\n openBackhaulsPanel?: (id: string | number) => void;\r\n handleChange: (tab: LoadDetailsTabs, status: boolean) => void;\r\n isOpened: boolean;\r\n selectedSearch: LoadSearchRequest | undefined;\r\n isPostedLoad?: boolean;\r\n loadInfo: LoadInfo | undefined;\r\n shouldDisplayPostTruck: boolean;\r\n onPostClick?: () => void;\r\n load: Load | undefined;\r\n}\r\n\r\ntype Props = ReduxProps & DispatchProps & ComponentProps & RouteComponentProps<{ loadID: string }>;\r\n\r\nclass Backhaul extends React.Component {\r\n componentDidMount() {\r\n this.fetchLoadBackhauls();\r\n }\r\n\r\n componentDidUpdate(prevProps: Props) {\r\n if (!prevProps.selectedSearch && this.props.selectedSearch) {\r\n this.fetchLoadBackhauls();\r\n }\r\n }\r\n\r\n fetchLoadBackhauls = () => {\r\n const { selectedSearch } = this.props;\r\n if (this.props.isPostedLoad) {\r\n this.props.fetchLoadBackhauls(this.props.load?.id ?? '');\r\n } else {\r\n this.props.fetchLoadBackhauls(this.props.load?.id ?? '', selectedSearch?.id);\r\n }\r\n };\r\n\r\n countPossibleLoads = () => {\r\n const { backhauls } = this.props;\r\n let count = 0;\r\n if (backhauls && backhauls.payload) {\r\n backhauls.payload.forEach((item: any) => {\r\n count = count + item.count;\r\n });\r\n }\r\n return formatNumber(count);\r\n };\r\n\r\n handleClick = (backhaul: LoadBackhaul) =>\r\n this.props.openBackhaulsPanel\r\n ? () => {\r\n if (backhaul.count && backhaul.count > 0 && this.props.openBackhaulsPanel) {\r\n this.props.backhaulsSetQuery(backhaul.query);\r\n this.props.setSelectedSearch({\r\n ...loadSearchQueryFromBackhaulsQuery(backhaul.query),\r\n id: backhaul.id,\r\n });\r\n this.props.openBackhaulsPanel(backhaul.id);\r\n }\r\n }\r\n : undefined;\r\n\r\n handleTabClick = () => {\r\n this.props.handleChange(LoadDetailsTabs.Backhauls, !this.props.isOpened);\r\n };\r\n onPostClick = () => {\r\n if (this.props.onPostClick) {\r\n this.props.onPostClick();\r\n }\r\n };\r\n\r\n backhaulsPostTruckRow = () => {\r\n return (\r\n \r\n \r\n \r\n \r\n {t(T.common_postTruck_title)}\r\n \r\n \r\n \r\n );\r\n };\r\n\r\n render() {\r\n const { backhauls } = this.props;\r\n\r\n return (\r\n \r\n \r\n {backhauls &&\r\n backhauls.payload &&\r\n backhauls.payload.map((item: any) => {\r\n return (\r\n \r\n );\r\n })}\r\n {this.props.shouldDisplayPostTruck && this.backhaulsPostTruckRow()}\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state: StoreState, props: ComponentProps): ReduxProps => {\r\n let status: AccordionInfoStatus = AccordionInfoStatus.AVAILABLE;\r\n const loadInfo = props.loadInfo || defaultLoadInfo;\r\n if (loadInfo && loadInfo.isLoadingBackhauls) {\r\n status = AccordionInfoStatus.LOADING;\r\n } else if ((loadInfo && !loadInfo.backhauls) || (loadInfo && loadInfo.backhauls && !loadInfo.backhauls.payload)) {\r\n status = AccordionInfoStatus.UNAVAILABLE;\r\n }\r\n\r\n return {\r\n status: status,\r\n backhauls: loadInfo?.backhauls,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch: Dispatch): DispatchProps =>\r\n bindActionCreators(\r\n {\r\n fetchLoadBackhauls: fetchLoadBackhauls,\r\n backhaulsSetQuery: (query: BackhaulsLoadSearchQuery) => backhaulsActions.backhaulsSetQuery(query, undefined),\r\n setSelectedSearch: backhaulsActions.setSelectedSearch,\r\n },\r\n dispatch\r\n );\r\n\r\nexport const Backhauls = connect(mapStateToProps, mapDispatchToProps)(withRouter(Backhaul));\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { LoadDetailsTabs } from '@/model';\r\nimport { NO_INFORMATION_SYMBOL } from '@common/formatter';\r\nimport { getMCLink, getUSDOTLink } from '@common/info/ExternalLink';\r\nimport { Company, CompanyCategory } from '@common/model/Company';\r\nimport { ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport {\r\n LoadDetailsValueRow,\r\n renderLoadDetailsValueRowTextRight,\r\n} from '@component/panels/basePanel/loadDetails/LoadDetailsValueRow';\r\nimport {\r\n CompanyTextWrapper,\r\n ExpansionPanelDataWrapper,\r\n IconThunder,\r\n LoadDetailsContainer,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { TappableTextContent } from '@component/text/TappableTextContent';\r\nimport { ElementSize } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\n\r\nimport { default as CompanyIcon } from './company.svg';\r\nimport { default as LikeIcon } from './heart.png';\r\nimport { default as OnboardIcon } from './onboarded.svg';\r\nimport { default as ThunderLogo } from './thunder logo.png';\r\nimport { default as TiaIcon } from './tia.png';\r\n\r\nconst InfoIcon = styled.img`\r\n height: ${ElementSize.TextIcon}px;\r\n width: ${ElementSize.TextIcon}px;\r\n`;\r\n\r\ninterface Props {\r\n poster?: Company;\r\n handleChange(tab: LoadDetailsTabs, status: boolean): void;\r\n isOpened: boolean;\r\n}\r\n\r\nexport class CompanyInfo extends React.Component {\r\n openLink = (link: string) => () => {\r\n window.open(link, '_blank');\r\n };\r\n\r\n renderMcNumberLink = (mcNumber?: number | string) => () => {\r\n if (mcNumber) {\r\n return (\r\n \r\n {mcNumber}\r\n \r\n );\r\n }\r\n if (this.props.poster?.category === CompanyCategory.ShipperManufacturer) {\r\n return renderLoadDetailsValueRowTextRight(t(T.common_load_shipperMCNotRequired))();\r\n }\r\n return renderLoadDetailsValueRowTextRight(NO_INFORMATION_SYMBOL)();\r\n };\r\n\r\n renderDOTNumberLink = (dotNumber?: number | string) => () => {\r\n if (dotNumber) {\r\n return (\r\n \r\n {dotNumber}\r\n \r\n );\r\n }\r\n return renderLoadDetailsValueRowTextRight(NO_INFORMATION_SYMBOL)();\r\n };\r\n\r\n renderCompanyWebsiteLink = (website: string) => () => {\r\n let link = website;\r\n if (!/^https?:\\/\\/.*/.test(website)) {\r\n link = `http://${website}`;\r\n }\r\n return (\r\n \r\n {website}\r\n \r\n );\r\n };\r\n\r\n renderAddress = (poster?: any) => () => {\r\n let topLine = '';\r\n let bottomLine = '';\r\n if (poster.address) {\r\n if (poster.address.addressLine1) {\r\n topLine = poster.address.addressLine1;\r\n }\r\n if (poster.address.city) {\r\n bottomLine = poster.address.city;\r\n }\r\n if (poster.address.state) {\r\n bottomLine = bottomLine + ', ' + poster.address.state;\r\n }\r\n if (poster.address.zipCode) {\r\n bottomLine = bottomLine + ', ' + poster.address.zipCode;\r\n }\r\n if (poster.address.country) {\r\n bottomLine = bottomLine + ', ' + poster.address.country;\r\n }\r\n } else {\r\n return renderLoadDetailsValueRowTextRight(t(T.findLoads_loadDetails_noMatches))();\r\n }\r\n return (\r\n
\r\n

{renderLoadDetailsValueRowTextRight(topLine)()}

\r\n

{renderLoadDetailsValueRowTextRight(bottomLine)()}

\r\n
\r\n );\r\n };\r\n\r\n renderMember = (isTia: boolean) => () => {\r\n return isTia ? (\r\n \r\n {renderLoadDetailsValueRowTextRight(t(T.findLoads_loadDetails_yes))()}\r\n \"tia\"\r\n
\r\n ) : (\r\n \r\n {renderLoadDetailsValueRowTextRight(t(T.findLoads_loadDetails_no))()}\r\n
\r\n );\r\n };\r\n\r\n renderFactorable = () => () => {\r\n return (\r\n
\r\n {renderLoadDetailsValueRowTextRight(t(T.findLoads_loadDetails_preApproved))()}\r\n \r\n
\r\n );\r\n };\r\n\r\n handleTabClick = () => {\r\n this.props.handleChange(LoadDetailsTabs.Company, !this.props.isOpened);\r\n };\r\n\r\n renderTitleFavIcon = () => {\r\n const { poster } = this.props;\r\n return (\r\n <>\r\n {poster?.metaData?.onboarded ? : null}\r\n {poster?.metaData?.favoriteBroker ? : null}\r\n \r\n );\r\n };\r\n\r\n render() {\r\n const { poster } = this.props;\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {poster?.webSite ? (\r\n \r\n \r\n \r\n ) : null}\r\n \r\n \r\n \r\n {poster && poster.isOcfp && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { LoadDetailsTabs } from '@/model';\r\nimport { LoadSearchRequest } from '@common/model';\r\nimport { fetchLoadCount } from '@common/redux/epic/loadSearch/CompanySearchEpic';\r\nimport { AccordionInfoStatus, ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { default as CompanyLoadsIcon } from '@component/panels/basePanel/loadDetails/company-loads.svg';\r\nimport { LinkButton } from '@component/panels/basePanel/loadDetails/LoadDocuments';\r\nimport { Color } from '@style/Color';\r\nimport { T, t } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\n\r\ninterface Props {\r\n handleChange: (tab: LoadDetailsTabs, status: boolean) => void;\r\n isOpened: boolean;\r\n onViewLoadsClick?: () => void;\r\n headerBackground?: string;\r\n companySearchRequest: LoadSearchRequest | undefined;\r\n}\r\n\r\nconst ExpansionPanelDataWrapper = styled.div`\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n padding: 15px;\r\n border-bottom: 1px solid ${Color.GRAY_SMOKE};\r\n`;\r\n\r\nconst TextContent = styled.div`\r\n color: ${Color.LIGHT_BLACK};\r\n`;\r\n\r\nexport const CompanyLoads: React.FC = (props) => {\r\n const totalLoadsCountSearchForm = useSelector((state) => state.companySearch.totalLoadsCountSearchForm);\r\n const isFetchingCount = useSelector((state) => state.companySearch.isFetchingCount);\r\n const dispatch = useDispatch();\r\n useEffect(() => {\r\n if (props.companySearchRequest) {\r\n dispatch(fetchLoadCount(props.companySearchRequest));\r\n }\r\n }, []);\r\n\r\n return (\r\n props.handleChange(LoadDetailsTabs.CompanyLoads, !props.isOpened)}\r\n status={getExpansionPanelStatus(isFetchingCount, totalLoadsCountSearchForm)}\r\n headerBackground={props.headerBackground}\r\n >\r\n \r\n \r\n );\r\n};\r\n\r\nexport const CompanyLoadsContent: React.FC<{ onViewLoadsClick?: () => void }> = ({ onViewLoadsClick }) => (\r\n \r\n {t(T.findLoads_loadDetails_companyLoadsDescription)}\r\n \r\n {t(T.findLoads_loadDetails_viewLoads)}\r\n \r\n \r\n);\r\n\r\nconst getExpansionPanelStatus = (isLoading: boolean, totalResultsCount: number | undefined): AccordionInfoStatus => {\r\n if (isLoading) {\r\n return AccordionInfoStatus.LOADING;\r\n }\r\n if (!totalResultsCount) {\r\n return AccordionInfoStatus.UNAVAILABLE;\r\n }\r\n return AccordionInfoStatus.AVAILABLE;\r\n};\r\n","import React from 'react';\r\n\r\nimport { get } from 'lodash';\r\nimport { connect } from 'react-redux';\r\nimport { Action, bindActionCreators, Dispatch } from 'redux';\r\n\r\nimport { LoadDetailsTabs } from '@/model';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { CreditRating as CreditRatingType } from '@common/model';\r\nimport { UnlockFeaturePopupType } from '@common/model/UserPlan';\r\nimport { defaultLoadInfo, fetchCreditRatings, LoadInfo } from '@common/redux/epic/LoadInfoEpic';\r\nimport { ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { CreditActionButtons, CreditRatingData } from '@component/panels/companyDetails/CreditRating';\r\nimport {\r\n ExpansionPanelDataWrapper,\r\n LoadDetailsContainer,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { t, T } from '@translate';\r\n\r\nimport { default as CreditRatingIcon } from './credit rating.svg';\r\n\r\nenum AccordionInfoStatus {\r\n LOADING,\r\n AVAILABLE,\r\n UNAVAILABLE,\r\n NOT_PERMITTED,\r\n}\r\n\r\ninterface ComponentProps {\r\n loadID: string;\r\n handleChange(tab: LoadDetailsTabs, status: boolean): void;\r\n isOpened: boolean;\r\n posterId?: string;\r\n}\r\n\r\ninterface ReduxProps {\r\n loadInfo: Map;\r\n status: AccordionInfoStatus;\r\n}\r\n\r\ninterface DispatchProps {\r\n fetchCreditRatings(loadID: string): void;\r\n}\r\n\r\ntype Props = ReduxProps & DispatchProps & ComponentProps;\r\n\r\ninterface ComponentState {\r\n creditRatings: CreditRatingType[] | undefined;\r\n}\r\n\r\nclass Credit extends React.Component {\r\n state: ComponentState = {\r\n creditRatings: [],\r\n };\r\n\r\n static getDerivedStateFromProps(props: Props) {\r\n const info = props.loadInfo.get(props.loadID);\r\n if (info) {\r\n return {\r\n creditRatings: info.creditRatings,\r\n };\r\n }\r\n return null;\r\n }\r\n\r\n componentDidMount(): void {\r\n const { loadID } = this.props;\r\n this.props.fetchCreditRatings(loadID);\r\n }\r\n\r\n renderSubtitle = () => {\r\n const { creditRatings } = this.state;\r\n const value1 = get(creditRatings, '[0].ratingInfo[0].value', t(T.findLoads_loadDetails_noMatches));\r\n const value2 = get(creditRatings, '[1].ratingInfo[0].value', t(T.findLoads_loadDetails_noMatches));\r\n return `${value1} / ${value2}`;\r\n };\r\n\r\n redirectTo = (url: string) => () => {\r\n window.open(url, '_blank');\r\n };\r\n\r\n handleTabClick = () => {\r\n this.props.handleChange(LoadDetailsTabs.CreditRating, !this.props.isOpened);\r\n };\r\n\r\n render() {\r\n const { creditRatings } = this.state;\r\n return (\r\n \r\n \r\n {creditRatings\r\n ? creditRatings.map((creditRating: CreditRatingType, index: number) => (\r\n \r\n {renderCreditCompany(creditRating)}\r\n \r\n ))\r\n : null}\r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst renderCreditCompany = (creditRating: CreditRatingType) => {\r\n const creditScore = creditRating.ratingInfo[0].value ?? t(T.findLoads_loadDetails_noMatches);\r\n const daysToPay = creditRating.ratingInfo[1].value ?? t(T.findLoads_loadDetails_noMatches);\r\n const logo = creditRating.logo?.max;\r\n return (\r\n \r\n );\r\n};\r\n\r\nconst mapStateToProps = (state: StoreState, props: ComponentProps): ReduxProps => {\r\n let status: AccordionInfoStatus = AccordionInfoStatus.AVAILABLE;\r\n const loadInfo = props.loadID ? state.loadInfo.loadInfoMap.get(props.loadID) : defaultLoadInfo;\r\n const isUserAllowed = state.user.accesses.isCreditRatingAvailable;\r\n if (!isUserAllowed) {\r\n status = AccordionInfoStatus.NOT_PERMITTED;\r\n } else {\r\n if (loadInfo && loadInfo.isLoadingCreditRating) {\r\n status = AccordionInfoStatus.LOADING;\r\n } else if (loadInfo && !loadInfo.creditRatings) {\r\n status = AccordionInfoStatus.UNAVAILABLE;\r\n }\r\n }\r\n\r\n return {\r\n loadInfo: state.loadInfo.loadInfoMap,\r\n status: status,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch: Dispatch): DispatchProps =>\r\n bindActionCreators(\r\n {\r\n fetchCreditRatings: fetchCreditRatings,\r\n },\r\n dispatch\r\n );\r\n\r\nexport const CreditRating = connect(mapStateToProps, mapDispatchToProps)(Credit);\r\n","import React, { useRef, useState } from 'react';\r\n\r\nimport { isEmpty, toNumber, trim } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@material-ui/core';\r\n\r\nimport { clearEmailSendingState, sendEmailToBroker } from '@common/redux/epic/LoadInfoEpic';\r\nimport { MultipurposeButton } from '@component/buttons';\r\nimport { MultilineTextField, TextField, TextFieldProps } from '@component/input';\r\nimport { BasePopup } from '@component/popup/BasePopup';\r\nimport { usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { Text } from '@component/text';\r\nimport { Color } from '@style/Color';\r\nimport { ElementSize, FontLineHeight, FontSize, Spacing } from '@style/StyleConstants';\r\nimport { withTheme } from '@style/WithTheme';\r\nimport { T, t } from '@translate';\r\nimport { useIsMobileView } from '@util/hooks';\r\n\r\nconst MAX_CHAR_COUNT = 2000;\r\nconst MAX_BID_AMOUNT = 99999;\r\n\r\ninterface EmailFormProps {\r\n loadID: string;\r\n shouldShowOptionsAndBidSection: boolean;\r\n}\r\n\r\ninterface EmailConfirmProps {\r\n companyName?: string;\r\n loadID: string;\r\n}\r\n\r\ninterface StyleProps {\r\n isMobile: boolean;\r\n}\r\n\r\nconst EmailDialogContent = withTheme()(styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n padding-bottom: 30px;\r\n`);\r\n\r\nconst EmailDialogSubtitle = styled.div`\r\n text-align: center;\r\n margin-bottom: ${Spacing.InterSection}px;\r\n`;\r\n\r\nconst EmailDialogSubmit = styled.div`\r\n display: flex;\r\n margin-top: ${Spacing.DoubleInterSection}px;\r\n width: 180px;\r\n`;\r\n\r\nconst OptionsAndBidSection = styled.div`\r\n display: grid;\r\n width: 100%;\r\n ${(props: StyleProps) => !props.isMobile && 'grid-template-columns: 1fr auto 1fr'};\r\n ${(props: StyleProps) => props.isMobile && `row-gap: ${Spacing.ElementPaddingHorizontal}px`};\r\n column-gap: ${Spacing.DoubleInterSection}px;\r\n margin-bottom: ${Spacing.TitleTopDistance}px;\r\n margin-top: ${Spacing.ElementPaddingVertical}px;\r\n`;\r\n\r\nconst OptionsList = styled.div`\r\n display: grid;\r\n row-gap: ${Spacing.ElementPaddingHorizontal}px;\r\n`;\r\n\r\nconst Option = styled(Button)`\r\n && {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n justify-self: end;\r\n width: ${(props: StyleProps) => (props.isMobile ? '100%' : '290px')};\r\n height: ${ElementSize.OptionBar}px;\r\n border: 1px solid ${Color.GRAY_DARK};\r\n border-radius: 100px;\r\n text-align: center;\r\n font-size: ${FontSize.Body}px;\r\n line-height: ${FontLineHeight.Body}px;\r\n text-transform: initial;\r\n }\r\n`;\r\n\r\nconst DimText = styled(Text)`\r\n font-size: ${FontSize.ContentDetail}px;\r\n line-height: ${FontLineHeight.Content}px;\r\n color: ${Color.GRAY_STONE};\r\n align-self: center;\r\n justify-self: center;\r\n`;\r\n\r\nconst BidTextField = styled(({ isMobile, ...rest }) => )`\r\n align-self: center;\r\n max-width: ${(props: StyleProps) => (props.isMobile ? '100%' : '290px')};\r\n`;\r\n\r\nexport const EmailFormPopup: React.FC = ({ loadID, shouldShowOptionsAndBidSection }) => {\r\n const [text, setText] = useState('');\r\n const [bid, setBid] = useState('');\r\n const { closingPopup } = usePopup();\r\n const isMobile = useIsMobileView();\r\n const dispatch = useDispatch();\r\n const inputRef = useRef(null);\r\n\r\n const getBidAndCommentValue = () => {\r\n if (isEmpty(bid)) {\r\n return text;\r\n }\r\n return `${t(T.findLoads_loadDetails_emailFormPopup_bidAmount, { bid: bid })}\\n${text}`;\r\n };\r\n\r\n return (\r\n \r\n \r\n {t(T.findLoads_loadDetails_emailFormPopup_subtitle)}\r\n {shouldShowOptionsAndBidSection ? (\r\n <>\r\n {t(T.findLoads_loadDetails_emailFormPopup_options_title)}\r\n \r\n \r\n \r\n insertAtCursor(inputRef.current, t(T.findLoads_loadDetails_emailFormPopup_options_option1), setText)\r\n }\r\n >\r\n {t(T.findLoads_loadDetails_emailFormPopup_options_option1)}\r\n \r\n \r\n insertAtCursor(inputRef.current, t(T.findLoads_loadDetails_emailFormPopup_options_option2), setText)\r\n }\r\n >\r\n {t(T.findLoads_loadDetails_emailFormPopup_options_option2)}\r\n \r\n \r\n insertAtCursor(inputRef.current, t(T.findLoads_loadDetails_emailFormPopup_options_option3), setText)\r\n }\r\n >\r\n {t(T.findLoads_loadDetails_emailFormPopup_options_option3)}\r\n \r\n \r\n insertAtCursor(inputRef.current, t(T.findLoads_loadDetails_emailFormPopup_options_option4), setText)\r\n }\r\n >\r\n {t(T.findLoads_loadDetails_emailFormPopup_options_option4)}\r\n \r\n \r\n {t(T.common_or)}\r\n ) =>\r\n isBidValid(event.target.value) && setBid(event.target.value)\r\n }\r\n isWithoutMargin={true}\r\n isMobile={isMobile}\r\n />\r\n \r\n \r\n ) : null}\r\n ) => setText(event.target.value)}\r\n value={text}\r\n placeholder={t(T.findLoads_loadDetails_emailFormPopup_placeholder)}\r\n inputProps={{ maxLength: MAX_CHAR_COUNT }}\r\n rows={isMobile ? 4 : 5}\r\n />\r\n \r\n {\r\n closingPopup();\r\n dispatch(sendEmailToBroker(loadID, getBidAndCommentValue()));\r\n }}\r\n text={t(T.findLoads_loadDetails_emailFormPopup_submitText)}\r\n variant={'contained'}\r\n />\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const EmailConfirmPopup: React.FC = ({ companyName, loadID }) => {\r\n const { closingPopup } = usePopup();\r\n const dispatch = useDispatch();\r\n return (\r\n dispatch(clearEmailSendingState(loadID))}\r\n >\r\n \r\n \r\n \r\n {t(T.findLoads_loadDetails_emailConfirmPopup_subtitle_sentTo, {\r\n companyName: companyName ?? t(T.confirmationDialog_broker),\r\n })}\r\n \r\n
\r\n {t(T.findLoads_loadDetails_emailConfirmPopup_subtitle_note)}\r\n
\r\n \r\n {\r\n dispatch(clearEmailSendingState(loadID));\r\n closingPopup();\r\n }}\r\n text={t(T.findLoads_loadDetails_emailConfirmPopup_submitText)}\r\n variant={'contained'}\r\n />\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nconst isBidValid = (bid: string): boolean => {\r\n if (isEmpty(bid)) {\r\n return true;\r\n }\r\n const bidNumber = toNumber(bid);\r\n return bidNumber > 0 && bidNumber <= MAX_BID_AMOUNT;\r\n};\r\n\r\nconst insertAtCursor = (\r\n textArea: HTMLTextAreaElement | null,\r\n myValue: string,\r\n setTextValue: (value: string) => void\r\n) => {\r\n if (textArea !== null) {\r\n const { selectionStart, selectionEnd } = textArea;\r\n if (selectionStart || selectionStart === 0) {\r\n const valueBeforeCaret = textArea.value.substring(0, selectionStart);\r\n const valueAfterCaret = textArea.value.substring(selectionEnd, textArea.value.length);\r\n const newValue = `${valueBeforeCaret} ${myValue} ${valueAfterCaret}`;\r\n setTextValue(trim(newValue));\r\n textArea.selectionStart = selectionStart + myValue.length;\r\n textArea.selectionEnd = selectionStart + myValue.length;\r\n } else {\r\n setTextValue(`${textArea.value}${myValue}`);\r\n }\r\n }\r\n};\r\n","import React, { RefObject, useEffect } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { treatZeroAsUndefined } from '@common/helper';\r\nimport { Load, Phone } from '@common/model';\r\nimport { clearEmailSendingState, LoadInfo } from '@common/redux/epic/LoadInfoEpic';\r\nimport { EmailConfirmPopup } from '@component/panels/basePanel/loadDetails/EmailPopup';\r\nimport { LoadContactCallbackProps } from '@component/panels/findLoads/loadDetailsPanel/buttons/ContactButtons';\r\nimport { ApiErrorPopup } from '@component/popup/ApiErrorPopup';\r\nimport { PopupSizes, usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { FontSize, Opacity } from '@style/StyleConstants';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\nimport { T, t } from '@translate';\r\nimport { formatNumberOrDash, formatStringOrDash } from '@util/Formatter';\r\n\r\nimport { MoreInfoContactButtons, MoreInfoContactData } from './LoadDetailsMoreInfoContact';\r\n\r\n// @FIXME: Refactor component so there is a base, broker version, and carrier version instead of isBroker flag\r\ntype ConditionalLoadContactCallbackProps =\r\n | { isBroker: true }\r\n | ({ isBroker: false; onVhubClick: () => void } & LoadContactCallbackProps);\r\n\r\ntype ContactProps = {\r\n dispatchName?: string;\r\n dispatchPhone?: Phone;\r\n dispatchEmail?: string;\r\n loadDetails?: Load;\r\n isOriginMessaging?: boolean;\r\n isOriginBids?: boolean;\r\n} & ConditionalLoadContactCallbackProps;\r\n\r\ntype Props = {\r\n commodity?: string;\r\n postReference?: string;\r\n numberOfLoads?: number;\r\n notes?: string;\r\n numberOfStops?: number;\r\n commodityLabel?: string;\r\n loadInfo?: LoadInfo;\r\n customFontSize?: FontSize;\r\n notesRef: RefObject;\r\n teamDriving?: string;\r\n} & ContactProps;\r\n\r\ninterface InformationSectionProps {\r\n id: string;\r\n title?: string;\r\n value: string;\r\n}\r\n\r\nconst MoreDetailsWrapper = withTheme()(styled.div`\r\n font-size: ${(props: ThemeProps) => props.theme.text.subtitleRegular.fontSize};\r\n\r\n span {\r\n margin-bottom: 20px;\r\n display: flex;\r\n flex-direction: column;\r\n\r\n a {\r\n text-decoration: none;\r\n color: ${(props: ThemeProps) => props.theme.palette.secondary.main};\r\n }\r\n }\r\n`);\r\n\r\nconst MoreTitle = styled.span`\r\n opacity: ${Opacity.translucent};\r\n font-weight: bold;\r\n font-size: ${FontSize.ContentDetail}px;\r\n`;\r\n\r\nexport const Label = styled.span`\r\n font-size: ${FontSize.ContentDetail}px;\r\n`;\r\n\r\nexport const DataGrid = styled.div`\r\n display: grid;\r\n grid-template-columns: 35% 65%;\r\n`;\r\n\r\nconst Data = styled.span`\r\n font-weight: bold;\r\n word-break: break-word;\r\n`;\r\n\r\nconst NoteData = styled(Data)`\r\n white-space: pre-wrap;\r\n word-break: normal;\r\n word-wrap: break-word;\r\n`;\r\n\r\nconst ContactInfoData = styled.span`\r\n margin-bottom: 3px;\r\n`;\r\n\r\nconst Row: React.FC = ({ id, title, value }) => (\r\n <>\r\n \r\n {value}\r\n \r\n);\r\n\r\nconst Note: React.FC }> = ({\r\n id,\r\n title,\r\n value,\r\n noteRef,\r\n}) => (\r\n <>\r\n \r\n {value}\r\n \r\n);\r\n\r\nconst Contacts: React.FC = (props) => (\r\n <>\r\n \r\n \r\n {props.dispatchName}\r\n {props.isBroker ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n);\r\n\r\nexport const LoadDetailsMoreInfo: React.FC = (props) => {\r\n const popupContext = usePopup();\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (props.loadInfo?.isEmailSentSuccessfully && props.loadDetails) {\r\n popupContext.openingPopup({\r\n body: ,\r\n width: PopupSizes.LARGE,\r\n isDismissible: false,\r\n });\r\n }\r\n }, [props.loadInfo?.isEmailSentSuccessfully]);\r\n\r\n const commodity = formatStringOrDash(props.commodity);\r\n const isTeamDriven = props.loadDetails?.teamDriving;\r\n const commodityLabel = props.commodityLabel;\r\n const postReference = formatStringOrDash(props.postReference);\r\n const qty = formatNumberOrDash(treatZeroAsUndefined(props.numberOfLoads));\r\n const stops = formatNumberOrDash(treatZeroAsUndefined(props.numberOfStops));\r\n const notes = formatStringOrDash(props.notes);\r\n const dispatchName = formatStringOrDash(props.dispatchName);\r\n\r\n const renderEmailApiErrorPopup = () => {\r\n if (props.loadDetails) {\r\n const loadID = props.loadDetails.id;\r\n return (\r\n dispatch(clearEmailSendingState(loadID))}\r\n />\r\n );\r\n }\r\n return null;\r\n };\r\n\r\n const contactCallbacksProps: ConditionalLoadContactCallbackProps = props.isBroker\r\n ? { isBroker: true }\r\n : {\r\n isBroker: false,\r\n onVhubClick: props.onVhubClick,\r\n onCallClick: props.onCallClick,\r\n onEmailClick: props.onEmailClick,\r\n onInteractiveBidClick: props.onInteractiveBidClick,\r\n onVendorBidClick: props.onVendorBidClick,\r\n onBookNowClick: props.onBookNowClick,\r\n };\r\n\r\n return (\r\n \r\n {t(T.common_load_More_details)}\r\n \r\n \r\n \r\n {isTeamDriven ? : null}\r\n \r\n {props.teamDriving ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n \r\n {renderEmailApiErrorPopup()}\r\n \r\n );\r\n};\r\n","import React, { useState } from 'react';\r\n\r\nimport { isEmpty, map } from 'lodash';\r\nimport styled from 'styled-components';\r\n\r\nimport { isLoadBidSent, isLoadCalled, isLoadEmailed, isLoadMessaged } from '@common/helper';\r\nimport { BookingStatus, Load, LoadContactOption, Phone } from '@common/model';\r\nimport { LinkButton } from '@component/contact/PhoneNumber';\r\nimport { usePushPanel } from '@component/panel/PanelHooks';\r\nimport { LoadContactCallbackProps } from '@component/panels/findLoads/loadDetailsPanel/buttons/ContactButtons';\r\nimport { renderPhoneNumber } from '@component/panels/findLoads/loadDetailsPanel/buttons/PhoneButton';\r\nimport { Spacing } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\nimport { useContactOptions } from '@util/helper/ContactOptionsHelper';\r\n\r\ninterface Props extends LoadContactCallbackProps {\r\n load?: Load;\r\n\r\n isOriginMessaging: boolean;\r\n isOriginBids: boolean;\r\n onVhubClick: () => void;\r\n}\r\n\r\ninterface ButtonProps {\r\n onClick: () => void;\r\n}\r\n\r\ninterface DataProps {\r\n load?: Load;\r\n dispatchPhone?: Phone;\r\n dispatchEmail?: string;\r\n}\r\n\r\nconst ContactButton = styled(LinkButton)`\r\n margin-bottom: ${Spacing.LargePaddingVertical}px;\r\n`;\r\n\r\nconst ContactData = styled.span`\r\n font-weight: bold;\r\n word-break: break-word;\r\n margin-bottom: 3px;\r\n`;\r\n\r\nexport const MoreInfoContactButtons = (props: Props) => {\r\n const contactOptions = useContactOptions(props.load, props.isOriginMessaging, props.isOriginBids);\r\n return isEmpty(contactOptions) ? null : <>{map(contactOptions, (option) => renderContactOption(option, props))};\r\n};\r\n\r\nconst renderContactOption = (option: LoadContactOption, props: Props) => {\r\n switch (option) {\r\n case LoadContactOption.Bid:\r\n return ;\r\n case LoadContactOption.VendorBid:\r\n return ;\r\n case LoadContactOption.BookNow:\r\n return ;\r\n case LoadContactOption.Call:\r\n return ;\r\n case LoadContactOption.Email:\r\n return ;\r\n case LoadContactOption.Message:\r\n return ;\r\n case LoadContactOption.VhubBook:\r\n return ;\r\n default:\r\n return null;\r\n }\r\n};\r\n\r\nconst BidButton: React.FC<{ load?: Load } & ButtonProps> = (props) => {\r\n const hasBid = isLoadBidSent(props.load) || props.load?.vendorInfo?.bid;\r\n return (\r\n \r\n {hasBid ? t(T.common_vendorBid_bidSent) : t(T.common_bids_buttons_bid)}\r\n \r\n );\r\n};\r\n\r\nconst BookNowButton: React.FC<{ load?: Load } & ButtonProps> = (props) => {\r\n const bookingStatus = props.load?.bookNow?.bookingStatus;\r\n const isBooked = bookingStatus === BookingStatus.Accepted || bookingStatus === BookingStatus.Pending;\r\n\r\n const isBookedText =\r\n bookingStatus === BookingStatus.Accepted ? t(T.common_bookNow_booked) : t(T.common_bookNow_bookingPending);\r\n\r\n return bookingStatus === BookingStatus.Rejected ? null : (\r\n \r\n {isBooked ? isBookedText : t(T.common_bookNow_title)}\r\n \r\n );\r\n};\r\n\r\nconst CallButton: React.FC<{ load?: Load } & ButtonProps> = (props) => {\r\n const [isPhoneShown, setIsPhoneShown] = useState(false);\r\n const isCalled = isLoadCalled(props.load);\r\n const onCall = () => {\r\n if (isPhoneShown && props.onClick) {\r\n props.onClick();\r\n }\r\n setIsPhoneShown(true);\r\n };\r\n return (\r\n \r\n {isPhoneShown\r\n ? renderPhoneNumber(props.load?.dispatchPhone)\r\n : isCalled\r\n ? t(T.common_load_Call_again)\r\n : t(T.common_load_Call)}\r\n \r\n );\r\n};\r\n\r\nconst EmailButton: React.FC<{ load?: Load } & ButtonProps> = (props) => (\r\n \r\n {isLoadEmailed(props.load) ? t(T.common_emailSent) : t(T.common_email)}\r\n \r\n);\r\n\r\nconst MessageButton: React.FC<{ load?: Load }> = (props) => {\r\n const pushCommunicationPanel = usePushPanel('/communication/');\r\n const isMessaged = isLoadMessaged(props.load);\r\n return (\r\n pushCommunicationPanel()}>\r\n {isMessaged ? t(T.common_conversations_buttonMessageAgain) : t(T.common_conversations_button)}\r\n \r\n );\r\n};\r\n\r\nconst VhubBookWithButton: React.FC = (props) => (\r\n \r\n {t(T.common_vHub_vHubBookWithButtonLabel)}\r\n \r\n);\r\n\r\nexport const MoreInfoContactData: React.FC = (props) => {\r\n const phone = renderPhoneNumber(props.load ? props.load?.dispatchPhone : props.dispatchPhone);\r\n const email = props.load ? props.load.dispatchEmail : props.dispatchEmail;\r\n return (\r\n <>\r\n {phone ? {phone} : null}\r\n {email ? {email} : null}\r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\n\r\ninterface Props {\r\n id: string;\r\n title: string;\r\n renderRight: () => React.ReactNode;\r\n}\r\n\r\nconst Container = styled.div`\r\n word-wrap: break-word;\r\n align-items: baseline;\r\n display: grid;\r\n grid-template-columns: 40% 60%;\r\n grid-column-gap: 8px;\r\n`;\r\n\r\nconst BaseText = styled.span`\r\n color: ${Color.GRAY_DARK};\r\n line-height: 20px;\r\n`;\r\n\r\nconst TextContentDetailDark = styled(BaseText)`\r\n font-size: ${FontSize.ContentDetail}px;\r\n`;\r\n\r\nconst TextContentDetailDarkBold = styled(TextContentDetailDark)`\r\n font-weight: bold;\r\n`;\r\n\r\nexport const renderLoadDetailsValueRowTextRight = (text: string) => () => {\r\n return {text};\r\n};\r\n\r\nexport const LoadDetailsValueRow: React.FC = (props: Props) => {\r\n const { title, renderRight } = props;\r\n return (\r\n \r\n {title}\r\n
{renderRight && renderRight()}
\r\n
\r\n );\r\n};\r\n","import React, { useEffect, useRef, useState } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport { useHistory } from 'react-router-dom';\r\nimport styled from 'styled-components';\r\n\r\nimport { LoadDetailsTabs } from '@/model';\r\nimport { Load, LoadProgress } from '@common/model';\r\nimport { DocumentsContext } from '@common/redux/epic/DocumentListEpic';\r\nimport { getFolderByLoad } from '@common/redux/epic/DocumentsEpic';\r\nimport { setProgress } from '@common/redux/epic/LoadInfoEpic';\r\nimport { ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { ExpansionPanelDataWrapper } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport {\r\n showBookDialog,\r\n useOpenDocumentWithFolder,\r\n} from '@component/panels/findLoads/loadDetailsPanel/ManageDocuments';\r\nimport { usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { myDocumentsEncoder } from '@page/myDocuments/MyDocumentsEncoder';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nimport { default as LoadDocumentsIcon } from './load-documents.svg';\r\n\r\nexport const LinkButton = styled.div`\r\n cursor: pointer;\r\n color: ${Color.ORANGE_MAIN};\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n height: 44px;\r\n margin: auto;\r\n margin-top: 10px;\r\n font-weight: bold;\r\n`;\r\n\r\nconst TextContent = styled.div`\r\n color: ${Color.LIGHT_BLACK};\r\n`;\r\n\r\ninterface Props {\r\n load: Load | undefined;\r\n handleChange(tab: LoadDetailsTabs, status: boolean): void;\r\n isOpened: boolean;\r\n isFromMyLoads?: boolean;\r\n}\r\n\r\nexport const LoadDocuments: React.FC = (props) => {\r\n const folderIdentifier = useSelector((state) => state.documents.loadDetailsDocuments.loadFolderIdentifier);\r\n const isLoadingLoadFolder = useSelector((state) => state.documents.loadDetailsDocuments.isLoadingLoadFolder);\r\n\r\n const history = useHistory();\r\n const myDocumentsSearchParams = myDocumentsEncoder.convertUrlSearchParamsToObject(history.location.search);\r\n const context = myDocumentsSearchParams.context ?? DocumentsContext.DEFAULT;\r\n\r\n const openDocumentsWithFolder = useOpenDocumentWithFolder(props.isFromMyLoads, context);\r\n const shouldOpenMyDocuments = useRef(false);\r\n const popupContext = usePopup();\r\n const dispatch = useDispatch();\r\n const totalDocumentCount = folderIdentifier?.fileCount ?? 0;\r\n const [isCurrentLoadCount, setIsCurrentLoadCount] = useState(false);\r\n\r\n useEffect(() => {\r\n if (props.load?.id && folderIdentifier?.loadId) {\r\n setIsCurrentLoadCount(props.load?.id === folderIdentifier?.loadId);\r\n } else {\r\n setIsCurrentLoadCount(!folderIdentifier?.loadId);\r\n }\r\n }, [props.load?.id, folderIdentifier?.loadId]);\r\n\r\n useEffect(() => {\r\n if (props.load?.id) {\r\n dispatch(getFolderByLoad(props.load.id));\r\n }\r\n }, [props.load?.id, props.load?.metadata?.userdata?.progress]);\r\n\r\n useEffect(() => {\r\n if (folderIdentifier?.loadId && shouldOpenMyDocuments.current) {\r\n openDocumentsWithFolder(folderIdentifier);\r\n shouldOpenMyDocuments.current = false;\r\n }\r\n }, [folderIdentifier?.loadId]);\r\n\r\n if (!props.load) {\r\n return null;\r\n }\r\n\r\n const bookLoad = () => {\r\n if (props.load?.id) {\r\n dispatch(setProgress(props.load?.id, LoadProgress.Booked));\r\n }\r\n };\r\n\r\n const openFolderOrBook = () => {\r\n if (\r\n !props.load?.metadata?.userdata?.progress ||\r\n props.load?.metadata.userdata.progress === LoadProgress.LoadAvailable\r\n ) {\r\n showBookDialog(popupContext, bookLoad);\r\n shouldOpenMyDocuments.current = true;\r\n } else {\r\n openDocumentsWithFolder(folderIdentifier);\r\n }\r\n };\r\n\r\n const handleTabClick = () => {\r\n props.handleChange(LoadDetailsTabs.LoadDocuments, !props.isOpened);\r\n };\r\n\r\n return (\r\n \r\n \r\n {t(T.common_loadDetails_loadDocuments_description)}\r\n \r\n {t(T.common_loadDetails_loadDocuments_manageDocuments)}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst getDocumentsCount = (isLoading: boolean, isCurrentLoadFolder: boolean, totalDocumentCount: number) => {\r\n if (isLoading || !isCurrentLoadFolder) {\r\n return t(T.common_myDocuments_updateFolder_updating);\r\n }\r\n return totalDocumentCount == 1\r\n ? t(T.common_loadDetails_loadDocuments_oneFileAttached)\r\n : t(T.common_loadDetails_loadDocuments_filesAttached, {\r\n num: totalDocumentCount,\r\n });\r\n};\r\n","import React from 'react';\r\n\r\nimport { connect } from 'react-redux';\r\n\r\nimport { LoadDetailsTabs } from '@/model';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { formatPrice } from '@common/helper';\r\nimport { Load } from '@common/model';\r\nimport { RouteInfo } from '@common/model/PCMiler';\r\nimport { UnlockFeaturePopupType } from '@common/model/UserPlan';\r\nimport { defaultLoadInfo } from '@common/redux/epic/LoadInfoEpic';\r\nimport { ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport {\r\n ExpansionPanelDataWrapper,\r\n SpecialLink,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport THEME from '@style/Theme';\r\nimport { t, T } from '@translate';\r\nimport icons from '@util/iconsConstants';\r\n\r\nimport { default as GoogleMapIcon } from './google map.svg';\r\nimport { default as MileageIcon } from './mileage.svg';\r\nimport { default as NewTabIcon } from './new window.svg';\r\nimport { default as PCMilerIcon } from './pc miler.svg';\r\n\r\nexport enum AccordionInfoStatus {\r\n LOADING,\r\n AVAILABLE,\r\n UNAVAILABLE,\r\n NOT_PERMITTED,\r\n}\r\n\r\ninterface ComponentProps {\r\n onMapClick: () => void;\r\n load: Load;\r\n handleChange(tab: LoadDetailsTabs, status: boolean): void;\r\n isOpened: boolean;\r\n}\r\n\r\ninterface ReduxProps {\r\n routeInfo?: RouteInfo;\r\n status: AccordionInfoStatus;\r\n}\r\n\r\ntype Props = ReduxProps & ComponentProps;\r\n\r\nclass Milage extends React.Component {\r\n openMap = () => {\r\n this.props.onMapClick();\r\n };\r\n\r\n openGoogleMap = () => {\r\n const { load } = this.props;\r\n let point1;\r\n let point2;\r\n if (load.destinationLocation && load.destinationLocation.geolocation) {\r\n const { latitude, longitude } = load.destinationLocation.geolocation;\r\n point1 = [latitude, longitude];\r\n }\r\n if (load.originLocation && load.originLocation.geolocation) {\r\n const { latitude, longitude } = load.originLocation.geolocation;\r\n point2 = [latitude, longitude];\r\n }\r\n if (point1 && point2) {\r\n const url = `https://www.google.com/maps/dir/${point2[0]},+${point2[1]}/${point1[0]},+${point1[1]}`;\r\n window.open(url, '_blank');\r\n }\r\n };\r\n\r\n handleTabClick = () => {\r\n this.props.handleChange(LoadDetailsTabs.Mileage, !this.props.isOpened);\r\n };\r\n\r\n render() {\r\n const { routeInfo, status } = this.props;\r\n return (\r\n \r\n \r\n \r\n \r\n
\r\n {t(T.findLoads_loadDetails_pcMiler)}\r\n
\r\n \"\" className=\"arrow-icon\" />\r\n
\r\n \r\n {'maps'}\r\n
\r\n {t(T.findLoads_loadDetails_googleMap)}\r\n
\r\n \"\" className=\"arrow-icon\" />\r\n
\r\n
\r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state: StoreState, props: ComponentProps): ReduxProps => {\r\n let status: AccordionInfoStatus = AccordionInfoStatus.UNAVAILABLE;\r\n const loadInfo = state.loadInfo.loadInfoMap.get(props.load.id) || defaultLoadInfo;\r\n const isUserAllowed = state.user.accesses.isMapTollsAvailable;\r\n if (!isUserAllowed) {\r\n status = AccordionInfoStatus.NOT_PERMITTED;\r\n } else {\r\n if (loadInfo.isLoadingRouteInfo) {\r\n status = AccordionInfoStatus.LOADING;\r\n } else if (loadInfo.routeInfo) {\r\n status = AccordionInfoStatus.AVAILABLE;\r\n }\r\n }\r\n return {\r\n routeInfo: loadInfo.routeInfo,\r\n status: status,\r\n };\r\n};\r\n\r\nexport const Mileage = connect(mapStateToProps)(Milage);\r\n","import React, { useEffect, useState } from 'react';\r\n\r\nimport { isEmpty } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { TextField, withStyles } from '@material-ui/core';\r\n\r\nimport { addNote, LoadInfo } from '@common/redux/epic/LoadInfoEpic';\r\nimport { MultipurposeButton } from '@component/buttons';\r\nimport { MyNoteTitle, Row } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { SimpleButtonWrapper } from '@page/unsubscribeAssistant/UnsubscribeStylesHelper';\r\nimport { Spacing } from '@style/StyleConstants';\r\nimport { THEME } from '@style/Theme';\r\nimport { T, t } from '@translate';\r\n\r\nconst DEFAULT_MAX_FIELD_LENGTH = 255;\r\n\r\nconst SaveButtonWrapper = styled(SimpleButtonWrapper)`\r\n && {\r\n align-self: right;\r\n width: 120px;\r\n margin-bottom: ${Spacing.TwoSpaces};\r\n }\r\n`;\r\n\r\ninterface Props {\r\n loadInfo: LoadInfo | undefined;\r\n companyId: string;\r\n note: string | undefined;\r\n isLoadDetailsSingleColumn: boolean;\r\n}\r\n\r\nconst StyledTextInput = withStyles({\r\n root: {\r\n width: '100%',\r\n border: `1px solid ${THEME.palette.textInput.borderColor}`,\r\n borderTopRightRadius: 4,\r\n borderTopLeftRadius: 4,\r\n backgroundColor: THEME.palette.textInput.backgroundColor,\r\n borderRadius: '4px 4px 0 0',\r\n '& div': {\r\n backgroundColor: `${THEME.palette.textInput.backgroundColor} !important`,\r\n '&:before': {\r\n borderColor: `${THEME.palette.textInput.borderColor} !important`,\r\n },\r\n },\r\n '& label': {\r\n marginTop: '4px',\r\n },\r\n '& textarea': {\r\n overflow: 'hidden',\r\n },\r\n },\r\n})(TextField);\r\n\r\nconst NoteWrapper = styled(({ isLoadDetailsSingleColumn, ...rest }) =>
)`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: flex-start;\r\n justify-content: flex-start;\r\n padding: ${({ isLoadDetailsSingleColumn }) =>\r\n isLoadDetailsSingleColumn ? '5px 15px 15px 15px' : '8px 0px 15px 0px'};\r\n background: ${THEME.palette.background.paper};\r\n`;\r\n\r\nexport const Note: React.FC = (props) => {\r\n const [value, setValue] = useState('');\r\n const dispatch = useDispatch();\r\n useEffect(() => setValue(props.note ?? ''), []);\r\n\r\n const handleChange = (event: React.ChangeEvent) => {\r\n if (event.target.value.length <= DEFAULT_MAX_FIELD_LENGTH) {\r\n setValue(event.target.value);\r\n }\r\n };\r\n\r\n const saveNote = () => {\r\n dispatch(addNote(props.companyId, value ?? ''));\r\n };\r\n\r\n const isChanged = value !== props.note && !(isEmpty(value) && isEmpty(props.note));\r\n\r\n return (\r\n \r\n {t(T.findLoads_loadDetails_myNote)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { displayDate } from '@common/formatter';\r\nimport { Message } from '@common/model';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize, FontWeight, Spacing } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\nimport { default as AlertSvg } from './icon-alerts.svg';\r\n\r\ninterface Props {\r\n message: Message;\r\n}\r\n\r\nconst TruckAlertMessageBar = styled.div`\r\n display: flex;\r\n align-items: flex-start;\r\n width: 100%;\r\n min-height: 70px;\r\n background-color: ${Color.ORANGE_MARIGOLD};\r\n border-bottom: 2px solid ${Color.ORANGE_MAIN};\r\n padding: 10px ${Spacing.ScreenSide}px;\r\n box-sizing: border-box;\r\n`;\r\n\r\nconst TruckAlertMessageInformation = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n flex: 1;\r\n height: 100%;\r\n`;\r\n\r\nconst TruckAlertMessageSentTime = styled.div`\r\n margin-top: 3px;\r\n font-size: ${FontSize.Content}px;\r\n font-weight: ${FontWeight.Bold};\r\n color: ${Color.BLACK};\r\n`;\r\n\r\nconst TruckAlertMessageText = styled.div`\r\n margin-top: ${Spacing.InterElementVertical}px;\r\n font-size: ${FontSize.ContentDetail}px;\r\n color: ${Color.BLACK};\r\n`;\r\n\r\nexport const TruckAlertMessage: React.FC = ({ message }) => {\r\n return (\r\n \r\n \"bell\"\r\n \r\n \r\n {message.time\r\n ? t(T.common_loadDetails_truckAlert_alertSent, { time: displayDate(message.time) })\r\n : t(T.common_notApplicable)}\r\n \r\n {message.text}\r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { Link } from 'react-router-dom';\r\nimport styled from 'styled-components';\r\n\r\nimport { Card, CardContent, Paper } from '@material-ui/core';\r\n\r\nimport { default as DollarIconSVG } from '@/icons/icon_dollar.svg?react';\r\nimport { default as UpArrowIconSVG } from '@/icons/icon_up_arrow.svg?react';\r\nimport { NO_INFORMATION_SYMBOL_LONG } from '@common/formatter';\r\nimport { Text, TextStyle } from '@component/text';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize, Spacing } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\nimport { getCostPerDayTitleData } from '@util/helper/CostPerDayHelper';\r\n\r\nconst Flex = styled.div`\r\n display: flex;\r\n align-items: center;\r\n`;\r\n\r\nexport const TitleWrapper = styled(Flex)`\r\n justify-content: center;\r\n gap: 5px;\r\n`;\r\n\r\nexport const LinkButton = styled(Link)`\r\n margin-top: 3px;\r\n cursor: pointer;\r\n color: ${Color.ORANGE_MAIN};\r\n font-size: ${FontSize.Content}px;\r\n text-decoration: none;\r\n font-weight: bold;\r\n &:hover {\r\n color: ${Color.ORANGE_DARK};\r\n }\r\n`;\r\n\r\nconst CardHeader = styled(Flex)`\r\n padding: 5px 15px 5px 10px;\r\n justify-content: space-between;\r\n`;\r\n\r\nconst BadgeContainer = styled(Paper)`\r\n margin: ${Spacing.ScreenSide}px;\r\n padding: 5px 15px 5px 10px;\r\n display: flex;\r\n align-items: center;\r\n justify-content: space-between;\r\n border-radius: 20px !important;\r\n`;\r\n\r\nconst CardTitle = styled(Text)`\r\n margin: auto;\r\n margin-top: 3px;\r\n`;\r\n\r\nconst DefaultTitle = styled(Text)`\r\n color: ${Color.BLACK};\r\n padding-left: 5px;\r\n`;\r\n\r\nexport const CostPerDayNotAvailableBadge = ({ onClick }: { onClick?: () => void }) => (\r\n \r\n \r\n \r\n \r\n {t(T.common_costPerDay_card_notAvailable)}\r\n \r\n \r\n \r\n);\r\n\r\ninterface CostPerDayButtonProps {\r\n percentage: number;\r\n isSetupComplete: boolean;\r\n onClick?: () => void;\r\n}\r\n\r\nexport const CostPerDayButton = (props: CostPerDayButtonProps) => {\r\n const { title, color, iconStyle, percentageText } = getCostPerDayTitleData(props.percentage);\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const DefaultCostPerDayTitle = () => (\r\n \r\n \r\n \r\n {t(T.common_costPerDay_card_title)}:\r\n \r\n {NO_INFORMATION_SYMBOL_LONG}\r\n \r\n \r\n \r\n);\r\n\r\ninterface CostPerDayTitleProps {\r\n isSetupComplete: boolean;\r\n percentageText: string;\r\n iconStyle: React.CSSProperties;\r\n title: string;\r\n color: Color;\r\n containerStyle?: React.CSSProperties;\r\n}\r\n\r\nexport const CostPerDayTitle = (props: CostPerDayTitleProps) => {\r\n if (!props.isSetupComplete) {\r\n return ;\r\n }\r\n\r\n return (\r\n \r\n \r\n
\r\n \r\n {props.percentageText}\r\n \r\n \r\n {props.title}\r\n \r\n
\r\n
\r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { UnlockFeaturePopupType } from '@common/model/UserPlan';\r\nimport { UnlockLink } from '@component/panels/basePanel/loadDetails/generalInfo//UnlockLink';\r\nimport { DetailRow } from '@component/panels/basePanel/loadDetails/generalInfo/LoadDetailsInfoBar';\r\nimport { T, t } from '@translate';\r\nimport { NO_INFORMATION_SYMBOL } from '@util/Constants';\r\nimport { useSelector } from '@util/hooks';\r\n\r\ninterface DrivingTimeProps {\r\n drivingTime: string;\r\n}\r\n\r\nexport const DrivingTimeInfo: React.FC = (props) => {\r\n const isMapTollsAvailable = useSelector((state) => state.user.accesses.isMapTollsAvailable);\r\n\r\n const value = isMapTollsAvailable ? (\r\n props.drivingTime || NO_INFORMATION_SYMBOL\r\n ) : (\r\n \r\n );\r\n\r\n return ;\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Load } from '@common/model';\r\nimport { Spacing } from '@style/StyleConstants';\r\nimport THEME from '@style/Theme';\r\n\r\nimport { LoadDetailsGeneralInfoHeader } from './LoadDetailsGeneralInfoHeader';\r\nimport { LoadDetailsInfoBar } from './LoadDetailsInfoBar';\r\nimport { LoadDetailsOriginDestination } from './LoadDetailsOriginDestination';\r\n\r\nconst LOAD_DETAILS_INFO_PADDING = 20;\r\n\r\ninterface ComponentProps {\r\n searchLoads?: Load[];\r\n backhaulsLoads?: Load[];\r\n similarLoads?: Load[];\r\n currentLoadId?: string;\r\n isPostLoad?: boolean;\r\n loadDetails?: Load;\r\n profitPerDay?: number;\r\n onManualExtraStopClick: () => void;\r\n openProfitCalculator?: () => void;\r\n}\r\n\r\nconst Row = styled.div`\r\n padding: ${Spacing.ScreenSide}px ${LOAD_DETAILS_INFO_PADDING}px 0 ${LOAD_DETAILS_INFO_PADDING}px;\r\n border-bottom: 1px solid ${THEME.palette.background.smoke};\r\n`;\r\n\r\nconst ContentData = styled.div`\r\n padding-top: ${Spacing.InterElementVertical}px;\r\n`;\r\n\r\nexport const LoadDetailsGeneralInfo: React.FC = (props) => {\r\n if (!props.loadDetails) {\r\n return null;\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport Tooltip from '@material-ui/core/Tooltip';\r\n\r\nimport { showSnackbar } from '@/reduxStore/reducer/SnackbarReducer';\r\nimport { isBrokerFavorite, isOnboarded, shortStringifyAge } from '@common/helper';\r\nimport { Load } from '@common/model';\r\nimport { favoriteBrokers, hideBrokers, onboardBrokers } from '@common/redux/epic/BrokerEpic';\r\nimport { onboardedConfirmation } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPopups';\r\nimport { usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { Color } from '@style/Color';\r\nimport { ElementSize, Opacity } from '@style/StyleConstants';\r\nimport THEME from '@style/Theme';\r\nimport { t, T } from '@translate';\r\nimport icons from '@util/iconsConstants';\r\nimport { loadAgeProvider } from '@util/LoadAgeProvider';\r\n\r\nimport { default as LikeIconOff } from './icon-favorite-off.svg';\r\nimport { default as LikeIconOn } from './icon-favorite-on.svg';\r\nimport { default as OnboardedIconOff } from './icon-onboarded-off.svg';\r\nimport { default as OnboardedIconOn } from './icon-onboarded-on.svg';\r\n\r\ninterface Props {\r\n load: Load;\r\n age?: number;\r\n isBrokerUi?: boolean;\r\n}\r\n\r\nconst Title = styled.div`\r\n display: flex;\r\n justify-content: flex-start;\r\n align-items: flex-start;\r\n`;\r\n\r\nconst CompanyName = styled.div`\r\n display: flex;\r\n flex: 1;\r\n width: 100%;\r\n align-content: stretch;\r\n flex-direction: row;\r\n font-weight: ${THEME.text.loadDetailsCompanyName.fontWeight};\r\n text-transform: none;\r\n font-size: ${THEME.text.loadDetailsCompanyName.fontSize};\r\n line-height: ${THEME.text.loadDetailsCompanyName.lineHeight};\r\n`;\r\n\r\nconst LightText = styled.div`\r\n font-size: ${THEME.text.body.fontSize};\r\n opacity: ${Opacity.translucent};\r\n margin-left: auto;\r\n`;\r\n\r\nexport const LoadDetailsGeneralInfoHeaderComponent: React.FC = (props) => {\r\n return (\r\n <>\r\n \r\n {props.load.poster && (\r\n <Tooltip title={props.load.poster.name} placement=\"top\">\r\n <CompanyName id=\"company\">{props.load.poster.name}</CompanyName>\r\n </Tooltip>\r\n )}\r\n {props.isBrokerUi === undefined || !props.isBrokerUi ? (\r\n <>\r\n <OnboardedButtton isOnboarded={isOnboarded(props.load)} loadId={props.load?.poster?.id} />\r\n <FavoriteButton isFavorite={isBrokerFavorite(props.load)} loadId={props.load?.poster?.id} />\r\n </>\r\n ) : null}\r\n \r\n {props.age ? {shortStringifyAge(props.age)} : null}\r\n \r\n );\r\n};\r\n\r\nexport const CircleContainer = styled.div`\r\n display: flex;\r\n background-color: ${Color.WHITE};\r\n box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.27);\r\n height: 34px;\r\n width: 34px;\r\n border-radius: 17px;\r\n margin-left: 8px;\r\n align-content: center;\r\n justify-content: center;\r\n cursor: pointer;\r\n :hover {\r\n background: rgba(0, 0, 0, 0.1);\r\n box-shadow: none;\r\n }\r\n`;\r\n\r\nexport const FavoriteButton: React.FC<{ loadId: string | undefined; isFavorite: boolean }> = (props) => {\r\n const dispatch = useDispatch();\r\n\r\n const handleFavoriteClick = () => {\r\n if (props.loadId) {\r\n dispatch(favoriteBrokers([{ id: props.loadId, favorite: !props.isFavorite }], undefined));\r\n }\r\n dispatch(\r\n showSnackbar({\r\n message: !props.isFavorite ? t(T.snackbars_companyFavorited) : t(T.snackbars_companyUnfavorited),\r\n })\r\n );\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const OnboardedButtton: React.FC<{ loadId: string | undefined; isOnboarded: boolean }> = (props) => {\r\n const dispatch = useDispatch();\r\n const popupTracking = usePopup();\r\n const onOnboardedClick = () => {\r\n if (props.loadId) {\r\n dispatch(onboardBrokers([{ id: props.loadId, onboarded: !props.isOnboarded }], undefined));\r\n }\r\n dispatch(\r\n showSnackbar({\r\n message: !props.isOnboarded\r\n ? t(T.findLoads_findLoads_company_added_onboarded)\r\n : t(T.findLoads_findLoads_company_removed_onboarded),\r\n })\r\n );\r\n };\r\n\r\n const handleTagAsOnboarded = () => {\r\n onboardedConfirmation(onOnboardedClick, popupTracking);\r\n };\r\n\r\n const handleOnboardedClick = () => {\r\n if (props.isOnboarded) {\r\n onOnboardedClick();\r\n } else {\r\n handleTagAsOnboarded();\r\n }\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const BlockButton: React.FC<{ loadId: string | undefined; isHidden: boolean }> = (props) => {\r\n const dispatch = useDispatch();\r\n\r\n const handleBlockClick = () => {\r\n if (props.loadId) {\r\n dispatch(hideBrokers([{ id: props.loadId, hide: !props.isHidden }], false, undefined));\r\n }\r\n dispatch(\r\n showSnackbar({\r\n message: !props.isHidden ? t(T.snackbars_companyBlocked) : t(T.snackbars_companyUnblocked),\r\n })\r\n );\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const LoadDetailsGeneralInfoHeader = loadAgeProvider(LoadDetailsGeneralInfoHeaderComponent);\r\n","import React, { useEffect, useMemo, useState } from 'react';\r\n\r\nimport { map } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport {\r\n formatSecondsToDuration,\r\n getFlatRateAmount,\r\n getPricePerMileRate,\r\n getRevenue,\r\n getStringifiedDisplayEquipmentList,\r\n getStringifiedEquipmentSpecName,\r\n isCanadianState,\r\n isEquipmentTypeSupportedForRateCheck,\r\n treatZeroAsUndefined,\r\n} from '@common/helper';\r\nimport { Config, Equipment, Flag, Load } from '@common/model';\r\nimport { fetchUser } from '@common/redux/epic/UserEpic';\r\nimport { getProfitPercentage } from '@common/util/CostPerDayHelper';\r\nimport { LoadingSpinner } from '@component/loadingSpinner/LoadingSpinner';\r\nimport {\r\n CostPerDayButton,\r\n CostPerDayNotAvailableBadge,\r\n} from '@component/panels/basePanel/loadDetails/costPerDay/CostPerDayUIHelper';\r\nimport { DrivingTimeInfo } from '@component/panels/basePanel/loadDetails/generalInfo/DrivingTimeInfo';\r\nimport { CargoChiefRateInfo } from '@component/panels/basePanel/loadDetails/generalInfo/marketRates/CargoChiefRateInfo';\r\nimport { ExpediteAllRateInfo } from '@component/panels/basePanel/loadDetails/generalInfo/marketRates/ExpediteAllRateInfo';\r\nimport { GreenscreensRateInfo } from '@component/panels/basePanel/loadDetails/generalInfo/marketRates/GreenscreensRateInfo';\r\nimport { RateCheckInfo } from '@component/panels/basePanel/loadDetails/generalInfo/marketRates/RateCheckInfo';\r\nimport { useShouldDisplayExpediteAll } from '@component/panels/basePostPanel/PostLoadExpediteAllRateHelper';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize, Opacity, Spacing } from '@style/StyleConstants';\r\nimport THEME from '@style/Theme';\r\nimport { T, t } from '@translate';\r\nimport { NO_INFORMATION_SYMBOL } from '@util/Constants';\r\nimport { formatNumberOrDash, formatStringOrDash } from '@util/Formatter';\r\nimport { useCostPerDay } from '@util/helper/CostPerDayHelper';\r\nimport { useSelector } from '@util/hooks';\r\n\r\ninterface Props {\r\n id: string;\r\n loadDetails?: Load;\r\n isBrokerUi?: boolean;\r\n profitPerDay?: number;\r\n openProfitCalculator?: () => void;\r\n}\r\n\r\ninterface DetailRowProps {\r\n id: string;\r\n title: string;\r\n value: string | React.ReactElement;\r\n subValue?: string;\r\n valueStyle?: React.CSSProperties;\r\n labelStyle?: React.CSSProperties;\r\n}\r\n\r\ninterface LoadDetailsData {\r\n rate: number | undefined;\r\n ratePerMile: string;\r\n distance: string;\r\n loadsize: string;\r\n weight: string;\r\n length: string;\r\n equipments: Equipment[] | undefined;\r\n drivingTime: string;\r\n}\r\n\r\nconst LoadDetailsDataDefault = {\r\n rate: undefined,\r\n ratePerMile: NO_INFORMATION_SYMBOL,\r\n distance: NO_INFORMATION_SYMBOL,\r\n loadsize: NO_INFORMATION_SYMBOL,\r\n weight: NO_INFORMATION_SYMBOL,\r\n length: NO_INFORMATION_SYMBOL,\r\n equipments: undefined,\r\n drivingTime: NO_INFORMATION_SYMBOL,\r\n};\r\n\r\nconst RowGroup = styled.div`\r\n padding-bottom: ${Spacing.ElementPaddingVertical}px;\r\n`;\r\n\r\nconst Row = styled.div`\r\n display: flex;\r\n padding-bottom: ${Spacing.InterElementVertical}px;\r\n flex-wrap: nowrap;\r\n`;\r\n\r\nconst Data = styled.div`\r\n flex: 2;\r\n font-weight: bold;\r\n`;\r\n\r\nconst SubData = styled.div`\r\n flex: 2;\r\n font-size: ${FontSize.ContentDetail}px;\r\n margin-top: 1px;\r\n`;\r\n\r\nconst Label = styled.div`\r\n width: 35%;\r\n font-size: ${FontSize.ContentDetail}px;\r\n`;\r\n\r\nconst RowWithBorder = styled.div`\r\n padding: ${Spacing.ScreenSide}px ${Spacing.LargePaddingHorizontal}px;\r\n border-bottom: 1px solid ${THEME.palette.background.smoke};\r\n`;\r\n\r\nconst MarketRateTitle = styled.div`\r\n opacity: ${Opacity.translucent};\r\n font-weight: bold;\r\n font-size: ${FontSize.ContentDetail}px;\r\n padding-bottom: 16px;\r\n`;\r\n\r\nexport const DetailRow: React.FC = ({ id, title, value, subValue, valueStyle, labelStyle }) => {\r\n return (\r\n \r\n \r\n \r\n {value}\r\n \r\n {subValue ? {subValue} : null}\r\n \r\n );\r\n};\r\n\r\nconst TrailerDetailRow: React.FC = ({ id, title, value, labelStyle }) => {\r\n return (\r\n \r\n \r\n \r\n {value}\r\n \r\n \r\n );\r\n};\r\n\r\nexport const LoadDetailsInfoBar: React.FC = (props) => {\r\n const dispatch = useDispatch();\r\n const costPerDay = useCostPerDay();\r\n const [loadDetailData, setLoadDetailData] = useState(LoadDetailsDataDefault);\r\n\r\n const user = useSelector((state) => state.user.profile?.payload);\r\n\r\n const isCargoChiefDisabled = useSelector((state) => state.settings.systemSetting[Flag.CargoChiefUserDisabled].value);\r\n const isGreenScreenRateDisabled = useSelector(\r\n (state) => state.settings.systemSetting[Flag.GreenscreensRateDisabled].value\r\n );\r\n const loadDetails = useSelector((state) => state.loadInfo.loadInfoMap.get(props.loadDetails?.id ?? ''));\r\n const isLoadingFuelPrice = loadDetails?.isLoadingFuelPrice;\r\n const isLoadingRouteInfo = loadDetails?.isLoadingRouteInfo;\r\n const isLoadingRateCheck = loadDetails?.isLoadingRateCheck;\r\n const equipmentTypes = useMemo(\r\n () => map(loadDetailData.equipments, (item) => item.equipmentType),\r\n [loadDetailData.equipments]\r\n );\r\n const { isEnabled, isExpediteAllType } = useShouldDisplayExpediteAll(equipmentTypes);\r\n\r\n const isLoadingMpgSettings = useSelector((state) => state.settings.isLoading);\r\n\r\n const isLoadingCostPerDaySettings = useSelector(\r\n (state) =>\r\n state.settings.isLoadingSystemSetting || state.settings.systemSetting[Config.CostPerDaySettings].isLoading\r\n );\r\n\r\n const isLoading =\r\n isLoadingFuelPrice ||\r\n isLoadingRouteInfo ||\r\n isLoadingRateCheck ||\r\n isLoadingMpgSettings ||\r\n isLoadingCostPerDaySettings;\r\n\r\n const loadInfo = useSelector((state) =>\r\n props.loadDetails ? state.loadInfo.loadInfoMap.get(props.loadDetails.id) : undefined\r\n );\r\n\r\n const drivingTime = useMemo(\r\n () => (loadInfo?.routeInfo ? formatSecondsToDuration(loadInfo.routeInfo.driveTime) : NO_INFORMATION_SYMBOL),\r\n [loadInfo?.routeInfo]\r\n );\r\n\r\n const hasRate = useMemo(\r\n () => (props.loadDetails ? !!getRevenue(props.loadDetails, loadInfo?.rateCheck?.payload?.linehaulRevenue) : false),\r\n [props.loadDetails, loadInfo?.rateCheck?.payload?.linehaulRevenue]\r\n );\r\n\r\n useEffect(() => {\r\n if (!user) {\r\n dispatch(fetchUser());\r\n }\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (props.loadDetails) {\r\n const numericPostedRate = getPricePerMileRate(props.loadDetails);\r\n let distance;\r\n // no computed computed = 0 computed > 0\r\n // ----------------------------------------------------------------------\r\n // no user | - computed mi computed mi\r\n // |\r\n // user = 0 | user mi computed mi computed mi\r\n // |\r\n // user > 0 | user mi user mi user mi\r\n if (props.loadDetails.computedMileage == null && props.loadDetails.mileage == null) {\r\n distance = NO_INFORMATION_SYMBOL;\r\n } else if (\r\n props.loadDetails.computedMileage != null &&\r\n props.loadDetails.computedMileage >= 0 &&\r\n (props.loadDetails.mileage == null || props.loadDetails.mileage === 0)\r\n ) {\r\n distance = t(T.unit_mi, { value: props.loadDetails.computedMileage });\r\n } else {\r\n distance = t(T.unit_mi, { value: props.loadDetails.mileage });\r\n }\r\n\r\n setLoadDetailData({\r\n ...loadDetailData,\r\n rate: getFlatRateAmount(props.loadDetails),\r\n ratePerMile: numericPostedRate\r\n ? displayCurrencyOrDash(numericPostedRate, true, {\r\n suffix: t(T.common_per_miles_short),\r\n })\r\n : '',\r\n distance: distance,\r\n loadsize: formatStringOrDash(props.loadDetails.loadSize),\r\n weight: formatNumberOrDash(treatZeroAsUndefined(props.loadDetails.weight), ` ${t(T.unit_pounds)}`),\r\n length: formatNumberOrDash(treatZeroAsUndefined(props.loadDetails.length), ` ${t(T.unit_feet)}`),\r\n equipments: props.loadDetails.equipments,\r\n drivingTime: drivingTime,\r\n });\r\n }\r\n }, [props.loadDetails, drivingTime]);\r\n\r\n const isEquipmentTypeSupported = isEquipmentTypeSupportedForRateCheck(loadDetailData.equipments);\r\n const shouldShowExpediteAll = props.isBrokerUi && isExpediteAllType && isEnabled;\r\n\r\n const renderCostPerDaySection = () => {\r\n if (costPerDay.enabled && !props.isBrokerUi) {\r\n if (isLoading) {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n }\r\n if (!hasRate && (props.profitPerDay === undefined || props.profitPerDay <= 0)) {\r\n return ;\r\n }\r\n return (\r\n \r\n );\r\n }\r\n return null;\r\n };\r\n\r\n return (\r\n <>\r\n {renderCostPerDaySection()}\r\n \r\n \r\n \r\n \r\n {t(T.common_marketRate_title)}\r\n {shouldShowExpediteAll ? (\r\n \r\n ) : (\r\n \r\n )}\r\n {!props.isBrokerUi && !isCargoChiefDisabled ? (\r\n \r\n ) : null}\r\n {!props.isBrokerUi && !isGreenScreenRateDisabled ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst getTrailerData = (equipments: Equipment[] | undefined) => {\r\n return equipments && equipments.length > 0 ? (\r\n <>\r\n {map(equipments, ({ equipmentType, equipmentSpecifications }, index) => {\r\n const formattedEquipmentSpecifications = getStringifiedEquipmentSpecName(equipmentSpecifications);\r\n return (\r\n \r\n {getStringifiedDisplayEquipmentList(equipmentType)}\r\n {formattedEquipmentSpecifications ? (\r\n ({formattedEquipmentSpecifications})\r\n ) : null}\r\n {index !== equipments.length - 1 ?
: null}\r\n
\r\n );\r\n })}\r\n \r\n ) : (\r\n {'-'}\r\n );\r\n};\r\n","import React, { useRef } from 'react';\r\n\r\nimport { find, isEmpty, isNil, map } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\nimport styled from 'styled-components';\r\n\r\nimport { Tooltip } from '@material-ui/core';\r\n\r\nimport {\r\n formatTime,\r\n isTimePresentInDate,\r\n isWithManualPostedExtraStops,\r\n parseMomentDate,\r\n serverGMTRFCToUserLocalTZ,\r\n stringifyLocation,\r\n} from '@common/helper';\r\nimport { Load, LoadExtraStop, Location } from '@common/model';\r\nimport { LocationsSpacer } from '@component/locationsSpacer/LocationsSpacer';\r\nimport { Color } from '@style/Color';\r\nimport { Spacing } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\ninterface ComponentProps {\r\n originLocation?: Location;\r\n destinationLocation?: Location;\r\n pickupDateTimes?: string[];\r\n deliveryDateTime?: string;\r\n searchLoads?: Load[];\r\n backhaulsLoads?: Load[];\r\n similarLoads?: Load[];\r\n currentLoadId?: string;\r\n load: Load;\r\n onManualExtraStopClick?: () => void;\r\n}\r\n\r\nconst LocationsWithSpacer = styled.div`\r\n display: grid;\r\n margin-top: 20px;\r\n grid-template-columns: 10px 90%;\r\n grid-column-gap: ${Spacing.ElementPaddingHorizontal}px;\r\n`;\r\n\r\nconst Locations = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n`;\r\n\r\nconst DetailsDestination = styled.div`\r\n font-weight: bold;\r\n display: flex;\r\n align-items: flex-start;\r\n flex-direction: column;\r\n white-space: nowrap;\r\n margin-bottom: 16px;\r\n text-transform: none;\r\n`;\r\n\r\nconst ManualPostedStopsCount = styled(DetailsDestination)`\r\n color: ${Color.ORANGE_MAIN};\r\n`;\r\n\r\nconst Deadhead = styled.span`\r\n display: flex;\r\n align-self: center;\r\n font-size: 12px;\r\n opacity: 0.5;\r\n font-weight: normal;\r\n margin-left: 10px;\r\n text-transform: none;\r\n`;\r\n\r\nconst DateContainer = styled.div`\r\n flex-direction: column;\r\n`;\r\nconst DateTime = styled.div`\r\n display: flex;\r\n font-size: 12px;\r\n margin-top: 5px;\r\n font-weight: normal;\r\n min-height: 15px;\r\n max-width: 280px;\r\n flex-wrap: wrap;\r\n`;\r\n\r\nconst LocationsSpacerOffsetWrapper = styled.div`\r\n margin-top: 3px;\r\n`;\r\n\r\nconst DestinationWithDeadhead = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n width: 100%;\r\n`;\r\n\r\nconst ExtraStopsCount = styled.div`\r\n font-weight: normal;\r\n margin-right: 5px;\r\n float: left;\r\n`;\r\n\r\nconst LocationText = styled.div`\r\n white-space: normal;\r\n word-wrap: break-word;\r\n`;\r\n\r\nexport const LoadDetailsOriginDestination: React.FC = (props) => {\r\n const pickupRef = useRef(null);\r\n const dropoffRef = useRef(null);\r\n const stopsRefs = useRef<(HTMLDivElement | null)[]>([]);\r\n\r\n // @FIXME: Find a way to do this by normalizing the data instead of iterating through the lists\r\n const getLoadWithDeadhead = memoizeOne(() => {\r\n if (!props.currentLoadId) {\r\n return undefined;\r\n }\r\n\r\n const idMatches = (load: Load) => load.id === props.currentLoadId;\r\n\r\n return (\r\n find(props.searchLoads, idMatches) ?? find(props.similarLoads, idMatches) ?? find(props.backhaulsLoads, idMatches)\r\n );\r\n });\r\n\r\n const loadWithDeadhead = () => {\r\n let loadWithDeadhead;\r\n if (props.searchLoads && props.backhaulsLoads && props.similarLoads) {\r\n loadWithDeadhead = getLoadWithDeadhead();\r\n }\r\n const originDeadhead = loadWithDeadhead?.metadata?.userdata?.originDeadhead?.value;\r\n const destinationDeadhead = loadWithDeadhead?.metadata?.userdata?.destinationDeadhead?.value;\r\n\r\n return {\r\n originDeadhead: originDeadhead,\r\n destinationDeadhead: destinationDeadhead,\r\n };\r\n };\r\n\r\n const originLocationText = props.originLocation ? formatLocation(props.originLocation) : undefined;\r\n const destinationLocationText = props.destinationLocation ? formatLocation(props.destinationLocation) : undefined;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n {originLocationText}\r\n \r\n {loadWithDeadhead().originDeadhead ? (\r\n {t(T.unit_mi, { value: loadWithDeadhead().originDeadhead })}\r\n ) : null}\r\n \r\n {displayTimeDate(props.pickupDateTimes)}\r\n \r\n \r\n \r\n \r\n \r\n {destinationLocationText}\r\n \r\n {loadWithDeadhead().destinationDeadhead ? (\r\n {t(T.unit_mi, { value: loadWithDeadhead().destinationDeadhead })}\r\n ) : null}\r\n \r\n {displayTimeDate(props.deliveryDateTime ? [props.deliveryDateTime] : undefined)}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst ExtraStops: React.FC<{\r\n load: Load;\r\n stopsRefs: React.RefObject<(HTMLDivElement | null)[]>;\r\n onManualExtraStopClick?: () => void;\r\n}> = ({ load, onManualExtraStopClick, stopsRefs }) => {\r\n const isWithManualExtraStops = isWithManualPostedExtraStops(load.extraStops, load.numberOfStops);\r\n if (!isWithManualExtraStops && isEmpty(load.extraStops)) {\r\n return null;\r\n }\r\n const setRef = (index: number) => (element: HTMLDivElement | null) => {\r\n if (stopsRefs.current) {\r\n stopsRefs.current[index] = element;\r\n }\r\n };\r\n return isWithManualExtraStops ? (\r\n \r\n \r\n {t(T.findLoads_loadDetails_extraStops, { value: load.numberOfStops })}\r\n \r\n \r\n ) : (\r\n <>\r\n {map(load.extraStops, (stop, index) =>\r\n stop ? (\r\n \r\n \r\n \r\n \r\n {t(T.findLoads_loadDetails_stop, { value: index + 1 })}\r\n {formatStopLocation(stop)}\r\n \r\n \r\n \r\n \r\n ) : null\r\n )}\r\n \r\n );\r\n};\r\n\r\nconst displayTimeDate = (dates: string[] | undefined) => {\r\n if (!dates || dates.length === 0) {\r\n return null;\r\n }\r\n const dateWithTime = dates[0];\r\n const dateObjWithTime = isTimePresentInDate(dateWithTime) ? serverGMTRFCToUserLocalTZ(dateWithTime) : undefined;\r\n\r\n return (\r\n \r\n \r\n {map(dates, (date, index) => (\r\n
{`${formatDate(date)}${\r\n index < dates.length - 1 ? ',' : ''\r\n }`}
\r\n ))}\r\n
\r\n {!isNil(dateObjWithTime) ? {formatTime(dateObjWithTime)} : null}\r\n
\r\n );\r\n};\r\n\r\nconst formatLocation = (location: Location) => stringifyLocation(location.address).locationName;\r\nconst formatStopLocation = (stop: LoadExtraStop) => stringifyLocation(stop.address).locationName;\r\nconst formatDate = (date: string) => parseMomentDate(date, 'DD MMM YYYY HH:mm:SS')?.format('MMM D') ?? '';\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { UnlockFeaturePopupType } from '@common/model/UserPlan';\r\nimport { useUnlockFeaturePopup } from '@component/popup/UnlockFeaturePopup';\r\nimport { TappableTextContent } from '@component/text/TappableTextContent';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\ninterface UnlockLinkProps {\r\n popupType: UnlockFeaturePopupType;\r\n}\r\n\r\nconst PlanLink = styled(TappableTextContent)`\r\n padding: 0px !important;\r\n min-width: 0;\r\n`;\r\n\r\nconst PlanText = styled.span`\r\n text-decoration: none;\r\n text-transform: none;\r\n font-weight: bold;\r\n font-size: ${FontSize.Content}px;\r\n`;\r\n\r\nexport const UnlockLink: React.FC = (props) => {\r\n const openUnlockPopup = useUnlockFeaturePopup();\r\n\r\n return (\r\n openUnlockPopup(props.popupType)}>\r\n {t(T.postLoads_Unlock)}\r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { CargoChiefRate } from '@common/model';\r\nimport { UnlockFeaturePopupType } from '@common/model/UserPlan';\r\nimport { DetailRow } from '@component/panels/basePanel/loadDetails/generalInfo/LoadDetailsInfoBar';\r\nimport { UnlockLink } from '@component/panels/basePanel/loadDetails/generalInfo/UnlockLink';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\nimport { NO_INFORMATION_SYMBOL } from '@util/Constants';\r\nimport { useSelector } from '@util/hooks';\r\n\r\ninterface CargoChiefRateInfoProps {\r\n isLoadLocationCanada: boolean;\r\n isEquipmentTypeSupported: boolean;\r\n cargoChiefRate?: CargoChiefRate;\r\n isLoading?: boolean;\r\n}\r\n\r\nconst Text = styled.div`\r\n font-size: ${FontSize.ContentDetail}px;\r\n font-style: italic;\r\n color: ${Color.GRAY_STONE};\r\n`;\r\n\r\nexport const CargoChiefRateInfo: React.FC = (props) => {\r\n const isCargoChiefRateAvailable = useSelector((state) => state.user.accesses.isCargoChiefRateAvailable);\r\n\r\n const cargoChiefRatePerMile =\r\n props.cargoChiefRate?.allInCost && props.cargoChiefRate?.laneMiles\r\n ? displayCurrencyOrDash(props.cargoChiefRate.allInCost / props.cargoChiefRate.laneMiles, true, {\r\n suffix: t(T.common_per_miles_short),\r\n })\r\n : undefined;\r\n\r\n const renderCargoChiefUnlockLink = () => {\r\n return ;\r\n };\r\n\r\n return (\r\n {t(T.findLoads_loadDetails_loading)}\r\n ) : (\r\n roleBasedRateContent(\r\n props.isEquipmentTypeSupported,\r\n props.isLoadLocationCanada,\r\n isCargoChiefRateAvailable,\r\n renderCargoChiefUnlockLink,\r\n props.cargoChiefRate?.allInCost\r\n )\r\n )\r\n }\r\n />\r\n );\r\n};\r\n\r\nconst roleBasedRateContent = (\r\n isEquipmentTypeSupported: boolean,\r\n isLoadLocationCanada: boolean,\r\n isAllowed: boolean,\r\n renderUnlockLink: () => JSX.Element,\r\n value?: number\r\n) => {\r\n if (!isEquipmentTypeSupported) {\r\n return {t(T.common_marketRate_notAvailableTrailer)};\r\n }\r\n\r\n if (isLoadLocationCanada) {\r\n return {t(T.common_marketRate_notAvailableOutsideUS)};\r\n }\r\n\r\n if (isAllowed) {\r\n return value ? displayCurrencyOrDash(value, false) : {t(T.common_marketRate_notAvailableAtThisTime)};\r\n }\r\n\r\n if (isEquipmentTypeSupported) {\r\n return renderUnlockLink();\r\n }\r\n\r\n return <>{NO_INFORMATION_SYMBOL};\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { DetailRow } from '@component/panels/basePanel/loadDetails/generalInfo/LoadDetailsInfoBar';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nconst Text = styled.div`\r\n font-size: ${FontSize.ContentDetail}px;\r\n font-style: italic;\r\n color: ${Color.GRAY_STONE};\r\n`;\r\n\r\nexport const ExpediteAllRateInfo: React.FC = () => {\r\n const expediteAllRate = useSelector((state) => state.marketRates.expediteAllRate);\r\n const isLoading = useSelector((state) => state.marketRates.isLoadingExpediteAllRate);\r\n\r\n const ratePerMile = expediteAllRate?.estRatePerMile\r\n ? displayCurrencyOrDash(expediteAllRate.estRatePerMile, true, {\r\n suffix: t(T.common_per_miles_short),\r\n })\r\n : undefined;\r\n\r\n const rate =\r\n expediteAllRate?.estRate || expediteAllRate?.estRatePerMile ? (\r\n displayCurrencyOrDash(expediteAllRate?.estRate, false)\r\n ) : (\r\n {t(T.common_marketRate_notAvailableAtThisTime)}\r\n );\r\n\r\n return (\r\n {t(T.findLoads_loadDetails_loading)} : rate}\r\n />\r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { GreenscreensRate } from '@common/model';\r\nimport { DetailRow } from '@component/panels/basePanel/loadDetails/generalInfo/LoadDetailsInfoBar';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\nimport MaxIcon from './max.png';\r\nimport MinIcon from './min.png';\r\n\r\ninterface GreenscreensRateInfoProps {\r\n greenscreensRate?: GreenscreensRate;\r\n isEquipmentTypeSupported: boolean;\r\n isLoading?: boolean;\r\n}\r\n\r\nconst Text = styled.div`\r\n font-size: ${FontSize.ContentDetail}px;\r\n font-style: italic;\r\n color: ${Color.GRAY_STONE};\r\n`;\r\n\r\nconst valueStyle = { display: 'flex', alignItems: 'center' };\r\n\r\nexport const GreenscreensRateInfo: React.FC = (props) => {\r\n return (\r\n <>\r\n \r\n {props.isEquipmentTypeSupported && props.greenscreensRate?.costLow ? (\r\n \r\n ) : null}\r\n \r\n );\r\n};\r\n\r\nconst renderPerMileValue = (value?: number) =>\r\n value\r\n ? displayCurrencyOrDash(value, true, {\r\n suffix: t(T.common_per_miles_short),\r\n })\r\n : undefined;\r\n\r\nconst renderValue = (isEquipmentTypeSupported: boolean, iconSrc: string, value?: number, isLoading?: boolean) => {\r\n if (isLoading) {\r\n return {t(T.findLoads_loadDetails_loading)};\r\n }\r\n if (!isEquipmentTypeSupported) {\r\n return {t(T.common_marketRate_notAvailableTrailer)};\r\n }\r\n\r\n if (value) {\r\n return (\r\n <>\r\n
{displayCurrencyOrDash(value, false)}
\r\n {}\r\n \r\n );\r\n }\r\n\r\n return {t(T.common_marketRate_notAvailableAtThisTime)};\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { LoadRateCheckPreview, RateCheckPreviewStatus } from '@common/model';\r\nimport { UnlockFeaturePopupType } from '@common/model/UserPlan';\r\nimport { DetailRow } from '@component/panels/basePanel/loadDetails/generalInfo/LoadDetailsInfoBar';\r\nimport { UnlockLink } from '@component/panels/basePanel/loadDetails/generalInfo/UnlockLink';\r\nimport { useIsRateCheckPreviewEnabled } from '@page/rateCheck/RateCheckHelper';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\n\r\ninterface RateCheckInfoProps {\r\n isEquipmentTypeSupported: boolean;\r\n computedMileage?: number;\r\n rateCheckAvgRatePerMile?: number;\r\n rateCheckPreview?: LoadRateCheckPreview;\r\n}\r\n\r\nconst Text = styled.div`\r\n font-size: ${FontSize.ContentDetail}px;\r\n font-style: italic;\r\n color: ${Color.GRAY_STONE};\r\n`;\r\n\r\nexport const RateCheckInfo: React.FC = (props) => {\r\n const rateCheckPreviewEnabled = useIsRateCheckPreviewEnabled();\r\n const isRateCheckAvailable = useSelector((state) => state.user.accesses.isRateCheckAvailable);\r\n\r\n const rateCheckRevenue =\r\n props.computedMileage && props.rateCheckAvgRatePerMile\r\n ? props.computedMileage * props.rateCheckAvgRatePerMile\r\n : undefined;\r\n const rateCheckAvgRatePerMile = props.rateCheckAvgRatePerMile\r\n ? displayCurrencyOrDash(props.rateCheckAvgRatePerMile, true, {\r\n suffix: t(T.common_per_miles_short),\r\n })\r\n : undefined;\r\n\r\n const renderRateCheckUnlockLink = () => {\r\n return ;\r\n };\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nconst renderAverageRateValue = (\r\n isEquipmentTypeSupported: boolean,\r\n isRateCheckAvailable: boolean,\r\n rateCheckPreviewTotalRate: number | undefined,\r\n rateCheckPreviewStatus: string | undefined,\r\n renderUpgradeLink: () => JSX.Element,\r\n rateCheckPreviewEnabled: boolean,\r\n loadDetailsRate?: number\r\n) => {\r\n if (rateCheckPreviewEnabled) {\r\n if (rateCheckPreviewStatus === RateCheckPreviewStatus.UnsupportedEquipmentType) {\r\n return {t(T.common_marketRate_notAvailableTrailer)};\r\n }\r\n if (rateCheckPreviewStatus === RateCheckPreviewStatus.NoRateCheckAccess) {\r\n return renderUpgradeLink();\r\n }\r\n return displayCurrencyOrDash(rateCheckPreviewTotalRate, false);\r\n }\r\n\r\n if (!isEquipmentTypeSupported) {\r\n return {t(T.common_marketRate_notAvailableTrailer)};\r\n }\r\n\r\n if (!isRateCheckAvailable) {\r\n return renderUpgradeLink();\r\n }\r\n\r\n return loadDetailsRate ? (\r\n displayCurrencyOrDash(loadDetailsRate, false)\r\n ) : (\r\n {t(T.common_marketRate_notAvailableAtThisTime)}\r\n );\r\n};\r\n\r\nconst renderRateCheckPerMileValue = (\r\n rateCheckPreviewRatePerMile: number | undefined,\r\n rateCheckPreviewStatus: string | undefined,\r\n rateCheckPreviewEnabled: boolean,\r\n loadDetailsRatePerMile: string | undefined,\r\n isEquipmentTypeSupported: boolean\r\n) => {\r\n if (rateCheckPreviewEnabled) {\r\n if (\r\n rateCheckPreviewStatus === undefined ||\r\n rateCheckPreviewStatus === RateCheckPreviewStatus.Loading ||\r\n rateCheckPreviewStatus === RateCheckPreviewStatus.UnsupportedEquipmentType ||\r\n rateCheckPreviewStatus === RateCheckPreviewStatus.NoRateCheckAccess\r\n ) {\r\n return undefined;\r\n }\r\n return displayCurrencyOrDash(rateCheckPreviewRatePerMile, true, { suffix: t(T.common_per_miles_short) });\r\n }\r\n return isEquipmentTypeSupported ? loadDetailsRatePerMile : undefined;\r\n};\r\n","import React from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { ExpandableSections, setExpandedSection } from '@/reduxStore/epic/ApplicationSettingsReducer';\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { isEquipmentTypeSupportedForRateCheck } from '@common/helper';\r\nimport { CargoChiefRate as CargoChiefRateType, Equipment, UnlockFeaturePopupType } from '@common/model';\r\nimport { AccordionInfoStatus, ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { Subtitle } from '@component/expansionPanel/ExpansionPanelStyle';\r\nimport { default as CargoChiefIcon } from '@component/panels/basePanel/loadDetails/marketRates/cargochief-logo.png';\r\nimport {\r\n CargoChiefRateContent,\r\n handleCargoChiefInfoClick,\r\n} from '@component/panels/basePanel/loadDetails/marketRates/CargoChiefRateComponent';\r\nimport { getRouteInfo } from '@component/panels/basePanel/loadDetails/marketRates/GreenscreensRate';\r\nimport { RateUnavailablePopup } from '@component/panels/basePanel/loadDetails/marketRates/RateUnavailablePopup';\r\nimport {\r\n ExpansionPanelDataWrapper,\r\n InfoIcon,\r\n LoadDetailsContainer,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { PopupSizes, usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { Text, TextStyle } from '@component/text/Text';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\nimport icons from '@util/iconsConstants';\r\n\r\ninterface CargoChiefRateProps {\r\n isPermitted: boolean;\r\n isLoadLocationCanada: boolean;\r\n cargoChiefRate?: CargoChiefRateType;\r\n equipments?: Equipment[];\r\n isLoading: boolean;\r\n}\r\n\r\nconst Column = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n`;\r\n\r\nconst FullWidthColumn = styled(Column)`\r\n width: 100%;\r\n`;\r\n\r\nexport const CargoChiefRate: React.FC = (props) => {\r\n const dispatch = useDispatch();\r\n const popupContext = usePopup();\r\n const isPanelExpanded = useSelector(\r\n (state) => state.applicationSettings.expandedSections[ExpandableSections.CargoChiefRate]\r\n );\r\n\r\n const { cargoChiefRate, isLoadLocationCanada } = props;\r\n\r\n const isEquipmentTypeSupported = isEquipmentTypeSupportedForRateCheck(props.equipments);\r\n const routeInfo = getRouteInfo(cargoChiefRate?.laneMiles, props.equipments);\r\n const estimatedRate =\r\n cargoChiefRate?.allInCost && cargoChiefRate?.laneMiles\r\n ? cargoChiefRate.allInCost / cargoChiefRate.laneMiles\r\n : undefined;\r\n const isSupportedByCargoChief = isEquipmentTypeSupported && !isLoadLocationCanada;\r\n\r\n const getStatusAndSubtitle = () => {\r\n let status: AccordionInfoStatus = AccordionInfoStatus.AVAILABLE;\r\n let subtitle: string = displayCurrencyOrDash(estimatedRate, true, {\r\n suffix: t(T.common_marketRate_cargoChief_estRate),\r\n });\r\n\r\n if (!isSupportedByCargoChief) {\r\n status = AccordionInfoStatus.UNAVAILABLE;\r\n subtitle = !isEquipmentTypeSupported\r\n ? t(T.common_marketRate_notAvailableTrailer)\r\n : t(T.common_marketRate_notAvailableOutsideUS);\r\n } else {\r\n if (!props.isPermitted) {\r\n status = AccordionInfoStatus.NOT_PERMITTED;\r\n subtitle = t(T.common_membership_unlockThisFeature);\r\n } else {\r\n if (!cargoChiefRate) {\r\n status = AccordionInfoStatus.UNAVAILABLE;\r\n subtitle = t(T.common_marketRate_notAvailableAtThisTime);\r\n }\r\n }\r\n }\r\n\r\n if (props.isLoading) {\r\n status = AccordionInfoStatus.LOADING;\r\n subtitle = t(T.findLoads_loadDetails_loading);\r\n }\r\n\r\n return { status: status, subtitleText: subtitle };\r\n };\r\n\r\n const { status, subtitleText } = getStatusAndSubtitle();\r\n\r\n const handleTabClick = () => {\r\n if (status === AccordionInfoStatus.UNAVAILABLE) {\r\n if (isSupportedByCargoChief) {\r\n popupContext.openingPopup({\r\n body: ,\r\n width: PopupSizes.SMALL,\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n });\r\n }\r\n return;\r\n }\r\n dispatch(setExpandedSection(ExpandableSections.CargoChiefRate, !isPanelExpanded));\r\n };\r\n\r\n return (\r\n \r\n {subtitleText}\r\n \r\n }\r\n handleClick={handleTabClick}\r\n unlockFeaturePopupType={UnlockFeaturePopupType.CargoChiefRate}\r\n headerBackground={isSupportedByCargoChief ? Color.GRAY_PANEL : Color.GRAY_LIGHT}\r\n shouldHideRightButton={status === AccordionInfoStatus.UNAVAILABLE}\r\n iconStyle={{ height: 50, width: 50, marginRight: 10 }}\r\n panelTitleStyle={{ height: 40 }}\r\n centerAlignTitleItems={true}\r\n >\r\n \r\n {props.isPermitted && status === AccordionInfoStatus.AVAILABLE && (\r\n \r\n \r\n
\r\n \r\n {t(T.common_marketRate_cargoChief_rateEst)}\r\n \r\n handleCargoChiefInfoClick(popupContext.openingPopup, popupContext.closingPopup)}\r\n />\r\n
\r\n \r\n {routeInfo}\r\n \r\n {cargoChiefRate && estimatedRate ? (\r\n \r\n ) : null}\r\n
\r\n
\r\n )}\r\n
\r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { LOADBOARD_HELP_CARGO_CHIEF } from '@common/info';\r\nimport { default as CargoChiefGraph } from '@component/panels/basePanel/loadDetails/marketRates/cargo-data.svg';\r\nimport { ModalTitleBold } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { BasePopup } from '@component/popup/BasePopup';\r\nimport { PopupOkButton, PopupPrimaryButton } from '@component/popup/PopupButtons';\r\nimport { PopupEntity, PopupSizes } from '@component/popup/PopupTrackingContext';\r\nimport { Text, TextStyle } from '@component/text/Text';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\n\r\nconst Label = styled(Text)`\r\n color: ${Color.GRAY_21};\r\n text-align: center;\r\n`;\r\n\r\nconst Column = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n`;\r\n\r\nconst FullWidthColumn = styled(Column)`\r\n width: 100%;\r\n`;\r\n\r\nconst Row = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: center;\r\n padding-top: 8px;\r\n`;\r\n\r\nconst ModalTitle = styled.span`\r\n font-size: ${FontSize.ModalTitle}px;\r\n`;\r\n\r\ninterface Props {\r\n estimatedRate?: number;\r\n allInCostLow?: number;\r\n allInCost?: number;\r\n allInCostHigh?: number;\r\n}\r\n\r\nexport const CargoChiefRateContent: React.FC = ({ estimatedRate, allInCostLow, allInCost, allInCostHigh }) => (\r\n <>\r\n \r\n \r\n \r\n {displayCurrencyOrDash(allInCost, false)}\r\n \r\n \r\n {t(T.common_marketRate_cargoChief_rateEst)}\r\n \r\n \r\n \r\n \r\n {displayCurrencyOrDash(estimatedRate)}\r\n \r\n \r\n {t(T.common_marketRate_cargoChief_perMile)}\r\n \r\n \r\n \r\n \r\n \"CargoChiefGraph\"\r\n \r\n \r\n \r\n {displayCurrencyOrDash(allInCostLow, false)}\r\n \r\n \r\n \r\n \r\n \r\n {displayCurrencyOrDash(allInCost, false)}\r\n \r\n \r\n \r\n \r\n \r\n {displayCurrencyOrDash(allInCostHigh, false)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n\r\nexport const handleCargoChiefInfoClick = (openingPopup: (popup: PopupEntity) => void, closingPopup: () => void) =>\r\n openingPopup({\r\n body: (\r\n window.open(LOADBOARD_HELP_CARGO_CHIEF, '_blank')}\r\n />,\r\n ,\r\n ]}\r\n >\r\n {t(T.common_marketRate_cargoChief_info)}\r\n \r\n ),\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n width: PopupSizes.SMALL,\r\n });\r\n","import React from 'react';\r\n\r\nimport { find, includes } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { ExpandableSections, setExpandedSection } from '@/reduxStore/epic/ApplicationSettingsReducer';\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { EQUIPMENTS_FOR_RATE_CHECK, isEquipmentTypeSupportedForRateCheck } from '@common/helper';\r\nimport { Equipment, GreenscreensRate as GreenscreensRateType } from '@common/model';\r\nimport { AccordionInfoStatus, ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { Subtitle } from '@component/expansionPanel/ExpansionPanelStyle';\r\nimport { default as GreenscreensIcon } from '@component/panels/basePanel/loadDetails/marketRates/greenscreens-logo.png';\r\nimport {\r\n GreenscreensRateContent,\r\n handleGreenscreensInfoClick,\r\n} from '@component/panels/basePanel/loadDetails/marketRates/GreenscreensRateContent';\r\nimport { RateUnavailablePopup } from '@component/panels/basePanel/loadDetails/marketRates/RateUnavailablePopup';\r\nimport {\r\n ExpansionPanelDataWrapper,\r\n InfoIcon,\r\n LoadDetailsContainer,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { PopupSizes, usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { Text, TextStyle } from '@component/text/Text';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\nimport icons from '@util/iconsConstants';\r\n\r\ninterface GreenscreensRateProps {\r\n equipments?: Equipment[];\r\n greenscreensRate?: GreenscreensRateType;\r\n isLoading: boolean;\r\n}\r\n\r\nconst Column = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n padding-top: 20px;\r\n`;\r\n\r\nconst FullWidthColumn = styled(Column)`\r\n width: 100%;\r\n`;\r\n\r\nexport const GreenscreensRate: React.FC = (props) => {\r\n const dispatch = useDispatch();\r\n const popupContext = usePopup();\r\n const isPanelExpanded = useSelector(\r\n (state) => state.applicationSettings.expandedSections[ExpandableSections.GreenscreensRate]\r\n );\r\n\r\n const isSupported = isEquipmentTypeSupportedForRateCheck(props.equipments);\r\n const routeInfo = getRouteInfo(props.greenscreensRate?.laneMiles, props.equipments);\r\n const { status, subtitle } = getStatusAndSubtitle(isSupported, props.isLoading, props.greenscreensRate);\r\n\r\n const handleTabClick = () => {\r\n if (status === AccordionInfoStatus.UNAVAILABLE) {\r\n if (isSupported) {\r\n popupContext.openingPopup({\r\n body: ,\r\n width: PopupSizes.SMALL,\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n });\r\n }\r\n return;\r\n }\r\n dispatch(setExpandedSection(ExpandableSections.GreenscreensRate, !isPanelExpanded));\r\n };\r\n\r\n return (\r\n \r\n {subtitle}\r\n \r\n }\r\n handleClick={handleTabClick}\r\n headerBackground={isSupported ? Color.GRAY_PANEL : Color.GRAY_LIGHT}\r\n shouldHideRightButton={status === AccordionInfoStatus.UNAVAILABLE}\r\n iconStyle={{ height: 50, width: 50, marginRight: 10 }}\r\n panelTitleStyle={{ height: 40 }}\r\n centerAlignTitleItems={true}\r\n >\r\n \r\n {status === AccordionInfoStatus.AVAILABLE ? (\r\n \r\n \r\n
\r\n \r\n {t(T.common_marketRate_cargoChief_rateEst)}\r\n \r\n handleGreenscreensInfoClick(popupContext.openingPopup, popupContext.closingPopup)}\r\n />\r\n
\r\n \r\n {routeInfo}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n ) : null}\r\n
\r\n \r\n );\r\n};\r\n\r\nconst getStatusAndSubtitle = (\r\n isSupported: boolean,\r\n isLoading: boolean,\r\n greenscreensRate?: GreenscreensRateType\r\n): { status: AccordionInfoStatus; subtitle: string } => {\r\n if (!isSupported) {\r\n return { status: AccordionInfoStatus.UNAVAILABLE, subtitle: t(T.common_marketRate_notAvailableTrailer) };\r\n }\r\n\r\n if (isLoading) {\r\n return { status: AccordionInfoStatus.LOADING, subtitle: t(T.findLoads_loadDetails_loading) };\r\n }\r\n\r\n if (!greenscreensRate) {\r\n return { status: AccordionInfoStatus.UNAVAILABLE, subtitle: t(T.common_marketRate_notAvailableAtThisTime) };\r\n }\r\n\r\n return {\r\n status: AccordionInfoStatus.AVAILABLE,\r\n subtitle: t(T.common_marketRate_greenscreens_subtitle, {\r\n minRate: displayCurrencyOrDash(greenscreensRate?.costLowPerMile, true),\r\n maxRate: displayCurrencyOrDash(greenscreensRate?.costHighPerMile, true),\r\n }),\r\n };\r\n};\r\n\r\nexport const getRouteInfo = (laneMiles?: number, equipments?: Equipment[]) => {\r\n const info: string[] = [];\r\n\r\n const supportedEquipment = find(equipments, ({ equipmentType }) =>\r\n includes(EQUIPMENTS_FOR_RATE_CHECK, equipmentType)\r\n );\r\n\r\n if (supportedEquipment) {\r\n info.push(supportedEquipment.equipmentType);\r\n }\r\n if (laneMiles) {\r\n info.push(`${laneMiles} ${t(T.common_miles_short)}`);\r\n }\r\n\r\n return info.join(' | ');\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { LOADBOARD_HELP_GREENSCREENS } from '@common/info';\r\nimport { default as GreenscreensGraph } from '@component/panels/basePanel/loadDetails/marketRates/greenscreens-data.svg';\r\nimport { ModalTitleBold } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { BasePopup } from '@component/popup/BasePopup';\r\nimport { PopupOkButton, PopupPrimaryButton } from '@component/popup/PopupButtons';\r\nimport { PopupEntity, PopupSizes } from '@component/popup/PopupTrackingContext';\r\nimport { Text, TextStyle } from '@component/text/Text';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\n\r\ninterface Props {\r\n costLow?: number;\r\n costHigh?: number;\r\n costLowPerMile?: number;\r\n costHighPerMile?: number;\r\n}\r\n\r\nconst Row = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: space-around;\r\n`;\r\n\r\nexport const GreenscreensRateContent: React.FC = ({ costLow, costHigh, costLowPerMile, costHighPerMile }) => {\r\n return (\r\n <>\r\n \r\n \r\n {displayCurrencyOrDash(costLow, false)}\r\n \r\n \r\n {displayCurrencyOrDash(costHigh, false)}\r\n \r\n \r\n\r\n \r\n \r\n {displayCurrencyOrDash(costLowPerMile, true, {\r\n suffix: t(T.common_marketRate_greenscreens_valuePerMile),\r\n })}\r\n \r\n \r\n {displayCurrencyOrDash(costHighPerMile, true, {\r\n suffix: t(T.common_marketRate_greenscreens_valuePerMile),\r\n })}\r\n \r\n \r\n\r\n \"GreenscreensGraph\"\r\n\r\n \r\n \r\n {t(T.common_marketRate_greenscreens_min)}\r\n \r\n \r\n {t(T.common_marketRate_greenscreens_max)}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const handleGreenscreensInfoClick = (openingPopup: (popup: PopupEntity) => void, closingPopup: () => void) =>\r\n openingPopup({\r\n body: (\r\n window.open(LOADBOARD_HELP_GREENSCREENS, '_blank')}\r\n />,\r\n ,\r\n ]}\r\n >\r\n {t(T.common_marketRate_greenscreens_info)}\r\n \r\n ),\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n width: PopupSizes.SMALL,\r\n });\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { LoadDetailsTabs } from '@/model';\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { isCanadianState, isEquipmentTypeSupportedForRateCheck } from '@common/helper';\r\nimport { Flag, Load, MembershipType } from '@common/model';\r\nimport { defaultLoadInfo, LoadInfo } from '@common/redux/epic/LoadInfoEpic';\r\nimport { AccordionInfoStatus, ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { CargoChiefRate } from '@component/panels/basePanel/loadDetails/marketRates/CargoChiefRate';\r\nimport { GreenscreensRate } from '@component/panels/basePanel/loadDetails/marketRates/GreenscreensRate';\r\nimport { default as RateIcon } from '@component/panels/basePanel/loadDetails/marketRates/rate-check.svg';\r\nimport { RateCheckPanel } from '@component/panels/basePanel/loadDetails/marketRates/RateCheckPanel';\r\nimport { ExpansionPanelDataWrapper } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { Text, TextStyle } from '@component/text/Text';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\n\r\ninterface ComponentProps {\r\n loadInfo: LoadInfo | undefined;\r\n load: Load | undefined;\r\n\r\n handleChange(tab: LoadDetailsTabs, status: boolean): void;\r\n\r\n isOpened: boolean;\r\n}\r\n\r\nexport const PageText = styled(Text)`\r\n display: flex;\r\n line-height: 21px;\r\n color: ${Color.LIGHT_BLACK};\r\n margin: 18px 19px 14px 16px;\r\n`;\r\n\r\nexport const MarketRates: React.FC = (props) => {\r\n const isRateCheckAvailable = useSelector((state) => state.user.accesses.isRateCheckAvailable);\r\n const isCargoChiefRateAvailable = useSelector((state) => state.user.accesses.isCargoChiefRateAvailable);\r\n const isCargoChiefDisabled = useSelector((state) => state.settings.systemSetting[Flag.CargoChiefUserDisabled].value);\r\n const isCargoChiefAddOnAvailable = useSelector((state) => state.userPlan.membershipType !== MembershipType.Apple);\r\n const isGreenscreensRateDisabled = useSelector(\r\n (state) => state.settings.systemSetting[Flag.GreenscreensRateDisabled].value\r\n );\r\n const loadInfo =\r\n useSelector((state) => state.loadInfo.loadInfoMap.get(props.load ? props.load.id : '')) ?? defaultLoadInfo;\r\n const isEquipmentTypeSupported = isEquipmentTypeSupportedForRateCheck(props.load?.equipments);\r\n const cargoChiefRate = props.loadInfo?.cargoChiefValues?.payload;\r\n const greenscreensRate = props.loadInfo?.greenscreensValues?.payload;\r\n\r\n const getSubtitle = (): string => {\r\n if (!isEquipmentTypeSupported) {\r\n return t(T.common_marketRate_notAvailable);\r\n }\r\n\r\n let subtitle = t(T.common_marketRate_available);\r\n\r\n if (!isGreenscreensRateDisabled && greenscreensRate) {\r\n subtitle = t(T.common_marketRate_byGS, {\r\n minRate: displayCurrencyOrDash(greenscreensRate.costLowPerMile),\r\n maxRate: displayCurrencyOrDash(greenscreensRate.costHighPerMile),\r\n });\r\n }\r\n\r\n if (!isCargoChiefDisabled && isCargoChiefRateAvailable && cargoChiefRate) {\r\n const rate = displayCurrencyOrDash(\r\n cargoChiefRate.allInCost && cargoChiefRate.laneMiles\r\n ? cargoChiefRate.allInCost / cargoChiefRate.laneMiles\r\n : undefined\r\n );\r\n subtitle = t(T.common_marketRate_byCargoChief, { rate: rate });\r\n }\r\n\r\n if (isRateCheckAvailable) {\r\n const rate = displayCurrencyOrDash(loadInfo.rateCheck?.payload?.avgRatePerMile);\r\n subtitle = t(T.common_marketRate_byRateCheck, { rate: rate });\r\n }\r\n\r\n return subtitle;\r\n };\r\n\r\n const handleTabClick = () => {\r\n props.handleChange(LoadDetailsTabs.MarketRates, !props.isOpened);\r\n };\r\n\r\n const isLoading =\r\n loadInfo.isLoadingRateCheck || loadInfo.isLoadingCargoChiefRate || loadInfo.isLoadingGreenscreensRate;\r\n\r\n return (\r\n \r\n \r\n \r\n {t(T.common_marketRate_content)}\r\n \r\n \r\n {!isCargoChiefDisabled && isCargoChiefAddOnAvailable ? (\r\n \r\n ) : null}\r\n {!isGreenscreensRateDisabled ? (\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { getPricePerMileRate } from '@common/helper';\r\nimport { LOADBOARD_HELP_RATE_CHECK } from '@common/info';\r\nimport { Load, RateCheck } from '@common/model';\r\nimport { formatDollarsPerMile } from '@common/redux/epic/rateCheck/RateCheckHelper';\r\nimport { RateCheckPostedRateDifference } from '@component/panels/basePanel/loadDetails/marketRates/RateCheckPostedRateDifference';\r\nimport {\r\n AlignBaselineRow,\r\n ContentDetailText,\r\n FullWidthColumn,\r\n InfoIcon,\r\n LoadDetailsContainer,\r\n ModalTitleBold,\r\n RateCheckDataInfo,\r\n RateCheckDataValue,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { BasePopup } from '@component/popup/BasePopup';\r\nimport { PopupOkButton, PopupPrimaryButton } from '@component/popup/PopupButtons';\r\nimport { PopupSizes, usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { RateConfirmation } from '@component/rateCheck/RateConfirmation';\r\nimport { MinMaxBox } from '@page/rateCheck/MinMaxBox';\r\nimport { useRateCheckMinMax } from '@page/rateCheck/RateCheckHelper';\r\nimport { RateCheckHistoryWithSize } from '@page/rateCheck/RateCheckHistory';\r\nimport { Color } from '@style/Color';\r\nimport { BorderRadius } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\nimport icons from '@util/iconsConstants';\r\n\r\ninterface ComponentProps {\r\n loadDetails: Load | undefined;\r\n rateCheck: RateCheck;\r\n loadID: string;\r\n isOpened: boolean;\r\n}\r\n\r\nexport const RateCheckHeader: React.FC = (props) => {\r\n const { openingPopup, closingPopup } = usePopup();\r\n\r\n const minMax = useRateCheckMinMax(props.rateCheck);\r\n\r\n const handleInfoClick = () =>\r\n openingPopup({\r\n body: (\r\n window.open(LOADBOARD_HELP_RATE_CHECK, '_blank')}\r\n />,\r\n ,\r\n ]}\r\n >\r\n {t(T.common_infoModal_rateCheck_subtitle)}\r\n \r\n ),\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n width: PopupSizes.SMALL,\r\n });\r\n\r\n let postedRate: string | undefined;\r\n let rateDiff: number | undefined;\r\n let numericPostedRate: number | undefined;\r\n const { loadDetails, rateCheck } = props;\r\n if (loadDetails) {\r\n postedRate = displayCurrencyOrDash(getPricePerMileRate(loadDetails), true, {\r\n suffix: t(T.common_per_miles_short),\r\n });\r\n numericPostedRate = getPricePerMileRate(loadDetails);\r\n if (rateCheck && (numericPostedRate !== undefined || rateCheck.avgRatePerMile !== undefined)) {\r\n rateDiff = (numericPostedRate ?? 0) - (rateCheck.avgRatePerMile ?? 0);\r\n }\r\n }\r\n return (\r\n \r\n \r\n \r\n \r\n {formatDollarsPerMile(props.rateCheck.avgRatePerMile)}\r\n \r\n \r\n {t(T.findLoads_findLoads_averageRateByCheck)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {props.isOpened ? (\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { connect } from 'react-redux';\r\nimport { Action, bindActionCreators, Dispatch } from 'redux';\r\n\r\nimport { ExpandableSections, setExpandedSection } from '@/reduxStore/epic/ApplicationSettingsReducer';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport { isEquipmentTypeSupportedForRateCheck } from '@common/helper';\r\nimport { Load, RateCheck } from '@common/model';\r\nimport { UnlockFeaturePopupType } from '@common/model/UserPlan';\r\nimport { defaultLoadInfo, LoadInfo } from '@common/redux/epic/LoadInfoEpic';\r\nimport { AccordionInfoStatus, ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { Subtitle } from '@component/expansionPanel/ExpansionPanelStyle';\r\nimport { RateCheckHeader } from '@component/panels/basePanel/loadDetails/marketRates/RateCheckHeader';\r\nimport { RateUnavailablePopup } from '@component/panels/basePanel/loadDetails/marketRates/RateUnavailablePopup';\r\nimport { default as RateCheckIcon } from '@component/panels/basePanel/loadDetails/marketRates/rc-logo.svg';\r\nimport { ExpansionPanelDataWrapper } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { PopupSizes, PopupTracking, withPopups } from '@component/popup/PopupTrackingContext';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\n\r\ninterface ComponentProps {\r\n loadInfo: LoadInfo | undefined;\r\n load: Load | undefined;\r\n isPermitted: boolean;\r\n popupContext?: PopupTracking;\r\n}\r\n\r\ninterface ReduxProps {\r\n rateCheck: RateCheck | undefined;\r\n status: AccordionInfoStatus;\r\n subtitle: string;\r\n isExpanded: boolean;\r\n isEquipmentTypeSupported: boolean;\r\n}\r\n\r\ninterface DispatchProps {\r\n handleChange: (value: boolean) => void;\r\n}\r\n\r\ntype Props = ReduxProps & ComponentProps & DispatchProps;\r\n\r\nclass RateCheckComponent extends React.Component {\r\n handleTabClick = () => {\r\n if (this.props.status === AccordionInfoStatus.UNAVAILABLE) {\r\n if (this.props.isEquipmentTypeSupported) {\r\n this.showInfoPopup();\r\n }\r\n return;\r\n }\r\n this.props.handleChange(!this.props.isExpanded);\r\n };\r\n\r\n showInfoPopup = () => {\r\n if (this.props.popupContext) {\r\n this.props.popupContext.openingPopup({\r\n body: ,\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n width: PopupSizes.SMALL,\r\n });\r\n }\r\n };\r\n\r\n render() {\r\n const { load, rateCheck, status } = this.props;\r\n let subtitle = this.props.subtitle;\r\n\r\n if (load && rateCheck) {\r\n subtitle = displayCurrencyOrDash(rateCheck.avgRatePerMile, true, {\r\n suffix: t(T.rateCheck_Average_Rate),\r\n });\r\n }\r\n\r\n return (\r\n \r\n {subtitle}\r\n \r\n }\r\n icon={RateCheckIcon}\r\n isOpened={this.props.isExpanded}\r\n status={status}\r\n handleClick={this.handleTabClick}\r\n unlockFeaturePopupType={UnlockFeaturePopupType.RateCheck}\r\n headerBackground={this.props.isEquipmentTypeSupported ? Color.GRAY_PANEL : Color.GRAY_LIGHT}\r\n iconStyle={{ height: 50, width: 50, marginRight: 10 }}\r\n shouldHideRightButton={status === AccordionInfoStatus.UNAVAILABLE}\r\n panelTitleStyle={{ height: 40, borderTop: `1px solid ${Color.GRAY_SMOKE}` }}\r\n centerAlignTitleItems={true}\r\n >\r\n \r\n {rateCheck && load ? (\r\n <>\r\n \r\n \r\n ) : null}\r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state: StoreState, props: ComponentProps): ReduxProps => {\r\n let status: AccordionInfoStatus = AccordionInfoStatus.AVAILABLE;\r\n const loadInfo = props.load ? state.loadInfo.loadInfoMap.get(props.load.id) : defaultLoadInfo;\r\n const isEquipmentTypeSupported = isEquipmentTypeSupportedForRateCheck(props.load?.equipments);\r\n let subtitle = '';\r\n\r\n if (!isEquipmentTypeSupported) {\r\n status = AccordionInfoStatus.UNAVAILABLE;\r\n subtitle = t(T.common_marketRate_notAvailableTrailer);\r\n } else {\r\n if (!props.isPermitted) {\r\n status = AccordionInfoStatus.NOT_PERMITTED;\r\n subtitle = t(T.common_membership_unlockThisFeature);\r\n } else {\r\n if (loadInfo && loadInfo.isLoadingRateCheck) {\r\n status = AccordionInfoStatus.LOADING;\r\n subtitle = t(T.findLoads_loadDetails_loading);\r\n } else if ((loadInfo && !loadInfo.rateCheck) || (loadInfo && loadInfo.rateCheck && !loadInfo.rateCheck.payload)) {\r\n status = AccordionInfoStatus.UNAVAILABLE;\r\n subtitle = t(T.common_marketRate_notAvailableAtThisTime);\r\n }\r\n }\r\n }\r\n return {\r\n rateCheck: loadInfo && loadInfo.rateCheck ? loadInfo.rateCheck.payload : undefined,\r\n status: status,\r\n subtitle: subtitle,\r\n isExpanded: state.applicationSettings.expandedSections[ExpandableSections.RateCheck],\r\n isEquipmentTypeSupported: isEquipmentTypeSupported,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch: Dispatch): DispatchProps =>\r\n bindActionCreators(\r\n {\r\n handleChange: (value: boolean) => setExpandedSection(ExpandableSections.RateCheck, value),\r\n },\r\n dispatch\r\n );\r\n\r\nexport const RateCheckPanel = connect(mapStateToProps, mapDispatchToProps)(withPopups(RateCheckComponent));\r\n","import React from 'react';\r\n\r\nimport { displayCurrencyOrDash } from '@common/formatter';\r\nimport {\r\n AlignBaselineRow,\r\n ContentDetailText,\r\n PostedRate,\r\n RateCheckDataInfo,\r\n RateCheckDataValue,\r\n RateDiff,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { t, T } from '@translate';\r\n\r\ninterface ComponentProps {\r\n numericPostedRate: number | undefined;\r\n postedRate: string | undefined;\r\n rateDiff: number | undefined;\r\n}\r\n\r\nexport const RateCheckPostedRateDifference: React.FC = (props) => {\r\n return props.numericPostedRate ? (\r\n <>\r\n \r\n \r\n {props.postedRate}\r\n \r\n \r\n {t(T.findLoads_findLoads_postedRate)}\r\n \r\n \r\n {props.rateDiff ? (\r\n \r\n \r\n \r\n {displayCurrencyOrDash(props.rateDiff, true, { suffix: t(T.common_per_miles_short) })}\r\n \r\n \r\n \r\n {t(T.findLoads_findLoads_difference)}\r\n \r\n \r\n ) : null}\r\n \r\n ) : null;\r\n};\r\n","import React from 'react';\r\n\r\nimport { BasePopup } from '@component/popup/BasePopup';\r\nimport { PopupOkButton } from '@component/popup/PopupButtons';\r\nimport { t, T } from '@translate';\r\n\r\nexport const RateUnavailablePopup: React.FC<{ closingPopup: () => void }> = (props) => {\r\n return (\r\n ]}\r\n >\r\n {t(T.common_marketRate_rateCheck_rateNotAvailable_info)}\r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { compact, isEmpty, join } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { ExpandableSections, setExpandedSection } from '@/reduxStore/epic/ApplicationSettingsReducer';\r\nimport { formatNumberWithZeroFormatting } from '@common/helper';\r\nimport {\r\n PanelDetailsTransparent,\r\n PanelTitleTransparent,\r\n PanelWrapperTransparent,\r\n} from '@component/expansionPanel/ExpansionPanelStyle';\r\nimport { Cost } from '@component/panels/basePanel/loadDetails/profitCalculator/Cost';\r\nimport { areAllFieldsEmpty, Field, FieldType } from '@component/panels/basePanel/loadDetails/profitCalculator/Field';\r\nimport TextInputBox from '@component/panels/basePanel/loadDetails/profitCalculator/TextInputBox';\r\nimport { InputWrapper, TitleText } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { SelectElement } from '@component/select/Select';\r\nimport { withTheme } from '@style/WithTheme';\r\nimport { t, T } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\nimport icons from '@util/iconsConstants';\r\n\r\nimport { Calculation } from './Calculation';\r\n\r\nconst ExpansionTitleContainer = withTheme()(styled.div`\r\n display: flex;\r\n flex: 1;\r\n justify-content: space-between;\r\n align-items: center;\r\n`);\r\n\r\nconst ExpandIcon = styled.img`\r\n padding-right: 5px !important;\r\n`;\r\n\r\ninterface AdditionalCostsProps {\r\n tollCostField: Field;\r\n dispatchFeeField: Field;\r\n otherFeeField: Field;\r\n rate: string | undefined;\r\n additionalCosts: number;\r\n isDispatchFeeFlatAmount: boolean;\r\n focusedField: FieldType | undefined;\r\n onTollCostChange: (text: string) => void;\r\n onDispatchFeeChange: (text: string) => void;\r\n onDispatchFeeTypeChange: (type: string) => void;\r\n onOtherFeeChange: (text: string) => void;\r\n onFocus: (fieldType: FieldType) => () => void;\r\n onEndEditing: (fieldType: FieldType) => () => void;\r\n}\r\n\r\nconst AdditionalCosts: React.FC = (props: AdditionalCostsProps) => {\r\n const dispatch = useDispatch();\r\n const isAdditionalCostExpanded = useSelector(\r\n (state) => state.applicationSettings.expandedSections[ExpandableSections.ProfitCalculatorAdditionalCost]\r\n );\r\n\r\n const dispatchFee = props.isDispatchFeeFlatAmount\r\n ? formatNumberWithZeroFormatting(props.dispatchFeeField.value(), true)\r\n : `(${!isEmpty(props.rate) ? props.rate : 0} * ${formatNumberWithZeroFormatting(props.dispatchFeeField.value())}%)`;\r\n const tollCost = props.tollCostField.value() ? formatNumberWithZeroFormatting(props.tollCostField.value(), true) : '';\r\n const otherFee = props.otherFeeField.value() ? formatNumberWithZeroFormatting(props.otherFeeField.value(), true) : '';\r\n let additionalCostsCalculationText = `${join(\r\n compact([tollCost, dispatchFee, otherFee]),\r\n ' + '\r\n )} = ${formatNumberWithZeroFormatting(props.additionalCosts, true)}`;\r\n if (\r\n areAllFieldsEmpty(props.tollCostField, props.dispatchFeeField, props.otherFeeField) ||\r\n props.additionalCosts === 0\r\n ) {\r\n additionalCostsCalculationText = t(T.findLoads_findLoads_pleaseEnterValues);\r\n }\r\n\r\n const handleSectionClick = () => {\r\n dispatch(setExpandedSection(ExpandableSections.ProfitCalculatorAdditionalCost, !isAdditionalCostExpanded));\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n {t(T.findLoads_findLoads_Additional_Costs)}\r\n \r\n \r\n \"\r\n />\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default AdditionalCosts;\r\n","import React from 'react';\r\n\r\nimport { isUndefined } from 'lodash';\r\nimport styled from 'styled-components';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { Spacing } from '@style/StyleConstants';\r\nimport { THEME } from '@style/Theme';\r\n\r\ninterface Props {\r\n id: string;\r\n isValid: boolean;\r\n text?: React.ReactNode;\r\n style?: React.CSSProperties;\r\n}\r\n\r\nconst CalculationText = styled.div`\r\n margin-bottom: ${Spacing.ScreenSide}px;\r\n margin-top: ${Spacing.ElementPaddingVertical}px;\r\n font-size: ${THEME.text.subtitle2Regular.fontSize};\r\n display: flex;\r\n justify-content: center;\r\n color: ${Color.GRAY_DARK};\r\n align-self: center;\r\n`;\r\n\r\nconst ErrorCalculationText = styled(CalculationText)`\r\n color: ${Color.RED_APPLE};\r\n`;\r\n\r\nexport const Calculation: React.FC = ({ id, text, isValid, style }) => {\r\n return !isUndefined(text) ? (\r\n isValid ? (\r\n \r\n {text}\r\n \r\n ) : (\r\n {text}\r\n )\r\n ) : null;\r\n};\r\n","import React from 'react';\r\n\r\nimport { formatNumberWithZeroFormatting } from '@common/helper';\r\nimport { BoldText } from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\n\r\ninterface CostProps {\r\n value: number;\r\n}\r\n\r\nexport const Cost: React.FC = (props) => {\r\n const isNegative = props.value < 0;\r\n return (\r\n \r\n {t(T.unit_money, {\r\n value: formatNumberWithZeroFormatting(Math.abs(props.value), true),\r\n currency: '$',\r\n sign: `${isNegative ? '+' : '-'}`,\r\n })}\r\n \r\n );\r\n};\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { generatePath } from 'react-router';\r\nimport styled from 'styled-components';\r\n\r\nimport { Card, CardContent, Divider } from '@material-ui/core';\r\n\r\nimport { default as RightArrowIconSVG } from '@/icons/icon-arrow-right.svg?react';\r\nimport { Routes } from '@/router/Routes';\r\nimport { displayCurrency } from '@common/formatter';\r\nimport { formatDay, getDriveTime, getProfitPercentage, getProfitPerDay } from '@common/util/CostPerDayHelper';\r\nimport {\r\n CostPerDayNotAvailableBadge,\r\n CostPerDayTitle,\r\n LinkButton,\r\n} from '@component/panels/basePanel/loadDetails/costPerDay/CostPerDayUIHelper';\r\nimport { Text, TextStyle } from '@component/text';\r\nimport { Filter } from '@page/newSettings/panelSectionFilter/SettingsHelper';\r\nimport { Color } from '@style/Color';\r\nimport { Spacing } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\nimport { getCostPerDayTitleData, useCostPerDay, useGetWorkDays } from '@util/helper/CostPerDayHelper';\r\n\r\nconst CPD_PATH = `${generatePath(Routes.MORE_SETTINGS, { filter: Filter.CostPerDay })}/`;\r\n\r\nconst Flex = styled.div`\r\n display: flex;\r\n align-items: center;\r\n`;\r\n\r\nconst PriceContainer = styled(Flex)`\r\n flex-direction: column;\r\n gap: 10px;\r\n`;\r\n\r\nconst PriceText = styled(Text)`\r\n font-size: 22px;\r\n font-weight: bold;\r\n`;\r\n\r\nconst CardFooter = styled(Flex)`\r\n padding: ${Spacing.ElementPaddingHorizontal}px;\r\n`;\r\n\r\nconst ContentFooter = styled(Flex)`\r\n justify-content: center;\r\n padding: 8px 12px 10px 12px;\r\n`;\r\n\r\nconst CardHeader = styled(Flex)`\r\n padding: ${Spacing.ElementPaddingVertical}px;\r\n padding-bottom: 8px;\r\n justify-content: space-between;\r\n`;\r\n\r\ninterface CostPerDayCardWrapper {\r\n driveTime: number;\r\n totalProfit: number;\r\n miles: number;\r\n fuelCosts: number;\r\n additionalCosts: number;\r\n rate: number;\r\n deadheadMiles: number | undefined;\r\n hasRateData: boolean;\r\n onGetProfitPerDay: (profitPerDay: number) => void;\r\n}\r\n\r\nexport const CostPerDayCard = (props: CostPerDayCardWrapper) => {\r\n const costPerDay = useCostPerDay();\r\n const workDays = useGetWorkDays(\r\n props.driveTime + (props.deadheadMiles ? getDriveTime(props.driveTime, props.miles, props.deadheadMiles) : 0)\r\n );\r\n const profitPerDay = getProfitPerDay(props.totalProfit, workDays);\r\n\r\n useEffect(() => {\r\n // profitPerDay is calculated using the ProfitCalculator state, which is component-specific, not in Redux.\r\n // Prop drilling used here, to sync value between parent (LoadDetailsPanel) and another child (LoadDetailsInfoBar)\r\n props.onGetProfitPerDay(profitPerDay);\r\n }, [profitPerDay]);\r\n\r\n if (!props.hasRateData) {\r\n return ;\r\n }\r\n\r\n const isHalfDayHaul = workDays <= 0.5;\r\n const costPerDayValue = isHalfDayHaul ? costPerDay.value / 2 : costPerDay.value;\r\n const profitPerDayValue = isHalfDayHaul ? profitPerDay / 2 : profitPerDay;\r\n // Trip rate = Cost Per Day x Work days + (Fuel price + toll cost + dispatch cost)\r\n const tripRate = costPerDayValue * workDays + (props.fuelCosts + props.additionalCosts);\r\n const percentage = getProfitPercentage(costPerDayValue, profitPerDayValue);\r\n\r\n const { color, title, iconStyle, percentageText } = getCostPerDayTitleData(percentage);\r\n const costPerDayText = displayCurrency(costPerDayValue, false);\r\n const profitPerDayText = displayCurrency(profitPerDayValue, false);\r\n const totalProfitText = displayCurrency(props.totalProfit, false);\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {t(T.common_costPerDay_card_edit)}\r\n \r\n \r\n
\r\n \r\n {t(T.common_costPerDay_card_description, {\r\n maxDays: formatDay(workDays),\r\n totalProfit: totalProfitText,\r\n })}\r\n \r\n
\r\n \r\n {isHalfDayHaul\r\n ? t(T.common_costPerDay_card_profitValuePerHalfDay, { profit: profitPerDayText })\r\n : `${totalProfitText} / ${formatDay(workDays)} = ${profitPerDayText} ${t(\r\n T.common_costPerDay_card_profitPerDay\r\n ).toLowerCase()}`}\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n {isHalfDayHaul ? t(T.common_costPerDay_card_profitPerHalfDay) : t(T.common_costPerDay_card_profitPerDay)}\r\n \r\n {profitPerDayText}\r\n \r\n \r\n \r\n \r\n {isHalfDayHaul ? t(T.common_costPerDay_card_costPerHalfDay) : t(T.common_costPerDay_card_costPerDay)}\r\n \r\n {costPerDay.isSetupComplete ? (\r\n \r\n {costPerDayText}\r\n \r\n ) : (\r\n \r\n {t(T.common_costPerDay_card_setup)}\r\n \r\n )}\r\n \r\n \r\n {costPerDay.isSetupComplete ? (\r\n <>\r\n \r\n
\r\n \r\n ) : null}\r\n \r\n \r\n );\r\n};\r\n\r\ninterface FooterProps {\r\n percentage: number;\r\n tripRate: number;\r\n rate: number;\r\n miles: number;\r\n}\r\n\r\nconst Footer = (props: FooterProps) => {\r\n let footerConfig = {\r\n color: Color.RED_APPLE,\r\n title: t(T.common_costPerDay_card_notProfitableload),\r\n };\r\n if (props.percentage > -10) {\r\n footerConfig = {\r\n color: Color.BLUE_TEXT,\r\n title: t(T.common_costPerDay_card_partialProfitabLeLoad),\r\n };\r\n }\r\n if (props.percentage > 0) {\r\n footerConfig = {\r\n color: Color.GREEN_MAIN,\r\n title: t(T.common_costPerDay_card_profitableLoad),\r\n };\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n {footerConfig.title}\r\n \r\n \r\n {t(T.common_costPerDay_card_footerLoadInfo, {\r\n tripRate: displayCurrency(props.tripRate, false),\r\n tripRatePerMile: displayCurrency(props.tripRate / props.miles),\r\n postedRate: displayCurrency(props.rate, false),\r\n postedRatePerMile: displayCurrency(props.rate / props.miles),\r\n })}\r\n \r\n \r\n \r\n );\r\n};\r\n","import { every, some } from 'lodash';\r\n\r\nimport { isNumber } from '@common/helper/NumberHelper';\r\n\r\nexport class Field {\r\n constructor(\r\n readonly type: FieldType,\r\n readonly text: string | undefined\r\n ) {}\r\n readonly defaultText = '';\r\n private static readonly unallowedChars = [','];\r\n readonly isDefaultText = () => this.text === this.defaultText;\r\n isRequiredToFill = () => this.isDefaultText();\r\n readonly value = () => (this.isValid() ? this.textToNumber() : Number(this.defaultText));\r\n readonly textToNumber = () => Number(removeComma(this.text ?? this.defaultText));\r\n maxValue = 99.99;\r\n\r\n readonly isValid = () =>\r\n this.isEmpty() ||\r\n (isNumber(removeComma(this.text ?? this.defaultText)) &&\r\n this.textToNumber() >= 0 &&\r\n this.textToNumber() <= this.maxValue);\r\n readonly isEmpty = () => this.text === '' || this.text === undefined;\r\n normalisedText = () => (this.value() !== 0 ? formatNumber(this.value()) : this.defaultText);\r\n private readonly reachedToMax = () => this.value() > this.maxValue;\r\n readonly doesAllowToType = () =>\r\n !this.reachedToMax() &&\r\n every(Field.unallowedChars, (char) => (this.text ? this.text.indexOf(char) === -1 : true)) &&\r\n this.isValid();\r\n /**\r\n * This is an actual value that is not formatted or converted to string e.g. 0.00014 will store be in this variable\r\n * Is required for calculation, because this.value uses this.text which is formatted and will contain 0.00 in this case\r\n */\r\n unformattedValue: number;\r\n}\r\n\r\nexport enum FieldType {\r\n Miles = 'miles',\r\n CostPerMile = 'costPerMile',\r\n Rate = 'rate',\r\n MPG = 'mpg',\r\n CostPerGallon = 'costPerGallon',\r\n CostPerGallonDiscount = 'costPerGallonDiscount',\r\n TollCost = 'tollCost',\r\n DispatchFee = 'dispatchFee',\r\n OtherFee = 'otherFee',\r\n Inches = 'inches',\r\n DeadheadMiles = 'deadheadMiles',\r\n}\r\n\r\nexport const createField = (fieldType: FieldType, text: string | undefined, isDispatchFeeFlatAmount = false) => {\r\n const field = new Field(fieldType, text);\r\n switch (fieldType) {\r\n case 'miles':\r\n case 'rate':\r\n field.maxValue = 99999;\r\n field.normalisedText = () => (field.value() !== 0 ? formatNumber(field.value(), 0, 0) : field.defaultText);\r\n break;\r\n case 'deadheadMiles':\r\n field.maxValue = 99999;\r\n field.normalisedText = () => (field.value() !== 0 ? formatNumber(field.value(), 0, 0) : field.defaultText);\r\n field.isRequiredToFill = () => false;\r\n break;\r\n case 'dispatchFee': {\r\n field.maxValue = 99999.99;\r\n const formattedNumber = isDispatchFeeFlatAmount ? formatNumber(field.value()) : formatNumber(field.value(), 0, 0);\r\n field.maxValue = isDispatchFeeFlatAmount ? field.maxValue : 100;\r\n field.normalisedText = () => (field.value() !== 0 ? formattedNumber : field.defaultText);\r\n field.isRequiredToFill = () => false;\r\n break;\r\n }\r\n case 'inches': {\r\n field.maxValue = 11;\r\n field.isRequiredToFill = () => false;\r\n break;\r\n }\r\n case 'costPerGallon': {\r\n field.normalisedText = () => (field.value() !== 0 ? formatNumber(field.value(), 0, 3) : field.defaultText);\r\n break;\r\n }\r\n case 'costPerGallonDiscount':\r\n field.isRequiredToFill = () => false;\r\n field.normalisedText = () => (field.value() !== 0 ? formatNumber(field.value(), 2, 2) : field.defaultText);\r\n break;\r\n case 'mpg':\r\n field.normalisedText = () => (field.value() !== 0 ? formatNumber(field.value(), 0, 1) : field.defaultText);\r\n break;\r\n case 'tollCost':\r\n case 'otherFee':\r\n field.maxValue = 99999.99;\r\n field.isRequiredToFill = () => false;\r\n }\r\n return field;\r\n};\r\n\r\nexport const isAnyFieldEmpty = (...fields: Field[]) => {\r\n return some(fields, (field) => field.isEmpty());\r\n};\r\n\r\nexport const isAnyFieldInvalid = (...fields: Field[]) => {\r\n return some(fields, (field) => !field.isValid());\r\n};\r\n\r\nexport const isAnyFieldValueRequired = (...fields: Field[]) => {\r\n return some(fields, (field) => field.isRequiredToFill());\r\n};\r\n\r\nexport const areAllFieldsEmpty = (...fields: Field[]) => {\r\n return every(fields, (field) => field.isEmpty());\r\n};\r\n\r\nexport const removeComma = (text: string) => text.replace(',', '');\r\n\r\nexport const formatNumber = (num: number, minimumFractionDigits = 2, maximumFractionDigits = 2) =>\r\n num.toLocaleString('en', {\r\n minimumFractionDigits: minimumFractionDigits,\r\n maximumFractionDigits: maximumFractionDigits,\r\n });\r\n","import React from 'react';\r\n\r\nimport { isEmpty } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\nimport { Link } from 'react-router-dom';\r\nimport styled from 'styled-components';\r\n\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\n\r\nimport { ExpandableSections, setExpandedSection } from '@/reduxStore/epic/ApplicationSettingsReducer';\r\nimport { formatNumberWithZeroFormatting } from '@common/helper';\r\nimport { DIESEL_PRICE_LINK } from '@common/info';\r\nimport {\r\n PanelDetailsTransparent,\r\n PanelTitleTransparent,\r\n PanelWrapperTransparent,\r\n} from '@component/expansionPanel/ExpansionPanelStyle';\r\nimport { Cost } from '@component/panels/basePanel/loadDetails/profitCalculator/Cost';\r\nimport {\r\n Field,\r\n FieldType,\r\n isAnyFieldEmpty,\r\n isAnyFieldInvalid,\r\n isAnyFieldValueRequired,\r\n} from '@component/panels/basePanel/loadDetails/profitCalculator/Field';\r\nimport TextInputBox from '@component/panels/basePanel/loadDetails/profitCalculator/TextInputBox';\r\nimport {\r\n FuelDiscount,\r\n InputWrapper,\r\n TitleText,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { Color } from '@style/Color';\r\nimport { FontFamily, FontWeight, Spacing } from '@style/StyleConstants';\r\nimport { withTheme } from '@style/WithTheme';\r\nimport { t, T } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\nimport icons from '@util/iconsConstants';\r\n\r\nimport { Calculation } from './Calculation';\r\n\r\ninterface FuelCostProps {\r\n milesField: Field;\r\n mpgField: Field;\r\n costPerGallonField: Field;\r\n costPerGallonDiscountField: Field;\r\n deadheadMilesField: Field;\r\n isFuelDiscountChecked: boolean;\r\n isDeadheadMilesChecked: boolean;\r\n fuelCosts: number;\r\n fuelCostsForDeadheadMiles: number;\r\n focusedField: FieldType | undefined;\r\n onMilesChange: (text: string) => void;\r\n onMPGChange: (text: string) => void;\r\n onCostPerGallonChange: (text: string) => void;\r\n onCostPerGallonDiscountChange: (text: string) => void;\r\n onDeadheadMilesChange: (text: string) => void;\r\n onCheckPress: () => void;\r\n onDeadheadMilesCheckPress: () => void;\r\n onFocus: (fieldType: FieldType) => () => void;\r\n onEndEditing: (fieldType: FieldType) => () => void;\r\n}\r\n\r\nconst PerGal = styled.pre`\r\n margin: 0;\r\n font-family: ${FontFamily.Main};\r\n`;\r\n\r\nconst PerGalLink = styled(Link)`\r\n color: ${Color.ORANGE_MAIN};\r\n text-decoration: none;\r\n font-weight: ${FontWeight.Bold};\r\n &:hover {\r\n color: ${Color.ORANGE_MAIN};\r\n }\r\n`;\r\n\r\nconst Sign = styled.span`\r\n margin: 0 10px;\r\n`;\r\n\r\nconst ExpansionTitleContainer = withTheme()(styled.div`\r\n display: flex;\r\n flex: 1;\r\n justify-content: space-between;\r\n align-items: center;\r\n`);\r\n\r\nconst ExpandIcon = styled.img`\r\n padding-right: 5px !important;\r\n`;\r\n\r\nconst CheckBoxBar = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: flex-start;\r\n margin-top: ${Spacing.LargePaddingVertical}px;\r\n`;\r\n\r\nconst FuelCost: React.FC = (props: FuelCostProps) => {\r\n const dispatch = useDispatch();\r\n const isFuelCostExpanded = useSelector(\r\n (state) => state.applicationSettings.expandedSections[ExpandableSections.ProfitCalculatorFuelCost]\r\n );\r\n\r\n const isCheckboxDisabled = () => props.costPerGallonField.value() < 0.4;\r\n const costPerGallonFormattedValue = isEmpty(props.costPerGallonField.normalisedText())\r\n ? '0'\r\n : props.costPerGallonField.normalisedText();\r\n const costPerGallonText = props.isFuelDiscountChecked\r\n ? `(${costPerGallonFormattedValue} - ${formatNumberWithZeroFormatting(\r\n props.costPerGallonDiscountField.value(),\r\n true\r\n )})`\r\n : costPerGallonFormattedValue;\r\n\r\n const costPerGallon = (\r\n \r\n \r\n {` ${costPerGallonText} `}\r\n \r\n \r\n );\r\n\r\n const milesText = props.isDeadheadMilesChecked\r\n ? `(${formatNumberWithZeroFormatting(props.milesField.value())} + ${formatNumberWithZeroFormatting(\r\n props.deadheadMilesField.value()\r\n )})`\r\n : formatNumberWithZeroFormatting(props.milesField.value());\r\n let fuelCalculationText = (\r\n
\r\n
{`${milesText} / ${props.mpgField.normalisedText()} *`}
\r\n {costPerGallon}\r\n
{`= ${formatNumberWithZeroFormatting(props.fuelCosts, true)}`}
\r\n
\r\n );\r\n\r\n let isFuelCostsFieldsValid = true;\r\n if (isAnyFieldInvalid(props.milesField, props.mpgField, props.costPerGallonField, props.costPerGallonDiscountField)) {\r\n fuelCalculationText = t(T.findLoads_findLoads_fieldsInvalid);\r\n isFuelCostsFieldsValid = false;\r\n }\r\n if (isAnyFieldEmpty(props.milesField, props.mpgField, props.costPerGallonField)) {\r\n fuelCalculationText = t(T.findLoads_findLoads_pleaseEnterValues);\r\n }\r\n if (isAnyFieldValueRequired(props.milesField, props.mpgField, props.costPerGallonField)) {\r\n fuelCalculationText = t(T.findLoads_findLoads_fieldsRequiredOrInvalid);\r\n isFuelCostsFieldsValid = false;\r\n }\r\n\r\n const deadheadMilesCalculationText = (\r\n
\r\n
{`${formatNumberWithZeroFormatting(\r\n props.deadheadMilesField.value()\r\n )} / ${props.mpgField.normalisedText()} *`}
\r\n {costPerGallon}\r\n
{`= ${formatNumberWithZeroFormatting(\r\n props.fuelCostsForDeadheadMiles,\r\n true\r\n )}`}
\r\n
\r\n );\r\n\r\n const handleSectionClick = () => {\r\n dispatch(setExpandedSection(ExpandableSections.ProfitCalculatorFuelCost, !isFuelCostExpanded));\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n {t(T.findLoads_findLoads_Fuel_Costs)}\r\n \r\n \r\n \"\r\n />\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n \r\n /\r\n \r\n \r\n \r\n *\r\n \r\n \r\n \r\n
\r\n \r\n \r\n }\r\n label={\r\n
\r\n
{t(T.findLoads_findLoads_applyDeadheadMiles)}
\r\n
\r\n \r\n
\r\n
\r\n }\r\n />\r\n \r\n \r\n \r\n
\r\n \r\n \r\n }\r\n label={\r\n
\r\n
\r\n

{`${t(T.findLoads_findLoads_applyDiscount)} ${t(\r\n T.findLoads_findLoads_discountValue\r\n )}`}

\r\n
\r\n \r\n {t(T.findLoads_findLoads_getFuelCard)}\r\n \r\n
\r\n }\r\n />\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default FuelCost;\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { shouldShow4DigitsAfterComma, show4DigitsAfterComma } from '@common/formatter';\r\nimport { formatNumberWithZeroFormatting } from '@common/helper';\r\nimport {\r\n Field,\r\n FieldType,\r\n isAnyFieldEmpty,\r\n isAnyFieldInvalid,\r\n isAnyFieldValueRequired,\r\n} from '@component/panels/basePanel/loadDetails/profitCalculator/Field';\r\nimport TextInputBox from '@component/panels/basePanel/loadDetails/profitCalculator/TextInputBox';\r\nimport {\r\n BoldText,\r\n InputWrapper,\r\n LoadDetailsContainer,\r\n TitleText,\r\n TitleWrapper,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\n\r\nimport { Calculation } from './Calculation';\r\n\r\ninterface LinehaulRevenueProps {\r\n milesField: Field;\r\n costPerMileField: Field;\r\n rateField: Field;\r\n focusedField: FieldType | undefined;\r\n onMilesChange: (text: string) => void;\r\n onCostPerMileChange: (text: string) => void;\r\n onRateChange: (text: string) => void;\r\n onFocus: (fieldType: FieldType) => () => void;\r\n onEndEditing: (fieldType: FieldType) => () => void;\r\n}\r\n\r\nconst Sign = styled.span`\r\n margin: 0 10px;\r\n`;\r\n\r\nconst LinehaulRevenue: React.FC = (props: LinehaulRevenueProps) => {\r\n const costPerMileCalculationValue = shouldShow4DigitsAfterComma(props.costPerMileField.unformattedValue)\r\n ? show4DigitsAfterComma(props.costPerMileField.unformattedValue)\r\n : formatNumberWithZeroFormatting(props.costPerMileField.value(), true);\r\n let linehaulRevenueCalculationText = `${formatNumberWithZeroFormatting(\r\n props.milesField.value()\r\n )} * ${costPerMileCalculationValue} = ${formatNumberWithZeroFormatting(props.rateField.value())}`;\r\n let isLinehaulRevenueFieldsValid = true;\r\n\r\n if (isAnyFieldInvalid(props.milesField, props.costPerMileField, props.rateField)) {\r\n linehaulRevenueCalculationText = t(T.findLoads_findLoads_fieldsInvalid);\r\n isLinehaulRevenueFieldsValid = false;\r\n }\r\n if (isAnyFieldEmpty(props.milesField, props.costPerMileField, props.rateField)) {\r\n linehaulRevenueCalculationText = t(T.findLoads_findLoads_pleaseEnterValues);\r\n }\r\n if (isAnyFieldValueRequired(props.milesField, props.costPerMileField, props.rateField)) {\r\n linehaulRevenueCalculationText = t(T.findLoads_findLoads_fieldsRequiredOrInvalid);\r\n isLinehaulRevenueFieldsValid = false;\r\n }\r\n\r\n return (\r\n \r\n \r\n {t(T.findLoads_findLoads_Linehaul_Revenue)}\r\n \r\n {t(T.unit_money, {\r\n value: formatNumberWithZeroFormatting(props.rateField.value()),\r\n currency: '$',\r\n })}\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n *\r\n \r\n \r\n \r\n =\r\n \r\n \r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default LinehaulRevenue;\r\n","import React from 'react';\r\n\r\nimport { find, isEqual, map, toString } from 'lodash';\r\nimport { connect } from 'react-redux';\r\nimport { Action, bindActionCreators, Dispatch } from 'redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { LoadDetailsTabs } from '@/model';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { getDeadHead, getPricePerMileRate, getRevenue, treatZeroAsUndefined } from '@common/helper';\r\nimport { Config, Load, RoutesSettings, SimilarLoad, SystemSetting } from '@common/model';\r\nimport { fetchLoadFuelPrice, LoadInfo } from '@common/redux/epic/LoadInfoEpic';\r\nimport { fetchRoutesSettings, getSystemSetting, updateRoutesSettings } from '@common/redux/epic/SettingsEpic';\r\nimport { getDriveTime } from '@common/util/CostPerDayHelper';\r\nimport { TextButton } from '@component/button';\r\nimport { ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { LoadingSpinner } from '@component/loadingSpinner/LoadingSpinner';\r\nimport {\r\n createField,\r\n Field,\r\n FieldType,\r\n removeComma,\r\n} from '@component/panels/basePanel/loadDetails/profitCalculator/Field';\r\nimport FuelCost from '@component/panels/basePanel/loadDetails/profitCalculator/FuelCost';\r\nimport LinehaulRevenue from '@component/panels/basePanel/loadDetails/profitCalculator/LinehaulRevenue';\r\nimport TotalProfit from '@component/panels/basePanel/loadDetails/profitCalculator/TotalProfit';\r\nimport {\r\n ExpansionPanelDataWrapper,\r\n LoadDetailsContainer,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport {\r\n getCosts,\r\n getPersistedCalculatorData,\r\n isFieldStatesEqual,\r\n persistCalculatorData,\r\n ProfitCalculatorState,\r\n toNumberWithComma,\r\n} from '@page/profitCalculator/ProfitCalculatorHelper';\r\nimport { T, t } from '@translate';\r\n\r\nimport AdditionalCosts from './AdditionalCosts';\r\nimport { CostPerDayCard } from './CostPerDayCard';\r\nimport { default as CalculatorIcon } from './profit calculator.svg';\r\n\r\nexport const ResetButton = styled(TextButton)`\r\n && {\r\n width: 40px;\r\n font-weight: unset;\r\n align-self: flex-end;\r\n margin-right: 6px;\r\n }\r\n`;\r\n\r\nconst getFields: (state: ProfitCalculatorState) => { [field: string]: Field } = (state) => {\r\n const costPerMileField = createField(FieldType.CostPerMile, state.costPerMile);\r\n costPerMileField.unformattedValue =\r\n parseInt(removeComma(state.rate ?? ''), 10) / parseInt(removeComma(state.miles ?? ''), 10);\r\n\r\n return {\r\n miles: createField(FieldType.Miles, state.miles),\r\n costPerMile: costPerMileField,\r\n rate: createField(FieldType.Rate, state.rate),\r\n mpg: createField(FieldType.MPG, state.mpg),\r\n costPerGallon: createField(FieldType.CostPerGallon, state.costPerGallon),\r\n costPerGallonDiscount: createField(FieldType.CostPerGallonDiscount, state.costPerGallonDiscount),\r\n tollCost: createField(FieldType.TollCost, state.tollCost),\r\n dispatchFee: createField(FieldType.DispatchFee, state.dispatchFee, state.isDispatchFeeFlatAmount),\r\n otherFee: createField(FieldType.OtherFee, state.otherFee),\r\n deadheadMiles: createField(FieldType.DeadheadMiles, state.deadheadMiles),\r\n };\r\n};\r\n\r\ninterface ComponentProps {\r\n loadInfo: LoadInfo | undefined;\r\n load: Load;\r\n isOpened: boolean;\r\n totalProfitRef?: React.Ref;\r\n handleChange(tab: LoadDetailsTabs, status: boolean): void;\r\n onGetProfitPerDay: (profitPerDay: number) => void;\r\n}\r\n\r\ninterface DispatchProps {\r\n fetchRoutesSettings: () => void;\r\n updateSettings: (settings: RoutesSettings) => void;\r\n getSystemSetting: (setting: SystemSetting) => void;\r\n fetchLoadFuelPrice(loadId: string, state: string, country?: string): void;\r\n}\r\n\r\ninterface ReduxProps {\r\n mpgResult?: number;\r\n costPerDayEnabled: boolean;\r\n isLoading: boolean;\r\n loads: Load[];\r\n backhaulsLoads: Load[];\r\n similarLoads: SimilarLoad[];\r\n}\r\n\r\ntype Props = ReduxProps & ComponentProps & DispatchProps;\r\n\r\nclass ProfitCalculatorComponent extends React.PureComponent {\r\n state = initialState;\r\n\r\n componentDidMount(): void {\r\n this.props.fetchRoutesSettings();\r\n\r\n if (this.props.load?.originLocation?.address?.state) {\r\n this.props.fetchLoadFuelPrice(this.props.load.id, this.props.load.originLocation.address.state);\r\n }\r\n\r\n this.setInitialValues();\r\n }\r\n\r\n componentWillUnmount(): void {\r\n persistCalculatorData({\r\n isDispatchFeeFlatAmount: this.state.isDispatchFeeFlatAmount,\r\n dispatchFee: this.state.dispatchFee,\r\n isFuelDiscountChecked: this.state.isFuelDiscountChecked,\r\n costPerGallonDiscount: this.state.costPerGallonDiscount,\r\n });\r\n }\r\n\r\n componentDidUpdate(prevProps: Readonly): void {\r\n if (!isEqual(this.props.load.id, prevProps.load.id) && this.props.load?.originLocation?.address?.state) {\r\n this.props.fetchLoadFuelPrice(this.props.load.id, this.props.load.originLocation.address.state);\r\n }\r\n\r\n if (!isEqual(prevProps.loadInfo, this.props.loadInfo)) {\r\n this.setInitialValues();\r\n }\r\n }\r\n\r\n // @FIXME: This should not rely on iterating through the results lists. To be fixed by copying MOB implementation which uses WILL_SHOW_DETAILS action, or by normalization once implemented\r\n getLoadWithDeadhead = () => {\r\n const similarLoadsList = map(this.props.similarLoads, (similarLoad) => similarLoad.load);\r\n const loads = [...this.props.loads, ...similarLoadsList, ...this.props.backhaulsLoads];\r\n return find(loads, (load) => load.id === this.props.load.id);\r\n };\r\n\r\n getOriginDeadhead = () => {\r\n const loadWithDeadhead = this.getLoadWithDeadhead();\r\n const originDeadhead = getDeadHead(loadWithDeadhead);\r\n return originDeadhead;\r\n };\r\n\r\n getInitialValues = () => {\r\n const { load, loadInfo } = this.props;\r\n\r\n const rate = getRevenue(load, loadInfo?.rateCheck?.payload?.linehaulRevenue);\r\n const miles = load.computedMileage ? toString(load.computedMileage) : undefined;\r\n const deadheadMilesValue = this.getOriginDeadhead();\r\n const deadheadMiles = deadheadMilesValue ? toString(deadheadMilesValue) : undefined;\r\n const rateStr = rate && miles ? toString(rate.toFixed(0)) : undefined;\r\n const tollCost =\r\n loadInfo?.routeInfo && treatZeroAsUndefined(loadInfo.routeInfo.toll)\r\n ? toString(loadInfo.routeInfo.toll)\r\n : undefined;\r\n let costPerMile;\r\n if (getPricePerMileRate(load)) {\r\n costPerMile = getPricePerMileRate(load);\r\n } else {\r\n costPerMile = load?.rateCheck?.avgRatePerMile;\r\n }\r\n const costPerMileStr = costPerMile ? toString(costPerMile.toFixed(2)) : undefined;\r\n const costPerGallonField = createField(\r\n FieldType.CostPerGallon,\r\n toString(this.props.loadInfo?.fuelPrice?.payload?.price)\r\n );\r\n const initialValues: Partial = {\r\n rate: rateStr,\r\n miles: miles,\r\n tollCost: tollCost,\r\n costPerMile: costPerMileStr,\r\n costPerGallon: costPerGallonField.normalisedText(),\r\n deadheadMiles: deadheadMiles,\r\n };\r\n\r\n if (this.props.mpgResult) {\r\n const mpgField = createField(FieldType.MPG, toString(this.props.mpgResult));\r\n initialValues.mpg = mpgField.normalisedText();\r\n }\r\n\r\n const persistedData = getPersistedCalculatorData();\r\n\r\n return { ...initialValues, ...persistedData };\r\n };\r\n\r\n isFiledValuesInitial = () => isFieldStatesEqual(this.state, { ...initialState, ...this.getInitialValues() });\r\n\r\n onResetClick = () => this.setInitialValues();\r\n\r\n render() {\r\n const fields = getFields(this.state);\r\n const { fuelCosts, additionalCosts, totalProfit, profitPerMile, rate, miles, fuelCostsForDeadheadMiles } = getCosts(\r\n this.state\r\n );\r\n\r\n const driveTime = getDriveTime(\r\n this.props.loadInfo?.routeInfo?.driveTime ?? 0,\r\n this.props.load?.computedMileage ?? 0,\r\n miles\r\n );\r\n\r\n const hasInitialRateData = !!getRevenue(this.props.load, this.props.loadInfo?.rateCheck?.payload?.linehaulRevenue);\r\n const hasRateDataFromUserInput = !!this.state.rate && this.state.rate !== '0';\r\n\r\n return (\r\n 0\r\n ? t(T.common_load_your_profit_from_load, {\r\n profit: totalProfit.toFixed(2),\r\n perMile: profitPerMile.toFixed(2),\r\n })\r\n : '$-'\r\n }\r\n icon={CalculatorIcon}\r\n isOpened={this.props.isOpened}\r\n handleClick={this.handleTabClick}\r\n >\r\n {this.props.isLoading ? (\r\n \r\n \r\n
\r\n ) : (\r\n \r\n \r\n {t(T.profitCalculator_reset)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n {this.props.costPerDayEnabled ? (\r\n \r\n ) : null}\r\n
\r\n )}\r\n \r\n );\r\n }\r\n\r\n private readonly setInitialValues = () => this.setState({ ...initialState, ...this.getInitialValues() });\r\n\r\n private readonly onMilesChange = (miles: string) => {\r\n const milesField = createField(FieldType.Miles, miles);\r\n if (!milesField.doesAllowToType()) {\r\n return;\r\n }\r\n this.setState((prevState: ProfitCalculatorState) => {\r\n const fields = getFields(prevState);\r\n if (fields.costPerMile.value()) {\r\n const newRate = String(milesField.value() * fields.costPerMile.value());\r\n return {\r\n ...prevState,\r\n miles: milesField.text,\r\n rate: createField(FieldType.Rate, newRate).normalisedText(),\r\n };\r\n } else if (fields.rate.value()) {\r\n const newCostPerMileValue = fields.rate.value() / milesField.value();\r\n const newCostPerMile = isFinite(newCostPerMileValue) ? String(newCostPerMileValue) : '';\r\n return {\r\n ...prevState,\r\n miles: milesField.text,\r\n costPerMile: createField(FieldType.Rate, newCostPerMile).normalisedText(),\r\n };\r\n } else {\r\n return {\r\n ...prevState,\r\n miles: milesField.text,\r\n rate: undefined,\r\n costPerMile: '',\r\n };\r\n }\r\n });\r\n };\r\n\r\n private readonly onCostPerMileChange = (costPerMile: string) => {\r\n const costPerMileField = createField(FieldType.CostPerMile, costPerMile);\r\n if (!costPerMileField.doesAllowToType()) {\r\n return;\r\n }\r\n this.setState((prevState: ProfitCalculatorState) => {\r\n const fields = getFields(prevState);\r\n const rate = fields.miles.isEmpty()\r\n ? prevState.rate\r\n : String(Number(costPerMileField.normalisedText()) * fields.miles.value());\r\n if (!rate || isEqual(rate, '0')) {\r\n return {\r\n ...prevState,\r\n costPerMile: costPerMileField.text,\r\n rate: undefined,\r\n miles: prevState.miles ?? '',\r\n };\r\n } else {\r\n return {\r\n ...prevState,\r\n costPerMile: costPerMileField.text,\r\n rate: createField(FieldType.Rate, rate).normalisedText(),\r\n };\r\n }\r\n });\r\n };\r\n\r\n private readonly onRateChange = (rate: string) => {\r\n const rateField = createField(FieldType.Rate, rate);\r\n if (!rateField.doesAllowToType()) {\r\n return;\r\n }\r\n this.setState((prevState: ProfitCalculatorState) => {\r\n const fields = getFields(prevState);\r\n const costPerMile = fields.miles.isEmpty()\r\n ? ''\r\n : String(Number(rateField.normalisedText()) / fields.miles.value());\r\n if (!costPerMile || isEqual(costPerMile, '0')) {\r\n return {\r\n ...prevState,\r\n rate: rateField.text,\r\n costPerMile: '',\r\n miles: prevState.miles ?? '',\r\n };\r\n } else {\r\n return {\r\n ...prevState,\r\n rate: rateField.text,\r\n costPerMile: createField(FieldType.CostPerMile, costPerMile).normalisedText(),\r\n };\r\n }\r\n });\r\n };\r\n\r\n private saveMPGState(mpg: number) {\r\n const settings = { mpg: mpg };\r\n this.props.updateSettings(settings);\r\n }\r\n\r\n private readonly onMPGChange = (mpg: string) => {\r\n const mpgField = createField(FieldType.MPG, mpg);\r\n if (!mpgField.doesAllowToType()) {\r\n return;\r\n }\r\n\r\n this.setState({ mpg: mpgField.text });\r\n this.saveMPGState(parseFloat(mpg));\r\n };\r\n\r\n private readonly onCostPerGallonChange = (costPerGallon: string) => {\r\n const costPerGallonField = createField(FieldType.CostPerGallon, costPerGallon);\r\n if (!costPerGallonField.doesAllowToType()) {\r\n return;\r\n }\r\n this.setState({ costPerGallon: costPerGallonField.text });\r\n };\r\n\r\n private readonly onCostPerGallonDiscountChange = (costPerGallonDiscount: string) => {\r\n const costPerGallonDiscountField = createField(FieldType.CostPerGallonDiscount, costPerGallonDiscount);\r\n if (!costPerGallonDiscountField.doesAllowToType()) {\r\n return;\r\n }\r\n persistCalculatorData({ costPerGallonDiscount: costPerGallonDiscountField.text });\r\n this.setState({ costPerGallonDiscount: costPerGallonDiscountField.text });\r\n };\r\n\r\n private readonly onCheckPress = () => {\r\n persistCalculatorData({ isFuelDiscountChecked: !this.state.isFuelDiscountChecked });\r\n this.setState((prevState: ProfitCalculatorState) => ({ isFuelDiscountChecked: !prevState.isFuelDiscountChecked }));\r\n };\r\n\r\n private readonly onDeadheadMilesCheckPress = () => {\r\n persistCalculatorData({ isDeadheadMilesChecked: !this.state.isDeadheadMilesChecked });\r\n this.setState((prevState: ProfitCalculatorState) => ({\r\n isDeadheadMilesChecked: !prevState.isDeadheadMilesChecked,\r\n }));\r\n };\r\n\r\n private readonly onTollCostChange = (tollCost: string) => {\r\n const tollCostField = createField(FieldType.TollCost, tollCost);\r\n if (!tollCostField.doesAllowToType()) {\r\n return;\r\n }\r\n this.setState({ tollCost: tollCostField.text });\r\n };\r\n\r\n private readonly onDispatchFeeChange = (dispatchFee: string) =>\r\n this.setState((prevState: ProfitCalculatorState) => {\r\n const dispatchFeeField = createField(FieldType.DispatchFee, dispatchFee, prevState.isDispatchFeeFlatAmount);\r\n if (!dispatchFeeField.doesAllowToType()) {\r\n return prevState;\r\n }\r\n persistCalculatorData({ dispatchFee: dispatchFeeField.text });\r\n return { ...prevState, dispatchFee: dispatchFeeField.text };\r\n });\r\n\r\n private readonly onDispatchFeeTypeChange = (type: string) =>\r\n this.setState((prevState: ProfitCalculatorState) => {\r\n const isDispatchFeeFlatAmount = type === '$';\r\n const dispatchFeeField = createField(FieldType.DispatchFee, prevState.dispatchFee, isDispatchFeeFlatAmount);\r\n persistCalculatorData({ isDispatchFeeFlatAmount: isDispatchFeeFlatAmount });\r\n return { isDispatchFeeFlatAmount: isDispatchFeeFlatAmount, dispatchFee: dispatchFeeField.normalisedText() };\r\n });\r\n\r\n private readonly onOtherFeeChange = (otherFee: string) => {\r\n const otherFeeField = createField(FieldType.OtherFee, otherFee);\r\n if (!otherFeeField.doesAllowToType()) {\r\n return;\r\n }\r\n this.setState({ otherFee: otherFeeField.text });\r\n };\r\n\r\n private readonly onDeadheadMilesChange = (miles: string) => {\r\n const milesField = createField(FieldType.DeadheadMiles, miles);\r\n if (!milesField.doesAllowToType()) {\r\n return;\r\n }\r\n this.setState(() => {\r\n return {\r\n deadheadMiles: milesField.text,\r\n };\r\n });\r\n };\r\n\r\n private readonly onEndEditing = (fieldType: FieldType) => () =>\r\n this.setState((prevState: ProfitCalculatorState) => {\r\n const field = getFields(prevState)[fieldType];\r\n const currentField = toString(fieldType);\r\n if (currentField === FieldType.DispatchFee) {\r\n persistCalculatorData({ dispatchFee: field.normalisedText() });\r\n }\r\n return {\r\n [fieldType]: field.normalisedText(),\r\n focusedField: undefined,\r\n } as unknown as ProfitCalculatorState;\r\n });\r\n\r\n private readonly onFieldFocus = (fieldType: FieldType) => () =>\r\n this.setState((prevState) => {\r\n const fields = getFields(prevState);\r\n const text = fields[fieldType].text ? removeComma(fields[fieldType].text ?? '') : undefined;\r\n return {\r\n [fieldType]: text,\r\n focusedField: fieldType,\r\n } as unknown as ProfitCalculatorState;\r\n });\r\n\r\n private readonly handleTabClick = () => {\r\n this.props.handleChange(LoadDetailsTabs.ProfitCalculator, !this.props.isOpened);\r\n };\r\n}\r\n\r\nconst mapStateToProps = (state: StoreState, props: ComponentProps): ReduxProps => {\r\n const mpgResult = state.settings.routesSettings?.payload?.mpg;\r\n\r\n const costPerDayEnabled = state.settings.systemSetting[Config.CostPerDaySettings].value.enabled;\r\n\r\n const currentLoadInfo = state.loadInfo.loadInfoMap.get(props.load.id);\r\n const isLoadingRateCheck = currentLoadInfo?.isLoadingRateCheck ?? false;\r\n const isLoadingFuelPrice = currentLoadInfo?.isLoadingFuelPrice ?? false;\r\n\r\n return {\r\n isLoading: isLoadingRateCheck || isLoadingFuelPrice,\r\n mpgResult: mpgResult,\r\n costPerDayEnabled: costPerDayEnabled,\r\n loads: state.loadSearch.loads,\r\n similarLoads: state.loadSearch.similarLoads,\r\n backhaulsLoads: state.backhauls.loads,\r\n };\r\n};\r\nconst mapDispatchToProps = (dispatch: Dispatch): DispatchProps =>\r\n bindActionCreators(\r\n {\r\n fetchLoadFuelPrice: fetchLoadFuelPrice,\r\n fetchRoutesSettings: () => fetchRoutesSettings(),\r\n getSystemSetting: getSystemSetting,\r\n updateSettings: (settings: RoutesSettings) => updateRoutesSettings(settings),\r\n },\r\n dispatch\r\n );\r\n\r\nexport const ProfitCalculator = connect(mapStateToProps, mapDispatchToProps)(ProfitCalculatorComponent);\r\n\r\nconst initialState: ProfitCalculatorState = {\r\n miles: undefined,\r\n costPerMile: undefined,\r\n rate: undefined,\r\n mpg: undefined,\r\n costPerGallon: undefined,\r\n costPerGallonDiscount: '0.40',\r\n isFuelDiscountChecked: false,\r\n tollCost: undefined,\r\n dispatchFee: undefined,\r\n otherFee: undefined,\r\n isDispatchFeeFlatAmount: false,\r\n focusedField: undefined,\r\n deadheadMiles: undefined,\r\n isDeadheadMilesChecked: false,\r\n};\r\n","import React, { CSSProperties } from 'react';\r\n\r\nimport { Field, FieldType } from '@component/panels/basePanel/loadDetails/profitCalculator/Field';\r\nimport { NumberValidationInput } from '@component/textInput';\r\n\r\ninterface TextInputBoxProps {\r\n field: Field;\r\n placeholder: string;\r\n isDisabled?: boolean;\r\n onChangeText: (text: string) => void;\r\n isInFocus: boolean;\r\n onFocus?: (fieldType: FieldType) => () => void;\r\n onBlur?: () => void;\r\n style?: CSSProperties;\r\n}\r\n\r\nconst TextInputBox: React.FC = (props: TextInputBoxProps) => {\r\n const isFieldValid = props.field.isValid();\r\n const isRequiredToFill = props.field.isRequiredToFill();\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default TextInputBox;\r\n","import React, { useRef, useState } from 'react';\r\n\r\nimport ReactResizeDetector from 'react-resize-detector';\r\n\r\nimport { displayCurrency } from '@common/formatter';\r\nimport { formatNumberWithZeroFormatting } from '@common/helper';\r\nimport { PanelWidth } from '@component/panel';\r\nimport {\r\n BoldText,\r\n LoadDetailsContainer,\r\n TitleText,\r\n TitleWrapper,\r\n} from '@component/panels/findLoads/loadDetailsPanel/LoadDetailsPanelStyle';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize, Spacing } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\n\r\ninterface TotalProfitProps {\r\n totalProfit: number;\r\n profitPerMile: number;\r\n linehaulRevenue: number;\r\n fuelCosts: number;\r\n additionalCosts: number;\r\n}\r\n\r\nconst TotalProfit = (props: TotalProfitProps) => {\r\n const [panelWidth, setPanelWidth] = useState(0);\r\n const { totalProfit, profitPerMile, linehaulRevenue, fuelCosts, additionalCosts } = props;\r\n\r\n const totalProfitRef = useRef(null);\r\n const fontSize = panelWidth < PanelWidth.small ? FontSize.Body : FontSize.ContentDetail;\r\n const totalProfitText = totalProfit !== 0 ? displayCurrency(totalProfit) : '$0';\r\n const perMileProfitText = profitPerMile !== 0 ? displayCurrency(profitPerMile) : '$';\r\n const areAllValuesZero = linehaulRevenue === 0 && fuelCosts === 0 && additionalCosts === 0;\r\n const calculationText = areAllValuesZero\r\n ? ''\r\n : `${formatNumberWithZeroFormatting(linehaulRevenue)} ${fuelCosts < 0 ? '+' : '-'} ${formatNumberWithZeroFormatting(\r\n Math.abs(fuelCosts),\r\n true\r\n )} - ${formatNumberWithZeroFormatting(additionalCosts, true)} =`;\r\n\r\n return (\r\n
\r\n \r\n \r\n \r\n {t(T.findLoads_findLoads_totalProfit)}\r\n {`${perMileProfitText}${t(T.unit_per_mi)}`}\r\n \r\n \r\n \r\n {calculationText}\r\n \r\n \r\n {totalProfitText}\r\n \r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default TotalProfit;\r\n","import React from 'react';\r\n\r\nimport { isUndefined } from 'lodash';\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@material-ui/core';\r\nimport { ButtonProps } from '@material-ui/core/Button';\r\n\r\nimport { NotificationCount } from '@component/menu/menuStyles';\r\nimport { Filter } from '@page/newSettings/panelSectionFilter/SettingsHelper';\r\nimport { Color } from '@style/Color';\r\nimport { FontLineHeight, FontSize, Spacing } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\nimport { default as ArrowRight } from './arrow-right.svg';\r\n\r\ninterface FilterItem {\r\n id: string;\r\n name: string;\r\n}\r\n\r\nexport const SectionHeader = styled.div`\r\n display: flex;\r\n align-items: center;\r\n padding: 0 20px;\r\n height: 50px;\r\n`;\r\n\r\nexport const SectionTitle = styled.span`\r\n font-size: ${FontSize.ContentDetail}px;\r\n color: ${Color.GRAY_STONE};\r\n`;\r\n\r\n// augmenting specificity with && to allow styling material-ui component\r\nexport const SectionItem = styled(({ isSelected, ...rest }) => (\r\n \r\n {\r\n props.setIsEditingFeedback(true);\r\n dispatch(\r\n updateRateCheckFeedback(newFeedback({ isRateCheckAccurate: false, ...feedbackParams }), props.rateCheckID)\r\n );\r\n }}\r\n style={{ fontSize: FontSize.Content, textTransform: 'capitalize' }}\r\n >\r\n {t(T.common_no)}\r\n \r\n \r\n \r\n );\r\n};\r\n","import React, { useEffect, useState } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { RateCheck, RateCheckFeedback } from '@common/model';\r\nimport { getRateCheckID } from '@common/redux/epic/rateCheck/RateCheckHelper';\r\nimport { Color } from '@style/Color';\r\nimport { ElementSize, Spacing } from '@style/StyleConstants';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nimport { RateCheckFeedbackResponse } from './RateCheckFeedbackResponse';\r\nimport { RateCheckIsAccurate } from './RateCheckIsAccurate';\r\nimport { RateConfirmationInput } from './RateConfirmationInput';\r\n\r\nconst RATECHECK_SUBMITTED_ANIMATION_DURATION = 300;\r\n\r\nconst RateCheckConfirmationContainer = styled.div`\r\n border: 1px solid ${Color.GRAY_11};\r\n width: 100%;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n background-color: ${Color.GRAY_LIGHT};\r\n margin: ${Spacing.InterElementVertical}px 0;\r\n position: relative;\r\n z-index: 1;\r\n`;\r\n\r\nconst AnimatedContainer = styled.div`\r\n transition: height ${RATECHECK_SUBMITTED_ANIMATION_DURATION}ms ease;\r\n will-change: height;\r\n height: ${({ height }: { height: number }) => height}px;\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n overflow: hidden;\r\n`;\r\n\r\ninterface ComponentProps {\r\n loadID?: string;\r\n rateCheck: RateCheck;\r\n style?: React.CSSProperties;\r\n}\r\n\r\nexport const RateConfirmation: React.FC = (props) => {\r\n const request = useSelector((state) => state.rateCheck.request);\r\n const rateCheckID = getRateCheckID(props.loadID, request);\r\n\r\n const feedback = useSelector((state) => state.rateCheck.feedback[rateCheckID]);\r\n const [isEditingFeedback, setIsEditingFeedback] = useState(false);\r\n const height = useRateCheckHeightAnimation(isEditingFeedback);\r\n\r\n return (\r\n \r\n \r\n {props.children}\r\n \r\n {feedback && !feedback.isSubmitted && isEditingFeedback ? (\r\n \r\n ) : null}\r\n {feedback && feedback.isSubmitted ? : null}\r\n {!feedback || feedback.isRateCheckAccurate === undefined ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst useRateCheckHeightAnimation = (isEditingFeedback: boolean) => {\r\n const [height, setHeight] = useState(ElementSize.RateCheckConfirmation);\r\n\r\n useEffect(() => {\r\n if (isEditingFeedback) {\r\n setTimeout(setHeight, 0, ElementSize.RateCheckFeedbackInput);\r\n } else {\r\n setTimeout(setHeight, 0, ElementSize.RateCheckConfirmation);\r\n }\r\n }, [isEditingFeedback]);\r\n\r\n return height;\r\n};\r\n","import React, { useEffect, useState } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@material-ui/core';\r\n\r\nimport { isPriceAndLessThanOneHundred } from '@common/helper';\r\nimport { RateCheck, RateCheckFeedback } from '@common/model';\r\nimport { getInitialAverage } from '@common/redux/epic/rateCheck/RateCheckHelper';\r\nimport {\r\n clearRateCheckFeedback,\r\n sendLoadRateCheckFeedback,\r\n sendRateCheckFeedback,\r\n updateRateCheckFeedback,\r\n} from '@common/redux/epic/RateCheckEpic';\r\nimport { ValidatedTextInput } from '@component/input';\r\nimport { ElementSize, FontSize, Spacing } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\n\r\nimport { default as Clear } from './fields-clear.svg';\r\n\r\nconst OPACITY_ANIMATION_DURATION = 200;\r\nconst OPACITY_TRANSITION = `opacity ${OPACITY_ANIMATION_DURATION}ms ease`;\r\n\r\nconst StyledIcon = styled.img`\r\n height: ${ElementSize.Icon};\r\n width: ${ElementSize.Icon};\r\n position: relative;\r\n top: 4px;\r\n`;\r\n\r\nconst TextContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: baseline;\r\n margin: ${Spacing.InterElementHorizontal}px ${Spacing.ScreenSide}px;\r\n`;\r\n\r\nconst InputContainer = styled.div`\r\n display: flex;\r\n align-items: center;\r\n padding: 0 0 ${Spacing.ScreenSide}px;\r\n`;\r\n\r\ninterface ComponentProps {\r\n rateCheckFeedback: RateCheckFeedback;\r\n rateCheckID: string;\r\n loadID?: string;\r\n rateCheck: RateCheck;\r\n setIsEditingFeedback: (isEditing: boolean) => void;\r\n}\r\n\r\nexport const RateConfirmationInput: React.FC = (props) => {\r\n const dispatch = useDispatch();\r\n const [value, setValue] = useState(getInitialAverage(props.rateCheckFeedback));\r\n const [opacity, setOpacity] = useState(0);\r\n const [isFormValid, setIsFormValid] = useState(false);\r\n const sendFeedback = props.loadID ? sendLoadRateCheckFeedback : sendRateCheckFeedback;\r\n\r\n useEffect(() => {\r\n setTimeout(setOpacity, OPACITY_ANIMATION_DURATION, 1);\r\n }, []);\r\n\r\n const dissapearThen = (fn: () => void) => () => {\r\n setOpacity(0);\r\n setTimeout(fn, OPACITY_ANIMATION_DURATION);\r\n };\r\n\r\n return (\r\n <>\r\n \r\n \r\n {t(T.common_rateCheck_confirmation_payAmount)}\r\n \r\n {\r\n dispatch(clearRateCheckFeedback(props.rateCheckID));\r\n props.setIsEditingFeedback(false);\r\n })}\r\n >\r\n \r\n \r\n {\r\n setValue(event);\r\n setIsFormValid(isValid);\r\n }}\r\n id=\"rate_confirmation_input\"\r\n label={t(T.common_rateCheck_confirmation_ratePerMile)}\r\n error={!isFormValid}\r\n style={{\r\n flex: 1,\r\n marginLeft: Spacing.InterElementHorizontal,\r\n }}\r\n value={value}\r\n validator={isPriceAndLessThanOneHundred}\r\n isValidatedOnChange={true}\r\n isWithoutMargin={true}\r\n />\r\n {\r\n const updatedFeedback = { ...props.rateCheckFeedback, expectedRate: parseFloat(value) };\r\n dispatch(updateRateCheckFeedback(updatedFeedback, props.rateCheckID));\r\n dispatch(sendFeedback(props.rateCheckID, updatedFeedback, props.rateCheck, undefined));\r\n props.setIsEditingFeedback(false);\r\n })}\r\n >\r\n {t(T.common_submit)}\r\n \r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { default as BaseReCapcha } from 'react-recaptcha';\r\nimport styled from 'styled-components';\r\n\r\nimport { AppConfig } from '@util/AppConfig';\r\n\r\nconst ELEMENT_ID = 'g-recaptcha';\r\n\r\nexport enum SiteKeyMapping {\r\n FuelCard = 'FuelCard',\r\n Factoring = 'Factoring',\r\n RoadsideAssist = 'RoadsideAssist',\r\n TruckingAuthority = 'TruckingAuthority',\r\n}\r\n\r\nconst StyledContainer = styled.div`\r\n margin: 16px 0 !important;\r\n margin-bottom: 16px !important;\r\n`;\r\n\r\ninterface Props {\r\n onValidation: () => void;\r\n onExpired: () => void;\r\n theme?: 'light' | 'dark';\r\n type?: string;\r\n size?: 'invisible' | 'compact' | 'normal';\r\n tabindex?: string;\r\n siteKeyName: SiteKeyMapping;\r\n}\r\n\r\n// hl should be current language\r\nexport const Recaptcha: React.SFC = (props) => {\r\n const validationCallback = () => {\r\n props.onValidation();\r\n };\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nRecaptcha.defaultProps = {\r\n theme: 'light',\r\n type: 'image',\r\n size: 'normal',\r\n tabindex: '0',\r\n};\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\n\r\nimport { SessionStates, updateScreenSharingSession } from '@common/redux/reducer/ScreenSharingReducer';\r\nimport { usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { T, t } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nimport { ScreenSharingButton } from './ScreenSharingButton';\r\nimport {\r\n endSession,\r\n setSessionListeners,\r\n showConsentPrompt,\r\n startCobrowse,\r\n updateIdentifier,\r\n} from './ScreenSharingHelper';\r\n\r\nexport const ScreenSharing: React.FC = () => {\r\n const { openingPopup, closingPopup } = usePopup();\r\n const dispatch = useDispatch();\r\n const userEmail = useSelector((state) => state.user.profile?.payload?.email);\r\n const userFirstName = useSelector((state) => state.user.profile?.payload?.firstName);\r\n const userLastName = useSelector((state) => state.user.profile?.payload?.lastName);\r\n const sessionState = useSelector((state) => state.screenSharing.session?.state);\r\n\r\n useEffect(() => {\r\n startCobrowse();\r\n setSessionListeners(updateSession);\r\n }, []);\r\n\r\n useEffect(() => {\r\n showConsentPrompt(openingPopup, closingPopup, startPopupText);\r\n }, []);\r\n\r\n useEffect(() => {\r\n const userName = `${userFirstName} ${userLastName}`;\r\n updateIdentifier(userEmail, userName);\r\n }, [userEmail, userFirstName, userLastName]);\r\n\r\n const startPopupText = {\r\n title: t(T.common_help_screenSharing_startSession_title),\r\n description: t(T.common_help_screenSharing_startSession_description),\r\n leftButtonText: t(T.common_help_screenSharing_startSession_reject),\r\n rightButtonText: t(T.common_help_screenSharing_startSession_accept),\r\n };\r\n\r\n const updateSession = (state: SessionStates) => {\r\n dispatch(updateScreenSharingSession({ state: state }));\r\n };\r\n\r\n const endScreenSharingSession = () => {\r\n dispatch(updateScreenSharingSession(undefined));\r\n endSession();\r\n };\r\n\r\n const shouldDisplayEndButton = () => {\r\n return sessionState === SessionStates.active;\r\n };\r\n\r\n return shouldDisplayEndButton() ? : null;\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Fab } from '@material-ui/core';\r\n\r\nimport { PopupSizes, usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { ElementSize, Spacing } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\nimport { default as CloseIcon } from './close-white.svg';\r\nimport { ScreenSharingPopUp } from './ScreenSharingPopup';\r\n\r\nconst CloseButtonContainer = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n position: fixed;\r\n top: 50%;\r\n right: ${Spacing.TwoSpaces}px;\r\n`;\r\n\r\nconst CloseIconButton = styled(Fab)`\r\n && {\r\n width: ${ElementSize.ButtonHeight}px;\r\n height: ${ElementSize.ButtonHeight}px;\r\n padding: 0;\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n background-color: #ea5b50;\r\n &:hover {\r\n background-color: #ea5b50;\r\n }\r\n }\r\n`;\r\n\r\nconst StyledCloseIcon = styled.img`\r\n height: ${ElementSize.Icon}px;\r\n width: ${ElementSize.Icon}px;\r\n`;\r\n\r\ninterface ComponentProps {\r\n onEndSession: () => void;\r\n}\r\n\r\nexport const ScreenSharingButton: React.FC = (props) => {\r\n const { openingPopup, closingPopup } = usePopup();\r\n const onEndButtonClick = () => {\r\n openingPopup({\r\n body: (\r\n {\r\n props.onEndSession();\r\n closingPopup();\r\n }}\r\n onRightButtonClick={closingPopup}\r\n title={t(T.common_help_screenSharing_endSession_title)}\r\n description={t(T.common_help_screenSharing_endSession_description)}\r\n leftButtonText={t(T.common_yes)}\r\n rightButtonText={t(T.common_no)}\r\n />\r\n ),\r\n width: PopupSizes.SMALL,\r\n isDismissible: false,\r\n });\r\n };\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { SessionStates } from '@common/redux/reducer/ScreenSharingReducer';\r\nimport { PopupSizes } from '@component/popup/PopupTrackingContext';\r\n\r\nimport { ScreenSharingPopUp } from './ScreenSharingPopup';\r\n\r\nexport interface PopupText {\r\n title: string;\r\n description: string;\r\n leftButtonText: string;\r\n rightButtonText: string;\r\n}\r\n\r\n// This file is in JS to allow usage of the cobrowse.io Web SDK\r\nconst COBROWSE_LICENSE = 'bxwg-2HQIGNi8w';\r\n\r\nexport const startCobrowse = () => {\r\n if (!(window as any).__cobrowse_io_loaded) {\r\n // https://docs.cobrowse.io/sdk-installation/web\r\n (function () {\r\n let scriptElement: HTMLScriptElement;\r\n const promise = new Promise(function (resolve) {\r\n (window as any).CobrowseIO = {\r\n client: function () {\r\n if (!scriptElement) {\r\n scriptElement = document.createElement('script');\r\n scriptElement.src = 'https://js.cobrowse.io/CobrowseIO.js';\r\n scriptElement.async = true;\r\n const firstScriptElem = document.getElementsByTagName('script')[0];\r\n firstScriptElem.parentNode?.insertBefore(scriptElement, firstScriptElem);\r\n scriptElement.onload = function () {\r\n resolve((window as any).CobrowseIO);\r\n };\r\n }\r\n return promise;\r\n },\r\n };\r\n });\r\n })();\r\n\r\n (window as any).CobrowseIO.license = COBROWSE_LICENSE;\r\n (window as any).CobrowseIO.client()\r\n .then(function () {\r\n (window as any).CobrowseIO.start();\r\n })\r\n .catch((error: any) => console.log(error));\r\n }\r\n};\r\n\r\nexport const updateIdentifier = (userEmail: string | undefined, userName: string | undefined) => {\r\n (window as any).CobrowseIO.customData = {\r\n device_name: userEmail,\r\n user_email: userEmail,\r\n user_id: userName,\r\n };\r\n};\r\n\r\nexport const showCode = () => {\r\n return (window as any).CobrowseIO.client().then(function () {\r\n return (window as any).CobrowseIO.createSessionCode();\r\n });\r\n};\r\n\r\nexport const showConsentPrompt = (openingPopup: any, closingPopup: any, startPopupText: PopupText) => {\r\n (window as any).CobrowseIO.confirmSession = () => {\r\n return new Promise((resolve) => {\r\n openingPopup({\r\n body: (\r\n {\r\n resolve(false);\r\n closingPopup();\r\n }}\r\n onRightButtonClick={() => {\r\n resolve(true);\r\n closingPopup();\r\n }}\r\n onLeftButtonClick={() => {\r\n resolve(false);\r\n closingPopup();\r\n }}\r\n title={startPopupText.title}\r\n description={startPopupText.description}\r\n leftButtonText={startPopupText.leftButtonText}\r\n rightButtonText={startPopupText.rightButtonText}\r\n />\r\n ),\r\n width: PopupSizes.SMALL,\r\n isDismissible: false,\r\n });\r\n });\r\n };\r\n};\r\n\r\nexport const setSessionListeners = (updateSession: any) => {\r\n (window as any).CobrowseIO.showSessionControls = function () {\r\n updateSession(SessionStates.active);\r\n };\r\n\r\n (window as any).CobrowseIO.hideSessionControls = function () {\r\n updateSession(SessionStates.inactive);\r\n };\r\n};\r\n\r\nexport const endSession = () => {\r\n if ((window as any).CobrowseIO.currentSession) {\r\n (window as any).CobrowseIO.currentSession.end();\r\n }\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@component/button/Button';\r\nimport { BasePopup } from '@component/popup/BasePopup';\r\nimport { Spacing } from '@style/StyleConstants';\r\n\r\nconst PopupButton = styled(Button)`\r\n && {\r\n font-size: 16px;\r\n font-weight: bold;\r\n text-transform: none;\r\n margin-right: 10px;\r\n }\r\n`;\r\n\r\nconst ButtonContainer = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n flex: 0 0 auto;\r\n align-items: center;\r\n justify-content: flex-end;\r\n margin-top: ${Spacing.TwoSpaces}px;\r\n`;\r\nexport interface ComponentProps {\r\n onClose?: () => void;\r\n onLeftButtonClick?: () => void;\r\n onRightButtonClick?: () => void;\r\n title: string;\r\n description?: string;\r\n leftButtonText: string;\r\n rightButtonText: string;\r\n}\r\n\r\nexport const ScreenSharingPopUp: React.FC = (props) => {\r\n return (\r\n \r\n {props.description}\r\n \r\n \r\n {props.leftButtonText}\r\n \r\n \r\n {props.rightButtonText}\r\n \r\n \r\n \r\n );\r\n};\r\n","import React, { RefObject, useCallback, useEffect, useRef } from 'react';\r\n\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\nimport { useBackPanelContext } from '@component/panel/BackPanelContext';\r\nimport { useManualScrollEventHandler } from '@util/hooks';\r\n\r\nimport { DivScrollView } from './DivScrollView';\r\n\r\ninterface Props {\r\n className?: string;\r\n id?: string;\r\n style?: React.CSSProperties;\r\n scrollRef?: RefObject;\r\n children: React.ReactNode;\r\n}\r\n\r\n/** Defines a scrollable area defined inside other components (like a Panel).\r\n * When in Mobile, the whole page will scroll instead of using a scrolling div (e.g. SimpleBar).\r\n *\r\n * Use FixedHeader/FixedFooter components to define what is not to be scrolled (header or footer) respectively.\r\n *\r\n * This accounts for iOS' Safari special \"BottomBar\" that overlays the page (in portrait mode only) and avoids other \"unsafe\" areas.\r\n */\r\nexport const AreaScrollView: React.FC = ({ id, style, scrollRef, className, children }) => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n const { isBackPanel } = useBackPanelContext();\r\n const scrollPosition = useRef(0);\r\n\r\n const onScrollEnd = useCallback(() => {\r\n scrollPosition.current = window.pageYOffset;\r\n }, [scrollPosition]);\r\n\r\n useManualScrollEventHandler(window, onScrollEnd, isBackPanel || !isWindowScrollMode);\r\n\r\n useEffect(() => {\r\n if (isWindowScrollMode && !isBackPanel) {\r\n // reset global window scroll position when panel appearing and/or switching windowScrollMode\r\n window.scrollTo(0, scrollPosition.current);\r\n }\r\n }, [isWindowScrollMode, isBackPanel]);\r\n\r\n return isWindowScrollMode ? (\r\n
\r\n {children}\r\n
\r\n ) : (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n","import React, { ReactNode, RefObject, useRef } from 'react';\r\n\r\nimport SimpleBar from 'simplebar-react';\r\nimport styled from 'styled-components';\r\n\r\nimport { useScrollingDivCollapsibleLogic } from './collapsibleLogic';\r\nimport {\r\n BlockFooterPortalDestination,\r\n BlockHeaderPortalDestination,\r\n CollapsibleHeaderPortalDestination,\r\n} from './FixedAreaPortalDestination';\r\nimport { FixedAreaRenderProvider } from './FixedAreaRenderContext';\r\n\r\nconst AbsoluteFillSimpleBar = styled(SimpleBar)`\r\n top: 0px;\r\n left: 0px;\r\n bottom: 0px;\r\n right: 0px;\r\n position: absolute;\r\n`;\r\n\r\ninterface Props {\r\n className?: string;\r\n id?: string;\r\n style?: React.CSSProperties;\r\n scrollRef?: RefObject;\r\n children: ReactNode;\r\n}\r\n\r\n/** Defines a scrollable area meant for an area of the UI smaller than the page with stylized scrollbars.\r\n * Use FixedHeader/FixedFooter components to define what is not to be scrolled (header or footer) respectively.\r\n */\r\nexport const DivScrollView: React.FC = ({ id, className, style, scrollRef, children }) => {\r\n const internalScrollRef = useRef(null);\r\n const collapsibleRef = useRef(null);\r\n\r\n const currentScrollRef = scrollRef ?? internalScrollRef;\r\n\r\n useScrollingDivCollapsibleLogic(collapsibleRef, currentScrollRef);\r\n\r\n return (\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n {children}\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n );\r\n};\r\n","import React, { useLayoutEffect } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { FragmentPortalOrigin, useFragmentHolder } from '@component/fragmentPortal';\r\nimport { useBackPanelContext } from '@component/panel/BackPanelContext';\r\nimport { useUniqueId } from '@util/hooks';\r\n\r\nimport { FixedArea, useFixedAreaRenderContext } from './FixedAreaRenderContext';\r\n\r\ninterface Props {\r\n /** true to make the header collapse as the window scrolls */\r\n collapseOnScroll: boolean;\r\n update: (key: string, footer: FixedArea | undefined) => void;\r\n}\r\n\r\nconst FixedEntity: React.FC = ({ update, collapseOnScroll, children }) => {\r\n const uid = useUniqueId();\r\n const fragmentHolder = useFragmentHolder();\r\n const { isBackPanel } = useBackPanelContext();\r\n const hasContent = React.Children.count(children) > 0;\r\n\r\n useLayoutEffect(() => {\r\n if (!hasContent || isBackPanel) {\r\n update(uid, undefined);\r\n return;\r\n }\r\n update(uid, {\r\n uid: uid,\r\n collapseOnScroll: collapseOnScroll,\r\n fragmentHolder: fragmentHolder,\r\n });\r\n });\r\n\r\n useLayoutEffect(() => {\r\n const unmount = () => update(uid, undefined);\r\n return unmount;\r\n }, []);\r\n\r\n if (!hasContent) {\r\n return null;\r\n }\r\n\r\n return {children};\r\n};\r\n\r\nexport const FixedHeader: React.FC = ({ children }) => {\r\n const fixedAreaRenderContext = useFixedAreaRenderContext();\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport const CollapsibleHeader: React.FC = ({ children }) => {\r\n const fixedAreaRenderContext = useFixedAreaRenderContext();\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nconst AbsoluteHeaderContainer = styled.div`\r\n position: absolute;\r\n right: 0;\r\n left: 0;\r\n top: 0;\r\n`;\r\n\r\nexport const FloatingHeader: React.FC = ({ children }) => (\r\n \r\n
\r\n {children}\r\n
\r\n
\r\n);\r\n\r\n/** define a fixed Footer to display */\r\nexport const FixedFooter: React.FC = ({ children }) => {\r\n const fixedAreaRenderContext = useFixedAreaRenderContext();\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n","import React, { ComponentProps, RefObject, useCallback, useContext, useEffect, useMemo, useState } from 'react';\r\n\r\nimport { concat, isEmpty, map, noop, reduce, sortBy } from 'lodash';\r\nimport ReactResizeDetector from 'react-resize-detector';\r\n\r\nimport { FragmentPortalDestination } from '@component/fragmentPortal';\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\nimport { useWindowHeight } from '@util/hooks';\r\n\r\nimport { FixedAreaEntries, FixedAreaWithKey, useFixedAreaRenderContext } from './FixedAreaRenderContext';\r\nimport { useIsKeyboardOpen } from './KeyboardOpen';\r\nimport { SafeBottomInsetSpace } from './SafeBottomInsetSpace';\r\n\r\ninterface Props {\r\n id?: string;\r\n style?: React.CSSProperties;\r\n collapsibleRef?: RefObject;\r\n}\r\n\r\nexport const HeaderHeight = React.createContext({\r\n headerHeight: 0,\r\n setHeaderHeight: noop,\r\n setExtraHeaderHeight: noop,\r\n});\r\n\r\nexport const useClientHeight = (scrollElement: HTMLElement | null) => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n const { headerHeight } = useContext(HeaderHeight);\r\n const windowHeight = useWindowHeight();\r\n return isWindowScrollMode ? windowHeight - headerHeight : scrollElement?.clientHeight;\r\n};\r\n\r\nexport const useTrackResizingHeight = (): [number, (width: number, height: number) => void] => {\r\n const [height, setHeight] = useState(0);\r\n\r\n const onResize = useCallback((width, height) => {\r\n setHeight(height);\r\n }, []);\r\n\r\n return [height, onResize];\r\n};\r\n\r\nconst ResizeDetectorWithReset: React.FC> = (props) => {\r\n useEffect(\r\n () => () => {\r\n props.onResize?.(0, 0);\r\n },\r\n []\r\n );\r\n return ;\r\n};\r\n\r\nconst useGetHeaders = (allHeaders: FixedAreaEntries) =>\r\n useMemo(\r\n () =>\r\n reduce(\r\n sortBy(allHeaders, (item) => item.index),\r\n (acc, el) => {\r\n if (el.collapseOnScroll) {\r\n acc.collapsibleHeaders.push(el);\r\n } else if (acc.collapsibleHeaders.length === 0) {\r\n acc.fixedHeaders.push(el);\r\n } else {\r\n acc.hangingHeaders.push(el);\r\n }\r\n return acc;\r\n },\r\n {\r\n fixedHeaders: [],\r\n collapsibleHeaders: [],\r\n hangingHeaders: [],\r\n } as {\r\n fixedHeaders: FixedAreaWithKey[];\r\n collapsibleHeaders: FixedAreaWithKey[];\r\n hangingHeaders: FixedAreaWithKey[];\r\n }\r\n ),\r\n [allHeaders]\r\n );\r\n\r\n/** Render the headers for Window scroll mode */\r\nexport const FixedHeaderPortalDestination: React.FC = ({ id, style, collapsibleRef }) => {\r\n const [fixedHeight, onFixedResize] = useTrackResizingHeight();\r\n const [collapsibleHeight, onCollapsibleResize] = useTrackResizingHeight();\r\n const [hangingHeaderHeight, onHangingHeaderHeightResize] = useTrackResizingHeight();\r\n const scopeContext = useFixedAreaRenderContext();\r\n\r\n const { fixedHeaders, collapsibleHeaders, hangingHeaders } = useGetHeaders(scopeContext.headers);\r\n const { isKeyboardOpen } = useIsKeyboardOpen();\r\n\r\n useHeaderHeight(fixedHeight + collapsibleHeight + hangingHeaderHeight);\r\n\r\n if (isEmpty(fixedHeaders) && isEmpty(collapsibleHeaders)) {\r\n return null;\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n {!isEmpty(fixedHeaders) ? (\r\n
\r\n \r\n {map(fixedHeaders, (item) => (\r\n \r\n ))}\r\n
\r\n ) : null}\r\n {!isEmpty(collapsibleHeaders) ? (\r\n
\r\n \r\n {map(collapsibleHeaders, (item) => (\r\n \r\n ))}\r\n\r\n {!isEmpty(hangingHeaders) ? (\r\n
\r\n \r\n {map(hangingHeaders, (item) => (\r\n \r\n ))}\r\n
\r\n ) : null}\r\n
\r\n ) : null}\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport const FixedFooterPortalDestination: React.FC = ({ id, style }) => {\r\n const [shadowHeight, onResize] = useTrackResizingHeight();\r\n const scopeContext = useFixedAreaRenderContext();\r\n\r\n const footers = sortBy(scopeContext.footers, (item) => item.index);\r\n\r\n if (isEmpty(footers)) {\r\n return null;\r\n }\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n \r\n {map(footers, (item) => (\r\n \r\n ))}\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nexport const CollapsibleHeaderPortalDestination: React.FC = ({ id, style, collapsibleRef }) => {\r\n const [collapsibleHeight, onCollapsibleResize] = useTrackResizingHeight();\r\n const [hangingHeaderHeight, onHangingHeaderHeightResize] = useTrackResizingHeight();\r\n\r\n const scopeContext = useFixedAreaRenderContext();\r\n\r\n useExtraHeaderHeight(collapsibleHeight + hangingHeaderHeight);\r\n\r\n const { collapsibleHeaders, hangingHeaders } = useGetHeaders(scopeContext.headers);\r\n\r\n if (isEmpty(collapsibleHeaders)) {\r\n return null;\r\n }\r\n\r\n return (\r\n
\r\n
\r\n
\r\n \r\n {map(collapsibleHeaders, (item) => (\r\n \r\n ))}\r\n
\r\n {!isEmpty(hangingHeaders) ? (\r\n
\r\n \r\n {map(hangingHeaders, (item) => (\r\n \r\n ))}\r\n
\r\n ) : null}\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport const BlockHeaderPortalDestination: React.FC = ({\r\n id,\r\n style,\r\n includesCollapsible,\r\n}) => {\r\n const scopeContext = useFixedAreaRenderContext();\r\n const [height, onResize] = useTrackResizingHeight();\r\n\r\n const { fixedHeaders, collapsibleHeaders, hangingHeaders } = useGetHeaders(scopeContext.headers);\r\n\r\n const allHeaders = includesCollapsible ? concat(fixedHeaders, collapsibleHeaders, hangingHeaders) : fixedHeaders;\r\n\r\n useHeaderHeight(height);\r\n\r\n if (isEmpty(allHeaders)) {\r\n return null;\r\n }\r\n\r\n return (\r\n
\r\n \r\n {map(allHeaders, (item) => (\r\n \r\n ))}\r\n
\r\n );\r\n};\r\n\r\nexport const BlockFooterPortalDestination: React.FC = ({ id, style }) => {\r\n const scopeContext = useFixedAreaRenderContext();\r\n\r\n const footers = sortBy(scopeContext.footers, (item) => item.index);\r\n\r\n if (isEmpty(footers)) {\r\n return null;\r\n }\r\n\r\n return (\r\n
\r\n {map(footers, (item) => (\r\n \r\n ))}\r\n
\r\n );\r\n};\r\n\r\nconst useHeaderHeight = (height: number) => {\r\n const { setHeaderHeight } = useContext(HeaderHeight);\r\n\r\n useEffect(() => {\r\n setHeaderHeight(height);\r\n }, [height]);\r\n};\r\n\r\nconst useExtraHeaderHeight = (height: number) => {\r\n const { setExtraHeaderHeight } = useContext(HeaderHeight);\r\n\r\n useEffect(() => {\r\n setExtraHeaderHeight(height);\r\n }, [height]);\r\n};\r\n","import React, { createContext, useCallback, useContext, useRef } from 'react';\r\n\r\nimport { noop } from 'lodash';\r\n\r\nimport { useForceUpdate } from '@common/util/hooks';\r\nimport { FragmentHolder } from '@component/fragmentPortal';\r\n\r\nexport interface FixedArea {\r\n /** unique id to avoid collisions in transient mount/unmount cases */\r\n uid: string;\r\n /** if true, for headers: disappear when scrolling down and re-appear when scrolling back up */\r\n collapseOnScroll: boolean;\r\n /** DOM fragment for this header/footer */\r\n fragmentHolder: FragmentHolder;\r\n}\r\n\r\ninterface FixedAreaWithOrder extends FixedArea {\r\n /** the display order */\r\n index: number;\r\n}\r\n\r\nexport interface FixedAreaWithKey extends FixedArea {\r\n key: string;\r\n}\r\n\r\n/** Implementation note: Contains the list of header/footers to display in this render context.\r\n * Display order is based on the keys. Collapsible entries can be rendered as a separate group.\r\n */\r\nexport type FixedAreaEntries = { [key: string]: FixedAreaWithKey & FixedAreaWithOrder };\r\n\r\ninterface FixedAreaRenderContext {\r\n headers: FixedAreaEntries;\r\n footers: FixedAreaEntries;\r\n updateHeader: (key: string, header: FixedArea | undefined) => void;\r\n updateFooter: (key: string, footer: FixedArea | undefined) => void;\r\n}\r\n\r\n/** Context to manage list of headers and footers.\r\n */\r\nconst fixedAreaRenderContext = createContext({\r\n headers: {},\r\n footers: {},\r\n updateHeader: noop,\r\n updateFooter: noop,\r\n});\r\n\r\nexport const useFixedAreaRenderContext = () => useContext(fixedAreaRenderContext);\r\n\r\n// Note: cannot use isEqual() here because one side can be a FixedAreaWithKey.\r\n// Also only want to shallow-equal the FragmentDocument\r\nconst isAreaEqual = (a: FixedArea | undefined, b: FixedArea | undefined) =>\r\n (a === undefined && b === undefined) ||\r\n (a !== undefined &&\r\n b !== undefined &&\r\n a.uid === b.uid &&\r\n a.collapseOnScroll === b.collapseOnScroll &&\r\n a.fragmentHolder === b.fragmentHolder &&\r\n a.fragmentHolder?.fragment === b.fragmentHolder?.fragment);\r\n\r\nconst updateAreas = (key: string, prevAreas: FixedAreaEntries, area: FixedAreaWithOrder | undefined) => {\r\n const newAreas = { ...prevAreas };\r\n if (area === undefined) {\r\n delete newAreas[key];\r\n } else {\r\n newAreas[key] = { ...area, key: key };\r\n }\r\n return newAreas;\r\n};\r\n\r\nexport const FixedAreaRenderProvider: React.FC = ({ children }) => {\r\n const forceUpdate = useForceUpdate();\r\n const headers = useRef({});\r\n const footers = useRef({});\r\n const headerIndex = useRef(1);\r\n const footerIndex = useRef(1);\r\n\r\n const updateHeader = useCallback(updateEntries(headers, headerIndex, forceUpdate), [headers, headerIndex]);\r\n const updateFooter = useCallback(updateEntries(footers, footerIndex, forceUpdate), [footers, footerIndex]);\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nconst updateEntries =\r\n (entries: React.MutableRefObject, index: React.MutableRefObject, update: () => void) =>\r\n (key: string, entry: FixedArea | undefined) => {\r\n const curEntry = entries.current[key];\r\n\r\n if (!entry) {\r\n entries.current = updateAreas(key, entries.current, undefined);\r\n if (curEntry) {\r\n update();\r\n }\r\n return;\r\n }\r\n\r\n entries.current = updateAreas(key, entries.current, { ...entry, index: index.current });\r\n ++index.current;\r\n\r\n if (!isAreaEqual(curEntry, entry)) {\r\n update();\r\n }\r\n };\r\n","import React, { RefObject, useRef } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { LoadingSpinner } from '@component/loadingSpinner/LoadingSpinner';\r\nimport { Spacing } from '@style/StyleConstants';\r\nimport { useLoadMoreIfNecessary } from '@util/hooks/UseLoadMoreIfNecessary';\r\n\r\nconst DEFAULT_SPACE_HEIGHT = 60;\r\n\r\ninterface Props {\r\n id?: string;\r\n loadMore?: () => void;\r\n hasMore: boolean;\r\n hideLoader?: boolean;\r\n rootRef?: RefObject;\r\n isReverse?: boolean;\r\n isLoading: boolean | undefined;\r\n threshold?: string;\r\n bottomSpace?: number;\r\n}\r\n\r\nexport const ProgressSpacer = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n padding: ${Spacing.ElementPaddingHorizontal}px;\r\n`;\r\n\r\n/** InfiniteScroll wrapper that will\r\n *\r\n * - switches to Window scroll automatically\r\n * - generate our standard loading spinner\r\n * - generate a \"spacer\" at the end (to signify end of list to the user)\r\n */\r\nexport const InfiniteScrollView: React.FC = ({\r\n id,\r\n loadMore,\r\n hasMore,\r\n children,\r\n hideLoader,\r\n isLoading,\r\n rootRef,\r\n isReverse = false,\r\n threshold = '300px',\r\n bottomSpace = DEFAULT_SPACE_HEIGHT,\r\n}) => {\r\n const observerRef = useRef(null);\r\n useLoadMoreIfNecessary(hasMore, isLoading, observerRef, rootRef, isReverse, loadMore);\r\n const spaceHeight = isReverse ? DEFAULT_SPACE_HEIGHT : bottomSpace;\r\n\r\n let topSpacer: JSX.Element | null = null;\r\n let bottomSpacer: JSX.Element | null = null;\r\n if (hasMore) {\r\n const spacer = (\r\n
\r\n \r\n {isLoading && !hideLoader ? (\r\n \r\n \r\n \r\n ) : null}\r\n
\r\n );\r\n if (isReverse) {\r\n topSpacer = spacer;\r\n } else {\r\n bottomSpacer = spacer;\r\n }\r\n }\r\n\r\n return (\r\n
\r\n {topSpacer}\r\n {children}\r\n {bottomSpacer}\r\n
\r\n );\r\n};\r\n","import { useEffect, useState } from 'react';\r\n\r\nimport { isNumber, noop } from 'lodash';\r\n\r\nconst visualViewport = (window as any).visualViewport as {\r\n addEventListener?: (type: 'resize', fn: () => void) => void;\r\n removeEventListener?: (type: 'resize', fn: () => void) => void;\r\n height: number;\r\n};\r\n\r\n/**\r\n * Uses a draft browser api to see when the visible viewport changes to infer the keyboard is open, will also be triggered if the user uses pinch zooming\r\n */\r\nexport const useIsKeyboardOpen = () => {\r\n const [isKeyboardOpen, setIsKeyboardOpen] = useState(false);\r\n const scrollingHeight = document.scrollingElement?.clientHeight;\r\n const isKeyboardDetectable = 'visualViewport' in window && visualViewport;\r\n useEffect(() => {\r\n if (!isKeyboardDetectable) {\r\n return noop;\r\n }\r\n const keyboardHandler = () => {\r\n setIsKeyboardOpen(isNumber(scrollingHeight) && visualViewport.height < scrollingHeight * 0.9);\r\n };\r\n visualViewport.addEventListener?.('resize', keyboardHandler);\r\n return () => {\r\n visualViewport.removeEventListener?.('resize', keyboardHandler);\r\n };\r\n }, []);\r\n return { isKeyboardDetectable: isKeyboardDetectable, isKeyboardOpen: isKeyboardOpen };\r\n};\r\n","import React, { ReactNode, useContext } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { DESKTOP_BORDER_WIDTH } from '@component/main/DesktopThinBlackFrame';\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\nimport { useIsMobileView } from '@util/hooks';\r\n\r\nimport { BlockFooterPortalDestination, BlockHeaderPortalDestination, HeaderHeight } from './FixedAreaPortalDestination';\r\nimport { FixedAreaRenderProvider } from './FixedAreaRenderContext';\r\n\r\nconst ChildrenContainer = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n flex: 1;\r\n position: relative;\r\n overflow: hidden;\r\n`;\r\n\r\ninterface Props {\r\n id?: string;\r\n style?: React.CSSProperties;\r\n children: ReactNode;\r\n}\r\n\r\n/** Defines a non-scrollable area meant to fill its container with a special component like a map\r\n * (that have their own scrolling/panning system)\r\n *\r\n * Use FixedHeader/FixedFooter components to define items outside.\r\n *\r\n * @FIXME: (MEM-2012) this is hardcoding the top/bottom position in windowScrollMode (had not the time to fix this).\r\n * That means that additional header and footers (TopBanner in particular) will hide the\r\n * top/bottom part of the content (i.e. the map's close button might not be visible for instance).\r\n * Fixing this probably means to propagate up the fact that we want to disable scrolling completely\r\n * (i.e. a new scrolling mode) and generate proper markup for this case. Might even go as far\r\n * as changing the meta tags to disallow page scaling(?).\r\n */\r\nexport const NonScrollView: React.FC = ({ id, style, children }) => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n const isMobileView = useIsMobileView();\r\n const { headerHeight } = useContext(HeaderHeight);\r\n\r\n return isWindowScrollMode ? (\r\n \r\n {children}\r\n \r\n ) : (\r\n \r\n \r\n \r\n {children}\r\n \r\n \r\n \r\n );\r\n};\r\n","import React, { ReactNode, RefObject } from 'react';\r\n\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\n\r\nimport { DivScrollView } from './DivScrollView';\r\n\r\ninterface Props {\r\n className?: string;\r\n id?: string;\r\n style?: React.CSSProperties;\r\n scrollRef?: RefObject;\r\n children: ReactNode;\r\n}\r\n\r\n/** Defines a scrollable area meant for a Full Page.\r\n */\r\nexport const PageScroll: React.FC = ({ scrollRef, children }) => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n\r\n if (isWindowScrollMode) {\r\n // in window scroll mode, let the main window do the scrolling\r\n return <>{children};\r\n }\r\n\r\n // fill the page and use a stylized SimpleBar.\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport './safeinsets.css';\r\n\r\ninterface Props {\r\n backgroundColor?: string;\r\n}\r\n\r\n/** Spacer for a \"safe area\" in recent iPhones. This avoids the thin bottom \"action bar\" */\r\nexport const SafeBottomInsetSpace: React.FC = ({ backgroundColor }) => {\r\n return
;\r\n};\r\n","import React, { ReactNode, useLayoutEffect, useRef, useState } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { isMessagingWidgetView } from '@/MessagingWidgetApp';\r\nimport { MobileMenuGrayLayout } from '@component/main/MobileDrawer';\r\nimport { useIsMobileView, useSelector } from '@util/hooks';\r\n\r\nimport { useWindowCollapsibleLogic } from './collapsibleLogic';\r\nimport { FixedFooterPortalDestination, FixedHeaderPortalDestination } from './FixedAreaPortalDestination';\r\nimport { SafeBottomInsetSpace } from './SafeBottomInsetSpace';\r\n\r\nconst WindowScrollViewDiv = styled.div`\r\n left: 0;\r\n right: 0;\r\n`;\r\n\r\nconst ChildrenContainer = styled.div`\r\n position: relative;\r\n z-index: 0;\r\n width: 100%;\r\n overflow: visible;\r\n`;\r\n\r\ninterface Props {\r\n style: React.CSSProperties;\r\n children: ReactNode;\r\n}\r\n\r\n/** Defines a scrollable area meant for mobile view (full window scrolling)\r\n * Use FixedHeader/FixedFooter components to define what is not to be scrolled (header or footer) respectively.\r\n *\r\n * This will account for mobile (portrait) iOS' Safari special \"BottomBar-that-disappears-when-scrolling\" (not on iPads).\r\n * Scrolling will be disabled completely when showing the side menu on mobile so it's important that it's the\r\n * first component in the tree for a page.\r\n */\r\n\r\nexport const WindowScrollView: React.FC = ({ style, children }) => {\r\n const menuOpen = useSelector((store) => store.applicationSettings.menuOpen);\r\n const isIntegrator = useSelector((state) => state.user.profile?.payload?.isIntegrator);\r\n const selectedFeedSection = useSelector((state) => state.feedState.selectedFeedSection);\r\n const isMobileView = useIsMobileView();\r\n const isMessagingWidget = isMessagingWidgetView();\r\n\r\n const isFeedPopupOpened = isIntegrator ? false : !!selectedFeedSection;\r\n\r\n // FakeScrolling: When the sidemenu is showing the window scrolls the menu only.\r\n // When the sidemenu is opened, the main content needs to \"visually stay\" in the same scroll\r\n // position as before. This fakes the scrolling position with a negative margin.\r\n const [fakeScrollPosition, setFakeScrollPosition] = useState(undefined);\r\n const collapsibleRef = useRef(null);\r\n const fakeScrollPositionRef = useRef(undefined);\r\n fakeScrollPositionRef.current = fakeScrollPosition;\r\n\r\n useWindowCollapsibleLogic(collapsibleRef, fakeScrollPositionRef);\r\n\r\n useLayoutEffect(() => {\r\n if (!isMobileView || isMessagingWidget) {\r\n setFakeScrollPosition(undefined);\r\n return;\r\n }\r\n\r\n if (menuOpen || isFeedPopupOpened) {\r\n // about to open the menu. Reset window.scroll after \"faking\" window scroll position.\r\n setFakeScrollPosition(window.pageYOffset);\r\n window.scroll(0, 0);\r\n } else {\r\n window.scroll(0, fakeScrollPosition ?? 0);\r\n setFakeScrollPosition(undefined);\r\n }\r\n }, [menuOpen, isMobileView, isMessagingWidget, isFeedPopupOpened]);\r\n\r\n return (\r\n \r\n \r\n {children}\r\n \r\n \r\n {isMessagingWidget ? null : }\r\n \r\n );\r\n};\r\n","import { RefObject, useEffect, useRef } from 'react';\r\n\r\nimport { noop } from 'lodash';\r\n\r\nimport { useIsKeyboardOpen } from './KeyboardOpen';\r\n\r\nconst INIT_SCROLL_TRACKING = {\r\n lastScroll: 0,\r\n anchorPos: 0,\r\n isTouching: false,\r\n requestAnimationFrameId: 0,\r\n touchendDetectTimerId: 0,\r\n};\r\n\r\n/** Implements collabsible headers for a nested div scroll.\r\n *\r\n * Behavior:\r\n * - The collapsible movement of the header is synchronized with the scroll.\r\n * - Upon scroll stop, the header animate to be fully visible or fully hidden (unless near the top).\r\n */\r\nexport const useScrollingDivCollapsibleLogic = (\r\n collapsibleRef: RefObject,\r\n scrollingDivRef: RefObject\r\n) => {\r\n const scrollTracking = useRef(INIT_SCROLL_TRACKING);\r\n const scrollTrack = scrollTracking.current;\r\n const getScrollPos = () => scrollingDivRef.current?.scrollTop ?? 0;\r\n const newHeaderPosition = () => Math.min(scrollTracking.current.anchorPos, getScrollPos());\r\n\r\n useEffect(() => {\r\n const scrollingDiv = scrollingDivRef.current;\r\n\r\n if (!scrollingDiv) {\r\n return noop;\r\n }\r\n\r\n const { onScroll } = collapsibleLogic(scrollTrack, collapsibleRef, newHeaderPosition, getScrollPos);\r\n\r\n scrollingDiv.addEventListener('scroll', onScroll);\r\n return () => {\r\n scrollingDiv.removeEventListener('scroll', onScroll);\r\n };\r\n }, []);\r\n};\r\n\r\n/** Implements collabsible headers for full window scroll.\r\n *\r\n * Behavior:\r\n * - The collapsible movement of the header is synchronized with the scroll.\r\n * - Upon scroll stop, the header animate to be fully visible or fully hidden (unless near the top).\r\n * - Within the same gesture the header will not \"reappear\". User has to lift the finger to make the header jump.\r\n * - Support for a synthetic scroll positions when faking a scroll position\r\n */\r\nexport const useWindowCollapsibleLogic = (\r\n collapsibleRef: RefObject,\r\n overrideScrollPosition: RefObject\r\n) => {\r\n const scrollTracking = useRef(INIT_SCROLL_TRACKING);\r\n const scrollTrack = scrollTracking.current;\r\n\r\n const { isKeyboardOpen } = useIsKeyboardOpen();\r\n const getScrollPos = () => overrideScrollPosition.current ?? window.pageYOffset;\r\n const newHeaderPosition = () => (isKeyboardOpen ? 0 : Math.min(scrollTrack.anchorPos - getScrollPos(), 0));\r\n\r\n useEffect(() => {\r\n const { onScroll, detectScrollEnd } = collapsibleLogic(\r\n scrollTrack,\r\n collapsibleRef,\r\n newHeaderPosition,\r\n getScrollPos\r\n );\r\n\r\n const cancelTouchEndDetection = () => {\r\n if (scrollTrack.touchendDetectTimerId > 0) {\r\n clearTimeout(scrollTrack.touchendDetectTimerId);\r\n scrollTrack.touchendDetectTimerId = 0;\r\n }\r\n };\r\n\r\n const detectTouchEnd = () => {\r\n // Failsafe in case the touchend is never fired (affects some Android phones mostly).\r\n cancelTouchEndDetection();\r\n scrollTrack.touchendDetectTimerId = setTimeout(onTouchEnd, 6000) as unknown as number;\r\n };\r\n\r\n const onTouchStartMove = () => {\r\n scrollTrack.isTouching = true;\r\n detectTouchEnd();\r\n };\r\n\r\n const onTouchEnd = (event?: TouchEvent) => {\r\n cancelTouchEndDetection();\r\n scrollTrack.isTouching = (event?.touches?.length ?? 0) > 0;\r\n detectScrollEnd();\r\n };\r\n\r\n if (isKeyboardOpen) {\r\n onTouchEnd();\r\n return noop;\r\n }\r\n\r\n if (overrideScrollPosition.current !== undefined) {\r\n // when faking a position (i.e. sidemenu showing), stop events\r\n return noop;\r\n }\r\n\r\n window.addEventListener('scroll', onScroll);\r\n window.addEventListener('touchstart', onTouchStartMove);\r\n window.addEventListener('touchmove', onTouchStartMove);\r\n window.addEventListener('touchend', onTouchEnd);\r\n return () => {\r\n window.removeEventListener('scroll', onScroll);\r\n window.removeEventListener('touchstart', onTouchStartMove);\r\n window.removeEventListener('touchmove', onTouchStartMove);\r\n window.removeEventListener('touchend', onTouchEnd);\r\n };\r\n }, [overrideScrollPosition.current, isKeyboardOpen]);\r\n};\r\n\r\nconst collapsibleLogic = (\r\n scrollTrack: typeof INIT_SCROLL_TRACKING,\r\n collapsibleRef: RefObject,\r\n newHeaderPosition: () => number,\r\n getScrollPos: () => number\r\n) => {\r\n // collapsible headers processing\r\n const onScroll = () => {\r\n processScroll();\r\n detectScrollEnd();\r\n };\r\n\r\n const processScroll = (animate?: boolean) => {\r\n // this needs to be fast: avoids as much logic and reflows as possible.\r\n const headerStyle = collapsibleRef.current?.style;\r\n if (headerStyle) {\r\n const pos = newHeaderPosition();\r\n\r\n const transform = `translateY(${pos}px)`;\r\n if (animate) {\r\n headerStyle.transition = 'transform 200ms ease-in';\r\n } else {\r\n headerStyle.transition = '';\r\n }\r\n headerStyle.webkitTransform = transform;\r\n headerStyle.transform = transform;\r\n }\r\n };\r\n\r\n const repositionAfterScroll = () => {\r\n const divElem = collapsibleRef.current;\r\n if (!divElem) {\r\n return;\r\n }\r\n\r\n const scrollPos = getScrollPos();\r\n const divHeight = divElem.offsetHeight;\r\n const halfDivHeight = divHeight / 2;\r\n let anchorPos = scrollTrack.anchorPos;\r\n if (scrollPos > anchorPos + halfDivHeight || (anchorPos < halfDivHeight && scrollPos < divHeight)) {\r\n // Header is not visible or more than half hidden. Hide it completely (if possible)\r\n // (unless it's close to the top)\r\n anchorPos = Math.max(scrollPos - divHeight, 0);\r\n } else {\r\n // At least half of the header is visible. Show it completely.\r\n anchorPos = scrollPos;\r\n }\r\n\r\n if (anchorPos != scrollTrack.anchorPos) {\r\n scrollTrack.anchorPos = anchorPos;\r\n // reposition header\r\n processScroll(true);\r\n }\r\n };\r\n\r\n const detectScrollEnd = () => {\r\n if (scrollTrack.requestAnimationFrameId > 0) {\r\n cancelAnimationFrame(scrollTrack.requestAnimationFrameId);\r\n scrollTrack.requestAnimationFrameId = 0;\r\n }\r\n if (scrollTrack.isTouching) {\r\n return;\r\n }\r\n const scroll = getScrollPos();\r\n scrollTrack.lastScroll = scroll;\r\n scrollTrack.requestAnimationFrameId = requestAnimationFrame(onDetectScrollEnd);\r\n };\r\n\r\n const onDetectScrollEnd = () => {\r\n // wait 2 frames without scroll events\r\n scrollTrack.requestAnimationFrameId = requestAnimationFrame(() => {\r\n const scroll = getScrollPos();\r\n\r\n if (scrollTrack.lastScroll === scroll) {\r\n scrollTrack.requestAnimationFrameId = 0;\r\n repositionAfterScroll();\r\n return;\r\n }\r\n\r\n detectScrollEnd();\r\n });\r\n };\r\n\r\n return { onScroll: onScroll, detectScrollEnd: detectScrollEnd };\r\n};\r\n","import React from 'react';\r\n\r\nimport { isUndefined } from 'lodash';\r\n\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\nimport { useClientHeight } from '@component/scrollView';\r\nimport { useYOffsetAfterScroll } from '@util/hooks';\r\n\r\ninterface Scrollable {\r\n offsetTop?: number;\r\n offsetLeft?: number;\r\n scrollIntoView: (arg?: boolean | ScrollIntoViewOptions) => void;\r\n}\r\n\r\ninterface ScrollableContainer {\r\n scrollTop: number;\r\n scrollTo(options?: ScrollToOptions): void;\r\n}\r\n\r\nexport type AlignTo = 'start' | 'end';\r\n\r\n// Detect browsers that do not support smooth scrolling (Safari, Edge)\r\nconst isScrollIntoViewOptionsAvailable = 'scrollBehavior' in document.documentElement.style;\r\n\r\nexport const scrollToTop = (\r\n scrollRef: React.RefObject,\r\n isWindowScrollMode: boolean,\r\n behavior: ScrollBehavior = 'smooth'\r\n) =>\r\n isWindowScrollMode\r\n ? scrollWindowToTop(behavior)\r\n : scrollRef.current\r\n ? scrollViewContentToTop(scrollRef.current, behavior)\r\n : undefined;\r\n\r\nexport const useScrollToTop = () => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n return (scrollRef: React.RefObject, behavior: ScrollBehavior = 'smooth') =>\r\n scrollToTop(scrollRef, isWindowScrollMode, behavior);\r\n};\r\n\r\nexport const scrollIntoView = (\r\n element: Scrollable | undefined | null,\r\n isWindowScrollMode: boolean,\r\n alignTo: AlignTo = 'start',\r\n behavior: ScrollBehavior = 'smooth',\r\n scrollOffset?: number\r\n) =>\r\n element\r\n ? isWindowScrollMode\r\n ? scrollWindowIntoView(element, behavior, scrollOffset)\r\n : scrollParentViewIntoView(element, alignTo, behavior)\r\n : undefined;\r\n\r\nconst scrollWindowToTop = (behavior: ScrollBehavior) => scrollWindowTo(0, behavior);\r\n\r\nconst scrollWindowIntoView = (element: Scrollable, behavior: ScrollBehavior, scrollOffset?: number) =>\r\n scrollWindowTo((element.offsetTop ?? 0) + (scrollOffset ?? 0), behavior);\r\n\r\nexport const scrollWindowTo = (offsetTop: number, behavior: ScrollBehavior) =>\r\n window.scroll({\r\n top: offsetTop,\r\n left: 0,\r\n behavior: behavior,\r\n });\r\n\r\nconst scrollParentViewIntoView = (element: Scrollable, alignTo: AlignTo, behavior: ScrollBehavior) =>\r\n !isScrollIntoViewOptionsAvailable && behavior === 'smooth' && alignTo === 'end'\r\n ? element.scrollIntoView(false)\r\n : element.scrollIntoView({ block: alignTo, behavior: behavior });\r\n\r\nconst scrollViewContentToTop = (element: ScrollableContainer, behavior: ScrollBehavior) =>\r\n scrollViewContentTo(element, 0, behavior);\r\n\r\nconst scrollViewContentTo = (element: ScrollableContainer, offsetTop: number, behavior: ScrollBehavior) => {\r\n if (Object.prototype.hasOwnProperty.call(element, 'scrollTo')) {\r\n element.scrollTo({ top: offsetTop, left: 0, behavior: behavior });\r\n } else {\r\n // Workaround to scroll to the top for Edge and other browsers that don't support scrollTo\r\n element.scrollTop = offsetTop;\r\n }\r\n};\r\n\r\nconst delayedScrollIntoView: typeof scrollIntoView = (...args) => {\r\n setTimeout(() => scrollIntoView(...args), 100);\r\n // Hack to fix a race condition where the first call doesn't work because there is a scroll\r\n // event from the keyboard being focused or blurred\r\n setTimeout(() => scrollIntoView(...args), 500);\r\n};\r\n\r\nconst useScrollIntoViewPrivate = (scrollIntoViewFunction: typeof scrollIntoView) => () => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n return (\r\n element: Scrollable | undefined | null,\r\n alignTo: AlignTo = 'start',\r\n behavior: ScrollBehavior = 'smooth',\r\n scrollOffset?: number\r\n ) => scrollIntoViewFunction(element, isWindowScrollMode, alignTo, behavior, scrollOffset);\r\n};\r\n\r\nexport const useScrollIntoView = useScrollIntoViewPrivate(scrollIntoView);\r\n\r\n/**\r\n * To trigger scrolling after default scrolling events\r\n */\r\nexport const useDelayedScrollIntoView = useScrollIntoViewPrivate(delayedScrollIntoView);\r\n\r\nexport const useScrollToView = (scrollContainer: HTMLElement | null) => {\r\n const scrollYOffset = useYOffsetAfterScroll(scrollContainer);\r\n const clientHeight = useClientHeight(scrollContainer);\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n return (element: HTMLElement | undefined | null) => {\r\n const height = element?.offsetHeight;\r\n const offsetTop = element?.offsetTop;\r\n if (!element || !scrollContainer || isUndefined(height) || isUndefined(clientHeight) || isUndefined(offsetTop)) {\r\n return;\r\n }\r\n if (height >= clientHeight || scrollYOffset > offsetTop) {\r\n scrollIntoView(element, isWindowScrollMode, 'start');\r\n return;\r\n }\r\n if (scrollYOffset + clientHeight >= offsetTop + height) {\r\n return;\r\n }\r\n if (isWindowScrollMode) {\r\n scrollWindowTo(offsetTop, 'smooth');\r\n return;\r\n }\r\n const scrollTop = offsetTop - (clientHeight - height) / 2;\r\n scrollViewContentTo(scrollContainer, scrollTop, 'smooth');\r\n };\r\n};\r\n\r\n// https://stackoverflow.com/questions/35939886/find-first-scrollable-parent\r\n\r\nexport const getScrollParent = (element: HTMLElement | undefined | null): HTMLElement | null => {\r\n const overflowY = element && window.getComputedStyle(element).overflowY;\r\n const isScrollable = overflowY !== 'visible' && overflowY !== 'hidden';\r\n if (!element) {\r\n return null;\r\n } else if (isScrollable && element.scrollHeight >= element.clientHeight) {\r\n return element;\r\n }\r\n return getScrollParent(element.parentElement) || document.body;\r\n};\r\n","import { useEffect } from 'react';\r\n\r\nimport './bodyfixed.css';\r\n\r\nconst BODYFIXED_CLASS = 'bodyfixed';\r\n\r\n/** Toggles a special CSS class on the page's body tag.\r\n *\r\n * This is to reduce window overscrolls (visible on iPads)\r\n */\r\nexport const useSetupBodyFixedForScrolling = (enableFixedBody: boolean) => {\r\n useEffect(() => {\r\n const bodyElem = document.body;\r\n if (enableFixedBody) {\r\n bodyElem.classList.add(BODYFIXED_CLASS);\r\n return () => bodyElem.classList.remove(BODYFIXED_CLASS);\r\n } else {\r\n bodyElem.classList.remove(BODYFIXED_CLASS);\r\n return () => bodyElem.classList.add(BODYFIXED_CLASS);\r\n }\r\n }, [enableFixedBody]);\r\n};\r\n","import React, { RefObject } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Color } from '@style/Color';\r\n\r\nconst SECTION_TOP_PADDING = 8;\r\nconst SECTION_BOTTOM_PADDING = 8;\r\n\r\nconst SECTION_SHADOW_HEIGHT = 8;\r\n\r\nexport const PANEL_SECTIONS_TOP_MARGING = 10;\r\nexport const PANEL_SECTIONS_BOTTOM_MARGING = 20;\r\n\r\ninterface ComponentProps {\r\n id?: string;\r\n /** First section of the panel. false to avoid top margin */\r\n isFirst?: boolean;\r\n /** Last section of the panel. false to avoid bottom margin */\r\n isLast?: boolean;\r\n sectionRef?: RefObject;\r\n backgroundColor?: string;\r\n}\r\n\r\nexport const SectionWithoutShadow = styled(\r\n ({ isFirst, isLast, sectionRef, backgroundColor, ...rest }) =>
\r\n)`\r\n position: relative;\r\n margin-top: ${({ isFirst }) => (isFirst ? PANEL_SECTIONS_TOP_MARGING : 0)}px;\r\n margin-bottom: ${({ isLast }) => (isLast ? PANEL_SECTIONS_BOTTOM_MARGING : 0)}px;\r\n padding-top: ${SECTION_TOP_PADDING}px;\r\n padding-bottom: ${SECTION_BOTTOM_PADDING + SECTION_SHADOW_HEIGHT}px;\r\n background-color: ${({ backgroundColor }) => (backgroundColor ? backgroundColor : Color.WHITE)};\r\n width: 100%;\r\n`;\r\n\r\nexport const Section = styled(({ isFirst, isLast, sectionRef, ...rest }) => (\r\n \r\n))`\r\n &::after {\r\n content: '';\r\n height: ${SECTION_SHADOW_HEIGHT}px;\r\n width: 100%;\r\n background: transparent linear-gradient(180deg, ${Color.GRAY_GRADIENT_DARK} 0%, ${Color.GRAY_GRADIENT_LIGHT} 100%)\r\n 0% 0% no-repeat padding-box;\r\n position: absolute;\r\n bottom: 0px;\r\n left: 0px;\r\n }\r\n`;\r\n\r\nexport const PanelSingleSection: React.FC = ({ children }) => (\r\n
\r\n {children}\r\n
\r\n);\r\n","import styled from 'styled-components';\r\n\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const SectionTitle = withTheme()(styled.label`\r\n font-family: ${(props: ThemeProps) => props.theme.text.subtitle2Regular.fontFamily};\r\n font-size: ${(props: ThemeProps) => props.theme.text.subtitle2Regular.fontSize};\r\n line-height: ${(props: ThemeProps) => props.theme.text.subtitle2Regular.lineHeight};\r\n color: ${(props: ThemeProps) => props.theme.palette.background.stone};\r\n`);\r\n","import React, { useEffect, useState } from 'react';\r\n\r\nimport { isEqual, map } from 'lodash';\r\n\r\nimport { FormHelperText, InputLabel } from '@material-ui/core';\r\nimport FilledInput from '@material-ui/core/FilledInput';\r\nimport { MenuItemProps } from '@material-ui/core/MenuItem/MenuItem';\r\nimport { KeyboardArrowDown } from '@material-ui/icons';\r\n\r\nimport { StyledMenuItem, StyledSelect, StyledSelectWrapper } from '@component/select/SelectStyles';\r\nimport { Color } from '@style/Color';\r\n\r\nexport interface SelectElementProps {\r\n id: string;\r\n options: string[];\r\n label?: string;\r\n value?: string;\r\n onChange?: (value: string) => void;\r\n onClick?: () => void;\r\n style?: React.CSSProperties;\r\n disabled?: boolean;\r\n error?: boolean;\r\n helperText?: string;\r\n}\r\n\r\nexport const SelectElement = (props: SelectElementProps) => {\r\n const [value, setValue] = useState(props.value);\r\n const [isOpened, setIsOpened] = useState(false);\r\n\r\n useEffect(() => {\r\n setValue(props.value);\r\n }, [props.value]);\r\n\r\n const handleChange = (event: React.ChangeEvent) => {\r\n if (props.onChange) {\r\n props.onChange(event.target.value);\r\n }\r\n\r\n setValue(event.target.value);\r\n };\r\n\r\n const handleKeyDown = (event: any) => {\r\n if (event.key === 'Enter') {\r\n setIsOpened(false);\r\n return;\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n \r\n {props.label && (\r\n \r\n {props.label}\r\n \r\n )}\r\n }\r\n IconComponent={KeyboardArrowDown}\r\n label={props.label}\r\n disabled={props.disabled}\r\n open={isOpened}\r\n onOpen={() => {\r\n setIsOpened(true);\r\n }}\r\n onClose={(e: React.ChangeEvent<{}>) => {\r\n setIsOpened(false);\r\n e.preventDefault();\r\n }}\r\n >\r\n {map(props.options, (option, index) => (\r\n \r\n {option}\r\n \r\n ))}\r\n \r\n \r\n {props.error ? (\r\n \r\n {props.helperText}\r\n \r\n ) : undefined}\r\n \r\n );\r\n};\r\n\r\nconst SelectOnTabMenuItem = React.forwardRef(\r\n (\r\n { 'data-value': valueForEvent, value, onChange, ...other }: MenuItemProps & any,\r\n ref: React.RefObject\r\n ) => {\r\n const handleKeyDown = (event: any) => {\r\n if (event.key === 'Tab') {\r\n event.persist();\r\n // Getting the value from the \"data-value\" prop is necessary\r\n // due to the manner in which Material-UI clones the MenuItem during\r\n // display of the Select: https://github.com/mui-org/material-ui/blob/v4.5.1/packages/material-ui/src/Select/SelectInput.js#L226\r\n event.target = { value: valueForEvent };\r\n onChange?.(event);\r\n }\r\n };\r\n return ;\r\n }\r\n);\r\n","import styled from 'styled-components';\r\n\r\nimport { FormControl, MenuItem, Select } from '@material-ui/core';\r\nimport { FormControlProps } from '@material-ui/core/FormControl';\r\n\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const StyledSelectWrapper = withTheme()(styled(FormControl)`\r\n && {\r\n border: 1px solid ${(props: ThemeProps) => props.theme.palette.select.borderColor};\r\n border-top-right-radius: 4px;\r\n border-top-left-radius: 4px;\r\n overflow: hidden;\r\n width: 100%;\r\n font-family: ${(props: ThemeProps) => props.theme.text.body.fontFamily};\r\n & > div {\r\n font-family: ${(props: ThemeProps) => props.theme.text.body.fontFamily};\r\n height: 54px;\r\n ::before {\r\n border-color: ${(props: ThemeProps) => props.theme.palette.select.borderColor} !important;\r\n }\r\n }\r\n & > div {\r\n background-color: ${(props: ThemeProps & FormControlProps) =>\r\n props.disabled\r\n ? props.theme.palette.inputField.disabledBackground\r\n : props.theme.palette.select.backgroundColor};\r\n & > div {\r\n & :first-child {\r\n background-color: ${(props: ThemeProps & FormControlProps) =>\r\n props.disabled\r\n ? props.theme.palette.inputField.disabledBackground\r\n : props.theme.palette.select.backgroundColor};\r\n }\r\n }\r\n }\r\n & > label {\r\n font-family: ${(props: ThemeProps) => props.theme.text.body.fontFamily};\r\n color: ${(props: ThemeProps & FormControlProps) =>\r\n props.error ? props.theme.palette.textField.error : props.theme.palette.text.secondary};\r\n }\r\n &:focus > label {\r\n color: ${(props: ThemeProps & FormControlProps) =>\r\n props.error ? props.theme.palette.textField.error : props.theme.palette.primary.main};\r\n }\r\n }\r\n`);\r\n\r\nexport const StyledSelect = withTheme()(styled(Select)`\r\n && {\r\n :hover {\r\n background-color: ${(props: ThemeProps & FormControlProps) =>\r\n props.disabled\r\n ? props.theme.palette.inputField.disabledBackground\r\n : props.theme.palette.select.backgroundColor};\r\n }\r\n & svg {\r\n margin-right: 8px;\r\n }\r\n & > div {\r\n & > div {\r\n padding-top: ${(props: any) => (props.label ? '27px' : '10px')};\r\n }\r\n }\r\n }\r\n`);\r\n\r\nexport const StyledMenuItem = withTheme()(styled(MenuItem)`\r\n && {\r\n :hover {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.select.hoverColor};\r\n }\r\n :focus {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primary.main};\r\n }\r\n }\r\n`);\r\n","export const USA_STATES = [\r\n 'IL',\r\n 'IN',\r\n 'IA',\r\n 'KY',\r\n 'MI',\r\n 'MN',\r\n 'MO',\r\n 'OH',\r\n 'WI',\r\n 'WV',\r\n 'CT',\r\n 'DC',\r\n 'DE',\r\n 'MA',\r\n 'MD',\r\n 'ME',\r\n 'NH',\r\n 'NJ',\r\n 'NY',\r\n 'PA',\r\n 'RI',\r\n 'VT',\r\n 'AR',\r\n 'CO',\r\n 'KS',\r\n 'MT',\r\n 'ND',\r\n 'NE',\r\n 'NM',\r\n 'OK',\r\n 'SD',\r\n 'TX',\r\n 'WY',\r\n 'AL',\r\n 'FL',\r\n 'GA',\r\n 'LA',\r\n 'MS',\r\n 'NC',\r\n 'SC',\r\n 'TN',\r\n 'VA',\r\n 'AZ',\r\n 'CA',\r\n 'ID',\r\n 'NV',\r\n 'OR',\r\n 'UT',\r\n 'WA',\r\n];\r\n\r\nexport const NORTH_EAST_US_STATES = ['CT', 'DC', 'DE', 'MA', 'MD', 'ME', 'NH', 'NJ', 'NY', 'PA', 'RI', 'VT'];\r\nexport const MID_WEST_US_STATES = ['IL', 'IN', 'IA', 'KY', 'MI', 'MN', 'MO', 'OH', 'WI', 'WV'];\r\nexport const PLAINS_US_STATES = ['AR', 'CO', 'KS', 'MT', 'ND', 'NE', 'NM', 'OK', 'SD', 'TX', 'WY'];\r\nexport const SOUTHERN_US_STATES = ['AL', 'FL', 'GA', 'LA', 'MS', 'NC', 'SC', 'TN', 'VA'];\r\nexport const WESTERN_US_STATES = ['AZ', 'CA', 'ID', 'NV', 'OR', 'UT', 'WA'];\r\n\r\nexport const CANADA_PROVINCES = ['AB', 'BC', 'MB', 'NB', 'NL', 'NS', 'NT', 'NU', 'ON', 'PE', 'QC', 'SK', 'YT'];\r\n","import React, { useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';\r\n\r\nimport { cloneDeep } from 'lodash';\r\nimport styled from 'styled-components';\r\n\r\nimport '@component/simplemap/raphael.js';\r\nimport { Region, SimpleMapsCoordinates, SimpleMapsData, SimpleMapsInfo } from '@util/helper/SimpleMapsHelper';\r\nimport { useIsMobileView } from '@util/hooks';\r\n\r\nimport { simplemaps } from './simplemaps';\r\n\r\nconst SIMPLE_MAP_NAME = 'simplemaps_namap';\r\n\r\nconst SimpleMapHolder = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n flex: 1;\r\n height: 100%;\r\n overflow: hidden;\r\n position: relative;\r\n`;\r\n\r\nconst SimpleMapAvailableSpace = styled.div`\r\n flex: 1;\r\n display: flex;\r\n justify-content: center;\r\n padding: ${({ padding }: { padding: number }) => `${padding}px ${padding}px 0 ${padding}px`};\r\n`;\r\n\r\nconst SimpleMapsPreloader = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n position: absolute;\r\n top: 0;\r\n background: ${(props: { backgroundColor: string | undefined }) => props.backgroundColor ?? 'inherit'};\r\n height: 100%;\r\n width: 100%;\r\n z-index: 100;\r\n`;\r\n\r\ninterface Props {\r\n id: string;\r\n panelWidth: number;\r\n initialView: SimpleMapsCoordinates;\r\n selectedRegion: Region;\r\n isSimpleMapsReadyToRender: boolean;\r\n setIsSimpleMapsReadyToRender: (isReady: boolean) => void;\r\n backgroundColor?: string;\r\n isCarrierHistoryMap?: boolean;\r\n isPanelSingleColumn?: boolean;\r\n}\r\n\r\nexport const SimpleMap: React.FC = ({\r\n id,\r\n selectedRegion,\r\n panelWidth,\r\n initialView,\r\n isSimpleMapsReadyToRender,\r\n setIsSimpleMapsReadyToRender,\r\n backgroundColor,\r\n isCarrierHistoryMap,\r\n isPanelSingleColumn,\r\n children,\r\n}) => {\r\n const [computedMapWidth, setComputedMapWidth] = useState(0);\r\n const [mapHeight, setMapHeight] = useState(0);\r\n const isMobileView = useIsMobileView();\r\n const simpleMapsHolderRef = useRef(null);\r\n const simpleMapsChildrenRef = useRef(null);\r\n const isWidthSmall = isPanelSingleColumn || isMobileView;\r\n const padding = isWidthSmall || isCarrierHistoryMap ? 10 : 20;\r\n\r\n // sometimes computed width of panel is wider that width of panel, in this case we use panel width size and subtract left and right padding\r\n const mapWidth = useMemo(\r\n () => (panelWidth && computedMapWidth > panelWidth ? panelWidth - 2 * padding : computedMapWidth),\r\n [computedMapWidth, panelWidth, padding]\r\n );\r\n\r\n useLayoutEffect(() => {\r\n if (simpleMapsHolderRef.current && simpleMapsChildrenRef.current) {\r\n //compute free height to fit the map (difference between full height and height of children (footer))\r\n setMapHeight(simpleMapsHolderRef.current.clientHeight - simpleMapsChildrenRef.current.clientHeight - padding);\r\n }\r\n }, [simpleMapsHolderRef?.current?.clientHeight, simpleMapsChildrenRef?.current?.clientHeight, children]);\r\n\r\n useEffect(() => {\r\n //compute mapWidth according to available map height and simple maps settings (initial view)\r\n setIsSimpleMapsReadyToRender(false);\r\n setComputedMapWidth(getMapWidthToFitThePanel(initialView, mapHeight));\r\n }, [initialView.x, initialView.x2, initialView.y, initialView.y2, mapHeight]);\r\n\r\n useEffect(() => {\r\n setComputedMapWidth(0);\r\n setIsSimpleMapsReadyToRender(false);\r\n }, [selectedRegion]);\r\n\r\n useEffect(() => {\r\n if (computedMapWidth > 0) {\r\n setIsSimpleMapsReadyToRender(true);\r\n }\r\n }, [computedMapWidth]);\r\n\r\n return (\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n {children}\r\n
\r\n {!isSimpleMapsReadyToRender ? : null}\r\n
\r\n );\r\n};\r\n\r\nexport const useSimpleMaps = (simpleMapsInitialData: any, simpleMapsInitialInfo: any) => {\r\n const [isSimpleMapReadyToRender, setIsSimpleMapsReadyToRender] = useState(false);\r\n const simpleMapsData = useMemo(() => cloneDeep(simpleMapsInitialData), []);\r\n const simpleMapsInfo = useMemo(() => cloneDeep(simpleMapsInitialInfo), []);\r\n\r\n const init = (simpleMapsDataSettings: SimpleMapsData, simpleMapsInfo: SimpleMapsInfo) => {\r\n (window as any)[`${SIMPLE_MAP_NAME}_mapinfo`] = simpleMapsInfo;\r\n (window as any)[`${SIMPLE_MAP_NAME}_mapdata`] = simpleMapsDataSettings;\r\n simplemaps();\r\n };\r\n return {\r\n simpleMapApi: () => (window as any)[SIMPLE_MAP_NAME],\r\n simpleMapInit: init,\r\n simpleMapsData: simpleMapsData,\r\n simpleMapsInfo: simpleMapsInfo,\r\n isSimpleMapReadyToRender: isSimpleMapReadyToRender,\r\n setIsSimpleMapsReadyToRender: setIsSimpleMapsReadyToRender,\r\n };\r\n};\r\n\r\nconst getMapWidthToFitThePanel = (initialView: SimpleMapsCoordinates, availableHeight: number) => {\r\n const originalWidth = initialView.x2 - initialView.x;\r\n const originalHeight = initialView.y2 - initialView.y;\r\n const widthToHeight = originalWidth / originalHeight;\r\n return availableHeight * widthToHeight;\r\n};\r\n","export const stateBboxArray = {\r\n MN: {\r\n y: 488,\r\n x: 656,\r\n x2: 716,\r\n y2: 557,\r\n },\r\n WA: {\r\n y: 462,\r\n x: 442,\r\n x2: 504,\r\n y2: 508,\r\n },\r\n BC: {\r\n y: 296,\r\n x: 405,\r\n x2: 527,\r\n y2: 478,\r\n },\r\n DE: {\r\n y: 579,\r\n x: 845,\r\n x2: 855,\r\n y2: 595,\r\n },\r\n DC: {\r\n y: 591,\r\n x: 835,\r\n x2: 837,\r\n y2: 594,\r\n },\r\n WI: {\r\n y: 515,\r\n x: 691,\r\n x2: 739,\r\n y2: 567,\r\n },\r\n WV: {\r\n y: 578,\r\n x: 787,\r\n x2: 829,\r\n y2: 619,\r\n },\r\n HI: {\r\n y: 605,\r\n x: 258,\r\n x2: 326,\r\n y2: 627,\r\n },\r\n HI_USA: {\r\n y: 605,\r\n x: 258,\r\n x2: 326,\r\n y2: 627,\r\n },\r\n FL: {\r\n y: 694,\r\n x: 750,\r\n x2: 835,\r\n y2: 759,\r\n },\r\n YT: {\r\n y: 178,\r\n x: 397,\r\n x2: 494,\r\n y2: 332,\r\n },\r\n WY: {\r\n y: 529,\r\n x: 534,\r\n x2: 599,\r\n y2: 583,\r\n },\r\n NH: {\r\n y: 508,\r\n x: 863,\r\n x2: 878,\r\n y2: 540,\r\n },\r\n SK: {\r\n y: 352,\r\n x: 558,\r\n x2: 628,\r\n y2: 491,\r\n },\r\n NJ: {\r\n y: 560,\r\n x: 847,\r\n x2: 859,\r\n y2: 588,\r\n },\r\n NL: {\r\n y: 321,\r\n x: 857,\r\n x2: 999,\r\n y2: 451,\r\n },\r\n NM: {\r\n y: 624,\r\n x: 536,\r\n x2: 601,\r\n y2: 690,\r\n },\r\n TX: {\r\n y: 636,\r\n x: 560,\r\n x2: 691,\r\n y2: 763,\r\n },\r\n LA: {\r\n y: 678,\r\n x: 685,\r\n x2: 738,\r\n y2: 723,\r\n },\r\n NB: {\r\n y: 463,\r\n x: 877,\r\n x2: 922,\r\n y2: 505,\r\n },\r\n NC: {\r\n y: 617,\r\n x: 777,\r\n x2: 856,\r\n y2: 653,\r\n },\r\n ND: {\r\n y: 490,\r\n x: 600,\r\n x2: 661,\r\n y2: 528,\r\n },\r\n NE: {\r\n y: 559,\r\n x: 595,\r\n x2: 672,\r\n y2: 597,\r\n },\r\n TN: {\r\n y: 626,\r\n x: 720,\r\n x2: 799,\r\n y2: 654,\r\n },\r\n NY: {\r\n y: 516,\r\n x: 805,\r\n x2: 875,\r\n y2: 568,\r\n },\r\n PA: {\r\n y: 554,\r\n x: 799,\r\n x2: 853,\r\n y2: 589,\r\n },\r\n PE: {\r\n y: 471,\r\n x: 915,\r\n x2: 934,\r\n y2: 479,\r\n },\r\n NS: {\r\n y: 461,\r\n x: 911,\r\n x2: 952,\r\n y2: 514,\r\n },\r\n NT: {\r\n y: 87,\r\n x: 461,\r\n x2: 632,\r\n y2: 358,\r\n },\r\n NU: {\r\n y: 1,\r\n x: 541,\r\n x2: 859,\r\n y2: 446,\r\n },\r\n NV: {\r\n y: 547,\r\n x: 451,\r\n x2: 511,\r\n y2: 637,\r\n },\r\n VA: {\r\n y: 588,\r\n x: 781,\r\n x2: 853,\r\n y2: 629,\r\n },\r\n AB: {\r\n y: 339,\r\n x: 497,\r\n x2: 578,\r\n y2: 484,\r\n },\r\n CO: {\r\n y: 578,\r\n x: 545,\r\n x2: 613,\r\n y2: 631,\r\n },\r\n ON: {\r\n y: 396,\r\n x: 672,\r\n x2: 843,\r\n y2: 566,\r\n },\r\n AK_USA: {\r\n x: 300,\r\n y: 634,\r\n x2: 318,\r\n y2: 800,\r\n },\r\n AK: {\r\n y: 113,\r\n x: 108,\r\n x2: 455,\r\n y2: 377,\r\n },\r\n AL: {\r\n y: 650,\r\n x: 740,\r\n x2: 776,\r\n y2: 708,\r\n },\r\n AR: {\r\n y: 636,\r\n x: 679,\r\n x2: 726,\r\n y2: 679,\r\n },\r\n VT: {\r\n y: 512,\r\n x: 851,\r\n x2: 867,\r\n y2: 541,\r\n },\r\n IL: {\r\n y: 565,\r\n x: 706,\r\n x2: 743,\r\n y2: 630,\r\n },\r\n GA: {\r\n y: 647,\r\n x: 765,\r\n x2: 816,\r\n y2: 699,\r\n },\r\n IN: {\r\n y: 571,\r\n x: 739,\r\n x2: 767,\r\n y2: 620,\r\n },\r\n IA: {\r\n y: 556,\r\n x: 660,\r\n x2: 717,\r\n y2: 592,\r\n },\r\n MA: {\r\n y: 534,\r\n x: 858,\r\n x2: 889,\r\n y2: 551,\r\n },\r\n AZ: {\r\n y: 616,\r\n x: 481,\r\n x2: 545,\r\n y2: 689,\r\n },\r\n CA: {\r\n y: 537,\r\n x: 418,\r\n x2: 492,\r\n y2: 664,\r\n },\r\n ID: {\r\n y: 473,\r\n x: 486,\r\n x2: 541,\r\n y2: 563,\r\n },\r\n CT: {\r\n y: 546,\r\n x: 859,\r\n x2: 874,\r\n y2: 562,\r\n },\r\n ME: {\r\n y: 478,\r\n x: 868,\r\n x2: 902,\r\n y2: 532,\r\n },\r\n MD: {\r\n y: 581,\r\n x: 813,\r\n x2: 855,\r\n y2: 600,\r\n },\r\n OK: {\r\n y: 630,\r\n x: 600,\r\n x2: 681,\r\n y2: 671,\r\n },\r\n OH: {\r\n y: 563,\r\n x: 763,\r\n x2: 802,\r\n y2: 607,\r\n },\r\n UT: {\r\n y: 559,\r\n x: 499,\r\n x2: 552,\r\n y2: 624,\r\n },\r\n MO: {\r\n y: 589,\r\n x: 668,\r\n x2: 730,\r\n y2: 642,\r\n },\r\n MB: {\r\n y: 357,\r\n x: 624,\r\n x2: 713,\r\n y2: 492,\r\n },\r\n MI: {\r\n y: 500,\r\n x: 711,\r\n x2: 781,\r\n y2: 573,\r\n },\r\n OR: {\r\n y: 490,\r\n x: 425,\r\n x2: 500,\r\n y2: 553,\r\n },\r\n RI: {\r\n y: 545,\r\n x: 873,\r\n x2: 880,\r\n y2: 554,\r\n },\r\n KS: {\r\n y: 596,\r\n x: 610,\r\n x2: 679,\r\n y2: 632,\r\n },\r\n MT: {\r\n y: 475,\r\n x: 509,\r\n x2: 604,\r\n y2: 536,\r\n },\r\n QC: {\r\n y: 311,\r\n x: 772,\r\n x2: 946,\r\n y2: 519,\r\n },\r\n MS: {\r\n y: 652,\r\n x: 710,\r\n x2: 743,\r\n y2: 710,\r\n },\r\n SC: {\r\n y: 642,\r\n x: 787,\r\n x2: 834,\r\n y2: 678,\r\n },\r\n KY: {\r\n y: 601,\r\n x: 727,\r\n x2: 795,\r\n y2: 636,\r\n },\r\n MX: {\r\n y: 660,\r\n x: 438,\r\n x2: 771,\r\n y2: 901,\r\n },\r\n SD: {\r\n y: 525,\r\n x: 597,\r\n x2: 662,\r\n y2: 568,\r\n },\r\n};\r\n","export const stateLabels = {\r\n NH: {\r\n parent_id: 'NH',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 920,\r\n y: 565,\r\n },\r\n MA: {\r\n parent_id: 'MA',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 920,\r\n y: 590,\r\n },\r\n CT: {\r\n parent_id: 'CT',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 920,\r\n y: 615,\r\n },\r\n RI: {\r\n parent_id: 'RI',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 920,\r\n y: 640,\r\n },\r\n MD: {\r\n parent_id: 'MD',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 920,\r\n y: 665,\r\n },\r\n VT: {\r\n parent_id: 'VT',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 885,\r\n y: 590,\r\n },\r\n NJ: {\r\n parent_id: 'NJ',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 885,\r\n y: 615,\r\n },\r\n DE: {\r\n parent_id: 'DE',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 885,\r\n y: 640,\r\n },\r\n DC: {\r\n parent_id: 'DC',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 885,\r\n y: 665,\r\n },\r\n HI_USA: {\r\n name: 'HI',\r\n parent_id: 'HI_USA',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 533,\r\n y: 760,\r\n },\r\n HI: {\r\n parent_id: 'HI',\r\n pill: 'yes',\r\n width: 30,\r\n x: 290,\r\n y: 640,\r\n },\r\n WV: {\r\n parent_id: 'WV',\r\n x: 803.4,\r\n y: 601.7,\r\n size: 11,\r\n },\r\n TX: {\r\n parent_id: 'TX',\r\n x: 630,\r\n y: 695,\r\n },\r\n AK: {\r\n parent_id: 'AK',\r\n x: 375,\r\n y: 201,\r\n },\r\n AK_USA: {\r\n name: 'AK',\r\n parent_id: 'AK_USA',\r\n x: 400,\r\n y: 720,\r\n },\r\n PE: {\r\n parent_id: 'PE',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 965,\r\n y: 490,\r\n },\r\n NS: {\r\n parent_id: 'NS',\r\n display: 'all',\r\n pill: 'yes',\r\n width: 30,\r\n x: 965,\r\n y: 515,\r\n },\r\n MX: {\r\n parent_id: 'MX',\r\n x: 601.3,\r\n y: 788.5,\r\n name: 'Mexico',\r\n },\r\n MB: {\r\n parent_id: 'MB',\r\n x: 656.4,\r\n y: 417.8,\r\n },\r\n SK: {\r\n parent_id: 'SK',\r\n x: 595.6,\r\n y: 425.6,\r\n },\r\n AB: {\r\n parent_id: 'AB',\r\n x: 534.6,\r\n y: 407,\r\n },\r\n BC: {\r\n parent_id: 'BC',\r\n x: 470.8,\r\n y: 383.5,\r\n },\r\n NU: {\r\n parent_id: 'NU',\r\n x: 652,\r\n y: 289.5,\r\n },\r\n NT: {\r\n parent_id: 'NT',\r\n x: 528.4,\r\n y: 293.2,\r\n },\r\n YT: {\r\n parent_id: 'YT',\r\n x: 438.5,\r\n y: 275.6,\r\n },\r\n ON: {\r\n parent_id: 'ON',\r\n x: 729.8,\r\n y: 452.6,\r\n },\r\n QC: {\r\n parent_id: 'QC',\r\n x: 833.9,\r\n y: 431.3,\r\n },\r\n NB: {\r\n parent_id: 'NB',\r\n x: 900.6,\r\n y: 483.3,\r\n },\r\n NL: {\r\n parent_id: 'NL',\r\n x: 901.1,\r\n y: 384.5,\r\n },\r\n MN: {\r\n parent_id: 'MN',\r\n x: 677.5,\r\n y: 520.6,\r\n },\r\n MT: {\r\n parent_id: 'MT',\r\n x: 557.2,\r\n y: 507.5,\r\n },\r\n ND: {\r\n parent_id: 'ND',\r\n x: 630.3,\r\n y: 509.3,\r\n },\r\n ID: {\r\n parent_id: 'ID',\r\n x: 509.2,\r\n y: 540.2,\r\n },\r\n WA: {\r\n parent_id: 'WA',\r\n x: 476.8,\r\n y: 485,\r\n },\r\n AZ: {\r\n parent_id: 'AZ',\r\n x: 516.2,\r\n y: 650.8,\r\n },\r\n CA: {\r\n parent_id: 'CA',\r\n x: 447.7,\r\n y: 608.3,\r\n },\r\n CO: {\r\n parent_id: 'CO',\r\n x: 579.7,\r\n y: 604.6,\r\n },\r\n NV: {\r\n parent_id: 'NV',\r\n x: 481.5,\r\n y: 582.4,\r\n },\r\n NM: {\r\n parent_id: 'NM',\r\n x: 569.4,\r\n y: 656.2,\r\n },\r\n OR: {\r\n parent_id: 'OR',\r\n x: 462,\r\n y: 524.9,\r\n },\r\n UT: {\r\n parent_id: 'UT',\r\n x: 526.1,\r\n y: 595.7,\r\n },\r\n WY: {\r\n parent_id: 'WY',\r\n x: 567.6,\r\n y: 556.2,\r\n },\r\n AR: {\r\n parent_id: 'AR',\r\n x: 699.3,\r\n y: 655.2,\r\n },\r\n IA: {\r\n parent_id: 'IA',\r\n x: 687.5,\r\n y: 573.4,\r\n },\r\n KS: {\r\n parent_id: 'KS',\r\n x: 644.2,\r\n y: 614.6,\r\n },\r\n MO: {\r\n parent_id: 'MO',\r\n x: 697.5,\r\n y: 617.3,\r\n },\r\n NE: {\r\n parent_id: 'NE',\r\n x: 632.8,\r\n y: 579.3,\r\n },\r\n OK: {\r\n parent_id: 'OK',\r\n x: 656.4,\r\n y: 650.3,\r\n },\r\n SD: {\r\n parent_id: 'SD',\r\n x: 630.6,\r\n y: 544.5,\r\n },\r\n LA: {\r\n parent_id: 'LA',\r\n x: 699.3,\r\n y: 691,\r\n },\r\n AL: {\r\n parent_id: 'AL',\r\n x: 756.2,\r\n y: 677.6,\r\n },\r\n FL: {\r\n parent_id: 'FL',\r\n x: 813.1,\r\n y: 719.2,\r\n },\r\n GA: {\r\n parent_id: 'GA',\r\n x: 790.9,\r\n y: 675.4,\r\n },\r\n MS: {\r\n parent_id: 'MS',\r\n x: 727.7,\r\n y: 679.7,\r\n },\r\n SC: {\r\n parent_id: 'SC',\r\n x: 813.1,\r\n y: 657,\r\n },\r\n IL: {\r\n parent_id: 'IL',\r\n x: 724.8,\r\n y: 593,\r\n },\r\n IN: {\r\n parent_id: 'IN',\r\n x: 753.5,\r\n y: 594.2,\r\n },\r\n KY: {\r\n parent_id: 'KY',\r\n x: 772.2,\r\n y: 617,\r\n },\r\n NC: {\r\n parent_id: 'NC',\r\n x: 831.6,\r\n y: 634.4,\r\n },\r\n OH: {\r\n parent_id: 'OH',\r\n x: 781,\r\n y: 587.7,\r\n },\r\n TN: {\r\n parent_id: 'TN',\r\n x: 756.7,\r\n y: 641.3,\r\n },\r\n VA: {\r\n parent_id: 'VA',\r\n x: 822.2,\r\n y: 611.8,\r\n },\r\n WI: {\r\n parent_id: 'WI',\r\n x: 715.9,\r\n y: 539.3,\r\n },\r\n NY: {\r\n parent_id: 'NY',\r\n x: 844.7,\r\n y: 541.3,\r\n },\r\n PA: {\r\n parent_id: 'PA',\r\n x: 824.8,\r\n y: 571.4,\r\n },\r\n ME: {\r\n parent_id: 'ME',\r\n x: 882.7,\r\n y: 502.6,\r\n },\r\n MI: {\r\n parent_id: 'MI',\r\n x: 760.2,\r\n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m -17.01 9.583 2.402 -2.438 -3.097 0.377 0.695 2.061 z m 47.783 4.799 -2.495 -2.322 -2.242 2.552 -2.357 1.026 2.894 5.556 2.163 -2.187 3.736 3.03 2.436 -1.811 -0.57 -2.573 -2.494 -0.215 -1.072 -3.051 z m 13.406 8.365 -0.853 2.881 4.612 -0.138 4.236 0.978 3.03 -1.629 0.216 -0.809 -5.512 -1.046 -0.25 0.604 -5.478 -0.841 z m 13.837 4.22 -1.81 0.934 1.231 4.01 2.847 0.227 0.924 3.427 2.961 1.331 3.621 -1.026 3.01 -2.187 -6.322 -5.05 -6.457 -1.66 z m -6.682 6.664 2.152 -1.413 -1.777 -2.653 -2.084 -0.284 -1.195 1.253 1.219 0.569 0.639 2.562 1.048 -0.034 z m 7.973 4.427 -1.549 -1.286 -1.434 1.925 2.983 -0.639 z m 36.937 22.271 -3.588 -3.403 0.045 -0.991 -2.391 -0.443 -0.081 -3.01 -7.221 -4.974 -3.01 -0.762 -4.374 -2.64 -2.812 0.821 1.573 3.951 -4.723 7.04 1.72 2.732 1.835 5.101 1.062 8.04 4.02 2.629 2.481 -4.066 4.36 -3.327 5.363 -1.528 4.554 -3.01 1.183 -2.164 z',\r\n HI: 'M314.6 613.2l0.9-0.2 2.4 0.1 2.2 0.4 1.3 0.6 0.6 1.5 0.7-0.5 0.6 0.2 0.7 1 1.4 0.3 0.7 0.6-0.3 1-0.8 1.3-2 1.9-0.9 0.4-0.6 1-1.1 1.3-0.4 2.6-0.6 0.6-1.8-0.4-0.8 0.1-0.9-1-0.6-2.4-2.3-2.7-1.4-1.1 0-0.7 0.8-1.4 0.4-2.2-1-0.7-0.7-1.2 0.1-0.7 1.5-0.3 0.5 0.4 1.4 0.2z m-11.7-0.4l-1.4 0.9 0.3-1.3 1.1 0.4z m-4.9-0.7l-0.9 0-0.8-1.9 1.1-0.2 1.1 0.5 0.2 0.9-0.7 0.7z m2.1-4.7l0.8 0.2 0.9 0.7 1.7-1.3 0.6-0.1 1.8 0.7 1.4-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-0.4-3.6-1.4-1.8-0.4-2.6 0.1-2.9 0.5-0.9 0.5-0.6-1.3 1.1-0.6 0.2-1.2-0.4-0.3 0.8-1.1-0.1-2.5-0.4-1.2 0.5-0.7-0.3-1.3 0.4-0.5 1.1-2.6 0.3-1.4-0.4-0.8 0.6-0.4-1.7-3.3 0.2-0.5-1.8-2.5 0.1-1.5-0.9-2-1.4-1.3-0.3-11.8 8.8-0.3 12.2-0.5 7.2-0.3 1 1-0.6 0.8-0.1 2.7 0.6 0.8 0.1 1.2 1.9 1.2-1.4 3.1-0.2 0.8-0.6 0.4-0.9 1.3-0.8 0.3-0.6 1.4-0.2 2-0.9 0.9 0.4 1-0.4 1.5-0.9 0.1 0.3 0.9-0.2 0.7 0.6 1-0.8 0.7 9.5-0.5 9.8-0.6 0 0.6-0.9 3.2 0.6 1.3 1.3 1.2 0.6 1.8 0.5 1 0.7 0.2z',\r\n AK_USA:\r\n 'm 290.64 800.99 0.001 -0.568 -0.22 0.084 0.21 0.484 z m 5.903 -0.294 0.312 -0.344 -0.259 -0.179 -0.052 0.523 z m 4.482 1.036 0.264 -0.127 -0.087 -0.045 -0.178 0.172 z m -3.68 -1.984 -0.036 -0.481 -0.262 -0.004 0.298 0.486 z m 7.753 1.397 -0.133 0.085 0.043 0.044 0.089 -0.13 z m -6.05 -1.587 0.142 -0.653 -0.132 0.041 -0.001 0.611 z m 9.606 -2.329 -2.01 0.316 -4.211 3.599 1.574 -0.105 4.93 -2.189 -0.279 -1.621 z m 9.794 -0.491 0.048 -0.261 -0.173 -0.09 0.125 0.352 z m -2.911 -0.966 -2.236 0.487 0.217 2.712 -2.024 0.883 5.612 -1.173 0.607 -2.305 -1.759 0.669 -0.415 -1.274 z m 7.233 1.126 -0.783 -0.232 0.517 0.446 0.266 -0.214 z m 1.572 0.027 -1.262 -0.283 -0.178 0.172 1.44 0.112 z m -4.298 -1.601 -1.269 0.11 2.132 0.516 -0.863 -0.626 z m 5.311 1.094 -0.128 -0.177 -0.483 0.123 0.611 0.054 z m -3.428 -1.412 -0.477 -0.226 0.021 1.355 0.456 -1.128 z m 14.586 2.91 -0.086 -0.089 -0.175 -0.003 0.261 0.092 z m 0.308 -0.126 0.002 -0.131 -0.215 -0.178 0.213 0.309 z m -1.953 -0.775 0.254 0.485 -0.041 -0.132 -0.213 -0.353 z m 1.048 0.018 -1.043 -0.323 1.251 0.938 -0.208 -0.615 z m 1.551 -1.285 -0.089 0.086 -0.0001 0.087 0.09 -0.173 z m 13.553 2.02 -0.078 -0.569 -0.176 0.084 0.254 0.485 z m 124.43 7.07 -0.17 -0.309 0.04 0.219 0.13 0.089 z m -139.86 -11.74 -0.043 -0.044 -0.044 0.043 0.087 0.002 z m 143.47 10.271 0.34 0.574 0.218 0.003 -0.558 -0.577 z m -126.58 -6.842 -0.09 0.173 -0.05 0.392 0.141 -0.566 z m -14.203 -2.335 0.324 -1.087 -0.174 -0.047 -0.15 1.133 z m 147.88 7.986 -1.098 0.375 0.776 0.625 0.323 -0.999 z m -145.73 -8.649 -0.126 -0.308 0.082 0.307 0.044 0.0001 z m -8.604 -2.722 -2.939 0.693 -2.777 1.482 0.139 2.143 2.904 -1.218 3.627 -2.691 -0.954 -0.409 z m 20.495 4.844 -0.666 0.644 0.614 -0.121 0.052 -0.523 z m 134.02 5.919 -0.122 -0.526 -0.178 0.172 0.3 0.355 z m -144.93 -9.291 -0.828 -0.145 0.773 0.799 0.055 -0.654 z m 137.2 9.03 -0.352 0.125 0.07 1.05 0.282 -1.175 z m -135.32 -9.13 -0.438 0.08 0.431 0.357 0.007 -0.437 z m 8.343 2.674 -0.306 -0.006 -0.215 -0.222 0.52 0.227 z m -9.346 -2.778 -0.519 -0.315 0.169 0.352 0.35 -0.038 z m 7.663 1.527 -0.967 0.333 -0.864 1.995 1.83 -2.328 z m 126.23 6.705 -0.233 0.87 0.62 -0.514 -0.387 -0.356 z m -129.66 -8.161 0.589 1.364 0.246 -1.656 -0.835 0.292 z m -10.05 -2.659 0.922 -0.29 -0.087 -0.045 -0.836 0.335 z m -1.123 -0.762 -0.171 -0.221 -0.045 0.087 0.216 0.135 z m 140.97 10.753 -0.171 -0.221 -0.181 0.346 0.352 -0.125 z m -127.43 -8.04 -0.304 -0.136 -0.267 0.301 0.571 -0.165 z m 126.21 8.02 0.229 -0.608 -0.216 -0.135 -0.012 0.742 z m -0.815 -0.887 -0.444 0.429 0.563 0.315 -0.119 -0.745 z m -120.47 -8.837 -0.301 -0.311 -0.0001 0.088 0.302 0.223 z m 120.55 6.566 0.865 0.539 0.487 -0.385 -1.352 -0.154 z m 1.495 -0.587 -0.354 0.256 0.472 0.488 -0.119 -0.745 z m -2.712 0.217 -0.121 -0.614 -0.354 0.256 0.475 0.357 z m 12.263 -1.847 -2.432 4.328 2.818 1.314 1.241 -1.071 -0.192 -1.576 -1.435 -2.995 z m -138.62 -8.01 -0.13 -0.046 -0.088 0.042 0.218 0.003 z m 128.23 7.219 -1.282 0.896 0.02 1.398 1.262 -2.294 z m -109.01 -4.582 0.009 -0.568 -0.135 0.26 0.126 0.308 z m 113.21 3.909 -0.409 0.954 2.02 -0.665 -1.612 -0.289 z m -5.228 -0.874 1.431 5.834 0.91 0.452 3.09 3.328 2.13 3.225 1.174 0.326 -1.226 -2.467 0.3 -2.267 -0.499 -1.494 -3.073 -4.289 -2.186 -2.483 -2.05 -0.165 z m -112.58 -5.253 -0.08 -0.395 -0.22 0.084 0.301 0.311 z m 116.88 4.146 -0.903 1.732 1.012 -0.42 -0.109 -1.312 z m -112.97 -5.696 -0.654 -0.098 -0.66 0.295 1.314 -0.196 z m 11.897 1.729 -0.538 0.821 0.275 -0.738 0.264 -0.083 z m 1.743 0.248 -1.049 0.026 0.469 0.707 0.58 -0.733 z m -70.63 -16.476 1.126 0.587 -0.17 -0.265 -0.956 -0.322 z m 46.37 11.744 0.09 -0.13 -0.133 0.085 0.043 0.044 z m 0.352 -0.125 0.176 -0.085 0.0001 -0.044 -0.177 0.128 z m 121.83 5.67 0.089 2.492 1.32 -0.546 -1.409 -1.946 z m -118.58 -7.06 0.133 -0.085 -0.044 -0.0001 -0.089 0.086 z m 113.47 6.928 -1.927 0.273 1.369 1.727 0.066 3.846 1.414 -0.981 -0.131 -2.58 -0.792 -2.285 z m 0.861 -1.864 -0.293 1.83 2.223 2.877 0.134 -2.794 2.034 1.126 -0.744 -2.503 -0.838 0.466 -2.517 -1 z m -8.331 -0.795 -1.129 2.209 1.289 -1.333 -0.16 -0.876 z m -94.35 -5.821 -0.084 -0.176 0.042 0.175 0.044 0.0001 z m 11.169 0.886 -0.212 -0.397 0.122 0.526 0.09 -0.13 z m 83.78 3.153 0.524 5.208 2.596 4.106 0.272 -5.806 -1.778 -3.394 -1.614 -0.114 z m -76.909 -6.62 -0.397 0.255 0.649 0.36 -0.252 -0.616 z m -1.53 0.062 0.181 -0.39 -0.437 -0.008 0.255 0.397 z m -1.134 -0.106 -0.362 0.737 -3.043 -0.925 -0.389 4.974 -1.215 -3.122 -2.242 0.836 -1.072 1.38 0.907 3.248 1.393 0.285 1.553 -1.416 -1.883 2.895 0.604 0.447 2.036 -1.582 -0.642 -0.797 1.854 -1.148 2.01 -0.141 2.99 -1.129 1.03 -1.512 -1.478 -0.418 0.762 -1.167 -2.815 -1.445 z m 75.11 2.134 -0.775 -0.668 -0.014 0.786 0.788 -0.118 z m -75.78 -3.674 0.078 0.569 0.778 0.494 -0.856 -1.063 z m 78.43 1.666 -2.548 0.831 0.708 2.065 -0.67 0.863 2.531 2.751 -0.002 -2.49 3.37 2.241 -3.817 -4.214 2.988 1.579 0.22 -2.705 -2.781 -0.92 z m -1.525 -0.244 -0.258 -0.266 -0.133 0.129 0.391 0.138 z m 7.479 -0.53 -0.865 -0.539 -0.317 0.694 1.182 -0.155 z m -5.239 -0.175 -0.782 -0.232 -0.003 0.175 0.785 0.057 z m 2.805 -0.521 2.52 8.649 0.682 -4.183 1.745 0.16 -1.564 -3.128 -2.275 0.18 -1.108 -1.679 z m -78.892 -2.984 -3.049 2.046 1.153 1.592 3.727 -0.811 0.296 -2 -2.127 -0.822 z m -32.13 -6.524 -0.085 -0.133 -0.003 0.175 0.088 -0.042 z m -1.257 -0.589 -0.077 -0.613 -0.047 0.174 0.124 0.439 z m 36.509 3.365 -0.264 0.127 -0.002 0.131 0.266 -0.258 z m -1.132 -0.237 -0.129 -0.133 -0.313 0.432 0.442 -0.298 z m 2.899 -0.912 -0.303 -0.18 -0.002 0.131 0.305 0.049 z m 0.962 -0.027 -0.303 -0.18 -0.045 0.087 0.348 0.093 z m -1.521 -0.462 -0.435 -0.095 -0.046 0.13 0.481 -0.036 z m 23.987 -0.165 0.18 -0.303 -0.266 0.214 0.086 0.089 z m 7.829 -3.145 1.643 -1.589 -0.571 0.209 -1.072 1.38 z m -14.645 -2.037 0.531 -0.384 0.226 -0.477 -0.757 0.861 z m 0.243 -1.438 -0.574 0.384 0.876 -0.16 -0.302 -0.224 z m -19.76 -1.773 -0.078 -0.569 -0.218 -0.003 0.296 0.573 z m 19.19 1.676 -0.487 0.385 -0.358 0.518 0.845 -0.903 z m 13.455 0.007 0.086 0.089 0.132 -0.041 -0.218 -0.047 z m 0.654 0.055 -0.304 -0.093 0.042 0.088 0.262 0.004 z m -1.525 -0.244 0.129 0.133 0.002 -0.131 -0.131 -0.002 z m -9.91 -0.428 0.49 -0.56 -0.577 0.558 0.087 0.002 z m 7.525 -0.66 -0.044 -0.0001 0 0 0.044 0.0001 z m -5.892 -0.361 -3.487 4.703 4.265 -4.21 -0.778 -0.494 z m -3.891 0.153 -0.21 -0.528 -0.266 0.258 0.476 0.27 z m 9.263 -0.063 -0.173 -0.09 0.086 0.089 0.087 0.002 z m 3.134 0.664 0.144 -0.784 -0.354 0.256 0.21 0.528 z m -88.52 -14.723 -5.853 -0.055 2.298 3.621 1.692 0.727 2.966 0.268 -1.103 -4.562 z m 82.52 13.18 0.159 0.92 0.627 -0.907 -0.786 -0.014 z m -4.882 -0.65 -0.657 2.698 0.858 -1.689 -0.202 -1.01 z m -105.24 -23.566 0.095 -0.435 0.002 -0.087 -0.096 0.523 z m 104.31 21.541 0.037 0.394 0.262 0.004 -0.299 -0.398 z m -0.751 0.512 -0.16 -0.876 -0.31 0.257 0.47 0.62 z m 5.913 -0.906 0.009 -0.48 -0.353 0.213 0.345 0.268 z m -5.438 -1.358 -0.063 1.178 0.45 -0.779 -0.386 -0.4 z m -9.09 -2.512 0.138 -0.391 -0.088 -0.002 -0.05 0.392 z m -63.34 -18.581 0.275 -0.738 -0.133 0.085 -0.142 0.653 z m 0.501 -1.215 -0.259 -0.179 -0.002 0.131 0.261 0.048 z m 5.428 -3.273 0.003 -0.175 -0.043 -0.044 0.04 0.219 z m 0.053 -0.567 -0.083 -0.264 -0.044 0.043 0.127 0.221 z m 2.285 -3.413 0.045 -0.087 -0.219 0.04 0.174 0.047 z m 0.74 0.187 -0.564 -0.228 0.041 0.132 0.523 0.096 z m -0.777 -0.537 0.003 -0.218 -0.178 0.215 0.175 0.003 z m -20.13 -5.537 -0.121 -0.614 -0.169 -0.352 0.29 0.966 z m 1.963 -2.457 0.042 0.088 0.173 0.09 -0.215 -0.178 z m -3.531 -0.452 -0.941 -1.195 0.772 0.887 0.17 0.309 z m -2.063 -2 -0.132 0.041 0.348 0.093 -0.216 -0.135 z m 0.33 -1.436 -0.043 -0.044 0.043 0.044 0 0 z m -0.259 -0.179 -0.043 -0.0001 0.26 0.135 -0.216 -0.135 z m 33.435 9.561 -1.4 0.108 0.822 0.451 0.577 -0.558 z m -34.883 -11.769 -1.528 2.552 0.631 1.452 3.142 0.227 2.946 4.069 4.367 0.117 -0.592 -1.146 -3.844 -2.642 -0.878 -2.33 -2.106 0.533 -2.137 -2.832 z m 22.27 0.592 0.047 -0.218 -0.088 0.042 0.042 0.175 z m -6.536 -14 -0.173 -0.134 0.084 0.176 0.088 -0.042 z m 3.824 1.244 0.397 -0.212 -0.131 -0.002 -0.266 0.214 z m 2.68 -0.872 0.352 -0.125 1.188 -0.504 -1.54 0.629 z m 4.658 -1.626 0.222 -0.215 -0.309 0.17 0.087 0.045 z m 0.658 -0.164 0.706 -0.425 -0.659 0.207 -0.047 0.218 z m 1.892 -0.798 -0.657 0.12 0.042 0.088 0.615 -0.208 z m 0.833 -0.161 0 0 -0.087 -0.002 0.087 0.002 z m 87.26 -19.07 -0.428 -0.531 -0.907 -0.627 1.335 1.158 z m -71.888 -9.03 1.296 -1.726 -0.71 0.643 -0.586 1.082 z m 1.738 -2.024 0.625 -0.776 -0.309 0.17 -0.316 0.606 z m 0.936 -1.12 0.844 -0.86 -0.53 0.341 -0.315 0.519 z m 43.727 2.787 0.687 0.711 0.306 0.006 -0.993 -0.716 z m -21.958 -11.378 -4.216 3.905 -1.717 0.801 -3.359 -0.318 -0.117 -0.832 -3.437 1.734 0.256 2.975 -0.915 -0.146 1.043 -2.298 -5.15 2.273 -1.6 -0.988 -4.748 4.376 -1.948 4.118 -3.886 2.469 -3.1 -0.096 -3.391 -1.018 -3.308 4.488 2.829 3.237 3.881 5.657 0.227 4.678 7.07 2.74 -1.313 2.774 1.193 1.811 1.191 -0.679 3.12 1.494 -2.892 0.519 -2.988 -1.579 1.219 2.86 -2.385 1.533 -7.895 -3.365 2.089 -2.106 -1.458 -1.641 -5.96 1.08 -8.922 3.17 0.687 3.245 4.234 2.823 -2.454 0.439 0.257 2.931 2.997 3.633 1.382 0.941 2.936 -0.519 3.769 1.898 1.566 0.376 -0.109 1.265 1.555 -1.547 2.635 -0.83 0.583 -0.908 1.474 0.68 0.98 -1.119 0.956 2.899 -1.152 0.985 -1.17 -0.544 -0.893 1.165 1.309 0.066 0.487 4.814 -0.774 1.866 -5.766 -0.053 0.035 0.525 -3.055 2.439 -3.847 0.154 -0.268 -2.233 -1.747 -0.029 -0.026 1.529 -1.748 0.014 -0.955 4.833 -0.811 -1.106 -4.473 3.595 0.326 1.403 -1.613 -0.202 -0.111 6.595 2.256 0.955 -0.97 0.552 2.286 1.742 4.126 1.424 -1.252 1.726 -0.059 -1.661 -1.752 0.276 -1.488 -2.471 -3.796 2.295 1.826 0.511 -0.721 1.299 3.697 6.178 3.446 0.32 2.412 -0.527 1.261 -2.251 0.949 0.715 -0.104 3.581 0.563 2.893 -1.795 2.81 0.556 3.286 -2.369 0.572 1.859 1.167 6.862 -2.812 1.925 2.435 1.349 0.328 1.205 3.69 1.444 -0.151 -0.261 -2.669 3.069 1.974 5.092 -1.444 1.694 -2.025 -2.025 3.505 -2.17 1.755 0.359 2.02 -1.372 1.025 -1.12 4.263 -3.217 1.65 -2.132 2.105 -4.193 2.551 -1.357 0.152 -3.976 2.642 0.16 3.498 -4.718 -2.613 -4.432 1.193 -4.471 3.464 -1.806 0.887 -0.681 1.518 3.98 -0.239 0.694 -2.304 0.449 1.886 4.209 -3.512 1.264 0.196 -0.944 1.601 4.561 -1.059 0.464 1.013 2.875 -2.136 3.097 0.27 5.575 -4.188 5.23 -1.834 4.802 -2.366 2.02 -3.112 2.383 -1.402 0.82 0.625 3.979 -2.817 0.827 0.189 4.926 -4.592 0.384 -2.047 -2.556 -1.31 0.744 -2.652 2.838 -2.53 3.117 -3.53 -0.603 -0.491 2.503 -0.744 4.02 -5.088 3.922 -2.031 2.961 0.574 -0.449 0.735 1.764 1.602 -1.843 0.493 -1.333 -1.289 -4.671 2.412 0.219 2.581 -2.105 3.066 -0.876 2.738 1.493 2.122 -0.916 -0.059 -0.701 2.697 2.579 -0.088 6.979 -4.557 1.378 -1.419 3.841 0.196 1.33 -1.157 1.317 -2.992 -2 -0.383 1.021 -0.988 -0.365 -1.666 0.775 -1.909 2.025 1.694 0.28 -1.087 3.226 0.404 2.483 3.01 1.227 -0.242 0.794 2.154 1.905 1.037 2.111 -0.838 -0.676 1.256 3.801 2.598 5.339 -0.566 4.565 1.343 1.555 -1.547 2.214 3.445 4.424 -0.712 0.882 2.112 -0.878 0.247 2.772 1.445 5.869 4.336 1.538 2.079 2.2 1.653 2.516 1.047 2.172 -1.886 -3.917 -3.473 3.533 0.321 1.072 3.819 1.405 -0.413 2.476 0.872 -2.155 -6.982 0.606 0.316 -0.471 -3.153 1.362 4.741 1.435 2.995 2.928 2.539 0.709 -0.6 1.433 3.126 3.01 0.138 0.092 2.317 -1.3 -0.633 0.295 3.238 1.373 1.508 6.066 5.563 -0.074 4.411 0.915 2.768 0.492 -3.268 2.644 -1.354 1.661 2.562 0.75 7.352 1.62 -0.191 2.166 -4.114 -0.727 -6.128 -0.338 -0.661 -7.02 -3.22 -1.44 -0.112 -1.668 -2.125 -0.41 -1.58 -4.979 -7.903 -3.968 -5.659 -2.12 -1.259 -3.731 -4.169 -0.662 -2.195 -1.121 -0.893 -4.202 3.075 -1.532 2.77 -2.733 1.439 -0.664 -2.064 -4.471 -4.313 -0.504 -1.232 -2.113 -1.652 -3.57 -0.715 -1.776 -0.904 -2.487 -0.216 -0.236 -84.89 -1.441 -0.068 -4.738 -4.055 -1.172 -0.457 -6.874 0.933 -1.718 -1.733 -4.233 -0.246 -2.125 -0.909 -5.235 -3.01 -5.772 0.296 -2.481 -0.566 0.847 -1.034 -2.532 -0.13 0.361 -3.314 -4.27 -0.683 -2.452 0.308 -0.174 -2.668 -0.951 -0.584 -3.288 3.265 1.707 -2.811 -2.208 -3.794 z',\r\n AK: 'M123.3 185.8l0.3 1.8-0.3 1.5-0.5-0.1 0.4-1.5-0.6-1.5 0.7-0.2z m23.9 27.1l0.2 0.6-0.8 0.5-0.5-0.6 1.1-0.5z m-6.7-8.7l-0.2 0.8-1.1 0.5-1.3-0.4 0.9-0.6 0.2-2.6 0.7 0.1 1 1-0.2 1.2z m2.1 5l-1.1-0.4-0.1-1 1.6 0.3 1.3-0.7 0.3 0.9-1.2 0.2-0.8 0.7z m4.8 1.6l-1.3 0.3 0.3 1-0.8 0.5-0.9 0.1-1.9-2.1 0.9 0.1 0.5-0.7 1 0.5 1-0.8 1.2 1.1z m-17.9-21.3l-0.4-1.3 0.5-0.5 1.3 0.5 0 1.3-1.4 0z m21.2 23.9l-0.9 0.3-0.2-1 0.9-0.7 0.6 0.5-0.4 0.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.1-1.6-9.5-0.3-7.2-0.3-8.7-0.5-13-0.9-8.9-0.7 2-23.3 0.2 0 0.9-11 11.6 1 11.4 0.7 7.5 0.4 7.6 0.3 7.6 0.3 7.6 0.2 7.6 0z',\r\n};\r\n","export const stateSpecific = {\r\n AB: {\r\n name: 'Alberta',\r\n },\r\n AK: {\r\n name: 'Alaska',\r\n },\r\n AL: {\r\n name: 'Alabama',\r\n },\r\n AR: {\r\n name: 'Arkansas',\r\n },\r\n AZ: {\r\n name: 'Arizona',\r\n },\r\n BC: {\r\n name: 'British Columbia',\r\n },\r\n CA: {\r\n name: 'California',\r\n },\r\n CO: {\r\n name: 'Colorado',\r\n },\r\n CT: {\r\n name: 'Connecticut',\r\n },\r\n DC: {\r\n name: 'District of Columbia',\r\n },\r\n DE: {\r\n name: 'Delaware',\r\n },\r\n FL: {\r\n name: 'Florida',\r\n },\r\n GA: {\r\n name: 'Georgia',\r\n },\r\n HI: {\r\n name: 'Hawaii',\r\n hide: 'yes',\r\n },\r\n IA: {\r\n name: 'Iowa',\r\n },\r\n ID: {\r\n name: 'Idaho',\r\n },\r\n IL: {\r\n name: 'Illinois',\r\n },\r\n IN: {\r\n name: 'Indiana',\r\n },\r\n KS: {\r\n name: 'Kansas',\r\n },\r\n KY: {\r\n name: 'Kentucky',\r\n },\r\n LA: {\r\n name: 'Louisiana',\r\n },\r\n MA: {\r\n name: 'Massachusetts',\r\n },\r\n MB: {\r\n name: 'Manitoba',\r\n },\r\n MD: {\r\n name: 'Maryland',\r\n },\r\n ME: {\r\n name: 'Maine',\r\n },\r\n MI: {\r\n name: 'Michigan',\r\n },\r\n MN: {\r\n name: 'Minnesota',\r\n },\r\n MO: {\r\n name: 'Missouri',\r\n },\r\n MS: {\r\n name: 'Mississippi',\r\n },\r\n MT: {\r\n name: 'Montana',\r\n },\r\n MX: {\r\n name: 'Mexico',\r\n hide: 'yes',\r\n },\r\n NB: {\r\n name: 'New Brunswick',\r\n },\r\n NC: {\r\n name: 'North Carolina',\r\n },\r\n ND: {\r\n name: 'North Dakota',\r\n },\r\n NE: {\r\n name: 'Nebraska',\r\n },\r\n NH: {\r\n name: 'New Hampshire',\r\n },\r\n NJ: {\r\n name: 'New Jersey',\r\n },\r\n NL: {\r\n name: 'Newfoundland and Labrador',\r\n },\r\n NM: {\r\n name: 'New Mexico',\r\n },\r\n NS: {\r\n name: 'Nova Scotia',\r\n },\r\n NT: {\r\n name: 'Northwest Territories',\r\n },\r\n NU: {\r\n name: 'Nunavut',\r\n },\r\n NV: {\r\n name: 'Nevada',\r\n },\r\n NY: {\r\n name: 'New York',\r\n },\r\n OH: {\r\n name: 'Ohio',\r\n },\r\n OK: {\r\n name: 'Oklahoma',\r\n },\r\n ON: {\r\n name: 'Ontario',\r\n },\r\n OR: {\r\n name: 'Oregon',\r\n },\r\n PA: {\r\n name: 'Pennsylvania',\r\n },\r\n PE: {\r\n name: 'Prince Edward Island',\r\n },\r\n QC: {\r\n name: 'Québec',\r\n },\r\n RI: {\r\n name: 'Rhode Island',\r\n },\r\n SC: {\r\n name: 'South Carolina',\r\n },\r\n SD: {\r\n name: 'South Dakota',\r\n },\r\n SK: {\r\n name: 'Saskatchewan',\r\n },\r\n TN: {\r\n name: 'Tennessee',\r\n },\r\n TX: {\r\n name: 'Texas',\r\n },\r\n UT: {\r\n name: 'Utah',\r\n },\r\n VA: {\r\n name: 'Virginia',\r\n },\r\n VT: {\r\n name: 'Vermont',\r\n },\r\n WA: {\r\n name: 'Washington',\r\n },\r\n WI: {\r\n name: 'Wisconsin',\r\n },\r\n WV: {\r\n name: 'West Virginia',\r\n },\r\n WY: {\r\n name: 'Wyoming',\r\n },\r\n YT: {\r\n name: 'Yukon',\r\n },\r\n};\r\n","/* @TODO: move into github repo MEM-1823 */\r\n/* Raphaël 2.1.2 (tweaked, always global)- JavaScript Vector Library, Copyright © 2008-2016 Dmitry Baranovskiy (http://raphaeljs.com), Copyright © 2008-2016 Sencha Labs (http://sencha.com), Licensed under the MIT (http://raphaeljs.com/license.html) license. */\r\n\r\n(function(glob, factory) {\r\n glob.eve = factory();\r\n})(window, function() {\r\n var version = '0.4.2',\r\n has = 'hasOwnProperty',\r\n separator = /[\\.\\/]/,\r\n wildcard = '*',\r\n fun = function() {},\r\n numsort = function(a, b) {\r\n return a - b;\r\n },\r\n current_event,\r\n stop,\r\n events = {\r\n n: {},\r\n },\r\n eve = function(name, scope) {\r\n name = String(name);\r\n var e = events,\r\n oldstop = stop,\r\n args = Array.prototype.slice.call(arguments, 2),\r\n listeners = eve.listeners(name),\r\n z = 0,\r\n f = false,\r\n l,\r\n indexed = [],\r\n queue = {},\r\n out = [],\r\n ce = current_event,\r\n errors = [];\r\n current_event = name;\r\n stop = 0;\r\n for (var i = 0, ii = listeners.length; i < ii; i++) {\r\n if ('zIndex' in listeners[i]) {\r\n indexed.push(listeners[i].zIndex);\r\n if (listeners[i].zIndex < 0) {\r\n queue[listeners[i].zIndex] = listeners[i];\r\n }\r\n }\r\n }\r\n indexed.sort(numsort);\r\n while (indexed[z] < 0) {\r\n l = queue[indexed[z++]];\r\n out.push(l.apply(scope, args));\r\n if (stop) {\r\n stop = oldstop;\r\n return out;\r\n }\r\n }\r\n for (i = 0; i < ii; i++) {\r\n l = listeners[i];\r\n if ('zIndex' in l) {\r\n if (l.zIndex == indexed[z]) {\r\n out.push(l.apply(scope, args));\r\n if (stop) {\r\n break;\r\n }\r\n do {\r\n z++;\r\n l = queue[indexed[z]];\r\n l && out.push(l.apply(scope, args));\r\n if (stop) {\r\n break;\r\n }\r\n } while (l);\r\n } else {\r\n queue[l.zIndex] = l;\r\n }\r\n } else {\r\n out.push(l.apply(scope, args));\r\n if (stop) {\r\n break;\r\n }\r\n }\r\n }\r\n stop = oldstop;\r\n current_event = ce;\r\n return out.length ? out : null;\r\n };\r\n eve._events = events;\r\n eve.listeners = function(name) {\r\n var names = name.split(separator),\r\n e = events,\r\n item,\r\n items,\r\n k,\r\n i,\r\n ii,\r\n j,\r\n jj,\r\n nes,\r\n es = [e],\r\n out = [];\r\n for (i = 0, ii = names.length; i < ii; i++) {\r\n nes = [];\r\n for (j = 0, jj = es.length; j < jj; j++) {\r\n e = es[j].n;\r\n items = [e[names[i]], e[wildcard]];\r\n k = 2;\r\n while (k--) {\r\n item = items[k];\r\n if (item) {\r\n nes.push(item);\r\n out = out.concat(item.f || []);\r\n }\r\n }\r\n }\r\n es = nes;\r\n }\r\n return out;\r\n };\r\n eve.on = function(name, f) {\r\n name = String(name);\r\n if (typeof f != 'function') {\r\n return function() {};\r\n }\r\n var names = name.split(separator),\r\n e = events;\r\n for (var i = 0, ii = names.length; i < ii; i++) {\r\n e = e.n;\r\n e =\r\n (e.hasOwnProperty(names[i]) && e[names[i]]) ||\r\n (e[names[i]] = {\r\n n: {},\r\n });\r\n }\r\n e.f = e.f || [];\r\n for (i = 0, ii = e.f.length; i < ii; i++) {\r\n if (e.f[i] == f) {\r\n return fun;\r\n }\r\n }\r\n e.f.push(f);\r\n return function(zIndex) {\r\n if (+zIndex == +zIndex) {\r\n f.zIndex = +zIndex;\r\n }\r\n };\r\n };\r\n eve.f = function(event) {\r\n var attrs = [].slice.call(arguments, 1);\r\n return function() {\r\n eve.apply(null, [event, null].concat(attrs).concat([].slice.call(arguments, 0)));\r\n };\r\n };\r\n eve.stop = function() {\r\n stop = 1;\r\n };\r\n eve.nt = function(subname) {\r\n if (subname) {\r\n return new RegExp('(?:\\\\.|\\\\/|^)' + subname + '(?:\\\\.|\\\\/|$)').test(current_event);\r\n }\r\n return current_event;\r\n };\r\n eve.nts = function() {\r\n return current_event.split(separator);\r\n };\r\n eve.off = eve.unbind = function(name, f) {\r\n if (!name) {\r\n eve._events = events = {\r\n n: {},\r\n };\r\n return;\r\n }\r\n var names = name.split(separator),\r\n e,\r\n key,\r\n splice,\r\n i,\r\n ii,\r\n j,\r\n jj,\r\n cur = [events];\r\n for (i = 0, ii = names.length; i < ii; i++) {\r\n for (j = 0; j < cur.length; j += splice.length - 2) {\r\n splice = [j, 1];\r\n e = cur[j].n;\r\n if (names[i] != wildcard) {\r\n if (e[names[i]]) {\r\n splice.push(e[names[i]]);\r\n }\r\n } else {\r\n for (key in e) {\r\n if (e[has](key)) {\r\n splice.push(e[key]);\r\n }\r\n }\r\n }\r\n cur.splice.apply(cur, splice);\r\n }\r\n }\r\n for (i = 0, ii = cur.length; i < ii; i++) {\r\n e = cur[i];\r\n while (e.n) {\r\n if (f) {\r\n if (e.f) {\r\n for (j = 0, jj = e.f.length; j < jj; j++) {\r\n if (e.f[j] == f) {\r\n e.f.splice(j, 1);\r\n break;\r\n }\r\n }\r\n !e.f.length && delete e.f;\r\n }\r\n for (key in e.n) {\r\n if (e.n[has](key) && e.n[key].f) {\r\n var funcs = e.n[key].f;\r\n for (j = 0, jj = funcs.length; j < jj; j++) {\r\n if (funcs[j] == f) {\r\n funcs.splice(j, 1);\r\n break;\r\n }\r\n }\r\n !funcs.length && delete e.n[key].f;\r\n }\r\n }\r\n } else {\r\n delete e.f;\r\n for (key in e.n) {\r\n if (e.n[has](key) && e.n[key].f) {\r\n delete e.n[key].f;\r\n }\r\n }\r\n }\r\n e = e.n;\r\n }\r\n }\r\n };\r\n eve.once = function(name, f) {\r\n var f2 = function() {\r\n eve.unbind(name, f2);\r\n return f.apply(this, arguments);\r\n };\r\n return eve.on(name, f2);\r\n };\r\n eve.version = version;\r\n eve.toString = function() {\r\n return 'You are running Eve ' + version;\r\n };\r\n return eve;\r\n});\r\n(function(glob, factory) {\r\n factory(glob, glob.eve);\r\n})(window, function(window, eve) {\r\n function R(first) {\r\n if (R.is(first, 'function')) {\r\n return loaded ? first() : eve.on('raphael.DOMload', first);\r\n } else if (R.is(first, array)) {\r\n return R._engine.create[apply](R, first.splice(0, 3 + R.is(first[0], nu))).add(first);\r\n } else {\r\n var args = Array.prototype.slice.call(arguments, 0);\r\n if (R.is(args[args.length - 1], 'function')) {\r\n var f = args.pop();\r\n return loaded\r\n ? f.call(R._engine.create[apply](R, args))\r\n : eve.on('raphael.DOMload', function() {\r\n f.call(R._engine.create[apply](R, args));\r\n });\r\n } else {\r\n return R._engine.create[apply](R, arguments);\r\n }\r\n }\r\n }\r\n R.version = '2.1.0';\r\n R.eve = eve;\r\n var loaded,\r\n separator = /[, ]+/,\r\n elements = {\r\n circle: 1,\r\n rect: 1,\r\n path: 1,\r\n ellipse: 1,\r\n text: 1,\r\n image: 1,\r\n },\r\n formatrg = /\\{(\\d+)\\}/g,\r\n proto = 'prototype',\r\n has = 'hasOwnProperty',\r\n g = {\r\n doc: document,\r\n win: window,\r\n },\r\n oldRaphael = {\r\n was: Object.prototype[has].call(g.win, 'Raphael'),\r\n is: g.win.Raphael,\r\n },\r\n Paper = function() {\r\n this.ca = this.customAttributes = {};\r\n },\r\n paperproto,\r\n appendChild = 'appendChild',\r\n apply = 'apply',\r\n concat = 'concat',\r\n supportsTouch = 'ontouchstart' in g.win || (g.win.DocumentTouch && g.doc instanceof DocumentTouch),\r\n E = '',\r\n S = ' ',\r\n Str = String,\r\n split = 'split',\r\n events = 'click dblclick mousedown mousemove mouseout mouseover mouseup touchstart touchmove touchend touchcancel'[\r\n split\r\n ](S),\r\n touchMap = {\r\n mousedown: 'touchstart',\r\n mousemove: 'touchmove',\r\n mouseup: 'touchend',\r\n },\r\n lowerCase = Str.prototype.toLowerCase,\r\n math = Math,\r\n mmax = math.max,\r\n mmin = math.min,\r\n abs = math.abs,\r\n pow = math.pow,\r\n PI = math.PI,\r\n nu = 'number',\r\n string = 'string',\r\n array = 'array',\r\n toString = 'toString',\r\n fillString = 'fill',\r\n objectToString = Object.prototype.toString,\r\n paper = {},\r\n push = 'push',\r\n ISURL = (R._ISURL = /^url\\(['\"]?([^\\)]+?)['\"]?\\)$/i),\r\n colourRegExp = /^\\s*((#[a-f\\d]{6})|(#[a-f\\d]{3})|rgba?\\(\\s*([\\d\\.]+%?\\s*,\\s*[\\d\\.]+%?\\s*,\\s*[\\d\\.]+%?(?:\\s*,\\s*[\\d\\.]+%?)?)\\s*\\)|hsba?\\(\\s*([\\d\\.]+(?:deg|\\xb0|%)?\\s*,\\s*[\\d\\.]+%?\\s*,\\s*[\\d\\.]+(?:%?\\s*,\\s*[\\d\\.]+)?)%?\\s*\\)|hsla?\\(\\s*([\\d\\.]+(?:deg|\\xb0|%)?\\s*,\\s*[\\d\\.]+%?\\s*,\\s*[\\d\\.]+(?:%?\\s*,\\s*[\\d\\.]+)?)%?\\s*\\))\\s*$/i,\r\n isnan = {\r\n NaN: 1,\r\n Infinity: 1,\r\n '-Infinity': 1,\r\n },\r\n bezierrg = /^(?:cubic-)?bezier\\(([^,]+),([^,]+),([^,]+),([^\\)]+)\\)/,\r\n round = math.round,\r\n setAttribute = 'setAttribute',\r\n toFloat = parseFloat,\r\n toInt = parseInt,\r\n upperCase = Str.prototype.toUpperCase,\r\n availableAttrs = (R._availableAttrs = {\r\n 'arrow-end': 'none',\r\n 'arrow-start': 'none',\r\n blur: 0,\r\n 'clip-rect': '0 0 1e9 1e9',\r\n cursor: 'default',\r\n cx: 0,\r\n cy: 0,\r\n fill: '#fff',\r\n 'fill-opacity': 1,\r\n font: '10px \"Arial\"',\r\n 'font-family': '\"Arial\"',\r\n 'font-size': '10',\r\n 'font-style': 'normal',\r\n 'font-weight': 400,\r\n gradient: 0,\r\n height: 0,\r\n href: 'http://raphaeljs.com/',\r\n 'letter-spacing': 0,\r\n opacity: 1,\r\n path: 'M0,0',\r\n r: 0,\r\n rx: 0,\r\n ry: 0,\r\n src: '',\r\n stroke: '#000',\r\n 'stroke-dasharray': '',\r\n 'stroke-linecap': 'butt',\r\n 'stroke-linejoin': 'butt',\r\n 'stroke-miterlimit': 0,\r\n 'stroke-opacity': 1,\r\n 'stroke-width': 1,\r\n target: '_blank',\r\n 'text-anchor': 'middle',\r\n title: 'Raphael',\r\n transform: '',\r\n width: 0,\r\n x: 0,\r\n y: 0,\r\n }),\r\n availableAnimAttrs = (R._availableAnimAttrs = {\r\n blur: nu,\r\n 'clip-rect': 'csv',\r\n cx: nu,\r\n cy: nu,\r\n fill: 'colour',\r\n 'fill-opacity': nu,\r\n 'font-size': nu,\r\n height: nu,\r\n opacity: nu,\r\n path: 'path',\r\n r: nu,\r\n rx: nu,\r\n ry: nu,\r\n stroke: 'colour',\r\n 'stroke-opacity': nu,\r\n 'stroke-width': nu,\r\n transform: 'transform',\r\n width: nu,\r\n x: nu,\r\n y: nu,\r\n }),\r\n whitespace = /[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]/g,\r\n commaSpaces = /[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*,[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*/,\r\n hsrg = {\r\n hs: 1,\r\n rg: 1,\r\n },\r\n p2s = /,?([achlmqrstvxz]),?/gi,\r\n pathCommand = /([achlmrqstvz])[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*,?[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*)+)/gi,\r\n tCommand = /([rstm])[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029,]*((-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*,?[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*)+)/gi,\r\n pathValues = /(-?\\d*\\.?\\d*(?:e[\\-+]?\\d+)?)[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*,?[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*/gi,\r\n radial_gradient = (R._radial_gradient = /^r(?:\\(([^,]+?)[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*,[\\x09\\x0a\\x0b\\x0c\\x0d\\x20\\xa0\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\u2028\\u2029]*([^\\)]+?)\\))?/),\r\n eldata = {},\r\n sortByKey = function(a, b) {\r\n return a.key - b.key;\r\n },\r\n sortByNumber = function(a, b) {\r\n return toFloat(a) - toFloat(b);\r\n },\r\n fun = function() {},\r\n pipe = function(x) {\r\n return x;\r\n },\r\n rectPath = (R._rectPath = function(x, y, w, h, r) {\r\n if (r) {\r\n return [\r\n ['M', x + r, y],\r\n ['l', w - r * 2, 0],\r\n ['a', r, r, 0, 0, 1, r, r],\r\n ['l', 0, h - r * 2],\r\n ['a', r, r, 0, 0, 1, -r, r],\r\n ['l', r * 2 - w, 0],\r\n ['a', r, r, 0, 0, 1, -r, -r],\r\n ['l', 0, r * 2 - h],\r\n ['a', r, r, 0, 0, 1, r, -r],\r\n ['z'],\r\n ];\r\n }\r\n return [['M', x, y], ['l', w, 0], ['l', 0, h], ['l', -w, 0], ['z']];\r\n }),\r\n ellipsePath = function(x, y, rx, ry) {\r\n if (ry == null) {\r\n ry = rx;\r\n }\r\n return [['M', x, y], ['m', 0, -ry], ['a', rx, ry, 0, 1, 1, 0, 2 * ry], ['a', rx, ry, 0, 1, 1, 0, -2 * ry], ['z']];\r\n },\r\n getPath = (R._getPath = {\r\n path: function(el) {\r\n return el.attr('path');\r\n },\r\n circle: function(el) {\r\n var a = el.attrs;\r\n return ellipsePath(a.cx, a.cy, a.r);\r\n },\r\n ellipse: function(el) {\r\n var a = el.attrs;\r\n return ellipsePath(a.cx, a.cy, a.rx, a.ry);\r\n },\r\n rect: function(el) {\r\n var a = el.attrs;\r\n return rectPath(a.x, a.y, a.width, a.height, a.r);\r\n },\r\n image: function(el) {\r\n var a = el.attrs;\r\n return rectPath(a.x, a.y, a.width, a.height);\r\n },\r\n text: function(el) {\r\n var bbox = el._getBBox();\r\n return rectPath(bbox.x, bbox.y, bbox.width, bbox.height);\r\n },\r\n set: function(el) {\r\n var bbox = el._getBBox();\r\n return rectPath(bbox.x, bbox.y, bbox.width, bbox.height);\r\n },\r\n }),\r\n mapPath = (R.mapPath = function(path, matrix) {\r\n if (!matrix) {\r\n return path;\r\n }\r\n var x, y, i, j, ii, jj, pathi;\r\n path = path2curve(path);\r\n for (i = 0, ii = path.length; i < ii; i++) {\r\n pathi = path[i];\r\n for (j = 1, jj = pathi.length; j < jj; j += 2) {\r\n x = matrix.x(pathi[j], pathi[j + 1]);\r\n y = matrix.y(pathi[j], pathi[j + 1]);\r\n pathi[j] = x;\r\n pathi[j + 1] = y;\r\n }\r\n }\r\n return path;\r\n });\r\n R._g = g;\r\n R.type =\r\n g.win.SVGAngle || g.doc.implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1')\r\n ? 'SVG'\r\n : 'VML';\r\n if (R.type == 'VML') {\r\n var d = g.doc.createElement('div'),\r\n b;\r\n d.innerHTML = '';\r\n b = d.firstChild;\r\n b.style.behavior = 'url(#default#VML)';\r\n if (!(b && typeof b.adj == 'object')) {\r\n return (R.type = E);\r\n }\r\n d = null;\r\n }\r\n R.svg = !(R.vml = R.type == 'VML');\r\n R._Paper = Paper;\r\n R.fn = paperproto = Paper.prototype = R.prototype;\r\n R._id = 0;\r\n R._oid = 0;\r\n R.is = function(o, type) {\r\n type = lowerCase.call(type);\r\n if (type == 'finite') {\r\n return !isnan[has](+o);\r\n }\r\n if (type == 'array') {\r\n return o instanceof Array;\r\n }\r\n return (\r\n (type == 'null' && o === null) ||\r\n (type == typeof o && o !== null) ||\r\n (type == 'object' && o === Object(o)) ||\r\n (type == 'array' && Array.isArray && Array.isArray(o)) ||\r\n objectToString\r\n .call(o)\r\n .slice(8, -1)\r\n .toLowerCase() == type\r\n );\r\n };\r\n\r\n function clone(obj) {\r\n if (typeof obj == 'function' || Object(obj) !== obj) {\r\n return obj;\r\n }\r\n var res = new obj.constructor();\r\n for (var key in obj) {\r\n if (obj[has](key)) {\r\n res[key] = clone(obj[key]);\r\n }\r\n }\r\n return res;\r\n }\r\n R.angle = function(x1, y1, x2, y2, x3, y3) {\r\n if (x3 == null) {\r\n var x = x1 - x2,\r\n y = y1 - y2;\r\n if (!x && !y) {\r\n return 0;\r\n }\r\n return (180 + (math.atan2(-y, -x) * 180) / PI + 360) % 360;\r\n } else {\r\n return R.angle(x1, y1, x3, y3) - R.angle(x2, y2, x3, y3);\r\n }\r\n };\r\n R.rad = function(deg) {\r\n return ((deg % 360) * PI) / 180;\r\n };\r\n R.deg = function(rad) {\r\n return ((rad * 180) / PI) % 360;\r\n };\r\n R.snapTo = function(values, value, tolerance) {\r\n tolerance = R.is(tolerance, 'finite') ? tolerance : 10;\r\n if (R.is(values, array)) {\r\n var i = values.length;\r\n while (i--) {\r\n if (abs(values[i] - value) <= tolerance) {\r\n return values[i];\r\n }\r\n }\r\n } else {\r\n values = +values;\r\n var rem = value % values;\r\n if (rem < tolerance) {\r\n return value - rem;\r\n }\r\n if (rem > values - tolerance) {\r\n return value - rem + values;\r\n }\r\n }\r\n return value;\r\n };\r\n var createUUID = (R.createUUID = (function(uuidRegEx, uuidReplacer) {\r\n return function() {\r\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(uuidRegEx, uuidReplacer).toUpperCase();\r\n };\r\n })(/[xy]/g, function(c) {\r\n var r = (math.random() * 16) | 0,\r\n v = c == 'x' ? r : (r & 3) | 8;\r\n return v.toString(16);\r\n }));\r\n R.setWindow = function(newwin) {\r\n eve('raphael.setWindow', R, g.win, newwin);\r\n g.win = newwin;\r\n g.doc = g.win.document;\r\n if (R._engine.initWin) {\r\n R._engine.initWin(g.win);\r\n }\r\n };\r\n var toHex = function(color) {\r\n if (R.vml) {\r\n var trim = /^\\s+|\\s+$/g;\r\n var bod;\r\n try {\r\n var docum = new ActiveXObject('htmlfile');\r\n docum.write('');\r\n docum.close();\r\n bod = docum.body;\r\n } catch (e) {\r\n bod = createPopup().document.body;\r\n }\r\n var range = bod.createTextRange();\r\n toHex = cacher(function(color) {\r\n try {\r\n bod.style.color = Str(color).replace(trim, E);\r\n var value = range.queryCommandValue('ForeColor');\r\n value = ((value & 255) << 16) | (value & 65280) | ((value & 16711680) >>> 16);\r\n return '#' + ('000000' + value.toString(16)).slice(-6);\r\n } catch (e) {\r\n return 'none';\r\n }\r\n });\r\n } else {\r\n var i = g.doc.createElement('i');\r\n i.title = 'Rapha\\xEBl Colour Picker';\r\n i.style.display = 'none';\r\n g.doc.body.appendChild(i);\r\n toHex = cacher(function(color) {\r\n i.style.color = color;\r\n return g.doc.defaultView.getComputedStyle(i, E).getPropertyValue('color');\r\n });\r\n }\r\n return toHex(color);\r\n },\r\n hsbtoString = function() {\r\n return 'hsb(' + [this.h, this.s, this.b] + ')';\r\n },\r\n hsltoString = function() {\r\n return 'hsl(' + [this.h, this.s, this.l] + ')';\r\n },\r\n rgbtoString = function() {\r\n return this.hex;\r\n },\r\n prepareRGB = function(r, g, b) {\r\n if (g == null && R.is(r, 'object') && 'r' in r && 'g' in r && 'b' in r) {\r\n b = r.b;\r\n g = r.g;\r\n r = r.r;\r\n }\r\n if (g == null && R.is(r, string)) {\r\n var clr = R.getRGB(r);\r\n r = clr.r;\r\n g = clr.g;\r\n b = clr.b;\r\n }\r\n if (r > 1 || g > 1 || b > 1) {\r\n r /= 255;\r\n g /= 255;\r\n b /= 255;\r\n }\r\n return [r, g, b];\r\n },\r\n packageRGB = function(r, g, b, o) {\r\n r *= 255;\r\n g *= 255;\r\n b *= 255;\r\n var rgb = {\r\n r: r,\r\n g: g,\r\n b: b,\r\n hex: R.rgb(r, g, b),\r\n toString: rgbtoString,\r\n };\r\n R.is(o, 'finite') && (rgb.opacity = o);\r\n return rgb;\r\n };\r\n R.color = function(clr) {\r\n var rgb;\r\n if (R.is(clr, 'object') && 'h' in clr && 's' in clr && 'b' in clr) {\r\n rgb = R.hsb2rgb(clr);\r\n clr.r = rgb.r;\r\n clr.g = rgb.g;\r\n clr.b = rgb.b;\r\n clr.hex = rgb.hex;\r\n } else if (R.is(clr, 'object') && 'h' in clr && 's' in clr && 'l' in clr) {\r\n rgb = R.hsl2rgb(clr);\r\n clr.r = rgb.r;\r\n clr.g = rgb.g;\r\n clr.b = rgb.b;\r\n clr.hex = rgb.hex;\r\n } else {\r\n if (R.is(clr, 'string')) {\r\n clr = R.getRGB(clr);\r\n }\r\n if (R.is(clr, 'object') && 'r' in clr && 'g' in clr && 'b' in clr) {\r\n rgb = R.rgb2hsl(clr);\r\n clr.h = rgb.h;\r\n clr.s = rgb.s;\r\n clr.l = rgb.l;\r\n rgb = R.rgb2hsb(clr);\r\n clr.v = rgb.b;\r\n } else {\r\n clr = {\r\n hex: 'none',\r\n };\r\n clr.r = clr.g = clr.b = clr.h = clr.s = clr.v = clr.l = -1;\r\n }\r\n }\r\n clr.toString = rgbtoString;\r\n return clr;\r\n };\r\n R.hsb2rgb = function(h, s, v, o) {\r\n if (this.is(h, 'object') && 'h' in h && 's' in h && 'b' in h) {\r\n v = h.b;\r\n s = h.s;\r\n h = h.h;\r\n o = h.o;\r\n }\r\n h *= 360;\r\n var R, G, B, X, C;\r\n h = (h % 360) / 60;\r\n C = v * s;\r\n X = C * (1 - abs((h % 2) - 1));\r\n R = G = B = v - C;\r\n h = ~~h;\r\n R += [C, X, 0, 0, X, C][h];\r\n G += [X, C, C, X, 0, 0][h];\r\n B += [0, 0, X, C, C, X][h];\r\n return packageRGB(R, G, B, o);\r\n };\r\n R.hsl2rgb = function(h, s, l, o) {\r\n if (this.is(h, 'object') && 'h' in h && 's' in h && 'l' in h) {\r\n l = h.l;\r\n s = h.s;\r\n h = h.h;\r\n }\r\n if (h > 1 || s > 1 || l > 1) {\r\n h /= 360;\r\n s /= 100;\r\n l /= 100;\r\n }\r\n h *= 360;\r\n var R, G, B, X, C;\r\n h = (h % 360) / 60;\r\n C = 2 * s * (l < 0.5 ? l : 1 - l);\r\n X = C * (1 - abs((h % 2) - 1));\r\n R = G = B = l - C / 2;\r\n h = ~~h;\r\n R += [C, X, 0, 0, X, C][h];\r\n G += [X, C, C, X, 0, 0][h];\r\n B += [0, 0, X, C, C, X][h];\r\n return packageRGB(R, G, B, o);\r\n };\r\n R.rgb2hsb = function(r, g, b) {\r\n b = prepareRGB(r, g, b);\r\n r = b[0];\r\n g = b[1];\r\n b = b[2];\r\n var H, S, V, C;\r\n V = mmax(r, g, b);\r\n C = V - mmin(r, g, b);\r\n H = C == 0 ? null : V == r ? (g - b) / C : V == g ? (b - r) / C + 2 : (r - g) / C + 4;\r\n H = (((H + 360) % 6) * 60) / 360;\r\n S = C == 0 ? 0 : C / V;\r\n return {\r\n h: H,\r\n s: S,\r\n b: V,\r\n toString: hsbtoString,\r\n };\r\n };\r\n R.rgb2hsl = function(r, g, b) {\r\n b = prepareRGB(r, g, b);\r\n r = b[0];\r\n g = b[1];\r\n b = b[2];\r\n var H, S, L, M, m, C;\r\n M = mmax(r, g, b);\r\n m = mmin(r, g, b);\r\n C = M - m;\r\n H = C == 0 ? null : M == r ? (g - b) / C : M == g ? (b - r) / C + 2 : (r - g) / C + 4;\r\n H = (((H + 360) % 6) * 60) / 360;\r\n L = (M + m) / 2;\r\n S = C == 0 ? 0 : L < 0.5 ? C / (2 * L) : C / (2 - 2 * L);\r\n return {\r\n h: H,\r\n s: S,\r\n l: L,\r\n toString: hsltoString,\r\n };\r\n };\r\n R._path2string = function() {\r\n return this.join(',').replace(p2s, '$1');\r\n };\r\n\r\n function repush(array, item) {\r\n for (var i = 0, ii = array.length; i < ii; i++) {\r\n if (array[i] === item) {\r\n return array.push(array.splice(i, 1)[0]);\r\n }\r\n }\r\n }\r\n\r\n function cacher(f, scope, postprocessor) {\r\n function newf() {\r\n var arg = Array.prototype.slice.call(arguments, 0),\r\n args = arg.join('\\u2400'),\r\n cache = (newf.cache = newf.cache || {}),\r\n count = (newf.count = newf.count || []);\r\n if (cache[has](args)) {\r\n repush(count, args);\r\n return postprocessor ? postprocessor(cache[args]) : cache[args];\r\n }\r\n count.length >= 1000 && delete cache[count.shift()];\r\n count.push(args);\r\n cache[args] = f[apply](scope, arg);\r\n return postprocessor ? postprocessor(cache[args]) : cache[args];\r\n }\r\n return newf;\r\n }\r\n var preload = (R._preload = function(src, f) {\r\n var img = g.doc.createElement('img');\r\n img.style.cssText = 'position:absolute;left:-9999em;top:-9999em';\r\n img.onload = function() {\r\n f.call(this);\r\n this.onload = null;\r\n g.doc.body.removeChild(this);\r\n };\r\n img.onerror = function() {\r\n g.doc.body.removeChild(this);\r\n };\r\n g.doc.body.appendChild(img);\r\n img.src = src;\r\n });\r\n\r\n function clrToString() {\r\n return this.hex;\r\n }\r\n R.getRGB = cacher(function(colour) {\r\n if (!colour || !!((colour = Str(colour)).indexOf('-') + 1)) {\r\n return {\r\n r: -1,\r\n g: -1,\r\n b: -1,\r\n hex: 'none',\r\n error: 1,\r\n toString: clrToString,\r\n };\r\n }\r\n if (colour == 'none') {\r\n return {\r\n r: -1,\r\n g: -1,\r\n b: -1,\r\n hex: 'none',\r\n toString: clrToString,\r\n };\r\n }\r\n !(hsrg[has](colour.toLowerCase().substring(0, 2)) || colour.charAt() == '#') && (colour = toHex(colour));\r\n var res,\r\n red,\r\n green,\r\n blue,\r\n opacity,\r\n t,\r\n values,\r\n rgb = colour.match(colourRegExp);\r\n if (rgb) {\r\n if (rgb[2]) {\r\n blue = toInt(rgb[2].substring(5), 16);\r\n green = toInt(rgb[2].substring(3, 5), 16);\r\n red = toInt(rgb[2].substring(1, 3), 16);\r\n }\r\n if (rgb[3]) {\r\n blue = toInt((t = rgb[3].charAt(3)) + t, 16);\r\n green = toInt((t = rgb[3].charAt(2)) + t, 16);\r\n red = toInt((t = rgb[3].charAt(1)) + t, 16);\r\n }\r\n if (rgb[4]) {\r\n values = rgb[4][split](commaSpaces);\r\n red = toFloat(values[0]);\r\n values[0].slice(-1) == '%' && (red *= 2.55);\r\n green = toFloat(values[1]);\r\n values[1].slice(-1) == '%' && (green *= 2.55);\r\n blue = toFloat(values[2]);\r\n values[2].slice(-1) == '%' && (blue *= 2.55);\r\n rgb[1].toLowerCase().slice(0, 4) == 'rgba' && (opacity = toFloat(values[3]));\r\n values[3] && values[3].slice(-1) == '%' && (opacity /= 100);\r\n }\r\n if (rgb[5]) {\r\n values = rgb[5][split](commaSpaces);\r\n red = toFloat(values[0]);\r\n values[0].slice(-1) == '%' && (red *= 2.55);\r\n green = toFloat(values[1]);\r\n values[1].slice(-1) == '%' && (green *= 2.55);\r\n blue = toFloat(values[2]);\r\n values[2].slice(-1) == '%' && (blue *= 2.55);\r\n (values[0].slice(-3) == 'deg' || values[0].slice(-1) == '\\xB0') && (red /= 360);\r\n rgb[1].toLowerCase().slice(0, 4) == 'hsba' && (opacity = toFloat(values[3]));\r\n values[3] && values[3].slice(-1) == '%' && (opacity /= 100);\r\n return R.hsb2rgb(red, green, blue, opacity);\r\n }\r\n if (rgb[6]) {\r\n values = rgb[6][split](commaSpaces);\r\n red = toFloat(values[0]);\r\n values[0].slice(-1) == '%' && (red *= 2.55);\r\n green = toFloat(values[1]);\r\n values[1].slice(-1) == '%' && (green *= 2.55);\r\n blue = toFloat(values[2]);\r\n values[2].slice(-1) == '%' && (blue *= 2.55);\r\n (values[0].slice(-3) == 'deg' || values[0].slice(-1) == '\\xB0') && (red /= 360);\r\n rgb[1].toLowerCase().slice(0, 4) == 'hsla' && (opacity = toFloat(values[3]));\r\n values[3] && values[3].slice(-1) == '%' && (opacity /= 100);\r\n return R.hsl2rgb(red, green, blue, opacity);\r\n }\r\n rgb = {\r\n r: red,\r\n g: green,\r\n b: blue,\r\n toString: clrToString,\r\n };\r\n rgb.hex = '#' + (16777216 | blue | (green << 8) | (red << 16)).toString(16).slice(1);\r\n R.is(opacity, 'finite') && (rgb.opacity = opacity);\r\n return rgb;\r\n }\r\n return {\r\n r: -1,\r\n g: -1,\r\n b: -1,\r\n hex: 'none',\r\n error: 1,\r\n toString: clrToString,\r\n };\r\n }, R);\r\n R.hsb = cacher(function(h, s, b) {\r\n return R.hsb2rgb(h, s, b).hex;\r\n });\r\n R.hsl = cacher(function(h, s, l) {\r\n return R.hsl2rgb(h, s, l).hex;\r\n });\r\n R.rgb = cacher(function(r, g, b) {\r\n return '#' + (16777216 | b | (g << 8) | (r << 16)).toString(16).slice(1);\r\n });\r\n R.getColor = function(value) {\r\n var start = (this.getColor.start = this.getColor.start || {\r\n h: 0,\r\n s: 1,\r\n b: value || 0.75,\r\n }),\r\n rgb = this.hsb2rgb(start.h, start.s, start.b);\r\n start.h += 0.075;\r\n if (start.h > 1) {\r\n start.h = 0;\r\n start.s -= 0.2;\r\n start.s <= 0 &&\r\n (this.getColor.start = {\r\n h: 0,\r\n s: 1,\r\n b: start.b,\r\n });\r\n }\r\n return rgb.hex;\r\n };\r\n R.getColor.reset = function() {\r\n delete this.start;\r\n };\r\n\r\n function catmullRom2bezier(crp, z) {\r\n var d = [];\r\n for (var i = 0, iLen = crp.length; iLen - 2 * !z > i; i += 2) {\r\n var p = [\r\n {\r\n x: +crp[i - 2],\r\n y: +crp[i - 1],\r\n },\r\n {\r\n x: +crp[i],\r\n y: +crp[i + 1],\r\n },\r\n {\r\n x: +crp[i + 2],\r\n y: +crp[i + 3],\r\n },\r\n {\r\n x: +crp[i + 4],\r\n y: +crp[i + 5],\r\n },\r\n ];\r\n if (z) {\r\n if (!i) {\r\n p[0] = {\r\n x: +crp[iLen - 2],\r\n y: +crp[iLen - 1],\r\n };\r\n } else if (iLen - 4 == i) {\r\n p[3] = {\r\n x: +crp[0],\r\n y: +crp[1],\r\n };\r\n } else if (iLen - 2 == i) {\r\n p[2] = {\r\n x: +crp[0],\r\n y: +crp[1],\r\n };\r\n p[3] = {\r\n x: +crp[2],\r\n y: +crp[3],\r\n };\r\n }\r\n } else {\r\n if (iLen - 4 == i) {\r\n p[3] = p[2];\r\n } else if (!i) {\r\n p[0] = {\r\n x: +crp[i],\r\n y: +crp[i + 1],\r\n };\r\n }\r\n }\r\n d.push([\r\n 'C',\r\n (-p[0].x + 6 * p[1].x + p[2].x) / 6,\r\n (-p[0].y + 6 * p[1].y + p[2].y) / 6,\r\n (p[1].x + 6 * p[2].x - p[3].x) / 6,\r\n (p[1].y + 6 * p[2].y - p[3].y) / 6,\r\n p[2].x,\r\n p[2].y,\r\n ]);\r\n }\r\n return d;\r\n }\r\n R.parsePathString = function(pathString) {\r\n if (!pathString) {\r\n return null;\r\n }\r\n var pth = paths(pathString);\r\n if (pth.arr) {\r\n return pathClone(pth.arr);\r\n }\r\n var paramCounts = {\r\n a: 7,\r\n c: 6,\r\n h: 1,\r\n l: 2,\r\n m: 2,\r\n r: 4,\r\n q: 4,\r\n s: 4,\r\n t: 2,\r\n v: 1,\r\n z: 0,\r\n },\r\n data = [];\r\n if (R.is(pathString, array) && R.is(pathString[0], array)) {\r\n data = pathClone(pathString);\r\n }\r\n if (!data.length) {\r\n Str(pathString).replace(pathCommand, function(a, b, c) {\r\n var params = [],\r\n name = b.toLowerCase();\r\n c.replace(pathValues, function(a, b) {\r\n b && params.push(+b);\r\n });\r\n if (name == 'm' && params.length > 2) {\r\n data.push([b][concat](params.splice(0, 2)));\r\n name = 'l';\r\n b = b == 'm' ? 'l' : 'L';\r\n }\r\n if (name == 'r') {\r\n data.push([b][concat](params));\r\n } else {\r\n while (params.length >= paramCounts[name]) {\r\n data.push([b][concat](params.splice(0, paramCounts[name])));\r\n if (!paramCounts[name]) {\r\n break;\r\n }\r\n }\r\n }\r\n });\r\n }\r\n data.toString = R._path2string;\r\n pth.arr = pathClone(data);\r\n return data;\r\n };\r\n R.parseTransformString = cacher(function(TString) {\r\n if (!TString) {\r\n return null;\r\n }\r\n var paramCounts = {\r\n r: 3,\r\n s: 4,\r\n t: 2,\r\n m: 6,\r\n },\r\n data = [];\r\n if (R.is(TString, array) && R.is(TString[0], array)) {\r\n data = pathClone(TString);\r\n }\r\n if (!data.length) {\r\n Str(TString).replace(tCommand, function(a, b, c) {\r\n var params = [],\r\n name = lowerCase.call(b);\r\n c.replace(pathValues, function(a, b) {\r\n b && params.push(+b);\r\n });\r\n data.push([b][concat](params));\r\n });\r\n }\r\n data.toString = R._path2string;\r\n return data;\r\n });\r\n var paths = function(ps) {\r\n var p = (paths.ps = paths.ps || {});\r\n if (p[ps]) {\r\n p[ps].sleep = 100;\r\n } else {\r\n p[ps] = {\r\n sleep: 100,\r\n };\r\n }\r\n setTimeout(function() {\r\n for (var key in p) {\r\n if (p[has](key) && key != ps) {\r\n p[key].sleep--;\r\n !p[key].sleep && delete p[key];\r\n }\r\n }\r\n });\r\n return p[ps];\r\n };\r\n R.findDotsAtSegment = function(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {\r\n var t1 = 1 - t,\r\n t13 = pow(t1, 3),\r\n t12 = pow(t1, 2),\r\n t2 = t * t,\r\n t3 = t2 * t,\r\n x = t13 * p1x + t12 * 3 * t * c1x + t1 * 3 * t * t * c2x + t3 * p2x,\r\n y = t13 * p1y + t12 * 3 * t * c1y + t1 * 3 * t * t * c2y + t3 * p2y,\r\n mx = p1x + 2 * t * (c1x - p1x) + t2 * (c2x - 2 * c1x + p1x),\r\n my = p1y + 2 * t * (c1y - p1y) + t2 * (c2y - 2 * c1y + p1y),\r\n nx = c1x + 2 * t * (c2x - c1x) + t2 * (p2x - 2 * c2x + c1x),\r\n ny = c1y + 2 * t * (c2y - c1y) + t2 * (p2y - 2 * c2y + c1y),\r\n ax = t1 * p1x + t * c1x,\r\n ay = t1 * p1y + t * c1y,\r\n cx = t1 * c2x + t * p2x,\r\n cy = t1 * c2y + t * p2y,\r\n alpha = 90 - (math.atan2(mx - nx, my - ny) * 180) / PI;\r\n (mx > nx || my < ny) && (alpha += 180);\r\n return {\r\n x: x,\r\n y: y,\r\n m: {\r\n x: mx,\r\n y: my,\r\n },\r\n n: {\r\n x: nx,\r\n y: ny,\r\n },\r\n start: {\r\n x: ax,\r\n y: ay,\r\n },\r\n end: {\r\n x: cx,\r\n y: cy,\r\n },\r\n alpha: alpha,\r\n };\r\n };\r\n R.bezierBBox = function(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y) {\r\n if (!R.is(p1x, 'array')) {\r\n p1x = [p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y];\r\n }\r\n var bbox = curveDim.apply(null, p1x);\r\n return {\r\n x: bbox.min.x,\r\n y: bbox.min.y,\r\n x2: bbox.max.x,\r\n y2: bbox.max.y,\r\n width: bbox.max.x - bbox.min.x,\r\n height: bbox.max.y - bbox.min.y,\r\n };\r\n };\r\n R.isPointInsideBBox = function(bbox, x, y) {\r\n return x >= bbox.x && x <= bbox.x2 && y >= bbox.y && y <= bbox.y2;\r\n };\r\n R.isBBoxIntersect = function(bbox1, bbox2) {\r\n var i = R.isPointInsideBBox;\r\n return (\r\n i(bbox2, bbox1.x, bbox1.y) ||\r\n i(bbox2, bbox1.x2, bbox1.y) ||\r\n i(bbox2, bbox1.x, bbox1.y2) ||\r\n i(bbox2, bbox1.x2, bbox1.y2) ||\r\n i(bbox1, bbox2.x, bbox2.y) ||\r\n i(bbox1, bbox2.x2, bbox2.y) ||\r\n i(bbox1, bbox2.x, bbox2.y2) ||\r\n i(bbox1, bbox2.x2, bbox2.y2) ||\r\n (((bbox1.x < bbox2.x2 && bbox1.x > bbox2.x) || (bbox2.x < bbox1.x2 && bbox2.x > bbox1.x)) &&\r\n ((bbox1.y < bbox2.y2 && bbox1.y > bbox2.y) || (bbox2.y < bbox1.y2 && bbox2.y > bbox1.y)))\r\n );\r\n };\r\n\r\n function base3(t, p1, p2, p3, p4) {\r\n var t1 = -3 * p1 + 9 * p2 - 9 * p3 + 3 * p4,\r\n t2 = t * t1 + 6 * p1 - 12 * p2 + 6 * p3;\r\n return t * t2 - 3 * p1 + 3 * p2;\r\n }\r\n\r\n function bezlen(x1, y1, x2, y2, x3, y3, x4, y4, z) {\r\n if (z == null) {\r\n z = 1;\r\n }\r\n z = z > 1 ? 1 : z < 0 ? 0 : z;\r\n var z2 = z / 2,\r\n n = 12,\r\n Tvalues = [-0.1252, 0.1252, -0.3678, 0.3678, -0.5873, 0.5873, -0.7699, 0.7699, -0.9041, 0.9041, -0.9816, 0.9816],\r\n Cvalues = [0.2491, 0.2491, 0.2335, 0.2335, 0.2032, 0.2032, 0.1601, 0.1601, 0.1069, 0.1069, 0.0472, 0.0472],\r\n sum = 0;\r\n for (var i = 0; i < n; i++) {\r\n var ct = z2 * Tvalues[i] + z2,\r\n xbase = base3(ct, x1, x2, x3, x4),\r\n ybase = base3(ct, y1, y2, y3, y4),\r\n comb = xbase * xbase + ybase * ybase;\r\n sum += Cvalues[i] * math.sqrt(comb);\r\n }\r\n return z2 * sum;\r\n }\r\n\r\n function getTatLen(x1, y1, x2, y2, x3, y3, x4, y4, ll) {\r\n if (ll < 0 || bezlen(x1, y1, x2, y2, x3, y3, x4, y4) < ll) {\r\n return;\r\n }\r\n var t = 1,\r\n step = t / 2,\r\n t2 = t - step,\r\n l,\r\n e = 0.01;\r\n l = bezlen(x1, y1, x2, y2, x3, y3, x4, y4, t2);\r\n while (abs(l - ll) > e) {\r\n step /= 2;\r\n t2 += (l < ll ? 1 : -1) * step;\r\n l = bezlen(x1, y1, x2, y2, x3, y3, x4, y4, t2);\r\n }\r\n return t2;\r\n }\r\n\r\n function intersect(x1, y1, x2, y2, x3, y3, x4, y4) {\r\n if (\r\n mmax(x1, x2) < mmin(x3, x4) ||\r\n mmin(x1, x2) > mmax(x3, x4) ||\r\n mmax(y1, y2) < mmin(y3, y4) ||\r\n mmin(y1, y2) > mmax(y3, y4)\r\n ) {\r\n return;\r\n }\r\n var nx = (x1 * y2 - y1 * x2) * (x3 - x4) - (x1 - x2) * (x3 * y4 - y3 * x4),\r\n ny = (x1 * y2 - y1 * x2) * (y3 - y4) - (y1 - y2) * (x3 * y4 - y3 * x4),\r\n denominator = (x1 - x2) * (y3 - y4) - (y1 - y2) * (x3 - x4);\r\n if (!denominator) {\r\n return;\r\n }\r\n var px = nx / denominator,\r\n py = ny / denominator,\r\n px2 = +px.toFixed(2),\r\n py2 = +py.toFixed(2);\r\n if (\r\n px2 < +mmin(x1, x2).toFixed(2) ||\r\n px2 > +mmax(x1, x2).toFixed(2) ||\r\n px2 < +mmin(x3, x4).toFixed(2) ||\r\n px2 > +mmax(x3, x4).toFixed(2) ||\r\n py2 < +mmin(y1, y2).toFixed(2) ||\r\n py2 > +mmax(y1, y2).toFixed(2) ||\r\n py2 < +mmin(y3, y4).toFixed(2) ||\r\n py2 > +mmax(y3, y4).toFixed(2)\r\n ) {\r\n return;\r\n }\r\n return {\r\n x: px,\r\n y: py,\r\n };\r\n }\r\n\r\n function inter(bez1, bez2) {\r\n return interHelper(bez1, bez2);\r\n }\r\n\r\n function interCount(bez1, bez2) {\r\n return interHelper(bez1, bez2, 1);\r\n }\r\n\r\n function interHelper(bez1, bez2, justCount) {\r\n var bbox1 = R.bezierBBox(bez1),\r\n bbox2 = R.bezierBBox(bez2);\r\n if (!R.isBBoxIntersect(bbox1, bbox2)) {\r\n return justCount ? 0 : [];\r\n }\r\n var l1 = bezlen.apply(0, bez1),\r\n l2 = bezlen.apply(0, bez2),\r\n n1 = mmax(~~(l1 / 5), 1),\r\n n2 = mmax(~~(l2 / 5), 1),\r\n dots1 = [],\r\n dots2 = [],\r\n xy = {},\r\n res = justCount ? 0 : [];\r\n for (var i = 0; i < n1 + 1; i++) {\r\n var p = R.findDotsAtSegment.apply(R, bez1.concat(i / n1));\r\n dots1.push({\r\n x: p.x,\r\n y: p.y,\r\n t: i / n1,\r\n });\r\n }\r\n for (i = 0; i < n2 + 1; i++) {\r\n p = R.findDotsAtSegment.apply(R, bez2.concat(i / n2));\r\n dots2.push({\r\n x: p.x,\r\n y: p.y,\r\n t: i / n2,\r\n });\r\n }\r\n for (i = 0; i < n1; i++) {\r\n for (var j = 0; j < n2; j++) {\r\n var di = dots1[i],\r\n di1 = dots1[i + 1],\r\n dj = dots2[j],\r\n dj1 = dots2[j + 1],\r\n ci = abs(di1.x - di.x) < 0.001 ? 'y' : 'x',\r\n cj = abs(dj1.x - dj.x) < 0.001 ? 'y' : 'x',\r\n is = intersect(di.x, di.y, di1.x, di1.y, dj.x, dj.y, dj1.x, dj1.y);\r\n if (is) {\r\n if (xy[is.x.toFixed(4)] == is.y.toFixed(4)) {\r\n continue;\r\n }\r\n xy[is.x.toFixed(4)] = is.y.toFixed(4);\r\n var t1 = di.t + abs((is[ci] - di[ci]) / (di1[ci] - di[ci])) * (di1.t - di.t),\r\n t2 = dj.t + abs((is[cj] - dj[cj]) / (dj1[cj] - dj[cj])) * (dj1.t - dj.t);\r\n if (t1 >= 0 && t1 <= 1.001 && t2 >= 0 && t2 <= 1.001) {\r\n if (justCount) {\r\n res++;\r\n } else {\r\n res.push({\r\n x: is.x,\r\n y: is.y,\r\n t1: mmin(t1, 1),\r\n t2: mmin(t2, 1),\r\n });\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return res;\r\n }\r\n R.pathIntersection = function(path1, path2) {\r\n return interPathHelper(path1, path2);\r\n };\r\n R.pathIntersectionNumber = function(path1, path2) {\r\n return interPathHelper(path1, path2, 1);\r\n };\r\n\r\n function interPathHelper(path1, path2, justCount) {\r\n path1 = R._path2curve(path1);\r\n path2 = R._path2curve(path2);\r\n var x1,\r\n y1,\r\n x2,\r\n y2,\r\n x1m,\r\n y1m,\r\n x2m,\r\n y2m,\r\n bez1,\r\n bez2,\r\n res = justCount ? 0 : [];\r\n for (var i = 0, ii = path1.length; i < ii; i++) {\r\n var pi = path1[i];\r\n if (pi[0] == 'M') {\r\n x1 = x1m = pi[1];\r\n y1 = y1m = pi[2];\r\n } else {\r\n if (pi[0] == 'C') {\r\n bez1 = [x1, y1].concat(pi.slice(1));\r\n x1 = bez1[6];\r\n y1 = bez1[7];\r\n } else {\r\n bez1 = [x1, y1, x1, y1, x1m, y1m, x1m, y1m];\r\n x1 = x1m;\r\n y1 = y1m;\r\n }\r\n for (var j = 0, jj = path2.length; j < jj; j++) {\r\n var pj = path2[j];\r\n if (pj[0] == 'M') {\r\n x2 = x2m = pj[1];\r\n y2 = y2m = pj[2];\r\n } else {\r\n if (pj[0] == 'C') {\r\n bez2 = [x2, y2].concat(pj.slice(1));\r\n x2 = bez2[6];\r\n y2 = bez2[7];\r\n } else {\r\n bez2 = [x2, y2, x2, y2, x2m, y2m, x2m, y2m];\r\n x2 = x2m;\r\n y2 = y2m;\r\n }\r\n var intr = interHelper(bez1, bez2, justCount);\r\n if (justCount) {\r\n res += intr;\r\n } else {\r\n for (var k = 0, kk = intr.length; k < kk; k++) {\r\n intr[k].segment1 = i;\r\n intr[k].segment2 = j;\r\n intr[k].bez1 = bez1;\r\n intr[k].bez2 = bez2;\r\n }\r\n res = res.concat(intr);\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return res;\r\n }\r\n R.isPointInsidePath = function(path, x, y) {\r\n var bbox = R.pathBBox(path);\r\n return (\r\n R.isPointInsideBBox(bbox, x, y) &&\r\n interPathHelper(\r\n path,\r\n [\r\n ['M', x, y],\r\n ['H', bbox.x2 + 10],\r\n ],\r\n 1\r\n ) %\r\n 2 ==\r\n 1\r\n );\r\n };\r\n R._removedFactory = function(methodname) {\r\n return function() {\r\n eve(\r\n 'raphael.log',\r\n null,\r\n 'Rapha\\xEBl: you are calling to method \\u201C' + methodname + '\\u201D of removed object',\r\n methodname\r\n );\r\n };\r\n };\r\n var pathDimensions = (R.pathBBox = function(path) {\r\n var pth = paths(path);\r\n if (pth.bbox) {\r\n return clone(pth.bbox);\r\n }\r\n if (!path) {\r\n return {\r\n x: 0,\r\n y: 0,\r\n width: 0,\r\n height: 0,\r\n x2: 0,\r\n y2: 0,\r\n };\r\n }\r\n path = path2curve(path);\r\n var x = 0,\r\n y = 0,\r\n X = [],\r\n Y = [],\r\n p;\r\n for (var i = 0, ii = path.length; i < ii; i++) {\r\n p = path[i];\r\n if (p[0] == 'M') {\r\n x = p[1];\r\n y = p[2];\r\n X.push(x);\r\n Y.push(y);\r\n } else {\r\n var dim = curveDim(x, y, p[1], p[2], p[3], p[4], p[5], p[6]);\r\n X = X[concat](dim.min.x, dim.max.x);\r\n Y = Y[concat](dim.min.y, dim.max.y);\r\n x = p[5];\r\n y = p[6];\r\n }\r\n }\r\n var xmin = mmin[apply](0, X),\r\n ymin = mmin[apply](0, Y),\r\n xmax = mmax[apply](0, X),\r\n ymax = mmax[apply](0, Y),\r\n width = xmax - xmin,\r\n height = ymax - ymin,\r\n bb = {\r\n x: xmin,\r\n y: ymin,\r\n x2: xmax,\r\n y2: ymax,\r\n width: width,\r\n height: height,\r\n cx: xmin + width / 2,\r\n cy: ymin + height / 2,\r\n };\r\n pth.bbox = clone(bb);\r\n return bb;\r\n }),\r\n pathClone = function(pathArray) {\r\n var res = clone(pathArray);\r\n res.toString = R._path2string;\r\n return res;\r\n },\r\n pathToRelative = (R._pathToRelative = function(pathArray) {\r\n var pth = paths(pathArray);\r\n if (pth.rel) {\r\n return pathClone(pth.rel);\r\n }\r\n if (!R.is(pathArray, array) || !R.is(pathArray && pathArray[0], array)) {\r\n pathArray = R.parsePathString(pathArray);\r\n }\r\n var res = [],\r\n x = 0,\r\n y = 0,\r\n mx = 0,\r\n my = 0,\r\n start = 0;\r\n if (pathArray[0][0] == 'M') {\r\n x = pathArray[0][1];\r\n y = pathArray[0][2];\r\n mx = x;\r\n my = y;\r\n start++;\r\n res.push(['M', x, y]);\r\n }\r\n for (var i = start, ii = pathArray.length; i < ii; i++) {\r\n var r = (res[i] = []),\r\n pa = pathArray[i];\r\n if (pa[0] != lowerCase.call(pa[0])) {\r\n r[0] = lowerCase.call(pa[0]);\r\n switch (r[0]) {\r\n case 'a':\r\n r[1] = pa[1];\r\n r[2] = pa[2];\r\n r[3] = pa[3];\r\n r[4] = pa[4];\r\n r[5] = pa[5];\r\n r[6] = +(pa[6] - x).toFixed(3);\r\n r[7] = +(pa[7] - y).toFixed(3);\r\n break;\r\n case 'v':\r\n r[1] = +(pa[1] - y).toFixed(3);\r\n break;\r\n case 'm':\r\n mx = pa[1];\r\n my = pa[2];\r\n default:\r\n for (var j = 1, jj = pa.length; j < jj; j++) {\r\n r[j] = +(pa[j] - (j % 2 ? x : y)).toFixed(3);\r\n }\r\n }\r\n } else {\r\n r = res[i] = [];\r\n if (pa[0] == 'm') {\r\n mx = pa[1] + x;\r\n my = pa[2] + y;\r\n }\r\n for (var k = 0, kk = pa.length; k < kk; k++) {\r\n res[i][k] = pa[k];\r\n }\r\n }\r\n var len = res[i].length;\r\n switch (res[i][0]) {\r\n case 'z':\r\n x = mx;\r\n y = my;\r\n break;\r\n case 'h':\r\n x += +res[i][len - 1];\r\n break;\r\n case 'v':\r\n y += +res[i][len - 1];\r\n break;\r\n default:\r\n x += +res[i][len - 2];\r\n y += +res[i][len - 1];\r\n }\r\n }\r\n res.toString = R._path2string;\r\n pth.rel = pathClone(res);\r\n return res;\r\n }),\r\n pathToAbsolute = (R._pathToAbsolute = function(pathArray) {\r\n var pth = paths(pathArray);\r\n if (pth.abs) {\r\n return pathClone(pth.abs);\r\n }\r\n if (!R.is(pathArray, array) || !R.is(pathArray && pathArray[0], array)) {\r\n pathArray = R.parsePathString(pathArray);\r\n }\r\n if (!pathArray || !pathArray.length) {\r\n return [['M', 0, 0]];\r\n }\r\n var res = [],\r\n x = 0,\r\n y = 0,\r\n mx = 0,\r\n my = 0,\r\n start = 0;\r\n if (pathArray[0][0] == 'M') {\r\n x = +pathArray[0][1];\r\n y = +pathArray[0][2];\r\n mx = x;\r\n my = y;\r\n start++;\r\n res[0] = ['M', x, y];\r\n }\r\n var crz =\r\n pathArray.length == 3 &&\r\n pathArray[0][0] == 'M' &&\r\n pathArray[1][0].toUpperCase() == 'R' &&\r\n pathArray[2][0].toUpperCase() == 'Z';\r\n for (var r, pa, i = start, ii = pathArray.length; i < ii; i++) {\r\n res.push((r = []));\r\n pa = pathArray[i];\r\n if (pa[0] != upperCase.call(pa[0])) {\r\n r[0] = upperCase.call(pa[0]);\r\n switch (r[0]) {\r\n case 'A':\r\n r[1] = pa[1];\r\n r[2] = pa[2];\r\n r[3] = pa[3];\r\n r[4] = pa[4];\r\n r[5] = pa[5];\r\n r[6] = +(pa[6] + x);\r\n r[7] = +(pa[7] + y);\r\n break;\r\n case 'V':\r\n r[1] = +pa[1] + y;\r\n break;\r\n case 'H':\r\n r[1] = +pa[1] + x;\r\n break;\r\n case 'R':\r\n var dots = [x, y][concat](pa.slice(1));\r\n for (var j = 2, jj = dots.length; j < jj; j++) {\r\n dots[j] = +dots[j] + x;\r\n dots[++j] = +dots[j] + y;\r\n }\r\n res.pop();\r\n res = res[concat](catmullRom2bezier(dots, crz));\r\n break;\r\n case 'M':\r\n mx = +pa[1] + x;\r\n my = +pa[2] + y;\r\n default:\r\n for (j = 1, jj = pa.length; j < jj; j++) {\r\n r[j] = +pa[j] + (j % 2 ? x : y);\r\n }\r\n }\r\n } else if (pa[0] == 'R') {\r\n dots = [x, y][concat](pa.slice(1));\r\n res.pop();\r\n res = res[concat](catmullRom2bezier(dots, crz));\r\n r = ['R'][concat](pa.slice(-2));\r\n } else {\r\n for (var k = 0, kk = pa.length; k < kk; k++) {\r\n r[k] = pa[k];\r\n }\r\n }\r\n switch (r[0]) {\r\n case 'Z':\r\n x = mx;\r\n y = my;\r\n break;\r\n case 'H':\r\n x = r[1];\r\n break;\r\n case 'V':\r\n y = r[1];\r\n break;\r\n case 'M':\r\n mx = r[r.length - 2];\r\n my = r[r.length - 1];\r\n default:\r\n x = r[r.length - 2];\r\n y = r[r.length - 1];\r\n }\r\n }\r\n res.toString = R._path2string;\r\n pth.abs = pathClone(res);\r\n return res;\r\n }),\r\n l2c = function(x1, y1, x2, y2) {\r\n return [x1, y1, x2, y2, x2, y2];\r\n },\r\n q2c = function(x1, y1, ax, ay, x2, y2) {\r\n var _13 = 0.3333333333333333,\r\n _23 = 0.6666666666666666;\r\n return [_13 * x1 + _23 * ax, _13 * y1 + _23 * ay, _13 * x2 + _23 * ax, _13 * y2 + _23 * ay, x2, y2];\r\n },\r\n a2c = function(x1, y1, rx, ry, angle, large_arc_flag, sweep_flag, x2, y2, recursive) {\r\n var _120 = (PI * 120) / 180,\r\n rad = (PI / 180) * (+angle || 0),\r\n res = [],\r\n xy,\r\n rotate = cacher(function(x, y, rad) {\r\n var X = x * math.cos(rad) - y * math.sin(rad),\r\n Y = x * math.sin(rad) + y * math.cos(rad);\r\n return {\r\n x: X,\r\n y: Y,\r\n };\r\n });\r\n if (!recursive) {\r\n xy = rotate(x1, y1, -rad);\r\n x1 = xy.x;\r\n y1 = xy.y;\r\n xy = rotate(x2, y2, -rad);\r\n x2 = xy.x;\r\n y2 = xy.y;\r\n var cos = math.cos((PI / 180) * angle),\r\n sin = math.sin((PI / 180) * angle),\r\n x = (x1 - x2) / 2,\r\n y = (y1 - y2) / 2;\r\n var h = (x * x) / (rx * rx) + (y * y) / (ry * ry);\r\n if (h > 1) {\r\n h = math.sqrt(h);\r\n rx = h * rx;\r\n ry = h * ry;\r\n }\r\n var rx2 = rx * rx,\r\n ry2 = ry * ry,\r\n k =\r\n (large_arc_flag == sweep_flag ? -1 : 1) *\r\n math.sqrt(abs((rx2 * ry2 - rx2 * y * y - ry2 * x * x) / (rx2 * y * y + ry2 * x * x))),\r\n cx = (k * rx * y) / ry + (x1 + x2) / 2,\r\n cy = (k * -ry * x) / rx + (y1 + y2) / 2,\r\n f1 = math.asin(((y1 - cy) / ry).toFixed(9)),\r\n f2 = math.asin(((y2 - cy) / ry).toFixed(9));\r\n f1 = x1 < cx ? PI - f1 : f1;\r\n f2 = x2 < cx ? PI - f2 : f2;\r\n f1 < 0 && (f1 = PI * 2 + f1);\r\n f2 < 0 && (f2 = PI * 2 + f2);\r\n if (sweep_flag && f1 > f2) {\r\n f1 = f1 - PI * 2;\r\n }\r\n if (!sweep_flag && f2 > f1) {\r\n f2 = f2 - PI * 2;\r\n }\r\n } else {\r\n f1 = recursive[0];\r\n f2 = recursive[1];\r\n cx = recursive[2];\r\n cy = recursive[3];\r\n }\r\n var df = f2 - f1;\r\n if (abs(df) > _120) {\r\n var f2old = f2,\r\n x2old = x2,\r\n y2old = y2;\r\n f2 = f1 + _120 * (sweep_flag && f2 > f1 ? 1 : -1);\r\n x2 = cx + rx * math.cos(f2);\r\n y2 = cy + ry * math.sin(f2);\r\n res = a2c(x2, y2, rx, ry, angle, 0, sweep_flag, x2old, y2old, [f2, f2old, cx, cy]);\r\n }\r\n df = f2 - f1;\r\n var c1 = math.cos(f1),\r\n s1 = math.sin(f1),\r\n c2 = math.cos(f2),\r\n s2 = math.sin(f2),\r\n t = math.tan(df / 4),\r\n hx = 1.3333333333333333 * rx * t,\r\n hy = 1.3333333333333333 * ry * t,\r\n m1 = [x1, y1],\r\n m2 = [x1 + hx * s1, y1 - hy * c1],\r\n m3 = [x2 + hx * s2, y2 - hy * c2],\r\n m4 = [x2, y2];\r\n m2[0] = 2 * m1[0] - m2[0];\r\n m2[1] = 2 * m1[1] - m2[1];\r\n if (recursive) {\r\n return [m2, m3, m4][concat](res);\r\n } else {\r\n res = [m2, m3, m4]\r\n [concat](res)\r\n .join()\r\n [split](',');\r\n var newres = [];\r\n for (var i = 0, ii = res.length; i < ii; i++) {\r\n newres[i] = i % 2 ? rotate(res[i - 1], res[i], rad).y : rotate(res[i], res[i + 1], rad).x;\r\n }\r\n return newres;\r\n }\r\n },\r\n findDotAtSegment = function(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t) {\r\n var t1 = 1 - t;\r\n return {\r\n x: pow(t1, 3) * p1x + pow(t1, 2) * 3 * t * c1x + t1 * 3 * t * t * c2x + pow(t, 3) * p2x,\r\n y: pow(t1, 3) * p1y + pow(t1, 2) * 3 * t * c1y + t1 * 3 * t * t * c2y + pow(t, 3) * p2y,\r\n };\r\n },\r\n curveDim = cacher(function(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y) {\r\n var a = c2x - 2 * c1x + p1x - (p2x - 2 * c2x + c1x),\r\n b = 2 * (c1x - p1x) - 2 * (c2x - c1x),\r\n c = p1x - c1x,\r\n t1 = (-b + math.sqrt(b * b - 4 * a * c)) / 2 / a,\r\n t2 = (-b - math.sqrt(b * b - 4 * a * c)) / 2 / a,\r\n y = [p1y, p2y],\r\n x = [p1x, p2x],\r\n dot;\r\n abs(t1) > '1e12' && (t1 = 0.5);\r\n abs(t2) > '1e12' && (t2 = 0.5);\r\n if (t1 > 0 && t1 < 1) {\r\n dot = findDotAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t1);\r\n x.push(dot.x);\r\n y.push(dot.y);\r\n }\r\n if (t2 > 0 && t2 < 1) {\r\n dot = findDotAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t2);\r\n x.push(dot.x);\r\n y.push(dot.y);\r\n }\r\n a = c2y - 2 * c1y + p1y - (p2y - 2 * c2y + c1y);\r\n b = 2 * (c1y - p1y) - 2 * (c2y - c1y);\r\n c = p1y - c1y;\r\n t1 = (-b + math.sqrt(b * b - 4 * a * c)) / 2 / a;\r\n t2 = (-b - math.sqrt(b * b - 4 * a * c)) / 2 / a;\r\n abs(t1) > '1e12' && (t1 = 0.5);\r\n abs(t2) > '1e12' && (t2 = 0.5);\r\n if (t1 > 0 && t1 < 1) {\r\n dot = findDotAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t1);\r\n x.push(dot.x);\r\n y.push(dot.y);\r\n }\r\n if (t2 > 0 && t2 < 1) {\r\n dot = findDotAtSegment(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, t2);\r\n x.push(dot.x);\r\n y.push(dot.y);\r\n }\r\n return {\r\n min: {\r\n x: mmin[apply](0, x),\r\n y: mmin[apply](0, y),\r\n },\r\n max: {\r\n x: mmax[apply](0, x),\r\n y: mmax[apply](0, y),\r\n },\r\n };\r\n }),\r\n path2curve = (R._path2curve = cacher(\r\n function(path, path2) {\r\n var pth = !path2 && paths(path);\r\n if (!path2 && pth.curve) {\r\n return pathClone(pth.curve);\r\n }\r\n var p = pathToAbsolute(path),\r\n p2 = path2 && pathToAbsolute(path2),\r\n attrs = {\r\n x: 0,\r\n y: 0,\r\n bx: 0,\r\n by: 0,\r\n X: 0,\r\n Y: 0,\r\n qx: null,\r\n qy: null,\r\n },\r\n attrs2 = {\r\n x: 0,\r\n y: 0,\r\n bx: 0,\r\n by: 0,\r\n X: 0,\r\n Y: 0,\r\n qx: null,\r\n qy: null,\r\n },\r\n processPath = function(path, d, pcom) {\r\n var nx, ny;\r\n if (!path) {\r\n return ['C', d.x, d.y, d.x, d.y, d.x, d.y];\r\n }\r\n !(\r\n path[0] in\r\n {\r\n T: 1,\r\n Q: 1,\r\n }\r\n ) && (d.qx = d.qy = null);\r\n switch (path[0]) {\r\n case 'M':\r\n d.X = path[1];\r\n d.Y = path[2];\r\n break;\r\n case 'A':\r\n path = ['C'][concat](a2c[apply](0, [d.x, d.y][concat](path.slice(1))));\r\n break;\r\n case 'S':\r\n if (pcom == 'C' || pcom == 'S') {\r\n nx = d.x * 2 - d.bx;\r\n ny = d.y * 2 - d.by;\r\n } else {\r\n nx = d.x;\r\n ny = d.y;\r\n }\r\n path = ['C', nx, ny][concat](path.slice(1));\r\n break;\r\n case 'T':\r\n if (pcom == 'Q' || pcom == 'T') {\r\n d.qx = d.x * 2 - d.qx;\r\n d.qy = d.y * 2 - d.qy;\r\n } else {\r\n d.qx = d.x;\r\n d.qy = d.y;\r\n }\r\n path = ['C'][concat](q2c(d.x, d.y, d.qx, d.qy, path[1], path[2]));\r\n break;\r\n case 'Q':\r\n d.qx = path[1];\r\n d.qy = path[2];\r\n path = ['C'][concat](q2c(d.x, d.y, path[1], path[2], path[3], path[4]));\r\n break;\r\n case 'L':\r\n path = ['C'][concat](l2c(d.x, d.y, path[1], path[2]));\r\n break;\r\n case 'H':\r\n path = ['C'][concat](l2c(d.x, d.y, path[1], d.y));\r\n break;\r\n case 'V':\r\n path = ['C'][concat](l2c(d.x, d.y, d.x, path[1]));\r\n break;\r\n case 'Z':\r\n path = ['C'][concat](l2c(d.x, d.y, d.X, d.Y));\r\n break;\r\n default:\r\n }\r\n return path;\r\n },\r\n fixArc = function(pp, i) {\r\n if (pp[i].length > 7) {\r\n pp[i].shift();\r\n var pi = pp[i];\r\n while (pi.length) {\r\n pp.splice(i++, 0, ['C'][concat](pi.splice(0, 6)));\r\n }\r\n pp.splice(i, 1);\r\n ii = mmax(p.length, (p2 && p2.length) || 0);\r\n }\r\n },\r\n fixM = function(path1, path2, a1, a2, i) {\r\n if (path1 && path2 && path1[i][0] == 'M' && path2[i][0] != 'M') {\r\n path2.splice(i, 0, ['M', a2.x, a2.y]);\r\n a1.bx = 0;\r\n a1.by = 0;\r\n a1.x = path1[i][1];\r\n a1.y = path1[i][2];\r\n ii = mmax(p.length, (p2 && p2.length) || 0);\r\n }\r\n };\r\n for (var i = 0, ii = mmax(p.length, (p2 && p2.length) || 0); i < ii; i++) {\r\n p[i] = processPath(p[i], attrs);\r\n fixArc(p, i);\r\n p2 && (p2[i] = processPath(p2[i], attrs2));\r\n p2 && fixArc(p2, i);\r\n fixM(p, p2, attrs, attrs2, i);\r\n fixM(p2, p, attrs2, attrs, i);\r\n var seg = p[i],\r\n seg2 = p2 && p2[i],\r\n seglen = seg.length,\r\n seg2len = p2 && seg2.length;\r\n attrs.x = seg[seglen - 2];\r\n attrs.y = seg[seglen - 1];\r\n attrs.bx = toFloat(seg[seglen - 4]) || attrs.x;\r\n attrs.by = toFloat(seg[seglen - 3]) || attrs.y;\r\n attrs2.bx = p2 && (toFloat(seg2[seg2len - 4]) || attrs2.x);\r\n attrs2.by = p2 && (toFloat(seg2[seg2len - 3]) || attrs2.y);\r\n attrs2.x = p2 && seg2[seg2len - 2];\r\n attrs2.y = p2 && seg2[seg2len - 1];\r\n }\r\n if (!p2) {\r\n pth.curve = pathClone(p);\r\n }\r\n return p2 ? [p, p2] : p;\r\n },\r\n null,\r\n pathClone\r\n )),\r\n parseDots = (R._parseDots = cacher(function(gradient) {\r\n var dots = [];\r\n for (var i = 0, ii = gradient.length; i < ii; i++) {\r\n var dot = {},\r\n par = gradient[i].match(/^([^:]*):?([\\d\\.]*)/);\r\n dot.color = R.getRGB(par[1]);\r\n if (dot.color.error) {\r\n return null;\r\n }\r\n dot.color = dot.color.hex;\r\n par[2] && (dot.offset = par[2] + '%');\r\n dots.push(dot);\r\n }\r\n for (i = 1, ii = dots.length - 1; i < ii; i++) {\r\n if (!dots[i].offset) {\r\n var start = toFloat(dots[i - 1].offset || 0),\r\n end = 0;\r\n for (var j = i + 1; j < ii; j++) {\r\n if (dots[j].offset) {\r\n end = dots[j].offset;\r\n break;\r\n }\r\n }\r\n if (!end) {\r\n end = 100;\r\n j = ii;\r\n }\r\n end = toFloat(end);\r\n var d = (end - start) / (j - i + 1);\r\n for (; i < j; i++) {\r\n start += d;\r\n dots[i].offset = start + '%';\r\n }\r\n }\r\n }\r\n return dots;\r\n })),\r\n tear = (R._tear = function(el, paper) {\r\n el == paper.top && (paper.top = el.prev);\r\n el == paper.bottom && (paper.bottom = el.next);\r\n el.next && (el.next.prev = el.prev);\r\n el.prev && (el.prev.next = el.next);\r\n }),\r\n tofront = (R._tofront = function(el, paper) {\r\n if (paper.top === el) {\r\n return;\r\n }\r\n tear(el, paper);\r\n el.next = null;\r\n el.prev = paper.top;\r\n paper.top.next = el;\r\n paper.top = el;\r\n }),\r\n toback = (R._toback = function(el, paper) {\r\n if (paper.bottom === el) {\r\n return;\r\n }\r\n tear(el, paper);\r\n el.next = paper.bottom;\r\n el.prev = null;\r\n paper.bottom.prev = el;\r\n paper.bottom = el;\r\n }),\r\n insertafter = (R._insertafter = function(el, el2, paper) {\r\n tear(el, paper);\r\n el2 == paper.top && (paper.top = el);\r\n el2.next && (el2.next.prev = el);\r\n el.next = el2.next;\r\n el.prev = el2;\r\n el2.next = el;\r\n }),\r\n insertbefore = (R._insertbefore = function(el, el2, paper) {\r\n tear(el, paper);\r\n el2 == paper.bottom && (paper.bottom = el);\r\n el2.prev && (el2.prev.next = el);\r\n el.prev = el2.prev;\r\n el2.prev = el;\r\n el.next = el2;\r\n }),\r\n toMatrix = (R.toMatrix = function(path, transform) {\r\n var bb = pathDimensions(path),\r\n el = {\r\n _: {\r\n transform: E,\r\n },\r\n getBBox: function() {\r\n return bb;\r\n },\r\n };\r\n extractTransform(el, transform);\r\n return el.matrix;\r\n }),\r\n transformPath = (R.transformPath = function(path, transform) {\r\n return mapPath(path, toMatrix(path, transform));\r\n }),\r\n extractTransform = (R._extractTransform = function(el, tstr) {\r\n if (tstr == null) {\r\n return el._.transform;\r\n }\r\n tstr = Str(tstr).replace(/\\.{3}|\\u2026/g, el._.transform || E);\r\n var tdata = R.parseTransformString(tstr),\r\n deg = 0,\r\n dx = 0,\r\n dy = 0,\r\n sx = 1,\r\n sy = 1,\r\n _ = el._,\r\n m = new Matrix();\r\n _.transform = tdata || [];\r\n if (tdata) {\r\n for (var i = 0, ii = tdata.length; i < ii; i++) {\r\n var t = tdata[i],\r\n tlen = t.length,\r\n command = Str(t[0]).toLowerCase(),\r\n absolute = t[0] != command,\r\n inver = absolute ? m.invert() : 0,\r\n x1,\r\n y1,\r\n x2,\r\n y2,\r\n bb;\r\n if (command == 't' && tlen == 3) {\r\n if (absolute) {\r\n x1 = inver.x(0, 0);\r\n y1 = inver.y(0, 0);\r\n x2 = inver.x(t[1], t[2]);\r\n y2 = inver.y(t[1], t[2]);\r\n m.translate(x2 - x1, y2 - y1);\r\n } else {\r\n m.translate(t[1], t[2]);\r\n }\r\n } else if (command == 'r') {\r\n if (tlen == 2) {\r\n bb = bb || el.getBBox(1);\r\n m.rotate(t[1], bb.x + bb.width / 2, bb.y + bb.height / 2);\r\n deg += t[1];\r\n } else if (tlen == 4) {\r\n if (absolute) {\r\n x2 = inver.x(t[2], t[3]);\r\n y2 = inver.y(t[2], t[3]);\r\n m.rotate(t[1], x2, y2);\r\n } else {\r\n m.rotate(t[1], t[2], t[3]);\r\n }\r\n deg += t[1];\r\n }\r\n } else if (command == 's') {\r\n if (tlen == 2 || tlen == 3) {\r\n bb = bb || el.getBBox(1);\r\n m.scale(t[1], t[tlen - 1], bb.x + bb.width / 2, bb.y + bb.height / 2);\r\n sx *= t[1];\r\n sy *= t[tlen - 1];\r\n } else if (tlen == 5) {\r\n if (absolute) {\r\n x2 = inver.x(t[3], t[4]);\r\n y2 = inver.y(t[3], t[4]);\r\n m.scale(t[1], t[2], x2, y2);\r\n } else {\r\n m.scale(t[1], t[2], t[3], t[4]);\r\n }\r\n sx *= t[1];\r\n sy *= t[2];\r\n }\r\n } else if (command == 'm' && tlen == 7) {\r\n m.add(t[1], t[2], t[3], t[4], t[5], t[6]);\r\n }\r\n _.dirtyT = 1;\r\n el.matrix = m;\r\n }\r\n }\r\n el.matrix = m;\r\n _.sx = sx;\r\n _.sy = sy;\r\n _.deg = deg;\r\n _.dx = dx = m.e;\r\n _.dy = dy = m.f;\r\n if (sx == 1 && sy == 1 && !deg && _.bbox) {\r\n _.bbox.x += +dx;\r\n _.bbox.y += +dy;\r\n } else {\r\n _.dirtyT = 1;\r\n }\r\n }),\r\n getEmpty = function(item) {\r\n var l = item[0];\r\n switch (l.toLowerCase()) {\r\n case 't':\r\n return [l, 0, 0];\r\n case 'm':\r\n return [l, 1, 0, 0, 1, 0, 0];\r\n case 'r':\r\n if (item.length == 4) {\r\n return [l, 0, item[2], item[3]];\r\n } else {\r\n return [l, 0];\r\n }\r\n case 's':\r\n if (item.length == 5) {\r\n return [l, 1, 1, item[3], item[4]];\r\n } else if (item.length == 3) {\r\n return [l, 1, 1];\r\n } else {\r\n return [l, 1];\r\n }\r\n default:\r\n }\r\n },\r\n equaliseTransform = (R._equaliseTransform = function(t1, t2) {\r\n t2 = Str(t2).replace(/\\.{3}|\\u2026/g, t1);\r\n t1 = R.parseTransformString(t1) || [];\r\n t2 = R.parseTransformString(t2) || [];\r\n var maxlength = mmax(t1.length, t2.length),\r\n from = [],\r\n to = [],\r\n i = 0,\r\n j,\r\n jj,\r\n tt1,\r\n tt2;\r\n for (; i < maxlength; i++) {\r\n tt1 = t1[i] || getEmpty(t2[i]);\r\n tt2 = t2[i] || getEmpty(tt1);\r\n if (\r\n tt1[0] != tt2[0] ||\r\n (tt1[0].toLowerCase() == 'r' && (tt1[2] != tt2[2] || tt1[3] != tt2[3])) ||\r\n (tt1[0].toLowerCase() == 's' && (tt1[3] != tt2[3] || tt1[4] != tt2[4]))\r\n ) {\r\n return;\r\n }\r\n from[i] = [];\r\n to[i] = [];\r\n for (j = 0, jj = mmax(tt1.length, tt2.length); j < jj; j++) {\r\n j in tt1 && (from[i][j] = tt1[j]);\r\n j in tt2 && (to[i][j] = tt2[j]);\r\n }\r\n }\r\n return {\r\n from: from,\r\n to: to,\r\n };\r\n });\r\n R._getContainer = function(x, y, w, h) {\r\n var container;\r\n container = h == null && !R.is(x, 'object') ? g.doc.getElementById(x) : x;\r\n if (container == null) {\r\n return;\r\n }\r\n if (container.tagName) {\r\n if (y == null) {\r\n return {\r\n container: container,\r\n width: container.style.pixelWidth || container.offsetWidth,\r\n height: container.style.pixelHeight || container.offsetHeight,\r\n };\r\n } else {\r\n return {\r\n container: container,\r\n width: y,\r\n height: w,\r\n };\r\n }\r\n }\r\n return {\r\n container: 1,\r\n x: x,\r\n y: y,\r\n width: w,\r\n height: h,\r\n };\r\n };\r\n R.pathToRelative = pathToRelative;\r\n R._engine = {};\r\n R.path2curve = path2curve;\r\n R.matrix = function(a, b, c, d, e, f) {\r\n return new Matrix(a, b, c, d, e, f);\r\n };\r\n\r\n function Matrix(a, b, c, d, e, f) {\r\n if (a != null) {\r\n this.a = +a;\r\n this.b = +b;\r\n this.c = +c;\r\n this.d = +d;\r\n this.e = +e;\r\n this.f = +f;\r\n } else {\r\n this.a = 1;\r\n this.b = 0;\r\n this.c = 0;\r\n this.d = 1;\r\n this.e = 0;\r\n this.f = 0;\r\n }\r\n }\r\n (function(matrixproto) {\r\n matrixproto.add = function(a, b, c, d, e, f) {\r\n var out = [[], [], []],\r\n m = [\r\n [this.a, this.c, this.e],\r\n [this.b, this.d, this.f],\r\n [0, 0, 1],\r\n ],\r\n matrix = [\r\n [a, c, e],\r\n [b, d, f],\r\n [0, 0, 1],\r\n ],\r\n x,\r\n y,\r\n z,\r\n res;\r\n if (a && a instanceof Matrix) {\r\n matrix = [\r\n [a.a, a.c, a.e],\r\n [a.b, a.d, a.f],\r\n [0, 0, 1],\r\n ];\r\n }\r\n for (x = 0; x < 3; x++) {\r\n for (y = 0; y < 3; y++) {\r\n res = 0;\r\n for (z = 0; z < 3; z++) {\r\n res += m[x][z] * matrix[z][y];\r\n }\r\n out[x][y] = res;\r\n }\r\n }\r\n this.a = out[0][0];\r\n this.b = out[1][0];\r\n this.c = out[0][1];\r\n this.d = out[1][1];\r\n this.e = out[0][2];\r\n this.f = out[1][2];\r\n };\r\n matrixproto.invert = function() {\r\n var me = this,\r\n x = me.a * me.d - me.b * me.c;\r\n return new Matrix(\r\n me.d / x,\r\n -me.b / x,\r\n -me.c / x,\r\n me.a / x,\r\n (me.c * me.f - me.d * me.e) / x,\r\n (me.b * me.e - me.a * me.f) / x\r\n );\r\n };\r\n matrixproto.clone = function() {\r\n return new Matrix(this.a, this.b, this.c, this.d, this.e, this.f);\r\n };\r\n matrixproto.translate = function(x, y) {\r\n this.add(1, 0, 0, 1, x, y);\r\n };\r\n matrixproto.scale = function(x, y, cx, cy) {\r\n y == null && (y = x);\r\n (cx || cy) && this.add(1, 0, 0, 1, cx, cy);\r\n this.add(x, 0, 0, y, 0, 0);\r\n (cx || cy) && this.add(1, 0, 0, 1, -cx, -cy);\r\n };\r\n matrixproto.rotate = function(a, x, y) {\r\n a = R.rad(a);\r\n x = x || 0;\r\n y = y || 0;\r\n var cos = +math.cos(a).toFixed(9),\r\n sin = +math.sin(a).toFixed(9);\r\n this.add(cos, sin, -sin, cos, x, y);\r\n this.add(1, 0, 0, 1, -x, -y);\r\n };\r\n matrixproto.x = function(x, y) {\r\n return x * this.a + y * this.c + this.e;\r\n };\r\n matrixproto.y = function(x, y) {\r\n return x * this.b + y * this.d + this.f;\r\n };\r\n matrixproto.get = function(i) {\r\n return +this[Str.fromCharCode(97 + i)].toFixed(4);\r\n };\r\n matrixproto.toString = function() {\r\n return R.svg\r\n ? 'matrix(' + [this.get(0), this.get(1), this.get(2), this.get(3), this.get(4), this.get(5)].join() + ')'\r\n : [this.get(0), this.get(2), this.get(1), this.get(3), 0, 0].join();\r\n };\r\n matrixproto.toFilter = function() {\r\n return (\r\n 'progid:DXImageTransform.Microsoft.Matrix(M11=' +\r\n this.get(0) +\r\n ', M12=' +\r\n this.get(2) +\r\n ', M21=' +\r\n this.get(1) +\r\n ', M22=' +\r\n this.get(3) +\r\n ', Dx=' +\r\n this.get(4) +\r\n ', Dy=' +\r\n this.get(5) +\r\n \", sizingmethod='auto expand')\"\r\n );\r\n };\r\n matrixproto.offset = function() {\r\n return [this.e.toFixed(4), this.f.toFixed(4)];\r\n };\r\n\r\n function norm(a) {\r\n return a[0] * a[0] + a[1] * a[1];\r\n }\r\n\r\n function normalize(a) {\r\n var mag = math.sqrt(norm(a));\r\n a[0] && (a[0] /= mag);\r\n a[1] && (a[1] /= mag);\r\n }\r\n matrixproto.split = function() {\r\n var out = {};\r\n out.dx = this.e;\r\n out.dy = this.f;\r\n var row = [\r\n [this.a, this.c],\r\n [this.b, this.d],\r\n ];\r\n out.scalex = math.sqrt(norm(row[0]));\r\n normalize(row[0]);\r\n out.shear = row[0][0] * row[1][0] + row[0][1] * row[1][1];\r\n row[1] = [row[1][0] - row[0][0] * out.shear, row[1][1] - row[0][1] * out.shear];\r\n out.scaley = math.sqrt(norm(row[1]));\r\n normalize(row[1]);\r\n out.shear /= out.scaley;\r\n var sin = -row[0][1],\r\n cos = row[1][1];\r\n if (cos < 0) {\r\n out.rotate = R.deg(math.acos(cos));\r\n if (sin < 0) {\r\n out.rotate = 360 - out.rotate;\r\n }\r\n } else {\r\n out.rotate = R.deg(math.asin(sin));\r\n }\r\n out.isSimple = !+out.shear.toFixed(9) && (out.scalex.toFixed(9) == out.scaley.toFixed(9) || !out.rotate);\r\n out.isSuperSimple = !+out.shear.toFixed(9) && out.scalex.toFixed(9) == out.scaley.toFixed(9) && !out.rotate;\r\n out.noRotation = !+out.shear.toFixed(9) && !out.rotate;\r\n return out;\r\n };\r\n matrixproto.toTransformString = function(shorter) {\r\n var s = shorter || this[split]();\r\n if (s.isSimple) {\r\n s.scalex = +s.scalex.toFixed(4);\r\n s.scaley = +s.scaley.toFixed(4);\r\n s.rotate = +s.rotate.toFixed(4);\r\n return (\r\n (s.dx || s.dy ? 't' + [s.dx, s.dy] : E) +\r\n (s.scalex != 1 || s.scaley != 1 ? 's' + [s.scalex, s.scaley, 0, 0] : E) +\r\n (s.rotate ? 'r' + [s.rotate, 0, 0] : E)\r\n );\r\n } else {\r\n return 'm' + [this.get(0), this.get(1), this.get(2), this.get(3), this.get(4), this.get(5)];\r\n }\r\n };\r\n })(Matrix.prototype);\r\n var version = navigator.userAgent.match(/Version\\/(.*?)\\s/) || navigator.userAgent.match(/Chrome\\/(\\d+)/);\r\n if (\r\n (navigator.vendor == 'Apple Computer, Inc.' &&\r\n ((version && version[1] < 4) || navigator.platform.slice(0, 2) == 'iP')) ||\r\n (navigator.vendor == 'Google Inc.' && version && version[1] < 8)\r\n ) {\r\n paperproto.safari = function() {\r\n var rect = this.rect(-99, -99, this.width + 99, this.height + 99).attr({\r\n stroke: 'none',\r\n });\r\n setTimeout(function() {\r\n rect.remove();\r\n });\r\n };\r\n } else {\r\n paperproto.safari = fun;\r\n }\r\n var preventDefault = function() {\r\n this.returnValue = false;\r\n },\r\n preventTouch = function() {\r\n return this.originalEvent.preventDefault();\r\n },\r\n stopPropagation = function() {\r\n this.cancelBubble = true;\r\n },\r\n stopTouch = function() {\r\n return this.originalEvent.stopPropagation();\r\n },\r\n getEventPosition = function(e) {\r\n var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,\r\n scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft;\r\n return {\r\n x: e.clientX + scrollX,\r\n y: e.clientY + scrollY,\r\n };\r\n },\r\n addEvent = (function() {\r\n if (g.doc.addEventListener) {\r\n return function(obj, type, fn, element) {\r\n var f = function(e) {\r\n var pos = getEventPosition(e);\r\n return fn.call(element, e, pos.x, pos.y);\r\n };\r\n obj.addEventListener(type, f, false);\r\n if (supportsTouch && touchMap[type]) {\r\n var _f = function(e) {\r\n var pos = getEventPosition(e),\r\n olde = e;\r\n for (var i = 0, ii = e.targetTouches && e.targetTouches.length; i < ii; i++) {\r\n if (e.targetTouches[i].target == obj) {\r\n e = e.targetTouches[i];\r\n e.originalEvent = olde;\r\n e.preventDefault = preventTouch;\r\n e.stopPropagation = stopTouch;\r\n break;\r\n }\r\n }\r\n return fn.call(element, e, pos.x, pos.y);\r\n };\r\n obj.addEventListener(touchMap[type], _f, false);\r\n }\r\n return function() {\r\n obj.removeEventListener(type, f, false);\r\n if (supportsTouch && touchMap[type]) {\r\n obj.removeEventListener(touchMap[type], f, false);\r\n }\r\n return true;\r\n };\r\n };\r\n } else if (g.doc.attachEvent) {\r\n return function(obj, type, fn, element) {\r\n var f = function(e) {\r\n e = e || g.win.event;\r\n var scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,\r\n scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,\r\n x = e.clientX + scrollX,\r\n y = e.clientY + scrollY;\r\n e.preventDefault = e.preventDefault || preventDefault;\r\n e.stopPropagation = e.stopPropagation || stopPropagation;\r\n return fn.call(element, e, x, y);\r\n };\r\n obj.attachEvent('on' + type, f);\r\n var detacher = function() {\r\n obj.detachEvent('on' + type, f);\r\n return true;\r\n };\r\n return detacher;\r\n };\r\n }\r\n })(),\r\n drag = [],\r\n dragMove = function(e) {\r\n var x = e.clientX,\r\n y = e.clientY,\r\n scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,\r\n scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft,\r\n dragi,\r\n j = drag.length;\r\n while (j--) {\r\n dragi = drag[j];\r\n if (supportsTouch && e.touches) {\r\n var i = e.touches.length,\r\n touch;\r\n while (i--) {\r\n touch = e.touches[i];\r\n if (touch.identifier == dragi.el._drag.id) {\r\n x = touch.clientX;\r\n y = touch.clientY;\r\n (e.originalEvent ? e.originalEvent : e).preventDefault();\r\n break;\r\n }\r\n }\r\n } else {\r\n e.preventDefault();\r\n }\r\n var node = dragi.el.node,\r\n o,\r\n next = node.nextSibling,\r\n parent = node.parentNode,\r\n display = node.style.display;\r\n g.win.opera && parent.removeChild(node);\r\n node.style.display = 'none';\r\n o = dragi.el.paper.getElementByPoint(x, y);\r\n node.style.display = display;\r\n g.win.opera && (next ? parent.insertBefore(node, next) : parent.appendChild(node));\r\n o && eve('raphael.drag.over.' + dragi.el.id, dragi.el, o);\r\n x += scrollX;\r\n y += scrollY;\r\n eve(\r\n 'raphael.drag.move.' + dragi.el.id,\r\n dragi.move_scope || dragi.el,\r\n x - dragi.el._drag.x,\r\n y - dragi.el._drag.y,\r\n x,\r\n y,\r\n e\r\n );\r\n }\r\n },\r\n dragUp = function(e) {\r\n R.unmousemove(dragMove).unmouseup(dragUp);\r\n var i = drag.length,\r\n dragi;\r\n while (i--) {\r\n dragi = drag[i];\r\n dragi.el._drag = {};\r\n eve('raphael.drag.end.' + dragi.el.id, dragi.end_scope || dragi.start_scope || dragi.move_scope || dragi.el, e);\r\n }\r\n drag = [];\r\n },\r\n elproto = (R.el = {});\r\n for (var i = events.length; i--; ) {\r\n (function(eventName) {\r\n R[eventName] = elproto[eventName] = function(fn, scope) {\r\n if (R.is(fn, 'function')) {\r\n this.events = this.events || [];\r\n this.events.push({\r\n name: eventName,\r\n f: fn,\r\n unbind: addEvent(this.shape || this.node || g.doc, eventName, fn, scope || this),\r\n });\r\n }\r\n return this;\r\n };\r\n R['un' + eventName] = elproto['un' + eventName] = function(fn) {\r\n var events = this.events || [],\r\n l = events.length;\r\n while (l--) {\r\n if (events[l].name == eventName && (R.is(fn, 'undefined') || events[l].f == fn)) {\r\n events[l].unbind();\r\n events.splice(l, 1);\r\n !events.length && delete this.events;\r\n }\r\n }\r\n return this;\r\n };\r\n })(events[i]);\r\n }\r\n elproto.data = function(key, value) {\r\n var data = (eldata[this.id] = eldata[this.id] || {});\r\n if (arguments.length == 0) {\r\n return data;\r\n }\r\n if (arguments.length == 1) {\r\n if (R.is(key, 'object')) {\r\n for (var i in key) {\r\n if (key[has](i)) {\r\n this.data(i, key[i]);\r\n }\r\n }\r\n return this;\r\n }\r\n eve('raphael.data.get.' + this.id, this, data[key], key);\r\n return data[key];\r\n }\r\n data[key] = value;\r\n eve('raphael.data.set.' + this.id, this, value, key);\r\n return this;\r\n };\r\n elproto.removeData = function(key) {\r\n if (key == null) {\r\n eldata[this.id] = {};\r\n } else {\r\n eldata[this.id] && delete eldata[this.id][key];\r\n }\r\n return this;\r\n };\r\n elproto.getData = function() {\r\n return clone(eldata[this.id] || {});\r\n };\r\n elproto.hover = function(f_in, f_out, scope_in, scope_out) {\r\n return this.mouseover(f_in, scope_in).mouseout(f_out, scope_out || scope_in);\r\n };\r\n elproto.unhover = function(f_in, f_out) {\r\n return this.unmouseover(f_in).unmouseout(f_out);\r\n };\r\n var draggable = [];\r\n elproto.drag = function(onmove, onstart, onend, move_scope, start_scope, end_scope) {\r\n function start(e) {\r\n (e.originalEvent || e).preventDefault();\r\n var x = e.clientX,\r\n y = e.clientY,\r\n scrollY = g.doc.documentElement.scrollTop || g.doc.body.scrollTop,\r\n scrollX = g.doc.documentElement.scrollLeft || g.doc.body.scrollLeft;\r\n this._drag.id = e.identifier;\r\n if (supportsTouch && e.touches) {\r\n var i = e.touches.length,\r\n touch;\r\n while (i--) {\r\n touch = e.touches[i];\r\n this._drag.id = touch.identifier;\r\n if (touch.identifier == this._drag.id) {\r\n x = touch.clientX;\r\n y = touch.clientY;\r\n break;\r\n }\r\n }\r\n }\r\n this._drag.x = x + scrollX;\r\n this._drag.y = y + scrollY;\r\n !drag.length && R.mousemove(dragMove).mouseup(dragUp);\r\n drag.push({\r\n el: this,\r\n move_scope: move_scope,\r\n start_scope: start_scope,\r\n end_scope: end_scope,\r\n });\r\n onstart && eve.on('raphael.drag.start.' + this.id, onstart);\r\n onmove && eve.on('raphael.drag.move.' + this.id, onmove);\r\n onend && eve.on('raphael.drag.end.' + this.id, onend);\r\n eve(\r\n 'raphael.drag.start.' + this.id,\r\n start_scope || move_scope || this,\r\n e.clientX + scrollX,\r\n e.clientY + scrollY,\r\n e\r\n );\r\n }\r\n this._drag = {};\r\n draggable.push({\r\n el: this,\r\n start: start,\r\n });\r\n this.mousedown(start);\r\n return this;\r\n };\r\n elproto.onDragOver = function(f) {\r\n f ? eve.on('raphael.drag.over.' + this.id, f) : eve.unbind('raphael.drag.over.' + this.id);\r\n };\r\n elproto.undrag = function() {\r\n var i = draggable.length;\r\n while (i--) {\r\n if (draggable[i].el == this) {\r\n this.unmousedown(draggable[i].start);\r\n draggable.splice(i, 1);\r\n eve.unbind('raphael.drag.*.' + this.id);\r\n }\r\n }\r\n !draggable.length && R.unmousemove(dragMove).unmouseup(dragUp);\r\n drag = [];\r\n };\r\n paperproto.circle = function(x, y, r) {\r\n var out = R._engine.circle(this, x || 0, y || 0, r || 0);\r\n this.__set__ && this.__set__.push(out);\r\n return out;\r\n };\r\n paperproto.rect = function(x, y, w, h, r) {\r\n var out = R._engine.rect(this, x || 0, y || 0, w || 0, h || 0, r || 0);\r\n this.__set__ && this.__set__.push(out);\r\n return out;\r\n };\r\n paperproto.ellipse = function(x, y, rx, ry) {\r\n var out = R._engine.ellipse(this, x || 0, y || 0, rx || 0, ry || 0);\r\n this.__set__ && this.__set__.push(out);\r\n return out;\r\n };\r\n paperproto.path = function(pathString) {\r\n pathString && !R.is(pathString, string) && !R.is(pathString[0], array) && (pathString += E);\r\n var out = R._engine.path(R.format[apply](R, arguments), this);\r\n this.__set__ && this.__set__.push(out);\r\n return out;\r\n };\r\n paperproto.image = function(src, x, y, w, h) {\r\n var out = R._engine.image(this, src || 'about:blank', x || 0, y || 0, w || 0, h || 0);\r\n this.__set__ && this.__set__.push(out);\r\n return out;\r\n };\r\n paperproto.text = function(x, y, text) {\r\n var out = R._engine.text(this, x || 0, y || 0, Str(text));\r\n this.__set__ && this.__set__.push(out);\r\n return out;\r\n };\r\n paperproto.set = function(itemsArray) {\r\n !R.is(itemsArray, 'array') && (itemsArray = Array.prototype.splice.call(arguments, 0, arguments.length));\r\n var out = new Set(itemsArray);\r\n this.__set__ && this.__set__.push(out);\r\n out.paper = this;\r\n out.type = 'set';\r\n return out;\r\n };\r\n paperproto.setStart = function(set) {\r\n this.__set__ = set || this.set();\r\n };\r\n paperproto.setFinish = function(set) {\r\n var out = this.__set__;\r\n delete this.__set__;\r\n return out;\r\n };\r\n paperproto.setSize = function(width, height) {\r\n return R._engine.setSize.call(this, width, height);\r\n };\r\n paperproto.setViewBox = function(x, y, w, h, fit) {\r\n return R._engine.setViewBox.call(this, x, y, w, h, fit);\r\n };\r\n paperproto.top = paperproto.bottom = null;\r\n paperproto.raphael = R;\r\n var getOffset = function(elem) {\r\n var box = elem.getBoundingClientRect(),\r\n doc = elem.ownerDocument,\r\n body = doc.body,\r\n docElem = doc.documentElement,\r\n clientTop = docElem.clientTop || body.clientTop || 0,\r\n clientLeft = docElem.clientLeft || body.clientLeft || 0,\r\n top = box.top + (g.win.pageYOffset || docElem.scrollTop || body.scrollTop) - clientTop,\r\n left = box.left + (g.win.pageXOffset || docElem.scrollLeft || body.scrollLeft) - clientLeft;\r\n return {\r\n y: top,\r\n x: left,\r\n };\r\n };\r\n paperproto.getElementByPoint = function(x, y) {\r\n var paper = this,\r\n svg = paper.canvas,\r\n target = g.doc.elementFromPoint(x, y);\r\n if (g.win.opera && target.tagName == 'svg') {\r\n var so = getOffset(svg),\r\n sr = svg.createSVGRect();\r\n sr.x = x - so.x;\r\n sr.y = y - so.y;\r\n sr.width = sr.height = 1;\r\n var hits = svg.getIntersectionList(sr, null);\r\n if (hits.length) {\r\n target = hits[hits.length - 1];\r\n }\r\n }\r\n if (!target) {\r\n return null;\r\n }\r\n while (target.parentNode && target != svg.parentNode && !target.raphael) {\r\n target = target.parentNode;\r\n }\r\n target == paper.canvas.parentNode && (target = svg);\r\n target = target && target.raphael ? paper.getById(target.raphaelid) : null;\r\n return target;\r\n };\r\n paperproto.getElementsByBBox = function(bbox) {\r\n var set = this.set();\r\n this.forEach(function(el) {\r\n if (R.isBBoxIntersect(el.getBBox(), bbox)) {\r\n set.push(el);\r\n }\r\n });\r\n return set;\r\n };\r\n paperproto.getById = function(id) {\r\n var bot = this.bottom;\r\n while (bot) {\r\n if (bot.id == id) {\r\n return bot;\r\n }\r\n bot = bot.next;\r\n }\r\n return null;\r\n };\r\n paperproto.forEach = function(callback, thisArg) {\r\n var bot = this.bottom;\r\n while (bot) {\r\n if (callback.call(thisArg, bot) === false) {\r\n return this;\r\n }\r\n bot = bot.next;\r\n }\r\n return this;\r\n };\r\n paperproto.getElementsByPoint = function(x, y) {\r\n var set = this.set();\r\n this.forEach(function(el) {\r\n if (el.isPointInside(x, y)) {\r\n set.push(el);\r\n }\r\n });\r\n return set;\r\n };\r\n\r\n function x_y() {\r\n return this.x + S + this.y;\r\n }\r\n\r\n function x_y_w_h() {\r\n return this.x + S + this.y + S + this.width + ' \\xD7 ' + this.height;\r\n }\r\n elproto.isPointInside = function(x, y) {\r\n var rp = (this.realPath = getPath[this.type](this));\r\n if (this.attr('transform') && this.attr('transform').length) {\r\n rp = R.transformPath(rp, this.attr('transform'));\r\n }\r\n return R.isPointInsidePath(rp, x, y);\r\n };\r\n elproto.getBBox = function(isWithoutTransform) {\r\n if (this.removed) {\r\n return {};\r\n }\r\n var _ = this._;\r\n if (isWithoutTransform) {\r\n if (_.dirty || !_.bboxwt) {\r\n this.realPath = getPath[this.type](this);\r\n _.bboxwt = pathDimensions(this.realPath);\r\n _.bboxwt.toString = x_y_w_h;\r\n _.dirty = 0;\r\n }\r\n return _.bboxwt;\r\n }\r\n if (_.dirty || _.dirtyT || !_.bbox) {\r\n if (_.dirty || !this.realPath) {\r\n _.bboxwt = 0;\r\n this.realPath = getPath[this.type](this);\r\n }\r\n _.bbox = pathDimensions(mapPath(this.realPath, this.matrix));\r\n _.bbox.toString = x_y_w_h;\r\n _.dirty = _.dirtyT = 0;\r\n }\r\n return _.bbox;\r\n };\r\n elproto.clone = function() {\r\n if (this.removed) {\r\n return null;\r\n }\r\n var out = this.paper[this.type]().attr(this.attr());\r\n this.__set__ && this.__set__.push(out);\r\n return out;\r\n };\r\n elproto.glow = function(glow) {\r\n if (this.type == 'text') {\r\n return null;\r\n }\r\n glow = glow || {};\r\n var s = {\r\n width: (glow.width || 10) + (+this.attr('stroke-width') || 1),\r\n fill: glow.fill || false,\r\n opacity: glow.opacity || 0.5,\r\n offsetx: glow.offsetx || 0,\r\n offsety: glow.offsety || 0,\r\n color: glow.color || '#000',\r\n },\r\n c = s.width / 2,\r\n r = this.paper,\r\n out = r.set(),\r\n path = this.realPath || getPath[this.type](this);\r\n path = this.matrix ? mapPath(path, this.matrix) : path;\r\n for (var i = 1; i < c + 1; i++) {\r\n out.push(\r\n r.path(path).attr({\r\n stroke: s.color,\r\n fill: s.fill ? s.color : 'none',\r\n 'stroke-linejoin': 'round',\r\n 'stroke-linecap': 'round',\r\n 'stroke-width': +((s.width / c) * i).toFixed(3),\r\n opacity: +(s.opacity / c).toFixed(3),\r\n })\r\n );\r\n }\r\n return out.insertBefore(this).translate(s.offsetx, s.offsety);\r\n };\r\n var curveslengths = {},\r\n getPointAtSegmentLength = function(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, length) {\r\n if (length == null) {\r\n return bezlen(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y);\r\n } else {\r\n return R.findDotsAtSegment(\r\n p1x,\r\n p1y,\r\n c1x,\r\n c1y,\r\n c2x,\r\n c2y,\r\n p2x,\r\n p2y,\r\n getTatLen(p1x, p1y, c1x, c1y, c2x, c2y, p2x, p2y, length)\r\n );\r\n }\r\n },\r\n getLengthFactory = function(istotal, subpath) {\r\n return function(path, length, onlystart) {\r\n path = path2curve(path);\r\n var x,\r\n y,\r\n p,\r\n l,\r\n sp = '',\r\n subpaths = {},\r\n point,\r\n len = 0;\r\n for (var i = 0, ii = path.length; i < ii; i++) {\r\n p = path[i];\r\n if (p[0] == 'M') {\r\n x = +p[1];\r\n y = +p[2];\r\n } else {\r\n l = getPointAtSegmentLength(x, y, p[1], p[2], p[3], p[4], p[5], p[6]);\r\n if (len + l > length) {\r\n if (subpath && !subpaths.start) {\r\n point = getPointAtSegmentLength(x, y, p[1], p[2], p[3], p[4], p[5], p[6], length - len);\r\n sp += ['C' + point.start.x, point.start.y, point.m.x, point.m.y, point.x, point.y];\r\n if (onlystart) {\r\n return sp;\r\n }\r\n subpaths.start = sp;\r\n sp = ['M' + point.x, point.y + 'C' + point.n.x, point.n.y, point.end.x, point.end.y, p[5], p[6]].join();\r\n len += l;\r\n x = +p[5];\r\n y = +p[6];\r\n continue;\r\n }\r\n if (!istotal && !subpath) {\r\n point = getPointAtSegmentLength(x, y, p[1], p[2], p[3], p[4], p[5], p[6], length - len);\r\n return {\r\n x: point.x,\r\n y: point.y,\r\n alpha: point.alpha,\r\n };\r\n }\r\n }\r\n len += l;\r\n x = +p[5];\r\n y = +p[6];\r\n }\r\n sp += p.shift() + p;\r\n }\r\n subpaths.end = sp;\r\n point = istotal ? len : subpath ? subpaths : R.findDotsAtSegment(x, y, p[0], p[1], p[2], p[3], p[4], p[5], 1);\r\n point.alpha &&\r\n (point = {\r\n x: point.x,\r\n y: point.y,\r\n alpha: point.alpha,\r\n });\r\n return point;\r\n };\r\n };\r\n var getTotalLength = getLengthFactory(1),\r\n getPointAtLength = getLengthFactory(),\r\n getSubpathsAtLength = getLengthFactory(0, 1);\r\n R.getTotalLength = getTotalLength;\r\n R.getPointAtLength = getPointAtLength;\r\n R.getSubpath = function(path, from, to) {\r\n if (this.getTotalLength(path) - to < 0.000001) {\r\n return getSubpathsAtLength(path, from).end;\r\n }\r\n var a = getSubpathsAtLength(path, to, 1);\r\n return from ? getSubpathsAtLength(a, from).end : a;\r\n };\r\n elproto.getTotalLength = function() {\r\n var path = this.getPath();\r\n if (!path) {\r\n return;\r\n }\r\n if (this.node.getTotalLength) {\r\n return this.node.getTotalLength();\r\n }\r\n return getTotalLength(path);\r\n };\r\n elproto.getPointAtLength = function(length) {\r\n var path = this.getPath();\r\n if (!path) {\r\n return;\r\n }\r\n return getPointAtLength(path, length);\r\n };\r\n elproto.getPath = function() {\r\n var path,\r\n getPath = R._getPath[this.type];\r\n if (this.type == 'text' || this.type == 'set') {\r\n return;\r\n }\r\n if (getPath) {\r\n path = getPath(this);\r\n }\r\n return path;\r\n };\r\n elproto.getSubpath = function(from, to) {\r\n var path = this.getPath();\r\n if (!path) {\r\n return;\r\n }\r\n return R.getSubpath(path, from, to);\r\n };\r\n var ef = (R.easing_formulas = {\r\n linear: function(n) {\r\n return n;\r\n },\r\n '<': function(n) {\r\n return pow(n, 1.7);\r\n },\r\n '>': function(n) {\r\n return pow(n, 0.48);\r\n },\r\n '<>': function(n) {\r\n var q = 0.48 - n / 1.04,\r\n Q = math.sqrt(0.1734 + q * q),\r\n x = Q - q,\r\n X = pow(abs(x), 0.3333333333333333) * (x < 0 ? -1 : 1),\r\n y = -Q - q,\r\n Y = pow(abs(y), 0.3333333333333333) * (y < 0 ? -1 : 1),\r\n t = X + Y + 0.5;\r\n return (1 - t) * 3 * t * t + t * t * t;\r\n },\r\n backIn: function(n) {\r\n var s = 1.70158;\r\n return n * n * ((s + 1) * n - s);\r\n },\r\n backOut: function(n) {\r\n n = n - 1;\r\n var s = 1.70158;\r\n return n * n * ((s + 1) * n + s) + 1;\r\n },\r\n elastic: function(n) {\r\n if (n == !!n) {\r\n return n;\r\n }\r\n return pow(2, -10 * n) * math.sin(((n - 0.075) * (2 * PI)) / 0.3) + 1;\r\n },\r\n bounce: function(n) {\r\n var s = 7.5625,\r\n p = 2.75,\r\n l;\r\n if (n < 1 / p) {\r\n l = s * n * n;\r\n } else {\r\n if (n < 2 / p) {\r\n n -= 1.5 / p;\r\n l = s * n * n + 0.75;\r\n } else {\r\n if (n < 2.5 / p) {\r\n n -= 2.25 / p;\r\n l = s * n * n + 0.9375;\r\n } else {\r\n n -= 2.625 / p;\r\n l = s * n * n + 0.984375;\r\n }\r\n }\r\n }\r\n return l;\r\n },\r\n });\r\n ef.easeIn = ef['ease-in'] = ef['<'];\r\n ef.easeOut = ef['ease-out'] = ef['>'];\r\n ef.easeInOut = ef['ease-in-out'] = ef['<>'];\r\n ef['back-in'] = ef.backIn;\r\n ef['back-out'] = ef.backOut;\r\n var animationElements = [],\r\n requestAnimFrame =\r\n window.requestAnimationFrame ||\r\n window.webkitRequestAnimationFrame ||\r\n window.mozRequestAnimationFrame ||\r\n window.oRequestAnimationFrame ||\r\n window.msRequestAnimationFrame ||\r\n function(callback) {\r\n setTimeout(callback, 16);\r\n },\r\n animation = function() {\r\n var Now = +new Date(),\r\n l = 0;\r\n for (; l < animationElements.length; l++) {\r\n var e = animationElements[l];\r\n if (e.el.removed || e.paused) {\r\n continue;\r\n }\r\n var time = Now - e.start,\r\n ms = e.ms,\r\n easing = e.easing,\r\n from = e.from,\r\n diff = e.diff,\r\n to = e.to,\r\n t = e.t,\r\n that = e.el,\r\n set = {},\r\n now,\r\n init = {},\r\n key;\r\n if (e.initstatus) {\r\n time = ((e.initstatus * e.anim.top - e.prev) / (e.percent - e.prev)) * ms;\r\n e.status = e.initstatus;\r\n delete e.initstatus;\r\n e.stop && animationElements.splice(l--, 1);\r\n } else {\r\n e.status = (e.prev + (e.percent - e.prev) * (time / ms)) / e.anim.top;\r\n }\r\n if (time < 0) {\r\n continue;\r\n }\r\n if (time < ms) {\r\n var pos = easing(time / ms);\r\n for (var attr in from) {\r\n if (from[has](attr)) {\r\n switch (availableAnimAttrs[attr]) {\r\n case nu:\r\n now = +from[attr] + pos * ms * diff[attr];\r\n break;\r\n case 'colour':\r\n now =\r\n 'rgb(' +\r\n [\r\n upto255(round(from[attr].r + pos * ms * diff[attr].r)),\r\n upto255(round(from[attr].g + pos * ms * diff[attr].g)),\r\n upto255(round(from[attr].b + pos * ms * diff[attr].b)),\r\n ].join(',') +\r\n ')';\r\n break;\r\n case 'path':\r\n now = [];\r\n for (var i = 0, ii = from[attr].length; i < ii; i++) {\r\n now[i] = [from[attr][i][0]];\r\n for (var j = 1, jj = from[attr][i].length; j < jj; j++) {\r\n now[i][j] = +from[attr][i][j] + pos * ms * diff[attr][i][j];\r\n }\r\n now[i] = now[i].join(S);\r\n }\r\n now = now.join(S);\r\n break;\r\n case 'transform':\r\n if (diff[attr].real) {\r\n now = [];\r\n for (i = 0, ii = from[attr].length; i < ii; i++) {\r\n now[i] = [from[attr][i][0]];\r\n for (j = 1, jj = from[attr][i].length; j < jj; j++) {\r\n now[i][j] = from[attr][i][j] + pos * ms * diff[attr][i][j];\r\n }\r\n }\r\n } else {\r\n var get = function(i) {\r\n return +from[attr][i] + pos * ms * diff[attr][i];\r\n };\r\n now = [['m', get(0), get(1), get(2), get(3), get(4), get(5)]];\r\n }\r\n break;\r\n case 'csv':\r\n if (attr == 'clip-rect') {\r\n now = [];\r\n i = 4;\r\n while (i--) {\r\n now[i] = +from[attr][i] + pos * ms * diff[attr][i];\r\n }\r\n }\r\n break;\r\n default:\r\n var from2 = [][concat](from[attr]);\r\n now = [];\r\n i = that.paper.customAttributes[attr].length;\r\n while (i--) {\r\n now[i] = +from2[i] + pos * ms * diff[attr][i];\r\n }\r\n break;\r\n }\r\n set[attr] = now;\r\n }\r\n }\r\n that.attr(set);\r\n (function(id, that, anim) {\r\n setTimeout(function() {\r\n eve('raphael.anim.frame.' + id, that, anim);\r\n });\r\n })(that.id, that, e.anim);\r\n } else {\r\n (function(f, el, a) {\r\n setTimeout(function() {\r\n eve('raphael.anim.frame.' + el.id, el, a);\r\n eve('raphael.anim.finish.' + el.id, el, a);\r\n R.is(f, 'function') && f.call(el);\r\n });\r\n })(e.callback, that, e.anim);\r\n that.attr(to);\r\n animationElements.splice(l--, 1);\r\n if (e.repeat > 1 && !e.next) {\r\n for (key in to) {\r\n if (to[has](key)) {\r\n init[key] = e.totalOrigin[key];\r\n }\r\n }\r\n e.el.attr(init);\r\n runAnimation(e.anim, e.el, e.anim.percents[0], null, e.totalOrigin, e.repeat - 1);\r\n }\r\n if (e.next && !e.stop) {\r\n runAnimation(e.anim, e.el, e.next, null, e.totalOrigin, e.repeat);\r\n }\r\n }\r\n }\r\n R.svg && that && that.paper && that.paper.safari();\r\n animationElements.length && requestAnimFrame(animation);\r\n },\r\n upto255 = function(color) {\r\n return color > 255 ? 255 : color < 0 ? 0 : color;\r\n };\r\n elproto.animateWith = function(el, anim, params, ms, easing, callback) {\r\n var element = this;\r\n if (element.removed) {\r\n callback && callback.call(element);\r\n return element;\r\n }\r\n var a = params instanceof Animation ? params : R.animation(params, ms, easing, callback),\r\n x,\r\n y;\r\n runAnimation(a, element, a.percents[0], null, element.attr());\r\n for (var i = 0, ii = animationElements.length; i < ii; i++) {\r\n if (animationElements[i].anim == anim && animationElements[i].el == el) {\r\n animationElements[ii - 1].start = animationElements[i].start;\r\n break;\r\n }\r\n }\r\n return element;\r\n };\r\n\r\n function CubicBezierAtTime(t, p1x, p1y, p2x, p2y, duration) {\r\n var cx = 3 * p1x,\r\n bx = 3 * (p2x - p1x) - cx,\r\n ax = 1 - cx - bx,\r\n cy = 3 * p1y,\r\n by = 3 * (p2y - p1y) - cy,\r\n ay = 1 - cy - by;\r\n\r\n function sampleCurveX(t) {\r\n return ((ax * t + bx) * t + cx) * t;\r\n }\r\n\r\n function solve(x, epsilon) {\r\n var t = solveCurveX(x, epsilon);\r\n return ((ay * t + by) * t + cy) * t;\r\n }\r\n\r\n function solveCurveX(x, epsilon) {\r\n var t0, t1, t2, x2, d2, i;\r\n for (t2 = x, i = 0; i < 8; i++) {\r\n x2 = sampleCurveX(t2) - x;\r\n if (abs(x2) < epsilon) {\r\n return t2;\r\n }\r\n d2 = (3 * ax * t2 + 2 * bx) * t2 + cx;\r\n if (abs(d2) < 0.000001) {\r\n break;\r\n }\r\n t2 = t2 - x2 / d2;\r\n }\r\n t0 = 0;\r\n t1 = 1;\r\n t2 = x;\r\n if (t2 < t0) {\r\n return t0;\r\n }\r\n if (t2 > t1) {\r\n return t1;\r\n }\r\n while (t0 < t1) {\r\n x2 = sampleCurveX(t2);\r\n if (abs(x2 - x) < epsilon) {\r\n return t2;\r\n }\r\n if (x > x2) {\r\n t0 = t2;\r\n } else {\r\n t1 = t2;\r\n }\r\n t2 = (t1 - t0) / 2 + t0;\r\n }\r\n return t2;\r\n }\r\n return solve(t, 1 / (200 * duration));\r\n }\r\n elproto.onAnimation = function(f) {\r\n f ? eve.on('raphael.anim.frame.' + this.id, f) : eve.unbind('raphael.anim.frame.' + this.id);\r\n return this;\r\n };\r\n\r\n function Animation(anim, ms) {\r\n var percents = [],\r\n newAnim = {};\r\n this.ms = ms;\r\n this.times = 1;\r\n if (anim) {\r\n for (var attr in anim) {\r\n if (anim[has](attr)) {\r\n newAnim[toFloat(attr)] = anim[attr];\r\n percents.push(toFloat(attr));\r\n }\r\n }\r\n percents.sort(sortByNumber);\r\n }\r\n this.anim = newAnim;\r\n this.top = percents[percents.length - 1];\r\n this.percents = percents;\r\n }\r\n Animation.prototype.delay = function(delay) {\r\n var a = new Animation(this.anim, this.ms);\r\n a.times = this.times;\r\n a.del = +delay || 0;\r\n return a;\r\n };\r\n Animation.prototype.repeat = function(times) {\r\n var a = new Animation(this.anim, this.ms);\r\n a.del = this.del;\r\n a.times = math.floor(mmax(times, 0)) || 1;\r\n return a;\r\n };\r\n\r\n function runAnimation(anim, element, percent, status, totalOrigin, times) {\r\n percent = toFloat(percent);\r\n var params,\r\n isInAnim,\r\n isInAnimSet,\r\n percents = [],\r\n next,\r\n prev,\r\n timestamp,\r\n ms = anim.ms,\r\n from = {},\r\n to = {},\r\n diff = {};\r\n if (status) {\r\n for (i = 0, ii = animationElements.length; i < ii; i++) {\r\n var e = animationElements[i];\r\n if (e.el.id == element.id && e.anim == anim) {\r\n if (e.percent != percent) {\r\n animationElements.splice(i, 1);\r\n isInAnimSet = 1;\r\n } else {\r\n isInAnim = e;\r\n }\r\n element.attr(e.totalOrigin);\r\n break;\r\n }\r\n }\r\n } else {\r\n status = +to;\r\n }\r\n for (var i = 0, ii = anim.percents.length; i < ii; i++) {\r\n if (anim.percents[i] == percent || anim.percents[i] > status * anim.top) {\r\n percent = anim.percents[i];\r\n prev = anim.percents[i - 1] || 0;\r\n ms = (ms / anim.top) * (percent - prev);\r\n next = anim.percents[i + 1];\r\n params = anim.anim[percent];\r\n break;\r\n } else if (status) {\r\n element.attr(anim.anim[anim.percents[i]]);\r\n }\r\n }\r\n if (!params) {\r\n return;\r\n }\r\n if (!isInAnim) {\r\n for (var attr in params) {\r\n if (params[has](attr)) {\r\n if (availableAnimAttrs[has](attr) || element.paper.customAttributes[has](attr)) {\r\n from[attr] = element.attr(attr);\r\n from[attr] == null && (from[attr] = availableAttrs[attr]);\r\n to[attr] = params[attr];\r\n switch (availableAnimAttrs[attr]) {\r\n case nu:\r\n diff[attr] = (to[attr] - from[attr]) / ms;\r\n break;\r\n case 'colour':\r\n from[attr] = R.getRGB(from[attr]);\r\n var toColour = R.getRGB(to[attr]);\r\n diff[attr] = {\r\n r: (toColour.r - from[attr].r) / ms,\r\n g: (toColour.g - from[attr].g) / ms,\r\n b: (toColour.b - from[attr].b) / ms,\r\n };\r\n break;\r\n case 'path':\r\n var pathes = path2curve(from[attr], to[attr]),\r\n toPath = pathes[1];\r\n from[attr] = pathes[0];\r\n diff[attr] = [];\r\n for (i = 0, ii = from[attr].length; i < ii; i++) {\r\n diff[attr][i] = [0];\r\n for (var j = 1, jj = from[attr][i].length; j < jj; j++) {\r\n diff[attr][i][j] = (toPath[i][j] - from[attr][i][j]) / ms;\r\n }\r\n }\r\n break;\r\n case 'transform':\r\n var _ = element._,\r\n eq = equaliseTransform(_[attr], to[attr]);\r\n if (eq) {\r\n from[attr] = eq.from;\r\n to[attr] = eq.to;\r\n diff[attr] = [];\r\n diff[attr].real = true;\r\n for (i = 0, ii = from[attr].length; i < ii; i++) {\r\n diff[attr][i] = [from[attr][i][0]];\r\n for (j = 1, jj = from[attr][i].length; j < jj; j++) {\r\n diff[attr][i][j] = (to[attr][i][j] - from[attr][i][j]) / ms;\r\n }\r\n }\r\n } else {\r\n var m = element.matrix || new Matrix(),\r\n to2 = {\r\n _: {\r\n transform: _.transform,\r\n },\r\n getBBox: function() {\r\n return element.getBBox(1);\r\n },\r\n };\r\n from[attr] = [m.a, m.b, m.c, m.d, m.e, m.f];\r\n extractTransform(to2, to[attr]);\r\n to[attr] = to2._.transform;\r\n diff[attr] = [\r\n (to2.matrix.a - m.a) / ms,\r\n (to2.matrix.b - m.b) / ms,\r\n (to2.matrix.c - m.c) / ms,\r\n (to2.matrix.d - m.d) / ms,\r\n (to2.matrix.e - m.e) / ms,\r\n (to2.matrix.f - m.f) / ms,\r\n ];\r\n }\r\n break;\r\n case 'csv':\r\n var values = Str(params[attr])[split](separator),\r\n from2 = Str(from[attr])[split](separator);\r\n if (attr == 'clip-rect') {\r\n from[attr] = from2;\r\n diff[attr] = [];\r\n i = from2.length;\r\n while (i--) {\r\n diff[attr][i] = (values[i] - from[attr][i]) / ms;\r\n }\r\n }\r\n to[attr] = values;\r\n break;\r\n default:\r\n values = [][concat](params[attr]);\r\n from2 = [][concat](from[attr]);\r\n diff[attr] = [];\r\n i = element.paper.customAttributes[attr].length;\r\n while (i--) {\r\n diff[attr][i] = ((values[i] || 0) - (from2[i] || 0)) / ms;\r\n }\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n var easing = params.easing,\r\n easyeasy = R.easing_formulas[easing];\r\n if (!easyeasy) {\r\n easyeasy = Str(easing).match(bezierrg);\r\n if (easyeasy && easyeasy.length == 5) {\r\n var curve = easyeasy;\r\n easyeasy = function(t) {\r\n return CubicBezierAtTime(t, +curve[1], +curve[2], +curve[3], +curve[4], ms);\r\n };\r\n } else {\r\n easyeasy = pipe;\r\n }\r\n }\r\n timestamp = params.start || anim.start || +new Date();\r\n e = {\r\n anim: anim,\r\n percent: percent,\r\n timestamp: timestamp,\r\n start: timestamp + (anim.del || 0),\r\n status: 0,\r\n initstatus: status || 0,\r\n stop: false,\r\n ms: ms,\r\n easing: easyeasy,\r\n from: from,\r\n diff: diff,\r\n to: to,\r\n el: element,\r\n callback: params.callback,\r\n prev: prev,\r\n next: next,\r\n repeat: times || anim.times,\r\n origin: element.attr(),\r\n totalOrigin: totalOrigin,\r\n };\r\n animationElements.push(e);\r\n if (status && !isInAnim && !isInAnimSet) {\r\n e.stop = true;\r\n e.start = new Date() - ms * status;\r\n if (animationElements.length == 1) {\r\n return animation();\r\n }\r\n }\r\n if (isInAnimSet) {\r\n e.start = new Date() - e.ms * status;\r\n }\r\n animationElements.length == 1 && requestAnimFrame(animation);\r\n } else {\r\n isInAnim.initstatus = status;\r\n isInAnim.start = new Date() - isInAnim.ms * status;\r\n }\r\n eve('raphael.anim.start.' + element.id, element, anim);\r\n }\r\n R.animation = function(params, ms, easing, callback) {\r\n if (params instanceof Animation) {\r\n return params;\r\n }\r\n if (R.is(easing, 'function') || !easing) {\r\n callback = callback || easing || null;\r\n easing = null;\r\n }\r\n params = Object(params);\r\n ms = +ms || 0;\r\n var p = {},\r\n json,\r\n attr;\r\n for (attr in params) {\r\n if (params[has](attr) && toFloat(attr) != attr && toFloat(attr) + '%' != attr) {\r\n json = true;\r\n p[attr] = params[attr];\r\n }\r\n }\r\n if (!json) {\r\n return new Animation(params, ms);\r\n } else {\r\n easing && (p.easing = easing);\r\n callback && (p.callback = callback);\r\n return new Animation(\r\n {\r\n 100: p,\r\n },\r\n ms\r\n );\r\n }\r\n };\r\n elproto.animate = function(params, ms, easing, callback) {\r\n var element = this;\r\n if (element.removed) {\r\n callback && callback.call(element);\r\n return element;\r\n }\r\n var anim = params instanceof Animation ? params : R.animation(params, ms, easing, callback);\r\n runAnimation(anim, element, anim.percents[0], null, element.attr());\r\n return element;\r\n };\r\n elproto.setTime = function(anim, value) {\r\n if (anim && value != null) {\r\n this.status(anim, mmin(value, anim.ms) / anim.ms);\r\n }\r\n return this;\r\n };\r\n elproto.status = function(anim, value) {\r\n var out = [],\r\n i = 0,\r\n len,\r\n e;\r\n if (value != null) {\r\n runAnimation(anim, this, -1, mmin(value, 1));\r\n return this;\r\n } else {\r\n len = animationElements.length;\r\n for (; i < len; i++) {\r\n e = animationElements[i];\r\n if (e.el.id == this.id && (!anim || e.anim == anim)) {\r\n if (anim) {\r\n return e.status;\r\n }\r\n out.push({\r\n anim: e.anim,\r\n status: e.status,\r\n });\r\n }\r\n }\r\n if (anim) {\r\n return 0;\r\n }\r\n return out;\r\n }\r\n };\r\n elproto.pause = function(anim) {\r\n for (var i = 0; i < animationElements.length; i++) {\r\n if (animationElements[i].el.id == this.id && (!anim || animationElements[i].anim == anim)) {\r\n if (eve('raphael.anim.pause.' + this.id, this, animationElements[i].anim) !== false) {\r\n animationElements[i].paused = true;\r\n }\r\n }\r\n }\r\n return this;\r\n };\r\n elproto.resume = function(anim) {\r\n for (var i = 0; i < animationElements.length; i++) {\r\n if (animationElements[i].el.id == this.id && (!anim || animationElements[i].anim == anim)) {\r\n var e = animationElements[i];\r\n if (eve('raphael.anim.resume.' + this.id, this, e.anim) !== false) {\r\n delete e.paused;\r\n this.status(e.anim, e.status);\r\n }\r\n }\r\n }\r\n return this;\r\n };\r\n elproto.stop = function(anim) {\r\n for (var i = 0; i < animationElements.length; i++) {\r\n if (animationElements[i].el.id == this.id && (!anim || animationElements[i].anim == anim)) {\r\n if (eve('raphael.anim.stop.' + this.id, this, animationElements[i].anim) !== false) {\r\n animationElements.splice(i--, 1);\r\n }\r\n }\r\n }\r\n return this;\r\n };\r\n\r\n function stopAnimation(paper) {\r\n for (var i = 0; i < animationElements.length; i++) {\r\n if (animationElements[i].el.paper == paper) {\r\n animationElements.splice(i--, 1);\r\n }\r\n }\r\n }\r\n eve.on('raphael.remove', stopAnimation);\r\n eve.on('raphael.clear', stopAnimation);\r\n elproto.toString = function() {\r\n return 'Rapha\\xEBl\\u2019s object';\r\n };\r\n var Set = function(items) {\r\n this.items = [];\r\n this.length = 0;\r\n this.type = 'set';\r\n if (items) {\r\n for (var i = 0, ii = items.length; i < ii; i++) {\r\n if (items[i] && (items[i].constructor == elproto.constructor || items[i].constructor == Set)) {\r\n this[this.items.length] = this.items[this.items.length] = items[i];\r\n this.length++;\r\n }\r\n }\r\n }\r\n },\r\n setproto = Set.prototype;\r\n setproto.push = function() {\r\n var item, len;\r\n for (var i = 0, ii = arguments.length; i < ii; i++) {\r\n item = arguments[i];\r\n if (item && (item.constructor == elproto.constructor || item.constructor == Set)) {\r\n len = this.items.length;\r\n this[len] = this.items[len] = item;\r\n this.length++;\r\n }\r\n }\r\n return this;\r\n };\r\n setproto.pop = function() {\r\n this.length && delete this[this.length--];\r\n return this.items.pop();\r\n };\r\n setproto.forEach = function(callback, thisArg) {\r\n for (var i = 0, ii = this.items.length; i < ii; i++) {\r\n if (callback.call(thisArg, this.items[i], i) === false) {\r\n return this;\r\n }\r\n }\r\n return this;\r\n };\r\n for (var method in elproto) {\r\n if (elproto[has](method)) {\r\n setproto[method] = (function(methodname) {\r\n return function() {\r\n var arg = arguments;\r\n return this.forEach(function(el) {\r\n el[methodname][apply](el, arg);\r\n });\r\n };\r\n })(method);\r\n }\r\n }\r\n setproto.attr = function(name, value) {\r\n if (name && R.is(name, array) && R.is(name[0], 'object')) {\r\n for (var j = 0, jj = name.length; j < jj; j++) {\r\n this.items[j].attr(name[j]);\r\n }\r\n } else {\r\n for (var i = 0, ii = this.items.length; i < ii; i++) {\r\n this.items[i].attr(name, value);\r\n }\r\n }\r\n return this;\r\n };\r\n setproto.clear = function() {\r\n while (this.length) {\r\n this.pop();\r\n }\r\n };\r\n setproto.splice = function(index, count, insertion) {\r\n index = index < 0 ? mmax(this.length + index, 0) : index;\r\n count = mmax(0, mmin(this.length - index, count));\r\n var tail = [],\r\n todel = [],\r\n args = [],\r\n i;\r\n for (i = 2; i < arguments.length; i++) {\r\n args.push(arguments[i]);\r\n }\r\n for (i = 0; i < count; i++) {\r\n todel.push(this[index + i]);\r\n }\r\n for (; i < this.length - index; i++) {\r\n tail.push(this[index + i]);\r\n }\r\n var arglen = args.length;\r\n for (i = 0; i < arglen + tail.length; i++) {\r\n this.items[index + i] = this[index + i] = i < arglen ? args[i] : tail[i - arglen];\r\n }\r\n i = this.items.length = this.length -= count - arglen;\r\n while (this[i]) {\r\n delete this[i++];\r\n }\r\n return new Set(todel);\r\n };\r\n setproto.exclude = function(el) {\r\n for (var i = 0, ii = this.length; i < ii; i++) {\r\n if (this[i] == el) {\r\n this.splice(i, 1);\r\n return true;\r\n }\r\n }\r\n };\r\n setproto.animate = function(params, ms, easing, callback) {\r\n (R.is(easing, 'function') || !easing) && (callback = easing || null);\r\n var len = this.items.length,\r\n i = len,\r\n item,\r\n set = this,\r\n collector;\r\n if (!len) {\r\n return this;\r\n }\r\n callback &&\r\n (collector = function() {\r\n !--len && callback.call(set);\r\n });\r\n easing = R.is(easing, string) ? easing : collector;\r\n var anim = R.animation(params, ms, easing, collector);\r\n item = this.items[--i].animate(anim);\r\n while (i--) {\r\n this.items[i] && !this.items[i].removed && this.items[i].animateWith(item, anim, anim);\r\n (this.items[i] && !this.items[i].removed) || len--;\r\n }\r\n return this;\r\n };\r\n setproto.insertAfter = function(el) {\r\n var i = this.items.length;\r\n while (i--) {\r\n this.items[i].insertAfter(el);\r\n }\r\n return this;\r\n };\r\n setproto.getBBox = function() {\r\n var x = [],\r\n y = [],\r\n x2 = [],\r\n y2 = [];\r\n for (var i = this.items.length; i--; ) {\r\n if (!this.items[i].removed) {\r\n var box = this.items[i].getBBox();\r\n x.push(box.x);\r\n y.push(box.y);\r\n x2.push(box.x + box.width);\r\n y2.push(box.y + box.height);\r\n }\r\n }\r\n x = mmin[apply](0, x);\r\n y = mmin[apply](0, y);\r\n x2 = mmax[apply](0, x2);\r\n y2 = mmax[apply](0, y2);\r\n return {\r\n x: x,\r\n y: y,\r\n x2: x2,\r\n y2: y2,\r\n width: x2 - x,\r\n height: y2 - y,\r\n };\r\n };\r\n setproto.clone = function(s) {\r\n s = this.paper.set();\r\n for (var i = 0, ii = this.items.length; i < ii; i++) {\r\n s.push(this.items[i].clone());\r\n }\r\n return s;\r\n };\r\n setproto.toString = function() {\r\n return 'Rapha\\xEBl\\u2018s set';\r\n };\r\n setproto.glow = function(glowConfig) {\r\n var ret = this.paper.set();\r\n this.forEach(function(shape, index) {\r\n var g = shape.glow(glowConfig);\r\n if (g != null) {\r\n g.forEach(function(shape2, index2) {\r\n ret.push(shape2);\r\n });\r\n }\r\n });\r\n return ret;\r\n };\r\n setproto.isPointInside = function(x, y) {\r\n var isPointInside = false;\r\n this.forEach(function(el) {\r\n if (el.isPointInside(x, y)) {\r\n console.log('runned');\r\n isPointInside = true;\r\n return false;\r\n }\r\n });\r\n return isPointInside;\r\n };\r\n R.registerFont = function(font) {\r\n if (!font.face) {\r\n return font;\r\n }\r\n this.fonts = this.fonts || {};\r\n var fontcopy = {\r\n w: font.w,\r\n face: {},\r\n glyphs: {},\r\n },\r\n family = font.face['font-family'];\r\n for (var prop in font.face) {\r\n if (font.face[has](prop)) {\r\n fontcopy.face[prop] = font.face[prop];\r\n }\r\n }\r\n if (this.fonts[family]) {\r\n this.fonts[family].push(fontcopy);\r\n } else {\r\n this.fonts[family] = [fontcopy];\r\n }\r\n if (!font.svg) {\r\n fontcopy.face['units-per-em'] = toInt(font.face['units-per-em'], 10);\r\n for (var glyph in font.glyphs) {\r\n if (font.glyphs[has](glyph)) {\r\n var path = font.glyphs[glyph];\r\n fontcopy.glyphs[glyph] = {\r\n w: path.w,\r\n k: {},\r\n d:\r\n path.d &&\r\n 'M' +\r\n path.d.replace(/[mlcxtrv]/g, function(command) {\r\n return (\r\n {\r\n l: 'L',\r\n c: 'C',\r\n x: 'z',\r\n t: 'm',\r\n r: 'l',\r\n v: 'c',\r\n }[command] || 'M'\r\n );\r\n }) +\r\n 'z',\r\n };\r\n if (path.k) {\r\n for (var k in path.k) {\r\n if (path[has](k)) {\r\n fontcopy.glyphs[glyph].k[k] = path.k[k];\r\n }\r\n }\r\n }\r\n }\r\n }\r\n }\r\n return font;\r\n };\r\n paperproto.getFont = function(family, weight, style, stretch) {\r\n stretch = stretch || 'normal';\r\n style = style || 'normal';\r\n weight =\r\n +weight ||\r\n {\r\n normal: 400,\r\n bold: 700,\r\n lighter: 300,\r\n bolder: 800,\r\n }[weight] ||\r\n 400;\r\n if (!R.fonts) {\r\n return;\r\n }\r\n var font = R.fonts[family];\r\n if (!font) {\r\n var name = new RegExp('(^|\\\\s)' + family.replace(/[^\\w\\d\\s+!~.:_-]/g, E) + '(\\\\s|$)', 'i');\r\n for (var fontName in R.fonts) {\r\n if (R.fonts[has](fontName)) {\r\n if (name.test(fontName)) {\r\n font = R.fonts[fontName];\r\n break;\r\n }\r\n }\r\n }\r\n }\r\n var thefont;\r\n if (font) {\r\n for (var i = 0, ii = font.length; i < ii; i++) {\r\n thefont = font[i];\r\n if (\r\n thefont.face['font-weight'] == weight &&\r\n (thefont.face['font-style'] == style || !thefont.face['font-style']) &&\r\n thefont.face['font-stretch'] == stretch\r\n ) {\r\n break;\r\n }\r\n }\r\n }\r\n return thefont;\r\n };\r\n paperproto.print = function(x, y, string, font, size, origin, letter_spacing, line_spacing) {\r\n origin = origin || 'middle';\r\n letter_spacing = mmax(mmin(letter_spacing || 0, 1), -1);\r\n line_spacing = mmax(mmin(line_spacing || 1, 3), 1);\r\n var letters = Str(string)[split](E),\r\n shift = 0,\r\n notfirst = 0,\r\n path = E,\r\n scale;\r\n R.is(font, 'string') && (font = this.getFont(font));\r\n if (font) {\r\n scale = (size || 16) / font.face['units-per-em'];\r\n var bb = font.face.bbox[split](separator),\r\n top = +bb[0],\r\n lineHeight = bb[3] - bb[1],\r\n shifty = 0,\r\n height = +bb[1] + (origin == 'baseline' ? lineHeight + +font.face.descent : lineHeight / 2);\r\n for (var i = 0, ii = letters.length; i < ii; i++) {\r\n if (letters[i] == '\\n') {\r\n shift = 0;\r\n curr = 0;\r\n notfirst = 0;\r\n shifty += lineHeight * line_spacing;\r\n } else {\r\n var prev = (notfirst && font.glyphs[letters[i - 1]]) || {},\r\n curr = font.glyphs[letters[i]];\r\n shift += notfirst ? (prev.w || font.w) + ((prev.k && prev.k[letters[i]]) || 0) + font.w * letter_spacing : 0;\r\n notfirst = 1;\r\n }\r\n if (curr && curr.d) {\r\n path += R.transformPath(curr.d, [\r\n 't',\r\n shift * scale,\r\n shifty * scale,\r\n 's',\r\n scale,\r\n scale,\r\n top,\r\n height,\r\n 't',\r\n (x - top) / scale,\r\n (y - height) / scale,\r\n ]);\r\n }\r\n }\r\n }\r\n return this.path(path).attr({\r\n fill: '#000',\r\n stroke: 'none',\r\n });\r\n };\r\n paperproto.add = function(json) {\r\n if (R.is(json, 'array')) {\r\n var res = this.set(),\r\n i = 0,\r\n ii = json.length,\r\n j;\r\n for (; i < ii; i++) {\r\n j = json[i] || {};\r\n elements[has](j.type) && res.push(this[j.type]().attr(j));\r\n }\r\n }\r\n return res;\r\n };\r\n R.format = function(token, params) {\r\n var args = R.is(params, array) ? [0][concat](params) : arguments;\r\n token &&\r\n R.is(token, string) &&\r\n args.length - 1 &&\r\n (token = token.replace(formatrg, function(str, i) {\r\n return args[++i] == null ? E : args[i];\r\n }));\r\n return token || E;\r\n };\r\n R.fullfill = (function() {\r\n var tokenRegex = /\\{([^\\}]+)\\}/g,\r\n objNotationRegex = /(?:(?:^|\\.)(.+?)(?=\\[|\\.|$|\\()|\\[('|\")(.+?)\\2\\])(\\(\\))?/g,\r\n replacer = function(all, key, obj) {\r\n var res = obj;\r\n key.replace(objNotationRegex, function(all, name, quote, quotedName, isFunc) {\r\n name = name || quotedName;\r\n if (res) {\r\n if (name in res) {\r\n res = res[name];\r\n }\r\n typeof res == 'function' && isFunc && (res = res());\r\n }\r\n });\r\n res = (res == null || res == obj ? all : res) + '';\r\n return res;\r\n };\r\n return function(str, obj) {\r\n return String(str).replace(tokenRegex, function(all, key) {\r\n return replacer(all, key, obj);\r\n });\r\n };\r\n })();\r\n R.ninja = function() {\r\n oldRaphael.was ? (g.win.Raphael = oldRaphael.is) : delete window.Raphael;\r\n return R;\r\n };\r\n R.st = setproto;\r\n (function(doc, loaded, f) {\r\n if (doc.readyState == null && doc.addEventListener) {\r\n doc.addEventListener(\r\n loaded,\r\n (f = function() {\r\n doc.removeEventListener(loaded, f, false);\r\n doc.readyState = 'complete';\r\n }),\r\n false\r\n );\r\n doc.readyState = 'loading';\r\n }\r\n\r\n function isLoaded() {\r\n /in/.test(doc.readyState) ? setTimeout(isLoaded, 9) : R.eve('raphael.DOMload');\r\n }\r\n isLoaded();\r\n })(document, 'DOMContentLoaded');\r\n eve.on('raphael.DOMload', function() {\r\n loaded = true;\r\n });\r\n (function() {\r\n if (!R.svg) {\r\n return;\r\n }\r\n var has = 'hasOwnProperty',\r\n Str = String,\r\n toFloat = parseFloat,\r\n toInt = parseInt,\r\n math = Math,\r\n mmax = math.max,\r\n abs = math.abs,\r\n pow = math.pow,\r\n separator = /[, ]+/,\r\n eve = R.eve,\r\n E = '',\r\n S = ' ';\r\n var xlink = 'http://www.w3.org/1999/xlink',\r\n markers = {\r\n block: 'M5,0 0,2.5 5,5z',\r\n classic: 'M5,0 0,2.5 5,5 3.5,3 3.5,2z',\r\n diamond: 'M2.5,0 5,2.5 2.5,5 0,2.5z',\r\n open: 'M6,1 1,3.5 6,6',\r\n oval: 'M2.5,0A2.5,2.5,0,0,1,2.5,5 2.5,2.5,0,0,1,2.5,0z',\r\n },\r\n markerCounter = {};\r\n R.toString = function() {\r\n return 'Your browser supports SVG.\\nYou are running Rapha\\xEBl ' + this.version;\r\n };\r\n var $ = function(el, attr) {\r\n if (attr) {\r\n if (typeof el == 'string') {\r\n el = $(el);\r\n }\r\n for (var key in attr) {\r\n if (attr[has](key)) {\r\n if (key.substring(0, 6) == 'xlink:') {\r\n el.setAttributeNS(xlink, key.substring(6), Str(attr[key]));\r\n } else {\r\n el.setAttribute(key, Str(attr[key]));\r\n }\r\n }\r\n }\r\n } else {\r\n el = R._g.doc.createElementNS('http://www.w3.org/2000/svg', el);\r\n el.style && (el.style.webkitTapHighlightColor = 'rgba(0,0,0,0)');\r\n }\r\n return el;\r\n },\r\n addGradientFill = function(element, gradient) {\r\n var type = 'linear',\r\n id = element.id + gradient,\r\n fx = 0.5,\r\n fy = 0.5,\r\n o = element.node,\r\n SVG = element.paper,\r\n s = o.style,\r\n el = R._g.doc.getElementById(id);\r\n if (!el) {\r\n gradient = Str(gradient).replace(R._radial_gradient, function(all, _fx, _fy) {\r\n type = 'radial';\r\n if (_fx && _fy) {\r\n fx = toFloat(_fx);\r\n fy = toFloat(_fy);\r\n var dir = (fy > 0.5) * 2 - 1;\r\n pow(fx - 0.5, 2) + pow(fy - 0.5, 2) > 0.25 &&\r\n (fy = math.sqrt(0.25 - pow(fx - 0.5, 2)) * dir + 0.5) &&\r\n fy != 0.5 &&\r\n (fy = fy.toFixed(5) - 0.00001 * dir);\r\n }\r\n return E;\r\n });\r\n gradient = gradient.split(/\\s*\\-\\s*/);\r\n if (type == 'linear') {\r\n var angle = gradient.shift();\r\n angle = -toFloat(angle);\r\n if (isNaN(angle)) {\r\n return null;\r\n }\r\n var vector = [0, 0, math.cos(R.rad(angle)), math.sin(R.rad(angle))],\r\n max = 1 / (mmax(abs(vector[2]), abs(vector[3])) || 1);\r\n vector[2] *= max;\r\n vector[3] *= max;\r\n if (vector[2] < 0) {\r\n vector[0] = -vector[2];\r\n vector[2] = 0;\r\n }\r\n if (vector[3] < 0) {\r\n vector[1] = -vector[3];\r\n vector[3] = 0;\r\n }\r\n }\r\n var dots = R._parseDots(gradient);\r\n if (!dots) {\r\n return null;\r\n }\r\n id = id.replace(/[\\(\\)\\s,\\xb0#]/g, '_');\r\n if (element.gradient && id != element.gradient.id) {\r\n SVG.defs.removeChild(element.gradient);\r\n delete element.gradient;\r\n }\r\n if (!element.gradient) {\r\n el = $(type + 'Gradient', {\r\n id: id,\r\n });\r\n element.gradient = el;\r\n $(\r\n el,\r\n type == 'radial'\r\n ? {\r\n fx: fx,\r\n fy: fy,\r\n }\r\n : {\r\n x1: vector[0],\r\n y1: vector[1],\r\n x2: vector[2],\r\n y2: vector[3],\r\n gradientTransform: element.matrix.invert(),\r\n }\r\n );\r\n SVG.defs.appendChild(el);\r\n for (var i = 0, ii = dots.length; i < ii; i++) {\r\n el.appendChild(\r\n $('stop', {\r\n offset: dots[i].offset ? dots[i].offset : i ? '100%' : '0%',\r\n 'stop-color': dots[i].color || '#fff',\r\n })\r\n );\r\n }\r\n }\r\n }\r\n $(o, {\r\n fill: 'url(#' + id + ')',\r\n opacity: 1,\r\n 'fill-opacity': 1,\r\n });\r\n s.fill = E;\r\n s.opacity = 1;\r\n s.fillOpacity = 1;\r\n return 1;\r\n },\r\n updatePosition = function(o) {\r\n var bbox = o.getBBox(1);\r\n $(o.pattern, {\r\n patternTransform: o.matrix.invert() + ' translate(' + bbox.x + ',' + bbox.y + ')',\r\n });\r\n },\r\n addArrow = function(o, value, isEnd) {\r\n if (o.type == 'path') {\r\n var values = Str(value)\r\n .toLowerCase()\r\n .split('-'),\r\n p = o.paper,\r\n se = isEnd ? 'end' : 'start',\r\n node = o.node,\r\n attrs = o.attrs,\r\n stroke = attrs['stroke-width'],\r\n i = values.length,\r\n type = 'classic',\r\n from,\r\n to,\r\n dx,\r\n refX,\r\n attr,\r\n w = 3,\r\n h = 3,\r\n t = 5;\r\n while (i--) {\r\n switch (values[i]) {\r\n case 'block':\r\n case 'classic':\r\n case 'oval':\r\n case 'diamond':\r\n case 'open':\r\n case 'none':\r\n type = values[i];\r\n break;\r\n case 'wide':\r\n h = 5;\r\n break;\r\n case 'narrow':\r\n h = 2;\r\n break;\r\n case 'long':\r\n w = 5;\r\n break;\r\n case 'short':\r\n w = 2;\r\n break;\r\n default:\r\n }\r\n }\r\n if (type == 'open') {\r\n w += 2;\r\n h += 2;\r\n t += 2;\r\n dx = 1;\r\n refX = isEnd ? 4 : 1;\r\n attr = {\r\n fill: 'none',\r\n stroke: attrs.stroke,\r\n };\r\n } else {\r\n refX = dx = w / 2;\r\n attr = {\r\n fill: attrs.stroke,\r\n stroke: 'none',\r\n };\r\n }\r\n if (o._.arrows) {\r\n if (isEnd) {\r\n o._.arrows.endPath && markerCounter[o._.arrows.endPath]--;\r\n o._.arrows.endMarker && markerCounter[o._.arrows.endMarker]--;\r\n } else {\r\n o._.arrows.startPath && markerCounter[o._.arrows.startPath]--;\r\n o._.arrows.startMarker && markerCounter[o._.arrows.startMarker]--;\r\n }\r\n } else {\r\n o._.arrows = {};\r\n }\r\n if (type != 'none') {\r\n var pathId = 'raphael-marker-' + type,\r\n markerId = 'raphael-marker-' + se + type + w + h;\r\n if (!R._g.doc.getElementById(pathId)) {\r\n p.defs.appendChild(\r\n $($('path'), {\r\n 'stroke-linecap': 'round',\r\n d: markers[type],\r\n id: pathId,\r\n })\r\n );\r\n markerCounter[pathId] = 1;\r\n } else {\r\n markerCounter[pathId]++;\r\n }\r\n var marker = R._g.doc.getElementById(markerId),\r\n use;\r\n if (!marker) {\r\n marker = $($('marker'), {\r\n id: markerId,\r\n markerHeight: h,\r\n markerWidth: w,\r\n orient: 'auto',\r\n refX: refX,\r\n refY: h / 2,\r\n });\r\n use = $($('use'), {\r\n 'xlink:href': '#' + pathId,\r\n transform:\r\n (isEnd ? 'rotate(180 ' + w / 2 + ' ' + h / 2 + ') ' : E) + 'scale(' + w / t + ',' + h / t + ')',\r\n 'stroke-width': (1 / ((w / t + h / t) / 2)).toFixed(4),\r\n });\r\n marker.appendChild(use);\r\n p.defs.appendChild(marker);\r\n markerCounter[markerId] = 1;\r\n } else {\r\n markerCounter[markerId]++;\r\n use = marker.getElementsByTagName('use')[0];\r\n }\r\n $(use, attr);\r\n var delta = dx * (type != 'diamond' && type != 'oval');\r\n if (isEnd) {\r\n from = o._.arrows.startdx * stroke || 0;\r\n to = R.getTotalLength(attrs.path) - delta * stroke;\r\n } else {\r\n from = delta * stroke;\r\n to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);\r\n }\r\n attr = {};\r\n attr['marker-' + se] = 'url(#' + markerId + ')';\r\n if (to || from) {\r\n attr.d = R.getSubpath(attrs.path, from, to);\r\n }\r\n $(node, attr);\r\n o._.arrows[se + 'Path'] = pathId;\r\n o._.arrows[se + 'Marker'] = markerId;\r\n o._.arrows[se + 'dx'] = delta;\r\n o._.arrows[se + 'Type'] = type;\r\n o._.arrows[se + 'String'] = value;\r\n } else {\r\n if (isEnd) {\r\n from = o._.arrows.startdx * stroke || 0;\r\n to = R.getTotalLength(attrs.path) - from;\r\n } else {\r\n from = 0;\r\n to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);\r\n }\r\n o._.arrows[se + 'Path'] &&\r\n $(node, {\r\n d: R.getSubpath(attrs.path, from, to),\r\n });\r\n delete o._.arrows[se + 'Path'];\r\n delete o._.arrows[se + 'Marker'];\r\n delete o._.arrows[se + 'dx'];\r\n delete o._.arrows[se + 'Type'];\r\n delete o._.arrows[se + 'String'];\r\n }\r\n for (attr in markerCounter) {\r\n if (markerCounter[has](attr) && !markerCounter[attr]) {\r\n var item = R._g.doc.getElementById(attr);\r\n item && item.parentNode.removeChild(item);\r\n }\r\n }\r\n }\r\n },\r\n dasharray = {\r\n '': [0],\r\n none: [0],\r\n '-': [3, 1],\r\n '.': [1, 1],\r\n '-.': [3, 1, 1, 1],\r\n '-..': [3, 1, 1, 1, 1, 1],\r\n '. ': [1, 3],\r\n '- ': [4, 3],\r\n '--': [8, 3],\r\n '- .': [4, 3, 1, 3],\r\n '--.': [8, 3, 1, 3],\r\n '--..': [8, 3, 1, 3, 1, 3],\r\n },\r\n addDashes = function(o, value, params) {\r\n value = dasharray[Str(value).toLowerCase()];\r\n if (value) {\r\n var width = o.attrs['stroke-width'] || '1',\r\n butt =\r\n {\r\n round: width,\r\n square: width,\r\n butt: 0,\r\n }[o.attrs['stroke-linecap'] || params['stroke-linecap']] || 0,\r\n dashes = [],\r\n i = value.length;\r\n while (i--) {\r\n dashes[i] = value[i] * width + (i % 2 ? 1 : -1) * butt;\r\n }\r\n $(o.node, {\r\n 'stroke-dasharray': dashes.join(','),\r\n });\r\n }\r\n },\r\n setFillAndStroke = function(o, params) {\r\n var node = o.node,\r\n attrs = o.attrs,\r\n vis = node.style.visibility;\r\n node.style.visibility = 'hidden';\r\n for (var att in params) {\r\n if (params[has](att)) {\r\n if (!R._availableAttrs[has](att)) {\r\n continue;\r\n }\r\n var value = params[att];\r\n attrs[att] = value;\r\n switch (att) {\r\n case 'blur':\r\n o.blur(value);\r\n break;\r\n case 'href':\r\n case 'title':\r\n var hl = $('title');\r\n var val = R._g.doc.createTextNode(value);\r\n hl.appendChild(val);\r\n node.appendChild(hl);\r\n break;\r\n case 'target':\r\n var pn = node.parentNode;\r\n if (pn.tagName.toLowerCase() != 'a') {\r\n var hl = $('a');\r\n pn.insertBefore(hl, node);\r\n hl.appendChild(node);\r\n pn = hl;\r\n }\r\n if (att == 'target') {\r\n pn.setAttributeNS(xlink, 'show', value == 'blank' ? 'new' : value);\r\n } else {\r\n pn.setAttributeNS(xlink, att, value);\r\n }\r\n break;\r\n case 'cursor':\r\n node.style.cursor = value;\r\n break;\r\n case 'transform':\r\n o.transform(value);\r\n break;\r\n case 'arrow-start':\r\n addArrow(o, value);\r\n break;\r\n case 'arrow-end':\r\n addArrow(o, value, 1);\r\n break;\r\n case 'clip-rect':\r\n var rect = Str(value).split(separator);\r\n if (rect.length == 4) {\r\n o.clip && o.clip.parentNode.parentNode.removeChild(o.clip.parentNode);\r\n var el = $('clipPath'),\r\n rc = $('rect');\r\n el.id = R.createUUID();\r\n $(rc, {\r\n x: rect[0],\r\n y: rect[1],\r\n width: rect[2],\r\n height: rect[3],\r\n });\r\n el.appendChild(rc);\r\n o.paper.defs.appendChild(el);\r\n $(node, {\r\n 'clip-path': 'url(#' + el.id + ')',\r\n });\r\n o.clip = rc;\r\n }\r\n if (!value) {\r\n var path = node.getAttribute('clip-path');\r\n if (path) {\r\n var clip = R._g.doc.getElementById(path.replace(/(^url\\(#|\\)$)/g, E));\r\n clip && clip.parentNode.removeChild(clip);\r\n $(node, {\r\n 'clip-path': E,\r\n });\r\n delete o.clip;\r\n }\r\n }\r\n break;\r\n case 'path':\r\n if (o.type == 'path') {\r\n $(node, {\r\n d: value ? (attrs.path = R._pathToAbsolute(value)) : 'M0,0',\r\n });\r\n o._.dirty = 1;\r\n if (o._.arrows) {\r\n 'startString' in o._.arrows && addArrow(o, o._.arrows.startString);\r\n 'endString' in o._.arrows && addArrow(o, o._.arrows.endString, 1);\r\n }\r\n }\r\n break;\r\n case 'width':\r\n node.setAttribute(att, value);\r\n o._.dirty = 1;\r\n if (attrs.fx) {\r\n att = 'x';\r\n value = attrs.x;\r\n } else {\r\n break;\r\n }\r\n case 'x':\r\n if (attrs.fx) {\r\n value = -attrs.x - (attrs.width || 0);\r\n }\r\n case 'rx':\r\n if (att == 'rx' && o.type == 'rect') {\r\n break;\r\n }\r\n case 'cx':\r\n node.setAttribute(att, value);\r\n o.pattern && updatePosition(o);\r\n o._.dirty = 1;\r\n break;\r\n case 'height':\r\n node.setAttribute(att, value);\r\n o._.dirty = 1;\r\n if (attrs.fy) {\r\n att = 'y';\r\n value = attrs.y;\r\n } else {\r\n break;\r\n }\r\n case 'y':\r\n if (attrs.fy) {\r\n value = -attrs.y - (attrs.height || 0);\r\n }\r\n case 'ry':\r\n if (att == 'ry' && o.type == 'rect') {\r\n break;\r\n }\r\n case 'cy':\r\n node.setAttribute(att, value);\r\n o.pattern && updatePosition(o);\r\n o._.dirty = 1;\r\n break;\r\n case 'r':\r\n if (o.type == 'rect') {\r\n $(node, {\r\n rx: value,\r\n ry: value,\r\n });\r\n } else {\r\n node.setAttribute(att, value);\r\n }\r\n o._.dirty = 1;\r\n break;\r\n case 'src':\r\n if (o.type == 'image') {\r\n node.setAttributeNS(xlink, 'href', value);\r\n }\r\n break;\r\n case 'stroke-width':\r\n if (o._.sx != 1 || o._.sy != 1) {\r\n value /= mmax(abs(o._.sx), abs(o._.sy)) || 1;\r\n }\r\n if (o.paper._vbSize) {\r\n value *= o.paper._vbSize;\r\n }\r\n node.setAttribute(att, value);\r\n if (attrs['stroke-dasharray']) {\r\n addDashes(o, attrs['stroke-dasharray'], params);\r\n }\r\n if (o._.arrows) {\r\n 'startString' in o._.arrows && addArrow(o, o._.arrows.startString);\r\n 'endString' in o._.arrows && addArrow(o, o._.arrows.endString, 1);\r\n }\r\n break;\r\n case 'stroke-dasharray':\r\n addDashes(o, value, params);\r\n break;\r\n case 'fill':\r\n var isURL = Str(value).match(R._ISURL);\r\n if (isURL) {\r\n $(node, {\r\n fill: value,\r\n });\r\n break;\r\n }\r\n var clr = R.getRGB(value);\r\n if (!clr.error) {\r\n delete params.gradient;\r\n delete attrs.gradient;\r\n !R.is(attrs.opacity, 'undefined') &&\r\n R.is(params.opacity, 'undefined') &&\r\n $(node, {\r\n opacity: attrs.opacity,\r\n });\r\n !R.is(attrs['fill-opacity'], 'undefined') &&\r\n R.is(params['fill-opacity'], 'undefined') &&\r\n $(node, {\r\n 'fill-opacity': attrs['fill-opacity'],\r\n });\r\n } else if (\r\n (o.type == 'circle' || o.type == 'ellipse' || Str(value).charAt() != 'r') &&\r\n addGradientFill(o, value)\r\n ) {\r\n if ('opacity' in attrs || 'fill-opacity' in attrs) {\r\n var gradient = R._g.doc.getElementById(node.getAttribute('fill').replace(/^url\\(#|\\)$/g, E));\r\n if (gradient) {\r\n var stops = gradient.getElementsByTagName('stop');\r\n $(stops[stops.length - 1], {\r\n 'stop-opacity':\r\n ('opacity' in attrs ? attrs.opacity : 1) *\r\n ('fill-opacity' in attrs ? attrs['fill-opacity'] : 1),\r\n });\r\n }\r\n }\r\n attrs.gradient = value;\r\n attrs.fill = 'none';\r\n break;\r\n }\r\n clr[has]('opacity') &&\r\n $(node, {\r\n 'fill-opacity': clr.opacity > 1 ? clr.opacity / 100 : clr.opacity,\r\n });\r\n case 'stroke':\r\n clr = R.getRGB(value);\r\n node.setAttribute(att, clr.hex);\r\n att == 'stroke' &&\r\n clr[has]('opacity') &&\r\n $(node, {\r\n 'stroke-opacity': clr.opacity > 1 ? clr.opacity / 100 : clr.opacity,\r\n });\r\n if (att == 'stroke' && o._.arrows) {\r\n 'startString' in o._.arrows && addArrow(o, o._.arrows.startString);\r\n 'endString' in o._.arrows && addArrow(o, o._.arrows.endString, 1);\r\n }\r\n break;\r\n case 'gradient':\r\n (o.type == 'circle' || o.type == 'ellipse' || Str(value).charAt() != 'r') && addGradientFill(o, value);\r\n break;\r\n case 'opacity':\r\n if (attrs.gradient && !attrs[has]('stroke-opacity')) {\r\n $(node, {\r\n 'stroke-opacity': value > 1 ? value / 100 : value,\r\n });\r\n }\r\n case 'fill-opacity':\r\n if (attrs.gradient) {\r\n gradient = R._g.doc.getElementById(node.getAttribute('fill').replace(/^url\\(#|\\)$/g, E));\r\n if (gradient) {\r\n stops = gradient.getElementsByTagName('stop');\r\n $(stops[stops.length - 1], {\r\n 'stop-opacity': value,\r\n });\r\n }\r\n break;\r\n }\r\n default:\r\n att == 'font-size' && (value = toInt(value, 10) + 'px');\r\n var cssrule = att.replace(/(\\-.)/g, function(w) {\r\n return w.substring(1).toUpperCase();\r\n });\r\n node.style[cssrule] = value;\r\n o._.dirty = 1;\r\n node.setAttribute(att, value);\r\n break;\r\n }\r\n }\r\n }\r\n tuneText(o, params);\r\n node.style.visibility = vis;\r\n },\r\n leading = 1.2,\r\n tuneText = function(el, params) {\r\n if (\r\n el.type != 'text' ||\r\n !(\r\n params[has]('text') ||\r\n params[has]('font') ||\r\n params[has]('font-size') ||\r\n params[has]('x') ||\r\n params[has]('y')\r\n )\r\n ) {\r\n return;\r\n }\r\n var a = el.attrs,\r\n node = el.node,\r\n fontSize = node.firstChild\r\n ? toInt(R._g.doc.defaultView.getComputedStyle(node.firstChild, E).getPropertyValue('font-size'), 10)\r\n : 10;\r\n if (params[has]('text')) {\r\n a.text = params.text;\r\n while (node.firstChild) {\r\n node.removeChild(node.firstChild);\r\n }\r\n var texts = Str(params.text).split('\\n'),\r\n tspans = [],\r\n tspan;\r\n for (var i = 0, ii = texts.length; i < ii; i++) {\r\n tspan = $('tspan');\r\n i &&\r\n $(tspan, {\r\n dy: fontSize * leading,\r\n x: a.x,\r\n });\r\n tspan.appendChild(R._g.doc.createTextNode(texts[i]));\r\n node.appendChild(tspan);\r\n tspan.id = 'state';\r\n tspans[i] = tspan;\r\n }\r\n } else {\r\n tspans = node.getElementsByTagName('tspan');\r\n for (i = 0, ii = tspans.length; i < ii; i++) {\r\n if (i) {\r\n $(tspans[i], {\r\n dy: fontSize * leading,\r\n x: a.x,\r\n });\r\n } else {\r\n $(tspans[0], {\r\n dy: 0,\r\n });\r\n }\r\n }\r\n }\r\n $(node, {\r\n x: a.x,\r\n y: a.y,\r\n });\r\n el._.dirty = 1;\r\n var bb = el._getBBox(),\r\n dif = a.y - (bb.y + bb.height / 2);\r\n dif &&\r\n R.is(dif, 'finite') &&\r\n $(tspans[0], {\r\n dy: dif,\r\n });\r\n },\r\n Element = function(node, svg) {\r\n var X = 0,\r\n Y = 0;\r\n this[0] = this.node = node;\r\n node.raphael = true;\r\n this.id = R._oid++;\r\n node.raphaelid = this.id;\r\n this.matrix = R.matrix();\r\n this.realPath = null;\r\n this.paper = svg;\r\n this.attrs = this.attrs || {};\r\n this._ = {\r\n transform: [],\r\n sx: 1,\r\n sy: 1,\r\n deg: 0,\r\n dx: 0,\r\n dy: 0,\r\n dirty: 1,\r\n };\r\n !svg.bottom && (svg.bottom = this);\r\n this.prev = svg.top;\r\n svg.top && (svg.top.next = this);\r\n svg.top = this;\r\n this.next = null;\r\n },\r\n elproto = R.el;\r\n Element.prototype = elproto;\r\n elproto.constructor = Element;\r\n R._engine.path = function(pathString, SVG) {\r\n var el = $('path');\r\n SVG.canvas && SVG.canvas.appendChild(el);\r\n var p = new Element(el, SVG);\r\n p.type = 'path';\r\n setFillAndStroke(p, {\r\n fill: 'none',\r\n stroke: '#000',\r\n path: pathString,\r\n });\r\n return p;\r\n };\r\n elproto.rotate = function(deg, cx, cy) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n deg = Str(deg).split(separator);\r\n if (deg.length - 1) {\r\n cx = toFloat(deg[1]);\r\n cy = toFloat(deg[2]);\r\n }\r\n deg = toFloat(deg[0]);\r\n cy == null && (cx = cy);\r\n if (cx == null || cy == null) {\r\n var bbox = this.getBBox(1);\r\n cx = bbox.x + bbox.width / 2;\r\n cy = bbox.y + bbox.height / 2;\r\n }\r\n this.transform(this._.transform.concat([['r', deg, cx, cy]]));\r\n return this;\r\n };\r\n elproto.scale = function(sx, sy, cx, cy) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n sx = Str(sx).split(separator);\r\n if (sx.length - 1) {\r\n sy = toFloat(sx[1]);\r\n cx = toFloat(sx[2]);\r\n cy = toFloat(sx[3]);\r\n }\r\n sx = toFloat(sx[0]);\r\n sy == null && (sy = sx);\r\n cy == null && (cx = cy);\r\n if (cx == null || cy == null) {\r\n var bbox = this.getBBox(1);\r\n }\r\n cx = cx == null ? bbox.x + bbox.width / 2 : cx;\r\n cy = cy == null ? bbox.y + bbox.height / 2 : cy;\r\n this.transform(this._.transform.concat([['s', sx, sy, cx, cy]]));\r\n return this;\r\n };\r\n elproto.translate = function(dx, dy) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n dx = Str(dx).split(separator);\r\n if (dx.length - 1) {\r\n dy = toFloat(dx[1]);\r\n }\r\n dx = toFloat(dx[0]) || 0;\r\n dy = +dy || 0;\r\n this.transform(this._.transform.concat([['t', dx, dy]]));\r\n return this;\r\n };\r\n elproto.transform = function(tstr) {\r\n var _ = this._;\r\n if (tstr == null) {\r\n return _.transform;\r\n }\r\n R._extractTransform(this, tstr);\r\n this.clip &&\r\n $(this.clip, {\r\n transform: this.matrix.invert(),\r\n });\r\n this.pattern && updatePosition(this);\r\n this.node &&\r\n $(this.node, {\r\n transform: this.matrix,\r\n });\r\n if (_.sx != 1 || _.sy != 1) {\r\n var sw = this.attrs[has]('stroke-width') ? this.attrs['stroke-width'] : 1;\r\n this.attr({\r\n 'stroke-width': sw,\r\n });\r\n }\r\n return this;\r\n };\r\n elproto.hide = function() {\r\n !this.removed && this.paper.safari((this.node.style.display = 'none'));\r\n return this;\r\n };\r\n elproto.show = function() {\r\n !this.removed && this.paper.safari((this.node.style.display = ''));\r\n return this;\r\n };\r\n elproto.remove = function() {\r\n if (this.removed || !this.node.parentNode) {\r\n return;\r\n }\r\n var paper = this.paper;\r\n paper.__set__ && paper.__set__.exclude(this);\r\n eve.unbind('raphael.*.*.' + this.id);\r\n if (this.gradient) {\r\n paper.defs.removeChild(this.gradient);\r\n }\r\n R._tear(this, paper);\r\n if (this.node.parentNode.tagName.toLowerCase() == 'a') {\r\n this.node.parentNode.parentNode.removeChild(this.node.parentNode);\r\n } else {\r\n this.node.parentNode.removeChild(this.node);\r\n }\r\n for (var i in this) {\r\n this[i] = typeof this[i] == 'function' ? R._removedFactory(i) : null;\r\n }\r\n this.removed = true;\r\n };\r\n elproto._getBBox = function() {\r\n if (this.node.style.display == 'none') {\r\n this.show();\r\n var hide = true;\r\n }\r\n var bbox = {};\r\n try {\r\n bbox = this.node.getBBox();\r\n } catch (e) {\r\n } finally {\r\n bbox = bbox || {};\r\n }\r\n hide && this.hide();\r\n return bbox;\r\n };\r\n elproto.attr = function(name, value) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n if (name == null) {\r\n var res = {};\r\n for (var a in this.attrs) {\r\n if (this.attrs[has](a)) {\r\n res[a] = this.attrs[a];\r\n }\r\n }\r\n res.gradient && res.fill == 'none' && (res.fill = res.gradient) && delete res.gradient;\r\n res.transform = this._.transform;\r\n return res;\r\n }\r\n if (value == null && R.is(name, 'string')) {\r\n if (name == 'fill' && this.attrs.fill == 'none' && this.attrs.gradient) {\r\n return this.attrs.gradient;\r\n }\r\n if (name == 'transform') {\r\n return this._.transform;\r\n }\r\n var names = name.split(separator),\r\n out = {};\r\n for (var i = 0, ii = names.length; i < ii; i++) {\r\n name = names[i];\r\n if (name in this.attrs) {\r\n out[name] = this.attrs[name];\r\n } else if (R.is(this.paper.customAttributes[name], 'function')) {\r\n out[name] = this.paper.customAttributes[name].def;\r\n } else {\r\n out[name] = R._availableAttrs[name];\r\n }\r\n }\r\n return ii - 1 ? out : out[names[0]];\r\n }\r\n if (value == null && R.is(name, 'array')) {\r\n out = {};\r\n for (i = 0, ii = name.length; i < ii; i++) {\r\n out[name[i]] = this.attr(name[i]);\r\n }\r\n return out;\r\n }\r\n if (value != null) {\r\n var params = {};\r\n params[name] = value;\r\n } else if (name != null && R.is(name, 'object')) {\r\n params = name;\r\n }\r\n for (var key in params) {\r\n eve('raphael.attr.' + key + '.' + this.id, this, params[key]);\r\n }\r\n for (key in this.paper.customAttributes) {\r\n if (\r\n this.paper.customAttributes[has](key) &&\r\n params[has](key) &&\r\n R.is(this.paper.customAttributes[key], 'function')\r\n ) {\r\n var par = this.paper.customAttributes[key].apply(this, [].concat(params[key]));\r\n this.attrs[key] = params[key];\r\n for (var subkey in par) {\r\n if (par[has](subkey)) {\r\n params[subkey] = par[subkey];\r\n }\r\n }\r\n }\r\n }\r\n setFillAndStroke(this, params);\r\n return this;\r\n };\r\n elproto.toFront = function() {\r\n if (this.removed) {\r\n return this;\r\n }\r\n if (this.node.parentNode.tagName.toLowerCase() == 'a') {\r\n this.node.parentNode.parentNode.appendChild(this.node.parentNode);\r\n } else {\r\n this.node.parentNode.appendChild(this.node);\r\n }\r\n var svg = this.paper;\r\n svg.top != this && R._tofront(this, svg);\r\n return this;\r\n };\r\n elproto.toBack = function() {\r\n if (this.removed) {\r\n return this;\r\n }\r\n var parent = this.node.parentNode;\r\n if (parent.tagName.toLowerCase() == 'a') {\r\n parent.parentNode.insertBefore(this.node.parentNode, this.node.parentNode.parentNode.firstChild);\r\n } else if (parent.firstChild != this.node) {\r\n parent.insertBefore(this.node, this.node.parentNode.firstChild);\r\n }\r\n R._toback(this, this.paper);\r\n var svg = this.paper;\r\n return this;\r\n };\r\n elproto.insertAfter = function(element) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n var node = element.node || element[element.length - 1].node;\r\n if (node.nextSibling) {\r\n node.parentNode.insertBefore(this.node, node.nextSibling);\r\n } else {\r\n node.parentNode.appendChild(this.node);\r\n }\r\n R._insertafter(this, element, this.paper);\r\n return this;\r\n };\r\n elproto.insertBefore = function(element) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n var node = element.node || element[0].node;\r\n node.parentNode.insertBefore(this.node, node);\r\n R._insertbefore(this, element, this.paper);\r\n return this;\r\n };\r\n elproto.blur = function(size) {\r\n var t = this;\r\n if (+size !== 0) {\r\n var fltr = $('filter'),\r\n blur = $('feGaussianBlur');\r\n t.attrs.blur = size;\r\n fltr.id = R.createUUID();\r\n $(blur, {\r\n stdDeviation: +size || 1.5,\r\n });\r\n fltr.appendChild(blur);\r\n t.paper.defs.appendChild(fltr);\r\n t._blur = fltr;\r\n $(t.node, {\r\n filter: 'url(#' + fltr.id + ')',\r\n });\r\n } else {\r\n if (t._blur) {\r\n t._blur.parentNode.removeChild(t._blur);\r\n delete t._blur;\r\n delete t.attrs.blur;\r\n }\r\n t.node.removeAttribute('filter');\r\n }\r\n return t;\r\n };\r\n R._engine.circle = function(svg, x, y, r) {\r\n var el = $('circle');\r\n svg.canvas && svg.canvas.appendChild(el);\r\n var res = new Element(el, svg);\r\n res.attrs = {\r\n cx: x,\r\n cy: y,\r\n r: r,\r\n fill: 'none',\r\n stroke: '#000',\r\n };\r\n res.type = 'circle';\r\n $(el, res.attrs);\r\n return res;\r\n };\r\n R._engine.rect = function(svg, x, y, w, h, r) {\r\n var el = $('rect');\r\n svg.canvas && svg.canvas.appendChild(el);\r\n var res = new Element(el, svg);\r\n res.attrs = {\r\n x: x,\r\n y: y,\r\n width: w,\r\n height: h,\r\n r: r || 0,\r\n rx: r || 0,\r\n ry: r || 0,\r\n fill: 'none',\r\n stroke: '#000',\r\n };\r\n res.type = 'rect';\r\n $(el, res.attrs);\r\n return res;\r\n };\r\n R._engine.ellipse = function(svg, x, y, rx, ry) {\r\n var el = $('ellipse');\r\n svg.canvas && svg.canvas.appendChild(el);\r\n var res = new Element(el, svg);\r\n res.attrs = {\r\n cx: x,\r\n cy: y,\r\n rx: rx,\r\n ry: ry,\r\n fill: 'none',\r\n stroke: '#000',\r\n };\r\n res.type = 'ellipse';\r\n $(el, res.attrs);\r\n return res;\r\n };\r\n R._engine.image = function(svg, src, x, y, w, h) {\r\n var el = $('image');\r\n $(el, {\r\n x: x,\r\n y: y,\r\n width: w,\r\n height: h,\r\n preserveAspectRatio: 'none',\r\n });\r\n el.setAttributeNS(xlink, 'href', src);\r\n svg.canvas && svg.canvas.appendChild(el);\r\n var res = new Element(el, svg);\r\n res.attrs = {\r\n x: x,\r\n y: y,\r\n width: w,\r\n height: h,\r\n src: src,\r\n };\r\n res.type = 'image';\r\n return res;\r\n };\r\n R._engine.text = function(svg, x, y, text) {\r\n var el = $('text');\r\n svg.canvas && svg.canvas.appendChild(el);\r\n var res = new Element(el, svg);\r\n res.attrs = {\r\n x: x,\r\n y: y,\r\n 'text-anchor': 'middle',\r\n text: text,\r\n font: R._availableAttrs.font,\r\n stroke: 'none',\r\n fill: '#000',\r\n };\r\n res.type = 'text';\r\n setFillAndStroke(res, res.attrs);\r\n return res;\r\n };\r\n R._engine.setSize = function(width, height) {\r\n this.width = width || this.width;\r\n this.height = height || this.height;\r\n this.canvas.setAttribute('width', this.width);\r\n this.canvas.setAttribute('height', this.height);\r\n if (this._viewBox) {\r\n this.setViewBox.apply(this, this._viewBox);\r\n }\r\n return this;\r\n };\r\n R._engine.create = function() {\r\n var con = R._getContainer.apply(0, arguments),\r\n container = con && con.container,\r\n x = con.x,\r\n y = con.y,\r\n width = con.width,\r\n height = con.height;\r\n if (!container) {\r\n throw new Error('SVG container not found.');\r\n }\r\n var cnvs = $('svg'),\r\n css = 'overflow:hidden;',\r\n isFloating;\r\n x = x || 0;\r\n y = y || 0;\r\n width = width || 512;\r\n height = height || 342;\r\n $(cnvs, {\r\n height: height,\r\n version: 1.1,\r\n width: width,\r\n xmlns: 'http://www.w3.org/2000/svg',\r\n });\r\n if (container == 1) {\r\n cnvs.style.cssText = css + 'position:absolute;left:' + x + 'px;top:' + y + 'px';\r\n R._g.doc.body.appendChild(cnvs);\r\n isFloating = 1;\r\n } else {\r\n cnvs.style.cssText = css + 'position:relative';\r\n if (container.firstChild) {\r\n container.insertBefore(cnvs, container.firstChild);\r\n } else {\r\n container.appendChild(cnvs);\r\n }\r\n }\r\n container = new R._Paper();\r\n container.width = width;\r\n container.height = height;\r\n container.canvas = cnvs;\r\n container.clear();\r\n container._left = container._top = 0;\r\n isFloating && (container.renderfix = function() {});\r\n container.renderfix();\r\n return container;\r\n };\r\n R._engine.setViewBox = function(x, y, w, h, fit) {\r\n eve('raphael.setViewBox', this, this._viewBox, [x, y, w, h, fit]);\r\n var size = mmax(w / this.width, h / this.height),\r\n top = this.top,\r\n aspectRatio = fit ? 'meet' : 'xMinYMin',\r\n vb,\r\n sw;\r\n if (x == null) {\r\n if (this._vbSize) {\r\n size = 1;\r\n }\r\n delete this._vbSize;\r\n vb = '0 0 ' + this.width + S + this.height;\r\n } else {\r\n this._vbSize = size;\r\n vb = x + S + y + S + w + S + h;\r\n }\r\n $(this.canvas, {\r\n viewBox: vb,\r\n preserveAspectRatio: aspectRatio,\r\n });\r\n while (size && top) {\r\n sw = 'stroke-width' in top.attrs ? top.attrs['stroke-width'] : 1;\r\n top.attr({\r\n 'stroke-width': sw,\r\n });\r\n top._.dirty = 1;\r\n top._.dirtyT = 1;\r\n top = top.prev;\r\n }\r\n this._viewBox = [x, y, w, h, !!fit];\r\n return this;\r\n };\r\n R.prototype.renderfix = function() {\r\n var cnvs = this.canvas,\r\n s = cnvs.style,\r\n pos;\r\n try {\r\n pos = cnvs.getScreenCTM() || cnvs.createSVGMatrix();\r\n } catch (e) {\r\n pos = cnvs.createSVGMatrix();\r\n }\r\n var left = -pos.e % 1,\r\n top = -pos.f % 1;\r\n if (left || top) {\r\n if (left) {\r\n this._left = (this._left + left) % 1;\r\n s.left = this._left + 'px';\r\n }\r\n if (top) {\r\n this._top = (this._top + top) % 1;\r\n s.top = this._top + 'px';\r\n }\r\n }\r\n };\r\n R.prototype.clear = function() {\r\n R.eve('raphael.clear', this);\r\n var c = this.canvas;\r\n while (c.firstChild) {\r\n c.removeChild(c.firstChild);\r\n }\r\n this.bottom = this.top = null;\r\n (this.desc = $('desc')).appendChild(R._g.doc.createTextNode('Created with Rapha\\xEBl ' + R.version));\r\n c.appendChild(this.desc);\r\n c.appendChild((this.defs = $('defs')));\r\n };\r\n R.prototype.remove = function() {\r\n eve('raphael.remove', this);\r\n this.canvas.parentNode && this.canvas.parentNode.removeChild(this.canvas);\r\n for (var i in this) {\r\n this[i] = typeof this[i] == 'function' ? R._removedFactory(i) : null;\r\n }\r\n };\r\n var setproto = R.st;\r\n for (var method in elproto) {\r\n if (elproto[has](method) && !setproto[has](method)) {\r\n setproto[method] = (function(methodname) {\r\n return function() {\r\n var arg = arguments;\r\n return this.forEach(function(el) {\r\n el[methodname].apply(el, arg);\r\n });\r\n };\r\n })(method);\r\n }\r\n }\r\n })();\r\n (function() {\r\n if (!R.vml) {\r\n return;\r\n }\r\n var has = 'hasOwnProperty',\r\n Str = String,\r\n toFloat = parseFloat,\r\n math = Math,\r\n round = math.round,\r\n mmax = math.max,\r\n mmin = math.min,\r\n abs = math.abs,\r\n fillString = 'fill',\r\n separator = /[, ]+/,\r\n eve = R.eve,\r\n ms = ' progid:DXImageTransform.Microsoft',\r\n S = ' ',\r\n E = '',\r\n map = {\r\n M: 'm',\r\n L: 'l',\r\n C: 'c',\r\n Z: 'x',\r\n m: 't',\r\n l: 'r',\r\n c: 'v',\r\n z: 'x',\r\n },\r\n bites = /([clmz]),?([^clmz]*)/gi,\r\n blurregexp = / progid:\\S+Blur\\([^\\)]+\\)/g,\r\n val = /-?[^,\\s-]+/g,\r\n cssDot = 'position:absolute;left:0;top:0;width:1px;height:1px',\r\n zoom = 21600,\r\n pathTypes = {\r\n path: 1,\r\n rect: 1,\r\n image: 1,\r\n },\r\n ovalTypes = {\r\n circle: 1,\r\n ellipse: 1,\r\n },\r\n path2vml = function(path) {\r\n var total = /[ahqstv]/gi,\r\n command = R._pathToAbsolute;\r\n Str(path).match(total) && (command = R._path2curve);\r\n total = /[clmz]/g;\r\n if (command == R._pathToAbsolute && !Str(path).match(total)) {\r\n var res = Str(path).replace(bites, function(all, command, args) {\r\n var vals = [],\r\n isMove = command.toLowerCase() == 'm',\r\n res = map[command];\r\n args.replace(val, function(value) {\r\n if (isMove && vals.length == 2) {\r\n res += vals + map[command == 'm' ? 'l' : 'L'];\r\n vals = [];\r\n }\r\n vals.push(round(value * zoom));\r\n });\r\n return res + vals;\r\n });\r\n return res;\r\n }\r\n var pa = command(path),\r\n p,\r\n r;\r\n res = [];\r\n for (var i = 0, ii = pa.length; i < ii; i++) {\r\n p = pa[i];\r\n r = pa[i][0].toLowerCase();\r\n r == 'z' && (r = 'x');\r\n for (var j = 1, jj = p.length; j < jj; j++) {\r\n r += round(p[j] * zoom) + (j != jj - 1 ? ',' : E);\r\n }\r\n res.push(r);\r\n }\r\n return res.join(S);\r\n },\r\n compensation = function(deg, dx, dy) {\r\n var m = R.matrix();\r\n m.rotate(-deg, 0.5, 0.5);\r\n return {\r\n dx: m.x(dx, dy),\r\n dy: m.y(dx, dy),\r\n };\r\n },\r\n setCoords = function(p, sx, sy, dx, dy, deg) {\r\n var _ = p._,\r\n m = p.matrix,\r\n fillpos = _.fillpos,\r\n o = p.node,\r\n s = o.style,\r\n y = 1,\r\n flip = '',\r\n dxdy,\r\n kx = zoom / sx,\r\n ky = zoom / sy;\r\n s.visibility = 'hidden';\r\n if (!sx || !sy) {\r\n return;\r\n }\r\n o.coordsize = abs(kx) + S + abs(ky);\r\n s.rotation = deg * (sx * sy < 0 ? -1 : 1);\r\n if (deg) {\r\n var c = compensation(deg, dx, dy);\r\n dx = c.dx;\r\n dy = c.dy;\r\n }\r\n sx < 0 && (flip += 'x');\r\n sy < 0 && (flip += ' y') && (y = -1);\r\n s.flip = flip;\r\n o.coordorigin = dx * -kx + S + dy * -ky;\r\n if (fillpos || _.fillsize) {\r\n var fill = o.getElementsByTagName(fillString);\r\n fill = fill && fill[0];\r\n o.removeChild(fill);\r\n if (fillpos) {\r\n c = compensation(deg, m.x(fillpos[0], fillpos[1]), m.y(fillpos[0], fillpos[1]));\r\n fill.position = c.dx * y + S + c.dy * y;\r\n }\r\n if (_.fillsize) {\r\n fill.size = _.fillsize[0] * abs(sx) + S + _.fillsize[1] * abs(sy);\r\n }\r\n o.appendChild(fill);\r\n }\r\n s.visibility = 'visible';\r\n };\r\n R.toString = function() {\r\n return 'Your browser doesn\\u2019t support SVG. Falling down to VML.\\nYou are running Rapha\\xEBl ' + this.version;\r\n };\r\n var addArrow = function(o, value, isEnd) {\r\n var values = Str(value)\r\n .toLowerCase()\r\n .split('-'),\r\n se = isEnd ? 'end' : 'start',\r\n i = values.length,\r\n type = 'classic',\r\n w = 'medium',\r\n h = 'medium';\r\n while (i--) {\r\n switch (values[i]) {\r\n case 'block':\r\n case 'classic':\r\n case 'oval':\r\n case 'diamond':\r\n case 'open':\r\n case 'none':\r\n type = values[i];\r\n break;\r\n case 'wide':\r\n case 'narrow':\r\n h = values[i];\r\n break;\r\n case 'long':\r\n case 'short':\r\n w = values[i];\r\n break;\r\n default:\r\n }\r\n }\r\n var stroke = o.node.getElementsByTagName('stroke')[0];\r\n stroke[se + 'arrow'] = type;\r\n stroke[se + 'arrowlength'] = w;\r\n stroke[se + 'arrowwidth'] = h;\r\n },\r\n setFillAndStroke = function(o, params) {\r\n o.attrs = o.attrs || {};\r\n var node = o.node,\r\n a = o.attrs,\r\n s = node.style,\r\n xy,\r\n newpath =\r\n pathTypes[o.type] &&\r\n (params.x != a.x ||\r\n params.y != a.y ||\r\n params.width != a.width ||\r\n params.height != a.height ||\r\n params.cx != a.cx ||\r\n params.cy != a.cy ||\r\n params.rx != a.rx ||\r\n params.ry != a.ry ||\r\n params.r != a.r),\r\n isOval =\r\n ovalTypes[o.type] &&\r\n (a.cx != params.cx || a.cy != params.cy || a.r != params.r || a.rx != params.rx || a.ry != params.ry),\r\n res = o;\r\n for (var par in params) {\r\n if (params[has](par)) {\r\n a[par] = params[par];\r\n }\r\n }\r\n if (newpath) {\r\n a.path = R._getPath[o.type](o);\r\n o._.dirty = 1;\r\n }\r\n params.href && (node.href = params.href);\r\n params.title && (node.title = params.title);\r\n params.target && (node.target = params.target);\r\n params.cursor && (s.cursor = params.cursor);\r\n 'blur' in params && o.blur(params.blur);\r\n if ((params.path && o.type == 'path') || newpath) {\r\n node.path = path2vml(\r\n ~Str(a.path)\r\n .toLowerCase()\r\n .indexOf('r')\r\n ? R._pathToAbsolute(a.path)\r\n : a.path\r\n );\r\n if (o.type == 'image') {\r\n o._.fillpos = [a.x, a.y];\r\n o._.fillsize = [a.width, a.height];\r\n setCoords(o, 1, 1, 0, 0, 0);\r\n }\r\n }\r\n 'transform' in params && o.transform(params.transform);\r\n if (isOval) {\r\n var cx = +a.cx,\r\n cy = +a.cy,\r\n rx = +a.rx || +a.r || 0,\r\n ry = +a.ry || +a.r || 0;\r\n node.path = R.format(\r\n 'ar{0},{1},{2},{3},{4},{1},{4},{1}x',\r\n round((cx - rx) * zoom),\r\n round((cy - ry) * zoom),\r\n round((cx + rx) * zoom),\r\n round((cy + ry) * zoom),\r\n round(cx * zoom)\r\n );\r\n o._.dirty = 1;\r\n }\r\n if ('clip-rect' in params) {\r\n var rect = Str(params['clip-rect']).split(separator);\r\n if (rect.length == 4) {\r\n rect[2] = +rect[2] + +rect[0];\r\n rect[3] = +rect[3] + +rect[1];\r\n var div = node.clipRect || R._g.doc.createElement('div'),\r\n dstyle = div.style;\r\n dstyle.clip = R.format('rect({1}px {2}px {3}px {0}px)', rect);\r\n if (!node.clipRect) {\r\n dstyle.position = 'absolute';\r\n dstyle.top = 0;\r\n dstyle.left = 0;\r\n dstyle.width = o.paper.width + 'px';\r\n dstyle.height = o.paper.height + 'px';\r\n node.parentNode.insertBefore(div, node);\r\n div.appendChild(node);\r\n node.clipRect = div;\r\n }\r\n }\r\n if (!params['clip-rect']) {\r\n node.clipRect && (node.clipRect.style.clip = 'auto');\r\n }\r\n }\r\n if (o.textpath) {\r\n var textpathStyle = o.textpath.style;\r\n params.font && (textpathStyle.font = params.font);\r\n params['font-family'] &&\r\n (textpathStyle.fontFamily = '\"' + params['font-family'].split(',')[0].replace(/^['\"]+|['\"]+$/g, E) + '\"');\r\n params['font-size'] && (textpathStyle.fontSize = params['font-size']);\r\n params['font-weight'] && (textpathStyle.fontWeight = params['font-weight']);\r\n params['font-style'] && (textpathStyle.fontStyle = params['font-style']);\r\n }\r\n if ('arrow-start' in params) {\r\n addArrow(res, params['arrow-start']);\r\n }\r\n if ('arrow-end' in params) {\r\n addArrow(res, params['arrow-end'], 1);\r\n }\r\n if (\r\n params.opacity != null ||\r\n params['stroke-width'] != null ||\r\n params.fill != null ||\r\n params.src != null ||\r\n params.stroke != null ||\r\n params['stroke-width'] != null ||\r\n params['stroke-opacity'] != null ||\r\n params['fill-opacity'] != null ||\r\n params['stroke-dasharray'] != null ||\r\n params['stroke-miterlimit'] != null ||\r\n params['stroke-linejoin'] != null ||\r\n params['stroke-linecap'] != null\r\n ) {\r\n var fill = node.getElementsByTagName(fillString),\r\n newfill = false;\r\n fill = fill && fill[0];\r\n !fill && (newfill = fill = createNode(fillString));\r\n if (o.type == 'image' && params.src) {\r\n fill.src = params.src;\r\n }\r\n params.fill && (fill.on = true);\r\n if (fill.on == null || params.fill == 'none' || params.fill === null) {\r\n fill.on = false;\r\n }\r\n if (fill.on && params.fill) {\r\n var isURL = Str(params.fill).match(R._ISURL);\r\n if (isURL) {\r\n fill.parentNode == node && node.removeChild(fill);\r\n fill.rotate = true;\r\n fill.src = isURL[1];\r\n fill.type = 'tile';\r\n var bbox = o.getBBox(1);\r\n fill.position = bbox.x + S + bbox.y;\r\n o._.fillpos = [bbox.x, bbox.y];\r\n R._preload(isURL[1], function() {\r\n o._.fillsize = [this.offsetWidth, this.offsetHeight];\r\n });\r\n } else {\r\n fill.color = R.getRGB(params.fill).hex;\r\n fill.src = E;\r\n fill.type = 'solid';\r\n if (\r\n R.getRGB(params.fill).error &&\r\n (res.type in\r\n {\r\n circle: 1,\r\n ellipse: 1,\r\n } ||\r\n Str(params.fill).charAt() != 'r') &&\r\n addGradientFill(res, params.fill, fill)\r\n ) {\r\n a.fill = 'none';\r\n a.gradient = params.fill;\r\n fill.rotate = false;\r\n }\r\n }\r\n }\r\n if ('fill-opacity' in params || 'opacity' in params) {\r\n var opacity =\r\n ((+a['fill-opacity'] + 1 || 2) - 1) *\r\n ((+a.opacity + 1 || 2) - 1) *\r\n ((+R.getRGB(params.fill).o + 1 || 2) - 1);\r\n opacity = mmin(mmax(opacity, 0), 1);\r\n fill.opacity = opacity;\r\n if (fill.src) {\r\n fill.color = 'none';\r\n }\r\n }\r\n node.appendChild(fill);\r\n var stroke = node.getElementsByTagName('stroke') && node.getElementsByTagName('stroke')[0],\r\n newstroke = false;\r\n !stroke && (newstroke = stroke = createNode('stroke'));\r\n if (\r\n (params.stroke && params.stroke != 'none') ||\r\n params['stroke-width'] ||\r\n params['stroke-opacity'] != null ||\r\n params['stroke-dasharray'] ||\r\n params['stroke-miterlimit'] ||\r\n params['stroke-linejoin'] ||\r\n params['stroke-linecap']\r\n ) {\r\n stroke.on = true;\r\n }\r\n (params.stroke == 'none' ||\r\n params.stroke === null ||\r\n stroke.on == null ||\r\n params.stroke == 0 ||\r\n params['stroke-width'] == 0) &&\r\n (stroke.on = false);\r\n var strokeColor = R.getRGB(params.stroke);\r\n stroke.on && params.stroke && (stroke.color = strokeColor.hex);\r\n opacity =\r\n ((+a['stroke-opacity'] + 1 || 2) - 1) * ((+a.opacity + 1 || 2) - 1) * ((+strokeColor.o + 1 || 2) - 1);\r\n var width = (toFloat(params['stroke-width']) || 1) * 0.75;\r\n opacity = mmin(mmax(opacity, 0), 1);\r\n params['stroke-width'] == null && (width = a['stroke-width']);\r\n params['stroke-width'] && (stroke.weight = width);\r\n width && width < 1 && (opacity *= width) && (stroke.weight = 1);\r\n stroke.opacity = opacity;\r\n params['stroke-linejoin'] && (stroke.joinstyle = params['stroke-linejoin'] || 'miter');\r\n stroke.miterlimit = params['stroke-miterlimit'] || 8;\r\n params['stroke-linecap'] &&\r\n (stroke.endcap =\r\n params['stroke-linecap'] == 'butt' ? 'flat' : params['stroke-linecap'] == 'square' ? 'square' : 'round');\r\n if (params['stroke-dasharray']) {\r\n var dasharray = {\r\n '-': 'shortdash',\r\n '.': 'shortdot',\r\n '-.': 'shortdashdot',\r\n '-..': 'shortdashdotdot',\r\n '. ': 'dot',\r\n '- ': 'dash',\r\n '--': 'longdash',\r\n '- .': 'dashdot',\r\n '--.': 'longdashdot',\r\n '--..': 'longdashdotdot',\r\n };\r\n stroke.dashstyle = dasharray[has](params['stroke-dasharray']) ? dasharray[params['stroke-dasharray']] : E;\r\n }\r\n newstroke && node.appendChild(stroke);\r\n }\r\n if (res.type == 'text') {\r\n res.paper.canvas.style.display = E;\r\n var span = res.paper.span,\r\n m = 100,\r\n fontSize = a.font && a.font.match(/\\d+(?:\\.\\d*)?(?=px)/);\r\n s = span.style;\r\n a.font && (s.font = a.font);\r\n a['font-family'] && (s.fontFamily = a['font-family']);\r\n a['font-weight'] && (s.fontWeight = a['font-weight']);\r\n a['font-style'] && (s.fontStyle = a['font-style']);\r\n fontSize = toFloat(a['font-size'] || (fontSize && fontSize[0])) || 10;\r\n s.fontSize = fontSize * m + 'px';\r\n res.textpath.string &&\r\n (span.innerHTML = Str(res.textpath.string)\r\n .replace(/'));\r\n var brect = span.getBoundingClientRect();\r\n res.W = a.w = (brect.right - brect.left) / m;\r\n res.H = a.h = (brect.bottom - brect.top) / m;\r\n res.X = a.x;\r\n res.Y = a.y + res.H / 2;\r\n ('x' in params || 'y' in params) &&\r\n (res.path.v = R.format('m{0},{1}l{2},{1}', round(a.x * zoom), round(a.y * zoom), round(a.x * zoom) + 1));\r\n var dirtyattrs = ['x', 'y', 'text', 'font', 'font-family', 'font-weight', 'font-style', 'font-size'];\r\n for (var d = 0, dd = dirtyattrs.length; d < dd; d++) {\r\n if (dirtyattrs[d] in params) {\r\n res._.dirty = 1;\r\n break;\r\n }\r\n }\r\n switch (a['text-anchor']) {\r\n case 'start':\r\n res.textpath.style['v-text-align'] = 'left';\r\n res.bbx = res.W / 2;\r\n break;\r\n case 'end':\r\n res.textpath.style['v-text-align'] = 'right';\r\n res.bbx = -res.W / 2;\r\n break;\r\n default:\r\n res.textpath.style['v-text-align'] = 'center';\r\n res.bbx = 0;\r\n break;\r\n }\r\n res.textpath.style['v-text-kern'] = true;\r\n }\r\n },\r\n addGradientFill = function(o, gradient, fill) {\r\n o.attrs = o.attrs || {};\r\n var attrs = o.attrs,\r\n pow = Math.pow,\r\n opacity,\r\n oindex,\r\n type = 'linear',\r\n fxfy = '.5 .5';\r\n o.attrs.gradient = gradient;\r\n gradient = Str(gradient).replace(R._radial_gradient, function(all, fx, fy) {\r\n type = 'radial';\r\n if (fx && fy) {\r\n fx = toFloat(fx);\r\n fy = toFloat(fy);\r\n pow(fx - 0.5, 2) + pow(fy - 0.5, 2) > 0.25 &&\r\n (fy = math.sqrt(0.25 - pow(fx - 0.5, 2)) * ((fy > 0.5) * 2 - 1) + 0.5);\r\n fxfy = fx + S + fy;\r\n }\r\n return E;\r\n });\r\n gradient = gradient.split(/\\s*\\-\\s*/);\r\n if (type == 'linear') {\r\n var angle = gradient.shift();\r\n angle = -toFloat(angle);\r\n if (isNaN(angle)) {\r\n return null;\r\n }\r\n }\r\n var dots = R._parseDots(gradient);\r\n if (!dots) {\r\n return null;\r\n }\r\n o = o.shape || o.node;\r\n if (dots.length) {\r\n o.removeChild(fill);\r\n fill.on = true;\r\n fill.method = 'none';\r\n fill.color = dots[0].color;\r\n fill.color2 = dots[dots.length - 1].color;\r\n var clrs = [];\r\n for (var i = 0, ii = dots.length; i < ii; i++) {\r\n dots[i].offset && clrs.push(dots[i].offset + S + dots[i].color);\r\n }\r\n fill.colors = clrs.length ? clrs.join() : '0% ' + fill.color;\r\n if (type == 'radial') {\r\n fill.type = 'gradientTitle';\r\n fill.focus = '100%';\r\n fill.focussize = '0 0';\r\n fill.focusposition = fxfy;\r\n fill.angle = 0;\r\n } else {\r\n fill.type = 'gradient';\r\n fill.angle = (270 - angle) % 360;\r\n }\r\n o.appendChild(fill);\r\n }\r\n return 1;\r\n },\r\n Element = function(node, vml) {\r\n this[0] = this.node = node;\r\n node.raphael = true;\r\n this.id = R._oid++;\r\n node.raphaelid = this.id;\r\n this.X = 0;\r\n this.Y = 0;\r\n this.attrs = {};\r\n this.paper = vml;\r\n this.matrix = R.matrix();\r\n this._ = {\r\n transform: [],\r\n sx: 1,\r\n sy: 1,\r\n dx: 0,\r\n dy: 0,\r\n deg: 0,\r\n dirty: 1,\r\n dirtyT: 1,\r\n };\r\n !vml.bottom && (vml.bottom = this);\r\n this.prev = vml.top;\r\n vml.top && (vml.top.next = this);\r\n vml.top = this;\r\n this.next = null;\r\n };\r\n var elproto = R.el;\r\n Element.prototype = elproto;\r\n elproto.constructor = Element;\r\n elproto.transform = function(tstr) {\r\n if (tstr == null) {\r\n return this._.transform;\r\n }\r\n var vbs = this.paper._viewBoxShift,\r\n vbt = vbs ? 's' + [vbs.scale, vbs.scale] + '-1-1t' + [vbs.dx, vbs.dy] : E,\r\n oldt;\r\n if (vbs) {\r\n oldt = tstr = Str(tstr).replace(/\\.{3}|\\u2026/g, this._.transform || E);\r\n }\r\n R._extractTransform(this, vbt + tstr);\r\n var matrix = this.matrix.clone(),\r\n skew = this.skew,\r\n o = this.node,\r\n split,\r\n isGrad = ~Str(this.attrs.fill).indexOf('-'),\r\n isPatt = !Str(this.attrs.fill).indexOf('url(');\r\n matrix.translate(1, 1);\r\n if (isPatt || isGrad || this.type == 'image') {\r\n skew.matrix = '1 0 0 1';\r\n skew.offset = '0 0';\r\n split = matrix.split();\r\n if ((isGrad && split.noRotation) || !split.isSimple) {\r\n o.style.filter = matrix.toFilter();\r\n var bb = this.getBBox(),\r\n bbt = this.getBBox(1),\r\n dx = bb.x - bbt.x,\r\n dy = bb.y - bbt.y;\r\n o.coordorigin = dx * -zoom + S + dy * -zoom;\r\n setCoords(this, 1, 1, dx, dy, 0);\r\n } else {\r\n o.style.filter = E;\r\n setCoords(this, split.scalex, split.scaley, split.dx, split.dy, split.rotate);\r\n }\r\n } else {\r\n o.style.filter = E;\r\n skew.matrix = Str(matrix);\r\n skew.offset = matrix.offset();\r\n }\r\n oldt && (this._.transform = oldt);\r\n return this;\r\n };\r\n elproto.rotate = function(deg, cx, cy) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n if (deg == null) {\r\n return;\r\n }\r\n deg = Str(deg).split(separator);\r\n if (deg.length - 1) {\r\n cx = toFloat(deg[1]);\r\n cy = toFloat(deg[2]);\r\n }\r\n deg = toFloat(deg[0]);\r\n cy == null && (cx = cy);\r\n if (cx == null || cy == null) {\r\n var bbox = this.getBBox(1);\r\n cx = bbox.x + bbox.width / 2;\r\n cy = bbox.y + bbox.height / 2;\r\n }\r\n this._.dirtyT = 1;\r\n this.transform(this._.transform.concat([['r', deg, cx, cy]]));\r\n return this;\r\n };\r\n elproto.translate = function(dx, dy) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n dx = Str(dx).split(separator);\r\n if (dx.length - 1) {\r\n dy = toFloat(dx[1]);\r\n }\r\n dx = toFloat(dx[0]) || 0;\r\n dy = +dy || 0;\r\n if (this._.bbox) {\r\n this._.bbox.x += dx;\r\n this._.bbox.y += dy;\r\n }\r\n this.transform(this._.transform.concat([['t', dx, dy]]));\r\n return this;\r\n };\r\n elproto.scale = function(sx, sy, cx, cy) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n sx = Str(sx).split(separator);\r\n if (sx.length - 1) {\r\n sy = toFloat(sx[1]);\r\n cx = toFloat(sx[2]);\r\n cy = toFloat(sx[3]);\r\n isNaN(cx) && (cx = null);\r\n isNaN(cy) && (cy = null);\r\n }\r\n sx = toFloat(sx[0]);\r\n sy == null && (sy = sx);\r\n cy == null && (cx = cy);\r\n if (cx == null || cy == null) {\r\n var bbox = this.getBBox(1);\r\n }\r\n cx = cx == null ? bbox.x + bbox.width / 2 : cx;\r\n cy = cy == null ? bbox.y + bbox.height / 2 : cy;\r\n this.transform(this._.transform.concat([['s', sx, sy, cx, cy]]));\r\n this._.dirtyT = 1;\r\n return this;\r\n };\r\n elproto.hide = function() {\r\n !this.removed && (this.node.style.display = 'none');\r\n return this;\r\n };\r\n elproto.show = function() {\r\n !this.removed && (this.node.style.display = E);\r\n return this;\r\n };\r\n elproto._getBBox = function() {\r\n if (this.removed) {\r\n return {};\r\n }\r\n return {\r\n x: this.X + (this.bbx || 0) - this.W / 2,\r\n y: this.Y - this.H,\r\n width: this.W,\r\n height: this.H,\r\n };\r\n };\r\n elproto.remove = function() {\r\n if (this.removed || !this.node.parentNode) {\r\n return;\r\n }\r\n this.paper.__set__ && this.paper.__set__.exclude(this);\r\n R.eve.unbind('raphael.*.*.' + this.id);\r\n R._tear(this, this.paper);\r\n this.node.parentNode.removeChild(this.node);\r\n this.shape && this.shape.parentNode.removeChild(this.shape);\r\n for (var i in this) {\r\n this[i] = typeof this[i] == 'function' ? R._removedFactory(i) : null;\r\n }\r\n this.removed = true;\r\n };\r\n elproto.attr = function(name, value) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n if (name == null) {\r\n var res = {};\r\n for (var a in this.attrs) {\r\n if (this.attrs[has](a)) {\r\n res[a] = this.attrs[a];\r\n }\r\n }\r\n res.gradient && res.fill == 'none' && (res.fill = res.gradient) && delete res.gradient;\r\n res.transform = this._.transform;\r\n return res;\r\n }\r\n if (value == null && R.is(name, 'string')) {\r\n if (name == fillString && this.attrs.fill == 'none' && this.attrs.gradient) {\r\n return this.attrs.gradient;\r\n }\r\n var names = name.split(separator),\r\n out = {};\r\n for (var i = 0, ii = names.length; i < ii; i++) {\r\n name = names[i];\r\n if (name in this.attrs) {\r\n out[name] = this.attrs[name];\r\n } else if (R.is(this.paper.customAttributes[name], 'function')) {\r\n out[name] = this.paper.customAttributes[name].def;\r\n } else {\r\n out[name] = R._availableAttrs[name];\r\n }\r\n }\r\n return ii - 1 ? out : out[names[0]];\r\n }\r\n if (this.attrs && value == null && R.is(name, 'array')) {\r\n out = {};\r\n for (i = 0, ii = name.length; i < ii; i++) {\r\n out[name[i]] = this.attr(name[i]);\r\n }\r\n return out;\r\n }\r\n var params;\r\n if (value != null) {\r\n params = {};\r\n params[name] = value;\r\n }\r\n value == null && R.is(name, 'object') && (params = name);\r\n for (var key in params) {\r\n eve('raphael.attr.' + key + '.' + this.id, this, params[key]);\r\n }\r\n if (params) {\r\n for (key in this.paper.customAttributes) {\r\n if (\r\n this.paper.customAttributes[has](key) &&\r\n params[has](key) &&\r\n R.is(this.paper.customAttributes[key], 'function')\r\n ) {\r\n var par = this.paper.customAttributes[key].apply(this, [].concat(params[key]));\r\n this.attrs[key] = params[key];\r\n for (var subkey in par) {\r\n if (par[has](subkey)) {\r\n params[subkey] = par[subkey];\r\n }\r\n }\r\n }\r\n }\r\n if (params.text && this.type == 'text') {\r\n this.textpath.string = params.text;\r\n }\r\n setFillAndStroke(this, params);\r\n }\r\n return this;\r\n };\r\n elproto.toFront = function() {\r\n !this.removed && this.node.parentNode.appendChild(this.node);\r\n this.paper && this.paper.top != this && R._tofront(this, this.paper);\r\n return this;\r\n };\r\n elproto.toBack = function() {\r\n if (this.removed) {\r\n return this;\r\n }\r\n if (this.node.parentNode.firstChild != this.node) {\r\n this.node.parentNode.insertBefore(this.node, this.node.parentNode.firstChild);\r\n R._toback(this, this.paper);\r\n }\r\n return this;\r\n };\r\n elproto.insertAfter = function(element) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n if (element.constructor == R.st.constructor) {\r\n element = element[element.length - 1];\r\n }\r\n if (element.node.nextSibling) {\r\n element.node.parentNode.insertBefore(this.node, element.node.nextSibling);\r\n } else {\r\n element.node.parentNode.appendChild(this.node);\r\n }\r\n R._insertafter(this, element, this.paper);\r\n return this;\r\n };\r\n elproto.insertBefore = function(element) {\r\n if (this.removed) {\r\n return this;\r\n }\r\n if (element.constructor == R.st.constructor) {\r\n element = element[0];\r\n }\r\n element.node.parentNode.insertBefore(this.node, element.node);\r\n R._insertbefore(this, element, this.paper);\r\n return this;\r\n };\r\n elproto.blur = function(size) {\r\n var s = this.node.runtimeStyle,\r\n f = s.filter;\r\n f = f.replace(blurregexp, E);\r\n if (+size !== 0) {\r\n this.attrs.blur = size;\r\n s.filter = f + S + ms + '.Blur(pixelradius=' + (+size || 1.5) + ')';\r\n s.margin = R.format('-{0}px 0 0 -{0}px', round(+size || 1.5));\r\n } else {\r\n s.filter = f;\r\n s.margin = 0;\r\n delete this.attrs.blur;\r\n }\r\n return this;\r\n };\r\n R._engine.path = function(pathString, vml) {\r\n var el = createNode('shape');\r\n el.style.cssText = cssDot;\r\n el.coordsize = zoom + S + zoom;\r\n el.coordorigin = vml.coordorigin;\r\n var p = new Element(el, vml),\r\n attr = {\r\n fill: 'none',\r\n stroke: '#000',\r\n };\r\n pathString && (attr.path = pathString);\r\n p.type = 'path';\r\n p.path = [];\r\n p.Path = E;\r\n setFillAndStroke(p, attr);\r\n vml.canvas.appendChild(el);\r\n var skew = createNode('skew');\r\n skew.on = true;\r\n el.appendChild(skew);\r\n p.skew = skew;\r\n p.transform(E);\r\n return p;\r\n };\r\n R._engine.rect = function(vml, x, y, w, h, r) {\r\n var path = R._rectPath(x, y, w, h, r),\r\n res = vml.path(path),\r\n a = res.attrs;\r\n res.X = a.x = x;\r\n res.Y = a.y = y;\r\n res.W = a.width = w;\r\n res.H = a.height = h;\r\n a.r = r;\r\n a.path = path;\r\n res.type = 'rect';\r\n return res;\r\n };\r\n R._engine.ellipse = function(vml, x, y, rx, ry) {\r\n var res = vml.path(),\r\n a = res.attrs;\r\n res.X = x - rx;\r\n res.Y = y - ry;\r\n res.W = rx * 2;\r\n res.H = ry * 2;\r\n res.type = 'ellipse';\r\n setFillAndStroke(res, {\r\n cx: x,\r\n cy: y,\r\n rx: rx,\r\n ry: ry,\r\n });\r\n return res;\r\n };\r\n R._engine.circle = function(vml, x, y, r) {\r\n var res = vml.path(),\r\n a = res.attrs;\r\n res.X = x - r;\r\n res.Y = y - r;\r\n res.W = res.H = r * 2;\r\n res.type = 'circle';\r\n setFillAndStroke(res, {\r\n cx: x,\r\n cy: y,\r\n r: r,\r\n });\r\n return res;\r\n };\r\n R._engine.image = function(vml, src, x, y, w, h) {\r\n var path = R._rectPath(x, y, w, h),\r\n res = vml.path(path).attr({\r\n stroke: 'none',\r\n }),\r\n a = res.attrs,\r\n node = res.node,\r\n fill = node.getElementsByTagName(fillString)[0];\r\n a.src = src;\r\n res.X = a.x = x;\r\n res.Y = a.y = y;\r\n res.W = a.width = w;\r\n res.H = a.height = h;\r\n a.path = path;\r\n res.type = 'image';\r\n fill.parentNode == node && node.removeChild(fill);\r\n fill.rotate = true;\r\n fill.src = src;\r\n fill.type = 'tile';\r\n res._.fillpos = [x, y];\r\n res._.fillsize = [w, h];\r\n node.appendChild(fill);\r\n setCoords(res, 1, 1, 0, 0, 0);\r\n return res;\r\n };\r\n R._engine.text = function(vml, x, y, text) {\r\n var el = createNode('shape'),\r\n path = createNode('path'),\r\n o = createNode('textpath');\r\n x = x || 0;\r\n y = y || 0;\r\n text = text || '';\r\n path.v = R.format('m{0},{1}l{2},{1}', round(x * zoom), round(y * zoom), round(x * zoom) + 1);\r\n path.textpathok = true;\r\n o.string = Str(text);\r\n o.on = true;\r\n el.style.cssText = cssDot;\r\n el.coordsize = zoom + S + zoom;\r\n el.coordorigin = '0 0';\r\n var p = new Element(el, vml),\r\n attr = {\r\n fill: '#000',\r\n stroke: 'none',\r\n font: R._availableAttrs.font,\r\n text: text,\r\n };\r\n p.shape = el;\r\n p.path = path;\r\n p.textpath = o;\r\n p.type = 'text';\r\n p.attrs.text = Str(text);\r\n p.attrs.x = x;\r\n p.attrs.y = y;\r\n p.attrs.w = 1;\r\n p.attrs.h = 1;\r\n setFillAndStroke(p, attr);\r\n el.appendChild(o);\r\n el.appendChild(path);\r\n vml.canvas.appendChild(el);\r\n var skew = createNode('skew');\r\n skew.on = true;\r\n el.appendChild(skew);\r\n p.skew = skew;\r\n p.transform(E);\r\n return p;\r\n };\r\n R._engine.setSize = function(width, height) {\r\n var cs = this.canvas.style;\r\n this.width = width;\r\n this.height = height;\r\n width == +width && (width += 'px');\r\n height == +height && (height += 'px');\r\n cs.width = width;\r\n cs.height = height;\r\n cs.clip = 'rect(0 ' + width + ' ' + height + ' 0)';\r\n if (this._viewBox) {\r\n R._engine.setViewBox.apply(this, this._viewBox);\r\n }\r\n return this;\r\n };\r\n R._engine.setViewBox = function(x, y, w, h, fit) {\r\n R.eve('raphael.setViewBox', this, this._viewBox, [x, y, w, h, fit]);\r\n var width = this.width,\r\n height = this.height,\r\n size = 1 / mmax(w / width, h / height),\r\n H,\r\n W;\r\n if (fit) {\r\n H = height / h;\r\n W = width / w;\r\n if (w * H < width) {\r\n x -= (width - w * H) / 2 / H;\r\n }\r\n if (h * W < height) {\r\n y -= (height - h * W) / 2 / W;\r\n }\r\n }\r\n this._viewBox = [x, y, w, h, !!fit];\r\n this._viewBoxShift = {\r\n dx: -x,\r\n dy: -y,\r\n scale: size,\r\n };\r\n this.forEach(function(el) {\r\n el.transform('...');\r\n });\r\n return this;\r\n };\r\n var createNode;\r\n R._engine.initWin = function(win) {\r\n var doc = win.document;\r\n doc.createStyleSheet().addRule('.rvml', 'behavior:url(#default#VML)');\r\n try {\r\n !doc.namespaces.rvml && doc.namespaces.add('rvml', 'urn:schemas-microsoft-com:vml');\r\n createNode = function(tagName) {\r\n return doc.createElement('');\r\n };\r\n } catch (e) {\r\n createNode = function(tagName) {\r\n return doc.createElement('<' + tagName + ' xmlns=\"urn:schemas-microsoft.com:vml\" class=\"rvml\">');\r\n };\r\n }\r\n };\r\n R._engine.initWin(R._g.win);\r\n R._engine.create = function() {\r\n var con = R._getContainer.apply(0, arguments),\r\n container = con.container,\r\n height = con.height,\r\n s,\r\n width = con.width,\r\n x = con.x,\r\n y = con.y;\r\n if (!container) {\r\n throw new Error('VML container not found.');\r\n }\r\n var res = new R._Paper(),\r\n c = (res.canvas = R._g.doc.createElement('div')),\r\n cs = c.style;\r\n x = x || 0;\r\n y = y || 0;\r\n width = width || 512;\r\n height = height || 342;\r\n res.width = width;\r\n res.height = height;\r\n width == +width && (width += 'px');\r\n height == +height && (height += 'px');\r\n res.coordsize = zoom * 1000 + S + zoom * 1000;\r\n res.coordorigin = '0 0';\r\n res.span = R._g.doc.createElement('span');\r\n res.span.style.cssText = 'position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;';\r\n c.appendChild(res.span);\r\n cs.cssText = R.format(\r\n 'top:0;left:0;width:{0};height:{1};display:inline-block;position:relative;clip:rect(0 {0} {1} 0);overflow:hidden',\r\n width,\r\n height\r\n );\r\n if (container == 1) {\r\n R._g.doc.body.appendChild(c);\r\n cs.left = x + 'px';\r\n cs.top = y + 'px';\r\n cs.position = 'absolute';\r\n } else {\r\n if (container.firstChild) {\r\n container.insertBefore(c, container.firstChild);\r\n } else {\r\n container.appendChild(c);\r\n }\r\n }\r\n res.renderfix = function() {};\r\n return res;\r\n };\r\n R.prototype.clear = function() {\r\n R.eve('raphael.clear', this);\r\n this.canvas.innerHTML = E;\r\n this.span = R._g.doc.createElement('span');\r\n this.span.style.cssText =\r\n 'position:absolute;left:-9999em;top:-9999em;padding:0;margin:0;line-height:1;display:inline;';\r\n this.canvas.appendChild(this.span);\r\n this.bottom = this.top = null;\r\n };\r\n R.prototype.remove = function() {\r\n R.eve('raphael.remove', this);\r\n this.canvas.parentNode.removeChild(this.canvas);\r\n for (var i in this) {\r\n this[i] = typeof this[i] == 'function' ? R._removedFactory(i) : null;\r\n }\r\n return true;\r\n };\r\n var setproto = R.st;\r\n for (var method in elproto) {\r\n if (elproto[has](method) && !setproto[has](method)) {\r\n setproto[method] = (function(methodname) {\r\n return function() {\r\n var arg = arguments;\r\n return this.forEach(function(el) {\r\n el[methodname].apply(el, arg);\r\n });\r\n };\r\n })(method);\r\n }\r\n }\r\n })();\r\n oldRaphael.was ? (g.win.Raphael = R) : (window.Raphael = R);\r\n return R;\r\n});\r\n","/*Copyright 2010-2021 Simplemaps.com\r\nhtml5namapv4.15\r\nUse pursuant to license agreement at https://simplemaps.com/license */\r\n\r\n/* shifty - v1.5.3 - http://jeremyckahn.github.io/shifty, embedded within map logic*/\r\nexport const simplemaps = function(e = 'simplemaps_namap') {\r\n var t = {};\r\n (function() {\r\n var e,\r\n t,\r\n o,\r\n i,\r\n n,\r\n a,\r\n r,\r\n s,\r\n l,\r\n c,\r\n m,\r\n u = this || Function('return this')(),\r\n p = (function() {\r\n 'use strict';\r\n var e,\r\n t,\r\n o,\r\n i,\r\n n,\r\n a = 'linear',\r\n r =\r\n Date.now ||\r\n function() {\r\n return +new Date();\r\n },\r\n s = 'undefined' != typeof SHIFTY_DEBUG_NOW ? SHIFTY_DEBUG_NOW : r;\r\n function l() {}\r\n function c(e, t) {\r\n for (var o in e) Object.hasOwnProperty.call(e, o) && t(o);\r\n }\r\n function m(e, t) {\r\n return (\r\n c(t, function(o) {\r\n e[o] = t[o];\r\n }),\r\n e\r\n );\r\n }\r\n function p(e, t) {\r\n c(t, function(o) {\r\n void 0 === e[o] && (e[o] = t[o]);\r\n });\r\n }\r\n function d(t, o, i, n, a, r, s) {\r\n var l,\r\n c,\r\n m = t < r ? 0 : (t - r) / a;\r\n for (l in o)\r\n o.hasOwnProperty(l) && ((c = 'function' == typeof (c = s[l]) ? c : e[c]), (o[l] = _(i[l], n[l], c, m)));\r\n return o;\r\n }\r\n function _(e, t, o, i) {\r\n return e + (t - e) * o(i);\r\n }\r\n function h(e, t) {\r\n var o = y.prototype.filter,\r\n i = e._filterArgs;\r\n c(o, function(n) {\r\n void 0 !== o[n][t] && o[n][t].apply(e, i);\r\n });\r\n }\r\n function f(e, t, a, r, l, c, m, u, p, _, f) {\r\n (n = t + a + r),\r\n (o = Math.min(f || s(), n)),\r\n (i = n <= o),\r\n (n = r - (n - o)),\r\n e.isPlaying() &&\r\n (i\r\n ? (p(m, e._attachment, n), e.stop(!0))\r\n : ((e._scheduleId = _(e._timeoutHandler, 1e3 / 60)),\r\n h(e, 'beforeTween'),\r\n o < t + a ? d(1, l, c, m, 1, 1, u) : d(o, l, c, m, r, t + a, u),\r\n h(e, 'afterTween'),\r\n p(l, e._attachment, n)));\r\n }\r\n function v(e, t) {\r\n var o = {},\r\n i = typeof t;\r\n return (\r\n c(\r\n e,\r\n 'string' == i || 'function' == i\r\n ? function(e) {\r\n o[e] = t;\r\n }\r\n : function(e) {\r\n o[e] || (o[e] = t[e] || a);\r\n }\r\n ),\r\n o\r\n );\r\n }\r\n function y(e, o) {\r\n (this._currentState = e || {}),\r\n (this._configured = !1),\r\n (this._scheduleFunction = t),\r\n void 0 !== o && this.setConfig(o);\r\n }\r\n return (\r\n (t =\r\n ('undefined' != typeof window &&\r\n (window.requestAnimationFrame ||\r\n window.webkitRequestAnimationFrame ||\r\n window.oRequestAnimationFrame ||\r\n window.msRequestAnimationFrame ||\r\n (window.mozCancelRequestAnimationFrame && window.mozRequestAnimationFrame))) ||\r\n setTimeout),\r\n (y.prototype.tween = function(e) {\r\n return this._isTweening\r\n ? this\r\n : ((void 0 === e && this._configured) || this.setConfig(e),\r\n (this._timestamp = s()),\r\n this._start(this.get(), this._attachment),\r\n this.resume());\r\n }),\r\n (y.prototype.setConfig = function(e) {\r\n (e = e || {}),\r\n (this._configured = !0),\r\n (this._attachment = e.attachment),\r\n (this._pausedAtTime = null),\r\n (this._scheduleId = null),\r\n (this._delay = e.delay || 0),\r\n (this._start = e.start || l),\r\n (this._step = e.step || l),\r\n (this._finish = e.finish || l),\r\n (this._duration = e.duration || 500),\r\n (this._currentState = m({}, e.from || this.get())),\r\n (this._originalState = this.get()),\r\n (this._targetState = m({}, e.to || this.get()));\r\n var t = this;\r\n this._timeoutHandler = function() {\r\n f(\r\n t,\r\n t._timestamp,\r\n t._delay,\r\n t._duration,\r\n t._currentState,\r\n t._originalState,\r\n t._targetState,\r\n t._easing,\r\n t._step,\r\n t._scheduleFunction\r\n );\r\n };\r\n var o = this._currentState,\r\n i = this._targetState;\r\n return (\r\n p(i, o),\r\n (this._easing = v(o, e.easing || a)),\r\n (this._filterArgs = [o, this._originalState, i, this._easing]),\r\n h(this, 'tweenCreated'),\r\n this\r\n );\r\n }),\r\n (y.prototype.get = function() {\r\n return m({}, this._currentState);\r\n }),\r\n (y.prototype.set = function(e) {\r\n this._currentState = e;\r\n }),\r\n (y.prototype.pause = function() {\r\n return (this._pausedAtTime = s()), (this._isPaused = !0), this;\r\n }),\r\n (y.prototype.resume = function() {\r\n return (\r\n this._isPaused && (this._timestamp += s() - this._pausedAtTime),\r\n (this._isPaused = !1),\r\n (this._isTweening = !0),\r\n this._timeoutHandler(),\r\n this\r\n );\r\n }),\r\n (y.prototype.seek = function(e) {\r\n e = Math.max(e, 0);\r\n var t = s();\r\n return (\r\n this._timestamp + e === 0 ||\r\n ((this._timestamp = t - e),\r\n this.isPlaying() ||\r\n ((this._isTweening = !0),\r\n (this._isPaused = !1),\r\n f(\r\n this,\r\n this._timestamp,\r\n this._delay,\r\n this._duration,\r\n this._currentState,\r\n this._originalState,\r\n this._targetState,\r\n this._easing,\r\n this._step,\r\n this._scheduleFunction,\r\n t\r\n ),\r\n this.pause())),\r\n this\r\n );\r\n }),\r\n (y.prototype.stop = function(e) {\r\n return (\r\n (this._isTweening = !1),\r\n (this._isPaused = !1),\r\n (this._timeoutHandler = l),\r\n (\r\n u.cancelAnimationFrame ||\r\n u.webkitCancelAnimationFrame ||\r\n u.oCancelAnimationFrame ||\r\n u.msCancelAnimationFrame ||\r\n u.mozCancelRequestAnimationFrame ||\r\n u.clearTimeout\r\n )(this._scheduleId),\r\n e &&\r\n (h(this, 'beforeTween'),\r\n d(1, this._currentState, this._originalState, this._targetState, 1, 0, this._easing),\r\n h(this, 'afterTween'),\r\n h(this, 'afterTweenEnd'),\r\n this._finish.call(this, this._currentState, this._attachment)),\r\n this\r\n );\r\n }),\r\n (y.prototype.isPlaying = function() {\r\n return this._isTweening && !this._isPaused;\r\n }),\r\n (y.prototype.setScheduleFunction = function(e) {\r\n this._scheduleFunction = e;\r\n }),\r\n (y.prototype.dispose = function() {\r\n for (var e in this) this.hasOwnProperty(e) && delete this[e];\r\n }),\r\n (y.prototype.filter = {}),\r\n (e = y.prototype.formula = {\r\n linear: function(e) {\r\n return e;\r\n },\r\n }),\r\n m(y, {\r\n now: s,\r\n each: c,\r\n tweenProps: d,\r\n tweenProp: _,\r\n applyFilter: h,\r\n shallowCopy: m,\r\n defaults: p,\r\n composeEasingObject: v,\r\n }),\r\n 'function' == typeof SHIFTY_DEBUG_NOW && (u.timeoutHandler = f),\r\n (u.Tweenable = y)\r\n );\r\n })();\r\n function d(e) {\r\n t.each(e, function(t) {\r\n var o = e[t];\r\n 'string' == typeof o && o.match(s) && (e[t] = f(s, o, _));\r\n });\r\n }\r\n function _(e) {\r\n return (\r\n 'rgb(' +\r\n (e = (function(e) {\r\n return (\r\n 3 === (e = e.replace(/#/, '')).length && (e = (e = e.split(''))[0] + e[0] + e[1] + e[1] + e[2] + e[2]),\r\n (c[0] = h(e.substr(0, 2))),\r\n (c[1] = h(e.substr(2, 2))),\r\n (c[2] = h(e.substr(4, 2))),\r\n c\r\n );\r\n })(e))[0] +\r\n ',' +\r\n e[1] +\r\n ',' +\r\n e[2] +\r\n ')'\r\n );\r\n }\r\n function h(e) {\r\n return parseInt(e, 16);\r\n }\r\n function f(e, t, o) {\r\n var i = t.match(e),\r\n n = t.replace(e, l);\r\n if (i) for (var a, r = i.length, s = 0; s < r; s++) (a = i.shift()), (n = n.replace(l, o(a)));\r\n return n;\r\n }\r\n function v(e) {\r\n for (var t = e.match(n), o = t.length, i = e.match(r)[0], a = 0; a < o; a++) i += parseInt(t[a], 10) + ',';\r\n return i.slice(0, -1) + ')';\r\n }\r\n function y(e, o) {\r\n t.each(o, function(t) {\r\n for (var i = b(e[t]), n = i.length, a = 0; a < n; a++) e[o[t].chunkNames[a]] = +i[a];\r\n delete e[t];\r\n });\r\n }\r\n function g(e, o) {\r\n t.each(o, function(t) {\r\n var i = e[t],\r\n n = (function(e, t) {\r\n m.length = 0;\r\n for (var o = t.length, i = 0; i < o; i++) m.push(e[t[i]]);\r\n return m;\r\n })(\r\n (function(e, t) {\r\n for (var o, i = {}, n = t.length, a = 0; a < n; a++) (i[(o = t[a])] = e[o]), delete e[o];\r\n return i;\r\n })(e, o[t].chunkNames),\r\n o[t].chunkNames\r\n );\r\n i = (function(e, t) {\r\n for (var o = e, i = t.length, n = 0; n < i; n++) o = o.replace(l, +t[n].toFixed(4));\r\n return o;\r\n })(o[t].formatString, n);\r\n e[t] = f(a, i, v);\r\n });\r\n }\r\n function b(e) {\r\n return e.match(n);\r\n }\r\n p.shallowCopy(p.prototype.formula, {\r\n easeInQuad: function(e) {\r\n return Math.pow(e, 2);\r\n },\r\n easeOutQuad: function(e) {\r\n return -(Math.pow(e - 1, 2) - 1);\r\n },\r\n easeInOutQuad: function(e) {\r\n return (e /= 0.5) < 1 ? 0.5 * Math.pow(e, 2) : -0.5 * ((e -= 2) * e - 2);\r\n },\r\n easeInCubic: function(e) {\r\n return Math.pow(e, 3);\r\n },\r\n easeOutCubic: function(e) {\r\n return Math.pow(e - 1, 3) + 1;\r\n },\r\n easeInOutCubic: function(e) {\r\n return (e /= 0.5) < 1 ? 0.5 * Math.pow(e, 3) : 0.5 * (Math.pow(e - 2, 3) + 2);\r\n },\r\n easeInQuart: function(e) {\r\n return Math.pow(e, 4);\r\n },\r\n easeOutQuart: function(e) {\r\n return -(Math.pow(e - 1, 4) - 1);\r\n },\r\n easeInOutQuart: function(e) {\r\n return (e /= 0.5) < 1 ? 0.5 * Math.pow(e, 4) : -0.5 * ((e -= 2) * Math.pow(e, 3) - 2);\r\n },\r\n easeInQuint: function(e) {\r\n return Math.pow(e, 5);\r\n },\r\n easeOutQuint: function(e) {\r\n return Math.pow(e - 1, 5) + 1;\r\n },\r\n easeInOutQuint: function(e) {\r\n return (e /= 0.5) < 1 ? 0.5 * Math.pow(e, 5) : 0.5 * (Math.pow(e - 2, 5) + 2);\r\n },\r\n easeInSine: function(e) {\r\n return 1 - Math.cos(e * (Math.PI / 2));\r\n },\r\n easeOutSine: function(e) {\r\n return Math.sin(e * (Math.PI / 2));\r\n },\r\n easeInOutSine: function(e) {\r\n return -0.5 * (Math.cos(Math.PI * e) - 1);\r\n },\r\n easeInExpo: function(e) {\r\n return 0 === e ? 0 : Math.pow(2, 10 * (e - 1));\r\n },\r\n easeOutExpo: function(e) {\r\n return 1 === e ? 1 : 1 - Math.pow(2, -10 * e);\r\n },\r\n easeInOutExpo: function(e) {\r\n return 0 === e\r\n ? 0\r\n : 1 === e\r\n ? 1\r\n : (e /= 0.5) < 1\r\n ? 0.5 * Math.pow(2, 10 * (e - 1))\r\n : 0.5 * (2 - Math.pow(2, -10 * --e));\r\n },\r\n easeInCirc: function(e) {\r\n return -(Math.sqrt(1 - e * e) - 1);\r\n },\r\n easeOutCirc: function(e) {\r\n return Math.sqrt(1 - Math.pow(e - 1, 2));\r\n },\r\n easeInOutCirc: function(e) {\r\n return (e /= 0.5) < 1 ? -0.5 * (Math.sqrt(1 - e * e) - 1) : 0.5 * (Math.sqrt(1 - (e -= 2) * e) + 1);\r\n },\r\n easeOutBounce: function(e) {\r\n return e < 1 / 2.75\r\n ? 7.5625 * e * e\r\n : e < 2 / 2.75\r\n ? 7.5625 * (e -= 1.5 / 2.75) * e + 0.75\r\n : e < 2.5 / 2.75\r\n ? 7.5625 * (e -= 2.25 / 2.75) * e + 0.9375\r\n : 7.5625 * (e -= 2.625 / 2.75) * e + 0.984375;\r\n },\r\n easeInBack: function(e) {\r\n return e * e * (2.70158 * e - 1.70158);\r\n },\r\n easeOutBack: function(e) {\r\n return --e * e * (2.70158 * e + 1.70158) + 1;\r\n },\r\n easeInOutBack: function(e) {\r\n var t = 1.70158;\r\n return (e /= 0.5) < 1\r\n ? e * e * ((1 + (t *= 1.525)) * e - t) * 0.5\r\n : 0.5 * ((e -= 2) * e * ((1 + (t *= 1.525)) * e + t) + 2);\r\n },\r\n elastic: function(e) {\r\n return -1 * Math.pow(4, -8 * e) * Math.sin(((6 * e - 1) * (2 * Math.PI)) / 2) + 1;\r\n },\r\n swingFromTo: function(e) {\r\n var t = 1.70158;\r\n return (e /= 0.5) < 1\r\n ? e * e * ((1 + (t *= 1.525)) * e - t) * 0.5\r\n : 0.5 * ((e -= 2) * e * ((1 + (t *= 1.525)) * e + t) + 2);\r\n },\r\n swingFrom: function(e) {\r\n return e * e * (2.70158 * e - 1.70158);\r\n },\r\n swingTo: function(e) {\r\n return --e * e * (2.70158 * e + 1.70158) + 1;\r\n },\r\n bounce: function(e) {\r\n return e < 1 / 2.75\r\n ? 7.5625 * e * e\r\n : e < 2 / 2.75\r\n ? 7.5625 * (e -= 1.5 / 2.75) * e + 0.75\r\n : e < 2.5 / 2.75\r\n ? 7.5625 * (e -= 2.25 / 2.75) * e + 0.9375\r\n : 7.5625 * (e -= 2.625 / 2.75) * e + 0.984375;\r\n },\r\n bouncePast: function(e) {\r\n return e < 1 / 2.75\r\n ? 7.5625 * e * e\r\n : e < 2 / 2.75\r\n ? 2 - (7.5625 * (e -= 1.5 / 2.75) * e + 0.75)\r\n : e < 2.5 / 2.75\r\n ? 2 - (7.5625 * (e -= 2.25 / 2.75) * e + 0.9375)\r\n : 2 - (7.5625 * (e -= 2.625 / 2.75) * e + 0.984375);\r\n },\r\n easeFromTo: function(e) {\r\n return (e /= 0.5) < 1 ? 0.5 * Math.pow(e, 4) : -0.5 * ((e -= 2) * Math.pow(e, 3) - 2);\r\n },\r\n easeFrom: function(e) {\r\n return Math.pow(e, 4);\r\n },\r\n easeTo: function(e) {\r\n return Math.pow(e, 0.25);\r\n },\r\n }),\r\n (p.setBezierFunction = function(e, t, o, i, n) {\r\n var a,\r\n r,\r\n s,\r\n l,\r\n c =\r\n ((a = t),\r\n (r = o),\r\n (s = i),\r\n (l = n),\r\n function(e) {\r\n return (function(e, t, o, i, n, a) {\r\n var r,\r\n s,\r\n l,\r\n c,\r\n m = 0,\r\n u = 0,\r\n p = 0;\r\n function d(e) {\r\n return ((m * e + u) * e + p) * e;\r\n }\r\n function _(e) {\r\n return 0 <= e ? e : 0 - e;\r\n }\r\n return (\r\n (m = 1 - (p = 3 * t) - (u = 3 * (i - t) - p)),\r\n (s = 1 - (c = 3 * o) - (l = 3 * (n - o) - c)),\r\n (r = (function(e, t) {\r\n var o, i, n, a, r, s;\r\n for (n = e, s = 0; s < 8; s++) {\r\n if (_((a = d(n) - e)) < t) return n;\r\n if (_((r = (3 * m * n + 2 * u) * n + p)) < 1e-6) break;\r\n n -= a / r;\r\n }\r\n if ((n = e) < (o = 0)) return o;\r\n if ((i = 1) < n) return i;\r\n for (; o < i; ) {\r\n if (_((a = d(n)) - e) < t) return n;\r\n a < e ? (o = n) : (i = n), (n = 0.5 * (i - o) + o);\r\n }\r\n return n;\r\n })(e, (r = 1 / (200 * a)))),\r\n ((s * r + l) * r + c) * r\r\n );\r\n })(e, a, r, s, l, 1);\r\n });\r\n return (c.displayName = e), (c.x1 = t), (c.y1 = o), (c.x2 = i), (c.y2 = n), (p.prototype.formula[e] = c);\r\n }),\r\n (p.unsetBezierFunction = function(e) {\r\n delete p.prototype.formula[e];\r\n }),\r\n ((e = new p())._filterArgs = []),\r\n (p.interpolate = function(t, o, i, n, a) {\r\n var r = p.shallowCopy({}, t),\r\n s = a || 0;\r\n a = p.composeEasingObject(t, n || 'linear');\r\n return (\r\n e.set({}),\r\n ((n = e._filterArgs).length = 0),\r\n (n[0] = r),\r\n (n[1] = t),\r\n (n[2] = o),\r\n (n[3] = a),\r\n p.applyFilter(e, 'tweenCreated'),\r\n p.applyFilter(e, 'beforeTween'),\r\n (t = t),\r\n (r = r),\r\n (o = o),\r\n (i = i),\r\n (a = a),\r\n (s = s),\r\n (a = p.tweenProps(i, r, t, o, 1, s, a)),\r\n p.applyFilter(e, 'afterTween'),\r\n a\r\n );\r\n }),\r\n (t = p),\r\n (o = /(\\d|\\-|\\.)/),\r\n (i = /([^\\-0-9\\.]+)/g),\r\n (n = /[0-9.\\-]+/g),\r\n (a = new RegExp('rgb\\\\(' + n.source + /,\\s*/.source + n.source + /,\\s*/.source + n.source + '\\\\)', 'g')),\r\n (r = /^.*\\(/),\r\n (s = /#([0-9]|[a-f]){3,6}/gi),\r\n (l = 'VAL'),\r\n (c = []),\r\n (m = []),\r\n (t.prototype.filter.token = {\r\n tweenCreated: function(e, n, a, r) {\r\n d(e),\r\n d(n),\r\n d(a),\r\n (this._tokenData = (function(e) {\r\n var n = {};\r\n return (\r\n t.each(e, function(t) {\r\n var a,\r\n r,\r\n s = e[t];\r\n 'string' == typeof s &&\r\n ((a = b(s)),\r\n (n[t] = {\r\n formatString:\r\n ((s = (r = s).match(i))\r\n ? (1 !== s.length && !r.charAt(0).match(o)) || s.unshift('')\r\n : (s = ['', '']),\r\n s.join(l)),\r\n chunkNames: (function(e, t) {\r\n for (var o = [], i = e.length, n = 0; n < i; n++) o.push('_' + t + '_' + n);\r\n return o;\r\n })(a, t),\r\n }));\r\n }),\r\n n\r\n );\r\n })(e));\r\n },\r\n beforeTween: function(e, o, i, n) {\r\n var a, r;\r\n (a = n),\r\n (r = this._tokenData),\r\n t.each(r, function(e) {\r\n var t = r[e].chunkNames,\r\n o = t.length,\r\n i = a[e];\r\n if ('string' == typeof i)\r\n for (var n = i.split(' '), s = n[n.length - 1], l = 0; l < o; l++) a[t[l]] = n[l] || s;\r\n else for (l = 0; l < o; l++) a[t[l]] = i;\r\n delete a[e];\r\n }),\r\n y(e, this._tokenData),\r\n y(o, this._tokenData),\r\n y(i, this._tokenData);\r\n },\r\n afterTween: function(e, o, i, n) {\r\n var a, r;\r\n g(e, this._tokenData),\r\n g(o, this._tokenData),\r\n g(i, this._tokenData),\r\n (a = n),\r\n (r = this._tokenData),\r\n t.each(r, function(e) {\r\n var t = r[e].chunkNames,\r\n o = t.length,\r\n i = a[t[0]];\r\n if ('string' == typeof i) {\r\n for (var n = '', s = 0; s < o; s++) (n += ' ' + a[t[s]]), delete a[t[s]];\r\n a[e] = n.substr(1);\r\n } else a[e] = i;\r\n });\r\n },\r\n });\r\n }.call(null),\r\n (function(e, t) {\r\n (e = e || 'docReady'), (t = t || window);\r\n var o = [],\r\n i = !1,\r\n n = !1;\r\n function a() {\r\n if (!i) {\r\n i = !0;\r\n for (var e = 0; e < o.length; e++) o[e].fn.call(window, o[e].ctx);\r\n o = [];\r\n }\r\n }\r\n function r() {\r\n 'complete' === document.readyState && a();\r\n }\r\n t[e] = function(e, t) {\r\n i\r\n ? setTimeout(function() {\r\n e(t);\r\n }, 1)\r\n : (o.push({ fn: e, ctx: t }),\r\n 'complete' === document.readyState || (!document.attachEvent && 'interactive' === document.readyState)\r\n ? setTimeout(a, 1)\r\n : n ||\r\n (document.addEventListener\r\n ? (document.addEventListener('DOMContentLoaded', a, !1), window.addEventListener('load', a, !1))\r\n : (document.attachEvent('onreadystatechange', r), window.attachEvent('onload', a)),\r\n (n = !0)));\r\n };\r\n })('docReady', t),\r\n (function(e, t, o) {\r\n (void 0 !== e && void 0 !== e.log) || ((e = {}).log = function() {}),\r\n 'function' != typeof t.create &&\r\n (t.create = function(e) {\r\n function t() {}\r\n return (t.prototype = e), new t();\r\n }),\r\n o.prototype.forEach ||\r\n (o.prototype.forEach = function(e, t) {\r\n for (var o = 0, i = this.length; o < i; ++o) e.call(t, this[o], o, this);\r\n });\r\n })(window.console, window.Object, window.Array),\r\n (Object.size = function(e) {\r\n var t,\r\n o = 0;\r\n for (t in e) e.hasOwnProperty(t) && o++;\r\n return o;\r\n }));\r\n var o = (function() {\r\n var e = {\r\n Android: function() {\r\n return navigator.userAgent.match(/Android/i);\r\n },\r\n BlackBerry: function() {\r\n return navigator.userAgent.match(/BlackBerry/i);\r\n },\r\n iOS: function() {\r\n return navigator.userAgent.match(/iPhone|iPad|iPod/i);\r\n },\r\n Opera: function() {\r\n return navigator.userAgent.match(/Opera\\sMini/i);\r\n },\r\n Windows: function() {\r\n return navigator.userAgent.match(/IEMobile/i);\r\n },\r\n any: function() {\r\n return e.Android() || e.BlackBerry() || e.iOS() || e.Opera() || e.Windows();\r\n },\r\n };\r\n function t(e, t) {\r\n var o = e[0],\r\n i = e[1],\r\n n = Raphael.transformPath('M' + o + ',' + i, t).toString(),\r\n a = /M(-?\\d+.?\\d*),(-?\\d+.?\\d*)/.exec(n);\r\n return [a[1], a[2]];\r\n }\r\n function i(e) {\r\n return Math.min.apply(Math, e);\r\n }\r\n function n(e) {\r\n return Math.max.apply(Math, e);\r\n }\r\n return {\r\n min: i,\r\n max: n,\r\n addEvent: function(e, t, o) {\r\n e.attachEvent\r\n ? ((e['e' + t + o] = o),\r\n (e[t + o] = function() {\r\n e['e' + t + o](window.event);\r\n }),\r\n e.attachEvent('on' + t, e[t + o]))\r\n : e.addEventListener(t, o, !1);\r\n },\r\n isMobile: e,\r\n linePath: function(e, t, o, i) {\r\n return 'M' + e + ' ' + t + ' L' + o + ' ' + i;\r\n },\r\n clone: function e(t) {\r\n if ('object' != typeof t || null === t) return t;\r\n var o = t.constructor();\r\n for (var i in t) o[i] = e(t[i]);\r\n return o;\r\n },\r\n isFunction: function(e) {\r\n return e && '[object Function]' === {}.toString.call(e);\r\n },\r\n findPos: function(e) {\r\n function t(e, t) {\r\n if (e.currentStyle) var o = e.currentStyle[t];\r\n else window.getComputedStyle && (o = window.getComputedStyle(e, null)[t]);\r\n return o;\r\n }\r\n var o = t(document.body, 'position');\r\n 'relative' == o && (document.body.style.position = 'static'), t(document.body, 'position');\r\n for (var i, n, a = (i = 0), r = e, s = !1; (r = r.parentNode) && r != document.body; )\r\n (a -= r.scrollLeft || 0), (i -= r.scrollTop || 0), 'fixed' == t(r, 'position') && (s = !0);\r\n if (s && !window.opera) {\r\n var l =\r\n (n = document.getElementsByTagName('html')[0]).scrollTop && document.documentElement.scrollTop\r\n ? [n.scrollLeft, n.scrollTop]\r\n : n.scrollTop || document.documentElement.scrollTop\r\n ? [n.scrollLeft + document.documentElement.scrollLeft, n.scrollTop + document.documentElement.scrollTop]\r\n : document.body.scrollTop\r\n ? [document.body.scrollLeft, document.body.scrollTop]\r\n : [0, 0];\r\n (a += l[0]), (i += l[1]);\r\n }\r\n do {\r\n (a += e.offsetLeft), (i += e.offsetTop);\r\n } while ((e = e.offsetParent));\r\n return (document.body.style.position = o), [a, i];\r\n },\r\n replaceAll: function(e, t, o) {\r\n return e.replace(new RegExp(t, 'g'), o);\r\n },\r\n rotate_bbox: function(e, o) {\r\n var a = [e.x, e.y],\r\n r = [e.x2, e.y],\r\n s = [e.x, e.y2],\r\n l = [e.x2, e.y2],\r\n c = t(a, o),\r\n m = t(r, o),\r\n u = t(s, o),\r\n p = t(l, o),\r\n d = [c[0], m[0], u[0], p[0]],\r\n _ = [c[1], m[1], u[1], p[1]],\r\n h = i(d),\r\n f = n(d),\r\n v = i(_),\r\n y = n(_);\r\n return { x: h, y: v, x2: f, y2: y, width: f - h, height: y - v };\r\n },\r\n rotate: t,\r\n bbox_union: function(e) {\r\n for (var t = [], i = [], n = [], a = [], r = 0; r < e.length; r++) {\r\n var s = e[r];\r\n t.push(s.x), i.push(s.x2), a.push(s.y), n.push(s.y2);\r\n }\r\n var l = o.min(t),\r\n c = o.max(i),\r\n m = o.min(a),\r\n u = o.max(n);\r\n return { x: l, x2: c, y: m, y2: u, width: c - l, height: u - m };\r\n },\r\n distance: function(e, t) {\r\n var o = e.x,\r\n i = e.y,\r\n n = t.x - o,\r\n a = t.y - i;\r\n return Math.sqrt(a * a + n * n);\r\n },\r\n x_in_array: function(e, t) {\r\n for (var o = t.length; o--; ) if (t[o] === e) return !0;\r\n return !1;\r\n },\r\n clear_sets: function(e) {\r\n for (var t = 0; t < e.length; t++) {\r\n var o = e[t];\r\n o.forEach(function(e) {\r\n e.remove();\r\n }),\r\n o.splice(0, o.length);\r\n }\r\n },\r\n delete_element: function(e) {\r\n e.parentNode && e.parentNode.removeChild(e);\r\n },\r\n to_float: function(e) {\r\n var t = parseFloat(e);\r\n return !isNaN(t) && t;\r\n },\r\n callback_closure: function(e, t) {\r\n return function() {\r\n return t(e);\r\n };\r\n },\r\n new_style: function(e) {\r\n var t = document.getElementsByTagName('head')[0],\r\n o = document.createElement('style');\r\n return (\r\n (o.type = 'text/css'),\r\n (o.media = 'screen'),\r\n o.styleSheet ? (o.styleSheet.cssText = e) : o.appendChild(document.createTextNode(e)),\r\n t.appendChild(o),\r\n o\r\n );\r\n },\r\n };\r\n })(),\r\n i = !!window[e + '_mapdata'] && window[e + '_mapdata'],\r\n n = !!window[e + '_mapinfo'] && window[e + '_mapinfo'],\r\n a = e.substring(0, e.length - 3).replace('simplemaps_', ''),\r\n r = !1,\r\n s = !1,\r\n l = !1,\r\n c = [],\r\n m = {\r\n rounded_box:\r\n 'm2.158.263h5.684c1.05 0 1.895.845 1.895 1.895v5.684c0 1.05-.845 1.895-1.895 1.895h-5.684c-1.05 0-1.895-.845-1.895-1.895v-5.684c0-1.05.845-1.895 1.895-1.895z',\r\n plus:\r\n 'm4.8 1.5c-.111 0-.2.089-.2.2v3h-2.9c-.111 0-.2.134-.2.3 0 .166.089.3.2.3h2.9v3c0 .111.089.2.2.2h.2c.111 0 .2-.089.2-.2v-3h3.1c.111 0 .2-.134.2-.3 0-.166-.089-.3-.2-.3h-3.1v-3c0-.111-.089-.2-.2-.2z',\r\n minus: 'm1.8 4.7h6.6c.111 0 .2.134.2.3 0 .166-.089.3-.2.3h-6.6c-.111 0-.2-.134-.2-.3 0-.166.089-.3.2-.3',\r\n arrow:\r\n 'm7.07 8.721c2.874-1.335 2.01-5.762-2.35-5.661v-1.778l-3.445 2.694 3.445 2.843v-1.818c3.638-.076 3.472 2.802 2.35 3.721z',\r\n },\r\n u = {\r\n mapdata: i,\r\n mapinfo: n,\r\n load: p,\r\n hooks: o.clone({\r\n over_state: !1,\r\n over_region: !1,\r\n over_location: !1,\r\n out_state: !1,\r\n out_region: !1,\r\n out_location: !1,\r\n click_state: !1,\r\n click_region: !1,\r\n click_location: !1,\r\n close_popup: !1,\r\n zoomable_click_state: !1,\r\n zoomable_click_region: !1,\r\n complete: !1,\r\n refresh_complete: !1,\r\n zooming_complete: !1,\r\n back: !1,\r\n ready: !1,\r\n click_xy: !1,\r\n }),\r\n plugin_hooks: o.clone({\r\n over_state: [],\r\n over_region: [],\r\n over_location: [],\r\n out_state: [],\r\n out_region: [],\r\n out_location: [],\r\n click_state: [],\r\n click_region: [],\r\n click_location: [],\r\n preclick_state: [],\r\n preclick_region: [],\r\n preclick_location: [],\r\n close_popup: [],\r\n zoomable_click_state: [],\r\n zoomable_click_region: [],\r\n complete: [],\r\n refresh_complete: [],\r\n zooming_complete: [],\r\n back: [],\r\n ready: [],\r\n click_xy: [],\r\n }),\r\n copy: function() {\r\n var e = {\r\n mapdata: o.clone(this.mapdata),\r\n mapinfo: o.clone(this.mapinfo),\r\n hooks: o.clone(this.hooks),\r\n plugin_hooks: o.clone(this.plugin_hooks),\r\n copy: this.copy,\r\n load: p,\r\n };\r\n return c.push(e), e;\r\n },\r\n create: function() {\r\n var t = {\r\n mapdata: !!window[e + '_mapdata'] && o.clone(window[e + '_mapdata']),\r\n mapinfo: !!window[e + '_mapinfo'] && o.clone(window[e + '_mapinfo']),\r\n hooks: o.clone(this.hooks),\r\n plugin_hooks: o.clone(this.plugin_hooks),\r\n copy: this.copy,\r\n load: p,\r\n };\r\n return c.push(t), t;\r\n },\r\n mobile_device: !!o.isMobile.any(),\r\n loaded: !1,\r\n };\r\n function p() {\r\n var e = this,\r\n i = e.mapdata,\r\n n = e.mapinfo;\r\n if (i && n) {\r\n var map_legend,\r\n c,\r\n u,\r\n p,\r\n d,\r\n _,\r\n h,\r\n f,\r\n v,\r\n y,\r\n g,\r\n b,\r\n x,\r\n w,\r\n k,\r\n z,\r\n M,\r\n E,\r\n A,\r\n C,\r\n T,\r\n S,\r\n O,\r\n B,\r\n F,\r\n I,\r\n P,\r\n R,\r\n j,\r\n N,\r\n L,\r\n D,\r\n H,\r\n q,\r\n W,\r\n Y,\r\n V,\r\n Q,\r\n X,\r\n U,\r\n Z,\r\n G,\r\n J,\r\n K,\r\n $,\r\n ee,\r\n te,\r\n oe,\r\n ie,\r\n ne,\r\n ae,\r\n re,\r\n se = e.hooks,\r\n le = e.plugin_hooks,\r\n ce = void 0 === i.main_settings.div ? 'map' : i.main_settings.div;\r\n if (!document.getElementById(ce))\r\n return console.log(\"Can't find target for map #\" + ce + '. Check mapdata.main_settings.div'), !1;\r\n var me,\r\n ue,\r\n pe,\r\n de,\r\n _e,\r\n he,\r\n fe,\r\n ve,\r\n ye,\r\n ge,\r\n be,\r\n xe,\r\n we,\r\n ke,\r\n ze,\r\n Me,\r\n Ee,\r\n Ae,\r\n Ce,\r\n Te,\r\n Se,\r\n Oe,\r\n Be,\r\n Fe,\r\n Ie,\r\n Pe,\r\n Re,\r\n je,\r\n Ne,\r\n Le,\r\n De,\r\n He,\r\n qe,\r\n We,\r\n Ye,\r\n Ve,\r\n Qe,\r\n Xe,\r\n Ue,\r\n Ze,\r\n Ge,\r\n Je,\r\n Ke,\r\n $e,\r\n et,\r\n tt,\r\n ot,\r\n it,\r\n nt,\r\n at,\r\n rt,\r\n st,\r\n lt,\r\n ct,\r\n mt,\r\n ut,\r\n pt,\r\n dt,\r\n _t,\r\n ht,\r\n ft,\r\n vt,\r\n yt,\r\n gt,\r\n bt,\r\n xt,\r\n wt,\r\n kt,\r\n zt,\r\n Mt,\r\n Et,\r\n At,\r\n Ct,\r\n Tt,\r\n St,\r\n Ot,\r\n Bt,\r\n Ft,\r\n It,\r\n Pt,\r\n Rt,\r\n jt = !1,\r\n Nt = !1,\r\n Lt = !1,\r\n Dt = !1,\r\n Ht = !1,\r\n qt = !1,\r\n Wt = !1,\r\n Yt = !1,\r\n Vt = !1,\r\n Qt = {\r\n triangle: 'M -0.57735,.3333 .57735,.3333 0,-.6666 Z',\r\n diamond: 'M 0,-0.5 -0.4,0 0,0.5 0.4,0 Z',\r\n marker:\r\n 'm-.015-.997c-.067 0-.13.033-.18.076-.061.054-.099.136-.092.219-.0001.073.034.139.068.201.058.104.122.206.158.32.021.058.039.117.058.175.006.009.011-.004.011-.009.037-.125.079-.249.144-.362.043-.08.095-.157.124-.244.022-.075.016-.161-.026-.229-.048-.08-.134-.136-.227-.146-.013-.0001-.027-.0001-.04-.0001z',\r\n heart:\r\n 'm-.275-.5c-.137.003-.257.089-.3.235-.073.379.348.539.58.765.202-.262.596-.33.576-.718-.017-.086-.065-.157-.13-.206-.087-.066-.208-.089-.311-.05-.055.02-.106.053-.143.098-.065-.081-.169-.127-.272-.125',\r\n star:\r\n 'm0-.549c-.044.126-.084.252-.125.379-.135.0001-.271.0001-.405.002.108.078.216.155.323.233-.002.029-.016.057-.023.085-.032.099-.066.199-.097.298.049-.031.095-.068.143-.101.062-.044.124-.089.185-.133.109.077.216.158.326.233-.04-.127-.082-.253-.123-.379.109-.079.219-.156.327-.236-.135-.0001-.27-.002-.405-.003-.042-.126-.081-.252-.125-.377',\r\n },\r\n Xt = function(e, t, o, i) {\r\n null == o && (o = !1),\r\n null == i && (i = !1),\r\n i ||\r\n (i = 'over' == t ? e.sm.over_attributes : 'adjacent' == t ? e.sm.adjacent_attributes : e.sm.attributes),\r\n !o || e.sm.image ? e.attr(i) : e.animate(i, D);\r\n },\r\n Ut = function(e, t, i) {\r\n if ((null == i && (i = !1), 'state' == i)) var n = e.sm.parent;\r\n else if ('region' == i) n = ft[e.sm.parent.sm.region];\r\n else n = Yo(e.sm.parent);\r\n var a;\r\n if (\r\n ((a =\r\n 'over' == t\r\n ? o.clone(n.sm.over_attributes)\r\n : 'adjacent' == t\r\n ? o.clone(n.sm.adjacent_attributes)\r\n : o.clone(n.sm.attributes)),\r\n n.sm.image && 'state' == n.sm.type)\r\n ) {\r\n var r = tt[n.sm.id];\r\n a.fill = 'over' == t ? r.hover_color : r.color;\r\n }\r\n Xt(e, t, !1, a);\r\n },\r\n Zt = !1,\r\n Gt = function(e, t) {\r\n if (e) {\r\n var i = !!(e.sm.image || (me && g));\r\n if ((Rt.hide(), Vo(e)))\r\n e.sm.ignore_hover || e.animate(e.sm.attributes, D, n),\r\n e.animate(e.sm.adjacent_attributes, D, n),\r\n Qo(e, 'out', !0);\r\n else {\r\n if (ie && 'location' == e.sm.type && 'image' == e.sm.shape_type) return;\r\n if (!e || !e.sm) return;\r\n e.sm.ignore_hover || (i ? (e.attr(e.sm.attributes), n()) : e.animate(e.sm.attributes, D, n)),\r\n Qo(e, 'out');\r\n }\r\n } else t();\r\n function n() {\r\n o.isFunction(t) && t();\r\n }\r\n },\r\n Jt = !1,\r\n Kt = !1,\r\n $t = function() {\r\n So();\r\n },\r\n eo = !1,\r\n to = function(e, t) {\r\n if (!eo || e || t) {\r\n eo = !0;\r\n var i = function(t) {\r\n var i = ne ? event.clientX + document.documentElement.scrollLeft : t.pageX,\r\n n = ne ? event.clientY + document.documentElement.scrollTop : t.pageY,\r\n a = o.findPos(_e),\r\n r = a[0],\r\n s = a[1],\r\n l = vt.sm.zooming_dimensions,\r\n c = (l.r * be) / we,\r\n m = (l.r * xe) / we,\r\n u = l.x / we + (c * (i - r)) / be,\r\n p = l.y / we + (m * (n - s)) / xe,\r\n d =\r\n 'You clicked on\\nx: ' +\r\n (u = Math.round(1e5 * u) / 1e5) +\r\n ',\\ny: ' +\r\n (p = Math.round(1e5 * p) / 1e5) +\r\n ',';\r\n e && console.log(d), uo('click_xy', [{ x: u, y: p }]);\r\n };\r\n t || He.click(i), Qe.click(i);\r\n }\r\n },\r\n oo = function() {\r\n to(!0);\r\n },\r\n io = function(e) {\r\n (se.click_xy || le.click_xy.length > 0) && to(!1, e);\r\n },\r\n no = function(e) {\r\n var t = e.sm.type;\r\n 'state' == t && uo('over_state', [e.sm.id, e]),\r\n 'location' == t && uo('over_location', [e.sm.id]),\r\n 'region' == t && uo('over_region', [e.sm.id]);\r\n },\r\n ao = function(e) {\r\n var t = e.sm.type;\r\n 'state' == t && uo('out_state', [e.sm.id]),\r\n 'location' == t && uo('out_location', [e.sm.id]),\r\n 'region' == t && uo('out_region', [e.sm.id]);\r\n },\r\n ro = function(e, t) {\r\n var o = e.sm.type;\r\n 'state' == o && uo('click_state', [e.sm.id, t]),\r\n 'region' == o && uo('click_region', [e.sm.id, t]),\r\n 'location' == o && uo('click_location', [e.sm.id, t]);\r\n },\r\n so = function(e, t) {\r\n var o = e.sm.type;\r\n 'state' == o && uo('preclick_state', [e.sm.id, t]),\r\n 'region' == o && uo('preclick_region', [e.sm.id, t]),\r\n 'location' == o && uo('preclick_location', [e.sm.id, t]);\r\n },\r\n lo = function(e, t) {\r\n var o = e.sm.type;\r\n 'state' == o && uo('zoomable_click_state', [e.sm.id, t]),\r\n 'region' == o && uo('zoomable_click_region', [e.sm.id, t]);\r\n },\r\n co = !1,\r\n mo = ((co = !1), !1);\r\n mo = !1;\r\n vi(), ti();\r\n } else console.log('The mapdata or mapinfo object is missing or corrupted.');\r\n function uo(t, o) {\r\n (a = se[t]) && a.apply(null, o);\r\n for (var i = e.plugin_hooks[t], n = 0; n < i.length; n++) {\r\n var a;\r\n (a = i[n]) && a.apply(null, o);\r\n }\r\n }\r\n function po() {\r\n (C = !(!_.background_image_url || 'no' == _.background_image_url) && _.background_image_url),\r\n (T = !!_.background_image_bbox && _.background_image_bbox),\r\n (Y = 'yes' == _.background_transparent ? 0 : 1),\r\n (Q = _.label_size ? _.label_size : 22),\r\n _.label_color ? _.label_color : '#ffffff',\r\n (X = 'yes' == _.url_new_tab),\r\n (U = _.location_opacity ? _.location_opacity : 1),\r\n 'yes' == _.js_hooks,\r\n (Z = _.border_size ? _.border_size : 1.5),\r\n (G = _.popup_color ? _.popup_color : '#ffffff'),\r\n (P = _.popup_orientation ? _.popup_orientation : 'auto'),\r\n (I = _.popup_centered ? _.popup_centered : 'auto'),\r\n (K = _.popup_opacity ? _.popup_opacity : 0.9),\r\n ($ = _.popup_shadow > -1 ? _.popup_shadow : 1),\r\n (ee = _.popup_corners ? _.popup_corners : 5),\r\n (te = 'yes' == _.popup_nocss),\r\n (J = !!_.popup_maxwidth && _.popup_maxwidth),\r\n (oe = _.popup_font ? _.popup_font : '12px/1.5 Verdana, Arial, Helvetica, sans-serif'),\r\n (V = 'no' != _.zoom_out_incrementally),\r\n (W = _.adjacent_opacity ? _.adjacent_opacity : 0.3),\r\n (S = _.zoom_time ? _.zoom_time : 0.5),\r\n (B = _.zoom_increment ? _.zoom_increment : 2),\r\n (O = 'no' != _.zoom_mobile),\r\n (D = _.fade_time ? 1e3 * _.fade_time : 200),\r\n (q = i.labels),\r\n (F = _.custom_shapes ? _.custom_shapes : {}),\r\n (j = !(!_.initial_back || 'no' == _.initial_back) && _.initial_back),\r\n (H = 'yes' == _.hide_eastern_labels),\r\n (N = _.link_text ? _.link_text : 'View Website'),\r\n !!_.order_number && _.order_number,\r\n (R = _.zoom_percentage ? _.zoom_percentage : 0.99);\r\n }\r\n function _o(e) {\r\n return 'on_click' == e || !('detect' != e || !me);\r\n }\r\n function ho(e) {\r\n return 'off' == e;\r\n }\r\n function fo(e) {\r\n if (\r\n ((he.style.width = ''),\r\n (fe.style.width = ''),\r\n b\r\n ? ((be = he.offsetWidth) < 1 && (be = he.parentNode.offsetWidth), (fe.style.width = be + 'px'))\r\n : ((be = void 0 === _.width ? 800 : _.width), (he.style.width = be + 'px')),\r\n (be *= 1),\r\n n.calibrate\r\n ? (((Me = {}).x = -1 * n.calibrate.x_adjust),\r\n (Me.y = -1 * n.calibrate.y_adjust),\r\n (Me.x2 = Me.x + n.calibrate.width),\r\n (Me.y2 = (Me.x2 - Me.x) / n.calibrate.ratio))\r\n : (Me = n.initial_view),\r\n (ke = Me.x2 - Me.x),\r\n (ze = Me.y2 - Me.y),\r\n (xe = be / (Ce = ke / ze)),\r\n (Ee = ke / 1e3),\r\n (_e.style.height = xe + 'px'),\r\n !e)\r\n ) {\r\n if (((we = be / ke), (Ae = 1), y)) {\r\n var t = [];\r\n for (var i in n.state_bbox_array) {\r\n var a = n.state_bbox_array[i];\r\n t.push(a);\r\n }\r\n var r = o.bbox_union(t),\r\n s = 0.5 * (r.x2 + r.x) * we,\r\n l = 0.5 * (r.y2 + r.y) * we;\r\n ge = 'r' + y + ',' + s + ',' + l;\r\n var c = o.rotate_bbox(Me, ge);\r\n (ke = c.width), (ze = c.height);\r\n }\r\n (Re = 's' + we + ',' + we + ',0,0'), (Pe = y ? Re + ge : Re);\r\n }\r\n }\r\n function vo() {\r\n if (r)\r\n if (location.hostname.match('simplemaps.com')) r = !1;\r\n else {\r\n if (Nt) {\r\n if (Math.random() > 0.05) return;\r\n o.delete_element(Nt);\r\n }\r\n Nt = document.createElement('div');\r\n var e = s || l ? '20px' : '5px';\r\n (Nt.style.cssText =\r\n 'overflow: visible !important; clip-path: none !important; display:inline !important; opacity:1 !important; transform: none !important; visibility: visible !important; z-index: 1 !important; right: 5px !important; bottom:' +\r\n e +\r\n ' !important; z-index: 1 !important; position: absolute !important; filter: opacity(1) !important;'),\r\n _e.appendChild(Nt),\r\n (Nt.innerHTML =\r\n 'Simplemaps.com Trial'),\r\n ne || (503 != Nt.innerHTML.length && (_e.innerHTML = ''));\r\n }\r\n }\r\n function yo() {\r\n var t,\r\n o,\r\n i = _.navigation_color ? _.navigation_color : '#f7f7f7',\r\n n = _.navigation_border_color ? _.navigation_border_color : '#636363',\r\n a = _.navigation_opacity ? _.navigation_opacity : 0.8,\r\n r = _.arrow_color ? _.arrow_color : i,\r\n s = _.arrow_color_border ? _.arrow_color_border : n,\r\n l = _.arrow_border_color ? _.arrow_border_color : s,\r\n u = void 0 === _.navigation_size ? 40 : _.navigation_size,\r\n p = void 0 === _.navigation_size_mobile ? pe * u : _.navigation_size_mobile,\r\n d = me ? p : u,\r\n h = 'yes' == _.arrow_box ? 1 : 0,\r\n f = (d *= 1),\r\n v = 0.1 * d,\r\n y = d / 10;\r\n !(function() {\r\n Ue = Te.set();\r\n var s = d,\r\n u = d;\r\n if (c) {\r\n var p = new Image();\r\n (p.onload = function() {\r\n (t = p.width), (o = p.height), _();\r\n }),\r\n (p.src = c);\r\n } else _();\r\n function _() {\r\n if (c) {\r\n var p = (Xe = Raphael(de, t, o)).image(c, 0, 0, t, o);\r\n (f = o), p.attr({ cursor: 'pointer' }), Ue.push(p), Ue.click(It);\r\n } else {\r\n Xe = Raphael(de, s, u);\r\n var _ = Xe.path(m.rounded_box).attr({\r\n fill: r,\r\n 'stroke-width': 1,\r\n stroke: l,\r\n 'stroke-opacity': h,\r\n 'fill-opacity': 0,\r\n cursor: 'pointer',\r\n }),\r\n b = {\r\n stroke: l,\r\n 'stroke-width': 1.5,\r\n 'stroke-opacity': 1,\r\n fill: r,\r\n 'fill-opacity': 1,\r\n cursor: 'pointer',\r\n },\r\n k = Xe.path(m.arrow).attr(b);\r\n (Ue = Te.set()).push(_, k);\r\n var M = 'S' + y + ',' + y + ',0,0 T0,0';\r\n Ue.transform(M);\r\n }\r\n j || Ue.hide(),\r\n (de.style.left = v + 'px'),\r\n (de.style.top = v + 'px'),\r\n //added this to remove div with 'back' button that appears after zooming in\r\n // (this div prevents states from clicking because it is \"above\" state div and always in DOM\r\n (de.style.display = 'none'),\r\n g &&\r\n (function() {\r\n Je = Raphael(ve, d, 2 * d + v);\r\n var t = m.plus,\r\n o = m.minus,\r\n r = m.rounded_box,\r\n s = Je.path(r).attr({\r\n fill: i,\r\n 'stroke-width': 1,\r\n stroke: n,\r\n 'stroke-opacity': 1,\r\n 'fill-opacity': a,\r\n cursor: 'pointer',\r\n }),\r\n l = Je.path(t).attr({\r\n 'stroke-width': 0,\r\n 'stroke-opacity': 0,\r\n fill: n,\r\n 'fill-opacity': 1,\r\n opacity: 1,\r\n cursor: 'pointer',\r\n });\r\n (Ze = Te.set()).push(s, l);\r\n var c = 'S' + y + ',' + y + ',0,0 T0,0';\r\n Ze.transform(c);\r\n var u = Je.path(r).attr({\r\n fill: i,\r\n 'stroke-width': 1,\r\n stroke: n,\r\n 'stroke-opacity': 1,\r\n 'fill-opacity': a,\r\n cursor: 'pointer',\r\n }),\r\n p = Je.path(o).attr({\r\n 'stroke-width': 0,\r\n 'stroke-opacity': 0,\r\n fill: n,\r\n 'fill-opacity': 1,\r\n opacity: 1,\r\n cursor: 'pointer',\r\n });\r\n (Ge = Te.set()).push(u, p);\r\n var c = 'S' + y + ',' + y + ',0,0 T0,' + (d + v);\r\n function _(e, t) {\r\n if ((void 0 === t && (t = 'z'), z && 'region' != z.sm.type))\r\n St.call(z, !0, function() {\r\n (z = !1), _(e);\r\n });\r\n else {\r\n if (\r\n 'z' == t &&\r\n !(function(e) {\r\n var t = vt.sm.zooming_dimensions.w / e,\r\n o = e < 1;\r\n if (-1 != x && ('manual' == vt.sm.type || w)) {\r\n var i = ft[x].sm.zooming_dimensions.w,\r\n n = t > i - 1;\r\n if (o && n) {\r\n var a = Io(vt, ft[x]);\r\n if (a || w) return Oo(ft[x]), !1;\r\n }\r\n }\r\n if (o && t > ft[-1].sm.zooming_dimensions.w - 1) return w || Oo(ft[-1]), !1;\r\n return !0;\r\n })(e)\r\n )\r\n return;\r\n var o = { sm: { type: 'manual', zp: 1 } };\r\n pt &&\r\n (((vt = {\r\n sm: { type: 'manual', zp: 1 },\r\n }).sm.zooming_dimensions = dt),\r\n (vt.sm.bbox = {\r\n x: dt.x / we,\r\n y: dt.y / we,\r\n width: dt.w / we,\r\n height: dt.h / we,\r\n }));\r\n var i = (function(e, t) {\r\n var o = vt.sm.zooming_dimensions.w,\r\n i = vt.sm.zooming_dimensions.h,\r\n n = vt.sm.zooming_dimensions.x,\r\n a = vt.sm.zooming_dimensions.y;\r\n if ('x' == t) var n = vt.sm.zooming_dimensions.x + vt.sm.zooming_dimensions.w * e;\r\n else if ('y' == t) var a = vt.sm.zooming_dimensions.y + vt.sm.zooming_dimensions.h * e;\r\n else\r\n var o = vt.sm.zooming_dimensions.w / e,\r\n i = vt.sm.zooming_dimensions.h / e,\r\n n = vt.sm.zooming_dimensions.x + (vt.sm.zooming_dimensions.w - o) / 2,\r\n a = vt.sm.zooming_dimensions.y + (vt.sm.zooming_dimensions.h - i) / 2;\r\n return { x: n, y: a, w: o, h: i, r: o / (ke * we) };\r\n })(e, t);\r\n if (!i) return;\r\n (o.sm.zooming_dimensions = i), Oo(o);\r\n }\r\n }\r\n Ge.transform(c),\r\n (ve.style.top = f + 2 * v + 'px'),\r\n (ve.style.left = v + 'px'),\r\n (Ge = Te.set()).push(u, p),\r\n (Ke = function() {\r\n _(B);\r\n }),\r\n (et = function(e, t) {\r\n _(e, t);\r\n }),\r\n ($e = function() {\r\n _(1 / B);\r\n }),\r\n (e.zoom_in = Ke),\r\n (e.zoom_out = $e),\r\n Ze.click(Ke),\r\n Ge.click($e),\r\n Ze.touchend(Ke),\r\n Ge.touchend($e);\r\n })();\r\n }\r\n })();\r\n }\r\n function go() {\r\n (st = i.locations), (tt = []), (ot = []), (at = []), (rt = []), (it = []), (mt = []);\r\n !(function() {\r\n var e = { color: !1, hover_color: !1 };\r\n if (\r\n ((e.opacity = _.region_opacity ? _.region_opacity : 1),\r\n (e.hover_opacity = _.region_hover_opacity ? _.region_hover_opacity : 0.6),\r\n (e.url = !1),\r\n (e.description = !1),\r\n (e.description_mobile = !1),\r\n (e.inactive = !1),\r\n (e.zoomable = !0),\r\n (e.hide_name = 'yes' == _.region_hide_name),\r\n (e.popup = _.region_popups ? _.region_popups : ue),\r\n (e.cascade = 'yes' == _.region_cascade_all),\r\n (e.zoom_percentage = R),\r\n (e.x = !1),\r\n (e.y = !1),\r\n (e.x2 = !1),\r\n (e.y2 = !1),\r\n E)\r\n )\r\n for (var t in E)\r\n for (var o = 0; o < E[t].states.length; o++) {\r\n var i = E[t].states[o];\r\n at[i] = t;\r\n }\r\n for (var n in E)\r\n for (var a in ((it[n] = Object.create(e)), E[n].url && (it[n].zoomable = !1), E[n]))\r\n 'default' != E[n][a] && (it[n][a] = E[n][a]),\r\n 'yes' == E[n][a] && (it[n][a] = !0),\r\n 'no' == E[n][a] && (it[n][a] = !1);\r\n })(),\r\n (function() {\r\n for (var e in ((lt = function(e) {\r\n var t = {};\r\n (t.color = _.state_color),\r\n (t.image_url = !!_.state_image_url && _.state_image_url),\r\n (t.image_size = _.state_image_size ? _.state_image_size : 'auto'),\r\n (t.image_position = _.state_image_position ? _.state_image_position : 'center'),\r\n (t.image_x = _.state_image_x ? _.state_image_x : '0'),\r\n (t.image_y = _.state_image_y ? _.state_image_y : '0'),\r\n (t.image_color = !!_.state_image_color && _.state_image_color),\r\n (t.image_background_opacity = _.image_background_opacity ? _.image_background_opacity : '1'),\r\n (t.image_hover_url = !!_.state_image_hover_url && _.state_image_hover_url),\r\n (t.image_hover_size = _.state_image_hover_size ? _.state_image_hover_size : 'auto'),\r\n (t.image_hover_position = _.state_image_hover_position ? _.state_image_hover_position : 'center'),\r\n (t.image_hover_x = _.state_image_hover_x ? _.state_image_hover_x : '0'),\r\n (t.image_hover_y = _.state_image_hover_y ? _.state_image_hover_y : '0'),\r\n (t.image_hover_color = !!_.state_image_hover_color && _.state_image_hover_color),\r\n (t.pulse_size = _.state_pulse_size ? _.state_pulse_size : 1.1),\r\n (t.pulse_speed = _.state_pulse_speed ? _.state_pulse_speed : 1);\r\n var o = _.state_pulse_color;\r\n (t.pulse_color = !(!o || 'auto' == o) && o),\r\n (t.hover_color = _.state_hover_color),\r\n (t.image_source = !1),\r\n (t.description = _.state_description),\r\n (t.url = _.state_url),\r\n (t.inactive = 'yes' == _.all_states_inactive),\r\n (t.hide = 'yes' == _.all_states_hidden),\r\n (t.hide_label = !1),\r\n (t.hide_name = 'yes' == _.state_hide_name),\r\n (t.border_color = _.border_color ? _.border_color : '#ffffff'),\r\n (t.border_hover_color = !!_.border_hover_color && _.border_hover_color),\r\n (t.border_hover_size = !!_.border_hover_size && _.border_hover_size),\r\n (t.emphasize = 'yes'),\r\n (t.zoom_percentage = R),\r\n (t.zoomable = 'yes' == _.all_states_zoomable),\r\n (t.popup = _.state_popups ? _.state_popups : ue),\r\n (t.opacity = _.state_opacity ? _.state_opacity : 1),\r\n (t.hover_opacity = _.state_hover_opacity ? _.state_hover_opacity : 1),\r\n (t.description_mobile = !!_.state_description_mobile && state_description_mobile),\r\n t.pu,\r\n (t.path = !1);\r\n var i = !!at[e] && at[e];\r\n for (var n in (i && it[i].hide && (t.hide = !0),\r\n i &&\r\n it[i].cascade &&\r\n (it[i].color && (t.color = it[i].color),\r\n it[i].hover_color && (t.hover_color = it[i].hover_color),\r\n it[i].description && (t.description = it[i].description),\r\n it[i].url && (t.url = it[i].url),\r\n it[i].inactive && (t.inactive = it[i].inactive),\r\n it[i].hide && (t.hide = it[i].hide)),\r\n (tt[e] = Object.create(t)),\r\n 'us' != a || ('GU' != e && 'PR' != e && 'VI' != e && 'MP' != e && 'AS' != e) || (tt[e].hide = 'yes'),\r\n 'us' != a ||\r\n !H ||\r\n ('VT' != e &&\r\n 'NJ' != e &&\r\n 'DE' != e &&\r\n 'DC' != e &&\r\n 'NH' != e &&\r\n 'MA' != e &&\r\n 'CT' != e &&\r\n 'RI' != e &&\r\n 'MD' != e) ||\r\n (tt[e].hide_label = 'yes'),\r\n d[e]))\r\n 'default' != d[e][n] && (tt[e][n] = d[e][n]),\r\n 'yes' == d[e][n] && (tt[e][n] = !0),\r\n 'no' == d[e][n] && (tt[e][n] = !1);\r\n 'off' == _.state_hover_color && (tt[e].hover_color = tt[e].color);\r\n }),\r\n (nt = {}),\r\n n.paths))\r\n nt[e] = !0;\r\n for (var e in i.state_specific) i.state_specific[e] && i.state_specific[e].path && (nt[e] = !0);\r\n for (var e in nt) lt(e);\r\n })(),\r\n (function() {\r\n var e = {};\r\n (e.font_family = _.label_font ? _.label_font : 'arial,sans-serif'),\r\n (e.color = _.label_color ? _.label_color : 'white'),\r\n (e.hover_color = _.label_hover_color ? _.label_hover_color : e.color),\r\n (e.opacity = _.label_opacity || '0' == _.label_opacity ? _.label_opacity : 1),\r\n (e.hover_opacity = _.label_hover_opacity ? _.label_hover_opacity : e.opacity),\r\n (e.size = Q),\r\n (e.hide = 'yes' == _.hide_labels),\r\n (e.line = !1),\r\n (e.scale = !!_.label_scale && _.label_scale),\r\n (e.scale_limit = _.scale_limit ? _.scale_limit : 0.0625),\r\n (e.rotate = _.label_rotate ? _.label_rotate : 0),\r\n (e.line_color = _.label_line_color ? _.label_line_color : '#000000'),\r\n (e.line_size = _.label_line_size ? _.label_line_size : '1'),\r\n (e.line_x = !1),\r\n (e.line_y = !1),\r\n (e.parent_type = 'state'),\r\n (e.parent_id = !1),\r\n (e.anchor = _.label_anchor ? _.label_anchor : 'middle'),\r\n (e.pill = !1),\r\n (e.width = !!_.pill_width && _.pill_width),\r\n (e.x = !1),\r\n (e.y = !1),\r\n (e.name = 'Not Named'),\r\n (e.display = !!_.label_display && _.label_display),\r\n (e.display_ids = !1),\r\n (e.id = !1);\r\n var t = 'no' == _.import_labels ? {} : n.default_labels,\r\n o = function(o) {\r\n for (var i in ((rt[o] = Object.create(e)), t[o]))\r\n 'default' != t[o][i] && (rt[o][i] = t[o][i]),\r\n 'yes' == t[o][i] && (rt[o][i] = !0),\r\n 'no' == t[o][i] && (rt[o][i] = !1);\r\n },\r\n i = function(t) {\r\n for (var o in (rt[t] || (rt[t] = Object.create(e)), q[t]))\r\n 'default' != q[t][o] && (rt[t][o] = q[t][o]),\r\n 'yes' == q[t][o] && (rt[t][o] = !0),\r\n 'no' == q[t][o] && (rt[t][o] = !1);\r\n };\r\n for (var a in t) o(a);\r\n for (var a in q) i(a);\r\n ct = function(e) {\r\n o(e), i(e);\r\n };\r\n })(),\r\n (function() {\r\n var e = {},\r\n t = me ? (_.scale_limit_mobile ? _.scale_limit_mobile : 0.4) : 0.0625;\r\n (e.scale_limit = _.scale_limit ? _.scale_limit : t),\r\n (e.color = _.location_color ? _.location_color : '#FF0067'),\r\n (e.hover_color = !!_.location_hover_color && _.location_hover_color),\r\n (e.border = _.location_border ? _.location_border : 1.5),\r\n (e.border_color = _.location_border_color ? _.location_border_color : '#FFFFFF'),\r\n (e.hover_border = _.location_hover_border ? _.location_hover_border : 2),\r\n (e.size = _.location_size),\r\n (e.description = _.location_description),\r\n (e.description_mobile = !!_.location_description_mobile && location_description_mobile),\r\n (e.url = _.location_url),\r\n (e.inactive = 'yes' == _.all_locations_inactive),\r\n (e.type = _.location_type),\r\n (e.position = 'top'),\r\n (e.pulse = 'yes' == _.location_pulse),\r\n (e.pulse_size = _.location_pulse_size ? _.location_pulse_size : 4),\r\n (e.pulse_speed = _.location_pulse_speed ? _.location_pulse_speed : 0.5);\r\n var o = _.location_pulse_color;\r\n for (var i in ((e.pulse_color = !(!o || 'auto' == o) && o),\r\n (e.image_source = _.location_image_source ? _.location_image_source : ''),\r\n (e.hide = _.all_locations_hide ? _.all_locations_hide : 'no'),\r\n (e.opacity = U),\r\n (e.scale = !_.location_scale || _.location_scale),\r\n (e.hover_opacity = !!_.location_hover_opacity && _.location_hover_opacity),\r\n (e.image_source = _.location_image_source ? _.location_image_source : ''),\r\n (e.image_url = !!_.location_image_url && _.location_image_url),\r\n (e.image_position = _.location_image_position ? _.location_image_position : 'center'),\r\n (e.image_hover_source = _.location_image_hover_source ? _.location_image_hover_source : ''),\r\n (e.image_hover_url = !!_.location_image_hover_url && _.location_image_hover_url),\r\n (e.image_hover_position = _.location_image_hover_position ? _.location_image_hover_position : 'center'),\r\n (e.popup = _.location_popups ? _.location_popups : ue),\r\n (e.x = !1),\r\n (e.y = !1),\r\n (e.display = _.location_display ? _.location_display : 'all'),\r\n (e.display_ids = !1),\r\n (e.hide = 'yes' == _.all_locations_hidden),\r\n (e.hide_name = 'yes' == _.location_hide_name),\r\n null == e.type && (e.type = 'square'),\r\n st)) {\r\n for (var n in ((ot[i] = Object.create(e)), st[i]))\r\n 'overwrite_image_location' != n\r\n ? ('region' == n && (ot[i].display = 'region'),\r\n 'default' != st[i][n] && (ot[i][n] = st[i][n]),\r\n 'yes' == st[i][n] && (ot[i][n] = !0),\r\n 'no' == st[i][n] && (ot[i][n] = !1))\r\n : (ot[i].image_url = st[i][n]);\r\n ot[i].hover_opacity || (ot[i].hover_opacity = ot[i].opacity),\r\n ot[i].hover_color || (ot[i].hover_color = ot[i].color);\r\n }\r\n })(),\r\n (function() {\r\n var e = {};\r\n (e.color = _.line_color ? _.line_color : '#000000'),\r\n (e.size = _.line_size ? _.line_size : 1.5),\r\n (e.dash = _.line_dash ? _.line_dash : ''),\r\n (e.origin_location = !1),\r\n (e.destination_location = !1),\r\n (e.angle = !1);\r\n var t = i.lines ? i.lines : i.borders;\r\n for (var o in t)\r\n for (var n in ((mt[o] = Object.create(e)), t[o]))\r\n 'default' != t[o][n] && (mt[o][n] = t[o][n]),\r\n 'yes' == t[o][n] && (mt[o][n] = !0),\r\n 'no' == t[o][n] && (mt[o][n] = !1);\r\n })();\r\n }\r\n function bo(e, t) {\r\n if ('lambert' == n.proj)\r\n var i = function(e) {\r\n var t = 0.017453293,\r\n o = Math.PI,\r\n i = e.lat * t,\r\n n = e.lng * t,\r\n a = 33 * t,\r\n r =\r\n Math.log(Math.cos(a) * (1 / Math.cos(0.785398185))) /\r\n Math.log(Math.tan(0.25 * o + 0.3926990925) * (1 / Math.tan(0.25 * o + 0.5 * a))),\r\n s = (Math.cos(a) * Math.pow(Math.tan(0.25 * o + 0.5 * a), r)) / r,\r\n l = s * Math.pow(1 / Math.tan(0.25 * o + 0.5 * i), r),\r\n c = s * Math.pow(1 / Math.tan(0.25 * o + 0.3926990925), r);\r\n return {\r\n x: l * Math.sin(r * (n - 1.57079637)),\r\n y: c - l * Math.cos(r * (n - 1.57079637)),\r\n };\r\n };\r\n else if ('xy' == n.proj)\r\n i = function(e) {\r\n return { x: e.lng, y: e.lat };\r\n };\r\n else if ('robinson_pacific' == n.proj)\r\n i = function(e) {\r\n var t = e.lng - 150;\r\n t < -180 && (t += 360);\r\n return r({ lat: e.lat, lng: t });\r\n };\r\n else if ('mercator' == n.proj)\r\n i = function(e) {\r\n var t = Math.log(Math.tan((e.lat / 90 + 1) * (Math.PI / 4))) * (180 / Math.PI);\r\n return { x: e.lng, y: t };\r\n };\r\n else i = r;\r\n var a = { lat: e, lng: t };\r\n function r(e) {\r\n var t,\r\n o,\r\n i = function(e) {\r\n return e < 0 ? -1 : 1;\r\n },\r\n n = i(e.lng),\r\n a = i(e.lat),\r\n r = Math.abs(e.lng),\r\n s = Math.abs(e.lat),\r\n l = ((t = 5), (o = s - 1e-10), Math.floor(o / t) * t),\r\n c = (l = 0 == s ? 0 : l) / 5,\r\n m = (l + 5) / 5,\r\n u = (s - l) / 5,\r\n p = [\r\n 0.8487,\r\n 0.84751182,\r\n 0.84479598,\r\n 0.840213,\r\n 0.83359314,\r\n 0.8257851,\r\n 0.814752,\r\n 0.80006949,\r\n 0.78216192,\r\n 0.76060494,\r\n 0.73658673,\r\n 0.7086645,\r\n 0.67777182,\r\n 0.64475739,\r\n 0.60987582,\r\n 0.57134484,\r\n 0.52729731,\r\n 0.48562614,\r\n 0.45167814,\r\n ],\r\n d = [\r\n 0,\r\n 0.0838426,\r\n 0.1676852,\r\n 0.2515278,\r\n 0.3353704,\r\n 0.419213,\r\n 0.5030556,\r\n 0.5868982,\r\n 0.67182264,\r\n 0.75336633,\r\n 0.83518048,\r\n 0.91537187,\r\n 0.99339958,\r\n 1.06872269,\r\n 1.14066505,\r\n 1.20841528,\r\n 1.27035062,\r\n 1.31998003,\r\n 1.3523,\r\n ];\r\n return {\r\n x: ((p[m] - p[c]) * u + p[c]) * r * 0.017453293 * n * 1,\r\n y: ((d[m] - d[c]) * u + d[c]) * a * 1,\r\n };\r\n }\r\n var s = n.proj_coordinates;\r\n function l(e, t, n, a) {\r\n var r,\r\n s,\r\n l,\r\n c,\r\n m,\r\n u,\r\n p,\r\n d,\r\n _,\r\n h,\r\n f,\r\n v,\r\n y,\r\n g,\r\n b,\r\n x = i(e),\r\n w = i(t),\r\n k = i(n),\r\n z = i(a),\r\n M = o.distance(x, w),\r\n E = o.distance(x, k),\r\n A = o.distance(w, k) / o.distance(t, n),\r\n C = M / A,\r\n T = E / A,\r\n S =\r\n ((r = t.x),\r\n (s = t.y),\r\n (l = C),\r\n (c = n.x),\r\n (m = n.y),\r\n (g = c - r),\r\n (b = s + ((p = m - s) * (_ = (l * l - (u = T) * u + (d = Math.sqrt(p * p + g * g)) * d) / (2 * d))) / d),\r\n {\r\n opt1: {\r\n x: (h = r + (g * _) / d) + (v = ((f = Math.sqrt(l * l - _ * _)) / d) * -p),\r\n y: b + (y = g * (f / d)),\r\n },\r\n opt2: { x: h - v, y: b - y },\r\n }),\r\n O = o.distance(x, z) / A;\r\n return Math.abs(o.distance(S.opt1, a) - O) < Math.abs(o.distance(S.opt2, a) - O)\r\n ? { x: S.opt1.x, y: S.opt1.y }\r\n : { x: S.opt2.x, y: S.opt2.y };\r\n }\r\n function c(e, t, i) {\r\n var n = /lat[ ]?<[-]?(\\d+[\\.]?\\d+)/g.exec(d);\r\n if (n && e > o.to_float(n[1])) return !1;\r\n var a = /lat[ ]?>[-]?(\\d+[\\.]?\\d+)/g.exec(d);\r\n if (a && e < o.to_float(a[1])) return !1;\r\n var r = /lng[ ]?<[-]?(\\d+[\\.]?\\d+)/g.exec(d);\r\n if (r && t > o.to_float(r[1])) return !1;\r\n var s = /lat[ ]?>[-]?(\\d+[\\.]?\\d+)/g.exec(d);\r\n return !(s && e < o.to_float(s[1]));\r\n }\r\n var m = n.proj_rules;\r\n if (m)\r\n for (var u = 0; u < m.length; u++) {\r\n var p = m[u],\r\n d = p.condition;\r\n if (c(e, t, p.condition)) {\r\n var _ = p.points;\r\n return l(a, s[_[0]], s[_[1]], s[_[2]]);\r\n }\r\n }\r\n return l(a, s[0], s[1], s[2]);\r\n }\r\n function xo(e) {\r\n if (e.sm.zooming_dimensions) return e.sm.zooming_dimensions;\r\n var t,\r\n i = o.rotate_bbox(e.sm.bbox, Pe),\r\n n = i.x,\r\n a = i.y,\r\n r = i.width,\r\n s = i.height,\r\n l = e.sm.zp,\r\n c = ke * we,\r\n m = ze * we;\r\n return (\r\n (n -= 0.5 * (r / l - r)),\r\n (a -= 0.5 * (s / l - s)),\r\n (r /= l) / (s /= l) > Ce\r\n ? ((a -= (m * (t = r / c) - s) / 2), (s = r / Ce))\r\n : ((n -= (c * (t = s / m) - r) / 2), (r = s * Ce)),\r\n { x: n, y: a, w: r, h: s, r: t }\r\n );\r\n }\r\n function wo(e) {\r\n if (e) {\r\n He.stop();\r\n for (var t = 0; t < e.sm.states.length; ++t) {\r\n var o = ht[e.sm.states[t]];\r\n o.attr(o.sm.attributes), Qo(o, 'reset', !1, 'state');\r\n }\r\n }\r\n }\r\n function ko(e) {\r\n if (e) {\r\n e.stop(), e.attr(e.sm.attributes);\r\n for (var t = 0; t < e.sm.states.length; ++t) {\r\n Qo(ht[e.sm.states[t]], 'reset', !1, 'region');\r\n }\r\n }\r\n }\r\n function zo() {\r\n qe.forEach(function(e) {\r\n -1 != e.sm.id && ko(e);\r\n });\r\n }\r\n function Mo(e, t) {\r\n var i = e.sm.display,\r\n a = t.sm.type;\r\n if ('all' == i) return !0;\r\n if ('out' == i && 'out' == a) return !0;\r\n if ('region' == i && 'region' == a)\r\n return (function(e, t) {\r\n var o = e.sm.point0;\r\n if (e.sm.display_ids) {\r\n var i = e.sm.display_ids.indexOf(t.sm.id) > -1;\r\n return i;\r\n }\r\n if (Raphael.isPointInsideBBox(t.sm.bbox, o.x, o.y)) return !0;\r\n return !1;\r\n })(e, t);\r\n if ('state' == i && 'state' == a)\r\n return (function(e, t) {\r\n var o = e.sm.point0;\r\n if (e.sm.display_ids) {\r\n var i = e.sm.display_ids.indexOf(t.sm.id) > -1;\r\n return i;\r\n }\r\n if (Raphael.isPointInsideBBox(t.sm.bbox, o.x, o.y)) {\r\n var a = n.paths[t.sm.id];\r\n if (Raphael.isPointInsidePath(a, o.x, o.y)) return !0;\r\n }\r\n return !1;\r\n })(e, t);\r\n var r = o.to_float(i);\r\n return !!(r && Ae < r);\r\n }\r\n function Eo(e, t, o) {\r\n var i = { transform: t };\r\n ie || me || o ? e.attr(i) : e.animate(i, 1e3 * S);\r\n }\r\n function Ao(e, t) {\r\n var i = e.sm.type;\r\n Ue.hide(),\r\n //added this to remove div with 'back' button that appears after zooming in\r\n // (this div prevents states from clicking because it is \"above\" state div and always in DOM\r\n (de.style.display = 'none'),\r\n (function(e, t) {\r\n We.hide(),\r\n We.forEach(function(o) {\r\n o.sm.hide ||\r\n (Mo(o, e) && o.show(),\r\n o.sm.scale && Eo(o, qo(o, (Ae > o.sm.scale_limit ? Ae : o.sm.scale_limit) * we), t));\r\n });\r\n })(e, t),\r\n (function(e, t) {\r\n for (var o in (Qe.hide(), gt)) {\r\n var i = gt[o];\r\n if (!i.sm.hide) {\r\n if ((Mo(i, e) && bt[i.sm.id].show(), i.sm.line)) {\r\n var n = Ho(i);\r\n i.sm.line.attr({ path: n, transform: Pe });\r\n }\r\n if (i.sm.scale) {\r\n var a = qo(i, (Ae > i.sm.scale_limit ? Ae : i.sm.scale_limit) * we);\r\n Eo(i, a, t), i.sm.pill && Eo(wt[i.sm.id], a, t);\r\n }\r\n }\r\n }\r\n })(e, t),\r\n o.x_in_array(i, ['state', 'region', 'out']) && zo(),\r\n 'region' == i\r\n ? wo(e)\r\n : 'state' == i\r\n ? wo(ft[e.sm.region])\r\n : 'manual' == i &&\r\n qe.forEach(function(e) {\r\n -1 != e.sm.id && (e.sm.zooming_dimensions.r > Ae && e.sm.zoomable ? wo(e) : ko(e));\r\n }),\r\n 'out' != i && 'manual' != i\r\n ? (He.stop(),\r\n De.stop(),\r\n He.attr({ 'fill-opacity': W }),\r\n De.attr({ 'fill-opacity': W }),\r\n e.stop(),\r\n e.attr({ 'fill-opacity': 1 }),\r\n e.sm.labels.forEach(function(e) {\r\n e.sm && e.sm.pill && (e.sm.pill.stop(), e.sm.pill.attr({ 'fill-opacity': 1 }));\r\n }),\r\n e.animate(\r\n {\r\n 'stroke-width': e.sm.border_hover_size * (be / ke) * Ee * 1.25,\r\n },\r\n 1e3 * S\r\n ))\r\n : (He.attr({ 'fill-opacity': 1 }), De.attr({ 'fill-opacity': 1 })),\r\n He.animate({ 'stroke-width': Z * (be / ke) * Ee * 1.25 }, 1e3 * S);\r\n }\r\n function Co(e) {\r\n if (w && '-1' != x && 'region' == e.sm.type) {\r\n if (!j) return;\r\n Ue.show();\r\n //added this to show div with 'back' button that appears after zooming in\r\n (de.style.display = 'block');\r\n } else 'state' == e.sm.type || 'region' == e.sm.type || j ? (Ue.show(), (de.style.display = 'block')) : g && 'out' != e.sm.type && (Ue.show(), (de.style.display = 'block'));\r\n }\r\n function To(e) {\r\n return { x: e.x, y: e.y, w: e.w, h: e.h };\r\n }\r\n function So() {\r\n z.sm && M && (Rt.hide(), (M = !1), z.sm && St.call(z), (re = !1));\r\n }\r\n function Oo(i, n, a) {\r\n if (!Dt) {\r\n So(),\r\n Kt && (Kt.stop(), (Kt = !1)),\r\n Jt && i != Jt && St.call(Jt),\r\n (z = !1),\r\n i,\r\n Rt.hide(),\r\n (M = !1),\r\n (Dt = !0),\r\n (i.sm.zooming_dimensions = xo(i));\r\n var r = To(i.sm.zooming_dimensions),\r\n s = To(vt.sm.zooming_dimensions);\r\n if (((Ae = i.sm.zooming_dimensions.r), Ao(i, n), ie || (me && !O) || n))\r\n (dt = r), Te.setViewBox(r.x, r.y, r.w, r.h, !1), c();\r\n else {\r\n var l = t.Tweenable ? new t.Tweenable() : new Tweenable();\r\n pt = l.tween({\r\n from: s,\r\n to: r,\r\n duration: 1e3 * S,\r\n easing: 'easeOutQuad',\r\n step: function(e) {\r\n !(function(e) {\r\n (dt = e), Te.setViewBox(e.x, e.y, e.w, e.h, !1);\r\n })(e);\r\n },\r\n finish: function() {\r\n c();\r\n },\r\n });\r\n }\r\n }\r\n function c() {\r\n Co(i),\r\n (vt = i),\r\n (Dt = !1),\r\n (re = !1),\r\n (e.zoom_level = vt.sm.type),\r\n (e.zoom_level_id = !!vt.sm.id && vt.sm.id),\r\n uo('zooming_complete', []),\r\n o.isFunction(a) && a();\r\n }\r\n }\r\n function Bo(e) {\r\n var t = '',\r\n o = {};\r\n for (var i in n.paths) {\r\n var a = n.paths[i];\r\n a = Raphael._pathToAbsolute(a);\r\n var r,\r\n s = Raphael.pathBBox(a);\r\n r = s.x2 - s.x < 10 ? 10 : 1;\r\n var l = Math.round(s.x * r) / r,\r\n c = Math.round(s.y * r) / r,\r\n m = Math.round(s.y2 * r) / r;\r\n (t += \"'\" + i + \"':{x: \" + l + ',y:' + c + ',x2:' + Math.round(s.x2 * r) / r + ',y2:' + m + '},'), (o[i] = s);\r\n }\r\n return (\r\n (t = t.substring(0, t.length - 1)), (t += '}'), e || console.log('The new state_bbox_array is: \\n\\n{' + t), o\r\n );\r\n }\r\n function Fo(e) {\r\n var t = e.sm.description,\r\n i = ie\r\n ? 'X'\r\n : '\"Close\"';\r\n i = '
' + i + '
';\r\n var n = e.sm.url ? e.sm.url : '',\r\n a = n,\r\n r = 'javascript:' == a.substring(0, 11),\r\n s = 'return (function(e){window.open(\"' + n + '\",\"_blank\"); return false})()',\r\n l = r\r\n ? 'return (function(){window.location.href=\"' + n + '\"; return false;})()'\r\n : 'return (function(){window.top.location.href=\"' + n + '\"; return false;})()',\r\n c = o.replaceAll(a, \"'\", '\"'),\r\n m = X ? s : l;\r\n r && (m = '(function(){' + c + '})()');\r\n var u = e.sm.description_mobile\r\n ? e.sm.description_mobile\r\n : '';\r\n e.sm.on_click || ((i = ''), (u = '')), '' != e.sm.url || e.sm.description_mobile || (u = '');\r\n var p = '' == t ? (p = '') : '
' + t + '
';\r\n return (\r\n '
' +\r\n (!!e.sm.hide_name ? '' : '
' + e.sm.name + '
') +\r\n i +\r\n '
' +\r\n p +\r\n u +\r\n '
'\r\n );\r\n }\r\n function Io(e, t) {\r\n var o = e.sm.zooming_dimensions;\r\n if (o.w > t.sm.zooming_dimensions.w) return !1;\r\n var i = t.sm.bbox,\r\n n = i.x * we,\r\n a = i.y * we,\r\n r = i.x2 * we,\r\n s = i.y2 * we,\r\n l = o.x + o.w / 2,\r\n c = o.y + o.h / 2;\r\n return l > n && c > a && l < r && c < s;\r\n }\r\n function Po(e, t) {\r\n var i = t.hover ? '_hover' : '',\r\n a = ce + '_pattern_' + e.sm.id + i,\r\n r = document.getElementById(a);\r\n r && o.delete_element(r);\r\n var s = _e.firstChild,\r\n l = s.namespaceURI,\r\n c = s.querySelector('defs'),\r\n m = document.createElementNS(l, 'pattern'),\r\n u = e.sm.id;\r\n (m.id = a), m.setAttribute('patternUnits', 'objectBoundingBox');\r\n var p = document.createElementNS(l, 'image'),\r\n d = document.createElementNS(l, 'rect'),\r\n _ = t.image_color ? t.image_color : t.color;\r\n d.setAttribute('fill', '#ffffff'),\r\n d.setAttribute('opacity', t.bg_opacity),\r\n p.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', t.image_url),\r\n m.appendChild(d),\r\n m.appendChild(p),\r\n c.appendChild(m),\r\n s.appendChild(c);\r\n var h = t.image_position,\r\n f = 'auto' == t.image_size,\r\n v = 'repeat' == h,\r\n g = 'manual' == h,\r\n b = 'center' == h,\r\n x = Raphael.pathBBox(n.paths[u]),\r\n w = x.x2 - x.x,\r\n k = x.y2 - x.y,\r\n z = w / k;\r\n return (\r\n Raphael._preload(t.image_url, function() {\r\n var e = this.offsetWidth,\r\n o = this.offsetHeight,\r\n i = e / o;\r\n var n,\r\n a,\r\n r = (function() {\r\n var n = t.image_size;\r\n return (\r\n f\r\n ? v || g\r\n ? (n = i > 1 ? (e > w ? 1 : e / w) : o > k ? 1 / z : o / k / z)\r\n : b && ((n = i / z), (n = i > z ? n : 1 / n))\r\n : n > 1 && (n = (t.image_size * Ee) / w),\r\n n\r\n );\r\n })(),\r\n s = w * r,\r\n l = s / i,\r\n c = 0,\r\n u = 0;\r\n if (\r\n (v\r\n ? ((n = r), (a = (r * z) / i))\r\n : g\r\n ? ((n = 1), (a = 1), (c = t.image_x * w), (u = t.image_y * k))\r\n : b && ((n = 1), (a = 1), (c = 0.5 * (w - s)), (u = 0.5 * (k - l))),\r\n d.setAttribute('x', 0),\r\n d.setAttribute('y', 0),\r\n d.setAttribute('width', w),\r\n d.setAttribute('height', k),\r\n d.setAttribute('fill', _),\r\n d.setAttribute('opacity', '1'),\r\n m.setAttribute('y', 0),\r\n m.setAttribute('x', 0),\r\n m.setAttribute('y', 0),\r\n m.setAttribute('width', n),\r\n m.setAttribute('height', a),\r\n p.setAttribute('x', c),\r\n p.setAttribute('y', u),\r\n p.setAttribute('width', s),\r\n y)\r\n ) {\r\n var h = c + 0.5 * s,\r\n x = u + 0.5 * l;\r\n p.setAttribute('transform', 'rotate(-' + y + ',' + h + ',' + x + ')');\r\n }\r\n p.setAttribute('height', l);\r\n }),\r\n 'url(\"#' + m.id + '\")'\r\n );\r\n }\r\n function Ro(e) {\r\n e || ({}, (ht = {})), (Yt = n.state_bbox_array);\r\n var t = Z * we * Ee * 1.25;\r\n for (var o in ((_t = function(e) {\r\n var o = !ht[e],\r\n i = tt[e],\r\n a = i.path ? i.path : n.paths[e],\r\n r = o ? Te.path(a) : ht[e];\r\n o && (r.sm = { id: e }), ie || r.node.setAttribute('class', 'sm_state_' + e);\r\n var s = {\r\n fill: i.color,\r\n opacity: i.opacity,\r\n stroke: i.border_color,\r\n cursor: 'pointer',\r\n 'stroke-opacity': 1,\r\n 'stroke-width': t,\r\n 'stroke-linejoin': 'round',\r\n },\r\n l = i.border_hover_color ? i.border_hover_color : _.border_color,\r\n c = i.border_hover_size ? i.border_hover_size : Z,\r\n m = c * we * Ee * 1.25,\r\n u = {\r\n opacity: i.hover_opacity,\r\n fill: i.hover_color,\r\n stroke: l,\r\n 'stroke-width': m,\r\n };\r\n if (((r.sm.image = !1), i.image_url && !ie)) {\r\n var d = Po(r, {\r\n hover: !1,\r\n image_url: i.image_url,\r\n image_size: i.image_size,\r\n image_position: i.image_position,\r\n image_x: i.image_x,\r\n image_y: i.image_y,\r\n image_color: i.image_color,\r\n bg_opacity: i.image_background_opacity,\r\n });\r\n if (((r.sm.image = !0), (s.fill = d), i.image_hover_url)) {\r\n d = Po(r, {\r\n hover: !0,\r\n image_url: i.image_hover_url,\r\n image_size: i.image_hover_size,\r\n image_position: i.image_hover_position,\r\n image_x: i.image_hover_x,\r\n image_y: i.image_hover_y,\r\n image_color: i.image_hover_color,\r\n bg_opacity: i.image_background_opacity,\r\n });\r\n u.fill = d;\r\n } else u.fill = d;\r\n }\r\n i.inactive && (s.cursor = 'default'),\r\n i.image_source && ((r.sm.ignore_hover = !0), (s.fill = 'url(' + p + i.image_source + ')')),\r\n (i.border_hover_color || i.border_hover_size) && i.emphasize\r\n ? (r.sm.emphasizable = !0)\r\n : (r.sm.emphasizable = !1),\r\n (r.sm.border_hover_size = c),\r\n r.attr(s),\r\n r.transform(Pe),\r\n (r.sm.attributes = s),\r\n (r.sm.over_attributes = u),\r\n (r.sm.description = i.description),\r\n (r.sm.adjacent_attributes = { 'fill-opacity': W }),\r\n (r.sm.hide = i.hide),\r\n (r.sm.hide_label = i.hide_label),\r\n (r.sm.hide_name = i.hide_name),\r\n o && (r.sm.region = !1),\r\n (r.sm.name = i.name ? i.name : n.names[e]),\r\n r.sm.name || (r.sm.name = e),\r\n (r.sm.url = i.url),\r\n (r.sm.inactive = i.inactive),\r\n (r.sm.on_click = _o(i.popup)),\r\n (r.sm.popup_off = ho(i.popup)),\r\n (r.sm.labels = []),\r\n (r.sm.zp = i.zoom_percentage),\r\n (r.sm.zoomable = i.zoomable),\r\n (r.sm.description_mobile = i.description_mobile),\r\n (r.sm.type = 'state'),\r\n (r.sm.hide_labels = i.hide_label),\r\n (r.sm.content = Fo(r));\r\n var h = Yt[e];\r\n h || (h = Raphael.pathBBox(n.paths[e]));\r\n var f = { x: h.x, x2: h.x2, y: h.y, y2: h.y2 };\r\n (r.sm.bbox = f),\r\n (r.sm.bbox.width = f.x2 - f.x),\r\n (r.sm.bbox.height = f.y2 - f.y),\r\n (r.sm.pulse_speed = i.pulse_speed),\r\n (r.sm.pulse_size = i.pulse_size),\r\n (r.sm.pulse_color = i.pulse_color ? i.pulse_color : i.border_color),\r\n r.sm.hide ? r.hide() : o && Oe.push(r),\r\n o && ((ht[e] = r), He.push(r));\r\n }),\r\n nt))\r\n _t(o);\r\n _t[-1], He.hide();\r\n }\r\n function jo() {\r\n Ne.attr({ fill: _.background_color, 'fill-opacity': Y, stroke: 'none' });\r\n }\r\n function No(e) {\r\n if ((e || (ft = {}), E))\r\n for (var t in E) {\r\n var i = it[t],\r\n n = E[t],\r\n a = e ? ft[t] : Te.set();\r\n if (!e) {\r\n if (((a.sm = {}), (a.sm.states = []), ft[t])) {\r\n console.log('Duplicate Regions');\r\n continue;\r\n }\r\n for (var r = [], s = 0; s < n.states.length; s++) {\r\n var l = n.states[s],\r\n c = ht[l];\r\n c\r\n ? c.sm.region\r\n ? console.log('')\r\n : ((c.sm.region = t),\r\n a.sm.states.push(l),\r\n (ie && c.sm.ignore_hover && (i.color || i.hover_color)) || a.push(c),\r\n r.push(c.sm.bbox))\r\n : console.log(l + ' does not exist');\r\n }\r\n i.x && i.y && i.x2 && i.y2 && (r = [{ x: i.x, y: i.y, x2: i.x2, y2: i.y2 }]), (a.sm.bbox = o.bbox_union(r));\r\n }\r\n var m = { 'fill-opacity': i.opacity, cursor: 'pointer' },\r\n u = { 'fill-opacity': i.hover_opacity };\r\n i.color && (m.fill = i.color),\r\n i.hover_color && (u.fill = i.hover_color),\r\n i.inactive && (m.cursor = 'default'),\r\n (a.sm.attributes = m),\r\n (a.sm.name = n.name),\r\n (a.sm.description = i.description),\r\n (a.sm.description_mobile = i.description_mobile),\r\n (a.sm.url = i.url),\r\n (a.sm.labels = Te.set()),\r\n (a.sm.on_click = _o(i.popup)),\r\n (a.sm.over_attributes = u),\r\n (a.sm.hide_name = i.hide_name),\r\n (a.sm.adjacent_attributes = { 'fill-opacity': W }),\r\n (a.sm.zoomable = i.zoomable),\r\n (a.sm.popup_off = ho(i.popup)),\r\n (a.sm.zp = i.zoom_percentage),\r\n (a.sm.inactive = i.inactive),\r\n (a.sm.type = 'region'),\r\n (a.sm.id = t),\r\n (a.sm.content = Fo(a)),\r\n e || (qe.push(a), (ft[t] = a)),\r\n (a.sm.zooming_dimensions = xo(a));\r\n }\r\n if (!e) {\r\n ft[-1] = {};\r\n var p = ft[-1];\r\n (p.sm = {}), (p.sm.type = 'out'), (p.sm.zp = 1);\r\n var d = o.clone(Me);\r\n if (\r\n ((d.width = d.x2 - d.x),\r\n (d.height = d.y2 - d.y),\r\n (p.sm.bbox = d),\r\n (p.sm.zooming_dimensions = xo(p)),\r\n (vt = p),\r\n 'object' == typeof x\r\n ? (((yt = {}).sm = { type: 'manual', zp: 1, bbox: x }),\r\n (yt.sm.zooming_dimensions = xo(yt)),\r\n (x = -1),\r\n (w = !1))\r\n : -1 == x ||\r\n x in ft ||\r\n (x in ht ? ((Vt = ht[x]), (w = !1)) : console.log('The initial_zoom is not the id of a region or state'),\r\n (x = -1)),\r\n v)\r\n ) {\r\n ft[-2] = {};\r\n var _ = ft[-2];\r\n _.sm = { type: 'manual', zp: 1 };\r\n var h = xo(ft[x]),\r\n f = h.w,\r\n y = h.h,\r\n g = h.w * (v - 1) * 0.5,\r\n b = h.h * (v - 1) * 0.5;\r\n _.sm.zooming_dimensions = {\r\n x: h.x - g,\r\n y: h.y - b,\r\n w: f * v,\r\n h: y * v,\r\n r: v,\r\n };\r\n }\r\n }\r\n }\r\n function Lo(e) {\r\n var t = e.getBBox(!0);\r\n if (ie) {\r\n var o = e._getBBox(!0);\r\n t.height = o.height;\r\n }\r\n var i = 0.5 * t.width,\r\n n = 0.5 * t.height,\r\n a = e.sm.point0;\r\n return {\r\n x: a.x - i,\r\n y: a.y - n,\r\n x2: a.x + i,\r\n y2: a.y + n,\r\n width: t.width,\r\n height: t.height,\r\n };\r\n }\r\n function Do() {\r\n for (var e in (o.clear_sets([Qe, Se, De]),\r\n (gt = {}),\r\n (wt = {}),\r\n (bt = {}),\r\n (rt = rt.reverse()),\r\n (xt = function(e) {\r\n var t = rt[e],\r\n i = !1,\r\n a = !1;\r\n if (rt.hasOwnProperty(e)) {\r\n var r = !gt[e],\r\n s = Te.set(),\r\n l = { x: 1 * t.x, y: 1 * t.y },\r\n c = {},\r\n m = !1,\r\n u = !1;\r\n if (\r\n ('state' == t.parent_type\r\n ? (m = ht[t.parent_id])\r\n : 'region' == t.parent_type\r\n ? (m = ft[t.parent_id])\r\n : 'location' == t.parent_type && (m = kt[t.parent_id]),\r\n !t.x && !t.y && m)\r\n )\r\n if ('location' == m.sm.type)\r\n (a = !0), (c.x = m.sm.x), (c.y = m.sm.y), (l = m.sm.point0), (i = !0), m.sm.auto_size && (u = !0);\r\n else if ('state' == m.sm.type) {\r\n var p = m.sm.bbox;\r\n if (p.cx && p.cy)\r\n var d = T,\r\n h = S;\r\n else (d = (p.x + p.x2) / 2), (h = (p.y + p.y2) / 2);\r\n (t.x = d), (t.y = h), (c.x = d), (c.y = h), (l = { x: d, y: h });\r\n }\r\n if ((t.parent_type, m)) {\r\n if (('Not Named' == t.name && m && (t.name = m.sm.id), r)) {\r\n if (!a) {\r\n var f = o.rotate([t.x, t.y], Pe);\r\n c = { x: f[0], y: f[1] };\r\n }\r\n var v = Te.text(c.x, c.y, t.name);\r\n gt[e] = v;\r\n } else v = gt[e];\r\n (v.sm = {}),\r\n (v.sm.hide = t.hide),\r\n m && (m.sm.hide_label || m.sm.hide) && (v.sm.hide = !0),\r\n (v.sm.parent = m),\r\n m.sm.labels.push(v),\r\n m.sm.region && ft[m.sm.region].sm.labels.push(v);\r\n var y = {\r\n 'stroke-width': 0,\r\n fill: t.color,\r\n 'font-size': t.size,\r\n 'font-weight': 'bold',\r\n cursor: 'pointer',\r\n 'font-family': t.font_family,\r\n 'text-anchor': t.anchor,\r\n opacity: t.opacity,\r\n },\r\n g = { fill: t.hover_color, opacity: t.hover_opacity },\r\n b = { fill: t.color, opacity: t.opacity };\r\n if (\r\n (m.sm.inactive && (y.cursor = 'default'),\r\n v.attr(y),\r\n (v.sm.attributes = y),\r\n (v.sm.over_attributes = g),\r\n (v.sm.out_attributes = b),\r\n (v.sm.type = 'label'),\r\n (v.sm.id = e),\r\n (v.sm.scale = i || t.scale),\r\n (v.sm.scale_limit = t.scale_limit),\r\n (v.sm.x = c.x),\r\n (v.sm.y = c.y),\r\n (v.sm.point0 = l),\r\n (v.sm.line_x = t.line_x),\r\n (v.sm.line_y = t.line_y),\r\n (v.sm.line = !1),\r\n (v.sm.rotate = t.rotate),\r\n v.transform(qo(v, we)),\r\n t.display\r\n ? (v.sm.display = t.display)\r\n : 'region' == t.parent_type\r\n ? (v.sm.display = 'out')\r\n : 'location' == t.parent_type\r\n ? (v.sm.display = m.sm.display)\r\n : (v.sm.display = _.labels_display ? _.labels_display : 'all'),\r\n (v.sm.display_ids = !!t.display_ids && t.display_ids),\r\n (t.line || t.pill || u) && (v.sm.bbox = Lo(v)),\r\n 'auto' == t.display && 'state' == t.parent_type)\r\n ) {\r\n (v.sm.display = 1e-4), v.sm.bbox || (v.sm.bbox = Lo(v));\r\n var x = [1.01, 0.501, 0.251, 0.1251, 0.06251, 0.031251],\r\n w = n.paths[m.sm.id],\r\n k = m.sm.bbox;\r\n for (var z in x) {\r\n var M = x[z],\r\n E = Lo(v),\r\n A = E.width * M * 0.5,\r\n C = E.height * M * 0.5,\r\n T = 0.5 * (E.x2 + E.x),\r\n S = 0.5 * (E.y2 + E.y),\r\n O = T + A,\r\n B = ((h = S - C), S + C),\r\n F = (d = T - A) > k.x && O < k.x2,\r\n I = h > k.y && B < k.y2;\r\n if (F && I) {\r\n var P = Raphael.isPointInsidePath(w, d, h),\r\n R = Raphael.isPointInsidePath(w, O, h),\r\n j = Raphael.isPointInsidePath(w, d, B),\r\n N = Raphael.isPointInsidePath(w, O, B),\r\n L = P && R && j && N,\r\n D = E.width / M < ke;\r\n if (L && D) {\r\n v.sm.display = M;\r\n break;\r\n }\r\n }\r\n if (!v.sm.scale) break;\r\n }\r\n }\r\n if (t.line) {\r\n var H = Ho(v),\r\n q = Te.path(H),\r\n W = t.line_size * Ee * we * 1.25,\r\n Y = {\r\n stroke: t.line_color,\r\n cursor: 'pointer',\r\n 'stroke-width': W,\r\n };\r\n q.attr(Y),\r\n (q.sm = {}),\r\n (q.sm.type = 'label'),\r\n (v.sm.pill = !1),\r\n (q.sm.size = t.line_size),\r\n (q.sm.id = e),\r\n (v.sm.line = q),\r\n Se.push(q),\r\n s.push(q);\r\n }\r\n if ('state' == m.sm.type && t.pill) {\r\n var V = v.sm.bbox,\r\n Q = 1.45 * V.width,\r\n X = t.width ? t.width : Q,\r\n U = 1.15 * V.height,\r\n Z = ((d = v.sm.x - 0.5 * X), (h = v.sm.y - 0.5 * U), U / 5);\r\n if (wt[e]) var G = wt[e];\r\n else {\r\n G = Te.rect(d, h, X, U, Z);\r\n wt[e] = G;\r\n }\r\n if (\r\n (G.transform(qo(v, we)),\r\n (G.sm = {}),\r\n (G.sm.parent = m),\r\n (G.sm.attributes = o.clone(m.sm.attributes)),\r\n m.sm.image && (G.sm.attributes.fill = tt[m.sm.id].color),\r\n (G.sm.over_attributes = o.clone(m.sm.over_attributes)),\r\n m.sm.image && (G.sm.over_attributes.fill = tt[m.sm.id].hover_color),\r\n (G.sm.adjacent_attributes = o.clone(m.sm.adjacent_attributes)),\r\n G.attr(G.sm.attributes),\r\n o.x_in_array(v.sm.display, ['state', 'all']) && (m.sm.bbox = o.bbox_union([m.sm.bbox, v.sm.bbox])),\r\n o.x_in_array(v.sm.display, ['region', 'all']) && m.sm.region)\r\n ) {\r\n var J = ft[m.sm.region];\r\n (J.sm.bbox = o.bbox_union([J.sm.bbox, v.sm.bbox])),\r\n (J.sm.zooming_dimensions = !1),\r\n (J.sm.zooming_dimensions = xo(J));\r\n }\r\n (v.sm.pill = G), De.push(G), s.push(G), s.push(v);\r\n } else s.push(v);\r\n if (\r\n (('out' != v.sm.display && 'all' != v.sm.display) || v.sm.hide ? s.hide() : Ie.push(s),\r\n 'location' != v.sm.parent.sm.type || v.sm.line || Be.push(s),\r\n Qe.push(s),\r\n (bt[e] = s),\r\n ie || v.node.setAttribute('class', 'sm_label_' + e),\r\n u)\r\n ) {\r\n var K = ((_.location_auto_padding ? 1 + 2 * _.location_auto_padding : 1.3) * v.sm.bbox.width) / Ee,\r\n $ = (oe = v.sm.parent).sm.labels,\r\n ee = oe.sm.shape_type;\r\n 'triangle' == ee ? (K *= 1.3) : 'star' == ee && (K *= 2);\r\n var te = oe.sm.id;\r\n (ot[te].size = K), zt(te);\r\n var oe = kt[te];\r\n (v.sm.parent = oe), (oe.sm.labels = $), oe.sm.labels.push(v), (oe.sm.auto_size = !0);\r\n }\r\n } else console.log('The following object does not exist: ' + e);\r\n }\r\n }),\r\n rt))\r\n xt(e);\r\n Qe.hide();\r\n }\r\n function Ho(e) {\r\n var t = e.sm.bbox,\r\n i = t.x2 - t.x,\r\n n = t.y2 - t.y,\r\n a = e.sm.scale ? Ae : 1,\r\n r = 0.5 * (1 - a) * i,\r\n s = 0.5 * (1 - a) * n,\r\n l = e.sm.line_x,\r\n c = e.sm.line_y,\r\n m = !l || !c,\r\n u = e.sm.parent.sm.type;\r\n if ('location' == u && m) (l = e.sm.parent.sm.point0.x), (c = e.sm.parent.sm.point0.y);\r\n else if ('state' == u && m) {\r\n var p = e.sm.parent.sm.bbox;\r\n (l = 0.5 * (p.x2 + p.x)), (c = 0.5 * (p.y2 + p.y));\r\n }\r\n var d = { x: l, y: c },\r\n _ = [];\r\n _.push({ x: t.x2 - r, y: 0.5 * (t.y + t.y2) }),\r\n _.push({ x: t.x + r, y: 0.5 * (t.y + t.y2) }),\r\n _.push({ x: 0.5 * (t.x + t.x2), y: t.y + s }),\r\n _.push({ x: 0.5 * (t.x + t.x2), y: t.y2 - s });\r\n var h = {};\r\n for (var f in _) {\r\n var v = _[f],\r\n y = o.distance(v, d);\r\n (0 == f || y < h.distance) && ((h.label = v), (h.location = d), (h.distance = y));\r\n }\r\n return o.linePath(h.label.x, h.label.y, h.location.x, h.location.y);\r\n }\r\n function qo(e, t, o, i, n, a) {\r\n var r = void 0 === i ? e.sm.x : i,\r\n s = void 0 === n ? e.sm.y : n;\r\n return (\r\n void 0 === o && (o = '0,0'),\r\n void 0 === a && (a = e.sm.rotate),\r\n 't ' + o + ' s' + t + ',' + t + ',' + r + ',' + s + 'r' + a\r\n );\r\n }\r\n function Wo(e) {\r\n for (var t in F) Qt[t] = F[t];\r\n var i = [];\r\n for (var t in Qt) i.push(t);\r\n for (var t in (o.clear_sets([We]),\r\n (kt = {}),\r\n (zt = function(e) {\r\n var t = 'center',\r\n n = ot[e];\r\n if ('image' != n.type)\r\n var a = {\r\n 'stroke-width': n.border * we * Ee,\r\n stroke: n.border_color,\r\n fill: n.color,\r\n opacity: n.opacity,\r\n cursor: 'pointer',\r\n },\r\n r = {\r\n 'stroke-width': n.hover_border * we * Ee,\r\n stroke: n.border_color,\r\n fill: n.hover_color,\r\n opacity: n.hover_opacity,\r\n cursor: 'pointer',\r\n };\r\n else {\r\n t = n.image_position;\r\n (a = { cursor: 'pointer' }), (r = { cursor: 'pointer' });\r\n }\r\n n.inactive && (a.cursor = 'default');\r\n var s = ot[e].type,\r\n l = n.size * Ee;\r\n if (n.x && n.y) ((c = {}).x = n.x), (c.y = n.y);\r\n else var c = bo(n.lat, n.lng);\r\n var m = o.rotate([c.x, c.y], Pe),\r\n u = { x: m[0], y: m[1] };\r\n if ('auto' == n.size) {\r\n var d = { sm: {} };\r\n return (\r\n (d.sm.display = n.display),\r\n (d.sm.auto_size = !0),\r\n (d.sm.type = 'location'),\r\n (d.sm.hide_label = !1),\r\n (d.sm.labels = []),\r\n (d.sm.point0 = c),\r\n (d.sm.x = u.x),\r\n (d.sm.y = u.y),\r\n (d.sm.shape_type = s),\r\n (d.sm.id = e),\r\n void (kt[e] = d)\r\n );\r\n }\r\n if ('circle' == s)\r\n var _ = Te.circle(u.x, u.y, 0.5 * l),\r\n h = {\r\n x: u.x - 0.5 * l * Ae,\r\n y: u.y - 0.5 * l * Ae,\r\n x2: u.x + 0.5 * l * Ae,\r\n y2: u.y + 0.5 * l * Ae,\r\n };\r\n else if (o.x_in_array(s, i)) {\r\n var f = 'S' + l + ',' + l + ',0,0 T' + u.x + ',' + u.y,\r\n v = Raphael.transformPath(Qt[s], f).toString() + 'Z';\r\n 'marker' == s && (t = 'bottom-center');\r\n (h = Raphael.pathBBox(v)), (_ = Te.path(v));\r\n } else if ('image' == s) {\r\n var y = n.image_url ? n.image_url : p + n.image_source;\r\n _ = Te.image(y, 0, 0);\r\n (a.src = y), (_.sm = {});\r\n h = !1;\r\n if (\r\n (Raphael._preload(y, function() {\r\n var e = this.width / this.height,\r\n o = l,\r\n i = o * e,\r\n n = u.x - i / 2,\r\n a = 'bottom-center' == t ? u.y - o : u.y - o / 2;\r\n _.attr({ height: o, width: i, x: n, y: a }), (_.sm.bbox = { x: n, y: a, x2: n + i, y2: a + o });\r\n }),\r\n n.image_hover_url || n.image_hover_source)\r\n ) {\r\n var g = n.image_hover_url ? n.image_hover_url : p + n.image_hover_source;\r\n r.src = g;\r\n }\r\n } else {\r\n var b = l,\r\n x = b,\r\n w = u.x - x / 2,\r\n k = u.y - b / 2;\r\n (_ = Te.rect(w, k, x, b)), (h = { x: w, y: k, x2: w + x, y2: k + xe });\r\n }\r\n (_.sm = {}),\r\n (_.sm.image = 'image' == s),\r\n (_.sm.attributes = a),\r\n _.attr(a),\r\n (_.sm.original_transform = Pe),\r\n (_.sm.over_attributes = r),\r\n (_.sm.id = e),\r\n (_.sm.name = n.name),\r\n (_.sm.scale = n.scale),\r\n (_.sm.scale_limit = n.scale_limit),\r\n (_.sm.position = t),\r\n (_.sm.url = n.url),\r\n (_.sm.type = 'location'),\r\n (_.sm.shape_type = s),\r\n (_.sm.description = n.description),\r\n (_.sm.description_mobile = n.description_mobile),\r\n (_.sm.inactive = n.inactive),\r\n (_.sm.on_click = _o(n.popup)),\r\n (_.sm.popup_off = ho(n.popup)),\r\n (_.sm.pulse = n.pulse);\r\n var z = 'bottom' == n.position;\r\n (_.sm.underlay = z),\r\n (_.sm.pulse_speed = n.pulse_speed),\r\n (_.sm.pulse_size = n.pulse_size),\r\n (_.sm.pulse_color = n.pulse_color ? n.pulse_color : n.color),\r\n (_.sm.x = u.x),\r\n (_.sm.y = u.y),\r\n (_.sm.point0 = c),\r\n (_.sm.bbox = h),\r\n (_.sm.labels = []),\r\n (_.sm.size = l),\r\n (_.sm.hide = n.hide),\r\n (_.sm.hide_name = n.hide_name),\r\n (_.sm.display = n.display),\r\n (_.sm.display_ids = !!n.display_ids && n.display_ids),\r\n _.transform(qo(_, Ae * we)),\r\n ('region' == _.sm.display || 'state' == _.sm.display || n.hide) && _.hide(),\r\n (_.sm.content = Fo(_)),\r\n z ? Ve.push(_) : Ye.push(_),\r\n We.push(_),\r\n (kt[e] = _),\r\n ie || _.node.setAttribute('class', 'sm_location_' + e);\r\n }),\r\n st))\r\n zt(t);\r\n }\r\n function Yo(t) {\r\n var o = e.zoom_level,\r\n i = e.zoom_level_id,\r\n n = !!t.sm.region && ft[t.sm.region];\r\n return n\r\n ? 'out' == o\r\n ? n\r\n : 'region' == o\r\n ? i == n.sm.id\r\n ? t\r\n : n\r\n : 'state' == o\r\n ? ht[i].sm.region === n.sm.id\r\n ? t\r\n : n\r\n : 'manual' == o\r\n ? Ae > n.sm.zooming_dimensions.r || !n.sm.zoomable\r\n ? n\r\n : t\r\n : void 0\r\n : t;\r\n }\r\n function Vo(t) {\r\n var o = e.zoom_level,\r\n i = e.zoom_level_id;\r\n if ('state' == o) return i != t.sm.id;\r\n if ('region' != o) return !1;\r\n var n = !!t.sm.region && ft[t.sm.region];\r\n return !n || (i != n.sm.id && void 0);\r\n }\r\n function Qo(e, t, o, i) {\r\n e.sm.labels &&\r\n e.sm.labels.forEach(function(e) {\r\n if (e.sm) {\r\n var n = e.sm.pill;\r\n 'over' == t\r\n ? (e.stop(), Xt(e, 'over'), n && Ut(n, 'over'))\r\n : ('reset' != t && 'out' != t) || (Xt(e, 'out'), n && (Ut(n, 'out', i), o && Ut(n, 'adjacent', i)));\r\n }\r\n });\r\n }\r\n function Xo() {\r\n (Ot = function() {\r\n this.sm.parent && Tt.call(this.sm.parent);\r\n }),\r\n (Bt = function() {\r\n this.sm.parent && St.call(this.sm.parent);\r\n }),\r\n (At = function(e) {\r\n this.sm.parent && Ct.call(this.sm.parent, e);\r\n }),\r\n (Mt = function(e, t) {\r\n if (e.sm.pulse || t) {\r\n var o = e.sm.shape_type;\r\n if (!('location' != e.sm.type || 'image' == o || Ae < 0.05)) {\r\n var i = e.clone();\r\n Ye.toFront(), Be.toFront();\r\n var n = 1 * e.sm.pulse_size,\r\n a = {\r\n 'stroke-width': 4 * e.attrs['stroke-width'],\r\n 'stroke-opacity': 0,\r\n };\r\n i.attr({ 'fill-opacity': 0, stroke: e.sm.pulse_color });\r\n var r = e.sm.scale ? Ae : 1,\r\n s = 0.5 * (n - 1) * e.sm.size * r * we,\r\n l = 'bottom-center' == e.sm.position ? qo(e, r * we * n, '0,' + s) : qo(e, r * we * n);\r\n (a.transform = l),\r\n i.animate(a, 1e3 * e.sm.pulse_speed, 'ease-out', function() {\r\n i.remove();\r\n });\r\n }\r\n }\r\n }),\r\n (Et = function(e) {\r\n if (!ie || !ne)\r\n for (var t = Array.isArray(e) ? e : [e], o = 0; o < t.length; o++) {\r\n var i = ht[t[o]];\r\n if (!i || !i.sm || Ae < 0.05) return;\r\n i.sm.shape_type;\r\n var n = i.clone(),\r\n a = 1 * i.sm.pulse_size,\r\n r = {\r\n 'stroke-width': 4 * (i.attrs['stroke-width'] ? i.attrs['stroke-width'] : 1),\r\n 'stroke-opacity': 0,\r\n 'fill-opacity': 0,\r\n };\r\n n.attr({ 'fill-opacity': 0, stroke: i.sm.pulse_color });\r\n var s = i.sm.bbox;\r\n (i.sm.x = (s.x2 + s.x) / 2), (i.sm.y = (s.y2 + s.y) / 2), (i.sm.rotate = 0);\r\n var l = qo(i, a, '0,0');\r\n r.transform = Pe + l;\r\n i.sm.bbox;\r\n n.animate(r, 1e3 * i.sm.pulse_speed, 'ease-out', function() {\r\n n.remove();\r\n });\r\n }\r\n }),\r\n (Tt = function() {\r\n if ((vo(), io(), ri(), (this.id || 'set' != !this.type) && !Zt && !co)) {\r\n var e = Yo(this);\r\n if (e.sm.on_click) var t = !0;\r\n if (((jt = e.sm.popup_off), !(Ht || qt || Dt || (M && re)))) {\r\n if (Jt && !k) return !1;\r\n if (\r\n ((Jt = this),\r\n e &&\r\n ((function(e) {\r\n e.sm.labels &&\r\n e.sm.labels.forEach(function(t) {\r\n e.sm.inactive ? t.attr({ cursor: 'default' }) : t.attr({ cursor: 'pointer' });\r\n });\r\n })(e),\r\n !e.sm.inactive))\r\n )\r\n if (\r\n ((function(e) {\r\n 'state' == e.sm.type &&\r\n e.sm.emphasizable &&\r\n ((Zt = !0),\r\n e.insertBefore(Oe),\r\n setTimeout(function() {\r\n Zt = !1;\r\n }, 1));\r\n })(e),\r\n no(e),\r\n t)\r\n ) {\r\n if (!M) {\r\n if ((e.stop(), ie && 'location' == e.sm.type && 'image' == e.sm.shape_type)) return;\r\n e.sm.ignore_hover || (Xt(e, 'over'), Mt(e)), Qo(e, 'over');\r\n }\r\n } else {\r\n if ((Rt.show(e), e.stop(), ie && 'location' == e.sm.type && 'image' == e.sm.shape_type)) return;\r\n e.sm.ignore_hover || (Xt(e, 'over'), Qo(e, 'over'), Mt(e), Et(e));\r\n }\r\n }\r\n }\r\n }),\r\n (St = function(e, t) {\r\n if (((t && 'function' == typeof t) || (t = !1), !Dt && !co && ((Jt = !1), this.id || 'set' != !this.type))) {\r\n var o = Yo(this);\r\n if (o && !o.sm.inactive)\r\n if ((ao(o), re)) (M && !0 !== e) || (Gt(o, t), (Kt = o));\r\n else {\r\n if ((Rt.hide(), Vo(o))) {\r\n if (Dt) return !1;\r\n o.sm.ignore_hover || Xt(o, 'out', !0), Xt(o, 'adjacent', !0), Qo(o, 'out', !0);\r\n } else {\r\n if (ie && 'location' == o.sm.type && 'image' == o.sm.shape_type) return;\r\n o.sm.ignore_hover || Xt(o, 'out', !0), Qo(o, 'out');\r\n }\r\n Gt(o, t);\r\n }\r\n }\r\n });\r\n var t = !1;\r\n (Ct = function(o) {\r\n if (!(Dt || Ht || qt)) {\r\n vo(),\r\n me &&\r\n ((t = !0),\r\n setTimeout(function() {\r\n t = !1;\r\n }, 500)),\r\n t || So();\r\n var i = Yo(this);\r\n if (!i.sm.inactive && (so(i, o), !e.ignore_clicks)) {\r\n if (((re = i.sm.on_click), o)) {\r\n if (M && 'touchend' == o.type) return;\r\n if (!M && 'touchstart' == o.type) return;\r\n }\r\n if (\r\n (re && Rt.update_pos(),\r\n (jt = i.sm.popup_off),\r\n !i.sm.zoomable || ('region' != i.sm.type && vt == i && 'out' != i.sm.type))\r\n )\r\n if (re) {\r\n if (\r\n (z == i ||\r\n !z ||\r\n ((c = z), 'state' == (l = i).sm.type && 'region' == c.sm.type && c.sm.id == l.sm.region) ||\r\n ('region' != i.sm.type && 'region' == e.zoom_level) ||\r\n Gt(z),\r\n ro(i, o),\r\n o)\r\n ) {\r\n var n = Uo(o);\r\n Rt.pos(o, { l: n.x, u: n.y });\r\n }\r\n Rt.show(i),\r\n (M = !0),\r\n Qo(i, 'over'),\r\n Mt(i),\r\n (ie && 'location' == i.sm.type && 'image' == i.sm.shape_type) ||\r\n i.sm.ignore_hover ||\r\n i.attr(i.sm.over_attributes),\r\n (z = i);\r\n var a = document.getElementById('xpic_sm_' + ce);\r\n a &&\r\n (a.onclick = function() {\r\n return Rt.hide(), (M = !1), z.sm && St.call(z), (re = !1), uo('close_popup', []), !1;\r\n });\r\n } else {\r\n ro(i, o);\r\n var r = i.sm.url;\r\n if ('' != r && !mo) {\r\n var s = 'javascript' == r.substring(0, 10);\r\n return !X || s\r\n ? void (s ? (window.location.href = r) : (window.top.location.href = r))\r\n : (window.open(r, '_blank'), void Rt.hide());\r\n }\r\n }\r\n else\r\n lo(i, o),\r\n ri(),\r\n z && z.sm\r\n ? St.call(z, !0, function() {\r\n Oo(i), (z = i);\r\n })\r\n : (Oo(i), (z = i));\r\n var l, c;\r\n }\r\n }\r\n }),\r\n (Ft = function(e) {\r\n if ((void 0 === e && (e = !1), uo('back', []), ('out' == vt.sm.type || ('region' == vt.sm.type && w)) && j))\r\n window.location.href = 'javascript:' + j;\r\n else if (V && 'state' == vt.sm.type && vt.sm.region)\r\n z\r\n ? St.call(z, !0, function() {\r\n Oo(ft[vt.sm.region]);\r\n })\r\n : Oo(ft[vt.sm.region], !1, e);\r\n else {\r\n var t = Io(vt, ft[x]),\r\n o = 'manual' == vt.sm.type && t ? ft[x] : ft[-1];\r\n z && z.sm && 'region' != z.sm.type\r\n ? St.call(z, !0, function() {\r\n Oo(o);\r\n })\r\n : Oo(o, !1, e);\r\n }\r\n }),\r\n (It = function() {\r\n Ft();\r\n });\r\n }\r\n function Uo(e) {\r\n if (e.touches) {\r\n var t = e.changedTouches ? e.changedTouches[0] : e.touches[0];\r\n return { x: t.clientX, y: t.clientY };\r\n }\r\n var o = ne ? e.clientY + document.documentElement.scrollTop : e.pageY;\r\n return {\r\n x: ne ? e.clientX + document.documentElement.scrollLeft : e.pageX,\r\n y: o,\r\n };\r\n }\r\n function Zo() {\r\n var e = !1;\r\n function t(t) {\r\n if (!Dt && t.touches && t.touches.length > 1) {\r\n qt = !0;\r\n var i = (function(e) {\r\n var t = { x: e.touches[0].pageX, y: e.touches[0].pageY },\r\n i = { x: e.touches[1].pageX, y: e.touches[1].pageY };\r\n return o.distance(t, i);\r\n })(t);\r\n if (e) {\r\n var n = i - e;\r\n Math.abs(n) > 10 && (n > 0 ? Ke() : $e(), (e = i));\r\n } else e = i;\r\n }\r\n }\r\n o.addEvent(fe, 'touchstart', t),\r\n o.addEvent(fe, 'touchmove', t),\r\n o.addEvent(fe, 'touchend', function(t) {\r\n (e = !1),\r\n setTimeout(function() {\r\n qt = !1;\r\n }, 100);\r\n });\r\n }\r\n function Go() {\r\n He.toBack(), Ve.toBack(), je.toBack(), Fe && Fe.toFront(), Qe.toFront(), Ye.toFront(), Be.toFront();\r\n }\r\n function Jo(e) {\r\n if (!e) {\r\n ae\r\n ? (He.mouseup(Ct), je.mouseup($t), Ue.mouseup(It), je.mouseup(ri))\r\n : (He.hover(Tt, St), He.click(Ct), je.click($t), Ue.click(It), je.hover(ri, ri)),\r\n b &&\r\n (function() {\r\n function e() {\r\n Ko();\r\n }\r\n var t;\r\n (Pt = function() {\r\n clearTimeout(t), (t = setTimeout(e, 300));\r\n }),\r\n window.addEventListener\r\n ? (window.addEventListener('resize', Pt, !1), window.addEventListener('orientationchange', Pt, !1))\r\n : (window.attachEvent('resize', Pt, !1), window.attachEvent('orientationchange', Pt, !1));\r\n //added this to listen for mapdiv (he) size changes and forcing resize event (Pt) of map in this case\r\n const resizeObserver = new ResizeObserver(Pt);\r\n resizeObserver.observe(he);\r\n ie &&\r\n (document.body.onresize = function() {\r\n e();\r\n });\r\n })(),\r\n g &&\r\n (He.touchstart(Ct),\r\n He.touchend(Ct),\r\n Ue.touchend(Ft),\r\n (function() {\r\n function e(e) {\r\n var o = Uo(e),\r\n a = o.x,\r\n r = o.y,\r\n s = (i - a) * t.r,\r\n l = (n - r) * t.r,\r\n c = 5 * t.r;\r\n return (\r\n (Math.abs(s) > c || Math.abs(l) > c) && (Ht = !0), { x: t.x + s, y: t.y + l, w: t.w, h: t.h, r: t.r }\r\n );\r\n }\r\n var t,\r\n i,\r\n n,\r\n a = !1;\r\n function r(e) {\r\n if (M) return !1;\r\n e.preventDefault ? e.preventDefault() : (e.returnValue = !1),\r\n (t = {\r\n x: dt.x,\r\n y: dt.y,\r\n w: dt.w,\r\n h: dt.h,\r\n r: dt.w / ke / we,\r\n }),\r\n (a = !0);\r\n var o = Uo(e);\r\n (i = o.x), (n = o.y), Rt.hide(), Rt.pos(e, { l: i, u: n });\r\n }\r\n function s(t) {\r\n if (a && !(t.touches && t.touches.length > 1)) {\r\n var o = e(t);\r\n Te.setViewBox(o.x, o.y, o.w, o.h);\r\n }\r\n }\r\n function l(t) {\r\n if (!a || !Ht) return (Ht = !1), void (a = !1);\r\n var o = e(t);\r\n Te.setViewBox(o.x, o.y, o.w, o.h),\r\n (dt = o),\r\n ((vt = { sm: {} }).sm.zooming_dimensions = dt),\r\n (vt.sm.type = 'manual'),\r\n (a = !1),\r\n setTimeout(function() {\r\n Ht = !1;\r\n }, 1),\r\n Ue.show();\r\n //added this to show div with 'back' button that appears after zooming in\r\n (de.style.display = 'block');\r\n }\r\n o.addEvent(_e, 'mousedown', r),\r\n o.addEvent(_e, 'mousemove', s),\r\n o.addEvent(_e, 'mouseup', l),\r\n o.addEvent(_e, 'mouseleave', l),\r\n o.addEvent(_e, 'touchstart', r),\r\n o.addEvent(_e, 'touchmove', s),\r\n o.addEvent(_e, 'touchend', l);\r\n })(),\r\n Zo()),\r\n (he.mouseIsOver = !1),\r\n (he.onmouseover = function() {\r\n this.mouseIsOver = !0;\r\n }),\r\n (he.onmouseout = function() {\r\n this.mouseIsOver = !1;\r\n }),\r\n (he.onwheel = function(e) {\r\n he.mouseIsOver && g && A && (e.preventDefault(), e.deltaY < 0 ? Ke() : $e());\r\n }),\r\n o.addEvent(document, 'keyup', function(e) {\r\n if ('auto' == f) {\r\n var t = fe.contains(document.activeElement);\r\n ye.style.display = t ? 'block' : 'none';\r\n }\r\n });\r\n }\r\n We.hover(Tt, St),\r\n We.click(Ct),\r\n Qe.hover(Ot, Bt),\r\n Qe.click(At),\r\n g && (We.touchend(Ct), We.touchstart(Ct), Qe.touchend(At));\r\n }\r\n function Ko() {\r\n if (!(he.offsetWidth < 1)) {\r\n fo(!0), Te.setSize(be, xe);\r\n var e = Z * (be / ke) * Ee * 1.25;\r\n He &&\r\n We &&\r\n (He.forEach(function(t) {\r\n t.attr({ 'stroke-width': e }),\r\n (t.sm.attributes['stroke-width'] = e),\r\n (t.sm.over_attributes['stroke-width'] = t.sm.border_hover_size * (be / ke) * Ee * 1.25);\r\n }),\r\n We.forEach(function(e) {\r\n 'image' != ot[e.sm.id].type &&\r\n ((e.sm.attributes['stroke-width'] = ot[e.sm.id].border * (be / ke) * Ee * 1.25),\r\n (e.sm.over_attributes['stroke-width'] = ot[e.sm.id].hover_border * (be / ke) * Ee * 1.25),\r\n e.attr({ 'stroke-width': e.sm.attributes['stroke-width'] }));\r\n }),\r\n Se.forEach(function(e) {\r\n var t = e.sm.size * (be / ke) * Ee * 1.25;\r\n e.attr({ 'stroke-width': t });\r\n }),\r\n Fe.forEach(function(e) {\r\n var t = e.sm.size * (be / ke) * Ee * 1.25;\r\n e.attr({ 'stroke-width': t });\r\n })),\r\n vo(),\r\n (ut = J || (be / 2 > 250 ? be / 2 : 250));\r\n }\r\n }\r\n function $o(e) {\r\n var t = v ? ft[-2] : ft[x],\r\n o = ft[x];\r\n //added this to remove div with 'back' button that appears after zooming in\r\n // (this div prevents states from clicking because it is \"above\" state div and always in DOM\r\n if ((j || (Ue.hide(), (de.style.display = 'none')), !e)) {\r\n if (Vt) var i = Vt;\r\n else if (yt) i = yt;\r\n else i = t;\r\n Oo(i, (!Vt && !yt) || !v);\r\n }\r\n if (w && -1 != x) {\r\n //added this to remove div with 'back' button that appears after zooming in\r\n // (this div prevents states from clicking because it is \"above\" state div and always in DOM\r\n je.show(), j || (Ue.hide(), (de.style.display = 'none'));\r\n for (var n = 0; n < o.sm.states.length; n++) {\r\n var a = o.sm.states[n],\r\n r = ht[a];\r\n r.sm.hide || r.show();\r\n }\r\n for (var n in gt) {\r\n var s = gt[n],\r\n l = bt[n];\r\n s.sm.parent &&\r\n 'state' == s.sm.parent.sm.type &&\r\n ((s.sm.parent.sm.region == o.sm.id && s.sm.parent.sm.region) || ((s.sm.hide = !0), l.hide()));\r\n }\r\n return (\r\n Fe.forEach(function(e) {\r\n Raphael.isPointInsideBBox(o.sm.bbox, e.sm.bbox.x, e.sm.bbox.y) && e.show();\r\n }),\r\n void (!e && v && Oo(ft[x]))\r\n );\r\n }\r\n je.show(), Oe.show(), Ie.show(), Fe.show(), e || !v || Vt || yt || Oo(ft[x]);\r\n }\r\n function ei(e) {\r\n po(),\r\n go(),\r\n Ro(!0),\r\n No(!0),\r\n Wo(),\r\n Do(),\r\n jo(),\r\n Ao(vt, !0),\r\n Go(),\r\n Jo(!0),\r\n Ko(),\r\n $o(!0),\r\n Co(vt),\r\n yi(),\r\n io(!0),\r\n uo('refresh_complete', []),\r\n o.isFunction(e) && e();\r\n }\r\n function ti(t) {\r\n var r, m, S, O, B, F, R, j, N, D;\r\n ((i = e.mapdata),\r\n (n = e.mapinfo),\r\n _e && delete window.paper,\r\n vi(),\r\n (function() {\r\n (d = i.state_specific), (_ = i.main_settings);\r\n var e = document.getElementsByTagName('script'),\r\n t = e[e.length - 1].src,\r\n o = 'no' != _.back_image && _.back_image;\r\n (c = 'no' != _.back_image_url && _.back_image_url),\r\n (u = 'default' != _.images_directory && _.images_directory),\r\n (p = u || t.substring(0, t.lastIndexOf('/usmap.js') + 1) + 'map_images/'),\r\n !c && o && (c = require('./icon-zoom-out.png'));\r\n })(),\r\n (ie = 'VML' == Raphael.type),\r\n (ne = !!window.document.documentMode),\r\n (ae = !!o.isMobile.iOS()),\r\n (me = !!o.isMobile.any()),\r\n (ue = _.pop_ups ? _.pop_ups : _.popups),\r\n (pe = void 0 === _.mobile_scaling && 'no' != _.mobile_scaling ? 1 : _.mobile_scaling),\r\n (re = !1),\r\n (jt = ho(ue)),\r\n (ce = void 0 === _.div ? 'map' : _.div),\r\n (x = void 0 === _.initial_zoom ? -1 : _.initial_zoom),\r\n (w = 'yes' == _.initial_zoom_solo && -1 != x),\r\n (v = void 0 !== _.fly_in_from && 'no' != _.fly_in_from && _.fly_in_from),\r\n (b = 'responsive' == _.width),\r\n '0' == (y = !!_.rotate && _.rotate) && (y = !1),\r\n (L = 'no' != _.zoom),\r\n (g = 'yes' == _.manual_zoom),\r\n (f = void 0 === _.keyboard_navigation ? 'auto' : _.keyboard_navigation),\r\n (A = 'no' != _.allow_scrolling),\r\n (E = !(!n.default_regions || !L) && n.default_regions),\r\n i.regions && (E = i.regions),\r\n i.labels && (q = i.labels),\r\n (k = !1),\r\n (z = !1),\r\n (M = !1),\r\n (h = !1),\r\n (function() {\r\n if ('continent' != a) return !1;\r\n var e = 0;\r\n for (var t in n.paths) e++;\r\n return e > 8;\r\n })())\r\n ? alert(\"The continent map can't be used with other data.\")\r\n : (po(),\r\n (function() {\r\n if (\r\n ((he = document.getElementById(ce)),\r\n (fe = !!document.getElementById(ce + '_holder') && document.getElementById(ce + '_holder')))\r\n ) {\r\n he.removeChild(fe);\r\n var e = document.getElementById('tt_sm_' + ce);\r\n e && e.parentNode.removeChild(e);\r\n }\r\n (fe = document.createElement('div')),\r\n (de = document.createElement('div')),\r\n (ye = document.createElement('div')),\r\n (ve = document.createElement('div')),\r\n (_e = document.createElement('div')),\r\n (map_legend = document.createElement('div')),\r\n (de.id = ce + '_outer'),\r\n (ve.id = ce + '_zoom'),\r\n (ye.id = ce + '_access'),\r\n (map_legend.id = ce + '_legend'),\r\n (_e.id = ce + '_inner'),\r\n (fe.id = ce + '_holder'),\r\n (fe.style.position = 'relative'),\r\n fe.setAttribute('tabIndex', 0),\r\n (fe.style.outline = 'none'),\r\n (_e.style.position = 'relative'),\r\n (de.style.position = 'absolute'),\r\n //added this to remove div with 'back' button that appears after zooming in\r\n // (this div prevents states from clicking because it is \"above\" state div and always in DOM\r\n (de.style.display = 'none'),\r\n (ve.style.position = 'absolute'),\r\n (ye.style.position = 'absolute'),\r\n (ye.style.maxWidth = '75%'),\r\n (map_legend.style.position = 'absolute'),\r\n (ve.style.zIndex = '1'),\r\n (de.style.zIndex = '1'),\r\n (ye.style.zIndex = '1'),\r\n (ye.style.display = 'yes' == f ? 'block' : 'none'),\r\n (map_legend.style.zIndex = '1'),\r\n he.appendChild(fe),\r\n fe.appendChild(ve),\r\n fe.appendChild(de),\r\n fe.appendChild(ye),\r\n fe.appendChild(map_legend),\r\n fe.appendChild(_e);\r\n })(),\r\n fo(),\r\n (function() {\r\n if (\r\n ((Te = Raphael(_e, be, xe)),\r\n (je = Te.set()),\r\n (Ne = Te.rect(Me.x - 2 * ke, Me.y - 2 * ze, 5 * ke, 5 * ze)),\r\n C)\r\n ) {\r\n C.indexOf('/osm/noattr/') > -1 && (l = !0);\r\n var e = T || Me;\r\n (Le = Te.image(C, e.x, e.y, e.x2 - e.x, e.y2 - e.y)), je.push(Le);\r\n }\r\n je.push(Ne),\r\n je.transform(Re),\r\n je.hide(),\r\n (He = Te.set()),\r\n (Oe = Te.set()),\r\n (qe = Te.set()),\r\n (We = Te.set()),\r\n (Ye = Te.set()),\r\n (Ve = Te.set()),\r\n (Qe = Te.set()),\r\n (Be = Te.set()),\r\n (Ie = Te.set()),\r\n (Fe = Te.set()),\r\n (De = Te.set()),\r\n (Se = Te.set()),\r\n Te.set().push(He, We, je, Qe, Fe);\r\n })(),\r\n vo(),\r\n (function() {\r\n ((Lt = document.createElement('div')).style.cssText =\r\n 'overflow: visible !important; clip-path: none !important; display:inline !important; opacity:1 !important; transform: none !important; visibility: visible !important; z-index: 1 !important; right: 5px !important; bottom: 5px !important; z-index: 1 !important; position: absolute !important; filter: opacity(1) !important;'),\r\n _e.appendChild(Lt);\r\n var e =\r\n 'font: 12px Verdana, Arial, Helvetica, sans-serif !important; cursor: pointer !important; float: right !important; color: #000000 !important; text-decoration: none !important;';\r\n if (l) {\r\n var t = document.createElement('a');\r\n (t.href = 'https://www.openstreetmap.org/copyright'),\r\n (t.title = 'Background © OpenStreetMap contributors'),\r\n (t.innerHTML = s ? '| OSM' : '© OSM'),\r\n (t.style.cssText = e),\r\n (t.style.marginLeft = '.5em'),\r\n Lt.appendChild(t);\r\n }\r\n if (s) {\r\n var o = document.createElement('a');\r\n (o.style.cssText = e),\r\n (o.href = 'https://simplemaps.com'),\r\n (o.title = 'Built with with SimpleMaps'),\r\n (o.innerHTML = '© Simplemaps.com'),\r\n Lt.appendChild(o);\r\n }\r\n })(),\r\n te ||\r\n (function() {\r\n if (!Wt) {\r\n var e = s(['borderRadius', 'MozBorderRadius', 'WebkitBorderRadius']),\r\n t = e ? e + ': ' + (me ? 2 * ee : ee) + 'px;' : '';\r\n ut = J || (be / 2 > 250 ? be / 2 : 250);\r\n var i = s(['boxShadow', 'MozBoxShadow', 'WebkitBoxShadow']),\r\n n = i ? i + ': ' + 3 * $ + 'px ' + 3 * $ + 'px ' + 4 * $ + 'px rgba(0,0,0,.5);' : '';\r\n if (($ < 0.01 && (n = ''), me)) {\r\n var a = /(\\d+)(px|em)(.*)/g.exec(oe);\r\n oe = parseFloat(a[1]) * pe + a[2] + a[3];\r\n }\r\n var r =\r\n '.tt_mobile_sm{margin-top: .4em;} .tt_sm{' +\r\n t +\r\n n +\r\n 'z-index: 1000000; background-color: ' +\r\n G +\r\n '; padding: .6em; opacity:' +\r\n K +\r\n '; font: ' +\r\n oe +\r\n '; color: black;} .tt_name_sm{float: left; font-weight: bold} .tt_custom_sm{overflow: hidden;}';\r\n (r +=\r\n '.btn_simplemaps{color: black;text-decoration: none;background: #ffffff;display: inline-block;padding: .5em .5em;margin: 0; width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; line-height: 1.43;text-align: center;white-space: nowrap;vertical-align: middle;-ms-touch-action: manipulation;touch-action: manipulation;cursor: pointer;-webkit-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;border: 1px solid;border-radius: .3em;} .btn_simplemaps:hover{ text-decoration: underline;}'),\r\n (r +=\r\n '.xmark_sm{float: ' +\r\n (ie ? 'left' : 'right') +\r\n '; margin-left: .5em; cursor: pointer; line-height: 0px; width: 1.3em !important;}'),\r\n o.new_style(r),\r\n (Wt = !0);\r\n }\r\n function s(e) {\r\n for (var t = document.documentElement, o = 0; o < e.length; o++)\r\n if (e[o] in t.style) {\r\n var i = e[o];\r\n return (i = (i = (i = (i = (i = (i = i.replace('borderRadius', 'border-radius')).replace(\r\n 'MozBorderRadius',\r\n '-moz-border-radius'\r\n )).replace('WebkitBorderRadius', '-webkit-border-radius')).replace(\r\n 'boxShadow',\r\n 'box-shadow'\r\n )).replace('MozBoxShadow', '-moz-box-shadow')).replace('WebkitBoxShadow', '-webkit-box-shadow'));\r\n }\r\n }\r\n })(),\r\n (F = o.findPos(_e)),\r\n (R = F[0]),\r\n (j = F[1]),\r\n (N = 0),\r\n (D = 0),\r\n (Rt = {\r\n create: function() {\r\n (B = document.createElement('div')).setAttribute('id', 'tt_sm_' + ce),\r\n (B.style.position = 'absolute'),\r\n (B.style.display = 'none'),\r\n _e.appendChild(B),\r\n (_e.onmousemove = this.pos),\r\n (B.onmousemove = this.pos);\r\n },\r\n show: function(e) {\r\n jt ||\r\n ((h = !1),\r\n null == B && Rt.create(),\r\n (B.style.display = 'block'),\r\n (B.style.zIndex = 2),\r\n (B.style.maxWidth = ut + 'px'),\r\n (B.innerHTML = e.sm.content),\r\n Rt.update_pos(e));\r\n },\r\n reset_pos: function(e, t, o) {\r\n null == B && Rt.create(), Rt.set_pos(0 + t, 0 + e, o);\r\n },\r\n update_pos: function(e) {\r\n Rt.set_pos(r, m, e);\r\n },\r\n pos: function(e, t) {\r\n t\r\n ? ((r = t.u), (m = t.l))\r\n : ((r = ne ? event.clientY + document.documentElement.scrollTop : e.pageY),\r\n (m = ne ? event.clientX + document.documentElement.scrollLeft : e.pageX)),\r\n (r -= j),\r\n (m -= R),\r\n jt || k || h || (M && re) || Rt.set_pos(r, m);\r\n },\r\n set_pos: function(e, t, o) {\r\n if (B) {\r\n var i = !e || !t;\r\n if ((o && o.sm.on_click && ('yes' == I || ('auto' == I && be < 401))) || i) {\r\n (B.style.top = '-100px'),\r\n (B.style.left = '-100px'),\r\n (B.style.bottom = 'auto'),\r\n (B.style.right = 'auto'),\r\n (N = parseInt(B.offsetHeight, 10)),\r\n (D = parseInt(B.offsetWidth, 10));\r\n var n = be - D > 0 ? 0.5 * (be - D) : 0,\r\n a = xe - N > 0 ? 0.5 * (xe - N) : 0;\r\n (B.style.top = a + 'px'),\r\n (B.style.left = n + 'px'),\r\n (B.style.right = 'auto'),\r\n (B.style.bottom = 'auto');\r\n } else {\r\n if (((O = 0 + 0.5 * xe), t > (S = 0 + 0.5 * be) && e > O)) r = 4;\r\n else if (t < S && e > O) r = 3;\r\n else if (t > S && e < O) r = 2;\r\n else var r = 1;\r\n 'below' == P\r\n ? (3 == r && (r = 1), 4 == r && (r = 2))\r\n : 'above' == P && (1 == r && (r = 3), 2 == r && (r = 4)),\r\n 1 == r\r\n ? ((B.style.bottom = 'auto'),\r\n (B.style.top = e + 5 + 'px'),\r\n (B.style.left = t + 5 + 5 + 'px'),\r\n (B.style.right = 'auto'))\r\n : 2 == r\r\n ? ((B.style.bottom = 'auto'),\r\n (B.style.top = e + 5 + 'px'),\r\n (B.style.right = be - t + 5 + 'px'),\r\n (B.style.left = 'auto'))\r\n : 3 == r\r\n ? ((B.style.bottom = xe - e + 5 + 'px'),\r\n (B.style.top = 'auto'),\r\n (B.style.left = t + 5 + 3 + 'px'),\r\n (B.style.right = 'auto'))\r\n : ((B.style.bottom = xe - e + 5 + 'px'),\r\n (B.style.top = 'auto'),\r\n (B.style.right = be - t + 5 + 'px'),\r\n (B.style.left = 'auto'));\r\n }\r\n }\r\n },\r\n hide: function() {\r\n null != B && (B.style.display = 'none'), (F = o.findPos(_e)) && ((R = F[0]), (j = F[1]));\r\n },\r\n }),\r\n yo(),\r\n go(),\r\n jo(),\r\n Ro(),\r\n No(),\r\n setTimeout(function() {\r\n Wo(),\r\n Do(),\r\n (function() {\r\n var e = i.lines ? i.lines : i.borders;\r\n if (e) {\r\n for (var t in e) {\r\n var o = e[t],\r\n n = mt[t],\r\n a = n.size * (be / ke) * Ee * 1.25,\r\n r = !1;\r\n if (n.origin_location && n.destination_location) {\r\n var s = kt[n.origin_location].sm.point0,\r\n l = kt[n.destination_location].sm.point0;\r\n if (((r = 'M ' + s.x + ',' + s.y + ' ' + l.x + ',' + l.y + ' Z'), n.angle)) {\r\n var c = parseFloat(n.angle);\r\n if (c > -61 && c < 61) {\r\n s.x <= l.x && (c *= -1);\r\n var m = Raphael.transformPath(r, 'R' + c + ',' + s.x + ',' + s.y + 'S2').toString(),\r\n u = Raphael.transformPath(r, 'R-90S2').toString(),\r\n p = Raphael.pathIntersection(m, u)[0];\r\n r =\r\n 'M ' +\r\n s.x +\r\n ',' +\r\n s.y +\r\n ' C' +\r\n s.x +\r\n ',' +\r\n s.y +\r\n ',' +\r\n p.x +\r\n ',' +\r\n p.y +\r\n ',' +\r\n l.x +\r\n ',' +\r\n l.y;\r\n }\r\n }\r\n }\r\n var d = r || o.path,\r\n _ = Te.path(d);\r\n _.transform(Pe),\r\n _.attr({\r\n stroke: n.color,\r\n fill: 'none',\r\n cursor: 'pointer',\r\n 'stroke-dasharray': [n.dash],\r\n 'stroke-width': a,\r\n 'stroke-linejoin': 'round',\r\n 'stroke-miterlimit': 4,\r\n }),\r\n (_.sm = {}),\r\n (_.sm.size = n.size),\r\n (_.sm.bbox = _.getBBox(!0)),\r\n ie || _.node.setAttribute('class', 'sm_line_' + t),\r\n Fe.push(_);\r\n }\r\n Fe.hide();\r\n }\r\n })(),\r\n (function() {\r\n (ye.style.right = '0em'), (ye.style.top = '0em');\r\n var e = void 0 === _.navigate_title ? 'Navigate' : _.navigate_title,\r\n t = void 0 === _.keyboard_omit ? '' : _.keyboard_omit;\r\n if (!(t.indexOf('navigat') > -1)) {\r\n var i = document.createElement('select');\r\n i.options.add(new Option(e, '-1')),\r\n i.options.add(new Option('Back', 'back')),\r\n g &&\r\n (i.options.add(new Option('Zoom in', 'in')),\r\n i.options.add(new Option('Zoom out', 'out')),\r\n i.options.add(new Option('Left', 'left')),\r\n i.options.add(new Option('Right', 'right')),\r\n i.options.add(new Option('Up', 'up')),\r\n i.options.add(new Option('Down', 'down'))),\r\n (i.style.marginRight = '.5em'),\r\n (i.style.marginTop = '.5em'),\r\n (i.style.float = 'left'),\r\n ye.appendChild(i),\r\n (i.onchange = function(e) {\r\n if ('-1' == this.value) return !1;\r\n 'back' == this.value && Ft(),\r\n 'out' == this.value && $e(),\r\n 'in' == this.value && Ke(),\r\n 'left' == this.value && et('-.25', 'x'),\r\n 'right' == this.value && et('.25', 'x'),\r\n 'up' == this.value && et('-.25', 'y'),\r\n 'down' == this.value && et('.25', 'y'),\r\n setTimeout(function() {\r\n i.value = '-1';\r\n }, 1e3);\r\n });\r\n }\r\n var n = void 0 === _.states_title ? 'States' : _.states_title,\r\n a = void 0 === _.regions_title ? 'Regions' : _.regions_title,\r\n r = void 0 === _.locations_title ? 'Locations' : _.locations_title,\r\n s = {\r\n state: { title: n, array: ht },\r\n location: { title: r, array: kt },\r\n region: { title: a, array: ft },\r\n };\r\n for (var l in s) {\r\n var c = s[l],\r\n m = t.indexOf(l) > -1,\r\n u = Object.size(c.array);\r\n if (!(u < 1 || (u < 2 && 'region' == l) || m)) {\r\n var p = document.createElement('select');\r\n p.options.add(new Option(c.title, '-1')),\r\n (p.style.marginRight = '.5em'),\r\n (p.style.marginTop = '.5em'),\r\n (p.style.float = 'left');\r\n var d = [];\r\n for (var h in c.array) d.push(c.array[h]);\r\n var f = d.sort(function(e, t) {\r\n e.sm.name, t.sm.name;\r\n });\r\n for (h = 0; h < f.length; h++) {\r\n var v = f[h];\r\n 'out' == v.sm.type || v.sm.inactive || v.sm.hide || p.options.add(new Option(v.sm.name, v.sm.id));\r\n }\r\n (p.onchange = o.callback_closure({ entry: c, dropdown: p }, function(e) {\r\n var t = e.dropdown,\r\n o = e.entry;\r\n if ('-1' == t.value) return !1;\r\n var i = o.array[t.value],\r\n n = i.sm.type,\r\n a = function() {\r\n var e = i.sm.on_click;\r\n (i.sm.on_click = !0),\r\n (i.sm.content = Fo(i)),\r\n si(i.sm.type, i.sm.id, function() {\r\n (i.sm.on_click = e), (i.sm.content = Fo(i));\r\n });\r\n };\r\n if ('state' == n) {\r\n function r() {\r\n i.sm.zoomable || i.sm.region ? ii(i.sm.id, a) : a();\r\n }\r\n Gt(z, r);\r\n } else if ('location' == n) {\r\n function r() {\r\n ai(i.sm.id, 4, a);\r\n }\r\n Gt(z, r);\r\n } else if ('region' == n) {\r\n function r() {\r\n ni(i.sm.bbox, 1, a);\r\n }\r\n Gt(z, r);\r\n }\r\n })),\r\n ye.appendChild(p);\r\n }\r\n }\r\n })(),\r\n (function() {\r\n if (!(!i.legend || !i.legend.entries || i.legend.entries.length < 1 || (ne && ie))) {\r\n var e = {};\r\n (map_legend.style.left = '0em'),\r\n (map_legend.style.bottom = '0em'),\r\n (map_legend.style.padding = '.8em'),\r\n (map_legend.style['background-color'] = ne ? '#ffffff' : 'rgba(186, 186, 186, 0.2)');\r\n var t = document.createElement('ul');\r\n (t.style.display = 'inline'),\r\n (t.style['list-style-type'] = 'none'),\r\n (t.style.margin = '0'),\r\n (t.style.padding = '0'),\r\n map_legend.appendChild(t);\r\n var n =\r\n '#' +\r\n ce +\r\n '_holder .sm_legend_item{float: left; cursor: pointer; margin-right: .75em} #' +\r\n ce +\r\n '_holder{font: ' +\r\n oe +\r\n ';}';\r\n o.new_style(n);\r\n for (var a = i.legend.entries, r = 0; r < a.length; r++) m(r, a[r]);\r\n var s = i.legend.html;\r\n s && 'no' != s\r\n ? (map_legend.innerHTML = s)\r\n : (function() {\r\n for (var e in a) {\r\n var o = a[e];\r\n (o.shape = o.shape ? o.shape : 'circle'),\r\n (o.color = o.color ? o.color : '#cecece'),\r\n (o.type = o.type ? o.type : 'location');\r\n var i = document.createElement('li');\r\n i.setAttribute('class', 'sm_legend_item'), i.setAttribute('data-id', e);\r\n var n = document.createElementNS('http://www.w3.org/2000/svg', 'svg');\r\n if (\r\n (n.setAttributeNS(\r\n 'http://www.w3.org/2000/xmlns/',\r\n 'xmlns:xlink',\r\n 'http://www.w3.org/1999/xlink'\r\n ),\r\n (n.style.display = 'inline-block'),\r\n (n.style['margin-right'] = '.2em'),\r\n (n.style.width = '1em'),\r\n (n.style.height = '1em'),\r\n (n.style.stoke = '#ffffff'),\r\n (n.style['stoke-width'] = '3'),\r\n (n.style.fill = '#ff0067'),\r\n (n.style['vertical-align'] = '-0.15em'),\r\n 'circle' == o.shape)\r\n )\r\n (r = document.createElementNS('http://www.w3.org/2000/svg', 'circle')).setAttribute(\r\n 'cx',\r\n '50'\r\n ),\r\n r.setAttribute('cy', '50'),\r\n r.setAttribute('r', '40');\r\n else if ('square' == o.shape)\r\n (r = document.createElementNS('http://www.w3.org/2000/svg', 'rect')).setAttribute(\r\n 'x',\r\n '10'\r\n ),\r\n r.setAttribute('y', '10'),\r\n r.setAttribute('width', '80'),\r\n r.setAttribute('height', '80');\r\n else {\r\n var r,\r\n s = Qt[o.shape];\r\n (r = document.createElementNS('http://www.w3.org/2000/svg', 'path')).setAttribute('d', s),\r\n n.setAttribute('width', '1.5'),\r\n n.setAttribute('height', '1.5'),\r\n r.setAttribute('stroke-width', '.1');\r\n }\r\n ['square', 'circle'].indexOf(o.shape) > -1\r\n ? (r.setAttribute('stroke-width', '10'),\r\n n.setAttribute('viewBox', '0 0 100 100'),\r\n n.setAttribute('width', '100'),\r\n n.setAttribute('height', '100'))\r\n : ['diamond', 'star'].indexOf(o.shape) > -1\r\n ? (n.setAttribute('viewBox', '-.5 -.6 1 1.2'), n.setAttribute('height', '1.8'))\r\n : ['triangle'].indexOf(o.shape) > -1\r\n ? (n.setAttribute('viewBox', '-.6 -.7 1.2 1.1'),\r\n n.setAttribute('width', '1.8'),\r\n n.setAttribute('height', '1.8'))\r\n : ['heart'].indexOf(o.shape) > -1\r\n ? (n.setAttribute('viewBox', '-.7 -.5 1.3 1'), n.setAttribute('width', '2'))\r\n : ['marker'].indexOf(o.shape) > -1 &&\r\n (n.setAttribute('viewBox', '-.6 -.9 1.1 .8'),\r\n n.setAttribute('width', '1.7'),\r\n n.setAttribute('height', '1.7')),\r\n r.setAttribute('fill', o.color),\r\n r.setAttribute('stroke', 'white'),\r\n n.appendChild(r),\r\n i.appendChild(n);\r\n var l = document.createTextNode(o.name);\r\n i.appendChild(l), t.appendChild(i);\r\n }\r\n })();\r\n var l = fe.getElementsByClassName('sm_legend_item');\r\n for (r = 0; r < l.length; r++) o.addEvent(l[r], 'mouseover', c), o.addEvent(l[r], 'mousedown', c);\r\n }\r\n function c() {\r\n var t = this.dataset.id,\r\n o = e[t];\r\n for (var i in o) {\r\n var n = o[i].sm;\r\n ('state' == n.type ? Et : li)(n.id);\r\n }\r\n }\r\n function m(t, o) {\r\n e[t] = [];\r\n var i = 'state' == o.type ? ht : kt;\r\n for (var n in i) {\r\n var a = i[n];\r\n o.ids\r\n ? o.ids.split(',').indexOf(a.sm.id) > -1 && e[t].push(a)\r\n : a.sm.attributes.fill != o.color || a.sm.hide || e[t].push(a);\r\n }\r\n }\r\n })(),\r\n zo(),\r\n Go(),\r\n Rt.create(),\r\n Xo(),\r\n Jo(),\r\n $o(),\r\n yi(),\r\n uo('complete', []),\r\n o.isFunction(t) && t(),\r\n io();\r\n }, 1));\r\n }\r\n function oi(e, t) {\r\n Oo(ft[e], !1, t);\r\n }\r\n function ii(e, t) {\r\n Oo(ht[e], !1, t);\r\n }\r\n function ni(e, t, o) {\r\n void 0 === t && (t = 4),\r\n void 0 === o && (o = function() {}),\r\n Oo({ sm: { type: 'manual', zp: t, bbox: e } }, !1, function() {\r\n o(), Ue.show();\r\n });\r\n }\r\n function ai(e, t, o) {\r\n void 0 === t && (t = 4), void 0 === o && (o = function() {});\r\n var i = { sm: { type: 'manual', zp: t } },\r\n n = kt[e],\r\n a = n.sm.size * we * t,\r\n r = (a * ze) / ke,\r\n s = n.sm.x - 0.5 * a,\r\n l = n.sm.y - 0.5 * r,\r\n c = a / (ke * we);\r\n (i.sm.zooming_dimensions = { x: s, y: l, w: a, h: r, r: c }),\r\n Oo(i, !1, function() {\r\n o(), Ue.show();\r\n });\r\n }\r\n function ri() {\r\n Jt && St.call(Jt), k && ((k = !1), re || (Rt.hide(), (M = !1)));\r\n }\r\n function si(t, o, i) {\r\n if ((void 0 === i && (i = function() {}), 'state' == t)) var n = ht[o];\r\n else if ('region' == t) n = ft[o];\r\n else n = kt[o];\r\n var a = n.sm.on_click,\r\n r = vt.sm.zooming_dimensions;\r\n if ('location' != t) {\r\n var s = n.sm.bbox,\r\n l = 0.5 * (s.x + s.x2),\r\n c = 0.5 * (s.y + s.y2);\r\n (l *= we), (c *= we);\r\n } else (l = n.sm.x), (c = n.sm.y);\r\n var m = (l - r.x) / Ae,\r\n u = (c - r.y) / Ae,\r\n p = m > 1.1 * be || u > 1.1 * xe,\r\n d = !n.sm.region && 'region' == e.zoom_level;\r\n return p || d\r\n ? oi('-1', function() {\r\n si(t, o, i);\r\n })\r\n : n.sm.region && 'out' == e.zoom_level\r\n ? oi(n.sm.region, function() {\r\n si(t, o, i);\r\n })\r\n : ((k = !0), a ? Ct.call(n) : Tt.call(n), Rt.reset_pos(m, u, n), (h = !0), (k = !1), i(), !0);\r\n }\r\n function li(e) {\r\n var t = kt[e];\r\n t && Mt(t, !0);\r\n }\r\n function ci() {\r\n Rt.hide(), (M = !1), re ? St.call(z) : Jt && St.call(Jt);\r\n }\r\n function mi(e, t) {\r\n lt(e);\r\n var i = ht[e].sm.labels;\r\n _t(e);\r\n for (var n = 0; n < i.length; n++) {\r\n var a = i[n].sm.id;\r\n ct(a), xt(a);\r\n }\r\n o.isFunction(t) && t();\r\n }\r\n function ui() {\r\n (co = !0), Rt.hide();\r\n }\r\n function pi() {\r\n co = !1;\r\n }\r\n function di() {\r\n mo = !0;\r\n }\r\n function _i() {\r\n mo = !1;\r\n }\r\n function hi(e) {\r\n Ft(e);\r\n }\r\n function fi(e) {\r\n Et(e);\r\n }\r\n function vi() {\r\n (e.calibrate = Bo),\r\n (e.get_xy = oo),\r\n (e.proj = bo),\r\n (e.load = ti),\r\n (e.region_zoom = oi),\r\n (e.state_zoom = ii),\r\n (e.zoom_in = !1),\r\n (e.zoom_out = !1),\r\n (e.location_zoom = ai),\r\n (e.back = hi),\r\n (e.popup = si),\r\n (e.pulse = li),\r\n (e.pulse_state = fi),\r\n (e.popup_hide = ci),\r\n (e.zoom_level = 'out'),\r\n (e.ignore_clicks = !1),\r\n (e.zoom_level_id = !1),\r\n (e.disable_urls = di),\r\n (e.enable_urls = _i),\r\n (e.disable_popups = ui),\r\n (e.enable_popups = pi),\r\n (e.refresh = ei),\r\n (e.refresh_state = mi),\r\n (e.loaded = !0),\r\n (e.trial = r);\r\n }\r\n function yi() {\r\n (e.states = ht), (e.regions = ft), (e.locations = kt), (e.labels = gt), (e.tooltip = Rt);\r\n }\r\n }\r\n (window[e] = u),\r\n t.docReady(function() {\r\n if (\r\n ((function(e, t) {\r\n (n = u.hooks[e]) && n.apply(null, t);\r\n for (var o = u.plugin_hooks[e], i = 0; i < o.length; i++) {\r\n var n;\r\n (n = o[i]) && n.apply(null, t);\r\n }\r\n })('ready'),\r\n !window[e].loaded)\r\n )\r\n for (var t = 0; t < c.length; t++) {\r\n var o = c[t];\r\n !(!o || !o.mapdata || 'no' == o.mapdata.main_settings.auto_load) &&\r\n (function(e) {\r\n setTimeout(function() {\r\n e.load();\r\n }, 1);\r\n })(o);\r\n }\r\n }),\r\n c.push(u);\r\n};\r\n","import React, { Component } from 'react';\r\n\r\nimport { map } from 'lodash';\r\nimport { GetHandleProps, Handles, Rail, SliderItem, Tracks } from 'react-compound-slider';\r\n\r\nimport {\r\n CustomSliderWrapper,\r\n MainWrapper,\r\n RailHandle,\r\n RailHandleWithCustomSVG,\r\n RailTrack,\r\n SliderRail,\r\n} from './CustomSliderStyles';\r\n\r\ninterface ComponentState {\r\n values: number[];\r\n domain: number[];\r\n step: number;\r\n disabled?: boolean;\r\n mode?: number;\r\n}\r\n\r\ninterface ComponentProps {\r\n id: string;\r\n values: number[];\r\n domain: number[];\r\n step?: number;\r\n disabled?: boolean;\r\n onChange?: (values: number[]) => void;\r\n onUpdate?: (values: number[]) => void;\r\n mode?: number;\r\n customHandleComponent?: JSX.Element;\r\n}\r\n\r\nconst Track = (props: any) => ;\r\n\r\nexport class CustomSlider extends Component {\r\n constructor(props: ComponentProps) {\r\n super(props);\r\n this.state = {\r\n values: this.props.values,\r\n domain: this.props.domain,\r\n step: this.props.step ? this.props.step : 1,\r\n disabled: this.props.disabled,\r\n mode: this.props.mode ?? 2,\r\n };\r\n }\r\n\r\n static getDerivedStateFromProps(props: ComponentProps) {\r\n return {\r\n values: props.values,\r\n step: props.step,\r\n domain: props.domain,\r\n };\r\n }\r\n\r\n handleUpdate = (values: number[]) => {\r\n if (this.props.onUpdate) {\r\n this.props.onUpdate(values);\r\n }\r\n };\r\n\r\n handleChange = (values: number[]) => {\r\n if (this.props.onChange) {\r\n this.props.onChange(values);\r\n }\r\n };\r\n\r\n render() {\r\n return (\r\n \r\n \r\n {({ getRailProps }) => }\r\n \r\n {({ handles, getHandleProps }) => (\r\n
\r\n {map(handles, (handle) => (\r\n \r\n ))}\r\n
\r\n )}\r\n
\r\n \r\n {({ tracks, getTrackProps }) => (\r\n
\r\n {map(tracks, ({ id, source, target }) => (\r\n \r\n ))}\r\n
\r\n )}\r\n
\r\n \r\n
\r\n );\r\n }\r\n}\r\n\r\ninterface HandleProps {\r\n handle: SliderItem;\r\n getHandleProps: GetHandleProps;\r\n id: string;\r\n disabled?: boolean;\r\n customHandleComponent?: JSX.Element;\r\n}\r\n\r\nconst Handle = (props: HandleProps) => {\r\n const componentProps = {\r\n id: props.id,\r\n disabled: !!props.disabled,\r\n handle: props.handle,\r\n ...props.getHandleProps(props.handle.id),\r\n };\r\n\r\n if (props.customHandleComponent) {\r\n return {props.customHandleComponent};\r\n }\r\n return ;\r\n};\r\n","import { Slider, SliderItem } from 'react-compound-slider';\r\nimport styled, { css } from 'styled-components';\r\n\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const MainWrapper = styled.div`\r\n display: flex;\r\n padding: 0 15px;\r\n width: calc(100% - 30px);\r\n height: 50px;\r\n`;\r\n\r\nexport const CustomSliderWrapper = styled(Slider)`\r\n && {\r\n width: 100%;\r\n margin-top: 23px;\r\n position: relative;\r\n }\r\n`;\r\n\r\nexport const SliderRail = withTheme()(styled.div`\r\n position: absolute;\r\n width: inherit;\r\n background: ${(props: ThemeProps) => props.theme.palette.background.smoke};\r\n border-radius: 1px;\r\n height: 4px;\r\n cursor: pointer;\r\n`);\r\n\r\ntype RailHandleProps = { disabled: boolean; handle: SliderItem } & ThemeProps;\r\n\r\nexport const RailHandleWithCustomSVG = withTheme()(styled.div`\r\n left: ${(props: RailHandleProps) => props.handle.percent}%;\r\n position: absolute;\r\n margin-top: -10px;\r\n margin-left: ${(props: RailHandleProps) => (props.handle.percent === 0 ? '-4px' : '-14px')};\r\n z-index: 2;\r\n cursor: pointer;\r\n ${(props: RailHandleProps) =>\r\n !props.disabled &&\r\n css`\r\n &:after {\r\n display: block;\r\n content: '';\r\n height: 18px;\r\n width: 16px;\r\n border-radius: 50%;\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n opacity: 0.2;\r\n border: 0 solid ${props.theme.palette.primary.main};\r\n transition: all 0.1s;\r\n }\r\n `};\r\n\r\n &:active {\r\n &:after {\r\n border-width: 12px;\r\n top: -10px;\r\n left: -12px;\r\n }\r\n }\r\n`);\r\n\r\nexport const RailHandle = withTheme()(styled.div`\r\n left: ${(props: RailHandleProps) => props.handle.percent}%;\r\n position: absolute;\r\n margin-left: -12px;\r\n margin-top: -11px;\r\n z-index: 2;\r\n width: 23px;\r\n height: 23px;\r\n border: 1px solid\r\n ${(props: RailHandleProps) =>\r\n props.disabled ? props.theme.palette.background.smoke : props.theme.palette.primary.main};\r\n cursor: pointer;\r\n border-radius: 50%;\r\n background-color: ${(props: RailHandleProps) => props.theme.palette.background.white};\r\n\r\n ${(props: RailHandleProps) =>\r\n !props.disabled &&\r\n css`\r\n &:after {\r\n display: block;\r\n content: '';\r\n height: 23px;\r\n width: 23px;\r\n border-radius: 50%;\r\n position: absolute;\r\n left: 0;\r\n top: 0;\r\n opacity: 0.2;\r\n border: 0 solid ${props.theme.palette.primary.main};\r\n transition: all 0.1s;\r\n }\r\n `};\r\n\r\n &:active {\r\n &:after {\r\n border-width: 12px;\r\n top: -12px;\r\n left: -12px;\r\n }\r\n }\r\n`);\r\n\r\nexport const RailTrack = withTheme()(styled.div`\r\n left: ${(props: any) => props.source.percent}%;\r\n position: absolute;\r\n z-index: 1;\r\n width: ${(props: any) => props.target.percent - props.source.percent}%;\r\n height: 4px;\r\n cursor: pointer;\r\n background-color: ${(props: any) =>\r\n props.disabled ? props.theme.palette.background.smoke : props.theme.palette.primary.main};\r\n`);\r\n","import React, { useEffect, useState } from 'react';\r\n\r\nimport {\r\n lengthDomain,\r\n MAX_TRUCK_LENGTH,\r\n MAX_TRUCK_WEIGHT,\r\n weightDomain,\r\n weightDomain500,\r\n weightDomainMinus500,\r\n} from '@common/model';\r\nimport { CustomSlider } from '@component/slider/CustomSlider';\r\nimport {\r\n StyledPaddedColumn,\r\n StyledSliderResults,\r\n StyledSubHeader,\r\n} from '@component/truckAndLoadForm/TruckAndLoadFormStyles';\r\nimport { T, t } from '@translate';\r\nimport {\r\n displayLength,\r\n displayWeight,\r\n stepLength,\r\n stepWeight,\r\n stepWeight500,\r\n stepWeightMinus500,\r\n} from '@util/TruckDataHelper';\r\n\r\ninterface WeightLengthSlidersProps {\r\n weight: number | undefined;\r\n length: number | undefined;\r\n onChangeLength: (range: number[]) => void;\r\n onChangeWeight: (range: number[]) => void;\r\n areSlidersDisabled: boolean;\r\n isPowerOnly: boolean;\r\n}\r\n\r\nexport const WeightLengthSliders: React.FC = (props) => {\r\n const getLengthValue = () => {\r\n return props.length ? [props.length] : [MAX_TRUCK_LENGTH];\r\n };\r\n const getWeightValue = () => {\r\n return props.weight ? [props.weight] : [MAX_TRUCK_WEIGHT];\r\n };\r\n\r\n const [weight, setWeight] = useState(getWeightValue());\r\n const [length, setLength] = useState(getLengthValue());\r\n\r\n useEffect(() => {\r\n if (props.length) {\r\n setLength([props.length]);\r\n }\r\n }, [props.length]);\r\n\r\n useEffect(() => {\r\n if (props.weight) {\r\n setWeight([props.weight]);\r\n }\r\n }, [props.weight]);\r\n\r\n return (\r\n \r\n {t(T.findLoads_findLoads_length)}\r\n {displayLength(length[0], props.isPowerOnly)}\r\n \r\n {t(T.findLoads_findLoads_weight)}\r\n {displayWeight(weight[0], props.isPowerOnly)}\r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { connect } from 'react-redux';\r\nimport { Action, bindActionCreators, Dispatch } from 'redux';\r\n\r\nimport { SnackbarOrigin } from '@material-ui/core/es/Snackbar';\r\n\r\nimport { dismissSnackbar, SnackbarState } from '@/reduxStore/reducer/SnackbarReducer';\r\nimport { StoreState } from '@/reduxStore/Store';\r\n\r\nimport SnackbarContent from './SnackbarContent';\r\nimport { SnackBarWrapper } from './SnackbarContentStyle';\r\n\r\ninterface DispatchProps {\r\n dismissSnackbar: () => void;\r\n}\r\n\r\ninterface ReduxProps {\r\n snackbar: SnackbarState;\r\n}\r\ntype Props = DispatchProps & ReduxProps;\r\nclass Snackbar extends React.Component {\r\n handleCloseSnackbar = () => {\r\n if (this.props.snackbar.dismissSnackbar) {\r\n this.props.snackbar.dismissSnackbar();\r\n }\r\n this.props.dismissSnackbar();\r\n };\r\n\r\n render() {\r\n const {\r\n position = { vertical: 'bottom', horizontal: 'right' },\r\n message,\r\n variant = 'large',\r\n open,\r\n hideDuration,\r\n } = this.props.snackbar;\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nconst mapDispatchToProps = (dispatch: Dispatch): DispatchProps =>\r\n bindActionCreators(\r\n {\r\n dismissSnackbar: dismissSnackbar,\r\n },\r\n dispatch\r\n );\r\n\r\nconst mapStateToProps = (state: StoreState): ReduxProps => {\r\n return { snackbar: state.snackbarState };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Snackbar);\r\n","import React from 'react';\r\n\r\nimport { IconButton } from '@material-ui/core';\r\n\r\nimport { Content, CustomIcon, Message, Submit } from '@component/snack/SnackbarContentStyle';\r\nimport { t, T } from '@translate';\r\n\r\ninterface Props {\r\n message: string;\r\n variant: string;\r\n\r\n onClose: () => void;\r\n}\r\n\r\nclass SnackbarContent extends React.Component {\r\n render() {\r\n const { message, onClose, variant, ...other } = this.props;\r\n\r\n return (\r\n \r\n \r\n {message}\r\n \r\n }\r\n action={[\r\n \r\n {t(T.common_ok)}\r\n ,\r\n ]}\r\n {...other}\r\n />\r\n );\r\n }\r\n}\r\n\r\nexport default SnackbarContent;\r\n","import styled from 'styled-components';\r\n\r\nimport { Icon, Snackbar, SnackbarContent } from '@material-ui/core';\r\n\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\nimport { MediaQueries } from '@util/MediaQueries';\r\n\r\nexport const Message = styled.span`\r\n text-align: left;\r\n font-size: 16px;\r\n`;\r\n\r\nexport const Submit = withTheme()(styled.span`\r\n margin: 0 20px;\r\n text-align: center;\r\n font-size: 16px;\r\n font-weight: bold;\r\n color: ${(props: ThemeProps) => props.theme.palette.background.accent};\r\n`);\r\n\r\nexport const Content = withTheme()(styled(SnackbarContent)`\r\n && {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.background.strong};\r\n display: grid;\r\n grid-template-columns: 1fr auto;\r\n }\r\n`);\r\n\r\nexport const SnackBarWrapper = styled(Snackbar)`\r\n && {\r\n @media ${MediaQueries.sm} {\r\n left: auto;\r\n right: 24px;\r\n bottom: 24px;\r\n > div {\r\n min-width: 288px;\r\n max-width: 468px;\r\n border-radius: 4px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nexport const CustomIcon = styled(Icon)`\r\n opacity: 0.9;\r\n font-size: 20;\r\n`;\r\n","import React from 'react';\r\n\r\nimport { DocumentsContext } from '@common/redux/epic/DocumentListEpic';\r\nimport { useOpenDocumentWithFolder } from '@component/panels/findLoads/loadDetailsPanel/ManageDocuments';\r\nimport { ActionButton, Left, ManageLineContainer, ManageLineTitle, Right } from '@component/statusBar/StatusBarStyle';\r\nimport { useSelector } from '@util/hooks';\r\n\r\ninterface ManageLineProps {\r\n title: string;\r\n actionTitle: string;\r\n isManageAvailable: boolean;\r\n isFromMyLoads?: boolean;\r\n}\r\n\r\nexport const ManageLine: React.FC = (props) => {\r\n const folderIdentifier = useSelector((state) => state.documents.loadDetailsDocuments.loadFolderIdentifier);\r\n\r\n const context = props.isFromMyLoads ? DocumentsContext.STANDALONE_LOADDETAILS : DocumentsContext.DEFAULT;\r\n const openDocumentsWithFolder = useOpenDocumentWithFolder(props.isFromMyLoads, context);\r\n\r\n const openMyDocuments = () => openDocumentsWithFolder(folderIdentifier);\r\n return (\r\n \r\n \r\n {props.title}\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n","import React, { RefObject } from 'react';\r\n\r\nimport { cloneDeep, find, findIndex, isEqual, map } from 'lodash';\r\nimport moment from 'moment';\r\nimport { connect } from 'react-redux';\r\nimport { Action, bindActionCreators, Dispatch } from 'redux';\r\n\r\nimport { CircularProgress } from '@material-ui/core';\r\nimport StepLabel from '@material-ui/core/StepLabel';\r\n\r\nimport { showSnackbar, SnackbarProps } from '@/reduxStore/reducer/SnackbarReducer';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { Routes } from '@/router/Routes';\r\nimport { getLoadProgress } from '@common/helper';\r\nimport {\r\n getFileActionTitle,\r\n hasBOLorLumpers,\r\n hasProofOfDelivery,\r\n hasRateConfirmation,\r\n} from '@common/helper/DocumentHelper';\r\nimport { loadProgressLabelMap } from '@common/helper/ProgressHelper';\r\nimport {\r\n CustomFolder,\r\n Document,\r\n DocumentFilters,\r\n LoadProgress,\r\n QuoteListResponse,\r\n QuoteRequest,\r\n QuoteType,\r\n} from '@common/model';\r\nimport { Load, LoadStatus } from '@common/model/Load';\r\nimport { VhubEvent } from '@common/model/Tracking';\r\nimport { createDefaultDocumentFilters, DocumentsContext } from '@common/redux/epic/DocumentListEpic';\r\nimport { fetchDocuments } from '@common/redux/epic/DocumentsEpic';\r\nimport { LoadInfo, saveLoad, setProgress } from '@common/redux/epic/LoadInfoEpic';\r\nimport {\r\n fetchGetPaidFasterQuote,\r\n fetchMostRecentQuoteForLoad,\r\n LoadQuotesState,\r\n postFuelAdvanceQuote,\r\n postGetPaidFasterQuote,\r\n QuoteState,\r\n} from '@common/redux/epic/QuoteEpic';\r\nimport { UserState } from '@common/redux/epic/UserEpic';\r\nimport { createVhubBookingTrackData } from '@common/util/123lbBaseTracker';\r\nimport { ExpansionPanel } from '@component/expansionPanel/ExpansionPanel';\r\nimport { Title } from '@component/expansionPanel/ExpansionPanelStyle';\r\nimport { LoadContactCallbackProps } from '@component/panels/findLoads/loadDetailsPanel/buttons/ContactButtons';\r\nimport { VhubBookWithPopup } from '@component/panels/findLoads/loadDetailsPanel/buttons/VhubBookWithButton';\r\nimport { PopupSizes, PopupTracking, withPopups } from '@component/popup/PopupTrackingContext';\r\nimport { default as StatusBarIcon } from '@component/statusBar/icon-status.svg';\r\nimport { ManageLine } from '@component/statusBar/ManageLine';\r\nimport {\r\n showFuelAdvanceInfoPopup,\r\n showGetPaidFasterInfoPopup,\r\n showQuoteResponsePopup,\r\n showUnBookPopup,\r\n} from '@component/statusBar/StatusBarPopups';\r\nimport { Color } from '@style/Color';\r\nimport { T, t } from '@translate';\r\nimport icons from '@util/iconsConstants';\r\nimport { track } from '@util/trackers/123lbTracker';\r\n\r\nimport { default as SelectedSVG } from './selected.svg?react';\r\nimport { StatusBarContactOptions } from './StatusBarContactOptions';\r\nimport {\r\n ActionButton,\r\n BottomStepper,\r\n CheckBoxRow,\r\n ColumnWrapper,\r\n Description,\r\n Label,\r\n LabelSent,\r\n Left,\r\n QontoConnector,\r\n QontoConnectorVertical,\r\n QontoStep,\r\n Right,\r\n Row,\r\n StepCheckbox,\r\n StepDescriptionBlock,\r\n SubTitleContainer,\r\n WrapperLabelSent,\r\n} from './StatusBarStyle';\r\nimport { default as UnselectedSVG } from './unselected.svg?react';\r\n\r\ninterface DispatchProps {\r\n setProgress: (loadId: string, progress: LoadProgress) => void;\r\n fetchGetPaidFasterQuote: () => void;\r\n postFuelAdvanceQuote: (request: QuoteRequest) => void;\r\n postGetPaidFasterQuote: (quoteRequest: QuoteRequest) => void;\r\n fetchMostRecentQuoteForLoad: (id: string) => void;\r\n showSnackbar(snackbarContents: SnackbarProps): void;\r\n saveLoad: (loadID: string, save: boolean) => void;\r\n fetchDocuments: (context: DocumentsContext, filters: DocumentFilters) => void;\r\n}\r\n\r\ninterface ReduxProps {\r\n user: UserState;\r\n isMenuOpen: boolean;\r\n fuelAdvanceQuote: QuoteState;\r\n getPaidFasterQuoteState: QuoteState;\r\n loadQuotes: LoadQuotesState;\r\n documents: Document[];\r\n loadFolderIdentifier: CustomFolder | undefined;\r\n loadInfo?: LoadInfo;\r\n isDocumentsLoading: boolean;\r\n}\r\n\r\ninterface ComponentProps extends LoadContactCallbackProps {\r\n currentLoad: Load;\r\n isLoadCalled: boolean;\r\n width: number;\r\n isOpenDetails: boolean;\r\n onExpand: () => void;\r\n statusBarRef: RefObject;\r\n popupContext?: PopupTracking;\r\n isFromMyLoads?: boolean;\r\n shouldShowPost: boolean;\r\n onPostClick: () => void;\r\n isOriginMessaging: boolean;\r\n isOriginBids: boolean;\r\n}\r\n\r\ntype Props = DispatchProps & ReduxProps & ComponentProps;\r\n\r\ninterface Step {\r\n id: string;\r\n label: string;\r\n value: LoadProgress;\r\n isChecked: boolean;\r\n isLoading: boolean;\r\n}\r\n\r\ninterface State {\r\n activeStep: number;\r\n steps: Step[];\r\n preparedStep?: {\r\n step: number;\r\n value: boolean;\r\n };\r\n}\r\n\r\nclass StatusBarComponent extends React.Component {\r\n constructor(props: Props) {\r\n super(props);\r\n this.state = {\r\n activeStep: -1,\r\n steps: [\r\n {\r\n label: t(T.findLoads_findLoads_stepsStatusBar_0),\r\n value: LoadProgress.LoadAvailable,\r\n isChecked: true,\r\n isLoading: false,\r\n id: 'load_available',\r\n },\r\n {\r\n label: t(T.findLoads_findLoads_stepsStatusBar_1),\r\n value: LoadProgress.Booked,\r\n isChecked: false,\r\n isLoading: false,\r\n id: 'booked',\r\n },\r\n {\r\n label: t(T.findLoads_findLoads_stepsStatusBar_3),\r\n value: LoadProgress.PickupComplete,\r\n isChecked: false,\r\n isLoading: false,\r\n id: 'pickup_complete',\r\n },\r\n {\r\n label: t(T.findLoads_findLoads_stepsStatusBar_5),\r\n value: LoadProgress.Delivered,\r\n isChecked: false,\r\n isLoading: false,\r\n id: 'delivered',\r\n },\r\n ],\r\n };\r\n }\r\n\r\n componentDidMount() {\r\n const { currentLoad } = this.props;\r\n this.props.fetchGetPaidFasterQuote();\r\n if (currentLoad) {\r\n this.props.fetchMostRecentQuoteForLoad(currentLoad.id);\r\n }\r\n this.updateActiveSteps();\r\n }\r\n\r\n componentDidUpdate(prevProps: Readonly) {\r\n if (\r\n !isEqual(prevProps.fuelAdvanceQuote.isPostLoading, this.props.fuelAdvanceQuote.isPostLoading) &&\r\n !this.props.fuelAdvanceQuote.isPostLoading &&\r\n this.props.popupContext\r\n ) {\r\n showQuoteResponsePopup(this.props.fuelAdvanceQuote, this.props.popupContext, Routes.TOOLS_SAVE_AT_THE_PUMP);\r\n }\r\n if (\r\n !isEqual(prevProps.getPaidFasterQuoteState.isPostLoading, this.props.getPaidFasterQuoteState.isPostLoading) &&\r\n !this.props.getPaidFasterQuoteState.isPostLoading &&\r\n this.props.popupContext\r\n ) {\r\n showQuoteResponsePopup(this.props.getPaidFasterQuoteState, this.props.popupContext, Routes.TOOLS_GET_PAID_FASTER);\r\n }\r\n if (prevProps.currentLoad.metadata?.userdata?.progress !== this.props.currentLoad.metadata?.userdata?.progress) {\r\n this.updateActiveSteps();\r\n }\r\n if (this.props.loadFolderIdentifier && prevProps.loadFolderIdentifier?.id !== this.props.loadFolderIdentifier.id) {\r\n this.props.fetchDocuments(DocumentsContext.STANDALONE_LOADDETAILS, {\r\n ...createDefaultDocumentFilters(),\r\n folder: {\r\n id: this.props.loadFolderIdentifier.id,\r\n type: 'CustomFolder',\r\n name: this.props.loadFolderIdentifier.name,\r\n },\r\n });\r\n }\r\n if (this.props.loadInfo?.isProgressUpdating !== prevProps.loadInfo?.isProgressUpdating) {\r\n const cSteps = cloneDeep(this.state.steps);\r\n cSteps[this.state.activeStep].isLoading = this.props.loadInfo?.isProgressUpdating ?? false;\r\n this.setState({ steps: cSteps });\r\n }\r\n\r\n if (this.props.loadInfo?.progressUpdateTime !== prevProps.loadInfo?.progressUpdateTime) {\r\n this.props.showSnackbar({\r\n message: this.props.loadInfo?.isUpdatingSuccess\r\n ? t(T.common_load_Status_updated)\r\n : t(T.common_load_Status_not_updated),\r\n });\r\n this.updateActiveSteps();\r\n }\r\n }\r\n\r\n updateActiveSteps = () => {\r\n const progress = getLoadProgress(this.props.currentLoad);\r\n if (!progress) {\r\n this.setState({ activeStep: -1 });\r\n return;\r\n }\r\n const activeStep = findIndex(this.state.steps, (step) => step.value === progress);\r\n const cSteps = map(this.state.steps, (step, index) => ({ ...step, isChecked: index <= activeStep }));\r\n if (this.state.activeStep !== -1 && this.state.activeStep !== activeStep) {\r\n cSteps[this.state.activeStep].isLoading = false;\r\n }\r\n this.setState({ activeStep: activeStep, steps: cSteps });\r\n };\r\n\r\n sendFuelAdvanceRequest = () => {\r\n const user = getUserDataForQuotesRequest(this.props.user);\r\n if (user && this.props.currentLoad) {\r\n this.props.postFuelAdvanceQuote({\r\n ...user,\r\n loadId: this.props.currentLoad.id,\r\n });\r\n }\r\n };\r\n\r\n sendPayFasterRequest = () => {\r\n const user = getUserDataForQuotesRequest(this.props.user);\r\n if (user && this.props.currentLoad) {\r\n this.props.postGetPaidFasterQuote({\r\n ...user,\r\n loadId: this.props.currentLoad.id,\r\n });\r\n }\r\n };\r\n\r\n prepareStep = (step: number) => (e: React.SyntheticEvent, checked: boolean) => {\r\n const preparedStep = {\r\n step: step,\r\n value: checked,\r\n };\r\n if (this.state.steps.length === step + 1 || (this.state.steps[step + 1] && !this.state.steps[step + 1].isChecked)) {\r\n this.setState({ preparedStep: preparedStep }, () => {\r\n switch (step) {\r\n case 1: {\r\n if (checked) {\r\n this.setStep();\r\n } else {\r\n showUnBookPopup(this.setStep, this.props.popupContext);\r\n }\r\n break;\r\n }\r\n // fall through\r\n default: {\r\n this.setStep();\r\n }\r\n }\r\n });\r\n }\r\n };\r\n\r\n setStep = () => {\r\n const { preparedStep, steps } = this.state;\r\n const currentLoad = this.props.currentLoad;\r\n if (preparedStep) {\r\n const cState = cloneDeep(steps);\r\n cState[preparedStep.step].isChecked = preparedStep.value;\r\n this.setState({ activeStep: preparedStep.step, steps: cState });\r\n\r\n if (preparedStep.value) {\r\n this.props.setProgress(currentLoad.id, this.state.steps[preparedStep.step].value);\r\n } else {\r\n this.setState({ activeStep: preparedStep.step - 1 });\r\n this.props.setProgress(currentLoad.id, this.state.steps[preparedStep.step - 1].value);\r\n }\r\n }\r\n };\r\n\r\n QontoStepIcon = (orientation: string) => (props: { active: boolean; completed: boolean; icon: number }) => {\r\n const { completed, active, icon } = props;\r\n const isUnavailable = this.isUnavailableStep() && orientation === 'horizontal';\r\n\r\n const initialStyle = isEqual(orientation, 'horizontal')\r\n ? { marginTop: '0px', zIndex: 10 }\r\n : { marginTop: '-3px', zIndex: 10 };\r\n\r\n const style = {\r\n ...initialStyle,\r\n ...(completed &&\r\n icon === this.state.activeStep + 1 &&\r\n isEqual(orientation, 'horizontal') && { marginTop: '-3px' }),\r\n ...(completed &&\r\n icon === this.state.activeStep + 1 &&\r\n !isEqual(orientation, 'horizontal') && { margin: '-3px 0 0 -3px' }),\r\n };\r\n\r\n if (completed && icon === this.state.activeStep + 1) {\r\n return (\r\n \r\n );\r\n } else if (completed || (completed && !active)) {\r\n return ;\r\n } else {\r\n return ;\r\n }\r\n };\r\n\r\n onVhubBookClick = () => {\r\n const currentLoad = this.props.currentLoad;\r\n track(createVhubBookingTrackData(VhubEvent.BookItWith, currentLoad.id));\r\n this.props.popupContext?.openingPopup({\r\n body: ,\r\n width: PopupSizes.MEDIUM,\r\n });\r\n };\r\n\r\n onPostClick = () => {\r\n this.props.onPostClick();\r\n };\r\n\r\n showPopUp = (type: string) => () => {\r\n if (type === 'pay') {\r\n showGetPaidFasterInfoPopup(this.props.popupContext);\r\n } else if (type === 'fuel') {\r\n showFuelAdvanceInfoPopup(this.props.popupContext);\r\n }\r\n };\r\n\r\n getStepContent = (index: number) => {\r\n const { fuelAdvanceQuote, getPaidFasterQuoteState, loadQuotes, isDocumentsLoading } = this.props;\r\n const { steps, activeStep } = this.state;\r\n const { dispatchName, postReference } = this.props.currentLoad;\r\n const fuelAdvanceRequestDate = getQuoteRequestDate(loadQuotes.loadQuotes, QuoteType.FuelAdvance);\r\n const payFasterRequestDate = getQuoteRequestDate(loadQuotes.loadQuotes, QuoteType.Factoring);\r\n switch (index) {\r\n case 0:\r\n return (\r\n \r\n \r\n \r\n \r\n {t(T.findLoads_findLoads_statusBar_phrase1)}\r\n \r\n \r\n {t(T.findLoads_findLoads_contact)} {dispatchName ? dispatchName : '-'}\r\n \r\n \r\n {t(T.findLoads_findLoads_ref)}\r\n {postReference ? postReference : '-'}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n case 1:\r\n return (\r\n \r\n \r\n \r\n {/* @TODO change price for booking*/}\r\n \r\n {t(T.findLoads_findLoads_statusBar_phrase2)}\r\n \r\n \r\n \r\n \r\n {this.props.shouldShowPost ? (\r\n \r\n \r\n {t(T.findLoads_findLoads_statusBar_postTruck)}\r\n \r\n \r\n \r\n \r\n \r\n ) : null}\r\n = 1}\r\n actionTitle={\r\n isDocumentsLoading\r\n ? t(T.common_myDocuments_updateFolder_updating)\r\n : getFileActionTitle(hasRateConfirmation(this.props.documents))\r\n }\r\n isFromMyLoads={this.props.isFromMyLoads}\r\n />\r\n \r\n );\r\n case 2:\r\n return (\r\n \r\n \r\n \r\n {t(T.findLoads_findLoads_statusBar_phrase4)}\r\n \r\n \r\n = 2}\r\n actionTitle={\r\n isDocumentsLoading\r\n ? t(T.common_myDocuments_updateFolder_updating)\r\n : getFileActionTitle(hasBOLorLumpers(this.props.documents))\r\n }\r\n isFromMyLoads={this.props.isFromMyLoads}\r\n />\r\n \r\n \r\n \"dollar\"\r\n \r\n {t(T.findLoads_findLoads_fuelAdvance)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {t(T.findLoads_findLoads_statusBar_phrase5)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {fuelAdvanceRequestDate && (\r\n \r\n \r\n {t(T.findLoads_findLoads_sent)} {moment(fuelAdvanceRequestDate).format('DD.MM.YYYY')}\r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n case 3:\r\n return (\r\n \r\n \r\n {t(T.findLoads_findLoads_statusBar_phrase7)}\r\n \r\n = 3}\r\n actionTitle={\r\n isDocumentsLoading\r\n ? t(T.common_myDocuments_updateFolder_updating)\r\n : getFileActionTitle(hasProofOfDelivery(this.props.documents))\r\n }\r\n isFromMyLoads={this.props.isFromMyLoads}\r\n />\r\n \r\n \r\n \"dollar\"\r\n \r\n {t(T.findLoads_loadDetails_getPaidFaster)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {t(T.findLoads_findLoads_statusBar_phrase8)}\r\n \r\n \r\n \r\n \r\n \r\n {payFasterRequestDate && (\r\n \r\n \r\n {t(T.findLoads_findLoads_sent)} {moment(payFasterRequestDate).format('DD.MM.YYYY')}\r\n \r\n \r\n )}\r\n \r\n );\r\n default:\r\n return '';\r\n }\r\n };\r\n\r\n isUnavailableStep = () =>\r\n this.props.currentLoad?.status &&\r\n this.props.currentLoad.status !== LoadStatus.Online &&\r\n this.state.activeStep === 0;\r\n\r\n getCheckboxAvailability = (index: number) => {\r\n return !(this.state.steps[index - 1] && this.state.steps[index - 1].isChecked);\r\n };\r\n\r\n getStatusColor = (): Color => {\r\n const isUnavailable = this.isUnavailableStep();\r\n if (isUnavailable) {\r\n return Color.RED_APPLE;\r\n }\r\n if (this.state.activeStep === 0) {\r\n return Color.GREEN_MAIN;\r\n }\r\n return Color.GRAY_DARK;\r\n };\r\n\r\n getStatusTitle = () => {\r\n const loadProgress = this.props.currentLoad.metadata?.userdata?.progress\r\n ? loadProgressLabelMap[this.props.currentLoad.metadata?.userdata?.progress]\r\n : null;\r\n const loadProgressTitle = this.isUnavailableStep() ? t(T.common_load_loadUnavailable) : loadProgress;\r\n return (\r\n \r\n {t(T.common_loadDetails_status)}:\r\n <span style={{ paddingLeft: 4, color: this.getStatusColor() }}>{loadProgressTitle}</span>\r\n \r\n );\r\n };\r\n\r\n render() {\r\n const { activeStep, steps } = this.state;\r\n return (\r\n \r\n {this.props.isOpenDetails ? (\r\n }\r\n >\r\n {map(steps, (step, index) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n {this.getStepContent(index)}\r\n \r\n \r\n );\r\n })}\r\n \r\n ) : (\r\n true\r\n )}\r\n \r\n );\r\n }\r\n}\r\n\r\nconst getUserDataForQuotesRequest = (user: UserState) => {\r\n if (!user.profile?.payload) {\r\n return undefined;\r\n }\r\n const { firstName, lastName, email, companyCity, phone } = user.profile.payload;\r\n return {\r\n firstName: firstName,\r\n lastName: lastName,\r\n email: email,\r\n companyCity: companyCity,\r\n phone: { number: phone },\r\n };\r\n};\r\n\r\nconst getQuoteRequestDate = (loadQuotes: QuoteListResponse, quoteType: QuoteType) => {\r\n const requestQuote = find(loadQuotes.quotes, (quote) => quote.type === quoteType);\r\n return requestQuote?.date;\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch: Dispatch): DispatchProps =>\r\n bindActionCreators(\r\n {\r\n setProgress: (loadID: string, progress: LoadProgress) => setProgress(loadID, progress),\r\n fetchGetPaidFasterQuote: fetchGetPaidFasterQuote,\r\n postFuelAdvanceQuote: postFuelAdvanceQuote,\r\n postGetPaidFasterQuote: postGetPaidFasterQuote,\r\n fetchMostRecentQuoteForLoad: fetchMostRecentQuoteForLoad,\r\n showSnackbar: showSnackbar,\r\n saveLoad: saveLoad,\r\n fetchDocuments: fetchDocuments,\r\n },\r\n dispatch\r\n );\r\n\r\nconst mapStateToProps = (state: StoreState, props: ComponentProps): ReduxProps => {\r\n return {\r\n user: state.user,\r\n isMenuOpen: state.applicationSettings.menuOpen,\r\n fuelAdvanceQuote: state.fuelAdvanceQuote,\r\n getPaidFasterQuoteState: state.getPaidFasterQuoteState,\r\n loadQuotes: state.loadQuotes,\r\n documents: state.documents.documentLists.loadDetailsStandalone.entries,\r\n isDocumentsLoading: state.documents.documentLists.loadDetailsStandalone.isLoading,\r\n loadFolderIdentifier: state.documents.loadDetailsDocuments.loadFolderIdentifier,\r\n loadInfo: state.loadInfo.loadInfoMap.get(props.currentLoad.id),\r\n };\r\n};\r\n\r\nexport const StatusBar = connect(mapStateToProps, mapDispatchToProps)(withPopups(StatusBarComponent));\r\n","import React, { useState } from 'react';\r\n\r\nimport { isEmpty, map } from 'lodash';\r\n\r\nimport { isLoadBidSent, isLoadCalled, isLoadEmailed, isLoadMessaged } from '@common/helper';\r\nimport { BookingStatus, Load, LoadContactOption } from '@common/model';\r\nimport { usePushPanel } from '@component/panel/PanelHooks';\r\nimport { LoadContactCallbackProps } from '@component/panels/findLoads/loadDetailsPanel/buttons/ContactButtons';\r\nimport { renderPhoneNumber } from '@component/panels/findLoads/loadDetailsPanel/buttons/PhoneButton';\r\nimport { ActionButtonBold } from '@component/statusBar/StatusBarStyle';\r\nimport { T, t } from '@translate';\r\nimport { useContactOptions } from '@util/helper/ContactOptionsHelper';\r\n\r\ninterface Props extends LoadContactCallbackProps {\r\n load?: Load;\r\n onVhubBook: () => void;\r\n isOriginMessaging: boolean;\r\n isOriginBids: boolean;\r\n}\r\n\r\ninterface ButtonProps {\r\n onClick: () => void;\r\n}\r\n\r\nexport const StatusBarContactOptions: React.FC = (props) => {\r\n const contactOptions = useContactOptions(props.load, props.isOriginMessaging, props.isOriginBids, true);\r\n return isEmpty(contactOptions) ? null : <>{map(contactOptions, (option) => renderContactOption(option, props))};\r\n};\r\n\r\nconst renderContactOption = (option: LoadContactOption, props: Props) => {\r\n switch (option) {\r\n case LoadContactOption.Bid:\r\n return ;\r\n case LoadContactOption.VendorBid:\r\n return ;\r\n case LoadContactOption.BookNow:\r\n return ;\r\n case LoadContactOption.Call:\r\n return ;\r\n case LoadContactOption.Email:\r\n return ;\r\n case LoadContactOption.Message:\r\n return ;\r\n case LoadContactOption.VhubBook:\r\n return ;\r\n default:\r\n return null;\r\n }\r\n};\r\n\r\nconst BidButton: React.FC<{ load?: Load } & ButtonProps> = (props) => {\r\n const isBidSent = isLoadBidSent(props.load) || props.load?.vendorInfo?.bid;\r\n return (\r\n \r\n );\r\n};\r\n\r\nconst BookNowButton: React.FC<{ load?: Load } & ButtonProps> = (props) => {\r\n const bookingStatus = props.load?.bookNow?.bookingStatus;\r\n const isBooked = bookingStatus === BookingStatus.Accepted || bookingStatus === BookingStatus.Pending;\r\n\r\n const isBookedText =\r\n bookingStatus === BookingStatus.Accepted ? t(T.common_bookNow_booked) : t(T.common_bookNow_bookingPending);\r\n\r\n return bookingStatus === BookingStatus.Rejected ? null : (\r\n \r\n );\r\n};\r\n\r\nconst CallButton: React.FC<{ load?: Load } & ButtonProps> = (props) => {\r\n const [isPhoneShown, setIsPhoneShown] = useState(false);\r\n const isCalled = isLoadCalled(props.load);\r\n const onCall = () => {\r\n if (isPhoneShown && props.onClick) {\r\n props.onClick();\r\n }\r\n setIsPhoneShown(true);\r\n };\r\n return (\r\n \r\n );\r\n};\r\n\r\nconst EmailButton: React.FC<{ load?: Load } & ButtonProps> = (props) => (\r\n \r\n);\r\n\r\nconst MessageButton: React.FC<{ load?: Load }> = (props) => {\r\n const pushCommunicationPanel = usePushPanel('/communication/');\r\n const isMessaged = isLoadMessaged(props.load);\r\n return (\r\n pushCommunicationPanel()}\r\n />\r\n );\r\n};\r\n\r\nconst VhubBookButton: React.FC = (props) => (\r\n \r\n);\r\n","import React from 'react';\r\n\r\nimport { Link } from 'react-router-dom';\r\nimport styled from 'styled-components';\r\n\r\nimport { QuoteState } from '@common/redux/epic/QuoteEpic';\r\nimport { BasePopup } from '@component/popup/BasePopup';\r\nimport { PopupNoButton, PopupOkButton, PopupYesButton } from '@component/popup/PopupButtons';\r\nimport { PopupSizes, PopupTracking } from '@component/popup/PopupTrackingContext';\r\nimport { T, t } from '@translate';\r\nimport { AppConfig } from '@util/AppConfig';\r\n\r\nconst PopupLink = styled(Link)`\r\n word-break: break-word;\r\n`;\r\nconst SingleTextLine = styled.div`\r\n margin-bottom: 25px;\r\n`;\r\n\r\nconst BoldSingleTextLine = styled.div`\r\n margin-bottom: 25px;\r\n font-weight: bold;\r\n`;\r\n\r\nexport const showQuoteResponsePopup = (quote: QuoteState, popupContext: PopupTracking, visitLink: string) => {\r\n const { openingPopup, closingPopup } = popupContext;\r\n const requestStatus = quote.postQuoteResponse?.success;\r\n const popupTitle = requestStatus\r\n ? t(T.findLoads_findLoads_popUps_sentRequest_title)\r\n : t(T.findLoads_findLoads_popUps_notSentRequest_title);\r\n const errorMessage = quote.postQuoteResponse?.error?.message;\r\n const errorContent = (\r\n <>\r\n {errorMessage ?? t(T.error_generic_api_message)}\r\n
\r\n {t(T.findLoads_findLoads_popUps_notSentRequest_pleaseVisitContent)}\r\n
\r\n \r\n {`${AppConfig.LBConfig.ASPRoot}${visitLink}`}\r\n \r\n \r\n );\r\n const popupContent = requestStatus ? t(T.findLoads_findLoads_popUps_sentRequest_content) : errorContent;\r\n openingPopup({\r\n body: (\r\n ]}>\r\n {popupContent}\r\n \r\n ),\r\n width: PopupSizes.SMALL,\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n });\r\n};\r\n\r\nexport const showUnBookPopup = (setStep: () => void, popupContext?: PopupTracking) => {\r\n if (popupContext) {\r\n const { openingPopup, closingPopup } = popupContext;\r\n openingPopup({\r\n body: (\r\n ,\r\n {\r\n setStep();\r\n popupContext?.closingPopup();\r\n }}\r\n />,\r\n ]}\r\n >\r\n <>\r\n {t(T.findLoads_findLoads_popUps_unBookLoad_content_warning)}\r\n {t(T.findLoads_findLoads_popUps_unBookLoad_content_text1)}\r\n {t(T.findLoads_findLoads_popUps_unBookLoad_content_text2)}\r\n {t(T.findLoads_findLoads_popUps_unBookLoad_content_text3)}\r\n \r\n \r\n ),\r\n width: PopupSizes.SMALL,\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n });\r\n }\r\n};\r\n\r\nexport const showGetPaidFasterInfoPopup = (popupContext?: PopupTracking) => {\r\n if (popupContext) {\r\n const { closingPopup, openingPopup } = popupContext;\r\n openingPopup({\r\n body: (\r\n ]}\r\n >\r\n <>\r\n {t(T.findLoads_findLoads_popUps_paidFaster_content_warning)}
\r\n
{t(T.findLoads_findLoads_popUps_paidFaster_content_text)}\r\n \r\n \r\n ),\r\n width: PopupSizes.SMALL,\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n });\r\n }\r\n};\r\n\r\nexport const showFuelAdvanceInfoPopup = (popupContext?: PopupTracking) => {\r\n if (popupContext) {\r\n const { closingPopup, openingPopup } = popupContext;\r\n openingPopup({\r\n body: (\r\n ]}\r\n >\r\n <>\r\n {t(T.findLoads_findLoads_popUps_fuelAdvanced_content_warning)}\r\n
\r\n
{t(T.findLoads_findLoads_popUps_fuelAdvanced_content_variant_1)}
\r\n {t(T.findLoads_findLoads_popUps_fuelAdvanced_content_variant_2)}
\r\n {t(T.findLoads_findLoads_popUps_fuelAdvanced_content_variant_3)}
\r\n
{t(T.findLoads_findLoads_popUps_fuelAdvanced_content_text)}\r\n \r\n \r\n ),\r\n width: PopupSizes.SMALL,\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n });\r\n }\r\n};\r\n","import React from 'react';\r\n\r\nimport { compose } from 'recompose';\r\nimport styled from 'styled-components';\r\n\r\nimport { Checkbox, Step, StepContent, StepLabel, Stepper, withStyles } from '@material-ui/core';\r\nimport StepConnector from '@material-ui/core/StepConnector';\r\nimport { StepLabelProps } from '@material-ui/core/StepLabel';\r\n\r\nimport { MultipurposeButton, MultipurposeButtonProps } from '@component/buttons';\r\nimport { singleDoubleColumnSelect } from '@component/panelSizeDetector/PanelSizeDetector';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { THEME } from '@style/Theme';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\nimport { MediaQueries } from '@util/MediaQueries';\r\n\r\nexport const Container = withTheme()(styled.div`\r\n && {\r\n position: relative;\r\n height: 72px;\r\n background-color: ${(props: ThemeProps) => props.theme.palette.primary.light};\r\n cursor: pointer;\r\n }\r\n`);\r\n\r\nexport const Wrapper = styled.div`\r\n border-bottom: 1px solid ${Color.GRAY_SMOKE};\r\n width: ${singleDoubleColumnSelect('100%', 'initial')};\r\n`;\r\n\r\nexport const LoadAvailable = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n`;\r\n\r\nexport const Label = styled.span`\r\n color: ${Color.GRAY_DARK};\r\n font-size: 16px;\r\n font-weight: bold;\r\n`;\r\n\r\nexport const Description = styled.div`\r\n && {\r\n color: ${Color.GRAY_DARK};\r\n font-size: 12px;\r\n @media ${MediaQueries.xxs} {\r\n button {\r\n font-size: 11px;\r\n }\r\n }\r\n }\r\n`;\r\n\r\nexport const LabelSent = styled(Description)`\r\n && {\r\n width: 40%;\r\n text-align: center;\r\n }\r\n`;\r\n\r\nexport const WrapperLabelSent = styled.div`\r\n display: flex;\r\n justify-content: flex-end;\r\n`;\r\n\r\nexport const ActionButton = styled(MultipurposeButton)`\r\n && {\r\n border: 0;\r\n padding: 0;\r\n height: ${({ isHeightAuto }) => (isHeightAuto ? 'auto' : undefined)};\r\n &:hover {\r\n border: 0;\r\n }\r\n &:disabled {\r\n border: 0;\r\n }\r\n font-size: ${FontSize.ContentDetail}px;\r\n margin-bottom: 12px;\r\n }\r\n`;\r\n\r\nexport const ActionButtonBold = styled(ActionButton)`\r\n && {\r\n font-weight: bold;\r\n padding-left: 5px;\r\n padding-right: 5px;\r\n flex: 0;\r\n }\r\n`;\r\n\r\nexport const QontoStep = compose(\r\n withTheme(),\r\n withStyles({\r\n completed: {\r\n '& > div': {\r\n borderColor: Color.GREEN_MAIN,\r\n },\r\n },\r\n })\r\n)(Step);\r\n\r\nexport const BottomStepper = withTheme()(\r\n withStyles({\r\n vertical: {\r\n backgroundColor: Color.GRAY_LIGHT,\r\n borderTop: `1px solid ${Color.GRAY_SMOKE}`,\r\n [THEME.breakpoints.down(426)]: {\r\n marginBottom: 0,\r\n },\r\n padding: '24px 16px',\r\n },\r\n })(Stepper)\r\n);\r\n\r\nexport const QontoConnector = withStyles({\r\n root: {\r\n top: 5,\r\n left: '-45%',\r\n right: '55%',\r\n },\r\n lineHorizontal: {\r\n borderColor: '#98e1a8',\r\n borderTopWidth: 2,\r\n },\r\n line: {\r\n minHeight: 0,\r\n marginLeft: 2,\r\n marginRight: 2,\r\n },\r\n completed: {\r\n '& $line': {\r\n borderColor: Color.GREEN_MAIN,\r\n },\r\n },\r\n})(StepConnector);\r\n\r\nexport const QontoConnectorVertical = withStyles({\r\n root: {\r\n marginTop: -8,\r\n marginLeft: 5,\r\n borderLeft: '2px solid #98e1a8',\r\n paddingLeft: 15,\r\n paddingRight: 0,\r\n marginBottom: -14,\r\n paddingTop: 1,\r\n paddingBottom: 0,\r\n [THEME.breakpoints.down(426)]: {\r\n paddingRight: 0,\r\n },\r\n },\r\n lineVertical: {\r\n height: 0,\r\n },\r\n last: {\r\n borderColor: 'transparent !important',\r\n '& div': {\r\n borderBottom: 'none',\r\n paddingBottom: 0,\r\n marginBottom: 0,\r\n },\r\n },\r\n})(StepContent);\r\n\r\nexport const StepperWrapper = styled.div`\r\n display: flex;\r\n align-items: center;\r\n height: 100%;\r\n`;\r\n\r\nexport const TopStepper = styled(Stepper)`\r\n && {\r\n position: relative;\r\n background: transparent;\r\n cursor: pointer;\r\n align-items: center;\r\n padding: 27px 0 0 46px;\r\n flex: 1;\r\n top: -14px;\r\n\r\n img {\r\n cursor: pointer;\r\n }\r\n\r\n > div {\r\n height: 12px;\r\n > div {\r\n left: ${singleDoubleColumnSelect('-42%', '-42%')};\r\n right: ${singleDoubleColumnSelect('58%', '58%')};\r\n @media (max-width: 375px) {\r\n left: -40%;\r\n right: 59%;\r\n }\r\n @media ${MediaQueries.xxs} {\r\n left: -38%;\r\n right: 61%;\r\n }\r\n }\r\n }\r\n\r\n > :last-child {\r\n padding-right: 8px;\r\n }\r\n }\r\n`;\r\n\r\nexport const ExpandImage = styled.img`\r\n padding: 0 20px 0 10px;\r\n`;\r\n\r\nexport const ActiveStepLabel = styled<{ isUnavailableStep?: boolean } & StepLabelProps>(\r\n ({ isUnavailableStep, ...rest }) => \r\n)`\r\n && {\r\n display: flex;\r\n align-items: center;\r\n flex-direction: column;\r\n white-space: nowrap;\r\n\r\n > span {\r\n position: absolute;\r\n top: -21px;\r\n padding: 1px 6px;\r\n border-radius: 15px;\r\n background-color: ${({ isUnavailableStep }) => (isUnavailableStep ? Color.RED_APPLE : Color.GREEN_MAIN)};\r\n width: auto;\r\n z-index: 1;\r\n\r\n &:after {\r\n content: '';\r\n display: block;\r\n background: inherit;\r\n width: 6px;\r\n height: 6px;\r\n position: absolute;\r\n left: calc(50% - 3px);\r\n bottom: -2px;\r\n transform: matrix(0.7, 1, -0.7, 1, 0, 0);\r\n }\r\n\r\n > span {\r\n font-size: 9px;\r\n color: ${Color.WHITE};\r\n font-weight: bold;\r\n letter-spacing: 0;\r\n text-transform: uppercase;\r\n }\r\n }\r\n }\r\n`;\r\nexport const StepDescriptionBlockLastElement = styled.div`\r\n && {\r\n padding: 11px 0 12px 2px;\r\n > div:first-child {\r\n width: 100%;\r\n }\r\n }\r\n`;\r\n\r\nexport const StepDescriptionBlock = styled(StepDescriptionBlockLastElement)`\r\n && {\r\n border-bottom: 1px dashed ${Color.GRAY_SMOKE};\r\n margin-bottom: 20px;\r\n }\r\n`;\r\n\r\nexport const Row = styled.div`\r\n && {\r\n display: flex;\r\n justify-content: space-between;\r\n width: 100%;\r\n }\r\n`;\r\n\r\nexport const SubTitleContainer = styled.div`\r\n display: flex;\r\n margin-bottom: 12px !important;\r\n`;\r\n\r\nexport const ColumnWrapper = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n`;\r\n\r\nexport const StepCheckbox = styled(Checkbox)`\r\n && {\r\n padding: 0;\r\n }\r\n`;\r\n\r\nexport const CheckBoxRow = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n`;\r\n\r\nexport const UpdateStatus = styled.div`\r\n position: absolute;\r\n width: 100%;\r\n bottom: 8px;\r\n color: ${Color.GREEN_MAIN};\r\n font-size: ${FontSize.Body}px;\r\n text-align: center;\r\n`;\r\n\r\nexport const Left = styled.div`\r\n flex: 6;\r\n`;\r\nexport const Right = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n flex: 4;\r\n button {\r\n margin-top: -10px;\r\n }\r\n`;\r\n\r\nexport const ManageLineContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: flex-start;\r\n height: 44px;\r\n margin-top: 10px;\r\n`;\r\nexport const ManageLineTitle = styled.span`\r\n font-size: ${FontSize.Body}px;\r\n color: ${Color.GRAY_DARK};\r\n`;\r\n","import { join } from 'lodash';\r\n\r\nimport { t, T, tEquipments } from '@/translate';\r\nimport { secondsToTimeObject, TimeObject } from '@common/helper/DateHelper';\r\nimport { stringifyEquipments } from '@common/helper/EquipmentHelper';\r\nimport { Equipment } from '@common/model/Equipment';\r\nimport { NO_INFORMATION_SYMBOL } from '@util/Constants';\r\n\r\nexport const LOCATION_LENGHT_LIMIT_LARGE = 15;\r\nexport const LOCATION_LENGHT_LIMIT_SMALL = 15;\r\nexport const EQUIPMENT_LENGHT_LIMIT_LARGE = 18;\r\nexport const EQUIPMENT_LENGHT_LIMIT_SMALL = 12;\r\n\r\nexport enum TableSizeState {\r\n small,\r\n medium,\r\n large,\r\n unknown,\r\n}\r\n\r\nexport const stringifyTimeObj = (timeObj: TimeObject) => {\r\n let timeString = '';\r\n if (timeObj.days > 0) {\r\n timeString += timeObj.days + t(T.common_time_abbreviation_Days) + ' ';\r\n }\r\n if (timeObj.hours > 0) {\r\n timeString += timeObj.hours + t(T.common_time_abbreviation_Hours) + ' ';\r\n }\r\n if (timeObj.minutes > 0) {\r\n timeString += timeObj.minutes + t(T.common_time_abbreviation_Minutes);\r\n }\r\n return timeString;\r\n};\r\n\r\nexport const stringifyAge = (age: number, justNowMessage: string = NO_INFORMATION_SYMBOL) => {\r\n if (age <= 0) {\r\n return justNowMessage;\r\n }\r\n if (age < 60) {\r\n return `${age}${t(T.common_time_abbreviation_Seconds)}`;\r\n }\r\n return stringifyTimeObj(secondsToTimeObject(age));\r\n};\r\n\r\nexport function stringifyLoadEquipment(equipments: Equipment[], limit: number, stringifyAll: boolean = false): string {\r\n if (stringifyAll) {\r\n return join(stringifyEquipments(tEquipments(equipments)), ', ');\r\n } else if (equipments.length > 0) {\r\n let equipmentString: string = join(stringifyEquipments(tEquipments(equipments)), ', ');\r\n if (equipmentString.length > limit) {\r\n equipmentString = equipmentString.substring(0, limit) + '...';\r\n }\r\n return equipmentString;\r\n }\r\n return NO_INFORMATION_SYMBOL;\r\n}\r\n","import styled from 'styled-components';\r\n\r\nimport { IconButton, Table, TableCell, TableRow } from '@material-ui/core';\r\n\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const StyledLoadTable = styled(Table)`\r\n && {\r\n table-layout: fixed;\r\n border-collapse: initial;\r\n }\r\n`;\r\n\r\nexport const StyledIconButton = styled(IconButton)`\r\n && {\r\n width: 40px;\r\n }\r\n`;\r\n\r\nexport const ThemedCell = styled(TableCell)`\r\n && {\r\n background-color: transparent;\r\n padding-left: 5px;\r\n padding-right: 10px;\r\n padding-top: 4px;\r\n width: ${(props: { width?: string }) => (props.width ? props.width : '0px')};\r\n }\r\n`;\r\n\r\nexport const ExpandableThemedCell = withTheme()(styled(TableCell)`\r\n && {\r\n background-color: ${(props: { expanded: number; selected: boolean } & ThemeProps) =>\r\n props.expanded && !props.selected ? props.theme.palette.tableCell.light : 'transparent'};\r\n height: 0px;\r\n min-height: 0px;\r\n width: 0px;\r\n transition: background-color 0.6s ease;\r\n }\r\n`);\r\n\r\nexport const NoBorderThemedCell = withTheme()(styled(TableCell)`\r\n && {\r\n background-color: ${(props: { expanded: number; selected: boolean } & ThemeProps) =>\r\n props.expanded && !props.selected ? props.theme.palette.tableCell.light : 'transparent'};\r\n border: none;\r\n width: 0px;\r\n margin-left: 8px;\r\n transition: background-color 0.6s ease;\r\n vertical-align: top;\r\n }\r\n`);\r\n\r\nexport const ArrowCell = withTheme()(styled(TableCell)`\r\n && {\r\n background-color: ${(props: { expanded: number; selected: boolean } & ThemeProps) =>\r\n props.expanded && !props.selected ? props.theme.palette.tableCell.light : 'transparent'};\r\n vertical-align: top;\r\n width: 20px;\r\n max-width: 20px;\r\n min-width: 20px;\r\n border: none;\r\n transition: background-color 0.6s ease;\r\n text-align: right;\r\n }\r\n`);\r\n\r\nexport const ThemedLargeDiv = withTheme()(styled.div`\r\n && {\r\n display: flex;\r\n flex-direction: column;\r\n position: relative;\r\n overflow: visible;\r\n max-height: ${(props: { isLeftCell: boolean; expanded: number }) => (props.expanded ? '300px' : '98px')};\r\n flex-wrap: nowrap;\r\n align-items: center;\r\n\r\n transition: max-height 0.6s ease;\r\n }\r\n`);\r\n\r\nexport const HiddenDiv = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n overflow-y: hidden;\r\n`;\r\n\r\nexport const MediumCellDiv = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: ${(props: { centered: boolean }) => (props.centered ? 'center' : 'flex-start')};\r\n`;\r\n\r\nexport const MediumCellTopSubDiv = styled.div`\r\n margin: 13px 0px 0px 0px;\r\n min-height: 21px;\r\n width: 100%;\r\n text-align: center;\r\n`;\r\nexport const MediumCellBotSubDiv = styled.div`\r\n margin: 12px 0px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: ${(props: { centered: boolean }) => (props.centered ? 'center' : 'flex-start')};\r\n`;\r\n\r\nexport const ExpandableCellSubDiv = styled.div`\r\n margin-top: 14px;\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n min-height: 37px;\r\n span {\r\n opacity: ${(props: { expanded: boolean }) => (props.expanded ? 1 : 0)};\r\n transition: opacity 0.6s ease;\r\n }\r\n`;\r\n\r\nexport const LowerButtonDiv = withTheme()(styled.div`\r\n padding: ${(props: { expanded: boolean } & ThemeProps) => (props.expanded ? '16px' : '0px 16px')};\r\n overflow: hidden;\r\n max-height: ${(props: { expanded: boolean } & ThemeProps) => (props.expanded ? '50px' : '0px')};\r\n transition: max-height 0.6s ease, padding 0.6s ease;\r\n`);\r\n\r\nexport const CenteredCell = styled(TableCell)`\r\n && {\r\n background-color: transparent;\r\n }\r\n`;\r\n\r\nexport const CenteredCellDiv = styled.div`\r\n && {\r\n display: flex;\r\n justify-content: center;\r\n }\r\n`;\r\n\r\nexport const ButtonCenteredCell = styled(CenteredCell)`\r\n && {\r\n padding-right: 24px !important;\r\n text-align: right;\r\n width: 136px;\r\n }\r\n`;\r\n\r\nexport const StyledTableRow = withTheme()(styled(TableRow)`\r\n && {\r\n background-color: ${(props: ThemeProps & { selected: boolean }) =>\r\n props.selected ? props.theme.palette.tableCell.dark : props.theme.palette.background.paper} !important;\r\n height: 56px;\r\n margin-left: 24px;\r\n\r\n &:hover {\r\n background-color: ${(props: ThemeProps) => props.theme.palette.background.pale} !important;\r\n cursor: pointer;\r\n }\r\n }\r\n`);\r\n\r\nexport const LoadTableRow = withTheme()(styled(TableRow)`\r\n && {\r\n background-color: ${(props: ThemeProps & { selected: boolean }) =>\r\n props.selected ? props.theme.palette.tableCell.dark : props.theme.palette.background.paper} !important;\r\n overflow: hidden;\r\n min-height: 0px;\r\n height: 0px;\r\n }\r\n`);\r\n\r\nexport const ExpandableTableRow = withTheme()(styled(LoadTableRow)`\r\n &:hover {\r\n background-color: ${(props: ThemeProps & { expanded: boolean }) =>\r\n props.theme.palette.background.pale + (props.expanded ? '' : ' !important')};\r\n cursor: pointer;\r\n }\r\n`);\r\n\r\nexport const RelativeRowDiv = styled.div`\r\n position: relative;\r\n`;\r\n\r\nexport const ExpandableIconDiv = styled.div`\r\n && {\r\n margin-top: 30px;\r\n margin-left: -24px;\r\n width: 48px;\r\n height: 48px;\r\n display: inline-flex;\r\n justify-content: center;\r\n align-items: center;\r\n }\r\n`;\r\n\r\nexport const InfoListDiv = styled.div`\r\n position: absolute;\r\n width: 200%;\r\n opacity: ${(props: { width: number; expanded: boolean }) => (props.expanded ? 0 : 1)};\r\n pointer-events: ${(props: { width: number; expanded: boolean }) => (props.expanded ? 'none' : 'auto')};\r\n z-index: 100;\r\n top: 49px;\r\n left: 0px;\r\n overflow-y: hidden;\r\n overflow-x: visible;\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: wrap;\r\n align-items: flex-start;\r\n justify-content: space-around;\r\n max-height: 37px;\r\n box-sizing: border-box;\r\n transition: opacity 0.6s ease;\r\n\r\n @media (min-width: 465px) {\r\n margin-left: 8px;\r\n }\r\n`;\r\n\r\nexport const InfoListSubDiv = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n margin-right: 0px;\r\n width: 30%;\r\n @media (min-width: 650px) and (max-width: 1024px) {\r\n width: 20%;\r\n }\r\n @media (max-width: 465px) {\r\n width: 35%;\r\n }\r\n`;\r\n","import React from 'react';\r\n\r\nimport { FMCSAAuthorityStatus, Truck } from '@common/model';\r\nimport { CheckboxChip } from '@component/input';\r\nimport { LoadingProgress } from '@component/progress';\r\nimport { Text } from '@component/text/Text';\r\nimport { Color } from '@style/Color';\r\nimport { t, T } from '@translate';\r\nimport { NO_INFORMATION_SYMBOL } from '@util/Constants';\r\n\r\ninterface TruckChipProps {\r\n id: string;\r\n truck: Truck;\r\n onClick: () => void;\r\n isDisabled?: boolean;\r\n}\r\n\r\n// @FIXME: In the latest version of Material-UI, the chips have a disabled UI state.\r\n// When Material-UI is updated, these should be updated to use the disabled prop.\r\nexport const FavoriteChip: React.FC = (props) => (\r\n \r\n);\r\n\r\nexport const circularProgress = (id: string, isLoading: boolean) =>\r\n isLoading ? : null;\r\n\r\nconst AuthorityStatusRow: React.FC<{\r\n id: string;\r\n label: string;\r\n status: FMCSAAuthorityStatus | undefined;\r\n isLastRow?: boolean;\r\n}> = (props) => {\r\n let status = NO_INFORMATION_SYMBOL;\r\n let textColor: string | undefined;\r\n switch (props.status) {\r\n case FMCSAAuthorityStatus.Active:\r\n status = t(T.truckLocator_fmcsaAuthority_status_active);\r\n textColor = Color.GREEN_MAIN;\r\n break;\r\n case FMCSAAuthorityStatus.Inactive:\r\n status = t(T.truckLocator_fmcsaAuthority_status_inactive);\r\n textColor = Color.RED_APPLE;\r\n break;\r\n }\r\n return (\r\n \r\n {`${props.label}: `}\r\n \r\n {status}\r\n \r\n \r\n );\r\n};\r\n\r\nexport const AuthorityStatusRows: React.FC<{\r\n id: string;\r\n truck: Truck;\r\n}> = (props) => (\r\n <>\r\n \r\n \r\n \r\n \r\n);\r\n","import React from 'react';\r\n\r\nimport { findIndex, reduce, round, slice } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\nimport { connect } from 'react-redux';\r\nimport { generatePath, RouteComponentProps, withRouter } from 'react-router';\r\nimport { Action, bindActionCreators, Dispatch } from 'redux';\r\n\r\nimport { setSelectedTruck } from '@/reduxStore/epic/TruckEpic';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { Routes, TruckLocatorRoutes } from '@/router/Routes';\r\nimport {\r\n formatDateStringToMMMDD,\r\n formatMileage,\r\n formatPhoneNumber,\r\n formatSecondsToAge,\r\n loadSizeToString,\r\n} from '@common/helper';\r\nimport { EquipmentCode, LoadSize, Truck, VerificationPointsTaskStatus } from '@common/model';\r\nimport { RatingBadge, RatingBadgeSmall } from '@component/badge/RatingBadge';\r\nimport { VerificationInfoBadge } from '@component/badge/VerificationBadge';\r\nimport { StyledCheckCircle } from '@component/panels/truckLocator/carrierDetails/CarrierDetailsPanelStyles';\r\nimport { TableSizeState } from '@component/table/loadTable/LoadTableHelper';\r\nimport { MediumCellDiv } from '@component/table/loadTable/LoadTableStyles';\r\nimport {\r\n CenteredCellDiv,\r\n DenseCell,\r\n ExpandMore,\r\n NonMatchesMargin,\r\n StyledCheckbox,\r\n StyledRow,\r\n ThemedCell,\r\n VerticalCellColumn,\r\n VerticalCellRow,\r\n} from '@component/table/truckTable/TruckTableStyles';\r\nimport { Text, TextStyle } from '@component/text/Text';\r\nimport { t, T } from '@translate';\r\nimport { HIDDEN_PHONE_NUMBER, NO_INFORMATION_SYMBOL } from '@util/Constants';\r\nimport { formatDistance } from '@util/Formatter';\r\nimport { GA, TrackingCategory } from '@util/trackers/GoogleAnalyticsTracker';\r\nimport { displayLengthAndWeight } from '@util/TruckDataHelper';\r\n\r\nconst MAX_DATES_DISPLAY_XLARGE = 6;\r\nconst MAX_DATES_DISPLAY_LARGE = 2;\r\nconst MAX_DATES_DISPLAY_SMALL = 1;\r\nconst MAX_COMPANY_LENGTH_LARGE = 14;\r\nconst MAX_COMPANY_LENGTH_MEDIUM = 10;\r\nconst MAX_COMPANY_LENGTH_SMALL = 20;\r\nconst MAX_EQUIPMENT_LENGTH = 14;\r\nconst MAX_AVAILABLE_CAPACITY_LENGTH_LARGE = 18;\r\nconst MAX_AVAILABLE_CAPACITY_LENGTH_MEDIUM = 12;\r\n\r\ninterface Props {\r\n id: string;\r\n item: Truck;\r\n selected: boolean;\r\n onSelect: (truck: Truck) => void;\r\n disabled?: boolean;\r\n sizeState: TableSizeState;\r\n selectedLoadMileage?: number;\r\n shouldHideMultiSelect?: boolean;\r\n}\r\n\r\ninterface ReduxProps {\r\n isCompanyActionLoading: boolean;\r\n shouldDisableActions: boolean;\r\n}\r\n\r\ninterface State {\r\n isExpanded: boolean;\r\n}\r\n\r\ninterface DispatchProps {\r\n setSelectedTruckAction: (truck: Truck | undefined) => void;\r\n}\r\n\r\ntype TruckElementProps = Props &\r\n ReduxProps &\r\n DispatchProps &\r\n RouteComponentProps<{ truckID: string; truckLocatorType: string }>;\r\n\r\nclass TruckElementComponent extends React.Component {\r\n state = {\r\n isExpanded: false,\r\n };\r\n\r\n onSelection = () => {\r\n this.props.onSelect(this.props.item);\r\n };\r\n\r\n onExpand = () => {\r\n if (!this.state.isExpanded) {\r\n GA.track(TrackingCategory.UserAction, 'Truck Locator - Expand truck list item');\r\n }\r\n this.setState({ isExpanded: !this.state.isExpanded });\r\n this.props.setSelectedTruckAction(undefined);\r\n this.props.history.replace({\r\n pathname: `${generatePath(Routes.FINDTRUCKS_LOCATETRUCK, {\r\n ...this.props.match.params,\r\n truck: 'viewtruck',\r\n truckID: this.props.item.id,\r\n })}/`,\r\n search: this.props.history.location.search,\r\n });\r\n this.props.setSelectedTruckAction(this.props.item);\r\n };\r\n\r\n render() {\r\n const props = this.props;\r\n return (\r\n \r\n \r\n {props.sizeState !== TableSizeState.small\r\n ? this.renderCellsLarge(\r\n `${props.id}_large`,\r\n props.item,\r\n getCalculatedDesireRate(props.item.amount, props.selectedLoadMileage),\r\n props.sizeState === TableSizeState.medium\r\n )\r\n : this.renderCellsSmall(`${props.id}_small`, props.item)}\r\n {props.sizeState === TableSizeState.medium ? null : (\r\n \r\n {props.disabled ? undefined : }\r\n \r\n )}\r\n \r\n \r\n );\r\n }\r\n\r\n private renderCellsLarge = (id: string, truck: Truck, desiredRate: number | undefined, isTabletSize: boolean) => {\r\n const formattedPhone = formatPhoneNumber(truck.anonymous ? HIDDEN_PHONE_NUMBER : (truck.contactPhone ?? ''));\r\n const isPhoneVerified = truck.contactPhoneVerificationStatus === VerificationPointsTaskStatus.COMPLETED;\r\n return (\r\n <>\r\n {this.renderCheckbox(id, false)}\r\n {this.renderCell(`${id}_age`, formatSecondsToAge(truck.age), false, undefined, !this.props.disabled)}\r\n {this.renderCell(\r\n `${id}_company`,\r\n
\r\n {truck.anonymous\r\n ? t(T.common_postTruck_AnonymousPost_header)\r\n : trimString(truck.companyName, getCompanyNameMaxLength(this.props))}\r\n \r\n
,\r\n false,\r\n truck.anonymous\r\n ? t(T.common_postTruck_AnonymousPost_header)\r\n : getTooltip(truck.companyName, getCompanyNameMaxLength(this.props)),\r\n !this.props.disabled\r\n )}\r\n {this.renderRating(`${id}_rating`, truck)}\r\n {this.truckAlertSent(\r\n `${id}_alert_sent`,\r\n truck,\r\n this.props.match.params.truckLocatorType === TruckLocatorRoutes.InternalTruckLocator\r\n )}\r\n {this.renderCell(\r\n `${id}_deadhead`,\r\n formatDistance(truck.deadhead, true),\r\n false,\r\n undefined,\r\n !this.props.disabled\r\n )}\r\n {this.renderCell(\r\n `${id}_equipment`,\r\n isTabletSize\r\n ? EquipmentCode[truck.equipmentTypes as keyof typeof EquipmentCode]\r\n : trimString(truck.equipmentTypes, MAX_EQUIPMENT_LENGTH),\r\n false,\r\n getTooltip(truck.equipmentTypes, MAX_EQUIPMENT_LENGTH),\r\n !this.props.disabled\r\n )}\r\n {this.renderCell(\r\n `${id}_size`,\r\n loadSizeToString(truck.loadSize as LoadSize),\r\n false,\r\n undefined,\r\n !this.props.disabled\r\n )}\r\n {this.renderCell(\r\n `${id}_available_capacity`,\r\n trimString(\r\n displayLengthAndWeight(truck.availableLength, truck.availableWeight),\r\n isTabletSize ? MAX_AVAILABLE_CAPACITY_LENGTH_MEDIUM : MAX_AVAILABLE_CAPACITY_LENGTH_LARGE\r\n ),\r\n false,\r\n undefined,\r\n !this.props.disabled\r\n )}\r\n {isTabletSize\r\n ? null\r\n : this.renderCell(\r\n `${id}_amount`,\r\n desiredRate ? `${t(T.common_dollar_sign)}${formatMileage(desiredRate)}` : '',\r\n false,\r\n undefined,\r\n !this.props.disabled\r\n )}\r\n {this.renderCell(\r\n `${id}_phone`,\r\n <>\r\n {isTabletSize && isPhoneVerified ? trimString(formattedPhone, 8) : formattedPhone}\r\n {truck.contactPhoneVerificationStatus === VerificationPointsTaskStatus.COMPLETED ? (\r\n \r\n ) : null}\r\n ,\r\n false,\r\n undefined,\r\n !this.props.disabled\r\n )}\r\n {this.renderCell(\r\n `${id}_available`,\r\n displayDates(isTabletSize ? MAX_DATES_DISPLAY_SMALL : MAX_DATES_DISPLAY_LARGE, truck.availableDates),\r\n false,\r\n undefined,\r\n !this.props.disabled\r\n )}\r\n \r\n );\r\n };\r\n\r\n private renderCellsSmall = (id: string, truck: Truck) => {\r\n return (\r\n <>\r\n {this.renderCheckbox(id, true)}\r\n \r\n \r\n \r\n \r\n {truck.anonymous\r\n ? t(T.common_postTruck_AnonymousPost_header)\r\n : trimString(truck.companyName, getCompanyNameMaxLength(this.props))}\r\n \r\n \r\n {truck.rating?.starRating ? : null}\r\n \r\n \r\n \r\n \r\n {t(T.common_load_Age)}\r\n \r\n \r\n {formatSecondsToAge(truck.age)}\r\n \r\n \r\n \r\n \r\n {t(T.common_truck_Alert_Sent)}\r\n \r\n \r\n {this.alertSentIcon(`${id}_alert_sent`, truck)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {t(T.common_truck_Deadhead_Short)}\r\n \r\n \r\n {formatDistance(truck.deadhead)}\r\n \r\n \r\n \r\n \r\n {t(T.common_truck_Equipment)}\r\n \r\n \r\n {truck.equipmentTypes ? truck.equipmentTypes : NO_INFORMATION_SYMBOL}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {t(T.common_phone)}\r\n \r\n \r\n {formatPhoneNumber(truck.anonymous ? HIDDEN_PHONE_NUMBER : (truck.contactPhone ?? ''))}\r\n {truck.contactPhoneVerificationStatus === VerificationPointsTaskStatus.COMPLETED ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {t(T.common_truck_Next_Available)}\r\n \r\n \r\n {displayDates(MAX_DATES_DISPLAY_XLARGE, truck.availableDates)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n };\r\n\r\n private renderCheckbox = (id: string, marginOnNothing: boolean = false) => {\r\n if (this.props.disabled || this.props.shouldHideMultiSelect) {\r\n if (marginOnNothing) {\r\n return ;\r\n }\r\n return undefined;\r\n }\r\n return (\r\n \r\n \r\n \r\n );\r\n };\r\n\r\n private renderCell = (\r\n id: string,\r\n content?: React.ReactNode,\r\n styleChange: boolean = false,\r\n tooltip?: string,\r\n expandOnClick: boolean = false\r\n ) => {\r\n return (\r\n \r\n \r\n {content ? content : NO_INFORMATION_SYMBOL}\r\n \r\n \r\n );\r\n };\r\n\r\n private renderRating = (id: string, truck: Truck) => {\r\n const rating = truck.rating?.starRating;\r\n return (\r\n \r\n {rating ? : NO_INFORMATION_SYMBOL}\r\n \r\n );\r\n };\r\n\r\n private alertSentIcon = (id: string, truck: Truck) =>\r\n truck.notificationInfo && truck.notificationInfo.messagesReceived > 0 ? (\r\n \r\n ) : (\r\n
{NO_INFORMATION_SYMBOL}
\r\n );\r\n\r\n private truckAlertSent = (id: string, truck: Truck, isInternal: boolean) => {\r\n const messagesCount = truck?.notificationInfo?.recentMessagesCountFromCompany;\r\n return (\r\n \r\n
\r\n {this.alertSentIcon(id, truck)}\r\n {isInternal && messagesCount ? (\r\n \r\n ({messagesCount})\r\n \r\n ) : null}\r\n
\r\n \r\n );\r\n };\r\n}\r\n\r\nconst displayDates = (limit: number, dates?: string[]) => {\r\n if (!dates || dates.length <= 0) {\r\n return t(T.common_truck_Now);\r\n }\r\n\r\n let tooLong = false;\r\n let datesToDisplay = dates;\r\n\r\n if (limit && dates.length > limit) {\r\n datesToDisplay = slice(dates, 0, limit);\r\n tooLong = true;\r\n }\r\n\r\n let parsedDates: string = reduce(\r\n datesToDisplay,\r\n (prev: string, nextDate: string) => `${prev}, ${formatDateStringToMMMDD(nextDate)}`,\r\n ''\r\n );\r\n\r\n if (tooLong) {\r\n parsedDates += '...';\r\n }\r\n\r\n return parsedDates.substring(2, parsedDates.length);\r\n};\r\n\r\nconst getCompanyNameMaxLength = (props: TruckElementProps) => {\r\n if (props.sizeState === TableSizeState.small) {\r\n return MAX_COMPANY_LENGTH_SMALL;\r\n }\r\n if (props.sizeState === TableSizeState.medium) {\r\n return MAX_COMPANY_LENGTH_MEDIUM;\r\n }\r\n return MAX_COMPANY_LENGTH_LARGE;\r\n};\r\n\r\nexport const trimString = (name: string, limit: number) => {\r\n if (name && name.length > limit) {\r\n return `${name.substring(0, limit)}...`;\r\n } else {\r\n return name;\r\n }\r\n};\r\n\r\nexport const getTooltip = (name: string, limit: number) => {\r\n if (name && name.length > limit) {\r\n return name;\r\n } else {\r\n return undefined;\r\n }\r\n};\r\n\r\nconst mapStateToProps = (state: StoreState, ownProps: Props): ReduxProps => ({\r\n isCompanyActionLoading: isCompanyActionLoading(\r\n state.companyState.isLoading || state.truckState.isLoading,\r\n state.truckLocatorState.trucks,\r\n ownProps.item.id\r\n ),\r\n shouldDisableActions: state.companyState.isLoading,\r\n});\r\n\r\nconst isCompanyActionLoading = memoizeOne(\r\n (isLoading: boolean, trucks: Truck[], currentTruckId: string) =>\r\n isLoading && findIndex(trucks, (truck) => truck.id === currentTruckId) !== -1\r\n);\r\n\r\nconst mapDispatchToProps = (dispatch: Dispatch): DispatchProps =>\r\n bindActionCreators(\r\n {\r\n setSelectedTruckAction: (truck: Truck) => setSelectedTruck(truck),\r\n },\r\n dispatch\r\n );\r\n\r\nexport const TruckElement = connect(mapStateToProps, mapDispatchToProps)(withRouter(TruckElementComponent));\r\n\r\nexport const getCalculatedDesireRate = (perMileRate?: number, mileage?: number): number | undefined =>\r\n perMileRate && mileage ? round(perMileRate * round(mileage)) : undefined;\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Checkbox, Table, TableCell, TableHead, TableRow, Theme } from '@material-ui/core';\r\nimport { CheckboxProps } from '@material-ui/core/Checkbox';\r\nimport { default as ExpandLessIcon } from '@material-ui/icons/ExpandMore';\r\nimport { default as ExpandMoreIcon } from '@material-ui/icons/KeyboardArrowRight';\r\n\r\nimport { CustomCheckbox } from '@component/input';\r\nimport { THEME } from '@style/Theme';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nimport { Warning } from './Warning';\r\n\r\nconst getBorder = (theme: Theme, hasBorder?: number) => `${hasBorder ? '1px' : '0px'} solid\r\n${theme.palette.background.paler};`;\r\nexport const IteractableDiv = styled.div`\r\n cursor: ${(props: { clickable?: number }) => (props.clickable ? 'pointer' : 'auto')};\r\n`;\r\n\r\nexport const StyledTruckTable = styled(Table)`\r\n && {\r\n width: 100%;\r\n border-collapse: collapse;\r\n table-layout: fixed;\r\n }\r\n`;\r\n\r\nexport const SeparatorCell = withTheme()(styled(TableCell)`\r\n background-color: ${(props: ThemeProps) => props.theme.palette.tableCell.light};\r\n color: grey !important;\r\n font-weight: bold;\r\n`);\r\n\r\nexport const SeparatorCheckboxCell = withTheme()(styled(TableCell)`\r\n background-color: ${(props: ThemeProps) => props.theme.palette.tableCell.light};\r\n color: grey !important;\r\n font-weight: bold;\r\n`);\r\n\r\nexport const HeaderDenseCell = withTheme()(styled(TableCell)`\r\n && {\r\n background-color: ${(props: ThemeProps & { width?: string }) => props.theme.palette.background.paper};\r\n color: ${(props: ThemeProps & { width?: string }) => props.theme.palette.icon.light} !important;\r\n width: ${(props: ThemeProps & { width?: string }) => (props.width ? props.width : '40px')};\r\n text-align: center;\r\n }\r\n`);\r\n\r\nexport const StyledSeparatorCheckbox = withTheme()(styled(CustomCheckbox)`\r\n && {\r\n width: 40px;\r\n\r\n svg {\r\n color: ${(props: ThemeProps) => props.theme.palette.icon.dark};\r\n }\r\n }\r\n`);\r\n\r\nexport const StyledCheckbox = withTheme()(styled(Checkbox)`\r\n && {\r\n max-width: 50px;\r\n width: 40px;\r\n\r\n svg {\r\n color: ${(props: ThemeProps & CheckboxProps) =>\r\n props.checked ? props.theme.palette.icon.main : props.theme.palette.icon.light};\r\n }\r\n }\r\n`);\r\n\r\nexport const ExpandLess = withTheme()(styled(ExpandLessIcon)`\r\n color: ${(props: ThemeProps) => props.theme.palette.secondary.main};\r\n`);\r\n\r\nexport const ExpandMore = withTheme()(styled(ExpandMoreIcon)`\r\n color: ${(props: ThemeProps) => props.theme.palette.secondary.main};\r\n`);\r\n\r\nexport const VerticalCellRow = styled(IteractableDiv)`\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n width: 100%;\r\n margin-bottom: 10px;\r\n justify-content: space-between;\r\n`;\r\n\r\nexport const VerticalCellColumn = styled(IteractableDiv)`\r\n display: flex;\r\n flex-direction: column;\r\n flex: 1;\r\n`;\r\n\r\nexport const NonMatchesMargin = styled.div`\r\n min-width: 40px;\r\n width: 40px;\r\n min-height: 20px;\r\n`;\r\n\r\ninterface CellProps extends ThemeProps {\r\n width?: string;\r\n disabled?: number;\r\n clickable?: number;\r\n}\r\n\r\nexport const ThemedCell = withTheme()(styled(TableCell)`\r\n && {\r\n transition: background-color 0.6s ease;\r\n background-color: transparent;\r\n border-style: none;\r\n width: ${(props: CellProps) => (props.width ? props.width : '0px')};\r\n cursor: ${(props: CellProps) => (props.clickable ? 'pointer' : 'auto')};\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n > span {\r\n opacity: ${(props: CellProps) => (props.disabled ? 0.4 : 1)};\r\n }\r\n }\r\n`);\r\n\r\ninterface DenseProps extends ThemeProps {\r\n clickable?: number;\r\n}\r\nexport const DenseCell = withTheme()(styled(TableCell)`\r\n && {\r\n transition: background-color 0.6s ease;\r\n background-color: transparent;\r\n max-width: 50px;\r\n width: 40px;\r\n border-style: none;\r\n text-align: center;\r\n cursor: ${(props: DenseProps) => (props.clickable ? 'pointer' : 'auto')};\r\n button {\r\n padding: 0px;\r\n max-width: 30px;\r\n min-width: 30px;\r\n width: 30px;\r\n height: 30px;\r\n min-height: 30px;\r\n margin-right: 7px;\r\n }\r\n }\r\n`);\r\ninterface StyledRowProps extends ThemeProps {\r\n vertical: number;\r\n isSelected: number;\r\n hasBorder?: number;\r\n}\r\n\r\nexport const StyledRow = withTheme()(styled>(\r\n ({ isSelected, hasBorder, vertical, ...rest }) => \r\n)`\r\n && {\r\n height: ${(props: StyledRowProps) => (props.vertical ? '106px' : 'none')};\r\n background-color: ${(props: StyledRowProps) =>\r\n props.isSelected ? props.theme.palette.tableCell.dark : props.theme.palette.tableCell.main};\r\n border-bottom: ${(props: StyledRowProps) => getBorder(props.theme, props.hasBorder)};\r\n }\r\n`);\r\n\r\nexport const openStyle = () => ({\r\n height: 'auto',\r\n maxHeight: '300px',\r\n backgroundColor: 'transparent',\r\n transition: 'max-height 0.6s ease, background-color 0.6s ease, border-color 0.6s ease',\r\n});\r\n\r\nexport const closeStyle = {\r\n height: 'unset',\r\n maxHeight: '0px',\r\n overflowY: 'hidden',\r\n backgroundColor: THEME.palette.tableCell.main,\r\n transition: 'max-height 0.6s ease, background-color 0.6s ease, border-color 0.6s ease',\r\n};\r\ninterface RowDetailsProps extends ThemeProps {\r\n hasBorder?: number;\r\n isSelected: number;\r\n}\r\n\r\nexport const RowDetails = withTheme()(styled>(\r\n ({ isSelected, hasBorder, ...rest }) => \r\n)`\r\n && {\r\n background-color: ${(props: RowDetailsProps) =>\r\n props.isSelected ? THEME.palette.tableCell.dark : THEME.palette.tableCell.main};\r\n padding: 0px !important;\r\n border-bottom: ${(props: RowDetailsProps) => getBorder(props.theme, props.hasBorder)};\r\n > td {\r\n padding-top: 0px;\r\n padding-bottom: 0px;\r\n border: 0px;\r\n }\r\n }\r\n`);\r\n\r\nexport const ButtonSeparator = styled.div`\r\n && {\r\n min-width: 16px;\r\n min-height: 16px;\r\n }\r\n`;\r\n\r\nexport const CellDetails = withTheme()(styled(TableCell)`\r\n && {\r\n border-collapse: collapse;\r\n vertical-align: top;\r\n }\r\n`);\r\n\r\nexport const HiddenDivVertical = styled.div`\r\n overflow-y: hidden;\r\n display: flex;\r\n flex-direction: column;\r\n overflow: visible;\r\n`;\r\n\r\nexport const TextBlock = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n margin: 10px 0 10px 0;\r\n overflow: visible;\r\n`;\r\n//@TODO: CHECK THIS BOOLEANS AS NUMBERS.\r\nexport const ButtonDiv = styled.div`\r\n margin: ${(props: { vertical: boolean; sideways: boolean }) =>\r\n props.sideways ? '8px 24px 8px 0px' : '8px 16px 8px 16px'};\r\n display: flex;\r\n flex-direction: ${(props: { vertical: boolean; sideways: boolean }) => (props.vertical ? 'column' : 'row')};\r\n flex-wrap: nowrap;\r\n align-items: ${(props: { vertical: boolean; sideways: boolean }) => (props.vertical ? 'stretch' : 'center')};\r\n justify-content: space-between;\r\n`;\r\n\r\nexport const ButtonLeftDiv = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n margin: 16px 0px;\r\n justify-content: flex-start;\r\n`;\r\n\r\nexport const ButtonRightDiv = styled.div`\r\n display: flex;\r\n flex-direction: ${(props: { vertical: boolean }) => (props.vertical ? 'column' : 'row-reverse')};\r\n flex-wrap: nowrap;\r\n margin: 8px 0px;\r\n`;\r\nexport const CenteredCellDiv = styled.div`\r\n && {\r\n display: flex;\r\n justify-content: center;\r\n }\r\n`;\r\n\r\nexport const TruckTableHeader = styled(TableHead)`\r\n background-color: white;\r\n`;\r\n\r\nexport const ExpandableIconDiv = styled.div`\r\n && {\r\n background-color: ${THEME.palette.tableCell.light};\r\n }\r\n`;\r\n\r\nexport const ArrowCell = withTheme()(styled(TableCell)`\r\n && {\r\n vertical-align: top;\r\n width: 20px;\r\n max-width: 20px;\r\n min-width: 20px;\r\n transition: background-color 0.6s ease;\r\n text-align: right;\r\n overflow: hidden;\r\n }\r\n`);\r\n\r\nexport const WarningMessage = styled(Warning)`\r\n padding: 20px 20px;\r\n`;\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { ElementSize, FontSize, px, Spacing } from '@style/StyleConstants';\r\n\r\nimport WarningIcon from './warning.svg';\r\n\r\nconst Container = styled.div`\r\n display: flex;\r\n width: 100%;\r\n min-height: ${px(ElementSize.HeaderHeight)};\r\n align-items: center;\r\n background-color: ${Color.ORANGE_WARNING};\r\n font-size: ${px(FontSize.Content)};\r\n padding: 0 20px 0 20px;\r\n box-sizing: border-box;\r\n`;\r\n\r\nconst Message = styled.span`\r\n color: ${Color.GRAY_6};\r\n margin-left: ${px(Spacing.HorizontalBigDistance)};\r\n`;\r\n\r\ninterface Props {\r\n message: string;\r\n className?: string;\r\n}\r\n\r\nexport const Warning = (props: Props) => (\r\n \r\n \r\n {props.message}\r\n \r\n);\r\n","import styled from 'styled-components';\r\n\r\nimport { Tab as MaterialTab } from '@material-ui/core';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const Tab = withTheme()(styled(MaterialTab)`\r\n && {\r\n text-transform: inherit;\r\n font-weight: bold;\r\n font-size: 14px;\r\n background-color: ${Color.WHITE};\r\n border-bottom: 2px solid ${Color.GRAY_SMOKE};\r\n color: ${(props: ThemeProps) => props.theme.palette.text.primary};\r\n min-width: 0;\r\n }\r\n`);\r\n","import styled from 'styled-components';\r\n\r\nimport { Tabs as MaterialTabs } from '@material-ui/core';\r\n\r\nimport { Color } from '@style/Color';\r\n\r\nexport const Tabs = styled(MaterialTabs)`\r\n && {\r\n background-color: ${Color.WHITE};\r\n }\r\n`;\r\n","import React, { Component, CSSProperties } from 'react';\r\n\r\nimport { isEqual } from 'lodash';\r\n\r\nimport { StyledTextInput } from '@component/textInput/TextInputStyle';\r\n\r\ninterface ComponentProps {\r\n value?: string;\r\n label: string;\r\n error?: string;\r\n isErrorWithText?: boolean;\r\n disabled?: boolean;\r\n helperText?: string;\r\n placeholder?: string;\r\n onChange?: (value: string) => void;\r\n onFocus?: () => void;\r\n onBlur?: () => void;\r\n style?: CSSProperties;\r\n}\r\n\r\ninterface ComponentState {\r\n value?: string;\r\n}\r\n\r\nexport class NumberValidationInput extends Component {\r\n constructor(props: ComponentProps) {\r\n super(props);\r\n const { value } = this.props;\r\n this.state = {\r\n value: value ? value : '',\r\n };\r\n }\r\n\r\n componentDidUpdate(prevProps: Readonly): void {\r\n if (!isEqual(prevProps.value, this.props.value)) {\r\n this.setState({ value: this.props.value });\r\n }\r\n }\r\n\r\n handleChange = (event: React.ChangeEvent) => {\r\n const value = event.target.value;\r\n if (!isNaN(+value.replace(/\\s/g, ''))) {\r\n if (this.props.onChange) {\r\n this.props.onChange(value.replace(/\\s/g, ''));\r\n } else {\r\n this.setState({\r\n value: value.replace(/\\s/g, ''),\r\n });\r\n }\r\n }\r\n };\r\n\r\n render() {\r\n const { label, error, disabled, helperText, placeholder, onFocus, isErrorWithText, onBlur, style } = this.props;\r\n const { value } = this.state;\r\n return (\r\n \r\n );\r\n }\r\n}\r\n","import styled from 'styled-components';\r\n\r\nimport { TextField } from '@material-ui/core';\r\n\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const StyledTextInput = withTheme()(styled(TextField)`\r\n && {\r\n flex: 1;\r\n align-self: stretch;\r\n min-width: 158px;\r\n margin: 0px;\r\n border-bottom: 2px;\r\n & > label {\r\n font-family: ${(props: ThemeProps) => props.theme.text.subtitleRegular.fontFamily};\r\n }\r\n & > div {\r\n height: 54px !important;\r\n background-color: ${(props: any) => (props.disabled ? '#EDEFF1' : props.theme.palette.textInput.backgroundColor)};\r\n border: 1px solid ${(props: ThemeProps) => props.theme.palette.textInput.borderColor};\r\n height: 56px;\r\n font-family: ${(props: ThemeProps) => props.theme.text.subtitleRegular.fontFamily};\r\n font-size: ${(props: ThemeProps) => props.theme.text.subtitleRegular.fontSize};\r\n line-height: ${(props: ThemeProps) => props.theme.text.subtitleRegular.lineHeight};\r\n ::before {\r\n border-color: ${(props: ThemeProps) => props.theme.palette.textInput.borderColor} !important;\r\n }\r\n & > input {\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n padding-top: 16px;\r\n }\r\n }\r\n }\r\n`);\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Color } from '@style/Color';\r\n\r\ninterface Props {\r\n id: string;\r\n accent?: boolean;\r\n children?: React.ReactNode;\r\n onClick: () => void;\r\n style?: React.CSSProperties;\r\n isDisabled?: boolean;\r\n}\r\n\r\nconst Wrapper = styled.div`\r\n && {\r\n font-weight: bold;\r\n cursor: ${({ isDisabled }: { isDisabled?: boolean }) => (isDisabled ? 'default' : 'pointer')};\r\n }\r\n`;\r\n\r\nconst InlineWrapper = styled.div`\r\n && {\r\n display: inline-block;\r\n font-weight: bold;\r\n cursor: pointer;\r\n }\r\n`;\r\n\r\nexport const TappableTextContent: React.FC = (props: Props) => {\r\n const { onClick, isDisabled, accent } = props;\r\n let color = accent === true ? Color.ORANGE_MAIN : Color.GRAY_DARK;\r\n if (isDisabled) {\r\n color = Color.GRAY_STONE;\r\n }\r\n return (\r\n \r\n
{props.children}
\r\n
\r\n );\r\n};\r\n\r\nexport const InlineTappableText: React.FC = (props: Props) => {\r\n const { onClick } = props;\r\n return (\r\n \r\n \r\n {props.children}\r\n \r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport { clone, map, split } from 'lodash';\r\nimport styled from 'styled-components';\r\n\r\nimport { Theme } from '@material-ui/core/styles/createMuiTheme';\r\n\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport enum TextStyle {\r\n Header1Tab = 'header1Tab',\r\n Header1ProfileTab = 'header1ProfileTab',\r\n Header2Title = 'header2Title',\r\n Header2Button = 'header2Button',\r\n DropBoxTitle = 'dropBoxTitle',\r\n Header3 = 'header3',\r\n RedHeader3 = 'redHeader3',\r\n Default = 'default',\r\n DefaultLight = 'defaultLight',\r\n Link = 'link',\r\n BigLink = 'bigLink',\r\n BigLinkBold = 'bigLinkBold',\r\n PrimaryButton = 'primaryButton',\r\n Alert = 'alert',\r\n AlertLarge = 'alertLarge',\r\n FooterLink = 'footerLink',\r\n FooterText = 'footerText',\r\n HamburgerHeader = 'hamburgerHeader',\r\n Submenu = 'submenu',\r\n Version = 'version',\r\n CompactVersion = 'compactVersion',\r\n HamburgerTab = 'hamburgerTab',\r\n InfoFieldLabel = 'infoFieldLabel',\r\n InfoFieldValue = 'infoFieldValue',\r\n InputFieldLabel = 'inputFieldLabel',\r\n InputFieldValue = 'inputFieldValue',\r\n InputFieldShow = 'inputFieldShow',\r\n Note = 'note',\r\n InfoTableHeader = 'infoTableHeader',\r\n Disclaimer = 'disclaimer',\r\n ContactDisclaimer = 'contactDisclaimer',\r\n HamburgerMenuSeparator = 'hamburgerMenuSeparator',\r\n LargerMenuSeparator = 'largerMenuSeparator',\r\n MenuSeparator = 'menuSeparator',\r\n TableRow = 'tableRow',\r\n TableHeader = 'tableHeader',\r\n TableSubContent = 'tableSubContent',\r\n TableTitle = 'tableTitle',\r\n TableSeparator = 'tableSeparator',\r\n MidResult = 'midResult',\r\n BigResult = 'bigResult',\r\n BiggerResult = 'biggerResult',\r\n HeavyText = 'heavyText',\r\n LightText = 'lightText',\r\n DashboardHeader = 'dashboardHeader',\r\n DashboardHeaderSmall = 'dashboardHeaderSmall',\r\n DashboardItemLabel = 'dashboardItemLabel',\r\n DashboardItemLabelSmall = 'dashboardItemLabelSmall',\r\n DashboardPostedLoadCount = 'dashboardPostedLoadCount',\r\n DashboardPostedLoadCountSmall = 'dashboardPostedLoadCountSmall',\r\n Error = 'error',\r\n ErrorSmall = 'errorSmall',\r\n NakedPageTitle = 'nakedPageTitle',\r\n NakedPageMessage = 'nakedPageMessage',\r\n DetailContent = 'detailContent',\r\n DetailContentLink = 'detailContentLink',\r\n TextContentDetail = 'textContentDetail',\r\n TextContentDetailGreen = 'textContentDetailGreen',\r\n TableHeaderGreen = 'tableHeaderGreen',\r\n TableHeaderRed = 'tableHeaderRed',\r\n VerifyEmailHeader = 'verifyEmailHeader',\r\n VerifyEmailHeaderSmall = 'verifyEmailHeaderSmall',\r\n VerifyEmailSubheader = 'verifyEmailSubheader',\r\n SubtitleBold = 'subtitleBold',\r\n SubtitleRegular = 'subtitleRegular',\r\n Subtitle2Regular = 'subtitle2Regular',\r\n Subtitle2Bold = 'subtitle2Bold',\r\n SubtitleNormalWeight = 'subtitleNormalWeight',\r\n BodyLarge = 'bodyLarge',\r\n Body = 'body',\r\n Body2 = 'body2',\r\n Disabled = 'disabled',\r\n H2 = 'h2',\r\n}\r\n\r\nexport enum TextDisplay {\r\n InlineFlex = 'inline-flex',\r\n InlineBlock = 'inline-block',\r\n Inline = 'inline',\r\n}\r\n\r\nconst getTextStyle = (textStyle?: TextStyle) => (textStyle ? textStyle : TextStyle.Default);\r\n\r\nconst getFontSize = (theme: Theme, textStyle: TextStyle) => (textStyle ? theme.text[textStyle].fontSize : null);\r\nconst getFontFamily = (theme: Theme, textStyle: TextStyle) => (textStyle ? theme.text[textStyle].fontFamily : null);\r\nconst getFontWeight = (theme: Theme, textStyle: TextStyle) => (textStyle ? theme.text[textStyle].fontWeight : null);\r\nconst getLineHeight = (theme: Theme, textStyle: TextStyle) => (textStyle ? theme.text[textStyle].lineHeight : null);\r\nconst getLetterSpacing = (theme: Theme, textStyle: TextStyle) =>\r\n textStyle ? theme.text[textStyle].letterSpacing : null;\r\nconst getTextTransform = (theme: Theme, textStyle: TextStyle) =>\r\n textStyle ? theme.text[textStyle].textTransform : null;\r\nconst getColor = (theme: Theme, textStyle: TextStyle) => (textStyle ? theme.text[textStyle].color : null);\r\n\r\nconst StyledText = withTheme()(styled.span`\r\n white-space: ${(props: ThemeProps & TextProps) => (props.noWrap ? 'nowrap' : 'normal')};\r\n display: ${(props: ThemeProps & TextProps) => (props.display ? props.display : TextDisplay.Inline)};\r\n align-items: ${(props: ThemeProps & TextProps) => (props.center ? 'center' : 'flex-start')};\r\n font-size: ${(props: ThemeProps & TextProps) => getFontSize(props.theme, getTextStyle(props.textStyle))};\r\n font-weight: ${(props: ThemeProps & TextProps) => getFontWeight(props.theme, getTextStyle(props.textStyle))};\r\n font-family: ${(props: ThemeProps & TextProps) => getFontFamily(props.theme, getTextStyle(props.textStyle))};\r\n line-height: ${(props: ThemeProps & TextProps) => getLineHeight(props.theme, getTextStyle(props.textStyle))};\r\n text-transform: ${(props: ThemeProps & TextProps) => getTextTransform(props.theme, getTextStyle(props.textStyle))};\r\n letter-spacing: ${(props: ThemeProps & TextProps) => getLetterSpacing(props.theme, getTextStyle(props.textStyle))};\r\n color: ${(props: ThemeProps & TextProps) => {\r\n if (props.isDisabled) {\r\n return props.theme.text.disabled.color;\r\n }\r\n return !props.isSelected && props.textStyle === TextStyle.Header1Tab\r\n ? props.theme.text.header1Tab.unselectedColor\r\n : getColor(props.theme, getTextStyle(props.textStyle));\r\n }};\r\n\r\n > a {\r\n text-decoration: none;\r\n }\r\n align-content: center;\r\n white-space: ${(props: ThemeProps & TextProps) => (props.noWrap ? 'nowrap' : 'normal')};\r\n overflow: ${(props: ThemeProps & TextProps) => (props.truncateOverflow ? 'hidden' : '')};\r\n text-overflow: ${(props: ThemeProps & TextProps) => (props.truncateOverflow ? 'ellipsis' : '')};\r\n -webkit-text-size-adjust: 100%;\r\n`);\r\n\r\nexport interface TextProps {\r\n id: string;\r\n textStyle?: TextStyle;\r\n isSelected?: boolean;\r\n display?: TextDisplay;\r\n center?: boolean;\r\n noWrap?: boolean;\r\n truncateOverflow?: boolean;\r\n isDisabled?: boolean;\r\n style?: React.CSSProperties;\r\n className?: string;\r\n}\r\n\r\nexport const Text: React.FC = (props) => {parseChildren(props.children)};\r\n\r\nconst parseChildren = (children: React.ReactNode) => {\r\n const nodes = clone(children);\r\n if (nodes instanceof Array) {\r\n for (let i = 0; i < nodes.length; i++) {\r\n nodes[i] = parseText(nodes[i]);\r\n }\r\n return nodes;\r\n }\r\n if (typeof nodes === 'string') {\r\n return parseText(nodes);\r\n }\r\n return children;\r\n};\r\n\r\nconst parseText = (value: React.ReactNode) => {\r\n if (typeof value === 'string') {\r\n const text = value as string;\r\n const lines = split(text, '\\n');\r\n if (lines.length > 1) {\r\n return map(lines, (line, index) => {\r\n //we dont want an extra line break on the last sentence.\r\n if (index === lines.length - 1) {\r\n return line;\r\n }\r\n return (\r\n \r\n {line}\r\n
\r\n
\r\n );\r\n });\r\n }\r\n }\r\n return value;\r\n};\r\n","import React, { useEffect, useMemo, useState } from 'react';\r\n\r\nimport { map } from 'lodash';\r\nimport { connect, useDispatch } from 'react-redux';\r\nimport { Action, bindActionCreators, Dispatch } from 'redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@material-ui/core';\r\n\r\nimport ErrorIcon from '@/icons/icon_error_block.svg';\r\nimport InfoIcon from '@/icons/icon_info.svg';\r\nimport SuccessIcon from '@/icons/icon_success.svg';\r\nimport WarningIcon from '@/icons/icon_warning.svg';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { Routes } from '@/router/Routes';\r\nimport { useSelector } from '@/util/hooks';\r\nimport { GENERAL_CONTACT_PHONE_NUMBER } from '@common/info';\r\nimport { RibbonMessage } from '@common/model';\r\nimport { UnlockFeaturePopupType } from '@common/model/UserPlan';\r\nimport { requestBrokerFeature } from '@common/redux/epic/FeedbackEpic';\r\nimport { closeRibbon, openRibbon, RibbonMessageType } from '@common/redux/reducer/TopRibbonReducer';\r\nimport { PhoneNumber, UpgradeLink } from '@component/contact';\r\nimport { useIsCarrier } from '@component/menu/NavigationMenuHelper';\r\nimport { BasePopup } from '@component/popup/BasePopup';\r\nimport { PopupPrimaryButton } from '@component/popup/PopupButtons';\r\nimport { PopupSizes, usePopup } from '@component/popup/PopupTrackingContext';\r\nimport { useUnlockFeaturePopup } from '@component/popup/UnlockFeaturePopup';\r\nimport { Text } from '@component/text/Text';\r\nimport { Color } from '@style/Color';\r\nimport { MENU_TOP_BAR_ZINDEX } from '@style/StyleConstants';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\nimport { t, T } from '@translate';\r\n\r\nconst DialogBackdrop = styled.div`\r\n position: fixed;\r\n z-index: 1;\r\n width: 100%;\r\n height: 100%;\r\n background-color: rgba(0, 0, 0, 0.5);\r\n`;\r\n\r\nconst ERROR_DIV_MAX_HEIGHT = 230;\r\nexport const TOP_RIBBON_ID = 'Top_Ribbon';\r\n\r\ninterface RibbonDivProps {\r\n messageType: RibbonMessageType;\r\n dismissed: boolean;\r\n}\r\n\r\nexport const RibbonDiv = withTheme()(styled.div`\r\n position: relative;\r\n width: 100%;\r\n display: flex;\r\n overflow: hidden;\r\n flex-grow: 0;\r\n flex-shrink: 0;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n max-height: ${ERROR_DIV_MAX_HEIGHT}px;\r\n background-color: ${(props: RibbonDivProps) => colorForMessageType(props.messageType)};\r\n z-index: ${MENU_TOP_BAR_ZINDEX};\r\n`);\r\n\r\nexport const RibbonTextDiv = withTheme()(styled.div`\r\n margin: 17px 0px 17px 0px;\r\n display: flex;\r\n justify-content: space-between;\r\n flex-direction: row;\r\n align-items: center;\r\n flex: 1;\r\n\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.md}px) {\r\n margin: 20px 0px 20px 0px;\r\n flex-direction: row;\r\n align-items: center;\r\n }\r\n\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.sm}px) {\r\n margin: 25px 8px 8px 0px;\r\n flex-direction: column;\r\n align-items: flex-end;\r\n }\r\n`);\r\n\r\nexport const DismissButton = withTheme()(styled(Button)`\r\n && {\r\n width: 94px;\r\n height: 36px;\r\n margin: 0px 16px 0px 95px;\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.sm}px) {\r\n margin: 21px 0px 0px 95px;\r\n }\r\n }\r\n`);\r\n\r\nexport const ImageIcon = withTheme()(styled.img`\r\n && {\r\n height: 30px;\r\n width: 30px !important;\r\n min-width: 30px !important;\r\n margin: 24px;\r\n box-sizing: content-box;\r\n border-radius: 20px;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n }\r\n`);\r\n\r\ninterface TopRibbonProps {\r\n messages?: RibbonMessage[];\r\n messageType: RibbonMessageType;\r\n isOpened: boolean;\r\n isDismissable: boolean;\r\n withBackdrop?: boolean;\r\n closeRibbon?: () => void;\r\n path?: string | string[];\r\n}\r\n\r\ninterface TopRibbonActionProps {\r\n openRibbon: (msg: RibbonMessage[], type: RibbonMessageType) => void;\r\n closeRibbon: () => void;\r\n}\r\n\r\nclass TopRibbonComponent extends React.Component {\r\n render() {\r\n return this.props.isOpened ? : null;\r\n }\r\n}\r\n\r\nexport const RibbonBase: React.FC = ({\r\n id,\r\n withBackdrop,\r\n isOpened,\r\n messageType,\r\n isDismissable,\r\n closeRibbon,\r\n messages,\r\n path,\r\n}) => {\r\n return (\r\n <>\r\n {withBackdrop ? : null}\r\n \r\n \r\n \r\n \r\n {isDismissable ? (\r\n \r\n {t(T.Dismiss)}\r\n \r\n ) : undefined}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nconst RenderTexts: React.FC<{ id: string; messages?: RibbonMessage[]; path?: string | string[] }> = ({\r\n id,\r\n messages,\r\n path,\r\n}) => {\r\n const { openingPopup, closingPopup } = usePopup();\r\n const dispatch = useDispatch();\r\n const isBroker = !useIsCarrier();\r\n const openUnlockPopup = useUnlockFeaturePopup();\r\n const response = useSelector((state) => state.feedbackState.response);\r\n const isLoading = useSelector((state) => state.feedbackState.isBrokerFeatureRequestLoading);\r\n const [wasRequestSent, setWasRequestSent] = useState(false);\r\n\r\n useEffect(() => {\r\n if (wasRequestSent && !isLoading) {\r\n if (response.success) {\r\n handleSubmitSuccess();\r\n } else {\r\n handleSubmitFailure();\r\n }\r\n setWasRequestSent(false);\r\n }\r\n }, [isLoading, response]);\r\n\r\n const submitRequestFeature = () => {\r\n closingPopup();\r\n dispatch(requestBrokerFeature(isBroker));\r\n setWasRequestSent(true);\r\n };\r\n\r\n const handleRequestClick = () => {\r\n openingPopup({\r\n body: (\r\n ,\r\n ]}\r\n >\r\n {isBroker\r\n ? t(T.findLoads_findLoads_popUps_featureRequest_content)\r\n : t(T.findLoads_findLoads_popUps_featureRequestCarrier_content)}\r\n \r\n ),\r\n isDismissible: false,\r\n width: PopupSizes.SMALL,\r\n });\r\n };\r\n\r\n const handleSubmitSuccess = () => {\r\n openingPopup({\r\n body: (\r\n ,\r\n ]}\r\n >\r\n {isBroker\r\n ? t(T.findLoads_findLoads_popUps_featureSubmit_content)\r\n : t(T.findLoads_findLoads_popUps_featureSubmit_contentCarrier)}\r\n \r\n ),\r\n isDismissible: false,\r\n width: PopupSizes.SMALL,\r\n });\r\n };\r\n\r\n const handleSubmitFailure = () => {\r\n openingPopup({\r\n body: (\r\n ,\r\n ]}\r\n >\r\n {isBroker\r\n ? t(T.findLoads_findLoads_popUps_featureSubmitFail_content)\r\n : t(T.findLoads_findLoads_popUps_featureSubmitFail_contentCarrier)}\r\n \r\n ),\r\n isDismissible: false,\r\n width: PopupSizes.SMALL,\r\n });\r\n };\r\n\r\n const popupType = useMemo(() => {\r\n if (path === Routes.RESOURCES_SEARCH_DIRECTORY) {\r\n return UnlockFeaturePopupType.SearchDirectory;\r\n }\r\n if (path === Routes.TOOLS_MARKET_RATES_CARRIER) {\r\n return UnlockFeaturePopupType.MarketRates;\r\n }\r\n return UnlockFeaturePopupType.MileageCalculator;\r\n }, [path]);\r\n\r\n return (\r\n
\r\n {map(messages, (message: RibbonMessage, index: number) => {\r\n if (message.isPhoneLink) {\r\n return (\r\n \r\n );\r\n } else if (message.isSettingsLink) {\r\n return (\r\n openUnlockPopup(popupType)}\r\n wrap={false}\r\n isLarge={false}\r\n key={message.message}\r\n />\r\n );\r\n } else if (message.isRequestLink) {\r\n return (\r\n {\r\n handleRequestClick();\r\n }}\r\n wrap={false}\r\n isLarge={false}\r\n key={message.message}\r\n />\r\n );\r\n } else {\r\n return (\r\n \r\n {message.message}\r\n \r\n );\r\n }\r\n })}\r\n
\r\n );\r\n};\r\n\r\nconst iconForMessageType = (type: RibbonMessageType) => {\r\n switch (type) {\r\n case RibbonMessageType.Error:\r\n return ErrorIcon;\r\n case RibbonMessageType.Warning:\r\n return WarningIcon;\r\n case RibbonMessageType.Success:\r\n return SuccessIcon;\r\n default:\r\n return InfoIcon;\r\n }\r\n};\r\n\r\nconst colorForMessageType = (type: RibbonMessageType) => {\r\n switch (type) {\r\n case RibbonMessageType.Error:\r\n return Color.RED_PINK;\r\n case RibbonMessageType.Warning:\r\n return Color.ORANGE_FADED;\r\n case RibbonMessageType.Success:\r\n return Color.GREEN_LIGHT;\r\n default:\r\n return Color.BLUE_LIGHT;\r\n }\r\n};\r\nconst mapDispatchToProps = (dispatch: Dispatch) =>\r\n bindActionCreators(\r\n {\r\n openRibbon: openRibbon,\r\n closeRibbon: closeRibbon,\r\n },\r\n dispatch\r\n );\r\n\r\nconst mapStateToProps = (state: StoreState): TopRibbonProps => {\r\n if (state.topRibbon) {\r\n return {\r\n isOpened: state.topRibbon.isOpened,\r\n messages: state.topRibbon.messages,\r\n messageType: state.topRibbon.messageType,\r\n isDismissable: state.topRibbon.messageType !== RibbonMessageType.Error,\r\n };\r\n }\r\n return { isOpened: false, messageType: RibbonMessageType.Warning, isDismissable: true };\r\n};\r\n\r\nexport const TopRibbon = connect(\r\n mapStateToProps,\r\n mapDispatchToProps\r\n)(TopRibbonComponent);\r\n","import styled from 'styled-components';\r\n\r\nimport { IconButton } from '@material-ui/core';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const StyledPanelWrapper = styled.div`\r\n position: relative;\r\n height: 100%;\r\n background-color: ${Color.GRAY_GRADIENT_LIGHT};\r\n`;\r\n\r\nexport const StyledHeader = withTheme()(styled.label`\r\n font-family: ${(props: ThemeProps) => props.theme.text.subtitle2Regular.fontFamily};\r\n font-size: ${(props: ThemeProps) => props.theme.text.subtitle2Regular.fontSize};\r\n line-height: ${(props: ThemeProps) => props.theme.text.subtitle2Regular.lineHeight};\r\n color: ${(props: ThemeProps) => props.theme.palette.background.stone};\r\n margin-bottom: 15px;\r\n`);\r\n\r\nexport const StyledSubHeader = withTheme()(styled.label`\r\n font-family: ${(props: ThemeProps) => props.theme.text.body.fontFamily};\r\n font-size: ${(props: ThemeProps) => props.theme.text.body.fontSize};\r\n line-height: ${(props: ThemeProps) => props.theme.text.body.lineHeight};\r\n color: ${(props: ThemeProps) => props.theme.palette.background.stone};\r\n`);\r\n\r\nexport const StyledBlock = styled.div`\r\n margin-bottom: 30px;\r\n`;\r\n\r\nexport const StyledRow = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n align-items: flex-start;\r\n flex: 1;\r\n align-self: stretch;\r\n`;\r\n\r\nexport const ColumnLayout = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: flex-start;\r\n align-items: flex-start;\r\n align-self: stretch;\r\n`;\r\n\r\nexport const CenteredColumnLayout = styled(ColumnLayout)`\r\n align-items: center;\r\n`;\r\n\r\nexport const StyledIconsBar = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-around;\r\n padding-right: 10px;\r\n align-items: center;\r\n align-self: stretch;\r\n > img {\r\n width: 12px;\r\n }\r\n & > :first-child {\r\n width: 16px;\r\n }\r\n & > :last-child {\r\n width: 16px;\r\n }\r\n`;\r\n\r\nexport const StyledGrid = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: flex-start;\r\n align-items: flex-start;\r\n width: calc(100% - 30px);\r\n & > :first-child {\r\n margin-bottom: 5px;\r\n }\r\n & > :last-child {\r\n margin-top: 5px;\r\n }\r\n`;\r\n\r\nexport const StyledGridElement = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: flex-start;\r\n align-items: flex-start;\r\n align-self: stretch;\r\n & > :first-child {\r\n margin-right: 5px;\r\n min-width: 158px;\r\n margin: 0 !important;\r\n }\r\n & > :last-child {\r\n margin-left: 5px;\r\n }\r\n`;\r\n\r\nexport const StyledSliderResults = withTheme()(styled.div`\r\n font-family: ${(props: ThemeProps) => props.theme.text.subtitleRegular.fontFamily};\r\n font-size: ${(props: ThemeProps) => props.theme.text.subtitleRegular.fontSize};\r\n line-height: ${(props: ThemeProps) => props.theme.text.subtitleRegular.lineHeight};\r\n color: ${(props: ThemeProps) => props.theme.text.subtitleRegular.color};\r\n`);\r\n\r\nexport const StyledSection = withTheme()(styled.section`\r\n padding-top: 15px;\r\n margin-bottom: 5px;\r\n width: 100%;\r\n\r\n &::after {\r\n content: '';\r\n height: 8px;\r\n width: 100%;\r\n background: transparent linear-gradient(180deg, #e2e9ee 0%, ${Color.GRAY_LIGHT} 100%) 0% 0% no-repeat padding-box;\r\n position: absolute;\r\n }\r\n`);\r\n\r\nexport const StyledPaddedRow = styled(StyledRow)`\r\n padding: 0 15px;\r\n`;\r\n\r\nexport const StyledPaddedColumn = styled(ColumnLayout)`\r\n padding: 0 15px;\r\n`;\r\n\r\nexport const StyledTripHeader = withTheme()(styled.div`\r\n padding-top: 15px;\r\n margin-left: 7px;\r\n`);\r\n\r\nexport const CheckboxRow = withTheme()(styled.div`\r\n padding: 15px 0;\r\n`);\r\n\r\nexport const SwitchButton = withTheme()(styled(IconButton)`\r\n && {\r\n position: absolute;\r\n color: ${Color.ORANGE_LIGHT};\r\n &:hover {\r\n background-color: ${Color.ORANGE_DARK};\r\n }\r\n &:active {\r\n background-color: ${Color.ORANGE_MAIN};\r\n }\r\n }\r\n`);\r\n\r\nexport const LoadingContainer = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n padding: 10px;\r\n background-color: ${Color.WHITE};\r\n`;\r\n","import React from 'react';\r\n\r\nimport { enableMapSet } from 'immer';\r\nimport * as ReactDOM from 'react-dom';\r\nimport 'typeface-roboto';\r\n\r\nimport { BugsnagErrorBoundary } from '@util/BugsnagHelper';\r\n\r\nimport App from './App';\r\nimport MessagingWidgetApp, { isMessagingWidgetView } from './MessagingWidgetApp';\r\nimport { registerServiceWorker } from './registerServiceWorker';\r\n\r\nenableMapSet();\r\n\r\n// only run app in good browsers\r\nif (!('noApp' in window)) {\r\n let appComponent;\r\n const isMessagingWidget = isMessagingWidgetView();\r\n\r\n if (isMessagingWidget) {\r\n const partner = new URL(window.location.href).searchParams.get('partner') ?? '';\r\n appComponent = ;\r\n\r\n document.addEventListener('DOMContentLoaded', function () {\r\n document.body.classList.remove('app');\r\n document.body.classList.add('partner-portal');\r\n });\r\n } else {\r\n appComponent = ;\r\n }\r\n\r\n ReactDOM.render(\r\n {appComponent},\r\n document.getElementById('root') as HTMLElement\r\n );\r\n\r\n registerServiceWorker();\r\n}\r\n","import { filter, find, flatten, map, reduce } from 'lodash';\r\n\r\nimport { FilterOptionSpecificInput } from '@common/helper/FilterHelper';\r\nimport { DisplayOption } from '@common/helper/InterfaceHelper';\r\nimport { Sort } from '@common/helper/SortByKeys';\r\nimport {\r\n EquipmentType,\r\n FMCSAAuthorityStatus,\r\n LoadSortDirection,\r\n Location,\r\n VerificationPointsTaskStatus,\r\n} from '@common/model';\r\nimport { T, t } from '@translate';\r\n\r\nexport const DEFAULT_AGE = 48;\r\nexport const DEFAULT_CAPACITY_FINDER_RADIUS = 150;\r\nexport const MIN_AGE = 1;\r\nexport const MAX_AGE = 99;\r\n\r\n/**\r\n * Request & Response types\r\n * */\r\n\r\nexport enum CapacityType {\r\n Availability = 'Availability',\r\n Search = 'Search',\r\n}\r\n\r\nenum CapacityAvailabilityType {\r\n None = 'None',\r\n Inbound = 'Inbound',\r\n Intrastate = 'Intrastate',\r\n Outbound = 'Outbound',\r\n}\r\n\r\nexport enum CapacityLocationType {\r\n ZipCode = 'ZipCode',\r\n City = 'City',\r\n}\r\n\r\nexport enum CapacityFilterType {\r\n IsOnboarded = 'IsOnboarded',\r\n IsFavorite = 'IsFavorite',\r\n IsGPSVerified = 'IsGPSVerified',\r\n IsTeamDriven = 'IsTeamDriven',\r\n ActiveAuthorityMC = 'ActiveAuthorityMC',\r\n}\r\n\r\nexport interface CapacitiesRequest {\r\n pickup: CapacityLocation;\r\n dropOff: CapacityLocation;\r\n equipmentTypes: EquipmentType[];\r\n includesUnspecifiedSize: boolean;\r\n loadSize: CapacityLoadSize;\r\n maxAge: number;\r\n filter: CapacityFilterType[];\r\n sort: CapacitySort;\r\n token?: string;\r\n}\r\n\r\nexport interface CapacityLocation {\r\n type: CapacityLocationType;\r\n city?: string;\r\n state?: string;\r\n zipCode?: string;\r\n radius: number;\r\n}\r\n\r\ninterface CapacitySort {\r\n direction: LoadSortDirection;\r\n criteria: CapacityFinderSortCategory;\r\n}\r\n\r\nexport interface CapacitiesResponse {\r\n capacities: Capacity[];\r\n metadata: CapacityMetadata;\r\n}\r\n\r\nexport interface Capacity {\r\n type: CapacityType;\r\n capacityReference: string;\r\n equipmentTypes: EquipmentType[];\r\n desiredRate: number;\r\n isOnboarded: boolean;\r\n isFavoriteCarrier: boolean;\r\n isCarrierIdentityVerified: boolean;\r\n isLocationTrackingEnabled: boolean;\r\n loadSize: CapacityLoadSize;\r\n contact: CapacityContact;\r\n company: CapacityCompany;\r\n availability: CapacityAvailability;\r\n lastKnownLocation: CapacityLastKnownLocation;\r\n authorityStatus: CapacityAuthorityStatus;\r\n destinations: Location[];\r\n totalMileage?: number;\r\n}\r\n\r\nexport interface CapacityMetadata {\r\n limit: number;\r\n totalResultCount: number;\r\n queryTime: number;\r\n pageResultCount: number;\r\n token: string;\r\n isLastResult: boolean;\r\n}\r\n\r\ninterface CapacityContact {\r\n id: string;\r\n firstName: string;\r\n lastName: string;\r\n phone: string;\r\n phoneExt: string;\r\n phoneVerificationStatus: VerificationPointsTaskStatus;\r\n}\r\n\r\ninterface CapacityCompany {\r\n id: string;\r\n name: string;\r\n dotNumber: string;\r\n docketNumber: number;\r\n rating?: CarrierRating;\r\n}\r\n\r\ninterface CarrierRating {\r\n reviewCount: number;\r\n starRating: number;\r\n}\r\n\r\ninterface CapacityAvailability {\r\n age: number;\r\n availableLength: number;\r\n availableWeight: number;\r\n type: CapacityAvailabilityType;\r\n isAvailable: number;\r\n availableDates: string[];\r\n deadhead: number;\r\n isTeamDriven: boolean;\r\n notes?: string;\r\n}\r\n\r\ninterface CapacityLastKnownLocation {\r\n latitude: number;\r\n longitude: number;\r\n date: string;\r\n}\r\n\r\ninterface CapacityAuthorityStatus {\r\n commonAuthorityStatus: FMCSAAuthorityStatus;\r\n contractAuthorityStatus: FMCSAAuthorityStatus;\r\n brokerAuthorityStatus: FMCSAAuthorityStatus;\r\n authorityIssuance: string;\r\n bipdOnFile: number;\r\n}\r\n\r\n/**\r\n * Sorting\r\n * */\r\n\r\nexport interface CapacityFinderSort {\r\n direction: LoadSortDirection;\r\n field: CapacityFinderSortCategory;\r\n}\r\n\r\nexport type IKeysSortByCapacityFinder = Sort & CapacityFinderSort;\r\n\r\nexport enum CapacityFinderSortCategory {\r\n AGE = 'Age',\r\n COMPANY = 'Company',\r\n RATING = 'Rating',\r\n DEADHEAD = 'Deadhead',\r\n EQUIPMENT = 'Equipment',\r\n SIZE = 'Size',\r\n AVAILABLE_CAPACITY = 'AvailableCapacity',\r\n RATE = 'Rate',\r\n PHONE = 'Phone',\r\n NEXT_AVAILABLE = 'NextAvailable',\r\n}\r\n\r\nexport const CapacityFinderKeysSortBy: IKeysSortByCapacityFinder[] = [\r\n {\r\n id: '1',\r\n title: t(T.capacityFinder_sorting_age),\r\n field: CapacityFinderSortCategory.AGE,\r\n direction: LoadSortDirection.Asc,\r\n },\r\n {\r\n id: '2',\r\n title: t(T.capacityFinder_sorting_company),\r\n field: CapacityFinderSortCategory.COMPANY,\r\n direction: LoadSortDirection.Asc,\r\n },\r\n {\r\n id: '3',\r\n title: t(T.capacityFinder_sorting_rating),\r\n field: CapacityFinderSortCategory.RATING,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '4',\r\n title: t(T.capacityFinder_sorting_deadhead),\r\n field: CapacityFinderSortCategory.DEADHEAD,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '5',\r\n title: t(T.capacityFinder_sorting_size),\r\n field: CapacityFinderSortCategory.SIZE,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '6',\r\n title: t(T.capacityFinder_sorting_availableCapacity),\r\n field: CapacityFinderSortCategory.AVAILABLE_CAPACITY,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '7',\r\n title: t(T.capacityFinder_sorting_desiredRate),\r\n field: CapacityFinderSortCategory.RATE,\r\n direction: LoadSortDirection.Desc,\r\n },\r\n {\r\n id: '8',\r\n title: t(T.capacityFinder_sorting_phone),\r\n field: CapacityFinderSortCategory.PHONE,\r\n direction: LoadSortDirection.Asc,\r\n },\r\n {\r\n id: '9',\r\n title: t(T.capacityFinder_sorting_nextAvailable),\r\n field: CapacityFinderSortCategory.NEXT_AVAILABLE,\r\n direction: LoadSortDirection.Asc,\r\n },\r\n];\r\n\r\nexport const CapacityFinderSortByOptions = map(CapacityFinderKeysSortBy, (sortBy) => ({\r\n id: sortBy.id,\r\n key: sortBy.id,\r\n value: sortBy,\r\n displayValue: sortBy.title,\r\n}));\r\n\r\nexport const CapacityFinderListSortByOptions = (\r\n keys: IKeysSortByCapacityFinder[]\r\n): DisplayOption[] =>\r\n map(keys, (sortBy) => ({\r\n id: sortBy.id,\r\n key: sortBy.id,\r\n value: sortBy,\r\n displayValue: sortBy.title,\r\n }));\r\n\r\nexport const compareCapacityFinderSortOptionsByField = (a: T, b: T) =>\r\n a.field === b.field;\r\n\r\nexport const capacityFinderKeyFromSortCategory = (category: CapacityFinderSortCategory) =>\r\n find(CapacityFinderKeysSortBy, (key) => key.field === category);\r\n\r\n/**\r\n * Filtering\r\n * */\r\n\r\nexport interface CapacityFinderSearchFilter {\r\n pickupRadius: number;\r\n dropoffRadius: number;\r\n isOnboardedCarriers?: boolean;\r\n isFavoriteCarriers?: boolean;\r\n isGpsVerified?: boolean;\r\n isActiveAuthority?: boolean;\r\n age: number;\r\n isTeamDrivers?: boolean;\r\n loadSize?: CapacityLoadSize;\r\n}\r\n\r\nexport enum CapacityLoadSize {\r\n Any = 'Any',\r\n LTL = 'LTL',\r\n TL = 'TL',\r\n}\r\n\r\nexport enum CapacityFinderFilterType {\r\n PickupRadius = 'pickup_radius',\r\n DropoffRadius = 'dropoff_radius',\r\n OnboardedCarriers = 'onboarded_carriers',\r\n FavoriteCarriers = 'favorite_carriers',\r\n GpsVerified = 'gps_verified',\r\n ActiveAuthority = 'active_authority',\r\n Age = 'age',\r\n TeamDrivers = 'team_drivers',\r\n LTL = 'ltl',\r\n}\r\n\r\nexport interface CapacityFinderFilterOption {\r\n filterType: CapacityFinderFilterType;\r\n title: string;\r\n testID: string;\r\n isSelected: boolean;\r\n filterSpecificInput?: FilterOptionSpecificInput;\r\n}\r\n\r\nexport const capacityFinderFilterOptionsFromSearchFilterDraft = (\r\n searchFilterDraft: CapacityFinderSearchFilter\r\n): CapacityFinderFilterOption[][] => {\r\n return [\r\n [\r\n {\r\n filterType: CapacityFinderFilterType.OnboardedCarriers,\r\n title: t(T.capacityFinder_filtering_onboardedCarriers),\r\n testID: `${CapacityFinderFilterType.OnboardedCarriers}_${Boolean(searchFilterDraft.isOnboardedCarriers)}`,\r\n isSelected: Boolean(searchFilterDraft.isOnboardedCarriers),\r\n },\r\n {\r\n filterType: CapacityFinderFilterType.FavoriteCarriers,\r\n title: t(T.capacityFinder_filtering_favoriteCarriers),\r\n testID: `${CapacityFinderFilterType.FavoriteCarriers}_${Boolean(searchFilterDraft.isFavoriteCarriers)}`,\r\n isSelected: Boolean(searchFilterDraft.isFavoriteCarriers),\r\n },\r\n {\r\n filterType: CapacityFinderFilterType.GpsVerified,\r\n title: t(T.capacityFinder_filtering_gpsVerified),\r\n testID: `${CapacityFinderFilterType.GpsVerified}_${Boolean(searchFilterDraft.isGpsVerified)}`,\r\n isSelected: Boolean(searchFilterDraft.isGpsVerified),\r\n },\r\n {\r\n filterType: CapacityFinderFilterType.ActiveAuthority,\r\n title: t(T.capacityFinder_filtering_activeAuthority),\r\n testID: `${CapacityFinderFilterType.ActiveAuthority}_${Boolean(searchFilterDraft.isActiveAuthority)}`,\r\n isSelected: Boolean(searchFilterDraft.isActiveAuthority),\r\n },\r\n {\r\n filterType: CapacityFinderFilterType.TeamDrivers,\r\n title: t(T.common_load_filter_teamDrivers),\r\n testID: `${CapacityFinderFilterType.TeamDrivers}_${Boolean(searchFilterDraft.isTeamDrivers)}`,\r\n isSelected: Boolean(searchFilterDraft.isTeamDrivers),\r\n },\r\n {\r\n filterType: CapacityFinderFilterType.LTL,\r\n title: t(T.capacityFinder_filtering_ltlOnly),\r\n testID: `${CapacityFinderFilterType.LTL}_${Boolean(searchFilterDraft.loadSize)}`,\r\n isSelected: searchFilterDraft.loadSize === CapacityLoadSize.LTL,\r\n },\r\n ],\r\n ];\r\n};\r\n\r\nexport const selectCapacityFinderFilterOption = (\r\n searchFilter: CapacityFinderSearchFilter,\r\n filterOption: CapacityFinderFilterOption\r\n): Partial => {\r\n switch (filterOption.filterType) {\r\n case CapacityFinderFilterType.OnboardedCarriers: {\r\n return {\r\n isOnboardedCarriers: !filterOption.isSelected,\r\n };\r\n }\r\n case CapacityFinderFilterType.FavoriteCarriers: {\r\n return {\r\n isFavoriteCarriers: !filterOption.isSelected,\r\n };\r\n }\r\n case CapacityFinderFilterType.GpsVerified: {\r\n return {\r\n isGpsVerified: !filterOption.isSelected,\r\n };\r\n }\r\n case CapacityFinderFilterType.ActiveAuthority: {\r\n return {\r\n isActiveAuthority: !filterOption.isSelected,\r\n };\r\n }\r\n case CapacityFinderFilterType.Age: {\r\n return {\r\n age: searchFilter.age,\r\n };\r\n }\r\n case CapacityFinderFilterType.TeamDrivers: {\r\n return {\r\n isTeamDrivers: !filterOption.isSelected,\r\n };\r\n }\r\n case CapacityFinderFilterType.LTL: {\r\n return {\r\n loadSize: !filterOption.isSelected ? CapacityLoadSize.LTL : undefined,\r\n };\r\n }\r\n default: {\r\n return {};\r\n }\r\n }\r\n};\r\n\r\nexport const DEFAULT_SEARCH_FILTER_DRAFT: CapacityFinderSearchFilter = {\r\n pickupRadius: DEFAULT_CAPACITY_FINDER_RADIUS,\r\n dropoffRadius: DEFAULT_CAPACITY_FINDER_RADIUS,\r\n age: DEFAULT_AGE,\r\n};\r\n\r\nconst selectedCapacityFinderFiltersCount = (selectedFilterSections: CapacityFinderFilterOption[][]): number => {\r\n return reduce(flatten(selectedFilterSections), (count, option) => (option.isSelected ? count + 1 : count), 0);\r\n};\r\n\r\nexport const shouldHideClearFiltersButton = (searchFilterDraft: CapacityFinderSearchFilter) => {\r\n const { pickupRadius, dropoffRadius } = searchFilterDraft;\r\n const sections = capacityFinderFilterOptionsFromSearchFilterDraft(searchFilterDraft);\r\n const selectedSectionsCount = selectedCapacityFinderFiltersCount(sections);\r\n return (\r\n selectedSectionsCount === 0 &&\r\n pickupRadius === DEFAULT_CAPACITY_FINDER_RADIUS &&\r\n dropoffRadius === DEFAULT_CAPACITY_FINDER_RADIUS\r\n );\r\n};\r\n\r\nexport const selectedCapacityFinderFilterOptions = (\r\n selectedSearchFilter: CapacityFinderSearchFilter\r\n): CapacityFinderFilterOption[] => {\r\n const existingSections = flatten(capacityFinderFilterOptionsFromSearchFilterDraft(selectedSearchFilter));\r\n return [\r\n {\r\n filterType: CapacityFinderFilterType.PickupRadius,\r\n title: t(T.capacityFinder_filtering_pickupRadiusWithMi, { radius: selectedSearchFilter.pickupRadius }),\r\n testID: `${CapacityFinderFilterType.PickupRadius}_${Boolean(selectedSearchFilter.pickupRadius)}`,\r\n isSelected: Boolean(selectedSearchFilter.pickupRadius),\r\n },\r\n {\r\n filterType: CapacityFinderFilterType.DropoffRadius,\r\n title: t(T.capacityFinder_filtering_dropoffRadiusWithMi, { radius: selectedSearchFilter.dropoffRadius }),\r\n testID: `${CapacityFinderFilterType.DropoffRadius}_${Boolean(selectedSearchFilter.dropoffRadius)}`,\r\n isSelected: Boolean(selectedSearchFilter.dropoffRadius),\r\n },\r\n {\r\n filterType: CapacityFinderFilterType.Age,\r\n title: t(T.capacityFinder_filtering_age, { age: selectedSearchFilter.age }),\r\n testID: `${CapacityFinderFilterType.Age}_${Boolean(selectedSearchFilter.age?.valueOf)}`,\r\n isSelected: Boolean(selectedSearchFilter.age),\r\n },\r\n ...filter(existingSections, (option) => option.isSelected),\r\n ];\r\n};\r\n\r\nexport const omitFilterByCapacityFinderFilterType = (\r\n filters: CapacityFinderSearchFilter,\r\n filterType: CapacityFinderFilterType\r\n) => {\r\n switch (filterType) {\r\n case CapacityFinderFilterType.OnboardedCarriers:\r\n return { ...filters, isOnboardedCarriers: undefined };\r\n case CapacityFinderFilterType.FavoriteCarriers:\r\n return { ...filters, isFavoriteCarriers: undefined };\r\n case CapacityFinderFilterType.GpsVerified:\r\n return { ...filters, isGpsVerified: undefined };\r\n case CapacityFinderFilterType.ActiveAuthority:\r\n return { ...filters, isActiveAuthority: undefined };\r\n case CapacityFinderFilterType.Age:\r\n return { ...filters, minAge: undefined, maxAge: undefined };\r\n case CapacityFinderFilterType.TeamDrivers:\r\n return { ...filters, isTeamDrivers: undefined };\r\n case CapacityFinderFilterType.LTL:\r\n return { ...filters, loadSize: undefined };\r\n default:\r\n return filters;\r\n }\r\n};\r\n\r\nexport const shouldConstantlyDisplayFilter = (filterType: CapacityFinderFilterType) =>\r\n filterType === CapacityFinderFilterType.PickupRadius ||\r\n filterType === CapacityFinderFilterType.DropoffRadius ||\r\n filterType === CapacityFinderFilterType.Age;\r\n","import { PaginatedRequest } from '@common/redux/epic/PaginatedListReducer';\r\n\r\nexport interface DispatchersRequest extends PaginatedRequest {\r\n id: string;\r\n}\r\n\r\nexport const createDefaultDispatchersRequest = (): DispatchersRequest => ({\r\n id: '',\r\n offset: 0,\r\n limit: 10,\r\n fields: 'all',\r\n});\r\n\r\nexport interface DispatcherPhoneResponse {\r\n lineNumber: string | null;\r\n extension: string | null;\r\n}\r\n\r\nexport interface DispatcherPostRequest {\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n phoneResponse: DispatcherPhoneResponse;\r\n}\r\n\r\nexport interface DispatcherPostResponse {\r\n id: string;\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n phone: DispatcherPhoneResponse;\r\n isDefaultForUser: boolean;\r\n}\r\n\r\nexport interface DispatcherPatchRequest {\r\n firstName?: string;\r\n lastName?: string;\r\n code: string;\r\n email: string | null;\r\n isDefault: boolean;\r\n phone: DispatcherPhoneResponse;\r\n}\r\n\r\nexport interface DispatchersPayload {\r\n dispatchers: DispatcherPostResponse[];\r\n count: number;\r\n totalCount: number;\r\n}\r\n","import { PostTruckAvailabilityForm } from '@/reduxStore/reducer/PostTruckAvailabilityReducer';\r\nimport { LoadSearchRequest } from '@common/model';\r\n\r\nexport type FormPickersRequest = LoadSearchRequest | PostTruckAvailabilityForm;\r\n\r\nexport enum PickerViewType {\r\n PickUp = 'PickUp',\r\n DropOff = 'DropOff',\r\n Dates = 'Dates',\r\n}\r\n","export enum AvailabilityType {\r\n inbound = 'inbound',\r\n outbound = 'outbound',\r\n intrastate = 'intrastate',\r\n}\r\n","export enum LoadDetailsTabs {\r\n LoadDocuments = 'LoadDocuments',\r\n ProfitCalculator = 'ProfitCalculator',\r\n MarketRates = 'MarketRates',\r\n Backhauls = 'Backhauls',\r\n Company = 'Company',\r\n CreditRating = 'CreditRating',\r\n Mileage = 'Mileage',\r\n CompanyLoads = 'CompanyLoads',\r\n Stepper = 'Stepper',\r\n PostedStepper = 'PostedStepper',\r\n}\r\n","import moment from 'moment';\r\n\r\nimport { formatMomentYYYYMMDD, getTodayDateYYYYMMDD } from '@common/helper';\r\nimport { RateCheckTimeSpan } from '@common/model';\r\n\r\ninterface BrokerLoadDaysMetric {\r\n postedLoadsCount: number;\r\n}\r\n\r\ninterface BrokerLoadMetricsMetadata {\r\n totalPostedLoads: number;\r\n}\r\n\r\ninterface BrokerLoadMetricsResults {\r\n sunday: BrokerLoadDaysMetric;\r\n monday: BrokerLoadDaysMetric;\r\n tuesday: BrokerLoadDaysMetric;\r\n wednesday: BrokerLoadDaysMetric;\r\n thursday: BrokerLoadDaysMetric;\r\n friday: BrokerLoadDaysMetric;\r\n saturday: BrokerLoadDaysMetric;\r\n}\r\n\r\nexport interface BrokerLoadMetricsResponse {\r\n results?: BrokerLoadMetricsResults;\r\n metadata?: BrokerLoadMetricsMetadata;\r\n}\r\n\r\ninterface CarrierLoadMetricsMetadata {\r\n totalBooked: number;\r\n totalDelivered: number;\r\n}\r\n\r\ninterface CarrierLoadDaysMetric {\r\n booked: number;\r\n delivered: number;\r\n}\r\n\r\ninterface CarrierLoadMetricsResults {\r\n sunday: CarrierLoadDaysMetric;\r\n monday: CarrierLoadDaysMetric;\r\n tuesday: CarrierLoadDaysMetric;\r\n wednesday: CarrierLoadDaysMetric;\r\n thursday: CarrierLoadDaysMetric;\r\n friday: CarrierLoadDaysMetric;\r\n saturday: CarrierLoadDaysMetric;\r\n}\r\n\r\nexport interface CarrierLoadMetricsResponse {\r\n results?: CarrierLoadMetricsResults;\r\n metadata?: CarrierLoadMetricsMetadata;\r\n}\r\n\r\nexport interface LoadMetricsHistoryRequest {\r\n startDate: string;\r\n endDate: string;\r\n timeSpan?: RateCheckTimeSpan;\r\n fields?: string;\r\n}\r\n\r\nexport interface BrokerLoadMetricsHistoryResult {\r\n startDate: string;\r\n endDate: string;\r\n posted: number;\r\n}\r\n\r\nexport interface BrokerLoadMetricsHistoryResponse {\r\n results: BrokerLoadMetricsHistoryResult[];\r\n timeSpan?: RateCheckTimeSpan;\r\n}\r\n\r\nexport interface CarrierLoadMetricsHistoryResult {\r\n startDate: string;\r\n endDate: string;\r\n booked: number;\r\n delivered: number;\r\n}\r\n\r\nexport interface CarrierLoadMetricsHistoryResponse {\r\n results: CarrierLoadMetricsHistoryResult[];\r\n timeSpan?: RateCheckTimeSpan;\r\n}\r\n\r\nexport const createLoadMetricsHistoryRequest = (fields: string = 'all'): LoadMetricsHistoryRequest => ({\r\n startDate: formatMomentYYYYMMDD(moment().subtract(1, 'year')),\r\n endDate: getTodayDateYYYYMMDD(),\r\n timeSpan: RateCheckTimeSpan.Monthly,\r\n fields: fields,\r\n});\r\n","import { LoadEquipment } from '@/model';\r\nimport {\r\n BaseLocation,\r\n EquipmentType,\r\n LoadExtraStop,\r\n LoadSize,\r\n Phone,\r\n PostLoadVisibilityRulesList,\r\n Rate,\r\n} from '@common/model';\r\n\r\nexport const INITIAL_EQUIPMENT: LoadEquipment = {\r\n equipmentType: EquipmentType.None,\r\n equipmentSpecifications: [],\r\n};\r\n\r\ninterface LoadPostRequestEquipment {\r\n equipmentType: EquipmentType;\r\n equipmentSpecifications?: string;\r\n}\r\n\r\nexport interface LoadPostRequest {\r\n postReference?: string;\r\n numberOfLoads?: number;\r\n originLocation: BaseLocation;\r\n destinationLocation: BaseLocation;\r\n pickupDateTimes?: string[];\r\n deliveryDateTime?: string;\r\n equipments?: LoadPostRequestEquipment[];\r\n equipmentInfo?: string;\r\n loadSize: LoadSize;\r\n mileage?: number;\r\n length?: number;\r\n weight?: number;\r\n rate?: Rate;\r\n numberOfStops?: number;\r\n teamDriving?: boolean;\r\n commodity?: string;\r\n notes?: string;\r\n privateLoadNote?: string;\r\n dispatchPhone?: Phone;\r\n dispatchName?: string;\r\n dispatchEmail?: string;\r\n saveLocations?: boolean;\r\n extraStops?: LoadExtraStop[];\r\n saveLoadTemplate?: boolean;\r\n visibility?: PostLoadVisibilityRulesList;\r\n}\r\n","export enum LocationTypes {\r\n Pickup,\r\n DropOff,\r\n}\r\n","import { replace } from 'lodash';\r\n\r\nexport const MY_POSTED_LOADS_REQUEST_LIMIT_APPENDING = 10;\r\n\r\nconst POSTED_LOADS_POSTER_FIELD = 'posterContactName,';\r\n\r\nexport const POSTED_LOADS_REQUEST_FIELDS_WITH_POSTER =\r\n 'loads{' +\r\n 'id,' +\r\n 'lastUpdated,' +\r\n POSTED_LOADS_POSTER_FIELD +\r\n 'postReference,' +\r\n 'mileage,' +\r\n 'length,' +\r\n 'weight,' +\r\n 'status,' +\r\n 'pickup,' +\r\n 'delivery,' +\r\n 'equipments,' +\r\n 'ltl,' +\r\n 'rate{amount,perMile}' +\r\n '},token,hasMore,totalCount';\r\n\r\nexport const POSTED_LOADS_REQUEST_FIELDS_DEFAULT = replace(\r\n POSTED_LOADS_REQUEST_FIELDS_WITH_POSTER,\r\n POSTED_LOADS_POSTER_FIELD,\r\n ''\r\n);\r\n\r\nexport const POSTED_LOAD_DETAIL_REQUEST_FIELDS_DEFAULT =\r\n 'id, ' +\r\n 'guid, ' +\r\n 'status, ' +\r\n 'computedMileage, ' +\r\n 'age, ' +\r\n 'fetchedAt, ' +\r\n 'isFromAutorefresh, ' +\r\n 'created, ' +\r\n 'poster, ' +\r\n 'rateCheck, ' +\r\n 'metadata { ' +\r\n 'hasPrivateNote, ' +\r\n 'isGoneCounter, ' +\r\n 'messagesSentCounter, ' +\r\n 'messagesReadCounter, ' +\r\n 'userdata },' +\r\n 'postReference, ' +\r\n 'numberOfLoads, ' +\r\n 'originLocation, ' +\r\n 'destinationLocation, ' +\r\n 'origin, ' +\r\n 'destination, ' +\r\n 'pickupDateTime, ' +\r\n 'pickupDateTimes, ' +\r\n 'deliveryDateTime, ' +\r\n 'equipments, ' +\r\n 'loadSize, ' +\r\n 'mileage, ' +\r\n 'length, ' +\r\n 'weight, ' +\r\n 'rate, ' +\r\n 'numberOfStops, ' +\r\n 'commodity, ' +\r\n 'notes, ' +\r\n 'privateLoadNote,' +\r\n 'dispatchPhone, ' +\r\n 'dispatchName, ' +\r\n 'dispatchEmail, ' +\r\n 'contactName, ' +\r\n 'contactPhone, ' +\r\n 'contactEmail, ' +\r\n 'sortEquipCode, ' +\r\n 'pricePerMile, ' +\r\n 'teamDriving, ' +\r\n 'conversation, ' +\r\n 'rateNegotiations, ' +\r\n 'extraStops, ' +\r\n 'vendorInfo, ' +\r\n 'vHub, ' +\r\n 'posterMetadata, ' +\r\n 'visibility';\r\n","interface CheckableDOTEntity {\r\n isChecked: boolean;\r\n source: string;\r\n}\r\n\r\nexport interface DOTEntities {\r\n [id: string]: CheckableDOTEntity;\r\n}\r\n\r\nexport interface NormalizedList {\r\n ui: string[];\r\n entities: DOTEntities;\r\n}\r\n\r\nexport interface UpdateCheckedStatus {\r\n usdotNumbers: DOTEntities;\r\n}\r\n\r\nexport interface ModifyOnboardedCarriersRequest extends OnboardedCarriers {\r\n invalidList: string[];\r\n}\r\n\r\nexport interface OnboardedCarriers {\r\n usdotNumbers: string[];\r\n}\r\n\r\nexport interface OnboardedCarrier {\r\n usdotNumber: string;\r\n source: string;\r\n}\r\n\r\nexport interface OnboardedCarriersResponse {\r\n dotNumbers: OnboardedCarrier[];\r\n totalCount: number;\r\n}\r\n\r\nexport const DEFAULT_SOURCE = 'Manual';\r\n\r\n// map of \"known\" values\r\nexport const SOURCE = {\r\n Manual: '123Loadboard',\r\n MCP: 'MyCarrierPortal',\r\n};\r\n","import {\r\n BaseLoadSearchRequest,\r\n EquipmentSpecification,\r\n EquipmentType,\r\n LoadLocation,\r\n LoadSearchSort,\r\n LoadStatus,\r\n} from '@common/model';\r\n\r\nexport const POST_LOADS_MIN_LENGTH_DOMAIN = [0, 53];\r\nexport const POST_LOADS_LENGTH_STEP = 1;\r\n\r\nexport const POST_LOADS_MIN_WEIGHT_DOMAIN = [0, 48000];\r\nexport const POST_LOADS_WEIGHT_STEP = 1000;\r\n\r\nexport interface LegacyPosterLoadSearchRequest extends BaseLoadSearchRequest {\r\n contactIds?: string[];\r\n includeStatuses?: string;\r\n statusFilter?: string;\r\n includeAllCompanyLoads?: boolean;\r\n origin: LoadLocation;\r\n deliveryDates?: string[];\r\n sortBy?: LoadSearchSort;\r\n fields?: string;\r\n token?: string;\r\n}\r\n\r\nexport type PosterLoadSearchStatusFilter =\r\n | LoadStatus.Online\r\n | LoadStatus.Offline\r\n | LoadStatus.Assigned\r\n | LoadStatus.Delivered;\r\n\r\nexport interface PosterLoadSearchRequest {\r\n token?: string;\r\n fields: string;\r\n limit?: number;\r\n sortBy?: LoadSearchSort;\r\n filter?: string;\r\n statusFilter?: PosterLoadSearchStatusFilter;\r\n includeAllCompanyLoads?: boolean;\r\n origin: LoadLocation;\r\n destination: LoadLocation;\r\n pickupDates: string[];\r\n deliveryDates?: string[];\r\n minWeight?: number;\r\n minLength?: number;\r\n includeLoadsWithoutWeight: boolean;\r\n includeLoadsWithoutLength: boolean;\r\n equipmentTypes?: EquipmentType[];\r\n equipmentSpecifications?: EquipmentSpecification[];\r\n}\r\n","import { toLower } from 'lodash';\r\n\r\nexport enum PrivateMemberSortDirection {\r\n ascending = 'ascending',\r\n descending = 'descending',\r\n}\r\n\r\nexport const getLoadBoardType = (type: string): LoadBoardType =>\r\n toLower(type) === 'public' ? LoadBoardType.public : LoadBoardType.private;\r\n\r\nexport enum LoadBoardType {\r\n private = 'private',\r\n public = 'public',\r\n}\r\n\r\ninterface ModifyPrivateNetwork {\r\n id: string;\r\n}\r\n\r\nexport interface DeletePrivateNetworkMembers extends ModifyPrivateNetwork {\r\n usDotNumber: string[];\r\n}\r\n\r\nexport interface AddPrivateNetworkMembers extends ModifyPrivateNetwork {\r\n validDotNumbers: string[];\r\n invalidDotNumbers: string[];\r\n}\r\n\r\nexport interface InvalidMembersResponse {\r\n invalidDotNumbers: string[];\r\n}\r\n\r\nexport interface FetchPrivateNetworkMembers extends ModifyPrivateNetwork {\r\n sortOrder: PrivateMemberSortDirection;\r\n}\r\n\r\nexport interface FetchLoadBoardResponse extends ModifyPrivateNetwork {\r\n type: string;\r\n}\r\n\r\nexport interface WhiteListResponse {\r\n dotNumbers: string[];\r\n}\r\n","import { PosterLoadSearchRequest } from '@/model';\r\nimport { LoadSortCategory, LoadSortDirection, LoadStatus } from '@common/model';\r\nimport { createDefaultLoadPostSearchRequest } from '@util/helper/PostLoadHelper';\r\n\r\nconst DEFAULT_RECENT_LOADS_LIMIT = 15;\r\n\r\nexport const createDefaultRecentPostedLoadsRequest = (): PosterLoadSearchRequest => ({\r\n ...createDefaultLoadPostSearchRequest(),\r\n statusFilter: LoadStatus.Online,\r\n sortBy: {\r\n field: LoadSortCategory.BROKER_LAST_UPDATE_AGE,\r\n direction: LoadSortDirection.Asc,\r\n },\r\n limit: DEFAULT_RECENT_LOADS_LIMIT,\r\n});\r\n\r\nexport const createDefaultLoadTemplatesRequest = () => ({\r\n offset: 0,\r\n limit: DEFAULT_RECENT_LOADS_LIMIT,\r\n});\r\n","export interface UserSettingsDetails {\r\n id: number;\r\n lastLoginDateUTC: string;\r\n companyId: number;\r\n companyUid: string;\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n phone?: string;\r\n phoneExt: string;\r\n isAdmin: boolean;\r\n mobile: string;\r\n createdOn: string;\r\n emailValidated: boolean;\r\n guid: string;\r\n newEmail: string;\r\n hubspotId: string;\r\n signupDeviceId: string;\r\n status: number;\r\n primaryPhone: {\r\n id: string;\r\n lineType: string;\r\n lineNumber: string;\r\n extension: string;\r\n countryCode: string;\r\n };\r\n}\r\n\r\nexport interface UserAddDetails {\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n phone: string;\r\n isAdmin: boolean;\r\n isDispatcher: boolean;\r\n}\r\n\r\nexport interface UserEditDetails {\r\n firstName: string;\r\n lastName: string;\r\n email: string;\r\n phone: string;\r\n isAdmin: boolean;\r\n id?: number;\r\n}\r\n\r\nexport enum DispatcherStatus {\r\n None = 'None',\r\n Active = 'Active',\r\n Deleted = 'Deleted',\r\n}\r\n\r\nexport enum DispatcherSource {\r\n None = 'None',\r\n Company = 'Company',\r\n Contact = 'Contact',\r\n ContactInfo = 'ContactInfo',\r\n Direct = 'ContactInfo',\r\n}\r\n\r\nexport interface DispatcherDetail {\r\n id: string;\r\n companyId: string;\r\n name: string;\r\n code: string;\r\n phone: {\r\n lineNumber: string;\r\n extension: string;\r\n countryCode: string;\r\n };\r\n email: string;\r\n isDefault: boolean;\r\n status: DispatcherStatus;\r\n source: DispatcherSource;\r\n}\r\n\r\nexport interface UserAddingDetails {\r\n user: UserAddDetails;\r\n}\r\n\r\nexport interface UsersSettingsPayload {\r\n contacts: UserSettingsDetails[];\r\n count: number;\r\n totalCount: number;\r\n}\r\nexport interface DispatcherPayload {\r\n dispatchers: DispatcherDetail[];\r\n count: number;\r\n totalCount: number;\r\n}\r\n\r\nexport enum UnitAbbreviation {\r\n English = 'E',\r\n Metric = 'M',\r\n}\r\nexport interface HotLeadsPayload {\r\n hotLeads: boolean;\r\n}\r\n\r\nexport interface AlertsPayload {\r\n instantLoadMatching: boolean;\r\n}\r\n\r\nexport interface EmailNotificationsPayload {\r\n announcements: boolean;\r\n newsletters: boolean;\r\n promotions: boolean;\r\n}\r\n\r\nexport interface ResetPasswordPayload {\r\n message: string;\r\n title: string;\r\n}\r\nexport enum UserRoles {\r\n Admin,\r\n User,\r\n Dispatcher,\r\n}\r\n\r\nexport interface MessagesNotificationsPayload {\r\n deviceId: string;\r\n token: string;\r\n}\r\n","import React from 'react';\r\n\r\nimport { debounce, toLower } from 'lodash';\r\nimport { generatePath } from 'react-router-dom';\r\n\r\nimport { history } from '@/reduxStore/History';\r\nimport { store } from '@/reduxStore/Store';\r\nimport { Routes } from '@/router/Routes';\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport { checkAppVersion } from '@webApi/MembersEpic';\r\n\r\nimport { mapAspxUrlToReactUrl } from './AspxMapper';\r\n\r\nimport './embediframe.css';\r\n\r\ninterface Props {\r\n src: string;\r\n}\r\n\r\ninterface State {\r\n aspxPageTitle?: string;\r\n}\r\n\r\nexport class AspxEmbedIframe extends React.Component {\r\n state: State = {};\r\n\r\n timerId: any | undefined = undefined;\r\n\r\n currentIframeUri: string;\r\n\r\n nextIframeUri = '';\r\n\r\n divRef = React.createRef();\r\n\r\n onIframeMessageReceived = (e: MessageEvent) => {\r\n const data = e.data;\r\n console.log(data);\r\n if (data.source === 'members-react') {\r\n // accidentally hosting ourself in the iframe(!)\r\n // This could occur with an ASPX link or ASPX server redirect\r\n // to the react site (without proper link 'target').\r\n // TODO: add infinite loop protection\r\n // TODO: report this\r\n console.log(`Embed protection for: ${data.uri}`);\r\n window.location.href = data.uri;\r\n return;\r\n }\r\n\r\n if (data.source !== 'aspx-embed') {\r\n // this post message is not from us\r\n return;\r\n }\r\n\r\n switch (data.command) {\r\n case 'login': {\r\n // member-embed aspx missing Auth, then should be redirect to CMS Login page\r\n console.log(`aspx-embed not auth and need to redirect to CMS login: ${data.source}`);\r\n window.location.href = AppConfig.getLoginLink();\r\n break;\r\n }\r\n case '404': {\r\n // member-embed aspx 404, then should be redirect to members 404\r\n console.log(`aspx-embed 404 error and need to redirect to members 404 not-found page: ${data.source}`);\r\n window.location.href = Routes.NOTFOUND;\r\n break;\r\n }\r\n case 'embed-page-info': {\r\n // remember what is current in the iframe\r\n this.currentIframeUri = data.uri;\r\n\r\n const reactUrlString = mapAspxUrlToReactUrl(data.uri);\r\n\r\n const nextReactUrl = new URL(reactUrlString, window.location.protocol + window.location.hostname);\r\n const currentReactUrl = new URL(window.location.href);\r\n\r\n if (\r\n currentReactUrl.pathname !== nextReactUrl.pathname ||\r\n currentReactUrl.search !== nextReactUrl.search ||\r\n currentReactUrl.hash !== nextReactUrl.hash\r\n ) {\r\n // update main url if different\r\n history.push(reactUrlString, { aspxPageTitle: data.title });\r\n } else if (this.state.aspxPageTitle !== data.title) {\r\n history.replace(reactUrlString, { aspxPageTitle: data.title });\r\n }\r\n\r\n this.setState({\r\n aspxPageTitle: data.title,\r\n } as State);\r\n break;\r\n }\r\n case 'navigate': {\r\n if (data.navigate_route) {\r\n const url = generatePath(Routes[data.navigate_route as keyof typeof Routes]);\r\n if (data.navigate_action && data.navigate_action === 'replace') {\r\n history.replace(url);\r\n } else {\r\n history.push(url);\r\n }\r\n }\r\n }\r\n }\r\n };\r\n\r\n componentDidMount() {\r\n // embedded aspx page will update react page through postMessage()\r\n window.addEventListener('message', this.onIframeMessageReceived);\r\n\r\n this.renderIFrame(this.props.src);\r\n }\r\n\r\n componentWillUnmount() {\r\n window.removeEventListener('message', this.onIframeMessageReceived);\r\n }\r\n\r\n /* debounce to detach from react's \"late\" updates. Just making sure we are updating to the latest value in a quick series of changes */\r\n updateIfNeeded = debounce(() => {\r\n this.timerId = undefined;\r\n // Because of that, we manually reload the iframe in shouldComponentUpdate directly\r\n // and control it ourselves.\r\n const currentIframeUrl = new URL(toLower(this.currentIframeUri), AppConfig.LBConfig.ASPEmbedRoot);\r\n const nextIframeUrl = new URL(toLower(this.nextIframeUri), AppConfig.LBConfig.ASPEmbedRoot);\r\n\r\n // IMPORTANT: must NOT reload the iframe if only the hash portion differ.\r\n if (currentIframeUrl.pathname !== nextIframeUrl.pathname || currentIframeUrl.search !== nextIframeUrl.search) {\r\n this.renderIFrame(this.nextIframeUri);\r\n }\r\n }, 15);\r\n\r\n shouldComponentUpdate(nextProps: Props) {\r\n this.nextIframeUri = nextProps.src;\r\n this.updateIfNeeded();\r\n\r\n // NOTE: React will sometimes render even if we return false.\r\n // (but it's avoided most of the time)\r\n return false;\r\n }\r\n\r\n renderIFrame(sourceUrl: string) {\r\n const divElem = this.divRef.current;\r\n\r\n if (!divElem) {\r\n return;\r\n }\r\n\r\n this.nextIframeUri = sourceUrl;\r\n this.currentIframeUri = sourceUrl;\r\n\r\n // We need to control when the iframe is updated.\r\n // React touches the iframe object and it causes it to reload which is not good.\r\n divElem.innerHTML = ``;\r\n\r\n // biome-ignore lint/style/noNonNullAssertion: want this to crash if it doesn't work\r\n document.getElementById('aspxiframe')!.onload = (event) => {\r\n if (event?.target) {\r\n (event.target as any).className = 'iframe-loaded';\r\n }\r\n };\r\n\r\n // perform checkAppVersion only on iframe re-renders.\r\n // use a setTimeout to avoid state change warnings in Render\r\n store.dispatch(checkAppVersion());\r\n }\r\n\r\n public render() {\r\n return (\r\n \r\n );\r\n }\r\n}\r\n","import { Location } from 'history';\r\n\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { findMatch } from '@common/helper';\r\nimport { AppConfig } from '@util/AppConfig';\r\n\r\nimport { aspxLinks } from './AspxRouteMap';\r\n\r\n/** Map React URL to ASPX Embed Url\r\n */\r\nexport const mapReactUrlToAspxUrl = (reactUrl: Location, state: StoreState) =>\r\n findMatch(aspxLinks, (route) => route.reactToAspxMatch(reactUrl, state));\r\n\r\n/** Map ASPX Embed URL to React Url\r\n */\r\nexport const mapAspxUrlToReactUrl = (aspxUrl: string) => {\r\n const embedAspxUrl = new URL(aspxUrl, AppConfig.LBConfig.ASPEmbedRoot);\r\n\r\n const matchedRoute = findMatch(aspxLinks, (route) => route.aspxToReactMatch(embedAspxUrl));\r\n\r\n if (matchedRoute === undefined) {\r\n throw new Error(`Bug: non-matching ASPX route. AspxUrl: ${aspxUrl}`);\r\n }\r\n\r\n return matchedRoute;\r\n};\r\n","import React from 'react';\r\n\r\nimport { useHistory } from 'react-router-dom';\r\n\r\nimport { PageWithPanels, Panel, PanelHeader, PanelSize } from '@component/panel';\r\n\r\nimport { AspxEmbedIframe } from './AspxEmbedIframe';\r\n\r\ninterface Props {\r\n iframeSrc: string;\r\n newSettings: boolean;\r\n label?: string;\r\n onBack?: () => void;\r\n}\r\n\r\nexport const AspxPage: React.FC = (props) => {\r\n const history = useHistory();\r\n const onBack = () => {\r\n if (props.onBack) {\r\n props.onBack();\r\n } else {\r\n history.goBack();\r\n }\r\n };\r\n return (\r\n \r\n \r\n {props.newSettings ? (\r\n \r\n ) : null}\r\n \r\n \r\n \r\n );\r\n};\r\n","import { ASPX_ROUTES, Routes } from '@/router/Routes';\r\nimport { t, T } from '@translate';\r\n\r\nimport {\r\n aspxGenericOnlineMatchASPXRoute,\r\n aspxGenericRootMatchASPXRoute,\r\n exactMatchASPXRoute,\r\n prefixMatchASPXRoute,\r\n RouteMatch,\r\n} from './AspxRouteTypes';\r\n\r\nexport const aspxLinks: RouteMatch[] = [\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_alerts_title),\r\n reactPath: Routes.ALERTS,\r\n aspxPath: '/online/loadboard/alerts.aspx',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_loadPlanner_title),\r\n reactPath: Routes.LOADS_LOAD_PLANNER,\r\n aspxPath: '/online/carrier/planner/',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_myCompanies_title),\r\n reactPath: Routes.LOADS_MY_COMPANIES,\r\n aspxPath: '/online/loadboard/companies.aspx',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_hotLeads_title),\r\n reactPath: Routes.TOOLS_HOT_LEADS,\r\n aspxPath: '/online/broker/tools/hotleads.aspx',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_creditReport_title),\r\n reactPath: Routes.RESOURCES_CREDIT_REPORT,\r\n aspxPath: '/online/carrier/tools/credit-report.aspx',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_managerUsers_title),\r\n reactPath: Routes.MORE_SETTINGS_MANAGE_USERS,\r\n aspxPath: '/online/account/manageusers.aspx',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_paymentOptions_title),\r\n reactPath: Routes.MORE_SETTINGS_ACTIVATE_BY_CARD,\r\n aspxPath: '/online/account/billing/payment-options.aspx',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_generalSettings_title),\r\n reactPath: Routes.MORE_SETTINGS_GENERAL_SETTINGS,\r\n aspxPath: '/online/account/settings/',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_toolsSettings_title),\r\n reactPath: Routes.MORE_SETTINGS_TOOLS_SETTINGS,\r\n aspxPath: '/online/account/settings/trucking-tools.aspx',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_alertsSettings_title),\r\n reactPath: Routes.MORE_SETTINGS_ALERTS_SETTINGS,\r\n aspxPath: '/online/account/settings/alerts.aspx',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_companyWebsite_title),\r\n reactPath: Routes.MORE_SETTINGS_COMPANY_WEBSITE,\r\n aspxPath: '/online/account/marketing-tools/',\r\n }),\r\n prefixMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_help_title),\r\n reactPath: Routes.MORE_HELP_BASE_ROUTE,\r\n aspxPath: ASPX_ROUTES.HELP_PREFIX,\r\n suffixMatch:\r\n /^(faqs|faqs-answer|glossary|online-training|topics|tutorial|tutorials|tutorialtopics|video|videos|videotopics)/,\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_accountRedir_title),\r\n reactPath: Routes.MORE_SETTINGS_ACCOUNT_REDIR,\r\n aspxPath: '/online/account/redirect2message.aspx',\r\n }),\r\n exactMatchASPXRoute({\r\n defaultTitle: t(T.aspxEmbed_accountNotice_title),\r\n reactPath: Routes.MORE_SETTINGS_ACCOUNT_NOTICE,\r\n aspxPath: '/online/account/message.aspx',\r\n }),\r\n aspxGenericOnlineMatchASPXRoute,\r\n aspxGenericRootMatchASPXRoute,\r\n];\r\n","import { startsWith, toLower } from 'lodash';\r\n\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { ASPX_ROUTES } from '@/router/Routes';\r\nimport { AppConfig } from '@util/AppConfig';\r\n\r\nexport interface RouteLocation {\r\n pathname: string;\r\n search: string;\r\n hash: string;\r\n}\r\n\r\nexport interface RouteMatch {\r\n reactToAspxMatch: (\r\n reactLocation: RouteLocation,\r\n storeState: StoreState\r\n ) => { aspxUrl: string; pageTitle: string } | undefined;\r\n aspxToReactMatch: (aspxLocation: RouteLocation) => string | undefined;\r\n}\r\n\r\nexport const appendQueryAndHash = (url: string, location: { search: string; hash: string }) => {\r\n let targetUrl = url;\r\n\r\n if (location.search) {\r\n targetUrl += location.search;\r\n }\r\n\r\n if (location.hash) {\r\n targetUrl += location.hash;\r\n }\r\n\r\n return targetUrl;\r\n};\r\n\r\ninterface StandardAspxRouteData {\r\n defaultTitle: string;\r\n reactPath: string;\r\n aspxPath: string;\r\n}\r\ninterface PrefixAspxRouteData extends StandardAspxRouteData {\r\n suffixMatch?: RegExp;\r\n}\r\n\r\nexport const exactMatchASPXRoute: (route: StandardAspxRouteData) => RouteMatch = (route) => ({\r\n reactToAspxMatch: (reactLocation: RouteLocation) => {\r\n if (reactLocation.pathname !== route.reactPath) {\r\n return undefined;\r\n }\r\n\r\n const aspxUrl = AppConfig.LBConfig.ASPEmbedRoot + route.aspxPath;\r\n\r\n return { aspxUrl: appendQueryAndHash(aspxUrl, reactLocation), pageTitle: route.defaultTitle };\r\n },\r\n aspxToReactMatch: (aspxLocation: RouteLocation) => {\r\n // ASPX urls are case insensitive: Work in lowercase when comparing paths\r\n if (route.aspxPath !== toLower(aspxLocation.pathname)) {\r\n return undefined;\r\n }\r\n\r\n return appendQueryAndHash(route.reactPath, aspxLocation);\r\n },\r\n});\r\n\r\nexport const prefixMatchASPXRoute: (route: PrefixAspxRouteData) => RouteMatch = (route) => ({\r\n reactToAspxMatch: (reactLocation: RouteLocation) => {\r\n const reactPathSuffix = reactLocation.pathname.substr(route.reactPath.length);\r\n\r\n if (!startsWith(reactLocation.pathname, route.reactPath)) {\r\n return undefined;\r\n }\r\n\r\n if (route.suffixMatch && !route.suffixMatch.test(reactPathSuffix)) {\r\n return undefined;\r\n }\r\n\r\n const aspxUrl = AppConfig.LBConfig.ASPEmbedRoot + route.aspxPath + reactPathSuffix;\r\n\r\n return { aspxUrl: appendQueryAndHash(aspxUrl, reactLocation), pageTitle: route.defaultTitle };\r\n },\r\n aspxToReactMatch: (aspxLocation: RouteLocation) => {\r\n const aspxPath = aspxLocation.pathname;\r\n const aspxPathSuffix = aspxPath.substr(route.aspxPath.length);\r\n\r\n // ASPX urls are case insensitive: Work in lowercase when comparing paths\r\n if (!startsWith(toLower(aspxPath), route.aspxPath)) {\r\n return undefined;\r\n }\r\n\r\n if (route.suffixMatch && !route.suffixMatch.test(aspxPathSuffix)) {\r\n return undefined;\r\n }\r\n const reactUrl = route.reactPath + aspxPathSuffix;\r\n\r\n return appendQueryAndHash(reactUrl, aspxLocation);\r\n },\r\n});\r\n\r\nexport const aspxGenericOnlineMatchASPXRoute: RouteMatch = {\r\n // GENERIC /online/ case not covered by explicit mappings.\r\n // we map it to /online/ on the react side (forced lowercase for the \"/online/\" react part)\r\n // there is no default title, we'll wait for the ASPX page to report it's title.\r\n\r\n // Note: strictly /online/ and /online/help/ are not to be mapped to ASPX at all.\r\n\r\n reactToAspxMatch: (reactLocation) => {\r\n if (\r\n !startsWith(reactLocation.pathname, ASPX_ROUTES.GENERIC_ONLINE_PREFIX) ||\r\n reactLocation.pathname === ASPX_ROUTES.GENERIC_ONLINE_PREFIX ||\r\n reactLocation.pathname === ASPX_ROUTES.HELP_PREFIX ||\r\n reactLocation.pathname === ASPX_ROUTES.FIND_LOADS\r\n ) {\r\n return undefined;\r\n }\r\n const aspxUrl = AppConfig.LBConfig.ASPEmbedRoot + reactLocation.pathname;\r\n\r\n return { aspxUrl: appendQueryAndHash(aspxUrl, reactLocation), pageTitle: '' };\r\n },\r\n aspxToReactMatch: (aspxLocation) => {\r\n const aspxPath = aspxLocation.pathname;\r\n // ASPX urls are case insensitive: Work in lowercase when comparing paths\r\n const aspxPathLowercase = toLower(aspxPath);\r\n\r\n if (!startsWith(aspxPathLowercase, ASPX_ROUTES.GENERIC_ONLINE_PREFIX)) {\r\n return undefined;\r\n }\r\n\r\n // keep the original ASPX path casing\r\n const truncatedAspxPath = aspxPath.substr(ASPX_ROUTES.GENERIC_ONLINE_PREFIX.length);\r\n\r\n return appendQueryAndHash(`${ASPX_ROUTES.GENERIC_ONLINE_PREFIX}${truncatedAspxPath}`, aspxLocation);\r\n },\r\n};\r\n\r\nexport const aspxGenericRootMatchASPXRoute: RouteMatch = {\r\n // GENERIC \"/\" (aspx root) case not covered by explicit mappings\r\n // we map it to /onlineroot/ on the react side\r\n // there is no default title, we'll wait for the ASPX page to report it's title.\r\n\r\n reactToAspxMatch: (reactLocation) => {\r\n if (!startsWith(reactLocation.pathname, ASPX_ROUTES.GENERIC_ROOT_PREFIX)) {\r\n return undefined;\r\n }\r\n\r\n const aspxUrl =\r\n AppConfig.LBConfig.ASPEmbedRoot + reactLocation.pathname.substr(ASPX_ROUTES.GENERIC_ROOT_PREFIX.length);\r\n\r\n return { aspxUrl: appendQueryAndHash(aspxUrl, reactLocation), pageTitle: '' };\r\n },\r\n aspxToReactMatch: (aspxLocation) => {\r\n const aspxPath = aspxLocation.pathname;\r\n const truncatedAspxPath = startsWith(aspxPath, '/') ? aspxPath.substr(1) : aspxPath;\r\n\r\n return appendQueryAndHash(`${ASPX_ROUTES.GENERIC_ROOT_PREFIX}${truncatedAspxPath}`, aspxLocation);\r\n },\r\n};\r\n\r\nexport const enableRouteMatchIf = (predicate: (state: StoreState) => boolean, routeMatch: RouteMatch) => ({\r\n reactToAspxMatch: (reactLocation: RouteLocation, state: StoreState) =>\r\n predicate(state) ? routeMatch.reactToAspxMatch(reactLocation, state) : undefined,\r\n aspxToReactMatch: routeMatch.aspxToReactMatch,\r\n});\r\n","/** detect if we are accidentally inside an iframe and\r\n * broadcast that fact\r\n */\r\nif (window !== window.parent) {\r\n try {\r\n window.parent.postMessage(\r\n {\r\n source: 'members-react',\r\n uri: window.location.href,\r\n },\r\n '*'\r\n );\r\n } catch (e) {\r\n /* */\r\n }\r\n}\r\n\r\n// to flag the compiler that this is a legit module\r\nexport default {};\r\n","import React from 'react';\r\n\r\nimport { generatePath } from 'react-router';\r\nimport { Redirect, useLocation } from 'react-router-dom';\r\n\r\nimport { history } from '@/reduxStore/History';\r\nimport {\r\n isAccountSetupRequiredForBillingStatus,\r\n isAccountSetupRequiredForMembershipStatus,\r\n} from '@/router/RouteHelper';\r\nimport { Routes } from '@/router/Routes';\r\nimport { Flag, MembershipStatus } from '@common/model';\r\nimport { useIsCarrier } from '@component/menu/NavigationMenuHelper';\r\nimport { T, t } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\nimport { PageMetadata } from '@util/Metadata';\r\nimport { decodeMatchParams } from '@util/UrlParamsHelper';\r\n\r\nimport { mapReactUrlToAspxUrl } from './AspxMapper';\r\nimport { AspxPage } from './AspxPage';\r\n\r\nconst titleSuffixRemovalRegex = /^(.*?)\\s*[|]\\s*123Loadboard.*/;\r\nconst paymentOption = /payment-options/;\r\nconst paymentHistory = /payment-history/;\r\nconst membershipProfile = /billing/;\r\n\r\n/** Will display an AspxPage OR the normal React application (children) depending on current location.\r\n * This component was necessary to avoid iframe-reloading issues happening with React-Router if\r\n * normal \"Route\" objects were used instead.\r\n */\r\n\r\nexport const AspxSwitcher: React.FC = ({ children }) => {\r\n const location = useLocation();\r\n const isCarrier = useIsCarrier();\r\n const aspxMap = useSelector((state) => mapReactUrlToAspxUrl(location, state));\r\n const locationMatch = decodeMatchParams<{ modal: string; subroutes: string }>(\r\n history.location.pathname,\r\n Routes.MORE_SETTINGS_ACCOUNT_SETUP_NEW\r\n );\r\n\r\n const { isMembershipDataFetched, membershipError, membershipData } = useSelector((state) => state.userPlan);\r\n const profile = useSelector((state) => state.user.profile);\r\n const currentRoute = history.location.pathname;\r\n const isLoadPlannerEnabled = useSelector((state) => state.settings.systemSetting[Flag.LoadPlannerEnabled].value);\r\n\r\n if (!aspxMap) {\r\n // NO ASPX ROUTE MATCHED:\r\n // Proceed with displaying the normal app\r\n return <>{children};\r\n }\r\n\r\n if (isMembershipDataFetched && membershipData?.status && !membershipError) {\r\n const shouldUserChangeMembershipPlan = isAccountSetupRequiredForMembershipStatus(membershipData.status);\r\n if (shouldUserChangeMembershipPlan && !locationMatch?.isExact) {\r\n return ;\r\n }\r\n }\r\n\r\n if (!isLoadPlannerEnabled && currentRoute.startsWith(Routes.LOADS_LOAD_PLANNER)) {\r\n return ;\r\n }\r\n\r\n if (\r\n profile?.success &&\r\n isMembershipDataFetched &&\r\n !membershipError &&\r\n isAccountSetupRequiredForBillingStatus(profile.payload?.billingProfileStatus, membershipData?.isCancelling) &&\r\n !locationMatch?.isExact\r\n ) {\r\n return ;\r\n }\r\n\r\n if (\r\n !isCarrier &&\r\n isMembershipDataFetched &&\r\n membershipData?.status === MembershipStatus.Potential &&\r\n !membershipError\r\n ) {\r\n return ;\r\n }\r\n\r\n const { aspxUrl, pageTitle: defaultPageTitle } = aspxMap;\r\n\r\n let pageTitle;\r\n let aspxPage = false;\r\n let label = '';\r\n let onBack;\r\n\r\n if (location.state && location.state.aspxPageTitle) {\r\n pageTitle = location.state.aspxPageTitle;\r\n\r\n const match = titleSuffixRemovalRegex.exec(pageTitle);\r\n\r\n if (paymentOption.exec(aspxUrl)) {\r\n aspxPage = true;\r\n label = t(T.settings_billing_paymentMethod);\r\n onBack = () => {\r\n history.push({ pathname: generatePath(Routes.MORE_SETTINGS_ACCOUNT_SETUP) });\r\n };\r\n } else if (paymentHistory.exec(aspxUrl)) {\r\n aspxPage = true;\r\n label = t(T.settings_billing_paymentHistory);\r\n } else if (membershipProfile.exec(aspxUrl)) {\r\n aspxPage = true;\r\n label = t(T.common_membership_managePlan);\r\n }\r\n if (aspxPage) {\r\n pageTitle = label;\r\n } else if (match) {\r\n pageTitle = match[1];\r\n }\r\n } else {\r\n pageTitle = defaultPageTitle;\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n );\r\n};\r\n","import React, { CSSProperties } from 'react';\r\n\r\nimport { first } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\nimport { generatePath, matchPath, RouteComponentProps, useHistory, useLocation, withRouter } from 'react-router-dom';\r\nimport styled from 'styled-components';\r\n\r\nimport { Button } from '@material-ui/core';\r\nimport { ButtonProps } from '@material-ui/core/Button';\r\n\r\nimport { Routes } from '@/router/Routes';\r\nimport { displayCurrencyOrDash, hasDecimal, NO_INFORMATION_SYMBOL } from '@common/formatter';\r\nimport { formatDateDotSeparatedWithTime, textFromLocation } from '@common/helper';\r\nimport { BidLoadInfo, BidStatus, BidSummary, PayRateUnit } from '@common/model';\r\nimport { VendorBid } from '@common/model/VendorBid';\r\nimport { fetchLoadBids } from '@common/redux/epic/bids/BidsEpic';\r\nimport { useIsCarrier } from '@component/menu/NavigationMenuHelper';\r\nimport { usePushPanel, usePushPanelWithPathParams } from '@component/panel/PanelHooks';\r\nimport { Text } from '@component/text/Text';\r\nimport {\r\n BID_ID_INDEX,\r\n BID_LOAD_ID_INDEX,\r\n bidIDFromRouteProps,\r\n bidLoadIDFromRouteProps,\r\n BIDS_SUMMARY_PANEL_PATH,\r\n bidsEncoder,\r\n BidsRouteParamsProps,\r\n BidsTabs,\r\n} from '@page/bids/BidsPanelRouting';\r\nimport { getBidSummaryStatusInfo } from '@page/bids/BidStatusHelper';\r\nimport { BIDDING_SUMMARY_CARD_HEIGHT, BIDS_LIST_CARD_HEIGHT } from '@page/bids/style/BidsStyleHelper';\r\nimport { CompanyLogo } from '@page/truckLocator/locateTruck/CompaniesAvatarLogo';\r\nimport { Color } from '@style/Color';\r\nimport { FontFamily, FontSize, FontWeight, Spacing } from '@style/StyleConstants';\r\nimport THEME from '@style/Theme';\r\nimport { withTheme } from '@style/WithTheme';\r\nimport { T, t } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\nimport { MediaQueries } from '@util/MediaQueries';\r\n\r\ninterface CardProps extends ButtonProps {\r\n isSelected: boolean;\r\n hasNewMessages: boolean;\r\n}\r\n\r\ninterface BidCardsProps {\r\n bidId: string;\r\n isSelected: boolean;\r\n newMessages: number;\r\n isStandalone?: boolean;\r\n currentBid?: BidSummary;\r\n vendorBidSummary?: VendorBid;\r\n}\r\n\r\ntype Props = BidCardsProps & RouteComponentProps;\r\n\r\nconst SELECTED_BOTTOM_BORDER = `2px solid ${Color.ORANGE_MAIN}`;\r\nconst BOTTOM_BORDER = `1px solid ${Color.GRAY_SMOKE}`;\r\n\r\nconst CardContainer = styled(({ isSelected, hasNewMessages, ...rest }: CardProps) => \r\n ) : (\r\n folderInfoElement\r\n )}\r\n \r\n {map(props.options, (option) => (\r\n \r\n ))}\r\n \r\n \r\n );\r\n};\r\n\r\nexport const useDocumentActions = (\r\n isDownloading: boolean,\r\n document: Document | undefined,\r\n onDownloadStart: () => void,\r\n onDownloadEnd: () => void\r\n): DocumentMenuActions => {\r\n const history = useHistory();\r\n const urlParams = useParams();\r\n const isLoadingDocumentData = useSelector((state) => state.documents.viewDocument.isLoadingDocumentData);\r\n const prevIsLoadingDocumentData = useRef(isLoadingDocumentData);\r\n const documentFileData = useSelector((state) => state.documents.viewDocument.documentFileData);\r\n const documentCache = useSelector((state) => state.documents.viewDocument.documentCache);\r\n const myDocumentsSearchParams = myDocumentsEncoder.convertUrlSearchParamsToObject(history.location.search);\r\n const context = myDocumentsSearchParams.context ?? DocumentsContext.DEFAULT;\r\n\r\n const isCommunicationsAttachments = context === DocumentsContext.CONVERSATION_ATTACHMENTS;\r\n\r\n const communicationDocuments = useSelector((state) => state.communication.attachDocuments.selectedDocuments);\r\n const myDocsDocuments = useSelector((state) => state.documents.sendDocuments.formInfo.documents);\r\n\r\n const attachedDocuments = isCommunicationsAttachments ? communicationDocuments : myDocsDocuments;\r\n\r\n const popupContext = usePopup();\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (isDownloading && prevIsLoadingDocumentData.current && !isLoadingDocumentData && document) {\r\n if (documentFileData?.id === document.id) {\r\n downloadBase64File(documentFileData.file, document.displayName, document.extension);\r\n } else if (documentCache[document.id]) {\r\n history.push({\r\n pathname: generatePath(Routes.TOOLS_MY_DOCUMENTS, {\r\n ...urlParams,\r\n failure: 'failed-document-download',\r\n }),\r\n search: history.location.search,\r\n });\r\n }\r\n onDownloadEnd();\r\n }\r\n prevIsLoadingDocumentData.current = isLoadingDocumentData;\r\n }, [isLoadingDocumentData, isDownloading, documentFileData, document, document ? documentCache[document.id] : null]);\r\n\r\n const attachDocumentToSend = () => {\r\n if (document) {\r\n const newAttachments =\r\n findIndex(attachedDocuments, (attachedDocument) => attachedDocument.id === document.id) === -1\r\n ? [...attachedDocuments, document]\r\n : attachedDocuments;\r\n\r\n dispatch(\r\n isCommunicationsAttachments\r\n ? updateAttachDocumentsForm({ selectedDocuments: [...newAttachments] })\r\n : updateSendDocumentsForm({ documents: [...newAttachments] })\r\n );\r\n\r\n history.push({\r\n pathname: generatePath(Routes.TOOLS_MY_DOCUMENTS, {\r\n ...urlParams,\r\n viewDocument: undefined,\r\n sendDocuments: 'send-documents',\r\n }),\r\n search: history.location.search,\r\n });\r\n }\r\n };\r\n\r\n const openRenameDocumentPanel = () => {\r\n if (document) {\r\n history.push({\r\n pathname: generatePath(Routes.TOOLS_MY_DOCUMENTS, { ...urlParams, renameDocument: 'rename-document' }),\r\n search: myDocumentsEncoder.convertObjectRequestToUrlParams({\r\n ...myDocumentsSearchParams,\r\n documentId: document.id,\r\n documentName: document.displayName,\r\n }),\r\n });\r\n }\r\n };\r\n\r\n const changeFolder = () => {\r\n if (document) {\r\n history.push({\r\n pathname: generatePath(Routes.TOOLS_MY_DOCUMENTS, {\r\n ...urlParams,\r\n select: 'folder',\r\n }),\r\n search: myDocumentsEncoder.convertObjectRequestToUrlParams({\r\n ...myDocumentsSearchParams,\r\n documentId: document.id,\r\n }),\r\n });\r\n }\r\n };\r\n\r\n const changeType = () => {\r\n if (document) {\r\n history.push({\r\n pathname: generatePath(Routes.TOOLS_MY_DOCUMENTS, {\r\n ...urlParams,\r\n select: 'type',\r\n }),\r\n search: myDocumentsEncoder.convertObjectRequestToUrlParams({\r\n ...myDocumentsSearchParams,\r\n documentType: document.type,\r\n documentId: document.id,\r\n }),\r\n });\r\n }\r\n };\r\n\r\n const download = () => {\r\n if (document) {\r\n onDownloadStart();\r\n dispatch(fetchDocumentFile(document.id, document.extension));\r\n }\r\n };\r\n\r\n const deleteDocumentAction = () => {\r\n if (document) {\r\n showDeleteDocumentPopup(popupContext, () => dispatch(deleteDocument(document.id)));\r\n }\r\n };\r\n\r\n return {\r\n attachToSend: attachDocumentToSend,\r\n delete: deleteDocumentAction,\r\n download: download,\r\n changeType: changeType,\r\n changeFolder: changeFolder,\r\n rename: openRenameDocumentPanel,\r\n };\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { BasePopup } from '@component/popup/BasePopup';\r\nimport { PopupCancelButton, PopupPrimaryButton } from '@component/popup/PopupButtons';\r\nimport { PopupSizes, PopupTracking } from '@component/popup/PopupTrackingContext';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\n\r\nconst Subtitle = styled.span`\r\n font-size: ${FontSize.Content}px;\r\n color: ${Color.GRAY_DARK};\r\n white-space: pre-wrap;\r\n`;\r\n\r\nconst showDialogCreator =\r\n (title: string, subtitle: string) => (popupContext: PopupTracking, deleteAction: () => void) => {\r\n const { openingPopup, closingPopup } = popupContext;\r\n\r\n const onDelete = () => {\r\n deleteAction();\r\n if (popupContext) {\r\n popupContext.closingPopup();\r\n }\r\n };\r\n\r\n openingPopup({\r\n body: (\r\n ,\r\n ,\r\n ]}\r\n >\r\n {subtitle}\r\n \r\n ),\r\n width: PopupSizes.SMALL,\r\n isDismissible: true,\r\n hasCloseButton: true,\r\n });\r\n };\r\n\r\nexport const showDeleteDocumentPopup = showDialogCreator(\r\n t(T.common_myDocuments_deleteDialog_title),\r\n t(T.common_myDocuments_deleteDialog_content)\r\n);\r\nexport const showDeleteFolderPopup = showDialogCreator(\r\n t(T.common_myDocuments_editFolder_deleteDialog_title),\r\n t(T.common_myDocuments_editFolder_deleteDialog_content)\r\n);\r\n\r\nexport const showDeleteCustomFolderPopup = showDialogCreator(\r\n t(T.common_myDocuments_editFolder_deleteDialog_title),\r\n `${t(T.common_myDocuments_editFolder_deleteDialog_content)}${t(\r\n T.common_myDocuments_editFolder_deleteDialog_contentFromMyLoaDetails\r\n )}`\r\n);\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Loader } from '@component/loader';\r\nimport { Panel, PanelSize } from '@component/panel';\r\nimport { Color } from '@style/Color';\r\nimport { LoaderSize } from '@style/StyleConstants';\r\nimport { useWindowHeight } from '@util/hooks';\r\n\r\nconst FullHeightContainer = styled(({ windowHeight, ...rest }) =>
)`\r\n display: flex;\r\n height: ${({ windowHeight }: { windowHeight: number }) => windowHeight}px;\r\n justify-content: center;\r\n align-items: center;\r\n`;\r\n\r\nconst LoaderContainer = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n width: 200px;\r\n height: 200px;\r\n background-color: ${Color.WHITE};\r\n border-radius: 16px;\r\n`;\r\n\r\nexport const LoadingFullscreenPanel: React.FC<{ layer?: number }> = (props) => {\r\n const windowHeight = useWindowHeight();\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n","import memoizeOne from 'memoize-one';\r\n\r\nimport { FolderType } from '@common/model';\r\nimport { DocumentsContext } from '@common/redux/epic/DocumentListEpic';\r\nimport { DefaultEncoder } from '@common/util/encoder/URLDefaultEncoder';\r\nimport { parseBoolean, parseString } from '@common/util/parser/ParserUtils';\r\n\r\nexport interface MyDocumentsRoute {\r\n id?: string;\r\n folderName?: string;\r\n type?: FolderType;\r\n loadID?: string;\r\n origin?: string;\r\n destination?: string;\r\n typeDocumentFolder?: string;\r\n documentType?: string;\r\n dateStart?: string;\r\n dateEnd?: string;\r\n documentId?: string;\r\n documentName?: string;\r\n redirectLoadDetailsPath?: string;\r\n redirectCommunicationPath?: string;\r\n redirectLoadDetailsSearch?: string;\r\n isFromMyLoads?: boolean;\r\n context?: DocumentsContext;\r\n}\r\n\r\nclass MyDocumentsEncoder extends DefaultEncoder {\r\n getVocabulary() {\r\n return {\r\n id: 'id',\r\n fn: 'folderName',\r\n t: 'type',\r\n lid: 'loadID',\r\n o: 'origin',\r\n d: 'destination',\r\n tdf: 'typeDocumentFolder',\r\n dt: 'documentType',\r\n ds: 'dateStart',\r\n de: 'dateEnd',\r\n did: 'documentId',\r\n dn: 'documentName',\r\n rldp: 'redirectLoadDetailsPath',\r\n rlcm: 'redirectCommunicationPath',\r\n rlds: 'redirectLoadDetailsSearch',\r\n frml: 'isFromMyLoads',\r\n ctx: 'context',\r\n };\r\n }\r\n convertUrlSearchParamsToObject = memoizeOne((urlParams: string): MyDocumentsRoute => {\r\n const rawObject = this.convertUrlParamsToObjectRequest(urlParams);\r\n\r\n return {\r\n id: parseString(rawObject.id),\r\n folderName: parseString(rawObject.folderName),\r\n type: parseString(rawObject.type) as FolderType | undefined,\r\n loadID: parseString(rawObject.loadID),\r\n origin: parseString(rawObject.origin),\r\n destination: parseString(rawObject.destination),\r\n typeDocumentFolder: parseString(rawObject.typeDocumentFolder),\r\n documentType: parseString(rawObject.documentType),\r\n dateStart: parseString(rawObject.dateStart),\r\n dateEnd: parseString(rawObject.dateEnd),\r\n documentId: parseString(rawObject.documentId),\r\n documentName: parseString(rawObject.documentName),\r\n redirectLoadDetailsPath: parseString(rawObject.redirectLoadDetailsPath),\r\n redirectCommunicationPath: parseString(rawObject.redirectCommunicationPath),\r\n redirectLoadDetailsSearch: parseString(rawObject.redirectLoadDetailsSearch),\r\n isFromMyLoads: parseBoolean(rawObject.isFromMyLoads),\r\n context: parseString(rawObject.context) as DocumentsContext | undefined,\r\n };\r\n });\r\n}\r\n\r\nexport const myDocumentsEncoder = new MyDocumentsEncoder();\r\n","import React, { useState } from 'react';\r\n\r\nimport { map, range } from 'lodash';\r\nimport { pdfjs, Document, Page } from 'react-pdf';\r\nimport 'react-pdf/dist/Page/AnnotationLayer.css';\r\nimport 'react-pdf/dist/Page/TextLayer.css';\r\nimport styled from 'styled-components';\r\nimport 'core-js/proposals/promise-with-resolvers';\r\n\r\npdfjs.GlobalWorkerOptions.workerSrc = '/pdf.worker.min.mjs';\r\n\r\nconst BrowserPDFViewer = styled.object`\r\n border: 0;\r\n`;\r\n\r\nconst VerticalSpace = styled.div`\r\n height: 4px;\r\n`;\r\n\r\ninterface Props {\r\n data: string | undefined;\r\n width: number;\r\n}\r\n\r\nexport const PDFViewer: React.FC = (props) => (\r\n \r\n \r\n \r\n);\r\n\r\nexport const FallbackPDFViewer: React.FC = (props) => {\r\n const [numPages, setNumPages] = useState(0);\r\n const onDocumentLoadSuccess = ({ numPages: nextNumPages }: { numPages: number }) => {\r\n setNumPages(nextNumPages);\r\n };\r\n return (\r\n \r\n {map(range(numPages), (index) => (\r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n );\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { Color } from '@style/Color';\r\nimport { FontSize, FontWeight } from '@style/StyleConstants';\r\nimport { T, t } from '@translate';\r\n\r\nimport { default as ErrorSVG } from './error.svg?react';\r\n\r\nconst Container = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n margin: 40px;\r\n`;\r\n\r\nconst Title = styled.span`\r\n margin-top: 54px;\r\n font-size: ${FontSize.Header}px;\r\n color: ${Color.GRAY_DARK};\r\n font-weight: ${FontWeight.Bold};\r\n text-align: center;\r\n`;\r\n\r\nconst Subtitle = styled.div`\r\n font-size: ${FontSize.Content}px;\r\n color: ${Color.GRAY_DARK};\r\n margin-top: 20px;\r\n text-align: center;\r\n white-space: pre-wrap;\r\n`;\r\n\r\ninterface Props {\r\n extension: string;\r\n isCommunication?: boolean;\r\n}\r\n\r\nexport const PreviewNotAvailable: React.FC = (props) => (\r\n \r\n \r\n {t(T.common_myDocuments_fileNotSupported_title)}\r\n \r\n {props.isCommunication\r\n ? t(T.common_myDocuments_fileNotSupported_subTitleDownloadOnly, { extension: `.${props.extension}` })\r\n : t(T.common_myDocuments_fileNotSupported_subTitle, { extension: `.${props.extension}` })}\r\n \r\n \r\n);\r\n","import React, { useMemo } from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { PDFViewer } from '@page/myDocuments/PDFViewer';\r\nimport { PreviewNotAvailable } from '@page/myDocuments/PreviewNotAvailable';\r\nimport { objectUrlFromBase64 } from '@util/FileHelper';\r\nimport { useWindowHeight, useWindowWidth } from '@util/hooks';\r\n\r\nconst HEADER_HEIGHT = 57;\r\nconst PAGE_PADDING = 0;\r\n\r\ninterface ContainerProps {\r\n windowHeight: number;\r\n}\r\n\r\nexport const Container = styled(({ windowHeight, ...rest }) =>
)`\r\n padding: ${PAGE_PADDING}px;\r\n height: ${({ windowHeight }: ContainerProps) => windowHeight - HEADER_HEIGHT}px;\r\n box-sizing: border-box;\r\n`;\r\n\r\nconst ImageViewer = styled.img`\r\n max-width: 100%;\r\n max-height: 100%;\r\n`;\r\n\r\ninterface Props {\r\n documentBase64: string;\r\n extension: string;\r\n isCommunicationsAttachments?: boolean;\r\n}\r\n\r\nexport const ViewDocument: React.FC = (props) => {\r\n const windowHeight = useWindowHeight();\r\n const width = useWindowWidth();\r\n\r\n const objectUrl = useMemo(\r\n () => (props.extension === 'pdf' ? objectUrlFromBase64(props.documentBase64) : undefined),\r\n [props.extension, props.documentBase64]\r\n );\r\n\r\n let content = ;\r\n\r\n if (props.extension === 'pdf') {\r\n content = ;\r\n } else if (props.extension === 'jpg' || props.extension === 'jpeg' || props.extension === 'png') {\r\n const base64Encoding = `data:image/${props.extension};base64`;\r\n const imageSrc = `${base64Encoding},${props.documentBase64}`;\r\n content = ;\r\n }\r\n\r\n return {content};\r\n};\r\n","import { cloneDeep, map } from 'lodash';\r\n\r\nimport { UserEditDetails, UserSettingsDetails } from '@/model';\r\nimport { t, T } from '@translate';\r\n\r\nexport enum Filter {\r\n AlertsSound = 'alerts_sound',\r\n ManagePlan = 'manage_plan',\r\n Profile = 'profile',\r\n BusinessProfile = 'business_profile',\r\n Company = 'company',\r\n Users = 'users',\r\n Dispatcher = 'dispatchers',\r\n BillingSummary = 'billing_summary',\r\n PaymentHistory = 'payment_history',\r\n PaymentMethod = 'payment_method',\r\n Notifications = 'notifications',\r\n MileageAndRouting = 'mileage_and_routing',\r\n SearchResultsSettings = 'search_results_settings',\r\n ManageFuelMileage = 'manage_fuel_mileage',\r\n PrivacyControl = 'privacy_control',\r\n LoginSessions = 'login_sessions',\r\n Integrations = 'integrations',\r\n Integrators = 'integrators',\r\n TermsOfService = 'terms_of_service',\r\n PrivacyPolicy = 'privacy_policy',\r\n OpneSourceLiscence = 'open_source_liscence',\r\n AddUser = 'add_user',\r\n EditUser = 'edit_user',\r\n EditDispatcher = 'edit_dispatcher',\r\n Type = 'type',\r\n PrivateLoadBoard = 'private_load_board',\r\n PrivateLoadBoardAddMember = 'add_members',\r\n ExportingLoadDetails = 'exporting_load_details',\r\n Standard = 'standard',\r\n Premium = 'premium',\r\n PremiumPlus = 'premium_plus',\r\n AddOn = 'add_on',\r\n MyTruck = 'my_truck',\r\n NewTruck = 'new_truck',\r\n EditTruck = 'edit_truck',\r\n EditBusinessProfile = 'edit_business_profile',\r\n ResetPassword = 'reset_password',\r\n LoadVisibilityRules = 'load_visibility_rules',\r\n CreateLoadVisibilityRuleset = 'create_rule_set',\r\n EditLoadVisibilityRuleset = 'edit_rule_set',\r\n OnboardedCarriers = 'onboarded_carriers',\r\n EditOnboardedCarriers = 'edit_carriers',\r\n ReviewInvalidCarriers = 'review_carriers',\r\n CostPerDay = 'cost_per_day',\r\n EditCostPerDay = 'edit_cost_per_day',\r\n PostingContacts = 'posting_contacts',\r\n AddContact = 'add_contact',\r\n EditContact = 'edit_contact',\r\n}\r\nexport enum Section {\r\n Membership = 'membership',\r\n Account = 'account',\r\n Billing = 'billing',\r\n Preference = 'preference',\r\n Permissions = 'permissions',\r\n Legal = 'legal',\r\n}\r\n\r\nexport enum TypeUsers {\r\n All = 'All',\r\n Admin = 'Admin',\r\n User = 'User',\r\n}\r\n\r\nexport const UserSortingTypes = [\r\n {\r\n id: TypeUsers.All,\r\n key: TypeUsers.All,\r\n value: TypeUsers.All,\r\n displayValue: t(T.settings_account_types_all),\r\n },\r\n {\r\n id: TypeUsers.Admin,\r\n key: TypeUsers.Admin,\r\n value: TypeUsers.Admin,\r\n displayValue: t(T.settings_account_types_admin),\r\n },\r\n {\r\n id: TypeUsers.User,\r\n key: TypeUsers.User,\r\n value: TypeUsers.User,\r\n displayValue: t(T.settings_account_types_user),\r\n },\r\n];\r\n\r\nexport const editUsers = (newUser: UserEditDetails, users: UserSettingsDetails[]) => {\r\n const updatedUsers = cloneDeep(users);\r\n map(users, (user, index) => {\r\n if (user.id === newUser.id) {\r\n updatedUsers[index].firstName = newUser.firstName;\r\n updatedUsers[index].lastName = newUser.lastName;\r\n updatedUsers[index].email = newUser.email;\r\n updatedUsers[index].phone = newUser.phone;\r\n updatedUsers[index].isAdmin = newUser.isAdmin;\r\n }\r\n });\r\n\r\n return updatedUsers;\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { combineValidators, validateEmail, validateMaxLength, validateNotEmpty, validatePhone } from '@common/helper';\r\nimport { ValidatedTextInput } from '@component/input';\r\nimport { Recaptcha, SiteKeyMapping } from '@component/recaptcha';\r\nimport { Text, TextStyle } from '@component/text/Text';\r\n\r\nexport const FIRST_NAME_MAX_LENGTH = 40;\r\nexport const LAST_NAME_MAX_LENGTH = 40;\r\nexport const COMPANY_NAME_MAX_LENGTH = 80;\r\nexport const EXT_MAX_LENGTH = 5;\r\nexport const EMAIL_MAX_LENGTH = 50;\r\n\r\nconst Container = styled.div`\r\n margin-top: 20px;\r\n`;\r\n\r\ninterface Props {\r\n id: string;\r\n title: string;\r\n firstName: string;\r\n lastName: string;\r\n company: string;\r\n phone: string;\r\n ext: string;\r\n email: string;\r\n renderRecaptcha: boolean;\r\n recaptchaSiteKeyName?: SiteKeyMapping;\r\n isDisabled: boolean;\r\n\r\n onFirstNameChange: (value: string, isValid: boolean) => void;\r\n onLastNameChange: (value: string, isValid: boolean) => void;\r\n onCompanyChange: (value: string, isValid: boolean) => void;\r\n onPhoneChange: (value: string, isValid: boolean) => void;\r\n onExtChange: (value: string, isValid: boolean) => void;\r\n onEmailChange: (value: string, isValid: boolean) => void;\r\n onCaptchaValidation: () => void;\r\n onCaptchaInvalidate: () => void;\r\n}\r\n\r\nexport const RegisterForm: React.FC = (props) => (\r\n \r\n \r\n {props.title}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {props.renderRecaptcha && props.recaptchaSiteKeyName !== undefined && !props.isDisabled ? (\r\n \r\n ) : null}\r\n \r\n);\r\n","import { isNil, omitBy } from 'lodash';\r\nimport { generatePath } from 'react-router';\r\n\r\nimport { Routes } from '@/router/Routes';\r\n\r\nexport enum LoadStatus {\r\n Online = 'online',\r\n Offline = 'offline',\r\n Assigned = 'assigned',\r\n Delivered = 'delivered',\r\n}\r\n\r\nexport enum PostType {\r\n Single = 'single',\r\n}\r\n\r\nexport enum EditingModes {\r\n Clone = 'clone',\r\n Edit = 'edit',\r\n}\r\n\r\nexport enum PostedLoadsPanelModals {\r\n SortBy = 'sortBy',\r\n Filter = 'filter',\r\n Status = 'status',\r\n PickUpDate = 'pickUpDate',\r\n View = 'view',\r\n}\r\n\r\nexport enum FilterPanelPanelModals {\r\n PickUpLocation = 'pickUpLocation',\r\n PickUpDate = 'pickUpDate',\r\n DropOffLocation = 'dropOffLocation',\r\n DropOffDate = 'dropOffDate',\r\n TrailerType = 'trailerType',\r\n TrailerSpecification = 'trailerSpecification',\r\n}\r\n\r\nexport enum PostLoadsPanelModals {\r\n PickUpLocation = 'pickUpLocation',\r\n PickUpDate = 'pickUpDate',\r\n PickUpTime = 'pickUpTime',\r\n DropOffLocation = 'dropOffLocation',\r\n DropOffDate = 'dropOffDate',\r\n DropOffTime = 'dropOffTime',\r\n TrailerType = 'trailerType',\r\n TrailerSpecification = 'trailerSpecification',\r\n RecentPost = 'recentPost',\r\n VisibilityRules = 'visibilityRules',\r\n EditRule = 'editRule',\r\n}\r\n\r\nenum PostingContactsModals {\r\n AddContact = 'add_contact',\r\n EditContact = 'edit_contact',\r\n}\r\n\r\ntype Load = 'load';\r\ntype LoadMap = 'loadMap';\r\ntype PostingContacts = 'posting_contacts';\r\n\r\nexport interface PostLoadsRouteParams {\r\n actionType: LoadStatus | PostType;\r\n load: Load;\r\n loadID: string;\r\n loadMap: LoadMap;\r\n editing: EditingModes;\r\n postedPanelModals: PostedLoadsPanelModals;\r\n filterPanelModals: FilterPanelPanelModals;\r\n postPanelModals: PostLoadsPanelModals;\r\n ruleIndex?: string;\r\n postingContacts: PostingContacts;\r\n postingContactsModal: PostingContactsModals;\r\n contactID: string;\r\n}\r\n\r\nexport const generateLoadPostingRoute = (matchParams: Partial, baseUrl?: string) => {\r\n const params: { [paramName: string]: string | number | boolean } = omitBy(matchParams, isNil);\r\n if (params.loadID) {\r\n params.load = 'load';\r\n }\r\n return `${generatePath(baseUrl ?? Routes.LOADS_MY_LOADS_POST, params)}/`;\r\n};\r\n","import { isEqual, toNumber } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\n\r\nimport { LoadLocationCity, LocationSuggestion, LocationType, StorageKey } from '@common/model';\r\nimport {\r\n getAdditionalCosts,\r\n getFuelCosts,\r\n getProfitPerMile,\r\n getTotalProfit,\r\n} from '@common/util/ProfitCalculatorHelper';\r\nimport {\r\n createField,\r\n Field,\r\n FieldType,\r\n removeComma,\r\n} from '@component/panels/basePanel/loadDetails/profitCalculator/Field';\r\nimport { safeGetItem, safeSetItem } from '@util/LocalDataStorage';\r\n\r\nconst DEFAULT_COST_PER_GALLON_DISCOUNT = '0.40';\r\n\r\nexport interface ProfitCalculatorState {\r\n miles: string | undefined;\r\n costPerMile: string | undefined;\r\n rate: string | undefined;\r\n mpg: string | undefined;\r\n costPerGallon: string | undefined;\r\n costPerGallonDiscount: string | undefined;\r\n isFuelDiscountChecked: boolean;\r\n tollCost: string | undefined;\r\n dispatchFee: string | undefined;\r\n otherFee: string | undefined;\r\n isDispatchFeeFlatAmount: boolean;\r\n focusedField: FieldType | undefined;\r\n deadheadMiles: string | undefined;\r\n isDeadheadMilesChecked: boolean;\r\n}\r\n\r\nexport interface CalculatorDataToPersist {\r\n costPerGallonDiscount: string;\r\n isFuelDiscountChecked: boolean;\r\n isDeadheadMilesChecked: boolean;\r\n dispatchFee: string;\r\n isDispatchFeeFlatAmount: boolean;\r\n}\r\n\r\nconst getFields: (state: ProfitCalculatorState) => { [field: string]: Field } = (state) => ({\r\n miles: createField(FieldType.Miles, state.miles),\r\n costPerMile: createField(FieldType.CostPerMile, state.costPerMile),\r\n rate: createField(FieldType.Rate, state.rate),\r\n mpg: createField(FieldType.MPG, state.mpg),\r\n costPerGallon: createField(FieldType.CostPerGallon, state.costPerGallon),\r\n costPerGallonDiscount: createField(FieldType.CostPerGallonDiscount, state.costPerGallonDiscount),\r\n tollCost: createField(FieldType.TollCost, state.tollCost),\r\n dispatchFee: createField(FieldType.DispatchFee, state.dispatchFee, state.isDispatchFeeFlatAmount),\r\n otherFee: createField(FieldType.OtherFee, state.otherFee),\r\n deadheadMiles: createField(FieldType.DeadheadMiles, state.deadheadMiles),\r\n});\r\n\r\nexport const otherFeeChange =\r\n (setState: React.Dispatch>, state: ProfitCalculatorState) =>\r\n (otherFee: string) => {\r\n const otherFeeField = createField(FieldType.OtherFee, otherFee);\r\n if (!otherFeeField.doesAllowToType()) {\r\n return;\r\n }\r\n setState({ ...state, otherFee: otherFeeField.text });\r\n };\r\n\r\nexport const dispatchFeeTypeChange =\r\n (setState: React.Dispatch>) => (type: string) =>\r\n setState((prevState: ProfitCalculatorState) => {\r\n const isDispatchFeeFlatAmount = type === '$';\r\n const dispatchFeeField = createField(FieldType.DispatchFee, prevState.dispatchFee, isDispatchFeeFlatAmount);\r\n persistCalculatorData({ isDispatchFeeFlatAmount: isDispatchFeeFlatAmount });\r\n return {\r\n ...prevState,\r\n isDispatchFeeFlatAmount: isDispatchFeeFlatAmount,\r\n dispatchFee: dispatchFeeField.normalisedText(),\r\n };\r\n });\r\n\r\nexport const dispatchFeeChange =\r\n (setState: React.Dispatch>) => (dispatchFee: string) =>\r\n setState((prevState: ProfitCalculatorState) => {\r\n const dispatchFeeField = createField(FieldType.DispatchFee, dispatchFee, prevState.isDispatchFeeFlatAmount);\r\n if (!dispatchFeeField.doesAllowToType()) {\r\n return prevState;\r\n }\r\n persistCalculatorData({ dispatchFee: dispatchFeeField.text });\r\n return { ...prevState, dispatchFee: dispatchFeeField.text };\r\n });\r\n\r\nexport const tollCostChange =\r\n (setState: React.Dispatch>, state: ProfitCalculatorState) =>\r\n (tollCost: string) => {\r\n const tollCostField = createField(FieldType.TollCost, tollCost);\r\n if (!tollCostField.doesAllowToType()) {\r\n return;\r\n }\r\n setState({ ...state, tollCost: tollCostField.text });\r\n };\r\n\r\nexport const rateChange =\r\n (setState: React.Dispatch>) => (rate?: string) => {\r\n const rateField = createField(FieldType.Rate, rate);\r\n if (!rateField.doesAllowToType()) {\r\n return;\r\n }\r\n setState((prevState: ProfitCalculatorState) => {\r\n const fields = getFields(prevState);\r\n const costPerMile = fields.miles.isEmpty()\r\n ? ''\r\n : String(Number(rateField.normalisedText()) / fields.miles.value());\r\n if (!costPerMile || isEqual(costPerMile, '0')) {\r\n return {\r\n ...prevState,\r\n rate: rateField.text,\r\n costPerMile: '',\r\n miles: prevState.miles ?? '',\r\n };\r\n } else {\r\n return {\r\n ...prevState,\r\n rate: rateField.text,\r\n costPerMile: createField(FieldType.CostPerMile, costPerMile).normalisedText(),\r\n };\r\n }\r\n });\r\n };\r\n\r\nexport const costPerMileChange =\r\n (setState: React.Dispatch>) => (costPerMile: string) => {\r\n const costPerMileField = createField(FieldType.CostPerMile, costPerMile);\r\n if (!costPerMileField.doesAllowToType()) {\r\n return;\r\n }\r\n setState((prevState: ProfitCalculatorState) => {\r\n const fields = getFields(prevState);\r\n const rate = fields.miles.isEmpty()\r\n ? prevState.rate\r\n : String(Number(costPerMileField.normalisedText()) * fields.miles.value());\r\n if (!rate || isEqual(rate, '0')) {\r\n return {\r\n ...prevState,\r\n costPerMile: costPerMileField.text,\r\n rate: undefined,\r\n miles: prevState.miles ?? '',\r\n };\r\n } else {\r\n return {\r\n ...prevState,\r\n costPerMile: costPerMileField.text,\r\n rate: createField(FieldType.Rate, rate).normalisedText(),\r\n };\r\n }\r\n });\r\n };\r\n\r\nexport const milesChange =\r\n (setState: React.Dispatch>, onMilesChange?: () => void) =>\r\n (miles: string) => {\r\n const milesField = createField(FieldType.Miles, miles);\r\n if (!milesField.doesAllowToType()) {\r\n return;\r\n }\r\n setState((prevState: ProfitCalculatorState) => {\r\n const fields = getFields(prevState);\r\n if (onMilesChange) {\r\n onMilesChange();\r\n }\r\n if (fields.costPerMile.value()) {\r\n const newRate = String(milesField.value() * fields.costPerMile.value());\r\n return {\r\n ...prevState,\r\n miles: milesField.text,\r\n rate: createField(FieldType.Rate, newRate).normalisedText(),\r\n };\r\n } else if (fields.rate.value()) {\r\n const newCostPerMileValue = fields.rate.value() / milesField.value();\r\n const newCostPerMile = isFinite(newCostPerMileValue) ? String(newCostPerMileValue) : '';\r\n return {\r\n ...prevState,\r\n miles: milesField.text,\r\n costPerMile: createField(FieldType.Rate, newCostPerMile).normalisedText(),\r\n };\r\n } else {\r\n return {\r\n ...prevState,\r\n miles: milesField.text,\r\n rate: undefined,\r\n costPerMile: '',\r\n };\r\n }\r\n });\r\n };\r\n\r\nexport const costPerGallonDiscountChange =\r\n (state: ProfitCalculatorState, setState: React.Dispatch>) =>\r\n (costPerGallonDiscount: string) => {\r\n const costPerGallonDiscountField = createField(FieldType.CostPerGallonDiscount, costPerGallonDiscount);\r\n if (!costPerGallonDiscountField.doesAllowToType()) {\r\n return;\r\n }\r\n persistCalculatorData({ costPerGallonDiscount: costPerGallonDiscountField.text });\r\n setState({ ...state, costPerGallonDiscount: costPerGallonDiscountField.text });\r\n };\r\n\r\nexport const deadheadMilesChange =\r\n (state: ProfitCalculatorState, setState: React.Dispatch>) =>\r\n (deadheadMiles: string) => {\r\n const deadheadMilesField = createField(FieldType.DeadheadMiles, deadheadMiles);\r\n if (!deadheadMilesField.doesAllowToType()) {\r\n return;\r\n }\r\n setState({ ...state, deadheadMiles: deadheadMilesField.text });\r\n };\r\n\r\nexport const mpgChange = (setState: React.Dispatch>) => (mpg: string) => {\r\n const mpgField = createField(FieldType.MPG, mpg);\r\n if (!mpgField.doesAllowToType()) {\r\n return;\r\n }\r\n setState((state) => ({ ...state, mpg: mpgField.text }));\r\n};\r\n\r\nexport const costPerGallonChange =\r\n (setState: React.Dispatch>) => (costPerGallon: string) => {\r\n const costPerGallonField = createField(FieldType.CostPerGallon, costPerGallon);\r\n if (!costPerGallonField.doesAllowToType()) {\r\n return;\r\n }\r\n\r\n setState((state) => ({ ...state, costPerGallon: costPerGallonField.text }));\r\n };\r\n\r\nexport const fieldFocus =\r\n (setState: React.Dispatch>) => (fieldType: FieldType) => () =>\r\n setState((prevState) => {\r\n const fields = getFields(prevState);\r\n const text = fields[fieldType].text !== undefined ? removeComma(fields[fieldType].text ?? '') : undefined;\r\n return {\r\n ...prevState,\r\n [fieldType]: text,\r\n focusedField: fieldType,\r\n };\r\n });\r\n\r\nexport const isFieldStatesEqual = memoizeOne(\r\n (s1: ProfitCalculatorState, s2: ProfitCalculatorState) =>\r\n removeComma(s1.miles ?? '') === removeComma(s2.miles ?? '') &&\r\n removeComma(s1.costPerMile ?? '') === removeComma(s2.costPerMile ?? '') &&\r\n removeComma(s1.mpg ?? '') === removeComma(s2.mpg ?? '') &&\r\n removeComma(s1.costPerGallon ?? '') === removeComma(s2.costPerGallon ?? '') &&\r\n removeComma(s1.costPerGallonDiscount ?? '') === removeComma(s2.costPerGallonDiscount ?? '') &&\r\n s1.isFuelDiscountChecked === s2.isFuelDiscountChecked &&\r\n removeComma(s1.tollCost ?? '') === removeComma(s2.tollCost ?? '') &&\r\n removeComma(s1.dispatchFee ?? '') === removeComma(s2.dispatchFee ?? '') &&\r\n removeComma(s1.otherFee ?? '') === removeComma(s2.otherFee ?? '') &&\r\n s1.isDispatchFeeFlatAmount === s2.isDispatchFeeFlatAmount &&\r\n removeComma(s1.deadheadMiles ?? '') === removeComma(s2.deadheadMiles ?? '') &&\r\n s1.isDeadheadMilesChecked === s2.isDeadheadMilesChecked\r\n);\r\n\r\nconst initialPersistedCalculatorData: CalculatorDataToPersist = {\r\n costPerGallonDiscount: DEFAULT_COST_PER_GALLON_DISCOUNT,\r\n isFuelDiscountChecked: false,\r\n dispatchFee: '',\r\n isDispatchFeeFlatAmount: false,\r\n isDeadheadMilesChecked: false,\r\n};\r\n\r\nexport const persistCalculatorData = (update: Partial) => {\r\n const persistedData = safeGetItem(StorageKey.ProfitCalculator);\r\n const parsedPersistedData: CalculatorDataToPersist =\r\n persistedData !== undefined ? JSON.parse(persistedData) : initialPersistedCalculatorData;\r\n safeSetItem(\r\n StorageKey.ProfitCalculator,\r\n JSON.stringify({ ...parsedPersistedData, ...update } as CalculatorDataToPersist)\r\n );\r\n};\r\n\r\nexport const getPersistedCalculatorData = (): CalculatorDataToPersist | undefined => {\r\n const persistedData = safeGetItem(StorageKey.ProfitCalculator);\r\n if (persistedData === undefined) {\r\n return undefined;\r\n }\r\n return JSON.parse(persistedData);\r\n};\r\n\r\nexport const locationMatchToLoadLocationCity = (locationSuggestion: LocationSuggestion): LoadLocationCity => {\r\n const mainLocationInformation = {\r\n states: locationSuggestion.state ? [locationSuggestion.state] : [],\r\n city: locationSuggestion.city ?? '',\r\n };\r\n return {\r\n ...mainLocationInformation,\r\n type: LocationType.CITY,\r\n };\r\n};\r\n\r\nexport const getCosts = (state: ProfitCalculatorState) => {\r\n const miles = toNumberWithComma(state.miles);\r\n const costPerGallon = toNumberWithComma(state.costPerGallon);\r\n const dispatchFee = toNumberWithComma(state.dispatchFee);\r\n const rate = toNumberWithComma(state.rate);\r\n const tollCost = toNumberWithComma(state.tollCost);\r\n const otherFee = toNumberWithComma(state.otherFee);\r\n const deadheadMiles = toNumberWithComma(state.deadheadMiles);\r\n\r\n const fuelCosts = getFuelCosts(\r\n toNumber(state.mpg ?? ''),\r\n toNumber(state.isDeadheadMilesChecked ? miles + deadheadMiles : miles),\r\n toNumber(costPerGallon),\r\n toNumber(state.costPerGallonDiscount ?? ''),\r\n state.isFuelDiscountChecked\r\n );\r\n\r\n const fuelCostsForDeadheadMiles = getFuelCosts(\r\n toNumber(state.mpg ?? ''),\r\n toNumber(deadheadMiles),\r\n toNumber(costPerGallon),\r\n toNumber(state.costPerGallonDiscount ?? ''),\r\n state.isFuelDiscountChecked\r\n );\r\n\r\n const additionalCosts = getAdditionalCosts(\r\n toNumber(dispatchFee),\r\n toNumber(rate),\r\n toNumber(tollCost),\r\n toNumber(otherFee),\r\n state.isDispatchFeeFlatAmount\r\n );\r\n\r\n const totalProfit = getTotalProfit(rate, fuelCosts, additionalCosts);\r\n\r\n const profitPerMile = getProfitPerMile(totalProfit, miles);\r\n\r\n return {\r\n fuelCosts: fuelCosts,\r\n additionalCosts: additionalCosts,\r\n totalProfit: totalProfit,\r\n profitPerMile: profitPerMile,\r\n rate: rate,\r\n miles: miles,\r\n fuelCostsForDeadheadMiles: fuelCostsForDeadheadMiles,\r\n };\r\n};\r\n\r\nexport const toNumberWithComma = (valueWithComma: string | undefined) => {\r\n return toNumber(removeComma(valueWithComma ?? ''));\r\n};\r\n","import React from 'react';\r\n\r\nimport styled from 'styled-components';\r\n\r\nimport { formatDollarsPerMile } from '@common/redux/epic/rateCheck/RateCheckHelper';\r\nimport { Text } from '@component/text/Text';\r\nimport { Color } from '@style/Color';\r\nimport { ElementSize, FontLineHeight, FontSize, FontWeight, Spacing } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\nimport { MediaQueries } from '@util/MediaQueries';\r\n\r\nimport { default as downArrow } from './down-arrow.svg';\r\nimport { default as upArrow } from './up-arrow.svg';\r\n\r\nconst TEST_ID = 'rate_check';\r\n\r\nexport interface MinMaxComponentProps {\r\n min: number | undefined;\r\n max: number | undefined;\r\n average: number | undefined;\r\n style?: React.CSSProperties;\r\n isSmall?: boolean;\r\n}\r\n\r\ninterface LowHighColumnComponentProps {\r\n id: string;\r\n title: string;\r\n value: number | undefined;\r\n color: Color;\r\n isSmall: boolean | undefined;\r\n}\r\n\r\ninterface BottomTextProps {\r\n isSmall: boolean | undefined;\r\n color: Color;\r\n}\r\n\r\nconst MinMaxContainer = styled.div`\r\n display: flex;\r\n border: solid 1px ${Color.GRAY_11};\r\n width: calc(100% + 2px);\r\n padding: ${(props: { isSmall?: boolean }) => (props.isSmall ? 5 : Spacing.InterElementHorizontal)}px;\r\n justify-content: space-around;\r\n box-sizing: border-box;\r\n height: ${ElementSize.ActionLoadRowHeight}px;\r\n margin: -1px;\r\n background-color: ${Color.WHITE};\r\n @media ${MediaQueries.xxs} {\r\n padding: ${Spacing.InterElementHorizontal}px 0;\r\n }\r\n`;\r\n\r\nconst MinMaxValueColumn = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n min-width: 80px;\r\n`;\r\n\r\nconst ArrowImage = styled.img`\r\n height: ${ElementSize.SmallIcon}px;\r\n width: ${ElementSize.SmallIcon}px;\r\n margin: auto 0;\r\n`;\r\n\r\nconst TopText = styled(Text)`\r\n font-size: ${(props: { isSmall: boolean | undefined }) => (props.isSmall ? FontSize.Caption : FontSize.Body)}px;\r\n color: ${Color.GRAY_STONE};\r\n font-weight: ${FontWeight.Regular};\r\n line-height: ${FontLineHeight.SmallBody}px;\r\n`;\r\n\r\nconst BottomText = styled(Text)`\r\n font-size: ${(props: BottomTextProps) => (props.isSmall ? FontSize.Body : FontSize.Content)}px;\r\n color: ${(props: BottomTextProps) => props.color};\r\n font-weight: ${FontWeight.Regular};\r\n line-height: ${FontLineHeight.ContentDetail}px;\r\n`;\r\n\r\nexport const MinMaxBox: React.FC = (props) => (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n);\r\n\r\nconst MinMaxValue: React.FC = (props) => (\r\n \r\n \r\n {props.title}\r\n \r\n \r\n {formatDollarsPerMile(props.value)}\r\n \r\n \r\n);\r\n","import { Dispatch, SetStateAction, useCallback, useEffect, useState } from 'react';\r\n\r\nimport { Flag, LocationSuggestion, LocationType, RateCheck, RateCheckLocation } from '@common/model';\r\nimport { T, t } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nexport interface RateCheckMinMax {\r\n min?: number;\r\n setMin: Dispatch>;\r\n max?: number;\r\n setMax: Dispatch>;\r\n average?: number;\r\n setAverage: Dispatch>;\r\n month?: number;\r\n setMonth: Dispatch>;\r\n resetRates: () => void;\r\n}\r\n\r\nexport const useRateCheck = () => useSelector((state) => state.rateCheck.rateCheck);\r\nexport const useRateCheckRequest = () => useSelector((state) => state.rateCheck.request);\r\n\r\nexport const useIsRateCheckPreviewEnabled = () =>\r\n useSelector(\r\n (state) =>\r\n state.settings.systemSetting[Flag.LoadRateCheckPreviewEnabled].value &&\r\n !state.settings.systemSetting[Flag.LoadRateCheckPreviewUserDisabled].value\r\n );\r\n\r\nexport const useRateCheckMinMax = (rateCheck: RateCheck | undefined) => {\r\n const [min, setMin] = useState(rateCheck?.ratePerMileMin);\r\n const [average, setAverage] = useState(rateCheck?.avgRatePerMile);\r\n const [max, setMax] = useState(rateCheck?.ratePerMileMax);\r\n /** This value is using Unix Epoch format */\r\n const [month, setMonth] = useState(rateCheck?.month);\r\n\r\n const resetRates = useCallback(() => {\r\n setMin(rateCheck?.ratePerMileMin);\r\n setAverage(rateCheck?.avgRatePerMile);\r\n setMax(rateCheck?.ratePerMileMax);\r\n setMonth(rateCheck?.month);\r\n }, [rateCheck]);\r\n\r\n useEffect(resetRates, [rateCheck]);\r\n\r\n return {\r\n min: min,\r\n setMin: setMin,\r\n max: max,\r\n setMax: setMax,\r\n average: average,\r\n setAverage: setAverage,\r\n month: month,\r\n setMonth: setMonth,\r\n resetRates: resetRates,\r\n };\r\n};\r\n\r\nexport const useFlatRateCheckMinMax = (rateCheck: RateCheck | undefined): RateCheckMinMax => {\r\n const [min, setMin] = useState(rateCheck?.minRateForMileage);\r\n const [average, setAverage] = useState(rateCheck?.averageRateForMileage);\r\n const [max, setMax] = useState(rateCheck?.maxRateForMileage);\r\n const [month, setMonth] = useState(rateCheck?.month);\r\n\r\n const resetRates = useCallback(() => {\r\n setMin(rateCheck?.minRateForMileage);\r\n setAverage(rateCheck?.averageRateForMileage);\r\n setMax(rateCheck?.maxRateForMileage);\r\n setMonth(rateCheck?.month);\r\n }, [rateCheck]);\r\n\r\n useEffect(resetRates, [rateCheck]);\r\n\r\n return {\r\n min: min,\r\n setMin: setMin,\r\n max: max,\r\n setMax: setMax,\r\n average: average,\r\n setAverage: setAverage,\r\n month: month,\r\n setMonth: setMonth,\r\n resetRates: resetRates,\r\n };\r\n};\r\n\r\nexport const locationMatchToRateCheckLocation = (locationSuggestion: LocationSuggestion): RateCheckLocation => {\r\n const isWithGeolocation = locationSuggestion.longitude && locationSuggestion.latitude;\r\n const isWithZipCode = locationSuggestion.zipCode;\r\n const mainLocationInformation = {\r\n states: locationSuggestion.state ? [locationSuggestion.state] : [],\r\n city: locationSuggestion.city ?? '',\r\n };\r\n if (isWithGeolocation) {\r\n return {\r\n ...mainLocationInformation,\r\n type: LocationType.GEOLOCATION,\r\n longitude: locationSuggestion.longitude,\r\n latitude: locationSuggestion.latitude,\r\n };\r\n }\r\n if (isWithZipCode) {\r\n return {\r\n ...mainLocationInformation,\r\n type: LocationType.ZIP,\r\n zipCode: locationSuggestion?.zipCode ?? '',\r\n };\r\n }\r\n return {\r\n ...mainLocationInformation,\r\n type: LocationType.CITY,\r\n };\r\n};\r\n\r\nexport const extractGeolocationOrUndefined = (location: RateCheckLocation | undefined) => {\r\n if (!location || location.type !== LocationType.GEOLOCATION) {\r\n // falsy test: invalid zero numbers or undefined\r\n return undefined;\r\n }\r\n\r\n return { latitude: location.latitude, longitude: location.longitude };\r\n};\r\n\r\nexport const convertWeeksToDisplayableString = (num?: number): string => {\r\n switch (num) {\r\n case 4:\r\n return `1 ${t(T.marketRates_widgets_month)}`;\r\n case 8:\r\n return `2 ${t(T.marketRates_widgets_months)}`;\r\n case 12:\r\n return `3 ${t(T.marketRates_widgets_months)}`;\r\n case 52:\r\n return `1 ${t(T.marketRates_widgets_year)}`;\r\n case 2:\r\n default:\r\n return `14 ${t(T.marketRates_widgets_days)}`;\r\n }\r\n};\r\n","import React, { useMemo } from 'react';\r\n\r\nimport { map } from 'lodash';\r\nimport moment from 'moment';\r\nimport ReactResizeDetector from 'react-resize-detector';\r\nimport styled from 'styled-components';\r\nimport { VictoryAxis, VictoryVoronoiContainer } from 'victory';\r\n\r\nimport {\r\n BaseRateCheckHistoryGraphComponentProps,\r\n chartPadding,\r\n formatMonthTicks,\r\n formatPriceTicks,\r\n MONTH_TICK_STYLE,\r\n PRICE_TICK_STYLE,\r\n useDomain,\r\n useOnActivated,\r\n useRateCheckHistory,\r\n VORONOI_CONTAINER_PROPS,\r\n} from '@common/helper';\r\nimport { RateCheck, SizeProps } from '@common/model';\r\nimport {\r\n BaseChart,\r\n BaseRedLine,\r\n EmptyLabelComponent,\r\n renderGraphLine,\r\n renderLoadingOrNoDataLabels,\r\n useBaseRedLinePositionOnClick,\r\n} from '@component/chart/BaseChart';\r\nimport { MinMaxBox } from '@page/marketRates/marketRates/widgets/MinMaxBox';\r\nimport { Color } from '@style/Color';\r\nimport { FontLineHeight, FontSize, Spacing } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\n\r\nimport { RateCheckMinMax, useRateCheckMinMax, useRateCheckRequest } from './RateCheckHelper';\r\n\r\ninterface Props extends BaseRateCheckHistoryGraphComponentProps {\r\n isSquare?: boolean;\r\n rateCheck: RateCheck;\r\n}\r\n\r\ntype RateCheckHistoryProps = Props & Partial & { minMax: RateCheckMinMax };\r\n\r\nconst RateHistoryHeader = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n align-self: stretch;\r\n padding-top: ${Spacing.Mark}px;\r\n`;\r\n\r\nconst RateHistoryDate = styled.div`\r\n color: ${Color.GRAY_21};\r\n line-height: ${FontLineHeight.Body}px;\r\n font-size: ${FontSize.ContentDetail}px;\r\n`;\r\n\r\nexport const RateCheckHistoryWithSize: React.FC = (props) => {\r\n const minMaxPerMile = useRateCheckMinMax(props.rateCheck);\r\n const currentYear = moment(minMaxPerMile.month).year();\r\n\r\n return (\r\n <>\r\n \r\n \r\n {`${t(T.common_rateCheck_legendTitle, {\r\n month: formatMonthTicks(minMaxPerMile.month ?? moment().valueOf(), true),\r\n })} ${currentYear}`}\r\n \r\n \r\n \r\n
\r\n \r\n {({ width, height }: SizeProps) => (\r\n \r\n )}\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nconst RateCheckHistory: React.FC = (props) => {\r\n const { minMax } = props;\r\n const minMaxProps = {\r\n setMax: minMax.setMax,\r\n setMin: minMax.setMin,\r\n setAverage: minMax.setAverage,\r\n setMonth: minMax.setMonth,\r\n resetRates: minMax.resetRates,\r\n };\r\n const request = useRateCheckRequest();\r\n\r\n const { max, average, high, low, isLoading } = useRateCheckHistory(props.id, request, props.loadID);\r\n const domain = useDomain(average, max, false);\r\n const onActivated = useOnActivated(average, { ...props, ...minMaxProps }, low, high);\r\n const { victoryEvents, setPoints, setLinePosition, linePositionAfterClick } = useBaseRedLinePositionOnClick(\r\n props.width,\r\n onActivated\r\n );\r\n const tickValues = useMemo(() => map(average, (data) => data.date), [average]);\r\n\r\n return (\r\n }\r\n {...VORONOI_CONTAINER_PROPS}\r\n />\r\n }\r\n >\r\n formatMonthTicks(tick)}\r\n style={{ ...MONTH_TICK_STYLE, axis: { stroke: Color.GRAY_SMOKE }, grid: { stroke: 'transparent' } }}\r\n tickValues={tickValues}\r\n />\r\n \r\n {renderLoadingOrNoDataLabels(!low && !average && !high, isLoading, props.height, props.width)}\r\n {renderGraphLine(high, 'date', 'rate', Color.PASTEL_VIOLET)}\r\n {renderGraphLine(low, 'date', 'rate', Color.BLUE_WILD_YONDER)}\r\n {renderGraphLine(average, 'date', 'rate', Color.GREEN_JUNE_BUD)}\r\n {low || average || high ? (\r\n \r\n ) : null}\r\n \r\n );\r\n};\r\n","import { SetStateAction, useEffect, useMemo, useState } from 'react';\r\n\r\nimport { debounce, filter, includes, isEmpty } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\nimport { generatePath } from 'react-router-dom';\r\n\r\nimport { PrivateMemberSortDirection } from '@/model';\r\nimport { getDefaultLoadBoard, getWhiteList } from '@/reduxStore/epic/PrivateNetworkEpic';\r\nimport { Routes } from '@/router/Routes';\r\nimport { removeLeadingZeroes } from '@common/helper/NumberHelper';\r\nimport { Roles } from '@common/model';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nexport interface Filter {\r\n value: string | undefined;\r\n isValid: boolean;\r\n}\r\n\r\nexport interface ListComponentProps {\r\n filteredWhiteList: string[] | undefined;\r\n loadBoardId: string | undefined;\r\n page: number;\r\n setPage: React.Dispatch>;\r\n}\r\n\r\nconst MAIN_PATH = generatePath(Routes.MORE_SETTINGS_PRIVATE_LOADBOARD, {});\r\nexport const RESULTS_PER_PAGE = 50;\r\n\r\nexport const PrivateNetworkSubRoutes = {\r\n main: MAIN_PATH,\r\n addMembers: `${MAIN_PATH}/add-members/`,\r\n};\r\n\r\nexport const useLoadBoard = (loadBoardId: string | undefined) =>\r\n useSelector((state) => (loadBoardId !== undefined ? state.privateNetwork.loadBoards[loadBoardId] : undefined));\r\n\r\nexport const useDefaultLoadBoard = () => {\r\n const loadBoardId = useSelector((state) => state.privateNetwork.defaultLoadBoardId);\r\n const userLoadBoard = useLoadBoard(loadBoardId);\r\n\r\n return { userLoadBoard: userLoadBoard, loadBoardId: loadBoardId };\r\n};\r\n\r\nexport const useGetDefaultLoadboard = () => {\r\n const dispatch = useDispatch();\r\n const isLoadingLoadBoards = useSelector((state) => state.privateNetwork.isLoadingLoadBoards);\r\n const error = useSelector((state) => state.privateNetwork.loadBoardError);\r\n const roles = useSelector((state) => state.user.profile?.payload?.roles);\r\n const { userLoadBoard } = useDefaultLoadBoard();\r\n\r\n useEffect(() => {\r\n if (includes(roles, Roles.Loadposter) && !userLoadBoard && !isLoadingLoadBoards && !error) {\r\n dispatch(getDefaultLoadBoard.fetchAction(undefined));\r\n }\r\n }, [isLoadingLoadBoards, userLoadBoard, roles]);\r\n};\r\n\r\nexport const useDefaultLoadBoardWithWhiteList = () => {\r\n const dispatch = useDispatch();\r\n const { userLoadBoard, loadBoardId } = useDefaultLoadBoard();\r\n\r\n useEffect(() => {\r\n if (loadBoardId && !userLoadBoard?.isLoading) {\r\n dispatch(getWhiteList.fetchAction({ id: loadBoardId, sortOrder: PrivateMemberSortDirection.ascending }));\r\n }\r\n }, [loadBoardId]);\r\n\r\n return { userLoadBoard: userLoadBoard, loadBoardId: loadBoardId };\r\n};\r\n\r\nexport const useDebouncedFilter = (whiteList: string[] | undefined, dotFilter: Filter) => {\r\n const [filteredList, setFilteredList] = useState(whiteList);\r\n const debouncedChange = useMemo(\r\n () =>\r\n debounce(\r\n (whiteListItems: string[] | undefined, filterValue: Filter) =>\r\n setFilteredList(\r\n filterValue.value\r\n ? filter(whiteListItems, (item) => includes(item, removeLeadingZeroes(filterValue.value)))\r\n : whiteListItems\r\n ),\r\n 250\r\n ),\r\n []\r\n );\r\n\r\n useEffect(() => {\r\n debouncedChange(whiteList, dotFilter);\r\n }, [dotFilter, whiteList]);\r\n\r\n useEffect(() => {\r\n if (isEmpty(filteredList)) {\r\n setFilteredList(whiteList);\r\n }\r\n }, [whiteList]);\r\n\r\n return dotFilter.value ? filteredList : whiteList;\r\n};\r\n\r\nexport const getPageNumber = (index: number) => Math.floor(index / RESULTS_PER_PAGE);\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { fetchCompaniesAvatar } from '@common/redux/epic/CompanyAvatarEpic';\r\nimport { default as AvatarIcon } from '@component/menu/icon/icon-add-avatar.svg';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nconst ImageViewer = styled.img`\r\n height: 36px;\r\n width: 36px;\r\n border-radius: 6px;\r\n\r\n margin-right: 6px;\r\n`;\r\n\r\nconst BidAvatarImageViewer = styled.img`\r\n height: 24px;\r\n width: 24px;\r\n margin-right: 6px;\r\n border-radius: 20px;\r\n border: solid 1px #2e2e2e;\r\n padding: 4px 4px 4px 4px;\r\n align-self: baseline;\r\n`;\r\n\r\ninterface Props {\r\n companyId?: string;\r\n shouldUsePlaceholderIcon?: boolean;\r\n}\r\n\r\nexport const CompanyLogo: React.FC = (props) => {\r\n const companyAvatar = useSelector((state) => state.companyAvatar.companiesAvatarMap.get(props.companyId ?? ''));\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (!companyAvatar && props.companyId) {\r\n dispatch(fetchCompaniesAvatar(props.companyId));\r\n }\r\n }, [companyAvatar, props.companyId]);\r\n\r\n if (companyAvatar?.companiesAvatar) {\r\n return ;\r\n } else if (props.shouldUsePlaceholderIcon) {\r\n return ;\r\n } else {\r\n return null;\r\n }\r\n};\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { useDispatch } from 'react-redux';\r\nimport styled from 'styled-components';\r\n\r\nimport { fetchCompaniesProfileAvatar } from '@common/redux/epic/AvatarEpic';\r\nimport { default as AvatarIcon } from '@component/menu/icon/icon-add-avatar.svg';\r\nimport { Color } from '@style/Color';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nconst ImageViewer = styled.img`\r\n height: 36px;\r\n width: 36px;\r\n min-width: 36px;\r\n border-radius: 20px;\r\n background-color: white;\r\n margin-right: 6px;\r\n`;\r\n\r\nconst BidAvatarImageViewer = styled.img`\r\n height: 24px;\r\n width: 24px;\r\n border-radius: 20px;\r\n border: solid 1px #2e2e2e;\r\n padding: 4px 4px 4px 4px;\r\n align-self: baseline;\r\n`;\r\n\r\nconst InitailsBubble = styled.div`\r\n display: flex;\r\n justify-content: center;\r\n height: 36px;\r\n width: 36px;\r\n min-width: 36px;\r\n border-radius: 20px;\r\n background-color: ${Color.GRAY_DARK};\r\n color: white;\r\n margin-right: 6px;\r\n border: solid transparent;\r\n align-items: center;\r\n font-size: 18px;\r\n`;\r\n\r\ninterface Props {\r\n contactId?: string;\r\n initials?: string;\r\n shouldUsePlaceholderIcon?: boolean;\r\n}\r\n\r\nexport const CompanyProfileLogo: React.FC = (props) => {\r\n const companyProfileAvatar = useSelector((state) =>\r\n state.avatar.companiesProfileAvatarMap.get(props.contactId ?? '')\r\n );\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (!companyProfileAvatar && props.contactId) {\r\n dispatch(fetchCompaniesProfileAvatar(props.contactId));\r\n }\r\n }, [companyProfileAvatar, props.contactId]);\r\n\r\n if (props.shouldUsePlaceholderIcon && !companyProfileAvatar?.companiesProfileAvatar) {\r\n return ;\r\n } else if (props.contactId) {\r\n return companyProfileAvatar?.companiesProfileAvatar ? (\r\n \r\n ) : (\r\n {props.initials}\r\n );\r\n } else {\r\n return null;\r\n }\r\n};\r\n","import { find } from 'lodash';\r\n\r\nimport { TruckFilters } from '@common/sort';\r\nimport { DefaultEncoder } from '@common/util/encoder/URLDefaultEncoder';\r\nimport { parseBoolean, parseNumber } from '@common/util/parser/ParserUtils';\r\n\r\nexport const DEFAULT_RADIUS_OPTION = 100;\r\nconst MAX_RADIUS_OPTION = 300;\r\nconst MIN_RADIUS_OPTION = 25;\r\nexport const RADIUS_OPTIONS: number[] = [MIN_RADIUS_OPTION, 50, 100, 150, 200, MAX_RADIUS_OPTION];\r\n\r\nconst DEFAULT_TRUCK_FILTERS: TruckFilters = {\r\n radius: DEFAULT_RADIUS_OPTION,\r\n favorite: false,\r\n gpsVerified: false,\r\n onboarded: false,\r\n activeAuthority: false,\r\n};\r\n\r\nexport class LocateTruckEncoder extends DefaultEncoder> {\r\n getVocabulary() {\r\n return {\r\n r: 'radius',\r\n f: 'favorite',\r\n o: 'onboarded',\r\n g: 'gpsVerified',\r\n a: 'activeAuthority',\r\n };\r\n }\r\n\r\n convertUrlParamsToFilters = (params: string): TruckFilters => {\r\n const obj = this.convertUrlParamsToObjectRequest(params);\r\n return {\r\n radius: getRadiusOption(parseNumber(obj.radius) ?? DEFAULT_TRUCK_FILTERS.radius),\r\n favorite: parseBoolean(obj.favorite) ?? DEFAULT_TRUCK_FILTERS.favorite,\r\n onboarded: parseBoolean(obj.onboarded) ?? DEFAULT_TRUCK_FILTERS.onboarded,\r\n gpsVerified: parseBoolean(obj.gpsVerified) ?? DEFAULT_TRUCK_FILTERS.gpsVerified,\r\n activeAuthority: parseBoolean(obj.activeAuthority) ?? DEFAULT_TRUCK_FILTERS.activeAuthority,\r\n };\r\n };\r\n\r\n convertFiltersToUrlParams = (filters: TruckFilters) =>\r\n this.convertObjectRequestToUrlParams({\r\n radius: filters.radius === DEFAULT_TRUCK_FILTERS.radius ? undefined : filters.radius,\r\n favorite: filters.favorite === DEFAULT_TRUCK_FILTERS.favorite ? undefined : filters.favorite,\r\n onboarded: filters.onboarded === DEFAULT_TRUCK_FILTERS.onboarded ? undefined : filters.onboarded,\r\n gpsVerified: filters.gpsVerified === DEFAULT_TRUCK_FILTERS.gpsVerified ? undefined : filters.gpsVerified,\r\n activeAuthority:\r\n filters.activeAuthority === DEFAULT_TRUCK_FILTERS.activeAuthority ? undefined : filters.activeAuthority,\r\n });\r\n}\r\n\r\nconst getRadiusOption = (radius: number | null | undefined) => {\r\n if (radius === null || radius === undefined) {\r\n return DEFAULT_RADIUS_OPTION;\r\n } else if (radius >= MAX_RADIUS_OPTION) {\r\n return MAX_RADIUS_OPTION;\r\n } else if (radius <= MIN_RADIUS_OPTION) {\r\n return MIN_RADIUS_OPTION;\r\n }\r\n return find(RADIUS_OPTIONS, (radiusOption) => radiusOption >= radius) || MAX_RADIUS_OPTION;\r\n};\r\n","import React from 'react';\r\n\r\nimport { flatMap, map } from 'lodash';\r\nimport Popover, { PopoverPlace } from 'react-popover';\r\n\r\nimport { List } from '@material-ui/core';\r\n\r\nimport { Location } from '@common/model';\r\nimport { Text, TextDisplay, TextStyle } from '@component/text';\r\nimport { POPUP_ZINDEX } from '@style/StyleConstants';\r\nimport { t, T } from '@translate';\r\nimport { NO_INFORMATION_SYMBOL } from '@util/Constants';\r\nimport { formatTruckLocation } from '@util/Formatter';\r\n\r\n// import './PopupTruckDestination.css';\r\n\r\ninterface Props {\r\n id: string;\r\n destinations?: Location[];\r\n onClick: (event: React.MouseEvent) => void;\r\n open: boolean;\r\n popupLocation: PopoverPlace;\r\n}\r\nconst TruckDestinations: React.SFC = (props: Props) => {\r\n const { onClick, open } = props;\r\n if (!props.destinations || props.destinations.length <= 0) {\r\n return {NO_INFORMATION_SYMBOL};\r\n }\r\n\r\n //We want to count them here because there might be nested states.\r\n let destinationAmount = 0;\r\n const destinations = flatMap(props.destinations, (destination, index) =>\r\n map(formatTruckLocation(destination), (formatedDestination) => {\r\n destinationAmount += 1;\r\n return (\r\n \r\n \r\n {formatedDestination}\r\n \r\n
\r\n
\r\n );\r\n })\r\n );\r\n\r\n if (destinationAmount <= 2) {\r\n return
{destinations}
;\r\n }\r\n const destinationElements = {destinations} ;\r\n\r\n const title = (\r\n \r\n {t(T.common_load_Popup_Destinations)}\r\n \r\n );\r\n\r\n return (\r\n
\r\n \r\n \r\n {t(T.common_load_Popup_Multiple)}\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nexport { TruckDestinations };\r\n","import styled from 'styled-components';\r\n\r\nimport Checkbox from '@material-ui/core/Checkbox';\r\n\r\nimport { singleDoubleColumnSelect } from '@component/panelSizeDetector/PanelSizeDetector';\r\nimport { Text } from '@component/text/Text';\r\nimport { Color } from '@style/Color';\r\nimport { FontSize, Spacing } from '@style/StyleConstants';\r\nimport THEME from '@style/Theme';\r\nimport { ThemeProps, withTheme } from '@style/WithTheme';\r\n\r\nexport const ConfirmationCheckbox = styled(Checkbox)`\r\n && {\r\n align-self: baseline;\r\n padding-top: 11px;\r\n margin-left: -14px;\r\n }\r\n`;\r\n\r\nexport const TrialExtensionFrame = styled.div`\r\n display: flex;\r\n flex-direction: ${singleDoubleColumnSelect('column', 'row')};\r\n background-color: ${Color.BLUE_AZURE};\r\n border: 1px solid ${Color.GRAY_SMOKE};\r\n text-align: center;\r\n align-items: center;\r\n padding: ${Spacing.InterSection}px;\r\n justify-content: space-evenly;\r\n`;\r\n\r\nexport const DialogTitle = styled.div`\r\n margin: 16px 0 16px 16px;\r\n`;\r\n\r\nexport const TitleText = styled.span`\r\n color: ${Color.GRAY_DARK};\r\n font-size: ${FontSize.Header}px;\r\n font-weight: bold;\r\n margin-bottom: ${Spacing.InterSection}px;\r\n`;\r\n\r\nexport const ContentText = styled(Text)`\r\n font-size: ${FontSize.Content}px;\r\n line-height: 30px;\r\n font-weight: regular;\r\n`;\r\n\r\nexport const ExtensionContentText = styled(Text)`\r\n font-size: ${FontSize.ModalTitle}px;\r\n line-height: 30px;\r\n`;\r\n\r\nexport const TextContainer = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n font-size: ${FontSize.Content}px;\r\n justify-content: space-between;\r\n padding-top: 8px;\r\n padding-bottom: ${Spacing.InterSection}px;\r\n`;\r\n\r\nexport const ExtensionTextContainer = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n margin-left: ${singleDoubleColumnSelect('', '30px')};\r\n padding-right: ${singleDoubleColumnSelect('', '8px')};\r\n justify-content: space-between;\r\n`;\r\n\r\nexport const CheckboxContainer = styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n padding-top: 6px;\r\n padding-bottom: 8px;\r\n`;\r\n\r\nexport const RadioTextContainer = withTheme()(styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n padding-top: 8px;\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.sm}px) {\r\n margin-left: -90px;\r\n }\r\n @media (max-width: 320px) {\r\n margin-left: -50px;\r\n }\r\n`);\r\n\r\nexport const SingleButtonContainer = styled.div`\r\n display: flex;\r\n flex-direction: ${singleDoubleColumnSelect('column', 'row')};\r\n justify-content: left;\r\n max-width: 180px;\r\n padding-top: 8px;\r\n padding-bottom: ${Spacing.DoubleInterSection}px;\r\n\r\n flex-direction: column;\r\n height: ${singleDoubleColumnSelect('100px', '')};\r\n width: ${singleDoubleColumnSelect('auto', '')};\r\n`;\r\n\r\nexport const TwoButtonsContainer = styled.div`\r\n display: flex;\r\n justify-content: space-between;\r\n flex-direction: ${singleDoubleColumnSelect('column', 'row')};\r\n max-width: 400px;\r\n height: ${singleDoubleColumnSelect('100px', '')};\r\n width: ${singleDoubleColumnSelect('100%', '')};\r\n padding-top: 8px;\r\n padding-bottom: 42px;\r\n`;\r\n\r\n//base card popup\r\nexport const TwoSmallButtonsContainer = withTheme()(styled.div`\r\n display: flex;\r\n flex-direction: row;\r\n justify-content: space-between;\r\n max-width: 400px;\r\n padding-top: 8px;\r\n padding-bottom: 30px;\r\n\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.sm}px) {\r\n flex-direction: column;\r\n align-items: center;\r\n height: 100px;\r\n width: auto;\r\n margin-bottom: 24px;\r\n }\r\n`);\r\n\r\nexport const SmallButtonWrapper = withTheme()(styled.div`\r\n display: flex;\r\n width: 180px;\r\n padding-top: ${Spacing.InterSection}px;\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.sm}px) {\r\n width: 100%;\r\n }\r\n`);\r\n//base card popup end\r\n\r\nexport const ThreeButtonsContainer = styled.div`\r\n display: flex;\r\n flex-direction: ${singleDoubleColumnSelect('column', 'row')};\r\n justify-content: space-between;\r\n max-width: 620px;\r\n padding-top: 8px;\r\n padding-bottom: 42px;\r\n height: ${singleDoubleColumnSelect('180px', '')};\r\n width: ${singleDoubleColumnSelect('100%', '')};\r\n`;\r\n\r\nexport const ContinueUnsubscribeButtonWrapper = withTheme()(styled.div`\r\n display: flex;\r\n width: 180px;\r\n padding-top: ${Spacing.InterSection}px;\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.sm}px) {\r\n width: 100%;\r\n }\r\n`);\r\n\r\nexport const ButtonWrapper = styled.div`\r\n display: flex;\r\n width: ${singleDoubleColumnSelect('100%', '180px')};\r\n justify-content: ${singleDoubleColumnSelect('space-between', '')};\r\n padding-top: ${Spacing.InterSection}px;\r\n`;\r\n\r\nexport const SimpleButtonWrapper = withTheme()(styled.div`\r\n display: flex;\r\n width: 180px;\r\n padding-top: ${Spacing.InterSection}px;\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.md}px) {\r\n justify-content: space-between;\r\n width: 100%;\r\n }\r\n`);\r\n\r\nexport const ExtensionButtonWrapper = styled.div`\r\n width: 142px;\r\n display: flex;\r\n flex: none;\r\n margin-left: ${singleDoubleColumnSelect('', 'auto')};\r\n padding-left: ${singleDoubleColumnSelect('', '8px')};\r\n padding-top: ${singleDoubleColumnSelect('inherit', '')};\r\n`;\r\n\r\nexport const Row = styled.div`\r\n border-bottom: 1px solid ${THEME.palette.background.smoke};\r\n`;\r\n\r\nexport const SectionContainer = withTheme()(styled.div`\r\n padding: 15px 30px 0 30px;\r\n`);\r\n\r\nexport const SectionPopupContainer = withTheme()(styled.div`\r\n padding: 10px 16px 0 16px;\r\n @media (max-width: ${(props: ThemeProps) => props.theme.breakpoints.values.sm}px) {\r\n padding: 14px 8px 0 8px;\r\n }\r\n`);\r\n\r\n//difficultyofuse panel start\r\nexport const TwoSectionsContainer = styled.div`\r\n display: flex;\r\n flex-direction: ${singleDoubleColumnSelect('column', 'row')};\r\n justify-content: space-between;\r\n width: ${singleDoubleColumnSelect('auto', '100%')};\r\n`;\r\n\r\nexport const ButtonTextContainer = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n padding-bottom: 42px;\r\n\r\n max-width: ${singleDoubleColumnSelect('', '450px')};\r\n width: ${singleDoubleColumnSelect('100%', '98%')};\r\n`;\r\n\r\nexport const BigButtonWrapper = styled.div`\r\n display: flex;\r\n padding-top: ${Spacing.InterSection}px;\r\n max-width: ${singleDoubleColumnSelect('', '450px')};\r\n width: ${singleDoubleColumnSelect('100%', '98%')};\r\n`;\r\n//dificultyofuse panel end\r\n\r\n//NotUsingIt panel\r\nexport const ThreeSectionsContainer = styled.div`\r\n display: flex;\r\n flex-direction: ${singleDoubleColumnSelect('column', 'row')};\r\n justify-content: space-between;\r\n width: auto;\r\n`;\r\n\r\nexport const ButtonTextSmallContainer = styled.div`\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: space-between;\r\n max-width: ${singleDoubleColumnSelect('', '300px')};\r\n padding-bottom: 42px;\r\n width: ${singleDoubleColumnSelect('100%', '90%')};\r\n`;\r\n\r\nexport const MediumButtonWrapper = styled.div`\r\n display: flex;\r\n padding-top: ${Spacing.InterSection}px;\r\n max-width: ${singleDoubleColumnSelect('', '300px')};\r\n width: ${singleDoubleColumnSelect('100%', '90%')};\r\n`;\r\n","import createBrowserHistory from 'history/createBrowserHistory';\r\n\r\nexport const history = createBrowserHistory();\r\n","import { combineEpics } from 'redux-observable';\r\n\r\nimport { createCapacityFinderEpic } from '@/reduxStore/epic/CapacityFinderEpic';\r\nimport { createInboxMessageContentEpic } from '@/reduxStore/epic/InboxMessageContentEpic';\r\nimport { createLocationEpic$ } from '@/reduxStore/epic/LocationEpic';\r\nimport { createMileageCalculatorEpic } from '@/reduxStore/epic/MileageCalculatorEpic';\r\nimport { createPostingContactsEpic } from '@/reduxStore/epic/PostingContactsEpic';\r\nimport { createPostLoadFormEpic$ } from '@/reduxStore/epic/postLoad/PostLoadFormEpic';\r\nimport { createPostLoadEpic } from '@/reduxStore/epic/PostLoadEpic';\r\nimport { createReducerSyncEpic$ } from '@/reduxStore/epic/ReducerSyncEpic';\r\nimport { createTruckEpic } from '@/reduxStore/epic/TruckEpic';\r\nimport { createUnsubscribeEpic } from '@/reduxStore/epic/UnsubscribeEpic';\r\nimport { createURLScrapeEpic } from '@/reduxStore/epic/URLScrapeEpic';\r\nimport { createUserSettingsEpic } from '@/reduxStore/epic/UserSettingsEpic';\r\nimport { createAvatarEpic } from '@common/redux/epic/AvatarEpic';\r\nimport { createBidsEpic } from '@common/redux/epic/bids/BidsEpic';\r\nimport { createVendorBidsEpic } from '@common/redux/epic/bids/VendorBidsEpic';\r\nimport { createBrokerEpic } from '@common/redux/epic/BrokerEpic';\r\nimport { createCarrierTrackingEpic } from '@common/redux/epic/CarrierTrackingEpic';\r\nimport { createCommunicationsEpic$ } from '@common/redux/epic/CommunicationEpic';\r\nimport { createCompanyAvatarEpic } from '@common/redux/epic/CompanyAvatarEpic';\r\nimport { createCompanyEpic } from '@common/redux/epic/CompanyEpic';\r\nimport { createDocumentsEpic } from '@common/redux/epic/DocumentsEpic';\r\nimport { createFeedbackEpic } from '@common/redux/epic/FeedbackEpic';\r\nimport { createFtpEpic } from '@common/redux/epic/FtpEpic';\r\nimport { createIdentityVerificationEpic } from '@common/redux/epic/IdentityVerificationEpic';\r\nimport { createInboxEpic } from '@common/redux/epic/InboxEpic';\r\nimport { createLoadAvailabilityEpic } from '@common/redux/epic/LoadAvailabilityEpic';\r\nimport { loadDetailsEpicCreator$ } from '@common/redux/epic/LoadDetailsEpic';\r\nimport { createLoadDetailsMapEpic } from '@common/redux/epic/LoadDetailsMapEpic';\r\nimport { createLoadFeedbackEpic } from '@common/redux/epic/LoadFeedbackEpic';\r\nimport { createLoadInfoEpic } from '@common/redux/epic/LoadInfoEpic';\r\nimport { LoadSearchType } from '@common/redux/epic/loadSearch';\r\nimport { createCompanySearchEpic } from '@common/redux/epic/loadSearch/CompanySearchEpic';\r\nimport { backhaulsEpicCreator$ } from '@common/redux/epic/loadSearch/LoadSearchBackhaulsEpic';\r\nimport { createLoadSearchEpic } from '@common/redux/epic/loadSearch/LoadSearchEpic';\r\nimport { companyMapSearchEpicCreator$, mapSearchEpicCreator$ } from '@common/redux/epic/loadSearch/MapSearchEpic';\r\nimport { createHomeLocationEpic } from '@common/redux/epic/LoadSearchSettingsEpic';\r\nimport { createLoadsEpic } from '@common/redux/epic/LoadsEpic';\r\nimport { createLocationMatchEpic } from '@common/redux/epic/LocationMatchEpic';\r\nimport { createMarketRatesEpic } from '@common/redux/epic/MarketRatesEpic';\r\nimport { createMyCarrierPortalEpic } from '@common/redux/epic/MyCarrierPortalEpic';\r\nimport { createMyLoadsEpic } from '@common/redux/epic/MyLoadsEpic';\r\nimport { createPaymentEpic } from '@common/redux/epic/PaymentEpic';\r\nimport { createPermissionsEpic } from '@common/redux/epic/PermissionsEpic';\r\nimport { createPostTruckEpic } from '@common/redux/epic/PostTruckEpic';\r\nimport { createQuotesEpic } from '@common/redux/epic/QuoteEpic';\r\nimport { createRateChecksEpic } from '@common/redux/epic/RateCheckEpic';\r\nimport { createRecentSearchLocationsEpic } from '@common/redux/epic/RecentSearchLocationsEpic';\r\nimport { createRouteEpic } from '@common/redux/epic/RoutesEpic';\r\nimport { createServiceCodeEpic } from '@common/redux/epic/ServiceCodeEpic';\r\nimport { createSettingsEpic } from '@common/redux/epic/SettingsEpic';\r\nimport { createSharedLoadEpic } from '@common/redux/epic/SharedLoadEpic';\r\nimport { createSystemTimeEpic } from '@common/redux/epic/SystemTimeEpic';\r\nimport { createTermsAndConditionsEpic } from '@common/redux/epic/TermsAndConditionsEpic';\r\nimport { createThunderFundingQuotesEpic } from '@common/redux/epic/ThunderFundingQuotesEpic';\r\nimport { createTmsEpic } from '@common/redux/epic/TmsEpic';\r\nimport { createTripBuilderEpic } from '@common/redux/epic/TripBuilderEpic';\r\nimport { createTruckAlertsEpic } from '@common/redux/epic/TruckAlertsEpic';\r\nimport { createUploadFileEpic } from '@common/redux/epic/UploadFileEpic';\r\nimport { createUserEpic } from '@common/redux/epic/UserEpic';\r\nimport { createUserPlanManagementEpic } from '@common/redux/epic/UserPlanManagementEpic';\r\nimport { createUserTrucksEpic } from '@common/redux/epic/UserTrucksEpic';\r\nimport { createVerifyPhoneEpic } from '@common/redux/epic/VerifyPhoneEpic';\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport { AnonymousMemberApiService } from '@webApi/AnonymousMemberApiService';\r\nimport { MemberApiService } from '@webApi/MemberApiService';\r\nimport { createMembersEpic } from '@webApi/MembersEpic';\r\nimport { RawApiService } from '@webApi/RawApiService';\r\n\r\nimport { createCarrierEpic } from './epic/CarrierEpic';\r\nimport { createFeedEpic } from './epic/FeedEpic';\r\nimport { createLoadMetricEpic } from './epic/LoadMetricsEpic';\r\nimport { createLoadVisibilityRulesEpic } from './epic/LoadVisibilityRulesEpic';\r\nimport { createOnboardedCarriersEpic } from './epic/OnboardedCarriersEpic';\r\nimport { createPCMilerEpic } from './epic/PCMilerEpic';\r\nimport { createPrivateNetworkEpic } from './epic/PrivateNetworkEpic';\r\nimport { createSearchDirectoryCompanyEpic } from './epic/SearchDirectoryEpic';\r\nimport { createVerifyEmailEpic } from './epic/VerifyEmailEpic';\r\nimport { createWelcomebackCampaignEpic } from './epic/WelcomebackCampaignEpic';\r\nimport { epicMiddleware } from './Store';\r\n\r\nconst anonymousMemberApi = new AnonymousMemberApiService();\r\nexport const memberApi = new MemberApiService();\r\nconst rawApi = new RawApiService();\r\nconst isLiveEnvironment = AppConfig.LBConfig.lbEnvironment === 'live' || AppConfig.LBConfig.lbEnvironment === 'beta';\r\n\r\nexport const rootEpic = combineEpics(\r\n // keep sorted\r\n backhaulsEpicCreator$(memberApi, isLiveEnvironment),\r\n companyMapSearchEpicCreator$(memberApi, isLiveEnvironment),\r\n createAvatarEpic(memberApi),\r\n createBidsEpic(memberApi),\r\n createBrokerEpic(memberApi),\r\n createCapacityFinderEpic(memberApi),\r\n createCarrierEpic(memberApi),\r\n createCarrierTrackingEpic(memberApi),\r\n createCommunicationsEpic$(memberApi),\r\n createCompanyAvatarEpic(memberApi),\r\n createCompanyEpic(memberApi),\r\n createCompanySearchEpic(memberApi, isLiveEnvironment),\r\n createDocumentsEpic(memberApi),\r\n createFeedEpic(rawApi),\r\n createFeedbackEpic(memberApi),\r\n createFtpEpic(memberApi),\r\n createHomeLocationEpic(memberApi),\r\n createIdentityVerificationEpic(memberApi),\r\n createInboxEpic(memberApi),\r\n createInboxMessageContentEpic(memberApi),\r\n createLoadAvailabilityEpic(memberApi, isLiveEnvironment),\r\n createLoadDetailsMapEpic(memberApi, isLiveEnvironment),\r\n createLoadFeedbackEpic(memberApi),\r\n createLoadInfoEpic(memberApi, isLiveEnvironment),\r\n createLoadMetricEpic(memberApi),\r\n createLoadSearchEpic(memberApi, isLiveEnvironment),\r\n createLoadVisibilityRulesEpic(memberApi),\r\n createLoadsEpic(memberApi, isLiveEnvironment),\r\n createLocationEpic$(memberApi),\r\n createLocationMatchEpic(memberApi),\r\n createMarketRatesEpic(memberApi, isLiveEnvironment),\r\n createMembersEpic(rawApi),\r\n createMileageCalculatorEpic(memberApi),\r\n createMyCarrierPortalEpic(memberApi),\r\n createMyLoadsEpic(memberApi, isLiveEnvironment),\r\n createOnboardedCarriersEpic(memberApi),\r\n createPCMilerEpic(memberApi, isLiveEnvironment),\r\n createPaymentEpic(memberApi),\r\n createPermissionsEpic(memberApi),\r\n createPostLoadEpic(memberApi),\r\n createPostLoadFormEpic$(memberApi),\r\n createPostTruckEpic(memberApi),\r\n createPostingContactsEpic(memberApi),\r\n createPrivateNetworkEpic(memberApi),\r\n createQuotesEpic(memberApi),\r\n createRateChecksEpic(memberApi),\r\n createRecentSearchLocationsEpic(memberApi),\r\n createReducerSyncEpic$(memberApi),\r\n createRouteEpic(memberApi),\r\n createSearchDirectoryCompanyEpic(memberApi),\r\n createServiceCodeEpic(rawApi, memberApi),\r\n createSettingsEpic(memberApi),\r\n createSharedLoadEpic(memberApi, isLiveEnvironment),\r\n createTripBuilderEpic(memberApi),\r\n createSystemTimeEpic(memberApi),\r\n createTermsAndConditionsEpic(memberApi),\r\n createThunderFundingQuotesEpic(memberApi),\r\n createTmsEpic(memberApi),\r\n createTruckAlertsEpic(memberApi),\r\n createTruckEpic(memberApi),\r\n createURLScrapeEpic(memberApi, anonymousMemberApi),\r\n createUnsubscribeEpic(memberApi),\r\n createUploadFileEpic(memberApi),\r\n createUserEpic(memberApi),\r\n createUserPlanManagementEpic(memberApi),\r\n createUserSettingsEpic(memberApi),\r\n createUserTrucksEpic(memberApi),\r\n createVendorBidsEpic(memberApi),\r\n createVerifyEmailEpic(memberApi, anonymousMemberApi),\r\n createVerifyPhoneEpic(memberApi),\r\n createWelcomebackCampaignEpic(rawApi),\r\n loadDetailsEpicCreator$(LoadSearchType.Backhaul, memberApi, isLiveEnvironment),\r\n loadDetailsEpicCreator$(LoadSearchType.CompanySearch, memberApi, isLiveEnvironment),\r\n loadDetailsEpicCreator$(LoadSearchType.LoadSearch, memberApi, isLiveEnvironment),\r\n loadDetailsEpicCreator$(LoadSearchType.Posted, memberApi, isLiveEnvironment),\r\n mapSearchEpicCreator$(memberApi, isLiveEnvironment)\r\n);\r\n\r\nepicMiddleware.run(rootEpic);\r\n","import { connectRouter, routerMiddleware } from 'connected-react-router';\r\nimport { History } from 'history';\r\nimport { Action, applyMiddleware, combineReducers, compose, createStore, Reducer } from 'redux';\r\nimport { createEpicMiddleware } from 'redux-observable';\r\nimport { PersistConfig, persistReducer, persistStore } from 'redux-persist';\r\nimport autoMergeLevel2 from 'redux-persist/lib/stateReconciler/autoMergeLevel2';\r\nimport localStorage from 'redux-persist/lib/storage';\r\n\r\nimport {\r\n applicationSettingsReducer,\r\n ApplicationSettingsState,\r\n migrateAppSettings,\r\n} from '@/reduxStore/epic/ApplicationSettingsReducer';\r\nimport { capacityFinderReducer, CapacityFinderState } from '@/reduxStore/epic/CapacityFinderEpic';\r\nimport { connectionErrorReducer, ConnectionErrorState } from '@/reduxStore/epic/ConnectionErrorEpic';\r\nimport { loadVisibilityRulesReducer, LoadVisibilityRulesState } from '@/reduxStore/epic/LoadVisibilityRulesEpic';\r\nimport { locationReducer, LocationState } from '@/reduxStore/epic/LocationEpic';\r\nimport { LocationPickerReducer, LocationPickerState } from '@/reduxStore/epic/LocationPickerEpic';\r\nimport { mileageCalculatorReducer, SelectedLocationsState } from '@/reduxStore/epic/MileageCalculatorEpic';\r\nimport { onboardedCarriersReducer, OnboardedCarriersState } from '@/reduxStore/epic/OnboardedCarriersEpic';\r\nimport { panelReducer, PanelState } from '@/reduxStore/epic/PanelEpic';\r\nimport { postingContactsReducer, PostingContactsState } from '@/reduxStore/epic/PostingContactsEpic';\r\nimport { postLoadsFormReducer } from '@/reduxStore/epic/postLoad/PostLoadFormEpic';\r\nimport { PostLoadFormState } from '@/reduxStore/epic/postLoad/PostLoadFormStateHelper';\r\nimport { postedLoadsReducer, PostLoadState } from '@/reduxStore/epic/PostLoadEpic';\r\nimport { privateNetworkReducer, PrivateNetworkState } from '@/reduxStore/epic/PrivateNetworkEpic';\r\nimport { searchDirectoryCompanyReducer, SearchDirectoryCompanyState } from '@/reduxStore/epic/SearchDirectoryEpic';\r\nimport { trucksReducer, TruckState } from '@/reduxStore/epic/TruckEpic';\r\nimport { urlScrapeReducer, URLScrapeState } from '@/reduxStore/epic/URLScrapeEpic';\r\nimport { userActivityReducer, UserActivityState } from '@/reduxStore/epic/UserActivityEpic';\r\nimport { usersSettingsReducer, UsersSettingState } from '@/reduxStore/epic/UserSettingsEpic';\r\nimport { verifyEmailReducer, VerifyEmailState } from '@/reduxStore/epic/VerifyEmailEpic';\r\nimport { history } from '@/reduxStore/History';\r\nimport { LoadDetailsTabsState, loadDetailsTabsStateReducer } from '@/reduxStore/reducer/LoadDetailsTabsReducer';\r\nimport { loadSearchFormReducer, LoadSearchFormState } from '@/reduxStore/reducer/LoadSearchFormReducer';\r\nimport {\r\n postedLoadsPanelActionsReducer,\r\n PostedLoadsPanelActionsState,\r\n} from '@/reduxStore/reducer/PostedLoadsPanelActionsReducer';\r\nimport {\r\n postAvailabilityFormReducer,\r\n TruckAvailabilityFormState,\r\n} from '@/reduxStore/reducer/PostTruckAvailabilityReducer';\r\nimport { snackbarReducer, SnackbarState } from '@/reduxStore/reducer/SnackbarReducer';\r\nimport { truckLocatorReducer, TruckLocatorState } from '@/reduxStore/reducer/TruckReducer';\r\nimport { underDevelopmentReducer, underDevelopmentStateReconciler } from '@/reduxStore/reducer/UnderDevelopmentReducer';\r\nimport { ImmutableLRUMap } from '@common/helper';\r\nimport { avatarReducer, AvatarState } from '@common/redux/epic/AvatarEpic';\r\nimport { bidsReducer } from '@common/redux/epic/bids/BidsEpic';\r\nimport { BidsState } from '@common/redux/epic/bids/BidsStateHelper';\r\nimport { vendorBidsReducer, VendorBidsState } from '@common/redux/epic/bids/VendorBidsEpic';\r\nimport { brokerReducer, BrokerState } from '@common/redux/epic/BrokerEpic';\r\nimport { carrierTrackingReducer, CarrierTrackingState } from '@common/redux/epic/CarrierTrackingEpic';\r\nimport { communicationReducer, CommunicationState } from '@common/redux/epic/CommunicationEpic';\r\nimport { CompaniesAvatarState, companyAvatarReducer } from '@common/redux/epic/CompanyAvatarEpic';\r\nimport { companyReducer, CompanyState, contactReducer, ContactState } from '@common/redux/epic/CompanyEpic';\r\nimport { documentsReducer, DocumentsState } from '@common/redux/epic/DocumentsEpic';\r\nimport { feedbackReducer, FeedbackState } from '@common/redux/epic/FeedbackEpic';\r\nimport { ftpReducer, FtpState } from '@common/redux/epic/FtpEpic';\r\nimport { identityVerificationReducer, IdentityVerificationState } from '@common/redux/epic/IdentityVerificationEpic';\r\nimport { inboxReducer, InboxState } from '@common/redux/epic/InboxEpic';\r\nimport { loadAvailabilityReducer, LoadAvailabilityState } from '@common/redux/epic/LoadAvailabilityEpic';\r\nimport { loadDetailsReducer, LoadDetailsReducerKey, LoadDetailsState } from '@common/redux/epic/LoadDetailsEpic';\r\nimport { loadDetailsMapReducer, LoadDetailsMapState } from '@common/redux/epic/LoadDetailsMapEpic';\r\nimport { loadFeedbackReducer, LoadFeedbackState } from '@common/redux/epic/LoadFeedbackEpic';\r\nimport { loadInfoReducer, LoadInfoState } from '@common/redux/epic/LoadInfoEpic';\r\nimport { LoadSearchType } from '@common/redux/epic/loadSearch';\r\nimport { companySearchReducer, CompanySearchState } from '@common/redux/epic/loadSearch/CompanySearchEpic';\r\nimport { backhaulsReducer, LoadBackhaulsState } from '@common/redux/epic/loadSearch/LoadSearchBackhaulsEpic';\r\nimport { loadSearchReducer, LoadSearchState } from '@common/redux/epic/loadSearch/LoadSearchEpic';\r\nimport { companyMapSearchReducer, mapSearchReducer, MapSearchState } from '@common/redux/epic/loadSearch/MapSearchEpic';\r\nimport { loadSearchSettingsReducer, LoadSearchSettingsState } from '@common/redux/epic/LoadSearchSettingsEpic';\r\nimport { loadsReducer, LoadsState } from '@common/redux/epic/LoadsEpic';\r\nimport { locationMatchReducer, LocationMatchState } from '@common/redux/epic/LocationMatchEpic';\r\nimport { marketRatesReducer, MarketRatesState } from '@common/redux/epic/MarketRatesEpic';\r\nimport { myCarrierPortalReducer, MyCarrierPortalState } from '@common/redux/epic/MyCarrierPortalEpic';\r\nimport { myLoadsReducer, MyLoadsState } from '@common/redux/epic/MyLoadsEpic';\r\nimport { paymentReducer, PaymentState } from '@common/redux/epic/PaymentEpic';\r\nimport { permissionsReducer, PermissionsState } from '@common/redux/epic/PermissionsEpic';\r\nimport { postTruckReducer, PostTruckState } from '@common/redux/epic/PostTruckEpic';\r\nimport {\r\n fuelAdvanceQuoteReducer,\r\n fuelCardQuoteReducer,\r\n getPaidFasterQuoteReducer,\r\n loadQuotesReducer,\r\n LoadQuotesState,\r\n QuoteState,\r\n roadsideAssistQuoteReducer,\r\n truckingAuthorityQuoteReducer,\r\n} from '@common/redux/epic/QuoteEpic';\r\nimport { rateCheckReducer, RateCheckState } from '@common/redux/epic/RateCheckEpic';\r\nimport { recentSearchLocationsReducer, RecentSearchLocationsState } from '@common/redux/epic/RecentSearchLocationsEpic';\r\nimport { routeReducer, RouteState } from '@common/redux/epic/RoutesEpic';\r\nimport { ServiceCodeReducer, ServiceCodeState } from '@common/redux/epic/ServiceCodeEpic';\r\nimport { settingsReducer } from '@common/redux/epic/SettingsEpic';\r\nimport { SETTINGS_REDUCER_KEY, SettingsState } from '@common/redux/epic/SettingsStateHelper';\r\nimport { sharedLoadReducer, SharedLoadState } from '@common/redux/epic/SharedLoadEpic';\r\nimport { systemTimeReducer, SystemTimeState } from '@common/redux/epic/SystemTimeEpic';\r\nimport { termsAndConditionsReducer, TermsAndConditionsState } from '@common/redux/epic/TermsAndConditionsEpic';\r\nimport { tmsReducer, TmsState } from '@common/redux/epic/TmsEpic';\r\nimport { tripBuilderReducer, TripBuilderState } from '@common/redux/epic/TripBuilderEpic';\r\nimport { TRUCK_ALERTS_REDUCER_KEY, truckAlertsReducer, TruckAlertsState } from '@common/redux/epic/TruckAlertsEpic';\r\nimport { uploadFileReducer, UploadState } from '@common/redux/epic/UploadFileEpic';\r\nimport { userReducer, UserState } from '@common/redux/epic/UserEpic';\r\nimport { userPlanReducer, UserPlanState } from '@common/redux/epic/UserPlanManagementEpic';\r\nimport { userTruckReducer, UserTrucksState } from '@common/redux/epic/UserTrucksEpic';\r\nimport { verifyPhoneReducer, VerifyPhoneState } from '@common/redux/epic/VerifyPhoneEpic';\r\nimport { lastRequestOverrideMiddleware } from '@common/redux/LastRequestOverrideMiddleware';\r\nimport { ScreenSharingReducer, ScreenSharingState } from '@common/redux/reducer/ScreenSharingReducer';\r\nimport { ribbonReducer, RibbonState } from '@common/redux/reducer/TopRibbonReducer';\r\nimport { tutorialReducer, TutorialState } from '@common/redux/reducer/TutorialReducer';\r\nimport { UnderDevelopmentState } from '@common/redux/reducer/UnderDevelopmentBaseReducer';\r\nimport { membersInfoReducer, MembersInfoState } from '@webApi/MembersEpic';\r\n\r\nimport { carrierReducer, CarrierState } from './epic/CarrierEpic';\r\nimport { feedReducer, FeedState } from './epic/FeedEpic';\r\nimport { inboxMessageContentReducer, InboxMessageContentState } from './epic/InboxMessageContentEpic';\r\nimport { loadMetricsReducer, LoadMetricsState } from './epic/LoadMetricsEpic';\r\nimport { PCMilerReducer, PCMilerState } from './epic/PCMilerEpic';\r\nimport { unsubscribeReducer, UnsubscribeState } from './epic/UnsubscribeEpic';\r\nimport { welcomebackCampaignReducer, WelcomebackCampaignState } from './epic/WelcomebackCampaignEpic';\r\n\r\nconst persist = (\r\n baseReducer: Reducer,\r\n config: Partial> & { key: string }\r\n) => {\r\n return persistReducer(\r\n {\r\n version: 0,\r\n stateReconciler: autoMergeLevel2,\r\n storage: localStorage,\r\n ...config,\r\n },\r\n baseReducer\r\n );\r\n};\r\n\r\nexport interface StoreState {\r\n // Keep this sorted\r\n applicationSettings: ApplicationSettingsState;\r\n avatar: AvatarState;\r\n backhauls: LoadBackhaulsState;\r\n bids: BidsState;\r\n bidsVendor: VendorBidsState;\r\n brokers: BrokerState;\r\n capacityFinder: CapacityFinderState;\r\n carriers: CarrierState;\r\n carrierTracking: CarrierTrackingState;\r\n communication: CommunicationState;\r\n companyAvatar: CompaniesAvatarState;\r\n companyMapSearch: MapSearchState;\r\n companySearch: CompanySearchState;\r\n companyState: CompanyState;\r\n connectionError: ConnectionErrorState;\r\n contact: ContactState;\r\n documents: DocumentsState;\r\n feedState: FeedState;\r\n feedbackState: FeedbackState;\r\n ftp: FtpState;\r\n fuelAdvanceQuote: QuoteState;\r\n fuelCardQuoteState: QuoteState;\r\n getPaidFasterQuoteState: QuoteState;\r\n identifyVerificationState: IdentityVerificationState;\r\n inboxMessageContent: InboxMessageContentState;\r\n inboxState: InboxState;\r\n loadAvailability: LoadAvailabilityState;\r\n loadDetails: LoadDetailsState;\r\n loadDetailsBackhauls: LoadDetailsState;\r\n loadDetailsCompanySearch: LoadDetailsState;\r\n loadDetailsMap: LoadDetailsMapState;\r\n loadDetailsTabs: LoadDetailsTabsState;\r\n loadFeedback: LoadFeedbackState;\r\n loadInfo: LoadInfoState;\r\n loadMetrics: LoadMetricsState;\r\n loadQuotes: LoadQuotesState;\r\n loadSearch: LoadSearchState;\r\n loadSearchForm: LoadSearchFormState;\r\n loadSearchSettings: LoadSearchSettingsState;\r\n loadVisibilityRules: LoadVisibilityRulesState;\r\n loadsState: LoadsState;\r\n locationMatches: ImmutableLRUMap;\r\n locationPickerState: LocationPickerState;\r\n locationState: LocationState;\r\n mapSearch: MapSearchState;\r\n marketRates: MarketRatesState;\r\n membersInfo: MembersInfoState;\r\n mileageLocationState: SelectedLocationsState;\r\n myLoads: MyLoadsState;\r\n myCarrierPortal: MyCarrierPortalState;\r\n onboardedCarriers: OnboardedCarriersState;\r\n panelState: PanelState;\r\n paymentState: PaymentState;\r\n pcmiler: PCMilerState;\r\n permissions: PermissionsState;\r\n postingContacts: PostingContactsState;\r\n postLoadFields: PostLoadFormState;\r\n postedLoads: PostLoadState;\r\n postTruck: PostTruckState;\r\n [LoadDetailsReducerKey.POSTED]: LoadDetailsState;\r\n postedLoadsPanelActions: PostedLoadsPanelActionsState;\r\n privateNetwork: PrivateNetworkState;\r\n rateCheck: RateCheckState;\r\n recentSearchLocationsState: RecentSearchLocationsState;\r\n roadsideAssistQuoteState: QuoteState;\r\n routeState: RouteState;\r\n screenSharing: ScreenSharingState;\r\n searchDirectory: SearchDirectoryCompanyState;\r\n serviceCode: ServiceCodeState;\r\n [SETTINGS_REDUCER_KEY]: SettingsState;\r\n sharedLoadState: SharedLoadState;\r\n snackbarState: SnackbarState;\r\n systemTime: SystemTimeState;\r\n termsAndConditionsState: TermsAndConditionsState;\r\n tms: TmsState;\r\n topRibbon: RibbonState;\r\n tripBuilder: TripBuilderState;\r\n [TRUCK_ALERTS_REDUCER_KEY]: TruckAlertsState;\r\n truckAvailabilityForm: TruckAvailabilityFormState;\r\n truckLocatorState: TruckLocatorState;\r\n truckState: TruckState;\r\n truckingAuthorityQuoteState: QuoteState;\r\n tutorialState: TutorialState;\r\n underDevelopment: UnderDevelopmentState;\r\n unsubscribeState: UnsubscribeState;\r\n uploadFile: UploadState;\r\n urlScrape: URLScrapeState;\r\n user: UserState;\r\n userActivity: UserActivityState;\r\n userPlan: UserPlanState;\r\n userTrucks: UserTrucksState;\r\n usersSettings: UsersSettingState;\r\n verifyEmail: VerifyEmailState;\r\n verifyPhone: VerifyPhoneState;\r\n welcomebackCampaignState: WelcomebackCampaignState;\r\n}\r\n\r\nconst router = routerMiddleware(history);\r\nconst createRootReducer = (connectedHistory: History) =>\r\n combineReducers({\r\n // Keep this sorted\r\n applicationSettings: persist(applicationSettingsReducer, {\r\n key: 'applicationSettings',\r\n whitelist: ['uiMenuLayout', 'menuOpen', 'expandedSections', 'sideMenuCollapsedSections'],\r\n migrate: migrateAppSettings(localStorage),\r\n }),\r\n avatar: avatarReducer,\r\n backhauls: backhaulsReducer,\r\n bids: bidsReducer,\r\n bidsVendor: vendorBidsReducer,\r\n brokers: brokerReducer,\r\n capacityFinder: persist(capacityFinderReducer, {\r\n key: 'capacityFinderSearchForm',\r\n whitelist: ['lastSearchFormData'],\r\n }),\r\n carriers: carrierReducer,\r\n carrierTracking: carrierTrackingReducer,\r\n communication: persist(communicationReducer, { key: 'communication', whitelist: ['isCommunicationsEnabled'] }),\r\n companyAvatar: companyAvatarReducer,\r\n companyMapSearch: companyMapSearchReducer,\r\n companySearch: companySearchReducer,\r\n companyState: companyReducer,\r\n connectionError: connectionErrorReducer,\r\n contact: contactReducer,\r\n documents: documentsReducer,\r\n feedState: feedReducer,\r\n feedbackState: feedbackReducer,\r\n ftp: ftpReducer,\r\n fuelAdvanceQuote: fuelAdvanceQuoteReducer,\r\n fuelCardQuoteState: fuelCardQuoteReducer,\r\n getPaidFasterQuoteState: getPaidFasterQuoteReducer,\r\n identifyVerificationState: identityVerificationReducer,\r\n inboxMessageContent: inboxMessageContentReducer,\r\n inboxState: inboxReducer,\r\n loadAvailability: loadAvailabilityReducer,\r\n loadDetails: loadDetailsReducer(LoadSearchType.LoadSearch),\r\n loadDetailsBackhauls: loadDetailsReducer(LoadSearchType.Backhaul),\r\n loadDetailsCompanySearch: loadDetailsReducer(LoadSearchType.CompanySearch),\r\n loadDetailsMap: loadDetailsMapReducer,\r\n loadDetailsTabs: persist(loadDetailsTabsStateReducer, {\r\n key: 'loadDetailsTabs',\r\n whitelist: ['openedLoadDetailsTabs'],\r\n }),\r\n loadFeedback: loadFeedbackReducer,\r\n loadInfo: loadInfoReducer,\r\n loadMetrics: loadMetricsReducer,\r\n loadQuotes: loadQuotesReducer,\r\n loadSearch: loadSearchReducer,\r\n loadSearchForm: loadSearchFormReducer,\r\n loadSearchSettings: persist(loadSearchSettingsReducer, {\r\n key: 'loadSearchSettings',\r\n whitelist: ['viewOption'],\r\n }),\r\n loadVisibilityRules: loadVisibilityRulesReducer,\r\n loadsState: loadsReducer,\r\n locationMatches: locationMatchReducer,\r\n locationPickerState: persist(LocationPickerReducer, {\r\n key: 'locationPicker',\r\n whitelist: ['isStatesPickerOpened', 'isRegionsPickerOpened'],\r\n }),\r\n locationState: locationReducer,\r\n mapSearch: mapSearchReducer,\r\n marketRates: persist(marketRatesReducer, {\r\n key: 'marketRates',\r\n whitelist: ['isAcceptancePointExpansionPanelOpen', 'isCapacityFinderExpansionPanelOpen', 'searchForm'],\r\n }),\r\n membersInfo: membersInfoReducer,\r\n mileageLocationState: mileageCalculatorReducer,\r\n myLoads: myLoadsReducer,\r\n myCarrierPortal: myCarrierPortalReducer,\r\n onboardedCarriers: onboardedCarriersReducer,\r\n panelState: panelReducer,\r\n paymentState: paymentReducer,\r\n pcmiler: PCMilerReducer,\r\n permissions: permissionsReducer,\r\n postingContacts: postingContactsReducer,\r\n postLoadFields: persist(postLoadsFormReducer, {\r\n key: 'lastUsedPostingContact',\r\n whitelist: ['lastUsedPostingContact', 'isPostingWithVisibilityRules'],\r\n }),\r\n postedLoads: postedLoadsReducer,\r\n postTruck: postTruckReducer,\r\n [LoadDetailsReducerKey.POSTED]: loadDetailsReducer(LoadSearchType.Posted),\r\n postedLoadsPanelActions: postedLoadsPanelActionsReducer,\r\n privateNetwork: privateNetworkReducer,\r\n rateCheck: rateCheckReducer,\r\n recentSearchLocationsState: recentSearchLocationsReducer,\r\n roadsideAssistQuoteState: roadsideAssistQuoteReducer,\r\n routeState: routeReducer,\r\n router: connectRouter(connectedHistory),\r\n screenSharing: ScreenSharingReducer,\r\n searchDirectory: searchDirectoryCompanyReducer,\r\n serviceCode: ServiceCodeReducer,\r\n [SETTINGS_REDUCER_KEY]: persist(settingsReducer, { key: SETTINGS_REDUCER_KEY, whitelist: ['systemSetting'] }),\r\n sharedLoadState: sharedLoadReducer,\r\n snackbarState: snackbarReducer,\r\n systemTime: systemTimeReducer,\r\n termsAndConditionsState: termsAndConditionsReducer,\r\n tms: tmsReducer,\r\n topRibbon: ribbonReducer,\r\n tripBuilder: persist(tripBuilderReducer, { key: 'tripBuilder', whitelist: ['form', 'viewType'] }),\r\n [TRUCK_ALERTS_REDUCER_KEY]: truckAlertsReducer,\r\n truckAvailabilityForm: persist(postAvailabilityFormReducer, {\r\n key: 'postedTrucks',\r\n whitelist: ['lastPostedOrigin'],\r\n }),\r\n truckLocatorState: truckLocatorReducer,\r\n truckState: persist(trucksReducer, { key: 'trucks', whitelist: ['openCarrierDetailsTabs', 'isMapViewSelected'] }),\r\n truckingAuthorityQuoteState: truckingAuthorityQuoteReducer,\r\n tutorialState: tutorialReducer,\r\n underDevelopment: persist(underDevelopmentReducer, {\r\n key: 'underDevelopment',\r\n whitelist: ['flags'],\r\n stateReconciler: underDevelopmentStateReconciler,\r\n }),\r\n unsubscribeState: unsubscribeReducer,\r\n uploadFile: uploadFileReducer,\r\n urlScrape: urlScrapeReducer,\r\n user: persist(userReducer, { key: 'last-idversion', whitelist: ['lastMaintenanceIdVersion', 'userType'] }),\r\n userActivity: userActivityReducer,\r\n userPlan: userPlanReducer,\r\n userTrucks: userTruckReducer,\r\n usersSettings: usersSettingsReducer,\r\n verifyEmail: verifyEmailReducer,\r\n verifyPhone: verifyPhoneReducer,\r\n welcomebackCampaignState: welcomebackCampaignReducer,\r\n });\r\nexport const epicMiddleware = createEpicMiddleware();\r\nconst middleware = applyMiddleware(lastRequestOverrideMiddleware, epicMiddleware, router);\r\nconst connectedRootReducer = createRootReducer(history);\r\n\r\nconst composeEnhancers: typeof compose =\r\n process.env.NODE_ENV === 'development' ? (window as any).__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose : compose;\r\n\r\nconst doCreateStore = () => {\r\n if (process.env.NODE_ENV === 'development') {\r\n // build process will strip out unused code in production,\r\n // hence the usage of 'require'\r\n require('@util/ReactotronConfig');\r\n const Reactotron = require('reactotron-react-js').default;\r\n return Reactotron.createStore(connectedRootReducer, composeEnhancers(middleware));\r\n } else {\r\n return createStore(connectedRootReducer, composeEnhancers(middleware));\r\n }\r\n};\r\n\r\nexport const store = doCreateStore();\r\n\r\nexport const persistor = persistStore(store);\r\n","import { includes, pull, uniq } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { WebStorage } from 'redux-persist';\r\n\r\nimport { createAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst SET_MENU_LAYOUT = 'SET_MENU_LAYOUT';\r\nconst TOGGLE_MENU = 'TOGGLE_MENU';\r\nconst OPEN_MENU = 'OPEN_MENU';\r\nconst CLOSE_MENU = 'CLOSE_MENU';\r\n\r\nexport enum UIMenuLayout {\r\n Carrier = 'carrier_menu',\r\n BrokerShipper = 'broker_shipper_menu',\r\n}\r\n\r\nexport enum ExpandableSections {\r\n TruckLocatorExactAnonymousMatches = 'TruckLocatorExactAnonymousMatches',\r\n TruckLocatorExactMatches = 'TruckLocatorExactMatches',\r\n TruckLocatorNonMatches = 'TruckLocatorNonMatches',\r\n TruckLocatorFilteredOutMatches = 'TruckLocatorFilteredOutMatches',\r\n ProfitCalculatorTrip = 'ProfitCalculatorTrip',\r\n ProfitCalculatorFuelCost = 'ProfitCalculatorFuelCost',\r\n ProfitCalculatorAdditionalCost = 'ProfitCalculatorAdditionalCost',\r\n SearchDirectoryCompanyBusinessBackground = 'SearchDirectoryCompanyBusinessBackground',\r\n SearchDirectoryCompanySafety = 'SearchDirectoryCompanySafety',\r\n SearchDirectoryCompanyAuthority = 'SearchDirectoryCompanyAuthority',\r\n SearchDirectoryCompanyInsurance = 'SearchDirectoryCompanyInsurance',\r\n SearchDirectoryCompanyCreditRating = 'SearchDirectoryCompanyCreditRating',\r\n SearchDirectoryCompanyLoads = 'SearchDirectoryCompanyLoads',\r\n RateCheck = 'RateCheck',\r\n CargoChiefRate = 'CargoChiefRate',\r\n GreenscreensRate = 'GreenscreensRate',\r\n PostedLoadsLocationAndDate = 'PostedLoadsLocationAndDate',\r\n PostedLoadsEquipment = 'PostedLoadsEquipment',\r\n PostedLoadsLoadSize = 'PostedLoadsLoadSize',\r\n PostedLoadsRateAndDistance = 'PostedLoadsRateAndDistance',\r\n PostedLoadsPostingContact = 'PostedLoadsPostingContact',\r\n PostedLoadsLoadVisibility = 'PostedLoadsLoadVisibility',\r\n PostedLoadsBookingOptions = 'PostedLoadsBookingOptions',\r\n CarrierDetailsRiskAssessment = 'CarrierDetailsRiskAssessment',\r\n ExpediteAllRate = 'ExpediteAllRate',\r\n}\r\n\r\ninterface SetMenuLayoutAction extends Action {\r\n menuLayout: UIMenuLayout;\r\n}\r\n\r\ninterface ExpandedSectionsAction {\r\n section: ExpandableSections;\r\n expanded: boolean;\r\n}\r\n\r\nconst setExpandedSectionAction = createAction('SET_EXPANDED_SECTION');\r\nconst toggleSideMenuSectionAction = createAction('TOGGLE_SIDEMENU_SECTION');\r\n\r\n/** only for Users with CompanyCategory = BrokerCarrier */\r\nexport const setMenuLayout = (menuLayout: UIMenuLayout): SetMenuLayoutAction => ({\r\n type: SET_MENU_LAYOUT,\r\n menuLayout: menuLayout,\r\n});\r\n\r\nexport const toggleMenu = (): Action => ({\r\n type: TOGGLE_MENU,\r\n});\r\n\r\nexport const openMenu = (): Action => ({\r\n type: OPEN_MENU,\r\n});\r\n\r\nexport const closeMenu = (): Action => ({\r\n type: CLOSE_MENU,\r\n});\r\n\r\nexport type ExpandableSectionsState = Record;\r\n\r\nexport interface ApplicationSettingsState {\r\n /** controlled by UI, only available for Users with CompanyCategory = BrokerCarrier */\r\n uiMenuLayout: UIMenuLayout;\r\n menuOpen: boolean;\r\n expandedSections: ExpandableSectionsState;\r\n /** maintains a list of menu sections that were collapsed by the user, default state is expanded */\r\n sideMenuCollapsedSections: string[];\r\n}\r\n\r\nconst initialState: ApplicationSettingsState = {\r\n uiMenuLayout: UIMenuLayout.Carrier,\r\n menuOpen: true,\r\n expandedSections: {\r\n [ExpandableSections.TruckLocatorExactAnonymousMatches]: false,\r\n [ExpandableSections.TruckLocatorExactMatches]: true,\r\n [ExpandableSections.TruckLocatorFilteredOutMatches]: true,\r\n [ExpandableSections.TruckLocatorNonMatches]: true,\r\n [ExpandableSections.ProfitCalculatorTrip]: false,\r\n [ExpandableSections.ProfitCalculatorFuelCost]: false,\r\n [ExpandableSections.ProfitCalculatorAdditionalCost]: false,\r\n [ExpandableSections.SearchDirectoryCompanyAuthority]: false,\r\n [ExpandableSections.SearchDirectoryCompanyLoads]: false,\r\n [ExpandableSections.SearchDirectoryCompanyInsurance]: false,\r\n [ExpandableSections.SearchDirectoryCompanyCreditRating]: false,\r\n [ExpandableSections.SearchDirectoryCompanySafety]: false,\r\n [ExpandableSections.SearchDirectoryCompanyBusinessBackground]: false,\r\n [ExpandableSections.RateCheck]: false,\r\n [ExpandableSections.CargoChiefRate]: false,\r\n [ExpandableSections.GreenscreensRate]: false,\r\n [ExpandableSections.PostedLoadsLocationAndDate]: true,\r\n [ExpandableSections.PostedLoadsEquipment]: true,\r\n [ExpandableSections.PostedLoadsLoadSize]: true,\r\n [ExpandableSections.PostedLoadsRateAndDistance]: true,\r\n [ExpandableSections.PostedLoadsPostingContact]: true,\r\n [ExpandableSections.PostedLoadsLoadVisibility]: true,\r\n [ExpandableSections.PostedLoadsBookingOptions]: true,\r\n [ExpandableSections.CarrierDetailsRiskAssessment]: false,\r\n [ExpandableSections.ExpediteAllRate]: false,\r\n },\r\n sideMenuCollapsedSections: [],\r\n};\r\n\r\nexport const setExpandedSection = (section: ExpandableSections, expanded: boolean) =>\r\n setExpandedSectionAction.action({ section: section, expanded: expanded });\r\nexport const toggleSideMenuSection = (section: string) => toggleSideMenuSectionAction.action(section);\r\n\r\nexport const applicationSettingsReducer = createMergedReducer(initialState, [\r\n setExpandedSectionAction.addCase((state, action) => {\r\n const { section, expanded } = action.data;\r\n state.expandedSections[section] = expanded;\r\n }),\r\n toggleSideMenuSectionAction.addCase((state, action) => {\r\n const section = action.data;\r\n const sectionList = state.sideMenuCollapsedSections;\r\n if (includes(sectionList, section)) {\r\n pull(sectionList, section);\r\n } else {\r\n sectionList.push(section);\r\n }\r\n state.sideMenuCollapsedSections = uniq(sectionList);\r\n }),\r\n {\r\n [SET_MENU_LAYOUT]: (state, action: SetMenuLayoutAction) => {\r\n state.uiMenuLayout = action.menuLayout;\r\n },\r\n [TOGGLE_MENU]: (state) => {\r\n state.menuOpen = !state.menuOpen;\r\n },\r\n [OPEN_MENU]: (state) => {\r\n state.menuOpen = true;\r\n },\r\n [CLOSE_MENU]: (state) => {\r\n state.menuOpen = false;\r\n },\r\n },\r\n]);\r\n\r\nexport const migrateAppSettings =\r\n (storage: WebStorage) =>\r\n async (state: any | undefined): Promise => {\r\n // Using 'any' because of issues with redux-persist typings\r\n // First migration run. Prevent double execute\r\n if (!state) {\r\n // Get old settings stored in key = menu\r\n const oldSettings = await storage.getItem('persist:menu');\r\n if (oldSettings) {\r\n const oldMenuSettings = JSON.parse(oldSettings);\r\n // Remove old auth key\r\n await storage.removeItem('persist:menu');\r\n return {\r\n menuLayout: JSON.parse(oldMenuSettings.menuLayout),\r\n menuOpen: JSON.parse(oldMenuSettings.menuOpen),\r\n };\r\n }\r\n }\r\n return state;\r\n };\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport {\r\n CapacitiesRequest,\r\n CapacitiesResponse,\r\n Capacity,\r\n CapacityFinderKeysSortBy,\r\n CapacityFinderSearchFilter,\r\n DEFAULT_SEARCH_FILTER_DRAFT,\r\n IKeysSortByCapacityFinder,\r\n} from '@/model/CapacityFinder';\r\nimport { Api, ApiError } from '@common/api';\r\nimport { EquipmentType, LocationSuggestion } from '@common/model';\r\nimport { createAction, createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\nimport { CapacityFinderClient } from '@webApi/CapacityFinderClient';\r\n\r\nexport interface CapacityFinderSearchForm {\r\n equipments?: EquipmentType[];\r\n origin?: LocationSuggestion;\r\n originText?: string;\r\n destination?: LocationSuggestion;\r\n destinationText?: string;\r\n}\r\n\r\nexport interface CapacityFinderState {\r\n searchForm: CapacityFinderSearchForm;\r\n searchFilterDraft: CapacityFinderSearchFilter;\r\n selectedSearchFilter: CapacityFinderSearchFilter;\r\n sortBy: IKeysSortByCapacityFinder;\r\n isLoading: boolean;\r\n isLoadingMore: boolean;\r\n capacitiesResponse?: CapacitiesResponse;\r\n selectedCapacity?: Capacity;\r\n lastSearchFormData?: CapacityFinderSearchForm;\r\n capacities: Capacity[];\r\n fetchingError?: ApiError | undefined;\r\n}\r\n\r\nconst fetchCapacitiesAction = createApiAction('FETCH_CAPACITIES');\r\nconst fetchMoreCapacitiesAction = createApiAction('FETCH_MORE_CAPACITIES');\r\nconst setSelectedCapacityAction = createAction('SET_SELECTED_CAPACITY');\r\nconst updateCapacityFinderSearchFormAction = createAction>(\r\n 'UPDATE_CAPACITY_FINDER_SEARCH_FORM'\r\n);\r\nconst updateCapacityFinderLastSearchFormAction = createAction>(\r\n 'UPDATE_CAPACITY_FINDER_LAST_SEARCH_FORM'\r\n);\r\nconst switchLocationsSearchFormAction = createAction('SWITCH_LOCATIONS_CAPACITY_FINDER_SEARCH_FORM');\r\nconst setSortByOptionAction = createAction('SET_CAPACITY_FINDER_SORT_BY_OPTION');\r\nconst updateSearchFilterDraftAction = createAction>(\r\n 'UPDATE_CAPACITY_FINDER_SEARCH_FILTER_DRAFT'\r\n);\r\nconst clearSearchFilterDraftAction = createAction('CLEAR_CAPACITY_FINDER_SEARCH_FILTER_DRAFT');\r\nconst setSelectedSearchFilterAction = createAction('SET_SELECTED_SEARCH_FILTER');\r\n\r\nexport const fetchCapacities = (capacitiesRequest: CapacitiesRequest) =>\r\n fetchCapacitiesAction.fetchAction(capacitiesRequest);\r\nexport const fetchMoreCapacities = (capacitiesRequest: CapacitiesRequest) =>\r\n fetchMoreCapacitiesAction.fetchAction(capacitiesRequest);\r\nexport const setSelectedCapacity = (capacity: Capacity | undefined) => setSelectedCapacityAction.action(capacity);\r\nexport const updateCapacityFinderSearchForm = (searchForm: Partial) =>\r\n updateCapacityFinderSearchFormAction.action(searchForm);\r\nexport const updateCapacityFinderLastSearchForm = (searchForm: Partial) =>\r\n updateCapacityFinderLastSearchFormAction.action(searchForm);\r\nexport const switchLocations = () => switchLocationsSearchFormAction.action(undefined);\r\nexport const setSortByOption = (sortOption: IKeysSortByCapacityFinder) => setSortByOptionAction.action(sortOption);\r\nexport const updateSearchFilterDraft = (filter: Partial) =>\r\n updateSearchFilterDraftAction.action(filter);\r\nexport const clearSearchFilterDraft = () => clearSearchFilterDraftAction.action(undefined);\r\nexport const setSelectedSearchFilter = (searchFilter: CapacityFinderSearchFilter) =>\r\n setSelectedSearchFilterAction.action(searchFilter);\r\n\r\nconst initialState: CapacityFinderState = {\r\n sortBy: CapacityFinderKeysSortBy[0],\r\n searchFilterDraft: DEFAULT_SEARCH_FILTER_DRAFT,\r\n selectedSearchFilter: DEFAULT_SEARCH_FILTER_DRAFT,\r\n searchForm: {},\r\n isLoading: false,\r\n isLoadingMore: false,\r\n capacities: [],\r\n};\r\n\r\nexport const capacityFinderReducer = createMergedReducer(initialState, [\r\n fetchCapacitiesAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.fetchingError = undefined;\r\n }),\r\n fetchCapacitiesAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n if (action.response.success) {\r\n state.capacitiesResponse = action.response.payload;\r\n state.capacities = action.response.payload.capacities;\r\n } else {\r\n state.fetchingError = action.response.error;\r\n }\r\n }),\r\n fetchMoreCapacitiesAction.initiateCase((state) => {\r\n state.isLoadingMore = true;\r\n state.fetchingError = undefined;\r\n }),\r\n fetchMoreCapacitiesAction.completeCase((state, action) => {\r\n state.isLoadingMore = false;\r\n if (action.response.success) {\r\n state.capacitiesResponse = action.response.payload;\r\n state.capacities = [...state.capacities, ...action.response.payload.capacities];\r\n } else {\r\n state.fetchingError = action.response.error;\r\n }\r\n }),\r\n setSelectedCapacityAction.addCase((state, action) => {\r\n state.selectedCapacity = action.data;\r\n }),\r\n updateCapacityFinderSearchFormAction.addCase((state, action) => {\r\n state.searchForm = { ...state.searchForm, ...action.data };\r\n }),\r\n updateCapacityFinderLastSearchFormAction.addCase((state, action) => {\r\n state.lastSearchFormData = { ...state.searchForm, ...action.data };\r\n }),\r\n switchLocationsSearchFormAction.addCase((state) => {\r\n const newOrigin = state.searchForm?.destination;\r\n const newDestination = state.searchForm?.origin;\r\n const newOriginText = state.searchForm?.destinationText;\r\n const newDestinationText = state.searchForm?.originText;\r\n state.searchForm = {\r\n ...state.searchForm,\r\n origin: newOrigin,\r\n originText: newOriginText,\r\n destination: newDestination,\r\n destinationText: newDestinationText,\r\n };\r\n }),\r\n setSortByOptionAction.addCase((state, action) => {\r\n state.sortBy = action.data;\r\n }),\r\n updateSearchFilterDraftAction.addCase((state, action) => {\r\n state.searchFilterDraft = { ...state.searchFilterDraft, ...action.data };\r\n }),\r\n clearSearchFilterDraftAction.addCase((state) => {\r\n state.searchFilterDraft = DEFAULT_SEARCH_FILTER_DRAFT;\r\n }),\r\n setSelectedSearchFilterAction.addCase((state, action) => {\r\n state.selectedSearchFilter = action.data;\r\n }),\r\n]);\r\n\r\nexport const createCapacityFinderEpic = (api: Api) => {\r\n const capacityFinderClient = new CapacityFinderClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchCapacitiesAction.createEpic$(action$, capacityFinderClient.fetchCapacities$),\r\n fetchMoreCapacitiesAction.createEpic$(action$, capacityFinderClient.fetchCapacities$)\r\n );\r\n};\r\n","import { concat, filter, find, map, some } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$, of as of$ } from 'rxjs';\r\nimport { mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { CarrierInfoClient } from '@/client/CarrierInfoClient';\r\nimport { CarrierMapInfo } from '@/model/Carrier';\r\nimport { Api, ApiError } from '@common/api';\r\nimport { CompanyClient } from '@common/client';\r\nimport {\r\n BrokerPaginationRequest,\r\n CARRIER_REQUEST_LIMIT_APPENDING,\r\n CARRIER_REQUEST_LIMIT_DEFAULT,\r\n CARRIER_REQUEST_OFFSET_INCREMENT,\r\n CarrierContactInfo,\r\n CarrierSearchRequest,\r\n CarrierSearchResponse,\r\n CompanyUserDataPayload,\r\n CompanyUserDataQuery,\r\n createDefaultCarriersRequest,\r\n UpdateCarrierRequest,\r\n UpdateCarriersRequest,\r\n} from '@common/model';\r\nimport {\r\n createAction,\r\n createApiAction,\r\n createApiActionWithFetchData,\r\n EmptyResponse,\r\n Response,\r\n ResultResponseAction,\r\n} from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport enum CarrierActionType {\r\n Favorite,\r\n Unfavorite,\r\n Block,\r\n Unblock,\r\n}\r\n\r\ntype CarriersRequest = BrokerPaginationRequest & CarrierSearchRequest;\r\n\r\ninterface PartialStateCarriers {\r\n carriers: CarrierState;\r\n}\r\n\r\nconst fetchCarriersAction = createApiActionWithFetchData('FETCH_CARRIERS');\r\nconst fetchFavoriteCarriersCountAction = createApiActionWithFetchData(\r\n 'FETCH_FAVORITE_CARRIERS_COUNT'\r\n);\r\nconst fetchBlockedCarriersCountAction = createApiActionWithFetchData(\r\n 'FETCH_BLOCKED_CARRIERS_COUNT'\r\n);\r\nconst fetchMoreCarriersAction = createApiAction('FETCH_MORE_CARRIERS');\r\nconst favoriteCarrierAction = createApiActionWithFetchData('FAVORITE_CARRIER');\r\nconst blockCarrierAction = createApiActionWithFetchData('BLOCK_CARRIER');\r\nexport const favoriteCarriersBulkAction = createApiActionWithFetchData(\r\n 'FAVORITE_CARRIERS'\r\n);\r\nexport const blockCarriersBulkAction = createApiActionWithFetchData(\r\n 'BLOCK_CARRIERS'\r\n);\r\nconst setFreeTextFilterAction = createAction('SET_FREE_TEXT_FILTER');\r\nconst clearCarrierUpdateAction = createAction('CLEAR_CARRIER_UPDATE');\r\n\r\nexport type CompanyUserDataResponse = Response;\r\n\r\nexport interface CarrierResponseAction extends Action {\r\n response: CompanyUserDataResponse;\r\n}\r\n\r\nexport const fetchCarriers = (carriersRequest: CarrierSearchRequest) =>\r\n fetchCarriersAction.fetchAction(carriersRequest);\r\nexport const fetchFavoriteCarriersCount = (carrierCountRquest: CarrierSearchRequest) =>\r\n fetchFavoriteCarriersCountAction.fetchAction(carrierCountRquest);\r\nexport const fetchBlockedCarriersCount = (carrierCountRquest: CarrierSearchRequest) =>\r\n fetchBlockedCarriersCountAction.fetchAction(carrierCountRquest);\r\nexport const fetchMoreCarriers = (carriersRequest: CarrierSearchRequest) =>\r\n fetchMoreCarriersAction.fetchAction(carriersRequest);\r\nexport const favoriteCarrier = (id: string) =>\r\n favoriteCarrierAction.fetchAction({ id: id, status: { isFavorite: true } });\r\nexport const removeFavoriteCarrier = (id: string) =>\r\n favoriteCarrierAction.fetchAction({ id: id, status: { isFavorite: false } });\r\nexport const favoriteCarriers = (contactIds: string[], isFavorite: boolean) =>\r\n favoriteCarriersBulkAction.fetchAction({ contactIds: contactIds, status: { isFavorite: isFavorite } });\r\nexport const blockCarrier = (id: string) =>\r\n blockCarrierAction.fetchAction({ id: id, status: { isBlocked: true, isFavorite: false } });\r\nexport const unblockCarrier = (id: string) => blockCarrierAction.fetchAction({ id: id, status: { isBlocked: false } });\r\nexport const blockCarriers = (contactIds: string[], isBlocked: boolean) =>\r\n blockCarriersBulkAction.fetchAction({ contactIds: contactIds, status: { isBlocked: isBlocked, isFavorite: false } });\r\nexport const setFreeTextFilter = (freeTextFilter: string) => setFreeTextFilterAction.action(freeTextFilter);\r\nexport const clearCarrierUpdate = () => clearCarrierUpdateAction.action(undefined);\r\n\r\nconst carrierMapHistoryApiAction = createApiActionWithFetchData('CONTACT_CARRIER_MAP_HISTORY');\r\nexport const fetchCarrierMapHistory = carrierMapHistoryApiAction.fetchAction;\r\nexport interface CarrierState {\r\n carriersRequest: CarriersRequest;\r\n isLastResult: boolean;\r\n isLoadingMore: boolean;\r\n isLoading: boolean;\r\n carriers: CarrierContactInfo[];\r\n carriersUpdate: {\r\n isLoading: boolean;\r\n updatedSuccessfully?: boolean;\r\n error?: ApiError | undefined;\r\n updateType?: CarrierActionType;\r\n };\r\n freeTextFilter: string;\r\n isLoadedFavoritesCount: boolean;\r\n isLoadedBlockedCount: boolean;\r\n favoriteCarriersCount: number;\r\n blockedCarriersCount: number;\r\n carrierMapInfo: CarrierMapInfo;\r\n}\r\n\r\nconst initialState: CarrierState = {\r\n carriersRequest: createDefaultCarriersRequest(),\r\n isLastResult: false,\r\n isLoadingMore: false,\r\n carriers: [],\r\n carriersUpdate: {\r\n isLoading: false,\r\n },\r\n isLoading: false,\r\n freeTextFilter: '',\r\n favoriteCarriersCount: 0,\r\n blockedCarriersCount: 0,\r\n isLoadedFavoritesCount: false,\r\n isLoadedBlockedCount: false,\r\n carrierMapInfo: { statesHistory: [] },\r\n};\r\n\r\nexport const carrierReducer = createMergedReducer(initialState, [\r\n fetchCarriersAction.initiateCase((state, action) => {\r\n state.isLoading = true;\r\n state.carriers = [];\r\n state.carriersRequest = { ...createDefaultCarriersRequest(), ...action.data };\r\n }),\r\n fetchCarriersAction.completeCase((state, action) => fetchedCarriersReducer(state, action, true)),\r\n fetchMoreCarriersAction.initiateCase((state) => {\r\n state.carriersRequest = {\r\n ...state.carriersRequest,\r\n limit: CARRIER_REQUEST_LIMIT_APPENDING,\r\n offset:\r\n state.carriersRequest.offset === 0\r\n ? CARRIER_REQUEST_LIMIT_DEFAULT\r\n : state.carriersRequest.offset + CARRIER_REQUEST_OFFSET_INCREMENT,\r\n };\r\n state.isLoadingMore = true;\r\n }),\r\n fetchMoreCarriersAction.completeCase((state, action) => fetchedCarriersReducer(state, action)),\r\n setFreeTextFilterAction.addCase((state, action) => {\r\n state.freeTextFilter = action.data;\r\n }),\r\n clearCarrierUpdateAction.addCase((state) => {\r\n state.carriersUpdate = {\r\n isLoading: false,\r\n };\r\n }),\r\n favoriteCarrierAction.initiateCase((state, action) => {\r\n state.carriersUpdate = {\r\n isLoading: true,\r\n updateType: action.data.status.isFavorite ? CarrierActionType.Favorite : CarrierActionType.Unfavorite,\r\n };\r\n }),\r\n favoriteCarrierAction.completeCase((state, action) => {\r\n state.carriersUpdate.isLoading = false;\r\n state.carriersUpdate.updatedSuccessfully = action.response.success;\r\n if (!action.response.success) {\r\n state.carriersUpdate.error = action.response.error;\r\n }\r\n if (action.fetchData?.id !== undefined && action.response.success) {\r\n updateCarriersList(state, [action.fetchData.id], !!state.carriersRequest.isFavorite);\r\n }\r\n }),\r\n favoriteCarriersBulkAction.initiateCase((state, action) => {\r\n state.carriersUpdate = {\r\n isLoading: true,\r\n updateType: action.data.status.isFavorite ? CarrierActionType.Favorite : CarrierActionType.Unfavorite,\r\n };\r\n }),\r\n favoriteCarriersBulkAction.completeCase((state, action) => {\r\n state.carriersUpdate.isLoading = false;\r\n state.carriersUpdate.updatedSuccessfully = action.response.success;\r\n if (!action.response.success) {\r\n state.carriersUpdate.error = action.response.error;\r\n }\r\n if (action.response.success) {\r\n updateCarriersList(state, action.fetchData?.contactIds ?? [], !!state.carriersRequest.isFavorite);\r\n }\r\n }),\r\n blockCarrierAction.initiateCase((state, action) => {\r\n state.carriersUpdate = {\r\n isLoading: true,\r\n updateType: action.data.status.isBlocked ? CarrierActionType.Block : CarrierActionType.Unblock,\r\n };\r\n }),\r\n blockCarrierAction.completeCase((state, action) => {\r\n state.carriersUpdate.isLoading = false;\r\n state.carriersUpdate.updatedSuccessfully = action.response.success;\r\n if (!action.response.success) {\r\n state.carriersUpdate.error = action.response.error;\r\n }\r\n if (action.fetchData?.id !== undefined && action.response.success) {\r\n updateCarriersList(state, [action.fetchData.id], !!state.carriersRequest.isBlocked);\r\n }\r\n }),\r\n blockCarriersBulkAction.initiateCase((state, action) => {\r\n state.carriersUpdate = {\r\n isLoading: true,\r\n updateType: action.data.status.isBlocked ? CarrierActionType.Block : CarrierActionType.Unblock,\r\n };\r\n }),\r\n blockCarriersBulkAction.completeCase((state, action) => {\r\n state.carriersUpdate.isLoading = false;\r\n state.carriersUpdate.updatedSuccessfully = action.response.success;\r\n if (!action.response.success) {\r\n state.carriersUpdate.error = action.response.error;\r\n }\r\n if (action.response.success) {\r\n updateCarriersList(state, action.fetchData?.contactIds ?? [], !!state.carriersRequest.isBlocked);\r\n }\r\n }),\r\n fetchFavoriteCarriersCountAction.initiateCase((state, action) => {\r\n state.isLoading = true;\r\n state.isLoadedFavoritesCount = false;\r\n state.carriersRequest = { ...createDefaultCarriersRequest(), ...action.data };\r\n }),\r\n fetchFavoriteCarriersCountAction.completeCase((state, action) => {\r\n state.isLoadedFavoritesCount = true;\r\n if (action.response.success) {\r\n state.favoriteCarriersCount = action.response.payload.totalCount;\r\n }\r\n }),\r\n fetchBlockedCarriersCountAction.initiateCase((state, action) => {\r\n state.isLoading = true;\r\n state.isLoadedBlockedCount = false;\r\n state.carriersRequest = { ...createDefaultCarriersRequest(), ...action.data };\r\n }),\r\n fetchBlockedCarriersCountAction.completeCase((state, action) => {\r\n state.isLoadedBlockedCount = true;\r\n if (action.response.success) {\r\n state.blockedCarriersCount = action.response.payload.totalCount;\r\n }\r\n }),\r\n carrierMapHistoryApiAction.initiateCase((state) => {\r\n state.carrierMapInfo.statesHistory = [];\r\n }),\r\n carrierMapHistoryApiAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.carrierMapInfo = action.response.payload;\r\n }\r\n }),\r\n]);\r\n\r\nconst updateCarriersCount$ = (action$: ActionsObservable) =>\r\n action$.ofType(favoriteCarrierAction.responseType, blockCarrierAction.responseType).pipe(\r\n mergeMap$(() => {\r\n return of$(fetchFavoriteCarriersCount({ isFavorite: true }), fetchBlockedCarriersCount({ isBlocked: true }));\r\n })\r\n );\r\n\r\n/**\r\n * removes carriers from list by their id\r\n */\r\nconst removeCarriers = (carriers: CarrierContactInfo[], updatedCarriersIds: string[]) =>\r\n filter(\r\n carriers,\r\n (carrier: CarrierContactInfo) =>\r\n !some(updatedCarriersIds, (updatedCarrierId: string) => updatedCarrierId === carrier.guid)\r\n );\r\n\r\n/**\r\n * updates carriers list data about Favorite / Onboard / Block status\r\n */\r\nconst updateCarriers = (\r\n carriers: CarrierContactInfo[],\r\n updatedCarriersIds: string[],\r\n updateCriteria: CarrierActionType | undefined\r\n) =>\r\n map(carriers, (carrier) => {\r\n const shouldUpdateCarrier =\r\n find(updatedCarriersIds, (updatedCarrierId) => updatedCarrierId === carrier.guid) !== undefined;\r\n return shouldUpdateCarrier ? updateCarrier(carrier, updateCriteria) : carrier;\r\n });\r\n\r\nconst updateCarrier = (carrier: CarrierContactInfo, updateCriteria: CarrierActionType | undefined) => {\r\n if (updateCriteria === undefined) {\r\n return carrier;\r\n }\r\n switch (updateCriteria) {\r\n case CarrierActionType.Favorite:\r\n return {\r\n ...carrier,\r\n isFavorite: true,\r\n };\r\n case CarrierActionType.Unfavorite:\r\n return {\r\n ...carrier,\r\n isFavorite: false,\r\n };\r\n case CarrierActionType.Block:\r\n return {\r\n ...carrier,\r\n isBlocked: true,\r\n };\r\n default:\r\n return {\r\n ...carrier,\r\n isBlocked: false,\r\n };\r\n }\r\n};\r\n\r\nconst updateCarriersList = (state: CarrierState, updatedCarriersIds: string[], shouldRemoveCarriers: boolean) => {\r\n if (shouldRemoveCarriers) {\r\n state.carriers = removeCarriers(state.carriers, updatedCarriersIds);\r\n } else {\r\n state.carriers = updateCarriers(state.carriers, updatedCarriersIds, state.carriersUpdate.updateType);\r\n }\r\n};\r\n\r\nconst fetchedCarriersReducer = (\r\n state: CarrierState,\r\n action: ResultResponseAction,\r\n isInitial: boolean = false\r\n) => {\r\n if (action.response.success) {\r\n const newCarriers = action.response.payload.carriers;\r\n state.carriers = isInitial ? newCarriers : concat(state.carriers, newCarriers);\r\n state.isLastResult = newCarriers.length < state.carriersRequest.limit;\r\n }\r\n state.isLoading = false;\r\n state.isLoadingMore = false;\r\n};\r\n\r\nexport const createCarrierEpic = (api: Api) => {\r\n const companyClient = new CompanyClient(api);\r\n const carrierInfoClient = new CarrierInfoClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n fetchCarriersAction.createEpic$(action$, (data) =>\r\n companyClient.searchCarriers$(data, state$.value.carriers.carriersRequest)\r\n ),\r\n fetchMoreCarriersAction.createEpic$(action$, (data) =>\r\n companyClient.searchCarriers$(data, state$.value.carriers.carriersRequest)\r\n ),\r\n favoriteCarrierAction.createEpic$(action$, (data) => companyClient.updateCarrier$(data.id, data.status)),\r\n favoriteCarriersBulkAction.createEpic$(action$, (data) =>\r\n companyClient.updateCarriers$(data.contactIds, data.status)\r\n ),\r\n blockCarrierAction.createEpic$(action$, (data) => companyClient.updateCarrier$(data.id, data.status)),\r\n blockCarriersBulkAction.createEpic$(action$, (data) =>\r\n companyClient.updateCarriers$(data.contactIds, data.status)\r\n ),\r\n fetchFavoriteCarriersCountAction.createEpic$(action$, (data) =>\r\n companyClient.searchCarriers$(data, state$.value.carriers.carriersRequest)\r\n ),\r\n fetchBlockedCarriersCountAction.createEpic$(action$, (data) =>\r\n companyClient.searchCarriers$(data, state$.value.carriers.carriersRequest)\r\n ),\r\n carrierMapHistoryApiAction.createEpic$(action$, (carrierID) => carrierInfoClient.fetchCarrierMapInfo$(carrierID)),\r\n\r\n updateCarriersCount$(action$)\r\n );\r\n};\r\n","import { createAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface ConnectionErrorState {\r\n isConnectionError: boolean;\r\n\r\n /** will be set to true instead of redirecting to login page\r\n * after determining it cannot login including failure attempting\r\n * to refresh the token.\r\n *\r\n * true = login either did not occur or was successful.\r\n * false= login failed (invalid refresh token)\r\n */\r\n loginFailed: boolean;\r\n}\r\n\r\nconst initialConnectionErrorState: ConnectionErrorState = {\r\n isConnectionError: false,\r\n loginFailed: false,\r\n};\r\n\r\nconst setConnectionErrorAction = createAction('SET_CONNECTION_ERROR');\r\nconst setLoginFailedAction = createAction('SET_LOGIN_FAILED');\r\n\r\nexport const setConnectionError = (isConnectionError: boolean) => setConnectionErrorAction.action(isConnectionError);\r\n\r\nexport const setLoginFailed = (loginFailedStatus: boolean) => setLoginFailedAction.action(loginFailedStatus);\r\n\r\nexport const connectionErrorReducer = createMergedReducer(initialConnectionErrorState, [\r\n setConnectionErrorAction.addCase((state, action) => {\r\n state.isConnectionError = action.data;\r\n }),\r\n setLoginFailedAction.addCase((state, action) => {\r\n state.loginFailed = action.data;\r\n }),\r\n]);\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { FeedClient } from '@/client';\r\nimport { Api } from '@common/api';\r\nimport { createAction, createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport enum FeedSection {\r\n Feed,\r\n Videos,\r\n}\r\n\r\nconst fetchFeedAction = createApiAction('FETCH_FEED');\r\nconst fetchDashboardFeedAction = createApiAction('FETCH_DASHBOARD_FEED');\r\nconst fetchVideoListAction = createApiAction('FETCH_VIDEO_LIST');\r\nconst fetchMappingFileAction = createApiAction('FETCH_MAPPING_FILE');\r\nconst fetchPromoAction = createApiAction('FETCH_PROMO');\r\nconst appendFeedLinksAction = createAction('APPEND_FEED_LINKS');\r\nconst appendDashboardFeedLinksAction = createAction('APPEND_DASHBOARD_FEED_LINKS');\r\nconst appendVideoLinksAction = createAction('APPEND_VIDEO_LINKS');\r\nconst appendPromoLinksAction = createAction('APPEND_PROMO_LINKS');\r\nconst clearFeedAction = createAction('CLEAR_FEED');\r\nconst clearDashboardFeedAction = createAction('CLEAR_DASHBOARD_FEED');\r\nconst clearVideosAction = createAction('CLEAR_VIDEOS');\r\nconst clearPromoAction = createAction('CLEAR_PROMO');\r\nconst setSelectedFeedSectionAction = createAction('SET_SELECTED_FEED_SECTION');\r\n\r\nexport const fetchFeed = (isBroker: boolean) => fetchFeedAction.fetchAction(isBroker);\r\nexport const fetchDashboardFeed = (isBroker: boolean) => fetchDashboardFeedAction.fetchAction(isBroker);\r\nexport const fetchVideoList = (videoName: string) => fetchVideoListAction.fetchAction(videoName);\r\nexport const fetchPromo = (promoFileName: string) => fetchPromoAction.fetchAction(promoFileName);\r\nexport const fetchMappingFile = () => fetchMappingFileAction.fetchAction(undefined);\r\nexport const clearFeed = () => clearFeedAction.action(undefined);\r\nexport const clearDashboardFeed = () => clearDashboardFeedAction.action(undefined);\r\nexport const clearVideos = () => clearVideosAction.action(undefined);\r\nexport const clearPromo = () => clearPromoAction.action(undefined);\r\nexport const appendFeedLinks = () => appendFeedLinksAction.action(undefined);\r\nexport const appendDashboardFeedLinks = () => appendDashboardFeedLinksAction.action(undefined);\r\nexport const appendVideoLinks = () => appendVideoLinksAction.action(undefined);\r\nexport const appendPromoLinks = () => appendPromoLinksAction.action(undefined);\r\nexport const setSelectedFeedSection = (feedSection: FeedSection | undefined) =>\r\n setSelectedFeedSectionAction.action(feedSection);\r\n\r\nexport interface FeedState {\r\n feed: Document | undefined;\r\n dashboardFeed: Document | undefined;\r\n video: Document | undefined;\r\n promo: Document | undefined;\r\n shouldAppendFeedLinks: boolean;\r\n shouldAppendDashboardFeedLinks: boolean;\r\n shouldAppendVideoLinks: boolean;\r\n shouldAppendPromoLinks: boolean;\r\n selectedFeedSection: FeedSection | undefined;\r\n mappingFile: string | undefined;\r\n isMappingFileFetched: boolean;\r\n}\r\n\r\nconst initialState: FeedState = {\r\n feed: undefined,\r\n dashboardFeed: undefined,\r\n video: undefined,\r\n promo: undefined,\r\n shouldAppendFeedLinks: true,\r\n shouldAppendDashboardFeedLinks: true,\r\n shouldAppendVideoLinks: true,\r\n shouldAppendPromoLinks: true,\r\n selectedFeedSection: undefined,\r\n mappingFile: undefined,\r\n isMappingFileFetched: false,\r\n};\r\n\r\nexport const feedReducer = createMergedReducer(initialState, [\r\n clearFeedAction.addCase((state) => {\r\n state.feed = undefined;\r\n }),\r\n clearDashboardFeedAction.addCase((state) => {\r\n state.dashboardFeed = undefined;\r\n }),\r\n clearVideosAction.addCase((state) => {\r\n state.video = undefined;\r\n }),\r\n clearPromoAction.addCase((state) => {\r\n state.promo = undefined;\r\n }),\r\n appendFeedLinksAction.addCase((state) => {\r\n state.shouldAppendFeedLinks = false;\r\n }),\r\n appendDashboardFeedLinksAction.addCase((state) => {\r\n state.shouldAppendDashboardFeedLinks = false;\r\n }),\r\n appendVideoLinksAction.addCase((state) => {\r\n state.shouldAppendVideoLinks = false;\r\n }),\r\n appendPromoLinksAction.addCase((state) => {\r\n state.shouldAppendPromoLinks = false;\r\n }),\r\n setSelectedFeedSectionAction.addCase((state, action) => {\r\n state.selectedFeedSection = action.data;\r\n }),\r\n fetchFeedAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const parsed: Document = new window.DOMParser().parseFromString(action.response.payload, 'text/html');\r\n const parsingError = parsed.getElementsByTagName('parsererror')[0];\r\n if (parsingError !== undefined) {\r\n //left console to warn that we have parsing error here\r\n console.log('Parsing error occurred', parsingError);\r\n state.feed = undefined;\r\n } else {\r\n //casting to workaround a limitation of Immer's Draft dealing with recursive types as in \"Document\"\r\n (state as FeedState).feed = parsed;\r\n }\r\n } else {\r\n state.feed = undefined;\r\n }\r\n }),\r\n fetchDashboardFeedAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const parsed: Document = new window.DOMParser().parseFromString(action.response.payload, 'text/html');\r\n const parsingError = parsed.getElementsByTagName('parsererror')[0];\r\n if (parsingError !== undefined) {\r\n //left console to warn that we have parsing error here\r\n console.log('Parsing error occurred', parsingError);\r\n state.dashboardFeed = undefined;\r\n } else {\r\n //casting to workaround a limitation of Immer's Draft dealing with recursive types as in \"Document\"\r\n (state as FeedState).dashboardFeed = parsed;\r\n }\r\n } else {\r\n state.dashboardFeed = undefined;\r\n }\r\n }),\r\n fetchVideoListAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const parsed = new window.DOMParser().parseFromString(action.response.payload, 'text/html');\r\n const parsingError = parsed.getElementsByTagName('parsererror')[0];\r\n if (parsingError !== undefined) {\r\n //left console to warn that we have parsing error here\r\n console.log('Parsing error occurred', parsingError);\r\n state.video = undefined;\r\n } else {\r\n //casting to workaround a limitation of Immer's Draft dealing with recursive types as in \"Document\"\r\n (state as FeedState).video = parsed;\r\n }\r\n } else {\r\n state.video = undefined;\r\n }\r\n }),\r\n fetchPromoAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const parsed = new window.DOMParser().parseFromString(action.response.payload, 'text/html');\r\n const parsingError = parsed.getElementsByTagName('parsererror')[0];\r\n if (parsingError !== undefined) {\r\n //left console to warn that we have parsing error here\r\n console.log('Parsing error occurred', parsingError);\r\n state.promo = undefined;\r\n } else {\r\n //casting to workaround a limitation of Immer's Draft dealing with recursive types as in \"Document\"\r\n (state as FeedState).promo = parsed;\r\n }\r\n state.shouldAppendPromoLinks = true;\r\n } else {\r\n state.promo = undefined;\r\n }\r\n }),\r\n fetchMappingFileAction.initiateCase((state) => {\r\n state.isMappingFileFetched = false;\r\n }),\r\n fetchMappingFileAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.mappingFile = action.response.payload;\r\n }\r\n state.isMappingFileFetched = true;\r\n }),\r\n]);\r\n\r\nexport const createFeedEpic = (api: Api) => {\r\n const feedClient = new FeedClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchFeedAction.createEpic$(action$, (isBroker) => feedClient.getFeed$(isBroker)),\r\n fetchDashboardFeedAction.createEpic$(action$, (isBroker) => feedClient.getDashboardFeed$(isBroker)),\r\n fetchVideoListAction.createEpic$(action$, (videoFileName) => feedClient.getVideoList$(videoFileName)),\r\n fetchPromoAction.createEpic$(action$, (promoFileName) => feedClient.getPromo$(promoFileName)),\r\n fetchMappingFileAction.createEpic$(action$, () => feedClient.getMappingFile$())\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { InboxClient } from '@common/client/InboxClient';\r\nimport { InboxMessage } from '@common/model/Inbox';\r\nimport { createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface InboxMessageWithSource extends InboxMessage {\r\n parsedContent: Document | undefined;\r\n}\r\n\r\nexport interface InboxMessageContentState {\r\n currentMessageParsedContent?: InboxMessageWithSource;\r\n isLoading: boolean;\r\n}\r\n\r\nconst initialState: InboxMessageContentState = {\r\n isLoading: false,\r\n};\r\n\r\nconst fetchParsedInboxMessageAction = createApiAction<{ messageId: string }, InboxMessage>(\r\n 'FETCH_PARSED_INBOX_MESSAGE'\r\n);\r\n\r\nexport const fetchParsedInboxMessage = (messageId: string) =>\r\n fetchParsedInboxMessageAction.fetchAction({ messageId: messageId });\r\n\r\nexport const inboxMessageContentReducer = createMergedReducer(initialState, [\r\n fetchParsedInboxMessageAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n }),\r\n fetchParsedInboxMessageAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n if (action.response.success) {\r\n //casting to workaround a limitation of Immer's Draft dealing with recursive types as in \"Document\"\r\n (state as InboxMessageContentState).currentMessageParsedContent = action.response\r\n .payload as InboxMessageWithSource;\r\n const innerContent: Document = new window.DOMParser().parseFromString(\r\n action.response.payload.content,\r\n 'text/html'\r\n );\r\n const parsingError = innerContent.getElementsByTagName('parsererror')[0];\r\n if (parsingError !== undefined) {\r\n //left console to warn that we have parsing error here\r\n console.log('Parsing error occurred', parsingError);\r\n } else {\r\n //casting to workaround a limitation of Immer's Draft dealing with recursive types as in \"Document\"\r\n (state.currentMessageParsedContent as InboxMessageWithSource).parsedContent = innerContent;\r\n }\r\n }\r\n }),\r\n]);\r\n\r\nexport const createInboxMessageContentEpic = (api: Api) => {\r\n const client = new InboxClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(fetchParsedInboxMessageAction.createEpic$(action$, (data) => client.fetchMessage$(data.messageId)));\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport {\r\n BrokerLoadMetricsHistoryResponse,\r\n BrokerLoadMetricsResponse,\r\n CarrierLoadMetricsHistoryResponse,\r\n CarrierLoadMetricsResponse,\r\n LoadMetricsHistoryRequest,\r\n} from '@/model';\r\nimport { Api } from '@common/api';\r\nimport { createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\nimport { LoadMetricsClient } from '@webApi/LoadMetricsClient';\r\n\r\nexport interface LoadMetricsState {\r\n carrierBusiestDayResponse?: CarrierLoadMetricsResponse;\r\n brokerBusiestDayResponse?: BrokerLoadMetricsResponse;\r\n brokerMonthlyLoadsResponse?: BrokerLoadMetricsHistoryResponse;\r\n carrierMonthlyLoadsResponse?: CarrierLoadMetricsHistoryResponse;\r\n isLoadingMonthlyLoads: boolean;\r\n isLoadingBusiestDays: boolean;\r\n}\r\n\r\nconst fetchBrokerBusiestDaysAction = createApiAction('FETCH_BROKER_BUSIEST_DAYS');\r\nconst fetchCarrierBusiestDaysAction = createApiAction('FETCH_CARRIER_BUSIEST_DAYS');\r\n\r\nconst fetchBrokerMetricsHistoryAction = createApiAction(\r\n 'FETCH_BROKER_METRICS_HISTORY'\r\n);\r\nconst fetchCarrierMetricsHistoryAction = createApiAction(\r\n 'FETCH_CARRIER_METRICS_HISTORY'\r\n);\r\n\r\nexport const fetchBrokerBusiestDays = (fields: string = 'all') => fetchBrokerBusiestDaysAction.fetchAction(fields);\r\nexport const fetchCarrierBusiestDays = (fields: string = 'all') => fetchCarrierBusiestDaysAction.fetchAction(fields);\r\nexport const fetchBrokerMetricsHistory = (metricsHistoryRequest: LoadMetricsHistoryRequest) =>\r\n fetchBrokerMetricsHistoryAction.fetchAction(metricsHistoryRequest);\r\nexport const fetchCarrierMetricsHistory = (metricsHistoryRequest: LoadMetricsHistoryRequest) =>\r\n fetchCarrierMetricsHistoryAction.fetchAction(metricsHistoryRequest);\r\n\r\nconst initialState: LoadMetricsState = {\r\n brokerBusiestDayResponse: undefined,\r\n carrierBusiestDayResponse: undefined,\r\n brokerMonthlyLoadsResponse: undefined,\r\n isLoadingMonthlyLoads: false,\r\n isLoadingBusiestDays: false,\r\n};\r\n\r\nexport const loadMetricsReducer = createMergedReducer(initialState, [\r\n fetchBrokerBusiestDaysAction.initiateCase((state) => {\r\n state.brokerBusiestDayResponse = undefined;\r\n state.isLoadingBusiestDays = true;\r\n }),\r\n fetchBrokerBusiestDaysAction.completeCase((state, action) => {\r\n if (action.response.success && action.response.payload) {\r\n state.brokerBusiestDayResponse = action.response.payload;\r\n }\r\n state.isLoadingBusiestDays = false;\r\n }),\r\n fetchCarrierBusiestDaysAction.initiateCase((state) => {\r\n state.carrierBusiestDayResponse = undefined;\r\n state.isLoadingBusiestDays = true;\r\n }),\r\n fetchCarrierBusiestDaysAction.completeCase((state, action) => {\r\n if (action.response.success && action.response.payload) {\r\n state.carrierBusiestDayResponse = action.response.payload;\r\n }\r\n state.isLoadingBusiestDays = false;\r\n }),\r\n\r\n fetchBrokerMetricsHistoryAction.initiateCase((state) => {\r\n state.isLoadingMonthlyLoads = true;\r\n state.brokerMonthlyLoadsResponse = undefined;\r\n }),\r\n fetchBrokerMetricsHistoryAction.completeCase((state, action) => {\r\n if (action.response.success && action.response.payload) {\r\n state.brokerMonthlyLoadsResponse = action.response.payload;\r\n }\r\n state.isLoadingMonthlyLoads = false;\r\n }),\r\n fetchCarrierMetricsHistoryAction.initiateCase((state) => {\r\n state.isLoadingMonthlyLoads = true;\r\n state.carrierMonthlyLoadsResponse = undefined;\r\n }),\r\n fetchCarrierMetricsHistoryAction.completeCase((state, action) => {\r\n if (action.response.success && action.response.payload) {\r\n state.carrierMonthlyLoadsResponse = action.response.payload;\r\n }\r\n state.isLoadingMonthlyLoads = false;\r\n }),\r\n]);\r\n\r\nexport const createLoadMetricEpic = (api: Api) => {\r\n const metricsClient = new LoadMetricsClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchBrokerBusiestDaysAction.createEpic$(action$, (data) => metricsClient.fetchBrokerBusiestDays$(data)),\r\n fetchCarrierBusiestDaysAction.createEpic$(action$, (data) => metricsClient.fetchCarrierBusiestDays$(data)),\r\n fetchBrokerMetricsHistoryAction.createEpic$(action$, (data) =>\r\n metricsClient.fetchBrokerLoadMetricsHistory$(data)\r\n ),\r\n fetchCarrierMetricsHistoryAction.createEpic$(action$, (data) =>\r\n metricsClient.fetchCarrierLoadMetricsHistory$(data)\r\n )\r\n );\r\n};\r\n","import { cloneDeep, findIndex, map, remove } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { LoadVisibilityRulesClient } from '@/client';\r\nimport { LoadVisibilityRuleset, LoadVisibilityRulesetResponse } from '@/model/LoadVisibilityRules';\r\nimport { Api } from '@common/api';\r\nimport { createAction, createApiAction, createApiActionWithFetchData, EmptyResponse } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nimport { convertRulesetFromServer } from './LoadVisibilityRulesHelper';\r\n\r\nexport interface LoadVisibilityRulesState {\r\n rulesets: LoadVisibilityRuleset[];\r\n ruleset: LoadVisibilityRuleset;\r\n isLoading: boolean;\r\n wasRulesetCreated?: boolean;\r\n wasRulesetUpdated?: boolean;\r\n wasRulesetDeleted?: boolean;\r\n didFetchFail?: boolean;\r\n}\r\n\r\nconst initialState: LoadVisibilityRulesState = {\r\n isLoading: false,\r\n rulesets: [],\r\n ruleset: { id: '', rules: [] },\r\n};\r\n\r\nconst clearSelectedRulesetAction = createAction('CLEAR_SELECTED_RULE_SET');\r\nconst fetchAllRulesetsAction = createApiAction(\r\n 'FETCH_ALL_POSTING_RULE_SETS'\r\n);\r\nconst fetchRulesetAction = createApiAction('FETCH_POSTING_RULE_SET');\r\nconst createRulesetAction = createApiAction(\r\n 'CREATE_POSTING_RULE_SET'\r\n);\r\nconst deleteRulesetAction = createApiActionWithFetchData('DELETE_POSTING_RULE_SET');\r\nconst updateRulesetAction = createApiActionWithFetchData(\r\n 'UPDATE_POSTING_RULE_SET'\r\n);\r\n\r\nexport const fetchAllRulesets = () => fetchAllRulesetsAction.fetchAction(undefined);\r\nexport const fetchRuleset = (id: string) => fetchRulesetAction.fetchAction(id);\r\nexport const createRuleset = (request: LoadVisibilityRuleset) => createRulesetAction.fetchAction(request);\r\nexport const deleteRuleset = (id: string) => deleteRulesetAction.fetchAction(id);\r\nexport const updateRuleset = (request: LoadVisibilityRuleset) => updateRulesetAction.fetchAction(request);\r\nexport const clearSelectedRuleset = () => clearSelectedRulesetAction.action(undefined);\r\n\r\nexport const loadVisibilityRulesReducer = createMergedReducer(initialState, [\r\n clearSelectedRulesetAction.addCase((state) => {\r\n state.ruleset = { id: '', rules: [] };\r\n }),\r\n\r\n createRulesetAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.wasRulesetCreated = undefined;\r\n }),\r\n createRulesetAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n state.wasRulesetCreated = action.response.success;\r\n if (action.response.success) {\r\n state.rulesets.push(convertRulesetFromServer(action.response.payload));\r\n }\r\n }),\r\n\r\n fetchAllRulesetsAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.didFetchFail = undefined;\r\n }),\r\n fetchAllRulesetsAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n if (action.response.success) {\r\n state.rulesets = map(action.response.payload.rulesets, convertRulesetFromServer);\r\n } else {\r\n state.didFetchFail = true;\r\n }\r\n }),\r\n\r\n fetchRulesetAction.initiateCase((state) => {\r\n state.ruleset.isLoading = true;\r\n }),\r\n fetchRulesetAction.completeCase((state, action) => {\r\n state.ruleset.isLoading = false;\r\n if (action.response.success) {\r\n state.ruleset = convertRulesetFromServer(action.response.payload);\r\n }\r\n }),\r\n\r\n updateRulesetAction.initiateCase((state) => {\r\n state.ruleset.isLoading = true;\r\n state.wasRulesetUpdated = undefined;\r\n }),\r\n updateRulesetAction.completeCase((state, action) => {\r\n state.ruleset.isLoading = false;\r\n state.wasRulesetUpdated = action.response.success;\r\n\r\n if (action.fetchData && action.response.success) {\r\n const newRuleset = convertRulesetFromServer(action.response.payload);\r\n const newRulesetList = cloneDeep(state.rulesets);\r\n const index = findIndex(state.rulesets, (ruleSet) => ruleSet.id === action.fetchData?.id);\r\n if (index !== -1) {\r\n newRulesetList[index] = newRuleset;\r\n }\r\n\r\n if (action.fetchData.isDefault !== state.ruleset.isDefault) {\r\n const prevDefaultRulesetIndex = state.rulesets.findIndex((ruleset) => ruleset.isDefault);\r\n if (prevDefaultRulesetIndex > -1) {\r\n newRulesetList[prevDefaultRulesetIndex].isDefault = false;\r\n }\r\n }\r\n\r\n state.rulesets = newRulesetList;\r\n state.ruleset = newRuleset;\r\n }\r\n }),\r\n\r\n deleteRulesetAction.initiateCase((state) => {\r\n state.ruleset.isLoading = true;\r\n state.wasRulesetDeleted = undefined;\r\n }),\r\n deleteRulesetAction.completeCase((state, action) => {\r\n state.ruleset.isLoading = false;\r\n state.wasRulesetDeleted = action.response.success;\r\n\r\n if (action.fetchData && action.response.success) {\r\n remove(state.rulesets, (ruleSet) => ruleSet.id.toString() === action.fetchData);\r\n state.ruleset = initialState.ruleset;\r\n }\r\n }),\r\n]);\r\n\r\nexport const createLoadVisibilityRulesEpic = (api: Api) => {\r\n const client = new LoadVisibilityRulesClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n createRulesetAction.createEpic$(action$, client.createRuleset$),\r\n fetchAllRulesetsAction.createEpic$(action$, client.getAllRulesets$),\r\n fetchRulesetAction.createEpic$(action$, client.getRuleset$),\r\n updateRulesetAction.createEpic$(action$, client.modifyRuleset$),\r\n deleteRulesetAction.createEpic$(action$, client.deleteRuleset$)\r\n );\r\n};\r\n","import { map } from 'lodash';\r\n\r\nimport {\r\n BaseRule,\r\n LoadVisibilityRuleset,\r\n LoadVisibilityRulesetRequest,\r\n LoadVisibilityRulesetResponse,\r\n RuleUI,\r\n} from '@/model';\r\nimport { convertTimeStampToDaysHoursMins, convertUtcToLocalTimestamp } from '@common/helper';\r\nimport {\r\n MinimumAuthorityAgeUI,\r\n PostLoadVisibilityRule,\r\n PostLoadVisibilityRulesList,\r\n PostLoadVisibilityRulesListUI,\r\n PostLoadVisibilityRuleUI,\r\n StartDelayUI,\r\n} from '@common/model';\r\n\r\nexport const convertRulesetFromServer = (ruleset: LoadVisibilityRulesetResponse): LoadVisibilityRuleset => {\r\n return { ...ruleset, rules: map(ruleset.rules, convertRuleFromServer) };\r\n};\r\n\r\nconst convertRuleFromServer = (rule: BaseRule): RuleUI => {\r\n const startDelayUI = convertStartDelayForUI(rule.startDelay);\r\n const minimumAuthorityAgeUI = convertAuthorityAgeForUI(rule.minimumAuthorityAge);\r\n\r\n return {\r\n preferredCarriersOnly: rule.preferredCarriersOnly,\r\n minimumPrimaryInsurance: rule.minimumPrimaryInsurance,\r\n startDelayUI: startDelayUI,\r\n minimumAuthorityAgeUI: minimumAuthorityAgeUI,\r\n };\r\n};\r\n\r\nexport const convertRulesetForRequest = (updatedRuleset: LoadVisibilityRuleset): LoadVisibilityRulesetRequest => {\r\n return { ...updatedRuleset, rules: map(updatedRuleset.rules, convertRuleForRequest) };\r\n};\r\n\r\nconst convertRuleForRequest = (ruleFromUI: RuleUI, index: number): BaseRule => {\r\n const minimumAuthorityAge = convertAgeToMonths(\r\n ruleFromUI.minimumAuthorityAgeUI?.years,\r\n ruleFromUI.minimumAuthorityAgeUI?.months\r\n );\r\n\r\n const minimumPrimaryInsurance =\r\n ruleFromUI.minimumPrimaryInsurance === 0 ? undefined : ruleFromUI.minimumPrimaryInsurance;\r\n\r\n let startDelay = convertStartDelayToMins(\r\n ruleFromUI.startDelayUI?.days,\r\n ruleFromUI.startDelayUI?.hours,\r\n ruleFromUI.startDelayUI?.mins\r\n );\r\n\r\n if (index === 0) {\r\n // first rule in the set should always start at the posting time\r\n startDelay = 0;\r\n } else if (startDelay === 0) {\r\n // set startDelay to 5 (mins) if it is set to 0 for all the rules except for the first one\r\n startDelay = 5;\r\n }\r\n\r\n return {\r\n preferredCarriersOnly: ruleFromUI.preferredCarriersOnly,\r\n startDelay: startDelay,\r\n minimumAuthorityAge: minimumAuthorityAge,\r\n minimumPrimaryInsurance: minimumPrimaryInsurance,\r\n };\r\n};\r\n\r\nexport const convertPostLoadVisibilityRulesetFromServer = (\r\n ruleset: PostLoadVisibilityRulesList\r\n): PostLoadVisibilityRulesListUI => {\r\n return { rules: map(ruleset.rules, convertPostLoadVisibilityRuleFromServer) };\r\n};\r\n\r\nconst convertPostLoadVisibilityRuleFromServer = (rule: PostLoadVisibilityRule): PostLoadVisibilityRuleUI => {\r\n const startDelayUI = rule.startDelay ? convertStartDelayForUI(rule.startDelay) : undefined;\r\n const minimumAuthorityAgeUI = convertAuthorityAgeForUI(rule.minimumAuthorityAge);\r\n\r\n return {\r\n startTime: rule.startTime ? convertUtcToLocalTimestamp(rule.startTime) : undefined,\r\n preferredCarriersOnly: rule.preferredCarriersOnly,\r\n minimumPrimaryInsurance: rule.minimumPrimaryInsurance,\r\n startDelayUI: rule.startTime ? convertTimeStampToDaysHoursMins(rule.startTime) : startDelayUI,\r\n minimumAuthorityAgeUI: minimumAuthorityAgeUI,\r\n };\r\n};\r\n\r\nexport const convertPostLoadVisibilityRulesetForRequest = (\r\n updatedRuleset: PostLoadVisibilityRulesListUI\r\n): PostLoadVisibilityRulesList => {\r\n return { rules: map(updatedRuleset.rules, convertPostLoadVisibilityRuleForRequest) };\r\n};\r\n\r\nconst convertPostLoadVisibilityRuleForRequest = (ruleFromUI: PostLoadVisibilityRuleUI): PostLoadVisibilityRule => {\r\n const minimumAuthorityAge = convertAgeToMonths(\r\n ruleFromUI.minimumAuthorityAgeUI?.years,\r\n ruleFromUI.minimumAuthorityAgeUI?.months\r\n );\r\n\r\n const minimumPrimaryInsurance =\r\n ruleFromUI.minimumPrimaryInsurance === 0 ? undefined : ruleFromUI.minimumPrimaryInsurance;\r\n\r\n const startDelay = convertStartDelayToMins(\r\n ruleFromUI.startDelayUI?.days,\r\n ruleFromUI.startDelayUI?.hours,\r\n ruleFromUI.startDelayUI?.mins\r\n );\r\n\r\n return {\r\n preferredCarriersOnly: ruleFromUI.preferredCarriersOnly,\r\n startTime: ruleFromUI.startTime,\r\n startDelay: ruleFromUI.startTime ? undefined : startDelay,\r\n minimumAuthorityAge: minimumAuthorityAge,\r\n minimumPrimaryInsurance: minimumPrimaryInsurance,\r\n };\r\n};\r\n\r\nconst convertAgeToMonths = (years: number = 0, months: number = 0) =>\r\n !years && !months ? undefined : years * 12 + months;\r\n\r\nconst convertStartDelayToMins = (days: number = 0, hours: number = 0, mins: number = 0) =>\r\n days * 24 * 60 + hours * 60 + mins;\r\n\r\nconst convertAuthorityAgeForUI = (minimumAuthorityAge: number = 0): MinimumAuthorityAgeUI | undefined => {\r\n return minimumAuthorityAge\r\n ? {\r\n years: Math.floor(minimumAuthorityAge / 12),\r\n months: minimumAuthorityAge % 12,\r\n }\r\n : undefined;\r\n};\r\n\r\nconst convertStartDelayForUI = (startDelayInMins: number): StartDelayUI => {\r\n return {\r\n days: Math.floor(startDelayInMins / 1440),\r\n hours: Math.floor((startDelayInMins % 1440) / 60),\r\n mins: startDelayInMins % 60,\r\n };\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api } from '@common/api';\r\nimport { GeocodingClient } from '@common/client/GeocodingClient';\r\nimport { loadGeolocationFrom } from '@common/helper/LoadHelper';\r\nimport { Geolocation, LoadGeolocation } from '@common/model';\r\nimport { Response } from '@common/redux/Base';\r\n\r\nconst FETCH_GEOLOCATION = 'FETCH_GEOLOCATION';\r\nconst FETCH_GEOLOCATION_FULFILLED = 'FETCH_GEOLOCATION_FULFILLED';\r\n//@TODO invalid interface LoadGeolocation is used, should be changed to ReverseGeolocationResult\r\nexport type ReverseGeolocationResponse = Response;\r\n\r\ninterface ReverseGeolocationAction extends Action {\r\n geolocation: Geolocation;\r\n}\r\n\r\ninterface GeolocationReversedAction extends Action {\r\n response: ReverseGeolocationResponse;\r\n}\r\n\r\nexport const fetchLocation = (geolocation: Geolocation): ReverseGeolocationAction => {\r\n return {\r\n type: FETCH_GEOLOCATION,\r\n geolocation: geolocation,\r\n };\r\n};\r\n\r\nexport const geolocationReversedResponse = (response: ReverseGeolocationResponse): GeolocationReversedAction => ({\r\n type: FETCH_GEOLOCATION_FULFILLED,\r\n response: response,\r\n});\r\n\r\nexport interface LocationState {\r\n isFetchingLocation: boolean;\r\n reverseGeolocation?: ReverseGeolocationResponse;\r\n}\r\n\r\nconst initialState: LocationState = {\r\n isFetchingLocation: false,\r\n};\r\n\r\nexport const locationReducer = (state: LocationState = initialState, action: Action): LocationState => {\r\n switch (action.type) {\r\n case FETCH_GEOLOCATION:\r\n return {\r\n ...state,\r\n reverseGeolocation: undefined,\r\n isFetchingLocation: true,\r\n };\r\n case FETCH_GEOLOCATION_FULFILLED: {\r\n const geolocationAction = action as GeolocationReversedAction;\r\n return {\r\n ...state,\r\n isFetchingLocation: false,\r\n reverseGeolocation: geolocationAction.response,\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst reverseCurrentGeolocation$ = (action$: ActionsObservable, client: GeocodingClient) =>\r\n action$.ofType(FETCH_GEOLOCATION).pipe(\r\n mergeMap$((response: any) => {\r\n const geolocation = response.geolocation;\r\n return client.locationFor$(geolocation).pipe(\r\n map$((locationResponse) => {\r\n return locationResponse.result(\r\n (locations) =>\r\n geolocationReversedResponse({\r\n success: true,\r\n payload: loadGeolocationFrom(geolocation, locations),\r\n }),\r\n (error) => geolocationReversedResponse({ success: false, error: error })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\nexport const createLocationEpic$ = (api: Api) => {\r\n const geocodingClient = new GeocodingClient(api);\r\n return (action$: ActionsObservable) => merge$(reverseCurrentGeolocation$(action$, geocodingClient));\r\n};\r\n","import { createAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface LocationPickerState {\r\n isRegionsPickerOpened: boolean;\r\n selectedStates: string[];\r\n}\r\n\r\nconst toggleRegionsPickerAction = createAction('TOGGLE_REGIONS_PICKER');\r\nconst setSelectedStatesAction = createAction('SET_SELECTED_STATES');\r\n\r\nexport const toggleRegionsPicker = (isOpened: boolean) => toggleRegionsPickerAction.action(isOpened);\r\nexport const setSelectedStates = (states: string[]) => setSelectedStatesAction.action(states);\r\n\r\nconst initialState: LocationPickerState = {\r\n isRegionsPickerOpened: false,\r\n selectedStates: [],\r\n};\r\n\r\nexport const LocationPickerReducer = createMergedReducer(initialState, [\r\n toggleRegionsPickerAction.addCase((state, action) => {\r\n state.isRegionsPickerOpened = action.data;\r\n }),\r\n setSelectedStatesAction.addCase((state, action) => {\r\n state.selectedStates = action.data;\r\n }),\r\n]);\r\n","import { reverse } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { of } from 'rxjs';\r\nimport { mergeAll as mergeAll$ } from 'rxjs/operators';\r\n\r\nimport { Api } from '@common/api';\r\nimport { MileageCalculatorClient } from '@common/client';\r\nimport {\r\n LocationSuggestion,\r\n MileageRoutesPostRequest,\r\n MileageRoutesRequest,\r\n RouteDirections,\r\n RoutePoints,\r\n StateMileagePayload,\r\n UiSettingsPayload,\r\n} from '@common/model';\r\nimport { createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface SelectedSingleLocation {\r\n selectedLocation: LocationSuggestion;\r\n stopIndex?: number;\r\n}\r\n\r\nexport enum ViewTypes {\r\n PickUp = 'PickUp',\r\n DropOff = 'DropOff',\r\n Search = 'Search',\r\n AddStop = 'AddStop',\r\n EditStop = 'EditStop',\r\n}\r\n\r\nconst updatePickupLocationAction = createApiAction('UPDATE_PICKUP_LOCATION');\r\n\r\nconst updateDropOffLocationAction = createApiAction('UPDATE_DROPOFF_LOCATION');\r\n\r\nconst addStopLocationAction = createApiAction('ADD_STOP_LOCATION');\r\n\r\nconst editStopLocationAction = createApiAction('EDIT_STOP_LOCATION');\r\n\r\nconst deleteStopLocationAction = createApiAction('DELETE_STOP_LOCATION');\r\n\r\nconst getRoutesDirectionAction = createApiAction('GET_ROUTES_DIRECTION');\r\n\r\nconst postRoutesDirectionAction = createApiAction<\r\n { route: MileageRoutesPostRequest; isCustomRequest: boolean },\r\n RouteDirections\r\n>('POST_ROUTES_DIRECTION');\r\n\r\nconst postRoutePathAction = createApiAction<{ route: MileageRoutesPostRequest }, RoutePoints>('POST_ROUTE_PATH');\r\n\r\nconst switchPickUpDropOffAction = createApiAction('SWITCH_LOCATION');\r\n\r\nconst postStateMileageAction = createApiAction('POST_STATE_MILEAGE');\r\n\r\nconst getUiSettingsAction = createApiAction('GET_UI_SETTINGS');\r\n\r\nconst patchUiSettingsAction = createApiAction('PATCH_UI_SETTINGS');\r\n\r\nconst getExportReportAction = createApiAction('GET_EXPORT_REPORT');\r\n\r\nexport const updatePickUpLocation = (selectedLocation: SelectedSingleLocation) =>\r\n updatePickupLocationAction.fetchAction(selectedLocation);\r\n\r\nexport const updateDropOffLocation = (selectedLocation: SelectedSingleLocation) =>\r\n updateDropOffLocationAction.fetchAction(selectedLocation);\r\n\r\nexport const addStopLocation = (selectedLocation: SelectedSingleLocation) =>\r\n addStopLocationAction.fetchAction(selectedLocation);\r\n\r\nexport const editStopLocation = (selectedLocation: SelectedSingleLocation) =>\r\n editStopLocationAction.fetchAction(selectedLocation);\r\n\r\nexport const getRoutesDirection = (routeRequest: MileageRoutesRequest) =>\r\n getRoutesDirectionAction.fetchAction(routeRequest);\r\n\r\nexport const deleteStopLocation = (key: number) => deleteStopLocationAction.fetchAction(key);\r\n\r\nexport const postRoutesDirection = (route: MileageRoutesPostRequest, isCustomRequest: boolean) =>\r\n postRoutesDirectionAction.fetchAction({ route: route, isCustomRequest: isCustomRequest });\r\n\r\nexport const postRoutePath = (data: { route: MileageRoutesPostRequest }) => postRoutePathAction.fetchAction(data);\r\n\r\nexport const switchPickUpDropOff = () => switchPickUpDropOffAction.fetchAction(undefined);\r\n\r\nexport const postStateMileage = (data: MileageRoutesPostRequest) => postStateMileageAction.fetchAction(data);\r\n\r\nexport const getUiSettings = () => getUiSettingsAction.fetchAction(undefined);\r\n\r\nexport const patchUiSettings = (data: UiSettingsPayload) => patchUiSettingsAction.fetchAction(data);\r\n\r\nexport const getExportReport = (data: MileageRoutesPostRequest) => getExportReportAction.fetchAction(data);\r\n\r\nexport interface SelectedLocationsState {\r\n pickupLocation?: LocationSuggestion;\r\n dropOffLocation?: LocationSuggestion;\r\n stopsLocations: LocationSuggestion[];\r\n wasUpdated: boolean;\r\n isLoadingPath: boolean;\r\n mileageRoutesPayload?: RouteDirections;\r\n mileageMap?: RoutePoints;\r\n isLoadingRoute: boolean;\r\n wasRouteLoaded?: boolean;\r\n isSwitching: boolean;\r\n isLoadingStateMileage: boolean;\r\n stateMileagePaylod?: StateMileagePayload;\r\n uiSettings?: UiSettingsPayload;\r\n wasUiSettingsFetched: boolean;\r\n wasUiSettingsUpdated: boolean;\r\n isLoadingUiSettings: boolean;\r\n isDownloading: boolean;\r\n wasDownloaded: boolean;\r\n csvData?: string;\r\n httpStatus?: number;\r\n}\r\n\r\nconst initialSelectedLocationState: SelectedLocationsState = {\r\n wasUpdated: false,\r\n isLoadingPath: false,\r\n stopsLocations: [],\r\n isLoadingRoute: false,\r\n isSwitching: false,\r\n isLoadingStateMileage: false,\r\n wasUiSettingsFetched: false,\r\n wasUiSettingsUpdated: false,\r\n isLoadingUiSettings: false,\r\n isDownloading: false,\r\n wasDownloaded: false,\r\n};\r\n\r\nexport const mileageCalculatorReducer = createMergedReducer(initialSelectedLocationState, [\r\n updatePickupLocationAction.initiateCase((state, action) => {\r\n state.pickupLocation = action.data.selectedLocation;\r\n }),\r\n updateDropOffLocationAction.initiateCase((state, action) => {\r\n state.dropOffLocation = action.data.selectedLocation;\r\n }),\r\n addStopLocationAction.initiateCase((state, action) => {\r\n if (action.data.stopIndex !== undefined && state.stopsLocations.length >= 1) {\r\n const index = action.data.stopIndex;\r\n const stop = action.data.selectedLocation;\r\n state.stopsLocations.splice(index, 0, stop);\r\n } else {\r\n state.stopsLocations.push(action.data.selectedLocation);\r\n }\r\n }),\r\n editStopLocationAction.initiateCase((state, action) => {\r\n if (action.data.stopIndex !== undefined) {\r\n const index = action.data.stopIndex;\r\n const stop = action.data.selectedLocation;\r\n state.stopsLocations.splice(index, 1, stop);\r\n }\r\n }),\r\n deleteStopLocationAction.initiateCase((state, action) => {\r\n if (state.stopsLocations[action.data]) {\r\n state.stopsLocations.splice(action.data, 1);\r\n }\r\n }),\r\n getRoutesDirectionAction.initiateCase((state) => {\r\n state.isLoadingRoute = true;\r\n }),\r\n getRoutesDirectionAction.completeCase((state, action) => {\r\n state.isLoadingRoute = false;\r\n if (action.response.success) {\r\n state.mileageRoutesPayload = action.response.payload;\r\n }\r\n }),\r\n postRoutesDirectionAction.initiateCase((state) => {\r\n state.isLoadingRoute = true;\r\n state.wasRouteLoaded = undefined;\r\n }),\r\n postRoutesDirectionAction.completeCase((state, action) => {\r\n state.isLoadingRoute = false;\r\n if (action.response.success) {\r\n state.mileageRoutesPayload = action.response.payload;\r\n state.wasRouteLoaded = true;\r\n } else {\r\n state.httpStatus = action.response.error.httpStatus;\r\n state.wasRouteLoaded = false;\r\n }\r\n }),\r\n\r\n postRoutePathAction.initiateCase((state) => {\r\n state.isLoadingPath = true;\r\n }),\r\n postRoutePathAction.completeCase((state, action) => {\r\n state.isLoadingPath = false;\r\n if (action.response.success) {\r\n state.mileageMap = action.response.payload;\r\n }\r\n }),\r\n\r\n postStateMileageAction.initiateCase((state) => {\r\n state.isLoadingStateMileage = true;\r\n }),\r\n\r\n postStateMileageAction.completeCase((state, action) => {\r\n state.isLoadingStateMileage = false;\r\n if (action.response.success) {\r\n state.stateMileagePaylod = action.response.payload;\r\n }\r\n }),\r\n\r\n switchPickUpDropOffAction.initiateCase((state) => {\r\n state.isSwitching = true;\r\n const newPickup = state.dropOffLocation;\r\n const newDropOff = state.pickupLocation;\r\n state.pickupLocation = newPickup;\r\n state.dropOffLocation = newDropOff;\r\n state.stopsLocations = reverse(state.stopsLocations);\r\n }),\r\n switchPickUpDropOffAction.completeCase((state) => {\r\n state.isSwitching = false;\r\n }),\r\n\r\n getUiSettingsAction.initiateCase((state) => {\r\n state.isLoadingUiSettings = true;\r\n state.wasUiSettingsFetched = false;\r\n }),\r\n\r\n getUiSettingsAction.completeCase((state, action) => {\r\n state.isLoadingUiSettings = false;\r\n if (action.response.success) {\r\n state.wasUiSettingsFetched = true;\r\n state.uiSettings = action.response.payload;\r\n }\r\n }),\r\n\r\n patchUiSettingsAction.initiateCase((state) => {\r\n state.isLoadingUiSettings = true;\r\n state.wasUiSettingsUpdated = false;\r\n }),\r\n\r\n patchUiSettingsAction.completeCase((state, action) => {\r\n state.isLoadingUiSettings = false;\r\n if (action.response.success) {\r\n state.wasUiSettingsUpdated = true;\r\n state.uiSettings = action.response.payload;\r\n }\r\n }),\r\n\r\n getExportReportAction.initiateCase((state) => {\r\n state.isDownloading = true;\r\n state.wasDownloaded = false;\r\n }),\r\n\r\n getExportReportAction.completeCase((state, action) => {\r\n state.isDownloading = false;\r\n if (action.response.success) {\r\n state.wasDownloaded = true;\r\n state.csvData = action.response.payload;\r\n }\r\n }),\r\n]);\r\n\r\nexport const createMileageCalculatorEpic = (api: Api) => {\r\n const client = new MileageCalculatorClient(api);\r\n return (action$: ActionsObservable) =>\r\n of(\r\n postStateMileageAction.createEpic$(action$, (data) => client.postStateMileage$(data)),\r\n postRoutesDirectionAction.createEpic$(action$, (data) =>\r\n client.postRouteDirection$(data.route, data.isCustomRequest)\r\n ),\r\n postRoutePathAction.createEpic$(action$, (data) => client.postRoutePath$(data)),\r\n getRoutesDirectionAction.createEpic$(action$, (data) => client.getRoutesDirection$(data)),\r\n getUiSettingsAction.createEpic$(action$, () => client.getUiSettings$()),\r\n patchUiSettingsAction.createEpic$(action$, (data) => client.patchUiSettings$(data)),\r\n getExportReportAction.createEpic$(action$, (data) => client.getExportReport$(data))\r\n ).pipe(mergeAll$());\r\n};\r\n","import { forEach, reduce, uniq, without } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$, of as of$ } from 'rxjs';\r\nimport { mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { OnboardedCarriersClient } from '@/client';\r\nimport {\r\n DOTEntities,\r\n ModifyOnboardedCarriersRequest,\r\n NormalizedList,\r\n OnboardedCarrier,\r\n OnboardedCarriers,\r\n OnboardedCarriersResponse,\r\n UpdateCheckedStatus,\r\n} from '@/model';\r\nimport { Api } from '@common/api';\r\nimport { createAction, createApiAction, createApiActionWithFetchData, ResultResponseAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst modifyOnboardedCarriersAction = createApiAction('MODIFY_ONBOARDED_CARRIERS');\r\nconst fetchOnboardedCarriersAction = createApiAction<{ offset?: number; limit?: number }, OnboardedCarriersResponse>(\r\n 'FETCH_ONBOARDED_CARRIERS'\r\n);\r\nconst deleteOnboardedCarriersAction = createApiActionWithFetchData('DELETE_ONBOARDED_CARRIERS');\r\nconst changeCheckedStatusAction = createAction('UPDATE_CHECKED_STATUS');\r\nconst clearRecentlyAddedNumbersAction = createAction('CLEAR_RECENTLY_ADDED_NUMBERS');\r\nconst clearUpdateResultAction = createAction('CLEAR_UPDATE_RESULT');\r\n\r\nexport const fetchOnboardedCarriers = (offset?: number, limit?: number) =>\r\n fetchOnboardedCarriersAction.fetchAction({ offset: offset, limit: limit });\r\nexport const deleteOnboardedCarriers = (request: OnboardedCarriers) =>\r\n deleteOnboardedCarriersAction.fetchAction(request);\r\nexport const modifyOnboardedCarriers = (usdotNumbers: string[], invalidUsdotNumbers: string[]) =>\r\n modifyOnboardedCarriersAction.fetchAction({ usdotNumbers: usdotNumbers, invalidList: invalidUsdotNumbers });\r\nexport const changeCheckedStatus = (request: UpdateCheckedStatus) => changeCheckedStatusAction.action(request);\r\nexport const clearRecentlyAddedNumbers = () => clearRecentlyAddedNumbersAction.action(undefined);\r\nexport const clearUpdateResult = () => clearUpdateResultAction.action(undefined);\r\n\r\nexport interface OnboardedCarriersState {\r\n normalizedList: NormalizedList;\r\n totalCount: number;\r\n wasListUpdated?: boolean;\r\n isLoading: boolean;\r\n isDeleting: boolean;\r\n didFetchFail?: boolean;\r\n recentlyAddedNumbers: { invalid: string[]; valid: string[] };\r\n recentlyDeletedNumbers: string[];\r\n}\r\n\r\nconst initialState: OnboardedCarriersState = {\r\n normalizedList: { ui: [], entities: {} },\r\n totalCount: 0,\r\n isLoading: false,\r\n isDeleting: false,\r\n wasListUpdated: undefined,\r\n recentlyAddedNumbers: { valid: [], invalid: [] },\r\n recentlyDeletedNumbers: [],\r\n};\r\n\r\nexport const onboardedCarriersReducer = createMergedReducer(initialState, [\r\n changeCheckedStatusAction.addCase((state, action) => {\r\n forEach(action.data.usdotNumbers, (checkStatus, usDotNumber) => {\r\n state.normalizedList.entities[usDotNumber] = checkStatus;\r\n });\r\n }),\r\n\r\n clearRecentlyAddedNumbersAction.addCase((state) => {\r\n state.recentlyAddedNumbers = { valid: [], invalid: [] };\r\n }),\r\n\r\n clearUpdateResultAction.addCase((state) => {\r\n state.wasListUpdated = undefined;\r\n }),\r\n\r\n modifyOnboardedCarriersAction.initiateCase((state, action) => {\r\n state.isLoading = true;\r\n state.wasListUpdated = undefined;\r\n state.recentlyAddedNumbers = {\r\n valid: without(action.data.usdotNumbers, ...state.normalizedList.ui),\r\n invalid: action.data.invalidList,\r\n };\r\n state.recentlyDeletedNumbers = without(state.normalizedList.ui, ...action.data.usdotNumbers);\r\n }),\r\n modifyOnboardedCarriersAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n state.wasListUpdated = action.response.success;\r\n }),\r\n\r\n fetchOnboardedCarriersAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.didFetchFail = undefined;\r\n }),\r\n fetchOnboardedCarriersAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n if (action.response.success) {\r\n state.normalizedList = normalizeListFromServer(action.response.payload.dotNumbers, state.normalizedList.entities);\r\n state.totalCount = action.response.payload.totalCount;\r\n } else {\r\n state.didFetchFail = true;\r\n }\r\n }),\r\n\r\n deleteOnboardedCarriersAction.initiateCase((state) => {\r\n state.isDeleting = true;\r\n state.wasListUpdated = undefined;\r\n }),\r\n deleteOnboardedCarriersAction.completeCase((state, action) => {\r\n state.isDeleting = false;\r\n state.wasListUpdated = action.response.success;\r\n\r\n if (action.fetchData && action.response.success) {\r\n state.normalizedList.ui = without(state.normalizedList.ui, ...(action.fetchData.usdotNumbers || []));\r\n forEach(action.fetchData.usdotNumbers, (id) => {\r\n delete state.normalizedList.entities[id];\r\n });\r\n }\r\n }),\r\n]);\r\n\r\nconst fetchOnboardedCarriersOnUpdate$ = (action$: ActionsObservable) =>\r\n action$.ofType(modifyOnboardedCarriersAction.responseType).pipe(\r\n mergeMap$((action: ResultResponseAction<{}>) => {\r\n if (action.response.success) {\r\n return of$(fetchOnboardedCarriersAction.fetchAction({}));\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nexport const createOnboardedCarriersEpic = (api: Api) => {\r\n const client = new OnboardedCarriersClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n modifyOnboardedCarriersAction.createEpic$(action$, (request) =>\r\n client.modifyOnboardedCarriers$(uniq(request.usdotNumbers))\r\n ),\r\n deleteOnboardedCarriersAction.createEpic$(action$, client.deleteOnboardedCarriers$),\r\n fetchOnboardedCarriersAction.createEpic$(action$, (data) =>\r\n client.getOnboardedCarriers$(data.offset, data.limit)\r\n ),\r\n fetchOnboardedCarriersOnUpdate$(action$)\r\n );\r\n};\r\n\r\nconst normalizeListFromServer = (newList: OnboardedCarrier[], existingList: DOTEntities): NormalizedList => ({\r\n ui: newList.map((item) => item.usdotNumber.toString()),\r\n entities: reduce(\r\n newList,\r\n (accumulator, onboardedCarrier) => {\r\n accumulator[onboardedCarrier.usdotNumber.toString()] = {\r\n isChecked: existingList[onboardedCarrier.usdotNumber]?.isChecked || false,\r\n source: onboardedCarrier.source,\r\n };\r\n return accumulator;\r\n },\r\n {} as DOTEntities\r\n ),\r\n});\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { LoadsClient, MileageCalculatorClient, RouteClient } from '@common/client';\r\nimport { MileageRoutesPostRequest, RoutePoints, StateMileagePayload } from '@common/model';\r\nimport { RouteDirections } from '@common/model/PCMiler';\r\nimport { createApiAction, Response } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst fetchRouteDirectionsAction = createApiAction('FETCH_ROUTE_DIRECTIONS');\r\nconst fetchStateMileageAction = createApiAction<{ loadID: string; archivingFlowID?: string }, StateMileagePayload>(\r\n 'FETCH_STATE_MILEAGE'\r\n);\r\nconst fetchExportReportAction = createApiAction('FETCH_EXPORT_REPORT');\r\nconst postRoutePathAction = createApiAction<{ route: MileageRoutesPostRequest }, RoutePoints>('POST_ROUTE_PATH');\r\n\r\nexport const fetchRouteDirections = (stops: MileageRoutesPostRequest) => fetchRouteDirectionsAction.fetchAction(stops);\r\nexport const fetchStateMileage = (loadID: string, archivingFlowID?: string) =>\r\n fetchStateMileageAction.fetchAction({ loadID: loadID, archivingFlowID: archivingFlowID });\r\nexport const fetchExportReport = (data: MileageRoutesPostRequest) => fetchExportReportAction.fetchAction(data);\r\nexport const postRoutePath = (data: { route: MileageRoutesPostRequest }) => postRoutePathAction.fetchAction(data);\r\n\r\ntype RouteResponse = Response;\r\n\r\nexport interface PCMilerState {\r\n isLoading: boolean;\r\n directions?: RouteDirections;\r\n map?: string;\r\n stateMileagePayload?: StateMileagePayload;\r\n isLoadingStateMileage: boolean;\r\n isDownloadingReport: boolean;\r\n isReportDownloaded: boolean;\r\n csvData?: string;\r\n route?: RouteResponse;\r\n isLoadingRoute: boolean;\r\n}\r\n\r\nconst initialState: PCMilerState = {\r\n isLoading: false,\r\n isLoadingStateMileage: false,\r\n isDownloadingReport: false,\r\n isReportDownloaded: false,\r\n isLoadingRoute: false,\r\n};\r\n\r\nexport const PCMilerReducer = createMergedReducer(initialState, [\r\n fetchRouteDirectionsAction.initiateCase((state) => {\r\n state.directions = undefined;\r\n state.isLoading = true;\r\n }),\r\n fetchRouteDirectionsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.directions = action.response.payload;\r\n }\r\n state.isLoading = false;\r\n }),\r\n fetchStateMileageAction.initiateCase((state) => {\r\n state.isLoadingStateMileage = true;\r\n }),\r\n fetchStateMileageAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.stateMileagePayload = action.response.payload;\r\n }\r\n state.isLoadingStateMileage = false;\r\n }),\r\n fetchExportReportAction.initiateCase((state) => {\r\n state.isDownloadingReport = true;\r\n state.isReportDownloaded = false;\r\n }),\r\n fetchExportReportAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.isReportDownloaded = true;\r\n state.csvData = action.response.payload;\r\n }\r\n state.isDownloadingReport = false;\r\n }),\r\n postRoutePathAction.initiateCase((state) => {\r\n state.isLoadingRoute = true;\r\n }),\r\n postRoutePathAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.route = action.response;\r\n }\r\n state.isLoadingRoute = false;\r\n }),\r\n]);\r\n\r\nexport const createPCMilerEpic = (api: Api, isLiveEnvironment: boolean) => {\r\n const loadsClient = new LoadsClient(api, isLiveEnvironment);\r\n const mileageClient = new MileageCalculatorClient(api);\r\n const routeClient = new RouteClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchRouteDirectionsAction.createEpic$(action$, (data) => routeClient.postRouteDirection$(data)),\r\n fetchStateMileageAction.createEpic$(action$, (data) =>\r\n loadsClient.getRouteStateMileage$(data.loadID, data.archivingFlowID)\r\n ),\r\n fetchExportReportAction.createEpic$(action$, (data) => mileageClient.getExportReport$(data)),\r\n postRoutePathAction.createEpic$(action$, (data) => routeClient.postRoutePath$(data))\r\n );\r\n};\r\n","import { Action } from 'redux';\r\n\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst SET_PANEL_MOBILE_VIEW = 'SET_PANEL_MOBILE_VIEW';\r\n\r\ninterface SetPanelMobileViewAction extends Action {\r\n isMobileView: boolean;\r\n}\r\n\r\nexport const setPanelMobileView = (isMobileView: boolean): SetPanelMobileViewAction => ({\r\n type: SET_PANEL_MOBILE_VIEW,\r\n isMobileView: isMobileView,\r\n});\r\n\r\nexport interface PanelState {\r\n /** True if showing a single panel taking the full width meant for mobile (single scroll area).\r\n * This will make that panel use the whole page to scroll instead of a scrolling DIVs.\r\n * (This remains \"true\" even if the sidebar menu is showing)\r\n */\r\n isMobileView: boolean;\r\n}\r\n\r\nconst initialState: PanelState = {\r\n isMobileView: true,\r\n};\r\n\r\nexport const panelReducer = createReducer(initialState, {\r\n [SET_PANEL_MOBILE_VIEW]: (state: PanelState, action: SetPanelMobileViewAction) => {\r\n state.isMobileView = action.isMobileView;\r\n },\r\n});\r\n","import { cloneDeep, filter, findIndex, isEqual, map } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, ofType, StateObservable } from 'redux-observable';\r\nimport { merge as merge$, Observable, of as of$ } from 'rxjs';\r\nimport { distinctUntilChanged, map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { PostLoadsClient } from '@/client';\r\nimport {\r\n BrokerLoadsSummaryResponseMetadata,\r\n BulkPatchLoadsFields,\r\n createDefaultLoadTemplatesRequest,\r\n LegacyPosterLoadSearchRequest,\r\n MY_POSTED_LOADS_REQUEST_LIMIT_APPENDING,\r\n PostedLoadStatus,\r\n PosterLoadSearchRequest,\r\n} from '@/model';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { Api, ApiError, ApiResponse123 } from '@common/api';\r\nimport {\r\n addFetchedTime,\r\n addLoadFetchedTime,\r\n LoadBulkUpdate,\r\n removeLoadDatesTimesIfMidnight,\r\n uniqDates,\r\n UpdateCategory,\r\n updateLoad,\r\n updateLoadsListAfterBulkUpdate,\r\n} from '@common/helper';\r\nimport {\r\n DeletePostedLoadRequest,\r\n Load,\r\n LoadStatus,\r\n LoadTemplate,\r\n PostedLoadProgress,\r\n PostedLoadSearchResponse,\r\n SetPostedLoadProgressRequest,\r\n SetPostedLoadStatusRequest,\r\n UpdatePostedLoadRequest,\r\n} from '@common/model';\r\nimport { CarrierInfo } from '@common/model/Carrier';\r\nimport { LoadTemplateResponse } from '@common/model/LoadTemplates';\r\nimport {\r\n ApiAction,\r\n createAction,\r\n createApiAction,\r\n createApiActionWithFetchData,\r\n EmptyResponse,\r\n Response,\r\n SearchResponseMetadata,\r\n} from '@common/redux/Base';\r\nimport { PaginatedRequest } from '@common/redux/epic/PaginatedListReducer';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\nimport { mergeLoadLists } from '@common/sort/LoadsMerger';\r\nimport {\r\n convertPostedLoadToLoad,\r\n convertPosterLoadSearchRequestToLegacy,\r\n createDefaultLoadPostSearchRequest,\r\n} from '@util/helper/PostLoadHelper';\r\nimport { DeleteLoadTemplatesRequest, LoadTemplatesClient } from '@webApi/LoadTemplatesClient';\r\n\r\nconst FETCH_POSTED_LOADS = 'FETCH_POSTED_LOADS';\r\nconst FETCH_NEXT_POSTED_LOADS = 'FETCH_NEXT_POSTED_LOADS';\r\nconst POSTED_LOADS_FETCHED = 'POSTED_LOADS_FETCHED';\r\nconst REFRESH_OFFLINE_LOADS_LIST = 'REFRESH_OFFLINE_LOADS_LIST';\r\n\r\nconst toggleIncludeAllCompanyLoadsAction = createAction('TOGGLE_INCLUDE_COMPANY_LOADS');\r\n\r\nexport const toggleIncludeCompanyLoads = () => toggleIncludeAllCompanyLoadsAction.action(undefined);\r\n\r\nconst updateFiltersAction = createAction>('UPDATE_POSTED_LOADS_FILTERS');\r\nconst resetFiltersAction = createAction('RESET_POSTED_LOADS_FILTERS');\r\n\r\nexport const resetPostedLoadsFilters = () => resetFiltersAction.action(undefined);\r\nexport const updatePostedLoadsFilters = updateFiltersAction.action;\r\n\r\nconst viewPostedLoadAction = createAction('VIEW_POSTED_LOAD');\r\n\r\nconst brokerLoadsSummaryAction = createApiAction('BROKER_LOADS_SUMMARY');\r\n\r\nconst fetchPostedLoadsMetadataAction = createApiAction(\r\n 'POSTED_LOADS_COUNT'\r\n);\r\n\r\nconst fetchLoadTemplatesAction = createApiAction('FETCH_RECENT_POSTED_LOADS');\r\nconst deleteAllLoadTemplatesAction = createApiAction(\r\n 'DELETE_ALL_LOAD_TEMPLATES'\r\n);\r\n\r\nexport const setPostedLoadProgressAction = createApiActionWithFetchData(\r\n 'SET_POSTED_LOAD_PROGRESS'\r\n);\r\n\r\nexport const setPostedLoadStatusAction = createApiActionWithFetchData(\r\n 'SET_POSTED_LOAD_STATUS'\r\n);\r\n\r\nexport const deletePostedLoadAction = createApiActionWithFetchData(\r\n 'DELETE_POSTED_LOAD'\r\n);\r\n\r\nexport const refreshLoadAgeAction = createApiAction('REFRESH_LOAD_AGE');\r\n\r\nconst clearLoadUpdateResultsAction = createAction('CLEAR_LOAD_UPDATE');\r\n\r\nconst clearLoadFetchErrorsAction = createAction('CLEAR_LOAD_FETCH_ERRORS');\r\n\r\nconst UPDATE_LOAD = 'UPDATE_LOAD';\r\n\r\ninterface UpdateSingleLoadAction extends Action {\r\n load: Load | undefined;\r\n}\r\n\r\ninterface SearchPostedLoadsAction extends Action {\r\n searchData?: PosterLoadSearchRequest;\r\n}\r\n\r\ninterface FetchPostedLoadsResponseAction extends Action {\r\n response?: Response;\r\n searchRequest?: PosterLoadSearchRequest;\r\n isInitialRequest?: boolean;\r\n}\r\n\r\ninterface LoadPaginationResponse {\r\n response: LoadResponse;\r\n lastSearchRequest: PosterLoadSearchRequest;\r\n}\r\n\r\nexport interface RefreshedLoadAgeAction extends Action {\r\n response: Response;\r\n error?: ApiError;\r\n}\r\n\r\nexport interface PostedLoadDeletedAction extends Action {\r\n loadID: string;\r\n response: EmptyResponse;\r\n redirectUrl: string;\r\n}\r\n\r\nexport interface UpdatedLoadStatusAction extends Action {\r\n response: SetPostedLoadResponse;\r\n redirectUrl: string;\r\n}\r\n\r\ntype LoadResponse = ApiResponse123;\r\ntype SetPostedLoadResponse = Response;\r\n\r\nconst postedLoadsResponse = (\r\n response?: Response,\r\n searchRequest?: PosterLoadSearchRequest,\r\n isInitialRequest?: boolean\r\n): FetchPostedLoadsResponseAction => ({\r\n type: POSTED_LOADS_FETCHED,\r\n response: response,\r\n searchRequest: searchRequest,\r\n isInitialRequest: isInitialRequest,\r\n});\r\n\r\ninterface BulkLoadUpdateBasePayload {\r\n loadIds: string[];\r\n isExcluded: boolean;\r\n searchQuery: PosterLoadSearchRequest;\r\n}\r\n\r\ntype BulkLoadUpdatePayload =\r\n | ({\r\n updateType: UpdateCategory.AGE_BULK;\r\n } & BulkLoadUpdateBasePayload)\r\n | ({\r\n updateType: UpdateCategory.STATUS_BULK | UpdateCategory.PICKUP_DATES_BULK;\r\n patch: Partial;\r\n } & BulkLoadUpdateBasePayload);\r\n\r\nconst bulkLoadUpdateAction = createAction('POST_LOADS_BULK_UPDATE');\r\nconst bulkLoadUpdateFulfilledAction = createAction('POST_LOADS_BULK_UPDATE_FULFILLED');\r\nconst bulkLoadUpdateErrorAction = createAction('POST_LOADS_BULK_UPDATE_ERROR');\r\n\r\nexport const bulkLoadUpdate = bulkLoadUpdateAction.action;\r\n\r\nexport const updateSingleLoad = (load: Load | undefined): UpdateSingleLoadAction => ({\r\n type: UPDATE_LOAD,\r\n load: load,\r\n});\r\n\r\nexport const fetchPostedLoads = (searchData?: PosterLoadSearchRequest): SearchPostedLoadsAction => ({\r\n type: FETCH_POSTED_LOADS,\r\n searchData: searchData,\r\n});\r\n\r\nexport const fetchMorePostedLoads = () => ({\r\n type: FETCH_NEXT_POSTED_LOADS,\r\n});\r\n\r\nexport const refreshOfflineLoadsList = (): Action => ({\r\n type: REFRESH_OFFLINE_LOADS_LIST,\r\n});\r\n\r\nexport const viewPostedLoad = (loadID: string) => viewPostedLoadAction.action(loadID);\r\n\r\nexport const fetchBrokerLoadsSummary = (includeAllCompanyLoads = false) =>\r\n brokerLoadsSummaryAction.fetchAction(includeAllCompanyLoads);\r\n\r\nexport const fetchPostedLoadsMetadata = fetchPostedLoadsMetadataAction.fetchAction;\r\n\r\nexport const fetchLoadTemplates = (loadTemplatesRequest: PaginatedRequest = createDefaultLoadTemplatesRequest()) =>\r\n fetchLoadTemplatesAction.fetchAction(loadTemplatesRequest);\r\n\r\nexport const deleteAllLoadTemplates = () => deleteAllLoadTemplatesAction.fetchAction({ excludeIds: [] });\r\n\r\nexport const setPostedLoadProgress = (loadID: string, progress: PostedLoadProgress, dotNo?: number) =>\r\n setPostedLoadProgressAction.fetchAction({ loadID: loadID, progress: progress, dotNo: dotNo });\r\n\r\nexport const setPostedLoadStatus = setPostedLoadStatusAction.fetchAction;\r\n\r\nexport const deletePostedLoad = deletePostedLoadAction.fetchAction;\r\n\r\nexport const refreshPostedLoadAge = refreshLoadAgeAction.fetchAction;\r\n\r\nexport const clearLoadUpdateResults = () => clearLoadUpdateResultsAction.action(undefined);\r\n\r\nexport const clearLoadFetchErrors = () => clearLoadFetchErrorsAction.action(undefined);\r\n\r\nexport interface PostLoadState {\r\n loadCounts: {\r\n online?: number;\r\n offline?: number;\r\n assigned?: number;\r\n delivered?: number;\r\n filtered?: number;\r\n isLoadingBrokerSummary: boolean;\r\n isLoadingFilteredCount: boolean;\r\n fetchError?: ApiError;\r\n };\r\n loadTemplates: {\r\n isLoading: boolean;\r\n templates: LoadTemplate[];\r\n };\r\n updateLoad: {\r\n updateLoadStatusSuccess: boolean; // @FIXME merge these success flags into an enum? [BP/GL]\r\n deleteLoadSuccess: boolean;\r\n updateLoadAgeSuccess: boolean;\r\n error?: ApiError;\r\n };\r\n updateLoads: {\r\n statusUpdatedAt?: number;\r\n loadDeletedAt?: number;\r\n pickupDateChangedAt?: number;\r\n ageRefreshedAt?: number;\r\n bulkUpdateError?: ApiError;\r\n };\r\n filters: PosterLoadSearchRequest;\r\n includeAllCompanyLoads: boolean;\r\n isLoadingLoads: boolean;\r\n isLastResult: boolean;\r\n nextToken: string;\r\n lastSearchRequest: PosterLoadSearchRequest;\r\n loads: Load[];\r\n carrierInfo?: CarrierInfo;\r\n totalLoadsCount: number;\r\n loadFetchError: ApiError | undefined;\r\n isLoadingLoadProgressUpdate: boolean;\r\n updateLoadProgressUpdateSuccess: boolean | undefined;\r\n updateLoadProgressUpdateError: ApiError | undefined;\r\n}\r\n\r\nconst initialState: PostLoadState = {\r\n loadCounts: {\r\n isLoadingBrokerSummary: false,\r\n isLoadingFilteredCount: false,\r\n },\r\n loadTemplates: {\r\n isLoading: false,\r\n templates: [],\r\n },\r\n updateLoad: { updateLoadStatusSuccess: false, deleteLoadSuccess: false, updateLoadAgeSuccess: false },\r\n updateLoads: {},\r\n filters: createDefaultLoadPostSearchRequest(),\r\n includeAllCompanyLoads: false,\r\n isLoadingLoads: false,\r\n isLastResult: false,\r\n nextToken: '',\r\n lastSearchRequest: createDefaultLoadPostSearchRequest(),\r\n loads: [],\r\n carrierInfo: undefined,\r\n totalLoadsCount: 0,\r\n loadFetchError: undefined,\r\n isLoadingLoadProgressUpdate: false,\r\n updateLoadProgressUpdateSuccess: undefined,\r\n updateLoadProgressUpdateError: undefined,\r\n};\r\n\r\n/** Reducer receives a proxy state that translates all mutations into equivalent copy operations.*/\r\nexport const postedLoadsReducer = createMergedReducer(initialState, [\r\n viewPostedLoadAction.addCase((state, { data: viewedLoadID }) => {\r\n const viewedLoadIndex = findIndex(state.loads, (load) => load.id === viewedLoadID);\r\n if (viewedLoadIndex >= 0) {\r\n state.loads[viewedLoadIndex] = updateLoad(state.loads[viewedLoadIndex], {\r\n category: UpdateCategory.VIEWED,\r\n loadID: viewedLoadID,\r\n poster: undefined,\r\n });\r\n }\r\n }),\r\n brokerLoadsSummaryAction.initiateCase((state) => {\r\n state.loadCounts.isLoadingBrokerSummary = true;\r\n state.loadCounts.fetchError = undefined;\r\n }),\r\n brokerLoadsSummaryAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.loadCounts.assigned = action.response.payload?.assigned;\r\n state.loadCounts.delivered = action.response.payload?.delivered;\r\n state.loadCounts.offline = action.response.payload?.offline;\r\n state.loadCounts.online = action.response.payload?.online;\r\n } else {\r\n state.loadCounts.fetchError = action.response.error;\r\n }\r\n state.loadCounts.isLoadingBrokerSummary = false;\r\n }),\r\n fetchPostedLoadsMetadataAction.initiateCase((state) => {\r\n state.loadCounts.isLoadingFilteredCount = true;\r\n state.loadCounts.filtered = 0;\r\n }),\r\n fetchPostedLoadsMetadataAction.completeCase((state, action) => {\r\n state.loadCounts.isLoadingFilteredCount = false;\r\n if (action.response.success && action.response.payload) {\r\n state.loadCounts.filtered = action.response.payload.totalResultCount;\r\n }\r\n }),\r\n fetchLoadTemplatesAction.initiateCase((state) => {\r\n state.loadTemplates.isLoading = true;\r\n }),\r\n fetchLoadTemplatesAction.completeCase((state, action) => {\r\n state.loadTemplates.isLoading = false;\r\n if (action.response.success && action.response.payload) {\r\n state.loadTemplates.templates = action.response.payload.loadTemplates;\r\n }\r\n }),\r\n deleteAllLoadTemplatesAction.initiateCase((state) => {\r\n state.loadTemplates.isLoading = true;\r\n }),\r\n deleteAllLoadTemplatesAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.loadTemplates.templates = [];\r\n }\r\n state.loadTemplates.isLoading = false;\r\n }),\r\n setPostedLoadProgressAction.initiateCase((state) => {\r\n state.isLoadingLoadProgressUpdate = true;\r\n }),\r\n setPostedLoadProgressAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.updateLoadProgressUpdateSuccess = true;\r\n } else {\r\n state.updateLoadProgressUpdateSuccess = false;\r\n state.updateLoadProgressUpdateError = action.response.error;\r\n }\r\n state.isLoadingLoadProgressUpdate = false;\r\n }),\r\n setPostedLoadStatusAction.completeCase((state, action) => {\r\n if (!action.response.success) {\r\n state.updateLoad.error = action.response.error;\r\n return;\r\n }\r\n const loadStatusActionData = action.response.payload;\r\n const updatedLoadID = loadStatusActionData?.id ?? null;\r\n const filteredLoads = updatedLoadID ? state.loads.filter((item) => item.id !== updatedLoadID) : state.loads;\r\n if (state.loads.length !== filteredLoads.length) {\r\n const totalLoadsCount = state.totalLoadsCount - 1;\r\n const status = loadStatusActionData?.status;\r\n\r\n state.totalLoadsCount = totalLoadsCount;\r\n\r\n if (status === LoadStatus.Online) {\r\n if (state.loadCounts.online) {\r\n ++state.loadCounts.online;\r\n }\r\n state.loadCounts.offline = totalLoadsCount;\r\n } else if (status === LoadStatus.Offline) {\r\n if (state.loadCounts.offline) {\r\n ++state.loadCounts.offline;\r\n }\r\n state.loadCounts.online = totalLoadsCount;\r\n }\r\n }\r\n state.loads = filteredLoads;\r\n state.updateLoad.updateLoadStatusSuccess = true;\r\n }),\r\n deletePostedLoadAction.completeCase((state, action) => {\r\n if (!action.response.success) {\r\n state.updateLoad.error = action.response.error;\r\n return;\r\n }\r\n const deletedLoadID = action.fetchData?.loadID;\r\n const filteredLoads = filter(state.loads, (item) => item.id !== deletedLoadID);\r\n if (state.loads.length !== filteredLoads.length) {\r\n state.totalLoadsCount = state.totalLoadsCount - 1;\r\n }\r\n state.loads = filteredLoads;\r\n state.updateLoad.deleteLoadSuccess = true;\r\n }),\r\n refreshLoadAgeAction.completeCase((state, action) => {\r\n if (!action.response.success) {\r\n state.updateLoad.error = action.response.error;\r\n return;\r\n }\r\n const refreshedLoadID = action.response.payload?.id;\r\n const refreshedLoadIndex = findIndex(state.loads, (item) => item.id === refreshedLoadID);\r\n if (refreshedLoadIndex >= 0) {\r\n const updatedLoads = state.loads;\r\n const loadWithFetchedTime = addLoadFetchedTime(Date.now())(updatedLoads[refreshedLoadIndex]);\r\n loadWithFetchedTime.age = 1;\r\n updatedLoads[refreshedLoadIndex] = loadWithFetchedTime;\r\n state.loads = updatedLoads;\r\n state.updateLoad.updateLoadAgeSuccess = true;\r\n }\r\n }),\r\n clearLoadUpdateResultsAction.addCase((state) => {\r\n state.updateLoad.updateLoadAgeSuccess = false;\r\n state.updateLoad.deleteLoadSuccess = false;\r\n state.updateLoad.updateLoadStatusSuccess = false;\r\n state.updateLoad.error = undefined;\r\n }),\r\n clearLoadFetchErrorsAction.addCase((state: PostLoadState) => {\r\n state.loadCounts.fetchError = undefined;\r\n state.loadFetchError = undefined;\r\n state.updateLoads.bulkUpdateError = undefined;\r\n }),\r\n bulkLoadUpdateFulfilledAction.addCase((state, { data: bulkUpdate }) => {\r\n switch (bulkUpdate.category) {\r\n case UpdateCategory.STATUS_BULK: {\r\n if (bulkUpdate.loadIDs.length === 0 && bulkUpdate.isExcluded) {\r\n state.totalLoadsCount = 0;\r\n } else {\r\n if (bulkUpdate.isExcluded) {\r\n const selectedLoadsCount = state.totalLoadsCount - bulkUpdate.loadIDs.length;\r\n state.totalLoadsCount = state.totalLoadsCount - selectedLoadsCount;\r\n } else {\r\n state.totalLoadsCount = state.totalLoadsCount - bulkUpdate.loadIDs.length;\r\n }\r\n }\r\n if (bulkUpdate.status === LoadStatus.Deleted) {\r\n state.updateLoads.loadDeletedAt = Date.now();\r\n } else {\r\n state.updateLoads.statusUpdatedAt = Date.now();\r\n }\r\n break;\r\n }\r\n case UpdateCategory.PICKUP_DATES_BULK: {\r\n state.updateLoads.pickupDateChangedAt = Date.now();\r\n break;\r\n }\r\n case UpdateCategory.AGE_BULK: {\r\n state.updateLoads.ageRefreshedAt = Date.now();\r\n break;\r\n }\r\n }\r\n updateLoadsListAfterBulkUpdate(state.loads, bulkUpdate);\r\n }),\r\n bulkLoadUpdateErrorAction.addCase((state, { data: error }) => {\r\n state.updateLoads.bulkUpdateError = error;\r\n }),\r\n toggleIncludeAllCompanyLoadsAction.addCase((state) => {\r\n state.includeAllCompanyLoads = !state.includeAllCompanyLoads;\r\n }),\r\n resetFiltersAction.addCase((state) => {\r\n state.filters = createDefaultLoadPostSearchRequest();\r\n }),\r\n updateFiltersAction.addCase((state, action) => {\r\n state.filters = { ...state.filters, ...action.data };\r\n }),\r\n {\r\n [FETCH_POSTED_LOADS]: (state: PostLoadState, action: SearchPostedLoadsAction) => {\r\n if (action.searchData) {\r\n state.lastSearchRequest = cloneDeep(action.searchData);\r\n } else {\r\n state.lastSearchRequest.limit = 20;\r\n state.lastSearchRequest.token = undefined;\r\n }\r\n state.isLoadingLoads = true;\r\n state.loads = [];\r\n state.isLastResult = false;\r\n state.nextToken = '';\r\n state.totalLoadsCount = 0;\r\n state.loadFetchError = undefined;\r\n },\r\n [FETCH_NEXT_POSTED_LOADS]: (state: PostLoadState) => {\r\n state.isLoadingLoads = true;\r\n state.loadFetchError = undefined;\r\n },\r\n [POSTED_LOADS_FETCHED]: (state: PostLoadState, responseAction: FetchPostedLoadsResponseAction) => {\r\n const request = responseAction.searchRequest || state.lastSearchRequest;\r\n if (\r\n isEqual(responseAction.searchRequest?.statusFilter, state.lastSearchRequest.statusFilter) ||\r\n responseAction.searchRequest?.statusFilter === undefined\r\n ) {\r\n state.isLoadingLoads = false;\r\n if (!responseAction.response || responseAction.response.error) {\r\n state.isLastResult = true;\r\n } else {\r\n state.lastSearchRequest = request;\r\n\r\n if (responseAction.response?.success && responseAction.response.payload) {\r\n const payload = {\r\n ...responseAction.response.payload,\r\n loads: map(responseAction.response.payload.loads, (postedLoad) => convertPostedLoadToLoad(postedLoad)),\r\n };\r\n\r\n let newLoads: Load[];\r\n if (payload.hasMore || request.token !== '') {\r\n newLoads = mergeLoadLists(state.loads, [], addFetchedTime(payload.loads));\r\n } else {\r\n newLoads = addFetchedTime(payload.loads);\r\n }\r\n state.isLastResult = !payload.hasMore;\r\n state.loads = newLoads;\r\n state.nextToken = payload.token ? payload.token : '';\r\n state.totalLoadsCount = responseAction.isInitialRequest ? (payload.totalCount ?? 0) : state.totalLoadsCount;\r\n } else {\r\n state.loads = [];\r\n state.isLastResult = false;\r\n state.nextToken = '';\r\n state.totalLoadsCount = 0;\r\n }\r\n }\r\n if (!responseAction.response?.success && responseAction.response?.error) {\r\n state.loadFetchError = responseAction.response.error;\r\n }\r\n }\r\n },\r\n [UPDATE_LOAD]: (state: PostLoadState, action: UpdateSingleLoadAction) => {\r\n if (action.load !== undefined) {\r\n const index = findIndex(state.loads, (load) => load.id === action.load?.id);\r\n if (index !== -1) {\r\n const { fetchedAt, pickupDateTimes } = addLoadFetchedTime(Date.now())(\r\n removeLoadDatesTimesIfMidnight(action.load)\r\n );\r\n state.loads[index] = {\r\n posterContactName: state.loads[index].posterContactName,\r\n ...action.load,\r\n pickupDates: pickupDateTimes ? uniqDates(pickupDateTimes) : [],\r\n fetchedAt: fetchedAt,\r\n age: action.load.age || 1,\r\n };\r\n }\r\n }\r\n },\r\n [REFRESH_OFFLINE_LOADS_LIST]: (state: PostLoadState) => {\r\n state.loads = filter(state.loads, (load) => load.status === LoadStatus.Offline);\r\n },\r\n },\r\n]);\r\n\r\nconst searchPostedLoadsEpic$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n client: PostLoadsClient\r\n) =>\r\n action$.ofType(FETCH_POSTED_LOADS).pipe(\r\n mergeMap$((action: SearchPostedLoadsAction) => {\r\n const lastSearchRequest: PosterLoadSearchRequest = state$.value.postedLoads.lastSearchRequest;\r\n const request = action.searchData ? action.searchData : lastSearchRequest;\r\n return client.getPostedLoads$(request).pipe(\r\n map$((response) => {\r\n return response.result(\r\n (data) =>\r\n postedLoadsResponse(\r\n {\r\n success: true,\r\n payload: data,\r\n },\r\n action.searchData,\r\n true\r\n ),\r\n (error) =>\r\n postedLoadsResponse(\r\n {\r\n success: false,\r\n error: error,\r\n },\r\n action.searchData,\r\n true\r\n )\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst searchNextPostedLoadsEpic$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n client: PostLoadsClient\r\n) =>\r\n action$.pipe(\r\n distinctUntilChanged((prevAction, action) => prevAction.type === action.type),\r\n ofType(FETCH_NEXT_POSTED_LOADS),\r\n mergeMap$((): Observable => {\r\n const postState: PostLoadState = state$.value.postedLoads;\r\n if (postState.isLastResult) {\r\n return of$(undefined);\r\n }\r\n const modifiedSearchRequest = {\r\n ...cloneDeep(postState.lastSearchRequest),\r\n token: postState.nextToken,\r\n limit: MY_POSTED_LOADS_REQUEST_LIMIT_APPENDING,\r\n };\r\n return (\r\n client\r\n // Pagination requests do not require all params\r\n .getPostedLoads$({\r\n fields: modifiedSearchRequest.fields,\r\n token: modifiedSearchRequest.token,\r\n limit: modifiedSearchRequest.limit,\r\n })\r\n .pipe(map$((response) => ({ response: response, lastSearchRequest: modifiedSearchRequest })))\r\n );\r\n }),\r\n mergeMap$((paginationResponse) => {\r\n let responseAction: FetchPostedLoadsResponseAction;\r\n if (!paginationResponse) {\r\n responseAction = postedLoadsResponse(undefined);\r\n } else {\r\n responseAction = paginationResponse.response.result(\r\n (data) => {\r\n return postedLoadsResponse(\r\n {\r\n success: true,\r\n payload: data,\r\n },\r\n paginationResponse.lastSearchRequest\r\n );\r\n },\r\n (error) =>\r\n postedLoadsResponse({\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n }\r\n return of$(responseAction);\r\n })\r\n );\r\n\r\nconst generateBulkUpdateRequest$ = (\r\n { data }: ApiAction,\r\n loadsClient: PostLoadsClient\r\n): Observable> => {\r\n const legacySearchQuery = convertPosterLoadSearchRequestToLegacy(data.searchQuery);\r\n if (data.updateType === UpdateCategory.AGE_BULK) {\r\n return data.isExcluded\r\n ? loadsClient.updateLoadsAgeWithExcludeIds$(data.loadIds, legacySearchQuery)\r\n : loadsClient.updateLoadsAge$(data.loadIds);\r\n } else {\r\n return data.isExcluded\r\n ? loadsClient.patchLoadsByQuery$(data.loadIds, data.patch, legacySearchQuery)\r\n : loadsClient.patchLoadsById$(data.loadIds, data.patch);\r\n }\r\n};\r\n\r\nconst bulkLoadUpdate$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n loadsClient: PostLoadsClient\r\n) =>\r\n action$.ofType(bulkLoadUpdateAction.actionType).pipe(\r\n mergeMap$((action: ApiAction) => {\r\n return generateBulkUpdateRequest$(action, loadsClient).pipe(\r\n mergeMap$((response) =>\r\n response.resultWithoutData(\r\n () => {\r\n const nextActions: Action[] = [];\r\n if (action.data.updateType === UpdateCategory.STATUS_BULK) {\r\n nextActions.push(fetchBrokerLoadsSummary(state$.value.postedLoads.includeAllCompanyLoads));\r\n }\r\n nextActions.push(bulkLoadUpdateFulfilledAction.action(createLoadBulkUpdate(action)));\r\n return of$(...nextActions);\r\n },\r\n (error) => of$(bulkLoadUpdateErrorAction.action(error))\r\n )\r\n )\r\n );\r\n })\r\n );\r\n\r\nconst createLoadBulkUpdate = (bulkUpdateAction: ApiAction): LoadBulkUpdate => {\r\n switch (bulkUpdateAction.data.updateType) {\r\n case UpdateCategory.PICKUP_DATES_BULK: {\r\n return {\r\n category: bulkUpdateAction.data.updateType,\r\n dates: bulkUpdateAction.data.patch.pickupDateTimes ?? [],\r\n loadIDs: bulkUpdateAction.data.loadIds,\r\n isExcluded: bulkUpdateAction.data.isExcluded,\r\n };\r\n }\r\n case UpdateCategory.STATUS_BULK: {\r\n return {\r\n category: bulkUpdateAction.data.updateType,\r\n status: bulkUpdateAction.data.patch.status ?? LoadStatus.None,\r\n loadIDs: bulkUpdateAction.data.loadIds,\r\n isExcluded: bulkUpdateAction.data.isExcluded,\r\n };\r\n }\r\n case UpdateCategory.AGE_BULK: {\r\n return {\r\n category: bulkUpdateAction.data.updateType,\r\n age: 1,\r\n loadIDs: bulkUpdateAction.data.loadIds,\r\n isExcluded: bulkUpdateAction.data.isExcluded,\r\n };\r\n }\r\n }\r\n};\r\n\r\nexport const createPostLoadEpic = (api: Api) => {\r\n const loadsClient = new PostLoadsClient(api);\r\n const loadTemplateClient = new LoadTemplatesClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) => {\r\n return merge$(\r\n searchPostedLoadsEpic$(action$, state$, loadsClient),\r\n searchNextPostedLoadsEpic$(action$, state$, loadsClient),\r\n bulkLoadUpdate$(action$, state$, loadsClient),\r\n brokerLoadsSummaryAction.createEpic$(action$, loadsClient.getBrokerLoadsSummary$),\r\n fetchPostedLoadsMetadataAction.createSwitchEpic$(action$, loadsClient.getPostedLoadsMetadata$),\r\n fetchLoadTemplatesAction.createEpic$(action$, loadTemplateClient.fetchLoadTemplates$),\r\n deleteAllLoadTemplatesAction.createEpic$(action$, loadTemplateClient.deleteLoadTemplates$),\r\n setPostedLoadProgressAction.createEpic$(action$, loadsClient.setPostedLoadProgress$),\r\n setPostedLoadStatusAction.createEpic$(action$, ({ loadID, status }) =>\r\n loadsClient.setLoadStatus$(loadID, status)\r\n ),\r\n deletePostedLoadAction.createEpic$(action$, ({ loadID }) => loadsClient.deletePostedLoad$(loadID)),\r\n refreshLoadAgeAction.createEpic$(action$, ({ loadID }) => loadsClient.refreshLoadAge$(loadID))\r\n );\r\n };\r\n};\r\n","import { filter, findIndex } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { UserSettingsClient } from '@/client';\r\nimport {\r\n createDefaultDispatchersRequest,\r\n DispatcherPatchRequest,\r\n DispatcherPostRequest,\r\n DispatcherPostResponse,\r\n DispatchersPayload,\r\n DispatchersRequest,\r\n} from '@/model';\r\nimport { Api } from '@common/api';\r\nimport { compareIds } from '@common/helper';\r\nimport { createApiAction, createApiActionWithFetchData } from '@common/redux/Base';\r\nimport { createPaginatedListReducer, PaginatedListState } from '@common/redux/epic/PaginatedListReducer';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport const POSTING_CONTACTS_REDUCER_KEY = 'postingContacts';\r\n\r\nconst postingContactsPaginationReducer = createPaginatedListReducer<\r\n DispatcherPostResponse,\r\n DispatchersRequest,\r\n DispatchersPayload,\r\n PostingContactsStoreState,\r\n PostingContactsState\r\n>({\r\n reducerKey: POSTING_CONTACTS_REDUCER_KEY,\r\n requestConstants: {\r\n limit: {\r\n default: 10,\r\n appending: 10,\r\n },\r\n offsetIncrement: 10,\r\n },\r\n getEntriesFromResponse: (response) => response.dispatchers,\r\n areEntriesEqual: compareIds,\r\n});\r\n\r\nconst fetchDispatcherAction = createApiAction('FETCH_DISPATCHER');\r\nexport const editDispatcherAction = createApiAction<\r\n { guid: string; data: DispatcherPatchRequest },\r\n DispatcherPostResponse\r\n>('EDIT_DISPATCHER');\r\nexport const deleteDispatcherAction = createApiActionWithFetchData('DELETE_DISPATCHER');\r\nconst addDispatcherAction = createApiAction('ADD_DISPATCHER');\r\n\r\nexport const fetchDispatchers = postingContactsPaginationReducer.actions.fetchEntries;\r\nexport const fetchMoreDispatchers = postingContactsPaginationReducer.actions.fetchMoreEntries;\r\nexport const fetchDispatcher = (guid: string) => fetchDispatcherAction.fetchAction(guid);\r\nexport const editDispatcher = (id: string, data: DispatcherPatchRequest) =>\r\n editDispatcherAction.fetchAction({ guid: id, data: data });\r\nexport const addDispatcher = (dispatcher: DispatcherPostRequest) => addDispatcherAction.fetchAction(dispatcher);\r\nexport const deleteDispatcher = (id: string) => deleteDispatcherAction.fetchAction(id);\r\n\r\nexport interface PostingContactsState extends PaginatedListState {\r\n selectedPostingContact?: DispatcherPostResponse;\r\n isLoadingDispatcher: boolean;\r\n wasAddedSuccessfully?: boolean;\r\n wasUpdatedSuccessfully?: boolean;\r\n wasDeletedSuccessfully?: boolean;\r\n}\r\n\r\ninterface PostingContactsStoreState {\r\n [POSTING_CONTACTS_REDUCER_KEY]: PostingContactsState;\r\n}\r\n\r\nconst initialState: PostingContactsState = {\r\n fetchRequest: createDefaultDispatchersRequest(),\r\n isLoading: false,\r\n didLoadingFail: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n isLastResult: false,\r\n isLoadingDispatcher: false,\r\n};\r\n\r\nexport const postingContactsReducer = createMergedReducer(\r\n initialState,\r\n [\r\n fetchDispatcherAction.initiateCase((state) => {\r\n state.isLoadingDispatcher = true;\r\n }),\r\n fetchDispatcherAction.completeCase((state, action) => {\r\n state.isLoadingDispatcher = false;\r\n if (action.response.success) {\r\n state.selectedPostingContact = action.response.payload;\r\n }\r\n }),\r\n addDispatcherAction.initiateCase((state) => {\r\n unsetSuccessfulFields(state);\r\n }),\r\n addDispatcherAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.entries = state.entries\r\n ? [...state.entries.slice(0, 1), action.response.payload, ...state.entries.slice(1)]\r\n : []; // inserting element to 1 position (after default dispatcher)\r\n }\r\n state.wasAddedSuccessfully = action.response.success;\r\n }),\r\n editDispatcherAction.initiateCase((state) => {\r\n unsetSuccessfulFields(state);\r\n }),\r\n editDispatcherAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const dispatcherAfterUpdate = action.response.payload;\r\n const updatedDispatcherIndex = findIndex(state.entries, (item) => item.id === dispatcherAfterUpdate.id);\r\n if (state.entries && updatedDispatcherIndex > -1) {\r\n state.entries[updatedDispatcherIndex] = dispatcherAfterUpdate;\r\n }\r\n }\r\n state.wasUpdatedSuccessfully = action.response.success;\r\n }),\r\n deleteDispatcherAction.initiateCase((state) => {\r\n unsetSuccessfulFields(state);\r\n }),\r\n deleteDispatcherAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.entries = filter(state.entries, (postingContact) => postingContact.id !== action.fetchData);\r\n }\r\n state.wasDeletedSuccessfully = action.response.success;\r\n }),\r\n ],\r\n postingContactsPaginationReducer.reducer\r\n);\r\n\r\nconst unsetSuccessfulFields = (state: PostingContactsState) => {\r\n state.wasAddedSuccessfully = undefined;\r\n state.wasUpdatedSuccessfully = undefined;\r\n state.wasDeletedSuccessfully = undefined;\r\n};\r\n\r\nexport const createPostingContactsEpic = (api: Api) => {\r\n const client = new UserSettingsClient(api);\r\n\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n postingContactsPaginationReducer.createMergedEpic$(client.getDispatchersList$, action$, state$),\r\n fetchDispatcherAction.createEpic$(action$, (data) => client.getDispatcher$(data)),\r\n editDispatcherAction.createEpic$(action$, (data) => client.editDispatcher$(data.guid, data.data)),\r\n addDispatcherAction.createEpic$(action$, (data) => client.addDispatcher$(data)),\r\n deleteDispatcherAction.createEpic$(action$, (data) => client.deleteDispatcher$(data))\r\n );\r\n};\r\n","import { compact, concat, forEach, isEmpty, map, reduce, replace, split, without } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$, of as of$ } from 'rxjs';\r\nimport { filter as filter$, map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport {\r\n AddPrivateNetworkMembers,\r\n DeletePrivateNetworkMembers,\r\n FetchLoadBoardResponse,\r\n FetchPrivateNetworkMembers,\r\n getLoadBoardType,\r\n InvalidMembersResponse,\r\n LoadBoardType,\r\n PrivateMemberSortDirection,\r\n WhiteListResponse,\r\n} from '@/model';\r\nimport { Api, ApiError } from '@common/api';\r\nimport { ApiAction, createAction, createApiAction, createApiActionWithFetchData } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\nimport { PrivateNetworkClient } from '@webApi/PrivateNetworkClient';\r\n\r\nexport interface LoadBoard {\r\n type: LoadBoardType;\r\n whiteList: NormalizedList;\r\n isLoading: boolean;\r\n error: ApiError | undefined;\r\n isDeletingItems: boolean;\r\n recentlyAddedNumbers: { invalid: string[]; valid: string[] };\r\n isAddingItems: boolean | undefined;\r\n}\r\n\r\ninterface Checkable {\r\n isChecked: boolean;\r\n}\r\n\r\nexport interface CheckableListItems {\r\n [id: string]: Checkable;\r\n}\r\n\r\ninterface NormalizedList {\r\n ui: string[];\r\n entities: CheckableListItems;\r\n}\r\n\r\nexport interface PrivateNetworkState {\r\n isLoadingLoadBoards: boolean;\r\n loadBoards: {\r\n [id: string]: LoadBoard | undefined;\r\n };\r\n defaultLoadBoardId: string | undefined;\r\n loadBoardError: ApiError | undefined;\r\n}\r\n\r\ninterface UpdateCheckedStatus {\r\n id: string;\r\n usDotNumber: CheckableListItems;\r\n}\r\n\r\nexport const getDefaultLoadBoard = createApiAction('FETCH_USER_LOAD_BOARDS');\r\nexport const addWhiteListItems = createApiActionWithFetchData(\r\n 'ADD_WHITELIST_ITEMS'\r\n);\r\nexport const getWhiteList = createApiActionWithFetchData(\r\n 'FETCH_WHITE_LIST'\r\n);\r\nexport const deleteWhiteListItems = createApiActionWithFetchData(\r\n 'DELETE_WHITELIST_ITEMS'\r\n);\r\nexport const changeCheckedStatus = createAction('UPDATE_CHECKED_STATUS');\r\nexport const clearRecentlyAddedNumbers = createAction('CLEAR_INVALID_NUMBERS');\r\nexport const clearLoadBoardError = createAction('CLEAR_LOAD_BOARD_ERROR');\r\nexport const retryAddWhitelistItems = createAction('RETRY_ADD_WHITE_LIST_ITEMS');\r\nexport const resetInvalidDotNumbers = createAction('RESET_INVALID_DOT_NUMBERS');\r\n\r\nexport const initialState: PrivateNetworkState = {\r\n isLoadingLoadBoards: false,\r\n loadBoards: {},\r\n loadBoardError: undefined,\r\n defaultLoadBoardId: undefined,\r\n};\r\n\r\nexport const privateNetworkReducer = createMergedReducer(initialState, [\r\n getDefaultLoadBoard.initiateCase((state) => {\r\n state.loadBoardError = undefined;\r\n state.isLoadingLoadBoards = true;\r\n }),\r\n\r\n getDefaultLoadBoard.completeCase((state, action) => {\r\n state.isLoadingLoadBoards = false;\r\n if (action.response.success) {\r\n state.loadBoards[action.response.payload.id] = {\r\n type: getLoadBoardType(action.response.payload.type),\r\n isLoading: false,\r\n whiteList: {\r\n ui: [],\r\n entities: {},\r\n },\r\n error: undefined,\r\n isDeletingItems: false,\r\n recentlyAddedNumbers: { valid: [], invalid: [] },\r\n isAddingItems: undefined,\r\n };\r\n state.defaultLoadBoardId = action.response.payload.id;\r\n } else {\r\n state.loadBoardError = action.response.error;\r\n }\r\n }),\r\n\r\n getWhiteList.initiateCase((state, action) => {\r\n const loadBoard = action.data?.id && state.loadBoards[action.data.id];\r\n if (loadBoard) {\r\n loadBoard.isLoading = true;\r\n }\r\n }),\r\n\r\n getWhiteList.completeCase((state, action) => {\r\n const loadBoard = action.fetchData?.id && state.loadBoards[action.fetchData.id];\r\n if (!loadBoard) {\r\n return;\r\n }\r\n loadBoard.isLoading = false;\r\n if (action.response.success) {\r\n loadBoard.whiteList = normalizeWhitelist(action.response.payload.dotNumbers, loadBoard.whiteList.entities);\r\n } else {\r\n loadBoard.error = action.response.error;\r\n }\r\n }),\r\n\r\n changeCheckedStatus.addCase((state, action) => {\r\n const loadBoard = state.loadBoards[action.data.id];\r\n\r\n if (loadBoard) {\r\n forEach(action.data.usDotNumber, (checkStatus, usDotNumber) => {\r\n loadBoard.whiteList.entities[usDotNumber] = checkStatus;\r\n });\r\n }\r\n }),\r\n\r\n deleteWhiteListItems.initiateCase((state, action) => {\r\n const loadBoard = action.data?.id && state.loadBoards[action.data.id];\r\n if (!loadBoard) {\r\n return;\r\n }\r\n\r\n loadBoard.isDeletingItems = true;\r\n }),\r\n\r\n deleteWhiteListItems.completeCase((state, action) => {\r\n const loadBoard = action.fetchData?.id && state.loadBoards[action.fetchData.id];\r\n\r\n if (!loadBoard) {\r\n return;\r\n }\r\n loadBoard.isDeletingItems = false;\r\n if (action.response.success) {\r\n loadBoard.whiteList.ui = without(loadBoard.whiteList.ui, ...(action.fetchData?.usDotNumber || []));\r\n forEach(action.fetchData?.usDotNumber, (id) => delete loadBoard.whiteList.entities[id]);\r\n } else {\r\n loadBoard.error = action.response.error;\r\n }\r\n }),\r\n\r\n addWhiteListItems.initiateCase((state, action) => {\r\n const loadBoard = action.data?.id && state.loadBoards[action.data.id];\r\n if (!loadBoard) {\r\n return;\r\n }\r\n if (isEmpty(action.data.validDotNumbers)) {\r\n loadBoard.isAddingItems = false;\r\n } else {\r\n loadBoard.isAddingItems = true;\r\n }\r\n loadBoard.recentlyAddedNumbers.valid = action.data.validDotNumbers;\r\n loadBoard.recentlyAddedNumbers.invalid = action.data.invalidDotNumbers;\r\n }),\r\n\r\n addWhiteListItems.completeCase((state, action) => {\r\n const loadBoard = action.fetchData?.id && state.loadBoards[action.fetchData.id];\r\n if (!loadBoard) {\r\n return;\r\n }\r\n loadBoard.isAddingItems = false;\r\n loadBoard.whiteList = { entities: {}, ui: [] };\r\n if (action.response.success) {\r\n loadBoard.recentlyAddedNumbers.invalid = concat(\r\n loadBoard.recentlyAddedNumbers.invalid,\r\n action.response.payload.invalidDotNumbers\r\n );\r\n } else {\r\n loadBoard.recentlyAddedNumbers.invalid = compact(\r\n concat(loadBoard.recentlyAddedNumbers.valid, loadBoard.recentlyAddedNumbers.invalid)\r\n );\r\n loadBoard.error = action.response.error;\r\n }\r\n }),\r\n\r\n clearLoadBoardError.addCase((state, action) => {\r\n const loadBoard = state.loadBoards[action.data];\r\n if (loadBoard) {\r\n loadBoard.error = undefined;\r\n }\r\n }),\r\n\r\n retryAddWhitelistItems.addCase((state, action) => {\r\n const loadBoard = state.loadBoards[action.data];\r\n if (loadBoard) {\r\n loadBoard.isAddingItems = undefined;\r\n loadBoard.error = undefined;\r\n }\r\n }),\r\n\r\n clearRecentlyAddedNumbers.addCase((state, action) => {\r\n const loadBoard = state.loadBoards[action.data];\r\n if (loadBoard) {\r\n loadBoard.isAddingItems = undefined;\r\n loadBoard.error = undefined;\r\n loadBoard.recentlyAddedNumbers = { valid: [], invalid: [] };\r\n }\r\n }),\r\n]);\r\n\r\nconst normalizeWhitelist = (whiteList: string[], existingWhiteList: CheckableListItems): NormalizedList => ({\r\n ui: whiteList,\r\n entities: reduce(\r\n whiteList,\r\n (accumulator, dotNumber) => {\r\n accumulator[dotNumber] = { isChecked: existingWhiteList[dotNumber]?.isChecked || false };\r\n return accumulator;\r\n },\r\n {} as CheckableListItems\r\n ),\r\n});\r\n\r\nconst deleteWhiteListItems$ = (action$: ActionsObservable, client: PrivateNetworkClient) =>\r\n action$\r\n .ofType(deleteWhiteListItems.fetchType)\r\n .pipe(\r\n mergeMap$((action: ApiAction) =>\r\n client\r\n .deleteWhiteListItems$(action.data)\r\n .pipe(\r\n mergeMap$((response) =>\r\n of$(\r\n deleteWhiteListItems.responseAction(response, action),\r\n getWhiteList.fetchAction({ id: action.data.id, sortOrder: PrivateMemberSortDirection.ascending })\r\n )\r\n )\r\n )\r\n )\r\n );\r\n\r\nconst addWhiteListItems$ = (action$: ActionsObservable, client: PrivateNetworkClient) =>\r\n action$.ofType(addWhiteListItems.fetchType).pipe(\r\n filter$((action: ApiAction) => !isEmpty(action.data.validDotNumbers)),\r\n mergeMap$((action) =>\r\n client\r\n .addWhiteListItems$(action.data)\r\n .pipe(map$((response) => addWhiteListItems.responseAction(response, action)))\r\n )\r\n );\r\n\r\nexport const createPrivateNetworkEpic = (api: Api) => {\r\n const client = new PrivateNetworkClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n getDefaultLoadBoard.createEpic$(action$, client.getDefaultLoadBoard$),\r\n getWhiteList.createEpic$(action$, client.getWhiteList$),\r\n addWhiteListItems$(action$, client),\r\n deleteWhiteListItems$(action$, client)\r\n );\r\n};\r\n\r\nexport const splitValue = (value: string): string[] => {\r\n const splitValues = split(value, /\\n|,/g);\r\n const removedWhiteSpace = map(splitValues, (str) => replace(str, /\\s/g, ''));\r\n const removedEmpty = compact(removedWhiteSpace);\r\n return removedEmpty;\r\n};\r\n","import { push } from 'connected-react-router';\r\nimport { cloneDeep, compact, find, first, get, isEmpty, isNil, map } from 'lodash';\r\nimport { generatePath } from 'react-router';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { concat as concat$, from as from$, iif as if$, merge as merge$, Observable, of as of$, Subscriber } from 'rxjs';\r\nimport { filter as filter$, map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { DispatcherPostResponse } from '@/model';\r\nimport { blockCarriersBulkAction, favoriteCarriersBulkAction } from '@/reduxStore/epic/CarrierEpic';\r\nimport { deleteDispatcherAction, editDispatcherAction } from '@/reduxStore/epic/PostingContactsEpic';\r\nimport {\r\n CLONE_LOAD_FULFILLED,\r\n EDIT_LOAD_FULFILLED,\r\n LoadActionResponse,\r\n POST_LOAD_FULFILLED,\r\n setLastUsedPostingContact,\r\n setSelectedPostingContact,\r\n setValidationFields,\r\n} from '@/reduxStore/epic/postLoad/PostLoadFormEpic';\r\nimport { PostLoadFormFieldsState } from '@/reduxStore/epic/postLoad/PostLoadFormStateHelper';\r\nimport {\r\n deletePostedLoadAction,\r\n fetchBrokerLoadsSummary,\r\n fetchPostedLoads,\r\n PostedLoadDeletedAction,\r\n RefreshedLoadAgeAction,\r\n refreshLoadAgeAction,\r\n refreshOfflineLoadsList,\r\n setPostedLoadProgressAction,\r\n setPostedLoadStatusAction,\r\n UpdatedLoadStatusAction,\r\n updateSingleLoad,\r\n} from '@/reduxStore/epic/PostLoadEpic';\r\nimport { updateTrucks } from '@/reduxStore/epic/TruckEpic';\r\nimport { history } from '@/reduxStore/History';\r\nimport { mapApiErrorFieldsToFormValidationFields } from '@/reduxStore/reducer/FormValidationReducer';\r\nimport { showSnackbar } from '@/reduxStore/reducer/SnackbarReducer';\r\nimport { triggerTruckAction, TruckAction } from '@/reduxStore/reducer/TruckReducer';\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { Routes } from '@/router/Routes';\r\nimport { Api } from '@common/api';\r\nimport { GeocodingClient } from '@common/client/GeocodingClient';\r\nimport { UserPlanManagementClient } from '@common/client/UserPlanManagementClient';\r\nimport { serverRFCDateToYYYYMMDD, valueForOriginLocation } from '@common/helper';\r\nimport { LoadAction, loadGeolocationFrom, LoadUpdate, UpdateCategory } from '@common/helper/LoadHelper';\r\nimport { MYLOADS_FILTERS_LIST } from '@common/helper/MyLoadsHelper';\r\nimport {\r\n EquipmentType,\r\n Geolocation,\r\n INITIAL_SEARCH_LIMIT,\r\n LoadAvailabilitySortCategory,\r\n LoadLocation,\r\n LoadProgress,\r\n LoadSearchGeoResponse,\r\n LocationType,\r\n PayRateUnit,\r\n PostsFilter,\r\n SearchMetadataType,\r\n SetPostedLoadProgressRequest,\r\n} from '@common/model';\r\nimport { LOAD_FEEDBACK_CATEGORY } from '@common/model/LoadFeedbackRequest';\r\nimport { EmptyResponse, ResponseAction } from '@common/redux/Base';\r\nimport { addVendorBid } from '@common/redux/epic/bids/VendorBidsEpic';\r\nimport {\r\n BlockedCompanyResponseAction,\r\n BROKER_FAVORITED,\r\n BROKER_HIDDEN,\r\n BROKER_ONBOARDED,\r\n CompanyResponseAction,\r\n} from '@common/redux/epic/BrokerEpic';\r\nimport { CARRIER_FAVORITED, CARRIER_HIDDEN, CARRIER_ONBOARDED, getCompanyInfo } from '@common/redux/epic/CompanyEpic';\r\nimport {\r\n deleteFolderResponse,\r\n DOCUMENT_DELETED,\r\n DOCUMENT_FOLDER_UPDATED,\r\n DOCUMENT_TYPE_UPDATED,\r\n DocumentDeletedResponseAction,\r\n fetchCustomFolders,\r\n fetchDefaultFolders,\r\n fetchDocumentsCount,\r\n} from '@common/redux/epic/DocumentsEpic';\r\nimport { clearInboxMessagesAction, markAsReadAction } from '@common/redux/epic/InboxEpic';\r\nimport {\r\n fetchLoadAvailabilities,\r\n refreshLoadCount as refreshLoadAvailabilityCount,\r\n searchLoads as searchLoadsAvailability,\r\n updateLastSearch as updateLastAvailabilitySearch,\r\n updateListSearch as updateListAvailabilitySearch,\r\n updateLoadAvailabilityLoads,\r\n} from '@common/redux/epic/LoadAvailabilityEpic';\r\nimport { clearCurrentLoad, fetchLoadDetails, updateLoadDetails } from '@common/redux/epic/LoadDetailsEpic';\r\nimport { fetchRouteMap } from '@common/redux/epic/LoadDetailsMapEpic';\r\nimport { RECEIVE_LOAD_FEEDBACK_RESPONSE, ReceiveLoadFeedbackResponse } from '@common/redux/epic/LoadFeedbackEpic';\r\nimport {\r\n ADD_NOTE_FULFILLED,\r\n ADD_PRIVATE_LOAD_NOTE_FULFILLED,\r\n AddNoteResponseAction,\r\n AddPrivateLoadNoteResponseAction,\r\n BidOnVendorLoadResponseAction,\r\n BOOK_NOW_SENT,\r\n BookNowSentResponseAction,\r\n CALL_LOAD_FULFILLED,\r\n CalledLoadResponseAction,\r\n fetchLoadBackhauls,\r\n HIDE_LOAD_FULFILLED,\r\n HideLoadResponseAction,\r\n REMOVE_LOAD,\r\n SAVE_LOAD_FULFILLED,\r\n SaveLoadResponseAction,\r\n SEND_EMAIL_TO_BROKER_FULFILLED,\r\n SendEmailToBrokerResponseAction,\r\n SENT_BID_VENDOR_LOAD,\r\n SET_PROGRESS_FULFILLED,\r\n SetProgressResponseAction,\r\n} from '@common/redux/epic/LoadInfoEpic';\r\nimport { LoadSearchType } from '@common/redux/epic/loadSearch';\r\nimport {\r\n refreshCompanySearchLoadCount,\r\n searchLoads as fetchCompanySearchLoads,\r\n updateCompanySearchLoads,\r\n updateLastSearch as updateLastCompanySearch,\r\n} from '@common/redux/epic/loadSearch/CompanySearchEpic';\r\nimport { PersistentSearch } from '@common/redux/epic/loadSearch/HelperFunctions';\r\nimport { backhaulsActions } from '@common/redux/epic/loadSearch/LoadSearchBackhaulsEpic';\r\nimport {\r\n refreshLoadCount,\r\n searchLoads,\r\n setSelectedSearch,\r\n updateLastSearch,\r\n updateListSearch,\r\n updateLoads,\r\n} from '@common/redux/epic/loadSearch/LoadSearchEpic';\r\nimport {\r\n companyMapSearchActionKeys,\r\n companyMapSearchActions,\r\n mapSearchActionKeys,\r\n mapSearchActions,\r\n} from '@common/redux/epic/loadSearch/MapSearchEpic';\r\nimport { fetchMyLoadsTotalCount, updateMyLoads } from '@common/redux/epic/MyLoadsEpic';\r\nimport { getTruckAvailabilities, getTruckAvailabilityCount } from '@common/redux/epic/PostTruckEpic';\r\nimport { updateTripLoads } from '@common/redux/epic/TripBuilderEpic';\r\nimport { UPLOAD_NEW_DOCUMENT_SENT } from '@common/redux/epic/UploadFileEpic';\r\nimport { fetchUserInboxMessageUpdated } from '@common/redux/epic/UserEpic';\r\nimport {\r\n fetchMembershipsData,\r\n fetchMembershipsDataAction,\r\n fetchUserPlansAction,\r\n fetchUserPlansWithoutPromoCode,\r\n} from '@common/redux/epic/UserPlanManagementEpic';\r\nimport { DeleteSingleTruckResponseAction, TRUCK_DELETED } from '@common/redux/epic/UserTrucksEpic';\r\nimport { SubRoutes } from '@component/panels/truckPost/TruckPostLists';\r\nimport { loadSearchRequestEncoder } from '@page/findLoads/LoadSearchRequestEncoder';\r\nimport { FindLoadsRouteParams } from '@page/findLoads/RouteParams';\r\nimport { loadAvailabilityEncoder, LoadAvailabilityRouting } from '@page/loadAvailability/LoadAvailabilityEncoder';\r\nimport { getIsDensityMap } from '@page/loadAvailability/Utility';\r\nimport { PostLoadsRouteParams } from '@page/postLoads/RouteParams';\r\nimport { T, t } from '@translate';\r\nimport { TruckUpdateActionTypes } from '@util/TruckDataHelper';\r\nimport { decodeMatchParams } from '@util/UrlParamsHelper';\r\n\r\nconst updateHiddenCompanyLoads$ = (action$: ActionsObservable, state$: StateObservable) =>\r\n action$.ofType(BROKER_HIDDEN).pipe(\r\n mergeMap$((action: BlockedCompanyResponseAction) => {\r\n //if you delete blocked companies we need a refresh of the loads\r\n return if$(\r\n () => action.updated && action.updated.length > 0,\r\n Observable.create((observer: Subscriber) => {\r\n const posterUpdate = first(action.updated);\r\n if (!posterUpdate) {\r\n return;\r\n }\r\n const loadUpdate: LoadUpdate = {\r\n category: UpdateCategory.BLOCKED,\r\n posterID: posterUpdate.id,\r\n isBlocked: posterUpdate.value,\r\n };\r\n const loadAvailabilityObject = loadAvailabilityEncoder.convertUrlParamsToLoadAvailabilityRouting(\r\n history.location.search\r\n );\r\n const loadAvailabilityParams = decodeMatchParams(\r\n history.location.pathname,\r\n Routes.LOADS_LOAD_AVAILABILITY\r\n );\r\n const lastSearchRequestForMap = loadAvailabilityParams\r\n ? state$.value.loadAvailability.lastSearchRequest\r\n : state$.value.loadSearch.lastSearchRequest;\r\n observer.next(searchLoads());\r\n observer.next(fetchCompanySearchLoads());\r\n observer.next(backhaulsActions.searchLoads());\r\n observer.next(mapSearchActions.searchLoads());\r\n observer.next(companyMapSearchActions.searchLoads());\r\n observer.next(updateMyLoads(loadUpdate));\r\n // in MyLoads and Notifications, it's possible to unblock a poster\r\n // from load details. this action ensures the load details UI reflects\r\n // the change (unblock)\r\n observer.next(updateLoadDetails(LoadSearchType.LoadSearch, loadUpdate));\r\n observer.next(updateLoadDetails(LoadSearchType.Backhaul, loadUpdate));\r\n observer.next(updateLoadDetails(LoadSearchType.CompanySearch, loadUpdate));\r\n observer.next(updateLoadDetails(LoadSearchType.Posted, loadUpdate));\r\n loadUpdate.shouldRemoveLoad = true;\r\n observer.next(updateLoads(loadUpdate));\r\n observer.next(updateLoadAvailabilityLoads(loadUpdate));\r\n observer.next(updateCompanySearchLoads(loadUpdate));\r\n observer.next(backhaulsActions.updateBackhaulLoads(loadUpdate));\r\n observer.next(updateMyLoads({ ...loadUpdate, shouldRemoveLoad: false }));\r\n observer.next(mapSearchActions.updateMapSearchLoads(loadUpdate));\r\n observer.next(companyMapSearchActions.updateMapSearchLoads(loadUpdate));\r\n observer.next(refreshLoadCount(state$.value.loadSearch.listSearchRequest));\r\n observer.next(refreshCompanySearchLoadCount(state$.value.companySearch.listSearchRequest));\r\n observer.next(backhaulsActions.refreshBackhaulsLoadCount(state$.value.backhauls.lastSearchRequest));\r\n observer.next(mapSearchActions.refreshMapSearchLoadCount(state$.value.mapSearch.lastSearchRequest));\r\n observer.next(\r\n companyMapSearchActions.refreshMapSearchLoadCount(state$.value.companyMapSearch.lastSearchRequest)\r\n );\r\n observer.next(mapSearchActions.fetchGeoLoads(lastSearchRequestForMap));\r\n observer.next(companyMapSearchActions.fetchGeoLoads(state$.value.companyMapSearch.lastSearchRequest));\r\n observer.next(refreshLoadAvailabilityCount(state$.value.loadAvailability.listSearchRequest));\r\n if (state$.value.loadDetails.currentLoad) {\r\n if (state$.value.loadAvailability.selectedSearch?.id) {\r\n observer.next(\r\n fetchLoadBackhauls(\r\n state$.value.loadDetails.currentLoad.id,\r\n state$.value.loadAvailability.selectedSearch.id\r\n )\r\n );\r\n } else if (state$.value.loadSearch.selectedSearch?.id) {\r\n observer.next(\r\n fetchLoadBackhauls(state$.value.loadDetails.currentLoad.id, state$.value.loadSearch.selectedSearch.id)\r\n );\r\n }\r\n }\r\n if (loadAvailabilityObject?.region && loadAvailabilityObject?.equipmentType) {\r\n observer.next(\r\n fetchLoadAvailabilities(\r\n loadAvailabilityObject?.equipmentType ?? [EquipmentType.All],\r\n loadAvailabilityObject?.region ?? LoadAvailabilitySortCategory.USA\r\n )\r\n );\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst addVendorBidAfterBidSubmission$ = (action$: ActionsObservable) =>\r\n action$.ofType(SENT_BID_VENDOR_LOAD).pipe(\r\n mergeMap$((responseAction: BidOnVendorLoadResponseAction) =>\r\n if$(\r\n () => (responseAction.response.success && responseAction.response.payload ? true : false),\r\n of$(\r\n addVendorBid({\r\n ...responseAction.request,\r\n loadId: responseAction.loadID,\r\n createdOn: responseAction.response.payload?.submittedOn ?? '',\r\n rate: { amount: responseAction.request.amount, type: PayRateUnit.Flat },\r\n })\r\n )\r\n )\r\n )\r\n );\r\n\r\nconst updateLoads$ = (action$: ActionsObservable) =>\r\n action$\r\n .ofType(\r\n SAVE_LOAD_FULFILLED,\r\n RECEIVE_LOAD_FEEDBACK_RESPONSE,\r\n BROKER_FAVORITED,\r\n BROKER_ONBOARDED,\r\n ADD_NOTE_FULFILLED,\r\n ADD_PRIVATE_LOAD_NOTE_FULFILLED,\r\n SET_PROGRESS_FULFILLED,\r\n REMOVE_LOAD,\r\n SEND_EMAIL_TO_BROKER_FULFILLED,\r\n SENT_BID_VENDOR_LOAD,\r\n BOOK_NOW_SENT,\r\n CALL_LOAD_FULFILLED,\r\n HIDE_LOAD_FULFILLED,\r\n setPostedLoadProgressAction.responseType\r\n )\r\n .pipe(\r\n mergeMap$((action: Action) => {\r\n let loadUpdate: LoadUpdate | undefined;\r\n switch (action.type) {\r\n case SAVE_LOAD_FULFILLED: {\r\n loadUpdate = {\r\n loadID: (action as LoadAction).loadID,\r\n category: UpdateCategory.SAVED,\r\n isSaved: (action as SaveLoadResponseAction).didSave,\r\n };\r\n break;\r\n }\r\n case HIDE_LOAD_FULFILLED: {\r\n const didHide = (action as HideLoadResponseAction).didHide;\r\n loadUpdate = {\r\n loadID: (action as LoadAction).loadID,\r\n category: UpdateCategory.HIDDEN,\r\n isHidden: didHide,\r\n };\r\n break;\r\n }\r\n case BROKER_FAVORITED: {\r\n const favoriteAction = action as CompanyResponseAction;\r\n const favorited = first(favoriteAction.updated);\r\n if (favorited) {\r\n loadUpdate = {\r\n category: UpdateCategory.FAVORITE,\r\n posterID: favorited.id,\r\n isFavorited: favorited.value,\r\n };\r\n }\r\n break;\r\n }\r\n case BROKER_ONBOARDED: {\r\n const onboardedAction = action as CompanyResponseAction;\r\n const onboarded = first(onboardedAction.updated);\r\n if (onboarded) {\r\n loadUpdate = {\r\n category: UpdateCategory.ONBOARDED,\r\n posterID: onboarded.id,\r\n isOnboarded: onboarded.value,\r\n };\r\n }\r\n break;\r\n }\r\n case ADD_NOTE_FULFILLED: {\r\n loadUpdate = {\r\n loadID: (action as LoadAction).loadID,\r\n category: UpdateCategory.NOTE,\r\n note: (action as AddNoteResponseAction).note,\r\n };\r\n break;\r\n }\r\n case ADD_PRIVATE_LOAD_NOTE_FULFILLED: {\r\n const privateNoteAction = action as AddPrivateLoadNoteResponseAction;\r\n loadUpdate = {\r\n loadID: (action as LoadAction).loadID,\r\n category: UpdateCategory.PRIVATELOADNOTE,\r\n privateLoadNote: privateNoteAction.privateLoadNote,\r\n };\r\n break;\r\n }\r\n case SET_PROGRESS_FULFILLED: {\r\n const updateAction = action as SetProgressResponseAction;\r\n if (updateAction.response.success) {\r\n loadUpdate = {\r\n loadID: updateAction.loadID,\r\n category: UpdateCategory.PROGRESS,\r\n progress: updateAction.progress,\r\n isSaved: false,\r\n };\r\n }\r\n break;\r\n }\r\n case REMOVE_LOAD: {\r\n const updateAction = action as LoadAction;\r\n loadUpdate = {\r\n loadID: updateAction.loadID,\r\n category: UpdateCategory.HIDDEN,\r\n isHidden: true,\r\n };\r\n break;\r\n }\r\n case SEND_EMAIL_TO_BROKER_FULFILLED: {\r\n const sendEmailAction = action as SendEmailToBrokerResponseAction;\r\n loadUpdate = {\r\n loadID: sendEmailAction.loadID,\r\n category: UpdateCategory.EMAILED,\r\n isEmailed: sendEmailAction.response.success,\r\n };\r\n break;\r\n }\r\n case SENT_BID_VENDOR_LOAD: {\r\n const vendorBidAction = action as BidOnVendorLoadResponseAction;\r\n if (vendorBidAction.response.success) {\r\n loadUpdate = {\r\n loadID: vendorBidAction.loadID,\r\n category: UpdateCategory.VENDOR_BID_SENT,\r\n bid: {\r\n amount: vendorBidAction.request.amount,\r\n submittedOn: vendorBidAction.response.payload?.submittedOn ?? '',\r\n },\r\n };\r\n }\r\n break;\r\n }\r\n case BOOK_NOW_SENT: {\r\n const bookNowSentAction = action as BookNowSentResponseAction;\r\n loadUpdate = {\r\n loadID: bookNowSentAction.loadID,\r\n category: UpdateCategory.BOOK_NOW_SENT,\r\n bookNow: bookNowSentAction.response.payload,\r\n errorCode: bookNowSentAction.response.error?.code,\r\n };\r\n break;\r\n }\r\n case CALL_LOAD_FULFILLED: {\r\n const calledLoadAction = action as CalledLoadResponseAction;\r\n loadUpdate = {\r\n loadID: calledLoadAction.loadID,\r\n category: UpdateCategory.CALLED,\r\n isCalled: calledLoadAction.isCalled,\r\n };\r\n break;\r\n }\r\n\r\n case setPostedLoadProgressAction.responseType: {\r\n const updateAction = action as ResponseAction;\r\n if (updateAction.fetchData && !updateAction.response.error) {\r\n loadUpdate = {\r\n loadID: updateAction.fetchData.loadID,\r\n category: UpdateCategory.POSTED_PROGRESS,\r\n progress: updateAction.fetchData.progress,\r\n dotNo: updateAction.fetchData.dotNo,\r\n };\r\n }\r\n break;\r\n }\r\n\r\n //We only have 2 cases, so it's fine. if we add more update types, then remember to add here.\r\n default: {\r\n const updateAction = action as ReceiveLoadFeedbackResponse;\r\n if (updateAction.category === LOAD_FEEDBACK_CATEGORY.CALLED) {\r\n loadUpdate = {\r\n loadID: updateAction.loadID,\r\n category: UpdateCategory.CALLED,\r\n isCalled: true,\r\n };\r\n }\r\n if (updateAction.category === LOAD_FEEDBACK_CATEGORY.PROGRESS) {\r\n loadUpdate = {\r\n loadID: updateAction.loadID,\r\n category: UpdateCategory.PROGRESS,\r\n progress: updateAction.value as LoadProgress,\r\n };\r\n }\r\n }\r\n }\r\n\r\n return if$(\r\n () => !isNil(loadUpdate),\r\n from$(\r\n //Load update validated above. be carefull not removing the isNil\r\n [\r\n updateLoadDetails(LoadSearchType.LoadSearch, loadUpdate as LoadUpdate),\r\n updateLoadDetails(LoadSearchType.Backhaul, loadUpdate as LoadUpdate),\r\n updateLoadDetails(LoadSearchType.CompanySearch, loadUpdate as LoadUpdate),\r\n updateLoadDetails(LoadSearchType.Posted, loadUpdate as LoadUpdate),\r\n updateLoads(loadUpdate as LoadUpdate),\r\n updateLoadAvailabilityLoads(loadUpdate as LoadUpdate),\r\n backhaulsActions.updateBackhaulLoads(loadUpdate as LoadUpdate),\r\n updateMyLoads(loadUpdate as LoadUpdate),\r\n mapSearchActions.updateMapSearchLoads(loadUpdate as LoadUpdate),\r\n updateCompanySearchLoads(loadUpdate as LoadUpdate),\r\n companyMapSearchActions.updateMapSearchLoads(loadUpdate as LoadUpdate),\r\n updateTripLoads(loadUpdate as LoadUpdate),\r\n ]\r\n )\r\n );\r\n })\r\n );\r\n\r\nconst loadCreated$ = (action$: ActionsObservable, state$: StateObservable) =>\r\n action$.ofType(POST_LOAD_FULFILLED).pipe(\r\n mergeMap$((action: LoadActionResponse) => {\r\n if (action.response.success) {\r\n return of$(\r\n showSnackbar({\r\n message: t(T.postLoads_LoadPostedSuccessfully),\r\n }),\r\n fetchBrokerLoadsSummary(state$.value.postedLoads.includeAllCompanyLoads),\r\n push({ pathname: action.returnUrl })\r\n );\r\n } else {\r\n if (action.response.error?.fieldErrors !== undefined) {\r\n const validationFields = mapApiErrorFieldsToFormValidationFields(\r\n action.response.error.fieldErrors\r\n );\r\n return of$(setValidationFields(validationFields));\r\n }\r\n return of$();\r\n }\r\n })\r\n );\r\n\r\nconst loadCloned$ = (action$: ActionsObservable, state$: StateObservable) =>\r\n action$.ofType(CLONE_LOAD_FULFILLED).pipe(\r\n mergeMap$((action: LoadActionResponse) => {\r\n if (action.response.success) {\r\n return of$(\r\n fetchPostedLoads(),\r\n fetchBrokerLoadsSummary(state$.value.postedLoads.includeAllCompanyLoads),\r\n showSnackbar({\r\n message: t(T.postLoads_ClonedLoadPosted),\r\n }),\r\n push({ pathname: action.returnUrl, search: history.location.search })\r\n );\r\n } else {\r\n if (action.response.error?.fieldErrors !== undefined) {\r\n const validationFields = mapApiErrorFieldsToFormValidationFields(\r\n action.response.error.fieldErrors\r\n );\r\n return of$(setValidationFields(validationFields));\r\n }\r\n return of$();\r\n }\r\n })\r\n );\r\n\r\nconst loadEdited$ = (action$: ActionsObservable) =>\r\n action$.ofType(EDIT_LOAD_FULFILLED).pipe(\r\n mergeMap$((action: LoadActionResponse) => {\r\n if (action.response.success) {\r\n const match = decodeMatchParams(action.returnUrl, Routes.LOADS_MY_LOADS_POST);\r\n const actions: Action[] = [\r\n showSnackbar({\r\n message: t(T.postLoads_LoadEdited),\r\n }),\r\n updateSingleLoad(action.response.payload),\r\n push({ pathname: action.returnUrl, search: history.location.search }),\r\n ];\r\n if (match?.params?.loadID && match.params.actionType === 'online') {\r\n actions.push(fetchLoadDetails(LoadSearchType.Posted, match.params.loadID));\r\n if (action.shouldFetchRouteMap) {\r\n actions.push(fetchRouteMap(match.params.loadID, undefined));\r\n }\r\n }\r\n if (match?.params.actionType === 'offline') {\r\n actions.push(refreshOfflineLoadsList());\r\n }\r\n return from$(actions);\r\n } else {\r\n if (action.response.error?.fieldErrors !== undefined) {\r\n const validationFields = mapApiErrorFieldsToFormValidationFields(\r\n action.response.error.fieldErrors\r\n );\r\n return of$(setValidationFields(validationFields));\r\n }\r\n return of$();\r\n }\r\n })\r\n );\r\n\r\nconst updatePostedLoadStatus$ = (action$: ActionsObservable) =>\r\n action$.ofType(setPostedLoadStatusAction.responseType).pipe(\r\n mergeMap$((action: UpdatedLoadStatusAction) => {\r\n if (action.response.success) {\r\n return of$(\r\n clearCurrentLoad(LoadSearchType.Posted),\r\n\r\n push({ pathname: action.redirectUrl })\r\n );\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst deletePostedLoad$ = (action$: ActionsObservable) =>\r\n action$.ofType(deletePostedLoadAction.responseType).pipe(\r\n mergeMap$((action: PostedLoadDeletedAction) => {\r\n if (action.response.success) {\r\n return of$(\r\n clearCurrentLoad(LoadSearchType.Posted),\r\n\r\n push({ pathname: action.redirectUrl })\r\n );\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updatePostedLoadAge$ = (action$: ActionsObservable) =>\r\n action$.ofType(refreshLoadAgeAction.responseType).pipe(\r\n mergeMap$((action: RefreshedLoadAgeAction) => {\r\n if (action.response.success) {\r\n const updatedLoadID = get(action, ['response', 'payload', 'id']);\r\n const updatedLoadAge = get(action, ['response', 'payload', 'age']);\r\n const update: LoadUpdate = { loadID: updatedLoadID, category: UpdateCategory.AGE, age: updatedLoadAge };\r\n return of$(updateMyLoads(update), updateLoadDetails(LoadSearchType.Posted, update));\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updateLastAndSelectedSearchOnMapSearch = (action$: ActionsObservable, geocodeClient: GeocodingClient) =>\r\n action$\r\n .ofType(\r\n mapSearchActionKeys.NEW_GEO_LOADS_FETCHED,\r\n mapSearchActionKeys.GEO_LOADS_FETCHED,\r\n companyMapSearchActionKeys.NEW_GEO_LOADS_FETCHED,\r\n companyMapSearchActionKeys.GEO_LOADS_FETCHED\r\n )\r\n .pipe(\r\n mergeMap$((action: ResponseAction) => {\r\n if (action.response.success && action.response.payload) {\r\n const requestParams = cloneDeep(action.response.payload.metadata.requestParams);\r\n const lastSearch = { ...requestParams, minOriginRadius: undefined };\r\n lastSearch.metadata.type = SearchMetadataType.Geo;\r\n lastSearch.metadata.limit = INITIAL_SEARCH_LIMIT;\r\n lastSearch.pickupDates = map(lastSearch.pickupDates, serverRFCDateToYYYYMMDD);\r\n lastSearch.isOnboarded = lastSearch.company?.isOnboarded;\r\n const payload = action.response.payload;\r\n return reverseGeocodeLocationIfNeeded$(\r\n { ...lastSearch.origin, type: LocationType.GEOLOCATION } as LoadLocation,\r\n geocodeClient\r\n ).pipe(\r\n mergeMap$((location: any) => {\r\n const persistentSearch = {\r\n id: payload.id,\r\n search: {\r\n ...lastSearch,\r\n origin: {\r\n ...location,\r\n city: location.city,\r\n states: location.states,\r\n radius: lastSearch.origin.radius,\r\n type: location.type,\r\n },\r\n },\r\n };\r\n const reversedGeocodeOrigin = valueForOriginLocation(location) || lastSearch.origin;\r\n reversedGeocodeOrigin.radius = lastSearch.origin.radius;\r\n const newSearch = {\r\n ...lastSearch,\r\n pickupDates: map(\r\n lastSearch.pickupDates,\r\n serverRFCDateToYYYYMMDD\r\n ) /* for some reason it gives full GMT time */,\r\n origin: reversedGeocodeOrigin,\r\n };\r\n const updateLastSearchFunc = updateLastSearch(newSearch);\r\n const updateLastAvailabilitySearchFunc = updateLastAvailabilitySearch(newSearch);\r\n const updateLastCompanySearchFunc = updateLastCompanySearch(newSearch);\r\n let result;\r\n if (action.type === mapSearchActionKeys.GEO_LOADS_FETCHED) {\r\n result = of$(updateListSearch(lastSearch), updateListAvailabilitySearch(lastSearch));\r\n if (payload.id) {\r\n result = concat$(\r\n result,\r\n of$(\r\n setSelectedSearch({\r\n ...lastSearch,\r\n id: payload.id,\r\n })\r\n )\r\n );\r\n }\r\n return result;\r\n } else if (action.type === companyMapSearchActionKeys.GEO_LOADS_FETCHED) {\r\n return of$(updateLastCompanySearch(lastSearch));\r\n } else {\r\n result = of$(updateLastSearchFunc, updateLastAvailabilitySearchFunc, updateLastCompanySearchFunc);\r\n if (isEmpty(payload.groups)) {\r\n result = concat$(result, of$(showSnackbar({ message: t(T.findLoads_loads_mapError_noLoadsFound) })));\r\n }\r\n if (location.city || location.states) {\r\n result = concat$(\r\n result,\r\n of$(setSelectedSearch({ ...persistentSearch.search, id: persistentSearch.id }))\r\n );\r\n }\r\n setUrlDataAfterNewMapSearch(persistentSearch);\r\n }\r\n return result;\r\n })\r\n );\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst setUrlDataAfterNewMapSearch = (persistentSearch: PersistentSearch) => {\r\n const filter = loadSearchRequestEncoder.convertObjectRequestToUrlParams({\r\n searchId: persistentSearch.id,\r\n metadata: persistentSearch.search.metadata,\r\n searchData: persistentSearch.search,\r\n });\r\n const findLoadsParams = decodeMatchParams(history.location.pathname, Routes.LOADS_FINDLOADS);\r\n const loadAvailabilityParams = decodeMatchParams(\r\n history.location.pathname,\r\n Routes.LOADS_LOAD_AVAILABILITY\r\n );\r\n const loadAvailabilityDensityParams = decodeMatchParams(\r\n history.location.pathname,\r\n Routes.LOADS_LOAD_AVAILABILITY_MAP\r\n );\r\n const myLoadsParams = decodeMatchParams(history.location.pathname, Routes.LOADS_MY_LOADS);\r\n const companiesParams = decodeMatchParams(history.location.pathname, Routes.LOADS_COMPANIES);\r\n const isDensityMap = getIsDensityMap(history.location.pathname);\r\n const loadSearchObject = loadSearchRequestEncoder.convertUrlParamsToLoadSearchFilters(history.location.search);\r\n const newCompanySearchUrl = loadSearchRequestEncoder.convertObjectRequestToUrlParams({\r\n ...loadSearchObject,\r\n companySearchId: persistentSearch.id,\r\n companyMetadata: persistentSearch.search.metadata,\r\n companySearchData: persistentSearch.search,\r\n });\r\n if (findLoadsParams?.params) {\r\n history.push({\r\n pathname: `${generatePath(Routes.LOADS_FINDLOADS, {\r\n ...findLoadsParams?.params,\r\n })}/`,\r\n search: findLoadsParams.params.companySearchMap ? newCompanySearchUrl : filter,\r\n });\r\n }\r\n let params = {};\r\n const loadAvailabilityObject = loadAvailabilityEncoder.convertUrlParamsToLoadAvailabilityRouting(location.search);\r\n const newCompanySearchAvailabilityUrl = loadAvailabilityEncoder.convertObjectRequestToUrlParams({\r\n ...loadAvailabilityObject,\r\n companySearchId: persistentSearch.id,\r\n companySearchData: persistentSearch.search,\r\n companyMapData: undefined,\r\n });\r\n if (loadAvailabilityParams?.params && !isDensityMap) {\r\n params = loadAvailabilityParams.params;\r\n history.push({\r\n pathname: `${generatePath(Routes.LOADS_LOAD_AVAILABILITY, params)}/`,\r\n search: loadAvailabilityParams?.params.companySearchMap ? newCompanySearchAvailabilityUrl : filter,\r\n });\r\n }\r\n if (loadAvailabilityDensityParams?.params && isDensityMap) {\r\n params = loadAvailabilityDensityParams.params;\r\n history.push({\r\n pathname: `${generatePath(Routes.LOADS_LOAD_AVAILABILITY_MAP, params)}/`,\r\n search: loadAvailabilityDensityParams?.params.companySearchMap ? newCompanySearchAvailabilityUrl : filter,\r\n });\r\n }\r\n if (myLoadsParams?.params) {\r\n params = myLoadsParams.params;\r\n history.push({\r\n pathname: `${generatePath(Routes.LOADS_MY_LOADS, params)}/`,\r\n search: myLoadsParams?.params.companySearchMap ? newCompanySearchUrl : filter,\r\n });\r\n }\r\n if (companiesParams?.params) {\r\n params = companiesParams.params;\r\n history.push({\r\n pathname: `${generatePath(Routes.LOADS_COMPANIES, params)}/`,\r\n search: companiesParams?.params.companySearchMap ? newCompanySearchUrl : filter,\r\n });\r\n }\r\n};\r\n\r\nconst reverseGeocodeLocationIfNeeded$ = (\r\n location: LoadLocation,\r\n geocodeClient: GeocodingClient\r\n): Observable => {\r\n if (location.type === LocationType.GEOLOCATION) {\r\n const originGeolocation = new Geolocation(location.latitude, location.longitude);\r\n return geocodeClient.locationFor$(originGeolocation).pipe(\r\n map$((result) =>\r\n result.result(\r\n (data) => {\r\n return loadGeolocationFrom(originGeolocation, data);\r\n },\r\n () => {\r\n return location;\r\n }\r\n )\r\n )\r\n );\r\n }\r\n return of$(location);\r\n};\r\n\r\nconst updateTrucks$ = (action$: ActionsObservable) =>\r\n action$.ofType(CARRIER_FAVORITED, CARRIER_ONBOARDED, CARRIER_HIDDEN).pipe(\r\n mergeMap$((action: CompanyResponseAction) => {\r\n let updateTrucksAction;\r\n switch (action.type) {\r\n case CARRIER_FAVORITED:\r\n updateTrucksAction = updateTrucks({ type: TruckUpdateActionTypes.Favorite, updated: action.updated });\r\n break;\r\n case CARRIER_ONBOARDED:\r\n updateTrucksAction = updateTrucks({ type: TruckUpdateActionTypes.Onboard, updated: action.updated });\r\n break;\r\n case CARRIER_HIDDEN:\r\n updateTrucksAction = updateTrucks({ type: TruckUpdateActionTypes.Hide, updated: action.updated });\r\n }\r\n return of$(updateTrucksAction);\r\n })\r\n );\r\n\r\nconst updateTrucksAfterBulkCarriersActions$ = (action$: ActionsObservable) =>\r\n action$\r\n .ofType(favoriteCarriersBulkAction.responseType, blockCarriersBulkAction.responseType)\r\n .pipe(map$(() => triggerTruckAction(TruckAction.REFRESH_TRUCKS)));\r\n\r\nconst updateMyLoadsTotalCounts$ = (action$: ActionsObservable) =>\r\n action$\r\n .ofType(SAVE_LOAD_FULFILLED, SET_PROGRESS_FULFILLED, CALL_LOAD_FULFILLED, HIDE_LOAD_FULFILLED)\r\n .pipe(map$(() => fetchMyLoadsTotalCount(MYLOADS_FILTERS_LIST)));\r\n\r\nconst refreshLoadsAfterLoadHide$ = (action$: ActionsObservable, state$: StateObservable) =>\r\n action$.ofType(HIDE_LOAD_FULFILLED).pipe(\r\n mergeMap$(() => {\r\n const newCompanyMapLoadSearch = {\r\n ...state$.value.companyMapSearch.lastSearchRequest,\r\n minOriginRadius: undefined,\r\n };\r\n const loadAvailabilityObject = loadAvailabilityEncoder.convertUrlParamsToLoadAvailabilityRouting(\r\n history.location.search\r\n );\r\n const loadAvailabilityParams = decodeMatchParams(\r\n history.location.pathname,\r\n Routes.LOADS_LOAD_AVAILABILITY\r\n );\r\n const loadCompanyParams = decodeMatchParams(\r\n history.location.pathname,\r\n Routes.LOADS_COMPANIES\r\n );\r\n const lastSearchRequestForMap = loadAvailabilityParams\r\n ? state$.value.loadAvailability.lastSearchRequest\r\n : state$.value.loadSearch.lastSearchRequest;\r\n\r\n const currentLoadId = loadCompanyParams\r\n ? state$.value.loadDetailsCompanySearch.currentLoad?.id\r\n : state$.value.loadDetails.currentLoad?.id;\r\n\r\n return from$(\r\n compact([\r\n refreshLoadCount(state$.value.loadSearch.listSearchRequest),\r\n refreshLoadAvailabilityCount(state$.value.loadAvailability.listSearchRequest),\r\n refreshCompanySearchLoadCount(state$.value.companySearch.listSearchRequest),\r\n companyMapSearchActions.refreshMapSearchLoadCount(state$.value.companyMapSearch.lastSearchRequest),\r\n backhaulsActions.refreshBackhaulsLoadCount(state$.value.backhauls.lastSearchRequest),\r\n backhaulsActions.searchLoads(),\r\n searchLoadsAvailability(),\r\n companyMapSearchActions.fetchGeoLoads(newCompanyMapLoadSearch),\r\n mapSearchActions.fetchGeoLoads(lastSearchRequestForMap),\r\n companyMapSearchActions.searchLoads(),\r\n mapSearchActions.searchLoads(),\r\n currentLoadId ? fetchLoadBackhauls(currentLoadId) : undefined,\r\n\r\n !!loadAvailabilityObject?.region && !!loadAvailabilityObject?.equipmentType\r\n ? fetchLoadAvailabilities(\r\n loadAvailabilityObject?.equipmentType ?? [EquipmentType.All],\r\n loadAvailabilityObject?.region ?? LoadAvailabilitySortCategory.USA\r\n )\r\n : undefined,\r\n ])\r\n );\r\n })\r\n );\r\n\r\nconst updateLoadFolder$ = (action$: ActionsObservable) =>\r\n action$.ofType(RECEIVE_LOAD_FEEDBACK_RESPONSE).pipe(\r\n filter$((action: ReceiveLoadFeedbackResponse) => action.value === LoadProgress.LoadAvailable),\r\n mergeMap$((action: ReceiveLoadFeedbackResponse) => of$(deleteFolderResponse({ success: action.response.success })))\r\n );\r\n\r\nconst updatePostTruckCounter$ = (action$: ActionsObservable) =>\r\n action$.ofType(TRUCK_DELETED).pipe(\r\n filter$((action: DeleteSingleTruckResponseAction) => action.response.payload?.override === true),\r\n mergeMap$(() => {\r\n const match = decodeMatchParams<{ filter: PostsFilter; subroutes: SubRoutes }>(\r\n history.location.pathname,\r\n Routes.MYTRUCKS_POST\r\n );\r\n return of$(getTruckAvailabilityCount(), getTruckAvailabilities(match?.params.filter));\r\n })\r\n );\r\n\r\nconst updateAfterDeletingDocuments$ = (action$: ActionsObservable) =>\r\n action$\r\n .ofType(DOCUMENT_DELETED)\r\n .pipe(\r\n mergeMap$((action: DocumentDeletedResponseAction) =>\r\n action.response.success && action.response.payload\r\n ? of$(fetchDefaultFolders(), fetchCustomFolders(), fetchDocumentsCount())\r\n : of$()\r\n )\r\n );\r\n\r\nconst updateFolderCount$ = (action$: ActionsObservable) =>\r\n action$.ofType(UPLOAD_NEW_DOCUMENT_SENT, DOCUMENT_FOLDER_UPDATED).pipe(\r\n mergeMap$((action: ResponseAction) => {\r\n if (!action.response.success) {\r\n return of$();\r\n }\r\n if (action.type === DOCUMENT_FOLDER_UPDATED) {\r\n return of$(fetchDefaultFolders(), fetchCustomFolders());\r\n }\r\n return of$(fetchDefaultFolders(), fetchCustomFolders(), fetchDocumentsCount());\r\n })\r\n );\r\n\r\nconst updateDocumentTypeFolders$ = (action$: ActionsObservable) =>\r\n action$.ofType(DOCUMENT_TYPE_UPDATED).pipe(mergeMap$(() => of$(fetchDocumentsCount())));\r\n\r\nconst fetchUserPlansWithoutPromoCode$ = (action$: ActionsObservable, state$: StateObservable) =>\r\n action$.ofType(fetchUserPlansAction.responseType).pipe(\r\n mergeMap$((action: ResponseAction) => {\r\n if (\r\n action.response.success &&\r\n action.response.payload.promoCode &&\r\n isEmpty(state$.value.userPlan.lbPlansWithoutPromoCode)\r\n ) {\r\n return of$(fetchUserPlansWithoutPromoCode());\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updateInboxUnreadCount$ = (action$: ActionsObservable, state$: StateObservable) =>\r\n action$.ofType(markAsReadAction.responseType, clearInboxMessagesAction.responseType).pipe(\r\n mergeMap$((action: ResponseAction) => {\r\n if (action.response.success && state$.value.user.userAlerts && state$.value.user.userAlerts.payload) {\r\n const newCount =\r\n action.type === clearInboxMessagesAction.responseType ||\r\n state$.value.user.userAlerts.payload.messagesInfo.unreadMessagesCount === 0\r\n ? 0\r\n : state$.value.user.userAlerts.payload.messagesInfo.unreadMessagesCount - 1;\r\n return of$(fetchUserInboxMessageUpdated(newCount));\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst createMembershipForUser$ = (action$: ActionsObservable, membershipClient: UserPlanManagementClient) =>\r\n action$.ofType(fetchMembershipsDataAction.responseType).pipe(\r\n mergeMap$((action: ResponseAction) => {\r\n if (action.response.error?.code === 4040129) {\r\n return membershipClient\r\n .createMembership$()\r\n .pipe(mergeMap$((response) => (response.success ? of$(fetchMembershipsData(), getCompanyInfo()) : of$())));\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updatePostLoadBrokerInfoAfterPostingContactUpdate$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable\r\n) =>\r\n action$.ofType(editDispatcherAction.responseType).pipe(\r\n mergeMap$((action: ResponseAction) => {\r\n if (action.response.success && action.response.payload) {\r\n const updatedPostingContactId = action.response.payload.id;\r\n const lastUsedPostedContactId = state$.value.postLoadFields.lastUsedPostingContact?.id;\r\n const selectedPostedContactId = state$.value.postLoadFields.selectedPostingContact?.id;\r\n // if persisted posting contact and the one we selected from the list are the same and equals to updated\r\n if (\r\n updatedPostingContactId === lastUsedPostedContactId &&\r\n updatedPostingContactId === selectedPostedContactId\r\n ) {\r\n return of$(\r\n setLastUsedPostingContact(action.response.payload),\r\n setSelectedPostingContact(action.response.payload)\r\n );\r\n }\r\n // if persisted posting contact equals to updated posting contact\r\n if (updatedPostingContactId === lastUsedPostedContactId) {\r\n return of$(setLastUsedPostingContact(action.response.payload));\r\n }\r\n // if selected posting contact equals to updated posting contact\r\n if (updatedPostingContactId === selectedPostedContactId) {\r\n return of$(setSelectedPostingContact(action.response.payload));\r\n }\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nconst updatePostLoadBrokerInfoAfterPostingContactDelete$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable\r\n) =>\r\n action$.ofType(deleteDispatcherAction.responseType).pipe(\r\n mergeMap$((action: ResponseAction) => {\r\n if (action.response.success) {\r\n const deletedPostingContactId = action.fetchData;\r\n const selectedPostedContactId = state$.value.postLoadFields.selectedPostingContact?.id;\r\n const lastUsedPostedContact = state$.value.postLoadFields.lastUsedPostingContact;\r\n const defaultPostingContact = find(state$.value.postingContacts.entries, (entry) => entry.isDefaultForUser);\r\n // if persisted posting contact and the one we selected from the list are the same and equals to deleted\r\n if (\r\n deletedPostingContactId === lastUsedPostedContact?.id &&\r\n deletedPostingContactId === selectedPostedContactId\r\n ) {\r\n return of$(setLastUsedPostingContact(defaultPostingContact), setSelectedPostingContact(undefined));\r\n }\r\n // if persisted posting contact equals to deleted posting contact\r\n if (deletedPostingContactId === lastUsedPostedContact?.id) {\r\n return of$(setLastUsedPostingContact(defaultPostingContact));\r\n }\r\n // if selected posting contact equals to deleted posting contact\r\n if (deletedPostingContactId === selectedPostedContactId) {\r\n return of$(setSelectedPostingContact(lastUsedPostedContact));\r\n }\r\n }\r\n return of$();\r\n })\r\n );\r\n\r\nexport const createReducerSyncEpic$ = (api: Api) => {\r\n const geocodingClient = new GeocodingClient(api);\r\n const membershipClient = new UserPlanManagementClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n updateHiddenCompanyLoads$(action$, state$),\r\n updateLoads$(action$),\r\n updateLastAndSelectedSearchOnMapSearch(action$, geocodingClient),\r\n updatePostedLoadStatus$(action$),\r\n updateMyLoadsTotalCounts$(action$),\r\n deletePostedLoad$(action$),\r\n updatePostedLoadAge$(action$),\r\n loadCreated$(action$, state$),\r\n loadCloned$(action$, state$),\r\n loadEdited$(action$),\r\n updateTrucks$(action$),\r\n updateLoadFolder$(action$),\r\n updateAfterDeletingDocuments$(action$),\r\n updateFolderCount$(action$),\r\n updateDocumentTypeFolders$(action$),\r\n updateTrucksAfterBulkCarriersActions$(action$),\r\n updatePostTruckCounter$(action$),\r\n updateInboxUnreadCount$(action$, state$),\r\n refreshLoadsAfterLoadHide$(action$, state$),\r\n addVendorBidAfterBidSubmission$(action$),\r\n fetchUserPlansWithoutPromoCode$(action$, state$),\r\n createMembershipForUser$(action$, membershipClient),\r\n updatePostLoadBrokerInfoAfterPostingContactUpdate$(action$, state$),\r\n updatePostLoadBrokerInfoAfterPostingContactDelete$(action$, state$)\r\n );\r\n};\r\n","import { clone, map, toNumber, toString } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { Api } from '@common/api';\r\nimport { CompanyClient } from '@common/client';\r\nimport { IKeysSortBySearchDirectoryCompany } from '@common/helper/SortByKeys';\r\nimport { CardView, ViewChoice } from '@common/model';\r\nimport {\r\n CompanyType,\r\n createDefaultSearchDirectoryRequest,\r\n DirectoryResponse,\r\n SEARCH_DIRECTORY_REQUEST_LIMIT_APPENDING,\r\n SEARCH_DIRECTORY_REQUEST_LIMIT_DEFAULT,\r\n SEARCH_DIRECTORY_REQUEST_OFFSET_INCREMENT,\r\n SearchDirectoryCompanyRequest,\r\n SearchDirectoryCompanyResponse,\r\n TableSource,\r\n} from '@common/model/SearchDirectory';\r\nimport { createAction } from '@common/redux/Base';\r\nimport { createPaginatedListReducer, PaginatedListState } from '@common/redux/epic/PaginatedListReducer';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst SEARCH_DIRECTORY_REDUCER_KEY = 'searchDirectory';\r\n\r\nexport interface SearchDirectoryCompanyState\r\n extends PaginatedListState {\r\n view: ViewChoice;\r\n isLoading: boolean;\r\n}\r\n\r\nconst initialState: SearchDirectoryCompanyState = {\r\n view: CardView,\r\n fetchRequest: createDefaultSearchDirectoryRequest(),\r\n isLoading: false,\r\n didLoadingFail: false,\r\n isLoadingMore: false,\r\n isRefreshing: false,\r\n isLastResult: false,\r\n};\r\n\r\nconst searchDirectoryPaginationReducer = createPaginatedListReducer<\r\n DirectoryResponse,\r\n SearchDirectoryCompanyRequest,\r\n SearchDirectoryCompanyResponse,\r\n SearchDirectoryCompanyState,\r\n SearchDirectoryCompanyState\r\n>({\r\n reducerKey: SEARCH_DIRECTORY_REDUCER_KEY,\r\n requestConstants: {\r\n limit: {\r\n default: SEARCH_DIRECTORY_REQUEST_LIMIT_DEFAULT,\r\n appending: SEARCH_DIRECTORY_REQUEST_LIMIT_APPENDING,\r\n },\r\n offsetIncrement: SEARCH_DIRECTORY_REQUEST_OFFSET_INCREMENT,\r\n },\r\n getEntriesFromResponse: (response) => response.directories,\r\n areEntriesEqual: (firstItem, secondItem) => areEntriesEqual(firstItem, secondItem),\r\n transformFetchedEntries: (entries) => map(entries, transformFetchedEntry),\r\n defaultEntries: [],\r\n});\r\n\r\nconst changeViewAction = createAction('CHANGE_VIEW_ACTION');\r\nconst changeSortByAction = createAction('CHANGE_SORT_BY_ACTION');\r\nconst updateSearchFormAction = createAction>('UPDATE_SEARCH_FORM');\r\nconst setDirectoryViewedStatusAction = createAction('SET_DIRECTORY_VIEWED');\r\n\r\nexport const changeView = (view: ViewChoice) => changeViewAction.action(view);\r\nexport const changeSortBy = (sortBy: IKeysSortBySearchDirectoryCompany) => changeSortByAction.action(sortBy);\r\nexport const updateSearchForm = (fetchRequest: Partial) =>\r\n updateSearchFormAction.action(fetchRequest);\r\nexport const setDirectoryViewedStatus = (id: string) => setDirectoryViewedStatusAction.action(id);\r\n\r\nexport const fetchDirectories = searchDirectoryPaginationReducer.actions.fetchEntries;\r\nexport const fetchMoreDirectories = searchDirectoryPaginationReducer.actions.fetchMoreEntries;\r\n\r\nexport const searchDirectoryCompanyReducer = createMergedReducer(\r\n initialState,\r\n [\r\n changeViewAction.addCase((state, action) => {\r\n state.view = action.data;\r\n }),\r\n changeSortByAction.addCase((state, action) => {\r\n state.fetchRequest = {\r\n ...state.fetchRequest,\r\n sortExpression: action.data.field,\r\n sortDirection: action.data.direction,\r\n offset: 0,\r\n };\r\n }),\r\n updateSearchFormAction.addCase((state, action) => {\r\n state.fetchRequest = { ...state.fetchRequest, ...action.data, offset: 0 };\r\n }),\r\n\r\n setDirectoryViewedStatusAction.addCase((state, action) => {\r\n state.entries = map(state.entries, (directory) =>\r\n toString(directory.companyId) === action.data ? { ...directory, isViewed: true } : directory\r\n );\r\n }),\r\n ],\r\n searchDirectoryPaginationReducer.reducer\r\n);\r\n\r\nexport const createSearchDirectoryCompanyEpic = (api: Api) => {\r\n const companiesClient = new CompanyClient(api);\r\n\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n searchDirectoryPaginationReducer.createMergedEpic$(\r\n (request) => companiesClient.getSearchDirectoriesCompanies$(fillTableSource(request)),\r\n action$,\r\n state$\r\n )\r\n );\r\n};\r\n\r\nconst fillTableSource = (request: SearchDirectoryCompanyRequest): SearchDirectoryCompanyRequest => {\r\n return {\r\n ...request,\r\n tableSource: request.companyType === CompanyType.Shipper ? TableSource.CompanyTable : TableSource.VolpeTable,\r\n };\r\n};\r\n\r\nconst areEntriesEqual = (firstItem: DirectoryResponse, secondItem: DirectoryResponse) => {\r\n if (firstItem.companyGuid && secondItem.companyGuid) {\r\n return firstItem.companyGuid === secondItem.companyGuid;\r\n }\r\n return transformFetchedEntry(firstItem).companyId === transformFetchedEntry(secondItem).companyId;\r\n};\r\n\r\nconst transformFetchedEntry = (entry: DirectoryResponse) => {\r\n if (!entry.companyId) {\r\n const newEntry = clone(entry);\r\n // concating the usDotNumber with the docketNumber to create a unique ID\r\n newEntry.companyId = toNumber(`${entry.details?.usDotNumber}${getDocketNumber(entry)}`);\r\n // clearing the usDotNumber if it contains only zeros.\r\n if (newEntry.details?.usDotNumber && new RegExp('^0*$').test(newEntry.details.usDotNumber)) {\r\n newEntry.details.usDotNumber = '';\r\n }\r\n return newEntry;\r\n }\r\n return entry;\r\n};\r\n\r\nexport const getDocketNumber = (searchDirectoryRes: DirectoryResponse) => {\r\n if (\r\n searchDirectoryRes.details?.businessType.includes(CompanyType.Broker) &&\r\n searchDirectoryRes.details?.brokerMcNumber\r\n ) {\r\n return searchDirectoryRes.details.brokerMcNumber.number;\r\n }\r\n if (\r\n searchDirectoryRes.details?.businessType.includes(CompanyType.Carrier) &&\r\n searchDirectoryRes.details?.carrierMcNumber\r\n ) {\r\n return searchDirectoryRes.details.carrierMcNumber.number;\r\n }\r\n return '';\r\n};\r\n","import { clone, filter, find, findIndex, map } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { Api, ApiError, ApiResponse123, ApiResponseSuccess } from '@common/api';\r\nimport { CompanyUserData, TrucksClient } from '@common/client';\r\nimport { Geolocation, Truck, TruckLklSearchRequest, TruckRequest, VerificationPointsTaskStatus } from '@common/model';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\nimport { Matches, splitTrucks, TruckFilters } from '@common/sort';\r\nimport { contactIdsToCompanyIds, TruckUpdateAction, TruckUpdateActionTypes } from '@util/TruckDataHelper';\r\n\r\nexport enum CarrierDetailsTabs {\r\n Authority = 'Authority',\r\n CarrierRating = 'CarrierRating',\r\n Company = 'Company',\r\n}\r\n\r\nconst FETCH_TRUCKS = 'FETCH_TRUCKS';\r\nconst FETCH_TRUCKS_LKL = 'FETCH_TRUCKS_LKL';\r\nconst TRUCKS_FETCHED = 'TRUCKS_FETCHED';\r\nconst TRUCKS_LKL_FETCHED = 'TRUCKS_LKL_FETCHED';\r\nconst UPDATE_TRUCKS = 'UPDATE_TRUCKS';\r\nconst SET_SELECTED_TRUCK = 'SET_SELECTED_TRUCK';\r\nconst SET_OPEN_CARRIER_DETAILS_TABS = 'SET_OPEN_CARRIER_DETAILS_TABS';\r\n\r\ninterface TruckLklResponseAction {\r\n geolocation?: Geolocation;\r\n trucks: Truck[];\r\n}\r\n\r\nexport type TruckResponse = Response;\r\n\r\ninterface FetchTruck extends Action {\r\n request: TruckRequest;\r\n isInternal: boolean;\r\n}\r\n\r\ninterface FetchTruckLkl extends Action {\r\n request: TruckLklSearchRequest;\r\n}\r\n\r\ninterface FetchTruckResponse extends Action {\r\n trucks: TruckResponse;\r\n filters?: TruckFilters;\r\n}\r\n\r\ninterface FetchTruckLklResponse extends Action {\r\n trucks: TruckResponse;\r\n geolocation?: Geolocation;\r\n filters?: TruckFilters;\r\n}\r\n\r\ninterface UpdateTrucksAction extends Action {\r\n updateAction: TruckUpdateAction;\r\n}\r\n\r\ninterface SetSelectedTruckAction extends Action {\r\n selectedTruck: Truck | undefined;\r\n}\r\ninterface SetOpenCarrierDetailsTabsAction extends Action {\r\n setting: Partial;\r\n}\r\n\r\n/** @param isInternal to denote the request is from Internal Truck locator */\r\nexport function fetchTrucks(request: TruckRequest, isInternal: boolean): FetchTruck {\r\n return {\r\n type: FETCH_TRUCKS,\r\n request: request,\r\n isInternal: isInternal,\r\n };\r\n}\r\n\r\nexport function fetchTrucksLkl(request: TruckLklSearchRequest): FetchTruckLkl {\r\n return {\r\n type: FETCH_TRUCKS_LKL,\r\n request: request,\r\n };\r\n}\r\n\r\nexport const updateTrucks = (updateAction: TruckUpdateAction): UpdateTrucksAction => ({\r\n type: UPDATE_TRUCKS,\r\n updateAction: updateAction,\r\n});\r\n\r\nexport const setSelectedTruck = (truck: Truck | undefined): SetSelectedTruckAction => ({\r\n type: SET_SELECTED_TRUCK,\r\n selectedTruck: truck,\r\n});\r\n\r\nexport const setOpenCarrierDetailsTabs = (\r\n setting: Partial\r\n): SetOpenCarrierDetailsTabsAction => ({\r\n type: SET_OPEN_CARRIER_DETAILS_TABS,\r\n setting: setting,\r\n});\r\n\r\ntype CarrierDetailsTabsState = Record;\r\nexport interface TruckState extends BaseState {\r\n trucks?: TruckResponse;\r\n selectedTruck?: Truck;\r\n openCarrierDetailsTabs: CarrierDetailsTabsState;\r\n lklGeolocation?: Geolocation;\r\n}\r\n\r\nconst initialTruckState: TruckState = {\r\n isLoading: false,\r\n openCarrierDetailsTabs: {\r\n Authority: false,\r\n CarrierRating: false,\r\n Company: false,\r\n },\r\n};\r\n\r\nconst fetchTrucksResponse = (response: TruckResponse, filters?: TruckFilters): FetchTruckResponse => ({\r\n type: TRUCKS_FETCHED,\r\n trucks: response,\r\n filters: filters,\r\n});\r\n\r\nconst fetchTrucksLklResponse = (response: TruckResponse, geolocation?: Geolocation): FetchTruckLklResponse => ({\r\n type: TRUCKS_LKL_FETCHED,\r\n trucks: response,\r\n geolocation: geolocation,\r\n});\r\n\r\nexport const trucksReducer = (state: TruckState = initialTruckState, action: Action): TruckState => {\r\n switch (action.type) {\r\n case TRUCKS_FETCHED: {\r\n const truckResponseAction = action as FetchTruckResponse;\r\n return {\r\n ...state,\r\n trucks: truckResponseAction.trucks,\r\n isLoading: false,\r\n };\r\n }\r\n case TRUCKS_LKL_FETCHED: {\r\n const truckResponseAction = action as FetchTruckLklResponse;\r\n return {\r\n ...state,\r\n trucks: truckResponseAction.trucks,\r\n lklGeolocation: truckResponseAction.geolocation,\r\n isLoading: false,\r\n };\r\n }\r\n case FETCH_TRUCKS_LKL:\r\n case FETCH_TRUCKS: {\r\n return {\r\n ...state,\r\n isLoading: true,\r\n };\r\n }\r\n case UPDATE_TRUCKS: {\r\n const updateAction = (action as UpdateTrucksAction).updateAction;\r\n const trucks = state.trucks?.payload;\r\n\r\n if (!trucks) {\r\n return state;\r\n }\r\n\r\n const updatedCompanies =\r\n updateAction.type === TruckUpdateActionTypes.Onboard\r\n ? contactIdsToCompanyIds(updateAction.updated, trucks.truckList)\r\n : updateAction.updated;\r\n\r\n const updatedTrucks = {\r\n truckList: updateTruckList(updateAction.type, updatedCompanies, trucks.truckList),\r\n anonymousList: updateTruckList(updateAction.type, updatedCompanies, trucks.anonymousList),\r\n nonList:\r\n updateAction.type === TruckUpdateActionTypes.Hide\r\n ? updateTruckList(updateAction.type, updatedCompanies, trucks.nonList)\r\n : trucks.nonList,\r\n };\r\n\r\n return state.trucks\r\n ? {\r\n ...state,\r\n trucks: {\r\n ...state.trucks,\r\n payload: updatedTrucks,\r\n },\r\n }\r\n : state;\r\n }\r\n case SET_SELECTED_TRUCK: {\r\n const setSelectedTruckAction = action as SetSelectedTruckAction;\r\n return {\r\n ...state,\r\n selectedTruck: setSelectedTruckAction.selectedTruck,\r\n };\r\n }\r\n case SET_OPEN_CARRIER_DETAILS_TABS: {\r\n const setOpenTabsAction = action as SetOpenCarrierDetailsTabsAction;\r\n return {\r\n ...state,\r\n openCarrierDetailsTabs: {\r\n ...state.openCarrierDetailsTabs,\r\n ...setOpenTabsAction.setting,\r\n },\r\n };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\nconst updateTruckList = (\r\n actionType: TruckUpdateActionTypes,\r\n updatedCompanies: CompanyUserData[],\r\n truckList: Truck[]\r\n): Truck[] => {\r\n switch (actionType) {\r\n case TruckUpdateActionTypes.Favorite:\r\n case TruckUpdateActionTypes.Onboard:\r\n return map(truckList, (truck) => {\r\n const userData = find(updatedCompanies, (company) => company.id === truck.companyGuid);\r\n if (userData) {\r\n const updatedTruck = clone(truck);\r\n if (actionType === TruckUpdateActionTypes.Favorite) {\r\n updatedTruck.isFavoriteCarrier = userData.value;\r\n } else {\r\n updatedTruck.onboarded = userData.value;\r\n }\r\n return updatedTruck;\r\n }\r\n return truck;\r\n });\r\n case TruckUpdateActionTypes.Hide:\r\n return filter(\r\n truckList,\r\n (truck) => findIndex(updatedCompanies, (company) => company.id === truck.companyGuid) === -1\r\n );\r\n default:\r\n return truckList;\r\n }\r\n};\r\n\r\nconst fetchTruckEpic$ = (client: TrucksClient, action$: ActionsObservable) =>\r\n action$.ofType(FETCH_TRUCKS).pipe(\r\n mergeMap$((fetchTruckRequest) => {\r\n const truckRequest = fetchTruckRequest as FetchTruck;\r\n return client.fetchTrucksSearch$(truckRequest.request, truckRequest.isInternal).pipe(\r\n map$((response: ApiResponse123) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess;\r\n const matches = splitTrucks(successResp.data ? successResp.data : []);\r\n return fetchTrucksResponse({ success: response.success, payload: matches }, truckRequest.request.filters);\r\n } else {\r\n const error = response as ApiError;\r\n return fetchTrucksResponse({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nconst fetchTruckLklEpic$ = (client: TrucksClient, action$: ActionsObservable) =>\r\n action$.ofType(FETCH_TRUCKS_LKL).pipe(\r\n mergeMap$((fetchTruckRequest) => {\r\n const truckRequest = (fetchTruckRequest as FetchTruckLkl).request;\r\n return client.fetchTrucksSearchLkl$(truckRequest).pipe(\r\n map$((response: ApiResponse123) => {\r\n if (response.success) {\r\n const successResp = response as ApiResponseSuccess;\r\n const matches = splitTrucks(successResp.data?.trucks ? successResp.data.trucks : []);\r\n return fetchTrucksLklResponse(\r\n { success: response.success, payload: matches },\r\n successResp.data?.geolocation\r\n );\r\n } else {\r\n const error = response as ApiError;\r\n return fetchTrucksLklResponse({ success: response.success, error: error });\r\n }\r\n })\r\n );\r\n })\r\n );\r\n\r\nexport const createTruckEpic = (api: Api) => {\r\n const client = new TrucksClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(fetchTruckEpic$(client, action$), fetchTruckLklEpic$(client, action$));\r\n};\r\n\r\nexport const isPhoneVerified = (verificationStatus?: VerificationPointsTaskStatus) =>\r\n verificationStatus ? verificationStatus === VerificationPointsTaskStatus.COMPLETED : false;\r\n","import { filter, findIndex } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { ShareableLoadsClient } from '@/client';\r\nimport {\r\n ShareableLoad,\r\n ShareableLoadList,\r\n ShareableLoadListResponse,\r\n ShareableLoadPatchRequest,\r\n ShareableLoadPostRequest,\r\n ShareableLoadView,\r\n} from '@/model/URLScrape';\r\nimport { Api } from '@common/api';\r\nimport { createApiAction, createApiActionWithFetchData, EmptyResponse } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface URLScrapeState {\r\n shares: ShareableLoadView[];\r\n count: number;\r\n isLoadingShareableLoads: boolean;\r\n isPostingShareableLoads: boolean;\r\n isEditingShareableLoads: boolean;\r\n isDeletingShareableLoads: boolean;\r\n loads: ShareableLoad[];\r\n loadsCount?: number;\r\n isLoadingLoads?: boolean;\r\n isURLAddedSuccessfully?: boolean;\r\n isURLEditedSuccessfully?: boolean;\r\n isURLDeletedSuccessfully?: boolean;\r\n}\r\n\r\ninterface PartialStoreState {\r\n urlScrape: URLScrapeState;\r\n}\r\n\r\nconst fetchSharedBrokerLoadsAction = createApiAction('FETCH_SHARED_BROKER_LOADS');\r\nconst fetchShareableLoadsAction = createApiAction<{}, ShareableLoadListResponse>('FETCH_SHAREABLE_LOADS');\r\nconst postShareableLoadAction = createApiAction('POST_SHAREABLE_LOAD');\r\nconst updateShareableLoadAction = createApiAction(\r\n 'UPDATE_SHAREABLE_LOAD'\r\n);\r\nconst deleteShareableLoadAction = createApiActionWithFetchData('DELETE_SHAREABLE_LOAD');\r\n\r\nexport const fetchShareableLoads = () => fetchShareableLoadsAction.fetchAction({});\r\nexport const postShareableLoad = (request: ShareableLoadPostRequest) => postShareableLoadAction.fetchAction(request);\r\nexport const updateShareableLoad = (request: ShareableLoadPatchRequest) =>\r\n updateShareableLoadAction.fetchAction(request);\r\nexport const deleteShareableLoad = (id: string) => deleteShareableLoadAction.fetchAction(id);\r\nexport const fetchSharedBrokerLoads = (id: string) => fetchSharedBrokerLoadsAction.fetchAction(id);\r\n\r\nconst initialState: URLScrapeState = {\r\n shares: [],\r\n count: 0,\r\n isLoadingShareableLoads: false,\r\n isPostingShareableLoads: false,\r\n isEditingShareableLoads: false,\r\n isDeletingShareableLoads: false,\r\n loads: [],\r\n};\r\n\r\nexport const urlScrapeReducer = createMergedReducer(initialState, [\r\n fetchShareableLoadsAction.initiateCase((state) => {\r\n state.isLoadingShareableLoads = true;\r\n }),\r\n fetchShareableLoadsAction.completeCase((state, action) => {\r\n state.isLoadingShareableLoads = false;\r\n if (action.response.success) {\r\n state.shares = action.response.payload.shares;\r\n state.count = action.response.payload.count;\r\n }\r\n }),\r\n postShareableLoadAction.initiateCase((state) => {\r\n state.isPostingShareableLoads = true;\r\n state.isURLAddedSuccessfully = undefined;\r\n }),\r\n postShareableLoadAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.shares = [...state.shares, action.response.payload];\r\n state.count++;\r\n }\r\n state.isURLAddedSuccessfully = action.response.success;\r\n state.isPostingShareableLoads = false;\r\n }),\r\n updateShareableLoadAction.initiateCase((state) => {\r\n state.isEditingShareableLoads = true;\r\n state.isURLEditedSuccessfully = undefined;\r\n }),\r\n updateShareableLoadAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n const shareableLoad = action.response.payload;\r\n const index = findIndex(state.shares, (share) => share.id === shareableLoad.id);\r\n if (index) {\r\n state.shares[index] = shareableLoad;\r\n }\r\n }\r\n state.isURLEditedSuccessfully = action.response.success;\r\n state.isEditingShareableLoads = false;\r\n }),\r\n deleteShareableLoadAction.initiateCase((state) => {\r\n state.isDeletingShareableLoads = true;\r\n state.isURLDeletedSuccessfully = undefined;\r\n }),\r\n deleteShareableLoadAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.shares = filter(state.shares, (share) => share.id !== action.fetchData);\r\n state.count--;\r\n }\r\n state.isURLDeletedSuccessfully = action.response.success;\r\n state.isDeletingShareableLoads = false;\r\n }),\r\n fetchSharedBrokerLoadsAction.initiateCase((state) => {\r\n state.isLoadingLoads = true;\r\n }),\r\n fetchSharedBrokerLoadsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.loads = action.response.payload.loads;\r\n state.loadsCount = action.response.payload.count;\r\n }\r\n state.isLoadingLoads = false;\r\n }),\r\n]);\r\n\r\nexport const createURLScrapeEpic = (api: Api, anonymousMemberApi: Api) => {\r\n const shareLoadMemberClient = new ShareableLoadsClient(api);\r\n const shareLoadAnonymousMemberClient = new ShareableLoadsClient(anonymousMemberApi);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchShareableLoadsAction.createEpic$(action$, shareLoadMemberClient.getShareableLoadList$),\r\n postShareableLoadAction.createEpic$(action$, shareLoadMemberClient.postShareableLoad$),\r\n updateShareableLoadAction.createEpic$(action$, shareLoadMemberClient.updateShareableLoad$),\r\n deleteShareableLoadAction.createEpic$(action$, shareLoadMemberClient.deleteShareableLoad$),\r\n fetchSharedBrokerLoadsAction.createEpic$(action$, shareLoadAnonymousMemberClient.getSharedBrokerLoads$)\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map, mergeMap } from 'rxjs/operators';\r\n\r\nimport { UnsubscribeClient } from '@/client/UnsubscribeClient';\r\nimport {\r\n ContactSupportData,\r\n SystemTimeData,\r\n TrackingUnsubscribeData,\r\n TrialExtensionData,\r\n UnsubscribeData,\r\n} from '@/model/Unsubscribe';\r\nimport { Api, ApiResponse123 } from '@common/api';\r\nimport {} from '@common/model';\r\nimport { BaseState, Response } from '@common/redux/Base';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport type TrialExtensionResponse = Response;\r\nexport type ContactSupportResponse = Response;\r\nexport type UnsubscribeResponse = Response;\r\nexport type TrackingUnsubscribeDataResponse = Response;\r\nexport type SystemTimeResponse = Response;\r\n\r\ninterface ActionWithOptionalAuth extends Action {\r\n withAuthentication: boolean;\r\n}\r\n\r\ninterface TrialExtensionAction extends Action {\r\n request: TrialExtensionData;\r\n}\r\n\r\ninterface UnsubscribeAction extends Action {\r\n request: UnsubscribeData;\r\n}\r\n\r\ninterface TrackingUnsubscribeDataAction extends Action {\r\n request: TrackingUnsubscribeData;\r\n}\r\n\r\ninterface ContactSupportAction extends Action {\r\n request: ContactSupportData;\r\n}\r\n\r\ninterface SystemTimeDataResponse extends Action {\r\n response: SystemTimeResponse;\r\n}\r\n\r\ninterface TEResponseAction extends Action {\r\n response: TrialExtensionResponse;\r\n}\r\ninterface CSResponseAction extends Action {\r\n response: ContactSupportResponse;\r\n}\r\n\r\ninterface UnsubscribeResponseAction extends Action {\r\n response: UnsubscribeResponse;\r\n}\r\ninterface TrackingUnsubscribeDataResponseAction extends Action {\r\n response: TrackingUnsubscribeDataResponse;\r\n}\r\n\r\nexport interface UnsubscribeState extends BaseState {\r\n postTrialExtensionResponse?: TrialExtensionResponse;\r\n postContactSupportResponse?: ContactSupportResponse;\r\n postUnsubscribeResponse?: UnsubscribeResponse;\r\n postTrackingUnsubscribeDataResponse?: TrackingUnsubscribeDataResponse;\r\n systemTimeResponse?: SystemTimeResponse;\r\n isLoadingUnsubscribe: boolean;\r\n isLoadingContactSupport: boolean;\r\n isLoadingExtension: boolean;\r\n}\r\n\r\nconst initialState: UnsubscribeState = {\r\n isLoading: false,\r\n isLoadingUnsubscribe: false,\r\n isLoadingContactSupport: false,\r\n isLoadingExtension: false,\r\n};\r\n\r\n//create reducer begin\r\nconst createUnsubscribeReducer = () => {\r\n //@FIXME use createApiAction to avoid boilerplate code\r\n const actionTypes = {\r\n FETCH_SYSTEM_TIME: 'FETCH_SYSTEM_TIME',\r\n SYSTEM_TIME_FETCHED: 'SYSTEM_TIME_FETCHED',\r\n POST_TRIAL_EXTENSION: 'POST_TRIAL_EXTENSION',\r\n POST_TRIAL_EXTENSION_FULFILLED: 'POST_TRIAL_EXTENSION_FULFILLED',\r\n POST_CONTACT_SUPPORT: 'POST_CONTACT_SUPPORT',\r\n POST_CONTACT_SUPPORT_FULFILLED: 'POST_CONTACT_SUPPORT_FULFILLED',\r\n POST_UNSUBSCRIBE: 'POST_UNSUBSCRIBE',\r\n POST_UNSUBSCRIBE_FULFILLED: 'POST_UNSUBSCRIBE_FULFILLED',\r\n POST_TRACKING_DATA: 'POST_TRACKING_DATA',\r\n POST_TRACKING_DATA_FULFILLED: 'POST_TRACKING_DATA_FULFILLED',\r\n };\r\n\r\n const actions = {\r\n fetchSystemTime: (): ActionWithOptionalAuth => ({\r\n type: actionTypes.FETCH_SYSTEM_TIME,\r\n withAuthentication: false,\r\n }),\r\n postTrialExtension: (request: TrialExtensionData): TrialExtensionAction => ({\r\n type: actionTypes.POST_TRIAL_EXTENSION,\r\n request: request,\r\n }),\r\n postContactSupport: (request: ContactSupportData): ContactSupportAction => ({\r\n type: actionTypes.POST_CONTACT_SUPPORT,\r\n request: request,\r\n }),\r\n postUnsubscribe: (request: UnsubscribeData): UnsubscribeAction => ({\r\n type: actionTypes.POST_UNSUBSCRIBE,\r\n request: request,\r\n }),\r\n postTrackingUnsubscribeData: (request: TrackingUnsubscribeData): TrackingUnsubscribeDataAction => ({\r\n type: actionTypes.POST_TRACKING_DATA,\r\n request: request,\r\n }),\r\n systemTimeDataResponse: (response: SystemTimeResponse): SystemTimeDataResponse => ({\r\n type: actionTypes.SYSTEM_TIME_FETCHED,\r\n response: response,\r\n }),\r\n postTrialExtensionResponse: (response: TrialExtensionResponse): TEResponseAction => ({\r\n type: actionTypes.POST_TRIAL_EXTENSION_FULFILLED,\r\n response: response,\r\n }),\r\n postCSResponse: (response: ContactSupportResponse): CSResponseAction => ({\r\n type: actionTypes.POST_CONTACT_SUPPORT_FULFILLED,\r\n response: response,\r\n }),\r\n postUnsubscribeResponse: (response: UnsubscribeResponse): UnsubscribeResponseAction => ({\r\n type: actionTypes.POST_UNSUBSCRIBE_FULFILLED,\r\n response: response,\r\n }),\r\n postTrackingUnsubscribeDataResponse: (\r\n response: TrackingUnsubscribeDataResponse\r\n ): TrackingUnsubscribeDataResponseAction => ({\r\n type: actionTypes.POST_TRACKING_DATA_FULFILLED,\r\n response: response,\r\n }),\r\n };\r\n\r\n const unsubscribeReducer = createReducer(initialState, {\r\n [actionTypes.FETCH_SYSTEM_TIME]: (state) => {\r\n state.isLoading = true;\r\n state.systemTimeResponse = undefined;\r\n },\r\n [actionTypes.SYSTEM_TIME_FETCHED]: (state, action: SystemTimeDataResponse) => {\r\n state.isLoading = false;\r\n state.systemTimeResponse = action.response;\r\n },\r\n [actionTypes.POST_TRIAL_EXTENSION]: (state) => {\r\n state.isLoadingExtension = true;\r\n state.postTrialExtensionResponse = undefined;\r\n },\r\n [actionTypes.POST_TRIAL_EXTENSION_FULFILLED]: (state, action: TEResponseAction) => {\r\n state.isLoadingExtension = false;\r\n state.postTrialExtensionResponse = action.response;\r\n },\r\n [actionTypes.POST_CONTACT_SUPPORT]: (state) => {\r\n state.isLoadingContactSupport = true;\r\n state.postContactSupportResponse = undefined;\r\n },\r\n [actionTypes.POST_CONTACT_SUPPORT_FULFILLED]: (state, action: CSResponseAction) => {\r\n state.isLoadingContactSupport = false;\r\n state.postContactSupportResponse = action.response;\r\n },\r\n [actionTypes.POST_UNSUBSCRIBE]: (state) => {\r\n state.isLoadingUnsubscribe = true;\r\n state.postUnsubscribeResponse = undefined;\r\n },\r\n [actionTypes.POST_UNSUBSCRIBE_FULFILLED]: (state, action: UnsubscribeResponseAction) => {\r\n state.isLoadingUnsubscribe = false;\r\n state.postUnsubscribeResponse = action.response;\r\n },\r\n [actionTypes.POST_TRACKING_DATA]: (state) => {\r\n state.isLoading = true;\r\n state.postTrackingUnsubscribeDataResponse = undefined;\r\n },\r\n [actionTypes.POST_TRACKING_DATA_FULFILLED]: (state, action: TrackingUnsubscribeDataResponseAction) => {\r\n state.isLoading = false;\r\n state.postTrackingUnsubscribeDataResponse = action.response;\r\n },\r\n });\r\n\r\n return { actions: actions, reducer: unsubscribeReducer, actionTypes: actionTypes };\r\n};\r\n//create reducer end\r\n\r\nconst memberships = createUnsubscribeReducer();\r\nexport const unsubscribeReducer = memberships.reducer;\r\n\r\nexport const fetchSystemTime = memberships.actions.fetchSystemTime;\r\nexport const postTrialExtension = memberships.actions.postTrialExtension;\r\nexport const postContactSupport = memberships.actions.postContactSupport;\r\nexport const postUnsubscribe = memberships.actions.postUnsubscribe;\r\nexport const postTrackingUnsubscribeData = memberships.actions.postTrackingUnsubscribeData;\r\nexport const systemTimeDataResponse = memberships.actions.systemTimeDataResponse;\r\nexport const postTrialExtensionResponse = memberships.actions.postTrialExtensionResponse;\r\nexport const postCSResponse = memberships.actions.postCSResponse;\r\nexport const postUnsubscribeResponse = memberships.actions.postUnsubscribeResponse;\r\nexport const postTrackingUnsubscribeDataResponse = memberships.actions.postTrackingUnsubscribeDataResponse;\r\n\r\nexport const createUnsubscribeEpic = (api: Api) => {\r\n const client = new UnsubscribeClient(api);\r\n\r\n const fetchSystemTime$ = (action$: ActionsObservable, client: UnsubscribeClient) =>\r\n action$.ofType(memberships.actionTypes.FETCH_SYSTEM_TIME).pipe(\r\n mergeMap(() => {\r\n return client.getSystemTime$().pipe(\r\n map((response: ApiResponse123) => {\r\n return response.result(\r\n (data) =>\r\n systemTimeDataResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n systemTimeDataResponse({\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const doPostTrialExtension$ = (action$: ActionsObservable, client: UnsubscribeClient) =>\r\n action$.ofType(memberships.actionTypes.POST_TRIAL_EXTENSION).pipe(\r\n mergeMap((data: TrialExtensionAction) => {\r\n return client.requestTrialExtension$(data.request).pipe(\r\n map((response: ApiResponse123) => {\r\n return response.result(\r\n (data) =>\r\n postTrialExtensionResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n postTrialExtensionResponse({\r\n success: error.httpStatus === 204,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const doPostContactSupport$ = (action$: ActionsObservable, client: UnsubscribeClient) =>\r\n action$.ofType(memberships.actionTypes.POST_CONTACT_SUPPORT).pipe(\r\n mergeMap((data: ContactSupportAction) => {\r\n return client.contactSupport$(data.request).pipe(\r\n map((response: ApiResponse123) => {\r\n return response.result(\r\n (data) =>\r\n postCSResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n postCSResponse({\r\n success: error.httpStatus === 204,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const doPostUnsubscribe$ = (action$: ActionsObservable, client: UnsubscribeClient) =>\r\n action$.ofType(memberships.actionTypes.POST_UNSUBSCRIBE).pipe(\r\n mergeMap((data: UnsubscribeAction) => {\r\n return client.unsubscribeRequest$(data.request).pipe(\r\n map((response: ApiResponse123) => {\r\n return response.result(\r\n (data) =>\r\n postUnsubscribeResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n postUnsubscribeResponse({\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n const doPostTrackingUnsubscribeData$ = (action$: ActionsObservable, client: UnsubscribeClient) =>\r\n action$.ofType(memberships.actionTypes.POST_TRACKING_DATA).pipe(\r\n mergeMap((data: TrackingUnsubscribeDataAction) => {\r\n return client.trackingUnsubscribeData$(data.request).pipe(\r\n map((response: ApiResponse123) => {\r\n return response.result(\r\n (data) =>\r\n postTrackingUnsubscribeDataResponse({\r\n success: true,\r\n payload: data,\r\n }),\r\n (error) =>\r\n postTrackingUnsubscribeDataResponse({\r\n success: false,\r\n error: error,\r\n })\r\n );\r\n })\r\n );\r\n })\r\n );\r\n\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchSystemTime$(action$, client),\r\n doPostTrialExtension$(action$, client),\r\n doPostContactSupport$(action$, client),\r\n doPostUnsubscribe$(action$, client),\r\n doPostTrackingUnsubscribeData$(action$, client)\r\n );\r\n};\r\n","import { createAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface UserActivityState {\r\n isUserInactive: boolean;\r\n isUserIdle: boolean;\r\n isPageHidden: boolean;\r\n}\r\n\r\nconst initialUserActivityState: UserActivityState = {\r\n isUserInactive: false,\r\n isUserIdle: false,\r\n isPageHidden: false,\r\n};\r\n\r\nconst setUserIdleAction = createAction('SET_USER_IDLE');\r\nconst setPageHiddenAction = createAction('SET_IS_PAGE_HIDDEN');\r\n\r\nexport const setUserIdle = (isUserIdle: boolean) => setUserIdleAction.action(isUserIdle);\r\nexport const setPageHidden = (isPageHidden: boolean) => setPageHiddenAction.action(isPageHidden);\r\n\r\nexport const userActivityReducer = createMergedReducer(initialUserActivityState, [\r\n setUserIdleAction.addCase((state, action) => {\r\n state.isUserIdle = action.data;\r\n state.isUserInactive = action.data || state.isPageHidden;\r\n }),\r\n setPageHiddenAction.addCase((state, action) => {\r\n state.isPageHidden = action.data;\r\n state.isUserInactive = action.data || state.isUserIdle;\r\n }),\r\n]);\r\n","import { concat, filter, isEmpty, map, reduce, some } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { UserSettingsClient } from '@/client/UserSettingsClient';\r\nimport {\r\n AlertsPayload,\r\n DispatcherDetail,\r\n DispatcherPayload,\r\n EmailNotificationsPayload,\r\n HotLeadsPayload,\r\n MessagesNotificationsPayload,\r\n ResetPasswordPayload,\r\n UserAddDetails,\r\n UserEditDetails,\r\n UserSettingsDetails,\r\n UsersSettingsPayload,\r\n} from '@/model/UserManagement';\r\nimport { Api } from '@common/api';\r\nimport { createAction, createApiAction, ResultResponse } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\nimport { editUsers, TypeUsers } from '@page/newSettings/panelSectionFilter/SettingsHelper';\r\n\r\ninterface SelectedFilter {\r\n selectedSettingUser: TypeUsers;\r\n}\r\n\r\nconst postNotificationTokenAction = createApiAction('POST_NOTIFICATION_TOKEN');\r\nconst enableNotificationTokenAction = createApiAction('SAVE_NOTIFICATION_TOKEN');\r\nconst updateNotificationTokenAction = createApiAction('UPDATE_NOTIFICATION_TOKEN');\r\n\r\nconst addUserAction = createApiAction('ADD_USER');\r\nconst fetchSettingUsers = createApiAction<{ id: string; offset: number }, UsersSettingsPayload>('FETCH_SETTING_USER');\r\nconst sortSettingUsersAction = createApiAction('SORT_SETTING_USER');\r\nconst updateUserAction = createApiAction<{ id: number; userDetails: UserEditDetails }, UserEditDetails>('UPDATE_USER');\r\nconst fetchUserAction = createApiAction<{ id: string }, UserEditDetails>('FETCH_USER');\r\nconst deleteUserAction = createApiAction<{ guid: string }, undefined>('DELETE_USER');\r\nconst fetchHotLeads = createApiAction('FETCH_HOT_LEADS');\r\nconst updateHotLeadsAction = createApiAction('UPDATE_HOT_LEADS');\r\nconst fetchAlertsAction = createApiAction('FETCH_ALERTS');\r\nconst updateAlertsAction = createApiAction('UPDATE_ALERTS');\r\nconst fetchEmailNotificationsAction = createApiAction(\r\n 'FETCH_EMAIL_NOTIFICATIONS'\r\n);\r\nconst updateEmailNotificationsAction = createApiAction(\r\n 'UPDATE_EMAIL_NOTIFICATIONS'\r\n);\r\nconst resetPasswordWithEmailAction = createApiAction<{ email: string }, ResetPasswordPayload>('RESET_PASSWORD');\r\nconst setTabControlInitializationAction = createAction<{ isInitialized: boolean }>('SET_TAB_CONTROL_INITIALIZATION');\r\nconst setCurrentTabKeyAction = createAction<{ tabKey: string }>('SET_CURRENT_TAB_KEY');\r\n\r\nexport const postNotificationToken = (data: MessagesNotificationsPayload) =>\r\n postNotificationTokenAction.fetchAction(data);\r\nexport const enableNotificationToken = (data: MessagesNotificationsPayload) =>\r\n enableNotificationTokenAction.fetchAction(data);\r\nexport const updateNotificationToken = (data: MessagesNotificationsPayload) =>\r\n updateNotificationTokenAction.fetchAction(data);\r\n\r\nexport const getSettingUsers = (id: string, offset: number) =>\r\n fetchSettingUsers.fetchAction({ id: id, offset: offset });\r\nexport const getHotleads = () => fetchHotLeads.fetchAction(undefined);\r\nexport const updateHotLeads = (hotLeadsPayload: HotLeadsPayload) => updateHotLeadsAction.fetchAction(hotLeadsPayload);\r\nexport const addUser = (userDetails: UserAddDetails) => addUserAction.fetchAction(userDetails);\r\nexport const fetchAlerts = () => fetchAlertsAction.fetchAction(undefined);\r\nexport const updateAlerts = (data: AlertsPayload) => updateAlertsAction.fetchAction(data);\r\nexport const fetchEmailNotifications = () => fetchEmailNotificationsAction.fetchAction(undefined);\r\nexport const updateEmailNotifications = (data: EmailNotificationsPayload) =>\r\n updateEmailNotificationsAction.fetchAction(data);\r\n\r\nexport const updateUser = (id: number, userDetails: UserEditDetails) =>\r\n updateUserAction.fetchAction({ id: id, userDetails: userDetails });\r\n\r\nexport const fetchUser = (id: string) => fetchUserAction.fetchAction({ id: id });\r\n\r\nexport const deleteUser = (guid: string) => deleteUserAction.fetchAction({ guid: guid });\r\n\r\nexport const resetPasswordWithEmail = (data: { email: string }) => resetPasswordWithEmailAction.fetchAction(data);\r\n\r\nexport const sortSettingUsers = (selectedFilter: SelectedFilter) => sortSettingUsersAction.fetchAction(selectedFilter);\r\n\r\nexport const setTabControlInitialization = (isInitialized: boolean) =>\r\n setTabControlInitializationAction.action({ isInitialized: isInitialized });\r\nexport const setCurrentTabKey = (tabKey: string) => setCurrentTabKeyAction.action({ tabKey: tabKey });\r\n\r\nexport interface UsersSettingState {\r\n users: {\r\n usersPayload?: UsersSettingsPayload;\r\n isLoading: boolean;\r\n wasUpdatedSuccessfully?: boolean;\r\n offset: number;\r\n };\r\n dispatchers: {\r\n dispatcherPayload?: DispatcherPayload;\r\n isLoading: boolean;\r\n wasUpdatedSuccessfully?: boolean;\r\n offset: number;\r\n isAuthorized: boolean;\r\n };\r\n dispatcher: {\r\n selectedDispatcher?: DispatcherDetail;\r\n isLoading: boolean;\r\n wasSuccessful?: boolean;\r\n };\r\n hotLeadsState?: ResultResponse;\r\n userState: {\r\n wasDeletedSuccesfully?: boolean;\r\n wasAddedSuccesfully?: boolean;\r\n wasUpdatedSuccessfully?: boolean;\r\n userWasFetchedSuccessfully: boolean;\r\n userPayload?: UserEditDetails;\r\n selectedUserId?: string;\r\n userWasDeleted?: boolean;\r\n isLoading: boolean;\r\n };\r\n notificationsState?: ResultResponse;\r\n alertsState?: ResultResponse;\r\n selectedUserType: TypeUsers;\r\n resetPasswordState?: ResultResponse;\r\n\r\n userNotificationToken: {\r\n tokenValue?: ResultResponse;\r\n wasSavedSuccessfully: boolean;\r\n wasEnabledSuccessfully: boolean;\r\n };\r\n\r\n openedTabsControl: {\r\n isOpenedTabsControlInitialized: boolean;\r\n currentTabKey?: string;\r\n };\r\n}\r\n\r\nexport const initialState: UsersSettingState = {\r\n users: {\r\n isLoading: false,\r\n offset: 0,\r\n },\r\n dispatchers: {\r\n isLoading: false,\r\n offset: 1,\r\n isAuthorized: true,\r\n },\r\n dispatcher: {\r\n isLoading: false,\r\n },\r\n userState: {\r\n wasDeletedSuccesfully: undefined,\r\n wasAddedSuccesfully: undefined,\r\n wasUpdatedSuccessfully: false,\r\n userWasFetchedSuccessfully: false,\r\n userWasDeleted: undefined,\r\n isLoading: false,\r\n },\r\n selectedUserType: TypeUsers.All,\r\n\r\n userNotificationToken: {\r\n tokenValue: undefined,\r\n wasSavedSuccessfully: false,\r\n wasEnabledSuccessfully: false,\r\n },\r\n\r\n openedTabsControl: {\r\n isOpenedTabsControlInitialized: false,\r\n currentTabKey: '',\r\n },\r\n};\r\n\r\ninterface Entity {\r\n id: T;\r\n}\r\n\r\nconst isRedundant = (entities: Entity[], newEntities: Entity[]) =>\r\n isEmpty(filter(newEntities, (newEntity) => !some(entities, (entity) => entity.id === newEntity.id)));\r\n\r\nconst getUpdatedContacts = (contacts: UserSettingsDetails[], newContacts: UserSettingsDetails[]) =>\r\n reduce(\r\n newContacts,\r\n (resultContacts, newContact) =>\r\n map(resultContacts, (contact) => (contact.id === newContact.id ? newContact : contact)),\r\n contacts\r\n );\r\n\r\nexport const usersSettingsReducer = createMergedReducer(initialState, [\r\n fetchSettingUsers.initiateCase((state) => {\r\n state.users.isLoading = true;\r\n }),\r\n fetchSettingUsers.completeCase((state, action) => {\r\n state.users.isLoading = false;\r\n if (action.response.success) {\r\n state.users.wasUpdatedSuccessfully = true;\r\n const contacts = state.users.usersPayload?.contacts ?? [];\r\n const isRedundantResponse = isRedundant(contacts, action.response.payload.contacts);\r\n const newContacts = isRedundantResponse\r\n ? getUpdatedContacts(contacts, action.response.payload.contacts)\r\n : concat(contacts, action.response.payload.contacts);\r\n\r\n state.users.usersPayload = {\r\n ...action.response.payload,\r\n contacts: newContacts,\r\n };\r\n if (!isRedundantResponse) {\r\n state.users.offset = state.users.offset + action.response.payload.count;\r\n }\r\n } else {\r\n state.users.wasUpdatedSuccessfully = false;\r\n }\r\n }),\r\n\r\n sortSettingUsersAction.initiateCase((state, action) => {\r\n state.selectedUserType = action.data.selectedSettingUser;\r\n }),\r\n\r\n fetchHotLeads.initiateCase((state) => {\r\n state.users.isLoading = true;\r\n }),\r\n\r\n fetchHotLeads.completeCase((state, action) => {\r\n state.users.isLoading = false;\r\n if (action.response.success) {\r\n state.hotLeadsState = action.response;\r\n }\r\n }),\r\n\r\n updateHotLeadsAction.initiateCase((state) => {\r\n state.users.isLoading = true;\r\n if (state.hotLeadsState) {\r\n state.hotLeadsState.success = false;\r\n }\r\n }),\r\n\r\n updateHotLeadsAction.completeCase((state, action) => {\r\n state.users.isLoading = false;\r\n if (action.response.success) {\r\n state.hotLeadsState = action.response;\r\n }\r\n }),\r\n\r\n addUserAction.initiateCase((state) => {\r\n state.userState.wasAddedSuccesfully = false;\r\n state.users.isLoading = true;\r\n }),\r\n\r\n addUserAction.completeCase((state, action) => {\r\n state.users.isLoading = false;\r\n if (action.response.success) {\r\n state.userState.wasAddedSuccesfully = true;\r\n } else {\r\n state.userState.wasAddedSuccesfully = false;\r\n }\r\n }),\r\n\r\n fetchEmailNotificationsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.notificationsState = action.response;\r\n }\r\n }),\r\n\r\n fetchAlertsAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.alertsState = action.response;\r\n }\r\n }),\r\n\r\n updateEmailNotificationsAction.initiateCase((state) => {\r\n state.users.isLoading = true;\r\n if (state.notificationsState) {\r\n state.notificationsState.success = false;\r\n }\r\n }),\r\n\r\n updateEmailNotificationsAction.completeCase((state, action) => {\r\n state.users.isLoading = false;\r\n if (action.response.success) {\r\n state.notificationsState = action.response;\r\n }\r\n }),\r\n\r\n updateEmailNotificationsAction.initiateCase((state) => {\r\n state.users.isLoading = true;\r\n if (state.alertsState) {\r\n state.alertsState.success = false;\r\n }\r\n }),\r\n\r\n updateAlertsAction.completeCase((state, action) => {\r\n state.users.isLoading = false;\r\n if (action.response.success) {\r\n state.alertsState = action.response;\r\n }\r\n }),\r\n\r\n updateUserAction.initiateCase((state) => {\r\n state.users.isLoading = true;\r\n state.userState.wasUpdatedSuccessfully = undefined;\r\n }),\r\n\r\n updateUserAction.completeCase((state, action) => {\r\n state.users.isLoading = false;\r\n if (action.response.success) {\r\n state.userState.wasUpdatedSuccessfully = true;\r\n state.users.usersPayload = state.users.usersPayload\r\n ? {\r\n ...state.users.usersPayload,\r\n contacts: editUsers(action.response.payload, state.users.usersPayload.contacts),\r\n }\r\n : undefined;\r\n } else {\r\n state.userState.wasUpdatedSuccessfully = false;\r\n if (action.response.error.httpStatus === 403) {\r\n state.userState.wasUpdatedSuccessfully = false;\r\n }\r\n }\r\n }),\r\n\r\n fetchUserAction.initiateCase((state, action) => {\r\n state.userState.userWasFetchedSuccessfully = false;\r\n state.userState.isLoading = true;\r\n state.userState.selectedUserId = action.data.id;\r\n }),\r\n\r\n fetchUserAction.completeCase((state, action) => {\r\n state.userState.isLoading = false;\r\n if (action.response.success) {\r\n state.userState.userWasFetchedSuccessfully = true;\r\n state.userState.userPayload = action.response.payload;\r\n } else {\r\n state.userState.userWasFetchedSuccessfully = false;\r\n }\r\n }),\r\n\r\n deleteUserAction.initiateCase((state) => {\r\n state.users.isLoading = true;\r\n state.userState.userWasDeleted = undefined;\r\n }),\r\n\r\n deleteUserAction.completeCase((state, action) => {\r\n state.users.isLoading = false;\r\n if (action.response.success) {\r\n state.userState.userWasDeleted = true;\r\n } else {\r\n state.userState.userWasDeleted = false;\r\n }\r\n }),\r\n\r\n resetPasswordWithEmailAction.completeCase((state, action) => {\r\n if (action.response) {\r\n state.resetPasswordState = action.response;\r\n }\r\n }),\r\n\r\n postNotificationTokenAction.initiateCase((state) => {\r\n state.userNotificationToken.tokenValue = undefined;\r\n }),\r\n\r\n postNotificationTokenAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.userNotificationToken.tokenValue = action.response.payload;\r\n state.userNotificationToken.wasSavedSuccessfully = true;\r\n } else {\r\n state.userNotificationToken.wasSavedSuccessfully = false;\r\n }\r\n }),\r\n\r\n enableNotificationTokenAction.initiateCase((state) => {\r\n state.userNotificationToken.wasEnabledSuccessfully = false;\r\n }),\r\n\r\n enableNotificationTokenAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.userNotificationToken.wasEnabledSuccessfully = true;\r\n } else {\r\n state.userNotificationToken.wasEnabledSuccessfully = false;\r\n }\r\n }),\r\n\r\n updateNotificationTokenAction.initiateCase((state) => {\r\n state.userNotificationToken.tokenValue = undefined;\r\n }),\r\n\r\n updateNotificationTokenAction.completeCase((state, action) => {\r\n if (action.response.success) {\r\n state.userNotificationToken.tokenValue = action.response.payload;\r\n state.userNotificationToken.wasSavedSuccessfully = true;\r\n } else {\r\n state.userNotificationToken.wasSavedSuccessfully = false;\r\n }\r\n }),\r\n\r\n setTabControlInitializationAction.addCase((state, action) => {\r\n state.openedTabsControl.isOpenedTabsControlInitialized = action.data.isInitialized;\r\n }),\r\n setCurrentTabKeyAction.addCase((state, action) => {\r\n state.openedTabsControl.currentTabKey = action.data.tabKey;\r\n }),\r\n]);\r\n\r\nexport const createUserSettingsEpic = (api: Api) => {\r\n const client = new UserSettingsClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n fetchSettingUsers.createEpic$(action$, (data) => client.getUsers$(data.id, data.offset)),\r\n fetchHotLeads.createEpic$(action$, client.getHotLeads$),\r\n fetchEmailNotificationsAction.createEpic$(action$, client.getEmailNotifications$),\r\n fetchAlertsAction.createEpic$(action$, client.getAlerts$),\r\n updateEmailNotificationsAction.createEpic$(action$, client.updateEmailNotifications$),\r\n updateAlertsAction.createEpic$(action$, client.updateAlerts$),\r\n updateHotLeadsAction.createEpic$(action$, client.updateHotLeads$),\r\n addUserAction.createEpic$(action$, client.addUser$),\r\n updateUserAction.createEpic$(action$, (data) => client.updateUser$(data.id, data.userDetails)),\r\n fetchUserAction.createEpic$(action$, (data) => client.getUser$(data.id)),\r\n deleteUserAction.createEpic$(action$, (data) => client.deleteUser$(data.guid)),\r\n resetPasswordWithEmailAction.createEpic$(action$, client.resetPasswordWithEmail$),\r\n postNotificationTokenAction.createEpic$(action$, client.postNotificationToken$),\r\n enableNotificationTokenAction.createEpic$(action$, client.saveNotificationToken$),\r\n updateNotificationTokenAction.createEpic$(action$, client.updateNotificationToken$)\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { VerifyEmailClient } from '@/client';\r\nimport { Api, ApiErrorCode } from '@common/api';\r\nimport { createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport enum VerifyEmailError {\r\n CodeNotProvided,\r\n InvalidActivationCode,\r\n Expired,\r\n Unknown,\r\n}\r\n\r\nexport interface VerifyEmailResponsePayload {\r\n email?: string;\r\n paymentPromptRequired?: boolean;\r\n}\r\n\r\nconst verifyEmailApiAction = createApiAction<{ activationCode: string }, VerifyEmailResponsePayload>('VERIFY_EMAIL');\r\nconst sendConfirmationEmailApiAction = createApiAction('SEND_CONFIRMATION_EMAIL');\r\n\r\nconst SET_VERIFICATION_CODE_NOT_PROVIDED = 'SET_VERIFICATION_CODE_NOT_PROVIDED';\r\n\r\nexport const verifyEmail = (activationCode: string) =>\r\n verifyEmailApiAction.fetchAction({ activationCode: activationCode });\r\nexport const resendConfirmationEmail = () => sendConfirmationEmailApiAction.fetchAction(undefined);\r\n\r\nexport const setErrorNoCodeProvided = (): Action => ({\r\n type: SET_VERIFICATION_CODE_NOT_PROVIDED,\r\n});\r\n\r\nexport interface VerifyEmailSuccessfulResponse {\r\n successful: true;\r\n validatedEmail?: string;\r\n isRegistrationFromApp: boolean;\r\n}\r\n\r\nexport type VerifyEmailResponse =\r\n | VerifyEmailSuccessfulResponse\r\n | {\r\n successful: false;\r\n error: VerifyEmailError;\r\n };\r\n\r\nexport interface VerifyEmailState {\r\n isLoading: boolean;\r\n response?: VerifyEmailResponse;\r\n confirmationEmail: {\r\n isSending: boolean;\r\n sentSuccessfully?: boolean;\r\n sentTime?: number;\r\n };\r\n}\r\n\r\nconst initialState: VerifyEmailState = {\r\n isLoading: false,\r\n confirmationEmail: {\r\n isSending: false,\r\n },\r\n};\r\n\r\nexport const verifyEmailReducer = createMergedReducer(initialState, [\r\n {\r\n [SET_VERIFICATION_CODE_NOT_PROVIDED]: (state) => {\r\n state.isLoading = false;\r\n state.response = {\r\n successful: false,\r\n error: VerifyEmailError.CodeNotProvided,\r\n };\r\n },\r\n },\r\n verifyEmailApiAction.initiateCase((state) => {\r\n state.isLoading = true;\r\n state.response = undefined;\r\n }),\r\n verifyEmailApiAction.completeCase((state, action) => {\r\n state.isLoading = false;\r\n if (action.response.success) {\r\n state.response = {\r\n successful: true,\r\n validatedEmail: action.response.payload.email,\r\n // check for true explicitly as paymentPromptRequired may not always be returned\r\n isRegistrationFromApp: action.response.payload.paymentPromptRequired === true,\r\n };\r\n } else {\r\n let error = VerifyEmailError.Unknown;\r\n if (\r\n action.response.error.httpStatus === 404 &&\r\n // there is a case where a valid but expired code returns a 404 which we\r\n // handle below, so we must not catch it here (see case 2 in API-2776)\r\n action.response.error.code !== ApiErrorCode.VERIFY_EMAIL_CODE_ALREADY_USED\r\n ) {\r\n error = VerifyEmailError.InvalidActivationCode;\r\n } else if (\r\n action.response.error.code === ApiErrorCode.VERIFY_EMAIL_CODE_ALREADY_USED ||\r\n action.response.error.code === ApiErrorCode.VERIFY_EMAIL_CODE_EXPIRED\r\n ) {\r\n error = VerifyEmailError.Expired;\r\n }\r\n state.response = {\r\n successful: false,\r\n error: error,\r\n };\r\n }\r\n }),\r\n sendConfirmationEmailApiAction.initiateCase((state) => {\r\n state.confirmationEmail.isSending = true;\r\n state.confirmationEmail.sentTime = undefined;\r\n state.confirmationEmail.sentSuccessfully = undefined;\r\n }),\r\n sendConfirmationEmailApiAction.completeCase((state, action) => {\r\n state.confirmationEmail.isSending = false;\r\n state.confirmationEmail.sentTime = Date.now();\r\n state.confirmationEmail.sentSuccessfully = action.response.success;\r\n }),\r\n]);\r\n\r\nexport const createVerifyEmailEpic = (memberApi: Api, anonymousApi: Api) => {\r\n const memberClient = new VerifyEmailClient(memberApi);\r\n const anonymousClient = new VerifyEmailClient(anonymousApi);\r\n return (action$: ActionsObservable) =>\r\n merge$(\r\n verifyEmailApiAction.createEpic$(action$, (data) => anonymousClient.verifyEmail$(data.activationCode)),\r\n sendConfirmationEmailApiAction.createEpic$(action$, () => memberClient.resendConfirmationEmail$())\r\n );\r\n};\r\n","import { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\n\r\nimport { WelcomebackCampaignClient } from '@/client/WelcomebackCampaignClient';\r\nimport { Api } from '@common/api';\r\nimport { SimplifiedEquipment } from '@common/model';\r\nimport { createApiAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface SimpleLocation {\r\n city: string;\r\n state: string;\r\n country: string;\r\n deadhead: number;\r\n}\r\n\r\nexport interface LoadPreview {\r\n id: string;\r\n origin: SimpleLocation;\r\n destination: SimpleLocation;\r\n equipments: SimplifiedEquipment[];\r\n loadSize: string;\r\n weight: number;\r\n length: number;\r\n pickupDates: string[];\r\n}\r\n\r\nconst fetchLoadSearchPreviewAction = createApiAction('FETCH_LOAD_SEARCH_PREVIEW');\r\n\r\nexport const fetchLoadSearchPreview = (token: string) => fetchLoadSearchPreviewAction.fetchAction(token);\r\n\r\nexport interface WelcomebackCampaignState {\r\n loadSearchPreviewList: LoadPreview[];\r\n isFetchingLoads: boolean;\r\n didFetchLoads?: boolean;\r\n}\r\n\r\nconst initialState: WelcomebackCampaignState = {\r\n loadSearchPreviewList: [],\r\n isFetchingLoads: false,\r\n didFetchLoads: undefined,\r\n};\r\n\r\nexport const welcomebackCampaignReducer = createMergedReducer(initialState, [\r\n fetchLoadSearchPreviewAction.initiateCase((state) => {\r\n state.didFetchLoads = undefined;\r\n state.isFetchingLoads = true;\r\n }),\r\n fetchLoadSearchPreviewAction.completeCase((state, action) => {\r\n state.isFetchingLoads = false;\r\n state.didFetchLoads = action.response.success;\r\n if (action.response.success) {\r\n state.loadSearchPreviewList = action.response.payload;\r\n }\r\n }),\r\n]);\r\n\r\nexport const createWelcomebackCampaignEpic = (api: Api) => {\r\n const client = new WelcomebackCampaignClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(fetchLoadSearchPreviewAction.createEpic$(action$, client.getLoadSearchPreview$));\r\n};\r\n","import { isEqual, map, round } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable, StateObservable } from 'redux-observable';\r\nimport { merge as merge$ } from 'rxjs';\r\nimport { map as map$, mergeMap as mergeMap$ } from 'rxjs/operators';\r\n\r\nimport { PostLoadsClient } from '@/client';\r\nimport {\r\n DispatcherDetail,\r\n DispatcherPostResponse,\r\n INITIAL_EQUIPMENT,\r\n PostLoadFormUserProfile,\r\n RateCheckRequest,\r\n} from '@/model';\r\nimport { SelectedSingleLocation } from '@/reduxStore/epic/MileageCalculatorEpic';\r\nimport {\r\n convertFormFieldsToLoadPostRequest,\r\n getPostLoadFormFieldsFromLoad,\r\n initialPostLoadFormState,\r\n PostLoadFormFieldsState,\r\n PostLoadFormState,\r\n} from '@/reduxStore/epic/postLoad/PostLoadFormStateHelper';\r\nimport { history } from '@/reduxStore/History';\r\nimport {\r\n createFormValidationReducer,\r\n ValidationField,\r\n ValidationFieldKey,\r\n} from '@/reduxStore/reducer/FormValidationReducer';\r\nimport { Routes } from '@/router/Routes';\r\nimport { Api, ApiResponse123 } from '@common/api';\r\nimport { isLoadLocationEqual } from '@common/helper';\r\nimport { Load, MileageRoutesPostRequest, RateCheck, RouteInfo } from '@common/model';\r\nimport {\r\n ApiAction,\r\n createAction,\r\n createApiAction,\r\n Response,\r\n ResponseAction,\r\n responseActionHandler,\r\n ResultResponseAction,\r\n} from '@common/redux/Base';\r\nimport { simpleApiEpicToAction } from '@common/redux/epic/EpicHelper';\r\nimport { LoadDetailsReducerKey, LoadDetailsState } from '@common/redux/epic/LoadDetailsEpic';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\nimport { generateLoadPostingRoute, PostLoadsRouteParams, PostType } from '@page/postLoads/RouteParams';\r\nimport { doLoadPostRequestExtraStopsMatchExistingLoad } from '@util/helper/PostLoadHelper';\r\nimport { decodeMatchParams } from '@util/UrlParamsHelper';\r\n\r\nexport const POST_LOAD_FORM_REDUCER_KEY = 'postLoadForm';\r\n\r\nconst UPDATE_LOAD_POST_FORM_FIELDS = 'UPDATE_LOAD_POST_FORM_FIELDS';\r\nconst CLEAR_LOAD_POST_FORM_FIELDS = 'CLEAR_LOAD_POST_FORM_FIELDS';\r\nconst POST_LOAD = 'POST_LOAD';\r\nexport const POST_LOAD_FULFILLED = 'POST_LOAD_FULFILLED';\r\nconst CLONE_LOAD = 'CLONE_LOAD';\r\nexport const CLONE_LOAD_FULFILLED = 'CLONE_LOAD_FULFILLED';\r\nconst EDIT_LOAD = 'EDIT_LOAD';\r\nexport const EDIT_LOAD_FULFILLED = 'EDIT_LOAD_FULFILLED';\r\nconst CLEAR_POSING_ERRORS = 'CLEAR_POSTING_ERRORS';\r\nconst ADD_POST_LOAD_STOP_LOCATION = 'ADD_POST_LOAD_STOP_LOCATION';\r\nconst DELETE_POST_LOAD_STOP_LOCATION = 'DELETE_POST_LOAD_STOP_LOCATION';\r\nconst EDIT_POST_LOAD_STOP_LOCATION = 'EDIT_POST_LOAD_STOP_LOCATION';\r\nconst SET_LAST_USED_POSTING_CONTACT = 'SET_LAST_USED_POSTING_CONTACT';\r\nconst SET_SELECTED_POSTING_CONTACT = 'SET_SELECTED_POSTING_CONTACT';\r\nconst SET_POSTING_WITH_VISIBILITY_RULES = 'SET_POSTING_WITH_VISIBILITY_RULES';\r\n\r\ninterface PartialState {\r\n postLoadFields: PostLoadFormState;\r\n [LoadDetailsReducerKey.POSTED]: LoadDetailsState;\r\n}\r\n\r\nexport const dispatcherInfo = createApiAction('DISPATCHER_INFO');\r\n\r\nexport interface LoadActionResponse extends Action {\r\n response: Response;\r\n returnUrl: string;\r\n shouldFetchRouteMap?: boolean;\r\n}\r\n\r\ninterface UpdateFormFieldsAction extends Action {\r\n fields: Partial;\r\n}\r\n\r\ninterface WithBaseUrlAction extends Action {\r\n baseUrl?: string;\r\n}\r\n\r\ninterface EditLoadAction extends WithBaseUrlAction {\r\n loadId: string;\r\n}\r\n\r\nexport const updatePostLoadFormFields = (fields: Partial): UpdateFormFieldsAction => ({\r\n type: UPDATE_LOAD_POST_FORM_FIELDS,\r\n fields: fields,\r\n});\r\n\r\nexport const clearPostLoadFormFields = () => ({\r\n type: CLEAR_LOAD_POST_FORM_FIELDS,\r\n});\r\n\r\nexport const postLoad = (baseUrl?: string): WithBaseUrlAction => ({\r\n type: POST_LOAD,\r\n baseUrl: baseUrl,\r\n});\r\n\r\nexport const cloneLoad = (baseUrl?: string): WithBaseUrlAction => ({\r\n type: CLONE_LOAD,\r\n baseUrl: baseUrl,\r\n});\r\n\r\nexport const editLoad = (loadId: string, baseUrl: string | undefined): EditLoadAction => ({\r\n type: EDIT_LOAD,\r\n loadId: loadId,\r\n baseUrl: baseUrl,\r\n});\r\n\r\nexport const clearPostingErrors = () => ({\r\n type: CLEAR_POSING_ERRORS,\r\n});\r\n\r\nconst setPostingWithVisibilityRulesAction = createAction(SET_POSTING_WITH_VISIBILITY_RULES);\r\nconst addStopLocationAction = createAction(ADD_POST_LOAD_STOP_LOCATION);\r\nconst deleteStopLocationAction = createAction(DELETE_POST_LOAD_STOP_LOCATION);\r\nconst editStopLocationAction = createAction(EDIT_POST_LOAD_STOP_LOCATION);\r\nconst setLastUsedPostingContactAction = createAction(SET_LAST_USED_POSTING_CONTACT);\r\nconst setSelectedPostingContactAction = createAction(SET_SELECTED_POSTING_CONTACT);\r\nconst fetchRouteMileageAction = createApiAction('MILEAGE_REQUEST');\r\nconst clearRouteMileageAction = createAction('CLEAR_TOTAL_MILEAGE');\r\nconst fetchRateCheckAction = createApiAction('FETCH_POST_LOADS_RATE_CHECK');\r\nconst clearRateCheckAction = createAction('CLEAR_POST_LOADS_RATE_CHECK');\r\n\r\nexport const setPostingWithVisibilityRules = (isPostingWithVisibilityRules: boolean) =>\r\n setPostingWithVisibilityRulesAction.action(isPostingWithVisibilityRules);\r\n\r\nexport const addStopLocation = (selectedLocation: SelectedSingleLocation) =>\r\n addStopLocationAction.action(selectedLocation);\r\n\r\nexport const editStopLocation = (selectedLocation: SelectedSingleLocation) =>\r\n editStopLocationAction.action(selectedLocation);\r\n\r\nexport const deleteStopLocation = (key: number) => deleteStopLocationAction.action(key);\r\n\r\nexport const setValidationFields = (validationFields: ValidationField[]) =>\r\n formValidationActions.setValidationFields(validationFields);\r\n\r\nexport const dropValidationFields = () => formValidationActions.dropValidationFields();\r\n\r\nexport const unsetValidationField = (validationField: ValidationFieldKey) =>\r\n formValidationActions.unsetValidationField(validationField);\r\n\r\nexport const setLastUsedPostingContact = (contact: DispatcherPostResponse | undefined) =>\r\n setLastUsedPostingContactAction.action(contact);\r\n\r\nexport const setSelectedPostingContact = (contact: DispatcherPostResponse | undefined) =>\r\n setSelectedPostingContactAction.action(contact);\r\n\r\nexport const fetchRouteMileage = fetchRouteMileageAction.fetchAction;\r\n\r\nexport const clearRouteMileage = () => clearRouteMileageAction.action(undefined);\r\n\r\nexport const fetchPostLoadRateCheck = fetchRateCheckAction.fetchAction;\r\n\r\nexport const clearPostLoadRateCheck = () => clearRateCheckAction.action(undefined);\r\n\r\nconst shouldRecalculateRate = (\r\n currentFields: PostLoadFormFieldsState,\r\n updatedFields: Partial\r\n): boolean => {\r\n // Don't recalculate when edit panel opens and fills its fields first time\r\n if (updatedFields.originLocation && updatedFields.destinationLocation && updatedFields.equipment) {\r\n return false;\r\n }\r\n if (updatedFields.originLocation) {\r\n return true;\r\n }\r\n if (updatedFields.destinationLocation) {\r\n return true;\r\n }\r\n if (\r\n updatedFields.equipment &&\r\n !isEqual(\r\n map(updatedFields.equipment, (e) => e.equipmentType),\r\n map(currentFields.equipment, (e) => e.equipmentType)\r\n )\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n};\r\n\r\nconst { reducer: formValidationReducer, actions: formValidationActions } = createFormValidationReducer<\r\n PostLoadFormFieldsState,\r\n PostLoadFormState\r\n>(POST_LOAD_FORM_REDUCER_KEY, initialPostLoadFormState);\r\n\r\nexport const postLoadsFormReducer = createReducer(\r\n initialPostLoadFormState,\r\n {\r\n [UPDATE_LOAD_POST_FORM_FIELDS]: (state: PostLoadFormState, action: UpdateFormFieldsAction) => {\r\n if (shouldRecalculateRate(state.fields, action.fields)) {\r\n state.meta.shouldRecalculateRateCheck = true;\r\n }\r\n state.fields = {\r\n ...state.fields,\r\n ...action.fields,\r\n miles: action.fields.miles ? round(action.fields.miles) : state.fields.miles,\r\n };\r\n if (!state.fields.equipment || state.fields.equipment.length === 0) {\r\n state.fields.equipment = [INITIAL_EQUIPMENT];\r\n }\r\n },\r\n [CLEAR_LOAD_POST_FORM_FIELDS]: (state: PostLoadFormState) => {\r\n const userProfile: PostLoadFormUserProfile = {\r\n dispatchName: state.fields.dispatchName,\r\n dispatchEmail: state.fields.dispatchEmail,\r\n 'dispatchPhone.number': state.fields['dispatchPhone.number'],\r\n 'dispatchPhone.extension': state.fields['dispatchPhone.extension'],\r\n };\r\n state.fields = { ...initialPostLoadFormState.fields, ...userProfile, stopsLocations: [] };\r\n state.meta.shouldRecalculateRateCheck = false;\r\n state.validationFields = [];\r\n },\r\n [POST_LOAD]: (state: PostLoadFormState) => {\r\n state.isPosting = true;\r\n state.postingError = undefined;\r\n },\r\n [POST_LOAD_FULFILLED]: (state: PostLoadFormState, action: LoadActionResponse) => {\r\n state.isPosting = false;\r\n state.postingError = action.response.error;\r\n },\r\n [EDIT_LOAD]: (state: PostLoadFormState) => {\r\n state.isPosting = true;\r\n state.postingError = undefined;\r\n },\r\n [EDIT_LOAD_FULFILLED]: (state: PostLoadFormState, action: LoadActionResponse) => {\r\n state.isPosting = false;\r\n state.postingError = action.response.error;\r\n },\r\n [CLONE_LOAD]: (state: PostLoadFormState) => {\r\n state.isPosting = true;\r\n state.postingError = undefined;\r\n },\r\n [CLONE_LOAD_FULFILLED]: (state: PostLoadFormState, action: LoadActionResponse) => {\r\n state.isPosting = false;\r\n state.postingError = action.response.error;\r\n },\r\n [CLEAR_POSING_ERRORS]: (state: PostLoadFormState) => {\r\n state.postingError = undefined;\r\n },\r\n [dispatcherInfo.responseType]: (state: PostLoadFormState, action: ResponseAction) => {\r\n state.dispatcher = action.response.success ? action.response.payload : undefined;\r\n },\r\n [ADD_POST_LOAD_STOP_LOCATION]: (state: PostLoadFormState, action: ApiAction) => {\r\n if (action.data.stopIndex !== undefined && state.fields.stopsLocations.length >= 1) {\r\n const index = action.data.stopIndex;\r\n const stop = action.data.selectedLocation;\r\n state.fields.stopsLocations.splice(index, 0, stop);\r\n } else {\r\n state.fields.stopsLocations.push(action.data.selectedLocation);\r\n }\r\n },\r\n [DELETE_POST_LOAD_STOP_LOCATION]: (state: PostLoadFormState, action: ApiAction) => {\r\n if (state.fields.stopsLocations[action.data]) {\r\n state.fields.stopsLocations.splice(action.data, 1);\r\n }\r\n },\r\n [EDIT_POST_LOAD_STOP_LOCATION]: (state: PostLoadFormState, action: ApiAction) => {\r\n const index = action.data.stopIndex;\r\n const stop = action.data.selectedLocation;\r\n if (index !== undefined && state.fields.stopsLocations[index]) {\r\n state.fields.stopsLocations[index] = stop;\r\n }\r\n },\r\n [SET_LAST_USED_POSTING_CONTACT]: (state, action: ApiAction) => {\r\n state.lastUsedPostingContact = action.data;\r\n },\r\n [SET_SELECTED_POSTING_CONTACT]: (state, action: ApiAction) => {\r\n state.selectedPostingContact = action.data;\r\n },\r\n [SET_POSTING_WITH_VISIBILITY_RULES]: (state, action: ApiAction) => {\r\n state.isPostingWithVisibilityRules = action.data;\r\n },\r\n [fetchRouteMileageAction.responseType]: (state, { response }: ResultResponseAction) => {\r\n state.totalPostMileage = response.success ? response.payload.mileage : undefined;\r\n },\r\n [clearRouteMileageAction.actionType]: (state) => {\r\n state.totalPostMileage = undefined;\r\n },\r\n [fetchRateCheckAction.fetchType]: (state) => {\r\n state.rateCheck.result = undefined;\r\n state.rateCheck.isLoading = true;\r\n },\r\n [fetchRateCheckAction.responseType]: (state, { response }: ResultResponseAction) => {\r\n state.rateCheck.result = response.success ? response.payload : undefined;\r\n state.rateCheck.isLoading = false;\r\n },\r\n [clearRateCheckAction.actionType]: (state) => {\r\n state.rateCheck.result = undefined;\r\n },\r\n },\r\n formValidationReducer\r\n);\r\n\r\nconst getLocationParamsForPostBackRedirect = (baseUrl?: string): Partial => {\r\n const locationMatch = decodeMatchParams(\r\n history.location.pathname,\r\n baseUrl ?? Routes.LOADS_MY_LOADS_POST\r\n );\r\n if (locationMatch?.params) {\r\n const { editing, actionType, ...match } = locationMatch?.params;\r\n return actionType === PostType.Single ? {} : { ...match };\r\n }\r\n return {};\r\n};\r\n\r\nconst postLoad$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n loadClient: PostLoadsClient\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n POST_LOAD,\r\n () => {\r\n const loadData = convertFormFieldsToLoadPostRequest(state$.value.postLoadFields.fields);\r\n return loadClient.postLoad$({ ...loadData, saveLoadTemplate: true });\r\n },\r\n (response, action: WithBaseUrlAction): LoadActionResponse => ({\r\n type: POST_LOAD_FULFILLED,\r\n response: response,\r\n returnUrl: generateLoadPostingRoute(getLocationParamsForPostBackRedirect(action.baseUrl), action.baseUrl),\r\n })\r\n );\r\n\r\nconst getLocationParamsForBackRedirect = (): Partial => {\r\n const locationMatch = decodeMatchParams(history.location.pathname, Routes.LOADS_MY_LOADS_POST);\r\n const shouldCloseLoadDetails = locationMatch?.params.actionType === 'offline';\r\n if (locationMatch?.params !== undefined) {\r\n const { editing, load, loadID, ...match } = locationMatch.params;\r\n return shouldCloseLoadDetails ? { ...match } : { ...match, load: load, loadID: loadID };\r\n }\r\n return {};\r\n};\r\n\r\nconst cloneLoad$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n loadClient: PostLoadsClient\r\n) =>\r\n simpleApiEpicToAction(\r\n action$,\r\n CLONE_LOAD,\r\n () => {\r\n const loadData = convertFormFieldsToLoadPostRequest(state$.value.postLoadFields.fields);\r\n return loadClient.postLoad$({ ...loadData, saveLoadTemplate: true });\r\n },\r\n (response): LoadActionResponse => ({\r\n type: CLONE_LOAD_FULFILLED,\r\n response: response,\r\n returnUrl: generateLoadPostingRoute(getLocationParamsForBackRedirect()),\r\n })\r\n );\r\n\r\nconst editLoad$ = (\r\n action$: ActionsObservable,\r\n state$: StateObservable,\r\n loadClient: PostLoadsClient\r\n) =>\r\n action$.ofType(EDIT_LOAD).pipe(\r\n mergeMap$((action: EditLoadAction) => {\r\n const postedLoadDetails = state$.value.postedLoadDetails.currentLoad;\r\n const currentFormFields = state$.value.postLoadFields.fields;\r\n\r\n const loadPostRequest = convertFormFieldsToLoadPostRequest(currentFormFields);\r\n\r\n let didModifyLocations = false;\r\n if (postedLoadDetails?.id === action.loadId) {\r\n const initialFormFields = getPostLoadFormFieldsFromLoad(postedLoadDetails);\r\n didModifyLocations =\r\n !isLoadLocationEqual(initialFormFields?.originLocation, currentFormFields.originLocation) ||\r\n !isLoadLocationEqual(initialFormFields?.destinationLocation, currentFormFields.destinationLocation) ||\r\n !doLoadPostRequestExtraStopsMatchExistingLoad(loadPostRequest, postedLoadDetails);\r\n }\r\n\r\n return loadClient.editLoad$(loadPostRequest, action.loadId).pipe(\r\n map$, LoadActionResponse>((response: ApiResponse123) => ({\r\n ...responseActionHandler(EDIT_LOAD_FULFILLED, response),\r\n returnUrl: generateLoadPostingRoute(getLocationParamsForBackRedirect()),\r\n shouldFetchRouteMap: didModifyLocations,\r\n }))\r\n );\r\n })\r\n );\r\n\r\nexport const createPostLoadFormEpic$ = (api: Api) => {\r\n const postLoadsClient = new PostLoadsClient(api);\r\n return (action$: ActionsObservable, state$: StateObservable) =>\r\n merge$(\r\n postLoad$(action$, state$, postLoadsClient),\r\n cloneLoad$(action$, state$, postLoadsClient),\r\n editLoad$(action$, state$, postLoadsClient),\r\n dispatcherInfo.createEpic$(action$, postLoadsClient.fetchDispatcherInfo$),\r\n fetchRouteMileageAction.createEpic$(action$, postLoadsClient.fetchRouteMileage$),\r\n fetchRateCheckAction.createEpic$(action$, postLoadsClient.fetchRateCheck$)\r\n );\r\n};\r\n","import { compact, filter, isEmpty, isEqual, isUndefined, map, toInteger } from 'lodash';\r\n\r\nimport {\r\n DispatcherDetail,\r\n DispatcherPostResponse,\r\n INITIAL_EQUIPMENT,\r\n LoadEquipment,\r\n LoadPostRequest,\r\n PostLoadFormUserProfile,\r\n} from '@/model';\r\nimport {\r\n convertPostLoadVisibilityRulesetForRequest,\r\n convertPostLoadVisibilityRulesetFromServer,\r\n} from '@/reduxStore/epic/LoadVisibilityRulesHelper';\r\nimport { FormValidationState } from '@/reduxStore/reducer/FormValidationReducer';\r\nimport { ApiError } from '@common/api';\r\nimport {\r\n addressToLocationSuggestion,\r\n convertBaseLocationToLoadLocation,\r\n convertLoadLocationToBaseLocation,\r\n extractTimeFromDateTimeIfPresent,\r\n formatDateYYYYMMDDTHHmm,\r\n} from '@common/helper';\r\nimport { equipmentSpecificationsFrom } from '@common/helper/EquipmentHelper';\r\nimport {\r\n ANYWHERE_LOCATION,\r\n Equipment,\r\n EquipmentSpecification,\r\n ExtraStopLocationType,\r\n Load,\r\n LoadExtraStop,\r\n LoadLocation,\r\n LoadSize,\r\n LocationSuggestion,\r\n LocationType,\r\n PayRateUnit,\r\n PostLoadVisibilityRulesListUI,\r\n RateCheck,\r\n StopPurposeType,\r\n SuggestionTypes,\r\n} from '@common/model';\r\nimport { getUserInfoFromLoad } from '@component/panels/basePostPanel/userData';\r\nimport { equipmentSpecificationsTo } from '@util/helper/EquipmentHelper';\r\nimport { parseGeolocation } from '@util/parsers/MapDataParsers';\r\n\r\n/**\r\n * These names are in the error messages in the API, not the normal \"happy path\" structure model.\r\n * We have a generic model for all api errors with the field name stored as a value. In the past we removed an extra\r\n * superflous mapping because the fields system was already convoluted. So to associate an error from the API with\r\n * a form data it was decided to use the same field name in interface as it comes from the API in error field */\r\nexport const RATE_AMOUNT = 'rate.amount';\r\n\r\nexport enum TeamDriving {\r\n Yes = 'Yes',\r\n No = 'No',\r\n}\r\n\r\ninterface PostLoadFormFields {\r\n originLocation: LoadLocation;\r\n destinationLocation: LoadLocation;\r\n pickUpDateTimes: string[];\r\n deliveryDateTime?: string;\r\n pickUpTime?: string;\r\n deliveryTime?: string;\r\n totalPostMileage?: number;\r\n equipment: LoadEquipment[];\r\n loadSize: LoadSize;\r\n length?: number;\r\n weight?: number;\r\n postReference?: string;\r\n commodity?: string;\r\n notes?: string;\r\n privateLoadNote?: string;\r\n teamDriving?: TeamDriving;\r\n numberOfLoads?: number;\r\n numberOfStops?: number;\r\n miles: number;\r\n [RATE_AMOUNT]: number;\r\n rateType: string;\r\n mileage?: string;\r\n stopsLocations: LocationSuggestion[];\r\n extraStops: LoadExtraStop[];\r\n visibility?: PostLoadVisibilityRulesListUI;\r\n}\r\n\r\nexport type PostLoadFormFieldsState = PostLoadFormUserProfile & PostLoadFormFields;\r\n\r\nexport interface PostLoadFormState extends FormValidationState {\r\n fields: PostLoadFormFieldsState;\r\n meta: {\r\n shouldRecalculateRateCheck: boolean;\r\n };\r\n isPosting: boolean;\r\n postingError: ApiError | undefined;\r\n dispatcher?: DispatcherDetail;\r\n lastUsedPostingContact?: DispatcherPostResponse;\r\n selectedPostingContact?: DispatcherPostResponse;\r\n isPostingWithVisibilityRules: boolean;\r\n totalPostMileage?: number;\r\n rateCheck: {\r\n isLoading: boolean;\r\n result?: RateCheck;\r\n };\r\n}\r\n\r\nexport const initialPostLoadFormState: PostLoadFormState = {\r\n fields: {\r\n originLocation: ANYWHERE_LOCATION,\r\n destinationLocation: ANYWHERE_LOCATION,\r\n pickUpDateTimes: [],\r\n equipment: [INITIAL_EQUIPMENT],\r\n loadSize: LoadSize.TL,\r\n length: undefined,\r\n weight: undefined,\r\n postReference: undefined,\r\n commodity: '',\r\n notes: '',\r\n privateLoadNote: '',\r\n teamDriving: TeamDriving.No,\r\n numberOfLoads: 1,\r\n dispatchName: '',\r\n 'dispatchPhone.number': '',\r\n 'dispatchPhone.extension': '',\r\n dispatchEmail: '',\r\n miles: 0,\r\n [RATE_AMOUNT]: 0,\r\n rateType: PayRateUnit.Flat,\r\n mileage: undefined,\r\n stopsLocations: [],\r\n extraStops: [],\r\n },\r\n validationFields: [],\r\n isPosting: false,\r\n postingError: undefined,\r\n meta: {\r\n shouldRecalculateRateCheck: false,\r\n },\r\n isPostingWithVisibilityRules: false,\r\n rateCheck: {\r\n isLoading: false,\r\n },\r\n};\r\n\r\nconst setDefaultField: (value: T, defaultValue: T, compareValue?: T) => T = (value, defaultValue, compareValue) => {\r\n if (compareValue) {\r\n return isEqual(value, compareValue) ? defaultValue : value;\r\n }\r\n return value ? value : defaultValue;\r\n};\r\n\r\nexport const convertFormFieldsToLoadPostRequest = (fields: PostLoadFormFieldsState): LoadPostRequest => {\r\n const equipments = map(fields.equipment, (item) => {\r\n let equipmentSpecifications = item.equipmentSpecifications;\r\n if (isEmpty(item.equipmentSpecifications)) {\r\n equipmentSpecifications = [EquipmentSpecification.None];\r\n }\r\n return {\r\n equipmentType: item.equipmentType,\r\n equipmentSpecifications: equipmentSpecificationsTo(equipmentSpecifications),\r\n };\r\n });\r\n\r\n const stops: LoadExtraStop[] = map(fields.stopsLocations, (stopLocation, index): LoadExtraStop => {\r\n let type;\r\n switch (stopLocation.type) {\r\n case SuggestionTypes.CityState:\r\n type = ExtraStopLocationType.CityState;\r\n break;\r\n case SuggestionTypes.Geolocation:\r\n type = ExtraStopLocationType.Geolocation;\r\n break;\r\n case SuggestionTypes.ZipCode:\r\n type = ExtraStopLocationType.ZipCode;\r\n break;\r\n default:\r\n type = ExtraStopLocationType.None;\r\n }\r\n const geolocation = parseGeolocation(stopLocation);\r\n const extraStop: LoadExtraStop = {\r\n type: type,\r\n address: {\r\n city: stopLocation?.city ?? '',\r\n state: stopLocation?.state ?? '',\r\n },\r\n stopNo: index + 1,\r\n stopPurpose: StopPurposeType.None,\r\n };\r\n if (stopLocation?.zipCode !== undefined && extraStop.address) {\r\n extraStop.address.zipCode = stopLocation.zipCode;\r\n }\r\n if (geolocation !== undefined) {\r\n extraStop.geolocation = {\r\n latitude: geolocation?.latitude,\r\n longitude: geolocation?.longitude,\r\n };\r\n }\r\n return extraStop;\r\n });\r\n\r\n const convertLoadLocationToPostLoadLocation = (loadLocatioin: LoadLocation) => {\r\n const baseLocation = convertLoadLocationToBaseLocation(loadLocatioin);\r\n return {\r\n ...baseLocation,\r\n type: baseLocation.type === LocationType.CITY ? ExtraStopLocationType.CityState : baseLocation.type,\r\n };\r\n };\r\n\r\n return {\r\n postReference: fields.postReference,\r\n numberOfLoads: fields.numberOfLoads,\r\n originLocation: convertLoadLocationToPostLoadLocation(fields.originLocation),\r\n destinationLocation: convertLoadLocationToPostLoadLocation(fields.destinationLocation),\r\n pickupDateTimes: fields.pickUpDateTimes,\r\n deliveryDateTime: fields.deliveryDateTime,\r\n equipments: equipments,\r\n loadSize: fields.loadSize,\r\n mileage: toInteger(fields.miles) ? toInteger(fields.miles) : undefined,\r\n length: fields.length,\r\n weight: fields.weight,\r\n rate: fields[RATE_AMOUNT] // undefined or '0' rate means no rate\r\n ? {\r\n amount: fields[RATE_AMOUNT],\r\n type: PayRateUnit.Flat,\r\n }\r\n : undefined,\r\n numberOfStops: fields.numberOfStops,\r\n teamDriving: fields.teamDriving === TeamDriving.Yes,\r\n commodity: fields.commodity,\r\n notes: fields.notes,\r\n privateLoadNote: fields.privateLoadNote,\r\n dispatchPhone: fields['dispatchPhone.number']\r\n ? {\r\n number: fields['dispatchPhone.number'],\r\n extension: fields['dispatchPhone.extension'],\r\n }\r\n : undefined,\r\n dispatchName: fields.dispatchName,\r\n dispatchEmail: fields.dispatchEmail,\r\n saveLocations: true,\r\n extraStops: stops,\r\n visibility: fields.visibility ? convertPostLoadVisibilityRulesetForRequest(fields.visibility) : undefined,\r\n };\r\n};\r\n\r\nexport const getRateCheckFieldsFromLoad = (currentLoad?: Load) => {\r\n let rate;\r\n const miles = currentLoad?.mileage ?? currentLoad?.computedMileage;\r\n const milesValue = !isUndefined(miles) ? miles : 0;\r\n if (currentLoad?.rate?.type === PayRateUnit.Flat) {\r\n rate = currentLoad?.rate?.amount;\r\n } else {\r\n const costPerMile = currentLoad?.rate?.amount;\r\n rate = costPerMile && miles ? costPerMile * miles : 0;\r\n }\r\n const rateValue = !isUndefined(rate) ? rate : 0;\r\n return {\r\n miles: milesValue,\r\n [RATE_AMOUNT]: rateValue,\r\n };\r\n};\r\n\r\nexport const getLoadEquipmentsFromEquipments = (equipments: Equipment[] | undefined) =>\r\n equipments\r\n ? map(equipments, (equipment) => ({\r\n equipmentType: equipment.equipmentType,\r\n equipmentSpecifications: filter(\r\n equipmentSpecificationsFrom(equipment.equipmentSpecifications),\r\n (item) => item !== EquipmentSpecification.None\r\n ),\r\n }))\r\n : [INITIAL_EQUIPMENT];\r\n\r\nconst datesAndTimes = (currentLoad: Load) => {\r\n const pickupDateTimes = currentLoad.pickupDateTimes;\r\n return {\r\n pickUpDateTimes: pickupDateTimes ? map(pickupDateTimes, (dateTime) => formatDateYYYYMMDDTHHmm(dateTime)) : [],\r\n deliveryDateTime: currentLoad.deliveryDateTime ? formatDateYYYYMMDDTHHmm(currentLoad.deliveryDateTime) : undefined,\r\n pickUpTime: pickupDateTimes && extractTimeFromDateTimeIfPresent(pickupDateTimes[0]),\r\n deliveryTime: extractTimeFromDateTimeIfPresent(currentLoad.deliveryDateTime),\r\n };\r\n};\r\n\r\nexport const getPostLoadFormFieldsFromLoad = (currentLoad: Load): PostLoadFormFieldsState => {\r\n const initialFields = initialPostLoadFormState.fields;\r\n const originLocation = convertBaseLocationToLoadLocation(currentLoad.originLocation, true);\r\n const destinationLocation = convertBaseLocationToLoadLocation(currentLoad.destinationLocation, true);\r\n const stops = compact(\r\n map(currentLoad.extraStops, (extraStop) => {\r\n if (extraStop.address) {\r\n return addressToLocationSuggestion(\r\n extraStop.address,\r\n extraStop.geolocation?.latitude,\r\n extraStop.geolocation?.longitude\r\n );\r\n }\r\n return undefined;\r\n })\r\n );\r\n\r\n return {\r\n originLocation: originLocation ?? ANYWHERE_LOCATION,\r\n destinationLocation: destinationLocation ?? ANYWHERE_LOCATION,\r\n ...datesAndTimes(currentLoad),\r\n equipment: getLoadEquipmentsFromEquipments(currentLoad.equipments),\r\n loadSize: currentLoad.loadSize ? LoadSize[currentLoad.loadSize] : LoadSize.TL,\r\n length: currentLoad.length,\r\n weight: currentLoad.weight,\r\n postReference: setDefaultField(currentLoad.postReference, initialFields.postReference),\r\n commodity: setDefaultField(currentLoad.commodity, initialFields.commodity),\r\n notes: setDefaultField(currentLoad.notes, initialFields.notes),\r\n privateLoadNote: setDefaultField(currentLoad.privateLoadNote, initialFields.privateLoadNote),\r\n teamDriving: currentLoad.teamDriving ? TeamDriving.Yes : TeamDriving.No,\r\n numberOfLoads: setDefaultField(currentLoad.numberOfLoads, initialFields.numberOfLoads),\r\n numberOfStops: setDefaultField(currentLoad.numberOfStops, initialFields.numberOfStops),\r\n rateType: currentLoad?.rate?.type ?? PayRateUnit.Flat,\r\n mileage: undefined,\r\n ...getUserInfoFromLoad(currentLoad),\r\n ...getRateCheckFieldsFromLoad(currentLoad),\r\n stopsLocations: stops,\r\n extraStops: currentLoad.extraStops ?? [],\r\n visibility: currentLoad.visibility ? convertPostLoadVisibilityRulesetFromServer(currentLoad.visibility) : undefined,\r\n };\r\n};\r\n","import { filter, find, findIndex, forEach, isUndefined, toUpper } from 'lodash';\r\nimport { Action } from 'redux';\r\n\r\nimport { FieldError } from '@common/model';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport enum ValidationType {\r\n UIError,\r\n ServerError,\r\n}\r\n\r\nenum PostLoadField {\r\n EQUIPMENTS = 'equipments',\r\n EQUIPMENT = 'equipment',\r\n}\r\n\r\nexport type ValidationFieldKey = keyof T;\r\n\r\nexport interface ValidationField {\r\n key: ValidationFieldKey;\r\n type?: ValidationType;\r\n message?: string;\r\n}\r\n\r\ninterface SetValidationFieldAction extends Action {\r\n validationFields: ValidationField[];\r\n}\r\n\r\ninterface UnsetValidationFieldAction extends Action {\r\n key: ValidationFieldKey;\r\n}\r\n\r\nexport interface FormValidationState {\r\n validationFields: ValidationField[];\r\n}\r\n\r\n/**\r\n *\r\n * Creates a reducer that is used as sub-reducer for form reducer.\r\n * Can be useful to determine whether the form should be validated and to retrieve server errors\r\n *\r\n * @param config.reducerKey Key used to prefix action names\r\n *\r\n * @return object Containing reducer, actionTypes and actions to manage validationFields list.\r\n *\r\n * @example Short example about using this reducer with sample form (login, password):\r\n *\r\n * Step 1: use Function createFormValidationReducer to extend form reducer with validationFields.\r\n * Validation fields have a generic type, so it match the interface of the form.\r\n * You can only pass form field's names as a key for it (e.g. 'login', 'password' here)\r\n *\r\n * interface LoginFields {\r\n * login: string;\r\n * password: string;\r\n * }\r\n * we extend form reducer interface to append validation fields\r\n * interface LoginState extends FormValidationState {\r\n * fields: LoginFields;\r\n * }\r\n * const validation = createFormValidationReducer(LOGIN_FORM_REDUCER_KEY);\r\n *\r\n * here we define an action creator to add validationFields to your form\r\n * const addValidationFields = (validationFields: ValidationField[]) =>\r\n * validation.formValidationActions.setValidationFields(validationFields)\r\n *\r\n * const initialState: LoginState = {\r\n * fields: {\r\n * login: 'foo',\r\n * password: 'bar',\r\n * },\r\n * validationFields: [],\r\n * }\r\n * const loginReducer = createReducer(initialState, {...actionsMap}, validation.reducer);\r\n *\r\n * Step 2: As you can see from above, validationFields are empty by default.\r\n * This means we have no errors to show by default, so they will not be shown if we open the page. Now if you want to show\r\n * error, use actions to add error field to your form reducer (e.g. on blur here).\r\n * shouldValidate function will check if we have any validationField with such name in reducer.\r\n * If we have one, it means that we should show error message.\r\n * To add additional validation to the field, you can use 3-rd optional param of shouldValidate.\r\n *\r\n * const loginState = useSelector(state => state.loginState);\r\n *\r\n * render (\r\n * addValidationFields([{ key: 'login', type: ValidationType.UIError }])}\r\n * error={shouldValidate('login', loginState)} />\r\n * }\r\n *\r\n * */\r\n\r\nexport const createFormValidationReducer = >(\r\n reducerKey: string,\r\n initialState: StoreState\r\n) => {\r\n const actionKey = createActionKey(reducerKey);\r\n\r\n const actionTypes = {\r\n SET_VALIDATION_FIELDS: `${actionKey}SET_VALIDATION_FIELDS`,\r\n UNSET_VALIDATION_FIELD: `${actionKey}UNSET_VALIDATION_FIELD`,\r\n DROP_VALIDATION_FIELDS: `${actionKey}DROP_VALIDATION_FIELDS`,\r\n };\r\n\r\n const actions = {\r\n setValidationFields: (validationFields: ValidationField[]): SetValidationFieldAction => ({\r\n type: actionTypes.SET_VALIDATION_FIELDS,\r\n validationFields: validationFields,\r\n }),\r\n unsetValidationField: (\r\n validationFieldKey: ValidationFieldKey\r\n ): UnsetValidationFieldAction => ({\r\n type: actionTypes.UNSET_VALIDATION_FIELD,\r\n key: validationFieldKey,\r\n }),\r\n dropValidationFields: () => ({ type: actionTypes.DROP_VALIDATION_FIELDS }),\r\n };\r\n\r\n const formValidationReducer = createReducer(initialState, {\r\n [actionTypes.SET_VALIDATION_FIELDS]: (state, action: SetValidationFieldAction) => {\r\n forEach(action.validationFields, (actionField) => {\r\n const fieldIndex = findIndex(state.validationFields, (field) => field.key === actionField.key);\r\n (state.validationFields as ValidationField[])[\r\n fieldIndex < 0 ? state.validationFields.length : fieldIndex\r\n ] = actionField;\r\n });\r\n },\r\n [actionTypes.UNSET_VALIDATION_FIELD]: (state, action: UnsetValidationFieldAction) => {\r\n state.validationFields = filter(state.validationFields, (field) => field.key !== action.key);\r\n },\r\n [actionTypes.DROP_VALIDATION_FIELDS]: (state) => {\r\n state.validationFields = [];\r\n },\r\n });\r\n\r\n return {\r\n actionTypes: actionTypes,\r\n actions: actions,\r\n reducer: formValidationReducer,\r\n };\r\n};\r\n\r\n/** @return boolean indicating should we do field validation, or not\r\n * @param fieldName is used to find validationField by key\r\n * @param validationState stores a list of validationFields\r\n * @param isFieldValid is optional param, where we can pass side validation (e.g. isPasswordValid())\r\n * (e.g. if we open form we should not see any errors, it must be shown only if we interact with a fields)\r\n * @return boolean should the field be validated or not\r\n * */\r\nexport const shouldValidate = (\r\n fieldName: keyof T,\r\n validationState: FormValidationState,\r\n isFieldValid?: boolean\r\n): boolean => {\r\n const validationField = find(validationState.validationFields, (field) => field.key === fieldName);\r\n if (validationField === undefined) {\r\n return false;\r\n } else {\r\n if (validationField.type === ValidationType.ServerError) {\r\n return true;\r\n }\r\n return validationField.type === ValidationType.UIError && (!isFieldValid ?? true);\r\n }\r\n};\r\n\r\n/** @return string error message of specified validationField\r\n * @param fieldName is used to find validationField by key\r\n * @param validationState stores a list of validationFields\r\n * @return string name of error by specified validationField's name\r\n * */\r\nexport const getErrorMessage = (\r\n fieldName: ValidationFieldKey,\r\n validationState: FormValidationState\r\n): string | undefined => {\r\n const validationField = find(validationState.validationFields, (field) => field.key === fieldName);\r\n if (validationField === undefined) {\r\n return undefined;\r\n } else {\r\n return validationField.message;\r\n }\r\n};\r\n\r\n/** Handle server error field names returned as string with array property encoded to properly construct form element reference */\r\nexport const getFieldName = (fieldName: string | undefined = ''): string => {\r\n // Regex will grab everything before '[' symbol if it exists\r\n // Or will grab the whole string otherwise\r\n const result = fieldName?.match(/^[^[\\]]*/);\r\n if (result) {\r\n switch (result[0]) {\r\n // This will handle mapping for 'equipments' post load field\r\n case PostLoadField.EQUIPMENTS:\r\n return PostLoadField.EQUIPMENT;\r\n default:\r\n return result[0];\r\n }\r\n } else {\r\n return fieldName;\r\n }\r\n};\r\n\r\n/** @return array of validation fields from array of server error fields*/\r\nexport const mapApiErrorFieldsToFormValidationFields = (fieldErrors: FieldError[]): ValidationField[] => {\r\n const validationFields: ValidationField[] = [];\r\n forEach(fieldErrors, (fieldError) => {\r\n if (!isUndefined(fieldError.name)) {\r\n const fieldName = getFieldName(fieldError.name);\r\n validationFields.push({\r\n key: fieldName as keyof T,\r\n type: ValidationType.ServerError,\r\n message: fieldError.message,\r\n });\r\n }\r\n });\r\n return validationFields;\r\n};\r\n\r\nconst createActionKey = (reducerKey: string) => `${toUpper(reducerKey)}_`;\r\n","import { concat, filter, includes } from 'lodash';\r\n\r\nimport { LoadDetailsTabs } from '@/model';\r\nimport { createAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\ninterface SetOpenedTabsAction {\r\n tabs: LoadDetailsTabs[];\r\n shouldAddTabs: boolean;\r\n}\r\n\r\nconst setOpenedTabsAction = createAction('SET_OPENED_TABS');\r\n\r\nexport const setOpenedTabs = (tabs: LoadDetailsTabs[], shouldAddTabs: boolean) =>\r\n setOpenedTabsAction.action({ tabs: tabs, shouldAddTabs: shouldAddTabs });\r\n\r\nexport interface LoadDetailsTabsState {\r\n openedLoadDetailsTabs: LoadDetailsTabs[];\r\n}\r\n\r\nconst initialState: LoadDetailsTabsState = {\r\n openedLoadDetailsTabs: [],\r\n};\r\n\r\nexport const loadDetailsTabsStateReducer = createMergedReducer(initialState, [\r\n setOpenedTabsAction.addCase((state, action) => {\r\n const { tabs, shouldAddTabs } = action.data;\r\n if (shouldAddTabs) {\r\n state.openedLoadDetailsTabs = concat(state.openedLoadDetailsTabs, tabs);\r\n } else {\r\n state.openedLoadDetailsTabs = filter(state.openedLoadDetailsTabs, (tab) => !includes(tabs, tab));\r\n }\r\n }),\r\n]);\r\n","import { createDefaultLoadSearchRequest } from '@common/helper';\r\nimport { LoadSearchRequest } from '@common/model';\r\nimport { createAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst UPDATE_SEARCH_FORM_DATA = 'UPDATE_SEARCH_FORM_DATA';\r\nconst UPDATE_SEARCH_NAME = 'UPDATE_SEARCH_NAME';\r\nconst SET_SEARCH_FORM_PREFILLED = 'SET_SEARCH_FORM_PREFILLED';\r\n\r\nexport interface LoadSearchFormState {\r\n loadSearch: LoadSearchRequest;\r\n searchName?: string;\r\n isPrefilled: boolean;\r\n}\r\n\r\nconst initialState: LoadSearchFormState = {\r\n loadSearch: createDefaultLoadSearchRequest(),\r\n isPrefilled: false,\r\n};\r\n\r\nconst updateSearchFormDataAction = createAction(UPDATE_SEARCH_FORM_DATA);\r\nconst updateSearchNameDataAction = createAction(UPDATE_SEARCH_NAME);\r\nconst setSearchFormPrefilledAction = createAction(SET_SEARCH_FORM_PREFILLED);\r\n\r\nexport const updateSearchFormData = updateSearchFormDataAction.action;\r\nexport const updateSearchNameData = updateSearchNameDataAction.action;\r\nexport const setSearchFormPrefilled = setSearchFormPrefilledAction.action;\r\n\r\nexport const loadSearchFormReducer = createMergedReducer(initialState, [\r\n updateSearchFormDataAction.addCase((state, action) => {\r\n state.loadSearch = action.data;\r\n }),\r\n updateSearchNameDataAction.addCase((state, action) => {\r\n state.searchName = action.data;\r\n }),\r\n setSearchFormPrefilledAction.addCase((state, action) => {\r\n state.isPrefilled = action.data;\r\n }),\r\n]);\r\n","import { createDefaultLoadSearchRequest } from '@common/helper';\r\nimport { DestLocation, EquipmentType, LoadSize, OriginLocation, UserTruck } from '@common/model';\r\nimport { createAction } from '@common/redux/Base';\r\nimport { createMergedReducer } from '@common/redux/ReduxHelper';\r\n\r\nexport interface PostTruckAvailabilityForm {\r\n truckId?: string;\r\n destination: DestLocation;\r\n origin: OriginLocation;\r\n pickupDates: string[];\r\n loadSize?: LoadSize;\r\n minWeight?: number;\r\n weight?: number;\r\n minLength?: number;\r\n length?: number;\r\n truck?: UserTruck;\r\n destRadius?: number;\r\n originRadius?: number;\r\n anonymous?: boolean;\r\n truckType?: EquipmentType;\r\n minRate?: string;\r\n notes?: string;\r\n teamDriven?: boolean;\r\n}\r\n\r\nexport interface TruckAvailabilityFormState {\r\n truckAvailability: PostTruckAvailabilityForm;\r\n isPrefilled?: boolean;\r\n lastPostedOrigin?: OriginLocation;\r\n}\r\n\r\nconst truckAvailabilityInitialForm: TruckAvailabilityFormState = {\r\n truckAvailability: createDefaultLoadSearchRequest(),\r\n};\r\n\r\nexport const clearPostAvailabilityForm = createAction('CLEAR_TRUCK_AVAILABILITY_FORM');\r\nexport const updatePostAvailabilityForm = createAction('UPDATE_TRUCK_AVAILABILITY_FORM');\r\nexport const setPostAvailabilityPrefilled = createAction('SET_TRUCK_AVAILABILITY_PREFILLED');\r\nexport const persistPostedOrigin = createAction('PERSIST_TRUCK_POSTED_ORIGIN');\r\n\r\nexport const postAvailabilityFormReducer = createMergedReducer(\r\n truckAvailabilityInitialForm,\r\n [\r\n clearPostAvailabilityForm.addCase((state) => {\r\n state.truckAvailability = createDefaultLoadSearchRequest();\r\n if (state.lastPostedOrigin !== undefined) {\r\n state.truckAvailability.origin = state.lastPostedOrigin;\r\n }\r\n }),\r\n updatePostAvailabilityForm.addCase((state, action) => {\r\n state.truckAvailability = action.data;\r\n }),\r\n setPostAvailabilityPrefilled.addCase((state, action) => {\r\n state.isPrefilled = action.data;\r\n }),\r\n persistPostedOrigin.addCase((state, action) => {\r\n state.lastPostedOrigin = action.data;\r\n }),\r\n ]\r\n);\r\n","import { Action } from 'redux';\r\n\r\nimport { LoadSearchSort, LoadSortField, postedLoadSortFor } from '@common/model';\r\nimport { createReducer } from '@common/redux/ReduxHelper';\r\n\r\nconst SET_SORT_OPTION = 'SET_SORT_OPTION';\r\nconst SET_PICKUP_DATES = 'SET_PICKUP_DATES';\r\nconst SET_FREE_TEXT_FILTER = 'SET_FREE_TEXT_FILTER';\r\n\r\ninterface SetSortOptionAction extends Action {\r\n sortOption?: LoadSearchSort;\r\n}\r\n\r\ninterface SetPickupDatesAction extends Action {\r\n pickupDateTimes: string[];\r\n}\r\n\r\ninterface SetFreeTextFilterAction extends Action {\r\n filter: string;\r\n}\r\n\r\nexport const setSortOption = (sortOption?: LoadSearchSort): SetSortOptionAction => ({\r\n type: SET_SORT_OPTION,\r\n sortOption: sortOption,\r\n});\r\n\r\nexport const setPickupDates = (pickupDateTimes: string[]): SetPickupDatesAction => ({\r\n type: SET_PICKUP_DATES,\r\n pickupDateTimes: pickupDateTimes,\r\n});\r\n\r\nexport const setFreeTextFilter = (filter: string): SetFreeTextFilterAction => ({\r\n type: SET_FREE_TEXT_FILTER,\r\n filter: filter,\r\n});\r\n\r\nexport interface PostedLoadsPanelActionsState {\r\n selectedSortOption?: LoadSearchSort;\r\n pickupDateTimes: string[];\r\n textFilter: string;\r\n}\r\n\r\nconst initialState: PostedLoadsPanelActionsState = {\r\n selectedSortOption: postedLoadSortFor(LoadSortField.LastUpdateAge),\r\n pickupDateTimes: [],\r\n textFilter: '',\r\n};\r\n\r\nexport const postedLoadsPanelActionsReducer = createReducer(initialState, {\r\n [SET_SORT_OPTION]: (state, action: SetSortOptionAction) => {\r\n state.selectedSortOption = action.sortOption;\r\n },\r\n [SET_PICKUP_DATES]: (state, action: SetPickupDatesAction) => {\r\n state.pickupDateTimes = action.pickupDateTimes;\r\n },\r\n [SET_FREE_TEXT_FILTER]: (state, action: SetFreeTextFilterAction) => {\r\n state.textFilter = action.filter;\r\n },\r\n});\r\n","import { Action } from 'redux';\r\n\r\nconst SHOW_SNACKBAR = 'SHOW_SNACKBAR';\r\nconst DISMISS_SNACKBAR = 'DISMISS_SNACKBAR';\r\n\r\ninterface Origin {\r\n vertical: 'top' | 'bottom' | 'center';\r\n horizontal: 'left' | 'right' | 'center';\r\n}\r\n\r\nexport interface SnackbarProps {\r\n position?: Origin;\r\n message: string;\r\n variant?: string;\r\n hideDuration?: number;\r\n dismissSnackbar?: () => void;\r\n}\r\n\r\nexport interface SnackbarState extends SnackbarProps {\r\n open: boolean;\r\n}\r\n\r\ninterface ShowSnackbarAction extends Action {\r\n payload: SnackbarProps;\r\n}\r\n\r\nexport const dismissSnackbar = (): Action => ({ type: DISMISS_SNACKBAR });\r\n\r\nexport const showSnackbar = (snacbarContents: SnackbarProps): ShowSnackbarAction => ({\r\n type: SHOW_SNACKBAR,\r\n payload: snacbarContents,\r\n});\r\n\r\nconst snackbarInitialState: SnackbarState = {\r\n open: false,\r\n message: '',\r\n variant: '',\r\n hideDuration: 4000,\r\n};\r\n\r\nexport const snackbarReducer = (state: SnackbarState = snackbarInitialState, action: Action): SnackbarState => {\r\n switch (action.type) {\r\n case SHOW_SNACKBAR: {\r\n const snackbarAction = action as ShowSnackbarAction;\r\n if (snackbarAction.payload !== state && state.open === false) {\r\n return { ...snackbarInitialState, ...snackbarAction.payload, open: true };\r\n } else if (snackbarAction.payload !== state) {\r\n return { ...snackbarInitialState, ...snackbarAction.payload, open: true };\r\n } else {\r\n return state;\r\n }\r\n }\r\n case DISMISS_SNACKBAR: {\r\n return { ...state, open: false };\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { isEqual } from 'lodash';\r\nimport { Action } from 'redux';\r\n\r\nimport { Truck } from '@common/model';\r\n\r\n//@FIXME: Remove the file. This reducer and whole logic should be moved into TruckEpic there already exists trucksReducer.\r\n\r\nexport enum TruckAction {\r\n FAVORITE = 'FAVORITE_TRUCK',\r\n HIDE = 'HIDE_TRUCK',\r\n ALERT = 'SEND_TRUCK_ALERT',\r\n REFRESH_TRUCKS = 'REFRESH_TRUCKS',\r\n}\r\n\r\ninterface TruckLocatorAction extends Action {\r\n trucks?: Truck[];\r\n}\r\n\r\nexport function triggerTruckAction(action: TruckAction, trucks?: Truck[]): TruckLocatorAction {\r\n return {\r\n type: action,\r\n trucks: trucks,\r\n };\r\n}\r\n\r\nexport interface TruckLocatorState {\r\n action: TruckAction;\r\n trucks: Truck[];\r\n toggle: boolean;\r\n}\r\n\r\nexport const truckLocatorReducer = (state: TruckLocatorState, action: Action) => {\r\n switch (action.type) {\r\n case TruckAction.FAVORITE:\r\n case TruckAction.ALERT:\r\n case TruckAction.HIDE: {\r\n const truckAction = action as TruckLocatorAction;\r\n if (isEqual(state.action, action.type) && isEqual(state.trucks, truckAction.trucks)) {\r\n state.toggle = !state.toggle;\r\n }\r\n return { ...state, action: action.type, trucks: truckAction.trucks };\r\n }\r\n case TruckAction.REFRESH_TRUCKS:\r\n if (isEqual(state.action, action.type)) {\r\n state.toggle = !state.toggle;\r\n }\r\n return { ...state, action: action.type };\r\n }\r\n return state ? state : { trucks: [], toggle: false };\r\n};\r\n","import { forEach, includes, values } from 'lodash';\r\nimport QueryString from 'qs';\r\n\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport {\r\n createUnderDevelopmentReducer,\r\n UnderDevelopmentFlagUpdate,\r\n} from '@common/redux/reducer/UnderDevelopmentBaseReducer';\r\nimport { parseBoolean } from '@common/util/parser/ParserUtils';\r\nimport { useSelector } from '@util/hooks';\r\n\r\n//============================================================================\r\n// Flag system to hide/show features currently under development.\r\n//----------------------------------------------------------------------------\r\n//----- (More information please see Confluence.) ----------------------------\r\n//\r\n// Define your feature name in the MembersUnderDevelopmentFlag enum below.\r\n//\r\n// Example usage with useIsUnderDevelopment react hook: (preferred method)\r\n//\r\n// const isEnabled = useIsUnderDevelopmentFlagEnabled(MembersUnderDevelopmentFlag.YourFeature);\r\n//\r\n// Example usage with globally accessible method:\r\n//\r\n// const enabled = isUnderDevelopmentFlagEnabled(MembersUnderDevelopmentFlag.YourFeature);\r\n//\r\n//\r\n// A common use case is enabling/disabling a route when a flag is on/off.\r\n// By default the flag is set set to OFF.\r\n// See the templates below for required modifications in AspxRouteMap.ts and\r\n// Routing.ts\r\n//\r\n// AspxRouteMap.ts:\r\n//\r\n// ...\r\n// enableRouteMatchIf(\r\n// () => !isUnderDevelopmentFlagEnabled(MembersUnderDevelopmentFlag.YourFlag),\r\n// exactMatchASPXRoute({\r\n// defaultTitle: ...,\r\n// reactPath: ...,\r\n// aspxPath: ...,\r\n// })\r\n// ),\r\n// ...\r\n//\r\n// Routing.ts: NavRoutes:\r\n//\r\n// const isYourFeatureEnabled = useIsUnderDevelopmentFlagEnabled(MembersUnderDevelopmentFlag.YourFlag);\r\n// ...\r\n// {isYourFeatureEnabled ? (\r\n// \r\n// ) : null}\r\n//\r\n//============================================================================\r\n\r\n/**\r\n * Add feature flags for MEM here\r\n * i.e. TestFeature = 'TestFeature'\r\n */\r\nexport enum MembersUnderDevelopmentFlag {\r\n NewAccountSetup = 'NewAccountSetup',\r\n InternalTruckLocator = 'InternalTruckLocator',\r\n}\r\n\r\nconst ACTIVE_FEATURE_FLAGS = values(MembersUnderDevelopmentFlag);\r\n\r\nconst underDevelopment = createUnderDevelopmentReducer(ACTIVE_FEATURE_FLAGS);\r\n\r\nexport const underDevelopmentReducer = underDevelopment.reducer;\r\nexport const underDevelopmentStateReconciler = underDevelopment.stateReconciler;\r\n\r\nexport const updateUnderDevelopmentFlagStatuses = underDevelopment.actions.updateUnderDevelopmentFlagStatuses;\r\n\r\n/**\r\n * Parses the /flags query string for flag updates. Filters out invalid flags\r\n * and invalid values (i.e. not boolean)\r\n */\r\nexport const parseFlagUpdatesQuery = (query: string): UnderDevelopmentFlagUpdate[] => {\r\n const urlParams = QueryString.parse(query, { ignoreQueryPrefix: true });\r\n const flags: UnderDevelopmentFlagUpdate[] = [];\r\n forEach(urlParams, (value, key) => {\r\n if (includes(ACTIVE_FEATURE_FLAGS, key)) {\r\n const parsedValue = parseBoolean(value);\r\n if (parsedValue !== undefined) {\r\n flags.push({ flag: key, isEnabled: parsedValue });\r\n }\r\n }\r\n });\r\n return flags;\r\n};\r\n\r\n/**\r\n * feature under development flag hook\r\n */\r\nexport const useIsUnderDevelopmentFlagEnabled = (flag: MembersUnderDevelopmentFlag) =>\r\n useSelector((state) => state.underDevelopment.flags[flag]) ?? false;\r\n\r\nexport const IsUnderDevelopmentFlagEnabled = (state: StoreState, flag: MembersUnderDevelopmentFlag) =>\r\n state.underDevelopment.flags[flag] ?? false;\r\n","import firebase from 'firebase/app';\r\n\r\nimport '@firebase/messaging';\r\n\r\nimport { AppConfig } from '@util/AppConfig';\r\n\r\nimport {\r\n askForPermissionToReceiveNotifications,\r\n initializeFirebase,\r\n NotificationPermissionStatus,\r\n} from './util/firebaseNotification/FirebasePushNotification';\r\n\r\nconst serviceWorkerName = (await import('./build_src/service-worker.name.js')) as unknown as string;\r\n\r\nexport function unregisterServiceWorker() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.getRegistrations().then(function (registrations) {\r\n registrations.forEach(function (registration) {\r\n registration.unregister();\r\n });\r\n });\r\n }\r\n}\r\n\r\nexport function registerServiceWorker() {\r\n if ('serviceWorker' in navigator) {\r\n window.addEventListener('load', () => {\r\n navigator.serviceWorker\r\n .register(serviceWorkerName)\r\n .then((registration) => {\r\n if (firebase.messaging.isSupported()) {\r\n initializeFirebase();\r\n\r\n const messaging = firebase.messaging();\r\n // biome-ignore lint/correctness/useHookAtTopLevel: false positive\r\n messaging.useServiceWorker(registration);\r\n if (Notification.permission === NotificationPermissionStatus.GRANTED) {\r\n messaging\r\n .getToken({\r\n vapidKey: AppConfig.LBConfig.FirebaseKeys.vapidKey,\r\n })\r\n .then((currentToken) => {\r\n if (currentToken) {\r\n firebase.messaging().onTokenRefresh((currentToken) => currentToken);\r\n } else {\r\n // Show permission request.\r\n askForPermissionToReceiveNotifications();\r\n }\r\n })\r\n .catch(() => {\r\n return;\r\n });\r\n }\r\n }\r\n })\r\n .catch(() => {\r\n return;\r\n });\r\n });\r\n }\r\n}\r\n","import React from 'react';\r\n\r\nimport { difference, forEach, includes, isEmpty, some } from 'lodash';\r\nimport { connect } from 'react-redux';\r\nimport { generatePath } from 'react-router';\r\nimport { Redirect, Route, RouteProps } from 'react-router-dom';\r\nimport { Action, bindActionCreators, Dispatch } from 'redux';\r\n\r\nimport { StoreState } from '@/reduxStore/Store';\r\nimport { ApiError } from '@common/api';\r\nimport { BillingStatus, MembershipStatus, RibbonMessage, Roles } from '@common/model';\r\nimport { fetchUser } from '@common/redux/epic/UserEpic';\r\nimport { RibbonMessageType } from '@common/redux/reducer/TopRibbonReducer';\r\nimport { isCarrier } from '@component/menu/NavigationMenuHelper';\r\nimport { FixedHeader } from '@component/scrollView';\r\nimport { RibbonBase } from '@component/topRibbon';\r\nimport { t, T } from '@translate';\r\nimport { hasLoginCookies } from '@webApi/CookiesHelper';\r\nimport { redirectToLogin, setEnforcedAuthentication } from '@webApi/ResponseHandler';\r\n\r\nimport {\r\n isAccountSetupRequiredForBillingStatus,\r\n isAccountSetupRequiredForMembershipStatus,\r\n PAYWALL_ALLOWED_ROUTES,\r\n PAYWALL_BLOCKED_ROUTES,\r\n} from './RouteHelper';\r\nimport { Routes } from './Routes';\r\n\r\nconst ALL_ROLES = 'all';\r\ntype AuthorizedRoles = Roles[][] | 'all';\r\n\r\ninterface AuthenticatedRouteProps extends RouteProps {\r\n requiresAuthentication?: boolean;\r\n needsProfile?: boolean;\r\n /** Roles to allow access to the route.\r\n * Specify the list roles or group of roles that allow the route.\r\n * Either entry will allow the route. To enforce multiple roles simultaneously use a sub-array of roles.\r\n *\r\n * For example:\r\n *\r\n * `authorizedRoles={[[Roles.Loadposter, Roles.Sendloadalerts]]}`\r\n * ...will allow the route if LoadPoster AND Sendloadalerts\r\n *\r\n * `authorizedRoles={[[Roles.Loadplanner],[Roles.Loadplanner_beta]]}`\r\n * ...will allow the route if Loadplanner OR Loadplanner_beta\r\n *\r\n * `authorizedRoles={[[Roles.internal],[Roles.member,Roles.Admin]]}`\r\n * ...will allow the route if internal OR ( member AND Admin )\r\n *\r\n */\r\n authorizedRoles?: AuthorizedRoles;\r\n shouldShowUpgradeLinkIfRestricted?: boolean;\r\n computedMatch?: {\r\n params: any;\r\n isExact: boolean;\r\n path: string;\r\n url: string;\r\n };\r\n}\r\n\r\ninterface RoleRestrictedPageMessageProps {\r\n pageName?: string;\r\n accessRequestPhoneExtension?: number;\r\n}\r\n\r\ninterface PropsFromRedux {\r\n shouldLoadProfile: boolean;\r\n userRoles?: Roles[];\r\n isCarrier: boolean;\r\n paymentPromptRequired: boolean;\r\n membershipStatus?: MembershipStatus;\r\n isMembershipDataFetched: boolean;\r\n membershipError?: ApiError;\r\n billingStatus?: BillingStatus;\r\n isUserProfileDataFetched: boolean;\r\n isCancellingMembership?: boolean;\r\n}\r\n\r\ninterface DispatchProps {\r\n fetchUser: (redirectUnauthorized: boolean) => void;\r\n}\r\n\r\ntype Props = AuthenticatedRouteProps & PropsFromRedux & DispatchProps & RoleRestrictedPageMessageProps;\r\n\r\nclass AuthenticatedRouteComponent extends Route {\r\n static defaultProps = {\r\n requiresAuthentication: true,\r\n needsProfile: false,\r\n authorizedRoles: ALL_ROLES as AuthorizedRoles,\r\n };\r\n\r\n render() {\r\n const requiresAuthentication = this.props.requiresAuthentication ? true : false;\r\n setEnforcedAuthentication(requiresAuthentication);\r\n\r\n let message: RibbonMessage[] | undefined;\r\n if (!this.props.computedMatch || !this.props.computedMatch.isExact) {\r\n return null;\r\n }\r\n\r\n const currentRoute = this.props.location?.pathname;\r\n // check if path is Email verification page - this takes first priority\r\n const isEmailVerificationPage = currentRoute === Routes.VERIFY_EMAIL_BLOCKER_PAGE;\r\n // check if the current route is allowed for paywall case\r\n const isPaywallAllowedRoute =\r\n some(PAYWALL_ALLOWED_ROUTES, (route) => includes(currentRoute, route)) &&\r\n !some(PAYWALL_BLOCKED_ROUTES, (route) => includes(currentRoute, route));\r\n if (\r\n this.props.isMembershipDataFetched &&\r\n this.props.membershipStatus &&\r\n !this.props.membershipError &&\r\n requiresAuthentication &&\r\n !isPaywallAllowedRoute &&\r\n !isEmailVerificationPage\r\n ) {\r\n const shouldUserChangeMembershipPlan = isAccountSetupRequiredForMembershipStatus(this.props.membershipStatus);\r\n if (shouldUserChangeMembershipPlan) {\r\n return ;\r\n }\r\n }\r\n\r\n if (\r\n this.props.isUserProfileDataFetched &&\r\n this.props.isMembershipDataFetched &&\r\n (isAccountSetupRequiredForBillingStatus(this.props.billingStatus, this.props.isCancellingMembership) ||\r\n ((this.props.billingStatus === undefined || this.props.billingStatus === BillingStatus.None) &&\r\n this.props.membershipStatus === MembershipStatus.InTrial)) &&\r\n !isPaywallAllowedRoute &&\r\n !isEmailVerificationPage\r\n ) {\r\n return ;\r\n }\r\n\r\n // redirect to the pending approval page for new brokers account that are pending verification\r\n if (\r\n !includes(currentRoute, Routes.MORE_SETTINGS_ACCOUNT_VERIFICATION) &&\r\n !isEmailVerificationPage &&\r\n !isPaywallAllowedRoute &&\r\n requiresAuthentication &&\r\n this.props.isUserProfileDataFetched &&\r\n !this.props.isCarrier &&\r\n this.props.isMembershipDataFetched &&\r\n !this.props.membershipError &&\r\n this.props.membershipStatus === MembershipStatus.Potential\r\n ) {\r\n return ;\r\n }\r\n\r\n const shouldRedirectToPaywall = !isPaywallAllowedRoute && this.props.paymentPromptRequired;\r\n\r\n if (\r\n requiresAuthentication &&\r\n shouldRedirectToPaywall &&\r\n this.props.isMembershipDataFetched &&\r\n !this.props.isCancellingMembership\r\n ) {\r\n return ;\r\n }\r\n\r\n if (hasLoginCookies()) {\r\n if (this.props.shouldLoadProfile) {\r\n this.props.fetchUser(requiresAuthentication);\r\n }\r\n } else {\r\n if (requiresAuthentication) {\r\n redirectToLogin();\r\n return null;\r\n }\r\n }\r\n let isPageRestricted = false;\r\n if (this.props.location && this.props.userRoles && this.props.authorizedRoles) {\r\n isPageRestricted = !areUserRolesAuthorized(this.props.userRoles, this.props.authorizedRoles);\r\n this.props.location.state = {\r\n ...this.props.location.state,\r\n isPageRestricted: isPageRestricted,\r\n };\r\n }\r\n\r\n if (!this.props.isCarrier) {\r\n message = [\r\n { message: t(T.authenticatedRoute_restrictedRibbonPopUp_title), isPhoneLink: false },\r\n { message: t(T.authenticatedRoute_restrictedRibbonPopUp_request), isPhoneLink: false, isRequestLink: true },\r\n { message: t(T.authenticatedRoute_restrictedRibbonPopUp_content), isPhoneLink: false },\r\n { message: t(T.authenticatedRoute_restrictedRibbonPopUp_contact), isPhoneLink: true },\r\n ];\r\n } else {\r\n message = [\r\n { message: t(T.authenticatedRoute_restrictedRibbonPopUpCarrier_title), isPhoneLink: false },\r\n {\r\n message: t(T.authenticatedRoute_restrictedRibbonPopUpCarrier_request),\r\n isPhoneLink: false,\r\n isRequestLink: true,\r\n },\r\n { message: t(T.authenticatedRoute_restrictedRibbonPopUpCarrier_content), isPhoneLink: false },\r\n ];\r\n }\r\n\r\n if (this.props.shouldShowUpgradeLinkIfRestricted) {\r\n message = [\r\n { message: t(T.authenticatedRoute_upgradePlan_title), isPhoneLink: false },\r\n {\r\n message: t(T.authenticatedRoute_upgradePlan_link),\r\n isPhoneLink: false,\r\n isSettingsLink: true,\r\n },\r\n ];\r\n }\r\n\r\n return (\r\n <>\r\n \r\n {isPageRestricted ? (\r\n \r\n ) : null}\r\n \r\n {super.render()}\r\n \r\n );\r\n }\r\n}\r\n\r\nconst areUserRolesAuthorized = (userRoles: Roles[], authorizedRoles: AuthorizedRoles) => {\r\n let isAuthorized = false;\r\n\r\n if (authorizedRoles === ALL_ROLES) {\r\n return true;\r\n } else {\r\n forEach(authorizedRoles, (authorizedRolesGroup: Roles[]) => {\r\n if (difference(authorizedRolesGroup, userRoles).length === 0) {\r\n isAuthorized = true;\r\n }\r\n });\r\n }\r\n\r\n return isAuthorized;\r\n};\r\n\r\nconst mapStateToProps = (state: StoreState, ownProps: AuthenticatedRouteProps): PropsFromRedux => {\r\n const props: PropsFromRedux = {\r\n shouldLoadProfile: false,\r\n paymentPromptRequired: false,\r\n isCarrier: isCarrier(state.user.userType, state.applicationSettings.uiMenuLayout),\r\n isMembershipDataFetched: state.userPlan.isMembershipDataFetched,\r\n isUserProfileDataFetched: !!state.user.profile?.success,\r\n membershipError: state.userPlan.membershipError,\r\n membershipStatus: state.userPlan.membershipData?.status,\r\n isCancellingMembership: state.userPlan.membershipData?.isCancelling,\r\n };\r\n\r\n if (ownProps.needsProfile && (!state.user || isEmpty(state.user))) {\r\n props.shouldLoadProfile = true;\r\n }\r\n\r\n if (state.user && state.user.profile && state.user.profile.payload) {\r\n props.userRoles = state.user.profile.payload.roles;\r\n props.paymentPromptRequired = state.user.profile.payload.paymentPromptRequired;\r\n props.billingStatus = state.user.profile?.payload?.billingProfileStatus;\r\n }\r\n\r\n return props;\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch: Dispatch): DispatchProps =>\r\n bindActionCreators(\r\n {\r\n fetchUser: (redirectUnauthorized: boolean) => fetchUser(redirectUnauthorized),\r\n },\r\n dispatch\r\n );\r\n\r\nexport const AuthenticatedRoute = connect(mapStateToProps, mapDispatchToProps)(AuthenticatedRouteComponent);\r\n","import { unregisterServiceWorker } from '@/registerServiceWorker';\r\nimport React from 'react';\r\n\r\nexport default class Logout extends React.Component {\r\n //@FIXME Added for ticket MEM-1679. componentWillUnmount is not calling. Mind this code if adding any logout popups or confirmations.\r\n static isProcessingLogout = false;\r\n componentDidMount() {\r\n //unregister service worker to clear firebase credentials\r\n //after login, the browser id will still be the same but receiving\r\n //messages sent to the new user\r\n unregisterServiceWorker();\r\n\r\n Logout.isProcessingLogout = true;\r\n window.location.reload();\r\n }\r\n\r\n componentWillUnmount() {\r\n Logout.isProcessingLogout = false;\r\n }\r\n render() {\r\n return null;\r\n }\r\n}\r\n","import React, { ReactElement } from 'react';\r\n\r\nimport { isArray, map, replace } from 'lodash';\r\nimport { Route, RouteProps } from 'react-router-dom';\r\n\r\ninterface RouterProps extends RouteProps {\r\n baseUrl?: string;\r\n appendedPath?: string;\r\n}\r\n\r\nexport const UnitedRoute: React.FC = (props) => {\r\n return (\r\n <>\r\n {props.children &&\r\n React.Children.map(props.children, (child: ReactElement) => {\r\n let newPath = `${child.props.baseUrl ?? props.baseUrl ?? ''}`;\r\n if (props.appendedPath) {\r\n newPath = `${newPath}${props.appendedPath}`;\r\n }\r\n newPath = removeDoubleSlash(newPath);\r\n return React.cloneElement(child, { baseUrl: newPath });\r\n })}\r\n \r\n );\r\n};\r\n\r\nexport const NestedRoute: React.FC = ({ baseUrl, children, path, ...rest }) => {\r\n //added support for array of paths to use in path prop of \r\n const newPath = appendBaseUrlToRoutePath(baseUrl, path);\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n};\r\n\r\nexport const removeDoubleSlash = (path: string) => replace(path, '//', '/');\r\n\r\nconst appendBaseUrlToRoutePath = (\r\n baseUrl: string | undefined,\r\n paths: string | string[] | undefined\r\n): string | string[] => {\r\n if (isArray(paths)) {\r\n return map(paths, (path) => removeDoubleSlash(`${baseUrl ?? ''}${path}`));\r\n }\r\n return removeDoubleSlash(`${baseUrl ?? ''}${paths}`);\r\n};\r\n","import React from 'react';\r\n\r\nimport { includes, map, reduce } from 'lodash';\r\nimport { generatePath, Route, RouteProps } from 'react-router-dom';\r\n\r\nimport { BillingStatus, MembershipStatus } from '@common/model';\r\nimport { lazy } from '@component/lazyComponent';\r\nimport { Filter } from '@page/newSettings/panelSectionFilter/SettingsHelper';\r\n\r\nimport { NestedRoute, UnitedRoute } from './RouteGroup';\r\nimport { Routes } from './Routes';\r\n\r\nexport const generateRoutesFrom = (route: PageRoute) => {\r\n return {renderRoute(route)};\r\n};\r\n\r\nconst renderRoute = (route: PageRoute | undefined) => {\r\n if (!route) {\r\n return null;\r\n }\r\n const formattedRoute = formatRoutePath(route.path);\r\n if (route.innerRoutes && route.innerRoutes.length > 0) {\r\n return (\r\n \r\n {route.component ? route.component?.())} /> : null}\r\n {map(route.innerRoutes, (route) => renderRoute(route))}\r\n \r\n );\r\n }\r\n return route.component?.())} />;\r\n};\r\n\r\nconst formatRoutePath = (path: string) => {\r\n if (path && path[0] === '/') {\r\n return path;\r\n }\r\n return `/${path}`;\r\n};\r\n\r\nexport type PageRouteParams = { [paramName: string]: string | undefined };\r\n\r\nexport interface PageRoute {\r\n path: string;\r\n component?: () => Promise; //This promise should return a component. Having any as type to allow for lazy imports\r\n params?: PageRouteParams;\r\n routeProps?: RouteProps;\r\n innerRoutes?: PageRoute[];\r\n}\r\n\r\nexport const generateRoutePathStringFrom = (pageRoute: PageRoute, useGeneratePath = true) => {\r\n const route = routeConverter(pageRoute, '', true);\r\n if (useGeneratePath) {\r\n return generatePath(route);\r\n }\r\n return route;\r\n};\r\n\r\nconst routeConverter = (route: PageRoute, baseRoute: string, isFixed = false): string => {\r\n let cleanPath = route.path;\r\n if (cleanPath[0] === '/' && cleanPath.length > 1) {\r\n cleanPath = cleanPath.substring(1);\r\n }\r\n const templatePath = isFixed ? cleanPath : `:${cleanPath}(${cleanPath})?`;\r\n const stringRoute = `${baseRoute}/${templatePath}${paramsConverter(route.params)}`;\r\n if (route.innerRoutes) {\r\n return reduce(route.innerRoutes, (url, route) => routeConverter(route, url), stringRoute);\r\n }\r\n return stringRoute;\r\n};\r\n\r\nconst paramsConverter = (params: PageRouteParams | undefined) => {\r\n if (!params) {\r\n return '';\r\n }\r\n let path = '';\r\n for (const key in params) {\r\n const value = params[key];\r\n let urlValue = '';\r\n if (value) {\r\n urlValue = `(${urlValue})`;\r\n }\r\n path = `${path}/:${key}${urlValue}?`;\r\n }\r\n return path;\r\n};\r\n\r\nexport const PAYWALL_ALLOWED_ROUTES = [\r\n Routes.MORE_HELP_BASE_ROUTE,\r\n Routes.ANNOUNCEMENTS,\r\n Routes.MEMBERSHIPS_UNSUBSCRIBE,\r\n Routes.VERIFY_EMAIL_BLOCKER_PAGE,\r\n Routes.VERIFY_EMAIL,\r\n Routes.MORE_SETTINGS_ACCOUNT_SETUP_NEW,\r\n Routes.MORE_SETTINGS_BASE_ROUTE,\r\n `${Routes.MORE_SETTINGS_BASE_ROUTE}${Filter.BillingSummary}/`,\r\n `${Routes.MORE_SETTINGS_BASE_ROUTE}${Filter.PaymentHistory}/`,\r\n `${Routes.MORE_SETTINGS_BASE_ROUTE}${Filter.TermsOfService}/`,\r\n `${Routes.MORE_SETTINGS_BASE_ROUTE}${Filter.PrivacyPolicy}/`,\r\n Routes.TOOLS_GET_PAID_FASTER,\r\n Routes.TOOLS_SAVE_AT_THE_PUMP,\r\n Routes.TOOLS_ROADSIDE_ASSIST,\r\n Routes.TOOLS_TRUCKING_AUTHORITY,\r\n];\r\n\r\nexport const PAYWALL_BLOCKED_ROUTES = [\r\n Routes.MORE_SETTINGS_MANAGE_PLAN,\r\n Routes.MORE_SETTINGS_PAYMENT_METHOD,\r\n Routes.MORE_SETTINGS_USER,\r\n];\r\n\r\nexport const MEMBERSHIP_STATUS_LIST_FOR_ACCOUNT_SETUP = [\r\n MembershipStatus.OnHold,\r\n MembershipStatus.Expired,\r\n MembershipStatus.SignUpInProgress,\r\n MembershipStatus.MobileSignUpInProgress,\r\n MembershipStatus.PendingPayment,\r\n];\r\n\r\nexport const BILLING_STATUS_LIST_FOR_ACCOUNT_SETUP = [\r\n BillingStatus.OnHold,\r\n BillingStatus.PaymentDeclined,\r\n BillingStatus.PromptAtLogin,\r\n BillingStatus.PromptAtTrialExpiry,\r\n];\r\n\r\nexport const isAccountSetupRequiredForMembershipStatus = (membershipStatus: MembershipStatus) =>\r\n includes(MEMBERSHIP_STATUS_LIST_FOR_ACCOUNT_SETUP, membershipStatus);\r\n\r\nexport const isAccountSetupRequiredForBillingStatus = (\r\n billingStatus: BillingStatus | undefined,\r\n isCancellingMembership?: boolean\r\n) => {\r\n if (isCancellingMembership && billingStatus === BillingStatus.OnHold) {\r\n return false;\r\n }\r\n return billingStatus ? includes(BILLING_STATUS_LIST_FOR_ACCOUNT_SETUP, billingStatus) : false;\r\n};\r\n","import { orderBy, values } from 'lodash';\r\nimport { generatePath } from 'react-router-dom';\r\n\r\nimport { PostsFilter } from '@common/model';\r\n\r\n// Keep this file separate from the Routing for cleaner dependencies\r\n// (and avoid an issue with yarn test not understanding async imports used in Routing.tsx)\r\n\r\nexport const GUID_REGEX = '[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}';\r\nexport const HEX40_REGEX = '[0-9a-f]{40}';\r\nconst CONVERSATION_GUID_REGEX =\r\n '[0-9a-fA-F]{8}-[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}';\r\n\r\nexport enum UnsubscribeAssistantReasons {\r\n COST = 'cost',\r\n LOADS_ISSUE = 'loads-issue',\r\n DIFFICULTY = 'difficulty',\r\n MISSING_FUNCTIONALITY = 'missing-functionality',\r\n NOT_USING = 'not-using',\r\n OTHER = 'other',\r\n}\r\n\r\nexport enum TruckLocatorRoutes {\r\n InternalTruckLocator = 'internal-truck-locator',\r\n TruckLocator = 'truck-locator',\r\n}\r\n\r\nenum PostTruckAlertRoutes {\r\n Alerts = 'alert-truck',\r\n}\r\n\r\nexport type PostTruckRoutes = PostsFilter | PostTruckAlertRoutes;\r\nexport const PostTruckRoutes = { ...PostsFilter, ...PostTruckAlertRoutes };\r\n\r\nexport const postedLoadsModalPanels = 'sortBy|filter|status|pickUpDate|view';\r\nexport const filterPanelModalPanels =\r\n 'pickUpLocation|pickUpDate|pickUpTime|dropOffLocation|dropOffDate|dropOffTime|trailerType|trailerSpecification|visibilityRules|editRule';\r\nconst postLoadsModalPanels = `${filterPanelModalPanels}|recentPost|addStops|editStop`;\r\nexport const unsubscribeAssistantReasons = 'cost|loads-issue|difficulty|missing-functionality|not-using|other';\r\n\r\nexport const PlainRoutes = {\r\n VERIFY_EMAIL: '/verify/',\r\n VERIFY_EMAIL_BLOCKER_PAGE: '/verifyEmail/',\r\n VERIFIED_LOGIN: '/verifiedLogin/',\r\n EXPORTPOSTS_TABLE_VIEW: '/post-loads/export-posts/table-view/',\r\n};\r\n\r\nexport const COMMUNICATION_KEY = 'communication';\r\n\r\nconst COMMUNICATION_MESSAGE = `/:chat(chat)?/:conversationID(${CONVERSATION_GUID_REGEX})?/:details(details)?/:loadcontact(loadcontact)?/:usercontact(usercontact)?/:contactID(${GUID_REGEX})?`;\r\nconst COMMUNICATION_NESTED_PANEL = `/:communication(${COMMUNICATION_KEY})?${COMMUNICATION_MESSAGE}`;\r\nconst TRUCK_ALERTS = `/:alert(alert)?/:alertID?/:loadDetails(load-details)?/:loadID(${GUID_REGEX})?`;\r\nexport const POST_TRUCK = `/:subroutes(add-post|edit-post)?/:postID([0-9]*)?/:panels(dates|truck|pick-up|drop-off|new-my-truck|edit-my-truck)?/:truckID(${GUID_REGEX})?`;\r\nconst SEARCH_LOADS_MODALS = '(pickup|dropoff|dates|trailer-type|trip-length|my-truck|create-new-truck|edit-truck)';\r\nexport const BACHKHAUL_ROUTE = `/:backhauls(backhauls)?/:backhaulSearchID([0-9]*)?/:backhaulsSortBy(sortBy)?/:backhaulsDates(dates)?/:backhaulLoadID(${GUID_REGEX})?/:backhaulLoadMap(backhaul-map)?`;\r\nexport const COMPANY_SEARCH = `/:companySearch(companySearch)?/:companySearchModal${SEARCH_LOADS_MODALS}?/:companySearchMap(companySearchMap)?/:companySearchResult(companySearchResult)?/:companySearchFilters(filters)?/:companySearchSortBy(sortBy)?/:companySearchChangeView(changeView)?/:companySearchLoad(${GUID_REGEX})?/:companyLoadMap(pc-miler-map)?`;\r\nconst BIDS_NESTED = `/:bidID?/:loadID?/:edit(edit|offer|counteroffer|new)?/:offerID?/:otherPartyUserID?/:loadMap(pc-miler-map)?`;\r\nexport const TRIP_BUILDER_MODALS =\r\n '(pickUpLocation|pickUpDate|pickUpTime|dropOffLocation|dropOffDate|dropOffTime|trailerType|trailerSpecification|excludedStates|tripLength)';\r\n\r\nconst TRIP_BUILDER_BASE_URL = '/loads/trip-builder/';\r\nconst TRIP_BUILDER_LOAD_DETAILS = `${TRIP_BUILDER_BASE_URL}trips/:tripId/:operation(details|add-load)/loads/:loadId`;\r\n\r\nexport const TRIP_BUILDER_ROUTES = {\r\n LOADS_TRIP_BUILDER_TRIP_GENERAL: `${TRIP_BUILDER_BASE_URL}:filter(trips|new-trip)/:tripId?/:subRoute(add-load|loads)?/:loadId?/:subsubroutes(pc-miler-map)?${COMPANY_SEARCH}${BACHKHAUL_ROUTE}${POST_TRUCK}/`,\r\n TRIP_BUILDER_BASE_URL: TRIP_BUILDER_BASE_URL,\r\n LOADS_TRIP_BUILDER_MODAL: `${TRIP_BUILDER_BASE_URL}new-trip/:modal${TRIP_BUILDER_MODALS}?/:selectStates(selectStates)?/:region(USA|Canada|Both)?/`,\r\n LOADS_TRIP_BUILDER_NEW_TRIP: `${TRIP_BUILDER_BASE_URL}new-trip/`,\r\n LOADS_TRIP_BUILDER_TRIP: `${TRIP_BUILDER_BASE_URL}trips/:tripId/details/`,\r\n LOADS_TRIP_BUILDER_TRIP_MAP: `${TRIP_BUILDER_BASE_URL}trips/:tripId/details/trip-map/:routeIndex?/`,\r\n LOADS_TRIP_BUILDER_ADD_LOAD: `${TRIP_BUILDER_BASE_URL}trips/:tripId/add-load/`,\r\n LOADS_TRIP_BUILDER_LOAD_DETAILS: `${TRIP_BUILDER_LOAD_DETAILS}/`,\r\n LOADS_TRIP_BUILDER_LOAD_DETAILS_MAP: `${TRIP_BUILDER_LOAD_DETAILS}/pc-miler-map/`,\r\n LOADS_TRIP_BUILDER_LOAD_DETAILS_COMMUNICATION: `${TRIP_BUILDER_LOAD_DETAILS}${COMMUNICATION_NESTED_PANEL}`,\r\n LOADS_TRIP_BUILDER_LOAD_DETAILS_POST_TRUCK: `${TRIP_BUILDER_LOAD_DETAILS}${POST_TRUCK}`,\r\n LOADS_TRIP_BUILDER_LOAD_DETAILS_BACKHAUL: `${TRIP_BUILDER_LOAD_DETAILS}${BACHKHAUL_ROUTE}`,\r\n LOADS_TRIP_BUILDER_LOAD_DETAILS_COMPANY_SEARCH: `${TRIP_BUILDER_LOAD_DETAILS}${COMPANY_SEARCH}`,\r\n LOADS_TRIP_BUILDER_LOAD_DETAILS_COMPANY_SEARCH_BACKHAUL: `${TRIP_BUILDER_LOAD_DETAILS}${COMPANY_SEARCH}${BACHKHAUL_ROUTE}`,\r\n};\r\nconst POSTING_CONTACTS = `/:postingContacts(posting_contacts)?/:postingContactsModal(add_contact|edit_contact)?/:contactID(${GUID_REGEX})?`;\r\n\r\nexport const Routes = {\r\n DASHBOARD: '/',\r\n ALERTS: '/alerts/',\r\n BIDS_BASE_ROUTE: `/bids/:tab(bids|interactive-bids)?/`,\r\n BIDS: `/bids/:filter(filter)?/:tab(bids|interactive-bids)?/:summary(summary)?/:loadDetails(load-details)?${BIDS_NESTED}${POST_TRUCK}`,\r\n ANNOUNCEMENTS: '/announcements/',\r\n ANNOUNCEMENTS_VIEW: `/announcements/:viewAnnouncement(view-announcement)?/:id(${GUID_REGEX})?/`,\r\n COMMUNICATION: `/communication${COMMUNICATION_MESSAGE}/:loadMap(pc-miler-map)?${POST_TRUCK}`,\r\n FLAGS: '/flags/',\r\n\r\n LOADS_FINDLOADS: `/loads/search/:search(new|edit)?/:modal${SEARCH_LOADS_MODALS}?/:selectStates(selectStates)?/:region(USA|Canada|Both)?/:truckId(${GUID_REGEX})?/:map(map)?/:results(results)?/:filters(filters)?/:sortBy(sortBy)?/:changeView(changeView)?/:loadID(${GUID_REGEX})?/:loadMap(pc-miler-map)?${COMPANY_SEARCH}${BACHKHAUL_ROUTE}${COMMUNICATION_NESTED_PANEL}${POST_TRUCK}`,\r\n\r\n LOADS_LOAD_AVAILABILITY: `/loads/load-availability/:filter(equipment-type|region)?/:results(outbound|intrastate|inbound)?/:map(map)?/:searchFilter(searchFilter)?/:mapResults(results)?/:sortBy(sortBy)?/:load(load)?/:loadID(${GUID_REGEX})?/:changeView(changeView)?/:loadMap(pc-miler-map)?${POST_TRUCK}${COMPANY_SEARCH}${BACHKHAUL_ROUTE}${COMMUNICATION_NESTED_PANEL}`,\r\n LOADS_LOAD_AVAILABILITY_MAP: `/loads/load-availability/density-map/:filter(equipment-type|region)?/:results(outbound|intrastate|inbound)?/:map(map)?/:searchFilter(searchFilter)?/:mapResults(results)?/:sortBy(sortBy)?/:load(load)?/:loadID(${GUID_REGEX})?/:changeView(changeView)?/:loadMap(pc-miler-map)?${POST_TRUCK}${COMPANY_SEARCH}${BACHKHAUL_ROUTE}${COMMUNICATION_NESTED_PANEL}`,\r\n LOADS_LOAD_PLANNER: '/loads/load-planner/',\r\n ...TRIP_BUILDER_ROUTES,\r\n LOADS_MY_LOADS: `/loads/my-loads/:filter(viewed|hidden|note|saved|called|bids|booked|scheduled_for_pickup|pickup_complete|load_en_route|delivered|contacted)?/:map(map)?/:results(results)?/:changeView(changeView)?/:loadID(${GUID_REGEX})?/:loadMap(pc-miler-map)?${COMPANY_SEARCH}${BACHKHAUL_ROUTE}${COMMUNICATION_NESTED_PANEL}${POST_TRUCK}`,\r\n LOADS_CARRIERS: '/loads/carriers/:filter(favorite|blocked-hidden)?/:carrierID?/:company(company)?/:companyID?',\r\n LOADS_COMPANIES: `/loads/companies/:filter(onboarded|favorite|blocked-hidden)?/:companyID?${COMPANY_SEARCH}${BACHKHAUL_ROUTE}${COMMUNICATION_NESTED_PANEL}${POST_TRUCK}`,\r\n LOADS_MY_COMPANIES: '/loads/my-companies/',\r\n LOADS_MY_LOADS_POST:\r\n '/post-loads/post/:actionType(single|multiple|online|offline|assigned|delivered)?' +\r\n `/:postedPanelModals(${postedLoadsModalPanels})?/:filterPanelModals(${filterPanelModalPanels})?` +\r\n `/:load(load)?/:loadID(${GUID_REGEX})?/:loadMap(loadMap)?/:editing(edit|clone)?/:postPanelModals(${postLoadsModalPanels})?/:ruleIndex([0-9]*)?${COMMUNICATION_NESTED_PANEL}${POSTING_CONTACTS}`,\r\n LOADS_STANDALONE_LOAD_DETAILS: `/load/:loadID(${GUID_REGEX})/:loadMap(pc-miler-map)?${COMPANY_SEARCH}${BACHKHAUL_ROUTE}${COMMUNICATION_NESTED_PANEL}${POST_TRUCK}`,\r\n MYLOADS_EXPORTPOSTS: '/post-loads/export-posts/',\r\n MYLOADS_UPLOADPOSTS: '/post-loads/upload-posts/',\r\n\r\n MYTRUCKS_POST_BASE: '/trucks/post-truck/',\r\n MYTRUCKS_POST: `/trucks/post-truck/:filter(${PostTruckRoutes.RealTimePosts}|${PostTruckRoutes.ScheduledPosts}|${PostTruckRoutes.ExpiredPosts}|${PostTruckRoutes.Alerts})?${TRUCK_ALERTS}/:loadMap(pc-miler-map)?${POST_TRUCK}${COMMUNICATION_NESTED_PANEL}`,\r\n FINDTRUCKS_LOCATETRUCK: `/find-trucks/:truckLocatorType(${TruckLocatorRoutes.InternalTruckLocator}|${TruckLocatorRoutes.TruckLocator})/:id/:from(postLoad)?/:truck(viewtruck)?/:truckID?`,\r\n FINDTRUCKS_TRUCKLOCATOR: `/find-trucks/:truckLocatorType(${TruckLocatorRoutes.InternalTruckLocator}|${TruckLocatorRoutes.TruckLocator})/`,\r\n\r\n INTEGRATION_SERVICES_TMSINT: '/post-loads/tms-integration/',\r\n INTEGRATION_SERVICES_HTMLEMBED: '/post-loads/html-embed-code/',\r\n INTEGRATION_SERVICES_POSTINGAID: '/post-loads/posting-aid/',\r\n\r\n PUB_SHARELOAD: '/pub/load/:poster(poster)?/:id',\r\n\r\n TOOLS_BORDER_WAIT_TIMES: '/tools/border-wait-times/',\r\n TOOLS_FMCSA_SEARCH: '/tools/fmcsa-search/',\r\n TOOLS_FUEL_PRICES: '/tools/fuel-prices/',\r\n TOOLS_GET_PAID_FASTER: '/tools/get-paid-faster/',\r\n TOOLS_PROFIT_CALCULATOR_PAGE: '/tools/profit-calculator/:modal(pickup|dropoff)?/',\r\n TOOLS_MARKET_RATES: `/tools/market-rates/:editing(post)?/:modalPanels(capacity-filters|capacity-sort)?/:filterPanelModals(${filterPanelModalPanels})?/:postPanelModals(${postLoadsModalPanels})?${POSTING_CONTACTS}`,\r\n TOOLS_CAPACITY_FINDER: '/tools/capacity-finder/:map(map)?/:modalPanels(equipment|capacity-sort|capacity-filters)?',\r\n TOOLS_MARKET_RATES_CARRIER: `/tools/market-rates-carrier${POST_TRUCK}`,\r\n TOOLS_MILEAGE_CALCULATOR: '/tools/mileage-calculator/',\r\n TOOLS_MILEAGE_CALCULATOR_SEARCH: '/tools/mileage-calculator/:search(stops)?',\r\n TOOLS_MILEAGE_CALCULATOR_MILEAGE_ROUTING: '/tools/mileage-calculator/mileage_and_routing/',\r\n TOOLS_REEFER_RATES: '/tools/reefer-rates/',\r\n TOOLS_ROADSIDE_ASSIST: '/tools/roadside-assistance/',\r\n TOOLS_TRUCKING_AUTHORITY: '/tools/trucking-authority/',\r\n TOOLS_SAVE_AT_THE_PUMP: '/tools/save-at-the-pump/',\r\n TOOLS_MY_DOCUMENTS:\r\n '/tools/my-documents/:viewType(folders|dates|types)/:documents(documents)?/:documentsSortBy(documents-sort-by)?' +\r\n '/:newDocument(new-document)?/:sendDocuments(send-documents)?' +\r\n `/:feedback(succeed)?/:viewDocument(view-document)?/:select(folder|type)?/:panel(sort-by|view)?/:loadID(${GUID_REGEX})?/:loadMap(pc-miler-map)?${POST_TRUCK}${COMMUNICATION_NESTED_PANEL}/:renameDocument(rename-document)?` +\r\n '/:folder(create|edit)?/:failure(failed-document-send|failed-document-creation|failed-folder-exists|failed-folder-creation|failed-folder-edit|failed-document-rename|failed-document-download|invalid-characters-failure)?/',\r\n TOOLS_HOT_LEADS: '/tools/hot-leads/',\r\n\r\n RESOURCES_CREDIT_REPORT: '/resources/credit-report/',\r\n RESOURCES_SEARCH_DIRECTORY_BASE: '/resources/search-directory/',\r\n RESOURCES_SEARCH_DETAILS_DIRECTORY: '/resources/search-directory/details/',\r\n RESOURCES_SEARCH_DIRECTORY: `/resources/search-directory/:modal(location)?/:results(results)?/:sortBy(sortBy)?/:changeView(changeView)?/:companyId([0-9]+)?${COMPANY_SEARCH}${BACHKHAUL_ROUTE}${COMMUNICATION_NESTED_PANEL}${POST_TRUCK}`,\r\n\r\n MORE_SETTINGS_MANAGE_USERS: '/more/settings/manage-users/',\r\n MORE_SETTINGS_PAYMENT_OPTIONS: '/more/settings/payment-options/',\r\n MORE_SETTINGS_GENERAL_SETTINGS: '/more/settings/general-settings/',\r\n MORE_SETTINGS_TOOLS_SETTINGS: '/more/settings/tools-settings/',\r\n MORE_SETTINGS_ALERTS_SETTINGS: '/more/settings/alerts-settings/',\r\n MORE_SETTINGS_COMPANY_WEBSITE: '/more/settings/company-website/',\r\n MORE_SETTINGS_ACCOUNT_REDIR: '/more/settings/account-redir/',\r\n MORE_SETTINGS_ACCOUNT_SETUP: '/more/settings/account-setup/',\r\n MORE_SETTINGS_ACCOUNT_NOTICE: '/more/settings/account-notice/',\r\n MORE_SETTINGS_ACCOUNT_VERIFICATION: '/more/settings/account-verification/',\r\n MORE_SETTINGS_ACCOUNT_SETUP_NEW:\r\n '/more/settings/account_setup/:modal(add_on|manage_plan)?/:subroutes(standard|premium|premium_plus)?',\r\n MORE_SETTINGS_BASE_ROUTE: '/more/settings/',\r\n // /more/settings/business_profile/ is referenced in intg (see intg-*-client.js files)\r\n MORE_SETTINGS:\r\n '/more/settings/:filter(cost_per_day|load_visibility_rules|onboarded_carriers|manage_plan|profile|billing_summary|my_truck|business_profile|users|dispatchers|private_load_board|payment_history|payment_method|notifications|alerts_sound|mileage_and_routing|manage_fuel_mileage|privacy_control|search_results_settings|login_sessions|integrators|terms_of_service|privacy_policy|open_source_liscence|exporting_load_details|posting_contacts)?' +\r\n '/:sort_by(sort_by_year)?/:subroutes(edit_cost_per_day|review_carriers|edit_carriers|create_rule_set|edit_rule_set|type|add_user|edit_user|edit_dispatcher|add_members|integrations|new_truck|edit_truck|full_name|phone|standard|premium|premium_plus|add_on|invoice|edit_business_profile)?' +\r\n `/:ruleSetId([0-9]*)?/:modal(statePicker|edit_rule|add_rule)?/:ruleId([0-9]*)?/:id(${GUID_REGEX})?/:integrationId(${HEX40_REGEX})?${POSTING_CONTACTS}`,\r\n\r\n // /more/settings/profile/ is referenced in intg (see intg-*-client.js files)\r\n MORE_SETTINGS_PROFILE_BASE: '/more/settings/profile/',\r\n MORE_SETTINGS_PAYMENT_HISTORY_BASE: '/more/settings/payment_history/',\r\n\r\n MORE_SETTINGS_PAYMENT_HISTORY: `/more/settings/payment_history/:sort_by(sort_by_year)?/:subroutes(invoice)?/:id(${GUID_REGEX})?`,\r\n MORE_SETTINGS_ACTIVATE_BY_CARD: '/more/settings/account-activate-by-credit-card/',\r\n MORE_SETTINGS_PAYMENT_METHOD: '/more/settings/payment_method/',\r\n MORE_SETTINGS_MANAGE_PLAN: '/more/settings/manage_plan/',\r\n MORE_SETTINGS_MILEAGE_ROUTING: '/more/settings/mileage_and_routing/',\r\n MORE_SETTINGS_USER: `/more/settings/users`,\r\n MORE_SETTINGS_EDIT_USER: `/more/settings/users/edit_user/:id(${GUID_REGEX})?`,\r\n MORE_SETTINGS_EDIT_TRUCK: `/more/settings/my_truck/edit_truck/:id(${GUID_REGEX})?`,\r\n MORE_SETTINGS_PRIVATE_LOADBOARD: `/more/settings/private_load_board/:subRoute(add-members)?/`,\r\n\r\n MORE_HELP_BASE_ROUTE: '/more/help/',\r\n MORE_HELP: `/more/help/:filter(service_code|screen_sharing)?`,\r\n MORE_HELP_SERVICE_CODE: '/more/help/service_code/',\r\n MORE_HELP_SCREEN_SHARING: '/more/help/screen_sharing/',\r\n\r\n //new web unsubscribe assistant\r\n MEMBERSHIPS_UNSUBSCRIBE: '/unsubscribe/',\r\n MEMBERSHIPS_UNSUBSCRIBE_REASONS: `/unsubscribe/:reasons?/:reason(${unsubscribeAssistantReasons})?`,\r\n\r\n MORE_LOGOUT: '/logout/',\r\n\r\n NOTFOUND: '/not-found/',\r\n\r\n WELCOMEBACK_CAMPAIGN: '/welcomeback/',\r\n\r\n // integrations portal-specific routes\r\n CLIENTS: `/clients/:env(DEV|LIVE)/:guid(${GUID_REGEX})?/`,\r\n CLIENTS_DEV: '/clients/DEV/',\r\n CLIENTS_LIVE: '/clients/LIVE/',\r\n\r\n ...PlainRoutes,\r\n};\r\nexport const urlForLocateTruck = (loadid: string, truckLocatorType: string): string =>\r\n `${generatePath(Routes.FINDTRUCKS_LOCATETRUCK, { truckLocatorType: truckLocatorType, id: loadid })}/`;\r\nexport const urlForLoadSearch = `${generatePath(Routes.LOADS_FINDLOADS)}/`;\r\nexport const orderedPaths = (routes: { [key: string]: string } | string[]) =>\r\n orderBy(values(routes), undefined, 'desc');\r\n\r\nexport const ASPX_ROUTES = {\r\n GENERIC_ONLINE_PREFIX: '/online/',\r\n GENERIC_ROOT_PREFIX: '/onlineroot/',\r\n HELP_PREFIX: '/online/help/',\r\n FIND_LOADS: '/online/carrier/',\r\n};\r\n","import React, { useEffect } from 'react';\r\n\r\nimport { generatePath, Redirect, Route, Switch, useLocation } from 'react-router-dom';\r\n\r\nimport { store } from '@/reduxStore/Store';\r\nimport { MEMBERS_PAYMENT_METHOD_LINK, TRUCK_LOCATOR_ACCESS_REQUEST_EXTENSION } from '@common/info';\r\nimport { Flag, Roles } from '@common/model';\r\nimport { lazy } from '@component/lazyComponent';\r\nimport { useIsCarrier } from '@component/menu/NavigationMenuHelper';\r\nimport { AspxSwitcher } from '@page/aspxPage/AspxSwitcher';\r\nimport { Filter } from '@page/newSettings/panelSectionFilter/SettingsHelper';\r\nimport { t, T } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\nimport { withMetadata } from '@util/Metadata';\r\nimport { checkAppVersion } from '@webApi/MembersEpic';\r\n\r\nimport { AuthenticatedRoute } from './AuthenticatedRoute';\r\nimport { ASPX_ROUTES, orderedPaths, Routes, TRIP_BUILDER_ROUTES, urlForLoadSearch } from './Routes';\r\n\r\nconst FORCE_TRAILING_SLASH_REDIRECT = (\r\n \r\n props.location.search ? (\r\n \r\n ) : (\r\n \r\n )\r\n }\r\n />\r\n);\r\n\r\nconst OLD_REDIRECTS = [\r\n // ReactRouter Switch does not support React Fragments, hence packaging these in an array https://github.com/ReactTraining/react-router/issues/5785\r\n\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n ,\r\n];\r\n\r\n// Try to keep a rough ordering here. There are a few groupings and alphabetical sorting within\r\n\r\nconst NavRoutes: React.FC = React.memo(() => {\r\n const isBroker = !useIsCarrier();\r\n const isCapacityFinderEnabled = useSelector(\r\n (state) => !state.settings.systemSetting[Flag.CapacityFinderDisabled].value\r\n );\r\n\r\n return (\r\n \r\n \r\n {FORCE_TRAILING_SLASH_REDIRECT}\r\n {OLD_REDIRECTS}\r\n {isBroker ? (\r\n \r\n ) : (\r\n \r\n )}\r\n import(/* webpackChunkName: 'Dashboard' */ '@page/dashboard/Dashboard'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'Announcements' */ '@page/announcements/Announcements'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'FindLoads' */ '@page/findLoads/FindLoadsPage'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'FindLoads' */ '@page/loadDetailsPage/LoadDetailsPage'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'Carriers' */ '@page/carriers/Carriers'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'Companies' */ '@page/companies/Companies'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'LoadAvailability' */ '@page/loadAvailability/LoadAvailability'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'TripBuilder' */ '@page/tripBuilder/TripBuilderRouting'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'MyLoads' */ '@page/myLoads/MyLoads'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'PostLoads' */ '@page/postLoads/PostLoads'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'Communication' */ '@page/communication/CommunicationRouting'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'BidsPanel' */ '@page/bids/BidsPanelRouting'))\r\n )}\r\n />\r\n\r\n {/* ==== FIND TRUCKS pages === */}\r\n import(/* webpackChunkName: 'TruckLocator' */ '@page/truckLocator/TruckLocator'))\r\n )}\r\n />\r\n {/* ==== POST Truck page ==== */}\r\n import(/*webbpackChunkName: 'TruckPosts */ '@page/truckPost/TruckPostingPage'))\r\n )}\r\n />\r\n {/* ==== POST LOADS pages ==== */}\r\n import(/* webpackChunkName: 'ExportPosts' */ '@page/exportPosts/ExportPosts'))\r\n )}\r\n />\r\n \r\n import(/* webpackChunkName: 'ExportPostsTableView' */ '@page/exportPostsTableView/ExportPostsTableView')\r\n )\r\n )}\r\n />\r\n import(/* webpackChunkName: 'HTMLEmbed' */ '@page/htmlEmbed/HTMLEmbed'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'MileageCalculator' */ '@page/mileageCalculator/MileageCalculator'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'PostingAid' */ '@page/postingAid/PostingAid'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'TMSint' */ '@page/tmsIntegration/TMSintegration'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'UploadPosts' */ '@page/uploadPosts/UploadPosts'))\r\n )}\r\n />\r\n {/* ==== TOOLS pages ========= */}\r\n import(/* webpackChunkName: 'BorderWaitTimes' */ '@page/borderWaitTimes/BorderWaitTimes'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'FmcsaSearch' */ '@page/fmcsaSearch/FmcsaSearch'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'TFQuotes' */ '@page/partnerServices/GetPaidFaster'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'FuelPrices' */ '@page/fuelPrices/FuelPrices'))\r\n )}\r\n />\r\n import(/*webbpackChunkName: 'ProfitCalculatorPage */ '@page/profitCalculator/ProfitCalculatorPage')\r\n )\r\n )}\r\n />\r\n import(/* webpackChunkName: 'MarketRatesPage' */ '@page/marketRates/MarketRatesPage'))\r\n )}\r\n />\r\n {isCapacityFinderEnabled ? (\r\n import(/* webpackChunkName: 'CapacityFinderPage' */ '@page/capacityFinder/CapacityFinderPage'))\r\n )}\r\n />\r\n ) : null}\r\n import(/* webpackChunkName: 'MarketRatesCarrierPage' */ '@page/marketRates/MarketRatesCarrierPage')\r\n )\r\n )}\r\n />\r\n import(/* webpackChunkName: 'ReeferRates' */ '@page/reeferRates/ReeferRates'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'MyDocuments' */ '@page/myDocuments/MyDocuments'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'RoadsideAssist' */ '@page/roadsideAssist/RoadsideAssist'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'TruckingAuthority' */ '@page/partnerServices/TruckingAuthority'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'TFQuotes' */ '@page/partnerServices/FuelCard'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'SearchDirectory' */ '@page/searchDirectory/SearchDirectory'))\r\n )}\r\n />\r\n \r\n import(/*webbpackChunkName: 'UnsubscribeAssistant */ '@page/unsubscribeAssistant/UnsubscribeAssistant')\r\n )\r\n )}\r\n />\r\n {/* ==== SETTINGS pages ============ */}\r\n import(/*webbpackChunkName: 'Settings' */ '@page/newSettings/SettingsPage'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'Settings' */ '@page/newSettings/SettingsPage'))\r\n )}\r\n />\r\n import(/*webbpackChunkName: 'Settings' */ '@page/accountSetup/AccountSetupRouting'))\r\n )}\r\n />\r\n import(/*webbpackChunkName: 'Settings' */ '@page/accountVerification/BrokerAccountVerification'))\r\n )}\r\n />\r\n {/* ==== HELP pages ============ */}\r\n import(/*webbpackChunkName: 'Help' */ '@page/help/HelpPage')))}\r\n />\r\n {/* ==== PUBLIC pages ============ */}\r\n import(/* webpackChunkName: 'ShareLoad' */ '@page/shareLoad/ShareLoad'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'Flags' */ '@page/flags/Flags'))}\r\n />\r\n import(/* webpackChunkName: 'Logout' */ '@/router/Logout'))}\r\n />\r\n import(/* webpackChunkName: 'VerifyEmail' */ '@page/verifyEmail/VerifyEmail'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'VerifyEmail' */ '@page/verifyEmail/VerifyEmailBlockerPage'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'VerifyEmail' */ '@page/verifiedLogin/VerifiedLogin'))}\r\n />\r\n import(/* webpackChunkName: 'WelcomeBack' */ '@page/welcomebackCampaign/WelcomeBackOfferPage'))\r\n )}\r\n />\r\n import(/* webpackChunkName: 'NotFound' */ '@page/error/NotFound'))\r\n )}\r\n />\r\n \r\n \r\n \r\n );\r\n});\r\n\r\nfunction useDetectVersionChangeOnUrlChange() {\r\n const location = useLocation();\r\n\r\n useEffect(() => {\r\n store.dispatch(checkAppVersion());\r\n }, [location.pathname]);\r\n}\r\n\r\nexport const Routing: React.FC<{}> = () => {\r\n useDetectVersionChangeOnUrlChange();\r\n return (\r\n <>\r\n \r\n \r\n );\r\n};\r\n","export enum Color {\r\n WHITE = '#ffffff',\r\n GHOST_WHITE = '#ffffff80',\r\n\r\n //-------------------------------TRANSPARENTS---------------------------------//\r\n\r\n TRANSPARENT_0 = '#00000000',\r\n TRANSPARENT_10 = '#0000001A',\r\n TRANSPARENT_30 = '#00000026',\r\n TRANSPARENT_SHADOW = '#0000000f',\r\n TRANSPARENT_GRAY_RGBA = 'rgba(0, 0, 0, 0.16)',\r\n TRANSPARENT_HOVER = '#00000014',\r\n\r\n //-----------------------------------GRAYS------------------------------------//\r\n\r\n GRAY_1 = '#f2f2f2',\r\n GRAY_2 = '#d9d9d9',\r\n GRAY_3 = '#acacac',\r\n GRAY_4 = '#707070',\r\n GRAY_5 = '#555555',\r\n GRAY_6 = '#3d3d3d',\r\n GRAY_7 = '#eaeaea',\r\n GRAY_8 = '#b4b4b4',\r\n GRAY_9 = '#f5f5f5',\r\n GRAY_10 = '#d7d7d7',\r\n GRAY_11 = '#a0a0a0',\r\n GRAY_12 = '#2d2a2b',\r\n GRAY_13 = '#dfdfdf',\r\n GRAY_14 = '#9e9e9e',\r\n GRAY_15 = '#e2e2e2',\r\n GRAY_16 = '#f1f1f1',\r\n GRAY_17 = '#202020',\r\n GRAY_19 = '#f7f7f7',\r\n GRAY_18 = '#9A9C9F',\r\n GRAY_20 = '#88a4bc',\r\n GRAY_21 = '#6D7E90',\r\n GRAY_22 = '#666666',\r\n GRAY_STONE = '#919191',\r\n GRAY_LIGHT = '#f7f9fb',\r\n GRAY_DARK = '#484848',\r\n GRAY_SMOKE = '#DAE2EA',\r\n GRAY_LAVA = '#E9EDF2',\r\n GRAY_GRADIENT_DARK = '#E2E9EE',\r\n GRAY_GRADIENT_LIGHT = '#F7F9FB',\r\n GRAY_DISABLED = '#91919126',\r\n GRAY_TEXT = '#3D3D3D',\r\n GRAY_PANEL = '#E7EFF7',\r\n GRAY_OLD = '#EBECEC',\r\n GRAY_ALUMINIUM = '#828589',\r\n GRAY_MAGNET = '#2E2E2E',\r\n GRAY_SHARK = '#999A9C',\r\n GRAY_STEEL = '#E5E6EC',\r\n\r\n //-----------------------------------GREENS-----------------------------------//\r\n\r\n GREEN_MAIN = '#00b529',\r\n GREEN_DARK = '#00a726',\r\n GREEN_LIGHT = '#e4f7e8',\r\n GREEN_LIGHT_2 = '#B7E7C3',\r\n GREEN_INACTIVE = '#98E1A8',\r\n GREEN_LEAF = '#00B5290D',\r\n GREEN_HOVER = '#009536',\r\n GREEN_TITLE = '#13B529',\r\n GREEN_BUTTON_TEXT = '#00B140',\r\n GREEN_JUNE_BUD = '#BED76B',\r\n\r\n //-----------------------------------CARRIER MAP HISTORY GREENS-----------------------------------//\r\n\r\n MAP_GREEN_DISABLED = '#E5EAEF',\r\n MAP_GREEN_0_0125 = '#DCEFD9',\r\n MAP_GREEN_0125_0250 = '#CADFC9',\r\n MAP_GREEN_0250_0375 = '#B8CFB9',\r\n MAP_GREEN_0375_0500 = '#A6C0A8',\r\n MAP_GREEN_0500_0625 = '#94B098',\r\n MAP_GREEN_0625_0750 = '#829F88',\r\n MAP_GREEN_0750_0875 = '#688F5A',\r\n MAP_GREEN_0875_1 = '#00B529',\r\n\r\n //----------------------------------ORANGES-----------------------------------//\r\n\r\n ORANGE_MAIN = '#ff9d1f',\r\n ORANGE_MAIN_DARK = '#BD7820',\r\n ORANGE_DARK = '#e5870f',\r\n ORANGE_LIGHT = '#FFF9F1',\r\n ORANGE_SMOKE = '#f3efe3',\r\n ORANGE_FADED = '#F6F3E9',\r\n ORANGE_WARNING = '#FDF3E1',\r\n ORANGE_MARIGOLD = '#FCF4E6',\r\n ORANGE_HIGHLIGHT = '#FEFBD7',\r\n ORANGE_BANNERBORDER = '#DC940A',\r\n ORANGE_BIDS_CHAT_BUBBLE = '#FBF3E5',\r\n ORANGE_BORDER = '#FF9C1E',\r\n ORANGE_TOPAZ = '#F1C473',\r\n\r\n //-----------------------------------REDS-------------------------------------//\r\n\r\n RED_1 = '#cc0a2e',\r\n RED_2 = '#cc2525',\r\n RED_3 = '#ff0000',\r\n RED_BANNER = '#CF1601',\r\n RED_APPLE = '#DC2B0A',\r\n EMAIL = '#d93025',\r\n RED_PINK = '#FF6550',\r\n RED_BANNER_ERROR = '#FEF4F2',\r\n\r\n //----------------------------------BLUES-------------------------------------//\r\n\r\n BLUE_PURE = '#0000ff',\r\n BLUE_LIGHT = '#0ABBDC0D',\r\n BLUE_LIGHT_2 = '#EBF4FB',\r\n BLUE_LIGHT_3 = '#E3E8EC',\r\n BLUE_LIGHT_4 = '#D6E4F0',\r\n BLUE_LIGHT_5 = '#E2F0FF',\r\n BLUE_AZURE = '#F2FCFE',\r\n BLUE_SKY = '#0EBBDC',\r\n BLUE_DARK = '#3B729F',\r\n BLUE_COOL = '#0FBBDC',\r\n BLUE_BONDIE = '#009CBA',\r\n BLUE_WILD_YONDER = '#9DB9C7',\r\n BLUE_MAYA = '#76B9E1',\r\n BLUE_TEXT = '#57B9D8',\r\n\r\n //--------------------------------YELLOWS------------------------------------//\r\n\r\n YELLOW_1 = '#fff5a2',\r\n YELLOW_BANNER = '#F7DE3A',\r\n\r\n //----------------------------------BEIGES------------------------------------//\r\n\r\n BEIGE_1 = '#e0edd2',\r\n FACEBOOK = '#657DFF',\r\n\r\n //----------------------------------BLACK------------------------------------//\r\n BLACK = '#000000',\r\n LIGHT_BLACK = '#27313C',\r\n MENU_BLACK = '#232323',\r\n\r\n //----------------------------------PURPLE------------------------------------//\r\n PURPLE = '#9570E8',\r\n PASTEL_VIOLET = '#CE9BC8',\r\n}\r\n","// Layout and Style-related constants\r\nexport enum FontFamily {\r\n Main = 'OverPass, sans-serif',\r\n}\r\n\r\nexport enum FontWeight {\r\n /** Italic found in Light only */\r\n Light = 300,\r\n Regular = 400, // same as 'normal'\r\n SemiBold = 600,\r\n Bold = 700,\r\n}\r\n\r\nexport enum FontSize {\r\n LargeTitle = 36, // H1\r\n MediumTitle = 32, // H2\r\n Header = 24,\r\n MediumHeader = 22,\r\n ModalTitle = 20, // Title\r\n Content = 16, // Subtitle\r\n ContentDetail = 14, // Subtitle\r\n Body = 12, // body\r\n SmallBody = 11, // body 3\r\n TinyBody = 10,\r\n Caption = 9, // caption\r\n}\r\n\r\nexport enum FontLineHeight {\r\n LargeTitle = 40, // H1\r\n MediumTitle = 24, // H2\r\n LargeHeader = 34,\r\n Header = 32,\r\n ModalTitle = 30, // Title\r\n Content = 24, // Subtitle\r\n ContentDetail = 21, // Subtitle\r\n Body = 18, // body\r\n SmallBody = 16, // body 3\r\n Caption = 11, // caption\r\n ButtonLabel = 14, // Action Button Label\r\n}\r\n\r\nexport enum BorderRadius {\r\n loadAvailabilityCircle = 34,\r\n CloseModal = 20,\r\n ChoiceChip = 17,\r\n InputChip = 12,\r\n ToolButton = 8,\r\n Widget = 10,\r\n Button = 4,\r\n LoadMarker = 15,\r\n Tiny = 2,\r\n}\r\n\r\nexport enum Spacing {\r\n ScreenSide = 16,\r\n ScreenSideWide = 24,\r\n ElementPaddingHorizontal = 12,\r\n ElementPaddingHorizontalWide = 48,\r\n ElementPaddingVertical = 12,\r\n InterElementVertical = 8,\r\n InterElementHorizontal = 8,\r\n ListIconHorizontal = 7,\r\n InterListElement = 4,\r\n InterListElementSmall = 2,\r\n TitleTopDistance = 24,\r\n HorizontalBigDistance = 24,\r\n InterSection = 16,\r\n DoubleInterSection = 32,\r\n ImageElement = 48,\r\n PanelSide = 35,\r\n TwoSpaces = 6,\r\n LargePaddingHorizontal = 20,\r\n LargePaddingVertical = 20,\r\n XLHorizontalPadding = 80,\r\n Mark = 10,\r\n}\r\n\r\nexport enum BorderWidth {\r\n Thin = 1,\r\n Medium = 2,\r\n}\r\n\r\nexport enum ElementSize {\r\n Dot = 8,\r\n Icon = 24,\r\n CheckboxArea = 36,\r\n Checkbox = 18,\r\n TextIcon = 16,\r\n loadingSpinnerSize = 20,\r\n BadgeIconWidth = 20,\r\n BadgeIconHeight = 16,\r\n ButtonWidthShort = 64,\r\n ButtonWidthMedium = 114,\r\n ButtonWidthLarge = 150,\r\n ButtonHeight = 44,\r\n ButtonWidth = 260,\r\n ListRowHeight = 60,\r\n FooterHeight = 56,\r\n HeaderHeight = 56,\r\n MobileHeaderHeight = 60,\r\n HamburgerMenuHeight = 60,\r\n ActionChipHeight = 31,\r\n LoadSearchCardHeight = 177,\r\n OverflowMenuItemWidth = 150,\r\n TruckPostingCardHeight = 152,\r\n DialogTextWidth = 102,\r\n StickyButtonHeight = 57,\r\n ActionLoadRowHeight = 50,\r\n LargeStatusBarButtonWidth = 170,\r\n SmallStatusBarButtonWidth = 105,\r\n MyLoadsStatusButtonHeight = 67,\r\n LoadViewCountHeight = 30,\r\n SmallIcon = 8,\r\n RateCheckMinMax = 48,\r\n RateCheckConfirmation = 43,\r\n RateCheckFeedbackInput = 120,\r\n OptionBar = 30,\r\n LoadListItemHeight = 44,\r\n TextField = 310,\r\n CheckBoxSize = 50,\r\n ActionBar = 70,\r\n ActionBarSmall = 48,\r\n MapColorKey = 55,\r\n FilterChipMaxWidth = 200,\r\n ActionButtonWidth = 56,\r\n DensityMapStateMobileCardHeight = 160,\r\n MediumButtonHeight = 32,\r\n TripButtonHeight = 30,\r\n}\r\n\r\nexport enum Opacity {\r\n clear = 1,\r\n lightest = 0.9,\r\n overlay = 0.85,\r\n light = 0.6,\r\n translucent = 0.5,\r\n blocked = 0,\r\n}\r\n\r\nexport enum Opacity {\r\n CheckboxDisabled = 0.7,\r\n Enabled = 1,\r\n}\r\n\r\nexport enum LoaderSize {\r\n small = 20,\r\n medium = 50,\r\n large = 100,\r\n}\r\n\r\nexport enum ContentSize {\r\n ExtraSmall,\r\n Small,\r\n Normal,\r\n}\r\n\r\nexport const POPUP_ZINDEX = 1299; // cannot be more than 1300\r\n\r\nexport const BANNER_ZINDEX = POPUP_ZINDEX - 1;\r\n\r\nexport const MENU_ZINDEX = POPUP_ZINDEX - 1;\r\nexport const MOBILE_MENU_ZINDEX = MENU_ZINDEX - 1;\r\n\r\nexport const FEED_POPUP_HEADER_ZINDEX = MENU_ZINDEX - 1;\r\nexport const FEED_POPUP_ZINDEX = FEED_POPUP_HEADER_ZINDEX - 1;\r\n\r\nexport const MENU_TOP_BAR_ZINDEX = FEED_POPUP_ZINDEX - 1;\r\n\r\n/** Appends 'px'.\r\n *\r\n * In React Inline styles, you do not need this as it's already automatic as per React docs.\r\n *\r\n * In styled-components, you can append it directly in the template string.\r\n */\r\nexport const px = (amount: number) => `${amount}px`;\r\n","import { createMuiTheme } from '@material-ui/core';\r\nimport { TypographyStyle } from '@material-ui/core/styles/createTypography';\r\n\r\nimport { Color } from '@style/Color';\r\n\r\nexport enum Breakpoint {\r\n xs = 'xs',\r\n sm = 'sm',\r\n md = 'md',\r\n lg = 'lg',\r\n xl = 'xl',\r\n}\r\n\r\nexport enum ThemeColor {\r\n Default = 'default',\r\n Inherit = 'inherit',\r\n Primary = 'primary',\r\n Secondary = 'secondary',\r\n}\r\n\r\nexport enum MuiButtonVariant {\r\n Text = 'text',\r\n Flat = 'flat',\r\n Outlined = 'outlined',\r\n Contained = 'contained',\r\n Raised = 'raised',\r\n Fab = 'fab',\r\n}\r\n\r\ninterface ButtonPalette {\r\n normalBackground: string;\r\n hoverBackground: string;\r\n pressedBackground: string;\r\n text: string;\r\n pressedText?: string;\r\n border?: string;\r\n borderHover?: string;\r\n borderPressed?: string;\r\n}\r\n\r\ninterface TextFieldPalette {\r\n normalBackground: string;\r\n lightBackground: string;\r\n hoverBackground: string;\r\n disabledBackground: string;\r\n normalText: string;\r\n normalLabel: string;\r\n error: string;\r\n}\r\n\r\ninterface MultiSelectPalette {\r\n borderColor: string;\r\n labelColor: string;\r\n}\r\n\r\ninterface SelectPalette {\r\n borderColor: string;\r\n backgroundColor: string;\r\n hoverColor: string;\r\n}\r\n\r\ninterface TextInputPalette {\r\n borderColor: string;\r\n backgroundColor: string;\r\n}\r\n\r\ninterface MapPalette {\r\n circle: string;\r\n line: string;\r\n}\r\n\r\ninterface StatusBar {\r\n background: string;\r\n}\r\n\r\nconst PRIMARY_FONT = \"'Overpass', sans-serif\";\r\nconst SECONDARY_FONT = \"'Overpass', sans-serif\";\r\n\r\ninterface ThemeText {\r\n header1Tab: TypographyStyle & { unselectedColor: string };\r\n header1ProfileTab: TypographyStyle;\r\n header2Title: TypographyStyle;\r\n header2Button: TypographyStyle;\r\n dropBoxTitle: TypographyStyle;\r\n header3: TypographyStyle;\r\n redHeader3: TypographyStyle;\r\n default: TypographyStyle;\r\n disabled: TypographyStyle;\r\n defaultLight: TypographyStyle;\r\n link: TypographyStyle;\r\n smallLink: TypographyStyle;\r\n primaryButton: TypographyStyle;\r\n alert: TypographyStyle;\r\n alertLarge: TypographyStyle;\r\n footerLink: TypographyStyle;\r\n footerText: TypographyStyle;\r\n bigLink: TypographyStyle;\r\n bigLinkBold: TypographyStyle;\r\n hamburgerHeader: TypographyStyle;\r\n submenu: TypographyStyle;\r\n version: TypographyStyle;\r\n compactVersion: TypographyStyle;\r\n hamburgerTab: TypographyStyle;\r\n infoFieldLabel: TypographyStyle;\r\n infoFieldValue: TypographyStyle;\r\n inputFieldLabel: TypographyStyle & { disabled: string; hover: string };\r\n inputFieldValue: TypographyStyle & { disabled: string };\r\n inputFieldShow: TypographyStyle;\r\n note: TypographyStyle;\r\n infoTableHeader: TypographyStyle;\r\n disclaimer: TypographyStyle;\r\n contactDisclaimer: TypographyStyle;\r\n menuSeparator: TypographyStyle;\r\n largerMenuSeparator: TypographyStyle;\r\n hamburgerMenuSeparator: TypographyStyle;\r\n tableRow: TypographyStyle;\r\n tableHeader: TypographyStyle;\r\n tableSubContent: TypographyStyle;\r\n tableTitle: TypographyStyle;\r\n tableSeparator: TypographyStyle;\r\n midResult: TypographyStyle & { disabled: string };\r\n bigResult: TypographyStyle;\r\n biggerResult: TypographyStyle;\r\n heavyText: TypographyStyle;\r\n lightText: TypographyStyle;\r\n dashboardHeader: TypographyStyle;\r\n dashboardHeaderSmall: TypographyStyle;\r\n dashboardItemLabel: TypographyStyle;\r\n dashboardItemLabelSmall: TypographyStyle;\r\n dashboardPostedLoadCount: TypographyStyle;\r\n dashboardPostedLoadCountSmall: TypographyStyle;\r\n error: TypographyStyle;\r\n errorSmall: TypographyStyle;\r\n nakedPageTitle: TypographyStyle;\r\n nakedPageMessage: TypographyStyle;\r\n detailContent: TypographyStyle;\r\n detailContentLink: TypographyStyle;\r\n textContentDetail: TypographyStyle;\r\n textContentDetailGreen: TypographyStyle;\r\n h1: TypographyStyle;\r\n h2: TypographyStyle;\r\n title: TypographyStyle;\r\n subtitleRegular: TypographyStyle;\r\n subtitleBold: TypographyStyle;\r\n subtitle2Regular: TypographyStyle;\r\n subtitleNormalWeight: TypographyStyle;\r\n subtitle2Bold: TypographyStyle;\r\n body: TypographyStyle;\r\n bodyLarge: TypographyStyle;\r\n body3: TypographyStyle;\r\n body2: TypographyStyle;\r\n caption: TypographyStyle;\r\n tableHeaderGreen: TypographyStyle;\r\n tableHeaderRed: TypographyStyle;\r\n loadDetailsCompanyName: TypographyStyle;\r\n verifyEmailHeader: TypographyStyle;\r\n verifyEmailHeaderSmall: TypographyStyle;\r\n verifyEmailSubheader: TypographyStyle;\r\n}\r\n\r\ndeclare module '@material-ui/core/styles/createMuiTheme' {\r\n interface Theme {\r\n text: ThemeText;\r\n }\r\n\r\n interface ThemeOptions {\r\n text?: Partial;\r\n }\r\n}\r\n\r\ndeclare module '@material-ui/core/styles/createPalette' {\r\n interface Palette {\r\n header: {};\r\n footer: PaletteColor;\r\n htmlEmbedTable: PaletteColor;\r\n dropBox: PaletteColor;\r\n disabled: PaletteColor;\r\n icon: PaletteColor;\r\n smallBox: PaletteColor;\r\n smallBoxDark: PaletteColor;\r\n topRibbon: PaletteColor;\r\n tableCell: PaletteColor;\r\n\r\n primaryButton: ButtonPalette;\r\n secondaryButton: ButtonPalette;\r\n primaryHeaderButton: ButtonPalette;\r\n secondaryHeaderButton: ButtonPalette;\r\n unlockButton: ButtonPalette;\r\n\r\n multiSelect: MultiSelectPalette;\r\n\r\n select: SelectPalette;\r\n\r\n textInput: TextInputPalette;\r\n\r\n chipButton: ButtonPalette;\r\n\r\n textField: TextFieldPalette;\r\n\r\n map: MapPalette;\r\n\r\n secondaryTab: PaletteColor;\r\n\r\n dropdownMenu: PaletteColor;\r\n\r\n statusBar: StatusBar;\r\n\r\n decorator: {\r\n border: string;\r\n border2: string;\r\n shadow: string;\r\n };\r\n\r\n status: {\r\n selected: string;\r\n unselected: string;\r\n alert: string;\r\n confirmation: string;\r\n };\r\n inputField: {\r\n background: string;\r\n hover: string;\r\n disabledBackground: string;\r\n disabledUnderline: string;\r\n };\r\n }\r\n\r\n interface PaletteOptions {\r\n footer?: SimplePaletteColorOptions;\r\n htmlEmbedTable?: SimplePaletteColorOptions;\r\n dropBox?: SimplePaletteColorOptions;\r\n disabled?: SimplePaletteColorOptions;\r\n icon?: SimplePaletteColorOptions;\r\n smallBox?: SimplePaletteColorOptions;\r\n smallBoxDark?: SimplePaletteColorOptions;\r\n topRibbon?: SimplePaletteColorOptions;\r\n tableCell?: SimplePaletteColorOptions;\r\n\r\n primaryButton?: ButtonPalette;\r\n secondaryButton?: ButtonPalette;\r\n primaryHeaderButton?: ButtonPalette;\r\n secondaryHeaderButton?: ButtonPalette;\r\n unlockButton?: ButtonPalette;\r\n\r\n multiSelect?: MultiSelectPalette;\r\n\r\n select?: SelectPalette;\r\n\r\n textInput?: TextInputPalette;\r\n\r\n chipButton?: ButtonPalette;\r\n\r\n textField?: TextFieldPalette;\r\n\r\n map?: MapPalette;\r\n\r\n secondaryTab?: SimplePaletteColorOptions;\r\n\r\n dropdownMenu?: SimplePaletteColorOptions;\r\n\r\n statusBar?: StatusBar;\r\n\r\n decorator?: {\r\n border: string;\r\n border2: string;\r\n shadow: string;\r\n };\r\n\r\n status?: {\r\n selected: string;\r\n unselected: string;\r\n alert: string;\r\n confirmation: string;\r\n };\r\n inputField?: {\r\n background: string;\r\n hover: string;\r\n disabledBackground: string;\r\n disabledUnderline: string;\r\n };\r\n }\r\n\r\n interface TypeBackground {\r\n dark: string;\r\n pale: string;\r\n paler: string;\r\n dim: string;\r\n accent: string;\r\n strong: string;\r\n smoke: string;\r\n stone: string;\r\n white: string;\r\n grayLight: string;\r\n black: string;\r\n orangeSmoke: string;\r\n }\r\n}\r\n\r\nexport const THEME = createMuiTheme({\r\n typography: {\r\n useNextVariants: true,\r\n fontFamily: ['Overpass', 'sans-serif'].join(','),\r\n },\r\n palette: {\r\n primary: {\r\n main: Color.GREEN_MAIN,\r\n light: Color.GREEN_LIGHT,\r\n contrastText: Color.WHITE,\r\n },\r\n secondary: {\r\n main: Color.ORANGE_MAIN,\r\n dark: Color.ORANGE_DARK,\r\n light: Color.ORANGE_LIGHT,\r\n contrastText: Color.WHITE,\r\n },\r\n footer: {\r\n main: Color.GRAY_12,\r\n contrastText: Color.WHITE,\r\n },\r\n background: {\r\n paper: Color.WHITE,\r\n default: Color.GRAY_1,\r\n pale: Color.GRAY_2,\r\n paler: Color.GRAY_13,\r\n dim: Color.ORANGE_LIGHT,\r\n accent: Color.ORANGE_MAIN,\r\n dark: Color.GRAY_DARK,\r\n strong: Color.GRAY_17,\r\n stone: Color.GRAY_STONE,\r\n grayLight: Color.GRAY_LIGHT,\r\n smoke: Color.GRAY_SMOKE,\r\n white: Color.WHITE,\r\n black: Color.BLACK,\r\n orangeSmoke: Color.ORANGE_SMOKE,\r\n },\r\n decorator: {\r\n border: Color.GRAY_15,\r\n border2: Color.GRAY_SMOKE,\r\n shadow: Color.GRAY_16,\r\n },\r\n statusBar: {\r\n background: Color.GREEN_LIGHT,\r\n },\r\n status: {\r\n selected: Color.WHITE,\r\n unselected: Color.GREEN_LIGHT,\r\n alert: Color.RED_2,\r\n confirmation: Color.GREEN_MAIN,\r\n },\r\n inputField: {\r\n background: Color.GRAY_9,\r\n hover: Color.GRAY_10,\r\n disabledBackground: Color.GRAY_1,\r\n disabledUnderline: Color.GRAY_3,\r\n },\r\n text: {\r\n primary: Color.GRAY_DARK,\r\n secondary: Color.GRAY_STONE,\r\n },\r\n disabled: {\r\n main: Color.GRAY_DISABLED,\r\n light: Color.WHITE,\r\n dark: Color.GRAY_STONE,\r\n },\r\n icon: {\r\n main: Color.ORANGE_MAIN,\r\n dark: Color.GRAY_11,\r\n light: Color.GRAY_10,\r\n },\r\n primaryButton: {\r\n normalBackground: Color.ORANGE_MAIN,\r\n hoverBackground: Color.ORANGE_DARK,\r\n pressedBackground: Color.ORANGE_MAIN,\r\n text: Color.WHITE,\r\n },\r\n secondaryButton: {\r\n normalBackground: Color.TRANSPARENT_0,\r\n hoverBackground: Color.TRANSPARENT_10,\r\n pressedBackground: Color.TRANSPARENT_30,\r\n text: Color.GRAY_6,\r\n border: Color.GRAY_3,\r\n borderHover: Color.GRAY_3,\r\n borderPressed: Color.GRAY_4,\r\n },\r\n primaryHeaderButton: {\r\n normalBackground: Color.GREEN_MAIN,\r\n hoverBackground: Color.GREEN_DARK,\r\n pressedBackground: Color.GREEN_MAIN,\r\n text: Color.WHITE,\r\n },\r\n secondaryHeaderButton: {\r\n normalBackground: Color.WHITE,\r\n hoverBackground: Color.GREEN_LIGHT,\r\n pressedBackground: Color.GREEN_LIGHT,\r\n text: Color.GREEN_MAIN,\r\n border: Color.GREEN_MAIN,\r\n borderHover: Color.GREEN_DARK,\r\n borderPressed: Color.GREEN_MAIN,\r\n },\r\n unlockButton: {\r\n normalBackground: 'transparent',\r\n hoverBackground: 'transparent',\r\n pressedBackground: Color.ORANGE_MAIN,\r\n text: Color.ORANGE_MAIN,\r\n border: Color.ORANGE_MAIN,\r\n borderHover: Color.ORANGE_DARK,\r\n borderPressed: Color.ORANGE_MAIN,\r\n },\r\n chipButton: {\r\n normalBackground: Color.WHITE,\r\n hoverBackground: Color.GRAY_7,\r\n pressedBackground: Color.GRAY_10,\r\n text: Color.GRAY_4,\r\n pressedText: Color.GRAY_6,\r\n border: Color.GRAY_8,\r\n },\r\n textField: {\r\n normalBackground: Color.GRAY_9,\r\n hoverBackground: Color.GRAY_10,\r\n lightBackground: Color.WHITE,\r\n disabledBackground: Color.GRAY_1,\r\n normalText: Color.GRAY_6,\r\n normalLabel: Color.GRAY_3,\r\n error: Color.RED_1,\r\n },\r\n textInput: {\r\n borderColor: Color.GRAY_SMOKE,\r\n backgroundColor: Color.WHITE,\r\n },\r\n map: {\r\n circle: Color.GRAY_3,\r\n line: Color.BLUE_PURE,\r\n },\r\n multiSelect: {\r\n borderColor: Color.GRAY_SMOKE,\r\n labelColor: Color.GRAY_STONE,\r\n },\r\n select: {\r\n borderColor: Color.GRAY_SMOKE,\r\n backgroundColor: Color.WHITE,\r\n hoverColor: Color.GREEN_LIGHT,\r\n },\r\n smallBox: {\r\n main: Color.GRAY_11,\r\n },\r\n smallBoxDark: {\r\n main: Color.GRAY_7,\r\n dark: Color.GRAY_4,\r\n },\r\n htmlEmbedTable: {\r\n main: Color.BEIGE_1,\r\n light: Color.WHITE,\r\n },\r\n dropBox: {\r\n main: Color.ORANGE_LIGHT,\r\n dark: Color.ORANGE_MAIN,\r\n },\r\n topRibbon: {\r\n main: Color.YELLOW_1,\r\n contrastText: Color.GRAY_6,\r\n },\r\n secondaryTab: {\r\n main: Color.GRAY_4,\r\n contrastText: Color.WHITE,\r\n light: Color.GRAY_3,\r\n },\r\n dropdownMenu: {\r\n main: Color.WHITE,\r\n contrastText: Color.GRAY_6,\r\n dark: Color.GRAY_10,\r\n },\r\n tableCell: {\r\n main: Color.WHITE,\r\n dark: Color.ORANGE_LIGHT,\r\n light: Color.GRAY_9,\r\n },\r\n },\r\n text: {\r\n header1Tab: {\r\n fontSize: '14px',\r\n fontWeight: 'bold',\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '19px',\r\n color: Color.WHITE,\r\n unselectedColor: Color.GREEN_LIGHT,\r\n },\r\n header1ProfileTab: {\r\n fontSize: '14px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '19px',\r\n letterSpacing: '1.1px',\r\n color: Color.WHITE,\r\n },\r\n header2Title: {\r\n fontSize: '21px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '28px',\r\n color: Color.GREEN_MAIN,\r\n },\r\n header2Button: {\r\n fontSize: '14px',\r\n fontWeight: 500,\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '19px',\r\n textTransform: 'uppercase',\r\n color: Color.GREEN_MAIN,\r\n },\r\n dropBoxTitle: {\r\n fontSize: '18px',\r\n fontWeight: 500,\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '19px',\r\n textTransform: 'uppercase',\r\n color: Color.ORANGE_MAIN,\r\n },\r\n header3: {\r\n fontSize: '16px',\r\n fontWeight: 'bold',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n color: Color.GRAY_6,\r\n },\r\n redHeader3: {\r\n fontSize: '16px',\r\n fontWeight: 'bold',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n color: Color.RED_3,\r\n },\r\n default: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '19px',\r\n color: Color.GRAY_6,\r\n },\r\n disabled: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '19px',\r\n color: Color.GRAY_STONE,\r\n },\r\n defaultLight: {\r\n fontSize: '14px',\r\n fontWeight: 300,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '19px',\r\n color: Color.GRAY_6,\r\n },\r\n link: {\r\n fontSize: '14px',\r\n fontWeight: 'bold',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '19px',\r\n color: Color.ORANGE_MAIN,\r\n },\r\n bigLink: {\r\n fontSize: '16px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n color: Color.ORANGE_MAIN,\r\n },\r\n bigLinkBold: {\r\n fontSize: '16px',\r\n fontWeight: 700,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n color: Color.ORANGE_MAIN,\r\n },\r\n primaryButton: {\r\n fontSize: '14px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n textTransform: 'uppercase',\r\n color: Color.WHITE,\r\n },\r\n alert: {\r\n fontSize: '10px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '11px',\r\n color: Color.WHITE,\r\n },\r\n alertLarge: {\r\n fontSize: '12px',\r\n fontWeight: 500,\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '17px',\r\n color: Color.WHITE,\r\n },\r\n footerLink: {\r\n fontSize: '12px',\r\n fontWeight: 'normal',\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '17px',\r\n color: Color.WHITE,\r\n },\r\n footerText: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '18px',\r\n color: Color.GRAY_4,\r\n },\r\n hamburgerHeader: {\r\n fontSize: '16px',\r\n fontWeight: 600,\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '22px',\r\n color: Color.GRAY_6,\r\n },\r\n submenu: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '19px',\r\n color: Color.GRAY_6,\r\n },\r\n version: {\r\n fontSize: '12px',\r\n fontWeight: 'normal',\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '17px',\r\n color: Color.GRAY_3,\r\n },\r\n compactVersion: {\r\n fontSize: '10px',\r\n fontWeight: 'normal',\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '17px',\r\n color: Color.GRAY_3,\r\n },\r\n hamburgerTab: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n fontFamily: SECONDARY_FONT,\r\n lineHeight: '19px',\r\n color: Color.GRAY_6,\r\n },\r\n infoFieldLabel: {\r\n fontSize: '10px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '13px',\r\n color: Color.GRAY_6,\r\n },\r\n infoFieldValue: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '19px',\r\n color: Color.GRAY_6,\r\n },\r\n inputFieldLabel: {\r\n fontSize: '16px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_3,\r\n disabled: Color.GRAY_10,\r\n hover: Color.GRAY_6,\r\n },\r\n inputFieldValue: {\r\n fontSize: '16px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_6,\r\n disabled: Color.GRAY_3,\r\n },\r\n inputFieldShow: {\r\n fontSize: '10px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n textTransform: 'uppercase',\r\n color: Color.GRAY_6,\r\n },\r\n note: {\r\n fontSize: '12px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '16px',\r\n color: Color.GRAY_6,\r\n },\r\n tableRow: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '19px',\r\n color: Color.GRAY_6,\r\n },\r\n tableHeader: {\r\n fontSize: '12px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '16px',\r\n color: Color.GRAY_11,\r\n },\r\n tableSubContent: {\r\n fontSize: '16px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n color: Color.GRAY_11,\r\n },\r\n tableTitle: {\r\n fontSize: '16px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n color: Color.GRAY_4,\r\n },\r\n tableSeparator: {\r\n fontSize: '16px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n color: Color.GRAY_3,\r\n textTransform: 'uppercase',\r\n },\r\n midResult: {\r\n fontSize: '16px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n color: Color.GRAY_6,\r\n disabled: Color.GRAY_10,\r\n },\r\n bigResult: {\r\n fontSize: '18px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n color: Color.GRAY_6,\r\n },\r\n biggerResult: {\r\n fontSize: '21px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '28px',\r\n color: Color.GRAY_6,\r\n },\r\n heavyText: {\r\n fontSize: '16px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '24px',\r\n color: Color.GRAY_6,\r\n },\r\n lightText: {\r\n fontSize: '12px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '16px',\r\n color: Color.GRAY_6,\r\n },\r\n disclaimer: {\r\n fontSize: '10px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '13px',\r\n color: Color.GRAY_6,\r\n },\r\n contactDisclaimer: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '13px',\r\n color: Color.GRAY_8,\r\n },\r\n infoTableHeader: {\r\n fontSize: '12px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '16px',\r\n color: Color.GRAY_5,\r\n },\r\n menuSeparator: {\r\n fontSize: '10px',\r\n fontWeight: 600,\r\n fontFamily: SECONDARY_FONT,\r\n color: Color.GREEN_MAIN,\r\n textTransform: 'uppercase',\r\n },\r\n hamburgerMenuSeparator: {\r\n fontSize: '11px',\r\n fontWeight: 600,\r\n fontFamily: SECONDARY_FONT,\r\n color: Color.GREEN_MAIN,\r\n textTransform: 'uppercase',\r\n },\r\n largerMenuSeparator: {\r\n fontSize: '12px',\r\n fontWeight: 500,\r\n fontFamily: SECONDARY_FONT,\r\n color: Color.GREEN_MAIN,\r\n textTransform: 'uppercase',\r\n },\r\n dashboardHeader: {\r\n fontSize: '24px',\r\n fontWeight: 300,\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GREEN_MAIN,\r\n lineHeight: '32px',\r\n },\r\n dashboardHeaderSmall: {\r\n fontSize: '18px',\r\n fontWeight: 300,\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GREEN_MAIN,\r\n lineHeight: '24px',\r\n },\r\n dashboardItemLabel: {\r\n fontSize: '18px',\r\n fontWeight: 300,\r\n fontFamily: SECONDARY_FONT,\r\n color: Color.GRAY_6,\r\n lineHeight: '24px',\r\n textTransform: 'none',\r\n },\r\n dashboardItemLabelSmall: {\r\n fontSize: '16px',\r\n fontWeight: 300,\r\n fontFamily: SECONDARY_FONT,\r\n color: Color.GRAY_6,\r\n lineHeight: '22px',\r\n textTransform: 'none',\r\n },\r\n dashboardPostedLoadCount: {\r\n fontSize: '70px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.ORANGE_MAIN,\r\n textTransform: 'none',\r\n },\r\n dashboardPostedLoadCountSmall: {\r\n fontSize: '55px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.ORANGE_MAIN,\r\n textTransform: 'none',\r\n },\r\n error: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.RED_1,\r\n lineHeight: '19px',\r\n },\r\n errorSmall: {\r\n fontSize: '12px',\r\n lineHeight: '16px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.RED_1,\r\n },\r\n nakedPageTitle: {\r\n fontSize: '21px',\r\n lineHeight: '28px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_4,\r\n },\r\n nakedPageMessage: {\r\n fontSize: '16px',\r\n lineHeight: '21px',\r\n fontWeight: 300,\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_4,\r\n },\r\n detailContent: {\r\n fontSize: '12px',\r\n color: Color.GRAY_STONE,\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '16px',\r\n },\r\n detailContentLink: {\r\n fontSize: '12px',\r\n color: Color.ORANGE_MAIN,\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '16px',\r\n },\r\n textContentDetail: {\r\n fontSize: '16px',\r\n color: Color.GRAY_DARK,\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '21px',\r\n },\r\n h1: {\r\n fontSize: '36px',\r\n fontWeight: 400,\r\n lineHeight: '40pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n h2: {\r\n fontSize: '24px',\r\n fontWeight: 700,\r\n lineHeight: '32pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n title: {\r\n fontSize: '20px',\r\n fontWeight: 700,\r\n lineHeight: '24px',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n subtitleRegular: {\r\n fontSize: '16px',\r\n fontWeight: 500,\r\n lineHeight: '24pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n subtitleBold: {\r\n fontSize: '16px',\r\n fontWeight: 700,\r\n lineHeight: '24pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n subtitle2Regular: {\r\n fontSize: '14px',\r\n fontWeight: 500,\r\n lineHeight: '21pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n subtitleNormalWeight: {\r\n fontSize: '14px',\r\n fontWeight: 'normal',\r\n lineHeight: '18pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n subtitle2Bold: {\r\n fontSize: '14px',\r\n fontWeight: 700,\r\n lineHeight: '21pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n bodyLarge: {\r\n fontSize: '16px',\r\n fontWeight: 500,\r\n lineHeight: '18pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n body: {\r\n fontSize: '12px',\r\n fontWeight: 500,\r\n lineHeight: '18pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n body2: {\r\n fontSize: '12px',\r\n fontWeight: 500,\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n body3: {\r\n fontSize: '11px',\r\n fontWeight: 700,\r\n lineHeight: '16.5pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n caption: {\r\n fontSize: '9px',\r\n fontWeight: 500,\r\n lineHeight: '13.5pt',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n },\r\n tableHeaderGreen: {\r\n fontSize: '12px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '16px',\r\n color: Color.GREEN_MAIN,\r\n },\r\n tableHeaderRed: {\r\n fontSize: '12px',\r\n fontWeight: 'normal',\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '16px',\r\n color: Color.RED_1,\r\n },\r\n loadDetailsCompanyName: {\r\n fontSize: '20px',\r\n fontWeight: 600,\r\n fontFamily: PRIMARY_FONT,\r\n lineHeight: '30px',\r\n color: Color.GRAY_DARK,\r\n },\r\n verifyEmailHeader: {\r\n fontSize: '44px',\r\n fontWeight: 'bold',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n lineHeight: '54px',\r\n },\r\n verifyEmailHeaderSmall: {\r\n fontSize: '32px',\r\n fontWeight: 'bold',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n lineHeight: '38px',\r\n },\r\n verifyEmailSubheader: {\r\n fontSize: '20px',\r\n fontWeight: 'bold',\r\n fontFamily: PRIMARY_FONT,\r\n color: Color.GRAY_DARK,\r\n lineHeight: '30px',\r\n },\r\n },\r\n});\r\n\r\nexport default THEME;\r\n","import { TypographyStyle } from '@material-ui/core/styles/createTypography';\r\n\r\nexport const typography = (ts: TypographyStyle) => `\r\n font-size: ${ts.fontSize};\r\n font-weight: ${ts.fontWeight};\r\n font-family: ${ts.fontFamily};\r\n color: ${ts.color};\r\n ${ts.lineHeight ? `line-height: ${ts.lineHeight}` : ''};\r\n ${ts.letterSpacing ? `letter-spacing: ${ts.letterSpacing}` : ''};\r\n ${ts.textTransform ? `text-transform: ${ts.textTransform}` : ''};\r\n`;\r\n","import React from 'react';\r\n\r\nimport { Omit, withTheme as withThemeOri, WithTheme } from '@material-ui/core';\r\n\r\nexport type ThemeProps = WithTheme;\r\n\r\n// super hack to change the type of withTheme. TODO: fix this! [BP]\r\nexport const withTheme: () => (component: React.ComponentType) => React.ComponentClass> =\r\n withThemeOri as any;\r\n","import { join, map, split } from 'lodash';\r\n\r\nimport { Equipment, EquipmentSpecification, EquipmentType } from '@common/model/Equipment';\r\nimport { SimplifiedEquipment } from '@common/model/SimplifiedEquipment';\r\nimport { t } from '@translate';\r\n\r\nconst EQUIPMENT_TYPE_TRANSLATION_PREFIX = 'common.load.equipmentType.';\r\nconst EQUIPMENT_SPECIFICATION_TRANSLATION_PREFIX = 'common.load.equipmentSpecification.';\r\n\r\nexport const tEquipments = (equipments: Equipment[]) => {\r\n const translatedEquipments: SimplifiedEquipment[] = map(equipments, (equipment: Equipment) => {\r\n return {\r\n equipmentType: tEquipment(equipment.equipmentType),\r\n equipmentSpecifications: tEquipmentSpecifications(equipment.equipmentSpecifications as string),\r\n };\r\n });\r\n return translatedEquipments;\r\n};\r\n\r\nexport const tEquipment = (equipmentKey: EquipmentType | EquipmentSpecification) => {\r\n if (equipmentKey === 'None') {\r\n return '';\r\n }\r\n if (equipmentKey in EquipmentType) {\r\n return t(EQUIPMENT_TYPE_TRANSLATION_PREFIX + equipmentKey);\r\n } else if (equipmentKey in EquipmentSpecification) {\r\n return t(EQUIPMENT_SPECIFICATION_TRANSLATION_PREFIX + equipmentKey);\r\n }\r\n return '';\r\n};\r\n\r\nexport const tEquipmentSpecifications = (specifications: string) => {\r\n return join(\r\n map(split(specifications, ', '), (specification: EquipmentSpecification) => tEquipment(specification)),\r\n ', '\r\n );\r\n};\r\n","export enum T {\n /** \"OK\" */ common_ok = 'common.ok',\n /** \"Cancel\" */ common_cancel = 'common.cancel',\n /** \"Yes\" */ common_yes = 'common.yes',\n /** \"No\" */ common_no = 'common.no',\n /** \"Remove\" */ common_remove = 'common.remove',\n /** \".\" */ common_period = 'common.period',\n /** \":\" */ common_colon = 'common.colon',\n /** \"•\" */ common_bulletPoint = 'common.bulletPoint',\n /** \"=\" */ common_equals = 'common.equals',\n /** \"-\" */ common_hyphon = 'common.hyphon',\n /** \"ft\" */ common_feet = 'common.feet',\n /** \"lb\" */ common_lb = 'common.lb',\n /** \"lbs\" */ common_lbs = 'common.lbs',\n /** \"miles\" */ common_miles = 'common.miles',\n /** \"mi\" */ common_miles_short = 'common.miles_short',\n /** \"/mi\" */ common_per_miles_short = 'common.per_miles_short',\n /** \"$\" */ common_dollar_sign = 'common.dollar_sign',\n /** \"ext.\" */ common_phone_ext = 'common.phone_ext',\n /** \"Error\" */ common_error = 'common.error',\n /** \"Active\" */ common_active = 'common.active',\n /** \"Warning\" */ common_warning = 'common.warning',\n /** \"N/A\" */ common_notApplicable = 'common.notApplicable',\n /** \"unknown\" */ common_unknown = 'common.unknown',\n /** \"enabled\" */ common_enabled = 'common.enabled',\n /** \"disabled\" */ common_disabled = 'common.disabled',\n /** \"All\" */ common_all = 'common.all',\n /** \"Any\" */ common_any = 'common.any',\n /** \"Or\" */ common_or = 'common.or',\n /** \"at\" */ common_at = 'common.at',\n /** \"Change\" */ common_change = 'common.change',\n /** \"Select\" */ common_select = 'common.select',\n /** \"Create\" */ common_create = 'common.create',\n /** \"Add\" */ common_add = 'common.add',\n /** \"Submit\" */ common_submit = 'common.submit',\n /** \"Resubmit\" */ common_reSubmit = 'common.reSubmit',\n /** \"Enter\" */ common_enter = 'common.enter',\n /** \"Get started\" */ common_getStarted = 'common.getStarted',\n /** \"Update\" */ common_update = 'common.update',\n /** \"Deactivate\" */ common_deactivate = 'common.deactivate',\n /** \"Try again\" */ common_tryAgain = 'common.tryAgain',\n /** \"Email\" */ common_email = 'common.email',\n /** \"Email sent\" */ common_emailSent = 'common.emailSent',\n /** \"Phone\" */ common_phone = 'common.phone',\n /** \"loading\" */ common_loading = 'common.loading',\n /** \"no data\" */ common_noData = 'common.noData',\n /** \"New\" */ common_new = 'common.new',\n /** \"Success\" */ common_success = 'common.success',\n /** \"Continue\" */ common_continue = 'common.continue',\n /** \"Anywhere\" */ common_anywhere = 'common.anywhere',\n /** \"Filter\" */ common_filter = 'common.filter',\n /** \"First name\" */ common_firstName = 'common.firstName',\n /** \"Last name\" */ common_lastName = 'common.lastName',\n /** \"Full name\" */ common_fullName = 'common.fullName',\n /** \"Verify\" */ common_verify = 'common.verify',\n /** \"Verified\" */ common_verified = 'common.verified',\n /** \"Not verified\" */ common_notVerified = 'common.notVerified',\n /** \"Password\" */ common_password = 'common.password',\n /** \"Save\" */ common_save = 'common.save',\n /** \"Address\" */ common_address = 'common.address',\n /** \"Address 2\" */ common_address2 = 'common.address2',\n /** \"City\" */ common_city = 'common.city',\n /** \"State/Province\" */ common_stateProvince = 'common.stateProvince',\n /** \"Zip/Postal code\" */ common_zip_postal_code = 'common.zip_postal_code',\n /** \"Country\" */ common_country = 'common.country',\n /** \"Dispatcher\" */ common_dispatcher = 'common.dispatcher',\n /** \"Apply\" */ common_apply = 'common.apply',\n /** \"Clear\" */ common_clear = 'common.clear',\n /** \"Clear all\" */ common_clearAll = 'common.clearAll',\n /** \"Top\" */ common_top = 'common.top',\n /** \"Set alert\" */ common_setAlert = 'common.setAlert',\n /** \"Remove alert\" */ common_removeAlert = 'common.removeAlert',\n /** \"Alert: On\" */ common_alertOn = 'common.alertOn',\n /** \"Alert: Off\" */ common_alertOff = 'common.alertOff',\n /** \"Off\" */ common_Off = 'common.Off',\n /** \"On\" */ common_On = 'common.On',\n /** \"More filters\" */ common_moreFilters = 'common.moreFilters',\n /** \"Documents\" */ common_documents = 'common.documents',\n /** \"Manage\" */ common_manage = 'common.manage',\n /** \"Attached\" */ common_attached = 'common.attached',\n /** \"Parameters\" */ common_parameters = 'common.parameters',\n /** \"With: {{value}}\" */ common_withDimensions = 'common.withDimensions',\n /** \"Loads with\" */ common_loadsWith = 'common.loadsWith',\n /** \"Remove all\" */ common_removeAll = 'common.removeAll',\n /** \"+\" */ common_plusSign = 'common.plusSign',\n /** \"=\" */ common_equalitySign = 'common.equalitySign',\n /** \"Edit\" */ common_edit = 'common.edit',\n /** \"Delete\" */ common_delete = 'common.delete',\n /** \"Hide\" */ common_hide = 'common.hide',\n /** \"Upload\" */ common_upload = 'common.upload',\n /** \"MC#\" */ common_mc = 'common.mc',\n /** \"USDOT#\" */ common_usDot = 'common.usDot',\n /** \"N/A\" */ common_na = 'common.na',\n /** \"Next\" */ common_next = 'common.next',\n /** \"Done\" */ common_done = 'common.done',\n /** \"Feedback\" */ common_feedback = 'common.feedback',\n /** \"day\" */ common_day = 'common.day',\n /** \"Cost-per-day\" */ common_costPerDay_title = 'common.costPerDay.title',\n /** \"CPD\" */ common_costPerDay_abbreviation = 'common.costPerDay.abbreviation',\n /** \"Activating Cost-per-day calculator will let you know quickly whether or not a load is a good value to you.\" */ common_costPerDay_description = 'common.costPerDay.description',\n /** \"Cost-per-day calculator\" */ common_costPerDay_calculatorText = 'common.costPerDay.calculatorText',\n /** \"Cost-per-day calculator\" */ common_costPerDay_bannerTitle = 'common.costPerDay.bannerTitle',\n /** \"The value of a load isn't just about how many miles you drive, it's also about making sure all of your costs are covered (ie. truck costs, business costs, home costs, etc.)\" */ common_costPerDay_bannerContent = 'common.costPerDay.bannerContent',\n /** \"Your cost-per-day is the sum of your truck and home expenses divided by the number of days you would like to work.\" */ common_costPerDay_cardContentFirst = 'common.costPerDay.cardContentFirst',\n /** \"In order to be profitable, each working day you will need to make more than:\" */ common_costPerDay_cardContentSecond = 'common.costPerDay.cardContentSecond',\n /** \"above cost per day\" */ common_costPerDay_cpdAbove = 'common.costPerDay.cpdAbove',\n /** \"below cost per day\" */ common_costPerDay_cpdBelow = 'common.costPerDay.cpdBelow',\n /** \"{{current}} of {{max}}\" */ common_costPerDay_edit_of = 'common.costPerDay.edit.of',\n /** \"Next\" */ common_costPerDay_edit_next = 'common.costPerDay.edit.next',\n /** \"Summarize your monthly truck expenses and make sure to include items such as your truck and trailer payments, insurance, maintenance costs, etc.\" */ common_costPerDay_edit_truckExpenses_description = 'common.costPerDay.edit.truckExpenses.description',\n /** \"Summarize your\" */ common_costPerDay_edit_truckExpenses_descriptionStart = 'common.costPerDay.edit.truckExpenses.descriptionStart',\n /** \"monthly truck expenses\" */ common_costPerDay_edit_truckExpenses_descriptionBold = 'common.costPerDay.edit.truckExpenses.descriptionBold',\n /** \"and make sure to include items such as your truck and trailer payments, insurance, maintenance costs, etc.\" */ common_costPerDay_edit_truckExpenses_descriptionEnd = 'common.costPerDay.edit.truckExpenses.descriptionEnd',\n /** \"* Fuel cost should not be included as it will be calculated on a load-by-load basis.\" */ common_costPerDay_edit_truckExpenses_disclaimer = 'common.costPerDay.edit.truckExpenses.disclaimer',\n /** \"Truck image\" */ common_costPerDay_edit_truckExpenses_imageAlt = 'common.costPerDay.edit.truckExpenses.imageAlt',\n /** \"Truck expenses\" */ common_costPerDay_edit_truckExpenses_input_label = 'common.costPerDay.edit.truckExpenses.input.label',\n /** \"Summarize your monthly home expenses and make sure to include items such as your mortgage or rent, utility costs, car payments, insurance premiums, food costs, etc.\" */ common_costPerDay_edit_homeExpenses_description = 'common.costPerDay.edit.homeExpenses.description',\n /** \"Summarize your\" */ common_costPerDay_edit_homeExpenses_descriptionStart = 'common.costPerDay.edit.homeExpenses.descriptionStart',\n /** \"monthly home expenses\" */ common_costPerDay_edit_homeExpenses_descriptionBold = 'common.costPerDay.edit.homeExpenses.descriptionBold',\n /** \"and make sure to include items such as your mortgage or rent, utility costs, car payments, insurance premiums, food costs, etc.\" */ common_costPerDay_edit_homeExpenses_descriptionEnd = 'common.costPerDay.edit.homeExpenses.descriptionEnd',\n /** \"Home image\" */ common_costPerDay_edit_homeExpenses_imageAlt = 'common.costPerDay.edit.homeExpenses.imageAlt',\n /** \"Home expenses\" */ common_costPerDay_edit_homeExpenses_input_label = 'common.costPerDay.edit.homeExpenses.input.label',\n /** \"Enter the number of days you would like to work each month.\" */ common_costPerDay_edit_workDays_description = 'common.costPerDay.edit.workDays.description',\n /** \"Enter the\" */ common_costPerDay_edit_workDays_descriptionStart = 'common.costPerDay.edit.workDays.descriptionStart',\n /** \"number of days\" */ common_costPerDay_edit_workDays_descriptionBold1 = 'common.costPerDay.edit.workDays.descriptionBold1',\n /** \"you would like to\" */ common_costPerDay_edit_workDays_descriptionMiddle = 'common.costPerDay.edit.workDays.descriptionMiddle',\n /** \"work each month.\" */ common_costPerDay_edit_workDays_descriptionBold2 = 'common.costPerDay.edit.workDays.descriptionBold2',\n /** \"Calendar image\" */ common_costPerDay_edit_workDays_imageAlt = 'common.costPerDay.edit.workDays.imageAlt',\n /** \"Work days\" */ common_costPerDay_edit_workDays_input_label = 'common.costPerDay.edit.workDays.input.label',\n /** \"number of days\" */ common_costPerDay_edit_workDays_input_errorText = 'common.costPerDay.edit.workDays.input.errorText',\n /** \"Enter the average summary of loading and unloading hours per load.\" */ common_costPerDay_edit_loadingHours_description = 'common.costPerDay.edit.loadingHours.description',\n /** \"Loading and unloading hours\" */ common_costPerDay_edit_loadingHours_input_label = 'common.costPerDay.edit.loadingHours.input.label',\n /** \"Enter the daily average amount of driving hours.\" */ common_costPerDay_edit_drivingHours_description = 'common.costPerDay.edit.drivingHours.description',\n /** \"Driving hours per day\" */ common_costPerDay_edit_drivingHours_input_label = 'common.costPerDay.edit.drivingHours.input.label',\n /** \"driving hours\" */ common_costPerDay_edit_drivingHours_input_errorText = 'common.costPerDay.edit.drivingHours.input.errorText',\n /** \"Cost Per Day Reached\" */ common_costPerDay_card_title = 'common.costPerDay.card.title',\n /** \"Cost per day n/a - no rate provided\" */ common_costPerDay_card_notAvailable = 'common.costPerDay.card.notAvailable',\n /** \"This trip will take approximately {{maxDays}} and accounts for your total profit ({{totalProfit}}) after fuel and other expenses.\" */ common_costPerDay_card_description = 'common.costPerDay.card.description',\n /** \"day\" */ common_costPerDay_card_day = 'common.costPerDay.card.day',\n /** \"days\" */ common_costPerDay_card_days = 'common.costPerDay.card.days',\n /** \"Edit\" */ common_costPerDay_card_edit = 'common.costPerDay.card.edit',\n /** \"Setup\" */ common_costPerDay_card_setup = 'common.costPerDay.card.setup',\n /** \"Profit per day\" */ common_costPerDay_card_profitPerDay = 'common.costPerDay.card.profitPerDay',\n /** \"Profit per half day\" */ common_costPerDay_card_profitPerHalfDay = 'common.costPerDay.card.profitPerHalfDay',\n /** \"Cost per day\" */ common_costPerDay_card_costPerDay = 'common.costPerDay.card.costPerDay',\n /** \"Cost per half day\" */ common_costPerDay_card_costPerHalfDay = 'common.costPerDay.card.costPerHalfDay',\n /** \"Yes, profitable load. \" */ common_costPerDay_card_profitableLoad = 'common.costPerDay.card.profitableLoad',\n /** \"To cover your daily costs, the trip rate should be {{tripRate}} ({{tripRatePerMile}}/mi). The base rate for this load is {{postedRate}} ({{postedRatePerMile}}/mile).\" */ common_costPerDay_card_footerLoadInfo = 'common.costPerDay.card.footerLoadInfo',\n /** \"No, not profitable. \" */ common_costPerDay_card_notProfitableload = 'common.costPerDay.card.notProfitableload',\n /** \"Partial, still a decent load. \" */ common_costPerDay_card_partialProfitabLeLoad = 'common.costPerDay.card.partialProfitabLeLoad',\n /** \"{{profit}} profit per half day\" */ common_costPerDay_card_profitValuePerHalfDay = 'common.costPerDay.card.profitValuePerHalfDay',\n /** \"Reset password\" */ common_resetPassword_title = 'common.resetPassword.title',\n /** \"Instructions will be emailed to \\\"{{email}}\\\"\" */ common_resetPassword_content = 'common.resetPassword.content',\n /** \"Cancel\" */ common_resetPassword_button_cancel = 'common.resetPassword.button_cancel',\n /** \"Reset password\" */ common_resetPassword_button_reset = 'common.resetPassword.button_reset',\n /** \"There was an error in reseting your password.\" */ common_resetPassword_toast_error = 'common.resetPassword.toast.error',\n /** \"Instructions for resetting your password have been sent to {{email}}.\" */ common_resetPassword_toast_success = 'common.resetPassword.toast.success',\n /** \"Month\" */ common_dates_month = 'common.dates.month',\n /** \"Year\" */ common_dates_year = 'common.dates.year',\n /** \"Day\" */ common_dates_day = 'common.dates.day',\n /** \"Today\" */ common_dates_today = 'common.dates.today',\n /** \"Yesterday\" */ common_dates_yesterday = 'common.dates.yesterday',\n /** \"This month\" */ common_dates_thisMonth = 'common.dates.thisMonth',\n /** \"Last month\" */ common_dates_lastMonth = 'common.dates.lastMonth',\n /** \"Older\" */ common_dates_older = 'common.dates.older',\n /** \"January\" */ common_dates_monthNames_january = 'common.dates.monthNames.january',\n /** \"February\" */ common_dates_monthNames_february = 'common.dates.monthNames.february',\n /** \"March\" */ common_dates_monthNames_march = 'common.dates.monthNames.march',\n /** \"April\" */ common_dates_monthNames_april = 'common.dates.monthNames.april',\n /** \"May\" */ common_dates_monthNames_may = 'common.dates.monthNames.may',\n /** \"June\" */ common_dates_monthNames_june = 'common.dates.monthNames.june',\n /** \"July\" */ common_dates_monthNames_july = 'common.dates.monthNames.july',\n /** \"August\" */ common_dates_monthNames_august = 'common.dates.monthNames.august',\n /** \"September\" */ common_dates_monthNames_september = 'common.dates.monthNames.september',\n /** \"October\" */ common_dates_monthNames_october = 'common.dates.monthNames.october',\n /** \"November\" */ common_dates_monthNames_november = 'common.dates.monthNames.november',\n /** \"December\" */ common_dates_monthNames_december = 'common.dates.monthNames.december',\n /** \"Jan\" */ common_dates_monthNamesShort_january = 'common.dates.monthNamesShort.january',\n /** \"Feb\" */ common_dates_monthNamesShort_february = 'common.dates.monthNamesShort.february',\n /** \"Mar\" */ common_dates_monthNamesShort_march = 'common.dates.monthNamesShort.march',\n /** \"Apr\" */ common_dates_monthNamesShort_april = 'common.dates.monthNamesShort.april',\n /** \"May\" */ common_dates_monthNamesShort_may = 'common.dates.monthNamesShort.may',\n /** \"Jun\" */ common_dates_monthNamesShort_june = 'common.dates.monthNamesShort.june',\n /** \"Jul\" */ common_dates_monthNamesShort_july = 'common.dates.monthNamesShort.july',\n /** \"Aug\" */ common_dates_monthNamesShort_august = 'common.dates.monthNamesShort.august',\n /** \"Sept\" */ common_dates_monthNamesShort_september = 'common.dates.monthNamesShort.september',\n /** \"Oct\" */ common_dates_monthNamesShort_october = 'common.dates.monthNamesShort.october',\n /** \"Nov\" */ common_dates_monthNamesShort_november = 'common.dates.monthNamesShort.november',\n /** \"Dec\" */ common_dates_monthNamesShort_december = 'common.dates.monthNamesShort.december',\n /** \"Sun\" */ common_dates_dayNames_sunday = 'common.dates.dayNames.sunday',\n /** \"Mon\" */ common_dates_dayNames_monday = 'common.dates.dayNames.monday',\n /** \"Tue\" */ common_dates_dayNames_tuesday = 'common.dates.dayNames.tuesday',\n /** \"Wed\" */ common_dates_dayNames_wednesday = 'common.dates.dayNames.wednesday',\n /** \"Thu\" */ common_dates_dayNames_thursday = 'common.dates.dayNames.thursday',\n /** \"Fri\" */ common_dates_dayNames_friday = 'common.dates.dayNames.friday',\n /** \"Sat\" */ common_dates_dayNames_saturday = 'common.dates.dayNames.saturday',\n /** \"Sun\" */ common_dates_dayNamesShort_sunday = 'common.dates.dayNamesShort.sunday',\n /** \"Mon\" */ common_dates_dayNamesShort_monday = 'common.dates.dayNamesShort.monday',\n /** \"Tue\" */ common_dates_dayNamesShort_tuesday = 'common.dates.dayNamesShort.tuesday',\n /** \"Wed\" */ common_dates_dayNamesShort_wednesday = 'common.dates.dayNamesShort.wednesday',\n /** \"Thu\" */ common_dates_dayNamesShort_thursday = 'common.dates.dayNamesShort.thursday',\n /** \"Fri\" */ common_dates_dayNamesShort_friday = 'common.dates.dayNamesShort.friday',\n /** \"Sat\" */ common_dates_dayNamesShort_saturday = 'common.dates.dayNamesShort.saturday',\n /** \"Create new trip\" */ common_tripBuilder_tripBuilder_createNewTripButton = 'common.tripBuilder.tripBuilder.createNewTripButton',\n /** \"{{count}} Load added to this trip\" */ common_tripBuilder_tripBuilder_tripCardHeader01 = 'common.tripBuilder.tripBuilder.tripCardHeader01',\n /** \"{{count}} Loads added to this trip\" */ common_tripBuilder_tripBuilder_tripCardHeader02 = 'common.tripBuilder.tripBuilder.tripCardHeader02',\n /** \"Trip {{value}} mi\" */ common_tripBuilder_tripBuilder_tripCardTripText = 'common.tripBuilder.tripBuilder.tripCardTripText',\n /** \"Plan your trip\" */ common_tripBuilder_tripBuilder_planYourTrip = 'common.tripBuilder.tripBuilder.planYourTrip',\n /** \"Trip builder allows you to plan ahead by building a trip with multiple loads along the way.\" */ common_tripBuilder_tripBuilder_planTripDescription = 'common.tripBuilder.tripBuilder.planTripDescription',\n /** \"Trip Summary\" */ common_tripBuilder_tripBuilder_tripSummary = 'common.tripBuilder.tripBuilder.tripSummary',\n /** \"Deadhead\" */ common_tripBuilder_tripBuilder_deadhead = 'common.tripBuilder.tripBuilder.deadhead',\n /** \"Added\" */ common_tripBuilder_tripBuilder_added = 'common.tripBuilder.tripBuilder.added',\n /** \"Available\" */ common_tripBuilder_tripBuilder_available = 'common.tripBuilder.tripBuilder.available',\n /** \"Some added loads are unavailable, please remove them to continue building your trip.\" */ common_tripBuilder_tripBuilder_notAvailable = 'common.tripBuilder.tripBuilder.notAvailable',\n /** \"Unavailable\" */ common_tripBuilder_tripBuilder_unavailable = 'common.tripBuilder.tripBuilder.unavailable',\n /** \"This load is no longer available, remove it to continue building your trip.\" */ common_tripBuilder_tripBuilder_loadUnavailable = 'common.tripBuilder.tripBuilder.loadUnavailable',\n /** \"Map is not available for this trip.\" */ common_tripBuilder_tripBuilder_mapNotAvailable = 'common.tripBuilder.tripBuilder.mapNotAvailable',\n /** \"Remove\" */ common_tripBuilder_tripBuilder_remove = 'common.tripBuilder.tripBuilder.remove',\n /** \"New trip\" */ common_tripBuilder_newTrip_newTripHeader = 'common.tripBuilder.newTrip.newTripHeader',\n /** \"Result layout\" */ common_tripBuilder_newTrip_resultLayout = 'common.tripBuilder.newTrip.resultLayout',\n /** \"Load-by-load\" */ common_tripBuilder_newTrip_loadByLoadLabel = 'common.tripBuilder.newTrip.loadByLoadLabel',\n /** \"Build your own trip load-by-load\" */ common_tripBuilder_newTrip_loadByLoadDescription = 'common.tripBuilder.newTrip.loadByLoadDescription',\n /** \"Entire trip\" */ common_tripBuilder_newTrip_entireTripLabel = 'common.tripBuilder.newTrip.entireTripLabel',\n /** \"Automatically builds an entire trip for you.\" */ common_tripBuilder_newTrip_entireTripDescription = 'common.tripBuilder.newTrip.entireTripDescription',\n /** \"Trip parameters\" */ common_tripBuilder_newTrip_tripParameters = 'common.tripBuilder.newTrip.tripParameters',\n /** \"Origin point\" */ common_tripBuilder_newTrip_originPoint = 'common.tripBuilder.newTrip.originPoint',\n /** \"Destination\" */ common_tripBuilder_newTrip_destination = 'common.tripBuilder.newTrip.destination',\n /** \"Time\" */ common_tripBuilder_newTrip_time = 'common.tripBuilder.newTrip.time',\n /** \"Pickup time\" */ common_tripBuilder_newTrip_pickupTimeHeader = 'common.tripBuilder.newTrip.pickupTimeHeader',\n /** \"Drop off time\" */ common_tripBuilder_newTrip_dropoffTimeHeader = 'common.tripBuilder.newTrip.dropoffTimeHeader',\n /** \"Date \" */ common_tripBuilder_newTrip_date = 'common.tripBuilder.newTrip.date',\n /** \"Pickup date\" */ common_tripBuilder_newTrip_pickupDateHeader = 'common.tripBuilder.newTrip.pickupDateHeader',\n /** \"Drop off date\" */ common_tripBuilder_newTrip_dropoffDateHeader = 'common.tripBuilder.newTrip.dropoffDateHeader',\n /** \"Excluded states (optional)\" */ common_tripBuilder_newTrip_excludedStatesOptional = 'common.tripBuilder.newTrip.excludedStatesOptional',\n /** \"Excluded states\" */ common_tripBuilder_newTrip_excludedStates = 'common.tripBuilder.newTrip.excludedStates',\n /** \"Only select states you do not want to travel to.\" */ common_tripBuilder_newTrip_excludedStatesSubHeader = 'common.tripBuilder.newTrip.excludedStatesSubHeader',\n /** \"Maximum loads per trip\" */ common_tripBuilder_newTrip_maximumLoadsHeader = 'common.tripBuilder.newTrip.maximumLoadsHeader',\n /** \"Result layout\" */ common_tripBuilder_newTrip_popup_popupHeader = 'common.tripBuilder.newTrip.popup.popupHeader',\n /** \"Load-by-load allows you to build your own trip one load at a time.\" */ common_tripBuilder_newTrip_popup_popupDescription1 = 'common.tripBuilder.newTrip.popup.popupDescription1',\n /** \"Entire trip automatically builds a trip by selecting loads matching your parameters.\" */ common_tripBuilder_newTrip_popup_popupDescription2 = 'common.tripBuilder.newTrip.popup.popupDescription2',\n /** \"ago\" */ common_loadSearch_ago = 'common.loadSearch.ago',\n /** \"Renewed\" */ common_loadSearch_renewed = 'common.loadSearch.renewed',\n /** \"Posted\" */ common_loadSearch_posted = 'common.loadSearch.posted',\n /** \"Select last renewed age\" */ common_loadSearch_selectLastRenewed = 'common.loadSearch.selectLastRenewed',\n /** \"Filter by how recently the load's availability was updated\" */ common_loadSearch_selectLastRenewedInfo = 'common.loadSearch.selectLastRenewedInfo',\n /** \"Within the last {{value}} minutes\" */ common_loadSearch_withinLastMins = 'common.loadSearch.withinLastMins',\n /** \"Within the last 1 hour\" */ common_loadSearch_withinLastOneHour = 'common.loadSearch.withinLastOneHour',\n /** \"Within the last {{value}} hours\" */ common_loadSearch_withinLastHours = 'common.loadSearch.withinLastHours',\n /** \"less than {{value}}\" */ common_loadSearch_lessThan = 'common.loadSearch.lessThan',\n /** \"See {{count}} loads\" */ common_loadSearch_seeCountLoads = 'common.loadSearch.seeCountLoads',\n /** \"No loads available\" */ common_loadSearch_noLoadsAvailable = 'common.loadSearch.noLoadsAvailable',\n /** \"(Find loads)\" */ common_loadSearch_findLoads = 'common.loadSearch.findLoads',\n /** \"Trip length\" */ common_loadSearch_tripLength_title = 'common.loadSearch.tripLength.title',\n /** \"Short: 0-200 mi\" */ common_loadSearch_tripLength_short_option = 'common.loadSearch.tripLength.short_option',\n /** \"Medium: 201-500 mi\" */ common_loadSearch_tripLength_medium_option = 'common.loadSearch.tripLength.medium_option',\n /** \"Regional: 501-1000 mi\" */ common_loadSearch_tripLength_regional_option = 'common.loadSearch.tripLength.regional_option',\n /** \"Long: 1001+ mi\" */ common_loadSearch_tripLength_long_option = 'common.loadSearch.tripLength.long_option',\n /** \"Short\" */ common_loadSearch_tripLength_short = 'common.loadSearch.tripLength.short',\n /** \"Regional\" */ common_loadSearch_tripLength_regional = 'common.loadSearch.tripLength.regional',\n /** \"Medium\" */ common_loadSearch_tripLength_medium = 'common.loadSearch.tripLength.medium',\n /** \"Long\" */ common_loadSearch_tripLength_long = 'common.loadSearch.tripLength.long',\n /** \"Any\" */ common_loadSearch_tripLength_any = 'common.loadSearch.tripLength.any',\n /** \"Custom\" */ common_loadSearch_tripLength_custom = 'common.loadSearch.tripLength.custom',\n /** \"Trip length is {{length}}. Press to change length.\" */ common_loadSearch_tripLength_accessibility_tripLength = 'common.loadSearch.tripLength.accessibility.tripLength',\n /** \"Similar loads\" */ common_loadSearch_similarLoads_title = 'common.loadSearch.similarLoads.title',\n /** \"More potential loads available for you.\" */ common_loadSearch_similarLoads_subtitle = 'common.loadSearch.similarLoads.subtitle',\n /** \"Clear searches\" */ common_loadSearch_clearSearchesPopup_title = 'common.loadSearch.clearSearchesPopup.title',\n /** \"Clearing all searches will also clear any search alerts you have set.\" */ common_loadSearch_clearSearchesPopup_all = 'common.loadSearch.clearSearchesPopup.all',\n /** \"Only searches without search alerts set will be cleared.\" */ common_loadSearch_clearSearchesPopup_withoutAlerts = 'common.loadSearch.clearSearchesPopup.withoutAlerts',\n /** \"Only searches with search alerts set will be cleared.\" */ common_loadSearch_clearSearchesPopup_withAlerts = 'common.loadSearch.clearSearchesPopup.withAlerts',\n /** \"Clear\" */ common_loadSearch_clearSearchesPopup_buttonLabel = 'common.loadSearch.clearSearchesPopup.buttonLabel',\n /** \"New\" */ common_load_New = 'common.load.New',\n /** \"Load\" */ common_load_Load = 'common.load.Load',\n /** \"Alerts Sent\" */ common_load_Alerts = 'common.load.Alerts',\n /** \"Load Views\" */ common_load_Views = 'common.load.Views',\n /** \"Views: {{count}}\" */ common_load_Views_Count = 'common.load.Views_Count',\n /** \"View\" */ common_load_View = 'common.load.View',\n /** \"Pickup\" */ common_load_Pickup = 'common.load.Pickup',\n /** \"Destination\" */ common_load_Destination = 'common.load.Destination',\n /** \"Pickup Date\" */ common_load_Pickup_Date = 'common.load.Pickup_Date',\n /** \"Search results\" */ common_load_Search_Results = 'common.load.Search_Results',\n /** \"No loads found\" */ common_load_No_Loads = 'common.load.No_Loads',\n /** \"No matches, check filters\" */ common_load_No_Matches = 'common.load.No_Matches',\n /** \"No matches found\" */ common_load_noMatchesFound = 'common.load.noMatchesFound',\n /** \"Search\" */ common_load_Search = 'common.load.Search',\n /** \"Found {{quantity}} matches\" */ common_load_Found_Loads = 'common.load.Found_Loads',\n /** \"Found 1 match\" */ common_load_Found_Load = 'common.load.Found_Load',\n /** \"1 filter applied\" */ common_load_Filter_Applied = 'common.load.Filter_Applied',\n /** \"{{quantity}} filters applied\" */ common_load_Filters_Applied = 'common.load.Filters_Applied',\n /** \"{{quantity}} matches after filtering\" */ common_load_Matches_after_filtering = 'common.load.Matches_after_filtering',\n /** \"Found {{quantity}} backhaul loads\" */ common_load_Found_Backhaul_Loads = 'common.load.Found_Backhaul_Loads',\n /** \"Sort by\" */ common_load_Sort_By = 'common.load.Sort_By',\n /** \"Load no longer available\" */ common_load_loadNoLongerAvailable = 'common.load.loadNoLongerAvailable',\n /** \"View Details\" */ common_load_View_Details = 'common.load.View_Details',\n /** \"Save load\" */ common_load_Save_Load = 'common.load.Save_Load',\n /** \"Saved load\" */ common_load_Saved_Load = 'common.load.Saved_Load',\n /** \"Status updated\" */ common_load_Status_updated = 'common.load.Status_updated',\n /** \"Status is not updated\" */ common_load_Status_not_updated = 'common.load.Status_not_updated',\n /** \"Load is saved\" */ common_load_Load_is_saved = 'common.load.Load_is_saved',\n /** \"Load hidden\" */ common_load_Load_hidden = 'common.load.Load_hidden',\n /** \"Load unhidden\" */ common_load_Load_unhidden = 'common.load.Load_unhidden',\n /** \"Loads unhidden\" */ common_load_Loads_unhidden = 'common.load.Loads_unhidden',\n /** \"Load is unsaved\" */ common_load_Load_is_unsaved = 'common.load.Load_is_unsaved',\n /** \"Loads are unsaved\" */ common_load_Loads_are_unsaved = 'common.load.Loads_are_unsaved',\n /** \"Unhide load\" */ common_load_hidePopup_title = 'common.load.hidePopup.title',\n /** \"To view details for this load, please unhide it.\" */ common_load_hidePopup_content = 'common.load.hidePopup.content',\n /** \"Share\" */ common_load_Share = 'common.load.Share',\n /** \"Print\" */ common_load_Print = 'common.load.Print',\n /** \"Hide\" */ common_load_Hide = 'common.load.Hide',\n /** \"Unhide\" */ common_load_Unhide = 'common.load.Unhide',\n /** \"Bid\" */ common_load_Bid = 'common.load.Bid',\n /** \"Call\" */ common_load_Call = 'common.load.Call',\n /** \"Call again\" */ common_load_Call_again = 'common.load.Call_again',\n /** \"Contacted\" */ common_load_Contacted = 'common.load.Contacted',\n /** \"Trailer\" */ common_load_Trailer = 'common.load.Trailer',\n /** \"More details\" */ common_load_More_details = 'common.load.More_details',\n /** \"Ref. #\" */ common_load_Ref = 'common.load.Ref',\n /** \"Item\" */ common_load_Item = 'common.load.Item',\n /** \"Qty/Stops\" */ common_load_Qty_Stops = 'common.load.Qty_Stops',\n /** \"Qty\" */ common_load_Qty = 'common.load.Qty',\n /** \"Extra stops\" */ common_load_ExtraStops = 'common.load.ExtraStops',\n /** \"Note\" */ common_load_Note = 'common.load.Note',\n /** \"*Private notes will only be visible to you. Carriers will not see this note.\" */ common_load_PrivateNoteMessage = 'common.load.PrivateNoteMessage',\n /** \"Private note\" */ common_load_PrivateNote = 'common.load.PrivateNote',\n /** \"Profit calculator\" */ common_load_Profit_Calculator = 'common.load.Profit_Calculator',\n /** \"Profit {{sign}}${{profit}} ({{secondSign}}${{perMile}}/mi)\" */ common_load_your_profit_from_load = 'common.load.your_profit_from_load',\n /** \"Mileage, maps, and tolls\" */ common_load_mi_maps_tolls = 'common.load.mi_maps_tolls',\n /** \"Company name\" */ common_load_Company_Name = 'common.load.Company_Name',\n /** \"Company phone\" */ common_load_Company_Phone = 'common.load.Company_Phone',\n /** \"DOT #\" */ common_load_DOT_number = 'common.load.DOT_number',\n /** \"MC #\" */ common_load_MC_number = 'common.load.MC_number',\n /** \"Score: {{value}}\" */ common_load_Credit_Score = 'common.load.Credit_Score',\n /** \"${{value}} toll cost\" */ common_load_Toll_Cost = 'common.load.Toll_Cost',\n /** \"Shipper (MC# not required)\" */ common_load_shipperMCNotRequired = 'common.load.shipperMCNotRequired',\n /** \"Load unavailable\" */ common_load_loadUnavailable = 'common.load.loadUnavailable',\n /** \"{{orig}} to {{dest}}\" */ common_load_origToDest = 'common.load.origToDest',\n /** \"Desired destinations\" */ common_load_Popup_Destinations = 'common.load.Popup.Destinations',\n /** \"Multiple\" */ common_load_Popup_Multiple = 'common.load.Popup.Multiple',\n /** \"Anywhere\" */ common_load_Popup_Anywhere = 'common.load.Popup.Anywhere',\n /** \"Anywhere in Canada\" */ common_load_Popup_AnywhereCA = 'common.load.Popup.AnywhereCA',\n /** \"Anywhere in US\" */ common_load_Popup_AnywhereUS = 'common.load.Popup.AnywhereUS',\n /** \"Any type\" */ common_load_anyEquipmentType = 'common.load.anyEquipmentType',\n /** \"Equipment\" */ common_load_Equipment = 'common.load.Equipment',\n /** \"Van\" */ common_load_equipmentType_Van = 'common.load.equipmentType.Van',\n /** \"Reefer\" */ common_load_equipmentType_Reefer = 'common.load.equipmentType.Reefer',\n /** \"Power only\" */ common_load_equipmentType_PowerOnly = 'common.load.equipmentType.PowerOnly',\n /** \"Container\" */ common_load_equipmentType_Container = 'common.load.equipmentType.Container',\n /** \"Hopper bottom\" */ common_load_equipmentType_HopperBottom = 'common.load.equipmentType.HopperBottom',\n /** \"Tanker\" */ common_load_equipmentType_Tanker = 'common.load.equipmentType.Tanker',\n /** \"Double drop\" */ common_load_equipmentType_DoubleDrop = 'common.load.equipmentType.DoubleDrop',\n /** \"Flatbed\" */ common_load_equipmentType_Flatbed = 'common.load.equipmentType.Flatbed',\n /** \"All flatbed\" */ common_load_equipmentType_AllFlatbed = 'common.load.equipmentType.AllFlatbed',\n /** \"All van\" */ common_load_equipmentType_AllVan = 'common.load.equipmentType.AllVan',\n /** \"Landoll\" */ common_load_equipmentType_Landoll = 'common.load.equipmentType.Landoll',\n /** \"Low boy\" */ common_load_equipmentType_LowBoy = 'common.load.equipmentType.LowBoy',\n /** \"Maxi\" */ common_load_equipmentType_Maxi = 'common.load.equipmentType.Maxi',\n /** \"Removable gooseneck\" */ common_load_equipmentType_RemovableGooseneck = 'common.load.equipmentType.RemovableGooseneck',\n /** \"Step deck\" */ common_load_equipmentType_StepDeck = 'common.load.equipmentType.StepDeck',\n /** \"Auto\" */ common_load_equipmentType_Auto = 'common.load.equipmentType.Auto',\n /** \"Animal carrier\" */ common_load_equipmentType_AnimalCarrier = 'common.load.equipmentType.AnimalCarrier',\n /** \"Boat hauler\" */ common_load_equipmentType_BoatHauler = 'common.load.equipmentType.BoatHauler',\n /** \"Heavy haulers\" */ common_load_equipmentType_HeavyHaulers = 'common.load.equipmentType.HeavyHaulers',\n /** \"Moving van\" */ common_load_equipmentType_MovingVan = 'common.load.equipmentType.MovingVan',\n /** \"Mini van\" */ common_load_equipmentType_MiniVan = 'common.load.equipmentType.MiniVan',\n /** \"Cargo van\" */ common_load_equipmentType_CargoVan = 'common.load.equipmentType.CargoVan',\n /** \"Straight box truck\" */ common_load_equipmentType_BoxTruck = 'common.load.equipmentType.BoxTruck',\n /** \"Sprinter\" */ common_load_equipmentType_Sprinter = 'common.load.equipmentType.Sprinter',\n /** \"Dump truck\" */ common_load_equipmentType_DumpTruck = 'common.load.equipmentType.DumpTruck',\n /** \"Pilot cars\" */ common_load_equipmentType_PilotCars = 'common.load.equipmentType.PilotCars',\n /** \"None\" */ common_load_equipmentSpecification_None = 'common.load.equipmentSpecification.None',\n /** \"Air ride\" */ common_load_equipmentSpecification_AirRide = 'common.load.equipmentSpecification.AirRide',\n /** \"Blanket wrap\" */ common_load_equipmentSpecification_BlanketWrap = 'common.load.equipmentSpecification.BlanketWrap',\n /** \"B-Train\" */ common_load_equipmentSpecification_BTrain = 'common.load.equipmentSpecification.BTrain',\n /** \"Chains\" */ common_load_equipmentSpecification_Chains = 'common.load.equipmentSpecification.Chains',\n /** \"Chassis\" */ common_load_equipmentSpecification_Chassis = 'common.load.equipmentSpecification.Chassis',\n /** \"Conestoga\" */ common_load_equipmentSpecification_Conestoga = 'common.load.equipmentSpecification.Conestoga',\n /** \"Curtains\" */ common_load_equipmentSpecification_Curtains = 'common.load.equipmentSpecification.Curtains',\n /** \"Double\" */ common_load_equipmentSpecification_Double = 'common.load.equipmentSpecification.Double',\n /** \"E-Track\" */ common_load_equipmentSpecification_ETrack = 'common.load.equipmentSpecification.ETrack',\n /** \"Extendable\" */ common_load_equipmentSpecification_Extendable = 'common.load.equipmentSpecification.Extendable',\n /** \"Hazmat\" */ common_load_equipmentSpecification_HazMat = 'common.load.equipmentSpecification.HazMat',\n /** \"Hot shot\" */ common_load_equipmentSpecification_HotShot = 'common.load.equipmentSpecification.HotShot',\n /** \"Insulated\" */ common_load_equipmentSpecification_Insulated = 'common.load.equipmentSpecification.Insulated',\n /** \"Intermodal\" */ common_load_equipmentSpecification_Intermodal = 'common.load.equipmentSpecification.Intermodal',\n /** \"Lift gate\" */ common_load_equipmentSpecification_LiftGate = 'common.load.equipmentSpecification.LiftGate',\n /** \"Load ramps\" */ common_load_equipmentSpecification_LoadRamps = 'common.load.equipmentSpecification.LoadRamps',\n /** \"Load out\" */ common_load_equipmentSpecification_LoadOut = 'common.load.equipmentSpecification.LoadOut',\n /** \"Moving\" */ common_load_equipmentSpecification_Moving = 'common.load.equipmentSpecification.Moving',\n /** \"Open top\" */ common_load_equipmentSpecification_OpenTop = 'common.load.equipmentSpecification.OpenTop',\n /** \"Oversized\" */ common_load_equipmentSpecification_Oversized = 'common.load.equipmentSpecification.Oversized',\n /** \"Pallet exchange\" */ common_load_equipmentSpecification_PalletExchange = 'common.load.equipmentSpecification.PalletExchange',\n /** \"Plate trailer\" */ common_load_equipmentSpecification_PlateTrailer = 'common.load.equipmentSpecification.PlateTrailer',\n /** \"Side kit\" */ common_load_equipmentSpecification_SideKit = 'common.load.equipmentSpecification.SideKit',\n /** \"Tarps\" */ common_load_equipmentSpecification_Tarps = 'common.load.equipmentSpecification.Tarps',\n /** \"Team driver\" */ common_load_equipmentSpecification_TeamDriver = 'common.load.equipmentSpecification.TeamDriver',\n /** \"Temp controlled\" */ common_load_equipmentSpecification_TempControlled = 'common.load.equipmentSpecification.TempControlled',\n /** \"Triple\" */ common_load_equipmentSpecification_Triple = 'common.load.equipmentSpecification.Triple',\n /** \"Vented\" */ common_load_equipmentSpecification_Vented = 'common.load.equipmentSpecification.Vented',\n /** \"Walking floor\" */ common_load_equipmentSpecification_WalkingFloor = 'common.load.equipmentSpecification.WalkingFloor',\n /** \"All\" */ common_load_equipmentSpecification_All = 'common.load.equipmentSpecification.All',\n /** \"Size\" */ common_load_Size = 'common.load.Size',\n /** \"Length\" */ common_load_Length = 'common.load.Length',\n /** \"Weight\" */ common_load_Weight = 'common.load.Weight',\n /** \"Distance\" */ common_load_Distance = 'common.load.Distance',\n /** \"Radius\" */ common_load_Radius = 'common.load.Radius',\n /** \"Age\" */ common_load_Age = 'common.load.Age',\n /** \"All\" */ common_load_equipmentCode_All = 'common.load.equipmentCode.All',\n /** \"V\" */ common_load_equipmentCode_Van = 'common.load.equipmentCode.Van',\n /** \"R\" */ common_load_equipmentCode_Reefer = 'common.load.equipmentCode.Reefer',\n /** \"PO\" */ common_load_equipmentCode_PowerOnly = 'common.load.equipmentCode.PowerOnly',\n /** \"C\" */ common_load_equipmentCode_Container = 'common.load.equipmentCode.Container',\n /** \"HB\" */ common_load_equipmentCode_HopperBottom = 'common.load.equipmentCode.HopperBottom',\n /** \"T\" */ common_load_equipmentCode_Tanker = 'common.load.equipmentCode.Tanker',\n /** \"DD\" */ common_load_equipmentCode_DoubleDrop = 'common.load.equipmentCode.DoubleDrop',\n /** \"F\" */ common_load_equipmentCode_Flatbed = 'common.load.equipmentCode.Flatbed',\n /** \"LA\" */ common_load_equipmentCode_Landoll = 'common.load.equipmentCode.Landoll',\n /** \"LB\" */ common_load_equipmentCode_LowBoy = 'common.load.equipmentCode.LowBoy',\n /** \"MX\" */ common_load_equipmentCode_Maxi = 'common.load.equipmentCode.Maxi',\n /** \"RG\" */ common_load_equipmentCode_RemovableGooseneck = 'common.load.equipmentCode.RemovableGooseneck',\n /** \"SD\" */ common_load_equipmentCode_StepDeck = 'common.load.equipmentCode.StepDeck',\n /** \"Auto\" */ common_load_equipmentCode_Auto = 'common.load.equipmentCode.Auto',\n /** \"AC\" */ common_load_equipmentCode_AnimalCarrier = 'common.load.equipmentCode.AnimalCarrier',\n /** \"BH\" */ common_load_equipmentCode_BoatHauler = 'common.load.equipmentCode.BoatHauler',\n /** \"HH\" */ common_load_equipmentCode_HeavyHaulers = 'common.load.equipmentCode.HeavyHaulers',\n /** \"MV\" */ common_load_equipmentCode_MovingVan = 'common.load.equipmentCode.MovingVan',\n /** \"MiniVan\" */ common_load_equipmentCode_MiniVan = 'common.load.equipmentCode.MiniVan',\n /** \"CV\" */ common_load_equipmentCode_CargoVan = 'common.load.equipmentCode.CargoVan',\n /** \"SB\" */ common_load_equipmentCode_BoxTruck = 'common.load.equipmentCode.BoxTruck',\n /** \"Sprinter\" */ common_load_equipmentCode_Sprinter = 'common.load.equipmentCode.Sprinter',\n /** \"DT\" */ common_load_equipmentCode_DumpTruck = 'common.load.equipmentCode.DumpTruck',\n /** \"PilotCars\" */ common_load_equipmentCode_PilotCars = 'common.load.equipmentCode.PilotCars',\n /** \"None\" */ common_load_equipmentCode_None = 'common.load.equipmentCode.None',\n /** \"None\" */ common_load_equipmentSpecificationCode_None = 'common.load.equipmentSpecificationCode.None',\n /** \"A\" */ common_load_equipmentSpecificationCode_AirRide = 'common.load.equipmentSpecificationCode.AirRide',\n /** \"B\" */ common_load_equipmentSpecificationCode_BlanketWrap = 'common.load.equipmentSpecificationCode.BlanketWrap',\n /** \"BT\" */ common_load_equipmentSpecificationCode_BTrain = 'common.load.equipmentSpecificationCode.BTrain',\n /** \"CH\" */ common_load_equipmentSpecificationCode_Chains = 'common.load.equipmentSpecificationCode.Chains',\n /** \"CS\" */ common_load_equipmentSpecificationCode_Chassis = 'common.load.equipmentSpecificationCode.Chassis',\n /** \"CO\" */ common_load_equipmentSpecificationCode_Conestoga = 'common.load.equipmentSpecificationCode.Conestoga',\n /** \"C\" */ common_load_equipmentSpecificationCode_Curtains = 'common.load.equipmentSpecificationCode.Curtains',\n /** \"2\" */ common_load_equipmentSpecificationCode_Double = 'common.load.equipmentSpecificationCode.Double',\n /** \"ET\" */ common_load_equipmentSpecificationCode_ETrack = 'common.load.equipmentSpecificationCode.ETrack',\n /** \"E\" */ common_load_equipmentSpecificationCode_Extendable = 'common.load.equipmentSpecificationCode.Extendable',\n /** \"Z\" */ common_load_equipmentSpecificationCode_HazMat = 'common.load.equipmentSpecificationCode.HazMat',\n /** \"HS\" */ common_load_equipmentSpecificationCode_HotShot = 'common.load.equipmentSpecificationCode.HotShot',\n /** \"I\" */ common_load_equipmentSpecificationCode_Insulated = 'common.load.equipmentSpecificationCode.Insulated',\n /** \"N\" */ common_load_equipmentSpecificationCode_Intermodal = 'common.load.equipmentSpecificationCode.Intermodal',\n /** \"LG\" */ common_load_equipmentSpecificationCode_LiftGate = 'common.load.equipmentSpecificationCode.LiftGate',\n /** \"LR\" */ common_load_equipmentSpecificationCode_LoadRamps = 'common.load.equipmentSpecificationCode.LoadRamps',\n /** \"LO\" */ common_load_equipmentSpecificationCode_LoadOut = 'common.load.equipmentSpecificationCode.LoadOut',\n /** \"MV\" */ common_load_equipmentSpecificationCode_Moving = 'common.load.equipmentSpecificationCode.Moving',\n /** \"OT\" */ common_load_equipmentSpecificationCode_OpenTop = 'common.load.equipmentSpecificationCode.OpenTop',\n /** \"O\" */ common_load_equipmentSpecificationCode_Oversized = 'common.load.equipmentSpecificationCode.Oversized',\n /** \"X\" */ common_load_equipmentSpecificationCode_PalletExchange = 'common.load.equipmentSpecificationCode.PalletExchange',\n /** \"PL\" */ common_load_equipmentSpecificationCode_PlateTrailer = 'common.load.equipmentSpecificationCode.PlateTrailer',\n /** \"S\" */ common_load_equipmentSpecificationCode_SideKit = 'common.load.equipmentSpecificationCode.SideKit',\n /** \"T\" */ common_load_equipmentSpecificationCode_Tarps = 'common.load.equipmentSpecificationCode.Tarps',\n /** \"M\" */ common_load_equipmentSpecificationCode_TeamDriver = 'common.load.equipmentSpecificationCode.TeamDriver',\n /** \"TC\" */ common_load_equipmentSpecificationCode_TempControlled = 'common.load.equipmentSpecificationCode.TempControlled',\n /** \"3\" */ common_load_equipmentSpecificationCode_Triple = 'common.load.equipmentSpecificationCode.Triple',\n /** \"V\" */ common_load_equipmentSpecificationCode_Vented = 'common.load.equipmentSpecificationCode.Vented',\n /** \"WF\" */ common_load_equipmentSpecificationCode_WalkingFloor = 'common.load.equipmentSpecificationCode.WalkingFloor',\n /** \"All\" */ common_load_equipmentSpecificationCode_All = 'common.load.equipmentSpecificationCode.All',\n /** \"Onboarded companies\" */ common_load_filter_onboardedCompanies = 'common.load.filter.onboardedCompanies',\n /** \"Company preferences\" */ common_load_filter_companyPreferences = 'common.load.filter.companyPreferences',\n /** \"Favorite companies\" */ common_load_filter_favoriteCompanies = 'common.load.filter.favoriteCompanies',\n /** \"Credit rating (Transcredit)\" */ common_load_filter_creditRating = 'common.load.filter.creditRating',\n /** \"Days-to-pay (Transcredit)\" */ common_load_filter_daysToPay = 'common.load.filter.daysToPay',\n /** \"Credit rating\" */ common_load_filter_creditRatingShort = 'common.load.filter.creditRatingShort',\n /** \"Days-to-pay\" */ common_load_filter_daysToPayShort = 'common.load.filter.daysToPayShort',\n /** \"Shipper\" */ common_load_filter_shipper = 'common.load.filter.shipper',\n /** \"Renewed age\" */ common_load_filter_renewedAge = 'common.load.filter.renewedAge',\n /** \"Load info\" */ common_load_filter_loadInfo = 'common.load.filter.loadInfo',\n /** \"Posted age\" */ common_load_filter_postedAge = 'common.load.filter.postedAge',\n /** \"With messaging\" */ common_load_filter_withMessaging = 'common.load.filter.withMessaging',\n /** \"With bidding\" */ common_load_filter_withBidding = 'common.load.filter.withBidding',\n /** \"Trailer specifications\" */ common_load_filter_trailerSpecifications = 'common.load.filter.trailerSpecifications',\n /** \"Commodity\" */ common_load_filter_commodity = 'common.load.filter.commodity',\n /** \"Posted rate\" */ common_load_filter_postedRate = 'common.load.filter.postedRate',\n /** \"Team drivers\" */ common_load_filter_teamDrivers = 'common.load.filter.teamDrivers',\n /** \"Load size\" */ common_load_filter_loadSize = 'common.load.filter.loadSize',\n /** \"TL\" */ common_load_filter_tl = 'common.load.filter.tl',\n /** \"LTL\" */ common_load_filter_ltl = 'common.load.filter.ltl',\n /** \"With weight\" */ common_load_filter_withWeight = 'common.load.filter.withWeight',\n /** \"With length\" */ common_load_filter_withLength = 'common.load.filter.withLength',\n /** \"Distance\" */ common_load_filter_distance = 'common.load.filter.distance',\n /** \"Trip length\" */ common_load_filter_tripLength = 'common.load.filter.tripLength',\n /** \"Trailer specs\" */ common_load_filter_trailerSpecs = 'common.load.filter.trailerSpecs',\n /** \"{{quantity}} result\" */ common_load_filter_singleResult = 'common.load.filter.singleResult',\n /** \"{{quantity}} results\" */ common_load_filter_totalResult = 'common.load.filter.totalResult',\n /** \"Select credit rating range\" */ common_creditRating_selectCreditRating = 'common.creditRating.selectCreditRating',\n /** \"Please select a range of credit scores from 0 to 100.\" */ common_creditRating_pleaseSelect = 'common.creditRating.pleaseSelect',\n /** \"Select Days-to-pay range\" */ common_creditRating_selectDaysToPay = 'common.creditRating.selectDaysToPay',\n /** \"Please select your preferred range of days-to-pay from 0 to 65+.\" */ common_creditRating_pleaseSelectDaysToPay = 'common.creditRating.pleaseSelectDaysToPay',\n /** \"Please select the trip length\" */ common_tripLength_pleaseSelectTriplength = 'common.tripLength.pleaseSelectTriplength',\n /** \"Select posted age range\" */ common_postedAge_selectPostedAge = 'common.postedAge.selectPostedAge',\n /** \"Please select the posted age of loads you want to see.\" */ common_postedAge_pleaseSelect = 'common.postedAge.pleaseSelect',\n /** \"Load documents\" */ common_loadDetails_loadDocuments_title = 'common.loadDetails.loadDocuments.title',\n /** \"{{num}} files attached\" */ common_loadDetails_loadDocuments_filesAttached = 'common.loadDetails.loadDocuments.filesAttached',\n /** \"1 file attached\" */ common_loadDetails_loadDocuments_oneFileAttached = 'common.loadDetails.loadDocuments.oneFileAttached',\n /** \"Attach rate confirmation, BOL or other documents to this load for your personal reference and/or to send to the poster, Thunder Funding, factoring companies, etc.\" */ common_loadDetails_loadDocuments_description = 'common.loadDetails.loadDocuments.description',\n /** \"Manage documents\" */ common_loadDetails_loadDocuments_manageDocuments = 'common.loadDetails.loadDocuments.manageDocuments',\n /** \"Update status\" */ common_loadDetails_updateStatus = 'common.loadDetails.updateStatus',\n /** \"Status\" */ common_loadDetails_status = 'common.loadDetails.status',\n /** \"Manage documents for this load\" */ common_loadDetails_manageDocumentsForThisLoad = 'common.loadDetails.manageDocumentsForThisLoad',\n /** \"Rate confirmation, BOL, etc.\" */ common_loadDetails_rateConfirmationBolEtc = 'common.loadDetails.rateConfirmationBolEtc',\n /** \"Did you book this load?\" */ common_loadDetails_didYouBook_title = 'common.loadDetails.didYouBook.title',\n /** \"If so, click yes, and start uploading your documents.\" */ common_loadDetails_didYouBook_info = 'common.loadDetails.didYouBook.info',\n /** \"Alert sent {{time}}\" */ common_loadDetails_truckAlert_alertSent = 'common.loadDetails.truckAlert.alertSent',\n /** \"Get onboarded\" */ common_loadDetails_onboarding_title = 'common.loadDetails.onboarding.title',\n /** \"Start onboarding\" */ common_loadDetails_onboarding_start = 'common.loadDetails.onboarding.start',\n /** \"Get onboarded with \" */ common_loadDetails_onboarding_getOnboarded_start = 'common.loadDetails.onboarding.getOnboarded.start',\n /** \" to increase your chance of booking this load. You may start the onboarding process at any time.\" */ common_loadDetails_onboarding_getOnboarded_end = 'common.loadDetails.onboarding.getOnboarded.end',\n /** \"Get onboarded\" */ common_loadDetails_onboarding_popup_title = 'common.loadDetails.onboarding.popup.title',\n /** \"Continuing will redirect you to a new website to get onboarded with \" */ common_loadDetails_onboarding_popup_message_start = 'common.loadDetails.onboarding.popup.message.start',\n /** \". This will open a new tab where you will continue with the onboarding process.\\n\\nPlease note the terms and conditions on this site may differ from 123Loadboard. 123Loadboard is not responsible for any content on third party websites.\" */ common_loadDetails_onboarding_popup_message_end = 'common.loadDetails.onboarding.popup.message.end',\n /** \"Proceed\" */ common_loadDetails_onboarding_popup_proceed = 'common.loadDetails.onboarding.popup.proceed',\n /** \"Bids\" */ common_bids_title = 'common.bids.title',\n /** \"Interactive bids\" */ common_bids_titleInteractive = 'common.bids.titleInteractive',\n /** \"About bids\" */ common_bids_infoDialog_menuOption = 'common.bids.infoDialog.menuOption',\n /** \"About Bids\" */ common_bids_infoDialog_title = 'common.bids.infoDialog.title',\n /** \"The broker/shipper will respond to your bid via Call, Messaging, or Email. Your bidding history will be available for 2 weeks.\" */ common_bids_infoDialog_message_vendor = 'common.bids.infoDialog.message.vendor',\n /** \"The broker/shipper will respond to your interactive bid here. Load posters will have the option to Accept or Reject your bid offer and may send counteroffers.\" */ common_bids_infoDialog_message_interactiveOnly = 'common.bids.infoDialog.message.interactiveOnly',\n /** \"Depending on the load, bidding on loads will either be interactive or not:\\n\\nBids: \" */ common_bids_infoDialog_message_introBothActive = 'common.bids.infoDialog.message.introBothActive',\n /** \"\\n\\nInteractive bids: The broker/shipper will respond to your Bid within the “Interactive bids” section of the Bids tool. Load posters will have the option to Accept or Reject your bid offer and may send counteroffers.\" */ common_bids_infoDialog_message_interactiveBothActive = 'common.bids.infoDialog.message.interactiveBothActive',\n /** \"Mark all bids as viewed\" */ common_bids_markAllAsViewed_title = 'common.bids.markAllAsViewed.title',\n /** \"All unviewed bids have been marked as viewed.\" */ common_bids_markAllAsViewed_success = 'common.bids.markAllAsViewed.success',\n /** \"Failed to mark all unviewed bids as viewed.\" */ common_bids_markAllAsViewed_failure = 'common.bids.markAllAsViewed.failure',\n /** \"Action required\" */ common_bids_status_actionRequired = 'common.bids.status.actionRequired',\n /** \"Confirmed\" */ common_bids_status_confirmed = 'common.bids.status.confirmed',\n /** \"Assigned\" */ common_bids_status_assigned = 'common.bids.status.assigned',\n /** \"Pending\" */ common_bids_status_pending = 'common.bids.status.pending',\n /** \"Rejected\" */ common_bids_status_rejected = 'common.bids.status.rejected',\n /** \"Withdrawn\" */ common_bids_status_withdrawn = 'common.bids.status.withdrawn',\n /** \"Unknown\" */ common_bids_status_unknown = 'common.bids.status.unknown',\n /** \"Accepted\" */ common_bids_status_accepted = 'common.bids.status.accepted',\n /** \"Expiration time\" */ common_bids_expirationTime_title = 'common.bids.expirationTime.title',\n /** \"Expiration time *\" */ common_bids_expirationTime_label = 'common.bids.expirationTime.label',\n /** \"Select expiration time, after which the bid will be automatically withdrawn.\" */ common_bids_expirationTime_message = 'common.bids.expirationTime.message',\n /** \"Expiration time is required.\" */ common_bids_expirationTime_requiredError = 'common.bids.expirationTime.requiredError',\n /** \"Bid offer will be withdrawn in\" */ common_bids_expirationTime_bannerText = 'common.bids.expirationTime.bannerText',\n /** \"Place bid\" */ common_bids_placeBid_title = 'common.bids.placeBid.title',\n /** \"Before you bid, please ensure that you meet these requirements.\" */ common_bids_placeBid_message = 'common.bids.placeBid.message',\n /** \"Enter your bid amount below.\" */ common_bids_placeBid_enterBid = 'common.bids.placeBid.enterBid',\n /** \"Edit offer\" */ common_bids_editBid_title = 'common.bids.editBid.title',\n /** \"Previous offer was placed on {{date}} for {{amount}}.\\n\\nIn order to edit this offer, fill in the form below.\" */ common_bids_editBid_message = 'common.bids.editBid.message',\n /** \"Counteroffer\" */ common_bids_placeCounterOffer_title = 'common.bids.placeCounterOffer.title',\n /** \"The carrier placed a bid for {{amount}} on {{date}}.\\n\\nYou may submit your counteroffer by filling in the form below.\" */ common_bids_placeCounterOffer_message = 'common.bids.placeCounterOffer.message',\n /** \"The load poster placed a bid for {{amount}} on {{date}}.\\n\\nYou may submit your counteroffer by filling in the form below.\" */ common_bids_placeCounterOffer_messageCarrier = 'common.bids.placeCounterOffer.messageCarrier',\n /** \"Verify your DOT#\" */ common_bids_dotVerification_popup_title = 'common.bids.dotVerification.popup.title',\n /** \"Only users with a verified DOT# can place bids.\" */ common_bids_dotVerification_popup_content = 'common.bids.dotVerification.popup.content',\n /** \"Verify now\" */ common_bids_dotVerification_popup_button = 'common.bids.dotVerification.popup.button',\n /** \"No bids placed\" */ common_bids_empty_title = 'common.bids.empty.title',\n /** \"When carriers submit bids, they will appear here.\" */ common_bids_empty_message_broker = 'common.bids.empty.message.broker',\n /** \"When you place bids on loads with Interactive Bidding enabled, they will appear here.\" */ common_bids_empty_message_carrier = 'common.bids.empty.message.carrier',\n /** \"Flat rate is too low.\" */ common_bids_validation_tooLow = 'common.bids.validation.tooLow',\n /** \"New offer must be different value than previous offer.\" */ common_bids_validation_sameValue = 'common.bids.validation.sameValue',\n /** \"Bidding summary\" */ common_bids_biddingSummary_title = 'common.bids.biddingSummary.title',\n /** \"Bid summary\" */ common_bids_summary_title = 'common.bids.summary.title',\n /** \"View load details\" */ common_bids_summary_menu_viewLoadDetails = 'common.bids.summary.menu.viewLoadDetails',\n /** \"When your bid has gotten a response, you can accept and confirm your availability.\" */ common_bids_summary_bannerMessage_carrier_placedBid = 'common.bids.summary.bannerMessage.carrier.placedBid',\n /** \"Thank you for confirming your availability.\" */ common_bids_summary_bannerMessage_carrier_confirmed = 'common.bids.summary.bannerMessage.carrier.confirmed',\n /** \"For personal reference, this load has been marked as “Assigned” by the load poster.\" */ common_bids_summary_bannerMessage_carrier_assigned = 'common.bids.summary.bannerMessage.carrier.assigned',\n /** \"When carriers bid on this load, you can accept, reject, or provide a counteroffer.\" */ common_bids_summary_bannerMessage_broker_message = 'common.bids.summary.bannerMessage.broker.message',\n /** \"other party\" */ common_bids_summary_otherParty = 'common.bids.summary.otherParty',\n /** \"Waiting for {{broker}} to accept or reject your {{amount}} bid.\" */ common_bids_summary_messages_sentOffer = 'common.bids.summary.messages.sentOffer',\n /** \"{{broker}} has accepted your {{amount}} bid. Confirm your availability to haul this load.\" */ common_bids_summary_messages_sentOfferAccepted = 'common.bids.summary.messages.sentOfferAccepted',\n /** \"{{broker}} has rejected your {{amount}} offer.\" */ common_bids_summary_messages_sentOfferRejected = 'common.bids.summary.messages.sentOfferRejected',\n /** \"You have withdrawn your {{amount}} offer to {{broker}}\" */ common_bids_summary_messages_sentOfferWithdrawn = 'common.bids.summary.messages.sentOfferWithdrawn',\n /** \"{{broker}} has withdrawn their {{amount}} offer.\" */ common_bids_summary_messages_sentOfferWithdrawnByBroker = 'common.bids.summary.messages.sentOfferWithdrawnByBroker',\n /** \"Waiting for {{broker}} to confirm.\" */ common_bids_summary_messages_receivedOfferAccepted = 'common.bids.summary.messages.receivedOfferAccepted',\n /** \"You have rejected the {{amount}} offer by {{broker}}.\" */ common_bids_summary_messages_receivedOfferRejected = 'common.bids.summary.messages.receivedOfferRejected',\n /** \"{{broker}} has counteroffered {{amount}}. Please review and respond.\" */ common_bids_summary_messages_receivedCounterOffer = 'common.bids.summary.messages.receivedCounterOffer',\n /** \"You have confirmed your availability to haul {{broker}}'s load for {{amount}}.\" */ common_bids_summary_messages_carrier_confirmed = 'common.bids.summary.messages.carrier.confirmed',\n /** \"{{broker}} has assigned this load to you for {{amount}}\" */ common_bids_summary_messages_carrier_assigned = 'common.bids.summary.messages.carrier.assigned',\n /** \"To complete this booking, please send the Rate Confirmation to this carrier.\" */ common_bids_summary_messages_broker_sendConfirmation = 'common.bids.summary.messages.broker.sendConfirmation',\n /** \"{{broker}} has accepted your {{amount}} offer.\" */ common_bids_summary_messages_accepted = 'common.bids.summary.messages.accepted',\n /** \"History\" */ common_bids_summary_history = 'common.bids.summary.history',\n /** \"Your Offer\" */ common_bids_bidItem_titles_offer = 'common.bids.bidItem.titles.offer',\n /** \"Load poster's counteroffer\" */ common_bids_bidItem_titles_counterOffer = 'common.bids.bidItem.titles.counterOffer',\n /** \"Load available\" */ common_bids_bidItem_titles_available = 'common.bids.bidItem.titles.available',\n /** \"Your Offer\" */ common_bids_bidItem_titles_yourOffer = 'common.bids.bidItem.titles.yourOffer',\n /** \"Your counteroffer\" */ common_bids_bidItem_titles_yourCounteroffer = 'common.bids.bidItem.titles.yourCounteroffer',\n /** \"Carrier's offer\" */ common_bids_bidItem_titles_carrierOffer = 'common.bids.bidItem.titles.carrierOffer',\n /** \"Load poster counter offer\" */ common_bids_bidItem_titles_loadPostCounteroffer = 'common.bids.bidItem.titles.loadPostCounteroffer',\n /** \"Could not load\" */ common_bids_bidItem_failedToUpdate = 'common.bids.bidItem.failedToUpdate',\n /** \"Place bid\" */ common_bids_bidItem_actions_placeBid = 'common.bids.bidItem.actions.placeBid',\n /** \"Confirm\" */ common_bids_bidItem_actions_confirm = 'common.bids.bidItem.actions.confirm',\n /** \"Accept\" */ common_bids_bidItem_actions_accept = 'common.bids.bidItem.actions.accept',\n /** \"Assign\" */ common_bids_bidItem_actions_assign = 'common.bids.bidItem.actions.assign',\n /** \"Counteroffer\" */ common_bids_bidItem_actions_counter = 'common.bids.bidItem.actions.counter',\n /** \"Reject\" */ common_bids_bidItem_actions_reject = 'common.bids.bidItem.actions.reject',\n /** \"Edit\" */ common_bids_bidItem_actions_edit = 'common.bids.bidItem.actions.edit',\n /** \"Cancel\" */ common_bids_bidItem_actions_cancel = 'common.bids.bidItem.actions.cancel',\n /** \"Waiting for load poster to respond to your offer.\\n\\nYou may edit your bid if necessary. Editing your bid will cause your previous bid to be withdrawn.\\n\\nIf for any reason you need to cancel this bid offer, please click “Cancel”.\" */ common_bids_bidItem_messages_sentOffer = 'common.bids.bidItem.messages.sentOffer',\n /** \"Please respond to this offer. You may accept, submit a counteroffer, or reject.\" */ common_bids_bidItem_messages_receivedOffer = 'common.bids.bidItem.messages.receivedOffer',\n /** \"{{broker}} has offered {{amount}}. You may accept, submit a counteroffer, or reject.\" */ common_bids_bidItem_messages_carrier_receivedOffer = 'common.bids.bidItem.messages.carrier.receivedOffer',\n /** \"This load is available for you to place a bid.\" */ common_bids_bidItem_messages_carrier_available = 'common.bids.bidItem.messages.carrier.available',\n /** \"{{broker}} has accepted your {{amount}} bid. Confirm your availability to haul this load.\" */ common_bids_bidItem_messages_carrier_sentOfferAccepted = 'common.bids.bidItem.messages.carrier.sentOfferAccepted',\n /** \"Waiting for the load poster to confirm that the load is still available.\\n\\nIf for any reason you need to cancel this bid offer, please click “Cancel”.\" */ common_bids_bidItem_messages_carrier_receivedOfferAccepted = 'common.bids.bidItem.messages.carrier.receivedOfferAccepted',\n /** \"You will be contacted by the load poster to complete the booking process.\" */ common_bids_bidItem_messages_carrier_confirmed_part1 = 'common.bids.bidItem.messages.carrier.confirmed.part1',\n /** \"Note: Loads are time-sensitive, so please respond as quickly as possible. Otherwise, you may not be able to haul this load.\" */ common_bids_bidItem_messages_carrier_confirmed_part2 = 'common.bids.bidItem.messages.carrier.confirmed.part2',\n /** \"Drive safely!\" */ common_bids_bidItem_messages_carrier_assigned = 'common.bids.bidItem.messages.carrier.assigned',\n /** \"Waiting for the carrier to confirm your counteroffer.\\n\\nYou may edit your counteroffer if necessary. Editing will cause your previous counteroffer to be withdrawn.\" */ common_bids_bidItem_messages_broker_sentCounteroffer = 'common.bids.bidItem.messages.broker.sentCounteroffer',\n /** \"Your counteroffer was accepted by the carrier. Please confirm that the load is still available.\" */ common_bids_bidItem_messages_broker_sentOfferAccepted = 'common.bids.bidItem.messages.broker.sentOfferAccepted',\n /** \"Waiting for {{otherParty}} to confirm their availability.\" */ common_bids_bidItem_messages_broker_receivedOfferAcceptedListCard = 'common.bids.bidItem.messages.broker.receivedOfferAcceptedListCard',\n /** \"Waiting for confirmation from the carrier. Once the carrier has confirmed their availability, you can contact the carrier and complete this booking through your normal procedures.\\n\\nIf for any reason you need to cancel this bid offer, please click “Cancel”.\" */ common_bids_bidItem_messages_broker_receivedOfferAccepted = 'common.bids.bidItem.messages.broker.receivedOfferAccepted',\n /** \"To complete this booking, contact the carrier through your normal procedures.\\n\\nYou may also send any attachments to this carrier at:\" */ common_bids_bidItem_messages_broker_confirmed = 'common.bids.bidItem.messages.broker.confirmed',\n /** \"For your own reference, please check the box when you have received the signed Rate Confirmation.\" */ common_bids_bidItem_messages_broker_assigned = 'common.bids.bidItem.messages.broker.assigned',\n /** \"View\" */ common_bids_buttons_view = 'common.bids.buttons.view',\n /** \"Bid\" */ common_bids_buttons_bid = 'common.bids.buttons.bid',\n /** \"Failed to place bid\" */ common_bids_error_failedToPlaceBid = 'common.bids.error.failedToPlaceBid',\n /** \"An error occurred while sending a bid to the company.\" */ common_bids_error_sendingFailed = 'common.bids.error.sendingFailed',\n /** \"There was an error processing this bid. Updating the app may resolve this issue.\" */ common_bids_error_statusUnknown = 'common.bids.error.statusUnknown',\n /** \"Something went wrong. Please reload the page and try again.\" */ common_bids_error_somethingWentWrong = 'common.bids.error.somethingWentWrong',\n /** \"Start receiving bids from carriers on your posted loads. Activating bidding will allow you to Accept, Reject, or Counteroffer any bids placed on your loads.\\n\\n Call \" */ common_bids_disabled_message = 'common.bids.disabled.message',\n /** \" to activate this free feature.\" */ common_bids_disabled_activate = 'common.bids.disabled.activate',\n /** \"877-875-5301 ex 2\" */ common_bids_disabled_phoneNumber = 'common.bids.disabled.phoneNumber',\n /** \"Filtering may reduce results\" */ common_bids_filterMessage = 'common.bids.filterMessage',\n /** \"Please select to filter your results.\" */ common_bids_filterSubtitle = 'common.bids.filterSubtitle',\n /** \"No matches\" */ common_bids_noMatches_title = 'common.bids.noMatches.title',\n /** \"Please refine your filter criteria\" */ common_bids_noMatches_subtitle = 'common.bids.noMatches.subtitle',\n /** \"Company\" */ common_truck_Company = 'common.truck.Company',\n /** \"Deadhead\" */ common_truck_Deadhead_Short = 'common.truck.Deadhead_Short',\n /** \"Deadhead Miles\" */ common_truck_Deadhead_Long = 'common.truck.Deadhead_Long',\n /** \"MC# / USDOT\" */ common_truck_MC_USDOT = 'common.truck.MC_USDOT',\n /** \"Authority (MC#)\" */ common_truck_Authority = 'common.truck.Authority',\n /** \"MCS-150 form date\" */ common_truck_MCS150 = 'common.truck.MCS150',\n /** \"MCS-150 form date refers to the last time this carrier modified their business data with the FMCSA. This date is based on the most recently submitted MCS-150 form.\" */ common_truck_MCS150_Popup = 'common.truck.MCS150_Popup',\n /** \"Areas of operation based on this carrier’s load searches.\" */ common_truck_Carrier_History_Map = 'common.truck.Carrier_History_Map',\n /** \"Next available\" */ common_truck_Next_Available = 'common.truck.Next_Available',\n /** \"Carrier\" */ common_truck_Carrier = 'common.truck.Carrier',\n /** \"Equipment\" */ common_truck_Equipment = 'common.truck.Equipment',\n /** \"Size\" */ common_truck_Size = 'common.truck.Size',\n /** \"Available Capacity\" */ common_truck_Available_Capacity = 'common.truck.Available_Capacity',\n /** \"Insurance (USD)\" */ common_truck_Insurance = 'common.truck.Insurance',\n /** \"Auth. insurance\" */ common_truck_Auth_Insurance_Short = 'common.truck.Auth_Insurance_Short',\n /** \"Auth. issuance\" */ common_truck_Auth_Issuance_Short = 'common.truck.Auth_Issuance_Short',\n /** \"Authority insurance\" */ common_truck_Auth_Insurance_Long = 'common.truck.Auth_Insurance_Long',\n /** \"Authority issuance\" */ common_truck_Auth_Issuance_Long = 'common.truck.Auth_Issuance_Long',\n /** \"Telephone number\" */ common_truck_Phone_Number = 'common.truck.Phone_Number',\n /** \"Alert sent\" */ common_truck_Alert_Sent = 'common.truck.Alert_Sent',\n /** \"Desired rate\" */ common_truck_desiredRate = 'common.truck.desiredRate',\n /** \"Today\" */ common_truck_Now = 'common.truck.Now',\n /** \"{{min}} ft - {{max}} ft\" */ common_truck_spec_length = 'common.truck.spec.length',\n /** \"{{min}} lbs - {{max}} lbs\" */ common_truck_spec_weight = 'common.truck.spec.weight',\n /** \"{{min}} lb - {{max}} lbs\" */ common_truck_spec_small_weight = 'common.truck.spec.small_weight',\n /** \"Post truck\" */ common_postTruck_title = 'common.postTruck.title',\n /** \"Post your truck and brokers/shippers will contact you with offers to haul their loads.\" */ common_postTruck_postTruckText = 'common.postTruck.postTruckText',\n /** \"Find loads\" */ common_postTruck_findLoadsLink = 'common.postTruck.findLoadsLink',\n /** \"Posted trucks\" */ common_postTruck_sectionTitle = 'common.postTruck.sectionTitle',\n /** \"Post your truck so brokers and shippers with available loads can contact you with offers to haul their freight.\" */ common_postTruck_infoDialogContent = 'common.postTruck.infoDialogContent',\n /** \"Real-time truck post\" */ common_postTruck_truckPost_realTimePosts = 'common.postTruck.truckPost.realTimePosts',\n /** \"Scheduled truck posts\" */ common_postTruck_truckPost_scheduledPosts = 'common.postTruck.truckPost.scheduledPosts',\n /** \"Expired truck posts\" */ common_postTruck_truckPost_expiredPosts = 'common.postTruck.truckPost.expiredPosts',\n /** \"Create new post\" */ common_postTruck_truckPost_createNewPost = 'common.postTruck.truckPost.createNewPost',\n /** \"Total trip: \" */ common_postTruck_pcMiler_totalTripText = 'common.postTruck.pcMiler.totalTripText',\n /** \"Average rate by rate check: \" */ common_postTruck_avgRate_avgRateText = 'common.postTruck.avgRate.avgRateText',\n /** \"{{value}}/mi\" */ common_postTruck_avgRate_avgRateLabel = 'common.postTruck.avgRate.avgRateLabel',\n /** \"Desired rate per mile\" */ common_postTruck_minRate_title = 'common.postTruck.minRate.title',\n /** \"/mile($)\" */ common_postTruck_minRate_inputLabel = 'common.postTruck.minRate.inputLabel',\n /** \"If you have a preferred rate-per-mile, you may receive more relevant load alerts sent by brokers and shippers by posting your truck with a desired rate.\" */ common_postTruck_minRate_info = 'common.postTruck.minRate.info',\n /** \"This field cannot be over ${{max}}\" */ common_postTruck_minRate_maxError = 'common.postTruck.minRate.maxError',\n /** \"Additional info\" */ common_postTruck_additionalInfo_title = 'common.postTruck.additionalInfo.title',\n /** \"Enter any additional information or special instructions relating to the load that aren’t covered by the other fields.\" */ common_postTruck_additionalInfo_info = 'common.postTruck.additionalInfo.info',\n /** \"Add a note\" */ common_postTruck_additionalInfo_inputLabel = 'common.postTruck.additionalInfo.inputLabel',\n /** \"Additional info from carrier\" */ common_postTruck_additionalInfo_previewDescription = 'common.postTruck.additionalInfo.previewDescription',\n /** \"Team driven\" */ common_postTruck_teamDriven = 'common.postTruck.teamDriven',\n /** \"My truck\" */ common_postTruck_postForm_myTuck = 'common.postTruck.postForm.myTuck',\n /** \"Available capacity\" */ common_postTruck_postForm_availibleCapacity = 'common.postTruck.postForm.availibleCapacity',\n /** \"Post truck\" */ common_postTruck_postForm_post = 'common.postTruck.postForm.post',\n /** \"Anonymous\" */ common_postTruck_AnonymousPost_header = 'common.postTruck.AnonymousPost.header',\n /** \"years\" */ common_postTruck_AnonymousPost_years = 'common.postTruck.AnonymousPost.years',\n /** \"<1 years\" */ common_postTruck_AnonymousPost_lessThanOneYear = 'common.postTruck.AnonymousPost.lessThanOneYear',\n /** \"Post anonymously\" */ common_postTruck_AnonymousPost_AnonymousPopup_title = 'common.postTruck.AnonymousPost.AnonymousPopup.title',\n /** \"Posting your truck anonymously reduces the amount of potentially unwanted calls and gives you the ability to act on the loads you want to haul.\" */ common_postTruck_AnonymousPost_AnonymousPopup_paragraph = 'common.postTruck.AnonymousPost.AnonymousPopup.paragraph',\n /** \"The following details will be hidden from brokers and shippers:\" */ common_postTruck_AnonymousPost_AnonymousPopup_listTitle = 'common.postTruck.AnonymousPost.AnonymousPopup.listTitle',\n /** \"your name\" */ common_postTruck_AnonymousPost_AnonymousPopup_listItemOne = 'common.postTruck.AnonymousPost.AnonymousPopup.listItemOne',\n /** \"your company name\" */ common_postTruck_AnonymousPost_AnonymousPopup_listItemTwo = 'common.postTruck.AnonymousPost.AnonymousPopup.listItemTwo',\n /** \"MC# & DOT#\" */ common_postTruck_AnonymousPost_AnonymousPopup_listItemThree = 'common.postTruck.AnonymousPost.AnonymousPopup.listItemThree',\n /** \"your phone & email\" */ common_postTruck_AnonymousPost_AnonymousPopup_listItemFour = 'common.postTruck.AnonymousPost.AnonymousPopup.listItemFour',\n /** \"Real-time truck post\" */ common_postTruck_noPostedTrucksScreen_realTime_title = 'common.postTruck.noPostedTrucksScreen.realTime.title',\n /** \"Create a real-time truck post so you can receive load offers wherever you are.\" */ common_postTruck_noPostedTrucksScreen_realTime_subtitle = 'common.postTruck.noPostedTrucksScreen.realTime.subtitle',\n /** \"Real-time truck posting is available on our mobile app only. Download our mobile app and assign this truck to your mobile device to activate Real-time truck posting.\" */ common_postTruck_noPostedTrucksScreen_realTime_goToApp = 'common.postTruck.noPostedTrucksScreen.realTime.goToApp',\n /** \"Scheduled truck posts\" */ common_postTruck_noPostedTrucksScreen_scheduled_title = 'common.postTruck.noPostedTrucksScreen.scheduled.title',\n /** \"Create a scheduled truck post when you know you’re going to be somewhere and would like to receive load offers ahead of time.\" */ common_postTruck_noPostedTrucksScreen_scheduled_subtitle = 'common.postTruck.noPostedTrucksScreen.scheduled.subtitle',\n /** \"Expired truck posts\" */ common_postTruck_noPostedTrucksScreen_expired_title = 'common.postTruck.noPostedTrucksScreen.expired.title',\n /** \"Truck posts that are past their posted date will appear here until their dates are changed or they are deleted.\" */ common_postTruck_noPostedTrucksScreen_expired_subtitle = 'common.postTruck.noPostedTrucksScreen.expired.subtitle',\n /** \"New truck\" */ common_postTruck_myTruck_newTruck = 'common.postTruck.myTruck.newTruck',\n /** \"Add truck\" */ common_postTruck_myTruck_addTruck = 'common.postTruck.myTruck.addTruck',\n /** \"Edit truck\" */ common_postTruck_myTruck_editTruck = 'common.postTruck.myTruck.editTruck',\n /** \"Add new truck\" */ common_postTruck_myTruck_addNewTruck = 'common.postTruck.myTruck.addNewTruck',\n /** \"You currently have no trucks on your account. To begin posting your truck, please add one.\" */ common_postTruck_myTruck_noTrucksText = 'common.postTruck.myTruck.noTrucksText',\n /** \"Truck specifications\" */ common_postTruck_myTruck_truckSpacification = 'common.postTruck.myTruck.truckSpacification',\n /** \"Truck name\" */ common_postTruck_myTruck_truckName = 'common.postTruck.myTruck.truckName',\n /** \"{{length}} lbs, {{weight}} ft\" */ common_postTruck_myTruck_spec_cardSpec = 'common.postTruck.myTruck.spec.cardSpec',\n /** \"{{type}} ({{name}})\" */ common_postTruck_myTruck_spec_cardName = 'common.postTruck.myTruck.spec.cardName',\n /** \"There was an error updating your truck specifications\" */ common_postTruck_myTruck_toast_updateError = 'common.postTruck.myTruck.toast.updateError',\n /** \"Truck specifications saved.\" */ common_postTruck_myTruck_toast_updateSuccess = 'common.postTruck.myTruck.toast.updateSuccess',\n /** \"There was an error deleting your truck\" */ common_postTruck_myTruck_toast_deleteError = 'common.postTruck.myTruck.toast.deleteError',\n /** \"Truck deleted.\" */ common_postTruck_myTruck_toast_deleteSuccess = 'common.postTruck.myTruck.toast.deleteSuccess',\n /** \"Truck was added successfully\" */ common_postTruck_myTruck_toast_savedSuccess = 'common.postTruck.myTruck.toast.savedSuccess',\n /** \"There was an error adding your truck\" */ common_postTruck_myTruck_toast_savedError = 'common.postTruck.myTruck.toast.savedError',\n /** \"Please choose a different name, the truck name you choose is already assigned to another truck.\" */ common_postTruck_myTruck_toast_nameError = 'common.postTruck.myTruck.toast.nameError',\n /** \"Post updated\" */ common_postTruck_snackBar_updated = 'common.postTruck.snackBar.updated',\n /** \"Post failed to update\" */ common_postTruck_snackBar_failedToUpdate = 'common.postTruck.snackBar.failedToUpdate',\n /** \"Post deleted\" */ common_postTruck_snackBar_postDeleted = 'common.postTruck.snackBar.postDeleted',\n /** \"Post failed to delete\" */ common_postTruck_snackBar_failedToDelete = 'common.postTruck.snackBar.failedToDelete',\n /** \"Post saved\" */ common_postTruck_snackBar_saved = 'common.postTruck.snackBar.saved',\n /** \"Post failed to save\" */ common_postTruck_snackBar_failedToSave = 'common.postTruck.snackBar.failedToSave',\n /** \"All expired were deleted successfully\" */ common_postTruck_snackBar_expiredPostsDeleted = 'common.postTruck.snackBar.expiredPostsDeleted',\n /** \"Failed to delete expired trucks\" */ common_postTruck_snackBar_expiredPostsFailedToDelete = 'common.postTruck.snackBar.expiredPostsFailedToDelete',\n /** \"Truck in use\" */ common_postTruck_popUps_truckInUseRealTime_title = 'common.postTruck.popUps.truckInUseRealTime.title',\n /** \"This truck is already associated with another device. You can create a new truck post that will not affect other devices.\" */ common_postTruck_popUps_truckInUseRealTime_body1 = 'common.postTruck.popUps.truckInUseRealTime.body1',\n /** \"If you post this truck, it will be associated to this device instead.\" */ common_postTruck_popUps_truckInUseRealTime_body2 = 'common.postTruck.popUps.truckInUseRealTime.body2',\n /** \"Post\" */ common_postTruck_popUps_truckInUseRealTime_button = 'common.postTruck.popUps.truckInUseRealTime.button',\n /** \"Truck in use\" */ common_postTruck_popUps_truckInUseDelete_title = 'common.postTruck.popUps.truckInUseDelete.title',\n /** \"This truck has already been posted. Deleting this truck will also delete all postings it is associated with.\" */ common_postTruck_popUps_truckInUseDelete_body = 'common.postTruck.popUps.truckInUseDelete.body',\n /** \"Delete\" */ common_postTruck_popUps_truckInUseDelete_button = 'common.postTruck.popUps.truckInUseDelete.button',\n /** \"Delete truck\" */ common_postTruck_popUps_deleteTruck_title = 'common.postTruck.popUps.deleteTruck.title',\n /** \"Are you sure you would like to delete the selected truck?\" */ common_postTruck_popUps_deleteTruck_body = 'common.postTruck.popUps.deleteTruck.body',\n /** \"Delete\" */ common_postTruck_popUps_deleteTruck_button = 'common.postTruck.popUps.deleteTruck.button',\n /** \"Delete truck post\" */ common_postTruck_popUps_deleteTruckPost_title = 'common.postTruck.popUps.deleteTruckPost.title',\n /** \"Are you sure you want to delete this truck post?\" */ common_postTruck_popUps_deleteTruckPost_body = 'common.postTruck.popUps.deleteTruckPost.body',\n /** \"Delete\" */ common_postTruck_popUps_deleteTruckPost_button = 'common.postTruck.popUps.deleteTruckPost.button',\n /** \"Truck name in use\" */ common_postTruck_popUps_duplicateName_title = 'common.postTruck.popUps.duplicateName.title',\n /** \"The display name is already associated to one of your trucks. Please choose another name for your truck.\" */ common_postTruck_popUps_duplicateName_body = 'common.postTruck.popUps.duplicateName.body',\n /** \"Ok\" */ common_postTruck_popUps_duplicateName_button = 'common.postTruck.popUps.duplicateName.button',\n /** \"Clear all expired posts\" */ common_postTruck_popUps_clearAll_title = 'common.postTruck.popUps.clearAll.title',\n /** \"Are you sure you want to delete all your expired posts?\" */ common_postTruck_popUps_clearAll_content = 'common.postTruck.popUps.clearAll.content',\n /** \"Post truck if you need a backhaul.\" */ common_postTruck_loadDetails_action = 'common.postTruck.loadDetails.action',\n /** \"Posted truck load alerts\" */ common_postTruck_alerts_sectionTitle = 'common.postTruck.alerts.sectionTitle',\n /** \"Load alerts about available loads are sent by brokers and shippers when they see your posted truck.\" */ common_postTruck_alerts_infoDialogContent = 'common.postTruck.alerts.infoDialogContent',\n /** \"What is rate check?\" */ common_infoModal_rateCheck_title = 'common.infoModal.rateCheck.title',\n /** \"Rate check provides the average market rate to help compare lane rates before accepting loads and better estimate your load revenues.\" */ common_infoModal_rateCheck_subtitle = 'common.infoModal.rateCheck.subtitle',\n /** \"What is PC*Miler?\" */ common_infoModal_pcMiler_title = 'common.infoModal.pcMiler.title',\n /** \"PC*Miler calculates trucking-specific mileage to provide carriers with the most accurate and reliable route data: allowing for better planning and no suprises along the way.\" */ common_infoModal_pcMiler_subtitle = 'common.infoModal.pcMiler.subtitle',\n /** \"Load alerts\" */ common_loadAlert_title = 'common.loadAlert.title',\n /** \"No load alerts\" */ common_loadAlert_emptyTitle = 'common.loadAlert.emptyTitle',\n /** \"To receive alerts, be sure to post your truck.\" */ common_loadAlert_emptySubtitle = 'common.loadAlert.emptySubtitle',\n /** \"Load alert\" */ common_loadAlert_alertLoad = 'common.loadAlert.alertLoad',\n /** \"Mark as unread\" */ common_loadAlert_markUnread = 'common.loadAlert.markUnread',\n /** \"Deadhead miles\" */ common_sortByKeys_deadheadMiles = 'common.sortByKeys.deadheadMiles',\n /** \"Deadhead\" */ common_sortByKeys_origin = 'common.sortByKeys.origin',\n /** \"Pickup date\" */ common_sortByKeys_pickupDate = 'common.sortByKeys.pickupDate',\n /** \"Date:{{date}}\" */ common_sortByKeys_pickupDateWithDate = 'common.sortByKeys.pickupDateWithDate',\n /** \"Trip distance\" */ common_sortByKeys_distance = 'common.sortByKeys.distance',\n /** \"Trip rate\" */ common_sortByKeys_rate = 'common.sortByKeys.rate',\n /** \"Rate per mile\" */ common_sortByKeys_pricePerMile = 'common.sortByKeys.pricePerMile',\n /** \"Age\" */ common_sortByKeys_postedAge = 'common.sortByKeys.postedAge',\n /** \"Views\" */ common_sortByKeys_views = 'common.sortByKeys.views',\n /** \"Weight\" */ common_sortByKeys_weight = 'common.sortByKeys.weight',\n /** \"Length\" */ common_sortByKeys_length = 'common.sortByKeys.length',\n /** \"Distance\" */ common_sortByKeys_mileage = 'common.sortByKeys.mileage',\n /** \"Posted Rate\" */ common_sortByKeys_amount = 'common.sortByKeys.amount',\n /** \"Rate Check\" */ common_sortByKeys_rateCheck = 'common.sortByKeys.rateCheck',\n /** \"Company name\" */ common_sortByKeys_company = 'common.sortByKeys.company',\n /** \"Credit score\" */ common_sortByKeys_creditScore = 'common.sortByKeys.creditScore',\n /** \"Days-to-pay\" */ common_sortByKeys_daysToPay = 'common.sortByKeys.daysToPay',\n /** \"Trip (mi)\" */ common_sortByKeys_trip = 'common.sortByKeys.trip',\n /** \"Rate ($)\" */ common_sortByKeys_tripRate = 'common.sortByKeys.tripRate',\n /** \"Equipment\" */ common_sortByKeys_equipment = 'common.sortByKeys.equipment',\n /** \"Size\" */ common_sortByKeys_size = 'common.sortByKeys.size',\n /** \"Weight (lb)\" */ common_sortByKeys_weightLb = 'common.sortByKeys.weightLb',\n /** \"Length (ft)\" */ common_sortByKeys_lengthFt = 'common.sortByKeys.lengthFt',\n /** \"Ref#\" */ common_sortByKeys_ref = 'common.sortByKeys.ref',\n /** \"Location\" */ common_sortByKeys_searchDirectory_location = 'common.sortByKeys.searchDirectory.location',\n /** \"USDOT#\" */ common_sortByKeys_searchDirectory_USDOT = 'common.sortByKeys.searchDirectory.USDOT',\n /** \"MC#\" */ common_sortByKeys_searchDirectory_MCNO = 'common.sortByKeys.searchDirectory.MCNO',\n /** \"Phone\" */ common_sortByKeys_searchDirectory_phone = 'common.sortByKeys.searchDirectory.phone',\n /** \"Card\" */ common_viewKeys_cards = 'common.viewKeys.cards',\n /** \"List\" */ common_viewKeys_list = 'common.viewKeys.list',\n /** \"Map\" */ common_viewKeys_map = 'common.viewKeys.map',\n /** \"View: {{value}}\" */ common_viewKeys_view = 'common.viewKeys.view',\n /** \"Age\" */ common_search_age = 'common.search.age',\n /** \"Pick up\" */ common_search_pickUp = 'common.search.pickUp',\n /** \"Pick up location\" */ common_search_pickUpLocation = 'common.search.pickUpLocation',\n /** \"Drop off location\" */ common_search_dropOffLocation = 'common.search.dropOffLocation',\n /** \"Trip\" */ common_search_trip = 'common.search.trip',\n /** \"Rate\" */ common_search_rate = 'common.search.rate',\n /** \"Avg. rate\" */ common_search_avgRate = 'common.search.avgRate',\n /** \"Equip\" */ common_search_equip = 'common.search.equip',\n /** \"Size\" */ common_search_size = 'common.search.size',\n /** \"Company\" */ common_search_company = 'common.search.company',\n /** \"Status\" */ common_search_status = 'common.search.status',\n /** \"Ft\" */ common_search_ft = 'common.search.ft',\n /** \"Lb\" */ common_search_lb = 'common.search.lb',\n /** \"Small truck loads\" */ common_smallTruckLoadsDialog_title = 'common.smallTruckLoadsDialog.title',\n /** \"To find the best results for smaller trucks, we recommend that you select the following equipment types:\" */ common_smallTruckLoadsDialog_content = 'common.smallTruckLoadsDialog.content',\n /** \"minutes\" */ common_time_minutes = 'common.time.minutes',\n /** \"1m\" */ common_time_oneMinute = 'common.time.oneMinute',\n /** \"y\" */ common_time_abbreviation_Year = 'common.time.abbreviation.Year',\n /** \"d\" */ common_time_abbreviation_Days = 'common.time.abbreviation.Days',\n /** \"h\" */ common_time_abbreviation_Hours = 'common.time.abbreviation.Hours',\n /** \"hr\" */ common_time_abbreviation_HoursAlt = 'common.time.abbreviation.HoursAlt',\n /** \"min\" */ common_time_abbreviation_Minutes = 'common.time.abbreviation.Minutes',\n /** \"m\" */ common_time_abbreviation_MinutesShort = 'common.time.abbreviation.MinutesShort',\n /** \"s\" */ common_time_abbreviation_Seconds = 'common.time.abbreviation.Seconds',\n /** \"mo\" */ common_time_abbreviation_Month = 'common.time.abbreviation.Month',\n /** \"yr\" */ common_time_abbreviation_yearAlt = 'common.time.abbreviation.yearAlt',\n /** \"Recent searches\" */ common_recentSearch_title = 'common.recentSearch.title',\n /** \"Search saved\" */ common_savedSearches_searchSaved = 'common.savedSearches.searchSaved',\n /** \"Search removed\" */ common_savedSearches_savedSearchRemoved = 'common.savedSearches.savedSearchRemoved',\n /** \"Alert saved\" */ common_savedSearches_alertSaved = 'common.savedSearches.alertSaved',\n /** \"Alert removed\" */ common_savedSearches_alertRemoved = 'common.savedSearches.alertRemoved',\n /** \"Unable to save\" */ common_savedSearches_unableToSave = 'common.savedSearches.unableToSave',\n /** \"Your search could not be saved. Please move the map to another location and try again.\" */ common_savedSearches_unableToSaveReason = 'common.savedSearches.unableToSaveReason',\n /** \"Deleted search\" */ common_namedSearch_deletedSearch = 'common.namedSearch.deletedSearch',\n /** \"This search has been deleted in another window or device. Please create a new search to find more loads.\" */ common_namedSearch_searchDoesNotExist = 'common.namedSearch.searchDoesNotExist',\n /** \"View search results\" */ common_namedSearch_cardOption_view = 'common.namedSearch.cardOption.view',\n /** \"Turn search alert \\\"{{action}}\\\"\" */ common_namedSearch_cardOption_alert = 'common.namedSearch.cardOption.alert',\n /** \"Edit search\" */ common_namedSearch_cardOption_edit = 'common.namedSearch.cardOption.edit',\n /** \"Delete search\" */ common_namedSearch_cardOption_delete = 'common.namedSearch.cardOption.delete',\n /** \"Views\" */ common_namedSearch_view_title = 'common.namedSearch.view.title',\n /** \"View: {{view}}\" */ common_namedSearch_view_label = 'common.namedSearch.view.label',\n /** \"All\" */ common_namedSearch_view_option_all = 'common.namedSearch.view.option.all',\n /** \"With alerts\" */ common_namedSearch_view_option_withAlerts = 'common.namedSearch.view.option.withAlerts',\n /** \"Without alerts\" */ common_namedSearch_view_option_withoutAlerts = 'common.namedSearch.view.option.withoutAlerts',\n /** \"Edit search\" */ common_namedSearch_form_editSearchTitle = 'common.namedSearch.form.editSearchTitle',\n /** \"New search\" */ common_namedSearch_form_newSearchTitle = 'common.namedSearch.form.newSearchTitle',\n /** \"Your available capacity is your equipment type and the size of the load you are looking to haul.\" */ common_namedSearch_form_availibleCapacityInfo = 'common.namedSearch.form.availibleCapacityInfo',\n /** \"Name this search\" */ common_namedSearch_form_searchNameLabel = 'common.namedSearch.form.searchNameLabel',\n /** \"Search name (Optional)\" */ common_namedSearch_form_searchNamePlaceholder = 'common.namedSearch.form.searchNamePlaceholder',\n /** \"Search name\" */ common_namedSearch_form_searchNameTitle = 'common.namedSearch.form.searchNameTitle',\n /** \"You can easily manage your searches by giving them custom names.\" */ common_namedSearch_form_searchNameInfo = 'common.namedSearch.form.searchNameInfo',\n /** \"Start finding loads\" */ common_namedSearch_emptyPanel_title = 'common.namedSearch.emptyPanel.title',\n /** \"This tool allows you to find and book loads to haul.\" */ common_namedSearch_emptyPanel_subtitle = 'common.namedSearch.emptyPanel.subtitle',\n /** \"Set search alerts on search results pages.\" */ common_namedSearch_emptyAlertsPanel_subtitle = 'common.namedSearch.emptyAlertsPanel.subtitle',\n /** \"You have no searches without alerts.\" */ common_namedSearch_emptyAlertsPanel_subtitleWithoutAlerts = 'common.namedSearch.emptyAlertsPanel.subtitleWithoutAlerts',\n /** \"View all\" */ common_namedSearch_emptyAlertsPanel_viewAll = 'common.namedSearch.emptyAlertsPanel.viewAll',\n /** \"Create new search\" */ common_namedSearch_createNewButton = 'common.namedSearch.createNewButton',\n /** \"Search saved\" */ common_namedSearch_searchSaved = 'common.namedSearch.searchSaved',\n /** \"Search removed\" */ common_namedSearch_searchRemoved = 'common.namedSearch.searchRemoved',\n /** \"Alert saved\" */ common_namedSearch_alertSaved = 'common.namedSearch.alertSaved',\n /** \"Alert removed\" */ common_namedSearch_alertRemoved = 'common.namedSearch.alertRemoved',\n /** \"Saving your search allows you to quickly find results for lanes you run regularly and can help save time when returning to this page.\" */ common_namedSearch_saveSearchMessage = 'common.namedSearch.saveSearchMessage',\n /** \"Save search\" */ common_namedSearch_saveSearchPopup_title = 'common.namedSearch.saveSearchPopup.title',\n /** \"Don't forget to save your search before leaving this page to quickly see results again when you return.\" */ common_namedSearch_saveSearchPopup_content = 'common.namedSearch.saveSearchPopup.content',\n /** \"This field is required\" */ common_errors_required = 'common.errors.required',\n /** \"This field cannot contain any spaces\" */ common_errors_noSpaces = 'common.errors.noSpaces',\n /** \"This field must be at least {{length}} characters\" */ common_errors_minLength = 'common.errors.minLength',\n /** \"Please enter a valid email.\" */ common_errors_email = 'common.errors.email',\n /** \"Please enter a valid 10-digit phone number\" */ common_errors_phone = 'common.errors.phone',\n /** \"Enter a valid value\" */ common_errors_state = 'common.errors.state',\n /** \"This field is required (Characters accepted: A-Z, 0-9)\" */ common_errors_requiredAsciiOnly = 'common.errors.requiredAsciiOnly',\n /** \"This field is required (Accepted: A-Z, 0-9, -, _)\" */ common_errors_requiredAsciiAndHyphenOnly = 'common.errors.requiredAsciiAndHyphenOnly',\n /** \"This field is required (Characters accepted: 0-9)\" */ common_errors_requiredNumbersOnly = 'common.errors.requiredNumbersOnly',\n /** \"Please enter a valid per mile rate\" */ common_errors_requiredPrice = 'common.errors.requiredPrice',\n /** \"Please enter a value under {{value}}\" */ common_errors_lessThanValue = 'common.errors.lessThanValue',\n /** \"Please enter a value greater than {{value}}\" */ common_errors_greaterThanValue = 'common.errors.greaterThanValue',\n /** \"Unable to open {{appName}} app\" */ common_errors_unableToOpen = 'common.errors.unableToOpen',\n /** \"{{appName}} app not supported\" */ common_errors_notSupported = 'common.errors.notSupported',\n /** \"This field cannot be empty. \" */ common_errors_empty = 'common.errors.empty',\n /** \"Please enter a value greater than {{value}}\" */ common_errors_tooLow = 'common.errors.tooLow',\n /** \"This field cannot be over {{max}} characters\" */ common_errors_max = 'common.errors.max',\n /** \"Please enter a valid number\" */ common_errors_mustBeNumber = 'common.errors.mustBeNumber',\n /** \"Enter a valid DOT #\" */ common_errors_validDOT = 'common.errors.validDOT',\n /** \"Map data failed to load\" */ common_errors_mapDataFailed = 'common.errors.mapDataFailed',\n /** \"Weight must be 132000 pounds or less\" */ common_errors_weightErrorLbs = 'common.errors.weightErrorLbs',\n /** \"Weight must be 59874 kilos or less\" */ common_errors_weightErrorKgs = 'common.errors.weightErrorKgs',\n /** \"Length must be bigger than 2.44m and less than 21m\" */ common_errors_lengthErrorMetric = 'common.errors.lengthErrorMetric',\n /** \"Height must be bigger than 1.53m and less than 4.2m\" */ common_errors_heightErrorMetric = 'common.errors.heightErrorMetric',\n /** \"Length must be between 8-69f\" */ common_errors_lengthErrorFeet = 'common.errors.lengthErrorFeet',\n /** \"Height must be between 5-14f\" */ common_errors_heightErrorFeet = 'common.errors.heightErrorFeet',\n /** \"Enter a valid MC #\" */ common_errors_validMC = 'common.errors.validMC',\n /** \"Invalid phone number\" */ common_errors_invalidPhoneShortError = 'common.errors.invalidPhoneShortError',\n /** \"Invalid number\" */ common_errors_streetNumberError = 'common.errors.streetNumberError',\n /** \"Invalid card number.\" */ common_errors_invalidCardError = 'common.errors.invalidCardError',\n /** \"Credit card verification failed. Please review your information and try again.\" */ common_errors_genericCardError = 'common.errors.genericCardError',\n /** \"Invalid expiry date.\" */ common_errors_invalidExpiry = 'common.errors.invalidExpiry',\n /** \"Invalid security code.\" */ common_errors_invalidSecurityCode = 'common.errors.invalidSecurityCode',\n /** \"Address verification failed.\" */ common_errors_avsFailed = 'common.errors.avsFailed',\n /** \"{{fieldName}} must be between {{min}}-{{max}}.\" */ common_errors_betweenValues = 'common.errors.betweenValues',\n /** \"URL must be valid and use https://\" */ common_errors_invalidWebProtocol = 'common.errors.invalidWebProtocol',\n /** \"How much do you expect this lane to pay?\" */ common_rateCheck_confirmation_payAmount = 'common.rateCheck.confirmation.payAmount',\n /** \"Is this rate accurate?\" */ common_rateCheck_confirmation_isRateAccurate = 'common.rateCheck.confirmation.isRateAccurate',\n /** \"Thank you for your feedback!\" */ common_rateCheck_confirmation_thankYou = 'common.rateCheck.confirmation.thankYou',\n /** \"Error submitting feedback\" */ common_rateCheck_confirmation_errorSubmitting = 'common.rateCheck.confirmation.errorSubmitting',\n /** \"Rate per mile\" */ common_rateCheck_confirmation_ratePerMile = 'common.rateCheck.confirmation.ratePerMile',\n /** \"Post truck\" */ common_rateCheck_postTruck = 'common.rateCheck.postTruck',\n /** \"Average rate check for {{month}}\" */ common_rateCheck_legendTitle = 'common.rateCheck.legendTitle',\n /** \"Premium\" */ common_userRoles_premium = 'common.userRoles.premium',\n /** \"Standard\" */ common_userRoles_standard = 'common.userRoles.standard',\n /** \"Basic\" */ common_userRoles_basic = 'common.userRoles.basic',\n /** \"Member\" */ common_userRoles_member = 'common.userRoles.member',\n /** \"Load available\" */ common_loadProgress_loadAvailable = 'common.loadProgress.loadAvailable',\n /** \"Booked\" */ common_loadProgress_booked = 'common.loadProgress.booked',\n /** \"Scheduled for pickup\" */ common_loadProgress_scheduledForPickup = 'common.loadProgress.scheduledForPickup',\n /** \"Pickup complete\" */ common_loadProgress_pickupComplete = 'common.loadProgress.pickupComplete',\n /** \"Load en route\" */ common_loadProgress_loadEnRoute = 'common.loadProgress.loadEnRoute',\n /** \"Delivered\" */ common_loadProgress_delivered = 'common.loadProgress.delivered',\n /** \"Search alert limit reached\" */ common_loadAlerts_limitReached = 'common.loadAlerts.limitReached',\n /** \"There is a maximum of 10 search alerts. Please remove a previous alert to set this one.\" */ common_loadAlerts_limitReachedContent = 'common.loadAlerts.limitReachedContent',\n /** \"Found {{quantity}} loads, results may vary\" */ common_loadAvailability_foundLoads = 'common.loadAvailability.foundLoads',\n /** \"Results may vary\" */ common_loadAvailability_resultsMayVary_title = 'common.loadAvailability.resultsMayVary.title',\n /** \"blocked companies\" */ common_loadAvailability_resultsMayVary_blockedCompanies = 'common.loadAvailability.resultsMayVary.blockedCompanies',\n /** \"We display loads that are specific to your current profile setup and saved criteria. For example if you \" */ common_loadAvailability_resultsMayVary_contentBeforeLink = 'common.loadAvailability.resultsMayVary.contentBeforeLink',\n /** \", their loads will be hidden from your results and may affect displayed load count.\" */ common_loadAvailability_resultsMayVary_contentAfterLink = 'common.loadAvailability.resultsMayVary.contentAfterLink',\n /** \"USA\" */ common_loadAvailability_regionTypes_USA = 'common.loadAvailability.regionTypes.USA',\n /** \"Northeast\" */ common_loadAvailability_regionTypes_Northeast = 'common.loadAvailability.regionTypes.Northeast',\n /** \"Midwest\" */ common_loadAvailability_regionTypes_Midwest = 'common.loadAvailability.regionTypes.Midwest',\n /** \"South\" */ common_loadAvailability_regionTypes_South = 'common.loadAvailability.regionTypes.South',\n /** \"West\" */ common_loadAvailability_regionTypes_West = 'common.loadAvailability.regionTypes.West',\n /** \"Plains\" */ common_loadAvailability_regionTypes_Plains = 'common.loadAvailability.regionTypes.Plains',\n /** \"Other\" */ common_loadAvailability_regionTypes_Other = 'common.loadAvailability.regionTypes.Other',\n /** \"Canada\" */ common_loadAvailability_regionTypes_Canada = 'common.loadAvailability.regionTypes.Canada',\n /** \"US\" */ common_loadAvailability_regionTypes_US = 'common.loadAvailability.regionTypes.US',\n /** \"PC*MILER map\" */ common_pcMiler_title = 'common.pcMiler.title',\n /** \"Toll:\" */ common_pcMiler_toll = 'common.pcMiler.toll',\n /** \"Route info\" */ common_pcMiler_routeInfo = 'common.pcMiler.routeInfo',\n /** \"Summary road info\" */ common_pcMiler_summaryRoadInfo_title = 'common.pcMiler.summaryRoadInfo.title',\n /** \"Start: {{location}}\" */ common_pcMiler_summaryRoadInfo_start = 'common.pcMiler.summaryRoadInfo.start',\n /** \"End: {{location}}\" */ common_pcMiler_summaryRoadInfo_end = 'common.pcMiler.summaryRoadInfo.end',\n /** \"Total distance:\" */ common_pcMiler_summaryRoadInfo_totalDistance = 'common.pcMiler.summaryRoadInfo.totalDistance',\n /** \"Total driving time: {{time}}\" */ common_pcMiler_summaryRoadInfo_totalDrivingTime = 'common.pcMiler.summaryRoadInfo.totalDrivingTime',\n /** \"Total toll cost:\" */ common_pcMiler_summaryRoadInfo_totalTollCost = 'common.pcMiler.summaryRoadInfo.totalTollCost',\n /** \"PC*Miler routing\" */ common_pcMiler_routing_title = 'common.pcMiler.routing.title',\n /** \"Departure from:\" */ common_pcMiler_routing_departureFrom = 'common.pcMiler.routing.departureFrom',\n /** \"IFTA report\" */ common_pcMiler_iftaReport = 'common.pcMiler.iftaReport',\n /** \"State by state mileage report\" */ common_pcMiler_stateByStateReport = 'common.pcMiler.stateByStateReport',\n /** \"Download state mileage report (IFTA)\" */ common_pcMiler_downloadIftaReport = 'common.pcMiler.downloadIftaReport',\n /** \"(An app supporting CSV is required)\" */ common_pcMiler_iftaReportDownloadWarning = 'common.pcMiler.iftaReportDownloadWarning',\n /** \"Start: \" */ common_pcMiler_summary_start = 'common.pcMiler.summary.start',\n /** \"End: \" */ common_pcMiler_summary_end = 'common.pcMiler.summary.end',\n /** \"Total distance: \" */ common_pcMiler_summary_totalDistance = 'common.pcMiler.summary.totalDistance',\n /** \"Total driving time: \" */ common_pcMiler_summary_totalDrivingTime = 'common.pcMiler.summary.totalDrivingTime',\n /** \"Total toll cost: \" */ common_pcMiler_summary_totalTollCost = 'common.pcMiler.summary.totalTollCost',\n /** \"Stop {{value}}: \" */ common_pcMiler_stop = 'common.pcMiler.stop',\n /** \"Extra stops: {{value}}\" */ common_pcMiler_extraStops = 'common.pcMiler.extraStops',\n /** \"Stops\" */ common_pcMiler_stops = 'common.pcMiler.stops',\n /** \"Arrival to: \" */ common_pcMiler_arrivalTo = 'common.pcMiler.arrivalTo',\n /** \"Loads\" */ common_myLoads_loads = 'common.myLoads.loads',\n /** \"Recently viewed\" */ common_myLoads_viewed = 'common.myLoads.viewed',\n /** \"Hidden\" */ common_myLoads_hidden = 'common.myLoads.hidden',\n /** \"Potential loads\" */ common_myLoads_potentialLoads = 'common.myLoads.potentialLoads',\n /** \"Saved\" */ common_myLoads_saved = 'common.myLoads.saved',\n /** \"Called\" */ common_myLoads_called = 'common.myLoads.called',\n /** \"Contacted\" */ common_myLoads_contacted = 'common.myLoads.contacted',\n /** \"Working loads\" */ common_myLoads_workingLoads = 'common.myLoads.workingLoads',\n /** \"Booked\" */ common_myLoads_booked = 'common.myLoads.booked',\n /** \"Scheduled for pickup\" */ common_myLoads_scheduledForPickup = 'common.myLoads.scheduledForPickup',\n /** \"Pickup complete\" */ common_myLoads_pickupComplete = 'common.myLoads.pickupComplete',\n /** \"Load en route\" */ common_myLoads_loadEnRoute = 'common.myLoads.loadEnRoute',\n /** \"Completed loads\" */ common_myLoads_completedLoads = 'common.myLoads.completedLoads',\n /** \"Delivered\" */ common_myLoads_delivered = 'common.myLoads.delivered',\n /** \"Recently viewed loads\" */ common_myLoads_headerTitles_viewedLoads = 'common.myLoads.headerTitles.viewedLoads',\n /** \"Saved loads\" */ common_myLoads_headerTitles_savedLoads = 'common.myLoads.headerTitles.savedLoads',\n /** \"Called loads\" */ common_myLoads_headerTitles_calledLoads = 'common.myLoads.headerTitles.calledLoads',\n /** \"Booked loads\" */ common_myLoads_headerTitles_bookedLoads = 'common.myLoads.headerTitles.bookedLoads',\n /** \"Scheduled loads\" */ common_myLoads_headerTitles_scheduledLoads = 'common.myLoads.headerTitles.scheduledLoads',\n /** \"Pickup loads\" */ common_myLoads_headerTitles_pickupLoads = 'common.myLoads.headerTitles.pickupLoads',\n /** \"Delivered loads\" */ common_myLoads_headerTitles_deliveredLoads = 'common.myLoads.headerTitles.deliveredLoads',\n /** \"Contacted loads\" */ common_myLoads_headerTitles_contactedLoads = 'common.myLoads.headerTitles.contactedLoads',\n /** \"Hidden loads\" */ common_myLoads_headerTitles_hiddenLoads = 'common.myLoads.headerTitles.hiddenLoads',\n /** \"No viewed loads\" */ common_myLoads_emptyResult_viewed_title = 'common.myLoads.emptyResult.viewed.title',\n /** \"Start viewing loads by performing a load search and clicking on a load.\" */ common_myLoads_emptyResult_viewed_content = 'common.myLoads.emptyResult.viewed.content',\n /** \"No hidden loads\" */ common_myLoads_emptyResult_hidden_title = 'common.myLoads.emptyResult.hidden.title',\n /** \"No saved loads\" */ common_myLoads_emptyResult_saved_title = 'common.myLoads.emptyResult.saved.title',\n /** \"Start saving loads by clicking the ‘Save Load’ link on the load details page.\" */ common_myLoads_emptyResult_saved_content = 'common.myLoads.emptyResult.saved.content',\n /** \"No called loads\" */ common_myLoads_emptyResult_called_title = 'common.myLoads.emptyResult.called.title',\n /** \"Start calling loads by clicking the ‘Call’ button on the load details page.\" */ common_myLoads_emptyResult_called_content = 'common.myLoads.emptyResult.called.content',\n /** \"No booked loads\" */ common_myLoads_emptyResult_booked_title = 'common.myLoads.emptyResult.booked.title',\n /** \"No scheduled loads\" */ common_myLoads_emptyResult_scheduled_title = 'common.myLoads.emptyResult.scheduled.title',\n /** \"No picked up loads\" */ common_myLoads_emptyResult_picked_title = 'common.myLoads.emptyResult.picked.title',\n /** \"No en route loads\" */ common_myLoads_emptyResult_enRoute_title = 'common.myLoads.emptyResult.enRoute.title',\n /** \"No delivered loads\" */ common_myLoads_emptyResult_delivered_title = 'common.myLoads.emptyResult.delivered.title',\n /** \"No contacted loads\" */ common_myLoads_emptyResult_contacted_title = 'common.myLoads.emptyResult.contacted.title',\n /** \"Loads will be listed here when you contact a company through the Load details page.\" */ common_myLoads_emptyResult_contacted_content = 'common.myLoads.emptyResult.contacted.content',\n /** \"Update status on the load details page.\" */ common_myLoads_emptyResult_updateStatusContent = 'common.myLoads.emptyResult.updateStatusContent',\n /** \"Remove loads\" */ common_myLoads_deleteDialog_title = 'common.myLoads.deleteDialog.title',\n /** \"Are you sure you want to unsave these loads?\" */ common_myLoads_deleteDialog_content = 'common.myLoads.deleteDialog.content',\n /** \"Unhide loads\" */ common_myLoads_unhideLoads_title = 'common.myLoads.unhideLoads.title',\n /** \"Are you sure you want to unhide these loads?\" */ common_myLoads_unhideLoads_content = 'common.myLoads.unhideLoads.content',\n /** \"Failed to remove\" */ common_myLoads_deleteFailedDialog_title = 'common.myLoads.deleteFailedDialog.title',\n /** \"Your loads were unable to be removed.\" */ common_myLoads_deleteFailedDialog_content = 'common.myLoads.deleteFailedDialog.content',\n /** \"Remove avatar\" */ common_avatar_avatarPopupTitle = 'common.avatar.avatarPopupTitle',\n /** \"Are you sure you want to remove your avatar?\" */ common_avatar_avatarPopupContent = 'common.avatar.avatarPopupContent',\n /** \"COMPANY LOGO\" */ common_avatar_companyAvatarPlaceholderText = 'common.avatar.companyAvatarPlaceholderText',\n /** \"Add new document\" */ common_myDocuments_addNewDocument = 'common.myDocuments.addNewDocument',\n /** \"Add new folder\" */ common_myDocuments_addNewFolder = 'common.myDocuments.addNewFolder',\n /** \"Select\" */ common_myDocuments_select = 'common.myDocuments.select',\n /** \"Edit folder name\" */ common_myDocuments_editFolderName = 'common.myDocuments.editFolderName',\n /** \"Delete folder\" */ common_myDocuments_deleteFolder = 'common.myDocuments.deleteFolder',\n /** \"My documents\" */ common_myDocuments_title = 'common.myDocuments.title',\n /** \"My docs\" */ common_myDocuments_titleShort = 'common.myDocuments.titleShort',\n /** \"View load details\" */ common_myDocuments_viewLoadDetails = 'common.myDocuments.viewLoadDetails',\n /** \"Upload and manage your carrier documents, loads, and other documents securely.\" */ common_myDocuments_noDocuments = 'common.myDocuments.noDocuments',\n /** \"Documents\" */ common_myDocuments_emptyDocument_title = 'common.myDocuments.emptyDocument.title',\n /** \"Start adding documents to see files here\" */ common_myDocuments_emptyDocument_subTitle = 'common.myDocuments.emptyDocument.subTitle',\n /** \"Try Again\" */ common_myDocuments_tryAgain = 'common.myDocuments.tryAgain',\n /** \"Sort by\" */ common_myDocuments_sortBy = 'common.myDocuments.sortBy',\n /** \"Uploaded\" */ common_myDocuments_uploaded = 'common.myDocuments.uploaded',\n /** \"Folder\" */ common_myDocuments_folder = 'common.myDocuments.folder',\n /** \"Type\" */ common_myDocuments_type = 'common.myDocuments.type',\n /** \"Date\" */ common_myDocuments_date = 'common.myDocuments.date',\n /** \"Filter by folder\" */ common_myDocuments_filterByFolder = 'common.myDocuments.filterByFolder',\n /** \"Add document\" */ common_myDocuments_addDocument = 'common.myDocuments.addDocument',\n /** \"Attach to send\" */ common_myDocuments_attachToSendDocument = 'common.myDocuments.attachToSendDocument',\n /** \"By date\" */ common_myDocuments_byDate = 'common.myDocuments.byDate',\n /** \"Alphabetical\" */ common_myDocuments_alphabetical = 'common.myDocuments.alphabetical',\n /** \"By folder\" */ common_myDocuments_byFolder = 'common.myDocuments.byFolder',\n /** \"By type\" */ common_myDocuments_byType = 'common.myDocuments.byType',\n /** \"Downloading\" */ common_myDocuments_downloading = 'common.myDocuments.downloading',\n /** \"Remove attachment\" */ common_myDocuments_removeAttachment = 'common.myDocuments.removeAttachment',\n /** \"Sent\" */ common_myDocuments_sent = 'common.myDocuments.sent',\n /** \"Folders\" */ common_myDocuments_selectFolder_title = 'common.myDocuments.selectFolder.title',\n /** \"Sort by\" */ common_myDocuments_selectFolder_sort_title = 'common.myDocuments.selectFolder.sort.title',\n /** \"Alphabetical\" */ common_myDocuments_selectFolder_sort_name = 'common.myDocuments.selectFolder.sort.name',\n /** \"Date\" */ common_myDocuments_selectFolder_sort_lastAccessedOn = 'common.myDocuments.selectFolder.sort.lastAccessedOn',\n /** \"Source\" */ common_myDocuments_selectFolder_sort_hasLoad = 'common.myDocuments.selectFolder.sort.hasLoad',\n /** \"Create new folder\" */ common_myDocuments_createFolder_title = 'common.myDocuments.createFolder.title',\n /** \"Use common naming convention when creating folders to easily browse.\" */ common_myDocuments_createFolder_description = 'common.myDocuments.createFolder.description',\n /** \"Enter folder name\" */ common_myDocuments_createFolder_placeholder = 'common.myDocuments.createFolder.placeholder',\n /** \"Folder already exists\" */ common_myDocuments_createFolder_response_alreadyExists_title = 'common.myDocuments.createFolder.response.alreadyExists.title',\n /** \"A folder with this name already exists. Please enter another name.\" */ common_myDocuments_createFolder_response_alreadyExists_message = 'common.myDocuments.createFolder.response.alreadyExists.message',\n /** \"New folder created\" */ common_myDocuments_createFolder_response_success = 'common.myDocuments.createFolder.response.success',\n /** \"Error creating new folder\" */ common_myDocuments_createFolder_response_genericError = 'common.myDocuments.createFolder.response.genericError',\n /** \"Edit folder\" */ common_myDocuments_editFolder_title = 'common.myDocuments.editFolder.title',\n /** \"Folder name was updated successfully\" */ common_myDocuments_editFolder_toast_success = 'common.myDocuments.editFolder.toast.success',\n /** \"Error updating folder name\" */ common_myDocuments_editFolder_toast_error = 'common.myDocuments.editFolder.toast.error',\n /** \"Folder was deleted successfully\" */ common_myDocuments_editFolder_toast_successDelete = 'common.myDocuments.editFolder.toast.successDelete',\n /** \"Error deleting folder\" */ common_myDocuments_editFolder_toast_errorDelete = 'common.myDocuments.editFolder.toast.errorDelete',\n /** \"Delete folder\" */ common_myDocuments_editFolder_deleteDialog_title = 'common.myDocuments.editFolder.deleteDialog.title',\n /** \"Are you sure you want to delete this folder?\\n\\nAny documents in this folder will be moved to the 'Unsorted' folder.\" */ common_myDocuments_editFolder_deleteDialog_content = 'common.myDocuments.editFolder.deleteDialog.content',\n /** \"\\n\\nIf this folder is deleted, you may no longer be able to view Load details.\" */ common_myDocuments_editFolder_deleteDialog_contentFromMyLoaDetails = 'common.myDocuments.editFolder.deleteDialog.contentFromMyLoaDetails',\n /** \"\\n\\nThe load associated with the folder will be unbooked.\" */ common_myDocuments_editFolder_deleteDialog_loadFolderContent = 'common.myDocuments.editFolder.deleteDialog.loadFolderContent',\n /** \"Unable to edit folder name\" */ common_myDocuments_editFolder_error_title = 'common.myDocuments.editFolder.error.title',\n /** \"Please try again or come back later.\" */ common_myDocuments_editFolder_error_message = 'common.myDocuments.editFolder.error.message',\n /** \"Rename\" */ common_myDocuments_renameDoc_rename = 'common.myDocuments.renameDoc.rename',\n /** \"Use common naming conventions when renaming files to easily browse.\" */ common_myDocuments_renameDoc_description = 'common.myDocuments.renameDoc.description',\n /** \"Rename file button\" */ common_myDocuments_renameDoc_accesibilityButton = 'common.myDocuments.renameDoc.accesibilityButton',\n /** \"New Name\" */ common_myDocuments_renameDoc_newName = 'common.myDocuments.renameDoc.newName',\n /** \"File name successfully changed\" */ common_myDocuments_renameDoc_toast_success = 'common.myDocuments.renameDoc.toast.success',\n /** \"Error renaming file\" */ common_myDocuments_renameDoc_toast_error = 'common.myDocuments.renameDoc.toast.error',\n /** \"Updating...\" */ common_myDocuments_updateFolder_updating = 'common.myDocuments.updateFolder.updating',\n /** \"Document folder updated\" */ common_myDocuments_updateFolder_success = 'common.myDocuments.updateFolder.success',\n /** \"Updating folder was not successful\" */ common_myDocuments_updateFolder_fail = 'common.myDocuments.updateFolder.fail',\n /** \"View document\" */ common_myDocuments_viewDocument = 'common.myDocuments.viewDocument',\n /** \"Download document success\" */ common_myDocuments_download_success = 'common.myDocuments.download.success',\n /** \"Download document error\" */ common_myDocuments_download_failure = 'common.myDocuments.download.failure',\n /** \"Preview not available\" */ common_myDocuments_fileNotSupported_title = 'common.myDocuments.fileNotSupported.title',\n /** \"A preview is not available for files with the extension ({{extension}}).\" */ common_myDocuments_fileNotSupported_subTitle = 'common.myDocuments.fileNotSupported.subTitle',\n /** \"The file type ({{extension}}) you are trying to view is no longer supported. \\n\\n To download this file, click on the ‘more actions’ icon.\" */ common_myDocuments_fileNotSupported_subTitleDownloadOnly = 'common.myDocuments.fileNotSupported.subTitleDownloadOnly',\n /** \"Document error\" */ common_myDocuments_documentError_title = 'common.myDocuments.documentError.title',\n /** \"Preview is not available, the document is corrupted.\" */ common_myDocuments_documentError_subTitle = 'common.myDocuments.documentError.subTitle',\n /** \"Certificate of Insurance\" */ common_myDocuments_documentTypes_certificateOfInsurance = 'common.myDocuments.documentTypes.certificateOfInsurance',\n /** \"W-9\" */ common_myDocuments_documentTypes_w9 = 'common.myDocuments.documentTypes.w9',\n /** \"New document\" */ common_myDocuments_addBottomSheet_newDocument = 'common.myDocuments.addBottomSheet.newDocument',\n /** \"Scan document\" */ common_myDocuments_addBottomSheet_scanDocument = 'common.myDocuments.addBottomSheet.scanDocument',\n /** \"Upload photo\" */ common_myDocuments_addBottomSheet_uploadPhoto = 'common.myDocuments.addBottomSheet.uploadPhoto',\n /** \"Upload file\" */ common_myDocuments_addBottomSheet_uploadFile = 'common.myDocuments.addBottomSheet.uploadFile',\n /** \"Document type: {{- documentType}}\" */ common_myDocuments_documentActionSheet_title = 'common.myDocuments.documentActionSheet.title',\n /** \"Attach to send\" */ common_myDocuments_documentActionSheet_send = 'common.myDocuments.documentActionSheet.send',\n /** \"Select\" */ common_myDocuments_documentActionSheet_select = 'common.myDocuments.documentActionSheet.select',\n /** \"View\" */ common_myDocuments_documentActionSheet_view = 'common.myDocuments.documentActionSheet.view',\n /** \"Rename\" */ common_myDocuments_documentActionSheet_rename = 'common.myDocuments.documentActionSheet.rename',\n /** \"Rename document\" */ common_myDocuments_documentActionSheet_renameDocument = 'common.myDocuments.documentActionSheet.renameDocument',\n /** \"Change folder\" */ common_myDocuments_documentActionSheet_changeFolder = 'common.myDocuments.documentActionSheet.changeFolder',\n /** \"Change type\" */ common_myDocuments_documentActionSheet_changeType = 'common.myDocuments.documentActionSheet.changeType',\n /** \"Download\" */ common_myDocuments_documentActionSheet_download = 'common.myDocuments.documentActionSheet.download',\n /** \"Download document\" */ common_myDocuments_documentActionSheet_downloadDocument = 'common.myDocuments.documentActionSheet.downloadDocument',\n /** \"Delete\" */ common_myDocuments_documentActionSheet_delete = 'common.myDocuments.documentActionSheet.delete',\n /** \"Delete document\" */ common_myDocuments_documentActionSheet_deleteDocument = 'common.myDocuments.documentActionSheet.deleteDocument',\n /** \"New document\" */ common_myDocuments_documentCapture_title = 'common.myDocuments.documentCapture.title',\n /** \"Save\" */ common_myDocuments_documentCapture_backPopup_title = 'common.myDocuments.documentCapture.backPopup.title',\n /** \"Your document is not saved. Would you like to save this document?\" */ common_myDocuments_documentCapture_backPopup_message = 'common.myDocuments.documentCapture.backPopup.message',\n /** \"Delete\" */ common_myDocuments_documentCapture_deletePopup_title = 'common.myDocuments.documentCapture.deletePopup.title',\n /** \"Are you sure you want to delete the selected files?\" */ common_myDocuments_documentCapture_deletePopup_message = 'common.myDocuments.documentCapture.deletePopup.message',\n /** \"The file could not be saved. Please try again.\" */ common_myDocuments_documentCapture_errorOnSave = 'common.myDocuments.documentCapture.errorOnSave',\n /** \"Generating your document, please wait.\" */ common_myDocuments_documentCapture_saveInProgress = 'common.myDocuments.documentCapture.saveInProgress',\n /** \"Document deleted\" */ common_myDocuments_toast_deleteSuccess = 'common.myDocuments.toast.deleteSuccess',\n /** \"Error in deleting document\" */ common_myDocuments_toast_deleteError = 'common.myDocuments.toast.deleteError',\n /** \"Something went wrong with the file picker\" */ common_myDocuments_toast_filePickerError = 'common.myDocuments.toast.filePickerError',\n /** \"File must be less than 10Mb\" */ common_myDocuments_toast_fileTooBigError = 'common.myDocuments.toast.fileTooBigError',\n /** \"Delete document\" */ common_myDocuments_deleteDialog_title = 'common.myDocuments.deleteDialog.title',\n /** \"Are you sure you want to delete this document?\" */ common_myDocuments_deleteDialog_content = 'common.myDocuments.deleteDialog.content',\n /** \"Folders\" */ common_myDocuments_viewTypeOptions_folders = 'common.myDocuments.viewTypeOptions.folders',\n /** \"Dates\" */ common_myDocuments_viewTypeOptions_dates = 'common.myDocuments.viewTypeOptions.dates',\n /** \"Types\" */ common_myDocuments_viewTypeOptions_types = 'common.myDocuments.viewTypeOptions.types',\n /** \"Error sending documents\" */ common_myDocuments_error_sendDocuments = 'common.myDocuments.error.sendDocuments',\n /** \"Our system encountered an error while sending the documents.\" */ common_myDocuments_error_sendDocumentSubtitle = 'common.myDocuments.error.sendDocumentSubtitle',\n /** \"Failed to create document\" */ common_myDocuments_error_createDocument = 'common.myDocuments.error.createDocument',\n /** \"An error occurred and your document was not able to be created. Please try again later or choose a different file(s)\" */ common_myDocuments_error_createDocumentSubtitle = 'common.myDocuments.error.createDocumentSubtitle',\n /** \"An error occurred and your document was not able to be created. File Name should only contain alphanumeric characters.\" */ common_myDocuments_error_invalidCharactersDocumentSubtitle = 'common.myDocuments.error.invalidCharactersDocumentSubtitle',\n /** \"Failed to rename document\" */ common_myDocuments_error_renameDocument = 'common.myDocuments.error.renameDocument',\n /** \"An error occurred and your document was not able to be renamed. Please try again later.\" */ common_myDocuments_error_renameDocumentSubtitle = 'common.myDocuments.error.renameDocumentSubtitle',\n /** \"Download failed\" */ common_myDocuments_error_downloadDocument = 'common.myDocuments.error.downloadDocument',\n /** \"Please try again or come back later\" */ common_myDocuments_error_downloadDocumentSubtitle = 'common.myDocuments.error.downloadDocumentSubtitle',\n /** \"Upload failed\" */ common_myDocuments_error_invalidImageTypePopUpTitle = 'common.myDocuments.error.invalidImageTypePopUpTitle',\n /** \"The file you have selected failed to upload. Please try again or choose another file.\" */ common_myDocuments_error_invalidImageTypePopUpContent = 'common.myDocuments.error.invalidImageTypePopUpContent',\n /** \"Sorry, there was an error receiving your selected photo.\" */ common_myDocuments_error_couldNotRetrievePhoto = 'common.myDocuments.error.couldNotRetrievePhoto',\n /** \"New document\" */ common_myDocuments_createDocument_newDocument = 'common.myDocuments.createDocument.newDocument',\n /** \"To create a document, enter a name, choose a desired folder, and file type.\" */ common_myDocuments_createDocument_title = 'common.myDocuments.createDocument.title',\n /** \"Create document\" */ common_myDocuments_createDocument_buttonTitle = 'common.myDocuments.createDocument.buttonTitle',\n /** \"Types\" */ common_myDocuments_createDocument_types = 'common.myDocuments.createDocument.types',\n /** \"Enter document name\" */ common_myDocuments_createDocument_form_name = 'common.myDocuments.createDocument.form.name',\n /** \"Document name\" */ common_myDocuments_createDocument_form_nameSelected = 'common.myDocuments.createDocument.form.nameSelected',\n /** \"Folder name\" */ common_myDocuments_createDocument_form_folderName = 'common.myDocuments.createDocument.form.folderName',\n /** \"Select folder\" */ common_myDocuments_createDocument_form_folder = 'common.myDocuments.createDocument.form.folder',\n /** \"Folder\" */ common_myDocuments_createDocument_form_folderSelected = 'common.myDocuments.createDocument.form.folderSelected',\n /** \"Select type\" */ common_myDocuments_createDocument_form_type = 'common.myDocuments.createDocument.form.type',\n /** \"Type\" */ common_myDocuments_createDocument_form_typeSelected = 'common.myDocuments.createDocument.form.typeSelected',\n /** \"Upload was successful\" */ common_myDocuments_createDocument_toast_success = 'common.myDocuments.createDocument.toast.success',\n /** \"Error uploading\" */ common_myDocuments_createDocument_toast_error = 'common.myDocuments.createDocument.toast.error',\n /** \"Update was successful\" */ common_myDocuments_createDocument_toast_successUpdate = 'common.myDocuments.createDocument.toast.successUpdate',\n /** \"Error updating\" */ common_myDocuments_createDocument_toast_errorUpdate = 'common.myDocuments.createDocument.toast.errorUpdate',\n /** \"Invalid file type selected \" */ common_myDocuments_createDocument_toast_invalid = 'common.myDocuments.createDocument.toast.invalid',\n /** \"Are you sure you want to cancel?\" */ common_myDocuments_createDocument_cancelUpload_title = 'common.myDocuments.createDocument.cancelUpload.title',\n /** \"Leaving this page while the upload is in progress will cancel it\" */ common_myDocuments_createDocument_cancelUpload_content = 'common.myDocuments.createDocument.cancelUpload.content',\n /** \"Leave\" */ common_myDocuments_createDocument_cancelUpload_confirm = 'common.myDocuments.createDocument.cancelUpload.confirm',\n /** \"Stay\" */ common_myDocuments_createDocument_cancelUpload_dismiss = 'common.myDocuments.createDocument.cancelUpload.dismiss',\n /** \"File type error\" */ common_myDocuments_createDocument_fileTypeError_title = 'common.myDocuments.createDocument.fileTypeError.title',\n /** \"The file uploader only accepts the following file types: {{fileTypes}}. \\n\\n Please select a valid file and try again.\" */ common_myDocuments_createDocument_fileTypeError_subTitle = 'common.myDocuments.createDocument.fileTypeError.subTitle',\n /** \"Upload failed\" */ common_myDocuments_createDocument_mimeTypeError_title = 'common.myDocuments.createDocument.mimeTypeError.title',\n /** \"We weren’t able to process this file. Please select a different file or use our document scanner to upload another copy of this document.\" */ common_myDocuments_createDocument_mimeTypeError_subTitle = 'common.myDocuments.createDocument.mimeTypeError.subTitle',\n /** \"Go back\" */ common_myDocuments_createDocument_mimeTypeError_buttonTitle = 'common.myDocuments.createDocument.mimeTypeError.buttonTitle',\n /** \"Error\" */ common_myDocuments_createDocument_mimeTypeError_screenTitle = 'common.myDocuments.createDocument.mimeTypeError.screenTitle',\n /** \"You may send attached documents to any recipient.\" */ common_myDocuments_sendDocuments_description = 'common.myDocuments.sendDocuments.description',\n /** \"No attached files\" */ common_myDocuments_sendDocuments_emptyList = 'common.myDocuments.sendDocuments.emptyList',\n /** \"Attached files\" */ common_myDocuments_sendDocuments_attachedFiles = 'common.myDocuments.sendDocuments.attachedFiles',\n /** \"Send\" */ common_myDocuments_sendDocuments_send = 'common.myDocuments.sendDocuments.send',\n /** \"Send documents\" */ common_myDocuments_sendDocuments_title = 'common.myDocuments.sendDocuments.title',\n /** \"Complete the form below to send your operating documents by fax or email at no charge.\" */ common_myDocuments_sendDocuments_disclaimer = 'common.myDocuments.sendDocuments.disclaimer',\n /** \"Documents to send\" */ common_myDocuments_sendDocuments_documentsTitle = 'common.myDocuments.sendDocuments.documentsTitle',\n /** \"{{count}} documents selected\" */ common_myDocuments_sendDocuments_documentsSelected_plural = 'common.myDocuments.sendDocuments.documentsSelected_plural',\n /** \"Send to:\" */ common_myDocuments_sendDocuments_sendTo = 'common.myDocuments.sendDocuments.sendTo',\n /** \"Recipient\" */ common_myDocuments_sendDocuments_recipient = 'common.myDocuments.sendDocuments.recipient',\n /** \"Recipient name\" */ common_myDocuments_sendDocuments_recipientPlaceholder = 'common.myDocuments.sendDocuments.recipientPlaceholder',\n /** \"Account Manager\" */ common_myDocuments_sendDocuments_accountManager = 'common.myDocuments.sendDocuments.accountManager',\n /** \"Company name\" */ common_myDocuments_sendDocuments_company = 'common.myDocuments.sendDocuments.company',\n /** \"Company name\" */ common_myDocuments_sendDocuments_companyPlaceholder = 'common.myDocuments.sendDocuments.companyPlaceholder',\n /** \"Send by email\" */ common_myDocuments_sendDocuments_sendByEmail = 'common.myDocuments.sendDocuments.sendByEmail',\n /** \"Email\" */ common_myDocuments_sendDocuments_emailTitle = 'common.myDocuments.sendDocuments.emailTitle',\n /** \"Email address\" */ common_myDocuments_sendDocuments_emailPlaceholder = 'common.myDocuments.sendDocuments.emailPlaceholder',\n /** \"Send by fax\" */ common_myDocuments_sendDocuments_sendByFax = 'common.myDocuments.sendDocuments.sendByFax',\n /** \"Recipient fax\" */ common_myDocuments_sendDocuments_faxTitle = 'common.myDocuments.sendDocuments.faxTitle',\n /** \"Fax #\" */ common_myDocuments_sendDocuments_faxPlaceholder = 'common.myDocuments.sendDocuments.faxPlaceholder',\n /** \"Fax\" */ common_myDocuments_sendDocuments_fax = 'common.myDocuments.sendDocuments.fax',\n /** \"Thunder Funding\" */ common_myDocuments_sendDocuments_thunderFunding = 'common.myDocuments.sendDocuments.thunderFunding',\n /** \"Get paid faster\" */ common_myDocuments_sendDocuments_getPaidFaster = 'common.myDocuments.sendDocuments.getPaidFaster',\n /** \"Other\" */ common_myDocuments_sendDocuments_other = 'common.myDocuments.sendDocuments.other',\n /** \"Your documents have been successfully sent\" */ common_myDocuments_sendDocuments_sentDocumentsMessage = 'common.myDocuments.sendDocuments.sentDocumentsMessage',\n /** \"Attach files\" */ common_myDocuments_sendDocuments_attachFiles = 'common.myDocuments.sendDocuments.attachFiles',\n /** \"There was an error sending your documents\" */ common_myDocuments_sendDocuments_toast_updateError = 'common.myDocuments.sendDocuments.toast.updateError',\n /** \"Documents sent\" */ common_myDocuments_sendDocuments_toast_updateSuccess = 'common.myDocuments.sendDocuments.toast.updateSuccess',\n /** \"An email address or fax number is required\" */ common_myDocuments_sendDocuments_error_emailFaxEmpty = 'common.myDocuments.sendDocuments.error.emailFaxEmpty',\n /** \"Go back to My Documents Page\" */ common_myDocuments_sendDocuments_accessibility_continueToMainPage = 'common.myDocuments.sendDocuments.accessibility.continueToMainPage',\n /** \"Continue\" */ common_myDocuments_sendDocuments_button_continue = 'common.myDocuments.sendDocuments.button.continue',\n /** \"No documents attached\" */ common_myDocuments_sendDocuments_banner_noDocuments_title = 'common.myDocuments.sendDocuments.banner.noDocuments.title',\n /** \"Please attach 1 or more documents you would like to send.\" */ common_myDocuments_sendDocuments_banner_noDocuments_content = 'common.myDocuments.sendDocuments.banner.noDocuments.content',\n /** \"Attachment limit exceeded\" */ common_myDocuments_sendDocuments_banner_limitExceeded_title = 'common.myDocuments.sendDocuments.banner.limitExceeded.title',\n /** \"Too many files selected. Please remove some of these files and send them separately.\" */ common_myDocuments_sendDocuments_banner_limitExceeded_content = 'common.myDocuments.sendDocuments.banner.limitExceeded.content',\n /** \"123Connect\" */ common_conversations_title123Connect = 'common.conversations.title123Connect',\n /** \"Messages\" */ common_conversations_title = 'common.conversations.title',\n /** \"Type here\" */ common_conversations_typeHereBox = 'common.conversations.typeHereBox',\n /** \"Message\" */ common_conversations_button = 'common.conversations.button',\n /** \"Message again\" */ common_conversations_buttonMessageAgain = 'common.conversations.buttonMessageAgain',\n /** \"Start your conversation with this company by asking some questions about this load or about their onboarding procedures. \\n\\nWe will automatically share the following information with your message:\\n\" */ common_conversations_newConversation_mainMessage = 'common.conversations.newConversation.mainMessage',\n /** \"your name\" */ common_conversations_newConversation_sharedName = 'common.conversations.newConversation.sharedName',\n /** \"your company name\" */ common_conversations_newConversation_sharedCompany = 'common.conversations.newConversation.sharedCompany',\n /** \"MC# & DOT#\" */ common_conversations_newConversation_sharedMC = 'common.conversations.newConversation.sharedMC',\n /** \"your phone & email\" */ common_conversations_newConversation_sharedPhoneEmail = 'common.conversations.newConversation.sharedPhoneEmail',\n /** \"Start your conversation by typing in the text box below.\" */ common_conversations_newConversation_noLoadMessage = 'common.conversations.newConversation.noLoadMessage',\n /** \"No messages\" */ common_conversations_empty_title = 'common.conversations.empty.title',\n /** \"No unread messages\" */ common_conversations_empty_unreadTitle = 'common.conversations.empty.unreadTitle',\n /** \"View all messages\" */ common_conversations_empty_viewAllMessages = 'common.conversations.empty.viewAllMessages',\n /** \"Messages that you have not read appear here.\" */ common_conversations_empty_unreadSubtitle = 'common.conversations.empty.unreadSubtitle',\n /** \"123Connect helps you contact brokers faster and easier than ever - before you even need to pick up the phone!\" */ common_conversations_empty_subtitleCarrier_part1 = 'common.conversations.empty.subtitleCarrier_part1',\n /** \"You can start a conversation through Load Details when the Message button is available next to the Call button.\" */ common_conversations_empty_subtitleCarrier_part2 = 'common.conversations.empty.subtitleCarrier_part2',\n /** \"After you start a conversation, new messages will appear here.\" */ common_conversations_empty_subtitleCarrier_part3 = 'common.conversations.empty.subtitleCarrier_part3',\n /** \"Messages will appear here when a Carrier begins a conversation about one of your loads.\" */ common_conversations_empty_subtitleBroker = 'common.conversations.empty.subtitleBroker',\n /** \"Conversation unavailable\" */ common_conversations_unavailable_title = 'common.conversations.unavailable.title',\n /** \"Sorry for the inconvenience, the conversation you attempted to open is no longer available.\" */ common_conversations_unavailable_subtitle = 'common.conversations.unavailable.subtitle',\n /** \"Attachment(s)\" */ common_conversations_attachmentsDialog_title = 'common.conversations.attachmentsDialog.title',\n /** \"My documents\" */ common_conversations_attachmentsDialog_options_select = 'common.conversations.attachmentsDialog.options.select',\n /** \"Add new document\" */ common_conversations_attachmentsDialog_options_add = 'common.conversations.attachmentsDialog.options.add',\n /** \"Sorry, there was an error opening this attachment.\" */ common_conversations_viewAttachment_error = 'common.conversations.viewAttachment.error',\n /** \"Select attachments\" */ common_conversations_sendAttachments_pickerTitle = 'common.conversations.sendAttachments.pickerTitle',\n /** \"Message\" */ common_conversations_sendAttachments_messageTitle = 'common.conversations.sendAttachments.messageTitle',\n /** \"Add message\" */ common_conversations_sendAttachments_messagePlaceholder = 'common.conversations.sendAttachments.messagePlaceholder',\n /** \"Send attachments\" */ common_conversations_sendAttachments_sendAttachmentsTitle = 'common.conversations.sendAttachments.sendAttachmentsTitle',\n /** \"Sorry, there was an error sending your attachments.\" */ common_conversations_sendAttachments_error = 'common.conversations.sendAttachments.error',\n /** \" • Last online {{offlineTime}} ago\" */ common_conversations_status_lastOnline = 'common.conversations.status.lastOnline',\n /** \"All\" */ common_conversations_filter_all = 'common.conversations.filter.all',\n /** \"Unread\" */ common_conversations_filter_unread = 'common.conversations.filter.unread',\n /** \"Load details\" */ common_conversations_chip_loadDetails = 'common.conversations.chip.loadDetails',\n /** \"Load contact\" */ common_conversations_chip_contactInfo = 'common.conversations.chip.contactInfo',\n /** \"Online\" */ common_conversations_chip_online = 'common.conversations.chip.online',\n /** \"Offline\" */ common_conversations_chip_offline = 'common.conversations.chip.offline',\n /** \"Locate load\" */ common_conversations_chip_locateLoad = 'common.conversations.chip.locateLoad',\n /** \"Load contact\" */ common_conversations_contactInfo_title = 'common.conversations.contactInfo.title',\n /** \"Agent\" */ common_conversations_contactInfo_agent = 'common.conversations.contactInfo.agent',\n /** \"Carrier\" */ common_conversations_contactInfo_carrier = 'common.conversations.contactInfo.carrier',\n /** \"Phone\" */ common_conversations_contactInfo_phoneNumber = 'common.conversations.contactInfo.phoneNumber',\n /** \"Authority(MC#)\" */ common_conversations_contactInfo_authorityList = 'common.conversations.contactInfo.authorityList',\n /** \"Power units\" */ common_conversations_contactInfo_powerUnits = 'common.conversations.contactInfo.powerUnits',\n /** \"US/CAN inspections in the last 24 months\" */ common_conversations_contactInfo_usCanInspections = 'common.conversations.contactInfo.usCanInspections',\n /** \"Common\" */ common_conversations_contactInfo_authorityTypes_common = 'common.conversations.contactInfo.authorityTypes.common',\n /** \"Contract\" */ common_conversations_contactInfo_authorityTypes_contract = 'common.conversations.contactInfo.authorityTypes.contract',\n /** \"Broker\" */ common_conversations_contactInfo_authorityTypes_broker = 'common.conversations.contactInfo.authorityTypes.broker',\n /** \"Authority\" */ common_conversations_contactInfo_authorityBroker = 'common.conversations.contactInfo.authorityBroker',\n /** \"Auth. issuance\" */ common_conversations_contactInfo_authIssuance = 'common.conversations.contactInfo.authIssuance',\n /** \"MC#\" */ common_conversations_contactInfo_mc = 'common.conversations.contactInfo.mc',\n /** \"DOT#\" */ common_conversations_contactInfo_usDot = 'common.conversations.contactInfo.usDot',\n /** \"More details\" */ common_conversations_contactInfo_moreDetails = 'common.conversations.contactInfo.moreDetails',\n /** \"Company\" */ common_conversations_contactInfo_company = 'common.conversations.contactInfo.company',\n /** \"Authority\" */ common_conversations_contactInfo_broker_authority = 'common.conversations.contactInfo.broker.authority',\n /** \"City/State\" */ common_conversations_contactInfo_cityState = 'common.conversations.contactInfo.cityState',\n /** \"Contact info\" */ common_conversations_contactInfo_loadContact = 'common.conversations.contactInfo.loadContact',\n /** \"Load poster info\" */ common_conversations_contactInfo_loadPoster = 'common.conversations.contactInfo.loadPoster',\n /** \"Show number\" */ common_conversations_contactInfo_showPhone = 'common.conversations.contactInfo.showPhone',\n /** \"Carrier contact info\" */ common_conversations_contactInfo_carrierInfo = 'common.conversations.contactInfo.carrierInfo',\n /** \"Notifications turned off\" */ common_conversations_notificationBanner_content = 'common.conversations.notificationBanner.content',\n /** \"Activate\" */ common_conversations_notificationBanner_activate = 'common.conversations.notificationBanner.activate',\n /** \"Push notifications disabled\" */ common_conversations_notificationBanner_deniedPopupTitle = 'common.conversations.notificationBanner.deniedPopupTitle',\n /** \"Please allow for push notifications in your \" */ common_conversations_notificationBanner_deniedPopupContent_part1 = 'common.conversations.notificationBanner.deniedPopupContent.part1',\n /** \"browser settings\" */ common_conversations_notificationBanner_deniedPopupContent_part2 = 'common.conversations.notificationBanner.deniedPopupContent.part2',\n /** \". 123Loadboard uses notifications to send alerts and communications.\" */ common_conversations_notificationBanner_deniedPopupContent_part3 = 'common.conversations.notificationBanner.deniedPopupContent.part3',\n /** \"123Connect\" */ common_conversations_disabled_broker_title = 'common.conversations.disabled.broker.title',\n /** \"Keep communicating with Carriers using the tools and methods you prefer and never lose communication or miss a message with \" */ common_conversations_disabled_broker_intro = 'common.conversations.disabled.broker.intro',\n /** \"Adapts to your current communication methods.\" */ common_conversations_disabled_broker_reason1 = 'common.conversations.disabled.broker.reason1',\n /** \"Exchange communications in real-time.\" */ common_conversations_disabled_broker_reason2 = 'common.conversations.disabled.broker.reason2',\n /** \"Respond faster and do more in less time.\" */ common_conversations_disabled_broker_reason3 = 'common.conversations.disabled.broker.reason3',\n /** \"Start communicating directly with Carriers about the loads you post. This allows you to quickly respond to multiple carriers easily and efficiently.\" */ common_conversations_disabled_broker_subtitle = 'common.conversations.disabled.broker.subtitle',\n /** \"Call {{number}} ext. 2 to activate this free feature.\" */ common_conversations_disabled_broker_callText = 'common.conversations.disabled.broker.callText',\n /** \"Messages Not Available\" */ common_conversations_disabled_wholeFeature_title = 'common.conversations.disabled.wholeFeature.title',\n /** \"This feature is not currently available.\" */ common_conversations_disabled_wholeFeature_subtitle = 'common.conversations.disabled.wholeFeature.subtitle',\n /** \"There was an error sending your message. Please try again.\" */ common_conversations_errorSendingMessage = 'common.conversations.errorSendingMessage',\n /** \"Sending messages is not available for this conversation.\" */ common_conversations_userHasMessagingDisabled = 'common.conversations.userHasMessagingDisabled',\n /** \"Messages will be delivered via email if they are unread for more than 1 minute. Please call if the issue is urgent.\" */ common_conversations_userOfflineMessage = 'common.conversations.userOfflineMessage',\n /** \"Mark all messages as read\" */ common_conversations_markAllAsRead_title = 'common.conversations.markAllAsRead.title',\n /** \"All unread messages have been marked as read.\" */ common_conversations_markAllAsRead_success = 'common.conversations.markAllAsRead.success',\n /** \"Failed to mark all unread messages as read.\" */ common_conversations_markAllAsRead_failure = 'common.conversations.markAllAsRead.failure',\n /** \"Current location\" */ common_conversations_locationRequest_confirmation_title = 'common.conversations.locationRequest.confirmation.title',\n /** \"Confirming will send your current location into this conversation.\" */ common_conversations_locationRequest_confirmation_content = 'common.conversations.locationRequest.confirmation.content',\n /** \"Location sent\" */ common_conversations_locationRequest_sent = 'common.conversations.locationRequest.sent',\n /** \"Request failed\" */ common_conversations_locationRequest_failed = 'common.conversations.locationRequest.failed',\n /** \"Bid\" */ common_vendorBid_bid = 'common.vendorBid.bid',\n /** \"Bid sent\" */ common_vendorBid_bidSent = 'common.vendorBid.bidSent',\n /** \"Before you bid, please ensure that you meet these requirements.\" */ common_vendorBid_placeBid_bidHeader = 'common.vendorBid.placeBid.bidHeader',\n /** \"Place bid\" */ common_vendorBid_placeBid_title = 'common.vendorBid.placeBid.title',\n /** \"In order to submit this bid, fill in the form below.\" */ common_vendorBid_placeBid_information = 'common.vendorBid.placeBid.information',\n /** \"Enter your total bid.\" */ common_vendorBid_placeBid_enter = 'common.vendorBid.placeBid.enter',\n /** \"Posted rate:\" */ common_vendorBid_placeBid_postedRate = 'common.vendorBid.placeBid.postedRate',\n /** \"Flat rate ($) *\" */ common_vendorBid_placeBid_flatRate = 'common.vendorBid.placeBid.flatRate',\n /** \"Place bid\" */ common_vendorBid_placeBid_submit = 'common.vendorBid.placeBid.submit',\n /** \"Resubmit bid\" */ common_vendorBid_placeBid_reSubmitBid = 'common.vendorBid.placeBid.reSubmitBid',\n /** \"In order to resubmit this bid, fill in the form below.\" */ common_vendorBid_placeBid_previousBidPart1 = 'common.vendorBid.placeBid.previousBidPart1',\n /** \"Your previous bid was placed on {{date}} for ${{amount}}.\" */ common_vendorBid_placeBid_previousBidPart2 = 'common.vendorBid.placeBid.previousBidPart2',\n /** \"Company: \" */ common_vendorBid_placeBid_companyName = 'common.vendorBid.placeBid.companyName',\n /** \"DOT#: \" */ common_vendorBid_placeBid_companyDOT = 'common.vendorBid.placeBid.companyDOT',\n /** \"Trailer type: \" */ common_vendorBid_placeBid_equipmentTypes = 'common.vendorBid.placeBid.equipmentTypes',\n /** \"Trailer specs: \" */ common_vendorBid_placeBid_equipmentSpecs = 'common.vendorBid.placeBid.equipmentSpecs',\n /** \"Item: \" */ common_vendorBid_placeBid_commodity = 'common.vendorBid.placeBid.commodity',\n /** \"Notes: \" */ common_vendorBid_placeBid_equipmentNotes = 'common.vendorBid.placeBid.equipmentNotes',\n /** \"Submit a bid to reveal this company's phone number. Please tell the broker that you found this load on 123Loadboard.\" */ common_vendorBid_placeBid_submitBidCallMessage = 'common.vendorBid.placeBid.submitBidCallMessage',\n /** \"Bid placed\" */ common_vendorBid_bidPlaced_title = 'common.vendorBid.bidPlaced.title',\n /** \"Your bid for this load has been sent to the company.\" */ common_vendorBid_bidPlaced_part1 = 'common.vendorBid.bidPlaced.part1',\n /** \"You will be contacted directly if your bid is selected.\" */ common_vendorBid_bidPlaced_part2 = 'common.vendorBid.bidPlaced.part2',\n /** \"Ok\" */ common_vendorBid_bidPlaced_button = 'common.vendorBid.bidPlaced.button',\n /** \"Failed to place bid\" */ common_vendorBid_failedToPlaceBid_title = 'common.vendorBid.failedToPlaceBid.title',\n /** \"An error occurred while sending a bid to the company.\" */ common_vendorBid_failedToPlaceBid_content = 'common.vendorBid.failedToPlaceBid.content',\n /** \"An error occurred while making the request. This may occur if the load is already gone, or if your DOT# can not be found in the system. You may call the load poster for more information about this load.\" */ common_vendorBid_failedToPlaceBid_not_found = 'common.vendorBid.failedToPlaceBid.not_found',\n /** \"The load is no longer available.\" */ common_vendorBid_failedToPlaceBid_unavailable = 'common.vendorBid.failedToPlaceBid.unavailable',\n /** \"Not Approved\" */ common_vendorBid_failedToPlaceBid_disqualified_title = 'common.vendorBid.failedToPlaceBid.disqualified.title',\n /** \"The load poster has determined that you're not qualified to haul this load. This may happen if your authority is too new, or your insurance is not high enough.\\n\\nIf you believe this is an error, please contact the load poster directly.\" */ common_vendorBid_failedToPlaceBid_disqualified_content = 'common.vendorBid.failedToPlaceBid.disqualified.content',\n /** \"Invalid DOT or MC number\" */ common_vendorBid_failedToPlaceBid_invalidDotMC_title = 'common.vendorBid.failedToPlaceBid.invalidDotMC.title',\n /** \"The DOT number cannot be the same as the MC number. Please adjust your company information and try again.\" */ common_vendorBid_failedToPlaceBid_invalidDotMC_content = 'common.vendorBid.failedToPlaceBid.invalidDotMC.content',\n /** \"Required\" */ common_vendorBid_dotPopUp_title = 'common.vendorBid.dotPopUp.title',\n /** \"To place a bid, please enter your DOT#.\" */ common_vendorBid_dotPopUp_info = 'common.vendorBid.dotPopUp.info',\n /** \"DOT # *\" */ common_vendorBid_dotPopUp_textFieldLabel = 'common.vendorBid.dotPopUp.textFieldLabel',\n /** \"Submit\" */ common_vendorBid_dotPopUp_button = 'common.vendorBid.dotPopUp.button',\n /** \"DOT # was updated\" */ common_vendorBid_dotPopUp_updateStatus_success = 'common.vendorBid.dotPopUp.updateStatus.success',\n /** \"DOT # failed to update\" */ common_vendorBid_dotPopUp_updateStatus_failure = 'common.vendorBid.dotPopUp.updateStatus.failure',\n /** \"Bid placed\" */ common_vendorBid_bidItem_placedOn = 'common.vendorBid.bidItem.placedOn',\n /** \"A bid for {{amount}} was placed on {{broker}}'s load.\" */ common_vendorBid_bidItem_message = 'common.vendorBid.bidItem.message',\n /** \"No bids placed\" */ common_vendorBid_empty_title = 'common.vendorBid.empty.title',\n /** \"When you submit a bid on a load, those offers will appear here.\\n\\nBid offers will be available for 2 weeks after being placed.\" */ common_vendorBid_empty_message = 'common.vendorBid.empty.message',\n /** \"Book now\" */ common_bookNow_title = 'common.bookNow.title',\n /** \"Booked\" */ common_bookNow_booked = 'common.bookNow.booked',\n /** \"Pending\" */ common_bookNow_pending = 'common.bookNow.pending',\n /** \"Booking pending\" */ common_bookNow_bookingPending = 'common.bookNow.bookingPending',\n /** \"Before you Book now, please ensure that you meet these requirements.\" */ common_bookNow_dialog_information = 'common.bookNow.dialog.information',\n /** \"When you “Book now”, you agree that you can haul this load based on the provided load details at:\" */ common_bookNow_dialog_content_part1 = 'common.bookNow.dialog.content.part1',\n /** \"You will be contacted by the load poster shortly after booking this load.\" */ common_bookNow_dialog_content_part2 = 'common.bookNow.dialog.content.part2',\n /** \"Book now to reveal this company’s phone number. Please tell the broker that you found this load on 123Loadboard.\" */ common_bookNow_dialog_submit = 'common.bookNow.dialog.submit',\n /** \"The load poster will contact you shortly to confirm booking. This normally takes between 15 to 30 minutes.\" */ common_bookNow_dialog_pendingLong = 'common.bookNow.dialog.pendingLong',\n /** \"The load poster will contact you shortly to confirm booking. This normally takes between 1 to 2 minutes.\" */ common_bookNow_dialog_pendingShort = 'common.bookNow.dialog.pendingShort',\n /** \"You already booked this load on {{date}} at the posted rate {{amount}}. Please contact the load poster if necessary.\" */ common_bookNow_dialog_alreadyBooked = 'common.bookNow.dialog.alreadyBooked',\n /** \"Booking unavailable\" */ common_bookNow_dialog_unavailable = 'common.bookNow.dialog.unavailable',\n /** \"The load is no longer available.\" */ common_bookNow_dialog_unavailable_content = 'common.bookNow.dialog.unavailable_content',\n /** \"An error occurred while making the request. This may occur if the load is already gone, or if your DOT# can not be found in the system. You may call the load poster for more information about this load.\" */ common_bookNow_dialog_not_found = 'common.bookNow.dialog.not_found',\n /** \"It’s too soon since you booked your last load, which can be found in the “My loads” section. Please try again later.\" */ common_bookNow_dialog_recentlyBooked = 'common.bookNow.dialog.recentlyBooked',\n /** \"Booking request sent\" */ common_bookNow_bookedSuccessfully = 'common.bookNow.bookedSuccessfully',\n /** \"Verify your DOT#\" */ common_bookNow_dotVerification_popup_title = 'common.bookNow.dotVerification.popup.title',\n /** \"Only users with a verified DOT# can use \\\"Book now\\\" to book loads.\" */ common_bookNow_dotVerification_popup_content = 'common.bookNow.dotVerification.popup.content',\n /** \"Verify now\" */ common_bookNow_dotVerification_popup_button = 'common.bookNow.dotVerification.popup.button',\n /** \"Booking request confirmed\" */ common_bookNow_banner_confirmedTitle = 'common.bookNow.banner.confirmedTitle',\n /** \"{{company}} will send a rate confirmation to {{email}} shortly.\" */ common_bookNow_banner_confirmed = 'common.bookNow.banner.confirmed',\n /** \"Booking request pending\" */ common_bookNow_banner_pendingTitle = 'common.bookNow.banner.pendingTitle',\n /** \"The load poster will contact you shortly to confirm booking. This normally takes between 15 to 30 minutes.\" */ common_bookNow_banner_pendingLong = 'common.bookNow.banner.pendingLong',\n /** \"The load poster will contact you shortly to confirm booking. This normally takes between 1 to 2 minutes.\" */ common_bookNow_banner_pendingShort = 'common.bookNow.banner.pendingShort',\n /** \"Booking request rejected\" */ common_bookNow_banner_rejectedTitle = 'common.bookNow.banner.rejectedTitle',\n /** \"Your booking request has been rejected by the load poster.\" */ common_bookNow_banner_rejected = 'common.bookNow.banner.rejected',\n /** \"You're leaving 123Loadboard\" */ common_vHub_vHubMEMPopupHeader = 'common.vHub.vHubMEMPopupHeader',\n /** \"You're leaving \\n123Loadboard\" */ common_vHub_vHubPopupHeader = 'common.vHub.vHubPopupHeader',\n /** \"This Load will be booked through vHub. Please note that their terms and conditions may differ from 123Loadboard. The website will open in a new tab.\" */ common_vHub_vHubPopupDetails = 'common.vHub.vHubPopupDetails',\n /** \"123Loadboard is not responsible for any content on third party websites.\" */ common_vHub_vHubPopupSubDetails = 'common.vHub.vHubPopupSubDetails',\n /** \"Proceed\" */ common_vHub_vHubPopupButtonLabel = 'common.vHub.vHubPopupButtonLabel',\n /** \"Book\" */ common_vHub_vHubBookWithButtonLabel = 'common.vHub.vHubBookWithButtonLabel',\n /** \"Help\" */ common_help_title = 'common.help.title',\n /** \"FAQs\" */ common_help_faq = 'common.help.faq',\n /** \"Video tutorials\" */ common_help_videoTutorials = 'common.help.videoTutorials',\n /** \"Service code\" */ common_help_serviceCode_serviceCodeTitle = 'common.help.serviceCode.serviceCodeTitle',\n /** \"Generate code\" */ common_help_serviceCode_generateCode = 'common.help.serviceCode.generateCode',\n /** \"Service codes are a helpful way for our 123Loadboard support team to locate and troubleshoot accounts quicker. If you need technical assistance, please ensure that you are speaking to a representative and have your service code ready.\" */ common_help_serviceCode_description = 'common.help.serviceCode.description',\n /** \"Screen sharing\" */ common_help_screenSharing_title = 'common.help.screenSharing.title',\n /** \"Generate code\" */ common_help_screenSharing_generateCode = 'common.help.screenSharing.generateCode',\n /** \"Screen sharing will allow a 123Loadboard representative to better help you with troubleshooting. To activate the screen share, please call our Customer Support and provide them with your sharing code.\" */ common_help_screenSharing_description = 'common.help.screenSharing.description',\n /** \"End remote support\\nsession\" */ common_help_screenSharing_endSession_title = 'common.help.screenSharing.endSession.title',\n /** \"Do you want to stop this screen sharing session?\" */ common_help_screenSharing_endSession_description = 'common.help.screenSharing.endSession.description',\n /** \"Support request\" */ common_help_screenSharing_startSession_title = 'common.help.screenSharing.startSession.title',\n /** \"A 123Loadboard support agent wants to start a screen sharing session with you. Do you accept?\" */ common_help_screenSharing_startSession_description = 'common.help.screenSharing.startSession.description',\n /** \"Reject\" */ common_help_screenSharing_startSession_reject = 'common.help.screenSharing.startSession.reject',\n /** \"Accept\" */ common_help_screenSharing_startSession_accept = 'common.help.screenSharing.startSession.accept',\n /** \"Are you sure you want to clear all announcements?\" */ common_announcements_clearConfirmation = 'common.announcements.clearConfirmation',\n /** \"Service Related\" */ common_announcements_serviceRelated = 'common.announcements.serviceRelated',\n /** \"Notice\" */ common_announcements_notice = 'common.announcements.notice',\n /** \"Announcements\" */ common_announcements_announcements = 'common.announcements.announcements',\n /** \"Announce-\\nments\" */ common_announcements_announcementsNewLine = 'common.announcements.announcementsNewLine',\n /** \"Announcement\" */ common_announcements_announcement = 'common.announcements.announcement',\n /** \"Newsletter\" */ common_announcements_newsletter = 'common.announcements.newsletter',\n /** \"Promotion\" */ common_announcements_promotion = 'common.announcements.promotion',\n /** \"Announcements cleared successfully.\" */ common_announcements_clearSuccess = 'common.announcements.clearSuccess',\n /** \"An error occurred while clearing announcements.\" */ common_announcements_clearFailure = 'common.announcements.clearFailure',\n /** \"Announcement deleted successfully.\" */ common_announcements_deleteSuccess = 'common.announcements.deleteSuccess',\n /** \"An error occurred while deleting the announcement.\" */ common_announcements_deleteFailure = 'common.announcements.deleteFailure',\n /** \"No announcements available\" */ common_announcements_emptyList_title = 'common.announcements.emptyList.title',\n /** \"We didn't find anything to show here.\" */ common_announcements_emptyList_content = 'common.announcements.emptyList.content',\n /** \"Phone verification\" */ common_phoneVerification_title = 'common.phoneVerification.title',\n /** \"Verify your primary phone\" */ common_phoneVerification_creation_title = 'common.phoneVerification.creation.title',\n /** \"The verification code will be sent to {{phone}}.\" */ common_phoneVerification_creation_content = 'common.phoneVerification.creation.content',\n /** \"Select verification method\" */ common_phoneVerification_creation_selectVerificationMethod = 'common.phoneVerification.creation.selectVerificationMethod',\n /** \"Text message (SMS)\" */ common_phoneVerification_creation_textMessage = 'common.phoneVerification.creation.textMessage',\n /** \"Voice message\" */ common_phoneVerification_creation_voiceMessage = 'common.phoneVerification.creation.voiceMessage',\n /** \"Send {{type}} message\" */ common_phoneVerification_creation_sendMessage = 'common.phoneVerification.creation.sendMessage',\n /** \"voice\" */ common_phoneVerification_creation_messageTypes_voice = 'common.phoneVerification.creation.messageTypes.voice',\n /** \"text\" */ common_phoneVerification_creation_messageTypes_text = 'common.phoneVerification.creation.messageTypes.text',\n /** \"Your phone number has been verified. This will make your truck stand out when Brokers are looking for Carriers.\" */ common_phoneVerification_creation_success = 'common.phoneVerification.creation.success',\n /** \"Cannot verify landline phone by text\" */ common_phoneVerification_creation_error_landline_title = 'common.phoneVerification.creation.error.landline.title',\n /** \"This phone number is a landline and cannot be verified by text, would you like to send the verification by voice message?\" */ common_phoneVerification_creation_error_landline_content = 'common.phoneVerification.creation.error.landline.content',\n /** \"Something went wrong\" */ common_phoneVerification_creation_error_other = 'common.phoneVerification.creation.error.other',\n /** \"Cannot send verification message to invalid number.\" */ common_phoneVerification_creation_error_wrongNumber = 'common.phoneVerification.creation.error.wrongNumber',\n /** \"Too many attempts in a short period of time. Try again in a few minutes.\" */ common_phoneVerification_creation_error_tooManyAttempts = 'common.phoneVerification.creation.error.tooManyAttempts',\n /** \"A problem occurred. Verify that the phone number is valid.\" */ common_phoneVerification_creation_error_badRequest = 'common.phoneVerification.creation.error.badRequest',\n /** \"Verify your primary phone\" */ common_phoneVerification_codeInput_title = 'common.phoneVerification.codeInput.title',\n /** \"Enter the 6-digit code sent to you at {{phone}}\" */ common_phoneVerification_codeInput_content = 'common.phoneVerification.codeInput.content',\n /** \"Expires in {{countdown}} min\" */ common_phoneVerification_codeInput_expiresIn = 'common.phoneVerification.codeInput.expiresIn',\n /** \"Expired\" */ common_phoneVerification_codeInput_expired = 'common.phoneVerification.codeInput.expired',\n /** \"Resend code\" */ common_phoneVerification_codeInput_resendCode = 'common.phoneVerification.codeInput.resendCode',\n /** \"Verification code\" */ common_phoneVerification_codeInput_verificationCode = 'common.phoneVerification.codeInput.verificationCode',\n /** \"Verify\" */ common_phoneVerification_codeInput_verify = 'common.phoneVerification.codeInput.verify',\n /** \"Verification failed\" */ common_phoneVerification_codeInput_invalidCode_title = 'common.phoneVerification.codeInput.invalidCode.title',\n /** \"The code submitted was incorrect, please try again.\" */ common_phoneVerification_codeInput_invalidCode_content = 'common.phoneVerification.codeInput.invalidCode.content',\n /** \"Code you entered has expired. Press back and try again.\" */ common_phoneVerification_codeInput_toast_expiredCode = 'common.phoneVerification.codeInput.toast.expiredCode',\n /** \"Max attempts to check a verification code reached. Please wait until the current verification expires to generate a new code.\" */ common_phoneVerification_codeInput_toast_tooManyAttempts = 'common.phoneVerification.codeInput.toast.tooManyAttempts',\n /** \"Phone verified\" */ common_phoneVerification_success_header = 'common.phoneVerification.success.header',\n /** \"Verified\" */ common_phoneVerification_success_title = 'common.phoneVerification.success.title',\n /** \"Your phone number has been successfully verified.\" */ common_phoneVerification_success_subtitle = 'common.phoneVerification.success.subtitle',\n /** \"Card number\" */ common_paymentMethod_cardNumber = 'common.paymentMethod.cardNumber',\n /** \"CVV\" */ common_paymentMethod_cvv = 'common.paymentMethod.cvv',\n /** \"CID\" */ common_paymentMethod_cid = 'common.paymentMethod.cid',\n /** \"Zip/Postal code\" */ common_paymentMethod_zip = 'common.paymentMethod.zip',\n /** \"Card holder name\" */ common_paymentMethod_cardName = 'common.paymentMethod.cardName',\n /** \"Billing address\" */ common_paymentMethod_billingAddress = 'common.paymentMethod.billingAddress',\n /** \"The billing address is the address that appears on your credit card bill or bank statement.\" */ common_paymentMethod_billingAddressInfo = 'common.paymentMethod.billingAddressInfo',\n /** \"Security Code\" */ common_paymentMethod_securityCode = 'common.paymentMethod.securityCode',\n /** \"Enter your current billing information to update your payment method. The existing card on file will be replaced.\" */ common_paymentMethod_screenInfo = 'common.paymentMethod.screenInfo',\n /** \"Your payment method has been updated\" */ common_paymentMethod_methodWasUpdated = 'common.paymentMethod.methodWasUpdated',\n /** \"Other\" */ common_paymentMethod_radioList_other = 'common.paymentMethod.radioList.other',\n /** \"Expiration date\" */ common_paymentMethod_expirationInfo_title = 'common.paymentMethod.expirationInfo.title',\n /** \"You should be able to find this date on the front of your card, under the card number.\" */ common_paymentMethod_expirationInfo_description = 'common.paymentMethod.expirationInfo.description',\n /** \"CVV\" */ common_paymentMethod_CVVinfo_title = 'common.paymentMethod.CVVinfo.title',\n /** \"A 3-digit code on your credit card, you can find this on the back of your card.\" */ common_paymentMethod_CVVinfo_description = 'common.paymentMethod.CVVinfo.description',\n /** \"CID\" */ common_paymentMethod_CIDinfo_title = 'common.paymentMethod.CIDinfo.title',\n /** \"A 4-digit code located above your account number on the front of your card.\" */ common_paymentMethod_CIDinfo_description = 'common.paymentMethod.CIDinfo.description',\n /** \"Membership\" */ common_membership_title = 'common.membership.title',\n /** \"Membership Plan\" */ common_membership_membershipPlan = 'common.membership.membershipPlan',\n /** \"Manage plans\" */ common_membership_managePlan = 'common.membership.managePlan',\n /** \"Key features\" */ common_membership_keyFeatues = 'common.membership.keyFeatues',\n /** \"${{price}}/month\" */ common_membership_planPrice = 'common.membership.planPrice',\n /** \"${{price}}/year\" */ common_membership_planPricePerYear = 'common.membership.planPricePerYear',\n /** \"Unlock this feature\" */ common_membership_unlockThisFeature = 'common.membership.unlockThisFeature',\n /** \"Standard\" */ common_membership_plan_standard = 'common.membership.plan.standard',\n /** \"Premium\" */ common_membership_plan_premium = 'common.membership.plan.premium',\n /** \"Premium Plus\" */ common_membership_plan_premiumPlus = 'common.membership.plan.premiumPlus',\n /** \"Your membership plan has been updated.\" */ common_membership_upgradeResultScreen_success_title = 'common.membership.upgradeResultScreen.success.title',\n /** \"Continue\" */ common_membership_upgradeResultScreen_success_button = 'common.membership.upgradeResultScreen.success.button',\n /** \"There was a problem with your credit card.\" */ common_membership_upgradeResultScreen_failure_title = 'common.membership.upgradeResultScreen.failure.title',\n /** \"Please check your payment method and try again.\" */ common_membership_upgradeResultScreen_failure_subtitle = 'common.membership.upgradeResultScreen.failure.subtitle',\n /** \"Need help? Call {{number}}\" */ common_membership_upgradeResultScreen_failure_help = 'common.membership.upgradeResultScreen.failure.help',\n /** \"Try again\" */ common_membership_upgradeResultScreen_failure_button = 'common.membership.upgradeResultScreen.failure.button',\n /** \"Update plan\" */ common_membership_upgradePlanTitle = 'common.membership.upgradePlanTitle',\n /** \"After clicking \" */ common_membership_upgradePlanFirstMessage = 'common.membership.upgradePlanFirstMessage',\n /** \", your plan will be updated to \" */ common_membership_upgradePlanSecondMessage = 'common.membership.upgradePlanSecondMessage',\n /** \"Grow your business by upgrading your plan.\" */ common_membership_section = 'common.membership.section',\n /** \"Learn more\" */ common_membership_learnMore = 'common.membership.learnMore',\n /** \"Add-ons\" */ common_membership_addOn_title = 'common.membership.addOn.title',\n /** \"Additional features\" */ common_membership_addOn_sectionTitle = 'common.membership.addOn.sectionTitle',\n /** \"Available add-ons for your current plan\" */ common_membership_addOn_panelTitle = 'common.membership.addOn.panelTitle',\n /** \"Your Add-ons have been updated.\" */ common_membership_addOn_updated = 'common.membership.addOn.updated',\n /** \"Please check your payment method and try again.\" */ common_membership_addOn_updateFailSub = 'common.membership.addOn.updateFailSub',\n /** \"Unable to update\" */ common_membership_addOn_popupTitle = 'common.membership.addOn.popupTitle',\n /** \"The Add-on you have selected is already part of your current plan.\" */ common_membership_addOn_popupDetail = 'common.membership.addOn.popupDetail',\n /** \"Open settings\" */ common_membership_openSettings = 'common.membership.openSettings',\n /** \"Manage subscription\" */ common_membership_manageSubscription = 'common.membership.manageSubscription',\n /** \"Your 123Loadboard account is managed through the App Store. To make changes to your subscription, please do so through the App Store settings on your Apple device settings.\" */ common_membership_openAppleManageSubscriptionSettings = 'common.membership.openAppleManageSubscriptionSettings',\n /** \"Changes to your plan are effective upon confirmation from Apple, but may take some time to reflect on 123Loadboard.\" */ common_membership_applePlanUpgradeDelay = 'common.membership.applePlanUpgradeDelay',\n /** \"Manage plan\" */ common_upgradePlanPopup_button = 'common.upgradePlanPopup.button',\n /** \"Add-ons\" */ common_upgradePlanPopup_addOns = 'common.upgradePlanPopup.addOns',\n /** \"This feature is not available in your plan\" */ common_upgradePlanPopup_title = 'common.upgradePlanPopup.title',\n /** \"Driving time is available as part of the Premium and Premium plus membership plans, or can be added with the PC*Miler add-on.\" */ common_upgradePlanPopup_drivingTime = 'common.upgradePlanPopup.drivingTime',\n /** \"Rate Check is available as part of the Premium Plus membership plans, or can be added with Rate Check add-on.\" */ common_upgradePlanPopup_rateCheck = 'common.upgradePlanPopup.rateCheck',\n /** \"Credit ratings are only available as part of the Premium and Premium Plus membership plans.\" */ common_upgradePlanPopup_creditRating = 'common.upgradePlanPopup.creditRating',\n /** \"This feature is available as part of the Premium and Premium Plus membership plans, or can be added with the PC*Miler add-on.\" */ common_upgradePlanPopup_mileageCalculator = 'common.upgradePlanPopup.mileageCalculator',\n /** \"Trip\" */ common_profitCalculator_trip = 'common.profitCalculator.trip',\n /** \"If you’re unsure of your trip mileage, enter your Pick up and Drop off locations to pre-fill your miles.\" */ common_profitCalculator_tripDescription = 'common.profitCalculator.tripDescription',\n /** \"Fix now\" */ common_paymentDeclinedBanner_actions_fixNow = 'common.paymentDeclinedBanner.actions.fixNow',\n /** \"here\" */ common_paymentDeclinedBanner_actions_here = 'common.paymentDeclinedBanner.actions.here',\n /** \"View details\" */ common_paymentDeclinedBanner_actions_viewDetails = 'common.paymentDeclinedBanner.actions.viewDetails',\n /** \"Your membership has been downgraded to Basic because of overdue invoices. \" */ common_paymentDeclinedBanner_accountExpired_message = 'common.paymentDeclinedBanner.accountExpired.message',\n /** \"Your membership is about to be suspended because of an overdue invoice. \" */ common_paymentDeclinedBanner_accountExpiringSoon_message = 'common.paymentDeclinedBanner.accountExpiringSoon.message',\n /** \"Your membership is about to be suspended because of an overdue invoice. Please contact your account administrator.\" */ common_paymentDeclinedBanner_accountExpiringSoon_messageNonAdmin = 'common.paymentDeclinedBanner.accountExpiringSoon.messageNonAdmin',\n /** \"We are unable to process payments on your account. \" */ common_paymentDeclinedBanner_hardDecline_message = 'common.paymentDeclinedBanner.hardDecline.message',\n /** \"There was an issue with processing your membership payment. Please update your billing information \" */ common_paymentDeclinedBanner_hardDecline_messageFirstPart = 'common.paymentDeclinedBanner.hardDecline.messageFirstPart',\n /** \"You have access until {{date}}, after that your account will be processed to close.\" */ common_paymentDeclinedBanner_hardDecline_messageLastPart = 'common.paymentDeclinedBanner.hardDecline.messageLastPart',\n /** \"Your membership may be affected due to a billing issue.\" */ common_paymentDeclinedBanner_hardDecline_messageIOS = 'common.paymentDeclinedBanner.hardDecline.messageIOS',\n /** \"We are unable to process payments on your account. Please contact your account administrator.\" */ common_paymentDeclinedBanner_hardDecline_messageNonAdmin = 'common.paymentDeclinedBanner.hardDecline.messageNonAdmin',\n /** \"We were unable to process a payment on your account. \" */ common_paymentDeclinedBanner_softDecline_message = 'common.paymentDeclinedBanner.softDecline.message',\n /** \"There was an issue with processing your membership payment. Please update your billing information \" */ common_paymentDeclinedBanner_softDecline_messageFirstPart = 'common.paymentDeclinedBanner.softDecline.messageFirstPart',\n /** \"You have access until {{date}}, after that your account will be processed to close.\" */ common_paymentDeclinedBanner_softDecline_messageLastPart = 'common.paymentDeclinedBanner.softDecline.messageLastPart',\n /** \"Your membership may be affected due to a billing issue.\" */ common_paymentDeclinedBanner_softDecline_messageIOS = 'common.paymentDeclinedBanner.softDecline.messageIOS',\n /** \"We were unable to process a payment on your account. Please contact your account administrator.\" */ common_paymentDeclinedBanner_softDecline_messageNonAdmin = 'common.paymentDeclinedBanner.softDecline.messageNonAdmin',\n /** \"You have a billing issue on file. \" */ common_paymentDeclinedBanner_generic_message = 'common.paymentDeclinedBanner.generic.message',\n /** \"click here\" */ common_paymentDeclinedBanner_unsubscribeBannerMessageLink = 'common.paymentDeclinedBanner.unsubscribeBannerMessageLink',\n /** \"You have unsubscribed from your membership.\" */ common_paymentDeclinedBanner_unsubscribedMessage = 'common.paymentDeclinedBanner.unsubscribedMessage',\n /** \"You will continue to have access until {{date}}.\" */ common_paymentDeclinedBanner_accessUntil = 'common.paymentDeclinedBanner.accessUntil',\n /** \"If you wish to re-activate your account, \" */ common_paymentDeclinedBanner_reactivate = 'common.paymentDeclinedBanner.reactivate',\n /** \"To make changes to your company information, please contact our posting department at \" */ common_businessProfile_lockedCompany = 'common.businessProfile.lockedCompany',\n /** \"DOT#\" */ common_businessProfile_dot = 'common.businessProfile.dot',\n /** \"Business profile\" */ common_businessProfile_title = 'common.businessProfile.title',\n /** \"Address:\" */ common_businessProfile_addressTitle = 'common.businessProfile.addressTitle',\n /** \"Company phone:\" */ common_businessProfile_companyPhoneTitle = 'common.businessProfile.companyPhoneTitle',\n /** \"Company name:\" */ common_businessProfile_companyNameTitle = 'common.businessProfile.companyNameTitle',\n /** \"DOT#:\" */ common_businessProfile_dotNumberTitle = 'common.businessProfile.dotNumberTitle',\n /** \"MC#:\" */ common_businessProfile_mcNumberTitle = 'common.businessProfile.mcNumberTitle',\n /** \"Use FMCSA company details\" */ common_businessProfile_dotBusinessProfileOption_noDot_title = 'common.businessProfile.dotBusinessProfileOption.noDot.title',\n /** \"Please enter your DOT# above to activate FMCSA company details.\" */ common_businessProfile_dotBusinessProfileOption_noDot_text = 'common.businessProfile.dotBusinessProfileOption.noDot.text',\n /** \"Use FMCSA company details\" */ common_businessProfile_dotBusinessProfileOption_noInformationAvailable_title = 'common.businessProfile.dotBusinessProfileOption.noInformationAvailable.title',\n /** \"We were unable to find information for the entered DOT#.\" */ common_businessProfile_dotBusinessProfileOption_noInformationAvailable_text = 'common.businessProfile.dotBusinessProfileOption.noInformationAvailable.text',\n /** \"Use custom company details\" */ common_businessProfile_dotBusinessProfileOption_customProfile_title = 'common.businessProfile.dotBusinessProfileOption.customProfile.title',\n /** \"Use FMCSA company details\" */ common_businessProfile_dotBusinessProfileOption_volpeProfile_title = 'common.businessProfile.dotBusinessProfileOption.volpeProfile.title',\n /** \"Add extension\" */ common_dotVerification_addExtension = 'common.dotVerification.addExtension',\n /** \"Please enter your extension below to continue DOT# verification.\" */ common_dotVerification_addExtensionText = 'common.dotVerification.addExtensionText',\n /** \"Ext.\" */ common_dotVerification_ext = 'common.dotVerification.ext',\n /** \"Remove extension\" */ common_dotVerification_removeExtension = 'common.dotVerification.removeExtension',\n /** \"Verification via SMS is not available for numbers with extensions. If you wish to verify via text message (SMS), remove the extension from this number.\" */ common_dotVerification_VerificationViaSMS = 'common.dotVerification.VerificationViaSMS',\n /** \"This information is provided by FMCSA. To edit or update the information, \" */ common_dotVerification_fmcsaBanner_text = 'common.dotVerification.fmcsaBanner.text',\n /** \"contact FMCSA\" */ common_dotVerification_fmcsaBanner_contactFMCSA = 'common.dotVerification.fmcsaBanner.contactFMCSA',\n /** \"FMCSA\" */ common_dotVerification_fmcsaBanner_button = 'common.dotVerification.fmcsaBanner.button',\n /** \"Verify your DOT# {{dot}}\" */ common_dotVerification_popup_title = 'common.dotVerification.popup.title',\n /** \"Only users with a verified DOT# can use \\\"Book now\\\" to book loads.\" */ common_dotVerification_popup_content = 'common.dotVerification.popup.content',\n /** \"Verify now\" */ common_dotVerification_popup_button = 'common.dotVerification.popup.button',\n /** \"To activate add-on, please enter your DOT#.\" */ common_dotVerification_popup_addOnTitle = 'common.dotVerification.popup.addOnTitle',\n /** \"DOT# verification\" */ common_dotVerification_title = 'common.dotVerification.title',\n /** \"DOT# verified\" */ common_dotVerification_dotNumberVerified = 'common.dotVerification.dotNumberVerified',\n /** \"Verify DOT#\" */ common_dotVerification_verifyDotNumber = 'common.dotVerification.verifyDotNumber',\n /** \"Verify your DOT#\" */ common_dotVerification_verifyYourDotNumber = 'common.dotVerification.verifyYourDotNumber',\n /** \"Please enter DOT#.\" */ common_dotVerification_pleaseEnterDot = 'common.dotVerification.pleaseEnterDot',\n /** \"Send request\" */ common_dotVerification_sendRequest = 'common.dotVerification.sendRequest',\n /** \"Brokers and shippers prefer to work with Carriers that have verified their DOT#. You can verify your DOT# via phone confirmation. Please select a phone number that you have access to.\" */ common_dotVerification_phoneListPanelText = 'common.dotVerification.phoneListPanelText',\n /** \"Brokers and shippers prefer to work with Carriers that have verified their DOT#s. \\n\\nYou can verify your DOT# through your phone number(s) via SMS or voice confirmation\" */ common_dotVerification_phoneListOptionPanelText = 'common.dotVerification.phoneListOptionPanelText',\n /** \"; or you can verify through MyCarrierPortal.\" */ common_dotVerification_verifyThroughMCP = 'common.dotVerification.verifyThroughMCP',\n /** \"Select preferred option\" */ common_dotVerification_listPanelSelectOption = 'common.dotVerification.listPanelSelectOption',\n /** \"You can verify your DOT# with a confirmation code that will be sent to\" */ common_dotVerification_verificationCodeWillBeSentTo = 'common.dotVerification.verificationCodeWillBeSentTo',\n /** \"Please select your preferred activation method.\" */ common_dotVerification_selectActivationMethod = 'common.dotVerification.selectActivationMethod',\n /** \"Select verification method\" */ common_dotVerification_selectVerificationMethodTitle = 'common.dotVerification.selectVerificationMethodTitle',\n /** \"Enter code\" */ common_dotVerification_enterCode = 'common.dotVerification.enterCode',\n /** \"Verification error\" */ common_dotVerification_errorPanel_title = 'common.dotVerification.errorPanel.title',\n /** \"We were unable to find information\\n for the entered DOT#:\" */ common_dotVerification_errorPanel_unableToFindByDot = 'common.dotVerification.errorPanel.unableToFindByDot',\n /** \"Please make sure your DOT# is\\n entered correctly or try again later.\" */ common_dotVerification_errorPanel_makeSureDotEntered = 'common.dotVerification.errorPanel.makeSureDotEntered',\n /** \"Your DOT number has been successfully verified.\" */ common_dotVerification_resultPanel_successfullyVerified = 'common.dotVerification.resultPanel.successfullyVerified',\n /** \"MyCarrierPortal\" */ common_dotVerification_myCarrierPortal_title = 'common.dotVerification.myCarrierPortal.title',\n /** \"Instructions sent\" */ common_dotVerification_myCarrierPortal_sent = 'common.dotVerification.myCarrierPortal.sent',\n /** \"Verification instructions have been sent to \" */ common_dotVerification_myCarrierPortal_instructionsSentTo = 'common.dotVerification.myCarrierPortal.instructionsSentTo',\n /** \"This email was sent on \" */ common_dotVerification_myCarrierPortal_emailSentOn = 'common.dotVerification.myCarrierPortal.emailSentOn',\n /** \"Please open the email and follow the provided instructions. When this process is completed and we receive confirmation from MyCarrierPortal, your DOT# verification status will be updated.\" */ common_dotVerification_myCarrierPortal_instructions = 'common.dotVerification.myCarrierPortal.instructions',\n /** \"If you haven't received an email, make sure to check your spam and deleted items folders for any items sent on \" */ common_dotVerification_myCarrierPortal_instructions2 = 'common.dotVerification.myCarrierPortal.instructions2',\n /** \"Verification Already Initiated\" */ common_dotVerification_myCarrierPortal_verificationInitiated = 'common.dotVerification.myCarrierPortal.verificationInitiated',\n /** \"Your verification request has been previously initiated from another source. Once MCP confirms your verification, your DOT number will be marked as verified.\" */ common_dotVerification_myCarrierPortal_verificationDescription = 'common.dotVerification.myCarrierPortal.verificationDescription',\n /** \"Should you have any questions or require further assistance with the process, MCP's team is available to help you understand the process and provide any additional support you might need. You can contact them at (818) 453-8591 or email \" */ common_dotVerification_myCarrierPortal_verificationdescription2 = 'common.dotVerification.myCarrierPortal.verificationdescription2',\n /** \"help@assureassist.com\" */ common_dotVerification_myCarrierPortal_MCPEmail = 'common.dotVerification.myCarrierPortal.MCPEmail',\n /** \"Permissions\" */ common_permissions_title = 'common.permissions.title',\n /** \"Login Sessions\" */ common_permissions_loginSessions = 'common.permissions.loginSessions',\n /** \"Active login sessions\" */ common_permissions_loginSessionsHeader = 'common.permissions.loginSessionsHeader',\n /** \"{{platform}} currently logged in on {{userAgent}}\" */ common_permissions_user = 'common.permissions.user',\n /** \"Created: {{date}}\" */ common_permissions_createdOn = 'common.permissions.createdOn',\n /** \"Updated: {{date}}\" */ common_permissions_updatedOn = 'common.permissions.updatedOn',\n /** \"IP address: {{ip}}\" */ common_permissions_ipAddress = 'common.permissions.ipAddress',\n /** \"Attention, this is your current session.\" */ common_permissions_currentSessionWarning = 'common.permissions.currentSessionWarning',\n /** \"You will be logged out of this device ({{device}}) until you log in again.\" */ common_permissions_logoutDialog = 'common.permissions.logoutDialog',\n /** \"This integration will no longer be available until you reactivate.\" */ common_permissions_deactivateDialog = 'common.permissions.deactivateDialog',\n /** \"Integrations\" */ common_permissions_integrations = 'common.permissions.integrations',\n /** \"Active integrations\" */ common_permissions_integratorsHeader = 'common.permissions.integratorsHeader',\n /** \"Activated on {{date}}\" */ common_permissions_activatedOn = 'common.permissions.activatedOn',\n /** \"Integration permission details\" */ common_permissions_integrationsHeader = 'common.permissions.integrationsHeader',\n /** \"Logged out successfully\" */ common_permissions_snackbarLogoutSuccess = 'common.permissions.snackbarLogoutSuccess',\n /** \"Logout unsuccessfull\" */ common_permissions_snackbarLogoutFailure = 'common.permissions.snackbarLogoutFailure',\n /** \"Successfully deactivated\" */ common_permissions_snackbarDeactivationSuccess = 'common.permissions.snackbarDeactivationSuccess',\n /** \"Deactivation unsuccessfull\" */ common_permissions_snackbarDeactivationFailure = 'common.permissions.snackbarDeactivationFailure',\n /** \"Market Rates\" */ common_marketRate_marketRates = 'common.marketRate.marketRates',\n /** \"Market rates\" */ common_marketRate_title = 'common.marketRate.title',\n /** \"Not available\" */ common_marketRate_notAvailable = 'common.marketRate.notAvailable',\n /** \"Available\" */ common_marketRate_available = 'common.marketRate.available',\n /** \"Not available at this time\" */ common_marketRate_notAvailableAtThisTime = 'common.marketRate.notAvailableAtThisTime',\n /** \"Not available for this trailer type\" */ common_marketRate_notAvailableTrailer = 'common.marketRate.notAvailableTrailer',\n /** \"Not available for locations outside the US\" */ common_marketRate_notAvailableOutsideUS = 'common.marketRate.notAvailableOutsideUS',\n /** \"{{rate}}/mi avg. rate by Rate Check\" */ common_marketRate_byRateCheck = 'common.marketRate.byRateCheck',\n /** \"{{rate}}/mi est. rate by Cargo Chief\" */ common_marketRate_byCargoChief = 'common.marketRate.byCargoChief',\n /** \"{{minRate}}/mi - {{maxRate}}/mi est. rate by GS\" */ common_marketRate_byGS = 'common.marketRate.byGS',\n /** \"Market rate is the price loads matching the lane and equipment type typically pay. This data can help with rate negotiation.\" */ common_marketRate_content = 'common.marketRate.content',\n /** \"Cargo Chief\" */ common_marketRate_cargoChief_title = 'common.marketRate.cargoChief.title',\n /** \"Cargo Chief's market rate add-on will give you estimates based on the highest, middle, and lowest rates gathered from\" */ common_marketRate_cargoChief_popupContent = 'common.marketRate.cargoChief.popupContent',\n /** \" actual freight bills \" */ common_marketRate_cargoChief_popupContentBold = 'common.marketRate.cargoChief.popupContentBold',\n /** \"rather than quoted prices.\\n\\nThis data can be seen by adding the Cargo Chief add-on.\" */ common_marketRate_cargoChief_popupContent2 = 'common.marketRate.cargoChief.popupContent2',\n /** \"{{rate}}/mi estimated rate\" */ common_marketRate_cargoChief_estRate = 'common.marketRate.cargoChief.estRate',\n /** \"Rate estimate\" */ common_marketRate_cargoChief_rateEst = 'common.marketRate.cargoChief.rateEst',\n /** \"Per mile\" */ common_marketRate_cargoChief_perMile = 'common.marketRate.cargoChief.perMile',\n /** \"Low est.\" */ common_marketRate_cargoChief_lowEst = 'common.marketRate.cargoChief.lowEst',\n /** \"High est.\" */ common_marketRate_cargoChief_highEst = 'common.marketRate.cargoChief.highEst',\n /** \"Estimate\" */ common_marketRate_cargoChief_est = 'common.marketRate.cargoChief.est',\n /** \"Cargo Chief's market rate estimates are based on the highest, middle, and lowest rates gathered from actual freight bills rather than quoted prices.\" */ common_marketRate_cargoChief_info = 'common.marketRate.cargoChief.info',\n /** \"Greenscreens\" */ common_marketRate_greenscreens_title = 'common.marketRate.greenscreens.title',\n /** \"{{minRate}}/mi - {{maxRate}}/mi est. rate\" */ common_marketRate_greenscreens_subtitle = 'common.marketRate.greenscreens.subtitle',\n /** \"{{rate}} per mile\" */ common_marketRate_greenscreens_valuePerMile = 'common.marketRate.greenscreens.valuePerMile',\n /** \"MIN\" */ common_marketRate_greenscreens_min = 'common.marketRate.greenscreens.min',\n /** \"MAX\" */ common_marketRate_greenscreens_max = 'common.marketRate.greenscreens.max',\n /** \"Greenscreens provides market rate data gathered from a combination of quoted prices and confirmed rates.\" */ common_marketRate_greenscreens_info = 'common.marketRate.greenscreens.info',\n /** \"Rate not available\" */ common_marketRate_rateCheck_rateNotAvailable = 'common.marketRate.rateCheck.rateNotAvailable',\n /** \"Rate data for this load is not available at this time. Please try again later.\" */ common_marketRate_rateCheck_rateNotAvailable_info = 'common.marketRate.rateCheck.rateNotAvailable_info',\n /** \"Rate Check\" */ common_marketRate_rateCheck_title = 'common.marketRate.rateCheck.title',\n /** \"The Rate Check market rate will give you the highest, lowest, and average market rates with historical data based on posted rates. Many tools on 123Loadboard use Rate Check data to bring you the most accurate information available.\" */ common_marketRate_rateCheck_popupContent = 'common.marketRate.rateCheck.popupContent',\n /** \"Rate Check is available as part of the Premium Plus membership plan, or can be added with Rate Check add-on.\" */ common_marketRate_rateCheck_popupContentDetails = 'common.marketRate.rateCheck.popupContentDetails',\n /** \"Rate Check is available as part of the Premium Plus membership plan.\" */ common_marketRate_rateCheck_popupContentDetailsIOSUser = 'common.marketRate.rateCheck.popupContentDetailsIOSUser',\n /** \"The Market rates tool gives you lane-specific rate data including historical rates, insights, and average rates.\" */ common_marketRate_ratesAccess_content1 = 'common.marketRate.ratesAccess.content1',\n /** \"Rate Check is required to have access to the Market rates tool. Many tools on 123Loadboard use Rate Check data to bring you the most accurate information available.\" */ common_marketRate_ratesAccess_content2 = 'common.marketRate.ratesAccess.content2',\n /** \"Rate Check is available as part of the Premium Plus membership plan or can be added with Rate Check add-on.\" */ common_marketRate_ratesAccess_content3 = 'common.marketRate.ratesAccess.content3',\n /** \"Rate Check is available as part of the Premium Plus membership plan.\" */ common_marketRate_ratesAccess_content3IOSUsers = 'common.marketRate.ratesAccess.content3IOSUsers',\n /** \"Error getting current location. Please try again\" */ common_currentLocationError = 'common.currentLocationError',\n /** \"Unknown\" */ common_marketRankings_unknown = 'common.marketRankings.unknown',\n /** \"Below avg.\" */ common_marketRankings_belowAverage = 'common.marketRankings.belowAverage',\n /** \"Average\" */ common_marketRankings_average = 'common.marketRankings.average',\n /** \"Above avg.\" */ common_marketRankings_aboveAverage = 'common.marketRankings.aboveAverage',\n /** \"Rating\" */ common_ratings_title = 'common.ratings.title',\n /** \"Not rated\" */ common_ratings_notRated = 'common.ratings.notRated',\n /** \"Based on {{count}} reviews\" */ common_ratings_basedOnReviews = 'common.ratings.basedOnReviews',\n /** \"Based on 1 review\" */ common_ratings_basedOnReview = 'common.ratings.basedOnReview',\n /** \"Safety Rating:\" */ common_ratings_safetyRating = 'common.ratings.safetyRating',\n /** \"Carrier Operation:\" */ common_ratings_carrierOperation = 'common.ratings.carrierOperation',\n /** \"powered by\" */ common_ratings_poweredBy = 'common.ratings.poweredBy',\n /** \"More details\" */ common_ratings_moreDetails = 'common.ratings.moreDetails',\n /** \"You're leaving 123Loadboard\" */ common_ratings_popupTitle = 'common.ratings.popupTitle',\n /** \"More detailed carrier ratings are available on CarrierSource. Please note that their terms and conditions may differ from 123Loadboard. The website will open in a new tab.\" */ common_ratings_popupInfo = 'common.ratings.popupInfo',\n /** \"Proceed\" */ common_ratings_proceed = 'common.ratings.proceed',\n /** \"123Loadboard is not responsible for any content on third party websites.\" */ common_ratings_moreInfo = 'common.ratings.moreInfo',\n /** \"Carrier Ratings powered by CarrierSource\" */ common_ratings_ratingsPoweredBy = 'common.ratings.ratingsPoweredBy',\n /** \"New to CarrierSource?\" */ common_ratings_newToCarrierSource = 'common.ratings.newToCarrierSource',\n /** \"Sign up now and seek reviews from brokers to strengthen your brand.\" */ common_ratings_signUpContent = 'common.ratings.signUpContent',\n /** \"Sign up\" */ common_ratings_signUpButton = 'common.ratings.signUpButton',\n /** \"Up my score?\" */ common_ratings_upMyScore = 'common.ratings.upMyScore',\n /** \"To update your email, call\" */ updateEmail = 'updateEmail',\n /** \"To reset your password\" */ reset_password = 'reset_password',\n /** \"Internet Explorer is not currently supported. Please upgrade to Microsoft Edge or change browser.\" */ IE_Warning = 'IE_Warning',\n /** \"Load board solutions to help professional truckers find truck loads, find available freight, post their truck availability to move more truck freight.\" */ Meta_Description = 'Meta_Description',\n /** \"Go to detail\" */ Go_to_detail = 'Go_to_detail',\n /** \"My Account\" */ My_Account = 'My_Account',\n /** \"Message Center\" */ Message_Center = 'Message_Center',\n /** \"Alerts\" */ Alerts = 'Alerts',\n /** \"Help\" */ Help = 'Help',\n /** \"CURRENT\" */ current = 'current',\n /** \"Settings\" */ Settings = 'Settings',\n /** \"Logout\" */ Logout = 'Logout',\n /** \"Submit\" */ Submit = 'Submit',\n /** \"Create\" */ Create = 'Create',\n /** \"click here\" */ Click_Here = 'Click_Here',\n /** \"Version\" */ Version = 'Version',\n /** \"Number\" */ Number = 'Number',\n /** \"Street name\" */ StreetName = 'StreetName',\n /** \"or\" */ Or = 'Or',\n /** \"of\" */ Of = 'Of',\n /** \"Ok\" */ Ok = 'Ok',\n /** \"Saved\" */ Saved = 'Saved',\n /** \"Contact\" */ Contact = 'Contact',\n /** \"Calculate\" */ Calculate = 'Calculate',\n /** \"Phone number\" */ PhoneNumber = 'PhoneNumber',\n /** \"Please call\" */ PleaseCall = 'PleaseCall',\n /** \"Show\" */ Show = 'Show',\n /** \"Invalid format\" */ Invalid_Format = 'Invalid_Format',\n /** \"Dismiss\" */ Dismiss = 'Dismiss',\n /** \"ext. {{extension}}\" */ Extension_Short = 'Extension_Short',\n /** \"Time\" */ Time = 'Time',\n /** \"to\" */ To = 'To',\n /** \"upgrade.\" */ Upgrade = 'Upgrade',\n /** \"Date\" */ Date = 'Date',\n /** \"email\" */ email = 'email',\n /** \"Name\" */ name = 'name',\n /** \"See all in 123Loadboard\" */ open123LB = 'open123LB',\n /** \"Show number\" */ showNumber = 'showNumber',\n /** \"show\" */ textfield_Show_Password = 'textfield.Show_Password',\n /** \"hide\" */ textfield_Hide_Password = 'textfield.Hide_Password',\n /** \"icon\" */ altText_icon = 'altText.icon',\n /** \"control\" */ altText_control = 'altText.control',\n /** \"To access this feature, please \" */ authenticatedRoute_upgradePlan_title = 'authenticatedRoute.upgradePlan.title',\n /** \"upgrade your plan.\" */ authenticatedRoute_upgradePlan_link = 'authenticatedRoute.upgradePlan.link',\n /** \"To activate this feature, please \" */ authenticatedRoute_restrictedRibbonPopUp_title = 'authenticatedRoute.restrictedRibbonPopUp.title',\n /** \"send a request \" */ authenticatedRoute_restrictedRibbonPopUp_request = 'authenticatedRoute.restrictedRibbonPopUp.request',\n /** \" or call \" */ authenticatedRoute_restrictedRibbonPopUp_content = 'authenticatedRoute.restrictedRibbonPopUp.content',\n /** \" 877-875-5301 ext. 2.\" */ authenticatedRoute_restrictedRibbonPopUp_contact = 'authenticatedRoute.restrictedRibbonPopUp.contact',\n /** \"To activate this feature, please \" */ authenticatedRoute_restrictedRibbonPopUpCarrier_title = 'authenticatedRoute.restrictedRibbonPopUpCarrier.title',\n /** \"send a request \" */ authenticatedRoute_restrictedRibbonPopUpCarrier_request = 'authenticatedRoute.restrictedRibbonPopUpCarrier.request',\n /** \" to our support team. \" */ authenticatedRoute_restrictedRibbonPopUpCarrier_content = 'authenticatedRoute.restrictedRibbonPopUpCarrier.content',\n /** \"Session paused\" */ sessionPausedPopUp_title = 'sessionPausedPopUp.title',\n /** \"Due to inactivity, your session has been paused. Please click anywhere to continue.\" */ sessionPausedPopUp_content = 'sessionPausedPopUp.content',\n /** \"(877) 875-5301\" */ contactSupportPhone = 'contactSupportPhone',\n /** \"Something went wrong. If the error persist, please contact tech support.\" */ error_generic_api_message = 'error.generic_api_message',\n /** \"Oops, something went wrong.\" */ error_title = 'error.title',\n /** \"An internal server error or bad connectivity occurred. Please reload to try again. If the error persist, please contact tech support.\" */ error_network_server_error = 'error.network_server_error',\n /** \"Something went wrong. You may retry now or at a later time.\" */ error_message_retry = 'error.message_retry',\n /** \"An internal server error occurred. Please try again.\" */ error_message_error = 'error.message_error',\n /** \"The address cannot be located, please enter a valid address.\" */ error_invalid_address = 'error.invalid_address',\n /** \"An error has occured\" */ error_genericErrorTitle = 'error.genericErrorTitle',\n /** \"We are experiencing technical difficulties, please try again.\" */ error_genericErrorMessage = 'error.genericErrorMessage',\n /** \"If the problem persists, please contact support at\" */ error_genericContactSupport = 'error.genericContactSupport',\n /** \"Experiencing connectivity issues. If the problem persists, please contact support at\" */ error_connectionErrorMessage = 'error.connectionErrorMessage',\n /** \"An error occurred. Please try again.\" */ error_try_again_error = 'error.try_again_error',\n /** \"Failed to load\" */ error_failed_to_load = 'error.failed_to_load',\n /** \"Retry\" */ error_retry = 'error.retry',\n /** \"Reload the page\" */ error_reload_label = 'error.reload_label',\n /** \"Try again\" */ error_try_again = 'error.try_again',\n /** \"Not a valid email address.\" */ error_validation_email = 'error.validation.email',\n /** \"Phone number must be 10 digits long.\" */ error_validation_phone = 'error.validation.phone',\n /** \"Phone number is required.\" */ error_validation_undefinedPhone = 'error.validation.undefinedPhone',\n /** \"The phone number is not valid.\" */ error_validation_invalidPhone = 'error.validation.invalidPhone',\n /** \"Email is not valid.\" */ error_validation_invalidEmail = 'error.validation.invalidEmail',\n /** \"Drop off date must be after Pick up date.\" */ error_validation_dropoffAfterPickup = 'error.validation.dropoffAfterPickup',\n /** \"Ext is too long\" */ error_validation_invalidExt = 'error.validation.invalidExt',\n /** \"*Phone or email are required.\" */ error_validation_contactDataError = 'error.validation.contactDataError',\n /** \"The link is not valid\" */ error_validation_invalidLink = 'error.validation.invalidLink',\n /** \"Daily complimentary usage reached!\" */ error_limitReached = 'error.limitReached',\n /** \"{{sign}}{{currency}}{{value}}\" */ unit_money = 'unit.money',\n /** \"{{count}} year\" */ unit_year = 'unit.year',\n /** \"{{count}} years\" */ unit_year_plural = 'unit.year_plural',\n /** \"{{count}} month\" */ unit_month = 'unit.month',\n /** \"{{count}} months\" */ unit_month_plural = 'unit.month_plural',\n /** \"{{count}} day\" */ unit_day = 'unit.day',\n /** \"{{count}} days\" */ unit_day_plural = 'unit.day_plural',\n /** \"{{value}} mile\" */ unit_mile = 'unit.mile',\n /** \"{{value}} mi\" */ unit_mi = 'unit.mi',\n /** \"{{value}} miles\" */ unit_mile_plural = 'unit.mile_plural',\n /** \"{{value}} MPG\" */ unit_mile_per_gallon_short = 'unit.mile_per_gallon_short',\n /** \"{{value}} / mile\" */ unit_per_mile = 'unit.per_mile',\n /** \"{{value}}/mi\" */ unit_per_mi = 'unit.per_mi',\n /** \"{{value}}/gal\" */ unit_per_gal = 'unit.per_gal',\n /** \"{{value}} lbs\" */ unit_pounds = 'unit.pounds',\n /** \"{{value}} lb\" */ unit_pound = 'unit.pound',\n /** \"{{value}} ft\" */ unit_feet = 'unit.feet',\n /** \"{{value}}'\" */ unit_feet_symbol = 'unit.feet_symbol',\n /** \"Dashboard\" */ Header_Dashboard = 'Header.Dashboard',\n /** \"Find Loads\" */ Header_Find_Loads = 'Header.Find_Loads',\n /** \"Search Loads\" */ Header_Search_Loads = 'Header.Search_Loads',\n /** \"Load availability\" */ Header_Load_Availability = 'Header.Load_Availability',\n /** \"Trip builder\" */ Header_Trip_Builder = 'Header.Trip_Builder',\n /** \"New trip\" */ Header_New_Trip = 'Header.New_Trip',\n /** \"Add a load\" */ Header_Add_A_Load = 'Header.Add_A_Load',\n /** \"Load Planner\" */ Header_Load_Planner = 'Header.Load_Planner',\n /** \"Post Loads\" */ Header_Post_Loads = 'Header.Post_Loads',\n /** \"Manage Loads\" */ Header_Manage_Loads = 'Header.Manage_Loads',\n /** \"Post Single Load\" */ Header_Post_Single_Load = 'Header.Post_Single_Load',\n /** \"Post Multiple Loads\" */ Header_Post_Multiple_Loads = 'Header.Post_Multiple_Loads',\n /** \"Upload Posts\" */ Header_Upload_Posts = 'Header.Upload_Posts',\n /** \"Export Posts\" */ Header_Export_Posts = 'Header.Export_Posts',\n /** \"Find Trucks\" */ Header_Find_Trucks = 'Header.Find_Trucks',\n /** \"Integration Services\" */ Header_Integration_Services = 'Header.Integration_Services',\n /** \"HTML Embed Code\" */ Header_HTML_Embed_Code = 'Header.HTML_Embed_Code',\n /** \"Tools\" */ Header_Tools = 'Header.Tools',\n /** \"Rate Check\" */ Header_Rate_Check = 'Header.Rate_Check',\n /** \"MyDocs\" */ Header_MyDocs = 'Header.MyDocs',\n /** \"Map, routing, and tolls\" */ Header_Mileage_Map_Tolls = 'Header.Mileage_Map_Tolls',\n /** \"Mileage Calculator\" */ Header_Mileage_Calculator = 'Header.Mileage_Calculator',\n /** \"Credit Report\" */ Header_Credit_Report = 'Header.Credit_Report',\n /** \"Carrier Monitor\" */ Header_Carrier_Monitor = 'Header.Carrier_Monitor',\n /** \"Search Directory\" */ Header_Search_Directory = 'Header.Search_Directory',\n /** \"Hot Leads\" */ Header_Hot_Leads = 'Header.Hot_Leads',\n /** \"SearchDocs\" */ Header_SearchDocs = 'Header.SearchDocs',\n /** \"Affiliated Services\" */ Header_Affiliated_Services = 'Header.Affiliated_Services',\n /** \"Get Paid Faster\" */ Header_Get_Paid_Faster = 'Header.Get_Paid_Faster',\n /** \"Save At The Pump\" */ Header_Save_At_The_Pump = 'Header.Save_At_The_Pump',\n /** \"Roadside Assistance\" */ Header_Roadside_Assistance = 'Header.Roadside_Assistance',\n /** \"Trucking Authority\" */ Header_Trucking_Authority = 'Header.Trucking_Authority',\n /** \"Resources\" */ Header_Resources = 'Header.Resources',\n /** \"Reefer Rates\" */ Header_Reefer_Rates = 'Header.Reefer_Rates',\n /** \"FMCSA Search\" */ Header_FMCSA_Lookups = 'Header.FMCSA_Lookups',\n /** \"Fuel Prices\" */ Header_Fuel_Prices = 'Header.Fuel_Prices',\n /** \"Border Wait Times\" */ Header_Border_Wait_Times = 'Header.Border_Wait_Times',\n /** \"My Loadboard\" */ Header_My_Loadboard = 'Header.My_Loadboard',\n /** \"Potential Loads\" */ Header_Potential_Loads = 'Header.Potential_Loads',\n /** \"Booked Loads\" */ Header_Booked_Loads = 'Header.Booked_Loads',\n /** \"Companies\" */ Header_Companies = 'Header.Companies',\n /** \"Company Search\" */ Header_Company_Search = 'Header.Company_Search',\n /** \"Blocked / Hidden\" */ Header_Blocked_Hidden = 'Header.Blocked_Hidden',\n /** \"Favorites\" */ Header_Favorites = 'Header.Favorites',\n /** \"Bids\" */ Header_Bids = 'Header.Bids',\n /** \"Load Bids\" */ Header_Load_Bids = 'Header.Load_Bids',\n /** \"Alerts\" */ Header_Alerts = 'Header.Alerts',\n /** \"Manage Alerts\" */ Header_Manage_Alerts = 'Header.Manage_Alerts',\n /** \"Alert Settings\" */ Header_Alert_Settings = 'Header.Alert_Settings',\n /** \"Saved Searches\" */ Header_Saved_Searches = 'Header.Saved_Searches',\n /** \"Truck Locator\" */ Header_Truck_Locator = 'Header.Truck_Locator',\n /** \"Internal Truck Locator\" */ Header_Internal_Truck_Locator = 'Header.Internal_Truck_Locator',\n /** \"My Account\" */ Header_My_Account = 'Header.My_Account',\n /** \"TMS Integration\" */ Header_TMS_Integration = 'Header.TMS_Integration',\n /** \"Messages\" */ Header_Messages = 'Header.Messages',\n /** \"Help\" */ Header_Help = 'Header.Help',\n /** \"Settings\" */ Header_Settings = 'Header.Settings',\n /** \"Main Menu\" */ Header_Main_Menu = 'Header.Main_Menu',\n /** \"Sign Up\" */ Header_Sign_Up = 'Header.Sign_Up',\n /** \"Login\" */ Header_Login = 'Header.Login',\n /** \"Logout\" */ Header_Logout = 'Header.Logout',\n /** \"Posting Aid\" */ Header_Posting_Aid = 'Header.Posting_Aid',\n /** \"© {{year}} 123Loadboard\" */ footer_Copyright = 'footer.Copyright',\n /** \"Visit Website\" */ footer_Visit_Website = 'footer.Visit_Website',\n /** \"Terms of Service\" */ footer_Terms_Of_Service = 'footer.Terms_Of_Service',\n /** \"Privacy Policy\" */ footer_Privacy_Policy = 'footer.Privacy_Policy',\n /** \"© 123Loadboard | 1321 Upland Drive, Suite 1120 | Houston, TX, 77043, USA\" */ footer_Address = 'footer.Address',\n /** \"If you have any questions, please contact us\" */ footer_ContactUs = 'footer.ContactUs',\n /** \"support@123loadboard.com\" */ footer_SupportEmail = 'footer.SupportEmail',\n /** \"Cancel\" */ confirmationDialog_Cancel = 'confirmationDialog.Cancel',\n /** \"Confirm\" */ confirmationDialog_Confirm = 'confirmationDialog.Confirm',\n /** \"Learn how\" */ confirmationDialog_LearnHow = 'confirmationDialog.LearnHow',\n /** \"broker\" */ confirmationDialog_broker = 'confirmationDialog.broker',\n /** \"Share feedback\" */ findLoads_shareFeedback = 'findLoads.shareFeedback',\n /** \"{{value}} characters left\" */ findLoads_charsLeft = 'findLoads.charsLeft',\n /** \"Thank you for your feedback.\" */ findLoads_feedbackAcknowledge = 'findLoads.feedbackAcknowledge',\n /** \"We review your feedback to improve our products. Please don’t share personal data or confidential or proprietary information with your feedback.\" */ findLoads_feedbackPlaceholder = 'findLoads.feedbackPlaceholder',\n /** \"Share\" */ findLoads_share = 'findLoads.share',\n /** \"Skip\" */ findLoads_skip = 'findLoads.skip',\n /** \"Invalid search query\" */ findLoads_invalidSearchQuery = 'findLoads.invalidSearchQuery',\n /** \"Any\" */ findLoads_findLoads_any = 'findLoads.findLoads.any',\n /** \"Any ft\" */ findLoads_findLoads_anyFt = 'findLoads.findLoads.anyFt',\n /** \"Any lbs\" */ findLoads_findLoads_anyLbs = 'findLoads.findLoads.anyLbs',\n /** \"Any type\" */ findLoads_findLoads_anyType = 'findLoads.findLoads.anyType',\n /** \"Anywhere\" */ findLoads_findLoads_anywhere = 'findLoads.findLoads.anywhere',\n /** \"All\" */ findLoads_findLoads_all = 'findLoads.findLoads.all',\n /** \"USA\" */ findLoads_findLoads_usa = 'findLoads.findLoads.usa',\n /** \"Canada\" */ findLoads_findLoads_canada = 'findLoads.findLoads.canada',\n /** \"Find loads\" */ findLoads_findLoads_header = 'findLoads.findLoads.header',\n /** \"New search\" */ findLoads_findLoads_tabSearch = 'findLoads.findLoads.tabSearch',\n /** \"Recent\" */ findLoads_findLoads_tabRecent = 'findLoads.findLoads.tabRecent',\n /** \"Saved\" */ findLoads_findLoads_tabSaved = 'findLoads.findLoads.tabSaved',\n /** \"Clear\" */ findLoads_findLoads_clear = 'findLoads.findLoads.clear',\n /** \"Truck filters applied\" */ findLoads_findLoads_truckApplied = 'findLoads.findLoads.truckApplied',\n /** \"Available capacity\" */ findLoads_findLoads_availableCapacity = 'findLoads.findLoads.availableCapacity',\n /** \"Load size\" */ findLoads_findLoads_loadSize = 'findLoads.findLoads.loadSize',\n /** \"Length\" */ findLoads_findLoads_length = 'findLoads.findLoads.length',\n /** \"Weight\" */ findLoads_findLoads_weight = 'findLoads.findLoads.weight',\n /** \"My actions\" */ findLoads_findLoads_myActions = 'findLoads.findLoads.myActions',\n /** \"Sort by\" */ findLoads_findLoads_sortBy = 'findLoads.findLoads.sortBy',\n /** \"Reset\" */ findLoads_findLoads_reset = 'findLoads.findLoads.reset',\n /** \"Select dates\" */ findLoads_findLoads_selectDates = 'findLoads.findLoads.selectDates',\n /** \"Select a maximum 15\" */ findLoads_findLoads_selectMax = 'findLoads.findLoads.selectMax',\n /** \"Truck/Trailer type\" */ findLoads_findLoads_trailerType = 'findLoads.findLoads.trailerType',\n /** \"Types\" */ findLoads_findLoads_types = 'findLoads.findLoads.types',\n /** \"Quick select\" */ findLoads_findLoads_quickSelect = 'findLoads.findLoads.quickSelect',\n /** \"Popular\" */ findLoads_findLoads_popular = 'findLoads.findLoads.popular',\n /** \"Other\" */ findLoads_findLoads_other = 'findLoads.findLoads.other',\n /** \"Home\" */ findLoads_findLoads_home = 'findLoads.findLoads.home',\n /** \"Choose your home\" */ findLoads_findLoads_homeLocation = 'findLoads.findLoads.homeLocation',\n /** \"Home location\" */ findLoads_findLoads_homeLocationLabel = 'findLoads.findLoads.homeLocationLabel',\n /** \"Current location\" */ findLoads_findLoads_currentLocationLabel = 'findLoads.findLoads.currentLocationLabel',\n /** \"City, state or zip\" */ findLoads_findLoads_cityStateOrZip = 'findLoads.findLoads.cityStateOrZip',\n /** \"Drop off\" */ findLoads_findLoads_dropOff = 'findLoads.findLoads.dropOff',\n /** \"Drop off location\" */ findLoads_findLoads_dropOffLocation = 'findLoads.findLoads.dropOffLocation',\n /** \"Pick up\" */ findLoads_findLoads_pickUp = 'findLoads.findLoads.pickUp',\n /** \"Pickup location\" */ findLoads_findLoads_pickupLocation = 'findLoads.findLoads.pickupLocation',\n /** \"Pickup date\" */ findLoads_findLoads_pickupDate = 'findLoads.findLoads.pickupDate',\n /** \"Radius (mi)\" */ findLoads_findLoads_radius = 'findLoads.findLoads.radius',\n /** \"Click here to set your home location\" */ findLoads_findLoads_setHomeLocation = 'findLoads.findLoads.setHomeLocation',\n /** \"Exclude loads without length\" */ findLoads_findLoads_excludeLoadsWithoutLength = 'findLoads.findLoads.excludeLoadsWithoutLength',\n /** \"Exclude loads without weight\" */ findLoads_findLoads_excludeLoadsWithoutWeight = 'findLoads.findLoads.excludeLoadsWithoutWeight',\n /** \"Called\" */ findLoads_findLoads_called = 'findLoads.findLoads.called',\n /** \"Note\" */ findLoads_findLoads_note = 'findLoads.findLoads.note',\n /** \"Favorite company\" */ findLoads_findLoads_favoriteCompany = 'findLoads.findLoads.favoriteCompany',\n /** \" *\" */ findLoads_findLoads_asterisk = 'findLoads.findLoads.asterisk',\n /** \"Ok\" */ findLoads_findLoads_ok = 'findLoads.findLoads.ok',\n /** \"Load available\" */ findLoads_findLoads_stepsStatusBar_0 = 'findLoads.findLoads.stepsStatusBar.0',\n /** \"Booked\" */ findLoads_findLoads_stepsStatusBar_1 = 'findLoads.findLoads.stepsStatusBar.1',\n /** \"Scheduled for pickup\" */ findLoads_findLoads_stepsStatusBar_2 = 'findLoads.findLoads.stepsStatusBar.2',\n /** \"Pickup complete\" */ findLoads_findLoads_stepsStatusBar_3 = 'findLoads.findLoads.stepsStatusBar.3',\n /** \"Load en route\" */ findLoads_findLoads_stepsStatusBar_4 = 'findLoads.findLoads.stepsStatusBar.4',\n /** \"Delivered\" */ findLoads_findLoads_stepsStatusBar_5 = 'findLoads.findLoads.stepsStatusBar.5',\n /** \"Ready to book this load?\" */ findLoads_findLoads_statusBar_phrase1 = 'findLoads.findLoads.statusBar.phrase1',\n /** \"If you book this load, select this status and these Load details will be available to you for future reference.\" */ findLoads_findLoads_statusBar_phrase2 = 'findLoads.findLoads.statusBar.phrase2',\n /** \"Did you confirm the load details?\" */ findLoads_findLoads_statusBar_phrase3 = 'findLoads.findLoads.statusBar.phrase3',\n /** \"Did you pickup the load?\" */ findLoads_findLoads_statusBar_phrase4 = 'findLoads.findLoads.statusBar.phrase4',\n /** \"Want a fuel advance for this load?\" */ findLoads_findLoads_statusBar_phrase5 = 'findLoads.findLoads.statusBar.phrase5',\n /** \"Are you en route?\" */ findLoads_findLoads_statusBar_phrase6 = 'findLoads.findLoads.statusBar.phrase6',\n /** \"Did you deliver the load?\" */ findLoads_findLoads_statusBar_phrase7 = 'findLoads.findLoads.statusBar.phrase7',\n /** \"Want to get paid faster for this load?\" */ findLoads_findLoads_statusBar_phrase8 = 'findLoads.findLoads.statusBar.phrase8',\n /** \"Upload your Rate Confirmation\" */ findLoads_findLoads_statusBar_uploadYourRateConfirmation = 'findLoads.findLoads.statusBar.uploadYourRateConfirmation',\n /** \"Upload your BOL, lumpers, etc.\" */ findLoads_findLoads_statusBar_uploadYourBolLumpersEtc = 'findLoads.findLoads.statusBar.uploadYourBolLumpersEtc',\n /** \"Upload your Proof of Delivery (POD)\" */ findLoads_findLoads_statusBar_uploadYourProofOfDeliveryPod = 'findLoads.findLoads.statusBar.uploadYourProofOfDeliveryPod',\n /** \"Post truck if you need a backhaul.\" */ findLoads_findLoads_statusBar_postTruck = 'findLoads.findLoads.statusBar.postTruck',\n /** \"Contact: \" */ findLoads_findLoads_contact = 'findLoads.findLoads.contact',\n /** \"Ref. #:\" */ findLoads_findLoads_ref = 'findLoads.findLoads.ref',\n /** \"Fuel advance\" */ findLoads_findLoads_fuelAdvance = 'findLoads.findLoads.fuelAdvance',\n /** \"Sent:\" */ findLoads_findLoads_sent = 'findLoads.findLoads.sent',\n /** \"Short: 0 - 200 mi\" */ findLoads_findLoads_tripLengthOptions_0 = 'findLoads.findLoads.tripLengthOptions.0',\n /** \"Medium: 201 - 500 mi\" */ findLoads_findLoads_tripLengthOptions_1 = 'findLoads.findLoads.tripLengthOptions.1',\n /** \"Regional: 501 - 1000 mi\" */ findLoads_findLoads_tripLengthOptions_2 = 'findLoads.findLoads.tripLengthOptions.2',\n /** \"Long: 1001+ mi\" */ findLoads_findLoads_tripLengthOptions_3 = 'findLoads.findLoads.tripLengthOptions.3',\n /** \"No {{param}} searches\" */ findLoads_findLoads_noSearches = 'findLoads.findLoads.noSearches',\n /** \"You have no {{param}} searches\" */ findLoads_findLoads_youHaveNoSearches = 'findLoads.findLoads.youHaveNoSearches',\n /** \"No saved searches\" */ findLoads_findLoads_noSavedSearches = 'findLoads.findLoads.noSavedSearches',\n /** \"You have no saved searches\" */ findLoads_findLoads_haveNoSavedSearches = 'findLoads.findLoads.haveNoSavedSearches',\n /** \"No recent searches\" */ findLoads_findLoads_noRecentSearches = 'findLoads.findLoads.noRecentSearches',\n /** \"You have no recent searches\" */ findLoads_findLoads_haveNoRecentSearches = 'findLoads.findLoads.haveNoRecentSearches',\n /** \"No exact loads found\" */ findLoads_findLoads_noLoads = 'findLoads.findLoads.noLoads',\n /** \"Please refine your criteria or see similar loads.\" */ findLoads_findLoads_haveNoLoads = 'findLoads.findLoads.haveNoLoads',\n /** \"Edit search\" */ findLoads_findLoads_editLoadSearch = 'findLoads.findLoads.editLoadSearch',\n /** \"States, Provinces\" */ findLoads_findLoads_statesProvinces = 'findLoads.findLoads.statesProvinces',\n /** \"States, Provinces, Regions (Map)\" */ findLoads_findLoads_statesProvincesRegionsMap = 'findLoads.findLoads.statesProvincesRegionsMap',\n /** \"States, Provinces, Regions\" */ findLoads_findLoads_statesProvincesRegions = 'findLoads.findLoads.statesProvincesRegions',\n /** \"State, Province\" */ findLoads_findLoads_stateProvince = 'findLoads.findLoads.stateProvince',\n /** \"Select regions\" */ findLoads_findLoads_selectRegions = 'findLoads.findLoads.selectRegions',\n /** \"Select USA regions\" */ findLoads_findLoads_selectUSARegions = 'findLoads.findLoads.selectUSARegions',\n /** \"Select Canada regions\" */ findLoads_findLoads_selectCanadaRegions = 'findLoads.findLoads.selectCanadaRegions',\n /** \"Regions\" */ findLoads_findLoads_regions = 'findLoads.findLoads.regions',\n /** \"USA Regions\" */ findLoads_findLoads_usaRegions = 'findLoads.findLoads.usaRegions',\n /** \"Canada Regions\" */ findLoads_findLoads_canadaRegions = 'findLoads.findLoads.canadaRegions',\n /** \"Select region(s) or state(s)\" */ findLoads_findLoads_selectRegionsOrStates = 'findLoads.findLoads.selectRegionsOrStates',\n /** \"Select state\" */ findLoads_findLoads_selectState = 'findLoads.findLoads.selectState',\n /** \"Select province\" */ findLoads_findLoads_selectProvince = 'findLoads.findLoads.selectProvince',\n /** \"TL\" */ findLoads_findLoads_tl = 'findLoads.findLoads.tl',\n /** \"LTL\" */ findLoads_findLoads_ltl = 'findLoads.findLoads.ltl',\n /** \"Miles\" */ findLoads_findLoads_Miles = 'findLoads.findLoads.Miles',\n /** \"/mile($)\" */ findLoads_findLoads_perMile = 'findLoads.findLoads.perMile',\n /** \"/gal ($)\" */ findLoads_findLoads_perGal = 'findLoads.findLoads.perGal',\n /** \"Rate($)\" */ findLoads_findLoads_Rate = 'findLoads.findLoads.Rate',\n /** \"MPG\" */ findLoads_findLoads_MPG = 'findLoads.findLoads.MPG',\n /** \"Toll cost ($)\" */ findLoads_findLoads_tollCost = 'findLoads.findLoads.tollCost',\n /** \"Dispatch fee\" */ findLoads_findLoads_dispatchFee = 'findLoads.findLoads.dispatchFee',\n /** \"Other fees ($)\" */ findLoads_findLoads_otherFee = 'findLoads.findLoads.otherFee',\n /** \"Apply fuel discount\" */ findLoads_findLoads_applyDiscount = 'findLoads.findLoads.applyDiscount',\n /** \"(up to $0.40/gal)\" */ findLoads_findLoads_discountValue = 'findLoads.findLoads.discountValue',\n /** \"Get fuel card\" */ findLoads_findLoads_getFuelCard = 'findLoads.findLoads.getFuelCard',\n /** \"Apply deadhead miles\" */ findLoads_findLoads_applyDeadheadMiles = 'findLoads.findLoads.applyDeadheadMiles',\n /** \"Total profit\" */ findLoads_findLoads_totalProfit = 'findLoads.findLoads.totalProfit',\n /** \"Avg. rate by Rate Check\" */ findLoads_findLoads_averageRateByCheck = 'findLoads.findLoads.averageRateByCheck',\n /** \"Posted rate\" */ findLoads_findLoads_postedRate = 'findLoads.findLoads.postedRate',\n /** \"Difference\" */ findLoads_findLoads_difference = 'findLoads.findLoads.difference',\n /** \" to save up to ${{value}}\" */ findLoads_findLoads_saveUpTo = 'findLoads.findLoads.saveUpTo',\n /** \"Fuel surcharge included\" */ findLoads_findLoads_fuelSurchargeIncl = 'findLoads.findLoads.fuelSurchargeIncl',\n /** \"Block company\" */ findLoads_findLoads_popUps_blockCompany_title = 'findLoads.findLoads.popUps.blockCompany.title',\n /** \"Blocking this company will hide all their loads from your results.\" */ findLoads_findLoads_popUps_blockCompany_content = 'findLoads.findLoads.popUps.blockCompany.content',\n /** \"Cancel\" */ findLoads_findLoads_popUps_blockCompany_button_cancel = 'findLoads.findLoads.popUps.blockCompany.button_cancel',\n /** \"Block\" */ findLoads_findLoads_popUps_blockCompany_button_block = 'findLoads.findLoads.popUps.blockCompany.button_block',\n /** \"Request sent\" */ findLoads_findLoads_popUps_sentRequest_title = 'findLoads.findLoads.popUps.sentRequest.title',\n /** \"We’ve forwarded your information and relevant documents to Thunder Funding. An expert from Thunder Funding will be contacting you shortly about this load.\" */ findLoads_findLoads_popUps_sentRequest_content = 'findLoads.findLoads.popUps.sentRequest.content',\n /** \"Request not sent\" */ findLoads_findLoads_popUps_notSentRequest_title = 'findLoads.findLoads.popUps.notSentRequest.title',\n /** \"Please visit\" */ findLoads_findLoads_popUps_notSentRequest_pleaseVisitContent = 'findLoads.findLoads.popUps.notSentRequest.pleaseVisitContent',\n /** \"Uncheck \\\"Booked\\\" status\" */ findLoads_findLoads_popUps_unBookLoad_title = 'findLoads.findLoads.popUps.unBookLoad.title',\n /** \"Are you sure you want to uncheck the \\\"Booked\\\" status on this load?\" */ findLoads_findLoads_popUps_unBookLoad_content_warning = 'findLoads.findLoads.popUps.unBookLoad.content.warning',\n /** \"This action does not cancel any bookings you have made directly with the broker.\" */ findLoads_findLoads_popUps_unBookLoad_content_text1 = 'findLoads.findLoads.popUps.unBookLoad.content.text1',\n /** \"If you uncheck the status from this load, you may not be able to view the load details and it will be removed from the \\\"My loads\\\" section.\" */ findLoads_findLoads_popUps_unBookLoad_content_text2 = 'findLoads.findLoads.popUps.unBookLoad.content.text2',\n /** \"Any documents attached to this load will be moved to the ‘Unsorted’ folder.\" */ findLoads_findLoads_popUps_unBookLoad_content_text3 = 'findLoads.findLoads.popUps.unBookLoad.content.text3',\n /** \"No\" */ findLoads_findLoads_popUps_unBookLoad_button_no = 'findLoads.findLoads.popUps.unBookLoad.button_no',\n /** \"Yes\" */ findLoads_findLoads_popUps_unBookLoad_button_yes = 'findLoads.findLoads.popUps.unBookLoad.button_yes',\n /** \"Get paid faster request\" */ findLoads_findLoads_popUps_paidFaster_title = 'findLoads.findLoads.popUps.paidFaster.title',\n /** \"123Loadboard is partnered with Thunder Funding to provide you with immediate access to cash. Quick Pay\\n always keeps you rolling and you no longer have to bear the burden of front-loading fixed costs over a\\n lengthy duration.\" */ findLoads_findLoads_popUps_paidFaster_content_warning = 'findLoads.findLoads.popUps.paidFaster.content.warning',\n /** \"By requesting to get paid faster, a representative from Thunder Funding will be contacting you.\" */ findLoads_findLoads_popUps_paidFaster_content_text = 'findLoads.findLoads.popUps.paidFaster.content.text',\n /** \"Fuel advance request\" */ findLoads_findLoads_popUps_fuelAdvanced_title = 'findLoads.findLoads.popUps.fuelAdvanced.title',\n /** \"123Loadboard is partnered with Thunder Funding to provide fuel advances 7 days a week.\" */ findLoads_findLoads_popUps_fuelAdvanced_content_warning = 'findLoads.findLoads.popUps.fuelAdvanced.content.warning',\n /** \"$10 - advances under $500\" */ findLoads_findLoads_popUps_fuelAdvanced_content_variant_1 = 'findLoads.findLoads.popUps.fuelAdvanced.content.variant_1',\n /** \"$20 - advances $500 - $2000\" */ findLoads_findLoads_popUps_fuelAdvanced_content_variant_2 = 'findLoads.findLoads.popUps.fuelAdvanced.content.variant_2',\n /** \"$25 - advances over $2000\" */ findLoads_findLoads_popUps_fuelAdvanced_content_variant_3 = 'findLoads.findLoads.popUps.fuelAdvanced.content.variant_3',\n /** \"By requesting a fuel advance, a representative from Thunder Funding will be contacting you.\" */ findLoads_findLoads_popUps_fuelAdvanced_content_text = 'findLoads.findLoads.popUps.fuelAdvanced.content.text',\n /** \"Remove recent searches\" */ findLoads_findLoads_popUps_clearRecent_title = 'findLoads.findLoads.popUps.clearRecent.title',\n /** \"Are you sure you want to remove your recent searches?\" */ findLoads_findLoads_popUps_clearRecent_content = 'findLoads.findLoads.popUps.clearRecent.content',\n /** \"Cancel\" */ findLoads_findLoads_popUps_clearRecent_button_cancel = 'findLoads.findLoads.popUps.clearRecent.button_cancel',\n /** \"Remove all\" */ findLoads_findLoads_popUps_clearRecent_button_remove = 'findLoads.findLoads.popUps.clearRecent.button_remove',\n /** \"Activate broker / shipper features\" */ findLoads_findLoads_popUps_featureRequest_title = 'findLoads.findLoads.popUps.featureRequest.title',\n /** \"This feature is only available to brokers and shippers. To gain access, please submit a request.\" */ findLoads_findLoads_popUps_featureRequest_content = 'findLoads.findLoads.popUps.featureRequest.content',\n /** \"This feature is only available to brokers and shippers.\" */ findLoads_findLoads_popUps_featureRequest_featureAvailableForBrokersAndShippers = 'findLoads.findLoads.popUps.featureRequest.featureAvailableForBrokersAndShippers',\n /** \"To gain access, please submit a request or call \" */ findLoads_findLoads_popUps_featureRequest_gainAccess = 'findLoads.findLoads.popUps.featureRequest.gainAccess',\n /** \"Submit Request\" */ findLoads_findLoads_popUps_featureRequest_button = 'findLoads.findLoads.popUps.featureRequest.button',\n /** \"Activate feature\" */ findLoads_findLoads_popUps_featureRequestCarrier_title = 'findLoads.findLoads.popUps.featureRequestCarrier.title',\n /** \"Please submit a request to gain access to this feature.\" */ findLoads_findLoads_popUps_featureRequestCarrier_content = 'findLoads.findLoads.popUps.featureRequestCarrier.content',\n /** \"Submit Request\" */ findLoads_findLoads_popUps_featureRequestCarrier_button = 'findLoads.findLoads.popUps.featureRequestCarrier.button',\n /** \"Request sent\" */ findLoads_findLoads_popUps_featureSubmit_title = 'findLoads.findLoads.popUps.featureSubmit.title',\n /** \"Your request to access broker/shipper feature has been submitted and our Posting team will reach out to you shortly.\" */ findLoads_findLoads_popUps_featureSubmit_content = 'findLoads.findLoads.popUps.featureSubmit.content',\n /** \"Your request to access this feature has been submitted and our Support team will reach out to you shortly.\" */ findLoads_findLoads_popUps_featureSubmit_contentCarrier = 'findLoads.findLoads.popUps.featureSubmit.contentCarrier',\n /** \"OK\" */ findLoads_findLoads_popUps_featureSubmit_button = 'findLoads.findLoads.popUps.featureSubmit.button',\n /** \"Request has failed to send\" */ findLoads_findLoads_popUps_featureSubmitFail_title = 'findLoads.findLoads.popUps.featureSubmitFail.title',\n /** \"Your request to access broker/shipper feature has failed to send, please try again.\" */ findLoads_findLoads_popUps_featureSubmitFail_content = 'findLoads.findLoads.popUps.featureSubmitFail.content',\n /** \"Your request to access this carrier feature has failed to send, please try again.\" */ findLoads_findLoads_popUps_featureSubmitFail_contentCarrier = 'findLoads.findLoads.popUps.featureSubmitFail.contentCarrier',\n /** \"Before you bid, please ensure that you meet these requirements.\" */ findLoads_findLoads_popUps_bidHeader_label = 'findLoads.findLoads.popUps.bidHeader.label',\n /** \"Company: \" */ findLoads_findLoads_popUps_bidDetails_bidCompanyName = 'findLoads.findLoads.popUps.bidDetails.bidCompanyName',\n /** \"DOT#: \" */ findLoads_findLoads_popUps_bidDetails_bidCompanyDOT = 'findLoads.findLoads.popUps.bidDetails.bidCompanyDOT',\n /** \"Trailer type: \" */ findLoads_findLoads_popUps_bidDetails_bidEquipmentType = 'findLoads.findLoads.popUps.bidDetails.bidEquipmentType',\n /** \"Trailer specs: \" */ findLoads_findLoads_popUps_bidDetails_bidEquipmentSpecs = 'findLoads.findLoads.popUps.bidDetails.bidEquipmentSpecs',\n /** \"Item: \" */ findLoads_findLoads_popUps_bidDetails_bidEquipmentCommodity = 'findLoads.findLoads.popUps.bidDetails.bidEquipmentCommodity',\n /** \"Notes: \" */ findLoads_findLoads_popUps_bidDetails_bidEquipmentNotes = 'findLoads.findLoads.popUps.bidDetails.bidEquipmentNotes',\n /** \"Regions allow you to search many states at once. Our regions include:\" */ findLoads_findLoads_popUps_regionsInfo_title = 'findLoads.findLoads.popUps.regionsInfo.title',\n /** \"Small truck loads\" */ findLoads_findLoads_popUps_smallTruckLoads_title = 'findLoads.findLoads.popUps.smallTruckLoads.title',\n /** \"To find the best results for smaller trucks, we recommend that you select the following equipment types:\" */ findLoads_findLoads_popUps_smallTruckLoads_content = 'findLoads.findLoads.popUps.smallTruckLoads.content',\n /** \"Please enter values\" */ findLoads_findLoads_pleaseEnterValues = 'findLoads.findLoads.pleaseEnterValues',\n /** \"An entry has an invalid value\" */ findLoads_findLoads_fieldsInvalid = 'findLoads.findLoads.fieldsInvalid',\n /** \"An entry is required or has an invalid value\" */ findLoads_findLoads_fieldsRequiredOrInvalid = 'findLoads.findLoads.fieldsRequiredOrInvalid',\n /** \"Linehaul revenue\" */ findLoads_findLoads_Linehaul_Revenue = 'findLoads.findLoads.Linehaul_Revenue',\n /** \"Toll costs\" */ findLoads_findLoads_Toll_Costs = 'findLoads.findLoads.Toll_Costs',\n /** \"Estimated fuel costs\" */ findLoads_findLoads_Fuel_Costs = 'findLoads.findLoads.Fuel_Costs',\n /** \"Additional costs\" */ findLoads_findLoads_Additional_Costs = 'findLoads.findLoads.Additional_Costs',\n /** \"Est. fuel costs\" */ findLoads_findLoads_Fuel_Costs_Short = 'findLoads.findLoads.Fuel_Costs_Short',\n /** \"Estimated revenue\" */ findLoads_findLoads_Estimated_Revenue = 'findLoads.findLoads.Estimated_Revenue',\n /** \"Est. revenue\" */ findLoads_findLoads_Estimated_Revenue_Short = 'findLoads.findLoads.Estimated_Revenue_Short',\n /** \"Company added to onboarded\" */ findLoads_findLoads_company_added_onboarded = 'findLoads.findLoads.company_added_onboarded',\n /** \"Company removed from onboarded\" */ findLoads_findLoads_company_removed_onboarded = 'findLoads.findLoads.company_removed_onboarded',\n /** \"Remove favorite\" */ findLoads_findLoads_removeFavorite = 'findLoads.findLoads.removeFavorite',\n /** \"Tag as onboarded\" */ findLoads_findLoads_tagAsOnboarded = 'findLoads.findLoads.tagAsOnboarded',\n /** \"Remove onboarded tag\" */ findLoads_findLoads_removeOnboardedTag = 'findLoads.findLoads.removeOnboardedTag',\n /** \"Block company\" */ findLoads_findLoads_blockCompany = 'findLoads.findLoads.blockCompany',\n /** \"Multiple\" */ findLoads_findLoads_multiple = 'findLoads.findLoads.multiple',\n /** \"Backhauls\" */ findLoads_findLoads_backhauls = 'findLoads.findLoads.backhauls',\n /** \"Backhaul loads\" */ findLoads_findLoads_backhaulLoads = 'findLoads.findLoads.backhaulLoads',\n /** \"Unblock\" */ findLoads_findLoads_unblock = 'findLoads.findLoads.unblock',\n /** \"Load details not shown for blocked company\" */ findLoads_findLoads_loadDetailsNotShownForBlockedCompany = 'findLoads.findLoads.loadDetailsNotShownForBlockedCompany',\n /** \"Search this area\" */ findLoads_findLoads_searchNewArea = 'findLoads.findLoads.searchNewArea',\n /** \"Email\" */ findLoads_findLoads_email = 'findLoads.findLoads.email',\n /** \"Facebook\" */ findLoads_findLoads_facebook = 'findLoads.findLoads.facebook',\n /** \"X\" */ findLoads_findLoads_x = 'findLoads.findLoads.x',\n /** \"You selected the maximum number of locations\" */ findLoads_findLoads_maxSelectionCount = 'findLoads.findLoads.maxSelectionCount',\n /** \"Select a maximum {{value}}\" */ findLoads_findLoads_selectMaxiumum = 'findLoads.findLoads.selectMaxiumum',\n /** \"New loads\" */ findLoads_findLoads_newLoads = 'findLoads.findLoads.newLoads',\n /** \"Set location to search\" */ findLoads_findLoads_setLocationToSearch = 'findLoads.findLoads.setLocationToSearch',\n /** \"“TL” and “LTL” are only available when Length and Weight are set to “Any”.\" */ findLoads_findLoads_loadSizeDescription = 'findLoads.findLoads.loadSizeDescription',\n /** \"States, Provinces (Map)\" */ findLoads_findLoads_selectStatesMap_title = 'findLoads.findLoads.selectStatesMap.title',\n /** \"Select at least one state\" */ findLoads_findLoads_selectStatesMap_warning_selectOneState = 'findLoads.findLoads.selectStatesMap.warning.selectOneState',\n /** \"Loads\" */ findLoads_loads_header = 'findLoads.loads.header',\n /** \"close\" */ findLoads_loads_close = 'findLoads.loads.close',\n /** \"saved\" */ findLoads_loads_saved = 'findLoads.loads.saved',\n /** \"save\" */ findLoads_loads_save = 'findLoads.loads.save',\n /** \"Saved search\" */ findLoads_loads_savedSearch = 'findLoads.loads.savedSearch',\n /** \"Save search\" */ findLoads_loads_saveSearch = 'findLoads.loads.saveSearch',\n /** \"Map\" */ findLoads_loads_map = 'findLoads.loads.map',\n /** \"Cluster loads\" */ findLoads_loads_clusterLoads = 'findLoads.loads.clusterLoads',\n /** \"Found {{value}} loads\" */ findLoads_loads_foundLoads = 'findLoads.loads.foundLoads',\n /** \"No results found, try panning or zooming the map\" */ findLoads_loads_mapError_noLoadsFound = 'findLoads.loads.mapError.noLoadsFound',\n /** \"Load details\" */ findLoads_loadDetails_header = 'findLoads.loadDetails.header',\n /** \"Address\" */ findLoads_loadDetails_address = 'findLoads.loadDetails.address',\n /** \"Company\" */ findLoads_loadDetails_company = 'findLoads.loadDetails.company',\n /** \"Company loads\" */ findLoads_loadDetails_companyLoads = 'findLoads.loadDetails.companyLoads',\n /** \"View loads\" */ findLoads_loadDetails_viewLoads = 'findLoads.loadDetails.viewLoads',\n /** \"Find currently available loads posted by this company only.\" */ findLoads_loadDetails_companyLoadsDescription = 'findLoads.loadDetails.companyLoadsDescription',\n /** \"MC number\" */ findLoads_loadDetails_MCNumber = 'findLoads.loadDetails.MCNumber',\n /** \"DOT number\" */ findLoads_loadDetails_DOTNumber = 'findLoads.loadDetails.DOTNumber',\n /** \"Company type:\" */ findLoads_loadDetails_companyType = 'findLoads.loadDetails.companyType',\n /** \"Website\" */ findLoads_loadDetails_website = 'findLoads.loadDetails.website',\n /** \"TIA Member\" */ findLoads_loadDetails_member = 'findLoads.loadDetails.member',\n /** \"Get paid faster\" */ findLoads_loadDetails_getPaidFaster = 'findLoads.loadDetails.getPaidFaster',\n /** \"Yes\" */ findLoads_loadDetails_yes = 'findLoads.loadDetails.yes',\n /** \"No\" */ findLoads_loadDetails_no = 'findLoads.loadDetails.no',\n /** \"Credit report\" */ findLoads_loadDetails_CreditReport = 'findLoads.loadDetails.CreditReport',\n /** \"Credit score\" */ findLoads_loadDetails_CreditScore = 'findLoads.loadDetails.CreditScore',\n /** \"Days-to-pay\" */ findLoads_loadDetails_DaysToPay = 'findLoads.loadDetails.DaysToPay',\n /** \"-\" */ findLoads_loadDetails_noMatches = 'findLoads.loadDetails.noMatches',\n /** \"Not available\" */ findLoads_loadDetails_notAvailable = 'findLoads.loadDetails.notAvailable',\n /** \"not provided\" */ findLoads_loadDetails_notProvided = 'findLoads.loadDetails.notProvided',\n /** \"Not available in your plan\" */ findLoads_loadDetails_notAvailableInPlan = 'findLoads.loadDetails.notAvailableInPlan',\n /** \"Loading details...\" */ findLoads_loadDetails_loading = 'findLoads.loadDetails.loading',\n /** \"Pre-approved by\" */ findLoads_loadDetails_preApproved = 'findLoads.loadDetails.preApproved',\n /** \"Factorable\" */ findLoads_loadDetails_factorable = 'findLoads.loadDetails.factorable',\n /** \"PC*MILER\" */ findLoads_loadDetails_pcMiler = 'findLoads.loadDetails.pcMiler',\n /** \"Google map\" */ findLoads_loadDetails_googleMap = 'findLoads.loadDetails.googleMap',\n /** \"Share this load via:\" */ findLoads_loadDetails_shareLoad = 'findLoads.loadDetails.shareLoad',\n /** \"Help\" */ findLoads_loadDetails_help = 'findLoads.loadDetails.help',\n /** \"Unlock\" */ findLoads_loadDetails_unlock = 'findLoads.loadDetails.unlock',\n /** \"Unavailable for offline loads\" */ findLoads_loadDetails_unavailableForOffline = 'findLoads.loadDetails.unavailableForOffline',\n /** \"Unavailable for assigned loads\" */ findLoads_loadDetails_unavailableForAssigned = 'findLoads.loadDetails.unavailableForAssigned',\n /** \"Unavailable for delivered loads\" */ findLoads_loadDetails_unavailableForDelivered = 'findLoads.loadDetails.unavailableForDelivered',\n /** \"Copy to clipboard\" */ findLoads_loadDetails_copyToClipboard = 'findLoads.loadDetails.copyToClipboard',\n /** \"My note\" */ findLoads_loadDetails_myNote = 'findLoads.loadDetails.myNote',\n /** \"Save note\" */ findLoads_loadDetails_saveNote = 'findLoads.loadDetails.saveNote',\n /** \"Load note\" */ findLoads_loadDetails_loadNote = 'findLoads.loadDetails.loadNote',\n /** \"This feature is not available in your plan\" */ findLoads_loadDetails_permissions_modal_title = 'findLoads.loadDetails.permissions.modal.title',\n /** \"Please contact our support team.\" */ findLoads_loadDetails_permissions_modal_message = 'findLoads.loadDetails.permissions.modal.message',\n /** \"Call support\" */ findLoads_loadDetails_permissions_modal_callSupport = 'findLoads.loadDetails.permissions.modal.callSupport',\n /** \"Tag as onboarded\" */ findLoads_loadDetails_onBoardedPopUp_header = 'findLoads.loadDetails.onBoardedPopUp.header',\n /** \"If you are already onboarded with this company, all of their loads will be tagged for your own reference and filtering needs.\" */ findLoads_loadDetails_onBoardedPopUp_content = 'findLoads.loadDetails.onBoardedPopUp.content',\n /** \"Yes, I’m onboarded\" */ findLoads_loadDetails_onBoardedPopUp_button = 'findLoads.loadDetails.onBoardedPopUp.button',\n /** \"Contact form\" */ findLoads_loadDetails_emailFormPopup_header = 'findLoads.loadDetails.emailFormPopup.header',\n /** \"Fill out the form below and it will be sent to the broker/shipper.\" */ findLoads_loadDetails_emailFormPopup_subtitle = 'findLoads.loadDetails.emailFormPopup.subtitle',\n /** \"Comments\" */ findLoads_loadDetails_emailFormPopup_placeholder = 'findLoads.loadDetails.emailFormPopup.placeholder',\n /** \"Send\" */ findLoads_loadDetails_emailFormPopup_submitText = 'findLoads.loadDetails.emailFormPopup.submitText',\n /** \"Choose one of these options or place a bid:\" */ findLoads_loadDetails_emailFormPopup_options_title = 'findLoads.loadDetails.emailFormPopup.options.title',\n /** \"Is this load available?\" */ findLoads_loadDetails_emailFormPopup_options_option1 = 'findLoads.loadDetails.emailFormPopup.options.option1',\n /** \"What is the rate for this load?\" */ findLoads_loadDetails_emailFormPopup_options_option2 = 'findLoads.loadDetails.emailFormPopup.options.option2',\n /** \"What are the dimensions of this load?\" */ findLoads_loadDetails_emailFormPopup_options_option3 = 'findLoads.loadDetails.emailFormPopup.options.option3',\n /** \"Can I get onboarded with your company?\" */ findLoads_loadDetails_emailFormPopup_options_option4 = 'findLoads.loadDetails.emailFormPopup.options.option4',\n /** \"Place a bid($)\" */ findLoads_loadDetails_emailFormPopup_options_placeholder = 'findLoads.loadDetails.emailFormPopup.options.placeholder',\n /** \"Bid amount: {{bid}}$\" */ findLoads_loadDetails_emailFormPopup_bidAmount = 'findLoads.loadDetails.emailFormPopup.bidAmount',\n /** \"Contact form\" */ findLoads_loadDetails_emailConfirmPopup_header = 'findLoads.loadDetails.emailConfirmPopup.header',\n /** \"Thank you\" */ findLoads_loadDetails_emailConfirmPopup_title = 'findLoads.loadDetails.emailConfirmPopup.title',\n /** \"Your email form has been sent to {{companyName}}.\" */ findLoads_loadDetails_emailConfirmPopup_subtitle_sentTo = 'findLoads.loadDetails.emailConfirmPopup.subtitle.sentTo',\n /** \"Please note that calling is a more reliable way to contact brokers/shippers.\" */ findLoads_loadDetails_emailConfirmPopup_subtitle_note = 'findLoads.loadDetails.emailConfirmPopup.subtitle.note',\n /** \"Continue\" */ findLoads_loadDetails_emailConfirmPopup_submitText = 'findLoads.loadDetails.emailConfirmPopup.submitText',\n /** \"Edit details\" */ findLoads_loadDetails_editCompanyPopup_title = 'findLoads.loadDetails.editCompanyPopup.title',\n /** \"Please update company name or DOT#\" */ findLoads_loadDetails_editCompanyPopup_content = 'findLoads.loadDetails.editCompanyPopup.content',\n /** \"Company name\" */ findLoads_loadDetails_editCompanyPopup_companyName = 'findLoads.loadDetails.editCompanyPopup.companyName',\n /** \"DOT#\" */ findLoads_loadDetails_editCompanyPopup_dot = 'findLoads.loadDetails.editCompanyPopup.dot',\n /** \"Error in loading routes.\" */ findLoads_loadDetails_routeDirectionsRequestError = 'findLoads.loadDetails.routeDirectionsRequestError',\n /** \"Stop {{value}}: \" */ findLoads_loadDetails_stop = 'findLoads.loadDetails.stop',\n /** \"Extra stops: {{value}}\" */ findLoads_loadDetails_extraStops = 'findLoads.loadDetails.extraStops',\n /** \"Regions\" */ loadAvailability_region_title = 'loadAvailability.region.title',\n /** \"Select region\" */ loadAvailability_region_header = 'loadAvailability.region.header',\n /** \"Outbound\" */ loadAvailability_resultPanel_outbound = 'loadAvailability.resultPanel.outbound',\n /** \"Intrastate\" */ loadAvailability_resultPanel_intrastate = 'loadAvailability.resultPanel.intrastate',\n /** \"Inbound\" */ loadAvailability_resultPanel_inbound = 'loadAvailability.resultPanel.inbound',\n /** \"No loads found\" */ loadAvailability_noLoadFound_title = 'loadAvailability.noLoadFound.title',\n /** \"Please choose another state or toggle between outbound, inbound and intrastate.\" */ loadAvailability_noLoadFound_subtitle = 'loadAvailability.noLoadFound.subtitle',\n /** \"Something went wrong\" */ loadAvailability_errorScreen_title = 'loadAvailability.errorScreen.title',\n /** \"Sorry for the inconvenience. We’ll be back up and running as fast as possible. Please try again later.\" */ loadAvailability_errorScreen_subtitle = 'loadAvailability.errorScreen.subtitle',\n /** \"Multiple\" */ loadAvailability_Multiple = 'loadAvailability.Multiple',\n /** \"Trailer type:\" */ loadAvailability_type = 'loadAvailability.type',\n /** \"Region:\" */ loadAvailability_regionTitle = 'loadAvailability.regionTitle',\n /** \"Density list\" */ loadAvailability_densityList = 'loadAvailability.densityList',\n /** \"Density map\" */ loadAvailability_densityMap_title = 'loadAvailability.densityMap.title',\n /** \"Show load results\" */ loadAvailability_densityMap_showResults = 'loadAvailability.densityMap.showResults',\n /** \"High (loads are available)\" */ loadAvailability_mapColorKey_high = 'loadAvailability.mapColorKey.high',\n /** \"Medium (loads are slightly limited)\" */ loadAvailability_mapColorKey_medium = 'loadAvailability.mapColorKey.medium',\n /** \"Low (loads are limited)\" */ loadAvailability_mapColorKey_low = 'loadAvailability.mapColorKey.low',\n /** \"N/A\" */ tripBuilder_empty = 'tripBuilder.empty',\n /** \"Age\" */ tripBuilder_age = 'tripBuilder.age',\n /** \"Pick up\" */ tripBuilder_pickUp = 'tripBuilder.pickUp',\n /** \"Pick up location\" */ tripBuilder_pickUpLocation = 'tripBuilder.pickUpLocation',\n /** \"Drop off location\" */ tripBuilder_dropOffLocation = 'tripBuilder.dropOffLocation',\n /** \"Trip\" */ tripBuilder_title = 'tripBuilder.title',\n /** \"Equip\" */ tripBuilder_equip = 'tripBuilder.equip',\n /** \"Size\" */ tripBuilder_size = 'tripBuilder.size',\n /** \"Company\" */ tripBuilder_company = 'tripBuilder.company',\n /** \"Status\" */ tripBuilder_status = 'tripBuilder.status',\n /** \"Miles\" */ tripBuilder_miles = 'tripBuilder.miles',\n /** \"Time\" */ tripBuilder_time = 'tripBuilder.time',\n /** \"Revenues\" */ tripBuilder_revenues = 'tripBuilder.revenues',\n /** \"Rate\" */ tripBuilder_rate = 'tripBuilder.rate',\n /** \"Rates\" */ tripBuilder_rates = 'tripBuilder.rates',\n /** \"Revenue\" */ tripBuilder_revenue = 'tripBuilder.revenue',\n /** \"Fuel\" */ tripBuilder_fuel = 'tripBuilder.fuel',\n /** \"Tolls\" */ tripBuilder_tolls = 'tripBuilder.tolls',\n /** \"Profits\" */ tripBuilder_profits = 'tripBuilder.profits',\n /** \"Profit\" */ tripBuilder_profit = 'tripBuilder.profit',\n /** \"Added\" */ tripBuilder_added = 'tripBuilder.added',\n /** \"Modify trip\" */ tripBuilder_modifyTrip = 'tripBuilder.modifyTrip',\n /** \"Trip builder feedback\" */ tripBuilder_feedbackTitle = 'tripBuilder.feedbackTitle',\n /** \"We'd love your feedback about the new trip builder. It helps us make 123Loadboard better.\" */ tripBuilder_feedbackSubtitle = 'tripBuilder.feedbackSubtitle',\n /** \"Trip deleted\" */ tripBuilder_tripDelete_SnackBar_Message = 'tripBuilder.tripDelete_SnackBar_Message',\n /** \"Trip created\" */ tripBuilder_tripCreated_SnackBar_Message = 'tripBuilder.tripCreated_SnackBar_Message',\n /** \"Load added\" */ tripBuilder_loadAdd_SnackBar_Message = 'tripBuilder.loadAdd_SnackBar_Message',\n /** \"Load hidden\" */ tripBuilder_loadHide_SnackBar_Message = 'tripBuilder.loadHide_SnackBar_Message',\n /** \"Load removed\" */ tripBuilder_loadRemove_SnackBar_Message = 'tripBuilder.loadRemove_SnackBar_Message',\n /** \"Processing request ...\" */ tripBuilder_tripBuilder_loadingScreenTitle = 'tripBuilder.tripBuilder.loadingScreenTitle',\n /** \"Please wait ... it can take up to 20-30 seconds to get your results. Our system is analyzing possible routes.\" */ tripBuilder_tripBuilder_loadingScreenDescription = 'tripBuilder.tripBuilder.loadingScreenDescription',\n /** \"Load-by-load\" */ tripBuilder_newTrip_loadByLoadLabel = 'tripBuilder.newTrip.loadByLoadLabel',\n /** \"Build your own trip load-by-load\" */ tripBuilder_newTrip_loadByLoadDescription = 'tripBuilder.newTrip.loadByLoadDescription',\n /** \"Entire trip\" */ tripBuilder_newTrip_entireTripLabel = 'tripBuilder.newTrip.entireTripLabel',\n /** \"Automatically builds an entire trip for you.\" */ tripBuilder_newTrip_entireTripDescription = 'tripBuilder.newTrip.entireTripDescription',\n /** \"Trip parameters\" */ tripBuilder_newTrip_tripParameters = 'tripBuilder.newTrip.tripParameters',\n /** \"Excluded states (optional)\" */ tripBuilder_newTrip_excludedStatesOptional = 'tripBuilder.newTrip.excludedStatesOptional',\n /** \"Excluded states\" */ tripBuilder_newTrip_excludedStates = 'tripBuilder.newTrip.excludedStates',\n /** \"Only select states you do not want to travel to.\" */ tripBuilder_newTrip_excludedStatesSubHeader = 'tripBuilder.newTrip.excludedStatesSubHeader',\n /** \"Maximum loads per trip\" */ tripBuilder_newTrip_maximumLoads = 'tripBuilder.newTrip.maximumLoads',\n /** \"Result layout\" */ tripBuilder_newTrip_popup_popupHeader = 'tripBuilder.newTrip.popup.popupHeader',\n /** \"Load-by-load allows you to build your own trip one load at a time.\" */ tripBuilder_newTrip_popup_popupDescription1 = 'tripBuilder.newTrip.popup.popupDescription1',\n /** \"Entire trip automatically builds a trip by selecting loads matching your parameters.\" */ tripBuilder_newTrip_popup_popupDescription2 = 'tripBuilder.newTrip.popup.popupDescription2',\n /** \"{{loadsCount}} load(s) for leg number {{legCount}}.\" */ tripBuilder_addLoad_totalLegs = 'tripBuilder.addLoad.totalLegs',\n /** \"Next leg: {{count}} Load(s)\" */ tripBuilder_addLoad_nextLeg = 'tripBuilder.addLoad.nextLeg',\n /** \"No results found\" */ tripBuilder_addLoad_noResultsHeader = 'tripBuilder.addLoad.noResultsHeader',\n /** \"Load removed\" */ tripBuilder_addLoad_loadRemoved = 'tripBuilder.addLoad.loadRemoved',\n /** \"There are no loads currently matching your criteria. Please try again later.\" */ tripBuilder_addLoad_noResultsDescription = 'tripBuilder.addLoad.noResultsDescription',\n /** \"Add load\" */ tripBuilder_addLoad_popup_header = 'tripBuilder.addLoad.popup.header',\n /** \"If you have already booked this load, you may include the booked rate to make profit calculations more accurate.\" */ tripBuilder_addLoad_popup_description1 = 'tripBuilder.addLoad.popup.description1',\n /** \"Confirm booked rate (optional)\" */ tripBuilder_addLoad_popup_subHeader = 'tripBuilder.addLoad.popup.subHeader',\n /** \"Flat rate\" */ tripBuilder_addLoad_popup_radioFlatRate = 'tripBuilder.addLoad.popup.radioFlatRate',\n /** \"Rate per mile\" */ tripBuilder_addLoad_popup_radioRatePerMile = 'tripBuilder.addLoad.popup.radioRatePerMile',\n /** \"Booked rate({{currency}})\" */ tripBuilder_addLoad_popup_inputPlaceHolder = 'tripBuilder.addLoad.popup.inputPlaceHolder',\n /** \"Adding this load to your trip does not automatically book it. To book this load, please contact the load poster.\" */ tripBuilder_addLoad_popup_description2 = 'tripBuilder.addLoad.popup.description2',\n /** \"Add load\" */ tripBuilder_addLoad_popup_addButton = 'tripBuilder.addLoad.popup.addButton',\n /** \"Delete load\" */ tripBuilder_addLoad_popup_deleteLoadTitle1 = 'tripBuilder.addLoad.popup.deleteLoadTitle1',\n /** \"Deleting this load will permanently remove it from your results.\" */ tripBuilder_addLoad_popup_deleteLoadTitle2 = 'tripBuilder.addLoad.popup.deleteLoadTitle2',\n /** \"Select any reasons why you want to delete this load:\" */ tripBuilder_addLoad_popup_deleteLoadTitle3 = 'tripBuilder.addLoad.popup.deleteLoadTitle3',\n /** \"Not Interested\" */ tripBuilder_addLoad_popup_deleteLoadItem1 = 'tripBuilder.addLoad.popup.deleteLoadItem1',\n /** \"Already booked (load is not available)\" */ tripBuilder_addLoad_popup_deleteLoadItem2 = 'tripBuilder.addLoad.popup.deleteLoadItem2',\n /** \"Low pay rate\" */ tripBuilder_addLoad_popup_deleteLoadItem3 = 'tripBuilder.addLoad.popup.deleteLoadItem3',\n /** \"Incorrect information\" */ tripBuilder_addLoad_popup_deleteLoadItem4 = 'tripBuilder.addLoad.popup.deleteLoadItem4',\n /** \"Other\" */ tripBuilder_addLoad_popup_deleteLoadItem5 = 'tripBuilder.addLoad.popup.deleteLoadItem5',\n /** \"Delete load\" */ tripBuilder_addLoad_popup_deleteLoadConfirm = 'tripBuilder.addLoad.popup.deleteLoadConfirm',\n /** \"Remove load\" */ tripBuilder_addLoad_popup_removeLoadConfirm = 'tripBuilder.addLoad.popup.removeLoadConfirm',\n /** \"In order to remove this load, please first remove all loads that come after this one in the trip order.\" */ tripBuilder_addLoad_popup_removeLoad = 'tripBuilder.addLoad.popup.removeLoad',\n /** \"Your trip details\" */ tripBuilder_trip_contentHeader = 'tripBuilder.trip.contentHeader',\n /** \"Found {{count}} option(s)\" */ tripBuilder_trip_foundTrips = 'tripBuilder.trip.foundTrips',\n /** \"Next option\" */ tripBuilder_trip_nextTrip = 'tripBuilder.trip.nextTrip',\n /** \"Prev option\" */ tripBuilder_trip_prevTrip = 'tripBuilder.trip.prevTrip',\n /** \"Build your trip by adding the loads that work for you.\" */ tripBuilder_trip_contentSubHeader = 'tripBuilder.trip.contentSubHeader',\n /** \"Add more loads to your trip from the following options.\" */ tripBuilder_trip_tripOptionsSubHeader = 'tripBuilder.trip.tripOptionsSubHeader',\n /** \"Total profit from added loads\" */ tripBuilder_trip_profitPerTrip = 'tripBuilder.trip.profitPerTrip',\n /** \"Trip option summary\" */ tripBuilder_trip_profitPerOption = 'tripBuilder.trip.profitPerOption',\n /** \"Profit per day\" */ tripBuilder_trip_profitPerDay = 'tripBuilder.trip.profitPerDay',\n /** \"Load(s)\" */ tripBuilder_trip_loads = 'tripBuilder.trip.loads',\n /** \"Mileage\" */ tripBuilder_trip_mileage = 'tripBuilder.trip.mileage',\n /** \"Trip days\" */ tripBuilder_trip_tripDays = 'tripBuilder.trip.tripDays',\n /** \"Deadhead\" */ tripBuilder_trip_deadhead = 'tripBuilder.trip.deadhead',\n /** \"Added\" */ tripBuilder_trip_added = 'tripBuilder.trip.added',\n /** \"Continue building trip\" */ tripBuilder_trip_continueTripBtn = 'tripBuilder.trip.continueTripBtn',\n /** \"Your trip is not complete. Continue building this trip by adding more loads until you reach your final destination.\" */ tripBuilder_trip_incompleteTrip = 'tripBuilder.trip.incompleteTrip',\n /** \"Your trip is all set! If you haven't already, you should contact the load posters to book these loads.\" */ tripBuilder_trip_completeTrip = 'tripBuilder.trip.completeTrip',\n /** \"Profit per day\" */ tripBuilder_trip_popup_profitPerDayPopupInfoHeader = 'tripBuilder.trip.popup.profitPerDayPopupInfoHeader',\n /** \"Your daily profits are calculated by collecting rate data for all loads in your trip and subtracting estimated fuel and toll costs.\" */ tripBuilder_trip_popup_profitPerDayPopupInfo1 = 'tripBuilder.trip.popup.profitPerDayPopupInfo1',\n /** \"Mileage, toll, and Deadhead data is collected via PC*Miler.\" */ tripBuilder_trip_popup_profitPerDayPopupInfo2 = 'tripBuilder.trip.popup.profitPerDayPopupInfo2',\n /** \"Revenue and profit data is collected via Rate Check.\" */ tripBuilder_trip_popup_profitPerDayPopupInfo3 = 'tripBuilder.trip.popup.profitPerDayPopupInfo3',\n /** \"Fuel cost is collected daily based on current State prices.\" */ tripBuilder_trip_popup_profitPerDayPopupInfo4 = 'tripBuilder.trip.popup.profitPerDayPopupInfo4',\n /** \"Delete this trip\" */ tripBuilder_trip_popup_deleteTripTitle = 'tripBuilder.trip.popup.deleteTripTitle',\n /** \"You will no longer have access to the details for the selected loads.\" */ tripBuilder_trip_popup_deleteTripP1 = 'tripBuilder.trip.popup.deleteTripP1',\n /** \"If you need access to these loads later, you should mark them as \\\"Booked\\\".\" */ tripBuilder_trip_popup_deleteTripP2 = 'tripBuilder.trip.popup.deleteTripP2',\n /** \"Remove this load\" */ tripBuilder_trip_popup_removeLoadTitle = 'tripBuilder.trip.popup.removeLoadTitle',\n /** \"Are you sure you want to remove this load from your trip?\" */ tripBuilder_trip_popup_removeLoadP1 = 'tripBuilder.trip.popup.removeLoadP1',\n /** \"All company loads\" */ postLoads_allCompanyLoads = 'postLoads.allCompanyLoads',\n /** \"Poster\" */ postLoads_poster = 'postLoads.poster',\n /** \"Account under review\" */ postLoads_pendingVerification_title = 'postLoads.pendingVerification.title',\n /** \"Your account is currently under review, please allow 1 business day for the review process to complete.\" */ postLoads_pendingVerification_subtitle = 'postLoads.pendingVerification.subtitle',\n /** \"Thank you for signing up with 123Loadboard!\" */ postLoads_pendingVerification_thankYouForSignUp = 'postLoads.pendingVerification.thankYouForSignUp',\n /** \"Your account is \" */ postLoads_pendingVerification_yourAccount = 'postLoads.pendingVerification.yourAccount',\n /** \"currently under review\" */ postLoads_pendingVerification_currentlyUnderReview = 'postLoads.pendingVerification.currentlyUnderReview',\n /** \", please allow one business day for the review process to complete.\" */ postLoads_pendingVerification_underReviewContent = 'postLoads.pendingVerification.underReviewContent',\n /** \"Upon approval, you will receive an email providing you full access to post loads and reach our carrier network on the #1 rated load board app.\" */ postLoads_pendingVerification_uponApprovalContent = 'postLoads.pendingVerification.uponApprovalContent',\n /** \"Change contact\" */ postLoads_ChangeContact = 'postLoads.ChangeContact',\n /** \"Anywhere\" */ postLoads_Anywhere = 'postLoads.Anywhere',\n /** \"My loads\" */ postLoads_MyLoads = 'postLoads.MyLoads',\n /** \"Loads\" */ postLoads_Loads = 'postLoads.Loads',\n /** \"Post single\" */ postLoads_PostSingle = 'postLoads.PostSingle',\n /** \"Post multiple\" */ postLoads_PostMultiple = 'postLoads.PostMultiple',\n /** \"You can save time by posting multiple loads at once via uploading files directly, sending files in through FTP, or having us scrape your website's available loads. Please visit our \" */ postLoads_postMultipleBanner_content1 = 'postLoads.postMultipleBanner.content1',\n /** \"instructions page\" */ postLoads_postMultipleBanner_instructionsPage = 'postLoads.postMultipleBanner.instructionsPage',\n /** \" for more details. Contact us at \" */ postLoads_postMultipleBanner_content2 = 'postLoads.postMultipleBanner.content2',\n /** \", ext. 2 for assistance.\" */ postLoads_postMultipleBanner_content3 = 'postLoads.postMultipleBanner.content3',\n /** \"--\" */ postLoads_NoDate = 'postLoads.NoDate',\n /** \"Status\" */ postLoads_Status = 'postLoads.Status',\n /** \"Switch to previous version\" */ postLoads_SwitchToPreviousVersion = 'postLoads.SwitchToPreviousVersion',\n /** \"Online\" */ postLoads_Online = 'postLoads.Online',\n /** \"Offline\" */ postLoads_Offline = 'postLoads.Offline',\n /** \"Working loads\" */ postLoads_Working = 'postLoads.Working',\n /** \"Completed loads\" */ postLoads_Completed = 'postLoads.Completed',\n /** \"Assigned\" */ postLoads_Assigned = 'postLoads.Assigned',\n /** \"Delivered\" */ postLoads_Delivered = 'postLoads.Delivered',\n /** \"Load details\" */ postLoads_LoadDetails = 'postLoads.LoadDetails',\n /** \"Item/Commodity\" */ postLoads_ItemCommodity = 'postLoads.ItemCommodity',\n /** \"Average rate\" */ postLoads_AverageRate = 'postLoads.AverageRate',\n /** \"Load age refreshed\" */ postLoads_RefreshAgeMessage = 'postLoads.RefreshAgeMessage',\n /** \"Truck locator\" */ postLoads_TruckLocatorTitle = 'postLoads.TruckLocatorTitle',\n /** \"View carriers nearby\" */ postLoads_TruckLocatorSubTitle = 'postLoads.TruckLocatorSubTitle',\n /** \"Views: {{count}}\" */ postLoads_Views_Count = 'postLoads.Views_Count',\n /** \"{{displayedViews}} of {{viewsCount}} total load views\" */ postLoads_TotalLoadViews = 'postLoads.TotalLoadViews',\n /** \"{{value}} mi\" */ postLoads_Miles = 'postLoads.Miles',\n /** \"{{value}}/per mile\" */ postLoads_perMile = 'postLoads.perMile',\n /** \"{{value}}%\" */ postLoads_StrengthValue = 'postLoads.StrengthValue',\n /** \"Loads refreshed\" */ postLoads_RefreshAgeMessageBulk = 'postLoads.RefreshAgeMessageBulk',\n /** \"Load dates/times refreshed\" */ postLoads_UpdatePickupDateMessageBulk = 'postLoads.UpdatePickupDateMessageBulk',\n /** \"Loads deleted\" */ postLoads_LoadsDeleteMessageBulk = 'postLoads.LoadsDeleteMessageBulk',\n /** \"Load statuses updated\" */ postLoads_LoadsStatusChangeMessageBulk = 'postLoads.LoadsStatusChangeMessageBulk',\n /** \"Load posted successfully\" */ postLoads_LoadPostedSuccessfully = 'postLoads.LoadPostedSuccessfully',\n /** \"Cloned load posted\" */ postLoads_ClonedLoadPosted = 'postLoads.ClonedLoadPosted',\n /** \"Load edited\" */ postLoads_LoadEdited = 'postLoads.LoadEdited',\n /** \"Specs (Optional)\" */ postLoads_SpecsOptional = 'postLoads.SpecsOptional',\n /** \"Select\" */ postLoads_Select = 'postLoads.Select',\n /** \"*Please fill out all mandatory fields.\" */ postLoads_fillMandatoryFields = 'postLoads.fillMandatoryFields',\n /** \"*Please attach 1 or more documents.\" */ postLoads_attachDocuments = 'postLoads.attachDocuments',\n /** \"Booking options\" */ postLoads_bookingOptions_title = 'postLoads.bookingOptions.title',\n /** \"Phone\" */ postLoads_bookingOptions_phone = 'postLoads.bookingOptions.phone',\n /** \"Email\" */ postLoads_bookingOptions_email = 'postLoads.bookingOptions.email',\n /** \"Messaging\" */ postLoads_bookingOptions_messaging = 'postLoads.bookingOptions.messaging',\n /** \"Bidding\" */ postLoads_bookingOptions_bidding = 'postLoads.bookingOptions.bidding',\n /** \"Book now\" */ postLoads_bookingOptions_bookNow = 'postLoads.bookingOptions.bookNow',\n /** \"Manage onboarded carriers\" */ postLoads_bookingOptions_manageOnboardLink = 'postLoads.bookingOptions.manageOnboardLink',\n /** \"Duplicate reference number\" */ postLoads_duplicateRefNumberTitle = 'postLoads.duplicateRefNumberTitle',\n /** \"A load with the same reference number already exists. Please enter a different reference number or leave the field blank.\" */ postLoads_duplicateRefNumberMessage = 'postLoads.duplicateRefNumberMessage',\n /** \"Location and dates\" */ postLoads_collapsibleMenu_locationAndDates = 'postLoads.collapsibleMenu.locationAndDates',\n /** \"Equipment details\" */ postLoads_collapsibleMenu_equipmentDetails = 'postLoads.collapsibleMenu.equipmentDetails',\n /** \"Load info\" */ postLoads_collapsibleMenu_loadInfo = 'postLoads.collapsibleMenu.loadInfo',\n /** \"Trip rate and distance\" */ postLoads_collapsibleMenu_tripRateAndDistance = 'postLoads.collapsibleMenu.tripRateAndDistance',\n /** \"Posting contact\" */ postLoads_collapsibleMenu_postingContact = 'postLoads.collapsibleMenu.postingContact',\n /** \"Set offline\" */ postLoads_manipulation_SetOffline = 'postLoads.manipulation.SetOffline',\n /** \"Set online\" */ postLoads_manipulation_SetOnline = 'postLoads.manipulation.SetOnline',\n /** \"Refresh age\" */ postLoads_manipulation_RefreshAge = 'postLoads.manipulation.RefreshAge',\n /** \"Edit\" */ postLoads_manipulation_Edit = 'postLoads.manipulation.Edit',\n /** \"Delete\" */ postLoads_manipulation_Delete = 'postLoads.manipulation.Delete',\n /** \"Clone\" */ postLoads_manipulation_Clone = 'postLoads.manipulation.Clone',\n /** \"Messages\" */ postLoads_manipulation_messages = 'postLoads.manipulation.messages',\n /** \"We’d love your feedback about the new load posting tool. It helps us make 123Loadboard better.\" */ postLoads_feedbackContent = 'postLoads.feedbackContent',\n /** \"OK\" */ postLoads_popUps_error_button = 'postLoads.popUps.error.button',\n /** \"Error\" */ postLoads_popUps_error_title = 'postLoads.popUps.error.title',\n /** \"An internal server error occurred. Please try again.\" */ postLoads_popUps_error_content = 'postLoads.popUps.error.content',\n /** \"Post strength\" */ postLoads_popUps_postStrength_title = 'postLoads.popUps.postStrength.title',\n /** \"The greater your post strength, the more exposure your load post will receive.\" */ postLoads_popUps_postStrength_content = 'postLoads.popUps.postStrength.content',\n /** \" Strength is determined based on the amount of details provided.\" */ postLoads_popUps_postStrength_paragraph = 'postLoads.popUps.postStrength.paragraph',\n /** \"Pick up time: 5%\" */ postLoads_popUps_postStrength_pickUpTimeStrength = 'postLoads.popUps.postStrength.pickUpTimeStrength',\n /** \"Drop off date: 15%\" */ postLoads_popUps_postStrength_dropOffDateStrength = 'postLoads.popUps.postStrength.dropOffDateStrength',\n /** \"Drop off time: 5%\" */ postLoads_popUps_postStrength_dropOffTimeStrength = 'postLoads.popUps.postStrength.dropOffTimeStrength',\n /** \"Length: 20%\" */ postLoads_popUps_postStrength_lengthStrength = 'postLoads.popUps.postStrength.lengthStrength',\n /** \"Weight: 20%\" */ postLoads_popUps_postStrength_weightTimeStrength = 'postLoads.popUps.postStrength.weightTimeStrength',\n /** \"Pay ($): 35%\" */ postLoads_popUps_postStrength_paymentTimeStrength = 'postLoads.popUps.postStrength.paymentTimeStrength',\n /** \"OK\" */ postLoads_popUps_postStrength_button = 'postLoads.popUps.postStrength.button',\n /** \"Are you sure you want to set load “Online”?\" */ postLoads_popUps_updateStatus_SetOnlineContent = 'postLoads.popUps.updateStatus.SetOnlineContent',\n /** \"Are you sure you want to set load “Offline”?\" */ postLoads_popUps_updateStatus_SetOfflineContent = 'postLoads.popUps.updateStatus.SetOfflineContent',\n /** \"Load status updated\" */ postLoads_popUps_updateStatus_SnackBar_Message = 'postLoads.popUps.updateStatus.SnackBar_Message',\n /** \"Delete load\" */ postLoads_popUps_deleteLoad_title = 'postLoads.popUps.deleteLoad.title',\n /** \"For easy reposting, we suggest changing the status to “offline” instead of deleting.\" */ postLoads_popUps_deleteLoad_content = 'postLoads.popUps.deleteLoad.content',\n /** \"Delete\" */ postLoads_popUps_deleteLoad_deleteButton = 'postLoads.popUps.deleteLoad.deleteButton',\n /** \"Cancel\" */ postLoads_popUps_deleteLoad_cancelButton = 'postLoads.popUps.deleteLoad.cancelButton',\n /** \"Load deleted\" */ postLoads_popUps_deleteLoad_SnackBar_Message = 'postLoads.popUps.deleteLoad.SnackBar_Message',\n /** \"Delete loads\" */ postLoads_popUps_bulkDeleteLoads_title = 'postLoads.popUps.bulkDeleteLoads.title',\n /** \"For easy reposting, we suggest changing the status to “offline” instead of deleting.\" */ postLoads_popUps_bulkDeleteLoads_content = 'postLoads.popUps.bulkDeleteLoads.content',\n /** \"Delete\" */ postLoads_popUps_bulkDeleteLoads_deleteButton = 'postLoads.popUps.bulkDeleteLoads.deleteButton',\n /** \"Cancel\" */ postLoads_popUps_bulkDeleteLoads_cancelButton = 'postLoads.popUps.bulkDeleteLoads.cancelButton',\n /** \"{{lastViewedAge}} ago\" */ postLoads_popUps_viewerInfo_lastViewedAge = 'postLoads.popUps.viewerInfo.lastViewedAge',\n /** \"Contact\" */ postLoads_popUps_viewerInfo_contact = 'postLoads.popUps.viewerInfo.contact',\n /** \"Company\" */ postLoads_popUps_viewerInfo_company = 'postLoads.popUps.viewerInfo.company',\n /** \"Phone\" */ postLoads_popUps_viewerInfo_phone = 'postLoads.popUps.viewerInfo.phone',\n /** \"Insurance on File\" */ postLoads_popUps_viewerInfo_insuranceOnFile = 'postLoads.popUps.viewerInfo.insuranceOnFile',\n /** \"Common\" */ postLoads_popUps_viewerInfo_Common = 'postLoads.popUps.viewerInfo.Common',\n /** \"Contract\" */ postLoads_popUps_viewerInfo_Contract = 'postLoads.popUps.viewerInfo.Contract',\n /** \"USDOT Number\" */ postLoads_popUps_viewerInfo_USDOTNumber = 'postLoads.popUps.viewerInfo.USDOTNumber',\n /** \"MC Number\" */ postLoads_popUps_viewerInfo_MCNumber = 'postLoads.popUps.viewerInfo.MCNumber',\n /** \"Contact\" */ postLoads_Contact = 'postLoads.Contact',\n /** \"TL\" */ postLoads_Tl = 'postLoads.Tl',\n /** \"LTL\" */ postLoads_Ltl = 'postLoads.Ltl',\n /** \"Pickup date\" */ postLoads_PickUpDate = 'postLoads.PickUpDate',\n /** \"Pickup time\" */ postLoads_PickUpTime = 'postLoads.PickUpTime',\n /** \"Drop off date\" */ postLoads_DropOffDate = 'postLoads.DropOffDate',\n /** \"Drop off time\" */ postLoads_DropOffTime = 'postLoads.DropOffTime',\n /** \"Pick up\" */ postLoads_PickUp = 'postLoads.PickUp',\n /** \"Drop off\" */ postLoads_DropOff = 'postLoads.DropOff',\n /** \"Available capacity\" */ postLoads_AvailableCapacity = 'postLoads.AvailableCapacity',\n /** \"Trailer Specifications\" */ postLoads_TrailerSpecifications = 'postLoads.TrailerSpecifications',\n /** \"Trailer type\" */ postLoads_TrailerType = 'postLoads.TrailerType',\n /** \"Load size\" */ postLoads_LoadSize = 'postLoads.LoadSize',\n /** \"Exclude loads without length\" */ postLoads_ExcludeLoadsWithoutLength = 'postLoads.ExcludeLoadsWithoutLength',\n /** \"Exclude loads without weight\" */ postLoads_ExcludeLoadsWithoutWeight = 'postLoads.ExcludeLoadsWithoutWeight',\n /** \"Pickup location\" */ postLoads_PickupLocation = 'postLoads.PickupLocation',\n /** \"Drop off location\" */ postLoads_DropOffLocation = 'postLoads.DropOffLocation',\n /** \"Multiple\" */ postLoads_Multiple = 'postLoads.Multiple',\n /** \"Post\" */ postLoads_Post = 'postLoads.Post',\n /** \"Post load\" */ postLoads_PostLoad = 'postLoads.PostLoad',\n /** \"Edit load\" */ postLoads_EditLoad = 'postLoads.EditLoad',\n /** \"Clone load\" */ postLoads_CloneLoad = 'postLoads.CloneLoad',\n /** \"Clear\" */ postLoads_ClearAll = 'postLoads.ClearAll',\n /** \"Pre-fill from recent posts\" */ postLoads_PrefillFrom = 'postLoads.PrefillFrom',\n /** \"Recent Posts\" */ postLoads_RecentPosts = 'postLoads.RecentPosts',\n /** \"Reset\" */ postLoads_Reset = 'postLoads.Reset',\n /** \"Update\" */ postLoads_Update = 'postLoads.Update',\n /** \"Low\" */ postLoads_Low = 'postLoads.Low',\n /** \"Average\" */ postLoads_Average = 'postLoads.Average',\n /** \"Distance (mi)\" */ postLoads_Distance = 'postLoads.Distance',\n /** \"Flat rate ($)\" */ postLoads_Rate = 'postLoads.Rate',\n /** \"Driving time\" */ postLoads_DrivingTime = 'postLoads.DrivingTime',\n /** \"Upgrade plan\" */ postLoads_UpgradePlan = 'postLoads.UpgradePlan',\n /** \"Unlock\" */ postLoads_Unlock = 'postLoads.Unlock',\n /** \"Team driven\" */ postLoads_TeamDriven = 'postLoads.TeamDriven',\n /** \"Quantity of loads\" */ postLoads_Quantity = 'postLoads.Quantity',\n /** \"Add extra stops +\" */ postLoads_AddExtraStops = 'postLoads.AddExtraStops',\n /** \"Add equipment +\" */ postLoads_AddEquipments = 'postLoads.AddEquipments',\n /** \"Extra stop(s)\" */ postLoads_ExtraStops = 'postLoads.ExtraStops',\n /** \"Contact name\" */ postLoads_ContactName = 'postLoads.ContactName',\n /** \"Name\" */ postLoads_Name = 'postLoads.Name',\n /** \"Post strength\" */ postLoads_PostStrength = 'postLoads.PostStrength',\n /** \"Phone\" */ postLoads_Phone = 'postLoads.Phone',\n /** \"Ext.\" */ postLoads_Ext = 'postLoads.Ext',\n /** \"Email\" */ postLoads_Email = 'postLoads.Email',\n /** \"High\" */ postLoads_High = 'postLoads.High',\n /** \"Drop off\" */ postLoads_dropOff = 'postLoads.dropOff',\n /** \"Pick up\" */ postLoads_pickUp = 'postLoads.pickUp',\n /** \"Total trip\" */ postLoads_totalTrip = 'postLoads.totalTrip',\n /** \"PC*Miler\" */ postLoads_pcMiler = 'postLoads.pcMiler',\n /** \"Trailer type\" */ postLoads_trailerType = 'postLoads.trailerType',\n /** \"Trailer Specifications\" */ postLoads_trailerSpecifications = 'postLoads.trailerSpecifications',\n /** \"Available capacity\" */ postLoads_availableCapacity = 'postLoads.availableCapacity',\n /** \"Load size\" */ postLoads_loadSize = 'postLoads.loadSize',\n /** \"Length (ft)\" */ postLoads_length = 'postLoads.length',\n /** \"Weight (lbs)\" */ postLoads_weight = 'postLoads.weight',\n /** \"Average rate by rate check\" */ postLoads_averageRateByCheck = 'postLoads.averageRateByCheck',\n /** \"Ref. #\" */ postLoads_ref = 'postLoads.ref',\n /** \"Item/Commodity\" */ postLoads_itemCommodity = 'postLoads.itemCommodity',\n /** \"More options\" */ postLoads_moreOptions = 'postLoads.moreOptions',\n /** \"Additional load details\" */ postLoads_additionalLoadDetails = 'postLoads.additionalLoadDetails',\n /** \"{{status}} loads\" */ postLoads_PostedPanel_PostedHeaderLabel = 'postLoads.PostedPanel.PostedHeaderLabel',\n /** \"{{quantity}} selected.\" */ postLoads_PostedPanel_SelectedLoads = 'postLoads.PostedPanel.SelectedLoads',\n /** \"All {{quantity}} selected\" */ postLoads_PostedPanel_AllSelectedLoads = 'postLoads.PostedPanel.AllSelectedLoads',\n /** \"Select all {{quantity}}\" */ postLoads_PostedPanel_SelectAllLoads = 'postLoads.PostedPanel.SelectAllLoads',\n /** \"No online loads\" */ postLoads_PostedPanel_NoOnlineLoads = 'postLoads.PostedPanel.NoOnlineLoads',\n /** \"No offline loads\" */ postLoads_PostedPanel_NoOfflineLoads = 'postLoads.PostedPanel.NoOfflineLoads',\n /** \"No assigned loads\" */ postLoads_PostedPanel_NoAssignedLoads = 'postLoads.PostedPanel.NoAssignedLoads',\n /** \"No delivered loads\" */ postLoads_PostedPanel_NoDeliveredLoads = 'postLoads.PostedPanel.NoDeliveredLoads',\n /** \"When you post loads you’ll see them here\" */ postLoads_PostedPanel_NoOnlineLoadsSubtitle = 'postLoads.PostedPanel.NoOnlineLoadsSubtitle',\n /** \"Create loads as drafts, and post them when you’re ready.\" */ postLoads_PostedPanel_NoOfflineLoadsSubtitle = 'postLoads.PostedPanel.NoOfflineLoadsSubtitle',\n /** \"Mark loads as assigned when you have confirmed the booking.\" */ postLoads_PostedPanel_NoAssignedLoadsSubtitle = 'postLoads.PostedPanel.NoAssignedLoadsSubtitle',\n /** \"Mark loads as delivered when you have confirmed they have reached their destination.\" */ postLoads_PostedPanel_NoDeliveredLoadsSubtitle = 'postLoads.PostedPanel.NoDeliveredLoadsSubtitle',\n /** \"Pickup date\" */ postLoads_PostedPanel_PickupDate = 'postLoads.PostedPanel.PickupDate',\n /** \"Refresh age\" */ postLoads_PostedPanel_RefreshAge = 'postLoads.PostedPanel.RefreshAge',\n /** \"Status\" */ postLoads_PostedPanel_Status = 'postLoads.PostedPanel.Status',\n /** \"Filter by location, ref#, equip, size\" */ postLoads_PostedPanel_FreeTextFilter = 'postLoads.PostedPanel.FreeTextFilter',\n /** \"Ref#\" */ postLoads_PostedPanel_Ref = 'postLoads.PostedPanel.Ref',\n /** \"Sort by\" */ postLoads_SortByPanel_SortBy = 'postLoads.SortByPanel.SortBy',\n /** \"Reset\" */ postLoads_SortByPanel_Reset = 'postLoads.SortByPanel.Reset',\n /** \"Status\" */ postLoads_StatusPanel_Status = 'postLoads.StatusPanel.Status',\n /** \"Select status\" */ postLoads_StatusPanel_SelectStatus = 'postLoads.StatusPanel.SelectStatus',\n /** \"Online\" */ postLoads_StatusPanel_Online = 'postLoads.StatusPanel.Online',\n /** \"Offline\" */ postLoads_StatusPanel_Offline = 'postLoads.StatusPanel.Offline',\n /** \"Invalid distance. Please refer to the PC*Miler total trip.\" */ postLoads_errors_InvalidDistance = 'postLoads.errors.InvalidDistance',\n /** \"Pre-fill from recent\" */ postLoads_loadTemplates_pageTitle = 'postLoads.loadTemplates.pageTitle',\n /** \"Pre-fill\" */ postLoads_loadTemplates_buttonTitle = 'postLoads.loadTemplates.buttonTitle',\n /** \"No recent posts\" */ postLoads_loadTemplates_notFound_title = 'postLoads.loadTemplates.notFound.title',\n /** \"Post loads to use this pre-fill option.\" */ postLoads_loadTemplates_notFound_subtitle = 'postLoads.loadTemplates.notFound.subtitle',\n /** \"Some load details cannot be modified when a load is assigned or delivered.\" */ postLoads_editBlocked = 'postLoads.editBlocked',\n /** \"Carriers\" */ carriers_Carriers = 'carriers.Carriers',\n /** \"Contact info\" */ carriers_contactInfo = 'carriers.contactInfo',\n /** \"Onboarded\" */ carriers_filters_Onboarded = 'carriers.filters.Onboarded',\n /** \"Favorite\" */ carriers_filters_Favorite = 'carriers.filters.Favorite',\n /** \"Blocked/Hidden\" */ carriers_filters_BlockedHidden = 'carriers.filters.BlockedHidden',\n /** \"Filter by name\" */ carriers_filterLabel = 'carriers.filterLabel',\n /** \"No favorites saved\" */ carriers_NotFound_favorite_title = 'carriers.NotFound.favorite.title',\n /** \"To save a company as your favorite, click “Add to favorites” when viewing a carrier in Truck Locator.\" */ carriers_NotFound_favorite_content = 'carriers.NotFound.favorite.content',\n /** \"No companies hidden\" */ carriers_NotFound_blocked_title = 'carriers.NotFound.blocked.title',\n /** \"To hide a company, click “Hide” when viewing a carrier in Truck Locator.\" */ carriers_NotFound_blocked_content = 'carriers.NotFound.blocked.content',\n /** \"No onboarded companies\" */ carriers_NotFound_onboarded_title = 'carriers.NotFound.onboarded.title',\n /** \"To mark a company that you’ve already onboarded with, click “Tag as onboarded” when viewing a carrier in Truck Locator.\" */ carriers_NotFound_onboarded_content = 'carriers.NotFound.onboarded.content',\n /** \"Favorite\" */ carriers_menuOptions_favorite = 'carriers.menuOptions.favorite',\n /** \"Remove favorite\" */ carriers_menuOptions_remove_favorite = 'carriers.menuOptions.remove_favorite',\n /** \"Mark as onboarded\" */ carriers_menuOptions_mark_onboarded = 'carriers.menuOptions.mark_onboarded',\n /** \"Unmark onboarded\" */ carriers_menuOptions_unmark_onboarded = 'carriers.menuOptions.unmark_onboarded',\n /** \"Remove blocked\" */ carriers_menuOptions_remove_blocked = 'carriers.menuOptions.remove_blocked',\n /** \"Carrier added to your favorites\" */ carriers_carrierUpdate_carrierFavorited = 'carriers.carrierUpdate.carrierFavorited',\n /** \"Carrier removed from your favorites\" */ carriers_carrierUpdate_carrierUnfavorited = 'carriers.carrierUpdate.carrierUnfavorited',\n /** \"Carrier is now blocked\" */ carriers_carrierUpdate_carrierBlocked = 'carriers.carrierUpdate.carrierBlocked',\n /** \"Carrier is unblocked\" */ carriers_carrierUpdate_carrierUnblocked = 'carriers.carrierUpdate.carrierUnblocked',\n /** \"Carrier marked as onboarded\" */ carriers_carrierUpdate_carrierOnboarded = 'carriers.carrierUpdate.carrierOnboarded',\n /** \"Carrier removed from onboarded\" */ carriers_carrierUpdate_carrierUnonboarded = 'carriers.carrierUpdate.carrierUnonboarded',\n /** \"Companies\" */ companies_Companies = 'companies.Companies',\n /** \"Contact info\" */ companies_contactInfo = 'companies.contactInfo',\n /** \"Onboarded\" */ companies_filters_Onboarded = 'companies.filters.Onboarded',\n /** \"Favorite\" */ companies_filters_Favorite = 'companies.filters.Favorite',\n /** \"Blocked/Hidden\" */ companies_filters_BlockedHidden = 'companies.filters.BlockedHidden',\n /** \"Filter by name\" */ companies_filterLabel = 'companies.filterLabel',\n /** \"No favorites saved\" */ companies_NotFound_favorite_title = 'companies.NotFound.favorite.title',\n /** \"To save a company as your favorite, click the more option icon when viewing a load.\" */ companies_NotFound_favorite_content = 'companies.NotFound.favorite.content',\n /** \"No companies blocked\" */ companies_NotFound_blocked_title = 'companies.NotFound.blocked.title',\n /** \"To block a company from your results, click the more option icon when viewing a load.\" */ companies_NotFound_blocked_content = 'companies.NotFound.blocked.content',\n /** \"No onboarded companies\" */ companies_NotFound_onboarded_title = 'companies.NotFound.onboarded.title',\n /** \"To mark a company that you’ve already onboarded with, click the more option icon when viewing a load.\" */ companies_NotFound_onboarded_content = 'companies.NotFound.onboarded.content',\n /** \"Favorite\" */ companies_menuOptions_favorite = 'companies.menuOptions.favorite',\n /** \"Remove favorite\" */ companies_menuOptions_remove_favorite = 'companies.menuOptions.remove_favorite',\n /** \"Mark as onboarded\" */ companies_menuOptions_mark_onboarded = 'companies.menuOptions.mark_onboarded',\n /** \"Unmark onboarded\" */ companies_menuOptions_unmark_onboarded = 'companies.menuOptions.unmark_onboarded',\n /** \"Remove blocked\" */ companies_menuOptions_remove_blocked = 'companies.menuOptions.remove_blocked',\n /** \"Reset\" */ modalPanels_Actions_Reset = 'modalPanels.Actions.Reset',\n /** \"Clear all\" */ modalPanels_Actions_ClearAll = 'modalPanels.Actions.ClearAll',\n /** \"Clear\" */ modalPanels_Actions_Clear = 'modalPanels.Actions.Clear',\n /** \"Pickup dates\" */ modalPanels_DatesTime_PickUpDatesHeader = 'modalPanels.DatesTime.PickUpDatesHeader',\n /** \"Pickup date\" */ modalPanels_DatesTime_PickUpDateHeader = 'modalPanels.DatesTime.PickUpDateHeader',\n /** \"Drop off date\" */ modalPanels_DatesTime_DropOffDateHeader = 'modalPanels.DatesTime.DropOffDateHeader',\n /** \"Drop off dates\" */ modalPanels_DatesTime_DropOffDatesHeader = 'modalPanels.DatesTime.DropOffDatesHeader',\n /** \"Pickup time\" */ modalPanels_DatesTime_PickUpTimeHeader = 'modalPanels.DatesTime.PickUpTimeHeader',\n /** \"Drop off time\" */ modalPanels_DatesTime_DropOffTimeHeader = 'modalPanels.DatesTime.DropOffTimeHeader',\n /** \"You selected the maximum number of dates\" */ modalPanels_DatesTime_MaxSelectionDatesCount = 'modalPanels.DatesTime.MaxSelectionDatesCount',\n /** \"Select a maximum {{value}}\" */ modalPanels_DatesTime_SelectMaximum = 'modalPanels.DatesTime.SelectMaximum',\n /** \"Pickup location\" */ modalPanels_LocationPicker_PickUpHeader = 'modalPanels.LocationPicker.PickUpHeader',\n /** \"Drop off location\" */ modalPanels_LocationPicker_DropOffHeader = 'modalPanels.LocationPicker.DropOffHeader',\n /** \"Pick up\" */ modalPanels_LocationPicker_Pickup = 'modalPanels.LocationPicker.Pickup',\n /** \"Drop off\" */ modalPanels_LocationPicker_DropOff = 'modalPanels.LocationPicker.DropOff',\n /** \"Recent locations\" */ modalPanels_LocationPicker_RecentLocations = 'modalPanels.LocationPicker.RecentLocations',\n /** \"City, state or zip\" */ modalPanels_LocationPicker_CityStateZip = 'modalPanels.LocationPicker.CityStateZip',\n /** \"City or zip\" */ modalPanels_LocationPicker_CityOrZip = 'modalPanels.LocationPicker.CityOrZip',\n /** \"Selected {{selectedCount}} of maximum {{maxCount}} locations\" */ modalPanels_LocationPicker_WarningMessage = 'modalPanels.LocationPicker.WarningMessage',\n /** \"Sort by\" */ modalPanels_SortBy_Header = 'modalPanels.SortBy.Header',\n /** \"Status\" */ modalPanels_Status_Header = 'modalPanels.Status.Header',\n /** \"Select status\" */ modalPanels_Status_SelectStatus = 'modalPanels.Status.SelectStatus',\n /** \"Online\" */ modalPanels_Status_Online = 'modalPanels.Status.Online',\n /** \"Offline\" */ modalPanels_Status_Offline = 'modalPanels.Status.Offline',\n /** \"Trailer type\" */ modalPanels_TrailerType_Header = 'modalPanels.TrailerType.Header',\n /** \"Trailer specifications\" */ modalPanels_TrailerSpecifications_Header = 'modalPanels.TrailerSpecifications.Header',\n /** \"Time\" */ modalPanels_TimePicker_Label = 'modalPanels.TimePicker.Label',\n /** \"Invalid time format\" */ modalPanels_TimePicker_Error = 'modalPanels.TimePicker.Error',\n /** \"Filters\" */ modalPanels_Filter_Filters = 'modalPanels.Filter.Filters',\n /** \"Location permission unavailable\" */ permissions_location_unavailable_title = 'permissions.location.unavailable.title',\n /** \"It's not possible to determine your location at this time.\" */ permissions_location_unavailable_content = 'permissions.location.unavailable.content',\n /** \"Location permission denied\" */ permissions_location_denied_title = 'permissions.location.denied.title',\n /** \"Please enable location permissions in your browser's preferences.\" */ permissions_location_denied_content = 'permissions.location.denied.content',\n /** \"Location permission timed out\" */ permissions_location_timeout_title = 'permissions.location.timeout.title',\n /** \"Timeout while getting location.\" */ permissions_location_timeout_content = 'permissions.location.timeout.content',\n /** \"Hi {{name}}, enjoy our carrier dashboard.\" */ dashboard_CarrierHeader = 'dashboard.CarrierHeader',\n /** \"Hi {{name}}, let's move some loads today.\" */ dashboard_BrokerHeader = 'dashboard.BrokerHeader',\n /** \"My Posted Loads\" */ dashboard_My_Posted_Loads = 'dashboard.My_Posted_Loads',\n /** \"Find Loads\" */ dashboard_Find_Loads = 'dashboard.Find_Loads',\n /** \"My Loads Post\" */ dashboard_My_Loads_Post = 'dashboard.My_Loads_Post',\n /** \"Mileage Calculator\" */ dashboard_Mileage_Calculator = 'dashboard.Mileage_Calculator',\n /** \"Profit Calculator\" */ dashboard_Profit_Calculator = 'dashboard.Profit_Calculator',\n /** \"Save at the Pump\" */ dashboard_Save_At_The_Pump = 'dashboard.Save_At_The_Pump',\n /** \"Find Trucks\" */ dashboard_Find_Trucks = 'dashboard.Find_Trucks',\n /** \"My Documents\" */ dashboard_My_Documents = 'dashboard.My_Documents',\n /** \"Get Paid Faster\" */ dashboard_Get_Paid_Faster = 'dashboard.Get_Paid_Faster',\n /** \"Carriers\" */ dashboard_Carriers = 'dashboard.Carriers',\n /** \"Companies\" */ dashboard_Companies = 'dashboard.Companies',\n /** \"Load details\" */ dashboard_Load_Details = 'dashboard.Load_Details',\n /** \"Search alerts\" */ dashboard_Search_Alerts = 'dashboard.Search_Alerts',\n /** \"Search loads\" */ dashboard_Search_Loads = 'dashboard.Search_Loads',\n /** \"Load alerts\" */ dashboard_Load_Alerts = 'dashboard.Load_Alerts',\n /** \"Messages\" */ dashboard_Messages = 'dashboard.Messages',\n /** \"Posted trucks\" */ dashboard_Posted_Truck = 'dashboard.Posted_Truck',\n /** \"Online loads\" */ dashboard_Online_Loads = 'dashboard.Online_Loads',\n /** \"Offline loads\" */ dashboard_Offline_Loads = 'dashboard.Offline_Loads',\n /** \"Live\" */ dashboard_Live = 'dashboard.Live',\n /** \"Search\" */ dashboard_Search = 'dashboard.Search',\n /** \"Post load\" */ dashboard_PostLoad = 'dashboard.PostLoad',\n /** \"View\" */ dashboard_View = 'dashboard.View',\n /** \"View all\" */ dashboard_ViewAll = 'dashboard.ViewAll',\n /** \"Working load\" */ dashboard_workingLoadWidget_header = 'dashboard.workingLoadWidget.header',\n /** \"Load status:\" */ dashboard_workingLoadWidget_loadStatus = 'dashboard.workingLoadWidget.loadStatus',\n /** \"Load documents:\" */ dashboard_workingLoadWidget_loadDocuments = 'dashboard.workingLoadWidget.loadDocuments',\n /** \"Book a load\" */ dashboard_workingLoadWidget_notFound_title = 'dashboard.workingLoadWidget.notFound.title',\n /** \"To see results, find a load and mark it as \\\"booked\\\".\" */ dashboard_workingLoadWidget_notFound_subtitle = 'dashboard.workingLoadWidget.notFound.subtitle',\n /** \"Recent searches\" */ dashboard_recentSearchesWidget_header = 'dashboard.recentSearchesWidget.header',\n /** \"Load searches\" */ dashboard_recentSearchesWidget_notFound_title = 'dashboard.recentSearchesWidget.notFound.title',\n /** \"To see results, start searching for loads.\" */ dashboard_recentSearchesWidget_notFound_subtitle = 'dashboard.recentSearchesWidget.notFound.subtitle',\n /** \"My loads\" */ dashboard_myLoadsWidget_header = 'dashboard.myLoadsWidget.header',\n /** \"Total loads\" */ dashboard_myLoadsWidget_totalLoadsButtonLabel = 'dashboard.myLoadsWidget.totalLoadsButtonLabel',\n /** \"Contacted\" */ dashboard_myLoadsWidget_contactedLoadsButtonLabel = 'dashboard.myLoadsWidget.contactedLoadsButtonLabel',\n /** \"Saved\" */ dashboard_myLoadsWidget_savedLoadsButtonLabel = 'dashboard.myLoadsWidget.savedLoadsButtonLabel',\n /** \"Booked\" */ dashboard_myLoadsWidget_bookedLoadsButtonLabel = 'dashboard.myLoadsWidget.bookedLoadsButtonLabel',\n /** \"Picked up\" */ dashboard_myLoadsWidget_pickedUpLoadsButtonLabel = 'dashboard.myLoadsWidget.pickedUpLoadsButtonLabel',\n /** \"Delivered\" */ dashboard_myLoadsWidget_deliveredLoadsButtonLabel = 'dashboard.myLoadsWidget.deliveredLoadsButtonLabel',\n /** \"Last posted load\" */ dashboard_lastPostedLoadWidget_header = 'dashboard.lastPostedLoadWidget.header',\n /** \"Find capacity for this load\" */ dashboard_lastPostedLoadWidget_findCapacity = 'dashboard.lastPostedLoadWidget.findCapacity',\n /** \"Post strength:\" */ dashboard_lastPostedLoadWidget_postStrength = 'dashboard.lastPostedLoadWidget.postStrength',\n /** \"No load posted\" */ dashboard_lastPostedLoadWidget_notFound_title = 'dashboard.lastPostedLoadWidget.notFound.title',\n /** \"To see results, post a load.\" */ dashboard_lastPostedLoadWidget_notFound_subtitle = 'dashboard.lastPostedLoadWidget.notFound.subtitle',\n /** \"Recently posted\" */ dashboard_recentlyPostedWidget_header = 'dashboard.recentlyPostedWidget.header',\n /** \"No load posts\" */ dashboard_recentlyPostedWidget_notFound_title = 'dashboard.recentlyPostedWidget.notFound.title',\n /** \"To see results, start posting loads.\" */ dashboard_recentlyPostedWidget_notFound_subtitle = 'dashboard.recentlyPostedWidget.notFound.subtitle',\n /** \"Hi {{name}}, the highway is calling.\" */ dashboard_userMessages_message_1 = 'dashboard.userMessages.message_1',\n /** \"Hi {{name}}, let's fill that truck.\" */ dashboard_userMessages_message_2 = 'dashboard.userMessages.message_2',\n /** \"Hi {{name}}, mo' miles mo' money.\" */ dashboard_userMessages_message_3 = 'dashboard.userMessages.message_3',\n /** \"Hi {{name}}, get your load on!\" */ dashboard_userMessages_message_4 = 'dashboard.userMessages.message_4',\n /** \"Hi {{name}}, no highway is too long.\" */ dashboard_userMessages_message_5 = 'dashboard.userMessages.message_5',\n /** \"Hi {{name}}, drive like no one is watching.\" */ dashboard_userMessages_message_6 = 'dashboard.userMessages.message_6',\n /** \"Hi {{name}}, these loads aren't gonna haul themselves.\" */ dashboard_userMessages_message_7 = 'dashboard.userMessages.message_7',\n /** \"Hi {{name}}, let's get that truck on the road!\" */ dashboard_userMessages_message_8 = 'dashboard.userMessages.message_8',\n /** \"Hi {{name}}, up and haul’em!\" */ dashboard_userMessages_message_9 = 'dashboard.userMessages.message_9',\n /** \"Hi {{name}}, let's get rolling.\" */ dashboard_userMessages_message_10 = 'dashboard.userMessages.message_10',\n /** \"Hi {{name}}, run a search, load up, hit the gas.\" */ dashboard_userMessages_message_11 = 'dashboard.userMessages.message_11',\n /** \"Hi {{name}}, let's get those wheels on the ground.\" */ dashboard_userMessages_message_12 = 'dashboard.userMessages.message_12',\n /** \"Hi {{name}}, let's get trucked up!\" */ dashboard_userMessages_message_13 = 'dashboard.userMessages.message_13',\n /** \"Hi {{name}}, one of these loads will be right up your alley.\" */ dashboard_userMessages_message_14 = 'dashboard.userMessages.message_14',\n /** \"Hi {{name}}, we’ve got loads for you.\" */ dashboard_userMessages_message_15 = 'dashboard.userMessages.message_15',\n /** \"Loads posted per month\" */ dashboard_metricsWidget_loadsPostedPerMonth = 'dashboard.metricsWidget.loadsPostedPerMonth',\n /** \"Loads delivered per month\" */ dashboard_metricsWidget_loadsDeliveredPerMonth = 'dashboard.metricsWidget.loadsDeliveredPerMonth',\n /** \"Most posted on\" */ dashboard_metricsWidget_mostPostedOn = 'dashboard.metricsWidget.mostPostedOn',\n /** \"Most booked on\" */ dashboard_metricsWidget_mostBookedOn = 'dashboard.metricsWidget.mostBookedOn',\n /** \"Busiest day\" */ dashboard_metricsWidget_busiestDay = 'dashboard.metricsWidget.busiestDay',\n /** \"Loads posted in {{month}}\" */ dashboard_metricsWidget_legendLoadsPostedText = 'dashboard.metricsWidget.legendLoadsPostedText',\n /** \"Loads delivered in {{month}}\" */ dashboard_metricsWidget_legendLoadsDeliveredText = 'dashboard.metricsWidget.legendLoadsDeliveredText',\n /** \"Monthly loads\" */ dashboard_metricsWidget_monthlyLoads = 'dashboard.metricsWidget.monthlyLoads',\n /** \"Export Posts\" */ exportPosts_Export_Posts = 'exportPosts.Export_Posts',\n /** \"We offer various methods to export your loads to other load boards, carriers, etc. Please refer to the options below. Need assistance?\" */ exportPosts_Description = 'exportPosts.Description',\n /** \"Contact 877-875-5301\" */ exportPosts_Contact = 'exportPosts.Contact',\n /** \"ext. 2\" */ exportPosts_Extension = 'exportPosts.Extension',\n /** \"Export your loads by FTP\" */ exportPosts_exportByFtp_Title = 'exportPosts.exportByFtp.Title',\n /** \"Our system can export your loads to any FTP address you specify. Whenever you post, edit or delete a load, our system will send an update to the FTP addresses listed below.\" */ exportPosts_exportByFtp_Content = 'exportPosts.exportByFtp.Content',\n /** \"FTP connected successfully\" */ exportPosts_exportByFtp_Successful_Save = 'exportPosts.exportByFtp.Successful_Save',\n /** \"FTP deleted successfully\" */ exportPosts_exportByFtp_Successful_Delete = 'exportPosts.exportByFtp.Successful_Delete',\n /** \"Something went wrong. Please verify the information entered and try again.\" */ exportPosts_exportByFtp_Save_Error = 'exportPosts.exportByFtp.Save_Error',\n /** \"is required\" */ exportPosts_exportByFtp_Is_Required = 'exportPosts.exportByFtp.Is_Required',\n /** \"All unsaved content will be lost\" */ exportPosts_exportByFtp_Close_Ftp_Dialog_Title = 'exportPosts.exportByFtp.Close_Ftp_Dialog_Title',\n /** \"If you leave the current form, you will lose all newly entered information.\" */ exportPosts_exportByFtp_Close_Ftp_Dialog_Message = 'exportPosts.exportByFtp.Close_Ftp_Dialog_Message',\n /** \"Unchanged\" */ exportPosts_exportByFtp_Unchanged_Password_Placeholder = 'exportPosts.exportByFtp.Unchanged_Password_Placeholder',\n /** \"FTP Name (Description)\" */ exportPosts_exportByFtp_ftp_Ftp_Name = 'exportPosts.exportByFtp.ftp.Ftp_Name',\n /** \"FTP Name\" */ exportPosts_exportByFtp_ftp_Condensed_Ftp_Name = 'exportPosts.exportByFtp.ftp.Condensed_Ftp_Name',\n /** \"Last Transmission\" */ exportPosts_exportByFtp_ftp_Last_Transmission = 'exportPosts.exportByFtp.ftp.Last_Transmission',\n /** \"Connection\" */ exportPosts_exportByFtp_ftp_Connection = 'exportPosts.exportByFtp.ftp.Connection',\n /** \"Valid\" */ exportPosts_exportByFtp_ftp_Valid = 'exportPosts.exportByFtp.ftp.Valid',\n /** \"Invalid\" */ exportPosts_exportByFtp_ftp_Invalid = 'exportPosts.exportByFtp.ftp.Invalid',\n /** \"Protocol\" */ exportPosts_exportByFtp_ftp_Protocol = 'exportPosts.exportByFtp.ftp.Protocol',\n /** \"Encryption\" */ exportPosts_exportByFtp_ftp_Encryption = 'exportPosts.exportByFtp.ftp.Encryption',\n /** \"Remote Directory\" */ exportPosts_exportByFtp_ftp_Remote_Directory = 'exportPosts.exportByFtp.ftp.Remote_Directory',\n /** \"Host\" */ exportPosts_exportByFtp_ftp_Host = 'exportPosts.exportByFtp.ftp.Host',\n /** \"Port\" */ exportPosts_exportByFtp_ftp_Port = 'exportPosts.exportByFtp.ftp.Port',\n /** \"Username\" */ exportPosts_exportByFtp_ftp_Username = 'exportPosts.exportByFtp.ftp.Username',\n /** \"Password\" */ exportPosts_exportByFtp_ftp_Password = 'exportPosts.exportByFtp.ftp.Password',\n /** \"Enable daily full list transmission per setup\" */ exportPosts_exportByFtp_ftp_Enable_Daily_Transmission = 'exportPosts.exportByFtp.ftp.Enable_Daily_Transmission',\n /** \"Required fields\" */ exportPosts_exportByFtp_ftp_Required_Fields = 'exportPosts.exportByFtp.ftp.Required_Fields',\n /** \"Delete\" */ exportPosts_exportByFtp_ftp_Delete = 'exportPosts.exportByFtp.ftp.Delete',\n /** \"Cancel\" */ exportPosts_exportByFtp_ftp_Cancel = 'exportPosts.exportByFtp.ftp.Cancel',\n /** \"Ok\" */ exportPosts_exportByFtp_ftp_Ok = 'exportPosts.exportByFtp.ftp.Ok',\n /** \"FTP - File Transfer Protocol\" */ exportPosts_exportByFtp_ftp_protocol_Ftp = 'exportPosts.exportByFtp.ftp.protocol.Ftp',\n /** \"Only use plain FTP\" */ exportPosts_exportByFtp_ftp_encryption_Plain_Ftp = 'exportPosts.exportByFtp.ftp.encryption.Plain_Ftp',\n /** \"Require implicit FTP over TLS\" */ exportPosts_exportByFtp_ftp_encryption_Implicit_Ftp_Over_Tls = 'exportPosts.exportByFtp.ftp.encryption.Implicit_Ftp_Over_Tls',\n /** \"Require explicit FTP over TLS\" */ exportPosts_exportByFtp_ftp_encryption_Explicit_Ftp_Over_Tls = 'exportPosts.exportByFtp.ftp.encryption.Explicit_Ftp_Over_Tls',\n /** \"Use explicit FTP over TLS is available\" */ exportPosts_exportByFtp_ftp_encryption_Explicit_Ftp_Over_Tls_If_Available = 'exportPosts.exportByFtp.ftp.encryption.Explicit_Ftp_Over_Tls_If_Available',\n /** \"Export to CSV File\" */ exportPosts_exportToCSV_Title = 'exportPosts.exportToCSV.Title',\n /** \"You can export all your available loads as a CSV file to easily send them by email, fax, etc.\" */ exportPosts_exportToCSV_Content = 'exportPosts.exportToCSV.Content',\n /** \"CSV File\" */ exportPosts_exportToCSV_Button = 'exportPosts.exportToCSV.Button',\n /** \"URL Scrape\" */ exportPosts_urlScrape_Title = 'exportPosts.urlScrape.Title',\n /** \"Other load boards can post your available loads by scraping a specific URL that we created for your company. Copy the URL and request that they scrape the website every couple of minutes to have your loads posted.\" */ exportPosts_urlScrape_Content = 'exportPosts.urlScrape.Content',\n /** \"Copy URL\" */ exportPosts_urlScrape_Button = 'exportPosts.urlScrape.Button',\n /** \"URL copied to clipboard.\" */ exportPosts_urlScrape_SnackBar_Message = 'exportPosts.urlScrape.SnackBar_Message',\n /** \"Other load boards will be able to automatically post your loads by scraping the following URL(s) that contains your available loads. Copy and send them the following URL to scrape every couple of minutes and your loads will automatically be posted.\" */ exportPosts_sharePostedLoads_title = 'exportPosts.sharePostedLoads.title',\n /** \"Share posted loads\" */ exportPosts_sharePostedLoads_header = 'exportPosts.sharePostedLoads.header',\n /** \"Export posts results\" */ exportPosts_sharePostedLoads_exportPostsResults = 'exportPosts.sharePostedLoads.exportPostsResults',\n /** \"Export Posts Table View\" */ exportPosts_sharePostedLoads_exportPostsTableView = 'exportPosts.sharePostedLoads.exportPostsTableView',\n /** \"Share posted loads (legacy)\" */ exportPosts_sharePostedLoads_legacyHeader = 'exportPosts.sharePostedLoads.legacyHeader',\n /** \"Paused\" */ exportPosts_sharePostedLoads_pausedStatus = 'exportPosts.sharePostedLoads.pausedStatus',\n /** \"Unlimited\" */ exportPosts_sharePostedLoads_expirationUnlimited = 'exportPosts.sharePostedLoads.expirationUnlimited',\n /** \"All company\" */ exportPosts_sharePostedLoads_allCompany = 'exportPosts.sharePostedLoads.allCompany',\n /** \"URL\" */ exportPosts_sharePostedLoads_URL = 'exportPosts.sharePostedLoads.URL',\n /** \"Edit URL\" */ exportPosts_sharePostedLoads_editURL = 'exportPosts.sharePostedLoads.editURL',\n /** \"New URL\" */ exportPosts_sharePostedLoads_newURL = 'exportPosts.sharePostedLoads.newURL',\n /** \"Enable “URL expiration date”\" */ exportPosts_sharePostedLoads_enableUrlExpirationDate = 'exportPosts.sharePostedLoads.enableUrlExpirationDate',\n /** \"Listed loads\" */ exportPosts_sharePostedLoads_listedLoads = 'exportPosts.sharePostedLoads.listedLoads',\n /** \"Pause this URL scrape. Anyone you have shared this URL with will no longer have access until it is unpaused.\" */ exportPosts_sharePostedLoads_pauseUrlScrapeTitle = 'exportPosts.sharePostedLoads.pauseUrlScrapeTitle',\n /** \"URL expiration date\" */ exportPosts_sharePostedLoads_urlExpirationDate = 'exportPosts.sharePostedLoads.urlExpirationDate',\n /** \"URL added\" */ exportPosts_sharePostedLoads_urlAdded = 'exportPosts.sharePostedLoads.urlAdded',\n /** \"URL edited\" */ exportPosts_sharePostedLoads_urlEdited = 'exportPosts.sharePostedLoads.urlEdited',\n /** \"URL deleted\" */ exportPosts_sharePostedLoads_urlDeleted = 'exportPosts.sharePostedLoads.urlDeleted',\n /** \"Delete URL\" */ exportPosts_sharePostedLoads_deletedURLPopup_title = 'exportPosts.sharePostedLoads.deletedURLPopup.title',\n /** \"Anyone you have shared this URL with will no longer have access.\" */ exportPosts_sharePostedLoads_deletedURLPopup_warning = 'exportPosts.sharePostedLoads.deletedURLPopup.warning',\n /** \"Are you sure that you want to delete this link?\" */ exportPosts_sharePostedLoads_deletedURLPopup_deleteQuestion = 'exportPosts.sharePostedLoads.deletedURLPopup.deleteQuestion',\n /** \"URLs limit reached\" */ exportPosts_sharePostedLoads_limitReachedPopup_title = 'exportPosts.sharePostedLoads.limitReachedPopup.title',\n /** \"There is a limit of 20 URLs.\" */ exportPosts_sharePostedLoads_limitReachedPopup_limit = 'exportPosts.sharePostedLoads.limitReachedPopup.limit',\n /** \"Please delete any previous URLs before adding a new one.\" */ exportPosts_sharePostedLoads_limitReachedPopup_suggestion = 'exportPosts.sharePostedLoads.limitReachedPopup.suggestion',\n /** \"The date has passed. Please enter a valid date\" */ exportPosts_sharePostedLoads_datePickerWarnings_datePassed = 'exportPosts.sharePostedLoads.datePickerWarnings.datePassed',\n /** \"Date must be included\" */ exportPosts_sharePostedLoads_datePickerWarnings_dateMustBeIncluded = 'exportPosts.sharePostedLoads.datePickerWarnings.dateMustBeIncluded',\n /** \"Year must be 4 digits (ie. 2000)\" */ exportPosts_sharePostedLoads_datePickerWarnings_invalidYear = 'exportPosts.sharePostedLoads.datePickerWarnings.invalidYear',\n /** \"Date does not exist. Please enter a valid date.\" */ exportPosts_sharePostedLoads_datePickerWarnings_dateMustExist = 'exportPosts.sharePostedLoads.datePickerWarnings.dateMustExist',\n /** \"Please enter a valid date\" */ exportPosts_sharePostedLoads_datePickerWarnings_enterValidDate = 'exportPosts.sharePostedLoads.datePickerWarnings.enterValidDate',\n /** \"Loading...\" */ exportPosts_sharePostedLoads_loadsTable_loading = 'exportPosts.sharePostedLoads.loadsTable.loading',\n /** \"Load data for this URL cannot be accessed at this time.\" */ exportPosts_sharePostedLoads_loadsTable_notFound = 'exportPosts.sharePostedLoads.loadsTable.notFound',\n /** \"Copyright © 123Loadboard. All rights reserved. Any unauthorized copying, publication or reproduction of the\\n content of this website is strictly prohibited and constitutes an infringement of copyright. If you would like\\n permission to use this content, please contact 123Loadboard at 8778755301, ext. 2.\" */ exportPosts_sharePostedLoads_loadsTable_copyright = 'exportPosts.sharePostedLoads.loadsTable.copyright',\n /** \"Pickup date\" */ exportPosts_sharePostedLoads_loadsTable_header_pickupDate = 'exportPosts.sharePostedLoads.loadsTable.header.pickupDate',\n /** \"Origin city\" */ exportPosts_sharePostedLoads_loadsTable_header_originCity = 'exportPosts.sharePostedLoads.loadsTable.header.originCity',\n /** \"Ori. state\" */ exportPosts_sharePostedLoads_loadsTable_header_originState = 'exportPosts.sharePostedLoads.loadsTable.header.originState',\n /** \"Ori. zip code\" */ exportPosts_sharePostedLoads_loadsTable_header_originZip = 'exportPosts.sharePostedLoads.loadsTable.header.originZip',\n /** \"Pickup time\" */ exportPosts_sharePostedLoads_loadsTable_header_pickupTime = 'exportPosts.sharePostedLoads.loadsTable.header.pickupTime',\n /** \"Destination city\" */ exportPosts_sharePostedLoads_loadsTable_header_destinationCity = 'exportPosts.sharePostedLoads.loadsTable.header.destinationCity',\n /** \"Dest. state\" */ exportPosts_sharePostedLoads_loadsTable_header_destinationState = 'exportPosts.sharePostedLoads.loadsTable.header.destinationState',\n /** \"Dest. zip code\" */ exportPosts_sharePostedLoads_loadsTable_header_destinationZip = 'exportPosts.sharePostedLoads.loadsTable.header.destinationZip',\n /** \"Delivery date\" */ exportPosts_sharePostedLoads_loadsTable_header_deliveryDate = 'exportPosts.sharePostedLoads.loadsTable.header.deliveryDate',\n /** \"Delivery time\" */ exportPosts_sharePostedLoads_loadsTable_header_deliveryTime = 'exportPosts.sharePostedLoads.loadsTable.header.deliveryTime',\n /** \"Approx. miles\" */ exportPosts_sharePostedLoads_loadsTable_header_approximateMiles = 'exportPosts.sharePostedLoads.loadsTable.header.approximateMiles',\n /** \"Equip.\" */ exportPosts_sharePostedLoads_loadsTable_header_equipment = 'exportPosts.sharePostedLoads.loadsTable.header.equipment',\n /** \"Equip. info\" */ exportPosts_sharePostedLoads_loadsTable_header_equipmentInfo = 'exportPosts.sharePostedLoads.loadsTable.header.equipmentInfo',\n /** \"Size\" */ exportPosts_sharePostedLoads_loadsTable_header_size = 'exportPosts.sharePostedLoads.loadsTable.header.size',\n /** \"Length (ft)\" */ exportPosts_sharePostedLoads_loadsTable_header_length = 'exportPosts.sharePostedLoads.loadsTable.header.length',\n /** \"Weight (lbs)\" */ exportPosts_sharePostedLoads_loadsTable_header_weight = 'exportPosts.sharePostedLoads.loadsTable.header.weight',\n /** \"Qty.\" */ exportPosts_sharePostedLoads_loadsTable_header_quantity = 'exportPosts.sharePostedLoads.loadsTable.header.quantity',\n /** \"Stops\" */ exportPosts_sharePostedLoads_loadsTable_header_stops = 'exportPosts.sharePostedLoads.loadsTable.header.stops',\n /** \"Team load\" */ exportPosts_sharePostedLoads_loadsTable_header_teamLoad = 'exportPosts.sharePostedLoads.loadsTable.header.teamLoad',\n /** \"Commodity\" */ exportPosts_sharePostedLoads_loadsTable_header_commodity = 'exportPosts.sharePostedLoads.loadsTable.header.commodity',\n /** \"Notes\" */ exportPosts_sharePostedLoads_loadsTable_header_notes = 'exportPosts.sharePostedLoads.loadsTable.header.notes',\n /** \"Rate ($)\" */ exportPosts_sharePostedLoads_loadsTable_header_rate = 'exportPosts.sharePostedLoads.loadsTable.header.rate',\n /** \"Contact\" */ exportPosts_sharePostedLoads_loadsTable_header_contact = 'exportPosts.sharePostedLoads.loadsTable.header.contact',\n /** \"Contact phone\" */ exportPosts_sharePostedLoads_loadsTable_header_contactPhone = 'exportPosts.sharePostedLoads.loadsTable.header.contactPhone',\n /** \"Ext.\" */ exportPosts_sharePostedLoads_loadsTable_header_ext = 'exportPosts.sharePostedLoads.loadsTable.header.ext',\n /** \"Contact email\" */ exportPosts_sharePostedLoads_loadsTable_header_contactEmail = 'exportPosts.sharePostedLoads.loadsTable.header.contactEmail',\n /** \"Post ref.\" */ exportPosts_sharePostedLoads_loadsTable_header_postRef = 'exportPosts.sharePostedLoads.loadsTable.header.postRef',\n /** \"Pick up date\" */ loadGeneric_pickupDate = 'loadGeneric.pickupDate',\n /** \"Distance\" */ loadGeneric_distance = 'loadGeneric.distance',\n /** \"deadhead\" */ loadGeneric_deadhead = 'loadGeneric.deadhead',\n /** \"Equipment\" */ loadGeneric_equipment = 'loadGeneric.equipment',\n /** \"Load size\" */ loadGeneric_loadSize = 'loadGeneric.loadSize',\n /** \"Posted rate\" */ loadGeneric_postedRate = 'loadGeneric.postedRate',\n /** \"Backhauls\" */ loadGeneric_backhauls = 'loadGeneric.backhauls',\n /** \"Rate check\" */ loadGeneric_rateCheck = 'loadGeneric.rateCheck',\n /** \"Length\" */ loadGeneric_length = 'loadGeneric.length',\n /** \"Weight\" */ loadGeneric_weight = 'loadGeneric.weight',\n /** \"Ref. #\" */ loadGeneric_refNumber = 'loadGeneric.refNumber',\n /** \"Item\" */ loadGeneric_item = 'loadGeneric.item',\n /** \"Qty/Stops\" */ loadGeneric_qtyStops = 'loadGeneric.qtyStops',\n /** \"Drop off date\" */ loadGeneric_dropOffDate = 'loadGeneric.dropOffDate',\n /** \"More details\" */ loadGeneric_moreInfo = 'loadGeneric.moreInfo',\n /** \"Posted age\" */ loadGeneric_postedAge = 'loadGeneric.postedAge',\n /** \"Company\" */ loadGeneric_company = 'loadGeneric.company',\n /** \"avg. rate\" */ loadGeneric_avgRate = 'loadGeneric.avgRate',\n /** \"Average rate\" */ loadGeneric_averageRate = 'loadGeneric.averageRate',\n /** \"Anywhere\" */ loadGeneric_anywhere = 'loadGeneric.anywhere',\n /** \"USA\" */ loadGeneric_anywhereUsa = 'loadGeneric.anywhereUsa',\n /** \"Canada\" */ loadGeneric_anywhereCanada = 'loadGeneric.anywhereCanada',\n /** \"Current location\" */ loadGeneric_currentLocation = 'loadGeneric.currentLocation',\n /** \"Current location unknown\" */ loadGeneric_currentLocationUnknown = 'loadGeneric.currentLocationUnknown',\n /** \"Sort by\" */ loadSorting_title = 'loadSorting.title',\n /** \"Shortest deadhead\" */ loadSorting_deadhead = 'loadSorting.deadhead',\n /** \"Pickup date\" */ loadSorting_pickupDate = 'loadSorting.pickupDate',\n /** \"Posted age\" */ loadSorting_age = 'loadSorting.age',\n /** \"Shortest distance\" */ loadSorting_shortestDistance = 'loadSorting.shortestDistance',\n /** \"Longest distance\" */ loadSorting_longestDistance = 'loadSorting.longestDistance',\n /** \"Highest posted rate\" */ loadSorting_postedRate = 'loadSorting.postedRate',\n /** \"Rate per mile\" */ loadSorting_ratePerMile = 'loadSorting.ratePerMile',\n /** \"Upload Posts\" */ uploadPosts_Upload_Posts = 'uploadPosts.Upload_Posts',\n /** \"Instructions\" */ uploadPosts_Instructions = 'uploadPosts.Instructions',\n /** \"Drag & Drop your file here\" */ uploadPosts_Drop_Area_Label = 'uploadPosts.Drop_Area_Label',\n /** \"Select file\" */ uploadPosts_Dropbox_Btn_Label = 'uploadPosts.Dropbox_Btn_Label',\n /** \"ext. 2\" */ uploadPosts_Extension = 'uploadPosts.Extension',\n /** \"Upload file\" */ uploadPosts_uploadCSV_Title = 'uploadPosts.uploadCSV.Title',\n /** \"Send us your Excel or CSV file to easily post your loads. Please ensure that your file meets our file guidelines above.\" */ uploadPosts_uploadCSV_Content = 'uploadPosts.uploadCSV.Content',\n /** \"File uploaded successfully\" */ uploadPosts_uploadCSV_Feedback = 'uploadPosts.uploadCSV.Feedback',\n /** \"File uploaded successfully.\\nIt will be processed as soon as our processor is updated to parse its format.\" */ uploadPosts_uploadCSV_Feedback_New_Upload = 'uploadPosts.uploadCSV.Feedback_New_Upload',\n /** \"Something went wrong. Please verify that the file meets our file guidelines (see above) and try again.\" */ uploadPosts_uploadCSV_Error = 'uploadPosts.uploadCSV.Error',\n /** \"File uploaded successfully\" */ uploadPosts_newUploadCsv_Title = 'uploadPosts.newUploadCsv.Title',\n /** \"It seems that you are new to the Upload Posts tool.\\n\\nWe will set up your account and contact you when it's ready. Once that's done, you'll be able to upload files and our system will automatically read and post your available loads.\" */ uploadPosts_newUploadCsv_Message = 'uploadPosts.newUploadCsv.Message',\n /** \"For more information, contact \" */ uploadPosts_newUploadCsv_contact = 'uploadPosts.newUploadCsv.contact',\n /** \"Send Loads by FTP\" */ uploadPosts_sendByFTP_Title = 'uploadPosts.sendByFTP.Title',\n /** \"If you would like to send your loads via FTP, you can request FTP login details using the button below.\" */ uploadPosts_sendByFTP_Content = 'uploadPosts.sendByFTP.Content',\n /** \"request FTP access\" */ uploadPosts_sendByFTP_Button = 'uploadPosts.sendByFTP.Button',\n /** \"FTP request submitted successfully\" */ uploadPosts_sendByFTP_Feedback = 'uploadPosts.sendByFTP.Feedback',\n /** \"Scrape Website\" */ uploadPosts_scrapeWebsite_Title = 'uploadPosts.scrapeWebsite.Title',\n /** \"If you have available loads listed on your company website, we can scrape these loads every few minutes so they appear in your account on 123Loadboard. If interested, let us know the website URL where we may find your available loads.\" */ uploadPosts_scrapeWebsite_Content = 'uploadPosts.scrapeWebsite.Content',\n /** \"URL\" */ uploadPosts_scrapeWebsite_Textfield_Label = 'uploadPosts.scrapeWebsite.Textfield_Label',\n /** \"Submit\" */ uploadPosts_scrapeWebsite_Button = 'uploadPosts.scrapeWebsite.Button',\n /** \"Invalid URL submitted\" */ uploadPosts_scrapeWebsite_ErrorSnackbar = 'uploadPosts.scrapeWebsite.ErrorSnackbar',\n /** \"Invalid input. Make sure the URL is correct\" */ uploadPosts_scrapeWebsite_ErrorMsg = 'uploadPosts.scrapeWebsite.ErrorMsg',\n /** \"Please enter a URL\" */ uploadPosts_scrapeWebsite_EmptyMsg = 'uploadPosts.scrapeWebsite.EmptyMsg',\n /** \"URL submitted successfully\" */ uploadPosts_scrapeWebsite_Feedback = 'uploadPosts.scrapeWebsite.Feedback',\n /** \"TMS Integration\" */ tmsIntegration_TMS_Integration = 'tmsIntegration.TMS_Integration',\n /** \"For your convenience, 123Loadboard is integrated with over 30 Transportation Management Softwares (TMS) that can automatically send your load postings to us.\" */ tmsIntegration_Description = 'tmsIntegration.Description',\n /** \"Integrate with your company’s TMS\" */ tmsIntegration_Subtitle = 'tmsIntegration.Subtitle',\n /** \"Let our qualified staff integrate with your company’s TMS so that your load postings appear on our website in real-time at absolutely no charge.\" */ tmsIntegration_Content = 'tmsIntegration.Content',\n /** \"Transportation Management Software (TMS)\" */ tmsIntegration_Textfield = 'tmsIntegration.Textfield',\n /** \"Here’s a small sample of the TMS companies we are integrated with. Don’t see your TMS listed,\" */ tmsIntegration_Company_List_Description = 'tmsIntegration.Company_List_Description',\n /** \"contact\" */ tmsIntegration_Contact = 'tmsIntegration.Contact',\n /** \"ext. 2\" */ tmsIntegration_Contact_Extension = 'tmsIntegration.Contact_Extension',\n /** \"Invalid format. The TMS should be at least 2 characters long.\" */ tmsIntegration_Invalid_Input_Message = 'tmsIntegration.Invalid_Input_Message',\n /** \"TMS successfully submitted\" */ tmsIntegration_snackbar_Successful_Message = 'tmsIntegration.snackbar.Successful_Message',\n /** \"Dismiss\" */ tmsIntegration_snackbar_Dismiss = 'tmsIntegration.snackbar.Dismiss',\n /** \"HTML Embed Code\" */ htmlEmbed_HtmlEmbed = 'htmlEmbed.HtmlEmbed',\n /** \"Display your posted loads on your own company website in real-time. Copy and paste the HTML Code below into your website. Need assistance?\" */ htmlEmbed_Description = 'htmlEmbed.Description',\n /** \"Contact 877-875-5301\" */ htmlEmbed_Contact = 'htmlEmbed.Contact',\n /** \"HTML code\" */ htmlEmbed_Textfield_Label = 'htmlEmbed.Textfield_Label',\n /** \"Display your loads on your website\" */ htmlEmbed_Paper_Title = 'htmlEmbed.Paper_Title',\n /** \"Copy and paste the following HTML code into your own company website. \" */ htmlEmbed_Textfield_Description = 'htmlEmbed.Textfield_Description',\n /** \"3 versions to choose from. You can edit the code to control the background color, width and height.\" */ htmlEmbed_Version_Description = 'htmlEmbed.Version_Description',\n /** \"copy html code\" */ htmlEmbed_Copy_HTML = 'htmlEmbed.Copy_HTML',\n /** \"Version 1 (default)\" */ htmlEmbed_Version_1 = 'htmlEmbed.Version_1',\n /** \"Version 2\" */ htmlEmbed_Version_2 = 'htmlEmbed.Version_2',\n /** \"Version 3\" */ htmlEmbed_Version_3 = 'htmlEmbed.Version_3',\n /** \"HTML code copied to clipboard.\" */ htmlEmbed_Copy_Message = 'htmlEmbed.Copy_Message',\n /** \"Load Availability\" */ aspxEmbed_loadAvailability_title = 'aspxEmbed.loadAvailability.title',\n /** \"Alerts\" */ aspxEmbed_alerts_title = 'aspxEmbed.alerts.title',\n /** \"Messages\" */ aspxEmbed_messages_title = 'aspxEmbed.messages.title',\n /** \"Load Planner\" */ aspxEmbed_loadPlanner_title = 'aspxEmbed.loadPlanner.title',\n /** \"My Loads\" */ aspxEmbed_myLoads_title = 'aspxEmbed.myLoads.title',\n /** \"Post\" */ aspxEmbed_myLoadsPost_title = 'aspxEmbed.myLoadsPost.title',\n /** \"Companies\" */ aspxEmbed_myCompanies_title = 'aspxEmbed.myCompanies.title',\n /** \"Mileage Calculator\" */ aspxEmbed_mileageCalculator_title = 'aspxEmbed.mileageCalculator.title',\n /** \"My Documents\" */ aspxEmbed_myDocs_title = 'aspxEmbed.myDocs.title',\n /** \"Credit Report\" */ aspxEmbed_creditReport_title = 'aspxEmbed.creditReport.title',\n /** \"Search Directory\" */ aspxEmbed_searchDirectory_title = 'aspxEmbed.searchDirectory.title',\n /** \"Hot Leads\" */ aspxEmbed_hotLeads_title = 'aspxEmbed.hotLeads.title',\n /** \"Settings\" */ aspxEmbed_settings_title = 'aspxEmbed.settings.title',\n /** \"Manage Users\" */ aspxEmbed_managerUsers_title = 'aspxEmbed.managerUsers.title',\n /** \"Membership Profile\" */ aspxEmbed_membershipProfile_title = 'aspxEmbed.membershipProfile.title',\n /** \"Payment History\" */ aspxEmbed_paymentHistory_title = 'aspxEmbed.paymentHistory.title',\n /** \"Payment Options\" */ aspxEmbed_paymentOptions_title = 'aspxEmbed.paymentOptions.title',\n /** \"General Settings\" */ aspxEmbed_generalSettings_title = 'aspxEmbed.generalSettings.title',\n /** \"Tools Settings\" */ aspxEmbed_toolsSettings_title = 'aspxEmbed.toolsSettings.title',\n /** \"Alerts Settings\" */ aspxEmbed_alertsSettings_title = 'aspxEmbed.alertsSettings.title',\n /** \"Company Website\" */ aspxEmbed_companyWebsite_title = 'aspxEmbed.companyWebsite.title',\n /** \"Welcome back\" */ aspxEmbed_accountSetup_title = 'aspxEmbed.accountSetup.title',\n /** \"Message\" */ aspxEmbed_accountNotice_title = 'aspxEmbed.accountNotice.title',\n /** \"Account\" */ aspxEmbed_accountRedir_title = 'aspxEmbed.accountRedir.title',\n /** \"Help Center\" */ aspxEmbed_help_title = 'aspxEmbed.help.title',\n /** \"Post Truck\" */ truckPost_TruckPost = 'truckPost.TruckPost',\n /** \"Truck Posting is available on our mobile app\" */ truckPost_Announcement_Title = 'truckPost.Announcement.Title',\n /** \"To post your truck, open the 123Loadboard app and click on Post.\" */ truckPost_Announcement_Item1 = 'truckPost.Announcement.Item1',\n /** \"You can set up a real-time truck post as well as schedule trucks for future dates and locations.\" */ truckPost_Announcement_Item2 = 'truckPost.Announcement.Item2',\n /** \"Brokers will send you load alerts directly to your phone.\" */ truckPost_Announcement_Item3 = 'truckPost.Announcement.Item3',\n /** \"Download our mobile app to post your truck.\" */ truckPost_Announcement_Item4 = 'truckPost.Announcement.Item4',\n /** \"Find Trucks Matching Your Loads\" */ truckLocator_tutorial_load_step1_title = 'truckLocator.tutorial.load.step1.title',\n /** \"Find truck capacity matching your load by sending alerts directly to carriers’ mobile devices.\" */ truckLocator_tutorial_load_step1_content1 = 'truckLocator.tutorial.load.step1.content1',\n /** \"You can access this overview tour at any time by clicking this icon \" */ truckLocator_tutorial_load_step1_content2 = 'truckLocator.tutorial.load.step1.content2',\n /** \"Find Specific Loads\" */ truckLocator_tutorial_load_step2_title = 'truckLocator.tutorial.load.step2.title',\n /** \"You can filter your loads quickly to find exactly what you want.\" */ truckLocator_tutorial_load_step2_content = 'truckLocator.tutorial.load.step2.content',\n /** \"Locate Carriers\" */ truckLocator_tutorial_load_step3_title = 'truckLocator.tutorial.load.step3.title',\n /** \"Find truck capacity matching your load by sending alerts directly to carriers’ mobile devices.\" */ truckLocator_tutorial_load_step3_content = 'truckLocator.tutorial.load.step3.content',\n /** \"Customize Your Search\" */ truckLocator_tutorial_truck_step1_title = 'truckLocator.tutorial.truck.step1.title',\n /** \"Refine your search with available filters to locate carriers that meet your needs.\" */ truckLocator_tutorial_truck_step1_content = 'truckLocator.tutorial.truck.step1.content',\n /** \"Viewing Options\" */ truckLocator_tutorial_truck_step2_title = 'truckLocator.tutorial.truck.step2.title',\n /** \"You’re currently on the {{viewName}} view. Change your view by toggling between Map and List to easily manage and contact carriers.\" */ truckLocator_tutorial_truck_step2_content = 'truckLocator.tutorial.truck.step2.content',\n /** \"Send Instant Notifications\" */ truckLocator_tutorial_truck_step3_title = 'truckLocator.tutorial.truck.step3.title',\n /** \"Alert selected carriers of your load by sending a private notification to their mobile device.\" */ truckLocator_tutorial_truck_step3_content = 'truckLocator.tutorial.truck.step3.content',\n /** \"Match Your Next Load\" */ truckLocator_tutorial_truck_step4_title = 'truckLocator.tutorial.truck.step4.title',\n /** \"Return to your load list and continue matching your loads with available carriers.\" */ truckLocator_tutorial_truck_step4_content = 'truckLocator.tutorial.truck.step4.content',\n /** \"Start Truck Locator Tour\" */ truckLocator_tutorial_tooltip_title = 'truckLocator.tutorial.tooltip_title',\n /** \"Post Loads\" */ truckLocator_Post_Loads = 'truckLocator.Post_Loads',\n /** \"Truck Locator\" */ truckLocator_Truck_Locator = 'truckLocator.Truck_Locator',\n /** \"Alert Carriers\" */ truckLocator_Alert_Carriers = 'truckLocator.Alert_Carriers',\n /** \"Manage hidden\" */ truckLocator_Manage_hidden = 'truckLocator.Manage_hidden',\n /** \"Add to favorites\" */ truckLocator_AddToFavorites = 'truckLocator.AddToFavorites',\n /** \"Remove from favorites\" */ truckLocator_RemoveFromFavorites = 'truckLocator.RemoveFromFavorites',\n /** \"Favorite\" */ truckLocator_Favorite = 'truckLocator.Favorite',\n /** \"Tag as onboarded\" */ truckLocator_TagAsOnboarded = 'truckLocator.TagAsOnboarded',\n /** \"Remove onboarded tag\" */ truckLocator_RemoveOnboardedTag = 'truckLocator.RemoveOnboardedTag',\n /** \"Onboarded\" */ truckLocator_Onboarded = 'truckLocator.Onboarded',\n /** \"Request tracking\" */ truckLocator_Request_Tracking = 'truckLocator.Request_Tracking',\n /** \"You don’t have any loads posted\" */ truckLocator_No_Load_Title = 'truckLocator.No_Load_Title',\n /** \"Start posting loads to find trucks\" */ truckLocator_No_Load_Message = 'truckLocator.No_Load_Message',\n /** \"Post of Edit loads in\" */ truckLocator_PostEdit = 'truckLocator.PostEdit',\n /** \"Manage Loads\" */ truckLocator_ManageLoads = 'truckLocator.ManageLoads',\n /** \"Find Trucks\" */ truckLocator_Find_Trucks = 'truckLocator.Find_Trucks',\n /** \"section\" */ truckLocator_Section = 'truckLocator.Section',\n /** \"Filter by pickup or destination\" */ truckLocator_SearchLabel = 'truckLocator.SearchLabel',\n /** \"Search by company name\" */ truckLocator_SearchLabelCompanyName = 'truckLocator.SearchLabelCompanyName',\n /** \"Hide\" */ truckLocator_Hide = 'truckLocator.Hide',\n /** \"Refresh\" */ truckLocator_Refresh = 'truckLocator.Refresh',\n /** \"Loads could not be loaded.\" */ truckLocator_Loads_Fail = 'truckLocator.Loads_Fail',\n /** \"Load no longer available\" */ truckLocator_Load_No_Longer_Available = 'truckLocator.Load_No_Longer_Available',\n /** \"Load has expired or was removed from the system\" */ truckLocator_Load_No_Longer_Available_Explain = 'truckLocator.Load_No_Longer_Available_Explain',\n /** \"Map\" */ truckLocator_Map_Icon_Label = 'truckLocator.Map_Icon_Label',\n /** \"List\" */ truckLocator_List_Icon_Label = 'truckLocator.List_Icon_Label',\n /** \"Back to Load\" */ truckLocator_Back_To_Load = 'truckLocator.Back_To_Load',\n /** \"Back to Loads\" */ truckLocator_Back_To_Loads = 'truckLocator.Back_To_Loads',\n /** \"\\t(Verified)\" */ truckLocator_verified = 'truckLocator.verified',\n /** \"\\t(Not Verified)\" */ truckLocator_notVerified = 'truckLocator.notVerified',\n /** \"Select Load\" */ truckLocator_stepper_Select_Load = 'truckLocator.stepper.Select_Load',\n /** \"Locate Truck\" */ truckLocator_stepper_Locate_Truck = 'truckLocator.stepper.Locate_Truck',\n /** \"Send Alert\" */ truckLocator_stepper_Send_Alert = 'truckLocator.stepper.Send_Alert',\n /** \"Common\" */ truckLocator_fmcsaAuthority_type_common = 'truckLocator.fmcsaAuthority.type.common',\n /** \"Contract\" */ truckLocator_fmcsaAuthority_type_contract = 'truckLocator.fmcsaAuthority.type.contract',\n /** \"Broker\" */ truckLocator_fmcsaAuthority_type_broker = 'truckLocator.fmcsaAuthority.type.broker',\n /** \"Active\" */ truckLocator_fmcsaAuthority_status_active = 'truckLocator.fmcsaAuthority.status.active',\n /** \"Inactive\" */ truckLocator_fmcsaAuthority_status_inactive = 'truckLocator.fmcsaAuthority.status.inactive',\n /** \"Filters\" */ truckLocator_filter_Title = 'truckLocator.filter.Title',\n /** \"Radius\" */ truckLocator_filter_Radius = 'truckLocator.filter.Radius',\n /** \"Favorite\" */ truckLocator_filter_Favorite = 'truckLocator.filter.Favorite',\n /** \"Onboarded\" */ truckLocator_filter_Onboarded = 'truckLocator.filter.Onboarded',\n /** \"GPS Verified\" */ truckLocator_filter_GPS_Verified = 'truckLocator.filter.GPS_Verified',\n /** \"Active authority (MC#)\" */ truckLocator_filter_ActiveAuthority = 'truckLocator.filter.ActiveAuthority',\n /** \"applied\" */ truckLocator_filter_Applied = 'truckLocator.filter.Applied',\n /** \"Your company sent {{messagesCount}} messages to this carrier recently.\" */ truckLocator_truckTable_sentMessages = 'truckLocator.truckTable.sentMessages',\n /** \"exact matches\" */ truckLocator_truckTable_Exact_Matches = 'truckLocator.truckTable.Exact_Matches',\n /** \"exact matches - anonymous\" */ truckLocator_truckTable_Anonymous_Matches = 'truckLocator.truckTable.Anonymous_Matches',\n /** \"Filtered out matches\" */ truckLocator_truckTable_Filtered_Out_Matches = 'truckLocator.truckTable.Filtered_Out_Matches',\n /** \"non matches\" */ truckLocator_truckTable_Non_Matches = 'truckLocator.truckTable.Non_Matches',\n /** \"Alert this carrier\" */ truckLocator_truckTable_Alert_This_Carrier = 'truckLocator.truckTable.Alert_This_Carrier',\n /** \"No results found, please refine your search to allow the results to display.\" */ truckLocator_truckTable_No_Results = 'truckLocator.truckTable.No_Results',\n /** \"Carrier Details\" */ truckLocator_truckTable_carrierDetails_Title = 'truckLocator.truckTable.carrierDetails.Title',\n /** \"Authority\" */ truckLocator_truckTable_carrierDetails_Authority = 'truckLocator.truckTable.carrierDetails.Authority',\n /** \"Authority Numbers\" */ truckLocator_truckTable_carrierDetails_AuthorityNumbers = 'truckLocator.truckTable.carrierDetails.AuthorityNumbers',\n /** \"Cargo Authorization\" */ truckLocator_truckTable_carrierDetails_CargoAuth = 'truckLocator.truckTable.carrierDetails.CargoAuth',\n /** \"Property\" */ truckLocator_truckTable_carrierDetails_Property = 'truckLocator.truckTable.carrierDetails.Property',\n /** \"Passengers\" */ truckLocator_truckTable_carrierDetails_Passengers = 'truckLocator.truckTable.carrierDetails.Passengers',\n /** \"Household goods\" */ truckLocator_truckTable_carrierDetails_HouseholdGoods = 'truckLocator.truckTable.carrierDetails.HouseholdGoods',\n /** \"Private\" */ truckLocator_truckTable_carrierDetails_Private = 'truckLocator.truckTable.carrierDetails.Private',\n /** \"Enterprise\" */ truckLocator_truckTable_carrierDetails_Enterprise = 'truckLocator.truckTable.carrierDetails.Enterprise',\n /** \"App. pending\" */ truckLocator_truckTable_carrierDetails_AppPending = 'truckLocator.truckTable.carrierDetails.AppPending',\n /** \"Revocation pending\" */ truckLocator_truckTable_carrierDetails_RevocationPending = 'truckLocator.truckTable.carrierDetails.RevocationPending',\n /** \"Insurance\" */ truckLocator_truckTable_carrierDetails_Insurance = 'truckLocator.truckTable.carrierDetails.Insurance',\n /** \"BIPD Insurance\" */ truckLocator_truckTable_carrierDetails_BIPDInsurance = 'truckLocator.truckTable.carrierDetails.BIPDInsurance',\n /** \"HHG Cargo Insurance\" */ truckLocator_truckTable_carrierDetails_HHGCargoInsurance = 'truckLocator.truckTable.carrierDetails.HHGCargoInsurance',\n /** \"Bond Insurance\" */ truckLocator_truckTable_carrierDetails_BondInsurance = 'truckLocator.truckTable.carrierDetails.BondInsurance',\n /** \"Required\" */ truckLocator_truckTable_carrierDetails_Required = 'truckLocator.truckTable.carrierDetails.Required',\n /** \"Filed\" */ truckLocator_truckTable_carrierDetails_Filed = 'truckLocator.truckTable.carrierDetails.Filed',\n /** \"BIPD/Primary\" */ truckLocator_truckTable_carrierDetails_BIPDPrimary = 'truckLocator.truckTable.carrierDetails.BIPDPrimary',\n /** \"Underwriter\" */ truckLocator_truckTable_carrierDetails_Underwriter = 'truckLocator.truckTable.carrierDetails.Underwriter',\n /** \"Type\" */ truckLocator_truckTable_carrierDetails_Type = 'truckLocator.truckTable.carrierDetails.Type',\n /** \"Policy number\" */ truckLocator_truckTable_carrierDetails_PolicyNum = 'truckLocator.truckTable.carrierDetails.PolicyNum',\n /** \"Effective date\" */ truckLocator_truckTable_carrierDetails_EffectiveDate = 'truckLocator.truckTable.carrierDetails.EffectiveDate',\n /** \"BIPD Class\" */ truckLocator_truckTable_carrierDetails_BIPDClass = 'truckLocator.truckTable.carrierDetails.BIPDClass',\n /** \"Alert sent {{time}}\" */ truckLocator_truckTable_carrierDetails_AlertSent = 'truckLocator.truckTable.carrierDetails.AlertSent',\n /** \"Phone verification is done at the users request by confirming that they have access to the phone number provided.\" */ truckLocator_truckTable_carrierDetails_phoneVerificationPopupText = 'truckLocator.truckTable.carrierDetails.phoneVerificationPopupText',\n /** \"DOT# verification is done by confirming that the user has access to the company phone number listed with the FMCSA.\" */ truckLocator_truckTable_carrierDetails_dotVerificationPopupText = 'truckLocator.truckTable.carrierDetails.dotVerificationPopupText',\n /** \"Your load will be sent to {{count}} carrier\" */ truckLocator_alertDialog_Description = 'truckLocator.alertDialog.Description',\n /** \"Your load will be sent to {{count}} carriers\" */ truckLocator_alertDialog_Description_plural = 'truckLocator.alertDialog.Description_plural',\n /** \"Pay rate\" */ truckLocator_alertDialog_Payrate = 'truckLocator.alertDialog.Payrate',\n /** \"Unit\" */ truckLocator_alertDialog_Unit = 'truckLocator.alertDialog.Unit',\n /** \"Message to carrier\" */ truckLocator_alertDialog_Message_To_Carrier = 'truckLocator.alertDialog.Message_To_Carrier',\n /** \"Send\" */ truckLocator_alertDialog_Send = 'truckLocator.alertDialog.Send',\n /** \"Cancel\" */ truckLocator_alertDialog_Cancel = 'truckLocator.alertDialog.Cancel',\n /** \"Clear\" */ truckLocator_alertDialog_Clear = 'truckLocator.alertDialog.Clear',\n /** \"Entire Trip\" */ truckLocator_alertDialog_EntireTrip = 'truckLocator.alertDialog.EntireTrip',\n /** \"Per Mile\" */ truckLocator_alertDialog_PerMile = 'truckLocator.alertDialog.PerMile',\n /** \"is required\" */ truckLocator_alertDialog_Is_Required = 'truckLocator.alertDialog.Is_Required',\n /** \"Something went wrong. Please try again later or contact\" */ truckLocator_alertDialog_Send_Error = 'truckLocator.alertDialog.Send_Error',\n /** \"Your load info has been successfully sent to {{count}} carrier.\" */ truckLocator_alertDialog_Send_Success = 'truckLocator.alertDialog.Send_Success',\n /** \"Your load info has been successfully sent to {{count}} carriers.\" */ truckLocator_alertDialog_Send_Success_plural = 'truckLocator.alertDialog.Send_Success_plural',\n /** \"Hide Companies\" */ truckLocator_hideDialog_Title = 'truckLocator.hideDialog.Title',\n /** \"This will hide all trucks from the selected companies.\" */ truckLocator_hideDialog_Message = 'truckLocator.hideDialog.Message',\n /** \"My Loads\" */ truckLocator_loadTable_My_Loads = 'truckLocator.loadTable.My_Loads',\n /** \"just now\" */ truckLocator_loadTable_Just_Now = 'truckLocator.loadTable.Just_Now',\n /** \"Map\" */ truckLocator_map_Map = 'truckLocator.map.Map',\n /** \"Exact Matches\" */ truckLocator_map_legend_Exact_Matches = 'truckLocator.map.legend.Exact_Matches',\n /** \"Anonymous Matches\" */ truckLocator_map_legend_Anonymous_Matches = 'truckLocator.map.legend.Anonymous_Matches',\n /** \"Unselected Matches\" */ truckLocator_map_legend_Unselected_Matches = 'truckLocator.map.legend.Unselected_Matches',\n /** \"Filtered out Matches\" */ truckLocator_map_legend_Filtered_Out_Matches = 'truckLocator.map.legend.Filtered_Out_Matches',\n /** \"Non Matches\" */ truckLocator_map_legend_Non_Matches = 'truckLocator.map.legend.Non_Matches',\n /** \"show\" */ truckLocator_map_legend_show = 'truckLocator.map.legend.show',\n /** \"hide\" */ truckLocator_map_legend_hide = 'truckLocator.map.legend.hide',\n /** \"No route found between origin and destination\" */ truckLocator_map_path_not_found = 'truckLocator.map.path_not_found',\n /** \"Couldn't retrieve trucks\" */ truckLocator_error_title = 'truckLocator.error.title',\n /** \"Oops, there was an issue loading trucks for your load.\" */ truckLocator_error_message = 'truckLocator.error.message',\n /** \"Back to loads\" */ truckLocator_error_button = 'truckLocator.error.button',\n /** \"There were no trucks found matching your load. Please adjust your load post or try again later.\" */ truckLocator_error_noExactMatches = 'truckLocator.error.noExactMatches',\n /** \"Posting Aid Software\" */ postingAid_Posting_Aid = 'postingAid.Posting_Aid',\n /** \"Instructions\" */ postingAid_Instructions = 'postingAid.Instructions',\n /** \"Posting Aid is a free program that assists you in uploading and automatically posting your loads to 123Loadboard. Posting Aid captures and posts continuous changes made throughout the day. Need assistance?\" */ postingAid_Description = 'postingAid.Description',\n /** \"ext. 2\" */ postingAid_Extension = 'postingAid.Extension',\n /** \"Posting Aid\" */ postingAid_Download_Button = 'postingAid.Download_Button',\n /** \"Watch Video.\" */ postingAid_WatchVideo = 'postingAid.WatchVideo',\n /** \"Getting started\" */ postingAid_step1_Title = 'postingAid.step1.Title',\n /** \"Download and install the software.\" */ postingAid_step1_Content = 'postingAid.step1.Content',\n /** \"Easy setup\" */ postingAid_step2_Title = 'postingAid.step2.Title',\n /** \"Open the Posting Aid software\" */ postingAid_step2_Step1 = 'postingAid.step2.Step1',\n /** \"Configure sections as follows:\" */ postingAid_step2_step2_Content = 'postingAid.step2.step2.Content',\n /** \"Select file or folder to monitor\" */ postingAid_step2_step2_StepA = 'postingAid.step2.step2.StepA',\n /** \"Select file type or keep as 'any'\" */ postingAid_step2_step2_StepB = 'postingAid.step2.step2.StepB',\n /** \"Enter your 123Loadboard login details\" */ postingAid_step2_step2_StepC = 'postingAid.step2.step2.StepC',\n /** \"Enter your FTP username and password provided by 123Loadboard\" */ postingAid_step2_step2_StepD = 'postingAid.step2.step2.StepD',\n /** \"Start the Posting Aid on the first section.\" */ postingAid_step2_Step3 = 'postingAid.step2.Step3',\n /** \"You're Done!\" */ postingAid_step3_Title = 'postingAid.step3.Title',\n /** \"Posting Aid is now set up to monitor the file or folder you specified and will continuously upload and post changes made throughout the day.\" */ postingAid_step3_Content = 'postingAid.step3.Content',\n /** \"NOTE: The file is uploaded within 15 seconds.\" */ postingAid_step3_Note = 'postingAid.step3.Note',\n /** \"Fuel Prices\" */ fuelPrices_Title = 'fuelPrices.Title',\n /** \"Stay up to date with fuel prices and energy trends.\" */ fuelPrices_Description = 'fuelPrices.Description',\n /** \"Weekly On-Highway Diesel Prices\" */ fuelPrices_Box1Title = 'fuelPrices.Box1Title',\n /** \"VIEW FUEL PRICES\" */ fuelPrices_BOX1Button = 'fuelPrices.BOX1Button',\n /** \"Energy updates provided by\" */ fuelPrices_Box2Title = 'fuelPrices.Box2Title',\n /** \"The U.S. Energy Information Administration (EIA) is a principal agency of the U.S. Federal Statistical System responsible for collecting, analyzing, and disseminating energy information to promote sound policymaking, efficient markets, and public understanding of energy and its interaction with the economy and the environment.\" */ fuelPrices_Box2Description = 'fuelPrices.Box2Description',\n /** \"FMCSA Search\" */ fmcsaSearch_FMCSA_Search = 'fmcsaSearch.FMCSA_Search',\n /** \"Review and monitor current operating authority, insurance status and safety ratings.\" */ fmcsaSearch_Description = 'fmcsaSearch.Description',\n /** \"Licensing and Insurance\" */ fmcsaSearch_LicensingInsurance = 'fmcsaSearch.LicensingInsurance',\n /** \"Safety and Fitness Electronic Records (SAFER) System\" */ fmcsaSearch_SAFER = 'fmcsaSearch.SAFER',\n /** \"Search FMCSA\" */ fmcsaSearch_SearchFmcsa = 'fmcsaSearch.SearchFmcsa',\n /** \"Search SAFER\" */ fmcsaSearch_SearchSAFER = 'fmcsaSearch.SearchSAFER',\n /** \"United States Department of Transportation\" */ fmcsaSearch_USDOT_Title = 'fmcsaSearch.USDOT_Title',\n /** \"The United States Department of Transportation (USDOT or DOT) is a federal Cabinet department of the U.S. government concerned with transportation.\" */ fmcsaSearch_USDOT_Description = 'fmcsaSearch.USDOT_Description',\n /** \"Get paid for your load instantly!\" */ getPaidFaster_title = 'getPaidFaster.title',\n /** \"Start factoring loads today and get paid much faster by keeping your trucks rolling. Free fuel cards will reduce overall expenses plus fuel advances will allow you to buy fuel and deliver your freight on time.\" */ getPaidFaster_description = 'getPaidFaster.description',\n /** \"Exclusive Factoring Partner\" */ getPaidFaster_sidePanel_title = 'getPaidFaster.sidePanel.title',\n /** \"Thunder Funding offers the most complete range of funding services for freight companies. From Owner Operators to Fleet Owners, they've got you covered.\" */ getPaidFaster_sidePanel_description = 'getPaidFaster.sidePanel.description',\n /** \"123Loadboard has secured an exclusive partnership with Thunder Funding to provide you with immediate access to cash through the most innovative factoring program in the trucking industry. With Fuel Advances available 7 days a week, Thunder Funding always keeps you rolling.\" */ getPaidFaster_form_description = 'getPaidFaster.form.description',\n /** \"KEY BENEFITS\" */ getPaidFaster_form_listTitle = 'getPaidFaster.form.listTitle',\n /** \"Invoice Factoring\" */ getPaidFaster_form_listItems_i1 = 'getPaidFaster.form.listItems.i1',\n /** \"Working Capital Loans\" */ getPaidFaster_form_listItems_i2 = 'getPaidFaster.form.listItems.i2',\n /** \"Free Fuel Cards\" */ getPaidFaster_form_listItems_i3 = 'getPaidFaster.form.listItems.i3',\n /** \"Fuel Lines of Credit\" */ getPaidFaster_form_listItems_i4 = 'getPaidFaster.form.listItems.i4',\n /** \"Fuel Advances 7 days a week\" */ getPaidFaster_form_listItems_i5 = 'getPaidFaster.form.listItems.i5',\n /** \"Rush and Same Day Funding\" */ getPaidFaster_form_listItems_i6 = 'getPaidFaster.form.listItems.i6',\n /** \"Free Credit Checking Service\" */ getPaidFaster_form_listItems_i7 = 'getPaidFaster.form.listItems.i7',\n /** \"Free Online Account Management\" */ getPaidFaster_form_listItems_i8 = 'getPaidFaster.form.listItems.i8',\n /** \"Complete the form to get paid faster\" */ getPaidFaster_form_inputsTitle = 'getPaidFaster.form.inputsTitle',\n /** \"Get Started\" */ getPaidFaster_form_button = 'getPaidFaster.form.button',\n /** \"By clicking get started, a representative from Thunder Funding will be contacting you.\" */ getPaidFaster_form_contactText = 'getPaidFaster.form.contactText',\n /** \"Thank you! We've received your request.\" */ getPaidFaster_done_title = 'getPaidFaster.done.title',\n /** \"An expert from Thunder Funding will contact you soon.\" */ getPaidFaster_done_description = 'getPaidFaster.done.description',\n /** \"You previously submitted a request to get started with factoring.\" */ getPaidFaster_already_text1 = 'getPaidFaster.already.text1',\n /** \"If you haven't been contacted yet, \" */ getPaidFaster_already_text2a = 'getPaidFaster.already.text2a',\n /** \"resubmit here\" */ getPaidFaster_already_text2b = 'getPaidFaster.already.text2b',\n /** \" or call Thunder Funding.\" */ getPaidFaster_already_text2c = 'getPaidFaster.already.text2c',\n /** \"CALL 877-873-8357\" */ getPaidFaster_already_callButton = 'getPaidFaster.already.callButton',\n /** \"Trucking Authority\" */ truckingAuthority_Trucking_Authority = 'truckingAuthority.Trucking_Authority',\n /** \"Get help with your trucking authority\" */ truckingAuthority_title = 'truckingAuthority.title',\n /** \"Trucking starts with authority. Make sure that you have the proper documentation to keep your truck moving.\" */ truckingAuthority_description = 'truckingAuthority.description',\n /** \"Exclusive Trucking Authority Partner\" */ truckingAuthority_sidePanel_title = 'truckingAuthority.sidePanel.title',\n /** \"Evilsizor & Associates is a full-service authority company with over 30 years of experience specializing in all things paperwork when dealing with the FMCSA and USDOT.\" */ truckingAuthority_sidePanel_description = 'truckingAuthority.sidePanel.description',\n /** \"Looking to file your own authority, request name changes, file BOCs and more... our trucking authority partner can help.\" */ truckingAuthority_form_description = 'truckingAuthority.form.description',\n /** \"Complete the form to speak to an authority expert\" */ truckingAuthority_form_inputsTitle = 'truckingAuthority.form.inputsTitle',\n /** \"SUBMIT\" */ truckingAuthority_form_button = 'truckingAuthority.form.button',\n /** \"By clicking SUBMIT, a representative from Evilsizor & Associates will be contacting you.\" */ truckingAuthority_form_contactText = 'truckingAuthority.form.contactText',\n /** \"Thank you! We've received your request.\" */ truckingAuthority_done_title = 'truckingAuthority.done.title',\n /** \"An expert from Evilsizor & Associates will contact you soon.\" */ truckingAuthority_done_description = 'truckingAuthority.done.description',\n /** \"Reliable document management to get you on the road\" */ truckingAuthority_already_title = 'truckingAuthority.already.title',\n /** \"You previously submitted a request for a free consultation.\" */ truckingAuthority_already_text1 = 'truckingAuthority.already.text1',\n /** \"If you haven't been contacted yet, \" */ truckingAuthority_already_text2a = 'truckingAuthority.already.text2a',\n /** \"resubmit here\" */ truckingAuthority_already_text2b = 'truckingAuthority.already.text2b',\n /** \" or call Evilsizor & Associates.\" */ truckingAuthority_already_text2c = 'truckingAuthority.already.text2c',\n /** \"CALL 303-482-2965\" */ truckingAuthority_already_callButton = 'truckingAuthority.already.callButton',\n /** \"Introducing the 123Loadboard Fuel Card\" */ fuelCard_title = 'fuelCard.title',\n /** \"Fuel accounts for nearly 40% of your operating expenses. Using a fuel card for your trucking business is a great way to reduce overall expenses and allows you to purchase fuel at the cash price or even at a discounted price rather than using a credit card and over paying at the pump for credit pricing.\" */ fuelCard_description = 'fuelCard.description',\n /** \"Exclusive Fuel Card\" */ fuelCard_sidePanel_title = 'fuelCard.sidePanel.title',\n /** \"Powered by Thunder Funding and EFS.\" */ fuelCard_sidePanel_description = 'fuelCard.sidePanel.description',\n /** \"No sign-up fees, monthly charges, or annual fees.\" */ fuelCard_form_description = 'fuelCard.form.description',\n /** \"KEY BENEFITS\" */ fuelCard_form_listTitle = 'fuelCard.form.listTitle',\n /** \"Free to enroll, no set-up or monthly fees\" */ fuelCard_form_listItems_i1 = 'fuelCard.form.listItems.i1',\n /** \"Huge discounts of up to 60 cents per gallon\" */ fuelCard_form_listItems_i2 = 'fuelCard.form.listItems.i2',\n /** \"Fuel lines of credit\" */ fuelCard_form_listItems_i3 = 'fuelCard.form.listItems.i3',\n /** \"IFTA tax reporting\" */ fuelCard_form_listItems_i4 = 'fuelCard.form.listItems.i4',\n /** \"Accepted at over 14,000 locations nationwide\" */ fuelCard_form_listItems_i5 = 'fuelCard.form.listItems.i5',\n /** \"Complete the form to get your fuel card\" */ fuelCard_form_inputsTitle = 'fuelCard.form.inputsTitle',\n /** \"GET FUEL CARD\" */ fuelCard_form_button = 'fuelCard.form.button',\n /** \"By clicking Get Fuel Card, a representative from Thunder Funding will be contacting you.\" */ fuelCard_form_contactText = 'fuelCard.form.contactText',\n /** \"Thank you! We've received your request.\" */ fuelCard_done_title = 'fuelCard.done.title',\n /** \"An expert from Thunder Funding will contact you soon.\" */ fuelCard_done_description = 'fuelCard.done.description',\n /** \"You previously submitted a request to get a fuel card.\" */ fuelCard_already_text1 = 'fuelCard.already.text1',\n /** \"If you haven't been contacted yet, \" */ fuelCard_already_text2a = 'fuelCard.already.text2a',\n /** \"resubmit here\" */ fuelCard_already_text2b = 'fuelCard.already.text2b',\n /** \" or call Thunder Funding.\" */ fuelCard_already_text2c = 'fuelCard.already.text2c',\n /** \"CALL 877-873-8357\" */ fuelCard_already_callButton = 'fuelCard.already.callButton',\n /** \"Backhauls\" */ backhauls_Backhauls = 'backhauls.Backhauls',\n /** \"{{value}} possible loads\" */ backhauls_possibleLoads = 'backhauls.possibleLoads',\n /** \"1 possible load\" */ backhauls_possibleLoad = 'backhauls.possibleLoad',\n /** \"Rate history\" */ rateCheck_history = 'rateCheck.history',\n /** \"Rate Check\" */ rateCheck_Rate_Check = 'rateCheck.Rate_Check',\n /** \"{{value}}/mi average rate\" */ rateCheck_Average_Rate = 'rateCheck.Average_Rate',\n /** \"Estimate the average load rate per mile and your load revenue. Instantly get mileage, routing and toll costs (addon required).\" */ rateCheck_Description = 'rateCheck.Description',\n /** \"ABOUT RATE CHECK\" */ rateCheck_About_Title = 'rateCheck.About_Title',\n /** \"Please select a city from the drop-down list\" */ rateCheck_Error_Message = 'rateCheck.Error_Message',\n /** \"Rate data is collected from hundreds of small to medium sized carriers. Rates are in USD and are updated daily for most lanes in the Continental US.\" */ rateCheck_About = 'rateCheck.About',\n /** \"Rate Check data is not available for the search criteria entered. Where rate data is limited, such as in Canada, our system may produce higher/lower rates. We are continuously working on improving our algorithms so that rate data is more accurate.\" */ rateCheck_No_Rate_Check = 'rateCheck.No_Rate_Check',\n /** \"This is not the actual rate but rather the average rate per mile provided by Rate Check. The fuel surcharge may or may not be included in the revenue.\" */ rateCheck_Note = 'rateCheck.Note',\n /** \"Enter Route\" */ rateCheck_routeBox_Title = 'rateCheck.routeBox.Title',\n /** \"Origin - City or Zip\" */ rateCheck_routeBox_Origin = 'rateCheck.routeBox.Origin',\n /** \"Destination - City or Zip\" */ rateCheck_routeBox_Destination = 'rateCheck.routeBox.Destination',\n /** \"Van\" */ rateCheck_routeBox_Van = 'rateCheck.routeBox.Van',\n /** \"Reefer\" */ rateCheck_routeBox_Reefer = 'rateCheck.routeBox.Reefer',\n /** \"Flatbed\" */ rateCheck_routeBox_Flatbed = 'rateCheck.routeBox.Flatbed',\n /** \"get rate\" */ rateCheck_routeBox_Button = 'rateCheck.routeBox.Button',\n /** \"Get rate\" */ rateCheck_routeBox_GetRate = 'rateCheck.routeBox.GetRate',\n /** \"Route:\" */ rateCheck_revenueBox_Route = 'rateCheck.revenueBox.Route',\n /** \"Distance\" */ rateCheck_revenueBox_Distance = 'rateCheck.revenueBox.Distance',\n /** \"Avg. rate (USD) / mile\" */ rateCheck_revenueBox_Rate_Per_Mile = 'rateCheck.revenueBox.Rate_Per_Mile',\n /** \"Fuel Surcharge\" */ rateCheck_revenueBox_Fuel_Surcharge = 'rateCheck.revenueBox.Fuel_Surcharge',\n /** \"Linehaul Revenue\" */ rateCheck_revenueBox_Linehaul_Revenue = 'rateCheck.revenueBox.Linehaul_Revenue',\n /** \"Toll Costs\" */ rateCheck_revenueBox_Toll_Costs = 'rateCheck.revenueBox.Toll_Costs',\n /** \"Estimated Fuel Costs\" */ rateCheck_revenueBox_Fuel_Costs = 'rateCheck.revenueBox.Fuel_Costs',\n /** \"Additional Costs\" */ rateCheck_revenueBox_Additional_Costs = 'rateCheck.revenueBox.Additional_Costs',\n /** \"Est. Fuel Costs\" */ rateCheck_revenueBox_Fuel_Costs_Short = 'rateCheck.revenueBox.Fuel_Costs_Short',\n /** \"Estimated Revenue\" */ rateCheck_revenueBox_Estimated_Revenue = 'rateCheck.revenueBox.Estimated_Revenue',\n /** \"Est. Revenue\" */ rateCheck_revenueBox_Estimated_Revenue_Short = 'rateCheck.revenueBox.Estimated_Revenue_Short',\n /** \"Included\" */ rateCheck_revenueBox_Included = 'rateCheck.revenueBox.Included',\n /** \"Low\" */ rateCheck_revenueBox_Low = 'rateCheck.revenueBox.Low',\n /** \"Average\" */ rateCheck_revenueBox_Average = 'rateCheck.revenueBox.Average',\n /** \"High\" */ rateCheck_revenueBox_High = 'rateCheck.revenueBox.High',\n /** \"View loads\" */ rateCheck_revenueBox_View_Loads = 'rateCheck.revenueBox.View_Loads',\n /** \"Loads per \" */ marketRates_loadToTruckRatioTitle = 'marketRates.loadToTruckRatioTitle',\n /** \"Market rates\" */ marketRates_searchForm_marketRates = 'marketRates.searchForm.marketRates',\n /** \"Select a lane and equipment type to see the market rate.\" */ marketRates_searchForm_title = 'marketRates.searchForm.title',\n /** \"Get rate\" */ marketRates_searchForm_getRate = 'marketRates.searchForm.getRate',\n /** \"Market rate data can help you price your freight by providing you with historical rate data for specified lanes and equipment types.\" */ marketRates_searchForm_notFoundForBroker = 'marketRates.searchForm.notFoundForBroker',\n /** \"The Market Rates tool can help you find rate data and determine profitability for specific lanes based on your equipment type.\" */ marketRates_searchForm_notFoundForCarrier = 'marketRates.searchForm.notFoundForCarrier',\n /** \"Origin - city or zip\" */ marketRates_searchForm_originLabel = 'marketRates.searchForm.originLabel',\n /** \"Destination - city or zip\" */ marketRates_searchForm_destinationLabel = 'marketRates.searchForm.destinationLabel',\n /** \"City\" */ marketRates_widgets_city = 'marketRates.widgets.city',\n /** \"County\" */ marketRates_widgets_county = 'marketRates.widgets.county',\n /** \"State\" */ marketRates_widgets_state = 'marketRates.widgets.state',\n /** \"days\" */ marketRates_widgets_days = 'marketRates.widgets.days',\n /** \"month\" */ marketRates_widgets_month = 'marketRates.widgets.month',\n /** \"months\" */ marketRates_widgets_months = 'marketRates.widgets.months',\n /** \"year\" */ marketRates_widgets_year = 'marketRates.widgets.year',\n /** \"Past\" */ marketRates_widgets_past = 'marketRates.widgets.past',\n /** \"Select data range\" */ marketRates_widgets_selectDataRange = 'marketRates.widgets.selectDataRange',\n /** \"Average rate check for past\" */ marketRates_widgets_averageRateAnalysis = 'marketRates.widgets.averageRateAnalysis',\n /** \"Powered by Expedite All\" */ marketRates_widgets_expediteAll_poweredBy = 'marketRates.widgets.expediteAll.poweredBy',\n /** \"Broker-to-Carrier rate for \" */ marketRates_widgets_expediteAll_brokerToCarrierLTLRate = 'marketRates.widgets.expediteAll.brokerToCarrierLTLRate',\n /** \"Expedite All\" */ marketRates_widgets_expediteAll_title = 'marketRates.widgets.expediteAll.title',\n /** \"{{rate}}/mi estimated rate\" */ marketRates_widgets_expediteAll_estimatedRate = 'marketRates.widgets.expediteAll.estimatedRate',\n /** \"{{rate}}/mi est. rate by Expedite All\" */ marketRates_widgets_expediteAll_estRateByExpedite = 'marketRates.widgets.expediteAll.estRateByExpedite',\n /** \"Expedite All provides market rate data, offering accurate rate benchmarks derived from real-time industry data to help you compare lane rates and optimize your pricing strategy.\" */ marketRates_widgets_expediteAll_info = 'marketRates.widgets.expediteAll.info',\n /** \"Broker-to-Carrier rate for past\" */ marketRates_widgets_brokerToCarrierRates_title = 'marketRates.widgets.brokerToCarrierRates.title',\n /** \"Total trip: {{miles}} mi\" */ marketRates_widgets_brokerToCarrierRates_totalTrip = 'marketRates.widgets.brokerToCarrierRates.totalTrip',\n /** \"Incl. trip fuel cost: {{fuelCost}}\" */ marketRates_widgets_brokerToCarrierRates_fuelCost = 'marketRates.widgets.brokerToCarrierRates.fuelCost',\n /** \"Carrier spot rate\" */ marketRates_widgets_brokerToCarrierRates_titleCarrier = 'marketRates.widgets.brokerToCarrierRates.titleCarrier',\n /** \"Recommended rate (incl. fuel)\" */ marketRates_widgets_brokerToCarrierRates_subtitle = 'marketRates.widgets.brokerToCarrierRates.subtitle',\n /** \"Capacity finder\" */ marketRates_widgets_capacityFinder_title = 'marketRates.widgets.capacityFinder.title',\n /** \"Contact posted trucks and carriers searching for loads on this lane.\" */ marketRates_widgets_capacityFinder_subtitle = 'marketRates.widgets.capacityFinder.subtitle',\n /** \"{{number}} Carrier(s)\" */ marketRates_widgets_capacityFinder_numberOfCarriers = 'marketRates.widgets.capacityFinder.numberOfCarriers',\n /** \"Est. fuel cost\" */ marketRates_widgets_fuelAndTollCosts_estFuelCost = 'marketRates.widgets.fuelAndTollCosts.estFuelCost',\n /** \"Toll costs\" */ marketRates_widgets_fuelAndTollCosts_tollCost = 'marketRates.widgets.fuelAndTollCosts.tollCost',\n /** \"Trip\" */ marketRates_widgets_fuelAndTollCosts_trip = 'marketRates.widgets.fuelAndTollCosts.trip',\n /** \"Driving time\" */ marketRates_widgets_fuelAndTollCosts_drivingTime = 'marketRates.widgets.fuelAndTollCosts.drivingTime',\n /** \"Estimated profit\" */ marketRates_widgets_fuelAndTollCosts_estimatedProfit = 'marketRates.widgets.fuelAndTollCosts.estimatedProfit',\n /** \"Margin calculator\" */ marketRates_widgets_marginCalculator_title = 'marketRates.widgets.marginCalculator.title',\n /** \"Rate ($)\" */ marketRates_widgets_marginCalculator_rate = 'marketRates.widgets.marginCalculator.rate',\n /** \"Margin %\" */ marketRates_widgets_marginCalculator_margin = 'marketRates.widgets.marginCalculator.margin',\n /** \"Target rate ($)\" */ marketRates_widgets_marginCalculator_targetRate = 'marketRates.widgets.marginCalculator.targetRate',\n /** \"Data range: \" */ marketRates_widgets_rateCheck_dataRange = 'marketRates.widgets.rateCheck.dataRange',\n /** \"Suggested rate\" */ marketRates_widgets_rateCheck_suggestedRate = 'marketRates.widgets.rateCheck.suggestedRate',\n /** \"Backhaul average rate\" */ marketRates_widgets_rateCheck_backhaulAverageRate = 'marketRates.widgets.rateCheck.backhaulAverageRate',\n /** \"Acceptance point\" */ marketRates_widgets_acceptancePoint_title = 'marketRates.widgets.acceptancePoint.title',\n /** \"Determine your negotiation range and find the rate acceptance point for this lane.\" */ marketRates_widgets_acceptancePoint_subtitle = 'marketRates.widgets.acceptancePoint.subtitle',\n /** \"Acceptance point calculator\" */ marketRates_widgets_acceptancePoint_calculatorTitle = 'marketRates.widgets.acceptancePoint.calculatorTitle',\n /** \"Reset\" */ marketRates_widgets_acceptancePoint_reset = 'marketRates.widgets.acceptancePoint.reset',\n /** \"Posting rate ($)\" */ marketRates_widgets_acceptancePoint_postingRateLabel = 'marketRates.widgets.acceptancePoint.postingRateLabel',\n /** \"Est. carrier offer ($)\" */ marketRates_widgets_acceptancePoint_estimatedCarrierOfferLabel = 'marketRates.widgets.acceptancePoint.estimatedCarrierOfferLabel',\n /** \"Shipper charge ($)\" */ marketRates_widgets_acceptancePoint_shipperChargeLabel = 'marketRates.widgets.acceptancePoint.shipperChargeLabel',\n /** \"Acceptance point ($)\" */ marketRates_widgets_acceptancePoint_acceptancePointLabel = 'marketRates.widgets.acceptancePoint.acceptancePointLabel',\n /** \"Total profit margin of shipper charge:\" */ marketRates_widgets_acceptancePoint_profitMarginLabel = 'marketRates.widgets.acceptancePoint.profitMarginLabel',\n /** \"above\" */ marketRates_widgets_acceptancePoint_above = 'marketRates.widgets.acceptancePoint.above',\n /** \"below\" */ marketRates_widgets_acceptancePoint_below = 'marketRates.widgets.acceptancePoint.below',\n /** \"{{percent}}% {{helperText}} acceptance point\" */ marketRates_widgets_acceptancePoint_profitMarginDifference = 'marketRates.widgets.acceptancePoint.profitMarginDifference',\n /** \"Posting rate\" */ marketRates_widgets_acceptancePoint_cards_postingRate_title = 'marketRates.widgets.acceptancePoint.cards.postingRate.title',\n /** \"Posting rate is the price you intend to post your load at. The default entry is the average market rate. You may enter your own value if you already know the rate you plan to post.\" */ marketRates_widgets_acceptancePoint_cards_postingRate_text = 'marketRates.widgets.acceptancePoint.cards.postingRate.text',\n /** \"Est. carrier offer\" */ marketRates_widgets_acceptancePoint_cards_estimatedCarrierOffer_title = 'marketRates.widgets.acceptancePoint.cards.estimatedCarrierOffer.title',\n /** \"This is the estimated rate desired by the carrier. If you have an offer from a carrier, you can enter it to calculate how acceptable it is for your business.\" */ marketRates_widgets_acceptancePoint_cards_estimatedCarrierOffer_text = 'marketRates.widgets.acceptancePoint.cards.estimatedCarrierOffer.text',\n /** \"Shipper charge\" */ marketRates_widgets_acceptancePoint_cards_shipperCharge_title = 'marketRates.widgets.acceptancePoint.cards.shipperCharge.title',\n /** \"Shipper charge is the rate you will be charging the shipper to move loads on this lane. You may enter your own shipper charge to increase the accuracy of this tool.\" */ marketRates_widgets_acceptancePoint_cards_shipperCharge_text = 'marketRates.widgets.acceptancePoint.cards.shipperCharge.text',\n /** \"Acceptance point\" */ marketRates_widgets_acceptancePoint_cards_acceptancePoint_title = 'marketRates.widgets.acceptancePoint.cards.acceptancePoint.title',\n /** \"The acceptance point is the mutually acceptable rate for a load on this lane. You may enter your own acceptance point to calculate your profit margin when charging the shipper.\" */ marketRates_widgets_acceptancePoint_cards_acceptancePoint_text = 'marketRates.widgets.acceptancePoint.cards.acceptancePoint.text',\n /** \"Posting rate:\" */ marketRates_widgets_acceptancePoint_graph_postingRateLabel = 'marketRates.widgets.acceptancePoint.graph.postingRateLabel',\n /** \"Acceptance point:\" */ marketRates_widgets_acceptancePoint_graph_acceptancePointLabel = 'marketRates.widgets.acceptancePoint.graph.acceptancePointLabel',\n /** \"Shipper charge:\" */ marketRates_widgets_acceptancePoint_graph_shipperChargeLabel = 'marketRates.widgets.acceptancePoint.graph.shipperChargeLabel',\n /** \"Est. carrier offer:\" */ marketRates_widgets_acceptancePoint_graph_estimatedCarrierOfferLabel = 'marketRates.widgets.acceptancePoint.graph.estimatedCarrierOfferLabel',\n /** \"below posting rate\" */ marketRates_widgets_acceptancePoint_graph_belowPostingRate = 'marketRates.widgets.acceptancePoint.graph.belowPostingRate',\n /** \"above posting rate\" */ marketRates_widgets_acceptancePoint_graph_abovePostingRate = 'marketRates.widgets.acceptancePoint.graph.abovePostingRate',\n /** \"Negotiation strength\" */ marketRates_widgets_negotiationStrength_title = 'marketRates.widgets.negotiationStrength.title',\n /** \"Posting strength data for the selected equipment type and lane is unavailable at this time.\" */ marketRates_widgets_negotiationStrength_unavailableText = 'marketRates.widgets.negotiationStrength.unavailableText',\n /** \"Negotiation strength data for the selected equipment type and lane is unavailable at this time.\" */ marketRates_widgets_negotiationStrength_unavailableTextCarrier = 'marketRates.widgets.negotiationStrength.unavailableTextCarrier',\n /** \"Low\" */ marketRates_widgets_negotiationStrength_lowSection_title = 'marketRates.widgets.negotiationStrength.lowSection.title',\n /** \"Negotiation strength for this lane is \" */ marketRates_widgets_negotiationStrength_lowSection_part1 = 'marketRates.widgets.negotiationStrength.lowSection.part1',\n /** \", so you may have to offer a higher rate.\" */ marketRates_widgets_negotiationStrength_lowSection_part2 = 'marketRates.widgets.negotiationStrength.lowSection.part2',\n /** \", so you may have to accept a lower rate.\" */ marketRates_widgets_negotiationStrength_lowSection_part2Carrier = 'marketRates.widgets.negotiationStrength.lowSection.part2Carrier',\n /** \"Medium\" */ marketRates_widgets_negotiationStrength_mediumSection_title = 'marketRates.widgets.negotiationStrength.mediumSection.title',\n /** \"Negotiation strength for this lane is \" */ marketRates_widgets_negotiationStrength_mediumSection_part1 = 'marketRates.widgets.negotiationStrength.mediumSection.part1',\n /** \", so you may need to offer close to the average rate.\" */ marketRates_widgets_negotiationStrength_mediumSection_part2 = 'marketRates.widgets.negotiationStrength.mediumSection.part2',\n /** \", so you may need to accept a rate closer to the average.\" */ marketRates_widgets_negotiationStrength_mediumSection_part2Carrier = 'marketRates.widgets.negotiationStrength.mediumSection.part2Carrier',\n /** \"High\" */ marketRates_widgets_negotiationStrength_highSection_title = 'marketRates.widgets.negotiationStrength.highSection.title',\n /** \"Negotiation strength for this lane is \" */ marketRates_widgets_negotiationStrength_highSection_part1 = 'marketRates.widgets.negotiationStrength.highSection.part1',\n /** \", so you can justify a lower rate.\" */ marketRates_widgets_negotiationStrength_highSection_part2 = 'marketRates.widgets.negotiationStrength.highSection.part2',\n /** \", so you can justify a higher rate.\" */ marketRates_widgets_negotiationStrength_highSection_part2Carrier = 'marketRates.widgets.negotiationStrength.highSection.part2Carrier',\n /** \"Historical rates\" */ marketRates_widgets_historicalRates_title = 'marketRates.widgets.historicalRates.title',\n /** \"Historical market rates for {{month}}\" */ marketRates_widgets_historicalRates_legendTitle = 'marketRates.widgets.historicalRates.legendTitle',\n /** \"Rate analysis\" */ marketRates_widgets_rateAnalysis_title = 'marketRates.widgets.rateAnalysis.title',\n /** \"Pickup location loads\" */ marketRates_widgets_loadsWidgets_pickupLoadsTitle = 'marketRates.widgets.loadsWidgets.pickupLoadsTitle',\n /** \"Backhaul loads\" */ marketRates_widgets_loadsWidgets_backhaulsLoadsTitle = 'marketRates.widgets.loadsWidgets.backhaulsLoadsTitle',\n /** \"for {{days}}\" */ marketRates_widgets_loadsWidgets_forDays = 'marketRates.widgets.loadsWidgets.forDays',\n /** \"to {{location}}\" */ marketRates_widgets_loadsWidgets_toLocation = 'marketRates.widgets.loadsWidgets.toLocation',\n /** \"View loads\" */ marketRates_widgets_loadsWidgets_viewLoads = 'marketRates.widgets.loadsWidgets.viewLoads',\n /** \"Rate history\" */ marketRates_popups_rateHistory_title = 'marketRates.popups.rateHistory.title',\n /** \"Rate history can help you predict trends and price your freight based on data from the past year.\" */ marketRates_popups_rateHistory_content = 'marketRates.popups.rateHistory.content',\n /** \"Rate check\" */ marketRates_popups_rateCheck_title = 'marketRates.popups.rateCheck.title',\n /** \"Rate check provides the average market rate to help compare lane rates before posting loads and better estimate your load revenues.\" */ marketRates_popups_rateCheck_content = 'marketRates.popups.rateCheck.content',\n /** \"Suggested rate\" */ marketRates_popups_suggestedRate_title = 'marketRates.popups.suggestedRate.title',\n /** \"Suggested rate can help you determine how to price your freight to increase load acceptance by comparing the average rate with other posted loads leaving the pick up location.\" */ marketRates_popups_suggestedRate_content = 'marketRates.popups.suggestedRate.content',\n /** \"Backhaul rate difference\" */ marketRates_popups_rateDifference_title = 'marketRates.popups.rateDifference.title',\n /** \"Backhaul rate difference can be used to price your freight based on whether the carrier will find higher or lower priced loads at the drop off location.\" */ marketRates_popups_rateDifference_content = 'marketRates.popups.rateDifference.content',\n /** \"Negotiation strength\" */ marketRates_popups_negotiationStrength_title = 'marketRates.popups.negotiationStrength.title',\n /** \"Negotiation strength is based on the amount of loads going to the selected destination today and the rates they are posted at.\" */ marketRates_popups_negotiationStrength_content = 'marketRates.popups.negotiationStrength.content',\n /** \"Historical rates\" */ marketRates_popups_historicalRates_title = 'marketRates.popups.historicalRates.title',\n /** \"Historical data can provide you with a good understanding of recent market activity, seasonal trends, and help with planning and forecasting.\" */ marketRates_popups_historicalRates_content = 'marketRates.popups.historicalRates.content',\n /** \"Rate analysis\" */ marketRates_popups_rateAnalysis_title = 'marketRates.popups.rateAnalysis.title',\n /** \"Rate analysis provides you with the high, medium, and low rates based on the current year and can help determine fair rates based on this year’s market conditions.\" */ marketRates_popups_rateAnalysis_content = 'marketRates.popups.rateAnalysis.content',\n /** \"Capacity finder\" */ capacityFinder_title = 'capacityFinder.title',\n /** \"Customizing your results\" */ capacityFinder_customizingResults = 'capacityFinder.customizingResults',\n /** \"Capacity Finder\" */ capacityFinder_titleCapitalized = 'capacityFinder.titleCapitalized',\n /** \"Pickup - city or zip\" */ capacityFinder_originLocationPlaceholder = 'capacityFinder.originLocationPlaceholder',\n /** \"Drop off - city or zip\" */ capacityFinder_destinationLocationPlaceholder = 'capacityFinder.destinationLocationPlaceholder',\n /** \"Find\" */ capacityFinder_findButton = 'capacityFinder.findButton',\n /** \"Capacity finder can help you find available carriers to haul your freight via their posted trucks and load search data.\" */ capacityFinder_emptyPageSubtitle = 'capacityFinder.emptyPageSubtitle',\n /** \"No matches found\" */ capacityFinder_notFoundTitle = 'capacityFinder.notFoundTitle',\n /** \"No matches found. Please change your search parameters or adjust your filters.\" */ capacityFinder_notFoundSubtitle = 'capacityFinder.notFoundSubtitle',\n /** \"Found {{quantity}} carriers\" */ capacityFinder_foundCarriers = 'capacityFinder.foundCarriers',\n /** \"Equipment(s)\" */ capacityFinder_carrierDetailsEquipmentsTitle = 'capacityFinder.carrierDetailsEquipmentsTitle',\n /** \"Desired destination(s)\" */ capacityFinder_carrierDetailsDestinationsTitle = 'capacityFinder.carrierDetailsDestinationsTitle',\n /** \"Search\" */ capacityFinder_searchType = 'capacityFinder.searchType',\n /** \"Posted truck\" */ capacityFinder_postedTruckType = 'capacityFinder.postedTruckType',\n /** \"Age\" */ capacityFinder_labels_age = 'capacityFinder.labels.age',\n /** \"Deadhead\" */ capacityFinder_labels_deadhead = 'capacityFinder.labels.deadhead',\n /** \"Equipment\" */ capacityFinder_labels_equipment = 'capacityFinder.labels.equipment',\n /** \"Capacity\" */ capacityFinder_labels_capacity = 'capacityFinder.labels.capacity',\n /** \"Desired rate\" */ capacityFinder_labels_desiredRate = 'capacityFinder.labels.desiredRate',\n /** \"Phone\" */ capacityFinder_labels_phone = 'capacityFinder.labels.phone',\n /** \"Next available\" */ capacityFinder_labels_nextAvailable = 'capacityFinder.labels.nextAvailable',\n /** \"Type\" */ capacityFinder_sorting_type = 'capacityFinder.sorting.type',\n /** \"Result type\" */ capacityFinder_sorting_resultType = 'capacityFinder.sorting.resultType',\n /** \"Age\" */ capacityFinder_sorting_age = 'capacityFinder.sorting.age',\n /** \"Company\" */ capacityFinder_sorting_company = 'capacityFinder.sorting.company',\n /** \"Rating\" */ capacityFinder_sorting_rating = 'capacityFinder.sorting.rating',\n /** \"Deadhead\" */ capacityFinder_sorting_deadhead = 'capacityFinder.sorting.deadhead',\n /** \"Equipment\" */ capacityFinder_sorting_equipment = 'capacityFinder.sorting.equipment',\n /** \"Size\" */ capacityFinder_sorting_size = 'capacityFinder.sorting.size',\n /** \"Available capacity\" */ capacityFinder_sorting_availableCapacity = 'capacityFinder.sorting.availableCapacity',\n /** \"Avail. capacity\" */ capacityFinder_sorting_availableCapacityShort = 'capacityFinder.sorting.availableCapacityShort',\n /** \"Desired rate\" */ capacityFinder_sorting_desiredRate = 'capacityFinder.sorting.desiredRate',\n /** \"Phone\" */ capacityFinder_sorting_phone = 'capacityFinder.sorting.phone',\n /** \"Next available\" */ capacityFinder_sorting_nextAvailable = 'capacityFinder.sorting.nextAvailable',\n /** \"Next avail.\" */ capacityFinder_sorting_nextAvailableShort = 'capacityFinder.sorting.nextAvailableShort',\n /** \"Onboarded carriers\" */ capacityFinder_filtering_onboardedCarriers = 'capacityFinder.filtering.onboardedCarriers',\n /** \"Favorite carriers\" */ capacityFinder_filtering_favoriteCarriers = 'capacityFinder.filtering.favoriteCarriers',\n /** \"GPS verified\" */ capacityFinder_filtering_gpsVerified = 'capacityFinder.filtering.gpsVerified',\n /** \"Active authority (MC#)\" */ capacityFinder_filtering_activeAuthority = 'capacityFinder.filtering.activeAuthority',\n /** \"Age: {{age}}h\" */ capacityFinder_filtering_age = 'capacityFinder.filtering.age',\n /** \"Pickup radius: {{radius}}mi\" */ capacityFinder_filtering_pickupRadiusWithMi = 'capacityFinder.filtering.pickupRadiusWithMi',\n /** \"Drop off radius: {{radius}}mi\" */ capacityFinder_filtering_dropoffRadiusWithMi = 'capacityFinder.filtering.dropoffRadiusWithMi',\n /** \"Pickup radius\" */ capacityFinder_filtering_pickupRadius = 'capacityFinder.filtering.pickupRadius',\n /** \"Drop off radius\" */ capacityFinder_filtering_dropoffRadius = 'capacityFinder.filtering.dropoffRadius',\n /** \"LTL only\" */ capacityFinder_filtering_ltlOnly = 'capacityFinder.filtering.ltlOnly',\n /** \"Onboarded carriers\" */ capacityFinder_popups_missingOnboardedCarriers_title = 'capacityFinder.popups.missingOnboardedCarriers.title',\n /** \"To filter by onboarded carriers, you need to add their DOT#s to your onboarded carriers list.\" */ capacityFinder_popups_missingOnboardedCarriers_content = 'capacityFinder.popups.missingOnboardedCarriers.content',\n /** \"Onboard\" */ myCarrierPortal_onboard = 'myCarrierPortal.onboard',\n /** \"Onboarded\" */ myCarrierPortal_onboarded = 'myCarrierPortal.onboarded',\n /** \"Add to favorites\" */ myCarrierPortal_addFavorite = 'myCarrierPortal.addFavorite',\n /** \"Favorite\" */ myCarrierPortal_favorite = 'myCarrierPortal.favorite',\n /** \"MCP risk assessment\" */ myCarrierPortal_riskAssessment = 'myCarrierPortal.riskAssessment',\n /** \"Integration required\" */ myCarrierPortal_integrationRequired = 'myCarrierPortal.integrationRequired',\n /** \"MCP integration setup\" */ myCarrierPortal_integration_title = 'myCarrierPortal.integration.title',\n /** \"To \" */ myCarrierPortal_integration_to = 'myCarrierPortal.integration.to',\n /** \"see onboarded carriers and \" */ myCarrierPortal_integration_onboardedCarriers = 'myCarrierPortal.integration.onboardedCarriers',\n /** \"view risk assessments, an integration with MyCarrierPortal is required.\" */ myCarrierPortal_integration_description = 'myCarrierPortal.integration.description',\n /** \"If you don't have a MyCarrierPortal account, you can \" */ myCarrierPortal_integration_pointList1 = 'myCarrierPortal.integration.pointList1',\n /** \"To link your account, generate MyCarrierPortal integration credentials \" */ myCarrierPortal_integration_pointList2 = 'myCarrierPortal.integration.pointList2',\n /** \"Return here and proceed to enter credentials.\" */ myCarrierPortal_integration_pointList3 = 'myCarrierPortal.integration.pointList3',\n /** \"sign up here \" */ myCarrierPortal_integration_signupLink = 'myCarrierPortal.integration.signupLink',\n /** \"here \" */ myCarrierPortal_integration_here = 'myCarrierPortal.integration.here',\n /** \"Proceed to Link Account\" */ myCarrierPortal_integration_proceed = 'myCarrierPortal.integration.proceed',\n /** \"Please note that the terms and conditions of MyCarrierPortal may differ from 123Loadboard. The website will open in a new tab. 123Loadboard is not responsible for any content on third party websites.\" */ myCarrierPortal_integration_termsConditions = 'myCarrierPortal.integration.termsConditions',\n /** \"Enter the integration credentials you created with MyCarrierPortal to complete your integration.\" */ myCarrierPortal_integration_credentialsDescription = 'myCarrierPortal.integration.credentialsDescription',\n /** \"MCP integration user name\" */ myCarrierPortal_integration_userName = 'myCarrierPortal.integration.userName',\n /** \"MCP integration password\" */ myCarrierPortal_integration_password = 'myCarrierPortal.integration.password',\n /** \"Link Account\" */ myCarrierPortal_integration_linkAccount = 'myCarrierPortal.integration.linkAccount',\n /** \"Back\" */ myCarrierPortal_integration_back = 'myCarrierPortal.integration.back',\n /** \"The provided integration credentials are not valid. Please verify your credentials and try again.\" */ myCarrierPortal_integration_incorrectCredentialsMessage = 'myCarrierPortal.integration.incorrectCredentialsMessage',\n /** \"Risk level: Low\" */ myCarrierPortal_risklevel_titleLow = 'myCarrierPortal.risklevel.titleLow',\n /** \"Risk level: Medium\" */ myCarrierPortal_risklevel_titleMedium = 'myCarrierPortal.risklevel.titleMedium',\n /** \"Risk level: Review\" */ myCarrierPortal_risklevel_titleReview = 'myCarrierPortal.risklevel.titleReview',\n /** \"Risk level: Fail\" */ myCarrierPortal_risklevel_titleFail = 'myCarrierPortal.risklevel.titleFail',\n /** \"Low: \" */ myCarrierPortal_risklevel_low = 'myCarrierPortal.risklevel.low',\n /** \"Medium: \" */ myCarrierPortal_risklevel_medium = 'myCarrierPortal.risklevel.medium',\n /** \"Review: \" */ myCarrierPortal_risklevel_review = 'myCarrierPortal.risklevel.review',\n /** \"Fail: \" */ myCarrierPortal_risklevel_fail = 'myCarrierPortal.risklevel.fail',\n /** \"This carrier has a low risk level and is likely qualified to haul for you.\" */ myCarrierPortal_risklevel_descriptionLow = 'myCarrierPortal.risklevel.descriptionLow',\n /** \"This carrier has a medium risk level and is likely qualified to haul for you.\" */ myCarrierPortal_risklevel_descriptionMedium = 'myCarrierPortal.risklevel.descriptionMedium',\n /** \"This carrier is likely not qualified to haul for you. Proceed with caution.\" */ myCarrierPortal_risklevel_descriptionReview = 'myCarrierPortal.risklevel.descriptionReview',\n /** \"This carrier is not qualified to haul for you and should not be contacted.\" */ myCarrierPortal_risklevel_descriptionFail = 'myCarrierPortal.risklevel.descriptionFail',\n /** \"Risk Level assessment is not available at the moment. Please try again later.\" */ myCarrierPortal_risklevel_error = 'myCarrierPortal.risklevel.error',\n /** \"Onboard carrier\" */ myCarrierPortal_onboarding_onboard = 'myCarrierPortal.onboarding.onboard',\n /** \"Onboard with {{company}} to add them to your carrier network.\" */ myCarrierPortal_onboarding_onboardWith = 'myCarrierPortal.onboarding.onboardWith',\n /** \"Start onboarding\" */ myCarrierPortal_onboarding_start = 'myCarrierPortal.onboarding.start',\n /** \"Onboard pending\" */ myCarrierPortal_onboarding_pending = 'myCarrierPortal.onboarding.pending',\n /** \"An onboarding request has been sent through MyCarrierPortal. When {{carrier}} has completed the onboarding process, they will automatically be added to your Onboarded carriers.\" */ myCarrierPortal_onboarding_pendingdescription = 'myCarrierPortal.onboarding.pendingdescription',\n /** \"To onboard this carrier, an onboarding request with instructions will be sent via MyCarrierPortal to their associated email address.\" */ myCarrierPortal_onboarding_description = 'myCarrierPortal.onboarding.description',\n /** \"When the carrier has successfully completed the onboarding process, they will automatically be added to your Onboarded carriers.\" */ myCarrierPortal_onboarding_description2 = 'myCarrierPortal.onboarding.description2',\n /** \"Send request\" */ myCarrierPortal_onboarding_send = 'myCarrierPortal.onboarding.send',\n /** \"Onboarding unsuccessful\" */ myCarrierPortal_onboarding_unsuccessful = 'myCarrierPortal.onboarding.unsuccessful',\n /** \"The onboarding failed because this carrier's risk assessment score is above your threshold. You may log into your MyCarrierPortal for more options.\" */ myCarrierPortal_onboarding_onboardingFailed = 'myCarrierPortal.onboarding.onboardingFailed',\n /** \"Profit calculator\" */ profitCalculator_title = 'profitCalculator.title',\n /** \"Please enter values\" */ profitCalculator_pleaseEnterValues = 'profitCalculator.pleaseEnterValues',\n /** \"Linehaul revenue\" */ profitCalculator_linehaulRevenue = 'profitCalculator.linehaulRevenue',\n /** \"Miles\" */ profitCalculator_miles = 'profitCalculator.miles',\n /** \"mile\" */ profitCalculator_mile = 'profitCalculator.mile',\n /** \"Rate\" */ profitCalculator_rate = 'profitCalculator.rate',\n /** \"Estimated fuel costs\" */ profitCalculator_estimatedFuelCosts = 'profitCalculator.estimatedFuelCosts',\n /** \"MPG\" */ profitCalculator_mpg = 'profitCalculator.mpg',\n /** \"gal\" */ profitCalculator_gal = 'profitCalculator.gal',\n /** \"Apply fuel discount (up to $0.40/gal)\" */ profitCalculator_applyFuelDiscount = 'profitCalculator.applyFuelDiscount',\n /** \"Get fuel card\" */ profitCalculator_getFuelCard = 'profitCalculator.getFuelCard',\n /** \"Additional costs\" */ profitCalculator_additionalCosts = 'profitCalculator.additionalCosts',\n /** \"Toll cost\" */ profitCalculator_tollCost = 'profitCalculator.tollCost',\n /** \"Dispatch fee\" */ profitCalculator_dispatchFee = 'profitCalculator.dispatchFee',\n /** \"Other fee\" */ profitCalculator_otherFee = 'profitCalculator.otherFee',\n /** \"Total profit\" */ profitCalculator_totalProfit = 'profitCalculator.totalProfit',\n /** \"mi\" */ profitCalculator_mi = 'profitCalculator.mi',\n /** \"An entry is required or has an invalid value\" */ profitCalculator_fieldsRequiredOrInvalid = 'profitCalculator.fieldsRequiredOrInvalid',\n /** \"An entry has an invalid value\" */ profitCalculator_fieldsInvalid = 'profitCalculator.fieldsInvalid',\n /** \"Profit calculator. Press to calculate you profit.\" */ profitCalculator_accessibility = 'profitCalculator.accessibility',\n /** \"Reset\" */ profitCalculator_reset = 'profitCalculator.reset',\n /** \"Border Wait Times\" */ borderWaitTimes_BorderWaitTimes = 'borderWaitTimes.BorderWaitTimes',\n /** \"Get information as to the waiting times at the various Canadian/US Border crossing points. Each border location updates its estimated wait times hourly.\" */ borderWaitTimes_Description = 'borderWaitTimes.Description',\n /** \"USA Border Wait Times\" */ borderWaitTimes_USA_Title = 'borderWaitTimes.USA_Title',\n /** \"Canada Border Wait Times\" */ borderWaitTimes_Canada_Title = 'borderWaitTimes.Canada_Title',\n /** \"View USA\" */ borderWaitTimes_ViewUSA = 'borderWaitTimes.ViewUSA',\n /** \"View Canada\" */ borderWaitTimes_ViewCanada = 'borderWaitTimes.ViewCanada',\n /** \"Private network\" */ privateNetwork_title = 'privateNetwork.title',\n /** \"Add USDOT#\" */ privateNetwork_addNumber = 'privateNetwork.addNumber',\n /** \"Add companies to your private network by adding one or more USDOT# on individual lines or separated by commas.\" */ privateNetwork_addNumberInstructions = 'privateNetwork.addNumberInstructions',\n /** \"No valid numbers were submitted\" */ privateNetwork_noValidNumbersSubmitted = 'privateNetwork.noValidNumbersSubmitted',\n /** \"all failed validation\" */ privateNetwork_allNumbersInvalid = 'privateNetwork.allNumbersInvalid',\n /** \"From {{count}} USDOT# record\" */ privateNetwork_fromTotal = 'privateNetwork.fromTotal',\n /** \"From {{count}} USDOT# records\" */ privateNetwork_fromTotal_plural = 'privateNetwork.fromTotal_plural',\n /** \"{{count}} duplicate removed\" */ privateNetwork_duplicatesRemoved = 'privateNetwork.duplicatesRemoved',\n /** \"{{count}} duplicates removed\" */ privateNetwork_duplicatesRemoved_plural = 'privateNetwork.duplicatesRemoved_plural',\n /** \"{{invalid}} failed validation\" */ privateNetwork_failedValidation = 'privateNetwork.failedValidation',\n /** \"{{number}} USDOT# added to your private network successfully.\" */ privateNetwork_successfullyAdded = 'privateNetwork.successfullyAdded',\n /** \"Validation failed\" */ privateNetwork_validationFailed = 'privateNetwork.validationFailed',\n /** \"Review\" */ privateNetwork_review = 'privateNetwork.review',\n /** \"Filter by USDOT #\" */ privateNetwork_filterByNumber = 'privateNetwork.filterByNumber',\n /** \"Found {{number}} USDOT#\" */ privateNetwork_foundNumbers = 'privateNetwork.foundNumbers',\n /** \"There was an issue getting your load board\" */ privateNetwork_issueGettingBoard = 'privateNetwork.issueGettingBoard',\n /** \"There was an error submitting your request\" */ privateNetwork_errorSubmitting = 'privateNetwork.errorSubmitting',\n /** \"USDOT#\" */ privateNetwork_usDot = 'privateNetwork.usDot',\n /** \"{{resultsStartNumber}} - {{resultsEndNumber}} of {{listSize}} USDOT#\" */ privateNetwork_pageCount = 'privateNetwork.pageCount',\n /** \"Server error\" */ privateNetwork_serverError = 'privateNetwork.serverError',\n /** \"Delete all\" */ privateNetwork_deleteAll = 'privateNetwork.deleteAll',\n /** \"Are you sure you want to delete all?\" */ privateNetwork_deleteAllText = 'privateNetwork.deleteAllText',\n /** \"Add companies to your private network to post your loads privately.\" */ privateNetwork_postPrivately = 'privateNetwork.postPrivately',\n /** \"All the results were filtered\" */ privateNetwork_allResultsFiltered = 'privateNetwork.allResultsFiltered',\n /** \"Reefer Rates\" */ reeferRates_Reefer_Rates = 'reeferRates.Reefer_Rates',\n /** \"Source:\" */ reeferRates_Source = 'reeferRates.Source',\n /** \"U.S. Department of Agriculture’s Agricultural Marketing Service\" */ reeferRates_GovLinkName = 'reeferRates.GovLinkName',\n /** \"Roadside Assistance\" */ roadsideAssist_Roadside_Assistance = 'roadsideAssist.Roadside_Assistance',\n /** \"Emergency roadside assistance\" */ roadsideAssist_Title = 'roadsideAssist.Title',\n /** \"Ensure you keep your truck moving. Get heavy-duty emergency roadside assistance for commercial vehicles.\" */ roadsideAssist_Description = 'roadsideAssist.Description',\n /** \"KEY BENEFITS\" */ roadsideAssist_MembershipBenefit = 'roadsideAssist.MembershipBenefit',\n /** \"Towing Assistance\" */ roadsideAssist_Benefits_Towing = 'roadsideAssist.Benefits.Towing',\n /** \"(up to 50 miles per disablement)\" */ roadsideAssist_Benefits_Towing2 = 'roadsideAssist.Benefits.Towing2',\n /** \"Flat Tire Assistance\" */ roadsideAssist_Benefits_FlatTire = 'roadsideAssist.Benefits.FlatTire',\n /** \"(up to $150 per occurrence)\" */ roadsideAssist_Benefits_FlatTire2 = 'roadsideAssist.Benefits.FlatTire2',\n /** \"Tire Replacement Assistance\" */ roadsideAssist_Benefits_TireRepl = 'roadsideAssist.Benefits.TireRepl',\n /** \"(up to $100 per disablement)\" */ roadsideAssist_Benefits_TireRepl2 = 'roadsideAssist.Benefits.TireRepl2',\n /** \"Tire Repair Assistance\" */ roadsideAssist_Benefits_TireRepair = 'roadsideAssist.Benefits.TireRepair',\n /** \"(up to $100 per occurrence)\" */ roadsideAssist_Benefits_TireRepair2 = 'roadsideAssist.Benefits.TireRepair2',\n /** \"Mobile Mechanic Service\" */ roadsideAssist_Benefits_Mechanic = 'roadsideAssist.Benefits.Mechanic',\n /** \"(up to $100 for service call)\" */ roadsideAssist_Benefits_Mechanic2 = 'roadsideAssist.Benefits.Mechanic2',\n /** \"Oil, Build and Water Delivery Service\" */ roadsideAssist_Benefits_Oil = 'roadsideAssist.Benefits.Oil',\n /** \"Extrication / Winching Assistance\" */ roadsideAssist_Benefits_Extriction = 'roadsideAssist.Benefits.Extriction',\n /** \"Fuel Delivery Service\" */ roadsideAssist_Benefits_Fuel = 'roadsideAssist.Benefits.Fuel',\n /** \"(up to 30 gallons of fuel)\" */ roadsideAssist_Benefits_Fuel2 = 'roadsideAssist.Benefits.Fuel2',\n /** \"Lock-out/Replacement Key Assistance\" */ roadsideAssist_Benefits_KeyAssist = 'roadsideAssist.Benefits.KeyAssist',\n /** \"(up to $100)\" */ roadsideAssist_Benefits_KeyAssist2 = 'roadsideAssist.Benefits.KeyAssist2',\n /** \"Jump-starts\" */ roadsideAssist_Benefits_JumpStart = 'roadsideAssist.Benefits.JumpStart',\n /** \"(up to $150 per occurrence)\" */ roadsideAssist_Benefits_JumpStart2 = 'roadsideAssist.Benefits.JumpStart2',\n /** \"Pull Start\" */ roadsideAssist_Benefits_PullStart = 'roadsideAssist.Benefits.PullStart',\n /** \"(up to $100 per occurrence)\" */ roadsideAssist_Benefits_PullStart2 = 'roadsideAssist.Benefits.PullStart2',\n /** \"Extended Heavy Duty Warranty\" */ roadsideAssist_Benefits_HeavyDuty = 'roadsideAssist.Benefits.HeavyDuty',\n /** \"Battery Assistance\" */ roadsideAssist_Benefits_Battery = 'roadsideAssist.Benefits.Battery',\n /** \"(up to $100 for service call)\" */ roadsideAssist_Benefits_Battery2 = 'roadsideAssist.Benefits.Battery2',\n /** \"Replacement Part Delivery\" */ roadsideAssist_Benefits_Parts = 'roadsideAssist.Benefits.Parts',\n /** \"(up to $100 per occurrence)\" */ roadsideAssist_Benefits_Parts2 = 'roadsideAssist.Benefits.Parts2',\n /** \"Thank you! We've received your request.\" */ roadsideAssist_done_title = 'roadsideAssist.done.title',\n /** \"An expert from Rig Nation will contact you soon.\" */ roadsideAssist_done_description = 'roadsideAssist.done.description',\n /** \"Emergency roadside assistance\" */ roadsideAssist_already_title = 'roadsideAssist.already.title',\n /** \"You previously submitted a request for roadside assistance.\" */ roadsideAssist_already_text1 = 'roadsideAssist.already.text1',\n /** \"If you haven't been contacted yet, \" */ roadsideAssist_already_text2a = 'roadsideAssist.already.text2a',\n /** \"resubmit here\" */ roadsideAssist_already_text2b = 'roadsideAssist.already.text2b',\n /** \" or call Rig Nation.\" */ roadsideAssist_already_text2c = 'roadsideAssist.already.text2c',\n /** \"CALL 800-336-5909\" */ roadsideAssist_already_callButton = 'roadsideAssist.already.callButton',\n /** \"Complete the form to speak a roadside assistance expert\" */ roadsideAssist_CompleteForm = 'roadsideAssist.CompleteForm',\n /** \"SUBMIT\" */ roadsideAssist_form_button = 'roadsideAssist.form_button',\n /** \"Exclusive roadside assistance partner\" */ roadsideAssist_ExclusiveRoadside = 'roadsideAssist.ExclusiveRoadside',\n /** \"Specializing in commercial truck roadside & extended warranty.\" */ roadsideAssist_Pricing_Description = 'roadsideAssist.Pricing_Description',\n /** \"View Terms\" */ roadsideAssist_View_Terms = 'roadsideAssist.View_Terms',\n /** \"Get Roadside Assistance\" */ roadsideAssist_Get_Roadside_Assistance = 'roadsideAssist.Get_Roadside_Assistance',\n /** \"Roadside assistance provided by\" */ roadsideAssist_Roadside_assistance_provided_by = 'roadsideAssist.Roadside_assistance_provided_by',\n /** \"By clicking SUBMIT, a representative from Rig Nation will be contacting you.\" */ roadsideAssist_form_contactText = 'roadsideAssist.form_contactText',\n /** \"Search directory\" */ searchDirectory_title = 'searchDirectory.title',\n /** \"Contact details\" */ searchDirectory_contactDetails = 'searchDirectory.contactDetails',\n /** \"E-mail\" */ searchDirectory_email = 'searchDirectory.email',\n /** \"Find companies and information relevant to your business needs.\" */ searchDirectory_subtitle = 'searchDirectory.subtitle',\n /** \"Search for\" */ searchDirectory_searchFor = 'searchDirectory.searchFor',\n /** \"Carriers\" */ searchDirectory_carriers = 'searchDirectory.carriers',\n /** \"Brokers\" */ searchDirectory_brokers = 'searchDirectory.brokers',\n /** \"Shippers\" */ searchDirectory_shippers = 'searchDirectory.shippers',\n /** \"Company name\" */ searchDirectory_companyName = 'searchDirectory.companyName',\n /** \"Location\" */ searchDirectory_location = 'searchDirectory.location',\n /** \"*Please fill out all mandatory fields.\" */ searchDirectory_mandatoryFields = 'searchDirectory.mandatoryFields',\n /** \"Search\" */ searchDirectory_search = 'searchDirectory.search',\n /** \"Company details\" */ searchDirectory_companyDetails_title = 'searchDirectory.companyDetails.title',\n /** \"Business type\" */ searchDirectory_companyDetails_businessType = 'searchDirectory.companyDetails.businessType',\n /** \"Carrier MC#\" */ searchDirectory_companyDetails_carrierMC = 'searchDirectory.companyDetails.carrierMC',\n /** \"Broker MC#\" */ searchDirectory_companyDetails_brokerMC = 'searchDirectory.companyDetails.brokerMC',\n /** \"SCAC code\" */ searchDirectory_companyDetails_SCAC = 'searchDirectory.companyDetails.SCAC',\n /** \"Interstate#\" */ searchDirectory_companyDetails_interstate = 'searchDirectory.companyDetails.interstate',\n /** \"Street\" */ searchDirectory_companyDetails_street = 'searchDirectory.companyDetails.street',\n /** \"Tel\" */ searchDirectory_companyDetails_tel = 'searchDirectory.companyDetails.tel',\n /** \"Toll-free\" */ searchDirectory_companyDetails_tollFree = 'searchDirectory.companyDetails.tollFree',\n /** \"Fax\" */ searchDirectory_companyDetails_fax = 'searchDirectory.companyDetails.fax',\n /** \"Website\" */ searchDirectory_companyDetails_website = 'searchDirectory.companyDetails.website',\n /** \"View company on map\" */ searchDirectory_companyDetails_viewOnMap = 'searchDirectory.companyDetails.viewOnMap',\n /** \"Business background info\" */ searchDirectory_companyDetails_businessInfo_title = 'searchDirectory.companyDetails.businessInfo.title',\n /** \"Association & certification\" */ searchDirectory_companyDetails_businessInfo_associationCertification = 'searchDirectory.companyDetails.businessInfo.associationCertification',\n /** \"Year founded\" */ searchDirectory_companyDetails_businessInfo_yearFounded = 'searchDirectory.companyDetails.businessInfo.yearFounded',\n /** \"Company profile\" */ searchDirectory_companyDetails_businessInfo_companyProfile = 'searchDirectory.companyDetails.businessInfo.companyProfile',\n /** \"Safety\" */ searchDirectory_companyDetails_safety_title = 'searchDirectory.companyDetails.safety.title',\n /** \"Crashes\" */ searchDirectory_companyDetails_safety_subtitle = 'searchDirectory.companyDetails.safety.subtitle',\n /** \"Fatal\" */ searchDirectory_companyDetails_safety_fatal = 'searchDirectory.companyDetails.safety.fatal',\n /** \"Injury\" */ searchDirectory_companyDetails_safety_injury = 'searchDirectory.companyDetails.safety.injury',\n /** \"Tow\" */ searchDirectory_companyDetails_safety_tow = 'searchDirectory.companyDetails.safety.tow',\n /** \"N/A\" */ searchDirectory_companyDetails_safety_empty = 'searchDirectory.companyDetails.safety.empty',\n /** \"Credit rating\" */ searchDirectory_companyDetails_creditRating = 'searchDirectory.companyDetails.creditRating',\n /** \"No results found\" */ searchDirectory_notFound_title = 'searchDirectory.notFound.title',\n /** \"Please adjust your search criteria and try again.\" */ searchDirectory_notFound_content = 'searchDirectory.notFound.content',\n /** \"Edit search\" */ searchDirectory_notFound_button = 'searchDirectory.notFound.button',\n /** \"TIA\" */ searchDirectory_certification_tia = 'searchDirectory.certification.tia',\n /** \"OCFP\" */ searchDirectory_certification_ocfp = 'searchDirectory.certification.ocfp',\n /** \"Search Directory\" */ searchDirectory_upgradePopup_title = 'searchDirectory.upgradePopup.title',\n /** \"The Search Directory allows you to quickly look up companies that use 123Loadboard. Being informed about the companies you work with, or would like to work with is essential to success in the transportation industry. The Search Directory is updated daily, so you can be sure that the information provided is accurate and up-to-date.\" */ searchDirectory_upgradePopup_content1 = 'searchDirectory.upgradePopup.content1',\n /** \"Search Directory is available as part of the Premium Plus membership plan.\" */ searchDirectory_upgradePopup_content2 = 'searchDirectory.upgradePopup.content2',\n /** \"Learn more\" */ searchDirectory_upgradePopup_learnMore = 'searchDirectory.upgradePopup.learnMore',\n /** \"Invalid file size. The file shouldn't be empty nor be over 4MB.\" */ dropBox_File_Too_Big = 'dropBox.File_Too_Big',\n /** \"Invalid file submitted\" */ dropBox_Invalid_FeedBack = 'dropBox.Invalid_FeedBack',\n /** \"Load Details\" */ shareLoad_title = 'shareLoad.title',\n /** \"Unlock Full Potential\" */ shareLoad_promo_unlockFullPotential = 'shareLoad.promo.unlockFullPotential',\n /** \"SWITCH TO MAIN VIEW\" */ shareLoad_promo_switchToMainView = 'shareLoad.promo.switchToMainView',\n /** \"Sign in to place a bid, book this load, or message the poster. Compare market rates, find backhauls, plan your route, and use smart tools to optimize your trip.\" */ shareLoad_promo_loginPromoText = 'shareLoad.promo.loginPromoText',\n /** \"SIGN IN\" */ shareLoad_promo_logIn = 'shareLoad.promo.logIn',\n /** \"Find More Loads Like This\" */ shareLoad_promo_findMoreLoads = 'shareLoad.promo.findMoreLoads',\n /** \"Explore similar loads with full details, compare opportunities, and take action. Sign in to bid, book, or message the poster directly and get the loads you need for your business.\" */ shareLoad_promo_exploreMoreText = 'shareLoad.promo.exploreMoreText',\n /** \"SIGN IN TO SEE MORE LOADS\" */ shareLoad_promo_logInToSeeMore = 'shareLoad.promo.logInToSeeMore',\n /** \"This load was shared with you.\" */ shareLoad_description = 'shareLoad.description',\n /** \"Load Information\" */ shareLoad_loadInformation_Title = 'shareLoad.loadInformation.Title',\n /** \"Distance\" */ shareLoad_loadInformation_Distance = 'shareLoad.loadInformation.Distance',\n /** \"Pickup Date(s)\" */ shareLoad_loadInformation_Pickup_Date = 'shareLoad.loadInformation.Pickup_Date',\n /** \"Equipment Type (Spec.)\" */ shareLoad_loadInformation_Equipment_Type = 'shareLoad.loadInformation.Equipment_Type',\n /** \"Size\" */ shareLoad_loadInformation_Size = 'shareLoad.loadInformation.Size',\n /** \"Weight\" */ shareLoad_loadInformation_Weight = 'shareLoad.loadInformation.Weight',\n /** \"Length\" */ shareLoad_loadInformation_Length = 'shareLoad.loadInformation.Length',\n /** \"Posted rate\" */ shareLoad_loadInformation_Posted_Rate = 'shareLoad.loadInformation.Posted_Rate',\n /** \"Dispatch\" */ shareLoad_dispatch_Title = 'shareLoad.dispatch.Title',\n /** \"Contact Name\" */ shareLoad_dispatch_Contact_Name = 'shareLoad.dispatch.Contact_Name',\n /** \"Telephone\" */ shareLoad_dispatch_Telephone = 'shareLoad.dispatch.Telephone',\n /** \"Ext\" */ shareLoad_dispatch_Extension = 'shareLoad.dispatch.Extension',\n /** \"Load Reference #\" */ shareLoad_dispatch_Reference_Number = 'shareLoad.dispatch.Reference_Number',\n /** \"Company\" */ shareLoad_company_Title = 'shareLoad.company.Title',\n /** \"Mileage, Routing & Toll Cost Information\" */ shareLoad_Route_Title = 'shareLoad.Route.Title',\n /** \"Total Mileage\" */ shareLoad_Route_Total_Mileage = 'shareLoad.Route.Total_Mileage',\n /** \"Toll Costs\" */ shareLoad_Route_Toll_Costs = 'shareLoad.Route.Toll_Costs',\n /** \"Driving Time\" */ shareLoad_Route_Driving_Time = 'shareLoad.Route.Driving_Time',\n /** \"Routing information not found for this load\" */ shareLoad_Route_Not_Found = 'shareLoad.Route.Not_Found',\n /** \"Credit information provided by TransCredit and ThunderFunding. Licensing, authority, and insurance information provided by the FMCSA and other sources. Disclaimer: While every effort has been made to ensure that the information contained on this site/app is correct and up-to-date at the time of posting, 123Loadboard, TransCredit, ThunderFunding, PC*Miler, its partners, affiliates and/or subsidiaries shall not be liable for any damages of any kind resulting from use of the information contained herein. 123Loadboard does not lay any claims to the accuracy of the credit ratings, days-to-pay, licensing, authority, mileage, and/or insurance information listed and in no way is the broker, shipper, carrier, owner-operator bound to it. No person should place reliance on information derived from this site/app where such reliance may result in loss, damage or injury. You may choose to make additional credit checks. If you feel that the information posted contains errors, please contact us.\" */ shareLoad_Route_Disclaimer = 'shareLoad.Route.Disclaimer',\n /** \"Credit Rating\" */ shareLoad_creditRating_Title = 'shareLoad.creditRating.Title',\n /** \"There is no credit rating available at the moment for this company.\" */ shareLoad_creditRating_No_Credit_Ratings = 'shareLoad.creditRating.No_Credit_Ratings',\n /** \"Please \" */ shareLoad_upgradeMembership_text1 = 'shareLoad.upgradeMembership.text1',\n /** \"upgrade\" */ shareLoad_upgradeMembership_link = 'shareLoad.upgradeMembership.link',\n /** \" your membership.\" */ shareLoad_upgradeMembership_text2 = 'shareLoad.upgradeMembership.text2',\n /** \"The 123Loadboard user sharing this load does not have access to this tool. This feature is available as part of the Premium plan. Please sign in into your account to see these details or \" */ shareLoad_upgradeMembershipLoggedOff_text1 = 'shareLoad.upgradeMembershipLoggedOff.text1',\n /** \"upgrade\" */ shareLoad_upgradeMembershipLoggedOff_link = 'shareLoad.upgradeMembershipLoggedOff.link',\n /** \" your membership.\" */ shareLoad_upgradeMembershipLoggedOff_text2 = 'shareLoad.upgradeMembershipLoggedOff.text2',\n /** \"Verify your email\" */ verifyEmail_title = 'verifyEmail.title',\n /** \"Email verified\" */ verifyEmail_header_successful = 'verifyEmail.header.successful',\n /** \"Verification link expired\" */ verifyEmail_header_expired = 'verifyEmail.header.expired',\n /** \"Email verification\" */ verifyEmail_header_input = 'verifyEmail.header.input',\n /** \"Verification code invalid\" */ verifyEmail_header_notFound = 'verifyEmail.header.notFound',\n /** \"Email verification failed\" */ verifyEmail_header_failed = 'verifyEmail.header.failed',\n /** \"We sent an email to activate your account, please check your email {{email}}\" */ verifyEmail_subheader_topMessage = 'verifyEmail.subheader.topMessage',\n /** \"Your email has been successfully verified.\" */ verifyEmail_subheader_successful = 'verifyEmail.subheader.successful',\n /** \"Your email address was not verified. Click the button below or call our Customer Support line at (877) 875-5301.\" */ verifyEmail_subheader_failed = 'verifyEmail.subheader.failed',\n /** \"You can now sign in with your 123loadboard account.\" */ verifyEmail_content_successful = 'verifyEmail.content.successful',\n /** \"This verification link has expired.\\nPlease request a new one to access your account.\" */ verifyEmail_content_expired = 'verifyEmail.content.expired',\n /** \"Enter your verification code below. If you require further assistance, call our Customer Support at 877-875-5301\" */ verifyEmail_content_input = 'verifyEmail.content.input',\n /** \"Please check your verification code. If you require further assistance, call our Customer Support at 877-875-5301\" */ verifyEmail_content_notFound = 'verifyEmail.content.notFound',\n /** \"If you do not receive an email within the next few minutes, be sure to\" */ verifyEmail_content_bottomMessage = 'verifyEmail.content.bottomMessage',\n /** \"check your spam folder or call\" */ verifyEmail_content_checkSpam = 'verifyEmail.content.checkSpam',\n /** \"(9am-6pm M-F)\" */ verifyEmail_content_desiredTime = 'verifyEmail.content.desiredTime',\n /** \"or click here to\" */ verifyEmail_content_resendMessage = 'verifyEmail.content.resendMessage',\n /** \"Resend email\" */ verifyEmail_content_resendEmail = 'verifyEmail.content.resendEmail',\n /** \"I’m verified\" */ verifyEmail_submitButton_text = 'verifyEmail.submitButton.text',\n /** \"Verification code\" */ verifyEmail_codeInputLabel = 'verifyEmail.codeInputLabel',\n /** \"Validate\" */ verifyEmail_validate = 'verifyEmail.validate',\n /** \"* If you forgot your login details,\" */ verifyEmail_note = 'verifyEmail.note',\n /** \"Sign in with another account\" */ verifyEmail_signIn = 'verifyEmail.signIn',\n /** \"Verification link sent\" */ verifyEmail_popups_linkSent_title = 'verifyEmail.popups.linkSent.title',\n /** \"A verification email has been sent to {{email}}. Please check your inbox and/or your spam/email folder.\" */ verifyEmail_popups_linkSent_text = 'verifyEmail.popups.linkSent.text',\n /** \"Failed to send verification link\" */ verifyEmail_popups_failedToSend_title = 'verifyEmail.popups.failedToSend.title',\n /** \"Sorry, there was a problem sending the email. Please try again.\" */ verifyEmail_popups_failedToSend_text = 'verifyEmail.popups.failedToSend.text',\n /** \"Email is not verified\" */ verifyEmail_popups_notVerified_title = 'verifyEmail.popups.notVerified.title',\n /** \"Sorry, this email address is not verified yet. Please check your email again.\" */ verifyEmail_popups_notVerified_text = 'verifyEmail.popups.notVerified.text',\n /** \"If you are not redirected, please\" */ verifiedLogin_redirectMessage = 'verifiedLogin.redirectMessage',\n /** \"Sign in to 123Loadboard\" */ verifiedLogin_divertToAppMessage_header = 'verifiedLogin.divertToAppMessage.header',\n /** \"We’ve detected that you signed up on a mobile device.\\nPlease open the mobile app to continue.\" */ verifiedLogin_divertToAppMessage_content = 'verifiedLogin.divertToAppMessage.content',\n /** \"Unsubscribe assistant\" */ unsubscribeAssistant_title = 'unsubscribeAssistant.title',\n /** \"Your current plan: \" */ unsubscribeAssistant_currentPlanTitle = 'unsubscribeAssistant.currentPlanTitle',\n /** \"(you pay ${{priceWithDiscount}} for a ${{defaultPlanPrice}} plan per month)\" */ unsubscribeAssistant_currentPlanDiscount = 'unsubscribeAssistant.currentPlanDiscount',\n /** \"(you pay ${{price}} per month)\" */ unsubscribeAssistant_currentPlanFullPrice = 'unsubscribeAssistant.currentPlanFullPrice',\n /** \"Your load statuses, saved searches, availability to brokers/shippers, and load documents stored with 123Loadboard will be affected by unsubscribing.\" */ unsubscribeAssistant_currentPlanInfo = 'unsubscribeAssistant.currentPlanInfo',\n /** \"Please indicate the reason you are unsubscribing.\" */ unsubscribeAssistant_reason = 'unsubscribeAssistant.reason',\n /** \"Cost\" */ unsubscribeAssistant_cost = 'unsubscribeAssistant.cost',\n /** \"Issue with loads\" */ unsubscribeAssistant_issue = 'unsubscribeAssistant.issue',\n /** \"Difficulty of use\" */ unsubscribeAssistant_difficulty = 'unsubscribeAssistant.difficulty',\n /** \"Missing functionality\" */ unsubscribeAssistant_missingFunctionality = 'unsubscribeAssistant.missingFunctionality',\n /** \"Not using it\" */ unsubscribeAssistant_notUsing = 'unsubscribeAssistant.notUsing',\n /** \"Something else\" */ unsubscribeAssistant_somethingElse = 'unsubscribeAssistant.somethingElse',\n /** \"EXTEND YOUR FREE TRIAL FOR {{promotionDays}} DAYS\" */ unsubscribeAssistant_trialExtensionFree = 'unsubscribeAssistant.trialExtensionFree',\n /** \" in addition to the {{daysToExpire}} days you have left.\" */ unsubscribeAssistant_trialExtension = 'unsubscribeAssistant.trialExtension',\n /** \"Extend my trial\" */ unsubscribeAssistant_extensionLink = 'unsubscribeAssistant.extensionLink',\n /** \"No thanks, I still want to \" */ unsubscribeAssistant_continueUnsubscribe = 'unsubscribeAssistant.continueUnsubscribe',\n /** \"unsubscribe.\" */ unsubscribeAssistant_unsubscribeLink = 'unsubscribeAssistant.unsubscribeLink',\n /** \"We understand everybody is on a budget.\" */ unsubscribeAssistant_costHeader = 'unsubscribeAssistant.costHeader',\n /** \"Our membership plans are very competitive and can be tailored to meet your needs. You might be paying for features you don’t really need. 123Loadboard offers more cost-effective packages that can help you trim the fat. \\n\\n Contact us and inquire about some of our other packages that might work better for you.\" */ unsubscribeAssistant_costBody = 'unsubscribeAssistant.costBody',\n /** \"Not so fast, we might have what you’re looking for.\" */ unsubscribeAssistant_missingFunctionalityHeader = 'unsubscribeAssistant.missingFunctionalityHeader',\n /** \"Not finding what you’re looking for? A live chat with one of our Customer Support Specialists might point you in the right direction.\" */ unsubscribeAssistant_missingFunctionalityBody = 'unsubscribeAssistant.missingFunctionalityBody',\n /** \"Can’t find any good paying loads?\" */ unsubscribeAssistant_issueTitle1 = 'unsubscribeAssistant.issueTitle1',\n /** \"Sometimes a broker/shipper may not offer the best rates, or shipping rates have taken a bit of a dive this week. For these issues, we have the \" */ unsubscribeAssistant_issueBody1a = 'unsubscribeAssistant.issueBody1a',\n /** \"Rate Check \" */ unsubscribeAssistant_issueBody1b = 'unsubscribeAssistant.issueBody1b',\n /** \"tool that can help increase your negotiation strength as well as keep you on top of pricing trends in the industry using the latest data. All of our loads also feature a \" */ unsubscribeAssistant_issueBody1c = 'unsubscribeAssistant.issueBody1c',\n /** \"Backhaul \" */ unsubscribeAssistant_issueBody1d = 'unsubscribeAssistant.issueBody1d',\n /** \"tool that can help you get back loaded and maximize your earning potential.\" */ unsubscribeAssistant_issueBody1e = 'unsubscribeAssistant.issueBody1e',\n /** \"Can’t book any of the loads I found?\" */ unsubscribeAssistant_issueTitle2 = 'unsubscribeAssistant.issueTitle2',\n /** \"The trucking industry is very competitive and dynamic; some days a load can be gone in the blink of an eye! Loads on 123Loadboard are updated in real-time, so make sure you call loads immediately. Also, posting your truck is a way to get around this with our \" */ unsubscribeAssistant_issueBody2a = 'unsubscribeAssistant.issueBody2a',\n /** \"Load Alerts\" */ unsubscribeAssistant_issueBody2b = 'unsubscribeAssistant.issueBody2b',\n /** \" tool. When you post your truck on 123Loadboard, you will get alerted to loads matching your truck and location. Another way to keep your truck loaded is by using our \" */ unsubscribeAssistant_issueBody2c = 'unsubscribeAssistant.issueBody2c',\n /** \"Search Alerts\" */ unsubscribeAssistant_issueBody2d = 'unsubscribeAssistant.issueBody2d',\n /** \". Have a route you run all the time? You can receive search alerts specifically for that lane whenever a new load is posted.\" */ unsubscribeAssistant_issueBody2e = 'unsubscribeAssistant.issueBody2e',\n /** \"Can’t find a load that matches my truck?\" */ unsubscribeAssistant_issueTitle3 = 'unsubscribeAssistant.issueTitle3',\n /** \"Having trouble finding loads? We have many different ways to find freight. The \" */ unsubscribeAssistant_issueBody3a = 'unsubscribeAssistant.issueBody3a',\n /** \"Load Planner\" */ unsubscribeAssistant_issueBody3b = 'unsubscribeAssistant.issueBody3b',\n /** \" tool can help you go from Point A to Point B and deliver a separate load along the way.\" */ unsubscribeAssistant_issueBody3c = 'unsubscribeAssistant.issueBody3c',\n /** \"Our Customer Support Specialists can give you advice on how you can optimize your search filters, post a truck, set search alerts, and get you the loads you need for your truck.\" */ unsubscribeAssistant_issueContactSection = 'unsubscribeAssistant.issueContactSection',\n /** \"Facing problems? We have solutions to help you out.\" */ unsubscribeAssistant_difficultyHeader = 'unsubscribeAssistant.difficultyHeader',\n /** \"123Loadboard gets you loads across the country to keep your wheels rolling. Let us show you how.\" */ unsubscribeAssistant_notUsingItHeader = 'unsubscribeAssistant.notUsingItHeader',\n /** \"Tell us why you want to unsubscribe. We’ll be happy to get in touch with you as soon as possible to resolve any issues you may have.\" */ unsubscribeAssistant_somethingElseHeader = 'unsubscribeAssistant.somethingElseHeader',\n /** \"Check out our Overview video to see how 123Loadboard can help you to grow your business.\" */ unsubscribeAssistant_watchTheVideoBody = 'unsubscribeAssistant.watchTheVideoBody',\n /** \"We host weekly live video tutorials with our resident Board Strategists that can help you out of any jam. Join one and see what 123Loadboard can truly offer.\" */ unsubscribeAssistant_joinFreeWebinarDifficulty = 'unsubscribeAssistant.joinFreeWebinarDifficulty',\n /** \"Our Board Strategists host regular live presentations to guide you through any questions you may have about the board and show you how it can benefit you.\" */ unsubscribeAssistant_joinFreeWebinarNotUsing = 'unsubscribeAssistant.joinFreeWebinarNotUsing',\n /** \"Want to talk to a real person to solve any difficulties you have? We’re here to help.\" */ unsubscribeAssistant_contactSupportBody = 'unsubscribeAssistant.contactSupportBody',\n /** \"I understand that my account will be unsubscribed from the service and my load statuses and truck availability for brokers/shippers may be affected, along with my saved searches. \" */ unsubscribeAssistant_confirmCheckboxUnsubscribedServices = 'unsubscribeAssistant.confirmCheckboxUnsubscribedServices',\n /** \"I understand that my documents may be affected by unsubscribing. \" */ unsubscribeAssistant_confirmCheckboxAffectDocuments = 'unsubscribeAssistant.confirmCheckboxAffectDocuments',\n /** \"I understand that any ongoing discounts \" */ unsubscribeAssistant_confirmCheckboxOngoingDiscounts = 'unsubscribeAssistant.confirmCheckboxOngoingDiscounts',\n /** \"(you pay ${{price}} for a ${{fullPrice}} plan per month) \" */ unsubscribeAssistant_confirmCheckboxOngoingDiscountsDetail = 'unsubscribeAssistant.confirmCheckboxOngoingDiscountsDetail',\n /** \"will be lost upon reactivating your membership in the future.\" */ unsubscribeAssistant_confirmCheckboxOngoingDiscountsLost = 'unsubscribeAssistant.confirmCheckboxOngoingDiscountsLost',\n /** \"Do you really want to unsubscribe?\" */ unsubscribeAssistant_cardPopupTitle = 'unsubscribeAssistant.cardPopupTitle',\n /** \"By unsubscribing, you acknowledge the following:\" */ unsubscribeAssistant_cardPopupHeader = 'unsubscribeAssistant.cardPopupHeader',\n /** \"Trial Extension\" */ unsubscribeAssistant_trialExtensionTitle = 'unsubscribeAssistant.trialExtensionTitle',\n /** \"Unsubscribe failed\" */ unsubscribeAssistant_unauthorizedHeader = 'unsubscribeAssistant.unauthorizedHeader',\n /** \"Only administrators are permitted to make changes to 123Loadboard accounts. Please contact your account administrator for further assistance.\" */ unsubscribeAssistant_unauthorizedMessage = 'unsubscribeAssistant.unauthorizedMessage',\n /** \"Trial extension request has been sent!\" */ unsubscribeAssistant_trialExtensionSent = 'unsubscribeAssistant.trialExtensionSent',\n /** \"Our Staff has been notified that you requested an extension to your free trial. You will receive confirmation shortly.\" */ unsubscribeAssistant_trialExtensionMessage = 'unsubscribeAssistant.trialExtensionMessage',\n /** \"Customer support\" */ unsubscribeAssistant_contactSupportTitle = 'unsubscribeAssistant.contactSupportTitle',\n /** \"Contact support\" */ unsubscribeAssistant_contactSupportHeader = 'unsubscribeAssistant.contactSupportHeader',\n /** \"Our Customer Support Team is available from 9:00 AM - 5:00 PM EST. Monday to Friday to help you and answer any questions you may have.\" */ unsubscribeAssistant_contactSupportMessage = 'unsubscribeAssistant.contactSupportMessage',\n /** \"(877) 875-5301\" */ unsubscribeAssistant_contactSupportPhone = 'unsubscribeAssistant.contactSupportPhone',\n /** \"Time\" */ unsubscribeAssistant_contactSupportTimeLabel = 'unsubscribeAssistant.contactSupportTimeLabel',\n /** \"Need to schedule a call?\" */ unsubscribeAssistant_contactSupportSchedule = 'unsubscribeAssistant.contactSupportSchedule',\n /** \"Please select a time (9:00 AM - 5:00 PM EST. Monday to Friday) for one of our Customer Support Representatives to contact you.\" */ unsubscribeAssistant_contactSupportScheduleMessage = 'unsubscribeAssistant.contactSupportScheduleMessage',\n /** \"Thank you\" */ unsubscribeAssistant_customerSupportSent = 'unsubscribeAssistant.customerSupportSent',\n /** \"Your call request has been submitted and one of our Customer Support Representatives will contact you between {{time}} EST.\" */ unsubscribeAssistant_customerSupportMessage = 'unsubscribeAssistant.customerSupportMessage',\n /** \"What would make you come back?\" */ unsubscribeAssistant_detailIssueTitle = 'unsubscribeAssistant.detailIssueTitle',\n /** \"Unsubscribe completed\" */ unsubscribeAssistant_unsubscribeFinalizedTitle = 'unsubscribeAssistant.unsubscribeFinalizedTitle',\n /** \"We are confirming that:\" */ unsubscribeAssistant_unsubscribeFinalizedH1 = 'unsubscribeAssistant.unsubscribeFinalizedH1',\n /** \"Your request to unsubscribe was successfully submitted.\" */ unsubscribeAssistant_unsubscribeFinalizedMessage0 = 'unsubscribeAssistant.unsubscribeFinalizedMessage0',\n /** \"We have removed your credit card and billing information. There will be no further charges on your account.\" */ unsubscribeAssistant_unsubscribeFinalizedMessage1 = 'unsubscribeAssistant.unsubscribeFinalizedMessage1',\n /** \"Your account will be downgraded to a free “Basic account”\" */ unsubscribeAssistant_unsubscribeFinalizedH2 = 'unsubscribeAssistant.unsubscribeFinalizedH2',\n /** \".\" */ unsubscribeAssistant_unsubscribeFinalizedEmptyDowngradeDate = 'unsubscribeAssistant.unsubscribeFinalizedEmptyDowngradeDate',\n /** \" effective \" */ unsubscribeAssistant_unsubscribeFinalizedH2a = 'unsubscribeAssistant.unsubscribeFinalizedH2a',\n /** \"This gives you limited access to load searching, rate check, truck posting, and any documents stored in your account. Your account will only be available through the mobile app. If you haven’t already, please download our mobile app to use your basic membership.\" */ unsubscribeAssistant_unsubscribeFinalizedMessage2 = 'unsubscribeAssistant.unsubscribeFinalizedMessage2',\n /** \"Looking to upgrade your account, \" */ unsubscribeAssistant_unsubscribeFinalizedMessageUpgrade = 'unsubscribeAssistant.unsubscribeFinalizedMessageUpgrade',\n /** \"click here\" */ unsubscribeAssistant_unsubscribeFinalizedMessageUpgradeLink = 'unsubscribeAssistant.unsubscribeFinalizedMessageUpgradeLink',\n /** \"You have unsubscribed from your membership. You will continue to have access until {{date}} . If you wish to re-actvate your account, \" */ unsubscribeAssistant_unsubscribeBannerMessage = 'unsubscribeAssistant.unsubscribeBannerMessage',\n /** \"Increase load quantity\" */ unsubscribeAssistant_radioIssue1 = 'unsubscribeAssistant.radioIssue1',\n /** \"Higher paying loads\" */ unsubscribeAssistant_radioIssue2 = 'unsubscribeAssistant.radioIssue2',\n /** \"Accurate load info\" */ unsubscribeAssistant_radioIssue3 = 'unsubscribeAssistant.radioIssue3',\n /** \"Hot shot loads\" */ unsubscribeAssistant_radioIssue4 = 'unsubscribeAssistant.radioIssue4',\n /** \"Other\" */ unsubscribeAssistant_radioIssue5 = 'unsubscribeAssistant.radioIssue5',\n /** \"What can we improve that would make you come back?\" */ unsubscribeAssistant_detailDifficultyTitle = 'unsubscribeAssistant.detailDifficultyTitle',\n /** \"What features can we add that would make you come back?\" */ unsubscribeAssistant_detailMissingTitle = 'unsubscribeAssistant.detailMissingTitle',\n /** \"Why did you stop using the load board?\" */ unsubscribeAssistant_detailNotUsingTitle = 'unsubscribeAssistant.detailNotUsingTitle',\n /** \"Leased onto a company\" */ unsubscribeAssistant_radioNotUsing1 = 'unsubscribeAssistant.radioNotUsing1',\n /** \"Truck out of service\" */ unsubscribeAssistant_radioNotUsing2 = 'unsubscribeAssistant.radioNotUsing2',\n /** \"Going out of business\" */ unsubscribeAssistant_radioNotUsing3 = 'unsubscribeAssistant.radioNotUsing3',\n /** \"Retiring\" */ unsubscribeAssistant_radioNotUsing4 = 'unsubscribeAssistant.radioNotUsing4',\n /** \"Other\" */ unsubscribeAssistant_radioNotUsing5 = 'unsubscribeAssistant.radioNotUsing5',\n /** \"Where are you getting your loads now?\" */ unsubscribeAssistant_detailSomethingElseTitle = 'unsubscribeAssistant.detailSomethingElseTitle',\n /** \"DAT\" */ unsubscribeAssistant_radioSomethingElse1 = 'unsubscribeAssistant.radioSomethingElse1',\n /** \"Truckstop\" */ unsubscribeAssistant_radioSomethingElse2 = 'unsubscribeAssistant.radioSomethingElse2',\n /** \"Dispatcher\" */ unsubscribeAssistant_radioSomethingElse3 = 'unsubscribeAssistant.radioSomethingElse3',\n /** \"Brokers\" */ unsubscribeAssistant_radioSomethingElse4 = 'unsubscribeAssistant.radioSomethingElse4',\n /** \"Another load board\" */ unsubscribeAssistant_radioSomethingElse5 = 'unsubscribeAssistant.radioSomethingElse5',\n /** \"Other\" */ unsubscribeAssistant_radioSomethingElse6 = 'unsubscribeAssistant.radioSomethingElse6',\n /** \"Something went wrong - but don’t worry!\" */ unsubscribeAssistant_unsubscribeFailedTitle = 'unsubscribeAssistant.unsubscribeFailedTitle',\n /** \"There was a problem processing your request to unsubscribe. Our Customer Support team will unsubscribe the account for you and you will receive an email shortly confirming this.\" */ unsubscribeAssistant_unsubscribeFailedDescription = 'unsubscribeAssistant.unsubscribeFailedDescription',\n /** \"If you have any questions or require further assistance, please contact our Customer Support team at \" */ unsubscribeAssistant_unsubscribeFailedFurtherQuestions = 'unsubscribeAssistant.unsubscribeFailedFurtherQuestions',\n /** \"Join free webinar\" */ unsubscribeAssistant_joinFreeWebinar = 'unsubscribeAssistant.joinFreeWebinar',\n /** \"Watch the video\" */ unsubscribeAssistant_watchTheVideo = 'unsubscribeAssistant.watchTheVideo',\n /** \"Open live chat\" */ unsubscribeAssistant_openLiveChat = 'unsubscribeAssistant.openLiveChat',\n /** \"Contact support\" */ unsubscribeAssistant_contactSupport = 'unsubscribeAssistant.contactSupport',\n /** \"Next\" */ unsubscribeAssistant_buttonNext = 'unsubscribeAssistant.buttonNext',\n /** \"Continue\" */ unsubscribeAssistant_buttonContinue = 'unsubscribeAssistant.buttonContinue',\n /** \"Don't unsubscribe\" */ unsubscribeAssistant_buttonDontUnsubscribe = 'unsubscribeAssistant.buttonDontUnsubscribe',\n /** \"Unsubscribe\" */ unsubscribeAssistant_buttonUnsubscribe = 'unsubscribeAssistant.buttonUnsubscribe',\n /** \"Submit\" */ unsubscribeAssistant_buttonSubmit = 'unsubscribeAssistant.buttonSubmit',\n /** \"OK\" */ unsubscribeAssistant_buttonOK = 'unsubscribeAssistant.buttonOK',\n /** \"Comment\" */ unsubscribeAssistant_comment = 'unsubscribeAssistant.comment',\n /** \"Phone\" */ unsubscribeAssistant_phone = 'unsubscribeAssistant.phone',\n /** \"Wait, don't leave!\" */ unsubscribeAssistant_retentionPromo_title = 'unsubscribeAssistant.retentionPromo.title',\n /** \"You're a very valuable member and we truly appreciate you being a part of 123Loadboard. Please give us another chance with a \" */ unsubscribeAssistant_retentionPromo_content = 'unsubscribeAssistant.retentionPromo.content',\n /** \" on your membership for the next {{period}}.\" */ unsubscribeAssistant_retentionPromo_contentMore = 'unsubscribeAssistant.retentionPromo.contentMore',\n /** \"{{amount}} monthly discount\" */ unsubscribeAssistant_retentionPromo_monthlyDiscount = 'unsubscribeAssistant.retentionPromo.monthlyDiscount',\n /** \"Accept {{amount}} discount\" */ unsubscribeAssistant_retentionPromo_accept = 'unsubscribeAssistant.retentionPromo.accept',\n /** \"Discount applied\" */ unsubscribeAssistant_retentionPromo_applied = 'unsubscribeAssistant.retentionPromo.applied',\n /** \"Thanks for staying!\" */ unsubscribeAssistant_retentionPromo_thanksForStaying = 'unsubscribeAssistant.retentionPromo.thanksForStaying',\n /** \"Accepting our offer and giving us another shot means a lot to us. Your \" */ unsubscribeAssistant_retentionPromo_confirmationText = 'unsubscribeAssistant.retentionPromo.confirmationText',\n /** \" has been applied to your membership for the next {{period}}.\" */ unsubscribeAssistant_retentionPromo_confirmationTextMore = 'unsubscribeAssistant.retentionPromo.confirmationTextMore',\n /** \"{{amount}} discount\" */ unsubscribeAssistant_retentionPromo_discount = 'unsubscribeAssistant.retentionPromo.discount',\n /** \"Your discount is now activated and will apply to your next billing on {{billingDate}}.\" */ unsubscribeAssistant_retentionPromo_nextBillingText = 'unsubscribeAssistant.retentionPromo.nextBillingText',\n /** \"Top reasons to keep your 123Loadboard membership\" */ unsubscribeAssistant_reasonsToStay_title = 'unsubscribeAssistant.reasonsToStay.title',\n /** \"Saves you hundreds of dollars per year compared to other boards, keeping money in your wallet.\" */ unsubscribeAssistant_reasonsToStay_reason1_text = 'unsubscribeAssistant.reasonsToStay.reason1.text',\n /** \"Access to many \" */ unsubscribeAssistant_reasonsToStay_reason2_text1 = 'unsubscribeAssistant.reasonsToStay.reason2.text1',\n /** \"tools and services \" */ unsubscribeAssistant_reasonsToStay_reason2_link = 'unsubscribeAssistant.reasonsToStay.reason2.link',\n /** \"the other guys nickel-and-dime you for.\" */ unsubscribeAssistant_reasonsToStay_reason2_text2 = 'unsubscribeAssistant.reasonsToStay.reason2.text2',\n /** \"Our \" */ unsubscribeAssistant_reasonsToStay_reason3_text1 = 'unsubscribeAssistant.reasonsToStay.reason3.text1',\n /** \"Customer Success Team \" */ unsubscribeAssistant_reasonsToStay_reason3_link = 'unsubscribeAssistant.reasonsToStay.reason3.link',\n /** \"helps members find the loads they are looking for.\" */ unsubscribeAssistant_reasonsToStay_reason3_text2 = 'unsubscribeAssistant.reasonsToStay.reason3.text2',\n /** \"Would you like to \" */ unsubscribeAssistant_reasonsToStay_continueUsing_text1 = 'unsubscribeAssistant.reasonsToStay.continueUsing.text1',\n /** \"continue using \" */ unsubscribeAssistant_reasonsToStay_continueUsing_link1 = 'unsubscribeAssistant.reasonsToStay.continueUsing.link1',\n /** \"123Loadboard or would you still like to \" */ unsubscribeAssistant_reasonsToStay_continueUsing_text2 = 'unsubscribeAssistant.reasonsToStay.continueUsing.text2',\n /** \"unsubscribe\" */ unsubscribeAssistant_reasonsToStay_continueUsing_link2 = 'unsubscribeAssistant.reasonsToStay.continueUsing.link2',\n /** \"?\" */ unsubscribeAssistant_reasonsToStay_continueUsing_text3 = 'unsubscribeAssistant.reasonsToStay.continueUsing.text3',\n /** \"Manage subscription\" */ unsubscribeAssistant_manageSubscription = 'unsubscribeAssistant.manageSubscription',\n /** \"Your 123Loadboard account is managed through the App Store. To make changes to your subscription, please do so through the App Store settings on your Apple device settings.\" */ unsubscribeAssistant_applePopup = 'unsubscribeAssistant.applePopup',\n /** \"Open settings\" */ unsubscribeAssistant_openSettings = 'unsubscribeAssistant.openSettings',\n /** \"Settings\" */ settings_title = 'settings.title',\n /** \"Account\" */ settings_account_title = 'settings.account.title',\n /** \"Profile\" */ settings_account_profile = 'settings.account.profile',\n /** \"Profile Updated\" */ settings_account_updateProfile_snackBarSuccess = 'settings.account.updateProfile.snackBarSuccess',\n /** \"Profile failed to update\" */ settings_account_updateProfile_snackBarFailure = 'settings.account.updateProfile.snackBarFailure',\n /** \"Edit business profile\" */ settings_account_editBusinessProfile = 'settings.account.editBusinessProfile',\n /** \"Edit my profile\" */ settings_account_editMyProfile = 'settings.account.editMyProfile',\n /** \"Company\" */ settings_account_company = 'settings.account.company',\n /** \"Users\" */ settings_account_users = 'settings.account.users',\n /** \"Posting contact\" */ settings_account_postingContact = 'settings.account.postingContact',\n /** \"Posting contacts\" */ settings_account_postingContacts = 'settings.account.postingContacts',\n /** \"Add dispatcher\" */ settings_account_dispatchers_addDispatcher = 'settings.account.dispatchers.addDispatcher',\n /** \"No dispatcher on your account\" */ settings_account_dispatchers_noDispatcher = 'settings.account.dispatchers.noDispatcher',\n /** \"You have no dispatcher contact details assigned. Please add some to your account.\" */ settings_account_dispatchers_description = 'settings.account.dispatchers.description',\n /** \"Info\" */ settings_account_dispatchers_info = 'settings.account.dispatchers.info',\n /** \"If you wish to update your Dispatcher contact info, please call \" */ settings_account_dispatchers_updateDispatcher = 'settings.account.dispatchers.updateDispatcher',\n /** \"Type\" */ settings_account_type = 'settings.account.type',\n /** \"All\" */ settings_account_types_all = 'settings.account.types.all',\n /** \"Admin\" */ settings_account_types_admin = 'settings.account.types.admin',\n /** \"User\" */ settings_account_types_user = 'settings.account.types.user',\n /** \"Add User\" */ settings_account_user_addUser = 'settings.account.user.addUser',\n /** \"No users on your account\" */ settings_account_user_noUser = 'settings.account.user.noUser',\n /** \"You have no user contact details assigned. Please add some to your account.\" */ settings_account_user_description = 'settings.account.user.description',\n /** \"Send request\" */ settings_account_user_sendRequest = 'settings.account.user.sendRequest',\n /** \"Delete user\" */ settings_account_user_deleteUser_title = 'settings.account.user.deleteUser.title',\n /** \"Are you sure you want to delete this user?\" */ settings_account_user_deleteUser_message = 'settings.account.user.deleteUser.message',\n /** \"You cannot delete your own user profile. Please call (877) 875-5301 for assistance.\" */ settings_account_user_deleteUser_messageCanNotDelete = 'settings.account.user.deleteUser.messageCanNotDelete',\n /** \"Edit User\" */ settings_account_user_editUser = 'settings.account.user.editUser',\n /** \"User Updated\" */ settings_account_user_updateUser_snackBarSuccess = 'settings.account.user.updateUser.snackBarSuccess',\n /** \"User failed to update\" */ settings_account_user_updateUser_snackBarFailure = 'settings.account.user.updateUser.snackBarFailure',\n /** \"Please contact your administrator to make changes to this account\" */ settings_account_user_updateUser_description = 'settings.account.user.updateUser.description',\n /** \"Type: {{value}}\" */ settings_account_user_type = 'settings.account.user.type',\n /** \"Request sent\" */ settings_account_user_requestToAddUser_title = 'settings.account.user.requestToAddUser.title',\n /** \"We have received your request to add a user to your account. You will receive a confirmation email when the user is added.\" */ settings_account_user_requestToAddUser_message = 'settings.account.user.requestToAddUser.message',\n /** \"Last login: {{date}}\" */ settings_account_user_lastLogin = 'settings.account.user.lastLogin',\n /** \"Company Updated\" */ settings_account_companyPanel_snackBarSuccess = 'settings.account.companyPanel.snackBarSuccess',\n /** \"Company failed to update\" */ settings_account_companyPanel_snackBarFailure = 'settings.account.companyPanel.snackBarFailure',\n /** \"DOT#\" */ settings_businessProfile_dot = 'settings.businessProfile.dot',\n /** \"Business profile\" */ settings_businessProfile_title = 'settings.businessProfile.title',\n /** \"Address:\" */ settings_businessProfile_addressTitle = 'settings.businessProfile.addressTitle',\n /** \"Company phone:\" */ settings_businessProfile_companyPhoneTitle = 'settings.businessProfile.companyPhoneTitle',\n /** \"Company name:\" */ settings_businessProfile_companyNameTitle = 'settings.businessProfile.companyNameTitle',\n /** \"DOT#:\" */ settings_businessProfile_dotNumberTitle = 'settings.businessProfile.dotNumberTitle',\n /** \"MC#:\" */ settings_businessProfile_mcNumberTitle = 'settings.businessProfile.mcNumberTitle',\n /** \"Onboarding link:\" */ settings_businessProfile_onboardingUrl_title = 'settings.businessProfile.onboardingUrl.title',\n /** \"Add link\" */ settings_businessProfile_onboardingUrl_buttonLabelAdd = 'settings.businessProfile.onboardingUrl.buttonLabelAdd',\n /** \"Edit link\" */ settings_businessProfile_onboardingUrl_buttonLabelEdit = 'settings.businessProfile.onboardingUrl.buttonLabelEdit',\n /** \"Edit onboarded carriers\" */ settings_businessProfile_onboardingUrl_buttonLabelEditOnboarded = 'settings.businessProfile.onboardingUrl.buttonLabelEditOnboarded',\n /** \"Add onboarding link\" */ settings_businessProfile_onboardingUrl_popupTitleAdd = 'settings.businessProfile.onboardingUrl.popupTitleAdd',\n /** \"Edit onboarding link\" */ settings_businessProfile_onboardingUrl_popupTitleEdit = 'settings.businessProfile.onboardingUrl.popupTitleEdit',\n /** \"Please enter your carrier onboarding link. This link will be available on all of your posted loads for carriers not on your onboarded carrier list.\" */ settings_businessProfile_onboardingUrl_popupContent = 'settings.businessProfile.onboardingUrl.popupContent',\n /** \"Onboarding link *\" */ settings_businessProfile_onboardingUrl_fieldLabel = 'settings.businessProfile.onboardingUrl.fieldLabel',\n /** \"Link added\" */ settings_businessProfile_onboardingUrl_linkAdded = 'settings.businessProfile.onboardingUrl.linkAdded',\n /** \"Onboarding link successfully uploaded\" */ settings_businessProfile_onboardingUrl_messages_success = 'settings.businessProfile.onboardingUrl.messages.success',\n /** \"Oops. Something went wrong\" */ settings_businessProfile_onboardingUrl_messages_failure = 'settings.businessProfile.onboardingUrl.messages.failure',\n /** \"Use FMCSA company details\" */ settings_businessProfile_dotBusinessProfileOption_noDot_title = 'settings.businessProfile.dotBusinessProfileOption.noDot.title',\n /** \"Please enter your DOT# above to activate FMCSA company details.\" */ settings_businessProfile_dotBusinessProfileOption_noDot_text = 'settings.businessProfile.dotBusinessProfileOption.noDot.text',\n /** \"Use FMCSA company details\" */ settings_businessProfile_dotBusinessProfileOption_noInformationAvailable_title = 'settings.businessProfile.dotBusinessProfileOption.noInformationAvailable.title',\n /** \"We were unable to find information for the entered DOT#.\" */ settings_businessProfile_dotBusinessProfileOption_noInformationAvailable_text = 'settings.businessProfile.dotBusinessProfileOption.noInformationAvailable.text',\n /** \"Use custom company details\" */ settings_businessProfile_dotBusinessProfileOption_customProfile_title = 'settings.businessProfile.dotBusinessProfileOption.customProfile.title',\n /** \"Use FMCSA company details\" */ settings_businessProfile_dotBusinessProfileOption_volpeProfile_title = 'settings.businessProfile.dotBusinessProfileOption.volpeProfile.title',\n /** \"DOT# verification\" */ settings_dotVerification_title = 'settings.dotVerification.title',\n /** \"DOT# verification: Confirms user's access to the FMCSA-listed company phone number.\" */ settings_dotVerification_tooltip = 'settings.dotVerification.tooltip',\n /** \"Carrier DOT# not verified. Consider this when reaching out.\" */ settings_dotVerification_carrierNotVerified = 'settings.dotVerification.carrierNotVerified',\n /** \"Verify your DOT# \" */ settings_dotVerification_verifyYourDot = 'settings.dotVerification.verifyYourDot',\n /** \" for better opportunities with brokers and shippers.\" */ settings_dotVerification_betterOpportunities = 'settings.dotVerification.betterOpportunities',\n /** \"DOT# verified\" */ settings_dotVerification_dotNumberVerified = 'settings.dotVerification.dotNumberVerified',\n /** \"Verify DOT#\" */ settings_dotVerification_verifyDotNumber = 'settings.dotVerification.verifyDotNumber',\n /** \"Verify your DOT#\" */ settings_dotVerification_verifyYourDotNumber = 'settings.dotVerification.verifyYourDotNumber',\n /** \"Please enter DOT#.\" */ settings_dotVerification_pleaseEnterDot = 'settings.dotVerification.pleaseEnterDot',\n /** \"Brokers and shippers prefer to work with Carriers that have verified their DOT#. You can verify your DOT# via phone confirmation. Please select a phone number that you have access to.\" */ settings_dotVerification_phoneListPanelText = 'settings.dotVerification.phoneListPanelText',\n /** \"Select phone number\" */ settings_dotVerification_phoneListPanelSelectNumber = 'settings.dotVerification.phoneListPanelSelectNumber',\n /** \"You can verify your DOT# with a confirmation code that will be sent to\" */ settings_dotVerification_verificationCodeWillBeSentTo = 'settings.dotVerification.verificationCodeWillBeSentTo',\n /** \"Please select your preferred activation method.\" */ settings_dotVerification_selectActivationMethod = 'settings.dotVerification.selectActivationMethod',\n /** \"Select verification method\" */ settings_dotVerification_selectVerificationMethodTitle = 'settings.dotVerification.selectVerificationMethodTitle',\n /** \"Enter code\" */ settings_dotVerification_enterCode = 'settings.dotVerification.enterCode',\n /** \"Verification error\" */ settings_dotVerification_errorPanel_title = 'settings.dotVerification.errorPanel.title',\n /** \"We were unable to find information for the entered DOT#:\" */ settings_dotVerification_errorPanel_unableToFindByDot = 'settings.dotVerification.errorPanel.unableToFindByDot',\n /** \"Please make sure your DOT# is entered correctly or try again later.\" */ settings_dotVerification_errorPanel_makeSureDotEntered = 'settings.dotVerification.errorPanel.makeSureDotEntered',\n /** \"Your DOT number has been successfully verified.\" */ settings_dotVerification_resultPanel_successfullyVerified = 'settings.dotVerification.resultPanel.successfullyVerified',\n /** \"Billing\" */ settings_billing_title = 'settings.billing.title',\n /** \"Billing Summary\" */ settings_billing_billingSummary = 'settings.billing.billingSummary',\n /** \"Billing cycle\" */ settings_billing_summary_billingCycle = 'settings.billing.summary.billingCycle',\n /** \"Next billing date\" */ settings_billing_summary_nextBillingDate = 'settings.billing.summary.nextBillingDate',\n /** \"Membership fee\" */ settings_billing_summary_membershipFee = 'settings.billing.summary.membershipFee',\n /** \"Billed by\" */ settings_billing_summary_membershipBilledBy = 'settings.billing.summary.membershipBilledBy',\n /** \"App Store\" */ settings_billing_summary_membershipBilledByAppStore = 'settings.billing.summary.membershipBilledByAppStore',\n /** \"Add-ons\" */ settings_billing_summary_addOn = 'settings.billing.summary.addOn',\n /** \"Current membership cost\" */ settings_billing_summary_currentCost = 'settings.billing.summary.currentCost',\n /** \"Monthly\" */ settings_billing_summary_monthly = 'settings.billing.summary.monthly',\n /** \"Yearly\" */ settings_billing_summary_yearly = 'settings.billing.summary.yearly',\n /** \"Payment history\" */ settings_billing_paymentHistory = 'settings.billing.paymentHistory',\n /** \"Filter by dates\" */ settings_billing_datesFilterTitle = 'settings.billing.datesFilterTitle',\n /** \"Invoice {{invoiceNo}}\" */ settings_billing_invoiceTitle = 'settings.billing.invoiceTitle',\n /** \"Payment method\" */ settings_billing_paymentMethod = 'settings.billing.paymentMethod',\n /** \"No invoices\" */ settings_billing_invoicesNotFound = 'settings.billing.invoicesNotFound',\n /** \"Edit payment method\" */ settings_billing_editPaymentMethod = 'settings.billing.editPaymentMethod',\n /** \"You don't have the necessary permissions to make changes.\" */ settings_billing_membershipPlan_noPermissions = 'settings.billing.membershipPlan.noPermissions',\n /** \"Please contact the account owner\" */ settings_billing_membershipPlan_pleaseContactAccountOwner = 'settings.billing.membershipPlan.pleaseContactAccountOwner',\n /** \"to request changes to this membership.\" */ settings_billing_membershipPlan_changesToMembership = 'settings.billing.membershipPlan.changesToMembership',\n /** \"You don't have necessary permissions to edit payment method. Please contact the account owner\" */ settings_billing_membershipPlan_noPermissionsToEditPaymentMethod = 'settings.billing.membershipPlan.noPermissionsToEditPaymentMethod',\n /** \"to request changes.\" */ settings_billing_membershipPlan_requestChanges = 'settings.billing.membershipPlan.requestChanges',\n /** \"If you require additional assistance, please contact Support at\" */ settings_billing_membershipPlan_ifYouRequireAssistance = 'settings.billing.membershipPlan.ifYouRequireAssistance',\n /** \"877-875-5301\" */ settings_billing_membershipPlan_phoneNumber = 'settings.billing.membershipPlan.phoneNumber',\n /** \"(Mon-Fri 8am-6pm EST).\" */ settings_billing_membershipPlan_workTime = 'settings.billing.membershipPlan.workTime',\n /** \"Payment failure\" */ settings_billing_paymentDeclineNotice_title = 'settings.billing.paymentDeclineNotice.title',\n /** \"We were unable to process payments for an overdue invoice on your account. Please make a payment to keep full access to your account.\" */ settings_billing_paymentDeclineNotice_expiringSoon = 'settings.billing.paymentDeclineNotice.expiringSoon',\n /** \"We were unable to process payments for an overdue invoice on your account. Please make a payment within the next \" */ settings_billing_paymentDeclineNotice_nearingExpiration = 'settings.billing.paymentDeclineNotice.nearingExpiration',\n /** \"to keep full access to your account.\" */ settings_billing_paymentDeclineNotice_nearingExpirationSecond = 'settings.billing.paymentDeclineNotice.nearingExpirationSecond',\n /** \"We were unable to process payments for an overdue invoice on your account. Your membership is currently suspended. Please provide a new form of payment to restore full access to your account.\" */ settings_billing_paymentDeclineNotice_expired = 'settings.billing.paymentDeclineNotice.expired',\n /** \"Your card ending in {{card}} cannot be processed. Please replace card or correct card information.\" */ settings_billing_paymentDeclineNotice_hardDecline = 'settings.billing.paymentDeclineNotice.hardDecline',\n /** \"There was an issue processing your card ending in {{card}}. Please make sure that the card has funds available or provide a new payment method. We will reattempt the transaction at a later date.\" */ settings_billing_paymentDeclineNotice_softDecline = 'settings.billing.paymentDeclineNotice.softDecline',\n /** \"Preferences\" */ settings_preferences_title = 'settings.preferences.title',\n /** \"Load visibility rules\" */ settings_preferences_loadVisibilityRules = 'settings.preferences.loadVisibilityRules',\n /** \"Notifications\" */ settings_preferences_notifications = 'settings.preferences.notifications',\n /** \"Select the emails that you wish to receive.\" */ settings_preferences_emailNotificationSelection = 'settings.preferences.emailNotificationSelection',\n /** \"Alerts sound\" */ settings_preferences_alertsSound_title = 'settings.preferences.alertsSound.title',\n /** \"Choose which alerts play a sound when new content arrives.\" */ settings_preferences_alertsSound_description = 'settings.preferences.alertsSound.description',\n /** \"Message alerts\" */ settings_preferences_alertsSound_options_messageAlerts = 'settings.preferences.alertsSound.options.messageAlerts',\n /** \"Alerts sound was updated\" */ settings_preferences_alertsSound_updateSuccess = 'settings.preferences.alertsSound.updateSuccess',\n /** \"Alerts sound was not updated\" */ settings_preferences_alertsSound_updateFail = 'settings.preferences.alertsSound.updateFail',\n /** \"Messages\" */ settings_preferences_messages_title = 'settings.preferences.messages.title',\n /** \"Browser notifications settings\" */ settings_preferences_messages_browserNotification = 'settings.preferences.messages.browserNotification',\n /** \"Disabling notifications\" */ settings_preferences_messages_disablingTitle = 'settings.preferences.messages.disablingTitle',\n /** \"In order to turn off notifications, please \" */ settings_preferences_messages_disablingMessage = 'settings.preferences.messages.disablingMessage',\n /** \" for browser-specific instructions.\" */ settings_preferences_messages_disablingMessageEnd = 'settings.preferences.messages.disablingMessageEnd',\n /** \"Updates\" */ settings_preferences_updates_title = 'settings.preferences.updates.title',\n /** \"Announcements (new features, etc)\" */ settings_preferences_updates_announcements = 'settings.preferences.updates.announcements',\n /** \"Newsletters (members news, etc)\" */ settings_preferences_updates_newsletters = 'settings.preferences.updates.newsletters',\n /** \"Promotions (offers, discounts, etc)\" */ settings_preferences_updates_promotions = 'settings.preferences.updates.promotions',\n /** \"Notifications updated successfully\" */ settings_preferences_updates_snackBarSuccess = 'settings.preferences.updates.snackBarSuccess',\n /** \"Notifications failed to update\" */ settings_preferences_updates_snackBarFailure = 'settings.preferences.updates.snackBarFailure',\n /** \"Alerts/Leads\" */ settings_preferences_alertsLeads_title = 'settings.preferences.alertsLeads.title',\n /** \"Instant load/truck matching\" */ settings_preferences_alertsLeads_loadTruckMatching = 'settings.preferences.alertsLeads.loadTruckMatching',\n /** \"Mileage and routing\" */ settings_preferences_mileageAndRouting_title = 'settings.preferences.mileageAndRouting.title',\n /** \"Basic Options\" */ settings_preferences_mileageAndRouting_basic = 'settings.preferences.mileageAndRouting.basic',\n /** \"Advanced options\" */ settings_preferences_mileageAndRouting_advance = 'settings.preferences.mileageAndRouting.advance',\n /** \"Vehicle dimension\" */ settings_preferences_mileageAndRouting_vehicleDimension = 'settings.preferences.mileageAndRouting.vehicleDimension',\n /** \"Apply and save settings\" */ settings_preferences_mileageAndRouting_saveSettings = 'settings.preferences.mileageAndRouting.saveSettings',\n /** \"Updated successfully\" */ settings_preferences_mileageAndRouting_success = 'settings.preferences.mileageAndRouting.success',\n /** \"Failed to update\" */ settings_preferences_mileageAndRouting_error = 'settings.preferences.mileageAndRouting.error',\n /** \"Route method\" */ settings_preferences_mileageAndRouting_routeMethod_title = 'settings.preferences.mileageAndRouting.routeMethod.title',\n /** \"Shortest\" */ settings_preferences_mileageAndRouting_routeMethod_shortest = 'settings.preferences.mileageAndRouting.routeMethod.shortest',\n /** \"Practical\" */ settings_preferences_mileageAndRouting_routeMethod_practical = 'settings.preferences.mileageAndRouting.routeMethod.practical',\n /** \"Tolls\" */ settings_preferences_mileageAndRouting_tolls_title = 'settings.preferences.mileageAndRouting.tolls.title',\n /** \"Avoid tolls (if possible)\" */ settings_preferences_mileageAndRouting_tolls_avoid = 'settings.preferences.mileageAndRouting.tolls.avoid',\n /** \"Tolls can be included\" */ settings_preferences_mileageAndRouting_tolls_included = 'settings.preferences.mileageAndRouting.tolls.included',\n /** \"Toll costs\" */ settings_preferences_mileageAndRouting_tolls_tollCost = 'settings.preferences.mileageAndRouting.tolls.tollCost',\n /** \"By axles\" */ settings_preferences_mileageAndRouting_tolls_axles = 'settings.preferences.mileageAndRouting.tolls.axles',\n /** \"By weight\" */ settings_preferences_mileageAndRouting_tolls_weight = 'settings.preferences.mileageAndRouting.tolls.weight',\n /** \"Null\" */ settings_preferences_mileageAndRouting_tolls_null = 'settings.preferences.mileageAndRouting.tolls.null',\n /** \"Map detail level\" */ settings_preferences_mileageAndRouting_mapDetail_title = 'settings.preferences.mileageAndRouting.mapDetail.title',\n /** \"Legend on the map\" */ settings_preferences_mileageAndRouting_legend_title = 'settings.preferences.mileageAndRouting.legend.title',\n /** \"Show legend\" */ settings_preferences_mileageAndRouting_legend_show = 'settings.preferences.mileageAndRouting.legend.show',\n /** \"Don't show legend\" */ settings_preferences_mileageAndRouting_legend_hide = 'settings.preferences.mileageAndRouting.legend.hide',\n /** \"Units\" */ settings_preferences_mileageAndRouting_units_title = 'settings.preferences.mileageAndRouting.units.title',\n /** \"English\" */ settings_preferences_mileageAndRouting_units_english = 'settings.preferences.mileageAndRouting.units.english',\n /** \"Metric\" */ settings_preferences_mileageAndRouting_units_metric = 'settings.preferences.mileageAndRouting.units.metric',\n /** \"Height\" */ settings_preferences_mileageAndRouting_dimension_height = 'settings.preferences.mileageAndRouting.dimension.height',\n /** \"Length\" */ settings_preferences_mileageAndRouting_dimension_length = 'settings.preferences.mileageAndRouting.dimension.length',\n /** \"Feet\" */ settings_preferences_mileageAndRouting_dimension_feet = 'settings.preferences.mileageAndRouting.dimension.feet',\n /** \"Inches\" */ settings_preferences_mileageAndRouting_dimension_inch = 'settings.preferences.mileageAndRouting.dimension.inch',\n /** \"Meters\" */ settings_preferences_mileageAndRouting_dimension_meters = 'settings.preferences.mileageAndRouting.dimension.meters',\n /** \"Invalid height\" */ settings_preferences_mileageAndRouting_dimension_invalidHeight = 'settings.preferences.mileageAndRouting.dimension.invalidHeight',\n /** \"Invalid length\" */ settings_preferences_mileageAndRouting_dimension_invalidLength = 'settings.preferences.mileageAndRouting.dimension.invalidLength',\n /** \"Width in Meters\" */ settings_preferences_mileageAndRouting_dimension_widthMeter = 'settings.preferences.mileageAndRouting.dimension.widthMeter',\n /** \"Width in Inches\" */ settings_preferences_mileageAndRouting_dimension_widthInch = 'settings.preferences.mileageAndRouting.dimension.widthInch',\n /** \"2.44 or Less\" */ settings_preferences_mileageAndRouting_dimension_meterOrLess = 'settings.preferences.mileageAndRouting.dimension.meterOrLess',\n /** \"2.59 or More\" */ settings_preferences_mileageAndRouting_dimension_meterOrMore = 'settings.preferences.mileageAndRouting.dimension.meterOrMore',\n /** \"96\\\" or Less\" */ settings_preferences_mileageAndRouting_dimension_inchOrLess = 'settings.preferences.mileageAndRouting.dimension.inchOrLess',\n /** \"102\\\" or More\" */ settings_preferences_mileageAndRouting_dimension_inchOrMore = 'settings.preferences.mileageAndRouting.dimension.inchOrMore',\n /** \"Weight in Lbs\" */ settings_preferences_mileageAndRouting_dimension_weightLbs = 'settings.preferences.mileageAndRouting.dimension.weightLbs',\n /** \"Weight in Kgs\" */ settings_preferences_mileageAndRouting_dimension_weightKgs = 'settings.preferences.mileageAndRouting.dimension.weightKgs',\n /** \"Hazmat\" */ settings_preferences_mileageAndRouting_hazmat_title = 'settings.preferences.mileageAndRouting.hazmat.title',\n /** \"Hazmat type\" */ settings_preferences_mileageAndRouting_hazmat_type = 'settings.preferences.mileageAndRouting.hazmat.type',\n /** \"General\" */ settings_preferences_mileageAndRouting_hazmat_general = 'settings.preferences.mileageAndRouting.hazmat.general',\n /** \"Caustic\" */ settings_preferences_mileageAndRouting_hazmat_caustic = 'settings.preferences.mileageAndRouting.hazmat.caustic',\n /** \"Explosives\" */ settings_preferences_mileageAndRouting_hazmat_explosive = 'settings.preferences.mileageAndRouting.hazmat.explosive',\n /** \"None\" */ settings_preferences_mileageAndRouting_hazmat_none = 'settings.preferences.mileageAndRouting.hazmat.none',\n /** \"Flammable\" */ settings_preferences_mileageAndRouting_hazmat_flammable = 'settings.preferences.mileageAndRouting.hazmat.flammable',\n /** \"Inhalants\" */ settings_preferences_mileageAndRouting_hazmat_inhalants = 'settings.preferences.mileageAndRouting.hazmat.inhalants',\n /** \"Radioactive\" */ settings_preferences_mileageAndRouting_hazmat_radioactive = 'settings.preferences.mileageAndRouting.hazmat.radioactive',\n /** \"International\" */ settings_preferences_mileageAndRouting_border_international = 'settings.preferences.mileageAndRouting.border.international',\n /** \"Cross-over borders\" */ settings_preferences_mileageAndRouting_border_border = 'settings.preferences.mileageAndRouting.border.border',\n /** \"Search results\" */ settings_preferences_searchResults_title = 'settings.preferences.searchResults.title',\n /** \"Rate Check\" */ settings_preferences_searchResults_averageRateHeader = 'settings.preferences.searchResults.averageRateHeader',\n /** \"RATE CHECK\" */ settings_preferences_searchResults_averageRateLabel = 'settings.preferences.searchResults.averageRateLabel',\n /** \"Display average rate information on load results\" */ settings_preferences_searchResults_checkboxLabel = 'settings.preferences.searchResults.checkboxLabel',\n /** \"Rate Check setting updated successfully\" */ settings_preferences_searchResults_snackBarSuccess = 'settings.preferences.searchResults.snackBarSuccess',\n /** \"Rate Check setting failed to update\" */ settings_preferences_searchResults_snackBarFailure = 'settings.preferences.searchResults.snackBarFailure',\n /** \"Manage fuel mileage (MPG)\" */ settings_preferences_manageFuelMileage = 'settings.preferences.manageFuelMileage',\n /** \"Enter your MPG for more accurate mileage and income estimates\" */ settings_preferences_mpg_description = 'settings.preferences.mpg.description',\n /** \"Your MPG was updated successfully\" */ settings_preferences_mpg_snackBarSuccess = 'settings.preferences.mpg.snackBarSuccess',\n /** \"Your MPG failed to update\" */ settings_preferences_mpg_snackBarFailure = 'settings.preferences.mpg.snackBarFailure',\n /** \"MPG\" */ settings_preferences_mpg_title = 'settings.preferences.mpg.title',\n /** \"Privacy control\" */ settings_preferences_privacyControl = 'settings.preferences.privacyControl',\n /** \"Exporting load details\" */ settings_preferences_exportingLoadDetails_title = 'settings.preferences.exportingLoadDetails.title',\n /** \"Export load details\" */ settings_preferences_exportingLoadDetails_exportLoadDetails = 'settings.preferences.exportingLoadDetails.exportLoadDetails',\n /** \"Select your exporting options\" */ settings_preferences_exportingLoadDetails_description = 'settings.preferences.exportingLoadDetails.description',\n /** \"COTA\" */ settings_preferences_exportingLoadDetails_cota = 'settings.preferences.exportingLoadDetails.cota',\n /** \"Export\" */ settings_preferences_exportingLoadDetails_export = 'settings.preferences.exportingLoadDetails.export',\n /** \"Allow load exporting to COTA\" */ settings_preferences_exportingLoadDetails_exportingToCota = 'settings.preferences.exportingLoadDetails.exportingToCota',\n /** \"COTA is a dispatching software that helps you manage your load from pickup to delivery and includes features like tracking and invoicing.\" */ settings_preferences_exportingLoadDetails_popUpCota_part1 = 'settings.preferences.exportingLoadDetails.popUpCota.part1',\n /** \"Please visit \" */ settings_preferences_exportingLoadDetails_popUpCota_part2 = 'settings.preferences.exportingLoadDetails.popUpCota.part2',\n /** \"www.cotasystem.com\" */ settings_preferences_exportingLoadDetails_popUpCota_part3 = 'settings.preferences.exportingLoadDetails.popUpCota.part3',\n /** \" for more information.\" */ settings_preferences_exportingLoadDetails_popUpCota_part4 = 'settings.preferences.exportingLoadDetails.popUpCota.part4',\n /** \"To learn more about how 123Loadboard works with COTA, please visit our \" */ settings_preferences_exportingLoadDetails_popUpCota_part5 = 'settings.preferences.exportingLoadDetails.popUpCota.part5',\n /** \"FAQ.\" */ settings_preferences_exportingLoadDetails_popUpCota_part6 = 'settings.preferences.exportingLoadDetails.popUpCota.part6',\n /** \"Exporting load details settings updated successfully\" */ settings_preferences_exportingLoadDetails_snackBarSuccess = 'settings.preferences.exportingLoadDetails.snackBarSuccess',\n /** \"Exporting load details settings failed to update\" */ settings_preferences_exportingLoadDetails_snackBarFailure = 'settings.preferences.exportingLoadDetails.snackBarFailure',\n /** \"Hot leads\" */ settings_preferences_hotLeads_title = 'settings.preferences.hotLeads.title',\n /** \"Hot leads updated successfully\" */ settings_preferences_hotLeads_snackBarSuccess = 'settings.preferences.hotLeads.snackBarSuccess',\n /** \"Hot leads failed to update\" */ settings_preferences_hotLeads_snackBarFailure = 'settings.preferences.hotLeads.snackBarFailure',\n /** \"Legal\" */ settings_legal_title = 'settings.legal.title',\n /** \"Terms of service\" */ settings_legal_termsOfService = 'settings.legal.termsOfService',\n /** \"Privacy policy\" */ settings_legal_privacyPolicy = 'settings.legal.privacyPolicy',\n /** \"Open source licenses\" */ settings_legal_openSourceLicenses = 'settings.legal.openSourceLicenses',\n /** \"Receive calls from brokers and shippers based on your search data\" */ settings_receiveHotLeadCalls = 'settings.receiveHotLeadCalls',\n /** \"Posting contact\" */ settings_postingContacts_postingContact = 'settings.postingContacts.postingContact',\n /** \"Posting contacts\" */ settings_postingContacts_postingContacts = 'settings.postingContacts.postingContacts',\n /** \"Add contact\" */ settings_postingContacts_addContact = 'settings.postingContacts.addContact',\n /** \"Edit contact\" */ settings_postingContacts_editContact = 'settings.postingContacts.editContact',\n /** \"Add new\" */ settings_postingContacts_addNew = 'settings.postingContacts.addNew',\n /** \"Posting contact info\" */ settings_postingContacts_postingContactInfo = 'settings.postingContacts.postingContactInfo',\n /** \"Default\" */ settings_postingContacts_default = 'settings.postingContacts.default',\n /** \"Please contact our Posting department\" */ settings_postingContacts_pleaseContactPostingDepartment = 'settings.postingContacts.pleaseContactPostingDepartment',\n /** \"to make changes to the default posting contact.\" */ settings_postingContacts_toMakeChangesToDefaultContact = 'settings.postingContacts.toMakeChangesToDefaultContact',\n /** \"Manage your posting contacts\" */ settings_postingContacts_manageYourPostingContacts = 'settings.postingContacts.manageYourPostingContacts',\n /** \"877-875-5301 ext.2\" */ settings_postingContacts_postingDepartmentPhone = 'settings.postingContacts.postingDepartmentPhone',\n /** \"Delete Posting Contact\" */ settings_postingContacts_popups_delete_title = 'settings.postingContacts.popups.delete.title',\n /** \"Are you sure that you want to delete this posting contact?\" */ settings_postingContacts_popups_delete_warning = 'settings.postingContacts.popups.delete.warning',\n /** \"Manage posting contacts\" */ settings_postingContacts_popups_manageContacts_title = 'settings.postingContacts.popups.manageContacts.title',\n /** \"Posting Contacts are the point-of-contact for carriers inquiring about your posted loads. This section allows you to quickly create, edit, and assign specific Posting Contacts to loads.\" */ settings_postingContacts_popups_manageContacts_content = 'settings.postingContacts.popups.manageContacts.content',\n /** \"Any changes to Posting Contacts do not apply to loads already posted.\" */ settings_postingContacts_popups_manageContacts_warning = 'settings.postingContacts.popups.manageContacts.warning',\n /** \"Posting contact added\" */ settings_postingContacts_snackbars_contactAdded = 'settings.postingContacts.snackbars.contactAdded',\n /** \"Posting contact updated\" */ settings_postingContacts_snackbars_contactUpdated = 'settings.postingContacts.snackbars.contactUpdated',\n /** \"Posting contact deleted\" */ settings_postingContacts_snackbars_contactDeleted = 'settings.postingContacts.snackbars.contactDeleted',\n /** \"No client applications\" */ intg_clients_empty = 'intg.clients.empty',\n /** \"The client application list is currently empty. To create a client application, please contact the integrations team at integrations@123loadboard.com\" */ intg_clients_emptyParagraph = 'intg.clients.emptyParagraph',\n /** \"Client not found\" */ intg_client_notFound = 'intg.client.notFound',\n /** \"Remove logo\" */ intg_client_logo_popupTitle = 'intg.client.logo.popupTitle',\n /** \"Are you sure you want to remove your logo?\" */ intg_client_logo_popupContent = 'intg.client.logo.popupContent',\n /** \"Client Logo Info\" */ intg_client_logo_infoTitle = 'intg.client.logo.infoTitle',\n /** \"The client logo will be displayed to your customers when they try to login to our platform through your application. Click on the 'Try it out!' button to see this page.\" */ intg_client_logo_infoText1 = 'intg.client.logo.infoText1',\n /** \"The logo will be cropped to 4:3 and should have a width around 1024px.\" */ intg_client_logo_infoText2 = 'intg.client.logo.infoText2',\n /** \"Client Name Info\" */ intg_client_nameInfoTitle = 'intg.client.nameInfoTitle',\n /** \"The client name will be displayed to your customers when they try to login to our platform through your application.\" */ intg_client_nameInfoText1 = 'intg.client.nameInfoText1',\n /** \"Please fill out the field below to edit this client application name.\" */ intg_client_nameFieldPrompt = 'intg.client.nameFieldPrompt',\n /** \"Client application name\" */ intg_client_nameTitle = 'intg.client.nameTitle',\n /** \"Client name saved\" */ intg_client_nameSaved = 'intg.client.nameSaved',\n /** \"Invalid client name\" */ intg_client_invalidName = 'intg.client.invalidName',\n /** \"Add or remove your redirect URI(s)\" */ intg_client_manageURIsPrompt = 'intg.client.manageURIsPrompt',\n /** \"Delete redirect URI\" */ intg_client_removeURILabel = 'intg.client.removeURILabel',\n /** \"Are you sure you want to delete this redirect URI?\" */ intg_client_removeURIPrompt = 'intg.client.removeURIPrompt',\n /** \"URI removed\" */ intg_client_uriRemoved = 'intg.client.uriRemoved',\n /** \"You cannot delete the only URI. Please add a new one if you want to delete this one.\" */ intg_client_cannotRemoveLastURI = 'intg.client.cannotRemoveLastURI',\n /** \"Please enter the redirect URI you would like to add\" */ intg_client_uriFieldPrompt = 'intg.client.uriFieldPrompt',\n /** \"URI path\" */ intg_client_uriFieldLabel = 'intg.client.uriFieldLabel',\n /** \"New URI added\" */ intg_client_uriAdded = 'intg.client.uriAdded',\n /** \"Invalid redirect URI\" */ intg_client_invalidURI = 'intg.client.invalidURI',\n /** \"Regenerate credentials\" */ intg_client_regenerateLabel = 'intg.client.regenerateLabel',\n /** \"Are you sure you want to regenerate your credentials?\" */ intg_client_regneratePrompt = 'intg.client.regneratePrompt',\n /** \"Client credentials regenerated\" */ intg_client_regenerateSuccess = 'intg.client.regenerateSuccess',\n /** \"Client secret copied to clipboard\" */ intg_client_secretCopied = 'intg.client.secretCopied',\n /** \"Account\" */ menu_account_title = 'menu.account.title',\n /** \"Sign in\" */ menu_account_signin = 'menu.account.signin',\n /** \"Sign up\" */ menu_account_register = 'menu.account.register',\n /** \"Carrier\" */ menu_carrier = 'menu.carrier',\n /** \"Broker/Shipper\" */ menu_broker = 'menu.broker',\n /** \"Broker \\n Shipper\" */ menu_brokerSmall = 'menu.brokerSmall',\n /** \"Integrator\" */ menu_integrator = 'menu.integrator',\n /** \"Companies\" */ menu_companies_myCompanies = 'menu.companies.myCompanies',\n /** \"Main\" */ menu_main_title = 'menu.main.title',\n /** \"Dashboard\" */ menu_main_dashboard = 'menu.main.dashboard',\n /** \"Alerts\" */ menu_main_alerts = 'menu.main.alerts',\n /** \"Messages\" */ menu_main_messages = 'menu.main.messages',\n /** \"Clients\" */ menu_environments_title = 'menu.environments.title',\n /** \"Dev\" */ menu_environments_dev = 'menu.environments.dev',\n /** \"Live\" */ menu_environments_live = 'menu.environments.live',\n /** \"Loads\" */ menu_loads_title = 'menu.loads.title',\n /** \"Find loads\" */ menu_loads_findLoads = 'menu.loads.findLoads',\n /** \"Load availability\" */ menu_loads_loadAvailability = 'menu.loads.loadAvailability',\n /** \"Trip builder\" */ menu_loads_tripBuilder = 'menu.loads.tripBuilder',\n /** \"Load planner\" */ menu_loads_loadPlanner = 'menu.loads.loadPlanner',\n /** \"My loads\" */ menu_loads_myLoads = 'menu.loads.myLoads',\n /** \"My companies\" */ menu_loads_myCompanies = 'menu.loads.myCompanies',\n /** \"My Loads\" */ menu_myLoads_title = 'menu.myLoads.title',\n /** \"Post Loads\" */ menu_myLoads_post = 'menu.myLoads.post',\n /** \"Upload Posts\" */ menu_myLoads_uploadPosts = 'menu.myLoads.uploadPosts',\n /** \"Export Posts\" */ menu_myLoads_exportPosts = 'menu.myLoads.exportPosts',\n /** \"My Trucks\" */ menu_myTrucks_title = 'menu.myTrucks.title',\n /** \"Post truck\" */ menu_myTrucks_post = 'menu.myTrucks.post',\n /** \"Find Trucks\" */ menu_findTrucks_title = 'menu.findTrucks.title',\n /** \"Truck locator\" */ menu_findTrucks_search = 'menu.findTrucks.search',\n /** \"Carriers\" */ menu_findTrucks_myCarriers = 'menu.findTrucks.myCarriers',\n /** \"Tools\" */ menu_tools_title = 'menu.tools.title',\n /** \"Profit calculator\" */ menu_tools_profitCalculator = 'menu.tools.profitCalculator',\n /** \"Rate check\" */ menu_tools_rateCheck = 'menu.tools.rateCheck',\n /** \"Carrier Monitor\" */ menu_tools_carrierMonitor = 'menu.tools.carrierMonitor',\n /** \"Hot Leads\" */ menu_tools_hotLeads = 'menu.tools.hotLeads',\n /** \"Mileage calculator\" */ menu_tools_mileageCalculator = 'menu.tools.mileageCalculator',\n /** \"My Documents\" */ menu_tools_myDocuments = 'menu.tools.myDocuments',\n /** \"Services\" */ menu_services_title = 'menu.services.title',\n /** \"Get paid faster\" */ menu_services_getPaidFaster = 'menu.services.getPaidFaster',\n /** \"Save at the pump\" */ menu_services_saveAtThePump = 'menu.services.saveAtThePump',\n /** \"Roadside assistance\" */ menu_services_roadsideAssistance = 'menu.services.roadsideAssistance',\n /** \"Trucking authority\" */ menu_services_truckingAuthority = 'menu.services.truckingAuthority',\n /** \"Integration Services\" */ menu_integrationServices_title = 'menu.integrationServices.title',\n /** \"TMS Integration\" */ menu_integrationServices_tmsIntegration = 'menu.integrationServices.tmsIntegration',\n /** \"HTML Embed Code\" */ menu_integrationServices_htmlEmbed = 'menu.integrationServices.htmlEmbed',\n /** \"Posting Aid Software\" */ menu_integrationServices_postingAid = 'menu.integrationServices.postingAid',\n /** \"Resources\" */ menu_resources_title = 'menu.resources.title',\n /** \"Fuel prices\" */ menu_resources_fuelPrices = 'menu.resources.fuelPrices',\n /** \"FMCSA search\" */ menu_resources_fmcsaSearch = 'menu.resources.fmcsaSearch',\n /** \"Credit report\" */ menu_resources_creditReport = 'menu.resources.creditReport',\n /** \"Search directory\" */ menu_resources_searchDirectory = 'menu.resources.searchDirectory',\n /** \"Reefer rates\" */ menu_resources_reeferRates = 'menu.resources.reeferRates',\n /** \"Border wait times\" */ menu_resources_borderWaitTimes = 'menu.resources.borderWaitTimes',\n /** \"More\" */ menu_more_title = 'menu.more.title',\n /** \"Settings\" */ menu_more_settings = 'menu.more.settings',\n /** \"Help\" */ menu_more_help = 'menu.more.help',\n /** \"Logout\" */ menu_more_logout = 'menu.more.logout',\n /** \"Origin\" */ menu_mileageCalculatorPanel_originLabel = 'menu.mileageCalculatorPanel.originLabel',\n /** \"Destination\" */ menu_mileageCalculatorPanel_destinationLabel = 'menu.mileageCalculatorPanel.destinationLabel',\n /** \"Add stops\" */ menu_mileageCalculatorPanel_addStop = 'menu.mileageCalculatorPanel.addStop',\n /** \"Edit stop\" */ menu_mileageCalculatorPanel_editStop = 'menu.mileageCalculatorPanel.editStop',\n /** \"Stops\" */ menu_mileageCalculatorPanel_Stops = 'menu.mileageCalculatorPanel.Stops',\n /** \"Stop {{index}}: \" */ menu_mileageCalculatorPanel_Stop = 'menu.mileageCalculatorPanel.Stop',\n /** \"Origin: \" */ menu_mileageCalculatorPanel_Origin = 'menu.mileageCalculatorPanel.Origin',\n /** \"Dest: \" */ menu_mileageCalculatorPanel_Dest = 'menu.mileageCalculatorPanel.Dest',\n /** \"StateMileageReport\" */ menu_mileageCalculatorPanel_csvFileName = 'menu.mileageCalculatorPanel.csvFileName',\n /** \"Route info\" */ menu_mileageCalculatorPanel_routeInfo = 'menu.mileageCalculatorPanel.routeInfo',\n /** \"IFTA report\" */ menu_mileageCalculatorPanel_iftaReport = 'menu.mileageCalculatorPanel.iftaReport',\n /** \"Start: \" */ menu_mileageCalculatorPanel_Start = 'menu.mileageCalculatorPanel.Start',\n /** \"End: \" */ menu_mileageCalculatorPanel_End = 'menu.mileageCalculatorPanel.End',\n /** \"Total distance: \" */ menu_mileageCalculatorPanel_totalDistance = 'menu.mileageCalculatorPanel.totalDistance',\n /** \"Total driving time: \" */ menu_mileageCalculatorPanel_totalDrivingTime = 'menu.mileageCalculatorPanel.totalDrivingTime',\n /** \"Total toll cost: \" */ menu_mileageCalculatorPanel_totalTollCost = 'menu.mileageCalculatorPanel.totalTollCost',\n /** \"State by state mileage report\" */ menu_mileageCalculatorPanel_stateMileageReport = 'menu.mileageCalculatorPanel.stateMileageReport',\n /** \"Profit calculator\" */ menu_mileageCalculatorPanel_profitCalculator = 'menu.mileageCalculatorPanel.profitCalculator',\n /** \"Profit $-\" */ menu_mileageCalculatorPanel_profitInfo = 'menu.mileageCalculatorPanel.profitInfo',\n /** \"Departure from: \" */ menu_mileageCalculatorPanel_departureFrom = 'menu.mileageCalculatorPanel.departureFrom',\n /** \"Arrival to: \" */ menu_mileageCalculatorPanel_arriavalTo = 'menu.mileageCalculatorPanel.arriavalTo',\n /** \"Upgrade your plan\" */ menu_mileageCalculatorPanel_upgradePlan = 'menu.mileageCalculatorPanel.upgradePlan',\n /** \"Download state mileage report (IFTA)\" */ menu_mileageCalculatorPanel_downloadCSV = 'menu.mileageCalculatorPanel.downloadCSV',\n /** \"Interactive map\" */ menu_mileageCalculatorPanel_interactiveMap = 'menu.mileageCalculatorPanel.interactiveMap',\n /** \"Page Not Found\" */ errors_not_found_Title = 'errors.not_found.Title',\n /** \"It seems we can't find the page you're looking for.\" */ errors_not_found_Message = 'errors.not_found.Message',\n /** \"Either something went wrong, or the page no longer exists.\" */ errors_not_found_Sub_Message = 'errors.not_found.Sub_Message',\n /** \"Page couldn't load\" */ errors_no_component_Title = 'errors.no_component.Title',\n /** \"It seems we can't load this page at this moment.\" */ errors_no_component_Message = 'errors.no_component.Message',\n /** \"Try to reload the page. If the problem persist, please contact support.\" */ errors_no_component_Sub_Message = 'errors.no_component.Sub_Message',\n /** \"Reload page\" */ errors_no_component_Button = 'errors.no_component.Button',\n /** \"Our system encountered an error.\" */ errors_systemEncounteredError = 'errors.systemEncounteredError',\n /** \"Company added to your favorites\" */ snackbars_companyFavorited = 'snackbars.companyFavorited',\n /** \"Company removed from your favorites\" */ snackbars_companyUnfavorited = 'snackbars.companyUnfavorited',\n /** \"Company is now blocked\" */ snackbars_companyBlocked = 'snackbars.companyBlocked',\n /** \"Company is unblocked\" */ snackbars_companyUnblocked = 'snackbars.companyUnblocked',\n /** \"Company marked as onboarded\" */ snackbars_companyOnboarded = 'snackbars.companyOnboarded',\n /** \"Company removed from onboarded\" */ snackbars_companyUnonboarded = 'snackbars.companyUnonboarded',\n /** \"Feed\" */ feed_Feed = 'feed.Feed',\n /** \"Videos\" */ feed_Videos = 'feed.Videos',\n /** \"Help\" */ feed_Help = 'feed.Help',\n /** \"Coming soon\" */ feed_comingSoon_title = 'feed.comingSoon.title',\n /** \"We are currently working on this video tutorial, stay tuned!\" */ feed_comingSoon_subtitle0 = 'feed.comingSoon.subtitle0',\n /** \"In the meantime, please \" */ feed_comingSoon_subtitle1 = 'feed.comingSoon.subtitle1',\n /** \" or check out our help page.\" */ feed_comingSoon_subtitle2 = 'feed.comingSoon.subtitle2',\n /** \"watch our other videos\" */ feed_comingSoon_linkText = 'feed.comingSoon.linkText',\n /** \"Assigned\" */ postedLoadStatus_assigned_title = 'postedLoadStatus.assigned.title',\n /** \"Assign this load to a carrier.\" */ postedLoadStatus_assigned_description = 'postedLoadStatus.assigned.description',\n /** \"Assigned to DOT#: \" */ postedLoadStatus_assigned_assignedTo = 'postedLoadStatus.assigned.assignedTo',\n /** \"Delivered\" */ postedLoadStatus_delivered_title = 'postedLoadStatus.delivered.title',\n /** \"Mark this load as \\\"Delivered\\\" for future reference.\" */ postedLoadStatus_delivered_description = 'postedLoadStatus.delivered.description',\n /** \"Unassigned\" */ postedLoadStatus_unassigned = 'postedLoadStatus.unassigned',\n /** \"Load assigned\" */ postedLoadStatus_load_assigned = 'postedLoadStatus.load_assigned',\n /** \"Assign carrier\" */ postedLoadStatus_popup_title = 'postedLoadStatus.popup.title',\n /** \"Please enter the Carrier’s DOT number to assign this load.\" */ postedLoadStatus_popup_content = 'postedLoadStatus.popup.content',\n /** \"DOT#\" */ postedLoadStatus_popup_dot = 'postedLoadStatus.popup.dot',\n /** \"Assign\" */ postedLoadStatus_popup_assign = 'postedLoadStatus.popup.assign',\n /** \"Load assigned\" */ postedLoadStatus_popup_success = 'postedLoadStatus.popup.success',\n /** \"Unable to assign\" */ postedLoadStatus_popup_unable = 'postedLoadStatus.popup.unable',\n /** \"This load cannot be assigned as it has multiple quantities.\" */ postedLoadStatus_popup_multiple = 'postedLoadStatus.popup.multiple',\n /** \"Unassign\" */ postedLoadStatus_unassign_title = 'postedLoadStatus.unassign.title',\n /** \"Are you sure you want to unassign this load, or would you like to assign a new carrier?\" */ postedLoadStatus_unassign_question = 'postedLoadStatus.unassign.question',\n /** \"If you’d still like to unassign the load, please choose one of the following options: \" */ postedLoadStatus_unassign_options = 'postedLoadStatus.unassign.options',\n /** \"Unassign and post online\" */ postedLoadStatus_unassign_online = 'postedLoadStatus.unassign.online',\n /** \"Unassign and post offline\" */ postedLoadStatus_unassign_offline = 'postedLoadStatus.unassign.offline',\n /** \"Unassign and delete\" */ postedLoadStatus_unassign_delete = 'postedLoadStatus.unassign.delete',\n /** \"Hello, {{name}}.\" */ accountSetup_title = 'accountSetup.title',\n /** \"Get immediate access to your account by selecting a plan and entering your billing details.\" */ accountSetup_description = 'accountSetup.description',\n /** \"Your account status is currently inactive.\\n\\nGet immediate access to your account by entering your billing details.\" */ accountSetup_brokerDescription = 'accountSetup.brokerDescription',\n /** \"{{daysCount}} days free\" */ accountSetup_promoCode_title = 'accountSetup.promoCode.title',\n /** \"Then ${{price}} per month\" */ accountSetup_promoCode_titleDescription = 'accountSetup.promoCode.titleDescription',\n /** \"Add promo code\" */ accountSetup_promoCode_addPromoCode = 'accountSetup.promoCode.addPromoCode',\n /** \"Please enter your promo code\" */ accountSetup_promoCode_description = 'accountSetup.promoCode.description',\n /** \"Promo code\" */ accountSetup_promoCode_label = 'accountSetup.promoCode.label',\n /** \"You unlocked a {{daysCount}} day trial and {{percent}}% discount\" */ accountSetup_promoCode_details1 = 'accountSetup.promoCode.details1',\n /** \"You unlocked a {{daysCount}} day trial\" */ accountSetup_promoCode_details2 = 'accountSetup.promoCode.details2',\n /** \"You unlocked a {{percent}}% discount\" */ accountSetup_promoCode_details3 = 'accountSetup.promoCode.details3',\n /** \"Invalid promo code\" */ accountSetup_promoCode_invalidCodeError = 'accountSetup.promoCode.invalidCodeError',\n /** \"This promo code is available only for {{plans}} plan(s)\" */ accountSetup_promoCode_invalidCodeForPlan = 'accountSetup.promoCode.invalidCodeForPlan',\n /** \"Your account status has been put on hold.\" */ accountSetup_setPlanAccessError_message1 = 'accountSetup.setPlanAccessError.message1',\n /** \"Your monthly payment was unable to be charged.\" */ accountSetup_setPlanAccessError_message2 = 'accountSetup.setPlanAccessError.message2',\n /** \"You can get immediate access to your account by updating your billing information.\" */ accountSetup_setPlanAccessError_message3 = 'accountSetup.setPlanAccessError.message3',\n /** \"Change plan\" */ accountSetup_changePlan = 'accountSetup.changePlan',\n /** \"Subtotal\" */ accountSetup_subtotal = 'accountSetup.subtotal',\n /** \"Total due today\" */ accountSetup_totalDay = 'accountSetup.totalDay',\n /** \"Total after trial/per month\" */ accountSetup_totalAfterTrial = 'accountSetup.totalAfterTrial',\n /** \"Monthly total after promo\" */ accountSetup_totalAfterPromo = 'accountSetup.totalAfterPromo',\n /** \"Not added\" */ accountSetup_notAdded = 'accountSetup.notAdded',\n /** \"After your trial ends, you will be charged ${{price}} per month starting {{date}}. You may unsubscribe at any time.\" */ accountSetup_trialDescription = 'accountSetup.trialDescription',\n /** \"User\" */ accountSetup_user = 'accountSetup.user',\n /** \"Activate\" */ accountSetup_activate = 'accountSetup.activate',\n /** \"Refresh\" */ accountSetup_refresh = 'accountSetup.refresh',\n /** \"Failed to process payment\" */ accountSetup_permissionFailed = 'accountSetup.permissionFailed',\n /** \"Server connection error\" */ accountSetup_fetchingDataFailed = 'accountSetup.fetchingDataFailed',\n /** \"877-875-5301 ext. 2\" */ accountSetup_fetchingDataFailedPhone = 'accountSetup.fetchingDataFailedPhone',\n /** \"An error occurred while loading your user information. Please refresh the page to try again.\" */ accountSetup_fetchingDataFailedDescription = 'accountSetup.fetchingDataFailedDescription',\n /** \"If you’re still experiencing issues reactivating your account, please contact Support at\" */ accountSetup_fetchingDataFailedContact = 'accountSetup.fetchingDataFailedContact',\n /** \"Need help with your account? Call us\" */ accountSetup_needHelpText = 'accountSetup.needHelpText',\n /** \"Account status\" */ accountSetup_accountStatus = 'accountSetup.accountStatus',\n /** \"Access to 123Loadboard is currently unavailable. You don’t have the necessary permissions to edit payment method. Please notify the account owner\" */ accountSetup_accessDeniedPermission1 = 'accountSetup.accessDeniedPermission1',\n /** \"to update the payment method.\" */ accountSetup_accessDeniedPermission2 = 'accountSetup.accessDeniedPermission2',\n /** \"Enter payment details\" */ accountSetup_editPayment = 'accountSetup.editPayment',\n /** \"Tax\" */ accountSetup_tax = 'accountSetup.tax',\n /** \"A reactivation error has occurred, to reactivate please call support\" */ accountSetup_errors_status = 'accountSetup.errors.status',\n /** \"There was an error processing your payment\" */ accountSetup_errors_invoice = 'accountSetup.errors.invoice',\n /** \"Access denied for free Basic accounts\" */ accountSetup_statusMessage_MobileSignUpInProgress_title = 'accountSetup.statusMessage.MobileSignUpInProgress.title',\n /** \"Access to the 123Loadboard website is only available with a paid membership. Please select a plan below.\" */ accountSetup_statusMessage_MobileSignUpInProgress_description = 'accountSetup.statusMessage.MobileSignUpInProgress.description',\n /** \"Failed to process billing information\" */ accountSetup_statusMessage_SignUpInProgress_title = 'accountSetup.statusMessage.SignUpInProgress.title',\n /** \"Your billing information was not processed correctly, please try again.\" */ accountSetup_statusMessage_SignUpInProgress_description = 'accountSetup.statusMessage.SignUpInProgress.description',\n /** \"Your payment failed to process\" */ accountSetup_statusMessage_PendingPayment_title = 'accountSetup.statusMessage.PendingPayment.title',\n /** \"We were not able to process your payment, access to the 123Loadboard website is only available with a paid membership. Please update your billing information.\" */ accountSetup_statusMessage_PendingPayment_description = 'accountSetup.statusMessage.PendingPayment.description',\n /** \"Your account is currently closed.\" */ accountSetup_statusMessage_Expired_title = 'accountSetup.statusMessage.Expired.title',\n /** \"Access to the 123Loadboard website is only available with a paid membership. Please select a plan below.\" */ accountSetup_statusMessage_Expired_description = 'accountSetup.statusMessage.Expired.description',\n /** \"Your account is currently closed.\" */ accountSetup_statusMessage_OnHold_title = 'accountSetup.statusMessage.OnHold.title',\n /** \"To reopen your account, please re-enter your billing information below.\" */ accountSetup_statusMessage_OnHold_description = 'accountSetup.statusMessage.OnHold.description',\n /** \"Your account is currently closed.\" */ accountSetup_statusMessage_BillingOnHold_title = 'accountSetup.statusMessage.BillingOnHold.title',\n /** \"Please update your billing information.\" */ accountSetup_statusMessage_BillingOnHold_description = 'accountSetup.statusMessage.BillingOnHold.description',\n /** \"Failed to process payment\" */ accountSetup_statusMessage_SecondaryUserNonAdmin_title = 'accountSetup.statusMessage.SecondaryUserNonAdmin.title',\n /** \"To gain access, please ask your account Administrator to update the billing information.\" */ accountSetup_statusMessage_SecondaryUserNonAdmin_description = 'accountSetup.statusMessage.SecondaryUserNonAdmin.description',\n /** \"Your account is currently closed.\" */ accountSetup_statusMessage_NoBillingStatus_title = 'accountSetup.statusMessage.NoBillingStatus.title',\n /** \"Access to the 123Loadboard website is only available with a paid membership. Please select a plan below.\" */ accountSetup_statusMessage_NoBillingStatus_description = 'accountSetup.statusMessage.NoBillingStatus.description',\n /** \"Membership plan was activated\" */ accountSetup_reactivateActionResult_success = 'accountSetup.reactivateActionResult.success',\n /** \"Membership plan activation failed\" */ accountSetup_reactivateActionResult_fail = 'accountSetup.reactivateActionResult.fail',\n /** \"Custom rule: \" */ loadVisibilityRules_customRule = 'loadVisibilityRules.customRule',\n /** \"Post with visibility rules\" */ loadVisibilityRules_checkboxPostWithVisibilityRules = 'loadVisibilityRules.checkboxPostWithVisibilityRules',\n /** \"Change rule\" */ loadVisibilityRules_changeRule = 'loadVisibilityRules.changeRule',\n /** \"Post with visibility rules\" */ loadVisibilityRules_postWithVisibilityRules = 'loadVisibilityRules.postWithVisibilityRules',\n /** \"Load visibility rules allow you to control which carriers can see your loads.\" */ loadVisibilityRules_postFormContent = 'loadVisibilityRules.postFormContent',\n /** \"Restrict the audience to onboarded carriers only, or use criteria like insurance amount or authority age to limit load visibility.\" */ loadVisibilityRules_postFormMoreContent = 'loadVisibilityRules.postFormMoreContent',\n /** \"Any carrier\" */ loadVisibilityRules_anyCarrier = 'loadVisibilityRules.anyCarrier',\n /** \" {{value}} of authority\" */ loadVisibilityRules_ofAuthority = 'loadVisibilityRules.ofAuthority',\n /** \" {{value}} insurance\" */ loadVisibilityRules_valueInsurance = 'loadVisibilityRules.valueInsurance',\n /** \" onboarded\" */ loadVisibilityRules_onboarded = 'loadVisibilityRules.onboarded',\n /** \"with at least\" */ loadVisibilityRules_withAtLeast = 'loadVisibilityRules.withAtLeast',\n /** \"and at least\" */ loadVisibilityRules_andAtLeast = 'loadVisibilityRules.andAtLeast',\n /** \"At posting time,\" */ loadVisibilityRules_atPostingTime = 'loadVisibilityRules.atPostingTime',\n /** \"the load will be visible to:\" */ loadVisibilityRules_willBeVisibleTo = 'loadVisibilityRules.willBeVisibleTo',\n /** \"the load will also be visible to:\" */ loadVisibilityRules_willAlsoBeVisibleTo = 'loadVisibilityRules.willAlsoBeVisibleTo',\n /** \"after posting, the load will\" */ loadVisibilityRules_afterPostingTime = 'loadVisibilityRules.afterPostingTime',\n /** \"be visible to:\" */ loadVisibilityRules_beVisibleTo = 'loadVisibilityRules.beVisibleTo',\n /** \"also\" */ loadVisibilityRules_also = 'loadVisibilityRules.also',\n /** \"Any carrier who is\" */ loadVisibilityRules_carrierWhoIsOnboarded = 'loadVisibilityRules.carrierWhoIsOnboarded',\n /** \"Default\" */ loadVisibilityRules_default = 'loadVisibilityRules.default',\n /** \"Load visibility rules allow you to control which carriers can see your loads based on criteria like insurance level, onboarding status, authority age, etc.\\n\\nYou can also set up cascading load visibility rules to, over time, expand the range of carriers able to see your loads.\\n\\nThese load visibility rules can be applied when posting loads manually.\" */ loadVisibilityRules_emptyContent = 'loadVisibilityRules.emptyContent',\n /** \"Load visibility rules control which carriers can see your freight.\" */ loadVisibilityRules_content = 'loadVisibilityRules.content',\n /** \"Start by setting up some rules here. You may then apply these rules when posting loads.\" */ loadVisibilityRules_moreContent = 'loadVisibilityRules.moreContent',\n /** \"Make default\" */ loadVisibilityRules_makeDefault = 'loadVisibilityRules.makeDefault',\n /** \"Add rule\" */ loadVisibilityRules_addRule = 'loadVisibilityRules.addRule',\n /** \"Create new rule\" */ loadVisibilityRules_createNewRule = 'loadVisibilityRules.createNewRule',\n /** \"Add next condition\" */ loadVisibilityRules_addNextCondition = 'loadVisibilityRules.addNextCondition',\n /** \"Type of carriers\" */ loadVisibilityRules_typeOfCarriers = 'loadVisibilityRules.typeOfCarriers',\n /** \"All Carriers\" */ loadVisibilityRules_allCarriers = 'loadVisibilityRules.allCarriers',\n /** \"Onboarded\" */ loadVisibilityRules_onboardedType = 'loadVisibilityRules.onboardedType',\n /** \"Min. Insurance ($)\" */ loadVisibilityRules_minInsuranceField = 'loadVisibilityRules.minInsuranceField',\n /** \"Min. Authority age\" */ loadVisibilityRules_minAuthorityAge = 'loadVisibilityRules.minAuthorityAge',\n /** \"Year(s)\" */ loadVisibilityRules_years = 'loadVisibilityRules.years',\n /** \"Month(s)\" */ loadVisibilityRules_months = 'loadVisibilityRules.months',\n /** \"Removing this condition will delete this rule.\" */ loadVisibilityRules_deleteFinalRuleContent = 'loadVisibilityRules.deleteFinalRuleContent',\n /** \"This will not affect currently posted loads.\" */ loadVisibilityRules_deleteRuleContent = 'loadVisibilityRules.deleteRuleContent',\n /** \"Edit rule\" */ loadVisibilityRules_editRule = 'loadVisibilityRules.editRule',\n /** \"Delete rule\" */ loadVisibilityRules_deleteRuleset = 'loadVisibilityRules.deleteRuleset',\n /** \"Deleting will remove all created conditions within this rule.\" */ loadVisibilityRules_deleteRulesetContent = 'loadVisibilityRules.deleteRulesetContent',\n /** \"Days\" */ loadVisibilityRules_days = 'loadVisibilityRules.days',\n /** \"Minutes\" */ loadVisibilityRules_minutes = 'loadVisibilityRules.minutes',\n /** \"Hours\" */ loadVisibilityRules_hours = 'loadVisibilityRules.hours',\n /** \"Rule saved\" */ loadVisibilityRules_ruleSaved = 'loadVisibilityRules.ruleSaved',\n /** \"Rule removed\" */ loadVisibilityRules_ruleRemoved = 'loadVisibilityRules.ruleRemoved',\n /** \"Rule updated\" */ loadVisibilityRules_ruleUpdated = 'loadVisibilityRules.ruleUpdated',\n /** \"{{day}} day \" */ loadVisibilityRules_timeInDay = 'loadVisibilityRules.timeInDay',\n /** \"{{day}} days \" */ loadVisibilityRules_timeInDays = 'loadVisibilityRules.timeInDays',\n /** \"{{hour}} hour \" */ loadVisibilityRules_timeInHour = 'loadVisibilityRules.timeInHour',\n /** \"{{hour}} hours \" */ loadVisibilityRules_timeInHours = 'loadVisibilityRules.timeInHours',\n /** \"{{mins}} minutes\" */ loadVisibilityRules_timeInMins = 'loadVisibilityRules.timeInMins',\n /** \"{{mins}} minute\" */ loadVisibilityRules_timeInMin = 'loadVisibilityRules.timeInMin',\n /** \"{{year}} year \" */ loadVisibilityRules_ageInyear = 'loadVisibilityRules.ageInyear',\n /** \"{{months}} month\" */ loadVisibilityRules_ageInMonth = 'loadVisibilityRules.ageInMonth',\n /** \"{{year}} years \" */ loadVisibilityRules_ageInyears = 'loadVisibilityRules.ageInyears',\n /** \"{{months}} months\" */ loadVisibilityRules_ageInMonths = 'loadVisibilityRules.ageInMonths',\n /** \"Onboarded carriers\" */ loadVisibilityRules_onboardedCarriers = 'loadVisibilityRules.onboardedCarriers',\n /** \"To select this option, you must set up your onboarded carriers list.\\n\\nYou may set up your onboarded carriers list at any time in Settings.\" */ loadVisibilityRules_onboardedCarriersContent = 'loadVisibilityRules.onboardedCarriersContent',\n /** \"Set up onboarded carriers list\" */ loadVisibilityRules_setupCarriers = 'loadVisibilityRules.setupCarriers',\n /** \" {{date}} at {{time}}, \" */ loadVisibilityRules_dateAtTime = 'loadVisibilityRules.dateAtTime',\n /** \"visible to:\" */ loadVisibilityRules_visibleTo = 'loadVisibilityRules.visibleTo',\n /** \"Since\" */ loadVisibilityRules_since = 'loadVisibilityRules.since',\n /** \"On\" */ loadVisibilityRules_on = 'loadVisibilityRules.on',\n /** \"You may create custom load visibility rules to control which carriers can see your loads.\" */ loadVisibilityRules_defaultRuleContent = 'loadVisibilityRules.defaultRuleContent',\n /** \"Assign rule\" */ loadVisibilityRules_assignRule = 'loadVisibilityRules.assignRule',\n /** \"Create rule\" */ loadVisibilityRules_createRule = 'loadVisibilityRules.createRule',\n /** \"Load visibility rules must be created before they can be assigned.\\n\\nRules can be created at any time through the Load visibility rules section in Settings.\\n\\nYou will lose all entered information for this load if you choose to create a load visibility rule at this time.\" */ loadVisibilityRules_assignRulePopupContent = 'loadVisibilityRules.assignRulePopupContent',\n /** \"Load visibility rules allow you to control which carriers can see your loads based on criteria like insurance level, onboarding status, authority age, etc.\\n\\nYou can also set up cascading load visibility rules to, over time, expand the range of carriers able to see your loads.\" */ loadVisibilityRules_infoPopupContent = 'loadVisibilityRules.infoPopupContent',\n /** \"Select rule\" */ loadVisibilityRules_selectRule = 'loadVisibilityRules.selectRule',\n /** \"This load will be visible to any carriers using 123Loadboard.\\n\\nIf you wish, you may select a load visibility rule to apply to this load.\" */ loadVisibilityRules_selectRulePopup = 'loadVisibilityRules.selectRulePopup',\n /** \"Set a timer for your new rule. This timer will start from the current time.\" */ loadVisibilityRules_timerFromCurrentTime = 'loadVisibilityRules.timerFromCurrentTime',\n /** \"Load visibility rules are paused for Offline loads. Posting the load Online will reactivate these rules.\" */ loadVisibilityRules_offlineLoadWarning = 'loadVisibilityRules.offlineLoadWarning',\n /** \"Add condition\" */ loadVisibilityRules_addCondition = 'loadVisibilityRules.addCondition',\n /** \"Edit condition\" */ loadVisibilityRules_editCondition = 'loadVisibilityRules.editCondition',\n /** \"If you apply this rule to a load, only carriers matching these conditions will be able to see it.\" */ loadVisibilityRules_createRuleInfoSection = 'loadVisibilityRules.createRuleInfoSection',\n /** \"Condition #{{index}}\" */ loadVisibilityRules_conditionIndex = 'loadVisibilityRules.conditionIndex',\n /** \"* New conditions will be applied in addition to previous ones.\" */ loadVisibilityRules_addNextConditionInfo = 'loadVisibilityRules.addNextConditionInfo',\n /** \"This condition will become active \" */ loadVisibilityRules_ruleTimerInfoOne = 'loadVisibilityRules.ruleTimerInfoOne',\n /** \" after load has been posted.\" */ loadVisibilityRules_ruleTimerInfoTwo = 'loadVisibilityRules.ruleTimerInfoTwo',\n /** \" after changes are applied.\" */ loadVisibilityRules_ruleTimerInfoTwoAlt = 'loadVisibilityRules.ruleTimerInfoTwoAlt',\n /** \"* You can manage rules in Settings > Load visibility rules.\" */ loadVisibilityRules_manageRules = 'loadVisibilityRules.manageRules',\n /** \"Source\" */ onboardedCarriers_source = 'onboardedCarriers.source',\n /** \"Manage your manually entered DOT numbers on 123Loadboard. Modify DOT numbers from other sources at the respective source.\" */ onboardedCarriers_manageOnboardedCarriers = 'onboardedCarriers.manageOnboardedCarriers',\n /** \"Add/Remove\" */ onboardedCarriers_addOrRemove = 'onboardedCarriers.addOrRemove',\n /** \"Add USDOT#\" */ onboardedCarriers_addUSdot = 'onboardedCarriers.addUSdot',\n /** \"Delete all\" */ onboardedCarriers_deleteAll = 'onboardedCarriers.deleteAll',\n /** \"Are you sure you want to delete all?\" */ onboardedCarriers_deleteAllText = 'onboardedCarriers.deleteAllText',\n /** \"Add your onboarded carriers\" */ onboardedCarriers_emptyPanelTitle = 'onboardedCarriers.emptyPanelTitle',\n /** \"{{number}} USDOT# added to your Onboarded carriers list successfully.\" */ onboardedCarriers_successfullyAdded = 'onboardedCarriers.successfullyAdded',\n /** \"Filter by USDOT#\" */ onboardedCarriers_filterTitle = 'onboardedCarriers.filterTitle',\n /** \"Add onboarded carriers to your network by entering in their USDOT numbers.\\n\\nWhen you post loads, you may prioritize visibility of your loads to only your onboarded carriers.\" */ onboardedCarriers_emptyPanelsubtitle = 'onboardedCarriers.emptyPanelsubtitle',\n /** \"Add companies to your Onboarded carrier list by adding one or more USDOT# on individual lines or separated by commas. Deleting a USDOT# removes the company from your list.\" */ onboardedCarriers_editPanelContent = 'onboardedCarriers.editPanelContent',\n /** \"From {{total}} USDOT# records\" */ onboardedCarriers_warningMessageTotal = 'onboardedCarriers.warningMessageTotal',\n /** \"{{count}} duplicates removed\" */ onboardedCarriers_warningMessageDuplicates = 'onboardedCarriers.warningMessageDuplicates',\n /** \"{{failedCount}} failed validation.\" */ onboardedCarriers_warningMessageInvalid = 'onboardedCarriers.warningMessageInvalid',\n /** \"USDOT# submission\" */ onboardedCarriers_usdotSubmission = 'onboardedCarriers.usdotSubmission',\n /** \"Your Onboarded carriers list has been updated successfully.\" */ onboardedCarriers_editListUpdated = 'onboardedCarriers.editListUpdated',\n /** \"Add companies to your Onboarded carrier list by adding one or more USDOT# on individual lines or separated by commas. Deleting a USDOT# removes the company from your list.\" */ onboardedCarriers_textFieldTitle = 'onboardedCarriers.textFieldTitle',\n /** \"USDOT#\" */ onboardedCarriers_usDotLabel = 'onboardedCarriers.usDotLabel',\n /** \"Validation failed\" */ onboardedCarriers_validationFailed = 'onboardedCarriers.validationFailed',\n /** \"Review\" */ onboardedCarriers_review = 'onboardedCarriers.review',\n /** \"List updated\" */ onboardedCarriers_listUpdated = 'onboardedCarriers.listUpdated',\n /** \"Welcome back\" */ welcomebackCampaign_welcomeback = 'welcomebackCampaign.welcomeback',\n /** \"While you were away, we heard your feedback and made big improvements.\" */ welcomebackCampaign_title = 'welcomebackCampaign.title',\n /** \"Welcome back - Reactivate your membership with a 50% discount!\" */ welcomebackCampaign_welcomeBackTitle = 'welcomebackCampaign.welcomeBackTitle',\n /** \"Based on your search history, we have these loads available for you now.\" */ welcomebackCampaign_tableTitle = 'welcomebackCampaign.tableTitle',\n /** \"Promo code:\" */ welcomebackCampaign_promoCode = 'welcomebackCampaign.promoCode',\n /** \"Origin\" */ welcomebackCampaign_origin = 'welcomebackCampaign.origin',\n /** \"Destination\" */ welcomebackCampaign_destination = 'welcomebackCampaign.destination',\n /** \"Pickup date\" */ welcomebackCampaign_pickupDate = 'welcomebackCampaign.pickupDate',\n /** \"Equipment\" */ welcomebackCampaign_equipment = 'welcomebackCampaign.equipment',\n /** \"Size\" */ welcomebackCampaign_size = 'welcomebackCampaign.size',\n /** \"Length\" */ welcomebackCampaign_Length = 'welcomebackCampaign.Length',\n /** \"Weight\" */ welcomebackCampaign_weight = 'welcomebackCampaign.weight',\n /** \"Reactivate account to view details\" */ welcomebackCampaign_reactivateAccount = 'welcomebackCampaign.reactivateAccount',\n /** \"Reactivate account to see more loads\" */ welcomebackCampaign_reactivateAccountForLoads = 'welcomebackCampaign.reactivateAccountForLoads',\n /** \"Navigate the road to success with 123Loadboard - Now at half the price\" */ welcomebackCampaign_promoTitle = 'welcomebackCampaign.promoTitle',\n /** \"Exclusive Back-on-Board offer: save 50% on any plan for your first 3 months. Use this promo code to unlock your exclusive offer.\" */ welcomebackCampaign_promoText = 'welcomebackCampaign.promoText',\n /** \"Unlock offer now\" */ welcomebackCampaign_unlockOfferBtn = 'welcomebackCampaign.unlockOfferBtn',\n /** \"More broker integrations than ever before\" */ welcomebackCampaign_moreBrokerIntgTitle = 'welcomebackCampaign.moreBrokerIntgTitle',\n /** \"Now more than ever, it's important to put all the chances on your side. Expand your network and find more loads.\" */ welcomebackCampaign_moreBrokerIntgSubtitle = 'welcomebackCampaign.moreBrokerIntgSubtitle',\n /** \"New and improved market rates\" */ welcomebackCampaign_marketRatesTitle = 'welcomebackCampaign.marketRatesTitle',\n /** \"Give yourself the edge. Information is power. Know what the market is like and have the upper hand when negotiating rates.\" */ welcomebackCampaign_marketRatesSubtitle = 'welcomebackCampaign.marketRatesSubtitle',\n /** \"Better loads\" */ welcomebackCampaign_betterLoads = 'welcomebackCampaign.betterLoads',\n /** \"Don't waste precious time finding loads. A growing number of loads now come with rates, with the option to book, bid, or send instant messages directly through your app.\" */ welcomebackCampaign_betterLoadsSubtitle = 'welcomebackCampaign.betterLoadsSubtitle',\n /** \"Take a look for yourself!\" */ welcomebackCampaign_abridgedPromoTitle = 'welcomebackCampaign.abridgedPromoTitle',\n /** \"Location request\" */ locationRequest_title = 'locationRequest.title',\n /** \"This will send a request for {{name}} to send their current location.\" */ locationRequest_content = 'locationRequest.content',\n /** \"Request location\" */ locationRequest_label = 'locationRequest.label',\n /** \"Request sent\" */ locationRequest_success = 'locationRequest.success',\n /** \"Request failed\" */ locationRequest_failure = 'locationRequest.failure',\n /** \"Location sent\" */ locationRequest_sentLocationSuccessfully = 'locationRequest.sentLocationSuccessfully',\n}\n","import common from '../common/src/translation/english';\r\n\r\nexport default {\r\n en: {\r\n translation: {\r\n common: common,\r\n updateEmail: 'To update your email, call',\r\n reset_password: 'To reset your password',\r\n IE_Warning: 'Internet Explorer is not currently supported. Please upgrade to Microsoft Edge or change browser.',\r\n Meta_Description:\r\n 'Load board solutions to help professional truckers find truck loads, find available freight, post their truck availability to move more truck freight.',\r\n Go_to_detail: 'Go to detail',\r\n My_Account: 'My Account',\r\n Message_Center: 'Message Center',\r\n Alerts: 'Alerts',\r\n Help: 'Help',\r\n current: 'CURRENT',\r\n Settings: 'Settings',\r\n Logout: 'Logout',\r\n Submit: 'Submit',\r\n Create: 'Create',\r\n Click_Here: 'click here',\r\n Version: 'Version',\r\n Number: 'Number',\r\n StreetName: 'Street name',\r\n Or: 'or',\r\n Of: 'of',\r\n Ok: 'Ok',\r\n Saved: 'Saved',\r\n Contact: 'Contact',\r\n Calculate: 'Calculate',\r\n PhoneNumber: 'Phone number',\r\n PleaseCall: 'Please call',\r\n Show: 'Show',\r\n Invalid_Format: 'Invalid format',\r\n Dismiss: 'Dismiss',\r\n Extension_Short: 'ext. {{extension}}',\r\n Time: 'Time',\r\n To: 'to',\r\n Upgrade: 'upgrade.',\r\n Date: 'Date',\r\n email: 'email',\r\n name: 'Name',\r\n open123LB: 'See all in 123Loadboard',\r\n showNumber: 'Show number',\r\n textfield: {\r\n Show_Password: 'show',\r\n Hide_Password: 'hide',\r\n },\r\n altText: {\r\n icon: 'icon',\r\n control: 'control',\r\n },\r\n authenticatedRoute: {\r\n upgradePlan: {\r\n title: 'To access this feature, please ',\r\n link: 'upgrade your plan.',\r\n },\r\n restrictedRibbonPopUp: {\r\n title: 'To activate this feature, please ',\r\n request: 'send a request ',\r\n content: ' or call ',\r\n contact: ' 877-875-5301 ext. 2.',\r\n },\r\n restrictedRibbonPopUpCarrier: {\r\n title: 'To activate this feature, please ',\r\n request: 'send a request ',\r\n content: ' to our support team. ',\r\n },\r\n },\r\n sessionPausedPopUp: {\r\n title: 'Session paused',\r\n content: 'Due to inactivity, your session has been paused. Please click anywhere to continue.',\r\n },\r\n contactSupportPhone: '(877) 875-5301',\r\n error: {\r\n generic_api_message: 'Something went wrong. If the error persist, please contact tech support.',\r\n title: 'Oops, something went wrong.',\r\n network_server_error:\r\n 'An internal server error or bad connectivity occurred. Please reload to try again. If the error persist, please contact tech support.',\r\n message_retry: 'Something went wrong. You may retry now or at a later time.',\r\n message_error: 'An internal server error occurred. Please try again.',\r\n invalid_address: 'The address cannot be located, please enter a valid address.',\r\n genericErrorTitle: 'An error has occured',\r\n genericErrorMessage: 'We are experiencing technical difficulties, please try again.',\r\n genericContactSupport: 'If the problem persists, please contact support at',\r\n connectionErrorMessage: 'Experiencing connectivity issues. If the problem persists, please contact support at',\r\n try_again_error: 'An error occurred. Please try again.',\r\n failed_to_load: 'Failed to load',\r\n retry: 'Retry',\r\n reload_label: 'Reload the page',\r\n try_again: 'Try again',\r\n validation: {\r\n email: 'Not a valid email address.',\r\n phone: 'Phone number must be 10 digits long.',\r\n undefinedPhone: 'Phone number is required.',\r\n invalidPhone: 'The phone number is not valid.',\r\n invalidEmail: 'Email is not valid.',\r\n dropoffAfterPickup: 'Drop off date must be after Pick up date.',\r\n invalidExt: 'Ext is too long',\r\n contactDataError: '*Phone or email are required.',\r\n invalidLink: 'The link is not valid',\r\n },\r\n limitReached: 'Daily complimentary usage reached!',\r\n },\r\n unit: {\r\n money: '{{sign}}{{currency}}{{value}}',\r\n year: '{{count}} year',\r\n year_plural: '{{count}} years',\r\n month: '{{count}} month',\r\n month_plural: '{{count}} months',\r\n day: '{{count}} day',\r\n day_plural: '{{count}} days',\r\n mile: '{{value}} mile',\r\n mi: '{{value}} mi',\r\n mile_plural: '{{value}} miles',\r\n mile_per_gallon_short: '{{value}} MPG',\r\n per_mile: '{{value}} / mile',\r\n per_mi: '{{value}}/mi',\r\n per_gal: '{{value}}/gal',\r\n pounds: '{{value}} lbs',\r\n pound: '{{value}} lb',\r\n feet: '{{value}} ft',\r\n feet_symbol: \"{{value}}'\",\r\n },\r\n Header: {\r\n Dashboard: 'Dashboard',\r\n Find_Loads: 'Find Loads',\r\n Search_Loads: 'Search Loads',\r\n Load_Availability: 'Load availability',\r\n Trip_Builder: 'Trip builder',\r\n New_Trip: 'New trip',\r\n Add_A_Load: 'Add a load',\r\n Load_Planner: 'Load Planner',\r\n Post_Loads: 'Post Loads',\r\n Manage_Loads: 'Manage Loads',\r\n Post_Single_Load: 'Post Single Load',\r\n Post_Multiple_Loads: 'Post Multiple Loads',\r\n Upload_Posts: 'Upload Posts',\r\n Export_Posts: 'Export Posts',\r\n Find_Trucks: 'Find Trucks',\r\n Integration_Services: 'Integration Services',\r\n HTML_Embed_Code: 'HTML Embed Code',\r\n Tools: 'Tools',\r\n Rate_Check: 'Rate Check',\r\n MyDocs: 'MyDocs',\r\n Mileage_Map_Tolls: 'Map, routing, and tolls',\r\n Mileage_Calculator: 'Mileage Calculator',\r\n Credit_Report: 'Credit Report',\r\n Carrier_Monitor: 'Carrier Monitor',\r\n Search_Directory: 'Search Directory',\r\n Hot_Leads: 'Hot Leads',\r\n SearchDocs: 'SearchDocs',\r\n Affiliated_Services: 'Affiliated Services',\r\n Get_Paid_Faster: 'Get Paid Faster',\r\n Save_At_The_Pump: 'Save At The Pump',\r\n Roadside_Assistance: 'Roadside Assistance',\r\n Trucking_Authority: 'Trucking Authority',\r\n Resources: 'Resources',\r\n Reefer_Rates: 'Reefer Rates',\r\n FMCSA_Lookups: 'FMCSA Search',\r\n Fuel_Prices: 'Fuel Prices',\r\n Border_Wait_Times: 'Border Wait Times',\r\n My_Loadboard: 'My Loadboard',\r\n Potential_Loads: 'Potential Loads',\r\n Booked_Loads: 'Booked Loads',\r\n Companies: 'Companies',\r\n Company_Search: 'Company Search',\r\n Blocked_Hidden: 'Blocked / Hidden',\r\n Favorites: 'Favorites',\r\n Bids: 'Bids',\r\n Load_Bids: 'Load Bids',\r\n Alerts: 'Alerts',\r\n Manage_Alerts: 'Manage Alerts',\r\n Alert_Settings: 'Alert Settings',\r\n Saved_Searches: 'Saved Searches',\r\n Truck_Locator: 'Truck Locator',\r\n Internal_Truck_Locator: 'Internal Truck Locator',\r\n My_Account: 'My Account',\r\n TMS_Integration: 'TMS Integration',\r\n Messages: 'Messages',\r\n Help: 'Help',\r\n Settings: 'Settings',\r\n Main_Menu: 'Main Menu',\r\n Sign_Up: 'Sign Up',\r\n Login: 'Login',\r\n Logout: 'Logout',\r\n Posting_Aid: 'Posting Aid',\r\n },\r\n footer: {\r\n Copyright: '© {{year}} 123Loadboard',\r\n Visit_Website: 'Visit Website',\r\n Terms_Of_Service: 'Terms of Service',\r\n Privacy_Policy: 'Privacy Policy',\r\n Address: '© 123Loadboard | 1321 Upland Drive, Suite 1120 | Houston, TX, 77043, USA',\r\n ContactUs: 'If you have any questions, please contact us',\r\n SupportEmail: 'support@123loadboard.com',\r\n },\r\n confirmationDialog: {\r\n Cancel: 'Cancel',\r\n Confirm: 'Confirm',\r\n LearnHow: 'Learn how',\r\n broker: 'broker',\r\n },\r\n findLoads: {\r\n shareFeedback: 'Share feedback',\r\n charsLeft: '{{value}} characters left',\r\n feedbackAcknowledge: 'Thank you for your feedback.',\r\n feedbackPlaceholder:\r\n 'We review your feedback to improve our products. Please don’t share personal data or confidential or proprietary information with your feedback.',\r\n share: 'Share',\r\n skip: 'Skip',\r\n invalidSearchQuery: 'Invalid search query',\r\n findLoads: {\r\n any: 'Any',\r\n anyFt: 'Any ft',\r\n anyLbs: 'Any lbs',\r\n anyType: 'Any type',\r\n anywhere: 'Anywhere',\r\n all: 'All',\r\n usa: 'USA',\r\n canada: 'Canada',\r\n header: 'Find loads',\r\n tabSearch: 'New search',\r\n tabRecent: 'Recent',\r\n tabSaved: 'Saved',\r\n clear: 'Clear',\r\n truckApplied: 'Truck filters applied',\r\n availableCapacity: 'Available capacity',\r\n loadSize: 'Load size',\r\n length: 'Length',\r\n weight: 'Weight',\r\n myActions: 'My actions',\r\n sortBy: 'Sort by',\r\n reset: 'Reset',\r\n selectDates: 'Select dates',\r\n selectMax: 'Select a maximum 15',\r\n trailerType: 'Truck/Trailer type',\r\n types: 'Types',\r\n quickSelect: 'Quick select',\r\n popular: 'Popular',\r\n other: 'Other',\r\n home: 'Home',\r\n homeLocation: 'Choose your home',\r\n homeLocationLabel: 'Home location',\r\n currentLocationLabel: 'Current location',\r\n cityStateOrZip: 'City, state or zip',\r\n dropOff: 'Drop off',\r\n dropOffLocation: 'Drop off location',\r\n pickUp: 'Pick up',\r\n pickupLocation: 'Pickup location',\r\n pickupDate: 'Pickup date',\r\n radius: 'Radius (mi)',\r\n setHomeLocation: 'Click here to set your home location',\r\n excludeLoadsWithoutLength: 'Exclude loads without length',\r\n excludeLoadsWithoutWeight: 'Exclude loads without weight',\r\n called: 'Called',\r\n note: 'Note',\r\n favoriteCompany: 'Favorite company',\r\n asterisk: ' *',\r\n ok: 'Ok',\r\n stepsStatusBar: [\r\n 'Load available',\r\n 'Booked',\r\n 'Scheduled for pickup',\r\n 'Pickup complete',\r\n 'Load en route',\r\n 'Delivered',\r\n ],\r\n statusBar: {\r\n phrase1: 'Ready to book this load?',\r\n phrase2:\r\n 'If you book this load, select this status and these Load details will be available to you for future reference.',\r\n phrase3: 'Did you confirm the load details?',\r\n phrase4: 'Did you pickup the load?',\r\n phrase5: 'Want a fuel advance for this load?',\r\n phrase6: 'Are you en route?',\r\n phrase7: 'Did you deliver the load?',\r\n phrase8: 'Want to get paid faster for this load?',\r\n uploadYourRateConfirmation: 'Upload your Rate Confirmation',\r\n uploadYourBolLumpersEtc: 'Upload your BOL, lumpers, etc.',\r\n uploadYourProofOfDeliveryPod: 'Upload your Proof of Delivery (POD)',\r\n postTruck: 'Post truck if you need a backhaul.',\r\n },\r\n contact: 'Contact: ',\r\n ref: 'Ref. #:',\r\n fuelAdvance: 'Fuel advance',\r\n sent: 'Sent:',\r\n tripLengthOptions: ['Short: 0 - 200 mi', 'Medium: 201 - 500 mi', 'Regional: 501 - 1000 mi', 'Long: 1001+ mi'],\r\n noSearches: 'No {{param}} searches',\r\n youHaveNoSearches: 'You have no {{param}} searches',\r\n noSavedSearches: 'No saved searches',\r\n haveNoSavedSearches: 'You have no saved searches',\r\n noRecentSearches: 'No recent searches',\r\n haveNoRecentSearches: 'You have no recent searches',\r\n noLoads: 'No exact loads found',\r\n haveNoLoads: 'Please refine your criteria or see similar loads.',\r\n editLoadSearch: 'Edit search',\r\n statesProvinces: 'States, Provinces',\r\n statesProvincesRegionsMap: 'States, Provinces, Regions (Map)',\r\n statesProvincesRegions: 'States, Provinces, Regions',\r\n stateProvince: 'State, Province',\r\n selectRegions: 'Select regions',\r\n selectUSARegions: 'Select USA regions',\r\n selectCanadaRegions: 'Select Canada regions',\r\n regions: 'Regions',\r\n usaRegions: 'USA Regions',\r\n canadaRegions: 'Canada Regions',\r\n selectRegionsOrStates: 'Select region(s) or state(s)',\r\n selectState: 'Select state',\r\n selectProvince: 'Select province',\r\n tl: 'TL',\r\n ltl: 'LTL',\r\n Miles: 'Miles',\r\n perMile: '/mile($)',\r\n perGal: '/gal ($)',\r\n Rate: 'Rate($)',\r\n MPG: 'MPG',\r\n tollCost: 'Toll cost ($)',\r\n dispatchFee: 'Dispatch fee',\r\n otherFee: 'Other fees ($)',\r\n applyDiscount: 'Apply fuel discount',\r\n discountValue: '(up to $0.40/gal)',\r\n getFuelCard: 'Get fuel card',\r\n applyDeadheadMiles: 'Apply deadhead miles',\r\n totalProfit: 'Total profit',\r\n averageRateByCheck: 'Avg. rate by Rate Check',\r\n postedRate: 'Posted rate',\r\n difference: 'Difference',\r\n saveUpTo: ' to save up to ${{value}}',\r\n fuelSurchargeIncl: 'Fuel surcharge included',\r\n popUps: {\r\n blockCompany: {\r\n title: 'Block company',\r\n content: 'Blocking this company will hide all their loads from your results.',\r\n button_cancel: 'Cancel',\r\n button_block: 'Block',\r\n },\r\n sentRequest: {\r\n title: 'Request sent',\r\n content:\r\n 'We’ve forwarded your information and relevant documents to Thunder Funding. An expert from Thunder Funding will be contacting you shortly about this load.',\r\n },\r\n notSentRequest: {\r\n title: 'Request not sent',\r\n pleaseVisitContent: 'Please visit',\r\n },\r\n unBookLoad: {\r\n title: `Uncheck \"Booked\" status`,\r\n content: {\r\n warning: `Are you sure you want to uncheck the \"Booked\" status on this load?`,\r\n text1: 'This action does not cancel any bookings you have made directly with the broker.',\r\n text2: `If you uncheck the status from this load, you may not be able to view the load details and it will be removed from the \"My loads\" section.`,\r\n text3: 'Any documents attached to this load will be moved to the ‘Unsorted’ folder.',\r\n },\r\n button_no: 'No',\r\n button_yes: 'Yes',\r\n },\r\n paidFaster: {\r\n title: 'Get paid faster request',\r\n content: {\r\n warning:\r\n '123Loadboard is partnered with Thunder Funding to provide you with immediate access to cash. Quick Pay\\n' +\r\n ' always keeps you rolling and you no longer have to bear the burden of front-loading fixed costs over a\\n' +\r\n ' lengthy duration.',\r\n text: 'By requesting to get paid faster, a representative from Thunder Funding will be contacting you.',\r\n },\r\n },\r\n fuelAdvanced: {\r\n title: 'Fuel advance request',\r\n content: {\r\n warning: '123Loadboard is partnered with Thunder Funding to provide fuel advances 7 days a week.',\r\n variant_1: '$10 - advances under $500',\r\n variant_2: '$20 - advances $500 - $2000',\r\n variant_3: '$25 - advances over $2000',\r\n text: 'By requesting a fuel advance, a representative from Thunder Funding will be contacting you.',\r\n },\r\n },\r\n clearRecent: {\r\n title: 'Remove recent searches',\r\n content: 'Are you sure you want to remove your recent searches?',\r\n button_cancel: 'Cancel',\r\n button_remove: 'Remove all',\r\n },\r\n featureRequest: {\r\n title: 'Activate broker / shipper features',\r\n content:\r\n 'This feature is only available to brokers and shippers. To gain access, please submit a request.',\r\n featureAvailableForBrokersAndShippers: 'This feature is only available to brokers and shippers.',\r\n gainAccess: 'To gain access, please submit a request or call ',\r\n button: 'Submit Request',\r\n },\r\n featureRequestCarrier: {\r\n title: 'Activate feature',\r\n content: 'Please submit a request to gain access to this feature.',\r\n button: 'Submit Request',\r\n },\r\n featureSubmit: {\r\n title: 'Request sent',\r\n content:\r\n 'Your request to access broker/shipper feature has been submitted and our Posting team will reach out to you shortly.',\r\n contentCarrier:\r\n 'Your request to access this feature has been submitted and our Support team will reach out to you shortly.',\r\n button: 'OK',\r\n },\r\n featureSubmitFail: {\r\n title: 'Request has failed to send',\r\n content: 'Your request to access broker/shipper feature has failed to send, please try again.',\r\n contentCarrier: 'Your request to access this carrier feature has failed to send, please try again.',\r\n },\r\n bidHeader: {\r\n label: 'Before you bid, please ensure that you meet these requirements.',\r\n },\r\n bidDetails: {\r\n bidCompanyName: 'Company: ',\r\n bidCompanyDOT: 'DOT#: ',\r\n bidEquipmentType: 'Trailer type: ',\r\n bidEquipmentSpecs: 'Trailer specs: ',\r\n bidEquipmentCommodity: 'Item: ',\r\n bidEquipmentNotes: 'Notes: ',\r\n },\r\n regionsInfo: {\r\n title: 'Regions allow you to search many states at once. Our regions include:',\r\n },\r\n smallTruckLoads: {\r\n title: 'Small truck loads',\r\n content:\r\n 'To find the best results for smaller trucks, we recommend that you select the following equipment types:',\r\n },\r\n },\r\n pleaseEnterValues: 'Please enter values',\r\n fieldsInvalid: 'An entry has an invalid value',\r\n fieldsRequiredOrInvalid: 'An entry is required or has an invalid value',\r\n Linehaul_Revenue: 'Linehaul revenue',\r\n Toll_Costs: 'Toll costs',\r\n Fuel_Costs: 'Estimated fuel costs',\r\n Additional_Costs: 'Additional costs',\r\n Fuel_Costs_Short: 'Est. fuel costs',\r\n Estimated_Revenue: 'Estimated revenue',\r\n Estimated_Revenue_Short: 'Est. revenue',\r\n company_added_onboarded: 'Company added to onboarded',\r\n company_removed_onboarded: 'Company removed from onboarded',\r\n removeFavorite: 'Remove favorite',\r\n tagAsOnboarded: 'Tag as onboarded',\r\n removeOnboardedTag: 'Remove onboarded tag',\r\n blockCompany: 'Block company',\r\n multiple: 'Multiple',\r\n backhauls: 'Backhauls',\r\n backhaulLoads: 'Backhaul loads',\r\n unblock: 'Unblock',\r\n loadDetailsNotShownForBlockedCompany: 'Load details not shown for blocked company',\r\n searchNewArea: 'Search this area',\r\n email: 'Email',\r\n facebook: 'Facebook',\r\n x: 'X',\r\n maxSelectionCount: 'You selected the maximum number of locations',\r\n selectMaxiumum: 'Select a maximum {{value}}',\r\n newLoads: 'New loads',\r\n setLocationToSearch: 'Set location to search',\r\n loadSizeDescription: '“TL” and “LTL” are only available when Length and Weight are set to “Any”.',\r\n selectStatesMap: {\r\n title: 'States, Provinces (Map)',\r\n warning: {\r\n selectOneState: 'Select at least one state',\r\n },\r\n },\r\n },\r\n loads: {\r\n header: 'Loads',\r\n close: 'close',\r\n saved: 'saved',\r\n save: 'save',\r\n savedSearch: 'Saved search',\r\n saveSearch: 'Save search',\r\n map: 'Map',\r\n clusterLoads: 'Cluster loads',\r\n foundLoads: 'Found {{value}} loads',\r\n mapError: {\r\n noLoadsFound: 'No results found, try panning or zooming the map',\r\n },\r\n },\r\n loadDetails: {\r\n header: 'Load details',\r\n address: 'Address',\r\n company: 'Company',\r\n companyLoads: 'Company loads',\r\n viewLoads: 'View loads',\r\n companyLoadsDescription: 'Find currently available loads posted by this company only.',\r\n MCNumber: 'MC number',\r\n DOTNumber: 'DOT number',\r\n companyType: 'Company type:',\r\n website: 'Website',\r\n member: 'TIA Member',\r\n getPaidFaster: 'Get paid faster',\r\n yes: 'Yes',\r\n no: 'No',\r\n CreditReport: 'Credit report',\r\n CreditScore: 'Credit score',\r\n DaysToPay: 'Days-to-pay',\r\n noMatches: '-',\r\n notAvailable: 'Not available',\r\n notProvided: 'not provided',\r\n notAvailableInPlan: 'Not available in your plan',\r\n loading: 'Loading details...',\r\n preApproved: 'Pre-approved by',\r\n factorable: 'Factorable',\r\n pcMiler: 'PC*MILER',\r\n googleMap: 'Google map',\r\n shareLoad: 'Share this load via:',\r\n help: 'Help',\r\n unlock: 'Unlock',\r\n unavailableForOffline: 'Unavailable for offline loads',\r\n unavailableForAssigned: 'Unavailable for assigned loads',\r\n unavailableForDelivered: 'Unavailable for delivered loads',\r\n copyToClipboard: 'Copy to clipboard',\r\n myNote: 'My note',\r\n saveNote: 'Save note',\r\n loadNote: 'Load note',\r\n permissions: {\r\n modal: {\r\n title: 'This feature is not available in your plan',\r\n message: 'Please contact our support team.',\r\n callSupport: 'Call support',\r\n },\r\n },\r\n onBoardedPopUp: {\r\n header: 'Tag as onboarded',\r\n content:\r\n 'If you are already onboarded with this company, all of their loads will be tagged for your own reference and filtering needs.',\r\n button: 'Yes, I’m onboarded',\r\n },\r\n emailFormPopup: {\r\n header: 'Contact form',\r\n subtitle: 'Fill out the form below and it will be sent to the broker/shipper.',\r\n placeholder: 'Comments',\r\n submitText: 'Send',\r\n options: {\r\n title: 'Choose one of these options or place a bid:',\r\n option1: 'Is this load available?',\r\n option2: 'What is the rate for this load?',\r\n option3: 'What are the dimensions of this load?',\r\n option4: 'Can I get onboarded with your company?',\r\n placeholder: 'Place a bid($)',\r\n },\r\n bidAmount: 'Bid amount: {{bid}}$',\r\n },\r\n emailConfirmPopup: {\r\n header: 'Contact form',\r\n title: 'Thank you',\r\n subtitle: {\r\n sentTo: 'Your email form has been sent to {{companyName}}.',\r\n note: 'Please note that calling is a more reliable way to contact brokers/shippers.',\r\n },\r\n submitText: 'Continue',\r\n },\r\n editCompanyPopup: {\r\n title: 'Edit details',\r\n content: 'Please update company name or DOT#',\r\n companyName: 'Company name',\r\n dot: 'DOT#',\r\n },\r\n routeDirectionsRequestError: 'Error in loading routes.',\r\n stop: 'Stop {{value}}: ',\r\n extraStops: 'Extra stops: {{value}}',\r\n },\r\n },\r\n loadAvailability: {\r\n region: { title: 'Regions', header: 'Select region' },\r\n resultPanel: { outbound: 'Outbound', intrastate: 'Intrastate', inbound: 'Inbound' },\r\n noLoadFound: {\r\n title: 'No loads found',\r\n subtitle: 'Please choose another state or toggle between outbound, inbound and intrastate.',\r\n },\r\n errorScreen: {\r\n title: 'Something went wrong',\r\n subtitle:\r\n 'Sorry for the inconvenience. We’ll be back up and running as fast as possible. Please try again later.',\r\n },\r\n Multiple: 'Multiple',\r\n type: 'Trailer type:',\r\n regionTitle: 'Region:',\r\n densityList: 'Density list',\r\n densityMap: {\r\n title: 'Density map',\r\n showResults: 'Show load results',\r\n },\r\n mapColorKey: {\r\n high: 'High (loads are available)',\r\n medium: 'Medium (loads are slightly limited)',\r\n low: 'Low (loads are limited)',\r\n },\r\n },\r\n tripBuilder: {\r\n empty: 'N/A',\r\n age: 'Age',\r\n pickUp: 'Pick up',\r\n pickUpLocation: 'Pick up location',\r\n dropOffLocation: 'Drop off location',\r\n title: 'Trip',\r\n equip: 'Equip',\r\n size: 'Size',\r\n company: 'Company',\r\n status: 'Status',\r\n miles: 'Miles',\r\n time: 'Time',\r\n revenues: 'Revenues',\r\n rate: 'Rate',\r\n rates: 'Rates',\r\n revenue: 'Revenue',\r\n fuel: 'Fuel',\r\n tolls: 'Tolls',\r\n profits: 'Profits',\r\n profit: 'Profit',\r\n added: 'Added',\r\n modifyTrip: 'Modify trip',\r\n feedbackTitle: 'Trip builder feedback',\r\n feedbackSubtitle: `We'd love your feedback about the new trip builder. It helps us make 123Loadboard better.`,\r\n tripDelete_SnackBar_Message: 'Trip deleted',\r\n tripCreated_SnackBar_Message: 'Trip created',\r\n loadAdd_SnackBar_Message: 'Load added',\r\n loadHide_SnackBar_Message: 'Load hidden',\r\n loadRemove_SnackBar_Message: 'Load removed',\r\n tripBuilder: {\r\n loadingScreenTitle: 'Processing request ...',\r\n loadingScreenDescription:\r\n 'Please wait ... it can take up to 20-30 seconds to get your results. Our system is analyzing possible routes.',\r\n },\r\n newTrip: {\r\n loadByLoadLabel: 'Load-by-load',\r\n loadByLoadDescription: 'Build your own trip load-by-load',\r\n entireTripLabel: 'Entire trip',\r\n entireTripDescription: 'Automatically builds an entire trip for you.',\r\n tripParameters: 'Trip parameters',\r\n excludedStatesOptional: 'Excluded states (optional)',\r\n excludedStates: 'Excluded states',\r\n excludedStatesSubHeader: 'Only select states you do not want to travel to.',\r\n maximumLoads: 'Maximum loads per trip',\r\n popup: {\r\n popupHeader: 'Result layout',\r\n popupDescription1: 'Load-by-load allows you to build your own trip one load at a time.',\r\n popupDescription2: 'Entire trip automatically builds a trip by selecting loads matching your parameters.',\r\n },\r\n },\r\n addLoad: {\r\n totalLegs: `{{loadsCount}} load(s) for leg number {{legCount}}.`,\r\n nextLeg: `Next leg: {{count}} Load(s)`,\r\n noResultsHeader: 'No results found',\r\n loadRemoved: 'Load removed',\r\n noResultsDescription: 'There are no loads currently matching your criteria. Please try again later.',\r\n popup: {\r\n header: 'Add load',\r\n description1:\r\n 'If you have already booked this load, you may include the booked rate to make profit calculations more accurate.',\r\n subHeader: 'Confirm booked rate (optional)',\r\n radioFlatRate: 'Flat rate',\r\n radioRatePerMile: 'Rate per mile',\r\n inputPlaceHolder: 'Booked rate({{currency}})',\r\n description2:\r\n 'Adding this load to your trip does not automatically book it. To book this load, please contact the load poster.',\r\n addButton: 'Add load',\r\n deleteLoadTitle1: 'Delete load',\r\n deleteLoadTitle2: 'Deleting this load will permanently remove it from your results.',\r\n deleteLoadTitle3: 'Select any reasons why you want to delete this load:',\r\n deleteLoadItem1: 'Not Interested',\r\n deleteLoadItem2: 'Already booked (load is not available)',\r\n deleteLoadItem3: 'Low pay rate',\r\n deleteLoadItem4: 'Incorrect information',\r\n deleteLoadItem5: 'Other',\r\n deleteLoadConfirm: 'Delete load',\r\n removeLoadConfirm: 'Remove load',\r\n removeLoad:\r\n 'In order to remove this load, please first remove all loads that come after this one in the trip order.',\r\n },\r\n },\r\n trip: {\r\n contentHeader: 'Your trip details',\r\n foundTrips: `Found {{count}} option(s)`,\r\n nextTrip: 'Next option',\r\n prevTrip: 'Prev option',\r\n contentSubHeader: 'Build your trip by adding the loads that work for you.',\r\n tripOptionsSubHeader: 'Add more loads to your trip from the following options.',\r\n profitPerTrip: 'Total profit from added loads',\r\n profitPerOption: 'Trip option summary',\r\n profitPerDay: 'Profit per day',\r\n loads: 'Load(s)',\r\n mileage: 'Mileage',\r\n tripDays: 'Trip days',\r\n deadhead: 'Deadhead',\r\n added: 'Added',\r\n continueTripBtn: 'Continue building trip',\r\n incompleteTrip:\r\n 'Your trip is not complete. Continue building this trip by adding more loads until you reach your final destination.',\r\n completeTrip: `Your trip is all set! If you haven't already, you should contact the load posters to book these loads.`,\r\n popup: {\r\n profitPerDayPopupInfoHeader: 'Profit per day',\r\n profitPerDayPopupInfo1:\r\n 'Your daily profits are calculated by collecting rate data for all loads in your trip and subtracting estimated fuel and toll costs.',\r\n profitPerDayPopupInfo2: 'Mileage, toll, and Deadhead data is collected via PC*Miler.',\r\n profitPerDayPopupInfo3: 'Revenue and profit data is collected via Rate Check.',\r\n profitPerDayPopupInfo4: 'Fuel cost is collected daily based on current State prices.',\r\n deleteTripTitle: 'Delete this trip',\r\n deleteTripP1: 'You will no longer have access to the details for the selected loads.',\r\n deleteTripP2: 'If you need access to these loads later, you should mark them as \"Booked\".',\r\n removeLoadTitle: 'Remove this load',\r\n removeLoadP1: 'Are you sure you want to remove this load from your trip?',\r\n },\r\n },\r\n },\r\n postLoads: {\r\n allCompanyLoads: 'All company loads',\r\n poster: 'Poster',\r\n pendingVerification: {\r\n title: 'Account under review',\r\n subtitle:\r\n 'Your account is currently under review, please allow 1 business day for the review process to complete.',\r\n thankYouForSignUp: 'Thank you for signing up with 123Loadboard!',\r\n yourAccount: 'Your account is ',\r\n currentlyUnderReview: 'currently under review',\r\n underReviewContent: ', please allow one business day for the review process to complete.',\r\n uponApprovalContent:\r\n 'Upon approval, you will receive an email providing you full access to post loads and reach our carrier network on the #1 rated load board app.',\r\n },\r\n ChangeContact: 'Change contact',\r\n Anywhere: 'Anywhere',\r\n MyLoads: 'My loads',\r\n Loads: 'Loads',\r\n PostSingle: 'Post single',\r\n PostMultiple: 'Post multiple',\r\n postMultipleBanner: {\r\n content1:\r\n \"You can save time by posting multiple loads at once via uploading files directly, sending files in through FTP, or having us scrape your website's available loads. Please visit our \",\r\n instructionsPage: 'instructions page',\r\n content2: ' for more details. Contact us at ',\r\n content3: ', ext. 2 for assistance.',\r\n },\r\n NoDate: '--',\r\n Status: 'Status',\r\n SwitchToPreviousVersion: 'Switch to previous version',\r\n Online: 'Online',\r\n Offline: 'Offline',\r\n Working: 'Working loads',\r\n Completed: 'Completed loads',\r\n Assigned: 'Assigned',\r\n Delivered: 'Delivered',\r\n LoadDetails: 'Load details',\r\n ItemCommodity: 'Item/Commodity',\r\n AverageRate: 'Average rate',\r\n RefreshAgeMessage: 'Load age refreshed',\r\n TruckLocatorTitle: 'Truck locator',\r\n TruckLocatorSubTitle: 'View carriers nearby',\r\n Views_Count: 'Views: {{count}}',\r\n TotalLoadViews: '{{displayedViews}} of {{viewsCount}} total load views',\r\n Miles: '{{value}} mi',\r\n perMile: '{{value}}/per mile',\r\n StrengthValue: '{{value}}%',\r\n RefreshAgeMessageBulk: 'Loads refreshed',\r\n UpdatePickupDateMessageBulk: 'Load dates/times refreshed',\r\n LoadsDeleteMessageBulk: 'Loads deleted',\r\n LoadsStatusChangeMessageBulk: 'Load statuses updated',\r\n LoadPostedSuccessfully: 'Load posted successfully',\r\n ClonedLoadPosted: 'Cloned load posted',\r\n LoadEdited: 'Load edited',\r\n SpecsOptional: 'Specs (Optional)',\r\n Select: 'Select',\r\n fillMandatoryFields: '*Please fill out all mandatory fields.',\r\n attachDocuments: '*Please attach 1 or more documents.',\r\n bookingOptions: {\r\n title: 'Booking options',\r\n phone: 'Phone',\r\n email: 'Email',\r\n messaging: 'Messaging',\r\n bidding: 'Bidding',\r\n bookNow: 'Book now',\r\n manageOnboardLink: 'Manage onboarded carriers',\r\n },\r\n duplicateRefNumberTitle: 'Duplicate reference number',\r\n duplicateRefNumberMessage:\r\n 'A load with the same reference number already exists. Please enter a different reference number or leave the field blank.',\r\n collapsibleMenu: {\r\n locationAndDates: 'Location and dates',\r\n equipmentDetails: 'Equipment details',\r\n loadInfo: 'Load info',\r\n tripRateAndDistance: 'Trip rate and distance',\r\n postingContact: 'Posting contact',\r\n },\r\n manipulation: {\r\n SetOffline: 'Set offline',\r\n SetOnline: 'Set online',\r\n RefreshAge: 'Refresh age',\r\n Edit: 'Edit',\r\n Delete: 'Delete',\r\n Clone: 'Clone',\r\n messages: 'Messages',\r\n },\r\n feedbackContent:\r\n 'We’d love your feedback about the new load posting tool. It helps us make 123Loadboard better.',\r\n popUps: {\r\n error: {\r\n button: 'OK',\r\n title: 'Error',\r\n content: 'An internal server error occurred. Please try again.',\r\n },\r\n postStrength: {\r\n title: 'Post strength',\r\n content: 'The greater your post strength, the more exposure your load post will receive.',\r\n paragraph: ' Strength is determined based on the amount of details provided.',\r\n pickUpTimeStrength: 'Pick up time: 5%',\r\n dropOffDateStrength: 'Drop off date: 15%',\r\n dropOffTimeStrength: 'Drop off time: 5%',\r\n lengthStrength: 'Length: 20%',\r\n weightTimeStrength: 'Weight: 20%',\r\n paymentTimeStrength: 'Pay ($): 35%',\r\n button: 'OK',\r\n },\r\n updateStatus: {\r\n SetOnlineContent: 'Are you sure you want to set load “Online”?',\r\n SetOfflineContent: 'Are you sure you want to set load “Offline”?',\r\n SnackBar_Message: 'Load status updated',\r\n },\r\n deleteLoad: {\r\n title: 'Delete load',\r\n content: 'For easy reposting, we suggest changing the status to “offline” instead of deleting.',\r\n deleteButton: 'Delete',\r\n cancelButton: 'Cancel',\r\n SnackBar_Message: 'Load deleted',\r\n },\r\n bulkDeleteLoads: {\r\n title: 'Delete loads',\r\n content: 'For easy reposting, we suggest changing the status to “offline” instead of deleting.',\r\n deleteButton: 'Delete',\r\n cancelButton: 'Cancel',\r\n },\r\n viewerInfo: {\r\n lastViewedAge: '{{lastViewedAge}} ago',\r\n contact: 'Contact',\r\n company: 'Company',\r\n phone: 'Phone',\r\n insuranceOnFile: 'Insurance on File',\r\n Common: 'Common',\r\n Contract: 'Contract',\r\n USDOTNumber: 'USDOT Number',\r\n MCNumber: 'MC Number',\r\n },\r\n },\r\n Contact: 'Contact',\r\n Tl: 'TL',\r\n Ltl: 'LTL',\r\n PickUpDate: 'Pickup date',\r\n PickUpTime: 'Pickup time',\r\n DropOffDate: 'Drop off date',\r\n DropOffTime: 'Drop off time',\r\n PickUp: 'Pick up',\r\n DropOff: 'Drop off',\r\n AvailableCapacity: 'Available capacity',\r\n TrailerSpecifications: 'Trailer Specifications',\r\n TrailerType: 'Trailer type',\r\n LoadSize: 'Load size',\r\n ExcludeLoadsWithoutLength: 'Exclude loads without length',\r\n ExcludeLoadsWithoutWeight: 'Exclude loads without weight',\r\n PickupLocation: 'Pickup location',\r\n DropOffLocation: 'Drop off location',\r\n Multiple: 'Multiple',\r\n Post: 'Post',\r\n PostLoad: 'Post load',\r\n EditLoad: 'Edit load',\r\n CloneLoad: 'Clone load',\r\n ClearAll: 'Clear',\r\n PrefillFrom: 'Pre-fill from recent posts',\r\n RecentPosts: 'Recent Posts',\r\n Reset: 'Reset',\r\n Update: 'Update',\r\n Low: 'Low',\r\n Average: 'Average',\r\n Distance: 'Distance (mi)',\r\n Rate: 'Flat rate ($)',\r\n DrivingTime: 'Driving time',\r\n UpgradePlan: 'Upgrade plan',\r\n Unlock: 'Unlock',\r\n TeamDriven: 'Team driven',\r\n Quantity: 'Quantity of loads',\r\n AddExtraStops: 'Add extra stops +',\r\n AddEquipments: 'Add equipment +',\r\n ExtraStops: 'Extra stop(s)',\r\n ContactName: 'Contact name',\r\n Name: 'Name',\r\n PostStrength: 'Post strength',\r\n Phone: 'Phone',\r\n Ext: 'Ext.',\r\n Email: 'Email',\r\n High: 'High',\r\n dropOff: 'Drop off',\r\n pickUp: 'Pick up',\r\n totalTrip: 'Total trip',\r\n pcMiler: 'PC*Miler',\r\n trailerType: 'Trailer type',\r\n trailerSpecifications: 'Trailer Specifications',\r\n availableCapacity: 'Available capacity',\r\n loadSize: 'Load size',\r\n length: 'Length (ft)',\r\n weight: 'Weight (lbs)',\r\n averageRateByCheck: 'Average rate by rate check',\r\n ref: 'Ref. #',\r\n itemCommodity: 'Item/Commodity',\r\n moreOptions: 'More options',\r\n additionalLoadDetails: 'Additional load details',\r\n PostedPanel: {\r\n PostedHeaderLabel: '{{status}} loads',\r\n SelectedLoads: '{{quantity}} selected.',\r\n AllSelectedLoads: 'All {{quantity}} selected',\r\n SelectAllLoads: 'Select all {{quantity}}',\r\n NoOnlineLoads: 'No online loads',\r\n NoOfflineLoads: 'No offline loads',\r\n NoAssignedLoads: 'No assigned loads',\r\n NoDeliveredLoads: 'No delivered loads',\r\n NoOnlineLoadsSubtitle: 'When you post loads you’ll see them here',\r\n NoOfflineLoadsSubtitle: 'Create loads as drafts, and post them when you’re ready.',\r\n NoAssignedLoadsSubtitle: 'Mark loads as assigned when you have confirmed the booking.',\r\n NoDeliveredLoadsSubtitle:\r\n 'Mark loads as delivered when you have confirmed they have reached their destination.',\r\n PickupDate: 'Pickup date',\r\n RefreshAge: 'Refresh age',\r\n Status: 'Status',\r\n FreeTextFilter: 'Filter by location, ref#, equip, size',\r\n Ref: 'Ref#',\r\n },\r\n SortByPanel: {\r\n SortBy: 'Sort by',\r\n Reset: 'Reset',\r\n },\r\n StatusPanel: {\r\n Status: 'Status',\r\n SelectStatus: 'Select status',\r\n Online: 'Online',\r\n Offline: 'Offline',\r\n },\r\n errors: {\r\n InvalidDistance: 'Invalid distance. Please refer to the PC*Miler total trip.',\r\n },\r\n loadTemplates: {\r\n pageTitle: 'Pre-fill from recent',\r\n buttonTitle: 'Pre-fill',\r\n notFound: {\r\n title: 'No recent posts',\r\n subtitle: 'Post loads to use this pre-fill option.',\r\n },\r\n },\r\n editBlocked: 'Some load details cannot be modified when a load is assigned or delivered.',\r\n },\r\n carriers: {\r\n Carriers: 'Carriers',\r\n contactInfo: 'Contact info',\r\n filters: {\r\n Onboarded: 'Onboarded',\r\n Favorite: 'Favorite',\r\n BlockedHidden: 'Blocked/Hidden',\r\n },\r\n filterLabel: 'Filter by name',\r\n NotFound: {\r\n favorite: {\r\n title: 'No favorites saved',\r\n content:\r\n 'To save a company as your favorite, click “Add to favorites” when viewing a carrier in Truck Locator.',\r\n },\r\n blocked: {\r\n title: 'No companies hidden',\r\n content: 'To hide a company, click “Hide” when viewing a carrier in Truck Locator.',\r\n },\r\n onboarded: {\r\n title: 'No onboarded companies',\r\n content:\r\n 'To mark a company that you’ve already onboarded with, click “Tag as onboarded” when viewing a carrier in Truck Locator.',\r\n },\r\n },\r\n menuOptions: {\r\n favorite: 'Favorite',\r\n remove_favorite: 'Remove favorite',\r\n mark_onboarded: 'Mark as onboarded',\r\n unmark_onboarded: 'Unmark onboarded',\r\n remove_blocked: 'Remove blocked',\r\n },\r\n carrierUpdate: {\r\n carrierFavorited: 'Carrier added to your favorites',\r\n carrierUnfavorited: 'Carrier removed from your favorites',\r\n carrierBlocked: 'Carrier is now blocked',\r\n carrierUnblocked: 'Carrier is unblocked',\r\n carrierOnboarded: 'Carrier marked as onboarded',\r\n carrierUnonboarded: 'Carrier removed from onboarded',\r\n },\r\n },\r\n companies: {\r\n Companies: 'Companies',\r\n contactInfo: 'Contact info',\r\n filters: {\r\n Onboarded: 'Onboarded',\r\n Favorite: 'Favorite',\r\n BlockedHidden: 'Blocked/Hidden',\r\n },\r\n filterLabel: 'Filter by name',\r\n NotFound: {\r\n favorite: {\r\n title: 'No favorites saved',\r\n content: 'To save a company as your favorite, click the more option icon when viewing a load.',\r\n },\r\n blocked: {\r\n title: 'No companies blocked',\r\n content: 'To block a company from your results, click the more option icon when viewing a load.',\r\n },\r\n onboarded: {\r\n title: 'No onboarded companies',\r\n content:\r\n 'To mark a company that you’ve already onboarded with, click the more option icon when viewing a load.',\r\n },\r\n },\r\n menuOptions: {\r\n favorite: 'Favorite',\r\n remove_favorite: 'Remove favorite',\r\n mark_onboarded: 'Mark as onboarded',\r\n unmark_onboarded: 'Unmark onboarded',\r\n remove_blocked: 'Remove blocked',\r\n },\r\n },\r\n modalPanels: {\r\n Actions: {\r\n Reset: 'Reset',\r\n ClearAll: 'Clear all',\r\n Clear: 'Clear',\r\n },\r\n DatesTime: {\r\n PickUpDatesHeader: 'Pickup dates',\r\n PickUpDateHeader: 'Pickup date',\r\n DropOffDateHeader: 'Drop off date',\r\n DropOffDatesHeader: 'Drop off dates',\r\n PickUpTimeHeader: 'Pickup time',\r\n DropOffTimeHeader: 'Drop off time',\r\n MaxSelectionDatesCount: 'You selected the maximum number of dates',\r\n SelectMaximum: 'Select a maximum {{value}}',\r\n },\r\n LocationPicker: {\r\n PickUpHeader: 'Pickup location',\r\n DropOffHeader: 'Drop off location',\r\n Pickup: 'Pick up',\r\n DropOff: 'Drop off',\r\n RecentLocations: 'Recent locations',\r\n CityStateZip: 'City, state or zip',\r\n CityOrZip: 'City or zip',\r\n WarningMessage: 'Selected {{selectedCount}} of maximum {{maxCount}} locations',\r\n },\r\n SortBy: {\r\n Header: 'Sort by',\r\n },\r\n Status: {\r\n Header: 'Status',\r\n SelectStatus: 'Select status',\r\n Online: 'Online',\r\n Offline: 'Offline',\r\n },\r\n TrailerType: {\r\n Header: 'Trailer type',\r\n },\r\n TrailerSpecifications: {\r\n Header: 'Trailer specifications',\r\n },\r\n TimePicker: {\r\n Label: 'Time',\r\n Error: 'Invalid time format',\r\n },\r\n Filter: {\r\n Filters: 'Filters',\r\n },\r\n },\r\n permissions: {\r\n location: {\r\n unavailable: {\r\n title: 'Location permission unavailable',\r\n content: \"It's not possible to determine your location at this time.\",\r\n },\r\n denied: {\r\n title: 'Location permission denied',\r\n content: \"Please enable location permissions in your browser's preferences.\",\r\n },\r\n timeout: {\r\n title: 'Location permission timed out',\r\n content: 'Timeout while getting location.',\r\n },\r\n },\r\n },\r\n dashboard: {\r\n CarrierHeader: 'Hi {{name}}, enjoy our carrier dashboard.',\r\n BrokerHeader: \"Hi {{name}}, let's move some loads today.\",\r\n My_Posted_Loads: 'My Posted Loads',\r\n Find_Loads: 'Find Loads',\r\n\r\n My_Loads_Post: 'My Loads Post',\r\n Mileage_Calculator: 'Mileage Calculator',\r\n Profit_Calculator: 'Profit Calculator',\r\n Save_At_The_Pump: 'Save at the Pump',\r\n Find_Trucks: 'Find Trucks',\r\n My_Documents: 'My Documents',\r\n Get_Paid_Faster: 'Get Paid Faster',\r\n Carriers: 'Carriers',\r\n Companies: 'Companies',\r\n Load_Details: 'Load details',\r\n Search_Alerts: 'Search alerts',\r\n Search_Loads: 'Search loads',\r\n Load_Alerts: 'Load alerts',\r\n Messages: 'Messages',\r\n Posted_Truck: 'Posted trucks',\r\n Online_Loads: 'Online loads',\r\n Offline_Loads: 'Offline loads',\r\n Live: 'Live',\r\n Search: 'Search',\r\n PostLoad: 'Post load',\r\n View: 'View',\r\n ViewAll: 'View all',\r\n workingLoadWidget: {\r\n header: 'Working load',\r\n loadStatus: 'Load status:',\r\n loadDocuments: 'Load documents:',\r\n notFound: {\r\n title: 'Book a load',\r\n subtitle: 'To see results, find a load and mark it as \"booked\".',\r\n },\r\n },\r\n recentSearchesWidget: {\r\n header: 'Recent searches',\r\n notFound: {\r\n title: 'Load searches',\r\n subtitle: 'To see results, start searching for loads.',\r\n },\r\n },\r\n myLoadsWidget: {\r\n header: 'My loads',\r\n totalLoadsButtonLabel: 'Total loads',\r\n contactedLoadsButtonLabel: 'Contacted',\r\n savedLoadsButtonLabel: 'Saved',\r\n bookedLoadsButtonLabel: 'Booked',\r\n pickedUpLoadsButtonLabel: 'Picked up',\r\n deliveredLoadsButtonLabel: 'Delivered',\r\n },\r\n lastPostedLoadWidget: {\r\n header: 'Last posted load',\r\n findCapacity: 'Find capacity for this load',\r\n postStrength: 'Post strength:',\r\n notFound: {\r\n title: 'No load posted',\r\n subtitle: 'To see results, post a load.',\r\n },\r\n },\r\n recentlyPostedWidget: {\r\n header: 'Recently posted',\r\n notFound: {\r\n title: 'No load posts',\r\n subtitle: 'To see results, start posting loads.',\r\n },\r\n },\r\n userMessages: {\r\n message_1: 'Hi {{name}}, the highway is calling.',\r\n message_2: \"Hi {{name}}, let's fill that truck.\",\r\n message_3: \"Hi {{name}}, mo' miles mo' money.\",\r\n message_4: 'Hi {{name}}, get your load on!',\r\n message_5: 'Hi {{name}}, no highway is too long.',\r\n message_6: 'Hi {{name}}, drive like no one is watching.',\r\n message_7: \"Hi {{name}}, these loads aren't gonna haul themselves.\",\r\n message_8: \"Hi {{name}}, let's get that truck on the road!\",\r\n message_9: 'Hi {{name}}, up and haul’em!',\r\n message_10: \"Hi {{name}}, let's get rolling.\",\r\n message_11: 'Hi {{name}}, run a search, load up, hit the gas.',\r\n message_12: \"Hi {{name}}, let's get those wheels on the ground.\",\r\n message_13: \"Hi {{name}}, let's get trucked up!\",\r\n message_14: 'Hi {{name}}, one of these loads will be right up your alley.',\r\n message_15: 'Hi {{name}}, we’ve got loads for you.',\r\n },\r\n metricsWidget: {\r\n loadsPostedPerMonth: 'Loads posted per month',\r\n loadsDeliveredPerMonth: 'Loads delivered per month',\r\n mostPostedOn: 'Most posted on',\r\n mostBookedOn: 'Most booked on',\r\n busiestDay: 'Busiest day',\r\n legendLoadsPostedText: 'Loads posted in {{month}}',\r\n legendLoadsDeliveredText: 'Loads delivered in {{month}}',\r\n monthlyLoads: 'Monthly loads',\r\n },\r\n },\r\n exportPosts: {\r\n Export_Posts: 'Export Posts',\r\n Description:\r\n 'We offer various methods to export your loads to other load boards, carriers, etc. Please refer to the options below. Need assistance?',\r\n Contact: 'Contact 877-875-5301',\r\n Extension: 'ext. 2',\r\n exportByFtp: {\r\n Title: 'Export your loads by FTP',\r\n Content:\r\n 'Our system can export your loads to any FTP address you specify. Whenever you post, edit or delete a load, our system will send an update to the FTP addresses listed below.',\r\n Successful_Save: 'FTP connected successfully',\r\n Successful_Delete: 'FTP deleted successfully',\r\n Save_Error: 'Something went wrong. Please verify the information entered and try again.',\r\n Is_Required: 'is required',\r\n Close_Ftp_Dialog_Title: 'All unsaved content will be lost',\r\n Close_Ftp_Dialog_Message: 'If you leave the current form, you will lose all newly entered information.',\r\n Unchanged_Password_Placeholder: 'Unchanged',\r\n ftp: {\r\n Ftp_Name: 'FTP Name (Description)',\r\n Condensed_Ftp_Name: 'FTP Name',\r\n Last_Transmission: 'Last Transmission',\r\n Connection: 'Connection',\r\n Valid: 'Valid',\r\n Invalid: 'Invalid',\r\n Protocol: 'Protocol',\r\n Encryption: 'Encryption',\r\n Remote_Directory: 'Remote Directory',\r\n Host: 'Host',\r\n Port: 'Port',\r\n Username: 'Username',\r\n Password: 'Password',\r\n Enable_Daily_Transmission: 'Enable daily full list transmission per setup',\r\n Required_Fields: 'Required fields',\r\n Delete: 'Delete',\r\n Cancel: 'Cancel',\r\n Ok: 'Ok',\r\n protocol: {\r\n Ftp: 'FTP - File Transfer Protocol',\r\n },\r\n encryption: {\r\n Plain_Ftp: 'Only use plain FTP',\r\n Implicit_Ftp_Over_Tls: 'Require implicit FTP over TLS',\r\n Explicit_Ftp_Over_Tls: 'Require explicit FTP over TLS',\r\n Explicit_Ftp_Over_Tls_If_Available: 'Use explicit FTP over TLS is available',\r\n },\r\n },\r\n },\r\n exportToCSV: {\r\n Title: 'Export to CSV File',\r\n Content: 'You can export all your available loads as a CSV file to easily send them by email, fax, etc.',\r\n Button: 'CSV File',\r\n },\r\n urlScrape: {\r\n Title: 'URL Scrape',\r\n Content:\r\n 'Other load boards can post your available loads by scraping a specific URL that we created for your company. Copy the URL and request that they scrape the website every couple of minutes to have your loads posted.',\r\n Button: 'Copy URL',\r\n SnackBar_Message: 'URL copied to clipboard.',\r\n },\r\n sharePostedLoads: {\r\n title:\r\n 'Other load boards will be able to automatically post your loads by scraping the following URL(s) that contains your available loads. Copy and send them the following URL to scrape every couple of minutes and your loads will automatically be posted.',\r\n header: 'Share posted loads',\r\n exportPostsResults: 'Export posts results',\r\n exportPostsTableView: 'Export Posts Table View',\r\n legacyHeader: 'Share posted loads (legacy)',\r\n pausedStatus: 'Paused',\r\n expirationUnlimited: 'Unlimited',\r\n allCompany: 'All company',\r\n URL: 'URL',\r\n editURL: 'Edit URL',\r\n newURL: 'New URL',\r\n enableUrlExpirationDate: 'Enable “URL expiration date”',\r\n listedLoads: 'Listed loads',\r\n pauseUrlScrapeTitle:\r\n 'Pause this URL scrape. Anyone you have shared this URL with will no longer have access until it is unpaused.',\r\n urlExpirationDate: 'URL expiration date',\r\n urlAdded: 'URL added',\r\n urlEdited: 'URL edited',\r\n urlDeleted: 'URL deleted',\r\n deletedURLPopup: {\r\n title: 'Delete URL',\r\n warning: 'Anyone you have shared this URL with will no longer have access.',\r\n deleteQuestion: 'Are you sure that you want to delete this link?',\r\n },\r\n limitReachedPopup: {\r\n title: 'URLs limit reached',\r\n limit: 'There is a limit of 20 URLs.',\r\n suggestion: 'Please delete any previous URLs before adding a new one.',\r\n },\r\n datePickerWarnings: {\r\n datePassed: 'The date has passed. Please enter a valid date',\r\n dateMustBeIncluded: 'Date must be included',\r\n invalidYear: 'Year must be 4 digits (ie. 2000)',\r\n dateMustExist: 'Date does not exist. Please enter a valid date.',\r\n enterValidDate: 'Please enter a valid date',\r\n },\r\n loadsTable: {\r\n loading: 'Loading...',\r\n notFound: 'Load data for this URL cannot be accessed at this time.',\r\n copyright:\r\n 'Copyright © 123Loadboard. All rights reserved. Any unauthorized copying, publication or reproduction of the\\n' +\r\n ' content of this website is strictly prohibited and constitutes an infringement of copyright. If you would like\\n' +\r\n ' permission to use this content, please contact 123Loadboard at 8778755301, ext. 2.',\r\n header: {\r\n pickupDate: 'Pickup date',\r\n originCity: 'Origin city',\r\n originState: 'Ori. state',\r\n originZip: 'Ori. zip code',\r\n pickupTime: 'Pickup time',\r\n destinationCity: 'Destination city',\r\n destinationState: 'Dest. state',\r\n destinationZip: 'Dest. zip code',\r\n deliveryDate: 'Delivery date',\r\n deliveryTime: 'Delivery time',\r\n approximateMiles: 'Approx. miles',\r\n equipment: 'Equip.',\r\n equipmentInfo: 'Equip. info',\r\n size: 'Size',\r\n length: 'Length (ft)',\r\n weight: 'Weight (lbs)',\r\n quantity: 'Qty.',\r\n stops: 'Stops',\r\n teamLoad: 'Team load',\r\n commodity: 'Commodity',\r\n notes: 'Notes',\r\n rate: 'Rate ($)',\r\n contact: 'Contact',\r\n contactPhone: 'Contact phone',\r\n ext: 'Ext.',\r\n contactEmail: 'Contact email',\r\n postRef: 'Post ref.',\r\n },\r\n },\r\n },\r\n },\r\n loadGeneric: {\r\n pickupDate: 'Pick up date',\r\n distance: 'Distance',\r\n deadhead: 'deadhead',\r\n equipment: 'Equipment',\r\n loadSize: 'Load size',\r\n postedRate: 'Posted rate',\r\n backhauls: 'Backhauls',\r\n rateCheck: 'Rate check',\r\n length: 'Length',\r\n weight: 'Weight',\r\n refNumber: 'Ref. #',\r\n item: 'Item',\r\n qtyStops: 'Qty/Stops',\r\n dropOffDate: 'Drop off date',\r\n moreInfo: 'More details',\r\n postedAge: 'Posted age',\r\n company: 'Company',\r\n avgRate: 'avg. rate',\r\n averageRate: 'Average rate',\r\n anywhere: 'Anywhere',\r\n anywhereUsa: 'USA',\r\n anywhereCanada: 'Canada',\r\n currentLocation: 'Current location',\r\n currentLocationUnknown: 'Current location unknown',\r\n },\r\n loadSorting: {\r\n title: 'Sort by',\r\n deadhead: 'Shortest deadhead',\r\n pickupDate: 'Pickup date',\r\n age: 'Posted age',\r\n shortestDistance: 'Shortest distance',\r\n longestDistance: 'Longest distance',\r\n postedRate: 'Highest posted rate',\r\n ratePerMile: 'Rate per mile',\r\n },\r\n uploadPosts: {\r\n Upload_Posts: 'Upload Posts',\r\n Instructions: 'Instructions',\r\n Drop_Area_Label: 'Drag & Drop your file here',\r\n Dropbox_Btn_Label: 'Select file',\r\n Extension: 'ext. 2',\r\n uploadCSV: {\r\n Title: 'Upload file',\r\n Content:\r\n 'Send us your Excel or CSV file to easily post your loads. Please ensure that your file meets our file guidelines above.',\r\n Feedback: 'File uploaded successfully',\r\n Feedback_New_Upload:\r\n 'File uploaded successfully.\\nIt will be processed as soon as our processor is updated to parse its format.',\r\n Error:\r\n 'Something went wrong. Please verify that the file meets our file guidelines (see above) and try again.',\r\n },\r\n newUploadCsv: {\r\n Title: 'File uploaded successfully',\r\n Message:\r\n \"It seems that you are new to the Upload Posts tool.\\n\\nWe will set up your account and contact you when it's ready. Once that's done, you'll be able to upload files and our system will automatically read and post your available loads.\",\r\n contact: 'For more information, contact ',\r\n },\r\n sendByFTP: {\r\n Title: 'Send Loads by FTP',\r\n Content:\r\n 'If you would like to send your loads via FTP, you can request FTP login details using the button below.',\r\n Button: 'request FTP access',\r\n Feedback: 'FTP request submitted successfully',\r\n },\r\n scrapeWebsite: {\r\n Title: 'Scrape Website',\r\n Content:\r\n 'If you have available loads listed on your company website, we can scrape these loads every few minutes so they appear in your account on 123Loadboard. If interested, let us know the website URL where we may find your available loads.',\r\n Textfield_Label: 'URL',\r\n Button: 'Submit',\r\n ErrorSnackbar: 'Invalid URL submitted',\r\n ErrorMsg: 'Invalid input. Make sure the URL is correct',\r\n EmptyMsg: 'Please enter a URL',\r\n Feedback: 'URL submitted successfully',\r\n },\r\n },\r\n tmsIntegration: {\r\n TMS_Integration: 'TMS Integration',\r\n Description:\r\n 'For your convenience, 123Loadboard is integrated with over 30 Transportation Management Softwares (TMS) that can automatically send your load postings to us.',\r\n Subtitle: 'Integrate with your company’s TMS',\r\n Content:\r\n 'Let our qualified staff integrate with your company’s TMS so that your load postings appear on our website in real-time at absolutely no charge.',\r\n Textfield: 'Transportation Management Software (TMS)',\r\n Company_List_Description:\r\n 'Here’s a small sample of the TMS companies we are integrated with. Don’t see your TMS listed,',\r\n Contact: 'contact',\r\n Contact_Extension: 'ext. 2',\r\n Invalid_Input_Message: 'Invalid format. The TMS should be at least 2 characters long.',\r\n snackbar: {\r\n Successful_Message: 'TMS successfully submitted',\r\n Dismiss: 'Dismiss',\r\n },\r\n },\r\n htmlEmbed: {\r\n HtmlEmbed: 'HTML Embed Code',\r\n Description:\r\n 'Display your posted loads on your own company website in real-time. Copy and paste the HTML Code below into your website. Need assistance?',\r\n Contact: 'Contact 877-875-5301',\r\n Textfield_Label: 'HTML code',\r\n Paper_Title: 'Display your loads on your website',\r\n Textfield_Description: 'Copy and paste the following HTML code into your own company website. ',\r\n Version_Description:\r\n '3 versions to choose from. You can edit the code to control the background color, width and height.',\r\n Copy_HTML: 'copy html code',\r\n Version_1: 'Version 1 (default)',\r\n Version_2: 'Version 2',\r\n Version_3: 'Version 3',\r\n Copy_Message: 'HTML code copied to clipboard.',\r\n },\r\n aspxEmbed: {\r\n loadAvailability: {\r\n title: 'Load Availability',\r\n },\r\n alerts: {\r\n title: 'Alerts',\r\n },\r\n messages: {\r\n title: 'Messages',\r\n },\r\n loadPlanner: {\r\n title: 'Load Planner',\r\n },\r\n myLoads: {\r\n title: 'My Loads',\r\n },\r\n myLoadsPost: {\r\n title: 'Post',\r\n },\r\n myCompanies: {\r\n title: 'Companies',\r\n },\r\n mileageCalculator: {\r\n title: 'Mileage Calculator',\r\n },\r\n myDocs: {\r\n title: 'My Documents',\r\n },\r\n creditReport: {\r\n title: 'Credit Report',\r\n },\r\n searchDirectory: {\r\n title: 'Search Directory',\r\n },\r\n hotLeads: {\r\n title: 'Hot Leads',\r\n },\r\n settings: {\r\n title: 'Settings',\r\n },\r\n managerUsers: {\r\n title: 'Manage Users',\r\n },\r\n membershipProfile: {\r\n title: 'Membership Profile',\r\n },\r\n paymentHistory: {\r\n title: 'Payment History',\r\n },\r\n paymentOptions: {\r\n title: 'Payment Options',\r\n },\r\n generalSettings: {\r\n title: 'General Settings',\r\n },\r\n toolsSettings: {\r\n title: 'Tools Settings',\r\n },\r\n alertsSettings: {\r\n title: 'Alerts Settings',\r\n },\r\n companyWebsite: {\r\n title: 'Company Website',\r\n },\r\n accountSetup: {\r\n title: 'Welcome back',\r\n },\r\n accountNotice: {\r\n title: 'Message',\r\n },\r\n accountRedir: {\r\n title: 'Account',\r\n },\r\n help: {\r\n title: 'Help Center',\r\n },\r\n },\r\n truckPost: {\r\n TruckPost: 'Post Truck',\r\n Announcement: {\r\n Title: 'Truck Posting is available on our mobile app',\r\n Item1: 'To post your truck, open the 123Loadboard app and click on Post.',\r\n Item2: 'You can set up a real-time truck post as well as schedule trucks for future dates and locations.',\r\n Item3: 'Brokers will send you load alerts directly to your phone.',\r\n Item4: 'Download our mobile app to post your truck.',\r\n },\r\n },\r\n truckLocator: {\r\n tutorial: {\r\n load: {\r\n step1: {\r\n title: 'Find Trucks Matching Your Loads',\r\n content1:\r\n 'Find truck capacity matching your load by sending alerts directly to carriers’ mobile devices.',\r\n content2: 'You can access this overview tour at any time by clicking this icon ',\r\n },\r\n step2: {\r\n title: 'Find Specific Loads',\r\n content: 'You can filter your loads quickly to find exactly what you want.',\r\n },\r\n step3: {\r\n title: 'Locate Carriers',\r\n content: 'Find truck capacity matching your load by sending alerts directly to carriers’ mobile devices.',\r\n },\r\n },\r\n truck: {\r\n step1: {\r\n title: 'Customize Your Search',\r\n content: 'Refine your search with available filters to locate carriers that meet your needs.',\r\n },\r\n step2: {\r\n title: 'Viewing Options',\r\n content:\r\n 'You’re currently on the {{viewName}} view. Change your view by toggling between Map and List to easily manage and contact carriers.',\r\n },\r\n step3: {\r\n title: 'Send Instant Notifications',\r\n content: 'Alert selected carriers of your load by sending a private notification to their mobile device.',\r\n },\r\n step4: {\r\n title: 'Match Your Next Load',\r\n content: 'Return to your load list and continue matching your loads with available carriers.',\r\n },\r\n },\r\n tooltip_title: 'Start Truck Locator Tour',\r\n },\r\n Post_Loads: 'Post Loads',\r\n Truck_Locator: 'Truck Locator',\r\n Alert_Carriers: 'Alert Carriers',\r\n Manage_hidden: 'Manage hidden',\r\n AddToFavorites: 'Add to favorites',\r\n RemoveFromFavorites: 'Remove from favorites',\r\n Favorite: 'Favorite',\r\n TagAsOnboarded: 'Tag as onboarded',\r\n RemoveOnboardedTag: 'Remove onboarded tag',\r\n Onboarded: 'Onboarded',\r\n Request_Tracking: 'Request tracking',\r\n No_Load_Title: 'You don’t have any loads posted',\r\n No_Load_Message: 'Start posting loads to find trucks',\r\n PostEdit: 'Post of Edit loads in',\r\n ManageLoads: 'Manage Loads',\r\n Find_Trucks: 'Find Trucks',\r\n Section: 'section',\r\n SearchLabel: 'Filter by pickup or destination',\r\n SearchLabelCompanyName: 'Search by company name',\r\n Hide: 'Hide',\r\n Refresh: 'Refresh',\r\n Loads_Fail: 'Loads could not be loaded.',\r\n Load_No_Longer_Available: 'Load no longer available',\r\n Load_No_Longer_Available_Explain: 'Load has expired or was removed from the system',\r\n Map_Icon_Label: 'Map',\r\n List_Icon_Label: 'List',\r\n Back_To_Load: 'Back to Load',\r\n Back_To_Loads: 'Back to Loads',\r\n verified: '\\t(Verified)',\r\n notVerified: '\\t(Not Verified)',\r\n stepper: {\r\n Select_Load: 'Select Load',\r\n Locate_Truck: 'Locate Truck',\r\n Send_Alert: 'Send Alert',\r\n },\r\n fmcsaAuthority: {\r\n type: {\r\n common: 'Common',\r\n contract: 'Contract',\r\n broker: 'Broker',\r\n },\r\n status: {\r\n active: 'Active',\r\n inactive: 'Inactive',\r\n },\r\n },\r\n filter: {\r\n Title: 'Filters',\r\n Radius: 'Radius',\r\n Favorite: 'Favorite',\r\n Onboarded: 'Onboarded',\r\n GPS_Verified: 'GPS Verified',\r\n ActiveAuthority: 'Active authority (MC#)',\r\n Applied: 'applied',\r\n },\r\n truckTable: {\r\n sentMessages: 'Your company sent {{messagesCount}} messages to this carrier recently.',\r\n Exact_Matches: 'exact matches',\r\n Anonymous_Matches: 'exact matches - anonymous',\r\n Filtered_Out_Matches: 'Filtered out matches',\r\n Non_Matches: 'non matches',\r\n Alert_This_Carrier: 'Alert this carrier',\r\n No_Results: 'No results found, please refine your search to allow the results to display.',\r\n carrierDetails: {\r\n Title: 'Carrier Details',\r\n Authority: 'Authority',\r\n AuthorityNumbers: 'Authority Numbers',\r\n CargoAuth: 'Cargo Authorization',\r\n Property: 'Property',\r\n Passengers: 'Passengers',\r\n HouseholdGoods: 'Household goods',\r\n Private: 'Private',\r\n Enterprise: 'Enterprise',\r\n AppPending: 'App. pending',\r\n RevocationPending: 'Revocation pending',\r\n Insurance: 'Insurance',\r\n BIPDInsurance: 'BIPD Insurance',\r\n HHGCargoInsurance: 'HHG Cargo Insurance',\r\n BondInsurance: 'Bond Insurance',\r\n Required: 'Required',\r\n Filed: 'Filed',\r\n BIPDPrimary: 'BIPD/Primary',\r\n Underwriter: 'Underwriter',\r\n Type: 'Type',\r\n PolicyNum: 'Policy number',\r\n EffectiveDate: 'Effective date',\r\n BIPDClass: 'BIPD Class',\r\n AlertSent: 'Alert sent {{time}}',\r\n phoneVerificationPopupText:\r\n 'Phone verification is done at the users request by confirming that they have access to the phone number provided.',\r\n dotVerificationPopupText:\r\n 'DOT# verification is done by confirming that the user has access to the company phone number listed with the FMCSA.',\r\n },\r\n },\r\n alertDialog: {\r\n Description: 'Your load will be sent to {{count}} carrier',\r\n Description_plural: 'Your load will be sent to {{count}} carriers',\r\n Payrate: 'Pay rate',\r\n Unit: 'Unit',\r\n Message_To_Carrier: 'Message to carrier',\r\n Send: 'Send',\r\n Cancel: 'Cancel',\r\n Clear: 'Clear',\r\n EntireTrip: 'Entire Trip',\r\n PerMile: 'Per Mile',\r\n Is_Required: 'is required',\r\n Send_Error: 'Something went wrong. Please try again later or contact',\r\n Send_Success: 'Your load info has been successfully sent to {{count}} carrier.',\r\n Send_Success_plural: 'Your load info has been successfully sent to {{count}} carriers.',\r\n },\r\n hideDialog: {\r\n Title: 'Hide Companies',\r\n Message: 'This will hide all trucks from the selected companies.',\r\n },\r\n loadTable: {\r\n My_Loads: 'My Loads',\r\n Just_Now: 'just now',\r\n },\r\n map: {\r\n Map: 'Map',\r\n legend: {\r\n Exact_Matches: 'Exact Matches',\r\n Anonymous_Matches: 'Anonymous Matches',\r\n Unselected_Matches: 'Unselected Matches',\r\n Filtered_Out_Matches: 'Filtered out Matches',\r\n Non_Matches: 'Non Matches',\r\n show: 'show',\r\n hide: 'hide',\r\n },\r\n path_not_found: 'No route found between origin and destination',\r\n },\r\n error: {\r\n title: \"Couldn't retrieve trucks\",\r\n message: 'Oops, there was an issue loading trucks for your load.',\r\n button: 'Back to loads',\r\n noExactMatches:\r\n 'There were no trucks found matching your load. Please adjust your load post or try again later.',\r\n },\r\n },\r\n postingAid: {\r\n Posting_Aid: 'Posting Aid Software',\r\n Instructions: 'Instructions',\r\n Description:\r\n 'Posting Aid is a free program that assists you in uploading and automatically posting your loads to 123Loadboard. Posting Aid captures and posts continuous changes made throughout the day. Need assistance?',\r\n Extension: 'ext. 2',\r\n Download_Button: 'Posting Aid',\r\n WatchVideo: 'Watch Video.',\r\n step1: {\r\n Title: 'Getting started',\r\n Content: 'Download and install the software.',\r\n },\r\n step2: {\r\n Title: 'Easy setup',\r\n Step1: 'Open the Posting Aid software',\r\n step2: {\r\n Content: 'Configure sections as follows:',\r\n StepA: 'Select file or folder to monitor',\r\n StepB: \"Select file type or keep as 'any'\",\r\n StepC: 'Enter your 123Loadboard login details',\r\n StepD: 'Enter your FTP username and password provided by 123Loadboard',\r\n },\r\n Step3: 'Start the Posting Aid on the first section.',\r\n },\r\n step3: {\r\n Title: \"You're Done!\",\r\n Content:\r\n 'Posting Aid is now set up to monitor the file or folder you specified and will continuously upload and post changes made throughout the day.',\r\n Note: 'NOTE: The file is uploaded within 15 seconds.',\r\n },\r\n },\r\n fuelPrices: {\r\n Title: 'Fuel Prices',\r\n Description: 'Stay up to date with fuel prices and energy trends.',\r\n Box1Title: 'Weekly On-Highway Diesel Prices',\r\n BOX1Button: 'VIEW FUEL PRICES',\r\n Box2Title: 'Energy updates provided by',\r\n Box2Description:\r\n 'The U.S. Energy Information Administration (EIA) is a principal agency of the U.S. Federal Statistical System responsible for collecting, analyzing, and disseminating energy information to promote sound policymaking, efficient markets, and public understanding of energy and its interaction with the economy and the environment.',\r\n },\r\n fmcsaSearch: {\r\n FMCSA_Search: 'FMCSA Search',\r\n Description: 'Review and monitor current operating authority, insurance status and safety ratings.',\r\n LicensingInsurance: 'Licensing and Insurance',\r\n SAFER: 'Safety and Fitness Electronic Records (SAFER) System',\r\n SearchFmcsa: 'Search FMCSA',\r\n SearchSAFER: 'Search SAFER',\r\n USDOT_Title: 'United States Department of Transportation',\r\n USDOT_Description:\r\n 'The United States Department of Transportation (USDOT or DOT) is a federal Cabinet department of the U.S. government concerned with transportation.',\r\n },\r\n getPaidFaster: {\r\n title: 'Get paid for your load instantly!',\r\n description:\r\n 'Start factoring loads today and get paid much faster by keeping your trucks rolling. Free fuel cards will reduce overall expenses plus fuel advances will allow you to buy fuel and deliver your freight on time.',\r\n sidePanel: {\r\n title: 'Exclusive Factoring Partner',\r\n description:\r\n \"Thunder Funding offers the most complete range of funding services for freight companies. From Owner Operators to Fleet Owners, they've got you covered.\",\r\n },\r\n form: {\r\n description:\r\n '123Loadboard has secured an exclusive partnership with Thunder Funding to provide you with immediate access to cash through the most innovative factoring program in the trucking industry. With Fuel Advances available 7 days a week, Thunder Funding always keeps you rolling.',\r\n listTitle: 'KEY BENEFITS',\r\n listItems: {\r\n i1: 'Invoice Factoring',\r\n i2: 'Working Capital Loans',\r\n i3: 'Free Fuel Cards',\r\n i4: 'Fuel Lines of Credit',\r\n i5: 'Fuel Advances 7 days a week',\r\n i6: 'Rush and Same Day Funding',\r\n i7: 'Free Credit Checking Service',\r\n i8: 'Free Online Account Management',\r\n },\r\n inputsTitle: 'Complete the form to get paid faster',\r\n button: 'Get Started',\r\n contactText: 'By clicking get started, a representative from Thunder Funding will be contacting you.',\r\n },\r\n done: {\r\n title: \"Thank you! We've received your request.\",\r\n description: 'An expert from Thunder Funding will contact you soon.',\r\n },\r\n already: {\r\n text1: 'You previously submitted a request to get started with factoring.',\r\n text2a: \"If you haven't been contacted yet, \",\r\n text2b: 'resubmit here',\r\n text2c: ' or call Thunder Funding.',\r\n callButton: 'CALL 877-873-8357',\r\n },\r\n },\r\n truckingAuthority: {\r\n Trucking_Authority: 'Trucking Authority',\r\n title: 'Get help with your trucking authority',\r\n description:\r\n 'Trucking starts with authority. Make sure that you have the proper documentation to keep your truck moving.',\r\n sidePanel: {\r\n title: 'Exclusive Trucking Authority Partner',\r\n description:\r\n 'Evilsizor & Associates is a full-service authority company with over 30 years of experience specializing in all things paperwork when dealing with the FMCSA and USDOT.',\r\n },\r\n form: {\r\n description:\r\n 'Looking to file your own authority, request name changes, file BOCs and more... our trucking authority partner can help.',\r\n inputsTitle: 'Complete the form to speak to an authority expert',\r\n button: 'SUBMIT',\r\n contactText: 'By clicking SUBMIT, a representative from Evilsizor & Associates will be contacting you.',\r\n },\r\n done: {\r\n title: \"Thank you! We've received your request.\",\r\n description: 'An expert from Evilsizor & Associates will contact you soon.',\r\n },\r\n already: {\r\n title: 'Reliable document management to get you on the road',\r\n text1: 'You previously submitted a request for a free consultation.',\r\n text2a: \"If you haven't been contacted yet, \",\r\n text2b: 'resubmit here',\r\n text2c: ' or call Evilsizor & Associates.',\r\n callButton: 'CALL 303-482-2965',\r\n },\r\n },\r\n fuelCard: {\r\n title: 'Introducing the 123Loadboard Fuel Card',\r\n description:\r\n 'Fuel accounts for nearly 40% of your operating expenses. Using a fuel card for your trucking business is a great way to reduce overall expenses and allows you to purchase fuel at the cash price or even at a discounted price rather than using a credit card and over paying at the pump for credit pricing.',\r\n sidePanel: {\r\n title: 'Exclusive Fuel Card',\r\n description: 'Powered by Thunder Funding and EFS.',\r\n },\r\n form: {\r\n description: 'No sign-up fees, monthly charges, or annual fees.',\r\n listTitle: 'KEY BENEFITS',\r\n listItems: {\r\n i1: 'Free to enroll, no set-up or monthly fees',\r\n i2: 'Huge discounts of up to 60 cents per gallon',\r\n i3: 'Fuel lines of credit',\r\n i4: 'IFTA tax reporting',\r\n i5: 'Accepted at over 14,000 locations nationwide',\r\n },\r\n inputsTitle: 'Complete the form to get your fuel card',\r\n button: 'GET FUEL CARD',\r\n contactText: 'By clicking Get Fuel Card, a representative from Thunder Funding will be contacting you.',\r\n },\r\n done: {\r\n title: \"Thank you! We've received your request.\",\r\n description: 'An expert from Thunder Funding will contact you soon.',\r\n },\r\n already: {\r\n text1: 'You previously submitted a request to get a fuel card.',\r\n text2a: \"If you haven't been contacted yet, \",\r\n text2b: 'resubmit here',\r\n text2c: ' or call Thunder Funding.',\r\n callButton: 'CALL 877-873-8357',\r\n },\r\n },\r\n backhauls: {\r\n Backhauls: 'Backhauls',\r\n possibleLoads: '{{value}} possible loads',\r\n possibleLoad: '1 possible load',\r\n },\r\n rateCheck: {\r\n history: 'Rate history',\r\n Rate_Check: 'Rate Check',\r\n Average_Rate: '{{value}}/mi average rate',\r\n Description:\r\n 'Estimate the average load rate per mile and your load revenue. Instantly get mileage, routing and toll costs (addon required).',\r\n About_Title: 'ABOUT RATE CHECK',\r\n Error_Message: 'Please select a city from the drop-down list',\r\n About:\r\n 'Rate data is collected from hundreds of small to medium sized carriers. Rates are in USD and are updated daily for most lanes in the Continental US.',\r\n No_Rate_Check:\r\n 'Rate Check data is not available for the search criteria entered. Where rate data is limited, such as in Canada, our system may produce higher/lower rates. We are continuously working on improving our algorithms so that rate data is more accurate.',\r\n Note: 'This is not the actual rate but rather the average rate per mile provided by Rate Check. The fuel surcharge may or may not be included in the revenue.',\r\n routeBox: {\r\n Title: 'Enter Route',\r\n Origin: 'Origin - City or Zip',\r\n Destination: 'Destination - City or Zip',\r\n Van: 'Van',\r\n Reefer: 'Reefer',\r\n Flatbed: 'Flatbed',\r\n Button: 'get rate',\r\n GetRate: 'Get rate',\r\n },\r\n revenueBox: {\r\n Route: 'Route:',\r\n Distance: 'Distance',\r\n Rate_Per_Mile: 'Avg. rate (USD) / mile',\r\n Fuel_Surcharge: 'Fuel Surcharge',\r\n Linehaul_Revenue: 'Linehaul Revenue',\r\n Toll_Costs: 'Toll Costs',\r\n Fuel_Costs: 'Estimated Fuel Costs',\r\n Additional_Costs: 'Additional Costs',\r\n Fuel_Costs_Short: 'Est. Fuel Costs',\r\n Estimated_Revenue: 'Estimated Revenue',\r\n Estimated_Revenue_Short: 'Est. Revenue',\r\n Included: 'Included',\r\n Low: 'Low',\r\n Average: 'Average',\r\n High: 'High',\r\n View_Loads: 'View loads',\r\n },\r\n },\r\n marketRates: {\r\n loadToTruckRatioTitle: 'Loads per ',\r\n searchForm: {\r\n marketRates: 'Market rates',\r\n title: 'Select a lane and equipment type to see the market rate.',\r\n getRate: 'Get rate',\r\n notFoundForBroker:\r\n 'Market rate data can help you price your freight by providing you with historical rate data for specified lanes and equipment types.',\r\n notFoundForCarrier:\r\n 'The Market Rates tool can help you find rate data and determine profitability for specific lanes based on your equipment type.',\r\n originLabel: 'Origin - city or zip',\r\n destinationLabel: 'Destination - city or zip',\r\n },\r\n widgets: {\r\n city: 'City',\r\n county: 'County',\r\n state: 'State',\r\n days: 'days',\r\n month: 'month',\r\n months: 'months',\r\n year: 'year',\r\n past: 'Past',\r\n selectDataRange: 'Select data range',\r\n averageRateAnalysis: 'Average rate check for past',\r\n expediteAll: {\r\n poweredBy: 'Powered by Expedite All',\r\n brokerToCarrierLTLRate: 'Broker-to-Carrier rate for ',\r\n title: 'Expedite All',\r\n estimatedRate: '{{rate}}/mi estimated rate',\r\n estRateByExpedite: '{{rate}}/mi est. rate by Expedite All',\r\n info: 'Expedite All provides market rate data, offering accurate rate benchmarks derived from real-time industry data to help you compare lane rates and optimize your pricing strategy.',\r\n },\r\n brokerToCarrierRates: {\r\n title: 'Broker-to-Carrier rate for past',\r\n totalTrip: 'Total trip: {{miles}} mi',\r\n fuelCost: 'Incl. trip fuel cost: {{fuelCost}}',\r\n titleCarrier: 'Carrier spot rate',\r\n subtitle: 'Recommended rate (incl. fuel)',\r\n },\r\n capacityFinder: {\r\n title: 'Capacity finder',\r\n subtitle: 'Contact posted trucks and carriers searching for loads on this lane.',\r\n numberOfCarriers: '{{number}} Carrier(s)',\r\n },\r\n fuelAndTollCosts: {\r\n estFuelCost: 'Est. fuel cost',\r\n tollCost: 'Toll costs',\r\n trip: 'Trip',\r\n drivingTime: 'Driving time',\r\n estimatedProfit: 'Estimated profit',\r\n },\r\n marginCalculator: {\r\n title: 'Margin calculator',\r\n rate: 'Rate ($)',\r\n margin: 'Margin %',\r\n targetRate: 'Target rate ($)',\r\n },\r\n rateCheck: {\r\n dataRange: 'Data range: ',\r\n suggestedRate: 'Suggested rate',\r\n backhaulAverageRate: 'Backhaul average rate',\r\n },\r\n acceptancePoint: {\r\n title: 'Acceptance point',\r\n subtitle: 'Determine your negotiation range and find the rate acceptance point for this lane.',\r\n calculatorTitle: 'Acceptance point calculator',\r\n reset: 'Reset',\r\n postingRateLabel: 'Posting rate ($)',\r\n estimatedCarrierOfferLabel: 'Est. carrier offer ($)',\r\n shipperChargeLabel: 'Shipper charge ($)',\r\n acceptancePointLabel: 'Acceptance point ($)',\r\n profitMarginLabel: 'Total profit margin of shipper charge:',\r\n above: 'above',\r\n below: 'below',\r\n profitMarginDifference: '{{percent}}% {{helperText}} acceptance point',\r\n cards: {\r\n postingRate: {\r\n title: 'Posting rate',\r\n text: 'Posting rate is the price you intend to post your load at. The default entry is the average market rate. You may enter your own value if you already know the rate you plan to post.',\r\n },\r\n estimatedCarrierOffer: {\r\n title: 'Est. carrier offer',\r\n text: 'This is the estimated rate desired by the carrier. If you have an offer from a carrier, you can enter it to calculate how acceptable it is for your business.',\r\n },\r\n shipperCharge: {\r\n title: 'Shipper charge',\r\n text: 'Shipper charge is the rate you will be charging the shipper to move loads on this lane. You may enter your own shipper charge to increase the accuracy of this tool.',\r\n },\r\n acceptancePoint: {\r\n title: 'Acceptance point',\r\n text: 'The acceptance point is the mutually acceptable rate for a load on this lane. You may enter your own acceptance point to calculate your profit margin when charging the shipper.',\r\n },\r\n },\r\n graph: {\r\n postingRateLabel: 'Posting rate:',\r\n acceptancePointLabel: 'Acceptance point:',\r\n shipperChargeLabel: 'Shipper charge:',\r\n estimatedCarrierOfferLabel: 'Est. carrier offer:',\r\n belowPostingRate: 'below posting rate',\r\n abovePostingRate: 'above posting rate',\r\n },\r\n },\r\n negotiationStrength: {\r\n title: 'Negotiation strength',\r\n unavailableText:\r\n 'Posting strength data for the selected equipment type and lane is unavailable at this time.',\r\n unavailableTextCarrier:\r\n 'Negotiation strength data for the selected equipment type and lane is unavailable at this time.',\r\n lowSection: {\r\n title: 'Low',\r\n part1: 'Negotiation strength for this lane is ',\r\n part2: ', so you may have to offer a higher rate.',\r\n part2Carrier: ', so you may have to accept a lower rate.',\r\n },\r\n mediumSection: {\r\n title: 'Medium',\r\n part1: 'Negotiation strength for this lane is ',\r\n part2: ', so you may need to offer close to the average rate.',\r\n part2Carrier: ', so you may need to accept a rate closer to the average.',\r\n },\r\n highSection: {\r\n title: 'High',\r\n part1: 'Negotiation strength for this lane is ',\r\n part2: ', so you can justify a lower rate.',\r\n part2Carrier: ', so you can justify a higher rate.',\r\n },\r\n },\r\n historicalRates: {\r\n title: 'Historical rates',\r\n legendTitle: 'Historical market rates for {{month}}',\r\n },\r\n rateAnalysis: {\r\n title: 'Rate analysis',\r\n },\r\n loadsWidgets: {\r\n pickupLoadsTitle: 'Pickup location loads',\r\n backhaulsLoadsTitle: 'Backhaul loads',\r\n forDays: 'for {{days}}',\r\n toLocation: 'to {{location}}',\r\n viewLoads: 'View loads',\r\n },\r\n },\r\n popups: {\r\n rateHistory: {\r\n title: 'Rate history',\r\n content:\r\n 'Rate history can help you predict trends and price your freight based on data from the past year.',\r\n },\r\n rateCheck: {\r\n title: 'Rate check',\r\n content:\r\n 'Rate check provides the average market rate to help compare lane rates before posting loads and better estimate your load revenues.',\r\n },\r\n suggestedRate: {\r\n title: 'Suggested rate',\r\n content:\r\n 'Suggested rate can help you determine how to price your freight to increase load acceptance by comparing the average rate with other posted loads leaving the pick up location.',\r\n },\r\n rateDifference: {\r\n title: 'Backhaul rate difference',\r\n content:\r\n 'Backhaul rate difference can be used to price your freight based on whether the carrier will find higher or lower priced loads at the drop off location.',\r\n },\r\n negotiationStrength: {\r\n title: 'Negotiation strength',\r\n content:\r\n 'Negotiation strength is based on the amount of loads going to the selected destination today and the rates they are posted at.',\r\n },\r\n historicalRates: {\r\n title: 'Historical rates',\r\n content:\r\n 'Historical data can provide you with a good understanding of recent market activity, seasonal trends, and help with planning and forecasting.',\r\n },\r\n rateAnalysis: {\r\n title: 'Rate analysis',\r\n content:\r\n 'Rate analysis provides you with the high, medium, and low rates based on the current year and can help determine fair rates based on this year’s market conditions.',\r\n },\r\n },\r\n },\r\n capacityFinder: {\r\n title: 'Capacity finder',\r\n customizingResults: 'Customizing your results',\r\n titleCapitalized: 'Capacity Finder',\r\n originLocationPlaceholder: 'Pickup - city or zip',\r\n destinationLocationPlaceholder: 'Drop off - city or zip',\r\n findButton: 'Find',\r\n emptyPageSubtitle:\r\n 'Capacity finder can help you find available carriers to haul your freight via their posted trucks and load search data.',\r\n notFoundTitle: 'No matches found',\r\n notFoundSubtitle: 'No matches found. Please change your search parameters or adjust your filters.',\r\n foundCarriers: 'Found {{quantity}} carriers',\r\n carrierDetailsEquipmentsTitle: 'Equipment(s)',\r\n carrierDetailsDestinationsTitle: 'Desired destination(s)',\r\n searchType: 'Search',\r\n postedTruckType: 'Posted truck',\r\n labels: {\r\n age: 'Age',\r\n deadhead: 'Deadhead',\r\n equipment: 'Equipment',\r\n capacity: 'Capacity',\r\n desiredRate: 'Desired rate',\r\n phone: 'Phone',\r\n nextAvailable: 'Next available',\r\n },\r\n sorting: {\r\n type: 'Type',\r\n resultType: 'Result type',\r\n age: 'Age',\r\n company: 'Company',\r\n rating: 'Rating',\r\n deadhead: 'Deadhead',\r\n equipment: 'Equipment',\r\n size: 'Size',\r\n availableCapacity: 'Available capacity',\r\n availableCapacityShort: 'Avail. capacity',\r\n desiredRate: 'Desired rate',\r\n phone: 'Phone',\r\n nextAvailable: 'Next available',\r\n nextAvailableShort: 'Next avail.',\r\n },\r\n filtering: {\r\n onboardedCarriers: 'Onboarded carriers',\r\n favoriteCarriers: 'Favorite carriers',\r\n gpsVerified: 'GPS verified',\r\n activeAuthority: 'Active authority (MC#)',\r\n age: 'Age: {{age}}h',\r\n pickupRadiusWithMi: 'Pickup radius: {{radius}}mi',\r\n dropoffRadiusWithMi: 'Drop off radius: {{radius}}mi',\r\n pickupRadius: 'Pickup radius',\r\n dropoffRadius: 'Drop off radius',\r\n ltlOnly: 'LTL only',\r\n },\r\n popups: {\r\n missingOnboardedCarriers: {\r\n title: 'Onboarded carriers',\r\n content: 'To filter by onboarded carriers, you need to add their DOT#s to your onboarded carriers list.',\r\n },\r\n },\r\n },\r\n myCarrierPortal: {\r\n onboard: 'Onboard',\r\n onboarded: 'Onboarded',\r\n addFavorite: 'Add to favorites',\r\n favorite: 'Favorite',\r\n riskAssessment: 'MCP risk assessment',\r\n integrationRequired: 'Integration required',\r\n integration: {\r\n title: 'MCP integration setup',\r\n to: 'To ',\r\n onboardedCarriers: 'see onboarded carriers and ',\r\n description: 'view risk assessments, an integration with MyCarrierPortal is required.',\r\n pointList1: \"If you don't have a MyCarrierPortal account, you can \",\r\n pointList2: 'To link your account, generate MyCarrierPortal integration credentials ',\r\n pointList3: 'Return here and proceed to enter credentials.',\r\n signupLink: 'sign up here ',\r\n here: 'here ',\r\n proceed: 'Proceed to Link Account',\r\n termsConditions:\r\n 'Please note that the terms and conditions of MyCarrierPortal may differ from 123Loadboard. The website will open in a new tab. 123Loadboard is not responsible for any content on third party websites.',\r\n credentialsDescription:\r\n 'Enter the integration credentials you created with MyCarrierPortal to complete your integration.',\r\n userName: 'MCP integration user name',\r\n password: 'MCP integration password',\r\n linkAccount: 'Link Account',\r\n back: 'Back',\r\n incorrectCredentialsMessage:\r\n 'The provided integration credentials are not valid. Please verify your credentials and try again.',\r\n },\r\n risklevel: {\r\n titleLow: 'Risk level: Low',\r\n titleMedium: 'Risk level: Medium',\r\n titleReview: 'Risk level: Review',\r\n titleFail: 'Risk level: Fail',\r\n low: 'Low: ',\r\n medium: 'Medium: ',\r\n review: 'Review: ',\r\n fail: 'Fail: ',\r\n descriptionLow: 'This carrier has a low risk level and is likely qualified to haul for you.',\r\n descriptionMedium: 'This carrier has a medium risk level and is likely qualified to haul for you.',\r\n descriptionReview: 'This carrier is likely not qualified to haul for you. Proceed with caution.',\r\n descriptionFail: 'This carrier is not qualified to haul for you and should not be contacted.',\r\n error: 'Risk Level assessment is not available at the moment. Please try again later.',\r\n },\r\n onboarding: {\r\n onboard: 'Onboard carrier',\r\n onboardWith: 'Onboard with {{company}} to add them to your carrier network.',\r\n start: 'Start onboarding',\r\n pending: 'Onboard pending',\r\n pendingdescription:\r\n 'An onboarding request has been sent through MyCarrierPortal. When {{carrier}} has completed the onboarding process, they will automatically be added to your Onboarded carriers.',\r\n description:\r\n 'To onboard this carrier, an onboarding request with instructions will be sent via MyCarrierPortal to their associated email address.',\r\n description2:\r\n 'When the carrier has successfully completed the onboarding process, they will automatically be added to your Onboarded carriers.',\r\n send: 'Send request',\r\n unsuccessful: 'Onboarding unsuccessful',\r\n onboardingFailed:\r\n \"The onboarding failed because this carrier's risk assessment score is above your threshold. You may log into your MyCarrierPortal for more options.\",\r\n },\r\n },\r\n profitCalculator: {\r\n title: 'Profit calculator',\r\n pleaseEnterValues: 'Please enter values',\r\n linehaulRevenue: 'Linehaul revenue',\r\n miles: 'Miles',\r\n mile: 'mile',\r\n rate: 'Rate',\r\n estimatedFuelCosts: 'Estimated fuel costs',\r\n mpg: 'MPG',\r\n gal: 'gal',\r\n applyFuelDiscount: 'Apply fuel discount (up to $0.40/gal)',\r\n getFuelCard: 'Get fuel card',\r\n additionalCosts: 'Additional costs',\r\n tollCost: 'Toll cost',\r\n dispatchFee: 'Dispatch fee',\r\n otherFee: 'Other fee',\r\n totalProfit: 'Total profit',\r\n mi: 'mi',\r\n fieldsRequiredOrInvalid: 'An entry is required or has an invalid value',\r\n fieldsInvalid: 'An entry has an invalid value',\r\n accessibility: 'Profit calculator. Press to calculate you profit.',\r\n reset: 'Reset',\r\n },\r\n borderWaitTimes: {\r\n BorderWaitTimes: 'Border Wait Times',\r\n Description:\r\n 'Get information as to the waiting times at the various Canadian/US Border crossing points. Each border location updates its estimated wait times hourly.',\r\n USA_Title: 'USA Border Wait Times',\r\n Canada_Title: 'Canada Border Wait Times',\r\n ViewUSA: 'View USA',\r\n ViewCanada: 'View Canada',\r\n },\r\n privateNetwork: {\r\n title: 'Private network',\r\n addNumber: 'Add USDOT#',\r\n addNumberInstructions:\r\n 'Add companies to your private network by adding one or more USDOT# on individual lines or separated by commas.',\r\n noValidNumbersSubmitted: 'No valid numbers were submitted',\r\n allNumbersInvalid: 'all failed validation',\r\n fromTotal: 'From {{count}} USDOT# record',\r\n fromTotal_plural: 'From {{count}} USDOT# records',\r\n duplicatesRemoved: '{{count}} duplicate removed',\r\n duplicatesRemoved_plural: '{{count}} duplicates removed',\r\n failedValidation: '{{invalid}} failed validation',\r\n successfullyAdded: '{{number}} USDOT# added to your private network successfully.',\r\n validationFailed: 'Validation failed',\r\n review: 'Review',\r\n filterByNumber: 'Filter by USDOT #',\r\n foundNumbers: 'Found {{number}} USDOT#',\r\n issueGettingBoard: 'There was an issue getting your load board',\r\n errorSubmitting: 'There was an error submitting your request',\r\n usDot: 'USDOT#',\r\n pageCount: '{{resultsStartNumber}} - {{resultsEndNumber}} of {{listSize}} USDOT#',\r\n serverError: 'Server error',\r\n deleteAll: 'Delete all',\r\n deleteAllText: 'Are you sure you want to delete all?',\r\n postPrivately: 'Add companies to your private network to post your loads privately.',\r\n allResultsFiltered: 'All the results were filtered',\r\n },\r\n reeferRates: {\r\n Reefer_Rates: 'Reefer Rates',\r\n Source: 'Source:',\r\n GovLinkName: 'U.S. Department of Agriculture’s Agricultural Marketing Service',\r\n },\r\n roadsideAssist: {\r\n Roadside_Assistance: 'Roadside Assistance',\r\n Title: 'Emergency roadside assistance',\r\n Description:\r\n 'Ensure you keep your truck moving. Get heavy-duty emergency roadside assistance for commercial vehicles.',\r\n MembershipBenefit: 'KEY BENEFITS',\r\n Benefits: {\r\n Towing: 'Towing Assistance',\r\n Towing2: '(up to 50 miles per disablement)',\r\n FlatTire: 'Flat Tire Assistance',\r\n FlatTire2: '(up to $150 per occurrence)',\r\n TireRepl: 'Tire Replacement Assistance',\r\n TireRepl2: '(up to $100 per disablement)',\r\n TireRepair: 'Tire Repair Assistance',\r\n TireRepair2: '(up to $100 per occurrence)',\r\n Mechanic: 'Mobile Mechanic Service',\r\n Mechanic2: '(up to $100 for service call)',\r\n Oil: 'Oil, Build and Water Delivery Service',\r\n Extriction: 'Extrication / Winching Assistance',\r\n Fuel: 'Fuel Delivery Service',\r\n Fuel2: '(up to 30 gallons of fuel)',\r\n KeyAssist: 'Lock-out/Replacement Key Assistance',\r\n KeyAssist2: '(up to $100)',\r\n JumpStart: 'Jump-starts',\r\n JumpStart2: '(up to $150 per occurrence)',\r\n PullStart: 'Pull Start',\r\n PullStart2: '(up to $100 per occurrence)',\r\n HeavyDuty: 'Extended Heavy Duty Warranty',\r\n Battery: 'Battery Assistance',\r\n Battery2: '(up to $100 for service call)',\r\n Parts: 'Replacement Part Delivery',\r\n Parts2: '(up to $100 per occurrence)',\r\n },\r\n done: {\r\n title: \"Thank you! We've received your request.\",\r\n description: 'An expert from Rig Nation will contact you soon.',\r\n },\r\n already: {\r\n title: 'Emergency roadside assistance',\r\n text1: 'You previously submitted a request for roadside assistance.',\r\n text2a: \"If you haven't been contacted yet, \",\r\n text2b: 'resubmit here',\r\n text2c: ' or call Rig Nation.',\r\n callButton: 'CALL 800-336-5909',\r\n },\r\n CompleteForm: 'Complete the form to speak a roadside assistance expert',\r\n form_button: 'SUBMIT',\r\n ExclusiveRoadside: 'Exclusive roadside assistance partner',\r\n Pricing_Description: 'Specializing in commercial truck roadside & extended warranty.',\r\n View_Terms: 'View Terms',\r\n Get_Roadside_Assistance: 'Get Roadside Assistance',\r\n Roadside_assistance_provided_by: 'Roadside assistance provided by',\r\n form_contactText: 'By clicking SUBMIT, a representative from Rig Nation will be contacting you.',\r\n },\r\n searchDirectory: {\r\n title: 'Search directory',\r\n contactDetails: 'Contact details',\r\n email: 'E-mail',\r\n subtitle: 'Find companies and information relevant to your business needs.',\r\n searchFor: 'Search for',\r\n carriers: 'Carriers',\r\n brokers: 'Brokers',\r\n shippers: 'Shippers',\r\n companyName: 'Company name',\r\n location: 'Location',\r\n mandatoryFields: '*Please fill out all mandatory fields.',\r\n search: 'Search',\r\n companyDetails: {\r\n title: 'Company details',\r\n businessType: 'Business type',\r\n carrierMC: 'Carrier MC#',\r\n brokerMC: 'Broker MC#',\r\n SCAC: 'SCAC code',\r\n interstate: 'Interstate#',\r\n street: 'Street',\r\n tel: 'Tel',\r\n tollFree: 'Toll-free',\r\n fax: 'Fax',\r\n website: 'Website',\r\n viewOnMap: 'View company on map',\r\n businessInfo: {\r\n title: 'Business background info',\r\n associationCertification: 'Association & certification',\r\n yearFounded: 'Year founded',\r\n companyProfile: 'Company profile',\r\n },\r\n safety: {\r\n title: 'Safety',\r\n subtitle: 'Crashes',\r\n fatal: 'Fatal',\r\n injury: 'Injury',\r\n tow: 'Tow',\r\n empty: 'N/A',\r\n },\r\n creditRating: 'Credit rating',\r\n },\r\n notFound: {\r\n title: 'No results found',\r\n content: 'Please adjust your search criteria and try again.',\r\n button: 'Edit search',\r\n },\r\n certification: {\r\n tia: 'TIA',\r\n ocfp: 'OCFP',\r\n },\r\n upgradePopup: {\r\n title: 'Search Directory',\r\n content1:\r\n 'The Search Directory allows you to quickly look up companies that use 123Loadboard. Being informed about the companies you work with, or would like to work with is essential to success in the transportation industry. The Search Directory is updated daily, so you can be sure that the information provided is accurate and up-to-date.',\r\n content2: 'Search Directory is available as part of the Premium Plus membership plan.',\r\n learnMore: 'Learn more',\r\n },\r\n },\r\n dropBox: {\r\n File_Too_Big: \"Invalid file size. The file shouldn't be empty nor be over 4MB.\",\r\n Invalid_FeedBack: 'Invalid file submitted',\r\n },\r\n shareLoad: {\r\n title: 'Load Details',\r\n promo: {\r\n unlockFullPotential: 'Unlock Full Potential',\r\n switchToMainView: 'SWITCH TO MAIN VIEW',\r\n loginPromoText:\r\n 'Sign in to place a bid, book this load, or message the poster. Compare market rates, find backhauls, plan your route, and use smart tools to optimize your trip.',\r\n logIn: 'SIGN IN',\r\n findMoreLoads: 'Find More Loads Like This',\r\n exploreMoreText:\r\n 'Explore similar loads with full details, compare opportunities, and take action. Sign in to bid, book, or message the poster directly and get the loads you need for your business.',\r\n logInToSeeMore: 'SIGN IN TO SEE MORE LOADS',\r\n },\r\n description: 'This load was shared with you.',\r\n loadInformation: {\r\n Title: 'Load Information',\r\n Distance: 'Distance',\r\n Pickup_Date: 'Pickup Date(s)',\r\n Equipment_Type: 'Equipment Type (Spec.)',\r\n Size: 'Size',\r\n Weight: 'Weight',\r\n Length: 'Length',\r\n Posted_Rate: 'Posted rate',\r\n },\r\n dispatch: {\r\n Title: 'Dispatch',\r\n Contact_Name: 'Contact Name',\r\n Telephone: 'Telephone',\r\n Extension: 'Ext',\r\n Reference_Number: 'Load Reference #',\r\n },\r\n company: {\r\n Title: 'Company',\r\n },\r\n Route: {\r\n Title: 'Mileage, Routing & Toll Cost Information',\r\n Total_Mileage: 'Total Mileage',\r\n Toll_Costs: 'Toll Costs',\r\n Driving_Time: 'Driving Time',\r\n Not_Found: 'Routing information not found for this load',\r\n Disclaimer:\r\n 'Credit information provided by TransCredit and ThunderFunding. Licensing, authority, and insurance information provided by the FMCSA and other sources. Disclaimer: While every effort has been made to ensure that the information contained on this site/app is correct and up-to-date at the time of posting, 123Loadboard, TransCredit, ThunderFunding, PC*Miler, its partners, affiliates and/or subsidiaries shall not be liable for any damages of any kind resulting from use of the information contained herein. 123Loadboard does not lay any claims to the accuracy of the credit ratings, days-to-pay, licensing, authority, mileage, and/or insurance information listed and in no way is the broker, shipper, carrier, owner-operator bound to it. No person should place reliance on information derived from this site/app where such reliance may result in loss, damage or injury. You may choose to make additional credit checks. If you feel that the information posted contains errors, please contact us.',\r\n },\r\n creditRating: {\r\n Title: 'Credit Rating',\r\n No_Credit_Ratings: 'There is no credit rating available at the moment for this company.',\r\n },\r\n upgradeMembership: {\r\n text1: 'Please ',\r\n link: 'upgrade',\r\n text2: ' your membership.',\r\n },\r\n upgradeMembershipLoggedOff: {\r\n text1:\r\n 'The 123Loadboard user sharing this load does not have access to this tool. This feature is available as part of the Premium plan. Please sign in into your account to see these details or ',\r\n link: 'upgrade',\r\n text2: ' your membership.',\r\n },\r\n },\r\n verifyEmail: {\r\n title: 'Verify your email',\r\n header: {\r\n successful: 'Email verified',\r\n expired: 'Verification link expired',\r\n input: 'Email verification',\r\n notFound: 'Verification code invalid',\r\n failed: 'Email verification failed',\r\n },\r\n subheader: {\r\n topMessage: 'We sent an email to activate your account, please check your email {{email}}',\r\n successful: 'Your email has been successfully verified.',\r\n failed:\r\n 'Your email address was not verified. Click the button below or call our Customer Support line at (877) 875-5301.',\r\n },\r\n content: {\r\n successful: 'You can now sign in with your 123loadboard account.',\r\n expired: 'This verification link has expired.\\nPlease request a new one to access your account.',\r\n input:\r\n 'Enter your verification code below. If you require further assistance, call our Customer Support at 877-875-5301',\r\n notFound:\r\n 'Please check your verification code. If you require further assistance, call our Customer Support at 877-875-5301',\r\n bottomMessage: 'If you do not receive an email within the next few minutes, be sure to',\r\n checkSpam: 'check your spam folder or call',\r\n desiredTime: '(9am-6pm M-F)',\r\n resendMessage: 'or click here to',\r\n resendEmail: 'Resend email',\r\n },\r\n submitButton: {\r\n text: 'I’m verified',\r\n },\r\n codeInputLabel: 'Verification code',\r\n validate: 'Validate',\r\n note: '* If you forgot your login details,',\r\n signIn: 'Sign in with another account',\r\n popups: {\r\n linkSent: {\r\n title: 'Verification link sent',\r\n text: 'A verification email has been sent to {{email}}. Please check your inbox and/or your spam/email folder.',\r\n },\r\n failedToSend: {\r\n title: 'Failed to send verification link',\r\n text: 'Sorry, there was a problem sending the email. Please try again.',\r\n },\r\n notVerified: {\r\n title: 'Email is not verified',\r\n text: 'Sorry, this email address is not verified yet. Please check your email again.',\r\n },\r\n },\r\n },\r\n verifiedLogin: {\r\n redirectMessage: 'If you are not redirected, please',\r\n divertToAppMessage: {\r\n header: 'Sign in to 123Loadboard',\r\n content: 'We’ve detected that you signed up on a mobile device.\\nPlease open the mobile app to continue.',\r\n },\r\n },\r\n unsubscribeAssistant: {\r\n title: 'Unsubscribe assistant',\r\n currentPlanTitle: 'Your current plan: ',\r\n currentPlanDiscount: '(you pay ${{priceWithDiscount}} for a ${{defaultPlanPrice}} plan per month)',\r\n currentPlanFullPrice: '(you pay ${{price}} per month)',\r\n currentPlanInfo:\r\n 'Your load statuses, saved searches, availability to brokers/shippers, and load documents stored with 123Loadboard will be affected by unsubscribing.',\r\n reason: 'Please indicate the reason you are unsubscribing.',\r\n cost: 'Cost',\r\n issue: 'Issue with loads',\r\n difficulty: 'Difficulty of use',\r\n missingFunctionality: 'Missing functionality',\r\n notUsing: 'Not using it',\r\n somethingElse: 'Something else',\r\n trialExtensionFree: 'EXTEND YOUR FREE TRIAL FOR {{promotionDays}} DAYS',\r\n trialExtension: ' in addition to the {{daysToExpire}} days you have left.',\r\n extensionLink: 'Extend my trial',\r\n continueUnsubscribe: 'No thanks, I still want to ',\r\n unsubscribeLink: 'unsubscribe.',\r\n costHeader: 'We understand everybody is on a budget.',\r\n costBody:\r\n 'Our membership plans are very competitive and can be tailored to meet your needs. You might be paying for features you don’t really need. ' +\r\n '123Loadboard offers more cost-effective packages that can help you trim the fat. \\n\\n Contact us and inquire about some of our other packages that might work better for you.',\r\n missingFunctionalityHeader: 'Not so fast, we might have what you’re looking for.',\r\n missingFunctionalityBody:\r\n 'Not finding what you’re looking for? A live chat with one of our Customer Support Specialists might point you in the right direction.',\r\n issueTitle1: 'Can’t find any good paying loads?',\r\n issueBody1a:\r\n 'Sometimes a broker/shipper may not offer the best rates, or shipping rates have taken a bit of a dive this week. For these issues, we have the ',\r\n issueBody1b: 'Rate Check ',\r\n issueBody1c:\r\n 'tool that can help increase your negotiation strength as well as keep you on top of pricing trends in the industry using the latest data. All of our loads also feature a ',\r\n issueBody1d: 'Backhaul ',\r\n issueBody1e: 'tool that can help you get back loaded and maximize your earning potential.',\r\n issueTitle2: 'Can’t book any of the loads I found?',\r\n issueBody2a:\r\n 'The trucking industry is very competitive and dynamic; some days a load can be gone in the blink of an eye! Loads on 123Loadboard are updated in real-time, so make sure you call loads immediately. Also, posting your truck is a way to get around this with our ',\r\n issueBody2b: 'Load Alerts',\r\n issueBody2c:\r\n ' tool. When you post your truck on 123Loadboard, you will get alerted to loads matching your truck and location. Another way to keep your truck loaded is by using our ',\r\n issueBody2d: 'Search Alerts',\r\n issueBody2e:\r\n '. Have a route you run all the time? You can receive search alerts specifically for that lane whenever a new load is posted.',\r\n issueTitle3: 'Can’t find a load that matches my truck?',\r\n issueBody3a: 'Having trouble finding loads? We have many different ways to find freight. The ',\r\n issueBody3b: 'Load Planner',\r\n issueBody3c: ' tool can help you go from Point A to Point B and deliver a separate load along the way.',\r\n issueContactSection:\r\n 'Our Customer Support Specialists can give you advice on how you can optimize your search filters, post a truck, set search alerts, and get you the loads you need for your truck.',\r\n difficultyHeader: 'Facing problems? We have solutions to help you out.',\r\n notUsingItHeader:\r\n '123Loadboard gets you loads across the country to keep your wheels rolling. Let us show you how.',\r\n somethingElseHeader:\r\n 'Tell us why you want to unsubscribe. We’ll be happy to get in touch with you as soon as possible to resolve any issues you may have.',\r\n watchTheVideoBody: 'Check out our Overview video to see how 123Loadboard can help you to grow your business.',\r\n joinFreeWebinarDifficulty:\r\n 'We host weekly live video tutorials with our resident Board Strategists that can help you out of any jam. Join one and see what 123Loadboard can truly offer.',\r\n joinFreeWebinarNotUsing:\r\n 'Our Board Strategists host regular live presentations to guide you through any questions you may have about the board and show you how it can benefit you.',\r\n contactSupportBody: 'Want to talk to a real person to solve any difficulties you have? We’re here to help.',\r\n confirmCheckboxUnsubscribedServices:\r\n 'I understand that my account will be unsubscribed from the service and my load statuses and truck availability for brokers/shippers may be affected, along with my saved searches. ',\r\n confirmCheckboxAffectDocuments: 'I understand that my documents may be affected by unsubscribing. ',\r\n confirmCheckboxOngoingDiscounts: 'I understand that any ongoing discounts ',\r\n confirmCheckboxOngoingDiscountsDetail: '(you pay ${{price}} for a ${{fullPrice}} plan per month) ',\r\n confirmCheckboxOngoingDiscountsLost: 'will be lost upon reactivating your membership in the future.',\r\n cardPopupTitle: 'Do you really want to unsubscribe?',\r\n cardPopupHeader: 'By unsubscribing, you acknowledge the following:',\r\n trialExtensionTitle: 'Trial Extension',\r\n unauthorizedHeader: 'Unsubscribe failed',\r\n unauthorizedMessage:\r\n 'Only administrators are permitted to make changes to 123Loadboard accounts. Please contact your account administrator for further assistance.',\r\n trialExtensionSent: 'Trial extension request has been sent!',\r\n trialExtensionMessage:\r\n 'Our Staff has been notified that you requested an extension to your free trial. You will receive confirmation shortly.',\r\n contactSupportTitle: 'Customer support',\r\n contactSupportHeader: 'Contact support',\r\n contactSupportMessage:\r\n 'Our Customer Support Team is available from 9:00 AM - 5:00 PM EST. Monday to Friday to help you and answer any questions you may have.',\r\n contactSupportPhone: '(877) 875-5301',\r\n contactSupportTimeLabel: 'Time',\r\n contactSupportSchedule: 'Need to schedule a call?',\r\n contactSupportScheduleMessage:\r\n 'Please select a time (9:00 AM - 5:00 PM EST. Monday to Friday) for one of our Customer Support Representatives to contact you.',\r\n customerSupportSent: 'Thank you',\r\n customerSupportMessage:\r\n 'Your call request has been submitted and one of our Customer Support Representatives will contact you between {{time}} EST.',\r\n detailIssueTitle: 'What would make you come back?',\r\n unsubscribeFinalizedTitle: 'Unsubscribe completed',\r\n unsubscribeFinalizedH1: 'We are confirming that:',\r\n unsubscribeFinalizedMessage0: 'Your request to unsubscribe was successfully submitted.',\r\n unsubscribeFinalizedMessage1:\r\n 'We have removed your credit card and billing information. There will be no further charges on your account.',\r\n unsubscribeFinalizedH2: 'Your account will be downgraded to a free “Basic account”',\r\n unsubscribeFinalizedEmptyDowngradeDate: '.',\r\n unsubscribeFinalizedH2a: ' effective ',\r\n unsubscribeFinalizedMessage2:\r\n 'This gives you limited access to load searching, rate check, truck posting, and any documents stored in your account. Your account will only be available through the mobile app. If you haven’t already, please download our mobile app to use your basic membership.',\r\n unsubscribeFinalizedMessageUpgrade: 'Looking to upgrade your account, ',\r\n unsubscribeFinalizedMessageUpgradeLink: 'click here',\r\n unsubscribeBannerMessage:\r\n 'You have unsubscribed from your membership. You will continue to have access until {{date}} . If you wish to re-actvate your account, ',\r\n radioIssue1: 'Increase load quantity',\r\n radioIssue2: 'Higher paying loads',\r\n radioIssue3: 'Accurate load info',\r\n radioIssue4: 'Hot shot loads',\r\n radioIssue5: 'Other',\r\n detailDifficultyTitle: 'What can we improve that would make you come back?',\r\n detailMissingTitle: 'What features can we add that would make you come back?',\r\n detailNotUsingTitle: 'Why did you stop using the load board?',\r\n radioNotUsing1: 'Leased onto a company',\r\n radioNotUsing2: 'Truck out of service',\r\n radioNotUsing3: 'Going out of business',\r\n radioNotUsing4: 'Retiring',\r\n radioNotUsing5: 'Other',\r\n detailSomethingElseTitle: 'Where are you getting your loads now?',\r\n radioSomethingElse1: 'DAT',\r\n radioSomethingElse2: 'Truckstop',\r\n radioSomethingElse3: 'Dispatcher',\r\n radioSomethingElse4: 'Brokers',\r\n radioSomethingElse5: 'Another load board',\r\n radioSomethingElse6: 'Other',\r\n unsubscribeFailedTitle: 'Something went wrong - but don’t worry!',\r\n unsubscribeFailedDescription:\r\n 'There was a problem processing your request to unsubscribe. Our Customer Support team will unsubscribe the account for you and you will receive an email shortly confirming this.',\r\n unsubscribeFailedFurtherQuestions:\r\n 'If you have any questions or require further assistance, please contact our Customer Support team at ',\r\n joinFreeWebinar: 'Join free webinar',\r\n watchTheVideo: 'Watch the video',\r\n openLiveChat: 'Open live chat',\r\n contactSupport: 'Contact support',\r\n buttonNext: 'Next',\r\n buttonContinue: 'Continue',\r\n buttonDontUnsubscribe: \"Don't unsubscribe\",\r\n buttonUnsubscribe: 'Unsubscribe',\r\n buttonSubmit: 'Submit',\r\n buttonOK: 'OK',\r\n comment: 'Comment',\r\n phone: 'Phone',\r\n retentionPromo: {\r\n title: \"Wait, don't leave!\",\r\n content:\r\n \"You're a very valuable member and we truly appreciate you being a part of 123Loadboard. Please give us another chance with a \",\r\n contentMore: ' on your membership for the next {{period}}.',\r\n monthlyDiscount: '{{amount}} monthly discount',\r\n accept: 'Accept {{amount}} discount',\r\n applied: 'Discount applied',\r\n thanksForStaying: 'Thanks for staying!',\r\n confirmationText: 'Accepting our offer and giving us another shot means a lot to us. Your ',\r\n confirmationTextMore: ' has been applied to your membership for the next {{period}}.',\r\n discount: '{{amount}} discount',\r\n nextBillingText: 'Your discount is now activated and will apply to your next billing on {{billingDate}}.',\r\n },\r\n reasonsToStay: {\r\n title: 'Top reasons to keep your 123Loadboard membership',\r\n reason1: {\r\n text: 'Saves you hundreds of dollars per year compared to other boards, keeping money in your wallet.',\r\n },\r\n reason2: {\r\n text1: 'Access to many ',\r\n link: 'tools and services ',\r\n text2: 'the other guys nickel-and-dime you for.',\r\n },\r\n reason3: {\r\n text1: 'Our ',\r\n link: 'Customer Success Team ',\r\n text2: 'helps members find the loads they are looking for.',\r\n },\r\n continueUsing: {\r\n text1: 'Would you like to ',\r\n link1: 'continue using ',\r\n text2: '123Loadboard or would you still like to ',\r\n link2: 'unsubscribe',\r\n text3: '?',\r\n },\r\n },\r\n manageSubscription: 'Manage subscription',\r\n applePopup:\r\n 'Your 123Loadboard account is managed through the App Store. To make changes to your subscription, please do so through the App Store settings on your Apple device settings.',\r\n openSettings: 'Open settings',\r\n },\r\n settings: {\r\n title: 'Settings',\r\n account: {\r\n title: 'Account',\r\n profile: 'Profile',\r\n updateProfile: {\r\n snackBarSuccess: 'Profile Updated',\r\n snackBarFailure: 'Profile failed to update',\r\n },\r\n editBusinessProfile: 'Edit business profile',\r\n editMyProfile: 'Edit my profile',\r\n company: 'Company',\r\n users: 'Users',\r\n postingContact: 'Posting contact',\r\n postingContacts: 'Posting contacts',\r\n dispatchers: {\r\n addDispatcher: 'Add dispatcher',\r\n noDispatcher: 'No dispatcher on your account',\r\n description: 'You have no dispatcher contact details assigned. Please add some to your account.',\r\n info: 'Info',\r\n updateDispatcher: 'If you wish to update your Dispatcher contact info, please call ',\r\n },\r\n type: 'Type',\r\n types: {\r\n all: 'All',\r\n admin: 'Admin',\r\n user: 'User',\r\n },\r\n user: {\r\n addUser: 'Add User',\r\n noUser: 'No users on your account',\r\n description: 'You have no user contact details assigned. Please add some to your account.',\r\n sendRequest: 'Send request',\r\n deleteUser: {\r\n title: 'Delete user',\r\n message: 'Are you sure you want to delete this user?',\r\n messageCanNotDelete:\r\n 'You cannot delete your own user profile. Please call (877) 875-5301 for assistance.',\r\n },\r\n editUser: 'Edit User',\r\n updateUser: {\r\n snackBarSuccess: 'User Updated',\r\n snackBarFailure: 'User failed to update',\r\n description: 'Please contact your administrator to make changes to this account',\r\n },\r\n type: 'Type: {{value}}',\r\n requestToAddUser: {\r\n title: 'Request sent',\r\n message:\r\n 'We have received your request to add a user to your account. You will receive a confirmation email when the user is added.',\r\n },\r\n lastLogin: 'Last login: {{date}}',\r\n },\r\n companyPanel: {\r\n snackBarSuccess: 'Company Updated',\r\n snackBarFailure: 'Company failed to update',\r\n },\r\n },\r\n businessProfile: {\r\n dot: 'DOT#',\r\n title: 'Business profile',\r\n addressTitle: 'Address:',\r\n companyPhoneTitle: 'Company phone:',\r\n companyNameTitle: 'Company name:',\r\n dotNumberTitle: 'DOT#:',\r\n mcNumberTitle: 'MC#:',\r\n onboardingUrl: {\r\n title: 'Onboarding link:',\r\n buttonLabelAdd: 'Add link',\r\n buttonLabelEdit: 'Edit link',\r\n buttonLabelEditOnboarded: 'Edit onboarded carriers',\r\n popupTitleAdd: 'Add onboarding link',\r\n popupTitleEdit: 'Edit onboarding link',\r\n popupContent:\r\n 'Please enter your carrier onboarding link. This link will be available on all of your posted loads for carriers not on your onboarded carrier list.',\r\n fieldLabel: 'Onboarding link *',\r\n linkAdded: 'Link added',\r\n messages: {\r\n success: 'Onboarding link successfully uploaded',\r\n failure: 'Oops. Something went wrong',\r\n },\r\n },\r\n dotBusinessProfileOption: {\r\n noDot: {\r\n title: 'Use FMCSA company details',\r\n text: 'Please enter your DOT# above to activate FMCSA company details.',\r\n },\r\n noInformationAvailable: {\r\n title: 'Use FMCSA company details',\r\n text: 'We were unable to find information for the entered DOT#.',\r\n },\r\n customProfile: {\r\n title: 'Use custom company details',\r\n },\r\n volpeProfile: {\r\n title: 'Use FMCSA company details',\r\n },\r\n },\r\n },\r\n dotVerification: {\r\n title: 'DOT# verification',\r\n tooltip: \"DOT# verification: Confirms user's access to the FMCSA-listed company phone number.\",\r\n carrierNotVerified: 'Carrier DOT# not verified. Consider this when reaching out.',\r\n verifyYourDot: 'Verify your DOT# ',\r\n betterOpportunities: ' for better opportunities with brokers and shippers.',\r\n dotNumberVerified: 'DOT# verified',\r\n verifyDotNumber: 'Verify DOT#',\r\n verifyYourDotNumber: 'Verify your DOT#',\r\n pleaseEnterDot: 'Please enter DOT#.',\r\n phoneListPanelText:\r\n 'Brokers and shippers prefer to work with Carriers that have verified their DOT#. You can verify your DOT# via phone confirmation. Please select a phone number that you have access to.',\r\n phoneListPanelSelectNumber: 'Select phone number',\r\n verificationCodeWillBeSentTo: 'You can verify your DOT# with a confirmation code that will be sent to',\r\n selectActivationMethod: 'Please select your preferred activation method.',\r\n selectVerificationMethodTitle: 'Select verification method',\r\n enterCode: 'Enter code',\r\n errorPanel: {\r\n title: 'Verification error',\r\n unableToFindByDot: 'We were unable to find information for the entered DOT#:',\r\n makeSureDotEntered: 'Please make sure your DOT# is entered correctly or try again later.',\r\n },\r\n resultPanel: {\r\n successfullyVerified: 'Your DOT number has been successfully verified.',\r\n },\r\n },\r\n billing: {\r\n title: 'Billing',\r\n billingSummary: 'Billing Summary',\r\n summary: {\r\n billingCycle: 'Billing cycle',\r\n nextBillingDate: 'Next billing date',\r\n membershipFee: 'Membership fee',\r\n membershipBilledBy: 'Billed by',\r\n membershipBilledByAppStore: 'App Store',\r\n addOn: 'Add-ons',\r\n currentCost: 'Current membership cost',\r\n monthly: 'Monthly',\r\n yearly: 'Yearly',\r\n },\r\n paymentHistory: 'Payment history',\r\n datesFilterTitle: 'Filter by dates',\r\n invoiceTitle: 'Invoice {{invoiceNo}}',\r\n paymentMethod: 'Payment method',\r\n invoicesNotFound: 'No invoices',\r\n editPaymentMethod: 'Edit payment method',\r\n membershipPlan: {\r\n noPermissions: `You don't have the necessary permissions to make changes.`,\r\n pleaseContactAccountOwner: 'Please contact the account owner',\r\n changesToMembership: 'to request changes to this membership.',\r\n noPermissionsToEditPaymentMethod: `You don't have necessary permissions to edit payment method. Please contact the account owner`,\r\n requestChanges: 'to request changes.',\r\n ifYouRequireAssistance: 'If you require additional assistance, please contact Support at',\r\n phoneNumber: '877-875-5301',\r\n workTime: '(Mon-Fri 8am-6pm EST).',\r\n },\r\n paymentDeclineNotice: {\r\n title: 'Payment failure',\r\n expiringSoon:\r\n 'We were unable to process payments for an overdue invoice on your account. Please make a payment to keep full access to your account.',\r\n nearingExpiration:\r\n 'We were unable to process payments for an overdue invoice on your account. Please make a payment within the next ',\r\n nearingExpirationSecond: 'to keep full access to your account.',\r\n expired:\r\n 'We were unable to process payments for an overdue invoice on your account. Your membership is currently suspended. Please provide a new form of payment to restore full access to your account.',\r\n hardDecline:\r\n 'Your card ending in {{card}} cannot be processed. Please replace card or correct card information.',\r\n softDecline:\r\n 'There was an issue processing your card ending in {{card}}. Please make sure that the card has funds available or provide a new payment method. We will reattempt the transaction at a later date.',\r\n },\r\n },\r\n preferences: {\r\n title: 'Preferences',\r\n loadVisibilityRules: 'Load visibility rules',\r\n notifications: 'Notifications',\r\n emailNotificationSelection: 'Select the emails that you wish to receive.',\r\n alertsSound: {\r\n title: 'Alerts sound',\r\n description: 'Choose which alerts play a sound when new content arrives.',\r\n options: {\r\n messageAlerts: 'Message alerts',\r\n },\r\n updateSuccess: 'Alerts sound was updated',\r\n updateFail: 'Alerts sound was not updated',\r\n },\r\n messages: {\r\n title: 'Messages',\r\n browserNotification: 'Browser notifications settings',\r\n disablingTitle: 'Disabling notifications',\r\n disablingMessage: 'In order to turn off notifications, please ',\r\n disablingMessageEnd: ' for browser-specific instructions.',\r\n },\r\n updates: {\r\n title: 'Updates',\r\n announcements: 'Announcements (new features, etc)',\r\n newsletters: 'Newsletters (members news, etc)',\r\n promotions: 'Promotions (offers, discounts, etc)',\r\n snackBarSuccess: 'Notifications updated successfully',\r\n snackBarFailure: 'Notifications failed to update',\r\n },\r\n alertsLeads: {\r\n title: 'Alerts/Leads',\r\n loadTruckMatching: 'Instant load/truck matching',\r\n },\r\n mileageAndRouting: {\r\n title: 'Mileage and routing',\r\n basic: 'Basic Options',\r\n advance: 'Advanced options',\r\n vehicleDimension: 'Vehicle dimension',\r\n saveSettings: 'Apply and save settings',\r\n success: 'Updated successfully',\r\n error: 'Failed to update',\r\n routeMethod: {\r\n title: 'Route method',\r\n shortest: 'Shortest',\r\n practical: 'Practical',\r\n },\r\n tolls: {\r\n title: 'Tolls',\r\n avoid: 'Avoid tolls (if possible)',\r\n included: 'Tolls can be included',\r\n tollCost: 'Toll costs',\r\n axles: 'By axles',\r\n weight: 'By weight',\r\n null: 'Null',\r\n },\r\n mapDetail: {\r\n title: 'Map detail level',\r\n },\r\n legend: {\r\n title: 'Legend on the map',\r\n show: 'Show legend',\r\n hide: \"Don't show legend\",\r\n },\r\n units: {\r\n title: 'Units',\r\n english: 'English',\r\n metric: 'Metric',\r\n },\r\n dimension: {\r\n height: 'Height',\r\n length: 'Length',\r\n feet: 'Feet',\r\n inch: 'Inches',\r\n meters: 'Meters',\r\n invalidHeight: 'Invalid height',\r\n invalidLength: 'Invalid length',\r\n widthMeter: 'Width in Meters',\r\n widthInch: 'Width in Inches',\r\n meterOrLess: '2.44 or Less',\r\n meterOrMore: '2.59 or More',\r\n inchOrLess: '96\" or Less',\r\n inchOrMore: '102\" or More',\r\n weightLbs: 'Weight in Lbs',\r\n weightKgs: 'Weight in Kgs',\r\n },\r\n hazmat: {\r\n title: 'Hazmat',\r\n type: 'Hazmat type',\r\n general: 'General',\r\n caustic: 'Caustic',\r\n explosive: 'Explosives',\r\n none: 'None',\r\n flammable: 'Flammable',\r\n inhalants: 'Inhalants',\r\n radioactive: 'Radioactive',\r\n },\r\n border: {\r\n international: 'International',\r\n border: 'Cross-over borders',\r\n },\r\n },\r\n searchResults: {\r\n title: 'Search results',\r\n averageRateHeader: 'Rate Check',\r\n averageRateLabel: 'RATE CHECK',\r\n checkboxLabel: 'Display average rate information on load results',\r\n snackBarSuccess: 'Rate Check setting updated successfully',\r\n snackBarFailure: 'Rate Check setting failed to update',\r\n },\r\n manageFuelMileage: 'Manage fuel mileage (MPG)',\r\n mpg: {\r\n description: 'Enter your MPG for more accurate mileage and income estimates',\r\n snackBarSuccess: 'Your MPG was updated successfully',\r\n snackBarFailure: 'Your MPG failed to update',\r\n title: 'MPG',\r\n },\r\n\r\n privacyControl: 'Privacy control',\r\n exportingLoadDetails: {\r\n title: 'Exporting load details',\r\n exportLoadDetails: 'Export load details',\r\n description: 'Select your exporting options',\r\n cota: 'COTA',\r\n export: 'Export',\r\n exportingToCota: 'Allow load exporting to COTA',\r\n popUpCota: {\r\n part1:\r\n 'COTA is a dispatching software that helps you manage your load from pickup to delivery and includes features like tracking and invoicing.',\r\n part2: 'Please visit ',\r\n part3: 'www.cotasystem.com',\r\n part4: ' for more information.',\r\n part5: 'To learn more about how 123Loadboard works with COTA, please visit our ',\r\n part6: 'FAQ.',\r\n },\r\n snackBarSuccess: 'Exporting load details settings updated successfully',\r\n snackBarFailure: 'Exporting load details settings failed to update',\r\n },\r\n hotLeads: {\r\n title: 'Hot leads',\r\n snackBarSuccess: 'Hot leads updated successfully',\r\n snackBarFailure: 'Hot leads failed to update',\r\n },\r\n },\r\n legal: {\r\n title: 'Legal',\r\n termsOfService: 'Terms of service',\r\n privacyPolicy: 'Privacy policy',\r\n openSourceLicenses: 'Open source licenses',\r\n },\r\n receiveHotLeadCalls: 'Receive calls from brokers and shippers based on your search data',\r\n postingContacts: {\r\n postingContact: 'Posting contact',\r\n postingContacts: 'Posting contacts',\r\n addContact: 'Add contact',\r\n editContact: 'Edit contact',\r\n addNew: 'Add new',\r\n postingContactInfo: 'Posting contact info',\r\n default: 'Default',\r\n pleaseContactPostingDepartment: 'Please contact our Posting department',\r\n toMakeChangesToDefaultContact: 'to make changes to the default posting contact.',\r\n manageYourPostingContacts: 'Manage your posting contacts',\r\n postingDepartmentPhone: '877-875-5301 ext.2',\r\n popups: {\r\n delete: {\r\n title: 'Delete Posting Contact',\r\n warning: 'Are you sure that you want to delete this posting contact?',\r\n },\r\n manageContacts: {\r\n title: 'Manage posting contacts',\r\n content:\r\n 'Posting Contacts are the point-of-contact for carriers inquiring about your posted loads. This section allows you to quickly create, edit, and assign specific Posting Contacts to loads.',\r\n warning: 'Any changes to Posting Contacts do not apply to loads already posted.',\r\n },\r\n },\r\n snackbars: {\r\n contactAdded: 'Posting contact added',\r\n contactUpdated: 'Posting contact updated',\r\n contactDeleted: 'Posting contact deleted',\r\n },\r\n },\r\n },\r\n intg: {\r\n clients: {\r\n empty: 'No client applications',\r\n emptyParagraph:\r\n 'The client application list is currently empty. To create a client application, please contact the integrations team at integrations@123loadboard.com',\r\n },\r\n client: {\r\n notFound: 'Client not found',\r\n logo: {\r\n popupTitle: 'Remove logo',\r\n popupContent: 'Are you sure you want to remove your logo?',\r\n infoTitle: 'Client Logo Info',\r\n infoText1:\r\n \"The client logo will be displayed to your customers when they try to login to our platform through your application. Click on the 'Try it out!' button to see this page.\",\r\n infoText2: 'The logo will be cropped to 4:3 and should have a width around 1024px.',\r\n },\r\n nameInfoTitle: 'Client Name Info',\r\n nameInfoText1:\r\n 'The client name will be displayed to your customers when they try to login to our platform through your application.',\r\n nameFieldPrompt: 'Please fill out the field below to edit this client application name.',\r\n nameTitle: 'Client application name',\r\n nameSaved: 'Client name saved',\r\n invalidName: 'Invalid client name',\r\n manageURIsPrompt: 'Add or remove your redirect URI(s)',\r\n removeURILabel: 'Delete redirect URI',\r\n removeURIPrompt: 'Are you sure you want to delete this redirect URI?',\r\n uriRemoved: 'URI removed',\r\n cannotRemoveLastURI: 'You cannot delete the only URI. Please add a new one if you want to delete this one.',\r\n uriFieldPrompt: 'Please enter the redirect URI you would like to add',\r\n uriFieldLabel: 'URI path',\r\n uriAdded: 'New URI added',\r\n invalidURI: 'Invalid redirect URI',\r\n regenerateLabel: 'Regenerate credentials',\r\n regneratePrompt: 'Are you sure you want to regenerate your credentials?',\r\n regenerateSuccess: 'Client credentials regenerated',\r\n secretCopied: 'Client secret copied to clipboard',\r\n },\r\n },\r\n menu: {\r\n account: {\r\n title: 'Account',\r\n signin: 'Sign in',\r\n register: 'Sign up',\r\n },\r\n carrier: 'Carrier',\r\n broker: 'Broker/Shipper',\r\n brokerSmall: 'Broker \\n Shipper',\r\n integrator: 'Integrator',\r\n companies: {\r\n myCompanies: 'Companies',\r\n },\r\n main: {\r\n title: 'Main',\r\n dashboard: 'Dashboard',\r\n alerts: 'Alerts',\r\n messages: 'Messages',\r\n },\r\n environments: {\r\n title: 'Clients',\r\n dev: 'Dev',\r\n live: 'Live',\r\n },\r\n loads: {\r\n title: 'Loads',\r\n findLoads: 'Find loads',\r\n loadAvailability: 'Load availability',\r\n tripBuilder: 'Trip builder',\r\n loadPlanner: 'Load planner',\r\n myLoads: 'My loads',\r\n myCompanies: 'My companies',\r\n },\r\n myLoads: {\r\n title: 'My Loads',\r\n post: 'Post Loads',\r\n uploadPosts: 'Upload Posts',\r\n exportPosts: 'Export Posts',\r\n },\r\n myTrucks: {\r\n title: 'My Trucks',\r\n post: 'Post truck',\r\n },\r\n findTrucks: {\r\n title: 'Find Trucks',\r\n search: 'Truck locator',\r\n myCarriers: 'Carriers',\r\n },\r\n tools: {\r\n title: 'Tools',\r\n profitCalculator: 'Profit calculator',\r\n rateCheck: 'Rate check',\r\n carrierMonitor: 'Carrier Monitor',\r\n hotLeads: 'Hot Leads',\r\n mileageCalculator: 'Mileage calculator',\r\n myDocuments: 'My Documents',\r\n },\r\n services: {\r\n title: 'Services',\r\n getPaidFaster: 'Get paid faster',\r\n saveAtThePump: 'Save at the pump',\r\n roadsideAssistance: 'Roadside assistance',\r\n truckingAuthority: 'Trucking authority',\r\n },\r\n integrationServices: {\r\n title: 'Integration Services',\r\n tmsIntegration: 'TMS Integration',\r\n htmlEmbed: 'HTML Embed Code',\r\n postingAid: 'Posting Aid Software',\r\n },\r\n resources: {\r\n title: 'Resources',\r\n fuelPrices: 'Fuel prices',\r\n fmcsaSearch: 'FMCSA search',\r\n creditReport: 'Credit report',\r\n searchDirectory: 'Search directory',\r\n reeferRates: 'Reefer rates',\r\n borderWaitTimes: 'Border wait times',\r\n },\r\n more: {\r\n title: 'More',\r\n settings: 'Settings',\r\n help: 'Help',\r\n logout: 'Logout',\r\n },\r\n mileageCalculatorPanel: {\r\n originLabel: 'Origin',\r\n destinationLabel: 'Destination',\r\n addStop: 'Add stops',\r\n editStop: 'Edit stop',\r\n Stops: 'Stops',\r\n Stop: 'Stop {{index}}: ',\r\n Origin: 'Origin: ',\r\n Dest: 'Dest: ',\r\n csvFileName: 'StateMileageReport',\r\n routeInfo: 'Route info',\r\n iftaReport: 'IFTA report',\r\n Start: 'Start: ',\r\n End: 'End: ',\r\n totalDistance: 'Total distance: ',\r\n totalDrivingTime: 'Total driving time: ',\r\n totalTollCost: 'Total toll cost: ',\r\n stateMileageReport: 'State by state mileage report',\r\n profitCalculator: 'Profit calculator',\r\n profitInfo: 'Profit $-',\r\n departureFrom: 'Departure from: ',\r\n arriavalTo: 'Arrival to: ',\r\n upgradePlan: 'Upgrade your plan',\r\n downloadCSV: 'Download state mileage report (IFTA)',\r\n interactiveMap: 'Interactive map',\r\n },\r\n },\r\n errors: {\r\n not_found: {\r\n Title: 'Page Not Found',\r\n Message: \"It seems we can't find the page you're looking for.\",\r\n Sub_Message: 'Either something went wrong, or the page no longer exists.',\r\n },\r\n no_component: {\r\n Title: \"Page couldn't load\",\r\n Message: \"It seems we can't load this page at this moment.\",\r\n Sub_Message: 'Try to reload the page. If the problem persist, please contact support.',\r\n Button: 'Reload page',\r\n },\r\n systemEncounteredError: 'Our system encountered an error.',\r\n },\r\n snackbars: {\r\n companyFavorited: 'Company added to your favorites',\r\n companyUnfavorited: 'Company removed from your favorites',\r\n companyBlocked: 'Company is now blocked',\r\n companyUnblocked: 'Company is unblocked',\r\n companyOnboarded: 'Company marked as onboarded',\r\n companyUnonboarded: 'Company removed from onboarded',\r\n },\r\n feed: {\r\n Feed: 'Feed',\r\n Videos: 'Videos',\r\n Help: 'Help',\r\n comingSoon: {\r\n title: 'Coming soon',\r\n subtitle0: 'We are currently working on this video tutorial, stay tuned!',\r\n subtitle1: 'In the meantime, please ',\r\n subtitle2: ' or check out our help page.',\r\n linkText: 'watch our other videos',\r\n },\r\n },\r\n postedLoadStatus: {\r\n assigned: {\r\n title: 'Assigned',\r\n description: 'Assign this load to a carrier.',\r\n assignedTo: 'Assigned to DOT#: ',\r\n },\r\n delivered: {\r\n title: 'Delivered',\r\n description: 'Mark this load as \"Delivered\" for future reference.',\r\n },\r\n unassigned: 'Unassigned',\r\n load_assigned: 'Load assigned',\r\n popup: {\r\n title: 'Assign carrier',\r\n content: 'Please enter the Carrier’s DOT number to assign this load.',\r\n dot: 'DOT#',\r\n assign: 'Assign',\r\n success: 'Load assigned',\r\n unable: 'Unable to assign',\r\n multiple: 'This load cannot be assigned as it has multiple quantities.',\r\n },\r\n unassign: {\r\n title: 'Unassign',\r\n question: 'Are you sure you want to unassign this load, or would you like to assign a new carrier?',\r\n options: 'If you’d still like to unassign the load, please choose one of the following options: ',\r\n online: 'Unassign and post online',\r\n offline: 'Unassign and post offline',\r\n delete: 'Unassign and delete',\r\n },\r\n },\r\n accountSetup: {\r\n title: 'Hello, {{name}}.',\r\n description: 'Get immediate access to your account by selecting a plan and entering your billing details.',\r\n brokerDescription:\r\n 'Your account status is currently inactive.\\n\\nGet immediate access to your account by entering your billing details.',\r\n promoCode: {\r\n title: '{{daysCount}} days free',\r\n titleDescription: 'Then ${{price}} per month',\r\n addPromoCode: 'Add promo code',\r\n description: 'Please enter your promo code',\r\n label: 'Promo code',\r\n details1: 'You unlocked a {{daysCount}} day trial and {{percent}}% discount',\r\n details2: 'You unlocked a {{daysCount}} day trial',\r\n details3: 'You unlocked a {{percent}}% discount',\r\n invalidCodeError: 'Invalid promo code',\r\n invalidCodeForPlan: 'This promo code is available only for {{plans}} plan(s)',\r\n },\r\n setPlanAccessError: {\r\n message1: 'Your account status has been put on hold.',\r\n message2: 'Your monthly payment was unable to be charged.',\r\n message3: 'You can get immediate access to your account by updating your billing information.',\r\n },\r\n changePlan: 'Change plan',\r\n subtotal: 'Subtotal',\r\n totalDay: 'Total due today',\r\n totalAfterTrial: 'Total after trial/per month',\r\n totalAfterPromo: 'Monthly total after promo',\r\n notAdded: 'Not added',\r\n trialDescription:\r\n 'After your trial ends, you will be charged ${{price}} per month starting {{date}}. You may unsubscribe at any time.',\r\n user: 'User',\r\n activate: 'Activate',\r\n refresh: 'Refresh',\r\n permissionFailed: 'Failed to process payment',\r\n fetchingDataFailed: 'Server connection error',\r\n fetchingDataFailedPhone: '877-875-5301 ext. 2',\r\n fetchingDataFailedDescription:\r\n 'An error occurred while loading your user information. Please refresh the page to try again.',\r\n fetchingDataFailedContact:\r\n 'If you’re still experiencing issues reactivating your account, please contact Support at',\r\n needHelpText: 'Need help with your account? Call us',\r\n accountStatus: 'Account status',\r\n accessDeniedPermission1:\r\n 'Access to 123Loadboard is currently unavailable. You don’t have the necessary permissions to edit payment method. Please notify the account owner',\r\n accessDeniedPermission2: 'to update the payment method.',\r\n editPayment: 'Enter payment details',\r\n tax: 'Tax',\r\n errors: {\r\n status: 'A reactivation error has occurred, to reactivate please call support',\r\n invoice: 'There was an error processing your payment',\r\n },\r\n statusMessage: {\r\n MobileSignUpInProgress: {\r\n title: 'Access denied for free Basic accounts',\r\n description:\r\n 'Access to the 123Loadboard website is only available with a paid membership. Please select a plan below.',\r\n },\r\n SignUpInProgress: {\r\n title: 'Failed to process billing information',\r\n description: 'Your billing information was not processed correctly, please try again.',\r\n },\r\n PendingPayment: {\r\n title: 'Your payment failed to process',\r\n description:\r\n 'We were not able to process your payment, access to the 123Loadboard website is only available with a paid membership. Please update your billing information.',\r\n },\r\n Expired: {\r\n title: 'Your account is currently closed.',\r\n description:\r\n 'Access to the 123Loadboard website is only available with a paid membership. Please select a plan below.',\r\n },\r\n OnHold: {\r\n title: 'Your account is currently closed.',\r\n description: 'To reopen your account, please re-enter your billing information below.',\r\n },\r\n BillingOnHold: {\r\n title: 'Your account is currently closed.',\r\n description: 'Please update your billing information.',\r\n },\r\n SecondaryUserNonAdmin: {\r\n title: 'Failed to process payment',\r\n description: 'To gain access, please ask your account Administrator to update the billing information.',\r\n },\r\n NoBillingStatus: {\r\n title: 'Your account is currently closed.',\r\n description:\r\n 'Access to the 123Loadboard website is only available with a paid membership. Please select a plan below.',\r\n },\r\n },\r\n reactivateActionResult: {\r\n success: 'Membership plan was activated',\r\n fail: 'Membership plan activation failed',\r\n },\r\n },\r\n loadVisibilityRules: {\r\n customRule: 'Custom rule: ',\r\n checkboxPostWithVisibilityRules: 'Post with visibility rules',\r\n changeRule: 'Change rule',\r\n postWithVisibilityRules: 'Post with visibility rules',\r\n postFormContent: 'Load visibility rules allow you to control which carriers can see your loads.',\r\n postFormMoreContent:\r\n 'Restrict the audience to onboarded carriers only, or use criteria like insurance amount or authority age to limit load visibility.',\r\n anyCarrier: 'Any carrier',\r\n ofAuthority: ' {{value}} of authority',\r\n valueInsurance: ' {{value}} insurance',\r\n onboarded: ' onboarded',\r\n withAtLeast: 'with at least',\r\n andAtLeast: 'and at least',\r\n atPostingTime: 'At posting time,',\r\n willBeVisibleTo: 'the load will be visible to:',\r\n willAlsoBeVisibleTo: 'the load will also be visible to:',\r\n afterPostingTime: 'after posting, the load will',\r\n beVisibleTo: 'be visible to:',\r\n also: 'also',\r\n carrierWhoIsOnboarded: 'Any carrier who is',\r\n default: 'Default',\r\n emptyContent:\r\n 'Load visibility rules allow you to control which carriers can see your loads based on criteria like insurance level, onboarding status, authority age, etc.\\n\\nYou can also set up cascading load visibility rules to, over time, expand the range of carriers able to see your loads.\\n\\nThese load visibility rules can be applied when posting loads manually.',\r\n content: 'Load visibility rules control which carriers can see your freight.',\r\n moreContent: 'Start by setting up some rules here. You may then apply these rules when posting loads.',\r\n makeDefault: 'Make default',\r\n addRule: 'Add rule',\r\n createNewRule: 'Create new rule',\r\n addNextCondition: 'Add next condition',\r\n typeOfCarriers: 'Type of carriers',\r\n allCarriers: 'All Carriers',\r\n onboardedType: 'Onboarded',\r\n minInsuranceField: 'Min. Insurance ($)',\r\n minAuthorityAge: 'Min. Authority age',\r\n years: 'Year(s)',\r\n months: 'Month(s)',\r\n deleteFinalRuleContent: 'Removing this condition will delete this rule.',\r\n deleteRuleContent: 'This will not affect currently posted loads.',\r\n editRule: 'Edit rule',\r\n deleteRuleset: 'Delete rule',\r\n deleteRulesetContent: 'Deleting will remove all created conditions within this rule.',\r\n days: 'Days',\r\n minutes: 'Minutes',\r\n hours: 'Hours',\r\n ruleSaved: 'Rule saved',\r\n ruleRemoved: 'Rule removed',\r\n ruleUpdated: 'Rule updated',\r\n timeInDay: '{{day}} day ',\r\n timeInDays: '{{day}} days ',\r\n timeInHour: '{{hour}} hour ',\r\n timeInHours: '{{hour}} hours ',\r\n timeInMins: '{{mins}} minutes',\r\n timeInMin: '{{mins}} minute',\r\n ageInyear: '{{year}} year ',\r\n ageInMonth: '{{months}} month',\r\n ageInyears: '{{year}} years ',\r\n ageInMonths: '{{months}} months',\r\n onboardedCarriers: 'Onboarded carriers',\r\n onboardedCarriersContent:\r\n 'To select this option, you must set up your onboarded carriers list.\\n\\nYou may set up your onboarded carriers list at any time in Settings.',\r\n setupCarriers: 'Set up onboarded carriers list',\r\n dateAtTime: ' {{date}} at {{time}}, ',\r\n visibleTo: 'visible to:',\r\n since: 'Since',\r\n on: 'On',\r\n defaultRuleContent: 'You may create custom load visibility rules to control which carriers can see your loads.',\r\n assignRule: 'Assign rule',\r\n createRule: 'Create rule',\r\n assignRulePopupContent:\r\n 'Load visibility rules must be created before they can be assigned.\\n\\nRules can be created at any time through the Load visibility rules section in Settings.\\n\\nYou will lose all entered information for this load if you choose to create a load visibility rule at this time.',\r\n infoPopupContent:\r\n 'Load visibility rules allow you to control which carriers can see your loads based on criteria like insurance level, onboarding status, authority age, etc.\\n\\nYou can also set up cascading load visibility rules to, over time, expand the range of carriers able to see your loads.',\r\n selectRule: 'Select rule',\r\n selectRulePopup:\r\n 'This load will be visible to any carriers using 123Loadboard.\\n\\nIf you wish, you may select a load visibility rule to apply to this load.',\r\n timerFromCurrentTime: 'Set a timer for your new rule. This timer will start from the current time.',\r\n offlineLoadWarning:\r\n 'Load visibility rules are paused for Offline loads. Posting the load Online will reactivate these rules.',\r\n addCondition: 'Add condition',\r\n editCondition: 'Edit condition',\r\n createRuleInfoSection:\r\n 'If you apply this rule to a load, only carriers matching these conditions will be able to see it.',\r\n conditionIndex: 'Condition #{{index}}',\r\n addNextConditionInfo: '* New conditions will be applied in addition to previous ones.',\r\n ruleTimerInfoOne: 'This condition will become active ',\r\n ruleTimerInfoTwo: ' after load has been posted.',\r\n ruleTimerInfoTwoAlt: ' after changes are applied.',\r\n manageRules: '* You can manage rules in Settings > Load visibility rules.',\r\n },\r\n onboardedCarriers: {\r\n source: 'Source',\r\n manageOnboardedCarriers:\r\n 'Manage your manually entered DOT numbers on 123Loadboard. Modify DOT numbers from other sources at the respective source.',\r\n addOrRemove: 'Add/Remove',\r\n addUSdot: 'Add USDOT#',\r\n deleteAll: 'Delete all',\r\n deleteAllText: 'Are you sure you want to delete all?',\r\n emptyPanelTitle: 'Add your onboarded carriers',\r\n successfullyAdded: '{{number}} USDOT# added to your Onboarded carriers list successfully.',\r\n filterTitle: 'Filter by USDOT#',\r\n emptyPanelsubtitle:\r\n 'Add onboarded carriers to your network by entering in their USDOT numbers.\\n\\nWhen you post loads, you may prioritize visibility of your loads to only your onboarded carriers.',\r\n editPanelContent:\r\n 'Add companies to your Onboarded carrier list by adding one or more USDOT# on individual lines or separated by commas. Deleting a USDOT# removes the company from your list.',\r\n warningMessageTotal: 'From {{total}} USDOT# records',\r\n warningMessageDuplicates: '{{count}} duplicates removed',\r\n warningMessageInvalid: '{{failedCount}} failed validation.',\r\n usdotSubmission: 'USDOT# submission',\r\n editListUpdated: 'Your Onboarded carriers list has been updated successfully.',\r\n textFieldTitle:\r\n 'Add companies to your Onboarded carrier list by adding one or more USDOT# on individual lines or separated by commas. Deleting a USDOT# removes the company from your list.',\r\n usDotLabel: 'USDOT#',\r\n validationFailed: 'Validation failed',\r\n review: 'Review',\r\n listUpdated: 'List updated',\r\n },\r\n welcomebackCampaign: {\r\n welcomeback: 'Welcome back',\r\n title: 'While you were away, we heard your feedback and made big improvements.',\r\n welcomeBackTitle: 'Welcome back - Reactivate your membership with a 50% discount!',\r\n tableTitle: 'Based on your search history, we have these loads available for you now.',\r\n promoCode: 'Promo code:',\r\n origin: 'Origin',\r\n destination: 'Destination',\r\n pickupDate: 'Pickup date',\r\n equipment: 'Equipment',\r\n size: 'Size',\r\n Length: 'Length',\r\n weight: 'Weight',\r\n reactivateAccount: 'Reactivate account to view details',\r\n reactivateAccountForLoads: 'Reactivate account to see more loads',\r\n promoTitle: 'Navigate the road to success with 123Loadboard - Now at half the price',\r\n promoText:\r\n 'Exclusive Back-on-Board offer: save 50% on any plan for your first 3 months. Use this promo code to unlock your exclusive offer.',\r\n unlockOfferBtn: 'Unlock offer now',\r\n moreBrokerIntgTitle: 'More broker integrations than ever before',\r\n moreBrokerIntgSubtitle:\r\n \"Now more than ever, it's important to put all the chances on your side. Expand your network and find more loads.\",\r\n marketRatesTitle: 'New and improved market rates',\r\n marketRatesSubtitle:\r\n 'Give yourself the edge. Information is power. Know what the market is like and have the upper hand when negotiating rates.',\r\n betterLoads: 'Better loads',\r\n betterLoadsSubtitle:\r\n \"Don't waste precious time finding loads. A growing number of loads now come with rates, with the option to book, bid, or send instant messages directly through your app.\",\r\n abridgedPromoTitle: 'Take a look for yourself!',\r\n },\r\n locationRequest: {\r\n title: 'Location request',\r\n content: 'This will send a request for {{name}} to send their current location.',\r\n label: 'Request location',\r\n success: 'Request sent',\r\n failure: 'Request failed',\r\n sentLocationSuccessfully: 'Location sent',\r\n },\r\n },\r\n },\r\n};\r\n","export default {\r\n fr: {\r\n translation: {\r\n Go_to_detail: 'Page de détail',\r\n },\r\n },\r\n};\r\n","export default {\r\n es: {\r\n translation: {\r\n Go_to_detail: 'Ir al detalle',\r\n },\r\n },\r\n};\r\n","import i18next, { TranslationFunction } from 'i18next';\r\n\r\nimport english from './english';\r\nimport french from './french';\r\nimport spanish from './spanish';\r\n\r\nconst translate = i18next\r\n // .use(XHR) // TODO: use the server so only the user language is loaded\r\n // TODO: is there a way to split the strings not only by language, but also by pages (or group of pages)?\r\n .init({\r\n // react i18next special options (optional)\r\n react: {\r\n wait: false,\r\n // bindI18n: 'languageChanged loaded',\r\n // bindStore: 'added removed',\r\n nsMode: 'default',\r\n },\r\n interpolation: {\r\n // React already does escaping\r\n escapeValue: false,\r\n },\r\n lng: 'en', // 'en' | 'es' | 'fr'\r\n // Using simple hardcoded resources for simple example\r\n resources: {\r\n ...english,\r\n ...french,\r\n ...spanish,\r\n },\r\n });\r\n\r\nexport const t: TranslationFunction = (key, options) => translate.t(key, options);\r\n","import { AppVersion } from './AppVersionHelper';\r\nimport { LBConfigType } from './LBConfigType';\r\n\r\nconst ClientLBConfiguration = (await import('../build_src/clientConfig.mjs')).default as any;\r\n\r\nexport class AppConfig {\r\n public static LBConfig: LBConfigType = ClientLBConfiguration;\r\n public static MC_URL = 'http://li-public.fmcsa.dot.gov/LIVIEW/pkg_carrquery.prc_carrlist?s_prefix=MC&n_docketno=';\r\n public static USDOT =\r\n 'http://www.safersys.org/query.asp?searchtype=ANY&query_type=queryCarrierSnapshot&query_param=USDOT&original_query_param=NAME&query_string=';\r\n public static NAME = '123Loadboard'; // TODO: Should also validate the location of the constant with Bernard.\r\n public static APPLICATION = 'Website-React';\r\n public static BUGSNAG_API_KEY = '1d2e9b8cbba22946c2b7d596686afb9e';\r\n\r\n /** use this to display the version to the user */\r\n public static getAppVersionDisplay(): string {\r\n // use 4 zeros for layout purposes\r\n return AppVersion + '.' + (AppConfig.LBConfig.buildNumber || '0000');\r\n }\r\n\r\n /** use this when the version is required as an internal \"key\" (e.g. bugsnag) */\r\n public static getAppVersion(): string {\r\n return AppVersion + '.' + AppConfig.LBConfig.buildNumber;\r\n }\r\n\r\n public static getLoginLink(redirect?: string): string {\r\n const url = new URL(AppConfig.LBConfig.LoginUrl);\r\n url.searchParams.append('rd', redirect ?? window.location.href);\r\n return url.toString();\r\n }\r\n\r\n public static getLoginLinkWithEmail(email: string) {\r\n const url = new URL(AppConfig.LBConfig.LoginUrl);\r\n if (email) url.searchParams.append('email_address', email);\r\n return url.toString();\r\n }\r\n\r\n // This is the 'external' logout URL, normally the \"Logout\" menu entry\r\n // should go to \"/logout\" which would clear the local cookies then\r\n // redirect to the external logout\r\n // (handled in member-server.js)\r\n public static getLogoutLink(redirectURL?: string) {\r\n const url = new URL(AppConfig.LBConfig.LogoutUrl);\r\n if (redirectURL) url.searchParams.append('rd', redirectURL);\r\n return url.toString();\r\n }\r\n}\r\n","import AppVersionValue from '../AppVersion.mjs';\r\n\r\nexport const AppVersion = AppVersionValue === '_[BUILD_VERSION_NUMBER]_' ? '4.0.0' : AppVersionValue;\r\n","import React from 'react';\r\n\r\nimport createBugsnagClient from 'bugsnag-js';\r\nimport Report from 'bugsnag-js/types/report';\r\nimport createPlugin from 'bugsnag-react';\r\n\r\nimport { ApplicationError } from '@common/model';\r\nimport { AppConfig } from '@util/AppConfig';\r\n\r\nconst bugsnagClient = createBugsnagClient({\r\n apiKey: AppConfig.BUGSNAG_API_KEY,\r\n appVersion: AppConfig.getAppVersion() + '-' + AppConfig.LBConfig.lbEnvironment,\r\n beforeSend: (report: Report) => {\r\n // Example: Disable reporting of errors with a given error message\r\n const windowError: { error?: ApplicationError } = (report.metaData as any)['window onerror'];\r\n //when running as development we don't want those errors to be reported.\r\n if (\r\n process.env.NODE_ENV === 'development' ||\r\n (windowError && windowError.error && windowError.error.shouldReport === false)\r\n ) {\r\n report.ignore();\r\n }\r\n },\r\n releaseStage: AppConfig.LBConfig.lbEnvironment,\r\n});\r\n\r\n//----------------------------------------\r\n// Bootstrapping the Application\r\n//----------------------------------------\r\nexport const BugsnagErrorBoundary = bugsnagClient.use(createPlugin(React));\r\n","export const NUMBER_OF_GRID_COLUMNS = 12;\r\nexport const THREE_QUARTER_GRID_COLUMNS = 9;\r\nexport const TWO_THIRD_GRID_COLUMNS = 8;\r\nexport const HALF_GRID_COLUMNS = 6;\r\nexport const THIRD_GRID_COLUMNS = 4;\r\nexport const QUARTER_GRID_COLUMNS = 3;\r\nexport const DEFAULT_PAGE_WIDTH = 1000;\r\nexport const DEFAULT_MOBILE_WIDTH = 480;\r\nexport const STANDARD_MARGIN = 16;\r\nexport const CARD_MARGIN = STANDARD_MARGIN;\r\n\r\nexport const NO_INFORMATION_SYMBOL = '—';\r\nexport const HIDDEN_PHONE_NUMBER = '*'.repeat(10);\r\n\r\nexport const COMPANY_DETAILS_EXPANSION_PANEL_HEIGHT = 40;\r\n","import { forEach } from 'lodash';\r\n\r\nexport enum FileFormats {\r\n csv = 'csv',\r\n xls = 'xls',\r\n xlsx = 'xlsx',\r\n}\r\n\r\nexport const verifyFormat = (file: File, formats: string[]) => {\r\n const data = file.name.split('.');\r\n let isFound = false;\r\n forEach(formats, (format: string) => {\r\n const formatData = format.split('.');\r\n if (data.length > 1 && formatData.length > 1) {\r\n // Grab the last extension in the file name\r\n if (data[data.length - 1] === formatData[1]) {\r\n isFound = true;\r\n }\r\n }\r\n });\r\n return isFound;\r\n};\r\n\r\nexport const validateFileSize = (file: File) => {\r\n const nameData = file.name.split('.');\r\n const extension = nameData[nameData.length - 1];\r\n if (extension !== FileFormats.csv && extension !== FileFormats.xls && extension !== FileFormats.xlsx) {\r\n return true;\r\n }\r\n const fileSizeLimit = 4194304;\r\n const filesize = file.size;\r\n if (filesize <= 0 || filesize > fileSizeLimit) {\r\n return false;\r\n }\r\n return true;\r\n};\r\n\r\nexport const downloadBase64File = (fileBase64: string, fileName: string, extension: string) => {\r\n const link = document.createElement('a');\r\n link.download = `${fileName}.${extension}`;\r\n link.href = `data:application/octet-stream;base64, ${fileBase64}`;\r\n link.click();\r\n};\r\n\r\nexport const objectUrlFromBase64 = (fileBase64: string, contentType = 'application/pdf') => {\r\n const byteCharacters = atob(fileBase64);\r\n\r\n const byteNumbers = new Array(byteCharacters.length);\r\n for (let i = 0; i < byteCharacters.length; i++) {\r\n byteNumbers[i] = byteCharacters.charCodeAt(i);\r\n }\r\n\r\n const byteArray = new Uint8Array(byteNumbers);\r\n const blob = new Blob([byteArray], { type: contentType });\r\n return URL.createObjectURL(blob);\r\n};\r\n","import { concat, map, trim } from 'lodash';\r\nimport memoizeOne from 'memoize-one';\r\nimport moment from 'moment';\r\n\r\nimport { formatLocationToCityState, formatMileage, formatNumber } from '@common/helper';\r\nimport { Location, LOCATION_ALL, LocationType } from '@common/model';\r\nimport { Option, OptionType } from '@component/multiSelect/MultiSelect';\r\nimport { t, T } from '@translate';\r\nimport { NO_INFORMATION_SYMBOL } from '@util/Constants';\r\n\r\nexport const formatDistance = (distance?: number, shouldUseAbbreviation: boolean = false) => {\r\n if ((!distance && distance !== 0) || distance < 0) {\r\n return NO_INFORMATION_SYMBOL;\r\n }\r\n if (shouldUseAbbreviation) {\r\n return t(T.unit_mi, { value: formatMileage(distance) });\r\n }\r\n if (distance <= 1 && distance !== 0) {\r\n return t(T.unit_mile, { value: formatMileage(distance) });\r\n }\r\n return t(T.unit_mile_plural, { value: formatMileage(distance) });\r\n};\r\n\r\n//This function parses the API destination to be displayed in the UI.\r\n//We have to be careful with edge cases, since Anywhere and None can be returned in multiple ways.\r\nexport const formatTruckLocation = (location: Location): string[] => {\r\n let locations: string[] = [];\r\n switch (location.type) {\r\n case LocationType.ANY_CA:\r\n return [t(T.common_load_Popup_AnywhereCA)];\r\n case LocationType.ANY_US:\r\n return [t(T.common_load_Popup_AnywhereUS)];\r\n case LocationType.ZIP:\r\n case LocationType.CITY:\r\n return [formatLocationToCityState(location)];\r\n case LocationType.STATE:\r\n if (location.states) {\r\n const canadaProvinces = location.states.canadaStates ? location.states.canadaStates : '';\r\n const usStates = location.states.usStates ? location.states.usStates : '';\r\n if (canadaProvinces === LOCATION_ALL) {\r\n if (location.states.usStates === LOCATION_ALL) {\r\n return [t(T.common_load_Popup_Anywhere)];\r\n }\r\n locations.push(t(T.common_load_Popup_AnywhereCA));\r\n } else if (canadaProvinces !== LocationType.NONE) {\r\n locations = concat(locations, canadaProvinces);\r\n }\r\n\r\n //If we get here, the All / All case has been already checked, so it can't be anywhere.\r\n if (location.states.usStates === LOCATION_ALL) {\r\n locations.push(t(T.common_load_Popup_AnywhereUS));\r\n } else if (usStates !== LocationType.NONE) {\r\n locations = concat(locations, usStates);\r\n }\r\n\r\n return locations;\r\n }\r\n break;\r\n case LocationType.ANY:\r\n return [t(T.common_load_Popup_Anywhere)];\r\n }\r\n return [];\r\n};\r\n\r\nexport const formatStringOrDash = (value: string | undefined): string =>\r\n value === undefined || trim(value) === '' ? NO_INFORMATION_SYMBOL : value;\r\n\r\nexport const formatNumberOrDash = (num: number | undefined, units: string = ''): string =>\r\n num === undefined ? NO_INFORMATION_SYMBOL : formatNumber(num) + units;\r\n\r\nexport const formatDateToAge = (value: string | undefined): number => moment().diff(moment(value), 'seconds');\r\n\r\nexport const formatStringsToOptions = memoizeOne((stringOptions: string[], type: OptionType): Option[] =>\r\n map(stringOptions, (option) => ({ value: option, type: type }))\r\n);\r\n\r\nexport const createMemoizedFormatStringsToOptions = (type: OptionType) =>\r\n memoizeOne((stringOptions: string[]) => formatStringsToOptions(stringOptions, type));\r\n\r\nexport const getButtonResultLabel = (count?: number, shouldHideTotalCount?: boolean) => {\r\n if (shouldHideTotalCount) {\r\n return t(T.common_filter);\r\n }\r\n if (count === 1) {\r\n return t(T.common_load_filter_singleResult, { quantity: count });\r\n }\r\n if (count === 0) {\r\n return t(T.common_loadSearch_noLoadsAvailable);\r\n }\r\n return t(T.common_load_filter_totalResult, { quantity: count });\r\n};\r\n\r\nexport const removeEdgeCharacters = (label: string) => {\r\n let resultString = trim(label);\r\n\r\n const unwantedEdgeChars = [',', '-', '/'];\r\n\r\n let indexOfCharStart = unwantedEdgeChars.indexOf(resultString[0]);\r\n let indexOfCharEnd = unwantedEdgeChars.indexOf(resultString[resultString.length - 1]);\r\n\r\n while (indexOfCharStart !== -1 || indexOfCharEnd !== -1) {\r\n resultString =\r\n unwantedEdgeChars.indexOf(resultString[0]) === 0 ? resultString.substring(1) : resultString.slice(0, -1);\r\n resultString = trim(resultString);\r\n indexOfCharStart = unwantedEdgeChars.indexOf(resultString[0]);\r\n indexOfCharEnd = unwantedEdgeChars.indexOf(resultString[resultString.length - 1]);\r\n }\r\n\r\n return resultString;\r\n};\r\n","import { CompactNumber } from '@common/helper/NumberHelper';\r\n\r\nexport class GenId {\r\n private static crypto: any;\r\n private static buf32: Uint32Array;\r\n\r\n private static random32: () => number = () => {\r\n // first time setup (reprogram itself)\r\n GenId.crypto = window.crypto || (window as any).msCrypto;\r\n\r\n if (GenId.crypto) {\r\n GenId.buf32 = new Uint32Array(1);\r\n GenId.random32 = GenId.random32Crypto;\r\n } else {\r\n GenId.random32 = GenId.random32Classic;\r\n }\r\n\r\n // do the actual work\r\n return GenId.random32();\r\n };\r\n\r\n private static random32Crypto(): number {\r\n GenId.crypto.getRandomValues(GenId.buf32);\r\n return GenId.buf32[0] >>> 0;\r\n }\r\n\r\n private static random32Classic(): number {\r\n // not-so-great mashup of various (time-based) sources\r\n let v = (Math.random() * 0xffffffffff) >>> 0;\r\n v ^= Date.now();\r\n if (typeof performance !== 'undefined' && typeof performance.now === 'function') {\r\n v ^= performance.now() * 0xffff;\r\n }\r\n v ^= 0xffffffff; // tend to have more zero bits in the begining hence this\r\n return (v & 0xffffffff) >>> 0;\r\n }\r\n\r\n public static generateCorrelationId(): string {\r\n return 'C' + CompactNumber.int32toCompactString(this.random32());\r\n }\r\n\r\n public static generateDeviceId(): string {\r\n return (\r\n 'B' + CompactNumber.int32toCompactString(this.random32()) + CompactNumber.int32toCompactString(this.random32())\r\n );\r\n }\r\n\r\n public static generateCacheBustingParameter(): string {\r\n return CompactNumber.int32toCompactString(this.random32());\r\n }\r\n}\r\n","import { Geolocation } from '@common/model';\r\n\r\ninterface Actions {\r\n onSuccess: (location: Geolocation) => void;\r\n onDenied: () => void;\r\n onTimeout?: () => void;\r\n onUnavailable?: () => void;\r\n}\r\n\r\nexport const getGeolocation = (actions: Actions) => {\r\n if (!('geolocation' in window.navigator)) {\r\n if (actions.onUnavailable) {\r\n actions.onUnavailable();\r\n }\r\n return;\r\n }\r\n\r\n window.navigator.geolocation.getCurrentPosition(\r\n (position) => {\r\n const { latitude, longitude } = position.coords;\r\n actions.onSuccess(new Geolocation(latitude, longitude));\r\n },\r\n (error) => {\r\n if (error.code === error.PERMISSION_DENIED) {\r\n return actions.onDenied ? actions.onDenied() : undefined;\r\n }\r\n if (error.code === error.TIMEOUT) {\r\n return actions.onTimeout ? actions.onTimeout() : undefined;\r\n }\r\n return actions.onUnavailable ? actions.onUnavailable() : undefined;\r\n }\r\n );\r\n};\r\n","import { AppConfig } from '@util/AppConfig';\r\n\r\nexport const HOME_PAGE_LINK = AppConfig.LBConfig.CMSRoot;\r\n\r\nexport const SIGNUP_LINK = `${HOME_PAGE_LINK}/signup/`;\r\n\r\nexport const TERMS_OF_SERVICE_LINK = `${HOME_PAGE_LINK}/terms/`;\r\n\r\nexport const PRIVACY_POLICY_LINK = `${HOME_PAGE_LINK}/privacy/`;\r\n\r\nexport const SUPPORT_EMAIL_LINK = 'mailto:support@123loadboard.com';\r\n\r\nexport const LINK_123_CONNECT = 'https://www.123loadboard.com/post-loads/123connect';\r\n\r\nexport const EMAIL_HOOK = '123://email';\r\n\r\nexport const LINK_COTA_LOGIN = 'https://cota-client.herokuapp.com/user/sign-in';\r\n\r\nexport const LINK_COTA_IN_123LB_FAQ_PAGE =\r\n 'https://help.123loadboard.com/hc/en-us/articles/360059009393-How-do-I-export-a-booked-load-to-COTA-';\r\n\r\nexport const LINK_DISABLE_NOTIFICATIONS_FAQ_PAGE =\r\n 'https://help.123loadboard.com/hc/en-us/articles/360036550434-How-do-I-enable-disable-push-notifications-alerts-';\r\n\r\nexport const LINK_FAQ_PAGE = 'https://help.123loadboard.com';\r\n\r\nexport const LINK_YOUTUBE_TUTORIALS = 'https://www.youtube.com/user/123loadboard';\r\n\r\nexport const LINK_BROWSER_NOTIFICATIONS =\r\n 'https://help.123loadboard.com/hc/en-us/articles/360036550434-How-do-I-enable-push-notifications';\r\n\r\n// there is no Reset Password page on CI so we don't\r\n// generate a link for CI builds\r\nexport const RESET_PASSWORD_LINK =\r\n AppConfig.LBConfig.lbEnvironment === 'live' ||\r\n AppConfig.LBConfig.lbEnvironment === 'beta' ||\r\n AppConfig.LBConfig.lbEnvironment === 'qa' ||\r\n AppConfig.LBConfig.lbEnvironment === 'dev'\r\n ? `${HOME_PAGE_LINK}/login/reset-password/`\r\n : undefined;\r\n\r\nexport const VERIFIED_LOGIN_LINK = (query: string) => `${AppConfig.LBConfig.AppMembersRoot}/verifiedLogin/${query}`;\r\n\r\nexport const LINK_UPLOAD_POST_GUIDELINES =\r\n 'https://help.123loadboard.com/hc/en-us/articles/360036966233-What-are-the-Excel-and-CSV-file-load-posting-guidelines-';\r\n\r\nexport const MY_CARRIER_PORTAL = 'https://www.mycarrierportal.com/';\r\nexport const MY_CARRIER_PORTAL_INTG_TOOLS = 'https://mycarrierpackets.com/IntegrationTools';\r\n","import React from 'react';\r\n\r\nimport { isUndefined } from 'lodash';\r\n\r\nimport { getRefreshRate, loadComputedAge, ONE_HOUR_IN_SECONDS } from '@common/helper';\r\nimport { Load } from '@common/model';\r\n\r\nimport { SYNCTIMER_STOPPED, useSyncTimer } from './SyncTimer';\r\n\r\ninterface ComponentProps {\r\n age?: number;\r\n}\r\n\r\nexport const loadAgeProvider =\r\n (Component: React.ComponentClass | React.FC) =>\r\n (props: T) => {\r\n const rate = getRefreshRate(props.load, Date.now());\r\n const period = rate < ONE_HOUR_IN_SECONDS ? rate : SYNCTIMER_STOPPED;\r\n const timestamp = useSyncTimer(period);\r\n const age = loadComputedAge(props.load, timestamp);\r\n\r\n return 0 ? age : 0} />;\r\n };\r\n","import { isNil } from 'lodash';\r\n\r\nimport { StorageKey } from '@common/model';\r\n\r\nconst isLocalStorageAvailable: boolean = (() => {\r\n const TEST_ITEM = 'TEST_ID';\r\n try {\r\n localStorage.setItem(TEST_ITEM, TEST_ITEM);\r\n const testItem = localStorage.getItem(TEST_ITEM);\r\n localStorage.removeItem(TEST_ITEM);\r\n const afterRemoval = localStorage.getItem(TEST_ITEM);\r\n return testItem === TEST_ITEM && isNil(afterRemoval);\r\n } catch (error) {\r\n return false;\r\n }\r\n})();\r\n\r\nexport const safeGetItem = (id: StorageKey): string | undefined => {\r\n if (!isLocalStorageAvailable) {\r\n return undefined;\r\n }\r\n return localStorage.getItem(id) || undefined;\r\n};\r\n\r\nexport const safeSetItem = (id: StorageKey, item: string) => {\r\n if (!isLocalStorageAvailable) {\r\n return false;\r\n }\r\n localStorage.setItem(id, item);\r\n return true;\r\n};\r\n","export const hideMainSpinner = () => {\r\n const mainSpinner = document.getElementById('lbspin');\r\n if (mainSpinner) {\r\n mainSpinner.style.display = 'none';\r\n }\r\n};\r\n","import { Spacing } from '@style/StyleConstants';\r\n\r\nexport enum Width {\r\n headerSmallerLogo = 359,\r\n xs = 600,\r\n mobile = 767,\r\n sm = 960,\r\n loadDetailsShouldStack = 1000,\r\n tablet = 1060,\r\n md = 1280,\r\n listSideMenuExansion = 1500,\r\n sideMenuExpansion = 1366,\r\n loadDetailsSingleColumnLargeStart = 1300,\r\n loadDetailsSingleColumnLargeEnd = 1710,\r\n xl = 1920,\r\n}\r\n\r\nexport const smallerThan = (width: number) => `(max-width: ${width - 1}px)`;\r\nexport const largerThan = (width: number) => `(min-width: ${width}px)`;\r\n\r\nexport const MediaQueries = {\r\n /** [ 0px ... 320px [ */\r\n xxs: '(max-width: 320px)',\r\n /** [ 0px ... 600px [ */\r\n xs: 'only screen and (max-width: 599px)',\r\n /** [ 600px ... 960px [ */\r\n sm: 'only screen and (min-width: 600px) and (max-width: 959px)',\r\n /** [ 768px ... 1024px [ */\r\n md_ipad: 'only screen and (min-width: 768px) and (max-width: 1024px)',\r\n /** [ 960px ... 1280px [ */\r\n md: 'only screen and (min-width: 960px) and (max-width: 1279px)',\r\n /** [ 1280px ... 1920px [ */\r\n lg: 'only screen and (min-width: 1280px) and (max-width: 1919px)',\r\n /** [ 1920px (and more) */\r\n xl: 'only screen and (min-width: 1920px) and (max-width: 5000px)',\r\n\r\n /** less than 600px */\r\n lt_sm: 'only screen and (max-width: 599px)',\r\n /** less than 768px */\r\n lt_mobile: 'only screen and (max-width: 767px)',\r\n /** less than 960px */\r\n lt_md: 'only screen and (max-width: 959px)',\r\n /** less than 1080px */\r\n lt_md_lg: 'only screen and (max-width: 1080px)',\r\n /** less than 1280px */\r\n lt_lg: 'only screen and (max-width: 1279px)',\r\n /** less than 1920px */\r\n lt_xl: 'only screen and (max-width: 1919px)',\r\n\r\n /** 600px and more */\r\n gt_xs: 'only screen and (min-width: 600px)',\r\n /** 960px and more */\r\n gt_sm: 'only screen and (min-width: 960px)',\r\n /** 1280px and more */\r\n gt_md: 'only screen and (min-width: 1280px)',\r\n /** 1920px and more */\r\n gt_lg: 'only screen and (min-width: 1920px)',\r\n\r\n /** less than 600px + 2 * (screenside padding) */\r\n lt_sm_plus_padding: `(max-width: ${Width.xs + Spacing.ScreenSide * 2}px)`,\r\n};\r\n","import React, { useEffect, useMemo } from 'react';\r\n\r\nimport Favico from 'favico.js';\r\nimport { Helmet } from 'react-helmet';\r\nimport { useLocation } from 'react-router-dom';\r\nimport useSound from 'use-sound';\r\n\r\nimport { Routes } from '@/router/Routes';\r\nimport { Flag } from '@common/model';\r\nimport SoundEffect from '@component/main/mixkit-positive-notification-951.wav';\r\nimport { useIsCarrier } from '@component/menu/NavigationMenuHelper';\r\nimport { loadSearchRequestEncoder } from '@page/findLoads/LoadSearchRequestEncoder';\r\nimport { FindLoadsRouteParams } from '@page/findLoads/RouteParams';\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport { useSelector } from '@util/hooks';\r\nimport { decodeMatchParams } from '@util/UrlParamsHelper';\r\n\r\nimport { useIsMainTab } from './hooks/OpenedTabsControl';\r\n\r\nexport const TITLE_META = 'title';\r\nexport const TWITTER_TITLE_META = 'twitter:title';\r\nexport const OG_TITLE_META = 'og:title';\r\nexport const DESCRIPTION_META = 'description';\r\nexport const TWITTER_DESCRIPTION_META = 'twitter:description';\r\nexport const OG_DESCRIPTION_META = 'og:description';\r\n\r\ninterface Props {\r\n title: string;\r\n description?: string;\r\n}\r\n\r\nexport const PageMetadata: React.FC = (props) => {\r\n const title = getTitle(props.title);\r\n const { count: notificationNumber, subtitle = '' } = useNotificationWatcher();\r\n const notificationTitle = useMemo(\r\n () => (notificationNumber ? `(+${notificationNumber} new${subtitle}) ` : ''),\r\n [notificationNumber]\r\n );\r\n useMessageSoundNotification();\r\n useEffect(() => {\r\n const favicon = new Favico();\r\n favicon.badge(notificationNumber ?? '');\r\n return () => {\r\n favicon.badge('');\r\n };\r\n }, [notificationNumber]);\r\n\r\n return (\r\n <>\r\n \r\n {`${notificationTitle}${title}`}\r\n \r\n \r\n \r\n {getDescriptionMeta(props.description)}\r\n \r\n \r\n );\r\n};\r\n\r\nexport const withMetadata =\r\n (title: string, description?: string) =>\r\n (Component: React.ComponentType): React.FC =>\r\n (props) => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n );\r\n };\r\n\r\nexport const withSimpleMetadata =\r\n (title: string, description?: string) =>\r\n (Component: React.ComponentType): React.FC =>\r\n (props) => {\r\n const fullTitle = getTitle(title);\r\n return (\r\n <>\r\n \r\n {fullTitle}\r\n \r\n \r\n \r\n {getDescriptionMeta(description)}\r\n \r\n \r\n \r\n );\r\n };\r\n\r\nconst getDescriptionMeta = (description?: string) => {\r\n return description\r\n ? [\r\n ,\r\n ,\r\n ,\r\n ]\r\n : null;\r\n};\r\n\r\nconst getTitle = (title: string) => title + ' - ' + AppConfig.NAME;\r\n\r\nconst useNotificationWatcher = (): { count: number; subtitle?: string } => {\r\n const isBroker = !useIsCarrier();\r\n const loadAlertsSearchCount = useSelector((state) => state.loadSearch.loadSearchAlerts.entities);\r\n const selectedSearch = useSelector((state) => state.loadSearch.selectedSearch);\r\n const loadAlertsCount = useSelector((state) => state.loadSearch.loadSearchAlerts.totalCount);\r\n const unreadMessagesCount = useSelector((state) => state.communication.unreadMessagesCount);\r\n\r\n const location = useLocation();\r\n\r\n const loadSearchObject = loadSearchRequestEncoder.convertUrlParamsToObjectRequest(location.search);\r\n const routeParams = decodeMatchParams(location.pathname, Routes.LOADS_FINDLOADS);\r\n\r\n if (routeParams) {\r\n const {\r\n params: { results },\r\n isExact: isFindLoads,\r\n } = routeParams;\r\n const loadSearchId = loadSearchObject.searchId ? loadSearchObject.searchId : selectedSearch?.id;\r\n if (isFindLoads) {\r\n if (results) {\r\n return { count: loadAlertsSearchCount[loadSearchId]?.count ?? 0 };\r\n }\r\n return { count: loadAlertsCount };\r\n }\r\n } else if (isBroker) {\r\n return { count: unreadMessagesCount, subtitle: ' messages' };\r\n }\r\n return { count: 0 };\r\n};\r\n\r\nconst useMessageSoundNotification = () => {\r\n const isBroker = !useIsCarrier();\r\n const isSoundNotificationTurnedOn = useSelector(\r\n (state) => state.settings.systemSetting[Flag.MessageSoundAlertsEnabled].value\r\n );\r\n const userId = useSelector((state) => state.user.profile?.payload?.id) ?? '';\r\n const { latestMessageTimestamp, latestMessageSendBy } = useSelector((state) => state.communication);\r\n const isMainTab = useIsMainTab();\r\n\r\n const [soundNotification] = useSound(SoundEffect, { forceSoundEnabled: false });\r\n\r\n useEffect(() => {\r\n if (\r\n latestMessageTimestamp &&\r\n isSoundNotificationTurnedOn &&\r\n userId &&\r\n userId !== latestMessageSendBy &&\r\n isBroker &&\r\n isMainTab\r\n ) {\r\n soundNotification();\r\n }\r\n }, [latestMessageTimestamp]);\r\n};\r\n","import { AppConfig } from '@util/AppConfig';\r\n\r\nexport const LOAD_PLANNER_LINK = `${AppConfig.LBConfig.ASPRoot}/online/carrier/planner/`;\r\nexport const MULTIPLE_LOAD_POST_LINK = `${AppConfig.LBConfig.ASPRoot}/online/broker/MyLoads.aspx?DefaultAction=MultiplePost`;\r\nexport const MY_DOCS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/carrier/tools/MyDocs.aspx`;\r\nexport const MILEAGE_MAP_TOLLS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/carrier/tools/Mileage.aspx`;\r\nexport const CREDIT_REPORT_LINK = `${AppConfig.LBConfig.ASPRoot}/online/carrier/tools/Credit-Report.aspx`;\r\nexport const CARRIER_MONITOR_LINK = `${AppConfig.LBConfig.ASPRoot}/online/broker/tools/Carrier-Monitor.aspx`;\r\nexport const SEARCH_DIRECTORY_LINK = `${AppConfig.LBConfig.ASPRoot}/online/carrier/tools/SearchDirectory.aspx`;\r\nexport const SEARCH_DOCS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/broker/tools/SearchDocs.aspx`;\r\nexport const POTENTIAL_LOADS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/loadboard/`;\r\nexport const BOOKED_LOADS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/loadboard/?MyBooked=1`;\r\nexport const COMPANY_SEARCH_LINK = `${AppConfig.LBConfig.ASPRoot}/online/loadboard/Companies.aspx#Search`;\r\nexport const BLOCKED_HIDDEN_LINK = `${AppConfig.LBConfig.ASPRoot}/online/loadboard/Companies.aspx#Hidden`;\r\nexport const FAVORITES_LINK = `${AppConfig.LBConfig.ASPRoot}/online/loadboard/Companies.aspx#Favorites`;\r\nexport const LOAD_BIDS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/loadboard/Bids.aspx#Loads`;\r\nexport const MANAGE_ALERTS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/loadboard/Alerts.aspx#Alerts`;\r\nexport const ALERT_SETTINGS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/loadboard/Alerts.aspx#Preferences`;\r\n\r\nexport const ACCOUNT_ACTIVATION = `${AppConfig.LBConfig.ASPRoot}/online/account/email_verify.aspx`;\r\nexport const MY_ACCOUNT_LINK = `${AppConfig.LBConfig.ASPRoot}/online/account/`;\r\nexport const MESSAGE_CENTER_LINK = `${AppConfig.LBConfig.ASPRoot}/online/account/Message/?pid=lm`;\r\nexport const ALERTS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/loadboard/Alerts.aspx`;\r\nexport const SETTINGS_LINK = `${AppConfig.LBConfig.ASPRoot}/online/account/Settings/?pid=lm`;\r\nexport const HELP_LINK = `${AppConfig.LBConfig.ASPRoot}/online/help/`;\r\n\r\nexport const BASE_SCRAPE_URL = `${AppConfig.LBConfig.ASPRoot}/online/broker/tools/postviewer/?CID=`;\r\nexport const EXPORT_TO_CSV_URL = `${AppConfig.LBConfig.ASPEmbedRoot}/online/broker/ExportToCSV.aspx`;\r\nexport const LOAD_EXPIRED = `${AppConfig.LBConfig.CMSRoot}/expiredload/`;\r\nexport const MANAGE_HIDDEN = `${AppConfig.LBConfig.CMSRoot}/online/loadboard/Companies.aspx?pid=lm#Hidden`;\r\n\r\nexport const PRINT_LINK = `${AppConfig.LBConfig.ASPRoot}/online/reports/LoadDetails.aspx?GUID=`;\r\nexport const LOAD_CREDIT_REPORT_LINK = `${AppConfig.LBConfig.ASPEmbedRoot}/online/reports/CreditReport.aspx?CPGUID=`;\r\n","export const SCROLLABLE_CONTAINER_ID = 'Scrollable_Container';\r\nexport const SNACKBAR_DISPLAY_DURATION = 4000;\r\n\r\nexport const getScrollTop = () => {\r\n if (window.pageYOffset) {\r\n return window.pageYOffset;\r\n }\r\n if (document.documentElement) {\r\n return document.documentElement.scrollTop;\r\n }\r\n if (document.body) {\r\n return document.body.scrollTop;\r\n }\r\n return 0;\r\n};\r\n\r\nexport const copyToClipboard = (text: string) => {\r\n const range = document.createRange();\r\n const selection = document.getSelection();\r\n if (!selection) {\r\n return;\r\n }\r\n selection.removeAllRanges();\r\n\r\n const mark = document.createElement('span');\r\n mark.textContent = text;\r\n mark.style.position = 'fixed';\r\n mark.style.top = '0';\r\n mark.style.clip = 'rect(0, 0, 0, 0)';\r\n mark.style.whiteSpace = 'pre';\r\n mark.style.webkitUserSelect = 'text';\r\n mark.style.msUserSelect = 'text';\r\n mark.style.userSelect = 'text';\r\n\r\n document.body.appendChild(mark);\r\n\r\n range.selectNodeContents(mark);\r\n selection.addRange(range);\r\n\r\n const successful = document.execCommand('copy');\r\n if (!successful) {\r\n //TODO: Display error message.\r\n return;\r\n }\r\n\r\n selection.removeAllRanges();\r\n document.body.removeChild(mark);\r\n};\r\n","import { useEffect, useState } from 'react';\r\n\r\nimport { interval, Observable } from 'rxjs';\r\nimport { map as map$, share } from 'rxjs/operators';\r\n\r\nconst timers: { [key: number]: Observable } = {};\r\n\r\nexport const SYNCTIMER_STOPPED = 0;\r\n\r\nconst createTimer: (period: number) => Observable = (period: number) =>\r\n interval(period * 1000)\r\n .pipe(map$(() => Date.now()))\r\n .pipe(share());\r\n\r\n/**\r\n *\r\n * @param period period of interval. Use SYNCTIMER_STOPPED to not set interval.\r\n */\r\n\r\nexport const useSyncTimer = (period: number) => {\r\n const [timestamp, setTimestamp] = useState(Date.now());\r\n useEffect(() => {\r\n if (period === SYNCTIMER_STOPPED) {\r\n return undefined;\r\n }\r\n if (timers[period] === undefined) {\r\n timers[period] = createTimer(period);\r\n }\r\n const subscription = timers[period].subscribe(setTimestamp);\r\n return () => {\r\n subscription.unsubscribe();\r\n };\r\n }, [period]);\r\n return timestamp;\r\n};\r\n","import { compact, concat, find, has, isEqual, join, reduce } from 'lodash';\r\n\r\nimport { CompanyUserData } from '@common/client';\r\nimport { formatNumber } from '@common/helper';\r\nimport { LoadSearchRequest, MAX_TRUCK_LENGTH, MAX_TRUCK_WEIGHT, Truck } from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\nexport enum TruckUpdateActionTypes {\r\n Favorite = 'Favorite',\r\n Onboard = 'Onboard',\r\n Hide = 'Hide',\r\n}\r\n\r\nexport interface TruckUpdateAction {\r\n type: TruckUpdateActionTypes;\r\n updated: Array>;\r\n}\r\n\r\nexport const lengthDomain = [0, 54]; //min, max values\r\nexport const weightDomain = [0, 49000]; //min, max values\r\nexport const stepWeight = 1000;\r\nexport const stepWeight500 = 500;\r\nexport const stepWeightMinus500 = 499;\r\nexport const stepLength = 1;\r\n\r\nexport const setDefaultTruckData = (filters: LoadSearchRequest) => {\r\n const truckData = {\r\n weights: weightDomain,\r\n lengths: lengthDomain,\r\n };\r\n if (has(filters, 'minLength') && has(filters, 'length')) {\r\n if (filters.minLength && filters.length) {\r\n truckData.lengths = [filters.minLength, filters.length];\r\n }\r\n if (!filters.minLength && filters.length) {\r\n truckData.lengths = [lengthDomain[0], filters.length];\r\n }\r\n if (filters.minLength && !filters.length) {\r\n truckData.lengths = [filters.minLength, lengthDomain[1]];\r\n }\r\n }\r\n if (has(filters, 'minWeight') && has(filters, 'weight')) {\r\n if (filters.minWeight && filters.weight) {\r\n truckData.weights = [filters.minWeight, filters.weight];\r\n }\r\n if (!filters.minWeight && filters.weight) {\r\n truckData.weights = [weightDomain[0], filters.weight];\r\n }\r\n if (filters.minWeight && !filters.weight) {\r\n truckData.weights = [filters.minWeight, weightDomain[1]];\r\n }\r\n }\r\n return truckData;\r\n};\r\n\r\nexport const contactIdsToCompanyIds = (companiesUserData: CompanyUserData[], trucks: Truck[]) =>\r\n reduce(\r\n companiesUserData,\r\n (userData, company) => {\r\n const truck = find(trucks, (truck) => truck.contactId === company.id);\r\n if (truck && truck.companyGuid) {\r\n return concat(userData, [\r\n {\r\n ...company,\r\n id: truck.companyGuid,\r\n },\r\n ]);\r\n }\r\n return userData;\r\n },\r\n []\r\n );\r\n\r\nexport const lengthLabel = (lengthValues: number[]) => {\r\n if (lengthValues.length == 1) {\r\n if (lengthValues[0] === lengthDomain[0]) {\r\n return `${t(T.findLoads_findLoads_any)}`;\r\n } else if (lengthValues[0] === lengthDomain[1]) {\r\n return `${t(T.unit_feet, {\r\n value: lengthValues[0] - stepLength,\r\n })}+`;\r\n }\r\n\r\n return `${t(T.unit_feet, { value: lengthValues[0] })}`;\r\n }\r\n\r\n if (!isEqual(lengthValues[0], 0) && isEqual(lengthValues[1], lengthDomain[1])) {\r\n return `${t(T.unit_feet, { value: lengthValues[0] })} - ${t(T.unit_feet, {\r\n value: lengthValues[1] - stepLength,\r\n })}+`;\r\n }\r\n if (isEqual(lengthValues, lengthDomain)) {\r\n return `${t(T.findLoads_findLoads_any)}`;\r\n } else {\r\n return `${t(T.unit_feet, { value: lengthValues[0] })} - ${t(T.unit_feet, {\r\n value: lengthValues[1],\r\n })}`;\r\n }\r\n};\r\n\r\nexport const weightLabel = (weightValues: number[]) => {\r\n if (weightValues.length == 1) {\r\n if (weightValues[0] === weightDomain[0]) {\r\n return `${t(T.findLoads_findLoads_any)}`;\r\n } else if (weightValues[0] === weightDomain[1]) {\r\n return `${t(T.unit_pounds, {\r\n value: weightValues[0] - stepWeight,\r\n })}+`;\r\n }\r\n\r\n return `${t(T.unit_pounds, { value: weightValues[0] })}`;\r\n }\r\n\r\n if (!isEqual(weightValues[0], 0) && isEqual(weightValues[1], weightDomain[1])) {\r\n return `${t(T.unit_pounds, { value: weightValues[0].toLocaleString() })} - ${t(T.unit_pounds, {\r\n value: (weightValues[1] - stepWeight).toLocaleString(),\r\n })}+`;\r\n }\r\n if (isEqual(weightValues, weightDomain)) {\r\n return `${t(T.findLoads_findLoads_any)}`;\r\n } else {\r\n return `${t(T.unit_pounds, { value: weightValues[0].toLocaleString() })} - ${t(T.unit_pounds, {\r\n value: weightValues[1].toLocaleString(),\r\n })}`;\r\n }\r\n};\r\n\r\nexport const getWeightOrLengthRange = (value: number[], domain: number[]) => {\r\n if (value[0] !== domain[0] && value[1] === domain[1]) {\r\n return [value[0], domain[1]];\r\n }\r\n if (value[0] === domain[0] && value[1] !== domain[1]) {\r\n return [domain[0], value[1]];\r\n }\r\n if (!isEqual(value, domain)) {\r\n return [value[0], value[1]];\r\n }\r\n return domain;\r\n};\r\n\r\nexport const getLengthWeightExcludeValues = (\r\n includeLoadsWithoutLength: boolean | undefined,\r\n includeLoadsWithoutWeight: boolean | undefined\r\n) => {\r\n if (\r\n (includeLoadsWithoutLength || includeLoadsWithoutLength === undefined) &&\r\n (includeLoadsWithoutWeight || includeLoadsWithoutWeight === undefined)\r\n ) {\r\n return undefined;\r\n } else {\r\n const lbsValue = includeLoadsWithoutWeight === false ? t(T.common_lbs) : '';\r\n const ftValue = includeLoadsWithoutLength === false ? t(T.common_feet) : '';\r\n return join(compact([ftValue, lbsValue]), ', ');\r\n }\r\n};\r\n\r\nexport const getLengthWeightExcludeLabel = (\r\n includeLoadsWithoutLength: boolean | undefined,\r\n includeLoadsWithoutWeight: boolean | undefined\r\n) => {\r\n const values = getLengthWeightExcludeValues(includeLoadsWithoutLength, includeLoadsWithoutWeight);\r\n return values ? t(T.common_withDimensions, { value: values }) : undefined;\r\n};\r\n\r\n/**\r\n * In case if we have slider set from min to max values we should remove them from LoadSearchRequest\r\n * to ensure there is no unnecessary data in search request*/\r\nexport const removeUnnecessaryWeightLengthValues = (search: LoadSearchRequest) => {\r\n if (isEqual([search.minLength, search.length], lengthDomain)) {\r\n search.length = undefined;\r\n search.minLength = undefined;\r\n }\r\n if (isEqual([search.minWeight, search.weight], weightDomain)) {\r\n search.weight = undefined;\r\n search.minWeight = undefined;\r\n }\r\n return search;\r\n};\r\n\r\nexport const displayLength = (value?: number, isPowerOnly?: boolean) => {\r\n if (isPowerOnly) {\r\n return `${t(T.common_any)} ${t(T.common_feet)}`;\r\n }\r\n return (value && value > MAX_TRUCK_LENGTH) || value === undefined\r\n ? `${MAX_TRUCK_LENGTH} ${t(T.common_feet)}${t(T.common_plusSign)}`\r\n : t(T.unit_feet, { value: formatNumber(value) });\r\n};\r\n\r\nexport const displayWeight = (value?: number, isPowerOnly?: boolean) => {\r\n if (isPowerOnly) {\r\n return `${t(T.common_any)} ${t(T.common_lbs)}`;\r\n }\r\n return (value && value > MAX_TRUCK_WEIGHT) || value === undefined\r\n ? `${formatNumber(MAX_TRUCK_WEIGHT)} ${t(T.common_lbs)}${t(T.common_plusSign)}`\r\n : value === 1\r\n ? t(T.unit_pound, { value: formatNumber(value) })\r\n : t(T.unit_pounds, { value: formatNumber(value) });\r\n};\r\n\r\nexport const displayLengthAndWeight = (length?: number, weight?: number) =>\r\n `${displayLength(length)}/${displayWeight(weight)}`;\r\n","import { match as Match, matchPath } from 'react-router-dom';\r\n\r\n/** Decode url to get params by pattern*/\r\nexport const decodeMatchParams = (pathname: string, pattern: string): Match | undefined => {\r\n const match = matchPath(pathname, pattern);\r\n return match ? match : undefined;\r\n};\r\n","import React, { Component, ComponentClass, Ref } from 'react';\r\n\r\nimport ReactResizeDetector from 'react-resize-detector';\r\n\r\nexport const withResizeDetectorAndRef = (WrappedComponent: ComponentClass) => {\r\n type ComposedComponentInstance = InstanceType;\r\n type WrapperComponentPropsWithForwardedRef = Props & {\r\n forwardedRef: Ref;\r\n };\r\n\r\n class ResizeDetectorHOC extends Component {\r\n render() {\r\n const { forwardedRef, ...rest } = this.props;\r\n return (\r\n \r\n {/*We need a cast because:\r\n https://github.com/DefinitelyTyped/DefinitelyTyped/issues/32355\r\n https://github.com/Microsoft/TypeScript/issues/28938#issuecomment-450636046 */}\r\n \r\n \r\n );\r\n }\r\n }\r\n\r\n return React.forwardRef((props, ref) => {\r\n return ;\r\n });\r\n};\r\n","import firebase from 'firebase/app';\r\n\r\nimport '@firebase/messaging';\r\n\r\nimport { AppConfig } from '@util/AppConfig';\r\n\r\nexport enum NotificationPermissionStatus {\r\n GRANTED = 'granted',\r\n DENIED = 'denied',\r\n}\r\n\r\nexport const isBrowserNotificationSupported = () => {\r\n return firebase.messaging.isSupported();\r\n};\r\n\r\nexport const initializeFirebase = () => {\r\n if (firebase.messaging.isSupported()) {\r\n firebase.initializeApp({\r\n apiKey: AppConfig.LBConfig.FirebaseKeys.apiKey,\r\n authDomain: AppConfig.LBConfig.FirebaseKeys.authDomain,\r\n storageBucket: AppConfig.LBConfig.FirebaseKeys.storageBucket,\r\n projectId: AppConfig.LBConfig.FirebaseKeys.projectId,\r\n messagingSenderId: AppConfig.LBConfig.FirebaseKeys.messagingSenderId,\r\n appId: AppConfig.LBConfig.FirebaseKeys.appId,\r\n });\r\n }\r\n};\r\n\r\nexport const askForPermissionToReceiveNotifications = async () => {\r\n try {\r\n const messaging = firebase.messaging();\r\n\r\n await messaging.requestPermission();\r\n return messaging.getToken({ vapidKey: AppConfig.LBConfig.FirebaseKeys.vapidKey }).then((currentToken) => {\r\n if (currentToken) {\r\n firebase.messaging().onTokenRefresh((currentToken) => currentToken);\r\n }\r\n });\r\n } catch (error) {\r\n return null;\r\n }\r\n};\r\n\r\nexport const registerToken = async () => {\r\n try {\r\n const messaging = firebase.messaging();\r\n\r\n const token = await messaging.getToken();\r\n return token;\r\n } catch (error) {\r\n return undefined;\r\n }\r\n return undefined;\r\n};\r\n","import { useMemo } from 'react';\r\n\r\nimport { reverse } from 'lodash';\r\n\r\nimport { getLoadBidOption, isLoadBooked, isLoadBookingRejected } from '@common/helper';\r\nimport { Flag, Load } from '@common/model';\r\nimport { LoadContactOption } from '@common/model/Load';\r\nimport { Vendor } from '@common/model/VendorBid';\r\nimport { useIsBiddingEnabled } from '@page/bids/BidStatusHelper';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nexport const useContactOptions = (\r\n load: Load | undefined,\r\n isOriginMessaging: boolean,\r\n isOriginBids: boolean,\r\n isReversePriority?: boolean,\r\n shouldShowOptionsBeforeBid?: boolean\r\n): LoadContactOption[] => {\r\n const isBiddingEnabled = useIsBiddingEnabled();\r\n const isCommunicationsEnabled = useSelector((state) => state.communication.isCommunicationsEnabled);\r\n const shouldHideContactBeforeParadeBid = useSelector(\r\n (state) => state.settings.systemSetting[Flag.HideParadeContact].value\r\n );\r\n const isOriginBidsOrMessaging = isOriginBids || isOriginMessaging;\r\n const hasMessageOption =\r\n !isOriginBidsOrMessaging && isCommunicationsEnabled && load?.conversation?.canInitiateConversation;\r\n const isBookNowEnabled = useSelector((state) => !state.settings.systemSetting[Flag.BookNowDisabled].value);\r\n\r\n return useMemo(() => {\r\n const options: LoadContactOption[] = [];\r\n if (!load) {\r\n return options;\r\n }\r\n\r\n if (load.vendorInfo?.vendorId === Vendor.VHub && load.vHub) {\r\n return [LoadContactOption.VhubBook];\r\n }\r\n\r\n if (!(load.vendorInfo?.vendorId === Vendor.Parade && shouldHideContactBeforeParadeBid && !load.vendorInfo?.bid)) {\r\n // No email button when origin is messaging (LB-1669)\r\n if (!hasMessageOption && load.dispatchEmail && !isOriginMessaging) {\r\n options.push(LoadContactOption.Email);\r\n }\r\n\r\n if (load.dispatchPhone) {\r\n options.push(LoadContactOption.Call);\r\n }\r\n\r\n if (hasMessageOption) {\r\n options.push(LoadContactOption.Message);\r\n }\r\n }\r\n\r\n const loadBidOption = getLoadBidOption(load, isOriginBidsOrMessaging, isBiddingEnabled);\r\n if (loadBidOption) {\r\n options.push(loadBidOption);\r\n }\r\n\r\n if (isBookNowEnabled && (load.canBookNow || load.bookNow) && !isLoadBooked(load) && !isLoadBookingRejected(load)) {\r\n options.push(LoadContactOption.BookNow);\r\n }\r\n\r\n return isReversePriority ? reverse(options) : options;\r\n }, [\r\n load?.vendorInfo,\r\n load?.vHub,\r\n load?.dispatchEmail,\r\n load?.dispatchPhone,\r\n load?.canBookNow,\r\n load?.bookNow,\r\n isOriginBids,\r\n isOriginMessaging,\r\n isReversePriority,\r\n shouldShowOptionsBeforeBid,\r\n shouldHideContactBeforeParadeBid,\r\n load?.rateNegotiations?.status,\r\n isBiddingEnabled,\r\n isCommunicationsEnabled,\r\n isBookNowEnabled,\r\n load?.metadata?.userdata?.progress,\r\n ]);\r\n};\r\n","import { Config } from '@common/model';\r\nimport { calculateWorkDays, getTotalCostPerDay } from '@common/util/CostPerDayHelper';\r\nimport { Color } from '@style/Color';\r\nimport { T, t } from '@translate';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nexport const getCostPerDayTitleData = (percentage: number) => {\r\n let color = Color.GREEN_MAIN;\r\n let style = {};\r\n let title = t(T.common_costPerDay_cpdAbove);\r\n\r\n if (percentage < 0) {\r\n color = Color.BLUE_TEXT;\r\n style = { transform: 'rotate(180deg)' };\r\n title = t(T.common_costPerDay_cpdBelow);\r\n\r\n if (percentage < -10) {\r\n color = Color.RED_APPLE;\r\n }\r\n }\r\n\r\n return {\r\n color: color,\r\n title: title,\r\n percentageText: `${Math.abs(Math.round(percentage))}%`,\r\n iconStyle: style,\r\n };\r\n};\r\n\r\nexport const useCostPerDay = () => {\r\n const costPerDaySettings = useSelector((state) => state.settings.systemSetting[Config.CostPerDaySettings].value);\r\n const value = getTotalCostPerDay(\r\n costPerDaySettings.truckExpenses,\r\n costPerDaySettings.homeExpenses,\r\n costPerDaySettings.workDays\r\n );\r\n\r\n return {\r\n ...costPerDaySettings,\r\n value: value,\r\n isSetupComplete: value > 0,\r\n };\r\n};\r\n\r\nexport const useGetWorkDays = (driveTime: number) => {\r\n const costPerDay = useCostPerDay();\r\n return calculateWorkDays(driveTime, costPerDay.loadingHours, costPerDay.drivingHours);\r\n};\r\n","import { filter, join, map, sortBy } from 'lodash';\r\n\r\nimport { EquipmentCode, EquipmentSpecification, EquipmentType, SimplifiedEquipment } from '@common/model';\r\n\r\nexport const stringifyEquipments = (equipments: SimplifiedEquipment[]): string[] =>\r\n map(trimEquiments(equipments), stringifyEquipment);\r\n\r\nexport const stringifyEquipment = (equipment: SimplifiedEquipment) => {\r\n const hasSpecifications =\r\n equipment.equipmentSpecifications !== EquipmentSpecification.None && equipment.equipmentSpecifications !== '';\r\n const hasType = equipment.equipmentType !== EquipmentType.None && equipment.equipmentType !== '';\r\n const type = hasType ? equipment.equipmentType : hasSpecifications ? equipment.equipmentSpecifications : '';\r\n const specifications = hasType && hasSpecifications ? ` (${equipment.equipmentSpecifications})` : '';\r\n return type + specifications;\r\n};\r\n\r\nconst trimEquiments = (equipments: SimplifiedEquipment[]) =>\r\n filter(equipments, (equipment: SimplifiedEquipment) => {\r\n return (\r\n (equipment.equipmentSpecifications !== EquipmentSpecification.None && equipment.equipmentSpecifications !== '') ||\r\n (equipment.equipmentType !== EquipmentType.None && equipment.equipmentType !== '')\r\n );\r\n });\r\n\r\nexport const mapEquipmentsTypeToCode = (equipmentTypes: EquipmentType[] | undefined): string => {\r\n if (equipmentTypes === undefined || equipmentTypes.length <= 0) {\r\n return '-';\r\n }\r\n return join(sortBy(map(equipmentTypes, (equipment) => EquipmentCode[equipment])), ', ');\r\n};\r\n\r\nexport const equipmentSpecificationsTo = (specifications: EquipmentSpecification[]): string => {\r\n return join(specifications, ', ');\r\n};\r\n","import React from 'react';\r\n\r\nexport const isEnterKeyPressed = (event: React.KeyboardEvent) => event.keyCode === 13;\r\nexport const isSpaceKeyPressed = (event: React.KeyboardEvent) => event.keyCode === 32;\r\nexport const isEnterOrSpaceKeyPressed = (event: React.KeyboardEvent) =>\r\n isEnterKeyPressed(event) || isSpaceKeyPressed(event);\r\n","import { forEach, replace } from 'lodash';\r\n\r\n/**\r\n * Changes paths for specified list of attributes from relative to absolute\r\n * @param htmlElement element where we should change paths\r\n * @param attributes list of attributes to search tags where we need to change paths (e.g. ['src', 'href'])\r\n * @param relativePathRoot root pathname */\r\nexport const changeRelativePathsToAbsolute = (\r\n htmlElement: Document | undefined,\r\n attributes: string[],\r\n relativePathRoot: string\r\n) => {\r\n if (htmlElement) {\r\n changePath(htmlElement, attributes, relativePathRoot, setAbsolutePathForAttribute);\r\n }\r\n return true;\r\n};\r\n\r\n/**\r\n * Changes paths for specified list of attributes from http to https\r\n * @param htmlElement element where we should change paths\r\n * @param attributes list of attributes to search tags where we need to change paths (e.g. ['src', 'href'])\r\n */\r\nexport const changePathFromHttpToHttps = (htmlElement: Document | undefined, attributes: string[]) => {\r\n if (htmlElement) {\r\n changePath(htmlElement, attributes, null, setHttpsForLinks);\r\n }\r\n return true;\r\n};\r\n\r\n/**\r\n * Changes paths for specified list of attributes by handler function\r\n * @param htmlElement element where we should change paths\r\n * @param attributes list of attributes to search tags where we need to change paths (e.g. ['src', 'href'])\r\n * @param relativePathRoot root pathname\r\n * @param handlerFunction handler to change path */\r\nconst changePath = (\r\n htmlElement: Document,\r\n attributes: string[],\r\n relativePathRoot: string | null,\r\n handlerFunction: (node: Element, attribute: string, relativePathRoot: string | null) => void\r\n) => {\r\n const collection = htmlElement.getElementsByTagName('*');\r\n forEach(collection, (element) => {\r\n forEach(attributes, (attribute) => {\r\n handlerFunction(element, attribute, relativePathRoot);\r\n });\r\n });\r\n};\r\n\r\n/**\r\n * Sets absolute path instead of relative if provided element has required attribute\r\n * (e.g. => ) */\r\nexport const setAbsolutePathForAttribute = (node: Element, attribute: string, relativePathRoot: string) => {\r\n if (node.hasAttribute(attribute)) {\r\n const attributeValue = node.getAttribute(attribute);\r\n if (attributeValue !== null && !isPathAbsolute(attributeValue)) {\r\n node.setAttribute(attribute, `${relativePathRoot}${attributeValue}`);\r\n }\r\n }\r\n};\r\n\r\n/**\r\n * Checks if provided path is absolute */\r\nexport const isPathAbsolute = (path: string) => new RegExp('^(?:(?:[a-z]+:)?//|mailto:)', 'i').test(path);\r\n\r\n/**\r\n * Checks if provided path is http */\r\nexport const isHttpPath = (path: string) => new RegExp('^http://.+', 'i').test(path);\r\n\r\n/**\r\n * Sets https path instead of http\r\n * (e.g. => ) */\r\nexport const setHttpsForLinks = (node: Element, attribute: string) => {\r\n if (node.hasAttribute(attribute)) {\r\n const attributeValue = node.getAttribute(attribute);\r\n if (attributeValue !== null && isHttpPath(attributeValue)) {\r\n node.setAttribute(attribute, replace(attributeValue, 'http://', 'https://'));\r\n }\r\n }\r\n};\r\n","import { every, flatten, head, isEmpty, isEqual, map, sortBy, toString, uniq } from 'lodash';\r\nimport moment, { duration } from 'moment';\r\n\r\nimport {\r\n LegacyPosterLoadSearchRequest,\r\n LoadPostRequest,\r\n POSTED_LOADS_REQUEST_FIELDS_DEFAULT,\r\n PosterLoadSearchRequest,\r\n} from '@/model';\r\nimport {\r\n convertFormFieldsToLoadPostRequest,\r\n PostLoadFormFieldsState,\r\n} from '@/reduxStore/epic/postLoad/PostLoadFormStateHelper';\r\nimport {\r\n areOptionalValuesSemanticallyEqual,\r\n arePhonesDefinedAndMatching,\r\n convertISOToRFCAndStripTimeIfMidnight,\r\n equipmentSpecificationsToCodeStrings,\r\n formatMomentYYYYMMDD,\r\n getAgeOfDate,\r\n isBaseLocationEqual,\r\n serverGMTRFCToLocalTZ,\r\n} from '@common/helper';\r\nimport {\r\n ANYWHERE_LOCATION,\r\n BaseLocation,\r\n Equipment,\r\n EquipmentSpecification,\r\n EquipmentType,\r\n INITIAL_SEARCH_LIMIT,\r\n Load,\r\n LoadExtraStop,\r\n LoadSize,\r\n Location,\r\n LocationType,\r\n PayRateUnit,\r\n PostedLoad,\r\n PostedLoadEquipment,\r\n PostedLoadLocation,\r\n SearchMetadataType,\r\n SuggestionTypes,\r\n TimeRange,\r\n} from '@common/model';\r\nimport { t, T } from '@translate';\r\n\r\nexport enum PostedLoadsFilterType {\r\n Pickup = 'pickup',\r\n PickupDates = 'pickup_dates',\r\n Dropoff = 'dropoff',\r\n DropoffDates = 'dropoff_dates',\r\n TrailerType = 'trailer_type',\r\n TrailerSpecifications = 'trailer_specifications',\r\n Length = 'length',\r\n Weight = 'weight',\r\n WithLength = 'with_length',\r\n WithWeight = 'with_weight',\r\n}\r\n\r\ninterface Filter {\r\n type: PostedLoadsFilterType;\r\n title: string;\r\n filterSpecificInput?: {\r\n label: string;\r\n values: string[];\r\n };\r\n}\r\n\r\nconst doLoadPostRequestLocationsMatchExistingLoad = (loadPostRequest: LoadPostRequest, load: Load) => {\r\n if (!load.originLocation || !load.destinationLocation) {\r\n return false;\r\n }\r\n const loadOriginLocation: BaseLocation = {\r\n type: load.originLocation.type,\r\n address: load.originLocation.address,\r\n geolocation: load.originLocation.geolocation,\r\n states: load.originLocation.states,\r\n radius: load.originLocation.radius,\r\n };\r\n const loadDestinationLocation: BaseLocation = {\r\n type: load.destinationLocation.type,\r\n address: load.destinationLocation.address,\r\n geolocation: load.destinationLocation.geolocation,\r\n states: load.destinationLocation.states,\r\n radius: load.destinationLocation.radius,\r\n };\r\n return (\r\n isBaseLocationEqual(loadPostRequest.originLocation, loadOriginLocation) &&\r\n isBaseLocationEqual(loadPostRequest.destinationLocation, loadDestinationLocation)\r\n );\r\n};\r\n\r\n// check if strings where '' is the same as undefined are equal\r\nconst doLoadPostRequestOptionalStringsMatchExistingLoad = (loadPostRequest: LoadPostRequest, load: Load) => {\r\n const loadPostFieldsDeliveryDateTime = loadPostRequest.deliveryDateTime\r\n ? convertISOToRFCAndStripTimeIfMidnight(loadPostRequest.deliveryDateTime)\r\n : undefined;\r\n const optionalStrings: Array<[string | undefined, string | undefined]> = [\r\n [loadPostRequest.postReference, load.postReference],\r\n [loadPostFieldsDeliveryDateTime, load.deliveryDateTime],\r\n [loadPostRequest.commodity, load.commodity],\r\n [loadPostRequest.notes, load.notes],\r\n [loadPostRequest.privateLoadNote, load.privateLoadNote],\r\n [loadPostRequest.dispatchName, load.dispatchName],\r\n [loadPostRequest.dispatchEmail, load.dispatchEmail],\r\n ];\r\n return every(optionalStrings, (value) => areOptionalValuesSemanticallyEqual(value[0], value[1]));\r\n};\r\n\r\nconst doLoadPostRequestPickupDateTimesMatchExistingLoad = (loadPostRequest: LoadPostRequest, load: Load) => {\r\n const loadPostFieldsPickupDateTimesRFC = loadPostRequest.pickupDateTimes\r\n ? map(loadPostRequest.pickupDateTimes, (date: string) => convertISOToRFCAndStripTimeIfMidnight(date))\r\n : undefined;\r\n return (\r\n loadPostFieldsPickupDateTimesRFC &&\r\n load.pickupDateTimes &&\r\n isEqual(sortBy(loadPostFieldsPickupDateTimesRFC), sortBy(load.pickupDateTimes))\r\n );\r\n};\r\n\r\nconst getExtraStopMainData = (extraStop: LoadExtraStop) => ({\r\n stopNo: extraStop.stopNo,\r\n stopPurpose: extraStop.stopPurpose,\r\n address: {\r\n city: extraStop.address?.city,\r\n state: extraStop.address?.state,\r\n },\r\n geolocation: {\r\n latitude: extraStop.geolocation?.latitude,\r\n longitude: extraStop.geolocation?.longitude,\r\n },\r\n});\r\n\r\nexport const doLoadPostRequestExtraStopsMatchExistingLoad = (loadPostRequest: LoadPostRequest, load: Load) => {\r\n const loadPostRequestStops = map(loadPostRequest.extraStops, (stop) => getExtraStopMainData(stop));\r\n const loadStops = map(load.extraStops, (stop) => getExtraStopMainData(stop));\r\n return isEqual(loadPostRequestStops, loadStops);\r\n};\r\n\r\nconst doesLoadPostRequestMatchExistingLoad = (loadPostRequest: LoadPostRequest, load: Load) =>\r\n doLoadPostRequestLocationsMatchExistingLoad(loadPostRequest, load) &&\r\n doLoadPostRequestOptionalStringsMatchExistingLoad(loadPostRequest, load) &&\r\n doLoadPostRequestPickupDateTimesMatchExistingLoad(loadPostRequest, load) &&\r\n arePhonesDefinedAndMatching(loadPostRequest.dispatchPhone, load.dispatchPhone) &&\r\n loadPostRequest.numberOfLoads === load.numberOfLoads &&\r\n loadPostRequest.loadSize === load.loadSize &&\r\n loadPostRequest.mileage === load.mileage &&\r\n loadPostRequest.length === load.length &&\r\n loadPostRequest.weight === load.weight &&\r\n loadPostRequest.numberOfStops === load.numberOfStops &&\r\n areOptionalValuesSemanticallyEqual(loadPostRequest.teamDriving, load.teamDriving) &&\r\n isEqual(loadPostRequest.rate, load.rate) &&\r\n isEqual(\r\n sortBy(loadPostRequest.equipments, ['equipmentType', 'equipmentSpecifications']),\r\n sortBy(load.equipments, ['equipmentType', 'equipmentSpecifications'])\r\n ) &&\r\n doLoadPostRequestExtraStopsMatchExistingLoad(loadPostRequest, load);\r\n\r\nexport const doPostLoadFormFieldsMatchExistingLoad = (fields: PostLoadFormFieldsState, load: Load | undefined) => {\r\n if (!load) {\r\n return false;\r\n }\r\n const loadPostRequestFromFields = convertFormFieldsToLoadPostRequest(fields);\r\n return doesLoadPostRequestMatchExistingLoad(loadPostRequestFromFields, load);\r\n};\r\n\r\nexport const getPostLoadsAppliedFilters = (searchRequest: PosterLoadSearchRequest) => {\r\n const filters: Filter[] = [];\r\n if (searchRequest.origin.type !== LocationType.ANY) {\r\n filters.push({ type: PostedLoadsFilterType.Pickup, title: t(T.modalPanels_LocationPicker_Pickup) });\r\n }\r\n if (!isEmpty(searchRequest.pickupDates)) {\r\n filters.push({ type: PostedLoadsFilterType.PickupDates, title: t(T.modalPanels_DatesTime_PickUpDatesHeader) });\r\n }\r\n if (searchRequest.destination.type !== LocationType.ANY) {\r\n filters.push({ type: PostedLoadsFilterType.Dropoff, title: t(T.modalPanels_LocationPicker_DropOff) });\r\n }\r\n if (!isEmpty(searchRequest.deliveryDates)) {\r\n filters.push({ type: PostedLoadsFilterType.DropoffDates, title: t(T.modalPanels_DatesTime_DropOffDatesHeader) });\r\n }\r\n if (!isEmpty(searchRequest.equipmentTypes)) {\r\n filters.push({ type: PostedLoadsFilterType.TrailerType, title: t(T.modalPanels_TrailerType_Header) });\r\n }\r\n if (searchRequest.equipmentSpecifications && !isEmpty(searchRequest.equipmentSpecifications)) {\r\n filters.push({\r\n type: PostedLoadsFilterType.TrailerSpecifications,\r\n title: t(T.modalPanels_TrailerSpecifications_Header),\r\n filterSpecificInput: {\r\n label: t(T.common_load_filter_trailerSpecs),\r\n values: equipmentSpecificationsToCodeStrings(searchRequest.equipmentSpecifications),\r\n },\r\n });\r\n }\r\n if (searchRequest.minLength) {\r\n filters.push({ type: PostedLoadsFilterType.Length, title: t(T.common_load_Length) });\r\n }\r\n if (searchRequest.minWeight) {\r\n filters.push({ type: PostedLoadsFilterType.Weight, title: t(T.common_load_Weight) });\r\n }\r\n if (!searchRequest.includeLoadsWithoutLength) {\r\n filters.push({ type: PostedLoadsFilterType.WithLength, title: t(T.common_load_filter_withLength) });\r\n }\r\n if (!searchRequest.includeLoadsWithoutWeight) {\r\n filters.push({ type: PostedLoadsFilterType.WithWeight, title: t(T.common_load_filter_withWeight) });\r\n }\r\n\r\n return filters;\r\n};\r\n\r\nexport const omitFilterByFilterType = (\r\n filters: PosterLoadSearchRequest,\r\n filterType: PostedLoadsFilterType\r\n): PosterLoadSearchRequest => {\r\n switch (filterType) {\r\n case PostedLoadsFilterType.Pickup:\r\n return { ...filters, origin: { type: LocationType.ANY } };\r\n case PostedLoadsFilterType.PickupDates:\r\n return { ...filters, pickupDates: [] };\r\n case PostedLoadsFilterType.Dropoff:\r\n return { ...filters, destination: { type: LocationType.ANY } };\r\n case PostedLoadsFilterType.DropoffDates:\r\n return { ...filters, deliveryDates: undefined };\r\n case PostedLoadsFilterType.TrailerType:\r\n return { ...filters, equipmentTypes: undefined };\r\n case PostedLoadsFilterType.TrailerSpecifications:\r\n return { ...filters, equipmentSpecifications: undefined };\r\n case PostedLoadsFilterType.Length:\r\n return { ...filters, minLength: undefined };\r\n case PostedLoadsFilterType.WithLength:\r\n return { ...filters, includeLoadsWithoutLength: true };\r\n case PostedLoadsFilterType.Weight:\r\n return { ...filters, minWeight: undefined };\r\n case PostedLoadsFilterType.WithWeight:\r\n return { ...filters, includeLoadsWithoutWeight: true };\r\n default:\r\n return filters;\r\n }\r\n};\r\n\r\nexport const createDefaultLoadPostSearchRequest = (): PosterLoadSearchRequest => ({\r\n origin: ANYWHERE_LOCATION,\r\n destination: ANYWHERE_LOCATION,\r\n pickupDates: [],\r\n equipmentSpecifications: undefined,\r\n equipmentTypes: undefined,\r\n includeLoadsWithoutLength: true,\r\n includeLoadsWithoutWeight: true,\r\n limit: INITIAL_SEARCH_LIMIT,\r\n fields: POSTED_LOADS_REQUEST_FIELDS_DEFAULT,\r\n});\r\n\r\nexport const filterAllFromEquipmentTypes = (equipmentTypes: EquipmentType[]) =>\r\n isEqual(equipmentTypes, [EquipmentType.All]) ? [] : equipmentTypes;\r\n\r\nexport const convertPosterLoadSearchRequestToLegacy = ({\r\n token,\r\n fields,\r\n limit,\r\n equipmentSpecifications,\r\n statusFilter,\r\n ...request\r\n}: PosterLoadSearchRequest): LegacyPosterLoadSearchRequest => ({\r\n ...request,\r\n // Some legacy endpoints seem to support both statusFilter and includeStatuses.\r\n // For simplicity, we pass just includeStatuses\r\n includeStatuses: statusFilter,\r\n metadata: {\r\n type: SearchMetadataType.Regular,\r\n nextToken: token,\r\n limit: limit,\r\n fields: 'all',\r\n },\r\n equipmentSpecifications:\r\n // LegacyPosterLoadSearchRequest and others require a comma separated string for this\r\n isEqual(equipmentSpecifications, [EquipmentSpecification.All]) || isEmpty(equipmentSpecifications)\r\n ? undefined\r\n : toString(equipmentSpecifications),\r\n});\r\n\r\nconst convertPostedLoadLocationToLocation = (location: PostedLoadLocation | undefined): Location | undefined =>\r\n location\r\n ? {\r\n // GET /loads/{id} always returns CityState, meanwhile Posted Loads are\r\n // returned without any type. We assign CityState here to ensure cohesion\r\n type: SuggestionTypes.CityState,\r\n address: {\r\n city: location.city ?? '',\r\n state: location.state ?? '',\r\n country: location.country ?? '',\r\n zipCode: location.zipCode,\r\n },\r\n geolocation:\r\n location.latitude && location.longitude\r\n ? {\r\n latitude: location.latitude,\r\n longitude: location.longitude,\r\n }\r\n : undefined,\r\n }\r\n : undefined;\r\n\r\nconst convertPostedLoadEquipmentsToEquipments = (\r\n equipments: PostedLoadEquipment[] | undefined\r\n): Equipment[] | undefined =>\r\n equipments\r\n ? map(equipments, (equipment) => ({\r\n equipmentType: equipment.type,\r\n equipmentSpecifications: toString(equipment.specifications),\r\n }))\r\n : undefined;\r\n\r\n/**\r\n * Find all dates that overlap with the provided time ranges\r\n */\r\nconst convertPostedLoadTimeRangesToDatesCovered = (timeRanges: TimeRange[]) =>\r\n sortBy(\r\n uniq(\r\n flatten(\r\n map(timeRanges, ({ start, stop }) => {\r\n const datesCovered = [];\r\n if (start && moment(start).isValid()) {\r\n // Time ranges from API are returned with the UTC offset of the associated location\r\n // and all calculations should be done with that UTC offset in place\r\n const earliestDate = moment.parseZone(start).hour(0).minute(0).second(0).millisecond(0);\r\n const endOfTimeRange = stop && moment(stop).isValid() ? moment.parseZone(stop) : moment.parseZone(start);\r\n const timeoutDate = earliestDate.clone().add(1, 'month');\r\n do {\r\n datesCovered.push(formatMomentYYYYMMDD(earliestDate));\r\n earliestDate.add(duration(1, 'day'));\r\n } while (earliestDate.isBefore(endOfTimeRange) && !earliestDate.isAfter(timeoutDate));\r\n }\r\n return datesCovered;\r\n })\r\n )\r\n )\r\n );\r\n\r\nexport const convertPostedLoadToLoad = (postedLoad: PostedLoad): Load => ({\r\n id: postedLoad.id,\r\n age: postedLoad.lastUpdated ? getAgeOfDate(serverGMTRFCToLocalTZ(postedLoad.lastUpdated)) : undefined,\r\n postReference: postedLoad.postReference,\r\n posterContactName: postedLoad.posterContactName,\r\n computedMileage: postedLoad.mileage,\r\n length: postedLoad.length,\r\n weight: postedLoad.weight,\r\n status: postedLoad.status,\r\n loadSize: postedLoad.ltl ? LoadSize.LTL : LoadSize.TL,\r\n rate: postedLoad.rate\r\n ? {\r\n amount: postedLoad.rate.amount,\r\n type: postedLoad.rate.perMile ? PayRateUnit.PerMile : PayRateUnit.Flat,\r\n }\r\n : undefined,\r\n originLocation: convertPostedLoadLocationToLocation(postedLoad.pickup?.location),\r\n destinationLocation: convertPostedLoadLocationToLocation(postedLoad.delivery?.location),\r\n pickupDates: convertPostedLoadTimeRangesToDatesCovered(postedLoad.pickup?.timeRanges ?? []),\r\n deliveryDateTime: head(convertPostedLoadTimeRangesToDatesCovered(postedLoad.delivery?.timeRanges ?? [])),\r\n equipments: convertPostedLoadEquipmentsToEquipments(postedLoad.equipments),\r\n});\r\n","import { map, max, min } from 'lodash';\r\n\r\nexport interface BaseCoordinates {\r\n x: number;\r\n y: number;\r\n}\r\n\r\nexport interface SimpleMapsCoordinates extends BaseCoordinates {\r\n x2: number;\r\n y2: number;\r\n}\r\n\r\nexport interface ProjectCoordinates extends BaseCoordinates {\r\n lat: number;\r\n lng: number;\r\n}\r\n\r\nexport interface ProjectRules {\r\n condition: string;\r\n points: number[];\r\n}\r\n\r\nexport interface SimpleMapsInfo {\r\n map_name: string;\r\n initial_view: SimpleMapsCoordinates;\r\n state_bbox_array: { [stateName: string]: SimpleMapsCoordinates };\r\n paths: { [stateName: string]: string };\r\n names: { [stateName: string]: string };\r\n proj: string;\r\n proj_rules: ProjectRules[];\r\n proj_coordinates: ProjectCoordinates[];\r\n}\r\n\r\nexport interface Region {\r\n [id: string]: { states: string[]; name: string };\r\n}\r\n\r\nexport interface SimpleMapsData {\r\n main_settings:\r\n | {\r\n initial_zoom?: string;\r\n }\r\n | any;\r\n regions: Region;\r\n locations: any;\r\n labels: any;\r\n state_specific: {\r\n [stateName: string]: { name: string; color?: string; hover_color?: string; zoomable?: boolean };\r\n };\r\n}\r\n\r\nexport const getStatesBboxUnion = (statesArray: SimpleMapsCoordinates[]) => {\r\n const xa: number[] = [];\r\n const x2a: number[] = [];\r\n const y2a: number[] = [];\r\n const ya: number[] = [];\r\n map(statesArray, (state) => {\r\n xa.push(state.x);\r\n x2a.push(state.x2);\r\n ya.push(state.y);\r\n y2a.push(state.y2);\r\n });\r\n const x = min(xa);\r\n const x2 = max(x2a);\r\n const y = min(ya);\r\n const y2 = max(y2a);\r\n return {\r\n x: x,\r\n x2: x2,\r\n y: y,\r\n y2: y2,\r\n };\r\n};\r\n","import { useCallback } from 'react';\r\n\r\nimport { useFactory } from '@common/util/hooks';\r\n\r\nexport class UserActivityManager {\r\n public interval: number;\r\n private lastActivityTimerStamp = 0;\r\n private timer: any | undefined;\r\n private timerSet: boolean;\r\n private onUserInactive: () => void;\r\n private SESSION_EXPIRED_INTERVAL: number = 30 * 60000;\r\n\r\n constructor(onUserInactive: () => void, interval: number) {\r\n this.onUserInactive = onUserInactive;\r\n this.interval = interval;\r\n this.lastActivityTimerStamp = Date.now();\r\n }\r\n\r\n public isUserActivityIntervalSet = () => this.timerSet;\r\n\r\n public setUserActivityInterval = () => {\r\n if (!this.timerSet) {\r\n this.timerSet = true;\r\n this.timer = setInterval(this.onUpdateActivity, this.interval);\r\n }\r\n };\r\n\r\n public pauseUserActivityInterval = () => {\r\n if (this.timerSet) {\r\n clearInterval(this.timer);\r\n this.timerSet = false;\r\n }\r\n };\r\n\r\n public setLastActivityStamp = (time: number) => {\r\n this.lastActivityTimerStamp = time;\r\n };\r\n\r\n public getLastActivityStamp = () => this.lastActivityTimerStamp;\r\n\r\n private onUpdateActivity = () => {\r\n const currentTime = Date.now();\r\n //if the user is not looking/intracting with the page for more than 30 min\r\n //the user is concidered inactive\r\n if (currentTime - this.lastActivityTimerStamp >= this.SESSION_EXPIRED_INTERVAL) {\r\n this.onUserInactive();\r\n this.pauseUserActivityInterval();\r\n }\r\n };\r\n}\r\n\r\nexport const useUserActivityManager = (onUserInactive: () => void, interval: number) => {\r\n const factory = useCallback(() => new UserActivityManager(onUserInactive, interval), [onUserInactive, interval]);\r\n return useFactory(\r\n factory,\r\n (prevManager, newManager) => {\r\n newManager.setLastActivityStamp(prevManager.getLastActivityStamp());\r\n if (prevManager.isUserActivityIntervalSet()) {\r\n newManager.setUserActivityInterval();\r\n }\r\n },\r\n (manager) => {\r\n manager.pauseUserActivityInterval();\r\n }\r\n );\r\n};\r\n","import { useCallback, useEffect, useRef, useState } from 'react';\r\n\r\nimport { debounce, noop } from 'lodash';\r\n\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\n\r\nconst useScrollEnd = (element: EventTarget | null, handler: (event: Event) => void) => {\r\n useEffect(() => {\r\n if (element) {\r\n const onScroll = debounce((ev: Event) => handler(ev), 70);\r\n element.addEventListener('scroll', onScroll);\r\n return () => element.removeEventListener('scroll', onScroll);\r\n }\r\n return noop;\r\n }, [element, handler]);\r\n};\r\n\r\nconst useManualScrollStart = (element: EventTarget | null, handler: (event: Event) => void) => {\r\n useEffect(() => {\r\n if (element) {\r\n element.addEventListener('wheel', handler);\r\n element.addEventListener('touchmove', handler);\r\n\r\n return () => {\r\n element.removeEventListener('wheel', handler);\r\n element.removeEventListener('touchmove', handler);\r\n };\r\n }\r\n return noop;\r\n }, [element, handler]);\r\n};\r\n\r\nexport const useManualScrollEventHandler = (\r\n element: EventTarget | null,\r\n handler: (event: Event) => void,\r\n pauseHandling = false\r\n) => {\r\n const isScrolling = useRef(false);\r\n\r\n const onScrollEnd = useCallback(\r\n (event: Event) => {\r\n if (isScrolling.current && !pauseHandling) {\r\n handler(event);\r\n isScrolling.current = false;\r\n }\r\n },\r\n [isScrolling, isScrolling.current, pauseHandling, handler]\r\n );\r\n\r\n useScrollEnd(element, onScrollEnd);\r\n\r\n const onScrollStart = useCallback(() => {\r\n if (!pauseHandling) {\r\n isScrolling.current = true;\r\n }\r\n }, [isScrolling, pauseHandling]);\r\n\r\n useManualScrollStart(element, onScrollStart);\r\n};\r\n\r\nexport const useThresholdAfterScroll = (scrollElement: HTMLElement | null, scrollThreshold: number) => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n const [reached, setReached] = useState(false);\r\n const element = isWindowScrollMode ? window : scrollElement;\r\n\r\n const onScrollEnd = useCallback(\r\n isWindowScrollMode\r\n ? () => setReached(window.pageYOffset > scrollThreshold)\r\n : () => setReached((scrollElement?.scrollTop ?? 0) > scrollThreshold),\r\n [isWindowScrollMode, setReached, scrollElement, scrollThreshold]\r\n );\r\n\r\n useScrollEnd(element, onScrollEnd);\r\n return reached;\r\n};\r\n\r\nexport const useYOffsetAfterScroll = (scrollElement: HTMLElement | null) => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n const [yOffset, setYOffset] = useState(0);\r\n const element = isWindowScrollMode ? window : scrollElement;\r\n\r\n const onScrollEnd = useCallback(\r\n isWindowScrollMode ? () => setYOffset(window.pageYOffset) : () => setYOffset(scrollElement?.scrollTop ?? 0),\r\n [isWindowScrollMode, setYOffset, scrollElement]\r\n );\r\n\r\n useScrollEnd(element, onScrollEnd);\r\n\r\n return yOffset;\r\n};\r\n","import { useEffect, useState } from 'react';\r\n\r\nimport { debounce } from 'lodash';\r\n\r\n/** This hook returns whether the current browser has \"zero-width floating scrollbars\" (i.e. mobile). This used to know\r\n * if we are on mobile and/or touch-only device for the purpose of avoiding using SimpleBar when scrolling the whole page.\r\n * The logic here is if the browser has already fancy zero-width scrollbars, our 'SimpleBar' is just making things worse.\r\n *\r\n * Normally this never changes within a normal usage. The only case is toggling Google Chrome's \"device\" mode or\r\n * if the measurement failed once because of some rendering quirk of the browser.\r\n * So here we sometimes re-check just in case (only after a window resize AND a global debounced timer). Note that this\r\n * hook is used many times in a page.\r\n */\r\nexport const useIsBrowserWithFloatingScrollbars = () => {\r\n const [floating, setFloating] = useState(detectFloatingScrollbars());\r\n\r\n useEffect(() => {\r\n function handleResize() {\r\n setFloating(detectFloatingScrollbars());\r\n }\r\n\r\n window.addEventListener('resize', handleResize, false);\r\n return () => window.removeEventListener('resize', handleResize);\r\n }, [setFloating]);\r\n\r\n return floating;\r\n};\r\n\r\n// global debounce\r\nconst detectFloatingScrollbars = debounce(\r\n () => {\r\n document.body.insertAdjacentHTML(\r\n 'beforeend',\r\n `
`\r\n );\r\n\r\n const elem = document.getElementById('floatingscrollbartest');\r\n\r\n if (elem == null) {\r\n return false;\r\n }\r\n\r\n const scrollBarWidth = elem.offsetWidth - elem.clientWidth;\r\n\r\n elem.remove();\r\n\r\n return scrollBarWidth === 0;\r\n },\r\n 2000, // don't always recheck as this is a relatively slow process (waits for DOM reflow)\r\n { leading: true, trailing: false }\r\n);\r\n","import { useEffect, useState } from 'react';\r\n\r\nimport { findIndex, map } from 'lodash';\r\n\r\n/** This hook makes it easy to utilize media queries in your component logic.\r\n *\r\n * The example below renders a different number of columns depending on which media query\r\n * matches the current screen width. The first one to match in the list wins.\r\n *\r\n * const columnCount = useMedia(\r\n * // Media queries\r\n * ['(min-width: 1500px)', '(min-width: 1000px)', '(min-width: 600px)'],\r\n * // Column counts (relates to above media queries by array index)\r\n * [5, 4, 3],\r\n * // Default column count\r\n * 2\r\n * );\r\n *\r\n * Original code from https://usehooks.com/useMedia\r\n */\r\nexport const useMediaQuery = (queries: string[], values: T[], defaultValue: T) => {\r\n // Array containing a media query list for each query\r\n const mediaQueryLists = map(queries, (q) => window.matchMedia(q));\r\n\r\n // Function that gets value based on matching media query\r\n const getValue = () => {\r\n // Get index of first media query that matches\r\n const index = findIndex(mediaQueryLists, (mql) => mql.matches);\r\n // Return related value or defaultValue if none\r\n return index >= 0 ? values[index] : defaultValue;\r\n };\r\n\r\n // State and setter for matched value\r\n const [value, setValue] = useState(getValue);\r\n\r\n useEffect(\r\n () => {\r\n // Event listener callback\r\n // Note: By defining getValue outside of useEffect we ensure that it has ...\r\n // ... current values of hook args (as this hook callback is created once on mount).\r\n const handler = () => setValue(getValue);\r\n // Set a listener for each media query with above handler as callback.\r\n mediaQueryLists.forEach((mql) => mql.addListener(handler));\r\n // Remove listeners on cleanup\r\n return () => mediaQueryLists.forEach((mql) => mql.removeListener(handler));\r\n },\r\n [] // Empty array ensures effect is only run on mount and unmount\r\n );\r\n\r\n return value;\r\n};\r\n","import { MediaQueries } from '@util/MediaQueries';\r\n\r\nimport { useMediaQuery } from './MediaQueryHook';\r\n\r\n/** This hook returns true if currently showing the mobile view.\r\n * Mobile View is showing 1 panel always and this will control if we\r\n * should be scrolling the whole page or not. It is expected that\r\n * mobile views shows the bottom bars. (iPads do not)\r\n */\r\nexport const useIsMobileView = () => useMediaQuery([MediaQueries.lt_mobile], [true], false);\r\nexport const useIsSmallerThanMediumDesktopView = () => useMediaQuery([MediaQueries.lt_md], [true], false);\r\nexport const useIsSmallerThanMediumLargeDesktopView = () => useMediaQuery([MediaQueries.lt_md_lg], [true], false);\r\nexport const useIsiPhone5Series = () => useMediaQuery([MediaQueries.xxs], [true], false);\r\nexport const useIsiPadView = () => useMediaQuery([MediaQueries.md_ipad], [true], false);\r\n","import { useEffect, useRef } from 'react';\r\n\r\nimport { filter, includes, last } from 'lodash';\r\nimport { useDispatch } from 'react-redux';\r\n\r\nimport { useAppVisibilityChange } from '@util/hooks/UseVisibility';\r\n\r\nimport { setCurrentTabKey, setTabControlInitialization } from '../../reduxStore/epic/UserSettingsEpic';\r\nimport { useSelector } from './UseRedux';\r\n\r\nconst OPENED_TABS_KEY = 'openedTabs';\r\nconst ACTIVE_TAB_KEY = 'activeTab';\r\n\r\nexport const useOpenedTabsControl = () => {\r\n const { currentTabKey } = useSelector((state) => state.usersSettings.openedTabsControl);\r\n const latestCurrentTabKey = useRef(currentTabKey);\r\n latestCurrentTabKey.current = currentTabKey;\r\n\r\n const dispatch = useDispatch();\r\n\r\n const onPageVisibilityChange = (isVisible: boolean) => {\r\n if (latestCurrentTabKey.current && isVisible) {\r\n if (getActiveTab() !== latestCurrentTabKey.current) {\r\n setActiveTab(latestCurrentTabKey.current);\r\n }\r\n const openedTabs = getOpenedTabs();\r\n if (!includes(openedTabs, latestCurrentTabKey.current)) {\r\n setOpenedTabs([...openedTabs, latestCurrentTabKey.current]);\r\n }\r\n }\r\n };\r\n\r\n useAppVisibilityChange(onPageVisibilityChange);\r\n\r\n const onCloseTab = () => {\r\n const openedTabs = getOpenedTabs();\r\n const activeTab = getActiveTab();\r\n const updatedTabsList = filter(openedTabs, (key) => key !== latestCurrentTabKey.current);\r\n setOpenedTabs(updatedTabsList);\r\n if (activeTab === latestCurrentTabKey.current || updatedTabsList.length === 0) {\r\n setActiveTab('');\r\n }\r\n };\r\n\r\n const tabInitialization = () => {\r\n const uniqueTabKey = Date.now().toString();\r\n const openedTabs = getOpenedTabs();\r\n dispatch(setTabControlInitialization(true));\r\n dispatch(setCurrentTabKey(uniqueTabKey));\r\n const newWindowArray = [...openedTabs, uniqueTabKey];\r\n setOpenedTabs(newWindowArray);\r\n };\r\n\r\n useEffect(() => {\r\n window.addEventListener('beforeunload', onCloseTab);\r\n window.addEventListener('unload', onCloseTab);\r\n tabInitialization();\r\n return () => {\r\n window.removeEventListener('beforeunload', onCloseTab);\r\n window.removeEventListener('unload', onCloseTab);\r\n };\r\n }, []);\r\n};\r\n\r\nexport const useIsMainTab = () => {\r\n const { isOpenedTabsControlInitialized, currentTabKey } = useSelector(\r\n (state) => state.usersSettings.openedTabsControl\r\n );\r\n\r\n const getIsTabMainOrActive = (): boolean => {\r\n const openedTabs = getOpenedTabs();\r\n const activeTab = getActiveTab();\r\n if (isOpenedTabsControlInitialized) {\r\n if (activeTab) {\r\n if (activeTab === currentTabKey) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n if (openedTabs.length <= 1 || last(openedTabs) === currentTabKey) {\r\n return true;\r\n }\r\n return false;\r\n } else {\r\n if (openedTabs.length === 0) {\r\n return true;\r\n }\r\n return false;\r\n }\r\n };\r\n\r\n return getIsTabMainOrActive();\r\n};\r\n\r\nconst getOpenedTabs = () => {\r\n const openedTabs = window.localStorage.getItem(OPENED_TABS_KEY);\r\n return openedTabs ? JSON.parse(openedTabs) : [];\r\n};\r\n\r\nconst setOpenedTabs = (data: string[]) => {\r\n window.localStorage.setItem(OPENED_TABS_KEY, JSON.stringify(data));\r\n};\r\n\r\nconst getActiveTab = () => {\r\n const activeTab = window.localStorage.getItem(ACTIVE_TAB_KEY);\r\n return activeTab ? activeTab : '';\r\n};\r\n\r\nconst setActiveTab = (tabKey?: string) => {\r\n window.localStorage.setItem(ACTIVE_TAB_KEY, tabKey ? tabKey : '');\r\n};\r\n","import { useRef } from 'react';\r\n\r\n/** returns a simple id string that is unique within the scope\r\n * of the page javascript session for a given component instance.\r\n * (refreshing the page resets the internal counter).\r\n */\r\nexport const useUniqueId = (): string => {\r\n const idRef = useRef(undefined);\r\n\r\n if (idRef.current === undefined) {\r\n idRef.current = generateUniqueId();\r\n }\r\n\r\n return idRef.current;\r\n};\r\n\r\nlet uniqueId = 0;\r\n\r\nconst generateUniqueId = () => {\r\n uniqueId = uniqueId + 1;\r\n return uniqueId.toString(16);\r\n};\r\n","import React, { useEffect, useState } from 'react';\r\nimport ReactResizeDetector from 'react-resize-detector';\r\n\r\ninterface MeasureProps {\r\n Measurer: React.ComponentType;\r\n contentHeight: number;\r\n isMeasurementOver: boolean;\r\n}\r\n\r\nexport const useContentHeightMeasurer = (): MeasureProps => {\r\n const [contentHeight, setContentHeight] = useState(0);\r\n const [isMeasurementOver, setIsMeasurementOver] = useState(false);\r\n\r\n const onWindowResize = () => {\r\n setIsMeasurementOver(false);\r\n };\r\n\r\n useEffect(() => {\r\n window.addEventListener('resize', onWindowResize);\r\n return () => window.removeEventListener('resize', onWindowResize);\r\n }, []);\r\n\r\n const onResize = (width: number, height: number) => {\r\n if (!isMeasurementOver) {\r\n setIsMeasurementOver(true);\r\n setContentHeight(height);\r\n }\r\n };\r\n\r\n const Measurer: React.FC = () =>\r\n isMeasurementOver ? null : ;\r\n\r\n return { contentHeight: contentHeight, isMeasurementOver: isMeasurementOver, Measurer: Measurer };\r\n};\r\n","import { useCallback, useEffect, useRef } from 'react';\r\n\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\nimport { useManualScrollEventHandler } from '@util/hooks';\r\n\r\nexport const useContentScrollControl = (isBackPanel: boolean) => {\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n const pauseHandling = isBackPanel || !isWindowScrollMode;\r\n const scrollPosition = useRef(0);\r\n\r\n const onScrollEnd = useCallback(() => {\r\n if (!pauseHandling) {\r\n scrollPosition.current = window.pageYOffset;\r\n }\r\n }, [scrollPosition, window.pageYOffset, isBackPanel]);\r\n\r\n useManualScrollEventHandler(window, onScrollEnd, pauseHandling);\r\n\r\n useEffect(() => {\r\n if (!pauseHandling) {\r\n window.scrollTo(0, scrollPosition.current);\r\n }\r\n }, [pauseHandling]);\r\n};\r\n","import { useState, useEffect } from 'react';\r\nimport helper from 'csvtojson';\r\n\r\nexport const useCsv = (csvFile: string | undefined) => {\r\n const [csvData, setCsvData] = useState();\r\n\r\n useEffect(() => {\r\n if (csvFile) {\r\n helper()\r\n .fromString(csvFile)\r\n .then((csvRows) => {\r\n setCsvData(csvRows);\r\n });\r\n }\r\n }, [csvFile]);\r\n return csvData;\r\n};\r\n","import { ChangeEvent, ChangeEventHandler, Dispatch, SetStateAction, useCallback, useEffect, useState } from 'react';\r\n\r\nimport { debounce } from 'lodash';\r\n\r\nexport const useDebouncedState = (state: T, debounceTime?: number): [T, Dispatch>] => {\r\n const [debouncedState, setDebouncedState] = useState(state);\r\n\r\n const setState = useCallback(\r\n debounce((state: T) => setDebouncedState(state), debounceTime ?? 1000),\r\n [debounceTime]\r\n );\r\n\r\n useEffect(() => {\r\n return setState.cancel;\r\n }, []);\r\n\r\n return [debouncedState, setState];\r\n};\r\n\r\ntype DebounceValueType = Array | string | number | boolean | undefined;\r\ntype HandlerValueType = HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement;\r\n\r\nexport const useDebouncedInput = (\r\n value: DebounceValueType,\r\n onChange: ChangeEventHandler | undefined,\r\n debounceTime: number\r\n): [DebounceValueType, Dispatch>>] => {\r\n const [text, setText] = useState(value);\r\n const [debouncedEvent, setDebouncedEvent] = useDebouncedState | undefined>(\r\n undefined,\r\n debounceTime\r\n );\r\n\r\n useEffect(() => {\r\n if (debouncedEvent !== undefined && onChange !== undefined) {\r\n onChange(debouncedEvent);\r\n }\r\n }, [debouncedEvent]);\r\n\r\n useEffect(() => {\r\n setText(value);\r\n }, [value]);\r\n\r\n const onChangeText = useCallback((event: ChangeEvent) => {\r\n setText(event.target.value);\r\n event.persist();\r\n setDebouncedEvent(event);\r\n }, []);\r\n\r\n return [text, onChangeText];\r\n};\r\n","import { RefObject, useLayoutEffect, useState } from 'react';\r\n\r\nimport { useIsWindowScrollMode } from '@component/main/mainHooks';\r\nimport { usePreviousWithInitialValue } from '@util/hooks/UseRedux';\r\n\r\nexport const useLoadMoreIfNecessary = (\r\n hasMore: boolean,\r\n isLoading: boolean | undefined,\r\n observerRef: RefObject,\r\n rootRef: RefObject | undefined,\r\n isReverse: boolean,\r\n loadMore?: () => void\r\n) => {\r\n const [isEnabled, setIsEnabled] = useState(false);\r\n const [isVisible] = useIntersectionObserver(observerRef, { root: rootRef?.current ?? null }, isEnabled);\r\n const [scrollHeight, setScrollHeight] = useState(0);\r\n // added this to detect transition in changing of isLoading state\r\n const prevIsLoading = usePreviousWithInitialValue(isLoading, null);\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n\r\n useLayoutEffect(() => {\r\n if (!prevIsLoading && isLoading) {\r\n // disable observer if we are loading new pack of results\r\n setIsEnabled(false);\r\n } else if (hasMore && (prevIsLoading || prevIsLoading === null) && isLoading === false) {\r\n if (isReverse) {\r\n // in reversed list we should change scrollTop to display new results on top of the list\r\n // and create distance from top (to prevent one more loading of results)\r\n if (isWindowScrollMode) {\r\n document.documentElement.scrollTop += document.documentElement.scrollHeight - scrollHeight;\r\n } else if (rootRef?.current) {\r\n rootRef.current.scrollTop += rootRef.current.scrollHeight - scrollHeight;\r\n }\r\n }\r\n // enable observer if we loaded results and ready to observe new intersection\r\n setIsEnabled(true);\r\n }\r\n }, [isLoading, prevIsLoading, hasMore, isReverse, isWindowScrollMode]);\r\n\r\n useLayoutEffect(() => {\r\n if (hasMore && isVisible && isEnabled && isLoading === false) {\r\n loadMore?.();\r\n if (isReverse) {\r\n setScrollHeight(\r\n isWindowScrollMode ? document.documentElement.scrollHeight : (rootRef?.current?.scrollHeight ?? 0)\r\n );\r\n }\r\n }\r\n }, [hasMore, isVisible, isEnabled, isLoading, isReverse, isWindowScrollMode]);\r\n};\r\n\r\nconst useIntersectionObserver = (\r\n elementRef: RefObject,\r\n { threshold = 0, root = null, rootMargin = '0px' }: IntersectionObserverInit,\r\n isEnabled: boolean = true\r\n): [boolean] => {\r\n const [isVisible, setIsVisible] = useState(false);\r\n const isWindowScrollMode = useIsWindowScrollMode();\r\n\r\n const callback = ([entry]: IntersectionObserverEntry[]) => {\r\n setIsVisible(entry?.isIntersecting ?? false);\r\n };\r\n\r\n useLayoutEffect(() => {\r\n const node = elementRef?.current;\r\n\r\n if (!node || !isEnabled || (!isWindowScrollMode && !root)) {\r\n setIsVisible(false);\r\n return undefined;\r\n }\r\n\r\n const observerParams = { threshold: threshold, root: root, rootMargin: rootMargin };\r\n const observer = new IntersectionObserver(callback, observerParams);\r\n\r\n observer.observe(node);\r\n\r\n return () => {\r\n observer.disconnect();\r\n };\r\n }, [elementRef?.current, threshold, root, rootMargin, isEnabled]);\r\n\r\n return [isVisible];\r\n};\r\n","import React, { useEffect, useMemo, useRef } from 'react';\r\n\r\nimport { shallowEqual, useSelector as baseUseSelector } from 'react-redux';\r\n\r\nimport { StoreState } from '@/reduxStore/Store';\r\n\r\n/**\r\n * A wrapper function for the redux useSelector function so we don't have to import the whole StoreState into our components\r\n */\r\nexport const useSelector = (selector: (storeState: StoreState) => T) => baseUseSelector(selector);\r\n\r\nexport const useReduxSelector = (\r\n selector: (storeState: StoreState) => T,\r\n equalityFn: (left: T, right: T) => boolean = shallowEqual\r\n) => baseUseSelector(selector, equalityFn);\r\n\r\n/**\r\n * Transform values from a selector in a memoized way.\r\n * @param selector redux selector just like one that you put into useSelector (strict equality)\r\n * @param transformer transformation function that takes selected item and returns mutated value\r\n * @param deps non selected dependencies you use inside of the transformer\r\n */\r\nexport const useReselect = (\r\n selector: (storeState: StoreState) => T,\r\n transformer: (res: T) => R,\r\n deps: React.DependencyList = []\r\n) => {\r\n const selectedItem = useSelector(selector);\r\n return useMemo(() => transformer(selectedItem), [selectedItem, ...deps]);\r\n};\r\n\r\nexport const usePrevious = (value: T) => {\r\n const ref = useRef(value);\r\n useEffect(() => {\r\n ref.current = value;\r\n }, [value]);\r\n return ref.current;\r\n};\r\n\r\nexport const usePreviousWithInitialValue = (value: T, initialValue: T) => {\r\n const ref = useRef(initialValue);\r\n useEffect(() => {\r\n ref.current = value;\r\n }, [value]);\r\n return ref.current;\r\n};\r\n","import { useEffect } from 'react';\r\n\r\nimport { forEach, noop } from 'lodash';\r\n\r\nexport const useAppVisibilityChange = (\r\n onVisibilityChange: (isVisible: boolean) => void,\r\n dependencies: React.DependencyList = []\r\n) => {\r\n const handleVisibilityChange = () => onVisibilityChange(!document.hidden);\r\n\r\n useEffect(() => {\r\n document.addEventListener('visibilitychange', handleVisibilityChange);\r\n return () => {\r\n document.removeEventListener('visibilitychange', handleVisibilityChange);\r\n };\r\n }, dependencies);\r\n};\r\n\r\nexport const useAppIdle = (onIdleChange: () => void, dependencies: React.DependencyList = []) => {\r\n const events = [\r\n 'load',\r\n 'mousemove',\r\n 'mousedown',\r\n 'click',\r\n 'keypress',\r\n 'scroll',\r\n 'touchstart',\r\n 'touchmove',\r\n 'visibilitychange',\r\n ];\r\n const handleUserActivity = () => {\r\n onIdleChange();\r\n };\r\n const testPassive = supportPassive();\r\n const passive = testPassive ? { passive: testPassive } : false;\r\n useEffect(() => {\r\n forEach(events, (event) => document.addEventListener(event, handleUserActivity, passive));\r\n return () => {\r\n forEach(events, (event) => document.removeEventListener(event, handleUserActivity));\r\n };\r\n }, dependencies);\r\n};\r\n\r\nexport const onPageVisibilityStateChange = (\r\n isVisible: boolean,\r\n onPageVisible: () => void,\r\n onPageHidden: () => void\r\n) => {\r\n if (isVisible) {\r\n onPageVisible();\r\n } else {\r\n onPageHidden();\r\n }\r\n};\r\n\r\nconst supportPassive = () => {\r\n let supportsPassive = false;\r\n const opts = Object.defineProperty({}, 'passive', {\r\n get: () => {\r\n supportsPassive = true;\r\n },\r\n });\r\n document.addEventListener('testPassive', noop, opts);\r\n document.removeEventListener('testPassive', noop, opts);\r\n return supportsPassive;\r\n};\r\n","import { useCallback, useEffect, useState } from 'react';\r\n\r\nimport { debounce } from 'lodash';\r\n\r\n/** debounced window resize event.\r\n */\r\nexport const useOnWindowResize = (callback: () => void, immediate: boolean = true) => {\r\n useEffect(() => {\r\n const onResizeEvent = debounce(callback, 50);\r\n\r\n window.addEventListener('resize', onResizeEvent);\r\n\r\n if (immediate) {\r\n onResizeEvent();\r\n }\r\n\r\n return () => {\r\n window.removeEventListener('resize', onResizeEvent);\r\n };\r\n }, [callback]);\r\n};\r\n\r\nexport const useWindowWidth = () => {\r\n const [windowWidth, setWindowWidth] = useState(window.innerWidth);\r\n\r\n const callback = useCallback(() => setWindowWidth(window.innerWidth), []);\r\n useOnWindowResize(callback, false);\r\n\r\n return windowWidth;\r\n};\r\n\r\nexport const useWindowHeight = () => {\r\n const [windowHeight, setWindowHeight] = useState(window.innerHeight);\r\n const callback = useCallback(() => setWindowHeight(window.innerHeight), []);\r\n useOnWindowResize(callback, false);\r\n\r\n return windowHeight;\r\n};\r\n","//TODO: remove this file, this is a mess. [BP]\r\nimport { default as arrowRightGray } from '../icons/arrow-right-gray.svg';\r\nimport { default as arrowRightGreen } from '../icons/arrow-right-green.svg';\r\nimport { default as arrowRightRed } from '../icons/arrow-right-red.svg';\r\nimport { default as arrowRightSilver } from '../icons/arrow-right-silver.svg';\r\nimport { default as arrowRight } from '../icons/arrow-right.svg';\r\nimport { default as ascending } from '../icons/ascending.svg';\r\nimport { default as backhauls } from '../icons/backhaul.svg';\r\nimport { default as calendar } from '../icons/calendar.svg';\r\nimport { default as callDisabled } from '../icons/call-disabled.svg';\r\nimport { default as call } from '../icons/call.svg';\r\nimport { default as clearSmall } from '../icons/clear-small.svg';\r\nimport { default as close } from '../icons/close.svg';\r\nimport { default as closeLight } from '../icons/closeLight.svg';\r\nimport { default as collapse } from '../icons/collapse.svg';\r\nimport { default as trashOrange } from '../icons/delete-orange.svg';\r\nimport { default as trash } from '../icons/delete.svg';\r\nimport { default as descending } from '../icons/descending.svg';\r\nimport { default as dollar } from '../icons/dollar.svg';\r\nimport { default as edit } from '../icons/edit.svg';\r\nimport { default as block } from '../icons/error-block.svg';\r\nimport { default as expand } from '../icons/expand.svg';\r\nimport { default as favorite } from '../icons/favorite.svg';\r\nimport { default as chevronRight } from '../icons/fields - arrow right.svg';\r\nimport { default as like } from '../icons/heart.png';\r\nimport { default as home } from '../icons/home.svg';\r\nimport { default as arrowRightOrange } from '../icons/icon-arrow-right-orange.svg';\r\nimport { default as hide } from '../icons/icon-hide.svg';\r\nimport { default as loadsIcon } from '../icons/icon-loads.svg';\r\nimport { default as onboardedOff } from '../icons/icon-onboarded-off.svg';\r\nimport { default as onboardedOn } from '../icons/icon-onboarded-on.svg';\r\nimport { default as messageSent } from '../icons/icon-send.svg';\r\nimport { default as trip } from '../icons/icon-trip.svg';\r\nimport { default as messageRead } from '../icons/icon-view.svg';\r\nimport { default as zoom } from '../icons/icon-zoom.svg';\r\nimport { default as back } from '../icons/icons - back.svg';\r\nimport { default as info_small } from '../icons/info_small.svg';\r\nimport { default as info_small_gray } from '../icons/info_small_gray.svg';\r\nimport { default as info_small_white } from '../icons/info_small_white.svg';\r\nimport { default as location } from '../icons/location.svg';\r\nimport { default as lock } from '../icons/lock.png';\r\nimport { default as logoGray } from '../icons/logo-gray.svg';\r\nimport { default as logoOrange } from '../icons/logo-orange.svg';\r\nimport { default as mapError } from '../icons/map-error.svg';\r\nimport { default as map } from '../icons/map-look-up.svg';\r\nimport { default as marker } from '../icons/marker.svg';\r\nimport { default as messageBlue } from '../icons/message-blue.svg';\r\nimport { default as arrowDown } from '../icons/new-loads-arrow-down.svg';\r\nimport { default as arrowUp } from '../icons/new-loads-arrow.svg';\r\nimport { default as pointA } from '../icons/point A.svg';\r\nimport { default as pointB } from '../icons/point B.svg';\r\nimport { default as printDisabled } from '../icons/print-disabled.svg';\r\nimport { default as print } from '../icons/print.svg';\r\nimport { default as roadSignTwoWayDisabled } from '../icons/road-sign-two-way-disabled.svg';\r\nimport { default as roadSignTwoWay } from '../icons/road-sign-two-way.svg';\r\nimport { default as save } from '../icons/save search.svg';\r\nimport { default as saveLoadDisabled } from '../icons/save-disabled.svg';\r\nimport { default as saveLoad } from '../icons/save.svg';\r\nimport { default as savedLoad } from '../icons/saved.svg';\r\nimport { default as searchTrucks } from '../icons/search-trucks.svg';\r\nimport { default as shareDisabled } from '../icons/share-disabled.svg';\r\nimport { default as share } from '../icons/share.svg';\r\nimport { default as states } from '../icons/states.svg';\r\nimport { default as tabAdded } from '../icons/trip-load-tab-added.svg';\r\nimport { default as tabAvailable } from '../icons/trip-load-tab-available.svg';\r\nimport { default as tabDeadhead } from '../icons/trip-load-tab-deadhead.svg';\r\nimport { default as warning } from '../icons/warning.svg';\r\nimport { default as warningMenu } from '../icons/warning_menu.svg';\r\n\r\nconst icons = {\r\n arrowUp: arrowUp,\r\n arrowRightGray: arrowRightGray,\r\n arrowRightGreen: arrowRightGreen,\r\n arrowRightRed: arrowRightRed,\r\n arrowRight: arrowRight,\r\n arrowRightOrange: arrowRightOrange,\r\n arrowRightSilver: arrowRightSilver,\r\n arrowDown: arrowDown,\r\n back: back,\r\n backhaul: backhauls,\r\n backhauls: backhauls,\r\n block: block,\r\n calendar: calendar,\r\n call: call,\r\n clearSmall: clearSmall,\r\n callDisabled: callDisabled,\r\n chevronRight: chevronRight,\r\n close: close,\r\n closeLight: closeLight,\r\n collapse: collapse,\r\n dislike: favorite,\r\n dollar: dollar,\r\n edit: edit,\r\n expand: expand,\r\n favorite: favorite,\r\n ascending: ascending,\r\n hide: hide,\r\n home: home,\r\n info_small: info_small,\r\n info_small_white: info_small_white,\r\n info_small_gray: info_small_gray,\r\n like: like,\r\n loadsIcon: loadsIcon,\r\n location: location,\r\n lock: lock,\r\n logoGray: logoGray,\r\n logoOrange: logoOrange,\r\n descending: descending,\r\n mapError: mapError,\r\n map: map,\r\n marker: marker,\r\n messageBlue: messageBlue,\r\n messageRead: messageRead,\r\n messageSent: messageSent,\r\n onboardedOn: onboardedOn,\r\n onboardedOff: onboardedOff,\r\n pointA: pointA,\r\n pointB: pointB,\r\n print: print,\r\n printDisabled: printDisabled,\r\n roadSignTwoWay: roadSignTwoWay,\r\n roadSignTwoWayDisabled: roadSignTwoWayDisabled,\r\n save: save,\r\n saveLoad: saveLoad,\r\n saveLoadDisabled: saveLoadDisabled,\r\n savedLoad: savedLoad,\r\n searchTrucks: searchTrucks,\r\n share: share,\r\n shareDisabled: shareDisabled,\r\n states: states,\r\n tabAdded: tabAdded,\r\n tabAvailable: tabAvailable,\r\n tabDeadhead: tabDeadhead,\r\n trash: trash,\r\n trashOrange: trashOrange,\r\n warning: warning,\r\n warningMenu: warningMenu,\r\n zoom: zoom,\r\n trip: trip,\r\n};\r\n\r\nexport default icons;\r\n","import React from 'react';\r\nimport { map, split } from 'lodash';\r\nimport { Color } from '@style/Color';\r\n\r\nfunction isEmail(email: string) {\r\n const re =\r\n /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@(([[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\n return re.test(email);\r\n}\r\nfunction findMatches(text: string) {\r\n const LINK_MAX_LENGTH = 30;\r\n const pattern =\r\n /(https?:\\/\\/)?(www\\.)?([-a-z0-9@:%_+~#=]{2,256}\\.)+[a-z]{2,6}\\/?([-a-z0-9@:%_\\\\+~#?&/=]*)((\\.+([-a-z0-9@:%_\\\\+~#?&/=]+))*)/gi;\r\n\r\n const matches = [];\r\n let match = pattern.exec(text);\r\n\r\n while (match) {\r\n const email = isEmail(match[0]);\r\n const url = email\r\n ? `mailto:${match[0]}`\r\n : match[0].startsWith('http://') || match[0].startsWith('https://')\r\n ? match[0]\r\n : `https://${match[0]}`;\r\n const shortUrl = email ? match[0] : match[0].replace(/(https?:\\/\\/)?(www\\.)?/, '');\r\n const matchText =\r\n !email && shortUrl.length > LINK_MAX_LENGTH ? `${shortUrl.slice(0, LINK_MAX_LENGTH)}...` : shortUrl;\r\n\r\n matches.push({\r\n index: match.index,\r\n lastIndex: pattern.lastIndex,\r\n url: url,\r\n text: matchText,\r\n type: email ? 'email' : 'url',\r\n });\r\n match = pattern.exec(text);\r\n }\r\n\r\n return matches;\r\n}\r\n\r\nclass Linkify extends React.Component {\r\n static MATCH = 'LINKIFY_MATCH';\r\n static defaultProps = {\r\n tagName: 'div',\r\n className: 'Linkify',\r\n component: 'a',\r\n properties: {},\r\n };\r\n\r\n parseCounter = 0;\r\n\r\n getMatches(text: string) {\r\n return findMatches(text);\r\n }\r\n parseString(text: string) {\r\n const elements: any[] = [];\r\n if (text === '') {\r\n return elements;\r\n }\r\n\r\n const matches = this.getMatches(text);\r\n if (matches.length === 0) {\r\n return parseText(text);\r\n }\r\n\r\n let lastIndex = 0;\r\n matches.forEach((match, idx) => {\r\n if (match.index > lastIndex) {\r\n elements.push(parseText(text.substring(lastIndex, match.index)));\r\n }\r\n const props = {\r\n target: '_blank',\r\n style: { color: Color.ORANGE_MAIN },\r\n textDecoration: 'none',\r\n href: match.url,\r\n key: `parse${this.parseCounter}match${idx}`,\r\n };\r\n\r\n elements.push(React.createElement('a', props, match.text));\r\n\r\n lastIndex = match.lastIndex;\r\n });\r\n\r\n if (lastIndex < text.length) {\r\n elements.push(parseText(text.substring(lastIndex)));\r\n }\r\n\r\n return elements.length === 1 ? elements[0] : elements;\r\n }\r\n parse(children: {} | null | undefined) {\r\n let parsed = children;\r\n if (typeof children === 'string') {\r\n parsed = this.parseString(children);\r\n } else if (children instanceof Array) {\r\n parsed = children.map((child) => {\r\n return this.parse(child);\r\n });\r\n }\r\n\r\n return parsed;\r\n }\r\n\r\n render() {\r\n return this.parse(this.props.children);\r\n }\r\n}\r\nconst parseText = (value: React.ReactNode) => {\r\n const text = value as string;\r\n const lines = split(text, '\\n');\r\n if (lines.length > 1) {\r\n return map(lines, (line, index) => {\r\n if (index === lines.length - 1) {\r\n return line;\r\n }\r\n return (\r\n \r\n {line}\r\n
\r\n
\r\n );\r\n });\r\n }\r\n\r\n return value;\r\n};\r\n\r\nexport default Linkify;\r\n","import { SortDirection } from '@common/model';\r\nimport { CompanyType, ResultSortCategory, SearchDirectoryCompanyRequest } from '@common/model/SearchDirectory';\r\nimport { createObjectParser, parseString, parseValueFrom } from '@common/util/parser/ParserUtils';\r\n\r\nexport const parseDirectorySearchRequest = createObjectParser | undefined>(\r\n (object) => {\r\n const { companyType, companyName, state, sortExpression, sortDirection } = object;\r\n const parsedCompany = parseValueFrom(companyType, CompanyType) ?? CompanyType.Carrier;\r\n const parsedSortExpression = parseValueFrom(sortExpression, ResultSortCategory) ?? ResultSortCategory.Name;\r\n const parsedSortDirection = parseValueFrom(sortDirection, SortDirection) ?? SortDirection.Ascending;\r\n const parsedCompanyName = parseString(companyName);\r\n const parsedState = parseString(state);\r\n const directorySearchParameters: Partial = {\r\n companyType: parsedCompany,\r\n companyName: parsedCompanyName ? parsedCompanyName : '',\r\n state: parsedState ? parsedState : '',\r\n sortExpression: parsedSortExpression,\r\n sortDirection: parsedSortDirection,\r\n };\r\n return directorySearchParameters;\r\n }\r\n);\r\n","import {\r\n BaseLoadSearchRequest,\r\n CA_PROVINCES,\r\n CompanyFilter,\r\n CompanyFilterType,\r\n EquipmentType,\r\n LoadLocation,\r\n LoadLocationAnywhere,\r\n LoadSearchMetadata,\r\n LoadSearchMileage,\r\n LoadSearchRequest,\r\n LoadSearchSort,\r\n LoadSize,\r\n LoadSortCategory,\r\n LoadSortDirection,\r\n LocationType,\r\n MapBounds,\r\n OriginLocation,\r\n SearchMetadataType,\r\n STATES,\r\n} from '@common/model';\r\nimport {\r\n createArrayParser,\r\n createObjectParser,\r\n parseArrayOfValuesFrom,\r\n parseBoolean,\r\n parseNumber,\r\n parseString,\r\n parseStringArray,\r\n parseValueFrom,\r\n parseValueIncludedIn,\r\n pickDefinedProperties,\r\n} from '@common/util/parser/ParserUtils';\r\nimport { lengthDomain, weightDomain } from '@util/TruckDataHelper';\r\n\r\nconst ALL_STATES = [...STATES, ...CA_PROVINCES];\r\nconst parseArrayOfStatesAndProvinces = createArrayParser((value: unknown) => parseValueIncludedIn(value, ALL_STATES));\r\n\r\nexport const parseOriginLocation = createObjectParser((object) => {\r\n if (object.type) {\r\n const states: string[] | undefined = parseArrayOfStatesAndProvinces(object.states);\r\n const radius: number | undefined = parseNumber(object.radius);\r\n const city: string | undefined = parseString(object.city);\r\n switch (object.type) {\r\n case LocationType.STATE: {\r\n if (states) {\r\n return {\r\n type: LocationType.STATE,\r\n states: states,\r\n ...pickDefinedProperties({\r\n radius: radius,\r\n }),\r\n };\r\n }\r\n break;\r\n }\r\n case LocationType.GEOLOCATION: {\r\n const latitude = parseNumber(object.latitude);\r\n const longitude = parseNumber(object.longitude);\r\n if (latitude !== undefined && longitude !== undefined) {\r\n return {\r\n type: LocationType.GEOLOCATION,\r\n latitude: latitude,\r\n longitude: longitude,\r\n ...pickDefinedProperties({\r\n radius: radius,\r\n states: states,\r\n formattedAddress: parseString(object.formattedAddress),\r\n city: city,\r\n }),\r\n };\r\n }\r\n break;\r\n }\r\n case LocationType.ZIP: {\r\n const zipCode = parseString(object.zipCode);\r\n if (zipCode && city !== undefined && states) {\r\n return {\r\n type: LocationType.ZIP,\r\n zipCode: zipCode,\r\n states: states,\r\n city: city,\r\n ...pickDefinedProperties({\r\n radius: radius,\r\n }),\r\n };\r\n }\r\n break;\r\n }\r\n case LocationType.CITY: {\r\n if (city !== undefined && states) {\r\n return {\r\n type: LocationType.CITY,\r\n city: city,\r\n states: states,\r\n ...pickDefinedProperties({\r\n radius: radius,\r\n }),\r\n };\r\n }\r\n break;\r\n }\r\n default:\r\n break;\r\n }\r\n }\r\n return undefined;\r\n});\r\n\r\nexport const parseLoadLocationAnywhere = createObjectParser((object) => {\r\n if (object.type) {\r\n switch (object.type) {\r\n case LocationType.ANY:\r\n case LocationType.ANY_CA:\r\n case LocationType.ANY_US:\r\n return {\r\n type: object.type,\r\n ...pickDefinedProperties({\r\n radius: parseNumber(object.radius),\r\n }),\r\n };\r\n default:\r\n break;\r\n }\r\n }\r\n return undefined;\r\n});\r\n\r\nexport const parseLoadLocation = (value: unknown): LoadLocation | undefined => {\r\n const originLocation = parseOriginLocation(value);\r\n if (originLocation) {\r\n return originLocation;\r\n }\r\n const loadLocationAnywhere = parseLoadLocationAnywhere(value);\r\n if (loadLocationAnywhere) {\r\n return loadLocationAnywhere;\r\n }\r\n return undefined;\r\n};\r\n\r\nexport const parseLoadSearchSort = createObjectParser((object) => {\r\n if (object.direction && object.field) {\r\n const direction = parseValueFrom(object.direction, LoadSortDirection);\r\n const field = parseValueFrom(object.field, LoadSortCategory);\r\n if (direction && field) {\r\n return {\r\n direction: direction,\r\n field: field,\r\n };\r\n }\r\n }\r\n return undefined;\r\n});\r\n\r\nexport const parseLoadSearchMetadata = createObjectParser((object) => {\r\n if (object.type) {\r\n switch (object.type) {\r\n case SearchMetadataType.Regular:\r\n case SearchMetadataType.Refresh:\r\n case SearchMetadataType.Geo:\r\n case SearchMetadataType.GeoPanning:\r\n case SearchMetadataType.MapSelect:\r\n return {\r\n type: object.type,\r\n ...pickDefinedProperties({\r\n offset: parseNumber(object.offset),\r\n nextToken: parseString(object.nextToken),\r\n limit: parseNumber(object.limit),\r\n fields: parseString(object.fields),\r\n sortBy: parseLoadSearchSort(object.sortBy),\r\n }),\r\n };\r\n default:\r\n break;\r\n }\r\n }\r\n return undefined;\r\n});\r\n\r\nexport const parseMapBounds = createObjectParser((object) => {\r\n const minLatitude = parseNumber(object.minLatitude);\r\n const maxLatitude = parseNumber(object.maxLatitude);\r\n const minLongitude = parseNumber(object.minLongitude);\r\n const maxLongitude = parseNumber(object.maxLongitude);\r\n if (\r\n minLatitude !== undefined &&\r\n maxLatitude !== undefined &&\r\n minLongitude !== undefined &&\r\n maxLongitude !== undefined\r\n ) {\r\n return {\r\n minLatitude: minLatitude,\r\n maxLatitude: maxLatitude,\r\n minLongitude: minLongitude,\r\n maxLongitude: maxLongitude,\r\n };\r\n }\r\n return undefined;\r\n});\r\n\r\nexport const parseCompany = createObjectParser((object) => {\r\n const parsedTypes = parseString(object.types);\r\n const parsedName = parseString(object.name);\r\n const parsedCompanyIds = parseStringArray(object.companyIds);\r\n if (parsedTypes) {\r\n return {\r\n types: CompanyFilterType[parsedTypes as keyof typeof CompanyFilterType],\r\n name: parsedName,\r\n companyIds: parsedCompanyIds,\r\n };\r\n }\r\n return undefined;\r\n});\r\n\r\nconst parseBaseLoadSearchRequest = createObjectParser>((object) => {\r\n return pickDefinedProperties({\r\n equipmentTypes: parseArrayOfValuesFrom(object.equipmentTypes, EquipmentType),\r\n loadSize: parseValueFrom(object.loadSize, LoadSize),\r\n // optional booleans\r\n includeLoadsWithoutLength: parseBoolean(object.includeLoadsWithoutLength),\r\n includeLoadsWithoutWeight: parseBoolean(object.includeLoadsWithoutWeight),\r\n // optional numbers\r\n minWeight: parseNumber(object.minWeight, {\r\n min: weightDomain[0],\r\n max: weightDomain[1],\r\n }),\r\n weight: parseNumber(object.weight, {\r\n min: weightDomain[0],\r\n max: weightDomain[1],\r\n }),\r\n minLength: parseNumber(object.minLength, {\r\n min: lengthDomain[0],\r\n max: lengthDomain[1],\r\n }),\r\n length: parseNumber(object.length, {\r\n min: lengthDomain[0],\r\n max: lengthDomain[1],\r\n }),\r\n minMileage: parseNumber(object.minMileage, {\r\n min: LoadSearchMileage.MIN,\r\n max: LoadSearchMileage.MAX_REGIONAL + 1,\r\n }),\r\n maxMileage: parseNumber(object.maxMileage, {\r\n min: LoadSearchMileage.MAX_SHORT,\r\n max: LoadSearchMileage.MAX_REGIONAL,\r\n }),\r\n });\r\n});\r\n\r\nexport const parseLoadSearchRequest = createObjectParser((object) => {\r\n const { origin, destination, pickupDates, metadata, ...optionalParameters } = object;\r\n const parsedOrigin = parseOriginLocation(origin);\r\n const parsedDestination = parseLoadLocation(destination);\r\n const parsedPickupDates = parseStringArray(pickupDates) || [];\r\n const parsedMetadata = parseLoadSearchMetadata(metadata);\r\n if (parsedOrigin && parsedDestination && parsedPickupDates && parsedMetadata) {\r\n const requiredLoadSearchRequestParameters: LoadSearchRequest = {\r\n origin: parsedOrigin,\r\n destination: parsedDestination,\r\n pickupDates: parsedPickupDates,\r\n metadata: parsedMetadata,\r\n };\r\n const optionalLoadSearchRequestParameters: Partial = pickDefinedProperties({\r\n ...parseBaseLoadSearchRequest(object),\r\n // optional objects\r\n originLatLongBounds: parseMapBounds(optionalParameters.originLatLongBounds),\r\n saveLocations: parseBoolean(optionalParameters.saveLocations),\r\n includeWithGreaterPickupDates: parseBoolean(optionalParameters.includeWithGreaterPickupDates),\r\n includeWithGreaterDeliveryDates: parseBoolean(optionalParameters.includeWithGreaterDeliveryDates),\r\n equipmentSpecifications: parseString(optionalParameters.equipmentSpecifications),\r\n });\r\n return { ...requiredLoadSearchRequestParameters, ...optionalLoadSearchRequestParameters };\r\n }\r\n return undefined;\r\n});\r\n\r\nexport const parseCompanySearchRequest = createObjectParser((object) => {\r\n const { origin, destination, pickupDates, metadata, company, ...optionalParameters } = object;\r\n const parsedOrigin = parseLoadLocation(origin);\r\n const parsedDestination = parseLoadLocation(destination);\r\n const parsedPickupDates = parseStringArray(pickupDates) || [];\r\n const parsedMetadata = parseLoadSearchMetadata(metadata);\r\n const parsedCompany = parseCompany(company);\r\n if (parsedOrigin && parsedDestination && parsedPickupDates && parsedMetadata) {\r\n const requiredLoadSearchRequestParameters: LoadSearchRequest = {\r\n origin: parsedOrigin as OriginLocation,\r\n destination: parsedDestination,\r\n pickupDates: parsedPickupDates,\r\n metadata: parsedMetadata,\r\n company: parsedCompany,\r\n };\r\n const optionalLoadSearchRequestParameters: Partial = pickDefinedProperties({\r\n ...parseBaseLoadSearchRequest(object),\r\n // optional objects\r\n originLatLongBounds: parseMapBounds(optionalParameters.originLatLongBounds),\r\n saveLocations: parseBoolean(optionalParameters.saveLocations),\r\n includeWithGreaterPickupDates: parseBoolean(optionalParameters.includeWithGreaterPickupDates),\r\n includeWithGreaterDeliveryDates: parseBoolean(optionalParameters.includeWithGreaterDeliveryDates),\r\n equipmentSpecifications: parseString(optionalParameters.equipmentSpecifications),\r\n });\r\n return { ...requiredLoadSearchRequestParameters, ...optionalLoadSearchRequestParameters };\r\n }\r\n return undefined;\r\n});\r\n","import { Geolocation, GeolocationGroup } from '@common/model';\r\nimport { createArrayParser, createObjectParser, parseNumber } from '@common/util/parser/ParserUtils';\r\nimport { MapData } from '@page/findLoads/LoadSearchRequestEncoder';\r\n\r\nexport const parseGeolocation = createObjectParser((object) => {\r\n const latitude = parseNumber(object.latitude);\r\n const longitude = parseNumber(object.longitude);\r\n if (latitude !== undefined && longitude !== undefined) {\r\n return new Geolocation(latitude, longitude);\r\n }\r\n return undefined;\r\n});\r\n\r\nexport const parseMapPins = createArrayParser(\r\n createObjectParser((object) => {\r\n const count = parseNumber(object.count, { min: 0 });\r\n const geolocation = parseGeolocation(object.geolocation);\r\n if (count !== undefined && geolocation) {\r\n return {\r\n count: count,\r\n geolocation: geolocation,\r\n };\r\n }\r\n return undefined;\r\n })\r\n);\r\n\r\nexport const parseMapData = createObjectParser((object) => {\r\n const count = parseNumber(object.count, { min: 0 });\r\n const pins = parseMapPins(object.pins);\r\n if (count !== undefined && pins) {\r\n return {\r\n count: count,\r\n pins: pins,\r\n };\r\n }\r\n return undefined;\r\n});\r\n","import { memberApi } from '@/reduxStore/RootEpic';\r\nimport { TrackingClient } from '@common/client/TrackingClient';\r\nimport {\r\n CallCarrierTrackingData,\r\n CallLoadTrackingData,\r\n CommonTrackingData,\r\n CommunicationEvent,\r\n MessagingPartnerPortalTrackingData,\r\n TrackingData,\r\n TrackingDataConversationStatus,\r\n TrackingTag,\r\n} from '@common/model/Tracking';\r\nimport { createTrackAction, TrackAction } from '@common/util/123lbBaseTracker';\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport { deviceID } from '@webApi/CookiesHelper';\r\n\r\nimport { AppVersion } from '../AppVersionHelper';\r\n\r\nconst COMMON_TRACKING_DATA: CommonTrackingData = {\r\n ApplicationVersion: AppVersion,\r\n ApplicationOs: 'Web',\r\n DeviceId: deviceID(),\r\n ApplicationBuild: AppConfig.LBConfig.buildNumber,\r\n ApplicationOsVersion: window.navigator.platform,\r\n};\r\n\r\nconst trackingClient = new TrackingClient(memberApi);\r\n\r\nexport const track: TrackAction = createTrackAction(trackingClient, COMMON_TRACKING_DATA);\r\n\r\nexport const createCallLoadTrackData = (\r\n loadID: string,\r\n url: string,\r\n conversationID?: string,\r\n conversationStatus?: TrackingDataConversationStatus\r\n): TrackingData => ({\r\n tag: TrackingTag.Communication,\r\n data: {\r\n eventName: CommunicationEvent.CallLoad,\r\n loadID: loadID,\r\n conversationID: conversationID,\r\n conversationStatus: conversationStatus,\r\n url: url,\r\n },\r\n});\r\n\r\nexport const createMessagingPartnerPortalTrackData = (\r\n hostname: string,\r\n clientID: string,\r\n conversationsCount: number\r\n): TrackingData => ({\r\n tag: TrackingTag.MessagingPartnerPortal,\r\n data: {\r\n hostname: hostname,\r\n clientID: clientID,\r\n conversationsCount: conversationsCount,\r\n },\r\n});\r\n\r\nexport const createCallCarrierTrackData = (loadID: string, truckID: string): TrackingData => ({\r\n tag: TrackingTag.CallCarrier,\r\n data: {\r\n loadID: loadID,\r\n truckID: truckID,\r\n },\r\n});\r\n","import { ApplicationInsights } from '@microsoft/applicationinsights-web';\r\nimport { ReactPlugin } from '@microsoft/applicationinsights-react-js';\r\nimport { createBrowserHistory } from 'history';\r\nimport { AppConfig } from '@util/AppConfig';\r\n\r\nconst browserHistory = createBrowserHistory({ basename: '' });\r\nconst reactPlugin = new ReactPlugin();\r\nconst appInsights = new ApplicationInsights({\r\n config: {\r\n instrumentationKey: AppConfig.LBConfig.InstrumentationKey,\r\n extensions: [reactPlugin],\r\n enableAutoRouteTracking: true,\r\n autoTrackPageVisitTime: true,\r\n disableFetchTracking: false,\r\n extensionConfig: {\r\n [reactPlugin.identifier]: { history: browserHistory },\r\n },\r\n },\r\n});\r\n\r\nappInsights.loadAppInsights();\r\nappInsights.trackPageView();\r\nexport { reactPlugin, appInsights };\r\n","import { useEffect } from 'react';\r\n\r\nimport { default as ReactGA } from 'react-ga4';\r\n\r\nimport { UserProfile } from '@common/model/UserProfile';\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport { useSelector } from '@util/hooks';\r\n\r\nif (AppConfig.LBConfig.lbEnvironment !== 'test') {\r\n let measurementID: string;\r\n if (AppConfig.LBConfig.lbEnvironment === 'live' || AppConfig.LBConfig.lbEnvironment === 'beta') {\r\n measurementID = 'G-T0BSX32BR3';\r\n } else {\r\n measurementID = 'G-CVRZRNL3Q5';\r\n }\r\n\r\n ReactGA.initialize(measurementID);\r\n}\r\n\r\nexport enum TrackingCategory {\r\n UserAction = 'User_action',\r\n Message = 'message',\r\n}\r\n\r\nclass AnalyticsTracker {\r\n track = (category: TrackingCategory, action: string, extraInfo?: string, triggeredByUser: boolean = true) => {\r\n ReactGA.event({\r\n category: category,\r\n action: `Members - ${action}`,\r\n label: extraInfo,\r\n nonInteraction: !triggeredByUser,\r\n });\r\n };\r\n setUser = (user: UserProfile) => {\r\n ReactGA.set({\r\n userId: user.id,\r\n companyGuid: user.companyId ? user.companyId : '',\r\n companyCity: user.companyCity ? user.companyCity : '',\r\n companyState: user.companyState ? user.companyState : '',\r\n companyCountry: user.companyCountry ? user.companyCountry : '',\r\n });\r\n };\r\n}\r\n\r\nexport const useSetGoogleAnalyticsUser = () => {\r\n const userProfile = useSelector((state) => state.user.profile?.payload);\r\n useEffect(() => {\r\n if (userProfile) {\r\n GA.setUser(userProfile);\r\n }\r\n }, [\r\n userProfile?.id,\r\n userProfile?.companyId,\r\n userProfile?.companyCity,\r\n userProfile?.companyState,\r\n userProfile?.companyCountry,\r\n ]);\r\n};\r\n\r\n//Calling it GA as a shorthand when calling it GA.track(...)\r\nconst GA = new AnalyticsTracker();\r\n\r\nexport { GA };\r\n","import { AxiosRequestConfig } from 'axios';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { Api, ApiResponse123, ApiService } from '@common/api';\r\nimport { configureApi, defaultMemberApiHeaders, updateMemberApiHeaders } from '@webApi/ApiServiceHelper';\r\n\r\n/**\r\n * API Service for our own API that never sends authentication headers,\r\n * even when user is signed in. Useful for 'isolating' some api requests so\r\n * that issues with the user's logged-in state (such as cookie contamination),\r\n * do not interfere with the request.\r\n */\r\nexport class AnonymousMemberApiService implements Api {\r\n private api: Api;\r\n constructor() {\r\n this.api = new ApiService('/api', { ...defaultMemberApiHeaders, '123LB-Omit-Auth': '1' }, configureApi);\r\n }\r\n\r\n get$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n return this.api.get$(url, params, config);\r\n };\r\n\r\n post$ = (url: string, params: {} | null, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n return this.api.post$(url, params, config);\r\n };\r\n\r\n put$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n return this.api.put$(url, params, config);\r\n };\r\n\r\n delete$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n return this.api.delete$(url, params, config);\r\n };\r\n\r\n patch$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n return this.api.patch$(url, params, config);\r\n };\r\n\r\n mergePatch$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n return this.api.mergePatch$(url, params, config);\r\n };\r\n}\r\n","import { ApisauceInstance } from 'apisauce';\r\nimport { AxiosRequestConfig } from 'axios';\r\n\r\nimport { LBHeaders } from '@common/api';\r\nimport { MimeType } from '@common/helper';\r\nimport { GenId } from '@util/GenId';\r\nimport { deviceID } from '@webApi/CookiesHelper';\r\n\r\nimport { AppVersion } from '../util/AppVersionHelper';\r\n\r\nexport const defaultMemberApiHeaders = {\r\n '123LB-Api-Version': '1.3',\r\n '123LB-MEM-User-Version': AppVersion,\r\n Accept: MimeType.json,\r\n};\r\n\r\nexport const defaultIntgApiHeaders = {\r\n Accept: MimeType.json,\r\n};\r\n\r\nexport const updateMemberApiHeaders = (axiosConfig?: AxiosRequestConfig) => {\r\n const customHeaders = {\r\n [LBHeaders.DeviceID]: deviceID(),\r\n '123LB-Correlation-Id': GenId.generateCorrelationId(),\r\n };\r\n let config: AxiosRequestConfig;\r\n if (axiosConfig) {\r\n axiosConfig.headers = { ...axiosConfig.headers, ...customHeaders };\r\n config = axiosConfig;\r\n } else {\r\n config = {\r\n headers: customHeaders,\r\n };\r\n }\r\n return config;\r\n};\r\n\r\nexport const configureApi = (api: ApisauceInstance) => {\r\n if (process.env.NODE_ENV === 'development') {\r\n // build process will strip out unused code in production,\r\n // hence the special usage of dynamic import\r\n import('@util/ReactotronConfig').then(({ apisauce }) => {\r\n // Apisauce has a feature where you can attach a handler to watch\r\n // all requests/response flowing through your api. You can hook this up:\r\n api.addMonitor(apisauce);\r\n });\r\n }\r\n};\r\n","import { CapacitiesRequest, CapacitiesResponse } from '@/model';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\n\r\nexport class CapacityFinderClient extends BaseClient {\r\n fetchCapacities$ = (capacitiesRequest: CapacitiesRequest) =>\r\n this.api.post$('/capacity/search', capacitiesRequest);\r\n}\r\n","import { parseInt as toInt } from 'lodash';\r\nimport Cookies from 'universal-cookie';\r\n\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport { GenId } from '@util/GenId';\r\n\r\nconst cookie = new Cookies();\r\n\r\nexport const hasLoginCookies = () => username() != null;\r\nconst EXPIRY_COOKIE = `${AppConfig.LBConfig.CookiePrefix}123lb.a_exp_m`;\r\nexport const isAccessTokenExpired = () => {\r\n const expDate = toInt(getCookie(EXPIRY_COOKIE));\r\n return !(typeof expDate === 'number' && expDate > Date.now() + 60000);\r\n};\r\n\r\nexport const setAccessTokenExpiry = (expiryTime: number) => {\r\n setCookie(`${AppConfig.LBConfig.CookiePrefix}123lb.a_exp_m`, Date.now() + expiryTime * 1000, '/', 86400 * 365 * 5);\r\n};\r\n\r\nexport const username = () => {\r\n const cookieUsername = getCookie('logged_user_name');\r\n if (cookieUsername) {\r\n return cookieUsername.replace(/\\+/g, ' ');\r\n }\r\n return null;\r\n};\r\n\r\nexport const deviceID = () => {\r\n const key = '123lb.devid';\r\n let devid = getCookie(key);\r\n if (!devid) {\r\n devid = GenId.generateDeviceId();\r\n\r\n // set the cookie on the highest root domain.\r\n let hostname = window.location.hostname;\r\n const matches = /^.+(\\.[^.]+\\.[^.]+)$/.exec(hostname);\r\n if (matches) {\r\n hostname = matches[1];\r\n }\r\n setCookie(key, devid, '/', 86400 * 365 * 100, hostname);\r\n }\r\n return devid;\r\n};\r\n\r\nexport const setSharedLoadIdForMap = (loadId: string) => {\r\n setCookie(AppConfig.LBConfig.CookiePrefix + '123lb.sharedloadid', loadId, '/', 86400 * 365 * 5);\r\n};\r\n\r\nconst getCookie = (key: string) => {\r\n return cookie.get(key);\r\n};\r\n\r\nconst setCookie = (key: string, value: any, path: string, maxAge: number, domain?: string) => {\r\n cookie.set(key, value, {\r\n path: path,\r\n maxAge: maxAge,\r\n domain: domain,\r\n sameSite: 'none',\r\n httpOnly: false,\r\n secure: true,\r\n });\r\n};\r\n","import {\r\n BrokerLoadMetricsHistoryResponse,\r\n BrokerLoadMetricsResponse,\r\n CarrierLoadMetricsHistoryResponse,\r\n CarrierLoadMetricsResponse,\r\n LoadMetricsHistoryRequest,\r\n} from '@/model/LoadMetrics';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\n\r\nexport class LoadMetricsClient extends BaseClient {\r\n fetchBrokerBusiestDays$ = (fields: string = 'all') =>\r\n this.api.get$('/loads/metrics/broker/busiest-days', {\r\n fields: fields,\r\n });\r\n fetchCarrierBusiestDays$ = (fields: string = 'all') =>\r\n this.api.get$('/loads/metrics/carrier/busiest-days', {\r\n fields: fields,\r\n });\r\n\r\n fetchBrokerLoadMetricsHistory$ = (loadMetricsRequest: LoadMetricsHistoryRequest) =>\r\n this.api.get$('/loads/metrics/broker/history', loadMetricsRequest);\r\n fetchCarrierLoadMetricsHistory$ = (loadMetricsRequest: LoadMetricsHistoryRequest) =>\r\n this.api.get$('/loads/metrics/carrier/history', loadMetricsRequest);\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\nimport { LoadTemplateResponse } from '@common/model/LoadTemplates';\r\nimport { EmptyResponse } from '@common/redux/Base';\r\nimport { PaginatedRequest } from '@common/redux/epic/PaginatedListReducer';\r\n\r\nexport interface DeleteLoadTemplatesRequest {\r\n excludeIds: string[];\r\n}\r\n\r\nexport class LoadTemplatesClient extends BaseClient {\r\n fetchLoadTemplates$ = (loadTemplatesRequest: PaginatedRequest) =>\r\n this.api.get$(`/loadTemplates`, loadTemplatesRequest);\r\n deleteLoadTemplate$ = (templateId: string) => this.api.delete$(`/loadTemplates/${templateId}`, {});\r\n deleteLoadTemplates$ = (request: DeleteLoadTemplatesRequest) =>\r\n this.api.post$('/loadTemplates/filter/delete', request);\r\n}\r\n","import { AxiosRequestConfig } from 'axios';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { Api, ApiOptions, ApiResponse123, ApiService, withMergePatch } from '@common/api';\r\nimport { configureApi, defaultMemberApiHeaders, updateMemberApiHeaders } from '@webApi/ApiServiceHelper';\r\nimport { handleResponse$ } from '@webApi/ResponseHandler';\r\n\r\nconst defaultApiOptions: ApiOptions = { shouldPreventLoginRedirect: false, allowUnauthenticated: false };\r\n\r\nexport class MemberApiService implements Api {\r\n private api: Api;\r\n constructor() {\r\n this.api = new ApiService('/api', defaultMemberApiHeaders, configureApi);\r\n }\r\n\r\n get$ = (\r\n url: string,\r\n params: {},\r\n axiosConfig?: AxiosRequestConfig,\r\n options: ApiOptions = defaultApiOptions\r\n ): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n const response: Observable> = this.api.get$(url, params, config);\r\n return handleResponse$(response, !!options.allowUnauthenticated, options.forceRefreshToken);\r\n };\r\n\r\n post$ = (\r\n url: string,\r\n params: {} | null,\r\n axiosConfig?: AxiosRequestConfig,\r\n options: ApiOptions = defaultApiOptions\r\n ): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n const response: Observable> = this.api.post$(url, params, config);\r\n return handleResponse$(response, !!options.allowUnauthenticated, options.forceRefreshToken);\r\n };\r\n\r\n put$ = (\r\n url: string,\r\n params: {},\r\n axiosConfig?: AxiosRequestConfig,\r\n options: ApiOptions = defaultApiOptions\r\n ): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n const response: Observable> = this.api.put$(url, params, config);\r\n return handleResponse$(response, !!options.allowUnauthenticated, options.forceRefreshToken);\r\n };\r\n\r\n delete$ = (\r\n url: string,\r\n params: {},\r\n axiosConfig?: AxiosRequestConfig,\r\n options: ApiOptions = defaultApiOptions\r\n ): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n const response: Observable> = this.api.delete$(url, params, config);\r\n return handleResponse$(response, !!options.allowUnauthenticated, options.forceRefreshToken);\r\n };\r\n\r\n patch$ = (\r\n url: string,\r\n params: {},\r\n axiosConfig?: AxiosRequestConfig,\r\n options: ApiOptions = defaultApiOptions\r\n ): Observable> => {\r\n const config = updateMemberApiHeaders(axiosConfig);\r\n const response: Observable> = this.api.patch$(url, params, config);\r\n return handleResponse$(response, !!options.allowUnauthenticated, options.forceRefreshToken);\r\n };\r\n\r\n mergePatch$ = (\r\n url: string,\r\n params: {},\r\n axiosConfig?: AxiosRequestConfig,\r\n options: ApiOptions = defaultApiOptions\r\n ): Observable> => {\r\n const config = withMergePatch(updateMemberApiHeaders(axiosConfig));\r\n const response: Observable> = this.api.patch$(url, params, config);\r\n return handleResponse$(response, !!options.allowUnauthenticated, options.forceRefreshToken);\r\n };\r\n}\r\n","import { BaseClient } from '@common/client/BaseClient';\r\n\r\nexport class MembersClient extends BaseClient {\r\n checkAppVersion$ = (currentVersion: string) => this.api.get$('/checkVersion', { currentVersion: currentVersion });\r\n getServerTime$ = () => this.api.get$<{ time: number }>('/getServerTime', {});\r\n}\r\n","import { isNil } from 'lodash';\r\nimport { Action } from 'redux';\r\nimport { ActionsObservable } from 'redux-observable';\r\nimport { merge as merge$, of as of$ } from 'rxjs';\r\nimport { filter, flatMap as flatMap$, map as map$ } from 'rxjs/operators';\r\n\r\nimport { safeGetItem, safeSetItem } from '@/util/LocalDataStorage';\r\nimport { Api, ApiResponse123 } from '@common/api';\r\nimport { StorageKey } from '@common/model';\r\nimport { simpleApiEpicToAction } from '@common/redux/epic/EpicHelper';\r\n\r\nimport { AppVersion } from '../util/AppVersionHelper';\r\nimport { MembersClient } from './MembersClient';\r\n\r\nconst CHECK_APP_VERSION = 'CHECK_APP_VERSION';\r\nconst GET_SERVER_TIME = 'GET_SERVER_TIME';\r\nconst SERVER_TIME_RESPONSE = 'SERVER_TIME_RESPONSE';\r\n\r\nexport const checkAppVersion = () => ({ type: CHECK_APP_VERSION });\r\nexport const fetchServerTime = () => ({ type: GET_SERVER_TIME });\r\n\r\ninterface ServerTimeResponseAction extends Action {\r\n serverTime: number;\r\n}\r\n\r\nexport interface MembersInfoState {\r\n currentYear: string;\r\n}\r\nexport const membersInfoReducer = (\r\n state: MembersInfoState = { currentYear: yearFromTimeStamp(Date.now()) },\r\n action: Action\r\n): MembersInfoState => {\r\n switch (action.type) {\r\n case SERVER_TIME_RESPONSE: {\r\n const responseAction = action as ServerTimeResponseAction;\r\n const year = yearFromTimeStamp(responseAction.serverTime);\r\n\r\n return { ...state, currentYear: year };\r\n }\r\n }\r\n return state;\r\n};\r\n\r\nexport const getServerTimeEpic$ = (client: MembersClient, action$: ActionsObservable) => {\r\n return simpleApiEpicToAction(\r\n action$,\r\n GET_SERVER_TIME,\r\n () => client.getServerTime$(),\r\n (response): ServerTimeResponseAction => ({\r\n type: SERVER_TIME_RESPONSE,\r\n serverTime: response.payload ? response.payload.time : 0,\r\n })\r\n );\r\n};\r\n\r\nconst checkVersionEpic$ = (client: MembersClient, action$: ActionsObservable) =>\r\n action$.ofType(CHECK_APP_VERSION).pipe(\r\n flatMap$(() => {\r\n //this is a fallback to avoid getting stuck in a infinite reload cycle case we have any issue with the nodejs server.\r\n if (hasReloadedRecently()) {\r\n setReloadingFlag(false);\r\n return of$(undefined);\r\n }\r\n return client.checkAppVersion$(AppVersion).pipe(\r\n map$((response: ApiResponse123<{}>) => {\r\n if (!response.success && response.httpStatus === 417) {\r\n setReloadingFlag(true);\r\n window.location.reload();\r\n }\r\n return undefined;\r\n })\r\n );\r\n }),\r\n filter((action) => !isNil(action))\r\n );\r\n\r\nexport const createMembersEpic = (api: Api) => {\r\n const client = new MembersClient(api);\r\n return (action$: ActionsObservable) =>\r\n merge$(checkVersionEpic$(client, action$), getServerTimeEpic$(client, action$));\r\n};\r\n\r\nconst setReloadingFlag = (hasReloaded: boolean) => {\r\n safeSetItem(StorageKey.MembersReloadingFlag, JSON.stringify({ hasReloaded: hasReloaded }));\r\n};\r\n\r\nconst hasReloadedRecently = () => {\r\n try {\r\n const item = safeGetItem(StorageKey.MembersReloadingFlag);\r\n if (!item) {\r\n return false;\r\n }\r\n const parsedItem = JSON.parse(item);\r\n return parsedItem.hasReloaded;\r\n } catch (exception) {\r\n return false;\r\n }\r\n};\r\n\r\nconst yearFromTimeStamp = (timestamp: number) => {\r\n let validTimestap = timestamp;\r\n if (timestamp <= 0) {\r\n validTimestap = Date.now();\r\n }\r\n return `${new Date(validTimestap).getFullYear()}`;\r\n};\r\n","import {\r\n AddPrivateNetworkMembers,\r\n DeletePrivateNetworkMembers,\r\n FetchLoadBoardResponse,\r\n FetchPrivateNetworkMembers,\r\n InvalidMembersResponse,\r\n WhiteListResponse,\r\n} from '@/model';\r\nimport { Api } from '@common/api';\r\nimport { BaseClient } from '@common/client/BaseClient';\r\n\r\nexport class PrivateNetworkClient extends BaseClient {\r\n constructor(api: Api) {\r\n super(api);\r\n }\r\n getDefaultLoadBoard$ = () => this.api.get$('/loadboards/default', {});\r\n getWhiteList$ = (data: FetchPrivateNetworkMembers) =>\r\n this.api.get$(\r\n `/loadboards/${data.id}/whitelist/dots?sortOrder=${data.sortOrder}&sortBy=dotNumber`,\r\n {}\r\n );\r\n addWhiteListItems$ = (data: AddPrivateNetworkMembers) =>\r\n this.api.put$(`/loadboards/${data.id}/whitelist/dots`, {\r\n dotNumbers: data.validDotNumbers,\r\n });\r\n\r\n deleteWhiteListItems$ = (data: DeletePrivateNetworkMembers) =>\r\n this.api.post$(`/loadboards/${data.id}/whitelist/dots/delete`, {\r\n dotNumbers: data.usDotNumber,\r\n });\r\n}\r\n","import { AxiosRequestConfig } from 'axios';\r\nimport { Observable } from 'rxjs';\r\n\r\nimport { Api, ApiResponse123, ApiService } from '@common/api';\r\nimport { configureApi } from '@webApi/ApiServiceHelper';\r\n\r\nexport class RawApiService implements Api {\r\n private api: Api;\r\n constructor() {\r\n this.api = new ApiService('/', {}, configureApi);\r\n }\r\n\r\n get$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n return this.api.get$(url, params, axiosConfig);\r\n };\r\n\r\n post$ = (url: string, params: {} | null, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n return this.api.post$(url, params, axiosConfig);\r\n };\r\n\r\n put$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n return this.api.put$(url, params, axiosConfig);\r\n };\r\n\r\n delete$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n return this.api.delete$(url, params, axiosConfig);\r\n };\r\n\r\n patch$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n return this.api.patch$(url, params, axiosConfig);\r\n };\r\n\r\n mergePatch$ = (url: string, params: {}, axiosConfig?: AxiosRequestConfig): Observable> => {\r\n return this.api.mergePatch$(url, params, axiosConfig);\r\n };\r\n}\r\n","import { EMPTY as empty$, Observable, of as of$ } from 'rxjs';\r\nimport { mergeMap } from 'rxjs/operators';\r\n\r\nimport { setConnectionError, setLoginFailed } from '@/reduxStore/epic/ConnectionErrorEpic';\r\nimport Logout from '@/router/Logout';\r\nimport { Routes } from '@/router/Routes';\r\nimport {\r\n ApiError,\r\n ApiResponse123,\r\n ApiResponseSuccess,\r\n is401,\r\n is4xxError,\r\n isRefreshTokenPendingAction,\r\n} from '@common/api';\r\nimport { ReduxRegistry } from '@common/redux/ReduxRegistry';\r\nimport { AppConfig } from '@util/AppConfig';\r\nimport * as CookieService from '@webApi/CookiesHelper';\r\nimport TokenRefresher from '@webApi/TokenRefresher';\r\n\r\ntype Response$ = Observable>;\r\n\r\nlet wasRedirectedToEmailVerification = false;\r\n\r\n/** This depends if the current \"page\" is a public page that\r\n * absolutely wants authentication or else jump to the login page.\r\n *\r\n * true: redirect to login if access token+refreshing token failed.\r\n * false: stay on the page even if all attempt at refreshing the token failed \"normally\"\r\n *\r\n * setEnforcedAuthentication is called by AuthenticatedRoute which is the place where we \"know\"\r\n * what the page requires. Luckily, this is mounted as part of the main javascript chunk so it will\r\n * execute before any API networking call returns, in particular, before /refreshToken returns.\r\n * While a lot of pages are under an AuthenticatedRoute, some are only under a simple Route.\r\n * In this case the default value (false) will prevail.\r\n */\r\nlet enforcedAuthentication = false;\r\n\r\nexport const setEnforcedAuthentication = (enforceAuth: boolean) => {\r\n enforcedAuthentication = enforceAuth;\r\n};\r\n\r\nexport const handleResponse$ = (\r\n response$: Response$,\r\n allowUnauthenticated: boolean,\r\n forceRefreshToken: boolean = false\r\n): Response$ =>\r\n handleWithRefreshTokenIfNeeded$(response$, allowUnauthenticated, forceRefreshToken).pipe(mergeMap(redirectIfNeeded$));\r\n\r\nexport const refreshTokenIfNeeded$ = (): Observable =>\r\n handleWithRefreshTokenIfNeeded$(of$(new ApiResponseSuccess(200, null)), true);\r\n\r\nconst handleWithRefreshTokenIfNeeded$ = (\r\n response$: Response$,\r\n allowUnauthenticated: boolean,\r\n forceRefreshToken: boolean = false\r\n): Response$ => {\r\n if (!CookieService.hasLoginCookies()) {\r\n return allowUnauthenticated ? response$ : of$(new ApiError(401, -1, 'User is not logged in'));\r\n }\r\n if (CookieService.isAccessTokenExpired() || TokenRefresher.isInProgress() || forceRefreshToken) {\r\n return handleWithRefreshToken$(response$);\r\n }\r\n return response$.pipe(\r\n mergeMap((response) =>\r\n is401(response) || isRefreshTokenPendingAction(response) ? handleWithRefreshToken$(response$) : of$(response)\r\n )\r\n );\r\n};\r\n\r\nconst handleWithRefreshToken$ = (response$: Response$): Response$ =>\r\n TokenRefresher.getRefreshedToken$().pipe(\r\n mergeMap((tokenResponse) => {\r\n if (tokenResponse.ok || !CookieService.isAccessTokenExpired()) {\r\n return response$;\r\n }\r\n if (tokenResponse.status && is4xxError(tokenResponse.status)) {\r\n return of$(new ApiError(401, -1, 'Refreshing Token failed'));\r\n }\r\n return connectionError$();\r\n })\r\n );\r\n\r\nconst isAccountDeactivate = (response: ApiResponse123) =>\r\n response instanceof ApiError && response.code === 4030004;\r\n\r\nconst redirectIfNeeded$ = (response: ApiResponse123) => {\r\n if (is401(response)) {\r\n if (enforcedAuthentication) return redirectToLogin$();\r\n else {\r\n ReduxRegistry.dispatch(setLoginFailed(true));\r\n return of$(response);\r\n }\r\n }\r\n if (isAccountDeactivate(response)) {\r\n return redirectToAccountActivationIfNeeded$(response);\r\n }\r\n return of$(response);\r\n};\r\n\r\nconst redirectToLogin$ = () => {\r\n if (!Logout.isProcessingLogout) {\r\n //@FIXME: patch implemented for MEM-1679. logout being called more than once while in the logout process, improve this fix.\r\n redirectToLogin();\r\n }\r\n // Returning empty observable since the page will be redirected.\r\n return empty$;\r\n};\r\n\r\nconst redirectToAccountActivationIfNeeded$ = (response: ApiResponse123) => {\r\n const emailVerificationPageHref = `${window.location.origin}${Routes.VERIFY_EMAIL_BLOCKER_PAGE}`;\r\n const isOnEmailVerificationPage = window.location.href === emailVerificationPageHref;\r\n if (!isOnEmailVerificationPage && !wasRedirectedToEmailVerification) {\r\n wasRedirectedToEmailVerification = true;\r\n window.location.href = emailVerificationPageHref;\r\n // Returning empty observable since the page will be redirected.\r\n return empty$;\r\n }\r\n return of$(response);\r\n};\r\n\r\nconst connectionError$ = () => {\r\n ReduxRegistry.dispatch(setConnectionError(true));\r\n // Returning empty observable since the page will be reloaded.\r\n return empty$;\r\n};\r\n\r\nexport const redirectToLogin = () => {\r\n window.location.href = AppConfig.getLoginLink();\r\n};\r\n","import { ApiResponse, ApisauceInstance, create } from 'apisauce';\r\nimport { from as from$, Observable } from 'rxjs';\r\nimport { map as map$, share as share$, tap } from 'rxjs/operators';\r\n\r\nimport { LBHeaders } from '@common/api';\r\nimport { GenId } from '@util/GenId';\r\nimport { defaultMemberApiHeaders } from '@webApi/ApiServiceHelper';\r\nimport * as CookieService from '@webApi/CookiesHelper';\r\n\r\nlet instance: TokenRefresher | null = null;\r\nclass TokenRefresher {\r\n private tokenResponse$: Observable> | null = null;\r\n private api: ApisauceInstance;\r\n constructor() {\r\n if (!instance) {\r\n instance = this;\r\n instance.api = create({\r\n baseURL: '/',\r\n headers: defaultMemberApiHeaders,\r\n });\r\n if (process.env.NODE_ENV === 'development') {\r\n // build process will strip out unused code in production\r\n // hence the dynamic import\r\n import('@util/ReactotronConfig').then(({ apisauce }) => {\r\n instance?.api.addMonitor(apisauce);\r\n });\r\n }\r\n }\r\n return instance;\r\n }\r\n\r\n public isInProgress = () => !!this.tokenResponse$;\r\n\r\n public getRefreshedToken$ = () => {\r\n if (!this.tokenResponse$) {\r\n this.tokenResponse$ = this.refreshToken$()\r\n .pipe(\r\n tap({\r\n complete: () => {\r\n this.tokenResponse$ = null;\r\n },\r\n })\r\n )\r\n .pipe(share$());\r\n }\r\n return this.tokenResponse$;\r\n };\r\n\r\n private refreshToken$ = (): Observable> => {\r\n const url = addCacheBustingParameter('/refreshToken');\r\n return from$(\r\n this.api.post(\r\n url || '',\r\n {},\r\n {\r\n headers: {\r\n [LBHeaders.DeviceID]: CookieService.deviceID(),\r\n '123LB-Correlation-Id': GenId.generateCorrelationId(),\r\n },\r\n }\r\n )\r\n ).pipe(\r\n map$((response: ApiResponse) => {\r\n if (response.ok && response.data && response.data.secondsToExpire) {\r\n CookieService.setAccessTokenExpiry(response.data.secondsToExpire);\r\n }\r\n return response;\r\n })\r\n );\r\n };\r\n}\r\n\r\nconst addCacheBustingParameter = (url: string) =>\r\n url == null ? null : url + (url.indexOf('?') > -1 ? '&' : '?') + 'rnd=' + GenId.generateCacheBustingParameter();\r\n\r\nexport default new TokenRefresher();\r\n","import * as React from \"react\";\nconst SvgErrorBlock = props => ;\nexport default SvgErrorBlock;","import * as React from \"react\";\nconst SvgIconSuccess = props => ;\nexport default SvgIconSuccess;","import * as React from \"react\";\nconst SvgIconWarning = props => ;\nexport default SvgIconWarning;","import * as React from \"react\";\nconst SvgInfo = props => ;\nexport default SvgInfo;","import * as React from \"react\";\nconst SvgOnboarding = props => ;\nexport default SvgOnboarding;","import * as React from \"react\";\nconst SvgMoreMenu = props => ;\nexport default SvgMoreMenu;","import * as React from \"react\";\nconst SvgIconFeedDark = props => ;\nexport default SvgIconFeedDark;","import * as React from \"react\";\nconst SvgIconFeedSelected = props => ;\nexport default SvgIconFeedSelected;","import * as React from \"react\";\nconst SvgIconFeed = props => ;\nexport default SvgIconFeed;","import * as React from \"react\";\nconst SvgIconHelpDark = props => ;\nexport default SvgIconHelpDark;","import * as React from \"react\";\nconst SvgIconHelpSelected = props => ;\nexport default SvgIconHelpSelected;","import * as React from \"react\";\nconst SvgIconHelp = props => ;\nexport default SvgIconHelp;","import * as React from \"react\";\nconst SvgIconYoutube = props => ;\nexport default SvgIconYoutube;","import * as React from \"react\";\nconst SvgWarningIcon = props => ;\nexport default SvgWarningIcon;","import * as React from \"react\";\nconst SvgBorderWaitTimes = props => ;\nexport default SvgBorderWaitTimes;","import * as React from \"react\";\nconst SvgCreditReport = props => ;\nexport default SvgCreditReport;","import * as React from \"react\";\nconst SvgDashboard = props => ;\nexport default SvgDashboard;","import * as React from \"react\";\nconst SvgExportPosts = props => ;\nexport default SvgExportPosts;","import * as React from \"react\";\nconst SvgFmcsaSearch = props => ;\nexport default SvgFmcsaSearch;","import * as React from \"react\";\nconst SvgFuelPrices = props => ;\nexport default SvgFuelPrices;","import * as React from \"react\";\nconst SvgGetPaidFaster = props => ;\nexport default SvgGetPaidFaster;","import * as React from \"react\";\nconst SvgHelpIcon = props => ;\nexport default SvgHelpIcon;","import * as React from \"react\";\nconst SvgHotLeads = props => ;\nexport default SvgHotLeads;","import * as React from \"react\";\nconst SvgHtmlEmbedCode = props => ;\nexport default SvgHtmlEmbedCode;","import * as React from \"react\";\nconst SvgIconBid = props => ;\nexport default SvgIconBid;","import * as React from \"react\";\nconst SvgIconBullhorn = props => ;\nexport default SvgIconBullhorn;","import * as React from \"react\";\nconst SvgIconMenu = props => ;\nexport default SvgIconMenu;","import * as React from \"react\";\nconst SvgIconMessage = props => ;\nexport default SvgIconMessage;","import * as React from \"react\";\nconst SvgLoadPlanner = props => ;\nexport default SvgLoadPlanner;","import * as React from \"react\";\nconst SvgLoadAvailability = props => ;\nexport default SvgLoadAvailability;","import * as React from \"react\";\nconst SvgLogoutIcon = props => ;\nexport default SvgLogoutIcon;","import * as React from \"react\";\nconst SvgMileageCalculator = props => ;\nexport default SvgMileageCalculator;","import * as React from \"react\";\nconst SvgMyCarriers = props => ;\nexport default SvgMyCarriers;","import * as React from \"react\";\nconst SvgMyCompanies = props => ;\nexport default SvgMyCompanies;","import * as React from \"react\";\nconst SvgMyDocuments = props => ;\nexport default SvgMyDocuments;","import * as React from \"react\";\nconst SvgMyLoads = props => ;\nexport default SvgMyLoads;","import * as React from \"react\";\nconst SvgMyTruckPost = props => ;\nexport default SvgMyTruckPost;","import * as React from \"react\";\nconst SvgPost = props => ;\nexport default SvgPost;","import * as React from \"react\";\nconst SvgPostingAid = props => ;\nexport default SvgPostingAid;","import * as React from \"react\";\nconst SvgProfitCalculator = props => ;\nexport default SvgProfitCalculator;","import * as React from \"react\";\nconst SvgRateCheck = props => ;\nexport default SvgRateCheck;","import * as React from \"react\";\nconst SvgReeferRates = props => ;\nexport default SvgReeferRates;","import * as React from \"react\";\nconst SvgRegister = props => ;\nexport default SvgRegister;","import * as React from \"react\";\nconst SvgRoadsideAssistance = props => ;\nexport default SvgRoadsideAssistance;","import * as React from \"react\";\nconst SvgSaveAtThePump = props => ;\nexport default SvgSaveAtThePump;","import * as React from \"react\";\nconst SvgSearchDirectory = props => ;\nexport default SvgSearchDirectory;","import * as React from \"react\";\nconst SvgSearchTrucks = props => ;\nexport default SvgSearchTrucks;","import * as React from \"react\";\nconst SvgSearch = props => ;\nexport default SvgSearch;","import * as React from \"react\";\nconst SvgSettings = props => ;\nexport default SvgSettings;","import * as React from \"react\";\nconst SvgSignIn = props => ;\nexport default SvgSignIn;","import * as React from \"react\";\nconst SvgTmsIntegration = props => ;\nexport default SvgTmsIntegration;","import * as React from \"react\";\nconst SvgTruckingAuthority = props => ;\nexport default SvgTruckingAuthority;","import * as React from \"react\";\nconst SvgUploadPosts = props => ;\nexport default SvgUploadPosts;","import * as React from \"react\";\nconst SvgUpdateStatus = props => ;\nexport default SvgUpdateStatus;","import * as React from \"react\";\nconst SvgSelected = props => ;\nexport default SvgSelected;","import * as React from \"react\";\nconst SvgUnselected = props => ;\nexport default SvgUnselected;","import * as React from \"react\";\nconst SvgIconArrowRight = props => ;\nexport default SvgIconArrowRight;","import * as React from \"react\";\nconst SvgIconDollar = props => ;\nexport default SvgIconDollar;","import * as React from \"react\";\nconst SvgIconUpArrow = props => ;\nexport default SvgIconUpArrow;","import * as React from \"react\";\nconst SvgDownload = props => ;\nexport default SvgDownload;","import * as React from \"react\";\nconst SvgAddFile = props => ;\nexport default SvgAddFile;","import * as React from \"react\";\nconst SvgChangeFolder = props => ;\nexport default SvgChangeFolder;","import * as React from \"react\";\nconst SvgChangeType = props => ;\nexport default SvgChangeType;","import * as React from \"react\";\nconst SvgDelete = props => ;\nexport default SvgDelete;","import * as React from \"react\";\nconst SvgDownload = props => ;\nexport default SvgDownload;","import * as React from \"react\";\nconst SvgEdit = props => ;\nexport default SvgEdit;","import * as React from \"react\";\nconst SvgError = props => ;\nexport default SvgError;","import * as React from \"react\";\nconst SvgFolder = props => ;\nexport default SvgFolder;","import * as React from \"react\";\nconst SvgRename = props => ;\nexport default SvgRename;","import * as React from \"react\";\nconst SvgSelect = props => ;\nexport default SvgSelect;","import * as React from \"react\";\nconst SvgSend = props => ;\nexport default SvgSend;","import * as React from \"react\";\nconst SvgView = props => ;\nexport default SvgView;","import * as React from \"react\";\nconst SvgIconRatingSmall = props => ;\nexport { SvgIconRatingSmall as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1yYXRpbmctc21hbGwiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9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jYgMTkuOTMwMzA5Mjk1NjU0MyAzLjg1NzI5NzQyMDUwMTcwOSBMIDIyLjQ2NjA3NzgwNDU2NTQzIDMuNDg5OTU3MzMyNjExMDg0IEMgMjIuNjY5ODk4OTg2ODE2NDEgMy40NTk3MjcyODcyOTI0OCAyMi44NDgxMzg4MDkyMDQxIDMuMzMxODU3MjA0NDM3MjU2IDIyLjkzODAyODMzNTU3MTI5IDMuMTQ1ODY3MzQ3NzE3Mjg1IEwgMjQuMDcxODI4ODQyMTYzMDkgMC44NDk1NzY5NTAwNzMyNDIyIEMgMjQuMTg1NzY0MzEyNzQ0MTQgMC42MTY2OTI1NDMwMjk3ODUyIDI0LjQwODk2MDM0MjQwNzIzIDAuNTAwMjQ5ODYyNjcwODk4NCAyNC42MzI0NDYyODkwNjI1IDAuNTAwMjQ5ODYyNjcwODk4NCBaIiBzdHJva2U9Im5vbmUiIGZpbGw9IiNmZmYiLz4NCiAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgIconRating = props => ;\nexport { SvgIconRating as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMS41Ij4NCiAgPGcgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4NCiAgICA8cGF0aCBkPSJNNi42LjQgOCAzYS43LjcgMCAwIDAgLjYuNGwyLjkuNGEuNy43IDAgMCAxIC40IDEuM0w5LjcgN2EuNy43IDAgMCAwLS4yLjdsLjUgMi44YS43LjcgMCAwIDEtMSAuOEw2LjIgMTBhLjcuNyAwIDAgMC0uNiAwTDMgMTEuNGEuNy43IDAgMCAxLTEtLjhsLjQtMi44YS43LjcgMCAwIDAtLjItLjdsLTItMmEuNy43IDAgMCAxIC4zLTEuM2wzLS40QS43LjcgMCAwIDAgNCAzTDUuNC40YS43LjcgMCAwIDEgMS4yIDBaIi8+DQogICAgPHBhdGggZmlsbD0iIzQ4NDg0OCIgZD0ibTYgMS44LS45IDEuOGEyIDIgMCAwIDEtMS40IDFsLTIgLjMgMS41IDEuNGMuNC40LjYgMSAuNSAxLjdsLS4zIDEuOSAxLjctMWEyIDIgMCAwIDEgMS44IDBsMS43IDEtLjMtMmMtLjEtLjYgMC0xLjIuNS0xLjZsMS40LTEuNC0xLjktLjNhMiAyIDAgMCAxLTEuNC0xTDYgMS44TTYgMGMuMyAwIC41LjEuNi40TDggM2MuMS4yLjQuNC42LjRsMi45LjRjLjYuMS44LjkuNCAxLjNMOS43IDdjLS4yLjItLjMuNC0uMi43bC41IDIuOGMwIC42LS41IDEtMSAuOEw2LjIgMTBhLjcuNyAwIDAgMC0uNiAwTDMgMTEuNGEuNy43IDAgMCAxLTEtLjhsLjQtMi44YzAtLjMgMC0uNS0uMi0uN2wtMi0yYS43LjcgMCAwIDEgLjMtMS4zbDMtLjRjLjIgMCAuNC0uMi41LS40TDUuNC40YzAtLjMuMy0uNC42LS40WiIvPg0KICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgArrowUp = props => ;\nexport { SvgArrowUp as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4LjY5MiIgaGVpZ2h0PSIxMy41NzEiIHZpZXdCb3g9IjAgMCA4LjY5MiAxMy41NzEiPg0KICAgIDxkZWZzPg0KICAgICAgICA8c3R5bGU+DQogICAgICAgICAgICAuYSwNCiAgICAgICAgICAgIC5iIHsNCiAgICAgICAgICAgICAgICBmaWxsOiBub25lOw0KICAgICAgICAgICAgICAgIHN0cm9rZTogI2ZmZjsNCiAgICAgICAgICAgICAgICBzdHJva2UtbGluZWNhcDogcm91bmQ7DQogICAgICAgICAgICAgICAgc3Ryb2tlLXdpZHRoOiAxLjVweDsNCiAgICAgICAgICAgIH0NCg0KICAgICAgICAgICAgLmEgew0KICAgICAgICAgICAgICAgIHN0cm9rZS1saW5lam9pbjogcm91bmQ7DQogICAgICAgICAgICB9DQogICAgICAgIDwvc3R5bGU+DQogICAgPC9kZWZzPg0KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEuMDYxIDAuNzUpIj4NCiAgICAgICAgPHBhdGggY2xhc3M9ImEiIGQ9Ik03LjUsMTQuNTE4bDMuMjg1LTMuMjg1LDMuMjg1LDMuMjg1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNy41IC0xMS4yMzMpIiAvPg0KICAgICAgICA8cGF0aCBjbGFzcz0iYiIgZD0iTTAsMFYxMi4wNzEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMuMjg1KSIgLz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgFilter = props => ;\nexport { SvgFilter as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYntmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoxLjJweDt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMDEuNzU1IC0yMDAxLjU3NCkiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIwNy43NTUgMjAwOC4yNSkiPjxwYXRoIGNsYXNzPSJiIiBkPSJNMjIwLjQsMjAwOC43YS40MjMuNDIzLDAsMCwwLS40MjEtLjQ1aC0xMS44YS40MjIuNDIyLDAsMCwwLS40MjEuNDUsNi4zMzcsNi4zMzcsMCwwLDAsNS4wNTIsNS43NTV2NS41NjFhLjQyMi40MjIsMCwwLDAsLjY5My4zMjRsMS42ODktMS40MDhhLjQyMS40MjEsMCwwLDAsLjE1Mi0uMzI0di00LjE1M0E2LjMzNyw2LjMzNywwLDAsMCwyMjAuNCwyMDA4LjdaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjA3Ljc1NSAtMjAwOC4yNSkiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgCancel = props => ;\nexport { SvgCancel as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHN0eWxlPg0KICAgICAgICAgICAgLmEgew0KICAgICAgICAgICAgICAgIGZpbGw6ICNkYWUyZWE7DQogICAgICAgICAgICB9DQoNCiAgICAgICAgICAgIC5iIHsNCiAgICAgICAgICAgICAgICBmaWxsOiAjZmZmOw0KICAgICAgICAgICAgICAgIHN0cm9rZTogIzQ4NDg0ODsNCiAgICAgICAgICAgICAgICBzdHJva2UtbGluZWNhcDogcm91bmQ7DQogICAgICAgICAgICAgICAgc3Ryb2tlLWxpbmVqb2luOiByb3VuZDsNCiAgICAgICAgICAgICAgICBzdHJva2UtbWl0ZXJsaW1pdDogMTA7DQogICAgICAgICAgICAgICAgc3Ryb2tlLXdpZHRoOiAxLjNweDsNCiAgICAgICAgICAgIH0NCiAgICAgICAgPC9zdHlsZT4NCiAgICA8L2RlZnM+DQogICAgPHBhdGggY2xhc3M9ImEiIGQ9Ik0xMCwwQTEwLDEwLDAsMSwxLDAsMTAsMTAsMTAsMCwwLDEsMTAsMFoiIC8+DQogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNi40OTEgNi4yNzgpIj4NCiAgICAgICAgPHBhdGggY2xhc3M9ImIiIGQ9Ik0wLDBIMTAuMTIzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIHJvdGF0ZSg0NSkiIC8+DQogICAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNMCwwVjEwLjEyMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNy4xNTggMCkgcm90YXRlKDQ1KSIgLz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconAddFile = props => ;\nexport { SvgIconAddFile as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYntmaWxsOm5vbmU7c3Ryb2tlOiMyNzMxM2M7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoxLjJweDt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yNDEuOTUgLTM4MC4yODQpIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNDQuNzUgMzgyLjc1KSI+PHBhdGggY2xhc3M9ImIiIGQ9Ik0yNjAuMzI2LDQwMy40YTUuMDc2LDUuMDc2LDAsMSwwLTUuMDc2LTUuMDc2QTUuMDc1LDUuMDc1LDAsMCwwLDI2MC4zMjYsNDAzLjRaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjQ2LjM2OCAtMzg0LjM2OCkiLz48cGF0aCBjbGFzcz0iYiIgZD0iTTI1Mi44MjYsMzkzLjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjQ1LjIxMiAtMzg0LjM2OCkiLz48cGF0aCBjbGFzcz0iYiIgZD0iTTI1MC40NiwzOTkuMjQ2aC00LjQ0MWExLjI2OSwxLjI2OSwwLDAsMS0xLjI2OS0xLjI2OVYzODQuMDE5YTEuMjY5LDEuMjY5LDAsMCwxLDEuMjY5LTEuMjY5aDguOTkyYTEuMjY5LDEuMjY5LDAsMCwxLC45LjM3MWwyLjQzLDIuNDNhMS4yNjgsMS4yNjgsMCwwLDEsLjM3MS45djIuMDEzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjQ0Ljc1IC0zODIuNzUpIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik0yMTMuMjUsNDk2LjI1djQuMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE5OS40ODggLTQ4NC4yNTcpIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik0yMTAuMjUsNDk5LjI1aDQuMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE5OC41OSAtNDg1LjE1NSkiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgIconAttachPlusO = props => {\"+\"};\nexport { SvgIconAttachPlusO as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNSIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDM1IDI0Ij4NCiAgICA8cmVjdCB3aWR0aD0iMzUiIGhlaWdodD0iMjQiIHN0eWxlPSJmaWxsOm5vbmUiLz4NCiAgICA8cGF0aCBkPSJNMTMuODgxIDE1LjM0OFY3LjM0QTYuNjQgNi42NCAwIDEgMCAuNiA3LjM0djEwLjkzOGE0LjM5NCA0LjM5NCAwIDEgMCA4Ljc4OSAwVjcuMzRhMi4xNDggMi4xNDggMCAwIDAtNC4zIDB2OS41NyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNC43OCAwLjMxMykgdHJhbnNsYXRlKDAuNiAwLjcpIHRyYW5zbGF0ZSgtMC42IC0wLjcpIiBzdHlsZT0ic3Ryb2tlOiNmZjlkMWY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoxLjVweDtmaWxsOm5vbmUiLz4NCiAgICA8dGV4dCB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNCAxNykiIHN0eWxlPSJmaWxsOiNmZjlkMWY7Zm9udC1zaXplOjE0cHg7Zm9udC1mYW1pbHk6T3ZlcnBhc3MtUmVndWxhciwgT3ZlcnBhc3MiPjx0c3BhbiB4PSIwIiB5PSIwIj4rPC90c3Bhbj48L3RleHQ+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconAttachPlus = props => {\"+\"};\nexport { SvgIconAttachPlus as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNSIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDM1IDI0Ij4NCiAgICA8cmVjdCB3aWR0aD0iMzUiIGhlaWdodD0iMjQiIHN0eWxlPSJmaWxsOm5vbmUiIC8+DQogICAgPHBhdGgNCiAgICAgICAgZD0iTTEzLjg4MSAxNS4zNDhWNy4zNEE2LjY0IDYuNjQgMCAxIDAgLjYgNy4zNHYxMC45MzhhNC4zOTQgNC4zOTQgMCAxIDAgOC43ODkgMFY3LjM0YTIuMTQ4IDIuMTQ4IDAgMCAwLTQuMyAwdjkuNTciDQogICAgICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuNzggMC4zMTMpIHRyYW5zbGF0ZSgwLjYgMC43KSB0cmFuc2xhdGUoLTAuNiAtMC43KSINCiAgICAgICAgc3R5bGU9InN0cm9rZTojNmQ3ZTkwO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7ZmlsbDpub25lIiAvPg0KICAgIDx0ZXh0IHRyYW5zZm9ybT0idHJhbnNsYXRlKDI0IDE3KSIgc3R5bGU9ImZpbGw6IzZkN2U5MDtmb250LXNpemU6MTRweDtmb250LWZhbWlseTpPdmVycGFzcy1SZWd1bGFyLCBPdmVycGFzcyI+DQogICAgICAgIDx0c3BhbiB4PSIwIiB5PSIwIj4rPC90c3Bhbj4NCiAgICA8L3RleHQ+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconFolder = props => ;\nexport { SvgIconFolder as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmEsLmJ7ZmlsbDpub25lO30uYntzdHJva2U6IzQ4NDg0ODtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLXdpZHRoOjEuM3B4O308L3N0eWxlPjwvZGVmcz48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ4MC43NSAtNTI3LjI1KSI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDg0Ljc1IDUzMi4yNSkiPjxwYXRoIGNsYXNzPSJiIiBkPSJNNDk4LjYxNiw1MzcuNTgzVjUzNS40NWExLjA2NywxLjA2NywwLDAsMC0xLjA2Ny0xLjA2N2gtNy40NjZ2LTEuMDY3YTEuMDY3LDEuMDY3LDAsMCwwLTEuMDY3LTEuMDY3aC0zLjJhMS4wNjcsMS4wNjcsMCwwLDAtMS4wNjcsMS4wNjd2MTEuNTkxYTEuMjA5LDEuMjA5LDAsMCwwLDIuMzcyLjMxMWwxLjY3Mi02Ljg2N2ExLjA2NiwxLjA2NiwwLDAsMSwxLjAyNS0uNzY5aDkuODY0YTEuMDY3LDEuMDY3LDAsMCwxLDEuMDMxLDEuMzQxbC0xLjU2NCw2LjRhMS4wNjcsMS4wNjcsMCwwLDEtMS4wMzEuNzkySDQ4NS45NTciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00ODQuNzUgLTUzMi4yNSkiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgIconArrowDown = props => ;\nexport { SvgIconArrowDown as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+DQogIDxwYXRoIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiIGQ9Ik0wIDBoMjR2MjRIMHoiIGRhdGEtbmFtZT0iaWNvbi1iZyIvPg0KICA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNlNWU2ZWMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjIiIGQ9Im0xOCA5LjYtNS43IDUuN2EuNC40IDAgMCAxLS42IDBMNiA5LjYiIGRhdGEtbmFtZT0iU2hhcGUgMjQ4Ii8+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconArrowUp = props => ;\nexport { SvgIconArrowUp as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+DQogIDxwYXRoIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiIGQ9Ik0wIDBoMjR2MjRIMHoiIGRhdGEtbmFtZT0iaWNvbi1iZyIvPg0KICA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiM5OTlhOWMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjIiIGQ9Im0xOCAxNS40LTUuNy01LjdhLjQuNCAwIDAgMC0uNiAwTDYgMTUuNCIgZGF0YS1uYW1lPSJTaGFwZSAyNDgiLz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgNotFound = props => ;\nexport { SvgNotFound as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTEuNyIgaGVpZ2h0PSIxMjAuNyIgdmlld0JveD0iMCAwIDExMS43IDEyMC43Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPi5he2ZpbGw6I2ZmOWQxZjt9LmJ7ZmlsbDpub25lO3N0cm9rZTojZmZmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6M3B4O308L3N0eWxlPg0KICA8L2RlZnM+DQogIDxwYXRoIGNsYXNzPSJhIiBkPSJNODE3LjUsMjE3LjE1aDU1YTI4LjM1LDI4LjM1LDAsMCwxLDI4LjM1LDI4LjM1djU1YTI4LjM1LDI4LjM1LDAsMCwxLTI4LjM1LDI4LjM1aC0xOWwtNy41LDktNy41LTloLTIxYTI4LjM1LDI4LjM1LDAsMCwxLTI4LjM1LTI4LjM1di01NUEyOC4zNSwyOC4zNSwwLDAsMSw4MTcuNSwyMTcuMTVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzg5LjE1IC0yMTcuMTUpIi8+DQogIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQyLjggMzYuMjU0KSI+DQogICAgPHBhdGggY2xhc3M9ImIiIGQ9Ik0xMzYuMDQyLDE0OS45MThsMjYsMTUuMmEyLjEsMi4xLDAsMCwxLDAsMy42bC0yNiwxNS4yYTIuMDQsMi4wNCwwLDAsMS0zLjA1NS0xLjhWMTUxLjcxOUEyLjA0LDIuMDQsMCwwLDEsMTM2LjA0MiwxNDkuOTE4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEzMi45ODcgLTE0OS42NCkiLz4NCiAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgMarker = props => ;\nexport { SvgMarker as ReactComponent };\nexport default \"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE2LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgd2lkdGg9IjExOC4xcHgiIGhlaWdodD0iMTE4LjFweCIgdmlld0JveD0iMCAwIDExOC4xIDExOC4xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMTguMSAxMTguMTsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQoJPg0KPGc+DQoJPHBhdGggZmlsbD0iIzQ4NDg0OCIgZD0iTTU5LDBDMzQuNCwwLDE0LjUsMTkuOSwxNC41LDQ0LjVjMCwxMi44LDYuNCwyNC40LDEyLjcsMzUuMWM3LjcsMTMuMzAxLDE2LjksMjUuNywyNy42LDM2LjdjMi4zLDIuMzk5LDYuMTAxLDIuMzk5LDguNSwwDQoJCUM3Mi43LDEwNyw4MSw5Ni41LDg4LDg1LjNjNy41LTEyLjEwMSwxNS42LTI2LjEwMSwxNS42LTQwLjhDMTAzLjUsMjAsODMuNiwwLDU5LDB6IE01OSw3MC4zYy0xNC45LDAtMjctMTIuMS0yNy0yN3MxMi4xLTI3LDI3LTI3DQoJCWMxNC45LDAsMjcsMTIsMjcsMjdTNzMuOSw3MC4zLDU5LDcwLjN6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgMarkerGreen = props => ;\nexport { SvgMarkerGreen as ReactComponent };\nexport default \"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE2LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgd2lkdGg9IjExOC4xcHgiIGhlaWdodD0iMTE4LjFweCIgdmlld0JveD0iMCAwIDExOC4xIDExOC4xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMTguMSAxMTguMTsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQoJPg0KPGc+DQoJPHBhdGggZmlsbD0iIzAwYjUyOSIgZD0iTTU5LDBDMzQuNCwwLDE0LjUsMTkuOSwxNC41LDQ0LjVjMCwxMi44LDYuNCwyNC40LDEyLjcsMzUuMWM3LjcsMTMuMzAxLDE2LjksMjUuNywyNy42LDM2LjdjMi4zLDIuMzk5LDYuMTAxLDIuMzk5LDguNSwwDQoJCUM3Mi43LDEwNyw4MSw5Ni41LDg4LDg1LjNjNy41LTEyLjEwMSwxNS42LTI2LjEwMSwxNS42LTQwLjhDMTAzLjUsMjAsODMuNiwwLDU5LDB6IE01OSw3MC4zYy0xNC45LDAtMjctMTIuMS0yNy0yN3MxMi4xLTI3LDI3LTI3DQoJCWMxNC45LDAsMjcsMTIsMjcsMjdTNzMuOSw3MC4zLDU5LDcwLjN6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgAppStore = props => ;\nexport { SvgAppStore as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/app-store.f75a7bc9.svg\";","import * as React from \"react\";\nconst SvgBidIconConversation = props => ;\nexport { SvgBidIconConversation as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBkYXRhLW5hbWU9ImJpZCB3aGl0ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+DQogICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIvPg0KICAgIDxnIGRhdGEtbmFtZT0iR3JvdXAgOTg0NCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS41IDIpIj4NCiAgICAgICAgPGcgZGF0YS1uYW1lPSJUb29scy1Db25zdHJ1Y3Rpb24gLyBUb29scyAvIHRvb2xzLWhhbW1lci0yIj4NCiAgICAgICAgICAgIDxnIG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gICAgICAgICAgICAgPHBhdGggZGF0YS1uYW1lPSJTaGFwZSA0OSIgZD0iTTkuMTI0IDUuMDU4YTEuNDEyIDEuNDEyIDAgMCAxLTEuOTQgMCAxLjI3OSAxLjI3OSAwIDAgMSAwLTEuODYzTDEwLjA5Mi40MDRhMS40MSAxLjQxIDAgMCAxIDEuMzMzLS4zNTkgMS4zNDUgMS4zNDUgMCAwIDEgLjk3OS45NCAxLjI4MiAxLjI4MiAwIDAgMS0uMzc0IDEuMjc5eiIvPg0KICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgIDwvZz4NCiAgICAgICAgPC9nPg0KICAgICAgICA8cmVjdCBkYXRhLW5hbWU9IlJlY3RhbmdsZSA2MzQyIiB3aWR0aD0iOC42NCIgaGVpZ2h0PSIyLjk4NiIgcng9Ii44NzIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDExLjU0NyAxNi40MSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMiIvPg0KICAgIDwvZz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgBidIconPale = props => ;\nexport { SvgBidIconPale as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBkYXRhLW5hbWU9ImJpZCB3aGl0ZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+DQogICAgPHBhdGggZD0iTTAgMGgyNHYyNEgweiIgZmlsbD0ibm9uZSIgLz4NCiAgICA8ZyBkYXRhLW5hbWU9Ikdyb3VwIDk4NDQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEuNSAyKSI+DQogICAgICAgIDxnIGRhdGEtbmFtZT0iVG9vbHMtQ29uc3RydWN0aW9u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5N2ExLjQxMyAxLjQxMyAwIDAgMS0xLjk0IDAgMS4yOCAxLjI4IDAgMCAxIDAtMS44NjJsMi45MDgtMi43OTFhMS40MTMgMS40MTMgMCAwIDEgMS45NDEgMCAxLjI4MSAxLjI4MSAwIDAgMSAwIDEuODYzeiIgLz4NCiAgICAgICAgICAgICAgICAgICAgPHBhdGggZGF0YS1uYW1lPSJTaGFwZSA0OSINCiAgICAgICAgICAgICAgICAgICAgICAgIGQ9Ik05LjEyNCA1LjA1OGExLjQxMiAxLjQxMiAwIDAgMS0xLjk0IDAgMS4yNzkgMS4yNzkgMCAwIDEgMC0xLjg2M0wxMC4wOTIuNDA0YTEuNDEgMS40MSAwIDAgMSAxLjMzMy0uMzU5IDEuMzQ1IDEuMzQ1IDAgMCAxIC45NzkuOTQgMS4yODIgMS4yODIgMCAwIDEtLjM3NCAxLjI3OXoiIC8+DQogICAgICAgICAgICAgICAgPC9nPg0KICAgICAgICAgICAgPC9nPg0KICAgICAgICA8L2c+DQogICAgICAgIDxyZWN0IGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDYzNDIiIHdpZHRoPSI4LjY0IiBoZWlnaHQ9IjIuOTg2IiByeD0iLjg3MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTEuNTQ3IDE2LjQxKSINCiAgICAgICAgICAgIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzZEN0U5MCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMiIgLz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCheckmarkBadgeGreen = props => ;\nexport { SvgCheckmarkBadgeGreen as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE3IiBzdHJva2U9IiMwMGI1MjkiPg0KICAgIDxnIGZpbGw9Im5vbmUiIGNsaXAtcGF0aD0idXJsKCNhKSI+DQogICAgICAgIDxwYXRoIHN0cm9rZT0ibm9uZSIgZD0iTTAgMGgxNnYxNkgweiIvPg0KICAgICAgICA8ZyBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4xIj4NCiAgICAgICAgICAgIDxwYXRoIGQ9Im01LjU2NyA4LjAzNyAxLjIgMS43YS41MTMuNTEzIDAgMCAwIC44MzUuMDI1bDMuODM0LTQuODUzIi8+DQogICAgICAgICAgICA8cGF0aCBkPSJNMy43MzMgM0EuNzMzLjczMyAwIDAgMCAzIDMuNzMzdjQuNGMwIDIuMzUzIDMuNTM3IDQuOTcyIDQuNzM5IDUuNzQ5YS43MjIuNzIyIDAgMCAwIC43ODkgMGMxLjItLjc3OCA0LjczOS0zLjQgNC43MzktNS43NDl2LTQuNEEuNzMzLjczMyAwIDAgMCAxMi41MzQgM3oiLz4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgFacebook = props => ;\nexport { SvgFacebook as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNCIgaGVpZ2h0PSIzNCIgdmlld0JveD0iMCAwIDM0IDM0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTM0LDE3LjFBMTcsMTcsMCwxLDAsMTQuMzQ0LDM0VjIyLjA0OEgxMC4wMjdWMTcuMWg0LjMxNlYxMy4zMzVjMC00LjI4OSwyLjUzNy02LjY1NCw2LjQyMS02LjY1NGEyNS45OTIsMjUuOTkyLDAsMCwxLDMuODA1LjMzNHY0LjIwOUgyMi40MjVBMi40NjMsMi40NjMsMCwwLDAsMTkuNjU2LDEzLjlWMTcuMWg0LjcxNWwtLjc1LDQuOTQ0SDE5LjY1NlYzNEExNy4wODUsMTcuMDg1LDAsMCwwLDM0LDE3LjFaIi8+PC9zdmc+\";","import * as React from \"react\";\nconst SvgGooglePlay = props => ;\nexport { SvgGooglePlay as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/google-play.9f117eee.svg\";","import * as React from \"react\";\nconst SvgIconAddAvatar24Px = props => ;\nexport { SvgIconAddAvatar24Px as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+DQogICAgPGRlZnM+DQogICAgICAgIDxzdHlsZT4NCiAgICAgICAgICAgIC5ie2ZpbGw6bm9uZTtzdHJva2U6I2Y3ZjlmYjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLXdpZHRoOjEuMnB4fQ0KICAgICAgICA8L3N0eWxlPg0KICAgIDwvZGVmcz4NCiAgICA8cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDI0djI0SDB6Ii8+DQogICAgPHBhdGggY2xhc3M9ImIiIGQ9Ik0xMi4yNyAxMy42MzRhNS45NzIgNS45NzIgMCAxIDAtNi4wMDgtNS45NzIgNS45OSA1Ljk5IDAgMCAwIDYuMDA4IDUuOTcyek0yMS41MzkgMjIuMzA4YTkuODUyIDkuODUyIDAgMCAwLTE4LjUzOSAwIi8+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconAddAvatar = props => ;\nexport { SvgIconAddAvatar as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBkYXRhLW5hbWU9Imljb24tYmciIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiIGQ9Ik0wIDBoMjR2MjRIMHoiLz4NCiAgICA8ZyBkYXRhLW5hbWU9Ikdyb3VwIDEwNzc3Ij4NCiAgICAgICAgPGcgZGF0YS1uYW1lPSJJbnRlcmZhY2UtRXNzZW50aWFsIC8gRmFjZUlEIC8gZmFjZS1pZC00Ij4NCiAgICAgICAgICAgIDxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzJlMmUyZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMiIgZGF0YS1uYW1lPSJHcm91cCA4NSI+DQogICAgICAgICAgICAgICAgPHBhdGggZGF0YS1uYW1lPSJPdmFsIDQ3IiBkPSJNMTIuMjcgMTMuNjM0YTUuOTcyIDUuOTcyIDAgMSAwLTYuMDA4LTUuOTcyIDUuOTkgNS45OSAwIDAgMCA2LjAwOCA1Ljk3MnoiLz4NCiAgICAgICAgICAgICAgICA8cGF0aCBkYXRhLW5hbWU9IlNoYXBlIDQxMyIgZD0iTTIxLjUzOSAyMi4zMDhhOS44NTIgOS44NTIgMCAwIDAtMTguNTM5IDAiLz4NCiAgICAgICAgICAgIDwvZz4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgIconSoundOff = props => ;\nexport { SvgIconSoundOff as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1zb3VuZC1vZmYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPg0KICA8ZyBpZD0iaWNvbi1iZyI+DQogICAgPHJlY3QgaWQ9Imljb24tYmctMiIgZGF0YS1uYW1lPSJpY29u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ik0zNTMuMjUxLDIxODN2NS4xNzciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zNDkuMzY4IC0yMTc5LjExNykiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2Y3ZjlmYiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPg0KICAgICAgICA8cGF0aCBpZD0iU2hhcGVfOTcyIiBkYXRhLW5hbWU9IlNoYXBlIDk3MiIgZD0iTTM3MC41MjksMjE4My4zOGwtNC41Myw0LjUzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzUxLjExNyAtMjE3OS4xNjkpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmN2Y5ZmIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4NCiAgICAgICAgPHBhdGggaWQ9IlNoYXBlXzk3MyIgZGF0YS1uYW1lPSJTaGFwZSA5NzMiIGQ9Ik0zNjYsMjE4My4zOGw0LjUzLDQuNTMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zNTEuMTE3IC0yMTc5LjE2OSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2Y3ZjlmYiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPg0KICAgICAgPC9nPg0KICAgIDwvZz4NCiAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgIconSoundOn = props => ;\nexport { SvgIconSoundOn as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R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EzMS4xMTcpIi8+PC9nPjwvZz48L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconUnverified = props => ;\nexport { SvgIconUnverified as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE3Ij4NCiAgPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjREMyQjBBIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIiBkPSJNMy43MyAzYS43My43MyAwIDAgMC0uNzMuNzN2NC40YzAgMi4zNiAzLjU0IDQuOTggNC43NCA1Ljc1YS43Mi43MiAwIDAgMCAuNzkgMGMxLjItLjc4IDQuNzQtMy40IDQuNzQtNS43NXYtNC40YS43My43MyAwIDAgMC0uNzQtLjczWm0yLjU1IDYuMzUgMy43LTMuN20tMy43IDAgMy43IDMuNyIvPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgInstagram = props => ;\nexport { SvgInstagram as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNCIgaGVpZ2h0PSIzNCIgdmlld0JveD0iMCAwIDM0IDM0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTIxNC4zNjgsMjEwLjY4NEEzLjY4NCwzLjY4NCwwLDEsMSwyMTAuNjg0LDIwNywzLjY4NCwzLjY4NCwwLDAsMSwyMTQuMzY4LDIxMC42ODRabTAsMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTE5My42ODQgLTE5My42ODQpIi8+PHBhdGggY2xhc3M9ImEiIGQ9Ik0xNTIuMDA3LDE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FptOS43LDIxLjAyNWE3LjE2Miw3LjE2MiwwLDAsMS0uNDU0LDIuMzcsNC45OTEsNC45OTEsMCwwLDEtMi44NTUsMi44NTUsNy4xNjcsNy4xNjcsMCwwLDEtMi4zNjkuNDU0Yy0xLjA0MS4wNDctMS4zNzQuMDU5LTQuMDI1LjA1OXMtMi45ODQtLjAxMS00LjAyNS0uMDU5YTcuMTY3LDcuMTY3LDAsMCwxLTIuMzY5LS40NTQsNC45OTEsNC45OTEsMCwwLDEtMi44NTUtMi44NTVBNy4xNiw3LjE2LDAsMCwxLDcuMywyMS4wMjVjLS4wNDgtMS4wNDEtLjA1OS0xLjM3NC0uMDU5LTQuMDI1cy4wMTEtMi45ODQuMDU5LTQuMDI1YTcuMTYzLDcuMTYzLDAsMCwxLC40NTMtMi4zNyw0Ljk5NSw0Ljk5NSwwLDAsMSwyLjg1NS0yLjg1NSw3LjE2OSw3LjE2OSwwLDAsMSwyLjM3LS40NTRjMS4wNDEtLjA0NywxLjM3NC0uMDU5LDQuMDI1LS4wNTlzMi45ODQuMDExLDQuMDI1LjA1OWE3LjE3LDcuMTcsMCwwLDEsMi4zNy40NTMsNC45OTMsNC45OTMsMCwwLDEsMi44NTUsMi44NTUsNy4xNjEsNy4xNjEsMCwwLDEsLjQ1NCwyLjM3Yy4wNDcsMS4wNDEuMDU5LDEuMzc0LjA1OSw0LjAyNVMyNi43NTEsMTkuOTg0LDI2LjcsMjEuMDI1Wm0wLDAiLz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgLinkedin = props => ;\nexport { SvgLinkedin as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNCIgaGVpZ2h0PSIzNCIgdmlld0JveD0iMCAwIDM0IDM0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3LDBBMTcsMTcsMCwxLDAsMzQsMTcsMTcsMTcsMCwwLDAsMTcsMFpNMTIuMDYsMjUuN0g3LjkyVjEzLjI0M2g0LjE0Wk05Ljk5LDExLjU0Mkg5Ljk2M2EyLjE1OCwyLjE1OCwwLDEsMSwuMDU0LTQuMywyLjE1OSwyLjE1OSwwLDEsMS0uMDI3LDQuM1ptMTcsMTQuMTU3aC00LjE0VjE5LjAzNmMwLTEuNjc1LS42LTIuODE3LTIuMS0yLjgxN2EyLjI2NiwyLjI2NiwwLDAsMC0yLjEyNCwxLjUxNCwyLjgzNSwyLjgzNSwwLDAsMC0uMTM2LDEuMDFWMjUuN2gtNC4xNHMuMDU0LTExLjI4OCwwLTEyLjQ1Nmg0LjE0djEuNzY0YTQuMTEsNC4xMSwwLDAsMSwzLjczMS0yLjA1NmMyLjcyNCwwLDQuNzY2LDEuNzgsNC43NjYsNS42MDZabTAsMCIvPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgLogo = props => ;\nexport { SvgLogo as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/logo.30a07894.svg\";","import * as React from \"react\";\nconst SvgTwitter = props => ;\nexport { SvgTwitter as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi14IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMzMuOTk4IiBoZWlnaHQ9IjMzLjk5OCIgdmlld0JveD0iMCAwIDMzLjk5OCAzMy45OTgiPg0KICA8ZGVmcz4NCiAgICA8Y2xpcFBhdGggaWQ9ImNsaXAtcGF0aCI+DQogICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlXzY3NTMiIGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDY3NTMiIHdpZHRoPSIzMy45OTgiIGhlaWdodD0iMzMuOTk4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIiBmaWxsPSJub25lIi8+DQogICAgPC9jbGlwUGF0aD4NCiAgPC9kZWZzPg0KICA8ZyBpZD0iR3JvdXBfMTA5MjkiIGRhdGEtbmFtZT0iR3JvdXAgMTA5MjkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMCkiIGNsaXAtcGF0aD0idXJsKCNjbGlwLXBhdGgpIj4NCiAgICA8cGF0aCBpZD0iUGF0aF8zMjczOSIgZGF0YS1uYW1lPSJQYXRoIDMyNzM5IiBkPSJNMTcsMEExNywxNywwLDEsMCwzNCwxNywxNywxNywwLDAsMCwxNywwbTMuNTgyLDI1LjQ1Ni00LjUyMi01LjkxMy01LjE3NSw1LjkxM0g4LjAxM2w2LjcwNS03LjY2M0w3LjY0NCw4LjU0M2g1LjkybDQuMDg4LDUuNCw0LjcyOC01LjRoMi44NjlsLTYuMjY4LDcuMTY0LDcuMzc0LDkuNzQ5WiIgZmlsbD0iI2ZmZiIvPg0KICAgIDxwYXRoIGlkPSJQYXRoXzMyNzQwIiBkYXRhLW5hbWU9IlBhdGggMzI3NDAiIGQ9Ik0xMC45OTQsMTAuMTcsMjEuMzczLDIzLjczOWgxLjU5TDEyLjcsMTAuMTdaIiBmaWxsPSIjZmZmIi8+DQogIDwvZz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgYoutube = props => ;\nexport { SvgYoutube as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNCIgaGVpZ2h0PSIzNCIgdmlld0JveD0iMCAwIDM0IDM0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDojZmZmO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iYSIgZD0iTTIyNC4xMTMsMjE1LjI1MWw2LjI2MS0zLjYwNi02LjI2MS0zLjYwNlptMCwwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjA5LjYxMyAtMTk0LjY0NSkiLz48cGF0aCBjbGFzcz0iYSIgZD0iTTE3LDBBMTcsMTcsMCwxLDAsMzQsMTcsMTcsMTcsMCwwLDAsMTcsMFpNMjcuNjIyLDE3LjAxN2EyOC4wNTgsMjguMDU4LDAsMCwxLS40MzcsNS4xMUEyLjY2MiwyLjY2MiwwLDAsMSwyNS4zMTIsMjRjLTEuNjYyLjQzOC04LjMxMi40MzgtOC4zMTIuNDM4cy02LjYzMywwLTguMzEyLS40NTVBMi42NjIsMi42NjIsMCwwLDEsNi44MTUsMjIuMTEsMjcuOTM1LDI3LjkzNSwwLDAsMSw2LjM3NywxN2EyOC4wMzksMjguMDM5LDAsMCwxLC40MzgtNS4xMUEyLjcxNiwyLjcxNiwwLDAsMSw4LjY4OCwxMEMxMC4zNSw5LjU2MywxNyw5LjU2MywxNyw5LjU2M3M2LjY1LDAsOC4zMTIuNDU1YTIuNjYyLDIuNjYyLDAsMCwxLDEuODczLDEuODczQTI2LjYyNiwyNi42MjYsMCwwLDEsMjcuNjIyLDE3LjAxN1ptMCwwIi8+PC9zdmc+\";","import * as React from \"react\";\nconst SvgAppstore = props => ;\nexport { SvgAppstore as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/appstore.d4d081f3.svg\";","import * as React from \"react\";\nconst SvgGoogleplay = props => ;\nexport { SvgGoogleplay as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/googleplay.ab1ff1d1.svg\";","import * as React from \"react\";\nconst SvgClose = props => ;\nexport { SvgClose as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6IzQ4NDg0ODtzdHJva2U6IzQ4NDg0ODtzdHJva2Utd2lkdGg6MC41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTE1LjUsMTZhLjUuNSwwLDAsMS0uMzUzLS4xNDdMOCw4LjcwNi44NTMsMTUuODUxYS41LjUsMCwwLDEtLjcwNywwLC41LjUsMCwwLDEsMC0uNzA3TDcuMjkzLDgsLjE0Ny44NTJhLjUuNSwwLDAsMSwwLS43MDcuNS41LDAsMCwxLC43MDcsMEw4LDcuMjkxLDE1LjE0Ni4xNDVBLjUuNSwwLDAsMSwxNiwuNWEuNS41LDAsMCwxLS4xNDcuMzUzTDguNzA2LDhsNy4xNDYsNy4xNDZBLjUuNSwwLDAsMSwxNS41LDE2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNC41IDQuNTAyKSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconsBack = props => ;\nexport { SvgIconsBack as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7ZmlsbC1ydWxlOmV2ZW5vZGQ7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTEzLjMxLDE4Ljc0NSw1LjQ3MSwxMC4xNzFhLjYzOS42MzksMCwwLDEsMC0uODQ4TDEzLjMxLjc1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjE5IDIuNzUpIi8+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgRefresh = props => ;\nexport { SvgRefresh as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNC4wMzQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNC4wMzQgMjQiPg0KICAgIDxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0wIDBoMjR2MjRIMHoiLz4NCiAgICA8ZyBzdHJva2U9IiM0ODQ4NDgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGZpbGw9Im5vbmUiPg0KICAgICAgICA8cGF0aCBkPSJNMTguMjMgNi44OWE4LjAwNyA4LjAwNyAwIDAwLTE0LjE4MiA1LjA5djIuMTg2TTYuMjMxIDE3LjQ4YTguMDA3IDguMDA3IDAgMDAxMy44My01LjQ5NXYtMS40NTYiLz4NCiAgICAgICAgPHBhdGggZD0iTTEuMTM2IDExLjI1OWwyLjkxMiAyLjkxIDIuOTEyLTIuOTFNMjIuOTczIDEzLjQ0MmwtMi45MTItMi45MTEtMi45MTIgMi45MTEiLz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgBackhauls = props => ;\nexport { SvgBackhauls as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHN0eWxlPi5he2ZpbGw6cmdiYSgyNTUsMjU1LDI1NSwwKTt9LmJ7ZmlsbDpub25lO3N0cm9rZTojMjczMTNjO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4ycHg7fTwvc3R5bGU+DQogICAgPC9kZWZzPg0KICAgIDxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4NCiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjQ1IDQuNDcyKSI+DQogICAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNNC4zODUsNC41Ljc1LDguMTMzbDMuNjM1LDMuNjM1Ii8+DQogICAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNLjc1LDkuNzQ4SDE1LjI4OWExLjAzOCwxLjAzOCwwLDAsMSwxLjAzOCwxLjAzOHY2LjIzMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMS42MTUpIi8+DQogICAgPC9nPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgClose = props => ;\nexport { SvgClose as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6IzQ4NDg0ODtzdHJva2U6IzQ4NDg0ODtzdHJva2Utd2lkdGg6MC41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTE1LjUsMTZhLjUuNSwwLDAsMS0uMzUzLS4xNDdMOCw4LjcwNi44NTMsMTUuODUxYS41LjUsMCwwLDEtLjcwNywwLC41LjUsMCwwLDEsMC0uNzA3TDcuMjkzLDgsLjE0Ny44NTJhLjUuNSwwLDAsMSwwLS43MDcuNS41LDAsMCwxLC43MDcsMEw4LDcuMjkxLDE1LjE0Ni4xNDVBLjUuNSwwLDAsMSwxNiwuNWEuNS41LDAsMCwxLS4xNDcuMzUzTDguNzA2LDhsNy4xNDYsNy4xNDZBLjUuNSwwLDAsMSwxNS41LDE2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNC41IDQuNTAyKSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCompanyLoads = props => ;\nexport { SvgCompanyLoads as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYntmaWxsOm5vbmU7c3Ryb2tlOiMyNzMxM2M7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luO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LDEyOS40Njl2Ljg0OSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ0Ny4yOTMgLTExOS44NTUpIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik00NTIuMDYyLDEyMi4yNXYuODQ5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQ3LjI5MyAtMTE4LjU1OCkiLz48cGF0aCBjbGFzcz0iYiIgZD0iTTQ1NiwxMzJoNC45NDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00NDguMDE0IC0xMjAuMzA4KSIvPjxwYXRoIGNsYXNzPSJiIiBkPSJNNDUwLjc1LDEzNi41aDkuMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ0Ny4wNDQgLTEyMS4xMjcpIi8+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCompany = props => ;\nexport { SvgCompany as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHN0eWxlPi5he2ZpbGw6cmdiYSgyNTUsMjU1LDI1NSwwKTt9LmJ7ZmlsbDpub25lO3N0cm9rZTojMjczMTNjO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4ycHg7fTwvc3R5bGU+DQogICAgPC9kZWZzPg0KICAgIDxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4NCiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjI1IDIuODI3KSI+DQogICAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNOC4yMTcsNS42MjNoNy44MzhhLjcuNywwLDAsMSwuNy42OVYxNi42NjJhLjcuNywwLDAsMS0uNy42ODlIMS40NDVhLjcuNywwLDAsMS0uNy0uNjg5VjYuMzEzYS43LjcsMCwwLDEsLjctLjY5aDIuNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMS4wNzkpIi8+DQogICAgICAgIDxsaW5lIGNsYXNzPSJiIiB4Mj0iNS44NzciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDguNzM2IDkuMzQpIi8+DQogICAgICAgIDxsaW5lIGNsYXNzPSJiIiB4Mj0iOS42MTciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuOTk2IDEyLjUzOSkiLz4NCiAgICAgICAgPHBhdGggY2xhc3M9ImIiIGQ9Ik0zLjc1LDQuNTQ0VjMuNDc2YTEuNiwxLjYsMCwwLDEsMS42LTEuNmgwYTEuNiwxLjYsMCwwLDEsMS42LDEuNlY4LjI4NEExLjA2OSwxLjA2OSwwLDAsMSw1Ljg4Nyw5LjM1M2gwQTEuMDY5LDEuMDY5LDAsMCwxLDQuODE5LDguMjg0di0xLjYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0wLjg2MykiLz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCreditRating = props => ;\nexport { SvgCreditRating as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHN0eWxlPi5he2ZpbGw6cmdiYSgyNTUsMjU1LDI1NSwwKTt9LmJ7ZmlsbDpub25lO3N0cm9rZTojMjczMTNjO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4ycHg7fTwvc3R5bGU+DQogICAgPC9kZWZzPg0KICAgIDxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4NCiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjI1IDIuMjUpIj4NCiAgICAgICAgPHJlY3QgY2xhc3M9ImIiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxMS43MzMiIHJ4PSIxLjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuNzUgMy43NSkiLz4NCiAgICAgICAgPHBhdGggY2xhc3M9ImIiIGQ9Ik0zLjc1LDEzLjEwOSw1Ljk4LDkuMzMsOCwxMy4xMDlsMi4xMjQtMi4xNiwyLjEyNCwyLjE2TDE1LjQzLDguMjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0wLjg0IC0xLjMyNykiLz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCreditReport = props => ;\nexport { SvgCreditReport as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0IDMpIj48c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LDEzMmg0Ljk0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQ3Ljk3MyAtMTIwLjI2OCkiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTQ1MC43NSwxMzYuNWg5LjI2MiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ0Ny4wNDUgLTEyMS4wNjMpIi8+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconFavoriteOff = props => ;\nexport { SvgIconFavoriteOff as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxwYXRoIGQ9Ik0xMS45OTcgMjAuNDg1bC03LjMtNy42MTNhNC4zMiA0LjMyIDAgMCAxLS44MDktNC45ODZoMGE0LjMxOSA0LjMxOSAwIDAgMSA2LjkxNy0xLjEyMmwxLjE5MiAxLjE5MiAxLjE5Mi0xLjE5MmE0LjMxOSA0LjMxOSAwIDAgMSA2LjkxNyAxLjEyMmgwYTQuMzIgNC4zMiAwIDAgMS0uODA5IDQuOTg2eiIgZmlsbD0iI2ZmOWQxZiIgc3Ryb2tlPSIjZmY5ZDFmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIi8+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconFavoriteOn = props => ;\nexport { SvgIconFavoriteOn as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxwYXRoIGQ9Ik0xMS45OTcgMjAuNDg1bC03LjMtNy42MTNhNC4zMiA0LjMyIDAgMCAxLS44MDktNC45ODZoMGE0LjMxOSA0LjMxOSAwIDAgMSA2LjkxNy0xLjEyMmwxLjE5MiAxLjE5MiAxLjE5Mi0xLjE5MmE0LjMxOSA0LjMxOSAwIDAgMSA2LjkxNyAxLjEyMmgwYTQuMzIgNC4zMiAwIDAgMS0uODA5IDQuOTg2eiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjczMTNjIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIi8+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconOnboardedOff = props => ;\nexport { SvgIconOnboardedOff as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQgNCkiIGZpbGw9IiMwMGI1MjkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjEuMiI+DQogICAgICAgIDxyZWN0IHdpZHRoPSIxNS44OSIgaGVpZ2h0PSIxNS44OSIgcng9IjEuNSIgc3Ryb2tlPSIjMDBiNTI5Ii8+DQogICAgICAgIDxwYXRoIGQ9Ik03Ljk0OCAyLjY0OEw0Ljc2NyA2Ljg4NSAyLjY0OCA0Ljc2N005LjUzNCA1LjI5N2gzLjE3OE03Ljk0OCA5LjAwNGwtMy4xODEgNC4yMzctMi4xMTktMi4xMThNOS41MzQgMTEuNjUzaDMuMTc4IiBzdHJva2U9IiNmZmYiLz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconOnboardedOn = props => ;\nexport { SvgIconOnboardedOn as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQgNCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI3MzEzYyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS13aWR0aD0iMS4yIj4NCiAgICAgICAgPHJlY3Qgd2lkdGg9IjE1Ljg5IiBoZWlnaHQ9IjE1Ljg5IiByeD0iMS41Ii8+DQogICAgICAgIDxwYXRoIGQ9Ik03Ljk0OCAyLjY0OEw0Ljc2NyA2Ljg4NSAyLjY0OCA0Ljc2N005LjUzNCA1LjI5N2gzLjE3OE03Ljk0OCA5LjAwNGwtMy4xODEgNC4yMzctMi4xMTktMi4xMThNOS41MzQgMTEuNjUzaDMuMTc4Ii8+DQogICAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgGoogleMap = props => ;\nexport { SvgGoogleMap as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodH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C44LDAsMCwwLS43ODguOTcyLDEyLjQ4NywxMi40ODcsMCwwLDAtMS45MjYsNC43LDEyLjM2OSwxMi4zNjksMCwwLDAtMi4xMjctNC45NzQsOC43NzYsOC43NzYsMCwwLDAtLjU4OC0uN2gwYTMuODQ5LDMuODQ5LDAsMCwxLS42MTUtNC42NThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjU5LjQxMikiLz48cGF0aCBjbGFzcz0iaiIgZD0iTTMyNy4wNiw1Ni45NDdBMi4wNDgsMi4wNDgsMCwxLDEsMzI1LjAxMiw1OSwyLjA0OCwyLjA0OCwwLDAsMSwzMjcuMDYsNTYuOTQ3WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMxNC41NiAtNTUuMTQ3KSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgIconAlerts = props => ;\nexport { SvgIconAlerts as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYntmaWxsOm5vbmU7c3Ryb2tlOiNmZjlkMWY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoxLjJweDt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuNiAyLjcpIj48cGF0aCBjbGFzcz0iYiIgZD0iTTUwNS4wMDUsMjc2OC43NWExLjcsMS43LDAsMCwwLDMuMjYsMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQ5OS4zMDcgLTI3NTEuNjU2KSIvPjxwYXRoIGNsYXNzPSJiIiBkPSJNNTA3LjAwNSwyNzQ5LjU4MnYtMS44MzIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00OTkuNjc5IC0yNzQ3Ljc1KSIvPjxwYXRoIGNsYXNzPSJiIiBkPSJNNTA1LjMzMSwyNzUwYTYuMSw2LjEsMCwwLDEsNi4xLDYuMWMwLDUuNzM1LDEuMjIxLDYuNzE1LDEuMjIxLDYuNzE1SDQ5OC4wMDVzMS4yMjEtMS41NiwxLjIyMS02LjcxNUE2LjEsNi4xLDAsMCwxLDUwNS4zMzEsMjc1MFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00OTguMDA1IC0yNzQ4LjE2OCkiLz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgLoadDocuments = props => ;\nexport { SvgLoadDocuments as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHN0eWxlPi5he2ZpbGw6cmdiYSgyNTUsMjU1LDI1NSwwKTt9LmJ7ZmlsbDpub25lO3N0cm9rZTojMjczMTNjO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4ycHg7fTwvc3R5bGU+DQogICAgPC9kZWZzPg0KICAgIDxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4NCiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTQ5LjAzNSAtMzUyLjc1KSI+DQogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU1NS4wMzUgMzU2Ljc1KSI+DQogICAgICAgICAgICA8cGF0aCBjbGFzcz0iYiIgZD0iTTU2Ni44MTUsMzc1LjM4NmwuMjIzLTIuNDU4YTIuMTg2LDIuMTg2LDAsMCwwLTEuNy0yLjMzMmwtMi43OTEtLjYydi0zLjYwOWExLjM2NywxLjM2NywwLDEsMC0yLjczMywwVjM3My4ybC0xLjM0Mi0xLjAwN2ExLjIxNywxLjIxNywwLDAsMC0xLjU1OCwxLjg2N2wxLjQzLDEuMzI2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTU1LjQzNyAtMzU4Ljk4NykiLz4NCiAgICAgICAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNNTU3LjIyMSwzNjYuNTg5aC0xLjA5M2ExLjA5MywxLjA5MywwLDAsMS0xLjA5My0xLjA5M3YtNy42NTNhMS4wOTMsMS4wOTMsMCwwLDEsMS4wOTMtMS4wOTNoOC43NDZhMS4wOTQsMS4wOTQsMCwwLDEsMS4wOTMsMS4wOTNWMzY1LjVhMS4wOTQsMS4wOTQsMCwwLDEtMS4wOTMsMS4wOTNoLS41NDciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01NTUuMDM1IC0zNTYuNzUpIi8+DQogICAgICAgICAgICA8cGF0aCBjbGFzcz0iYiIgZD0iTTU2MC4yODUsMzU2Ljc1aDMuMjh2My44MjZoLTMuMjhaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTU2LjQ1OSAtMzU2Ljc1KSIvPg0KICAgICAgICA8L2c+DQogICAgPC9nPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgCargoData = props => ;\nexport { SvgCargoData as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNTAxIDIzMiI+DQoJPHBhdGggZmlsbD0iIzEzYjUyOSIgZD0iTTExODIgMTFoMTM1bC02NyAxMTd6TTQyMCAxNDVoMTY2MnY2Nkg0MjB6Ii8+DQoJPHBhdGggZmlsbD0iIzZkN2U5MCIgZD0iTTM4IDIxMWEzMyAzMyAwIDAgMSAwLTY2aDM3NHY2NkgzOHptMjA1MCAwdi02NmgzNzVhMzMgMzMgMCAxIDEgMCA2NmgtMzc1eiIvPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgGreenscreensData = props => ;\nexport { SvgGreenscreensData as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDEiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAzMDEgMjUiPg0KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDE1KSI+DQogICAgPGcgZmlsbD0iIzZkN2U5MCIgc3Ryb2tlPSIjZTllZGYyIiBzdHJva2Utd2lkdGg9IjEiPg0KICAgICAgPHJlY3Qgd2lkdGg9IjMwMSIgaGVpZ2h0PSIxMCIgcng9IjUiIHN0cm9rZT0ibm9uZSIvPg0KICAgICAgPHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIzMDAiIGhlaWdodD0iOSIgcng9IjQuNSIgZmlsbD0ibm9uZSIvPg0KICAgIDwvZz4NCiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3NikiIGZpbGw9IiMxM2I1MjkiIHN0cm9rZT0iI2U5ZWRmMiIgc3Ryb2tlLXdpZHRoPSIxIj4NCiAgICAgIDxyZWN0IHdpZHRoPSIxNTAiIGhlaWdodD0iMTAiIHN0cm9rZT0ibm9uZSIvPg0KICAgICAgPHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIxNDkiIGhlaWdodD0iOSIgZmlsbD0ibm9uZSIvPg0KICAgIDwvZz4NCiAgPC9nPg0KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2OC4zMjcpIj4NCiAgICA8cGF0aCBkPSJNOCwwbDgsMTRIMFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2IDE0KSByb3RhdGUoMTgwKSIgZmlsbD0iIzEzYjUyOSIvPg0KICA8L2c+DQogIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxNy4zMjcpIj4NCiAgICA8cGF0aCBkPSJNOCwwbDgsMTRIMFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE2IDE0KSByb3RhdGUoMTgwKSIgZmlsbD0iIzEzYjUyOSIvPg0KICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgRateCheck = props => ;\nexport { SvgRateCheck as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0icmF0ZV9jaGVjayIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+DQogIDxwYXRoIGQ9Ik0wLDBIMjRWMjRIMFoiIGZpbGw9Im5vbmUiLz4NCiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMiAyKSI+DQogICAgPGNpcmNsZSBjeD0iOS41IiBjeT0iOS41IiByPSI5LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQ4NDg0OCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPg0KICAgIDxwYXRoIGQ9Ik05Ljc1LDEzLjMzYTEuOTQzLDEuOTQzLDAsMSwwLDEuOTQzLTEuOTQzLDEuOTQzLDEuOTQzLDAsMSwxLDEuOTQzLTEuOTQzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMi4xOTMgLTEuODg3KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNDg0ODQ4IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ii8+DQogICAgPGxpbmUgeTI9IjEuMjk2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5LjUgNC40MjYpIiBmaWxsPSJub25lIiBzdHJva2U9IiM0ODQ4NDgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4NCiAgICA8bGluZSB5Mj0iMS4yOTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkuNSAxMy4yNzgpIiBmaWxsPSJub25lIiBzdHJva2U9IiM0ODQ4NDgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiLz4NCiAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgRcLogo = props => ;\nexport { SvgRcLogo as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCI+DQogIDxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0wIDBoMTAwdjEwMEgwVjUweiIvPg0KICA8cGF0aCBkPSJNNTEuMiA1MHYtLjFjMC0xMS44IDkuMS0yMS4xIDIxLjMtMjEuMSA4LjMgMCAxMy42IDMuNSAxNy4yIDguNWwtOC40IDYuNWMtMi4zLTIuOS01LTQuNy04LjktNC43LTUuNiAwLTkuNiA0LjgtOS42IDEwLjd2LjFjMCA2LjEgNCAxMC44IDkuNiAxMC44IDQuMiAwIDYuNy0yIDkuMi00LjlsOC40IDZjLTMuOCA1LjMtOSA5LjEtMTcuOSA5LjFBMjAuNSAyMC41IDAgMCAxIDUxLjIgNTB6Ii8+DQogIDxwYXRoIGZpbGw9IiMyMWI1MzIiIGQ9Ik01Mi4xIDc1LjggMzQuMiA0OS43bDMuNi00LjcgMTMuNyA4LjhMOTMgMTl6Ii8+DQogIDxwYXRoIGQ9Ik0xMSAyOS43aDE5LjFjNi4yIDAgMTAuNSAxLjYgMTMuMiA0LjMgMi40IDIuNCAzLjYgNS41IDMuNiA5LjV2LjFjMCA2LjItMy4zIDEwLjMtOC4zIDEyLjRsOS42IDE0LjFIMzUuM2wtOC4yLTEyLjJoLTQuOXYxMi4ySDExem0xOC42IDE5LjVjMy44IDAgNi0xLjkgNi00Ljh2LS4xYzAtMy4yLTIuMy00LjgtNi00LjhoLTcuNHY5Ljd6bTIxLjguNWMwLTUuOSAyLjItMTEuMSA2LTE0LjkgMy44LTMuOCA5LjItNi4xIDE1LjMtNi4xYTIwIDIwIDAgMCAxIDE3LjIgOC40bC04LjUgNi42Yy0yLjMtMi45LTQuOS00LjgtOC44LTQuOGwtMS44LjItMS43LjUtMS42LjgtMS40IDEuMSIvPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgMileage = props => ;\nexport { SvgMileage as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHN0eWxlPi5he2ZpbGw6cmdiYSgyNTUsMjU1LDI1NSwwKTt9LmJ7ZmlsbDpub25lO3N0cm9rZTojMjczMTNjO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4ycHg7fTwvc3R5bGU+DQogICAgPC9kZWZzPg0KICAgIDxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz4NCiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjI1IDQuMjUpIj4NCiAgICAgICAgPHBhdGggY2xhc3M9ImIiIGQ9Ik0xNi43NSw2LjY0MVYzLjU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NsYXNzPSJiIiBkPSJNMTcuMzcxLDExLjMyNGEzLjEyMSwzLjEyMSwwLDAsMSwzLjEyMSwzLjEyMWMwLDEuMzMzLTEuODY1LDMuODY4LTIuNzExLDQuOTUxYS41Mi41MiwwLDAsMS0uODIsMGMtLjg0Ny0xLjA4My0yLjcxMS0zLjYxOS0yLjcxMS00Ljk1MUEzLjEyMSwzLjEyMSwwLDAsMSwxNy4zNzEsMTEuMzI0WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMuNzQzIC0yLjg0NykiLz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgNewWindow = props => ;\nexport { SvgNewWindow as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjc5LjUwNiAtNDExLjM3NSkiPjxwYXRoIGNsYXNzPSJjIiBkPSJNMjg5LjQyOSw0MTYuNWgtMy43ODdhMS4xMzYsMS4xMzYsMCwwLDAtMS4xMzYsMS4xMzZWNDI5YTEuMTM2LDEuMTM2LDAsMCwwLDEuMTM2LDEuMTM2SDI5N0ExLjEzNywxLjEzNywwLDAsMCwyOTguMTM5LDQyOVY0MjUuMjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTAuMDMpIi8+PHBhdGggY2xhc3M9ImMiIGQ9Ik0zMDEuMjM2LDQyMC43M3YtNC4zNTVoLTQuMzU1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMy4wMDIpIi8+PHBhdGggY2xhc3M9ImMiIGQ9Ik0zMDAuNDE3LDQxNi4zNzVsLTYuOTExLDYuOTExIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMi4xODMpIi8+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgOnboarded = props => ;\nexport { SvgOnboarded as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQgNCkiIGZpbGw9IiMwMGI1MjkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjEuMiI+DQogICAgICAgIDxyZWN0IHdpZHRoPSIxNS44OSIgaGVpZ2h0PSIxNS44OSIgcng9IjEuNSIgc3Ryb2tlPSIjMDBiNTI5Ii8+DQogICAgICAgIDxwYXRoIGQ9Ik03Ljk0OCAyLjY0OEw0Ljc2NyA2Ljg4NSAyLjY0OCA0Ljc2N005LjUzNCA1LjI5N2gzLjE3OE03Ljk0OCA5LjAwNGwtMy4xODEgNC4yMzctMi4xMTktMi4xMThNOS41MzQgMTEuNjUzaDMuMTc4IiBzdHJva2U9IiNmZmYiLz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgPcMiler = props => ;\nexport { SvgPcMiler as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6I2MzMGIyMTt9LmR7ZmlsbDojMDA1OTliO308L3N0eWxlPjxjbGlwUGF0aCBpZD0iYSI+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsYXNzPSJiIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxOC43OTcgLTQxNi45NDUpIj48cGF0aCBjbGFzcz0iYyIgZD0iTTI0My4wODQsNDI0LjhhMTEuNjU3LDExLjY1NywwLDAsMC0xLjQtMy44NTRoLTEzYTEwLjgxNCwxMC44MTQsMCwwLDAtMS4wMzUsMi4zNjFaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNC4yODcpIi8+PHBhdGggY2xhc3M9ImQiIGQ9Ik0yMjMuMiw0NDUuNjljLS45MzYsMy40ODQtLjksOS40NzgsNy42ODcsMTQuMTM4LDUuMDQyLTIuNzM2LDcuMTM2LTUuOTMxLDcuODE2LTguODA4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMjIuMjc4KSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgPostTruck = props => ;\nexport { SvgPostTruck as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYiwuYywuZCwuZXtmaWxsOm5vbmU7c3Ryb2tlOiMyNzMxM2M7fS5iLC5le3N0cm9rZS1saW5lY2FwOnJvdW5kO30uYiwuYywuZXtzdHJva2UtbGluZWpvaW46cm91bmQ7fS5le3N0cm9rZS13aWR0aDoxLjJweDt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE1MDEgLTQ5My45NjMpIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTQ5NyA0OTYpIj48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDQuOTMyKSI+PHBhdGggY2xhc3M9ImIiIGQ9Ik03NzUuMDUsNzc3LjI1OHYxLjAxMmExLjAxMiwxLjAxMiwwLDAsMS0yLjAyMywwdi0xLjAxMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc2MC44ODYgLTc2NC4wODgpIi8+PGxpbmUgY2xhc3M9ImIiIHgxPSIzLjAzNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTIuMTQxIDExLjE0NikiLz48cGF0aCBjbGFzcz0iYiIgZD0iTTc3NS40NDgsNzY5LjM4OXYxLjc4NiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc2MS4yODQgLTc2Mi43OTYpIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik03NTkuNzExLDc3Ny4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xwYXRoIGNsYXNzPSJlIiBkPSJNNzczLjc1LDc2MC41NmEuMzA3LjMwNywwLDAsMSwuMzEzLjMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC03NjEuMDA1IC03NTYuNDE0KSIvPjxwYXRoIGNsYXNzPSJlIiBkPSJNNzczLjM3NSw3NjAuODYxYS4zMDcuMzA3LDAsMCwxLC4zMTMtLjMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC03NjAuOTQzIC03NTYuNDE0KSIvPjxwYXRoIGNsYXNzPSJlIiBkPSJNNzczLjY4OCw3NjEuMjIxYS4zMDcuMzA3LDAsMCwxLS4zMTMtLjMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC03NjAuOTQzIC03NTYuNDczKSIvPjxwYXRoIGNsYXNzPSJlIiBkPSJNNzc0LjA2Myw3NjAuOTJhLjMwNy4zMDcsMCwwLDEtLjMxMy4zIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzYxLjAwNSAtNzU2LjQ3MykiLz48cGF0aCBjbGFzcz0iZSIgZD0iTTc3My4wMTEsNzU1LjZhMy42ODksMy42ODksMCwwLDEsMy43NjEsMy42MTFjMCwxLjU0MS0yLjI0Niw0LjQ3NC0zLjI2Nyw1LjcyN2EuNjQzLjY0MywwLDAsMS0uOTA1LjA4My42NTQuNjU0LDAsMCwxLS4wODMtLjA4M2MtMS4wMi0xLjI1NC0zLjI2Ny00LjE4Ni0zLjI2Ny01LjcyN0EzLjY4OSwzLjY4OSwwLDAsMSw3NzMuMDExLDc1NS42WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc2MC4yNjYgLTc1NS41OTkpIi8+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgProfitCalculator = props => ;\nexport { SvgProfitCalculator as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyN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YzOS40IC0xMjAuNSkiLz4NCiAgICAgICAgPHBhdGggY2xhc3M9ImIiIGQ9Ik02NDUsMTMybC0zLDMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02MzkuNCAtMTIxLjYpIi8+DQogICAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNNjQyLDEzMmwzLDMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02MzkuNCAtMTIxLjYpIi8+DQogICAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNNjUxLDEyNC41aDMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02NDAuNiAtMTIwLjUpIi8+DQogICAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNNjUxLDEzMmgzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNjQwLjYgLTEyMS4zMzMpIi8+DQogICAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNNjUxLDEzNWgzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNjQwLjYgLTEyMikiLz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgThunderLogoIcon = props => ;\nexport { SvgThunderLogoIcon as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5jLC5ke2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5jLC5ke3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fS5ke3N0cm9rZS1saW5lY2FwOnJvdW5kO308L3N0eWxlPjxjbGlwUGF0aCBpZD0iYSI+PHJlY3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owRight = props => ;\nexport { SvgArrowRight as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZGVmcz4NCiAgICAgICAgPGNsaXBQYXRoIGlkPSJhIj4NCiAgICAgICAgICAgIDxwYXRoIGZpbGw9Im5vbmUiIGQ9Ik0wIDBoMjR2MjRIMHoiLz4NCiAgICAgICAgPC9jbGlwUGF0aD4NCiAgICA8L2RlZnM+DQogICAgPGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj4NCiAgICAgICAgPHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgICAgICA8cGF0aCBkPSJNOSA2bDUuNzE2IDUuNzE2YS40LjQgMCAwMTAgLjU2NUw5IDE3Ljk5NyIgc3Ryb2tlPSIjNDg0ODQ4IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41IiBmaWxsPSJub25lIi8+DQogICAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgIconAuthority = props => ;\nexport { SvgIconAuthority as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+DQogIDxwYXRoIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiIGQ9Ik0wIDBoMjR2MjRIMHoiIC8+DQogIDxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI3MzEzYyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMiI+DQogICAgPHBhdGggZD0ibTE1IDE2LjItLjYgNC4xYS41LjUgMCAwIDAgMSAuNWwxLjQtMS40IDEuNSAxLjRhLjUuNSAwIDAgMCAuOS0uNWwtLjUtNC4yIiAvPg0KICAgIDxwYXRoIGQ9Ik0xNi44IDE2LjhhMyAzIDAgMSAwLTMtMyAzIDMgMCAwIDAgMyAzWiIgLz4NCiAgICA8cGF0aCBkPSJNMTEuNCAxOC42SDYuNmExLjIgMS4yIDAgMCAxLTEuMi0xLjJWNC4yQTEuMiAxLjIgMCAwIDEgNi42IDNoOC41YTEuMiAxLjIgMCAwIDEgLjguM2wyLjMgMi4zYTEuMiAxLjIgMCAwIDEgLjQuOVY5IiAvPg0KICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconInsurance = props => ;\nexport { SvgIconInsurance as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+DQogIDxwYXRoIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiIGQ9Ik0wIDBoMjR2MjRIMHoiIGRhdGEtbmFtZT0iaWNvbi1iZyIvPg0KICA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMyNzMxM2MiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjIiIGQ9Ik0xMS40IDE4LjZINi42YTEuMiAxLjIgMCAwIDEtMS4yLTEuMlY0LjJBMS4yIDEuMiAwIDAgMSA2LjYgM2g4LjVhMS4yIDEuMiAwIDAgMSAuOC4zbDIuMyAyLjNhMS4yIDEuMiAwIDAgMSAuNC45VjkiIGRhdGEtbmFtZT0iU2hhcGUgNSIvPg0KICA8ZyBmaWxsPSJub25lIiBzdHJva2U9IiMyNzMxM2MiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjEiPg0KICAgIDxwYXRoIGQ9Im0xNC43IDE1LjIuNS44YS4yLjIgMCAwIDAgLjQgMGwxLjktMi4yIiAvPg0KICAgIDxwYXRoIGQ9Ik0xMi42IDExLjNhLjYuNiAwIDAgMC0uNi41djMuM2MwIDEuOCAyLjcgMy44IDMuNiA0LjRhLjUuNSAwIDAgMCAuNSAwYzEtLjYgMy42LTIuNiAzLjYtNC40di0zLjNhLjYuNiAwIDAgMC0uNi0uNVoiIGRhdGEtbmFtZT0iUGF0aCAzMTkwMSIvPg0KICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconRating = props => ;\nexport { SvgIconRating as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+DQogIDxwYXRoIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiIGQ9Ik0wIDBoMjR2MjRIMHoiLz4NCiAgPGcgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj4NCiAgICA8cGF0aCBkPSJNMTIuOSA0LjUgMTQuNiA4YTEgMSAwIDAgMCAuNy42bDMuOS41YTEgMSAwIDAgMSAuNSAxLjdMMTcgMTMuNWExIDEgMCAwIDAtLjMuOGwuNyAzLjlhMSAxIDAgMCAxLTEuNCAxbC0zLjUtMS44YTEgMSAwIDAgMC0uOCAwTDggMTkuMmExIDEgMCAwIDEtMS40LTFsLjctMy45YTEgMSAwIDAgMC0uMy0uOGwtMi44LTIuN0ExIDEgMCAwIDEgNC44IDlsMy45LS41YTEgMSAwIDAgMCAuNy0uNmwxLjctMy41YTEgMSAwIDAgMSAxLjggMFoiLz4NCiAgICA8cGF0aCBmaWxsPSIjMjczMTNjIiBkPSJtMTIgNS41LTEuNSAzYy0uMy43LTEgMS4xLTEuNiAxLjNsLTMuNC40IDIuNCAyLjRjLjUuNS44IDEuMi42IDJMOCAxNy44bDMtMS42YTIuMiAyLjIgMCAwIDEgMiAwbDMgMS42LS41LTMuNGMtLjItLjcgMC0xLjQuNi0xLjlsMi40LTIuNC0zLjQtLjRjLS43LS4yLTEuMy0uNi0xLjYtMS4ybC0xLjUtM00xMiA0Yy4zIDAgLjcuMi45LjVMMTQuNiA4Yy4xLjMuNC41LjcuNmwzLjkuNWExIDEgMCAwIDEgLjUgMS43TDE3IDEzLjVhMSAxIDAgMCAwLS4zLjhsLjcgMy45YTEgMSAwIDAgMS0xLjQgMWwtMy41LTEuOGExIDEgMCAwIDAtLjggMEw4IDE5LjJhMSAxIDAgMCAxLTEuNC0xbC43LTMuOWMwLS4zIDAtLjYtLjMtLjhsLTIuOC0yLjdBMSAxIDAgMCAxIDQuOCA5bDMuOS0uNWMuMyAwIC42LS4zLjctLjZsMS43LTMuNWMuMi0uMy42LS41LjktLjVaIi8+DQogIDwvZz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgLogoMcp = props => ;\nexport { SvgLogoMcp as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZGF0YS1uYW1lPSJsb2dvIG1jcCI+DQogIDxwYXRoIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiIGQ9Ik0wIDBoMjR2MjRIMHoiIGRhdGEtbmFtZT0iaWNvbi1iZyIvPg0KICA8ZyBmaWxsPSIjNDI4M2ZmIj4NCiAgICA8cGF0aCBkPSJNOC4xIDUuNWEuNy43IDAgMCAwLS4zLS41TDUgM2ExLjIgMS4yIDAgMCAwLTIgMXYxNC41YS43LjcgMCAwIDAgLjMuNWwyLjggMmExLjIgMS4yIDAgMCAwIDItMVY1LjVaIiBkYXRhLW5hbWU9IlBhdGggMzI5OTQiLz4NCiAgICA8cGF0aCBkPSJNMjEgNS41YS43LjcgMCAwIDAtLjMtLjVsLTIuOC0yYTEuMiAxLjIgMCAwIDAtMiAxdjE0LjVhLjcuNyAwIDAgMCAuMy41bDIuOCAyYTEuMiAxLjIgMCAwIDAgMi0xVjUuNVoiIGRhdGEtbmFtZT0iUGF0aCAzMjk5NSIvPg0KICAgIDxwYXRoIGQ9Ik0xNC42IDguNmExLjIgMS4yIDAgMCAwLS44LTFoLS4ybC0yLjUtMS4zYTEuMiAxLjIgMCAwIDAtMS43IDF2Ny4yYTEuMiAxLjIgMCAwIDAgLjggMWguMmwyLjUgMS4zYTEuMiAxLjIgMCAwIDAgMS43LTF2LTdhMS4yIDEuMiAwIDAgMCAwLS4yIiBkYXRhLW5hbWU9IlBhdGggMzI5OTYiLz4NCiAgPC9nPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgRiskFail = props => ;\nexport { SvgRiskFail as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/risk-fail.a25cc6c4.svg\";","import * as React from \"react\";\nconst SvgRiskLow = props => ;\nexport { SvgRiskLow as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/risk-low.ea474e63.svg\";","import * as React from \"react\";\nconst SvgRiskMedium = props => ;\nexport { SvgRiskMedium as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/risk-medium.b781642c.svg\";","import * as React from \"react\";\nconst SvgRiskReview = props => ;\nexport { SvgRiskReview as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/risk-review.c9628f11.svg\";","import * as React from \"react\";\nconst SvgIconBidSent = props => ;\nexport { SvgIconBidSent as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1iaWQtc2VudCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjUuMTQxIiB2aWV3Qm94PSIwIDAgMjQgMjUuMTQxIj4NCiAgPHBhdGgg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LjczOGwuNTc5LDEuMDM4YS4yNDEuMjQxLDAsMCwwLC4yLjEzOS4yMzMuMjMzLDAsMCwwLC4yLS4xMjRMOC44MzcsNi44MjgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDguNzUgOS4xNzIpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjMiLz4NCiAgICA8L2c+DQogIDwvZz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgIconBid = props => ;\nexport { SvgIconBid as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+DQogICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS41IDIpIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjIiIGZpbGw9Im5vbmUiPg0KICAgICAgICA8cGF0aCBkPSJNMTIuNTE4IDkuMjRMMi4zNDEgMTkuMDFhMS40MDggMS40MDggMCAwIDEtMS4zMjQuMzQxIDEuMzQzIDEuMzQzIDAgMCAxLS45NjktLjkzIDEuMjggMS4yOCAwIDAgMSAuMzU0LTEuMjcxbDEwLjE3Ny05Ljc3TTE0LjQ1NSAzLjY1NGwuOTctLjkzYTEuNDExIDEuNDExIDAgMCAxIDEuOTM4IDAgMS4yOCAxLjI4IDAgMCAxIDAgMS44NjFsLS45Ny45MzRNMTQuNTg1IDExLjIyNkw4LjUxIDUuMzk1TTEyLjM4NyAxLjY3M2w2LjA3NCA1LjgzMk0xNi44NzggMTIuNDk3YTEuNDEzIDEuNDEzIDAgMCAxLTEuOTQgMCAxLjI4IDEuMjggMCAwIDEgMC0xLjg2MmwyLjkwOC0yLjc5MWExLjQxMyAxLjQxMyAwIDAgMSAxLjk0MSAwIDEuMjgxIDEuMjgxIDAgMCAxIDAgMS44NjN6TTkuMTI0IDUuMDU4YTEuNDEyIDEuNDEyIDAgMCAxLTEuOTQgMCAxLjI3OSAxLjI3OSAwIDAgMSAwLTEuODYzTDEwLjA5Mi40MDRhMS40MSAxLjQxIDAgMCAxIDEuMzMzLS4zNTkgMS4zNDUgMS4zNDUgMCAwIDEgLjk3OS45NCAxLjI4MiAxLjI4MiAwIDAgMS0uMzc0IDEuMjc5eiIvPg0KICAgICAgICA8cmVjdCB3aWR0aD0iOC42NCIgaGVpZ2h0PSIyLjk4NiIgcng9Ii44NzIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDExLjU0NyAxNi40MSkiLz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconBookNow = props => ;\nexport { SvgIconBookNow as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1ib29rLW5vdyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+DQogIDxnIGlkPSJJbnRlcmZhY2UtRXNzZW50aWFsX1NlbGVjdF9jaXJjbGUtcGFkLWZpbmdlciIgZGF0YS1uYW1lPSJJbnRlcmZhY2UtRXNzZW50aWFsIC8gU2VsZWN0IC8gY2lyY2xlLXBhZC1maW5nZXIiDQogICAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIwNi4yNTggLTY2MDIuNDUpIj4NCiAgICA8ZyBpZD0iR3JvdXBfNjM1IiBkYXRhLW5hbWU9Ikdyb3VwIDYzNSIgdHJhbnNmb3Jt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ogIDwvZz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgIconBook = props => ;\nexport { SvgIconBook as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1uZXctd2luZG93IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPGcgaWQ9Imljb24tYmciPg0KICAgIDxyZWN0IGlkPSJpY29uLWJnLTIiIGRhdGEtbmFtZT0iaWNvbi1iZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDApIi8+DQogIDwvZz4NCiAgPHBhdGggaWQ9IlNoYXBlXzMxMjEiIGRhdGEtbmFtZT0iU2hhcGUgMzEyMSIgZD0iTTI4OS41MjcsNDE2LjVoLTMuODYzYTEuMTU5LDEuMTU5LDAsMCwwLTEuMTU5LDEuMTU5djExLjU4OGExLjE1OSwxLjE1OSwwLDAsMCwxLjE1OSwxLjE1OWgxMS41ODhhMS4xNTksMS4xNTksMCwwLDAsMS4xNTktMS4xNTl2LTMuODYzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjc5LjUwNiAtNDExLjQwNSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPg0KICA8cGF0aCBpZD0iU2hhcGVfMzExOSIgZGF0YS1uYW1lPSJTaGFwZSAzMTE5IiBkPSJNMzAxLjIzNiw0MjAuNzN2LTQuMzU1aC00LjM1NSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI4Mi4yMzYgLTQxMS4zNzUpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjIiLz4NCiAgPHBhdGggaWQ9IlNoYXBlXzMxMjAiIGRhdGEtbmFtZT0iU2hhcGUgMzEyMCIgZD0iTTMwMC40MTcsNDE2LjM3NWwtNi45MTEsNi45MTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yODEuNDE3IC00MTEuMzc1KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS41Ii8+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconBooked = props => ;\nexport { SvgIconBooked as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1ib29rZWQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPg0KICA8ZyBpZD0iaWNvbi1iZyI+DQogICAgPHJlY3QgaWQ9Imljb24tYmctMiIgZGF0YS1uYW1lPSJpY29uLWJnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiLz4NCiAgPC9nPg0KICA8ZyBpZD0iSW50ZXJmYWNlLUVzc2VudGlhbF9TZWxlY3RfY2lyY2xlLXBhZC1maW5nZXIiIGRhdGEtbmFtZT0iSW50ZXJmYWNlLUVzc2VudGlhbCAvIFNlbGVjdCAvIGNpcmNsZS1wYWQtZmluZ2VyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjA2LjI1OCAtNjYwMi40NSkiPg0KICAgIDxnIGlkPSJHcm91cF82MzUiIGRhdGEtbmFtZT0iR3JvdXAgNjM1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyMTEuMjU4IDY2M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MS4yNDEsMCwwLDAsLjIuMTM5LjIzMy4yMzMsMCwwLDAsLjItLjEyNEw4LjgzNyw2LjgyOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjE2LjUwOCA2NTk5LjI5NikiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMyIvPg0KICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconCalled = props => ;\nexport { SvgIconCalled as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1jYWxsZWQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPg0KICA8ZyBpZD0iaWNvbi1iZyI+DQogICAgPHJlY3QgaWQ9Imljb24tYmctMiIgZGF0YS1uYW1lPSJpY29uLWJnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiLz4NCiAgPC9nPg0KICA8cGF0aCBpZD0icGhvbmUiIGQ9Ik0xMC45MTIsMTYuMTQybC4wMDksMGEzLjkzNSwzLjkzNSwwLDAsMCw0LjktLjUzN2wuNTUtLjU1YTEuMzEzLDEuMzEzLDAsMCwwLDAtMS44NTVsLTIuMzE5LTIuMzE4YTEuMzEzLDEuMzEzLDAsMCwwLTEuODU1LDBoMGExLjMxMSwxLjMxMSwwLDAsMS0xLjg1NSwwTDYuNjI3LDcuMTc1YTEuMzEzLDEuMzEzLDAsMCwxLDAtMS44NTVoMGExLjMxMSwxLjMxMSwwLDAsMCwwLTEuODU1TDQuMzA5LDEuMTQ0YTEuMzEzLDEuMzEzLDAsMCwwLTEuODU1LDBsLS41NS41NWEzLjkzNiwzLjkzNiwwL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bWU9IlBhdGggMzI3MzIiIGQ9Ik02LDguNzM4bC41NzksMS4wMzhhLjI0MS4yNDEsMCwwLDAsLjIuMTM5LjIzMy4yMzMsMCwwLDAsLjItLjEyNEw4LjgzNyw2LjgyOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMjUgLTIuNzQ5KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIi8+DQogIDwvZz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgIconEmailLoadOff = props => ;\nexport { SvgIconEmailLoadOff as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYntmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoxLjVweDt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMuNDIgNS40KSI+PHBhdGggY2xhc3M9ImIiIGQ9Ik00MjYuNCwzODkuNjI2YTEuMjU5LDEuMjU5LDAsMCwxLDEuMTI5LTEuMzU3aDE0LjY4MmExLjI1OSwxLjI1OSwwLDAsMSwxLjEyOSwxLjM1N3YxMC44NTVhMS4yNTksMS4yNTksMCwwLDEtMS4xMjksMS4zNTdINDI3LjUyNGExLjI1OSwxLjI1OSwwLDAsMS0xLjEyOS0xLjM1N1oiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00MjYuMzk1IC0zODguMjY5KSIvPjxwYXRoIGNsYXNzPSJiIiBkPSJNNDM5LjIxMSwzOTMuOTEzbDIuODcsMy4xODgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00MjcuOTY0IC0zODguOTYpIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik00MzIuNDgzLDM5My45MTNsLTIuODcxLDMuMTg4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDI2Ljc4OSAtMzg4Ljk2KSIvPjxwYXRoIGNsYXNzPSJiIiBkPSJNNDQzLjEsMzg4LjhsLTcuMTYzLDUuOTM1YTEuNTY5LDEuNTY5LDAsMCwxLTIuMDU5LDBsLTcuMTYzLTUuOTM1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDI2LjQzNCAtMzg4LjMzNCkiLz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgIconEmailLoadOn = props => ;\nexport { SvgIconEmailLoadOn as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYiwuY3tmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO30uYntzdHJva2Utd2lkdGg6MS41cHg7fS5je3N0cm9rZS13aWR0aDoxLjJweDt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMDIgLTE3OTcuNDE3KSI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTA1Lj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y4yNSAxNzk1LjY2OCkiLz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgIconVHub = props => ;\nexport { SvgIconVHub as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/icon-vHub.e631dbbd.svg\";","import * as React from \"react\";\nconst SvgCota = props => ;\nexport { SvgCota as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogICAgPHBhdGggZmlsbD0ibm9uZSIgZD0iTS0xLTFoMjZ2MjZILTF6Ii8+DQogICAgPGcgc3Ryb2tlPSJudWxsIj4NCiAgICAgICAgPHBhdGggZmlsbD0iIzczYTJkNyIgZD0iTTIwLjMzIDMuNDY2bC00LjQ3OCA0LjUyNWE1LjgzIDUuOTA0LjE5MiAwIDEgMS41MjUgNC4wMzl2LjA1OGE1LjcxNCA1Ljc4Ny4xOTIgMCAxLTEuNTUzIDQuMDI4bDQuMzkxIDQuNDk2YTExLjY0IDExLjc4OC4xOTIgMCAwIDMuNTg4LTguNTZ2LS4wNmExMS41NjMgMTEuNzEuMTkyIDAgMC0zLjQ3My04LjUwNnYtLjAyeiIvPg0KICAgICAgICA8cGF0aCBmaWxsPSIjMjU0ZjlkIiBkPSJNMTEuOTkgMTcuNzAxYy0zLjEzNS0uMDEtNS4zNzgtMi41OS01LjM2Ny01LjcyN3YtLjAzOWMuMDEtMy4xMTcgMi4yMzItNS42NjMgNS4zODctNS42NTJhNS4yMzMgNS4zLjE5MiAwIDEgMy44NjEgMS42ODlsNC40Ni00LjUwNkExMS43MzYgMTEuODg2LjE5MiAwIDAgMTIuMDY4LjE4NSAxMS41NDMgMTEuNjkuMTkyIDAgMCAuMTk3IDExLjk1MnYuMDc4Yy0uMDIyIDYuNDMgNC44MDkgMTEuNzY2IDExLjczNSAxMS43OSAzLjMyOC4wMSA2LjE5OS0xLjI0NyA4LjI4My0zLjI0NmwtNC4zOS00LjQ5N2E1LjE5NSA1LjI2LjE5MiAwIDEtMy44MzQgMS42MjR6bS0uNTA3LTkuMzU0TDEwLjIzIDkuNTdsMS41OSAxLjY2Mi02LjA0LS4wMi0uMDA2IDEuNzcyIDUuOTY0LjAyLTEuNTQ0IDEuNTU0IDEuMjI3IDEuMjcgMy42NjgtMy42OS0zLjYwNS0zLjc3MnYtLjAyeiIvPg0KICAgIDwvZz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgIconMessage = props => ;\nexport { SvgIconMessage as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYiwuY3tmaWxsOm5vbmU7c3Ryb2tlOiNmZmY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO30uYntzdHJva2Utd2lkdGg6MS41cHg7fS5je3N0cm9rZS13aWR0aDoxLjJweDt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xMzIuNzEyIC0xNzk3LjQxNykiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEzNi4xMzIgMTc5OS43MTcpIj48cGF0aCBjbGFzcz0iYiIgZD0iTTQzNi44NDUsNDE2Ljc3M2E0LjI0NSw0LjI0NSwwLDAsMSwuMTg0LTEuMTc3aC05Ljk1OGExLjEyOSwxLjEyOSwwLDAsMC0xLjEyOSwxLjEyOVY0MjguMDJhMS4xMywxLjEzLDAsMCwwLDEuMTI5LDEuMTI5aDIuMjU5djMuMzg4bDQuNTE4LTMuMzg4aDcuOTA2YTEuMTMsMS4xMywwLDAsMCwxLjEyOS0xLjEyOXYtNy4zMzRhNC4yNzgsNC4yNzgsMCwwLDEtNi4wMzktMy45MTNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDI1Ljk0MiAtNDEyLjQ4MikiLz48cGF0aCBjbGFzcz0iYiIgZD0iTTQ0NC40Myw0MjAuMjUxYTQuMjg1LDQuMjg1LDAsMSwwLTUuODU0LTUuMDkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00MjcuNDg5IC00MTIuMDQ3KSIvPjxwYXRoIGNsYXNzPSJiIiBkPSJNNDM4LjU1LDQxNS42YTQuMjQ1LDQuMjQ1LDAsMCwwLS4xODQsMS4xNzcsNC4yNzgsNC4yNzgsMCwwLDAsNi4wMzksMy45MTMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00MjcuNDYzIC00MTIuNDgyKSIvPjwvZz48cGF0aCBjbGFzcz0iYyIgZD0iTTYsOC43MzhsLjU3OSwxLjAzOGEuMjQxLjI0MSwwLDAsMCwuMi4xMzkuMjMzLjIzMywwLDAsMCwuMi0uMTI0TDguODM3LDYuODI4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxNDMuOTYyIDE3OTUuNjY4KSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgAlertBellOff = props => ;\nexport { SvgAlertBellOff as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+DQogIDxwYXRoIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiIGQ9Ik0wIDBoMjR2MjRIMHoiLz4NCiAgPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjczMTNjIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIj4NCiAgICA8cGF0aCBkPSJNMTEgMTlhMS41IDEuNSAwIDAgMCAyLjggME0xMi40IDUuNlY0TTEyLjQgNS42YTUuMyA1LjMgMCAwIDEgNS40IDUuM2MwIDUgMSA2IDEgNkg2czEtMS40IDEtNmE1LjMgNS4zIDAgMCAxIDUuNC01LjNaIi8+DQogIDwvZz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgAlertBellOn = props => ;\nexport { SvgAlertBellOn as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+DQogIDxwYXRoIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMCkiIGQ9Ik0wIDBoMjR2MjRIMHoiLz4NCiAgPGcgZmlsbD0iI2ZmOWQxZiIgc3Ryb2tlPSIjZmY5ZDFmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIj4NCiAgICA8cGF0aCBkPSJNMTEgMTlhMS41IDEuNSAwIDAgMCAyLjggME0xMi40IDUuNlY0TTEyLjQgNS42YTUuMyA1LjMgMCAwIDEgNS40IDUuM2MwIDUgMSA2IDEgNkg2czEtMS40IDEtNmE1LjMgNS4zIDAgMCAxIDUuNC01LjNaIi8+DQogIDwvZz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgIconDownload = props => ;\nexport { SvgIconDownload as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI3MzEzYyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMiI+DQogICAgICAgIDxwYXRoIGQ9Ik0xNi43NTggMjEuNDk4YTUuMDc2IDUuMDc2IDAgMSAwLTUuMDc2LTUuMDc2IDUuMDc1IDUuMDc1IDAgMCAwIDUuMDc2IDUuMDc2ek0xNi43NTggMTMuODg2djUuMDc2TTE2Ljc1NSAxOC45NjFsLTEuOS0xLjlNMTYuNzU4IDE4Ljk2MWwxLjktMS45Ii8+DQogICAgICAgIDxwYXRoIGQ9Ik04LjUxIDE4Ljk2Mkg0LjA2OUExLjI2OSAxLjI2OSAwIDAgMSAyLjggMTcuNjkzVjMuNzM1YTEuMjY5IDEuMjY5IDAgMCAxIDEuMjY5LTEuMjY5aDguOTkyYTEuMjY5IDEuMjY5IDAgMCAxIC45LjM3MWwyLjQzIDIuNDNhMS4yNjggMS4yNjggMCAwIDEgLjM3MS45VjguMTgiLz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgMyTruck = props => ;\nexport { SvgMyTruck as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTIuNyIgaGVpZ2h0PSIxMjAuNyIgdmlld0JveD0iMCAwIDExMi43IDEyMC43Ij4NCiAgICAgPHBhdGggZD0iTTI4LjM1IDBoNTVhMjguMzUgMjguMzUgMCAwIDEgMjguMzUgMjguMzV2NTVhMjguMzUgMjguMzUgMCAwIDEtMjguMzUgMjguMzVoLTE5bC03LjUgOS03LjUtOWgtMjFBMjguMzUgMjguMzUgMCAwIDEgMCA4My4zNXYtNTVBMjguMzUgMjguMzUgMCAwIDEgMjguMzUgMHoiIGZpbGw9IiNGRjlEMUYiIC8+DQogICAgPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva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TEuNzkzaDkuODQyYTEuMzYxIDEuMzYxIDAgMDExLjI5NCAxLjc5M3pNMS42NSA5LjgyNGEyLjcyNSAyLjcyNSAwIDAxMi43MjUgMi43MjV2MTEuNjI1TTQyLjUyMSA5LjgyNGEyLjcyNSAyLjcyNSAwIDAwLTIuNzI1IDIuNzI1djExLjYyNSINCiAgICAgIC8+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgLoadBlocked = props => ;\nexport { SvgLoadBlocked as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMzYiIGhlaWdodD0iMTM2IiB2aWV3Qm94PSIwIDAgMTM2IDEzNiI+DQogIDxjaXJjbGUgZmlsbD0iI2U0ZjdlOCIgY3g9IjY4IiBjeT0iNjgiIHI9IjY4Ii8+DQogIDxwYXRoIGZpbGw9IiM5OGUxYTgiIGQ9Ik0zOCAxMTNhMzEgMy4yIDAgMSAwIDYyIDAgMzEgMy4yIDAgMSAwLTYyIDBtNjkuMy0xMS43SDk1LjV2LTkuNWgxMS44em0tMzMuMSAwSDYyLjR2LTkuNWgxMS44em0tMzMgMEgyOS40di05LjVoMTEuOHptNjguNCAwSDI3YTIuNCAyLjQgMCAwIDAgMCA0LjdoODIuNmEyLjQgMi40IDAgMSAwIDAtNC43Wm0wLTE0LjJIMjdhMi40IDIuNCAwIDEgMCAwIDQuOGg4Mi42YTIuNCAyLjQgMCAxIDAgMC00LjhaIi8+DQogIDxwYXRoIGZpbGw9IiNmZmYiIGQ9Ik0zNS43IDU2LjRoMzMuOHYzMC43SDM0LjF2LTI5YTEuNiAxLjYgMCAwIDEgMS42LTEuN1ptMzMuOCAwaDMzLjhhMS42IDEuNiAwIDAgMSAxLjYgMS43djI5SDY5LjVabS0xMC4yLTMzaDMyLjJBMS42IDEuNiAwIDAgMSA5MyAyNXYzMS40SDU3Ljd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iIvPg0KICA8cGF0aCBmaWxsPSIjZmZmIiBzdHJva2U9IiM0ODQ4NDgiIGQ9Ik00NC40IDc4LjFhMjYuNCAyNi40IDAgMCAxLTE4LjctNDUgMjYuNCAyNi40IDAgMCAxIDM3LjQgMzcuMyAyNi4yIDI2LjIgMCAwIDEtMTguNyA3LjdabTAtNDUuNGExOSAxOSAwIDEgMCAxMy41IDUuNiAxOSAxOSAwIDAgMC0xMy41LTUuNloiLz4NCiAgPHBhdGggZmlsbD0iI2ZmYzQ3OCIgc3Ryb2tlPSIjNDg0ODQ4IiBkPSJNNzEuOSAyMy40aDdWMzlhLjguOCAwIDAgMS0uOC45aC01LjRhLjguOCAwIDAgMS0uOC0uOVpNNDcgNTEuNGw3LjktNy45YTEuNiAxLjYgMCAwIDAgMC0yLjMgMS42IDEuNiAwIDAgMC0yLjMgMGwtOCA4LTcuOS04YTEuNiAxLjYgMCAwIDAtMi4zIDAgMS42IDEuNiAwIDAgMCAwIDIuM2w4IDgtOCA3LjlhMS42IDEuNiAwIDAgMCAwIDIuMyAxLjYgMS42IDAgMCAwIDEuMS40IDEuNiAxLjYgMCAwIDAgMS4yLS40bDgtOCA3LjkgOGExLjYgMS42IDAgMCAwIDEuMS40IDEuNiAxLjYgMCAwIDAgMS4yLS41IDEuNiAxLjYgMCAwIDAgMC0yLjJaIi8+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgNewSearch = props => ;\nexport { SvgNewSearch as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTIuNyIgaGVpZ2h0PSIxMjAuNyI+DQogIDxwYXRoIGZpbGw9IiNGRjlEMUYiIGQ9Ik0yOC40IDBoNTVhMjguNCAyOC40IDAgMCAxIDI4LjMgMjguNHY1NWEyOC40IDI4LjQgMCAwIDEtMjguNCAyOC4zaC0xOWwtNy41IDktNy41LTloLTIxQTI4LjQgMjguNCAwIDAgMSAwIDgzLjN2LTU1QTI4LjQgMjguNCAwIDAgMSAyOC40IDB6Ii8+DQogIDxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjMiPg0KICAgIDxwYXRoIGQ9Ik03OC4yIDU1LjJWNDIuNWEyLjkgMi45IDAgMCAwLTEuOC0yLjdsLTExLjUtNC42YTIuOSAyLjkgMCAwIDAtMi4yIDBsLTEyLjIgNWEyLjkgMi45IDAgMCAxLTIuMiAwTDM3IDM1LjVhMS40IDEuNCAwIDAgMC0yIDEuM3YyNy42YTIuOSAyLjkgMCAwIDAgMS44IDIuN2wxMS41IDQuNmEyLjkgMi45IDAgMCAwIDIuMiAwTTQ5LjQgNDAuM3YxNC45TTYzLjggMzV2MTMiLz4NCiAgICA8cGF0aCBkPSJNNjUuMiA3NS4zYTEwIDEwIDAgMSAwLTEwLTEwIDEwIDEwIDAgMCAwIDEwIDEwWk03OC4yIDc4LjJsLTUuOC01LjgiLz4NCiAgPC9nPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgNoLoadsFound = props => ;\nexport { SvgNoLoadsFound as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTEuNyIgaGVpZ2h0PSIxMjAuNyIgdmlld0JveD0iMCAwIDExMS43IDEyMC43Ij4NCiAgPHBhdGggZmlsbD0iI0ZGOUQxRiIgZD0iTTI4LjQgMGg1NWEyOC40IDI4LjQgMCAwIDEgMjguMyAyOC40djU1YTI4LjQgMjguNCAwIDAgMS0yOC40IDI4LjNoLTE5bC03LjUgOS03LjUtOWgtMjFBMjguNCAyOC40IDAgMCAxIDAgODMuM3YtNTVBMjguNCAyOC40IDAgMCAxIDI4LjQgMHoiLz4NCiAgPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS13aWR0aD0iMyIgZD0iTTc3LjIgNTYuMlY0My41YTIuOSAyLjkgMCAwIDAtMS44LTIuN2wtMTEuNS00LjZhMi45IDIuOSAwIDAgMC0yLjIgMGwtMTIuMiA1YTIuOSAyLjkgMCAwIDEtMi4yIDBMMzYgMzYuNWExLjQgMS40IDAgMCAwLTIgMS4zdjI3LjZhMi45IDIuOSAwIDAgMCAxLjggMi43bDExLjUgNC42YTIuOSAyLjkgMCAwIDAgMi4yIDBtLTEuMS0zMS40djE0LjlNNjIuOCAzNnYxM20xLjQgMjcuM2ExMCAxMCAwIDEgMC0xMC0xMCAxMCAxMCAwIDAgMCAxMCAxMFptMTMgMi45LTUuOC01LjhNNjEgNjkuN2w2LjYtNi43TTYxIDYzbDYuNiA2LjciLz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgIconExternalLink = props => ;\nexport { SvgIconExternalLink as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5IiBoZWlnaHQ9IjkuOCIgdmlld0JveD0iMCAwIDkgOS44Ij4NCiAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS40MjIgMS44MjIpIj4NCiAgICA8cGF0aCBkPSJNMjg2LjcxNCw0MTYuNWgtMS43YS41MS41MSwwLDAsMC0uNTEuNTF2NS4xYS41MS41MSwwLDAsMCwuNTEuNTFoNS4xYS41MS41MSwwLDAsMCwuNTEtLjUxdi0xLjciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yODQuNTA2IC00MTYuNDU4KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmY5ZDFmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIi8+DQogICAgPHBhdGggZD0iTTI5OC44LDQxOC4yOXYtMS45MTVoLTEuOTE1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjkyLjY0IC00MTYuMzc1KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmY5ZDFmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIi8+DQogICAgPHBhdGggZD0iTTI5Ni41NDUsNDE2LjM3NWwtMy4wMzksMy4wMzkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yOTAuMzg5IC00MTYuMzc1KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmY5ZDFmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIi8+DQogIDwvZz4NCiAgPHJlY3Qgd2lkdGg9IjkiIGhlaWdodD0iOS44IiBmaWxsPSJub25lIi8+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgNoTruckPost = props => ;\nexport { SvgNoTruckPost as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTIuNyIgaGVpZ2h0PSIxMjAuNyIgdmlld0JveD0iMCAwIDExMi43IDEyMC43Ij4NCiAgICAgPHBhdGggZD0iTTI4LjM1IDBoNTVhMjguMzUgMjguMzUgMCAwIDEgMjguMzUgMjguMzV2NTVhMjguMzUgMjguMzUgMCAwIDEtMjguMzUgMjguMzVoLTE5bC03LjUgOS03LjUtOWgtMjFBMjguMzUgMjguMzUgMCAwIDEgMCA4My4zNXYtNTVBMjguMzUgMjguMzUgMCAwIDEgMjguMzUgMHoiIGZpbGw9IiNGRjlEMUYiIC8+DQogICAgPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9I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1MiAyNi4yNTloMTguMDgiLz4NCiAgICAgICAgPC9nPg0KICAgICAgICA8cGF0aCBkPSJNMzUuNjYyIDEyLjYxM2EuODI0LjgyNCAwIDAgMSAuODQuODA3TTM0LjgyMiAxMy40MmEuODIzLjgyMyAwIDAgMSAuODQtLjgwN00zNS42NjIgMTQuMjI3YS44MjMuODIzIDAgMCAxLS44NC0uODA3TTM2LjUwMiAxMy40MmEuODI0LjgyNCAwIDAgMS0uODQuODA3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4NCiAgICAgICAgPHBhdGggZD0iTTM1LjY2MyAxLjUwMWE5Ljg4NyA5Ljg4NyAwIDAgMSAxMC4wODEgOS42NzdjMCA0LjEzMS02LjAyMSAxMS45OTItOC43NTcgMTUuMzUyYTEuNzIzIDEuNzIzIDAgMCAxLTIuNDI2LjIyMiAxLjc2IDEuNzYgMCAwIDEtLjIyMi0uMjIyYy0yLjczNS0zLjM2LTguNzU3LTExLjIyMS04Ljc1Ny0xNS4zNTJhOS44ODcgOS44ODcgMCAwIDEgMTAuMDgxLTkuNjc3eiIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+DQogICAgPC9nPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgNoTruckPostExpired = props => ;\nexport { SvgNoTruckPostExpired as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/no_truck_post_expired.f60e50b7.svg\";","import * as React from \"react\";\nconst SvgNoTruckPostScheduled = props => ;\nexport { SvgNoTruckPostScheduled as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/no_truck_post_scheduled.6949239b.svg\";","import * as React from \"react\";\nconst SvgPcMiler = props => ;\nexport { SvgPcMiler as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6I2MzMGIyMTt9LmR7ZmlsbDojMDA1OTliO308L3N0eWxlPjxjbGlwUGF0aCBpZD0iYSI+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsYXNzPSJiIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIxOC43OTcgLTQxNi45NDUpIj48cGF0aCBjbGFzcz0iYyIgZD0iTTI0My4wODQsNDI0LjhhMTEuNjU3LDExLjY1NywwLDAsMC0xLjQtMy44NTRoLTEzYTEwLjgxNCwxMC44MTQsMCwwLDAtMS4wMzUsMi4zNjFaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNC4yODcpIi8+PHBhdGggY2xhc3M9ImQiIGQ9Ik0yMjMuMiw0NDUuNjljLS45MzYsMy40ODQtLjksOS40NzgsNy42ODcsMTQuMTM4LDUuMDQyLTIuNzM2LDcuMTM2LTUuOTMxLDcuODE2LTguODA4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMjIuMjc4KSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgMaintenanceTruck = props => ;\nexport { SvgMaintenanceTruck as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOTMuOTU3IiBoZWlnaHQ9IjE3Ny4zNDQiIHZpZXdCb3g9IjAgMCAxOTMuOTU3IDE3Ny4zNDQiPg0KICAgI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uNTk4IDEwMC4xOThjLTEuNTU0LTkuNzY4LTcuNTQ4LTEwLjQzNC03LjU0OC0xMC40MzRoLTQ3LjI4N3Y1MC44MzlILjA1M3MtLjIxNyA2Ljg4Mi4yMjYgMTMuMSA1Ljk5NCA1Ljc3MiA1Ljk5NCA1Ljc3MmgxYTEyLjcyNyAxMi43MjcgMCAwIDEgMjUuNDUzLjAzbDEzLjcwNi4wMTRhMTIuNzI4IDEyLjcyOCAwIDAgMSAyNS40NTYuMDIzYzIyLjkxNS4wMTkgNDguMDUxLjAzMyA2OC43Mi4wMzFhMTIuNzI5IDEyLjcyOSAwIDAgMSAyNS40NTctLjAxNmMxMC4zNzgtLjAxNSAxNy4xMTMtLjA0MSAxNy45ODMtLjA4MiA0LjY2My0uMjIyIDQuODg0LTUuMzI4IDQuODg0LTUuMzI4di0yNi40MnMtMS43OC0xNy43NjEtMy4zMzQtMjcuNTI5eiIvPg0KICAgICAgICAgICAgPHBhdGggZD0iTTcuMjY2IDE1OS40NzV2LjFhMTIuNzI5IDEyLjcyOSAwIDEgMCAyNS40NTcgMHYtLjA2OE0zMi43MjIgMTU5LjUwNWExMi43MjcgMTIuNzI3IDAgMCAwLTI1LjQ1My0uMDNNNDYuNDI5IDE1OS41MTh2LjA1NGExMi43MjkgMTIuNzI5IDAgMCAwIDI1LjQ1OCAwdi0uMDMxTTcxLjg4NSAxNTkuNTQyYTEyLjcyOCAxMi43MjggMCAwIDAtMjUuNDU2LS4wMjNNMTQwLjYwMyAxNTkuNTcyaDBhMTIuNzI5IDEyLjcyOSAwIDEgMCAyNS40NTggMHYtLjAxN00xNjYuMDYxIDE1OS41NTZhMTIuNzI5IDEyLjcyOSAwIDAgMC0yNS40NTcuMDE2Ii8+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgFieldsClear = props => ;\nexport { SvgFieldsClear as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2Zw0KICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ij4NCiAgICA8cGF0aCAgZD0iTTExLjYyNSwxMmEuMzcxLjM3MSwwLDAsMS0uMjY1LS4xMUw2LDYuNTI5LjY0LDExLjg4OGEuMzc0LjM3NCwwLDAsMS0uNTMsMCwuMzc2LjM3NiwwLDAsMSwwLS41M0w1LjQ3LDYsLjExLjYzOGEuMzc0LjM3NCwwLDAsMSwwLS41My4zNzQuMzc0LDAsMCwxLC41MywwTDYsNS40NjgsMTEuMzYuMTA4QS4zNzUuMzc1LDAsMCwxLDEyLC4zNzNhLjM3MS4zNzEsMCwwLDEtLjExLjI2NUw2LjUzLDZsNS4zNiw1LjM2YS4zNzUuMzc1LDAsMCwxLS4yNjUuNjRaIiBmaWxsPSIjNDg0ODQ4IiBzdHJva2U9IiM0ODQ4NDgiIHN0cm9rZS13aWR0aD0iLjUiICB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2LjUgNi41MDIpIi8+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCloseWhite = props => ;\nexport { SvgCloseWhite as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6I0ZGRkZGRjtzdHJva2U6I0ZGRkZGRjtzdHJva2Utd2lkdGg6MC41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTE1LjUsMTZhLjUuNSwwLDAsMS0uMzUzLS4xNDdMOCw4LjcwNi44NTMsMTUuODUxYS41LjUsMCwwLDEtLjcwNywwLC41LjUsMCwwLDEsMC0uNzA3TDcuMjkzLDgsLjE0Ny44NTJhLjUuNSwwLDAsMSwwLS43MDcuNS41LDAsMCwxLC43MDcsMEw4LDcuMjkxLDE1LjE0Ni4xNDVBLjUuNSwwLDAsMSwxNiwuNWEuNS41LDAsMCwxLS4xNDcuMzUzTDguNzA2LDhsNy4xNDYsNy4xNDZBLjUuNSwwLDAsMSwxNS41LDE2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNC41IDQuNTAyKSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconStatus = props => ;\nexport { SvgIconStatus as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYntmaWxsOm5vbmU7c3Ryb2tlOiMyNzMxM2M7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoxLjJweDt9PC9zdHlsZT48L2RlZnM+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQgNCkiPjxjaXJjbGUgY2xhc3M9ImIiIGN4PSI0LjI2NyIgY3k9IjQuMjY3IiByPSI0LjI2NyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNy40NjcgNy40NjcpIi8+PHBhdGggY2xhc3M9ImIiIGQ9Ik02LjA4MywxNC44NUgxLjgxN0ExLjA2NywxLjA2NywwLDAsMSwuNzUsMTMuNzgzVjYuMzE3QTEuMDY3LDEuMDY3LDAsMCwxLDEuODE3LDUuMjVIMTIuNDgzQTEuMDY3LDEuMDY3LDAsMCwxLDEzLjU1LDYuMzE3VjcuMzgzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMC43NSAtMi4wNSkiLz48cGF0aCBjbGFzcz0iYiIgZD0iTTEzLjM0Niw0LjIzMiwxMS4zNCwxLjIyNUExLjA2NywxLjA2NywwLDAsMCwxMC40NTQuNzVINC4xMjVhMS4wNjcsMS4wNjcsMCwwLDAtLjg4Ny40NzVsLTIsMy4wMDciIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0wLjg5IC0wLjc1KSIvPjxsaW5lIGNsYXNzPSJiIiB5Mj0iMy4yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg2LjQgMCkiLz48L2c+PHBhdGggY2xhc3M9ImIiIGQ9Ik02LDguNzM4bC41NzksMS4wMzhhLjI0MS4yNDEsMCwwLDAsLjIuMTM5LjIzMy4yMzMsMCwwLDAsLjItLjEyNEw4LjgzNyw2LjgyOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOC4yNSA3LjI1MSkiLz48L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgWarning = props => ;\nexport { SvgWarning as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYiwuY3tmaWxsOm5vbmU7c3Ryb2tlOiNmZjlkMWY7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLW1pdGVybGltaXQ6MTA7c3Ryb2tlLXdpZHRoOjEuMnB4O30uYntzdHJva2UtbGluZWpvaW46cm91bmQ7fTwvc3R5bGU+PC9kZWZzPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjI1IDMuMjUpIj48cGF0aCBjbGFzcz0iYiIgZD0iTS4zNzUsMEEuMzc1LjM3NSwwLDEsMCwuNzUuMzc1LjM3NS4zNzUsMCwwLDAsLjM3NSwwaDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDguMzc1IDEzLjM3MSkiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTAsNS45OVYwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4Ljc1IDUuMzM5KSIvPjxwYXRoIGNsYXNzPSJiIiBkPSJNOS4xNTMuNzE4YTEuMjg0LDEuMjg0LDAsMCwwLTIuMzA1LDBMLjExMSwxNC40NDFBMS4wODIsMS4wODIsMCwwLDAsMS4wODIsMTZIMTQuOTE4YTEuMDgyLDEuMDgyLDAsMCwwLC45NzEtMS41NTlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjc1IDAuNzUpIi8+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst Svg123ConnectIcon = props => ;\nexport { Svg123ConnectIcon as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/123connect_icon.3c180321.svg\";","import * as React from \"react\";\nconst SvgArrowRightGray = props => ;\nexport { SvgArrowRightGray as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmEsLmJ7ZmlsbDpub25lO30uYntzdHJva2U6IzZEN0U5MDtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLXdpZHRoOjEuNXB4O308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjA4MSkiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0wLjA4MSkiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5IDYpIj48cGF0aCBjbGFzcz0iYiIgZD0iTTU4MC41LDM4Mi43NWw1LjcxNiw1LjcxNmEuNC40LDAsMCwxLDAsLjU2NWwtNS43MTYsNS43MTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODAuNSAtMzgyLjc1KSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgArrowRightGreen = props => ;\nexport { SvgArrowRightGreen as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmEsLmJ7ZmlsbDpub25lO30uYntzdHJva2U6IzAwYjUyOTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLXdpZHRoOjEuNXB4O308L3N0eWxlPjwvZGVmcz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjA4MSkiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0wLjA4MSkiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5IDYpIj48cGF0aCBjbGFzcz0iYiIgZD0iTTU4MC41LDM4Mi43NWw1LjcxNiw1LjcxNmEuNC40LDAsMCwxLDAsLjU2NWwtNS43MTYsNS43MTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODAuNSAtMzgyLjc1KSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgArrowRightRed = props => ;\nexport { SvgArrowRightRed as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHN0eWxlPi5hLC5iIHtmaWxsOiBub25lO30uYiB7c3Ryb2tlOiAjREMyQjBBO3N0cm9rZS1saW5lY2FwOiByb3VuZDtzdHJva2UtbGluZWpvaW46IHJvdW5kO3N0cm9rZS13aWR0aDogMS41cHg7fTwvc3R5bGU+DQogICAgPC9kZWZzPg0KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuMDgxKSI+DQogICAgICAgIDxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0wLjA4MSkiIC8+DQogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkgNikiPg0KICAgICAgICAgICAgPHBhdGggY2xhc3M9ImIiIGQ9Ik01ODAuNSwzODIuNzVsNS43MTYsNS43MTZhLjQuNCwwLDAsMSwwLC41NjVsLTUuNzE2LDUuNzE2Ig0KICAgICAgICAgICAgICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODAuNSAtMzgyLjc1KSIgLz4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgArrowRightSilver = props => ;\nexport { SvgArrowRightSilver as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPGRlZnM+DQogICAgPHN0eWxlPi5hLC5ie2ZpbGw6bm9uZTt9LmJ7c3Ryb2tlOiM5MTkxOTE7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoxLjVweDt9PC9zdHlsZT4NCiAgPC9kZWZzPg0KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjA4MSkiPg0KICAgIDxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0wLjA4MSkiLz4NCiAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5IDYpIj4NCiAgICAgIDxwYXRoIGNsYXNzPSJiIiBkPSJNNTgwLjUsMzgyLjc1bDUuNzE2LDUuNzE2YS40LjQsMCwwLDEsMCwuNTY1bC01LjcxNiw1LjcxNiINCiAgICAgICAgICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC01ODAuNSAtMzgyLjc1KSIvPg0KICAgIDwvZz4NCiAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgArrowRight = props => ;\nexport { SvgArrowRight as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBkPSJNMTAgNmw1LjcxNiA1LjcxNmEuNC40IDAgMCAxIDAgLjU2NUwxMCAxNy45OTciIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI3MzEzYyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIg0KICAgICAgICBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMyIgLz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgAscending = props => ;\nexport { SvgAscending as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHN0eWxlPg0KICAgICAgICAgICAgLmEgew0KICAgICAgICAgICAgICAgIGZpbGw6IHJnYmEoMjU1LCAyNTUsIDI1NSwgMCk7DQogICAgICAgICAgICB9DQoNCiAgICAgICAgICAgIC5iIHsNCiAgICAgICAgICAgICAgICBmaWxsOiBub25lOw0KICAgICAgICAgICAgICAgIHN0cm9rZTogIzI3MzEzYzsNCiAgICAgICAgICAgICAgICBzdHJva2UtbGluZWNhcDogcm91bmQ7DQogICAgICAgICAgICAgICAgc3Ryb2tlLWxpbmVqb2luOiByb3VuZDsNCiAgICAgICAgICAgICAgICBzdHJva2Utd2lkdGg6IDEuM3B4Ow0KICAgICAgICAgICAgfQ0KICAgICAgICA8L3N0eWxlPg0KICAgIDwvZGVmcz4NCiAgICA8cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiAvPg0KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02MDggLTExMzIpIj4NCiAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjExIDExMzYpIj4NCiAgICAgICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDguNSA3LjM3NikiPg0KICAgICAgICAgICAgICAgIDxsaW5lIGNsYXNzPSJiIiB4MT0iOC44MDUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgNy4zNjYpIiAvPg0KICAgICAgICAgICAgICAgIDxsaW5lIGNsYXNzPSJiIiB4MT0iNS44NyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAzLjY3NCkiIC8+DQogICAgICAgICAgICAgICAgPGxpbmUgY2xhc3M9ImIiIHgxPSIyLjkzNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSIgLz4NCiAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMCkiPg0KICAgICAgICAgICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgMCkiPg0KICAgICAgICAgICAgICAgICAgICA8cGF0aCBjbGFzcz0iYiIgZD0iTTEuMjA3LDcuMzU3LDUuMjE2LDMuMzQ4LDkuMjI2LDcuMzU3IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS4yMDcgLTMuMzQ4KSIgLz4NCiAgICAgICAgICAgICAgICAgICAgPGxpbmUgY2xhc3M9ImIiIHkyPSIxNC43MzMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuMDA5IDApIiAvPg0KICAgICAgICAgICAgICAgIDwvZz4NCiAgICAgICAgICAgIDwvZz4NCiAgICAgICAgPC9nPg0KICAgIDwvZz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgBackhaul = props => ;\nexport { SvgBackhaul as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0Ii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sMCwxLDIuODcyLjg5TDIwLjgsMTAuMDQzYS42MzIuNjMyLDAsMCwxLC4zNzcuNjYuOTU1Ljk1NSwwLDAsMS0uMzc3LjY2TDIuODcyLDIwLjUxN2ExLjQ0MywxLjQ0MywwLDAsMS0xLjctLjI4MywxLjQyMiwxLjQyMiwwLDAsMS0uMTg5LTEuN0w1LjcsMTAuNjA5WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTAuNzMxIC0wLjczMSkiLz48cGF0aCBjbGFzcz0iYiIgZD0iTTIxLjM4LDExLjJINiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuMDI5IC0xLjMyMikiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgBtnSend = props => ;\nexport { SvgBtnSend as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmEsLmJ7ZmlsbDpub25lO30uYntzdHJva2U6I2RhZTJlYTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLXdpZHRoOjEuM3B4O308L3N0eWxlPjwvZGVmcz48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMiAyKSI+PHBhdGggY2xhc3M9ImIiIGQ9Ik0uODksMi44NzJhMS40NDMsMS40NDMsMCwwLDEsLjI4My0xLjdBMS40NDMsMS40NDMsMCwwLDEsMi44NzIuODlMMjAuOCwxMC4wNDNhLjYzMi42MzIsMCwwLDEsLjM3Ny42Ni45NTUuOTU1LDAsMCwxLS4zNzcuNjZMMi44NzIsMjAuNTE3YTEuNDQzLDEuNDQzLDAsMCwxLTEuNy0uMjgzLDEuNDIyLDEuNDIyLDAsMCwxLS4xODktMS43TDUuNywxMC42MDlaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMC43MzEgLTAuNzMxKSIvPjxwYXRoIGNsYXNzPSJiIiBkPSJNMjEuMzgsMTEuMkg2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS4wMjkgLTEuMzIyKSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCalendar = props => ;\nexport { SvgCalendar as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNjM3Ljc1NyAtMjk4OS43NSkiPjxwYXRoIGNsYXNzPSJjIiBkPSJNNjM5Ljc1NywyOTk2LjA1OGExLjMyMSwxLjMyMSwwLDAsMSwxLjMzMy0xLjMwOGgxNy4zMzNhMS4zMjEsMS4zMjEsMCwwLDEsMS4zMzMsMS4zMDh2MTQuMzg1YTEuMzIxLDEuMzIxLDAsMCwxLTEuMzMzLDEuMzA4SDY0MS4wOWExLjMyMSwxLjMyMSwwLDAsMS0xLjMzMy0xLjMwOFoiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTYzOS43NTcsMzAwMC43NWgyMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAtMSkiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTY0NS43NTcsMjk5N3YtNS4yNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTAuNjY3KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNNjU2LjI1NywyOTk3di01LjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS44MzMpIi8+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCallDisabled = props => ;\nexport { SvgCallDisabled as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6cmdiYSgyNTUsMjU1LDI1NSwwKTtzdHJva2U6IzkxOTE5MTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLXdpZHRoOjEuNXB4O308L3N0eWxlPjxjbGlwUGF0aCBpZD0iYSI+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsYXNzPSJiIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PHBhdGggY2xhc3M9ImMiIGQ9Ik0xMi44MTcsMTkuMDI2bC4wMS4wMDZhNC42NzIsNC42NzIsMCwwLDAsNS44MTMtLjYzOGwuNjU0LS42NTRhMS41NTksMS41NTksMCwwLDAsMC0yLjJsLTIuNzU0LTIuNzUyYTEuNTU5LDEuNTU5LDAsMCwwLTIuMiwwaDBhMS41NTYsMS41NTYsMCwwLDEtMi4yLDBMNy43MjksOC4zNzhhMS41NTksMS41NTksMCwwLDEsMC0yLjJoMGExLjU1NiwxLjU1NiwwLDAsMCwwLTIuMkw0Ljk3NiwxLjIxNmExLjU1OSwxLjU1OSwwLDAsMC0yLjIsMGwtLjY1NC42NTRBNC42NzQsNC42NzQsMCwwLDAsMS40OCw3LjY4M2wuMDA3LjAxYTQyLjE2OCw0Mi4xNjgsMCwwLDAsMTEuMzMsMTEuMzMzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS43NSAxLjc0KSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCall = props => ;\nexport { SvgCall as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6cmdiYSgyNTUsMjU1LDI1NSwwKTtzdHJva2U6I2ZmZjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLXdpZHRoOjEuNXB4O308L3N0eWxlPjxjbGlwUGF0aCBpZD0iYSI+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsYXNzPSJiIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PHBhdGggY2xhc3M9ImMiIGQ9Ik0xMi44MTcsMTkuMDI2bC4wMS4wMDZhNC42NzIsNC42NzIsMCwwLDAsNS44MTMtLjYzOGwuNjU0LS42NTRhMS41NTksMS41NTksMCwwLDAsMC0yLjJsLTIuNzU0LTIuNzUyYTEuNTU5LDEuNTU5LDAsMCwwLTIuMiwwaDBhMS41NTYsMS41NTYsMCwwLDEtMi4yLDBMNy43MjksOC4zNzhhMS41NTksMS41NTksMCwwLDEsMC0yLjJoMGExLjU1NiwxLjU1NiwwLDAsMCwwLTIuMkw0Ljk3NiwxLjIxNmExLjU1OSwxLjU1OSwwLDAsMC0yLjIsMGwtLjY1NC42NTRBNC42NzQsNC42NzQsMCwwLDAsMS40OCw3LjY4M2wuMDA3LjAxYTQyLjE2OCw0Mi4xNjgsMCwwLDAsMTEuMzMsMTEuMzMzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMS43NSAxLjc0KSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCheck = props => ;\nexport { SvgCheck as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iY2hlY2siIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiB2aWV3Qm94PSIwIDAgMjQgMjQiPg0KICA8cGF0aCBpZD0iUGF0aF81NDMiIGRhdGEtbmFtZT0iUGF0aCA1NDMiIGQ9Ik0wLDBIMjRWMjRIMFoiIGZpbGw9Im5vbmUiLz4NCiAgPHBhdGggaWQ9IlBhdGhfNTQ0IiBkYXRhLW5hbWU9IlBhdGggNTQ0IiBkPSJNOSwxNi4yLDQuOCwxMiwzLjQsMTMuNCw5LDE5LDIxLDcsMTkuNiw1LjZaIiBmaWxsPSIjM2QzZDNkIi8+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgClearSmall = props => ;\nexport { SvgClearSmall as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6IzQ4NDg0ODtzdHJva2U6IzQ4NDg0ODtzdHJva2Utd2lkdGg6MXB4O308L3N0eWxlPjxjbGlwUGF0aCBpZD0iYSI+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsYXNzPSJiIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PHBhdGggY2xhc3M9ImMiIGQ9Ik0xNS41LDE2YS41LjUsMCwwLDEtLjM1My0uMTQ3TDgsOC43MDYuODUzLDE1Ljg1MWEuNS41LDAsMCwxLS43MDcsMCwuNS41LDAsMCwxLDAtLjcwN0w3LjI5Myw4LC4xNDcuODUyYS41LjUsMCwwLDEsMC0uNzA3LjUuNSwwLDAsMSwuNzA3LDBMOCw3LjI5MSwxNS4xNDYuMTQ1QS41LjUsMCwwLDEsMTYsLjVhLjUuNSwwLDAsMS0uMTQ3LjM1M0w4LjcwNiw4bDcuMTQ2LDcuMTQ2QS41LjUsMCwwLDEsMTUuNSwxNloiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQuNSA0LjUwMikiLz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgClose = props => ;\nexport { SvgClose as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6IzQ4NDg0ODtzdHJva2U6IzQ4NDg0ODtzdHJva2Utd2lkdGg6MC41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTE1LjUsMTZhLjUuNSwwLDAsMS0uMzUzLS4xNDdMOCw4LjcwNi44NTMsMTUuODUxYS41LjUsMCwwLDEtLjcwNywwLC41LjUsMCwwLDEsMC0uNzA3TDcuMjkzLDgsLjE0Ny44NTJhLjUuNSwwLDAsMSwwLS43MDcuNS41LDAsMCwxLC43MDcsMEw4LDcuMjkxLDE1LjE0Ni4xNDVBLjUuNSwwLDAsMSwxNiwuNWEuNS41LDAsMCwxLS4xNDcuMzUzTDguNzA2LDhsNy4xNDYsNy4xNDZBLjUuNSwwLDAsMSwxNS41LDE2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNC41IDQuNTAyKSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgCloseLight = props => ;\nexport { SvgCloseLight as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNi4wODYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNi41ODkgMTYuNSI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6I2Y3ZjlmYjtzdHJva2U6I2ZmZjtzdHJva2Utd2lkdGg6MC41cHg7fTwvc3R5bGU+PC9kZWZzPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC00LjIwNSAtNC4yNSkiPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTUuNSwxNmEuNS41LDAsMCwxLS4zNTMtLjE0N0w4LDguNzA2Ljg1MywxNS44NTFhLjUuNSwwLDAsMS0uNzA3LDAsLjUuNSwwLDAsMSwwLS43MDdMNy4yOTMsOCwuMTQ3Ljg1MmEuNS41LDAsMCwxLDAtLjcwNy41LjUsMCwwLDEsLjcwNywwTDgsNy4yOTEsMTUuMTQ2LjE0NUEuNS41LDAsMCwxLDE2LC41YS41LjUsMCwwLDEtLjE0Ny4zNTNMOC43MDYsOGw3LjE0Niw3LjE0NkEuNS41LDAsMCwxLDE1LjUsMTZaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0LjUgNC41MDIpIi8+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgCollapse = props => ;\nexport { SvgCollapse as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6IzQ4NDg0ODtzdHJva2U6IzQ4NDg0ODtzdHJva2Utd2lkdGg6MC41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI0IDI0KSByb3RhdGUoMTgwKSI+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNMTIuNDUxLDE4YS40NzcuNDc3LDAsMCwxLS4zNTgtLjE2NUw0Ljg1Nyw5LjhhMS4yMTUsMS4yMTUsMCwwLDEsMC0xLjU4OUwxMi4wOTMuMTY1YS40Ny40NywwLDAsMSwuNzE2LDAsLjU5LjU5LDAsMCwxLC4xNDguNC41OS41OSwwLDAsMS0uMTQ4LjRMNS41NzMsOWw3LjIzNiw4LjA0YS42MDYuNjA2LDAsMCwxLDAsLjhBLjQ4MS40ODEsMCwwLDEsMTIuNDUxLDE4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMi42OTggMjEuMjU5KSByb3RhdGUoLTkwKSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgDeleteOrange = props => ;\nexport { SvgDeleteOrange as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojZmY5ZDFmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MXB4O308L3N0eWxlPjxjbGlwUGF0aCBpZD0iYSI+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsYXNzPSJiIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMwMC42NjEgLTMxODguNjk5KSI+PHBhdGggY2xhc3M9ImMiIGQ9Ik0zMDQuNTA1LDMxOTUuNWgxNi4zNTYiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTAuNjYzKSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNMzE1LjkyOCwzMTkyLjVoLTMuNWExLjE2OCwxLjE2OCwwLDAsMC0xLjE2OCwxLjE2OHYxLjE2OEgzMTcuMXYtMS4xNjhBMS4xNjksMS4xNjksMCwwLDAsMzE1LjkyOCwzMTkyLjVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS40OTMpIi8+PHBhdGggY2xhc3M9ImMiIGQ9Ik0zMTIuNzU1LDMyMDYuNTkxdi01Ljg0MSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuODI1IC0xLjgyNSkiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTMxNy4yNTUsMzIwNi41OTF2LTUuODQxIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMi44MiAtMS44MjUpIi8+PHBhdGggY2xhc3M9ImMiIGQ9Ik0zMTguNTI3LDMyMDguNDQ4YTEuMTY4LDEuMTY4LDAsMCwxLTEuMTY0LDEuMDcySDMwOWExLjE2NywxLjE2NywwLDAsMS0xLjE2NC0xLjA3MmwtMS4wNzktMTIuOTQ4aDEyLjg1MVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0wLjQ5OCAtMC42NjMpIi8+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgDelete = props => ;\nexport { SvgDelete as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIG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xNjgsMCwwLDEtMS4xNjQsMS4wNzJIMzA5YTEuMTY3LDEuMTY3LDAsMCwxLTEuMTY0LTEuMDcybC0xLjA3OS0xMi45NDhoMTIuODUxWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTAuNDk4IC0wLjY2MykiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgDescending = props => ;\nexport { SvgDescending as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZGVmcz4NCiAgICAgICAgPHN0eWxlPg0KICAgICAgICAgICAgLmEgew0KICAgICAgICAgICAgICAgIGZpbGw6IHJnYmEoMjU1LCAyNTUsIDI1NSwgMCk7DQogICAgICAgICAgICB9DQoNCiAgICAgICAgICAgIC5iIHsNCiAgICAgICAgICAgICAgICBmaWxsOiBub25lOw0KICAgICAgICAgICAgICAgIHN0cm9rZTogIzI3MzEzYzsNCiAgICAgICAgICAgICAgICBzdHJva2UtbGluZWNhcDogcm91bmQ7DQogICAgICAgICAgICAgICAgc3Ryb2tlLWxpbmVqb2luOiByb3VuZDsNCiAgICAgICAgICAgICAgICBzdHJva2Utd2lkdGg6IDEuM3B4Ow0KICAgICAgICAgICAgfQ0KICAgICAgICA8L3N0eWxlPg0KICAgIDwvZGVmcz4NCiAgICA8cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiAvPg0KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKC02MDggLTEwODgpIj4NCiAgICAgICAgPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNjExIDEwOTMuMDA5KSI+DQogICAgICAgICAgICA8cGF0aCBjbGFzcz0iYiIgZD0iTTEuMjA3LDMuMzQ4LDUuMjE2LDcuMzU3LDkuMjI2LDM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cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDApIiAvPg0KICAgICAgICAgICAgPGxpbmUgY2xhc3M9ImIiIHgxPSI1Ljg3IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDMuNjkzKSIgLz4NCiAgICAgICAgICAgIDxsaW5lIGNsYXNzPSJiIiB4MT0iMi45MzUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgNy4zNjYpIiAvPg0KICAgICAgICA8L2c+DQogICAgICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDYxMSAxMDkzKSI+DQogICAgICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDAuMDA5KSI+DQogICAgICAgICAgICAgICAgPHBhdGggY2xhc3M9ImIiIGQ9Ik0xLjIwNywzLjM0OCw1LjIxNiw3LjM1Nyw5LjIyNiwzLjM0OCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTEuMjA3IDcuMzc2KSIgLz4NCiAgICAgICAgICAgICAgICA8bGluZSBjbGFzcz0iYiIgeTE9IjE0LjczMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNC4wMDkgMCkiIC8+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgDollar = props => ;\nexport { SvgDollar as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYuOTU2IiBoZWlnaHQ9IjE2Ljk1NiIgdmlld0JveD0iMCAwIDE2Ljk1NiAxNi45NTYiPjxkZWZzPjxzdHlsZT4uYSwuZHtmaWxsOm5vbmU7fS5ie2NsaXAtcGF0aDp1cmwoI2EpO30uY3tmaWxsOiNmZmY7fS5jLC5ke3N0cm9rZTojMDBiNTI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JvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzAwLjc1NSAtMzA5OC40MTcpIj48cGF0aCBjbGFzcz0iYyIgZD0iTTMyMS44NiwzMDkyLjY0NmEzLjA3MSwzLjA3MSwwLDAsMC00LjM2NS4wMjlsLTEyLjI0NCwxMi4yNDQtMS41LDUuODMsNS44MzEtMS41LDEyLjI0NC0xMi4yNDVhMy4wNzEsMy4wNzEsMCwwLDAsLjAzLTQuMzY0WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCA5LjY2NykiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTMxOS42MTEsMzA5My4yNmw0LjEyMyw0LjEyMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTIuMTkxIDkuMzY5KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNMzE3LjUxNywzMDk1LjM1bDQuMTIzLDQuMTIzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMS45NzIgOS4xNSkiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTMwNS41MjYsMzEwNy4zNGw0LjEyNyw0LjExOSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTAuMzQ5IDcuNTI3KSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgEmptyFolder = props => ;\nexport { SvgEmptyFolder as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTEuNyIgaGVpZ2h0PSIxMjAuNyIgdmlld0JveD0iMCAwIDExMS43IDEyMC43Ij4NCiAgPHBhdGggZD0iTTI4LjM1IDBoNTVhMjguMzUgMjguMzUgMCAwIDEgMjguMzUgMjguMzV2NTVhMjguMzUgMjguMzUgMCAwIDEtMjguMzUgMjguMzVoLTE5bC03LjUgOS03LjUtOWgtMjFBMjguMzUgMjguMzUgMCAwIDEgMCA4My4zNXYtNTVBMjguMzUgMjguMzUgMCAwIDEgMjguMzUgMHoiIGZpbGw9IiNGRjlEMUYiIC8+DQogIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDM0IDM0KSI+DQogICAgPHBhdGggZD0iTTM5LjU0MSAxNi4xMzF2LTUuODUzYTIuOTI3IDIuOTI3IDAgMCAwLTIuOTI2LTIuOTI2SDE2LjEzMVY0LjQyNkEyLjkyNyAyLjkyNyAwIDAgMCAxMy4yMDUgMS41SDQuNDI2QTIuOTI3IDIuOTI3IDAgMCAwIDEuNSA0LjQyNnYzMS44YTMuMzE2IDMuMzE2IDAgMCAwIDYuNTA4Ljg1NGw0LjU4Ni0xOC44MzlhMi45MjQgMi45MjQgMCAwIDEgMi44MTMtMi4xMDloMjcuMDZhMi45MjYgMi45MjYgMCAwIDEgMi44MjkgMy42NzlsLTQuMjkyIDE3LjU1N2EyLjkyNyAyLjkyNyAwIDAgMS0yLjgyOSAyLjE3M0g0LjgxMSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMyIvPg0KICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgErrorBlock = props => ;\nexport { SvgErrorBlock as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojZGMyYjBhO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQ0LjUgLTU1NC41KSI+PGNpcmNsZSBjbGFzcz0iYyIgY3g9IjEwIiBjeT0iMTAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NDYuNSA1NTYuNSkiLz48bGluZSBjbGFzcz0iYyIgeTE9IjE0LjIxMyIgeDI9IjE0LjIxMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDQ5LjM5MyA1NTkuMzkzKSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgExpand = props => ;\nexport { SvgExpand as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6IzQ4NDg0ODtzdHJva2U6IzQ4NDg0ODtzdHJva2Utd2lkdGg6MC41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTcuODksMThhLjQ3Ny40NzcsMCwwLDEtLjM1OC0uMTY1TC4zLDkuOGExLjIxNSwxLjIxNSwwLDAsMSwwLTEuNTg5TDcuNTMyLjE2NWEuNDcuNDcsMCwwLDEsLjcxNiwwLC41OS41OSwwLDAsMSwuMTQ4LjQuNTkuNTksMCwwLDEtLjE0OC40TDEuMDEyLDlsNy4yMzYsOC4wNGEuNjA2LjYwNiwwLDAsMSwwLC44QS40ODEuNDgxLDAsMCwxLDcuODksMThaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjY5OCAxNi42OTgpIHJvdGF0ZSgtOTApIi8+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgFavorite = props => ;\nexport { SvgFavorite as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTIwLjUsMjguOTM2bC03Ljg4NC04LjIyM2E0LjY2Niw0LjY2NiwwLDAsMS0uODc0LTUuMzg1aDBhNC42NjUsNC42NjUsMCwwLDEsNy40Ny0xLjIxMkwyMC41LDE1LjRsMS4yODctMS4yODdhNC42NjUsNC42NjUsMCwwLDEsNy40NywxLjIxMmgwYTQuNjY2LDQuNjY2LDAsMCwxLS44NzQsNS4zODVaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtOC43NSAtOS4yNTEpIi8+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgFieldsArrowRight = props => ;\nexport { SvgFieldsArrowRight as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNTcxLjUgLTM3Ni43NSkiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU4MC41IDM4Mi43NSkiPjxwYXRoIGNsYXNzPSJjIiBkPSJNNTgwLjUsMzgyLjc1bDUuNzE2LDUuNzE2YS40LjQsMCwwLDEsMCwuNTY1bC01LjcxNiw1LjcxNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTU4MC41IC0zODIuNzUpIi8+PC9nPjwvZz48L2c+PC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgHome = props => ;\nexport { SvgHome as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjUzLjc1OCAtMTAyLjgxNSkiPjxwYXRoIGNsYXNzPSJjIiBkPSJNMjU4Ljc1OCwxMTYuOTQ0djguMjVoNS40NTV2LTZhMS40MzcsMS40MzcsMCwwLDEsMS4zNjQtMS41aDEuMzY0YTEuNDM3LDEuNDM3LDAsMCwxLDEuMzY0LDEuNXY2aDUuNDU1di04LjI1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIC0xLjM1OSkiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTI1NS43NTgsMTE1LjQ0NGw5LjUxLTEwLjE4OWExLjMzNCwxLjMzNCwwLDAsMSwxLjk4MSwwbDkuNTEsMTAuMTg5Ii8+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconArrowRightOrange = props => ;\nexport { SvgIconArrowRightOrange as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1hcnJvdy1yaWdodCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+DQogIDxnIGlkPSJpY29uLWJnIj4NCiAgICA8cmVjdCBpZD0iaWNvbi1iZy0yIiBkYXRhLW5hbWU9Imljb24tYmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwKSIvPg0KICA8L2c+DQogIDxnIGlkPSJBcnJvd3MtRGlhZ3JhbXNfQXJyb3dzX2Fycm93LXJpZ2h0LTEiIGRhdGEtbmFtZT0iQXJyb3dzLURpYWdyYW1zIC8gQXJyb3dzIC8gYXJyb3ctcmlnaHQtMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTU3MC41IC0zNzYuNzUpIj4NCiAgICA8ZyBpZD0iR3JvdXBfNzAiIGRhdGEtbmFtZT0iR3JvdXAgNzAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDU4MC41IDM4Mi43NSkiPg0KICAgICAgPGcgaWQ9IlJlZ3VsYXJfNzAiIGRhdGEtbmFtZT0iUmVndWxhciA3MCI+DQogICAgICAgIDxwYXRoIGlkPSJTaGFwZV8yNDgiIGRhdGEtbmFtZT0iU2hhcGUgMjQ4IiBkPSJNNTgwLjUsMzgyLjc1bDUuNzE2LDUuNzE2YS40LjQsMCwwLDEsMCwuNTY1bC01LjcxNiw1LjcxNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTU4MC41IC0zODIuNzUpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZjlkMWYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjMiLz4NCiAgICAgIDwvZz4NCiAgICA8L2c+DQogIDwvZz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgIconBulletCheck = props => ;\nexport { SvgIconBulletCheck as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZGVmcz48c3R5bGU+LmF7ZmlsbDpyZ2JhKDI1NSwyNTUsMjU1LDApO30uYntmaWxsOiNmZjlkMWY7fS5je2ZpbGw6bm9uZTtzdHJva2U6I2ZmZjtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtbGluZWpvaW46cm91bmQ7c3Ryb2tlLXdpZHRoOjEuNXB4O308L3N0eWxlPjwvZGVmcz48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PGNpcmNsZSBjbGFzcz0iYiIgY3g9IjEwIiBjeT0iMTAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyIDIpIi8+PHBhdGggY2xhc3M9ImMiIGQ9Ik02LDEzLjIyMyw3Ljk0LDE2LjdhLjgwOC44MDgsMCwwLDAsLjY2NS40NjUuNzguNzgsMCwwLDAsLjY4Ni0uNDE0TDE1LjUsNi44MjgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEuMjUgMC4wMDEpIi8+PC9zdmc+\";","import * as React from \"react\";\nconst SvgIconHide = props => ;\nexport { SvgIconHide as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1oaWRlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPGcgaWQ9Imljb24tYmciPg0KICAgIDxyZWN0IGlkPSJpY29uLWJnLTIiIGRhdGEtbmFtZT0iaWNvbi1iZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDApIi8+DQogIDwvZz4NCiAgPGcgaWQ9InZpZXctb2ZmIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjc4Ljg1NiAtMzM0OS4xNzcpIHJvdGF0ZSgyKSI+DQogICAgPHBhdGggaWQ9IlNoYXBlXzE1MzgiIGRhdGEtbmFtZT0iU2hhcGUgMTUzOCIgZD0iTTQwMS43ODgsMzM1NS41MjYsNDE1LjY1OSwzMzQyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMC4zODcpIiBmaWxsPSJub25lIiBzdHJva2U9IiMyNzMxM2MiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjE5Ii8+DQogICAgPHBhdGggaWQ9IlNoYXBlXzE1MzkiIGRhdGEtbmFtZT0iU2hhcGUgMTUzOSIgZD0iTTQwOC42MiwzMzU2LjA3MWE3LjY4NSw3LjY4NSwwLDAsMCwyLjM5NC4zNjVjMy4zMTkuMDU2LDYuMDU3LTIuMjU1LDguMTM0LTQuNTQxYTEuMzQ2LDEuMzQ2LDAsMCwwLDAtMS44LDEzLjczMiwxMy43MzIsMCwwLDAtMi4zNTgtMS45MDkiIHRyYW5zZm9ybT0idHJ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csMy4wMzcsMCwwLDEsMCwzLjAzNiIgdHJhbnNmb3JtPSJtYXRyaXgoMSwgLTAuMDE3LCAwLjAxNywgMSwgNDA3Ljk3OSwgMzM0OC45NDMpIiBmaWxsPSJub25lIiBzdHJva2U9IiMyNzMxM2MiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjE5Ii8+DQogIDwvZz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgIconLoads = props => ;\nexport { SvgIconLoads as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZyBmaWxsPSJub25lIiBzdHJva2U9IiMyRTJFMkUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjIiPg0KICAgICAgICA8cGF0aCBkYXRhLW5hbWU9IlBhdGggMzE2NDQiIGQ9Ik0xMi4wMzYgMTIuMDAxSDQuNTEzYTEuNTM2IDEuNTM2IDAgMCAwLTEuNSAxLjU2NXY0LjY5NGExLjUzNiAxLjUzNiAwIDAgMCAxLjUgMS41NjVoNi4wMThhMS41MzUgMS41MzUgMCAwIDAgMS41LTEuNTY1di02LjI1OSIvPg0KICAgICAgICA8cGF0aCBkYXRhLW5hbWU9IlJlY3RhbmdsZSA1ODk1IiBkPSJNNi4wMDcgMTIuMDA4aDMuMDA5djQuMjEzSDYuMDA3eiIvPg0KICAgICAgICA8cGF0aCBkYXRhLW5hbWU9IlBhdGggMzE2NDUiIGQ9Ik0xNi4xOTQgMTIuMDIzVjUuNzY1YTEuNTMxIDEuNTMxIDAgMCAwLTEuNS0xLjU2NUg4LjcyMmExLjUzMiAxLjUzMiAwIDAgMC0xLjUgMS41NjV2Ni4yNTkiLz4NCiAgICAgICAgPHBhdGggZGF0YS1uYW1lPSJSZWN0YW5nbGUgNTg5NiIgZD0iTTEwLjIwNCA0LjJoMy4wMDl2NC4yMTNoLTMuMDA5eiIvPg0KICAgICAgICA8cGF0aCBkYXRhLW5hbWU9IlBhdGggMzE2NDYiIGQ9Ik0xMS45ODEgMTIuMDAxdjYuMjU5YTEuNTM2IDEuNTM2IDAgMCAwIDEuNSAxLjU2NWg2LjAxOGExLjUzNSAxLjUzNSAwIDAgMCAxLjUtMS41NjV2LTQuNjk0YTEuNTM1IDEuNTM1IDAgMCAwLTEuNDk2LTEuNTY1aC03LjUyMiIvPg0KICAgICAgICA8cGF0aCBkYXRhLW5hbWU9IlJlY3RhbmdsZSA1ODk3IiBkPSJNMTUuMDAxIDEyLjAwOGgzLjAwOXY0LjIxM2gtMy4wMDl6Ii8+DQogICAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgIconMessageOff = props => ;\nexport { SvgIconMessageOff as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxwYXRoIGQ9Ik0xOS4yMzIgMTguOTUzaC03LjkwNmwtNC41MTggMy4zODh2LTMuMzg4SDQuNTQ5YTEuMTI5IDEuMTI5IDAgMCAxLTEuMTI5LTEuMTI5aDBWNi41MjlBMS4xMjkgMS4xMjkgMCAwIDEgNC41NDkgNS40aDE0LjY4MmExLjEyOSAxLjEyOSAwIDAgMSAxLjEyOSAxLjEyOWgwdjExLjI5NGExLjEyOSAxLjEyOSAwIDAgMS0xLjEyOSAxLjEyOXoiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIvPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgIconOnboardedOff = props => ;\nexport { SvgIconOnboardedOff as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQgNCkiIGZpbGw9IiMwMGI1MjkiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjEuMiI+DQogICAgICAgIDxyZWN0IHdpZHRoPSIxNS44OSIgaGVpZ2h0PSIxNS44OSIgcng9IjEuNSIgc3Ryb2tlPSIjMDBiNTI5Ii8+DQogICAgICAgIDxwYXRoIGQ9Ik03Ljk0OCAyLjY0OEw0Ljc2NyA2Ljg4NSAyLjY0OCA0Ljc2N005LjUzNCA1LjI5N2gzLjE3OE03Ljk0OCA5LjAwNGwtMy4xODEgNC4yMzctMi4xMTktMi4xMThNOS41MzQgMTEuNjUzaDMuMTc4IiBzdHJva2U9IiNmZmYiLz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconOnboardedOn = props => ;\nexport { SvgIconOnboardedOn as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQgNCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI3MzEzYyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS13aWR0aD0iMS4yIj4NCiAgICAgICAgPHJlY3Qgd2lkdGg9IjE1Ljg5IiBoZWlnaHQ9IjE1Ljg5IiByeD0iMS41Ii8+DQogICAgICAgIDxwYXRoIGQ9Ik03Ljk0OCAyLjY0OEw0Ljc2NyA2Ljg4NSAyLjY0OCA0Ljc2N005LjUzNCA1LjI5N2gzLjE3OE03Ljk0OCA5LjAwNGwtMy4xODEgNC4yMzctMi4xMTktMi4xMThNOS41MzQgMTEuNjUzaDMuMTc4Ii8+DQogICAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgIconSend = props => ;\nexport { SvgIconSend as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0ic21hbGwtaWNvbi1zZW5kIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4NCiAgICA8ZyBpZD0iaWNvbi1iZy1zbWFsbCI+DQogICAgICAgIDxyZWN0IGlkPSJpY29uLWJnLXNtYWxsLTIiIGRhdGEtbmFtZT0iaWNvbi1iZy1zbWFsbCIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJub25lIiAvPg0KICAgIDwvZz4NCiAgICA8ZyBpZD0iRW1haWxzX1NlbmQtRW1haWxfc2VuZC1lbWFpbCIgZGF0YS1uYW1lPSJFbWFpbHM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YXA9InJvdW5kIg0KICAgICAgICAgICAgICAgICAgICBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiIC8+DQogICAgICAgICAgICAgICAgPHBhdGggaWQ9IlNoYXBlXzI0IiBkYXRhLW5hbWU9IlNoYXBlIDI0IiBkPSJNMzk5LjQ5LDEwMy4yMmw0LjU0OS02LjE4MSINCiAgICAgICAgICAgICAgICAgICAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM5NS4yMzQgLTk2Ljg5NSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzZEN0U5MCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIg0KICAgICAgICAgICAgICAgICAgICBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiIC8+DQogICAgICAgICAgICA8L2c+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconTrip = props => ;\nexport { SvgIconTrip as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi10cmlwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPGcgaWQ9Imljb24tYmciPg0KICAgIDxyZWN0IGlkPSJpY29uLWJnLTIiIGRhdGEtbmFtZT0iaWNvbi1iZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDApIi8+DQogIDwvZz4NCiAgPGcgaWQ9Ikdyb3VwXzEwNzkwIiBkYXRhLW5hbWU9Ikdyb3VwIDEwNzkwIj4NCiAgICA8cGF0aCBpZD0iU2hhcGVfMjEwIiBkYXRhLW5hbWU9IlNoYXBlIDIxMCIgZD0iTTI4Miw3MDMuMjI3YS40LjQsMCwwLDEsLjQuNCIgdHJhbnNmb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==\";","import * as React from \"react\";\nconst SvgIconView = props => ;\nexport { SvgIconView as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0ic21hbGwtaWNvbi12aWV3IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij4NCiAgICA8ZyBpZD0idmlldy0xIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjUyLjc1NiAtMzMzOS4yNSkiPg0KICAgICAgICA8cGF0aCBpZD0iU2hhcGVfMTUzNCIgZGF0YS1uYW1lPSJTaGFwZSAxNTM0Ig0KICAgICAgICAgICAgZD0iTTI2MC43MjIsMzM0NC4yNWE2Ljk2Nyw2Ljk2NywwLDAsMC00Ljc3NywyLjQ4Ny43MzQuNzM0LDAsMCwwLDAsLjk4Myw1LjgzMSw1LjgzMSwwLDAsMCw5LjU1NSwwLC43MzQuNzM0LDAsMCwwLDAtLjk4M0E2Ljk3Myw2Ljk3MywwLDAsMCwyNjAuNzIyLDMzNDQuMjVaIg0KICAgICAgICAgICAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCAwKSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNkQ3RTkwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiDQogICAgICAgICAgICBzdHJva2Utd2lkdGg9IjEiIC8+DQogICAgICAgIDxwYXRoIGlkPSJTaGFwZV8xNTM1IiBkYXRhLW5hbWU9IlNoYXBlIDE1MzUiDQogICAgICAgICAgICBkPSJNMjY1Ljg5NSwzMzQ4LjQxMmExLjMzMSwxLjMzMSwwLDEsMS0xLjMyLTEuMTYyLDEuNDE4LDEuNDE4LDAsMCwxLC45MzMuMzQsMS4xLDEuMSwwLDAsMSwuMzg2LjgyMloiDQogICAgICAgICAgICB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMy44NTIgLTEuMTgyKSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNkQ3RTkwIiBzdHJva2UtbGluZWNhcD0icm91bmQiDQogICAgICAgICAgICBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiIC8+DQogICAgPC9nPg0KICAgIDxnIGlkPSJpY29uLWJnLXNtYWxsIj4NCiAgICAgICAgPHJlY3QgaWQ9Imljb24tYmctc21hbGwtMiIgZGF0YS1uYW1lPSJpY29uLWJnLXNtYWxsIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIGZpbGw9Im5vbmUiIC8+DQogICAgPC9nPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgIconZoom = props => ;\nexport { SvgIconZoom as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi16b29tIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPGcgaWQ9Imljb24tYmciPg0KICAgIDxyZWN0IGlkPSJpY29uLWJnLTIiIGRhdGEtbmFtZT0iaWNvbi1iZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDApIi8+DQogIDwvZz4NCiAgPGcgaWQ9IkludGVyZmFjZS1Fc3NlbnRpYWxfWm9vbV96b29tLWluLXBhZ2UiIGRhdGEtbmFtZT0iSW50ZXJmYWNlLUVzc2VudGlhbCAvIFpvb20gLyB6b29tLWluLXBhZ2UiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMDkuMTI2IC0zNTQwLjkyKSI+DQogICAgPGcgaWQ9Ikdyb3VwXzM0MyIgZGF0YS1uYW1lPSJHcm91cCAzNDMiPg0KICAgICAgPGcgaWQ9Inpvb20taW4tcGFnZSI+DQogICAgICAgIDxwYXRoIGlkPSJPdmFsXzIxMSIgZGF0YS1u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\nexport { SvgIconErrorBlock as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojZGMyYjBhO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQ0LjUgLTU1NC41KSI+PGNpcmNsZSBjbGFzcz0iYyIgY3g9IjEwIiBjeT0iMTAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NDYuNSA1NTYuNSkiLz48bGluZSBjbGFzcz0iYyIgeTE9IjE0LjIxMyIgeDI9IjE0LjIxMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDQ5LjM5MyA1NTkuMzkzKSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgIconInfo = props => ;\nexport { SvgIconInfo as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojMGFiYmRjO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQ4IC02MDMuNSkiPjxjaXJjbGUgY2xhc3M9ImMiIGN4PSIxMCIgY3k9IjEwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDUwIDYwNS41KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNOC4yNSwxMi43NDdIOS45MXY2LjYzOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDUwLjA4NyA2MDEuMTA0KSIvPjxsaW5lIGNsYXNzPSJjIiB4Mj0iMy4zMTkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ1OC4zNCA2MjAuNSkiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTkuNzksOWEuNDE1LjQxNSwwLDEsMCwuNDE1LjQxNUEuNDE1LjQxNSwwLDAsMCw5Ljc5LDloMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDUwLjIxIDYwMC42NzEpIi8+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconSuccess = props => ;\nexport { SvgIconSuccess as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojMDBiNTI5O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjI1IDEuMjUxKSI+PHBhdGggY2xhc3M9ImMiIGQ9Ik02LDEzLjIyMyw3Ljk0LDE2LjdhLjgwOC44MDgsMCwwLDAsLjY2NS40NjUuNzguNzgsMCwwLDAsLjY4Ni0uNDE0TDE1LjUsNi44MjgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTEuMjUpIi8+PGNpcmNsZSBjbGFzcz0iYyIgY3g9IjEwIiBjeT0iMTAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjc1IDAuNzQ5KSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgIconWarning = props => ;\nexport { SvgIconWarning as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZ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0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS41cHg7ZmlsbC1ydWxlOmV2ZW5vZGQ7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTEzLjMxLDE4Ljc0NSw1LjQ3MSwxMC4xNzFhLjYzOS42MzksMCwwLDEsMC0uODQ4TDEzLjMxLjc1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzLjE5IDIuNzUpIi8+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgInfoSmall = props => ;\nexport { SvgInfoSmall as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQ4IC02MDMuNSkiPjxjaXJjbGUgY2xhc3M9ImMiIGN4PSI2IiBjeT0iNiIgcj0iNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDUwIDYwNS41KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNOC4yNSwxMi43NDdIOS4zMjl2NC4zMTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ0Ni43MTQgNTk3LjU1NikiLz48bGluZSBjbGFzcz0iYyIgeDI9IjIuMTU3IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NTQuOTIxIDYxNC41KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNOS42NDUsOWEuMjcuMjcsMCwxLDAsLjI3LjI3QS4yNy4yNywwLDAsMCw5LjY0NSw5aDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ0Ni4zNTUgNTk4Ljk5MykiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgInfoSmallGray = props => ;\nexport { SvgInfoSmallGray as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojOTE5MTkxO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQ4IC02MDMuNSkiPjxjaXJjbGUgY2xhc3M9ImMiIGN4PSI2IiBjeT0iNiIgcj0iNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDUwIDYwNS41KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNOC4yNSwxMi43NDdIOS4zMjl2NC4zMTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ0Ni43MTQgNTk3LjU1NikiLz48bGluZSBjbGFzcz0iYyIgeDI9IjIuMTU3IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NTQuOTIxIDYxNC41KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNOS42NDUsOWEuMjcuMjcsMCwxLDAsLjI3LjI3QS4yNy4yNywwLDAsMCw5LjY0NSw5aDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ0Ni4zNTUgNTk4Ljk5MykiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgInfoSmallWhite = props => ;\nexport { SvgInfoSmallWhite as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojZmZmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNDQ4IC02MDMuNSkiPjxjaXJjbGUgY2xhc3M9ImMiIGN4PSI2IiBjeT0iNiIgcj0iNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDUwIDYwNS41KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNOC4yNSwxMi43NDdIOS4zMjl2NC4zMTUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ0Ni43MTQgNTk3LjU1NikiLz48bGluZSBjbGFzcz0iYyIgeDI9IjIuMTU3IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0NTQuOTIxIDYxNC41KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNOS42NDUsOWEuMjcuMjcsMCwxLDAsLjI3LjI3QS4yNy4yNywwLDAsMCw5LjY0NSw5aDAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ0Ni4zNTUgNTk4Ljk5MykiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgLocation = props => ;\nexport { SvgLocation as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjA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TUzUzEuNSwyMS4yOTMsMS41LDE5Ljg4M2MwLS44NjgsMS41LTEuNjM1LDMuOC0yLjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xLjUgLTMuNDM2KSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgLogoGray = props => ;\nexport { SvgLogoGray as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI4MCIgdmlld0JveD0iMCAwIDgwIDgwIj4NCiAgPHJlY3Qgd2lkdGg9IjgwIiBoZWlnaHQ9IjgwIiByeD0iOCIgZmlsbD0iI2M4YzljYSIvPg0KICA8cGF0aCBkPSJtMzkgNDYuMSA0LjgtM2MzLjItMiA1LjQtNC4zIDUuNC04LjQgMC01LjEtNC40LTguOC0xMC42LTguOHMtOC43IDItMTEuOCA1LjdsNiA1LjFjMi4yLTIuMyAzLjYtMy4zIDUuMS0zLjNzMi41LjkgMi41IDItLjcgMi0yLjQgMy4ybC0xMS4xIDhWNTNoMTUuNWw3LTd6TTEzLjMgMzYuMmgtNnYtMy44bDYuMy02LjJoOC42djI3aC05em00MCAxMC03IDdoMTYuM2M2IDAgMTEtMi4yIDExLTguNiAwLTMuOS0yLjEtNi4xLTUuNi03LjNsNS00Ljl2LTYuMUg1OS4ybC03IDYuOGgxMGwtNC42IDQuOHYzLjloMy44YzIuNCAwIDMuNS45IDMuNSAyLjEgMCAxLjMtMSAyLjEtMyAyLjF6IiBmaWxsPSIjZmZmIi8+DQo8L3N2Zz4NCg0K\";","import * as React from \"react\";\nconst SvgLogoOrange = props => ;\nexport { SvgLogoOrange as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDgwIDgwIj4NCiAgPHJlY3Qgd2lkdGg9IjgwIiBoZWlnaHQ9IjgwIiByeD0iOCIgZmlsbD0iI2ZlOWMyMSIvPg0KICA8cGF0aCBkPSJtMzkgNDYuMSA0LjgtM2MzLjItMiA1LjQtNC4zIDUuNC04LjQgMC01LjEtNC40LTguOC0xMC42LTguOHMtOC43IDItMTEuOCA1LjdsNiA1LjFjMi4yLTIuMyAzLjYtMy4zIDUuMS0zLjNzMi41LjkgMi41IDItLjcgMi0yLjQgMy4ybC0xMS4xIDhWNTNoMTUuNWw3LTd6TTEzLjMgMzYuMmgtNnYtMy44bDYuMy02LjJoOC42djI3aC05em00MCAxMC03IDdoMTYuM2M2IDAgMTEtMi4yIDExLTguNiAwLTMuOS0yLjEtNi4xLTUuNi03LjNsNS00Ljl2LTYuMUg1OS4ybC03IDYuOGgxMGwtNC42IDQuOHYzLjloMy44YzIuNCAwIDMuNS45IDMuNSAyLjEgMCAxLjMtMSAyLjEtMyAyLjF6IiBmaWxsPSIjZmZmIi8+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgMapError = props => ;\nexport { SvgMapError as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTEuNyIgaGVpZ2h0PSIxMjAuNyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQogICAgPHBhdGggc3R5bGU9InN0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxO3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1kYXNob2Zmc2V0OjA7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1taXRlcmxpbWl0OjQ7ZmlsbDojZmY5ZDFmO2ZpbGwtcnVsZTpub256ZXJvO29wYWNpdHk6MSIgdmVjdG9yLWVmZmVjdD0ibm9uLXNjYWxpbmctc3Ryb2tlIiB0cmFuc2Zvcm09InRyYW5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VsNi42NDMsNi42NDQiLz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgMapLookUp = props => ;\nexport { SvgMapLookUp as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTEuNyIgaGVpZ2h0PSIxMjAuNyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+DQogICAgPHBhdGggc3R5bGU9InN0cm9rZTpub25lO3N0cm9rZS13aWR0aDoxO3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2UtbGluZWNhcDpidXR0O3N0cm9rZS1kYXNob2Zmc2V0OjA7c3Ryb2tlLWxpbmVqb2luOm1pdGVyO3N0cm9rZS1taXRlcmxpbWl0OjQ7ZmlsbDojZmY5ZDFmO2ZpbGwtcnVsZTpub256ZXJvO29wYWNpdHk6MSIgdmVjdG9yLWVmZmVjdD0ibm9uLXNjYWxpbmctc3Ryb2tlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNzg5LjE1IC0yMTcuMTUpIiBkPSJNODE3LjUgMjE3LjE1aDU1YTI4LjM1IDI4LjM1IDAgMCAxIDI4LjM1IDI4LjM1djU1YTI4LjM1IDI4LjM1IDAgMCAxLTI4LjM1IDI4LjM1aC0xOWwtNy41IDktNy41LTloLTIxYTI4LjM1IDI4LjM1IDAgMCAxLTI4LjM1LTI4LjM1di01NWEyOC4zNSAyOC4zNSAwIDAgMSAyOC4zNS0yOC4zNXoiLz4NCiAgICA8Zz4NCiAgICAgICAgPHBhdGggc3R5bGU9InN0cm9rZTojZmZmO3N0cm9rZS13aWR0aDozO3N0cm9rZS1kYXNoYXJyYXk6bm9uZTtzdHJva2UtbGluZWNhcDpyb3VuZDtzdHJva2UtZGFzaG9mZnNldDowO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2UtbWl0ZXJsaW1pdDo0O2ZpbGw6bm9uZTtma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TUuNzg2LTUuNzg2Ii8+DQogICAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgMarker = props => ;\nexport { SvgMarker as ReactComponent };\nexport default \"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE2LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPCFET0NUWVBFIHN2ZyBQVUJMSUMgIi0vL1czQy8vRFREIFNWRyAxLjEvL0VOIiAiaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkIj4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCINCgkgd2lkdGg9IjExOC4xcHgiIGhlaWdodD0iMTE4LjFweCIgdmlld0JveD0iMCAwIDExOC4xIDExOC4xIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxMTguMSAxMTguMTsiIHhtbDpzcGFjZT0icHJlc2VydmUiDQoJPg0KPGc+DQoJPHBhdGggZmlsbD0iIzQ4NDg0OCIgZD0iTTU5LDBDMzQuNCwwLDE0LjUsMTkuOSwxNC41LDQ0LjVjMCwxMi44LDYuNCwyNC40LDEyLjcsMzUuMWM3LjcsMTMuMzAxLDE2LjksMjUuNywyNy42LDM2LjdjMi4zLDIuMzk5LDYuMTAxLDIuMzk5LDguNSwwDQoJCUM3Mi43LDEwNyw4MSw5Ni41LDg4LDg1LjNjNy41LTEyLjEwMSwxNS42LTI2LjEwMSwxNS42LTQwLjhDMTAzLjUsMjAsODMuNiwwLDU5LDB6IE01OSw3MC4zYy0xNC45LDAtMjctMTIuMS0yNy0yN3MxMi4xLTI3LDI3LTI3DQoJCWMxNC45LDAsMjcsMTIsMjcsMjdTNzMuOSw3MC4zLDU5LDcwLjN6Ii8+DQo8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgMessageBlue = props => ;\nexport { SvgMessageBlue as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiI+DQogIDxyZWN0IHdpZHRoPSIzNiIgaGVpZ2h0PSIzNiIgcng9IjQiIGZpbGw9IiMwMzhmZTUiLz4NCiAgPHBhdGggZD0iTTI0LjkzIDIzLjhoLTcuNDZMMTMuMiAyN3YtMy4yaC0yLjEzQTEuMDcgMS4wNyAwIDAgMSAxMCAyMi43M1YxMi4wN0ExLjA3IDEuMDcgMCAwIDEgMTEuMDcgMTFoMTMuODZBMS4wNyAxLjA3IDAgMCAxIDI2IDEyLjA3djEwLjY2YTEuMDcgMS4wNyAwIDAgMS0xLjA3IDEuMDd6TTE0LjIyIDE3LjQxYS4yOS4yOSAwIDEgMCAuMy4yOS4yOS4yOSAwIDAgMC0uMy0uMjltMy44OSAwYS4yOS4yOSAwIDEgMCAuMjkuMjkuMjkuMjkgMCAwIDAtLjMtLjI5bTMuOSAwYS4yOS4yOSAwIDEgMCAuMjguMjkuMjkuMjkgMCAwIDAtLjI5LS4yOSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS44Ii8+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgMessageLockedIcon = props => ;\nexport { SvgMessageLockedIcon as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4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InJvdW5kIi8+DQogICAgICAgIDxwYXRoIGQ9Ik0zMzc3LjE1NC0yMDAuNTk5YTEuOSAxLjkgMCAxIDAtMy4xNjUgMS40MDd2MS43NTlhMS4yNjYgMS4yNjYgMCAxIDAgMi41MzIgMHYtMS43NTlhMS44ODcgMS44ODcgMCAwIDAgLjYzMy0xLjQwN3oiIGZpbGw9IiNmZmM0NzgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPg0KICAgIDwvZz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgNewLoadsArrowDown = props => ;\nexport { SvgNewLoadsArrowDown as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld2JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBkPSJNMTUuNTY3IDguNzg1TDExLjc4NCA1IDcuOTk5IDguNzg1TTExLjc4NCA1djEzLjIiIHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIC0xIDAgMjQpIiBmaWxsPSJub25lIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIvPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgNewLoadsArrow = props => ;\nexport { SvgNewLoadsArrow as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2Zw0KICAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiB2aWV3Ym94PSIwIDAgMjQgMjQiPg0KICAgIDxwYXRoIGQ9Ik0xNS41NjcgOC43ODVMMTEuNzg0IDUgNy45OTkgOC43ODVNMTEuNzg0IDV2MTMuMiIgZmlsbD0ibm9uZSIgIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMS41Ii8+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgNoConversations = props => ;\nexport { SvgNoConversations as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTM2IiBoZWlnaHQ9IjEzNiIgdmlld0JveD0iMCAwIDEzNiAxMzYiPjxkZWZzPjxzdHlsZT4uYSwuaHtmaWxsOm5vbmU7fS5ie2NsaXAtcGF0aDp1cmwoI2EpO30uY3tmaWxsOiNlNGY3ZTg7fS5kLC5me2ZpbGw6I2ZmZjt9LmQsLmUsLmh7c3Ryb2tlOiM0ODQ4NDg7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO30uZXtmaWxsOiM5OGUxYTg7fS5ne2ZpbGw6I2ZmYzQ3ODt9PC9zdHlsZT48Y2xpcFBhdGggaWQ9ImEiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMTM2IiBoZWlnaHQ9IjEzNiIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsYXNzPSJiIj48Y2lyY2xlIGNsYXNzPSJjIiBjeD0iNjgiIGN5PSI2OCIgcj0iNjgiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzg4IC0xNDM3KSI+PHJlY3QgY2xhc3M9ImQiIHdpZHRoPSI0OC45ODIiIGhlaWdodD0iNjMuODgiIHJ4PSIxLjE1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0MTYuNTIxIDE0NzguOTM1KSByb3RhdGUoLTE2LjM2KSIvPjxyZWN0IGNsYXNzPSJkIiB3aWR0aD0iNDguOTgyIiBoZWlnaHQ9IjYzLjg4IiByeD0iMS4xNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNDI1LjgyNiAxNDY5LjIpIi8+PHJlY3QgY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M9ImgiIGQ9Ik03MC4zMzksNDQuNjgsNDIuMTgsNzIuODM5QTIwLjA3MywyMC4wNzMsMCwwLDAsNzAuMzM5LDQ0LjY4WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMzM2Ny44NzIgLTEwOTguMDQxKSIvPjwvZz48L2c+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgPointA = props => ;\nexport { SvgPointA as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+DQo8ZGVmcz4NCjxzdHlsZT4uYSwuY3tmaWxsOm5vbmU7fS5ie2NsaXAtcGF0aDp1cmwoI2EpO30uZCwuZXtzdHJva2U6bm9uZTt9LmV7ZmlsbDojOTE5MTkxO308L3N0eWxlPg0KICAgIDxjbGlwUGF0aCBpZD0iYSI+DQogICAgICAgIDxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz4NCiAgICA8L2NsaXBQYXRoPg0KPC9kZWZzPg0KICAgIDxnIGNsYXNzPSJiIj4NCiAgICA8cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+DQogICAgICAgIDxnIGNsYXNzPSJjIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzIDMpIj4NCiAgICAgICAgICAgIDxwYXRoIGNsYXNzPSJkIiBkPSJNNC41LDBBNC41LDQuNSwwLDEsMSwwLDQuNSw0LjUsNC41LDAsMCwxLDQuNSwwWiIvPg0KICAgICAgICAgICAgPHBhdGggY2xhc3M9ImUiIGQ9Ik0gNC41IDEuNSBDIDIuODQ1Nzg5OTA5MzYyNzkzIDEuNSAxLjUgMi44NDU3ODk5MDkzNjI3OTMgMS41IDQuNSBDIDEuNSA2LjE1NDIxMDA5MDYzNzIwNyAyLjg0NTc4OTkwOTM2Mjc5MyA3LjUgNC41IDcuNSBDIDYuMTU0MjEwMDkwNjM3MjA3IDcuNSA3LjUgNi4xNTQyMTAwOTA2MzcyMDcgNy41IDQuNSBDIDcuNSAyLjg0NTc4OTkwOTM2Mjc5MyA2LjE1NDIxMDA5MDYzNzIwNyAxLjUgNC41IDEuNSBNIDQuNSAwIEMgNi45ODUyODAwMzY5MjYyNyAwIDkgMi4wMTQ3MTk5NjMwNzM3MyA5IDQuNSBDIDkgNi45ODUyODAwMzY5MjYyNyA2Ljk4NTI4MDAzNjkyNjI3IDkgNC41IDkgQyAyLjAxNDcxOTk2MzA3MzczIDkgMCA2Ljk4NTI4MDAzNjkyNjI3IDAgNC41IEMgMCAyLjAxNDcxOTk2MzA3MzczIDIuMDE0NzE5OTYzMDczNzMgMCA0LjUgMCBaIi8+DQogICAgICAgIDwvZz4NCiAgICA8L2c+DQo8L3N2Zz4=\";","import * as React from \"react\";\nconst SvgPointB = props => ;\nexport { SvgPointB as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojZmY5ZDFmO3N0cm9rZS13aWR0aDoxLjVweDt9LmR7c3Ryb2tlOm5vbmU7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiLz48ZyBjbGFzcz0iYyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNCAzKSI+PHJlY3QgY2xhc3M9ImQiIHdpZHRoPSI5IiBoZWlnaHQ9IjkiLz48cmVjdCBjbGFzcz0iYSIgeD0iMC43NSIgeT0iMC43NSIgd2lkdGg9IjcuNSIgaGVpZ2h0PSI3LjUiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgPrintDisabled = props => ;\nexport { SvgPrintDisabled as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1wcmludCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+DQogIDxnIGlkPSJpY29uLWJnIj4NCiAgICA8cmVjdCBpZD0iaWNvbi1iZy0yIiBkYXRhLW5hbWU9Imljb24tYmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwKSIvPg0KICA8L2c+DQogIDxnIGlkPSJJbnRlcmZhY2UtRXNzZW50aWFsX1ByaW50X3ByaW50LXRleHQiIGRhdGEtbmFtZT0iSW50ZXJmYWNlLUVzc2VudGlhbCAvIFByaW50IC8gcHJpbnQtdGV4dCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTI1Mi4wNzQgLTM5ODMuOTUpIj4NCiAgICA8ZyBpZD0iR3JvdXBfMzcxIiBkYXRhLW5hbWU9Ikdyb3VwIDM3MSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjU1Ljc1NSAzOTg3Ljc1KSI+DQogICAgICA8ZyBpZD0icHJpbnQtdGV4dCI+DQogICAgICAgIDxwYXRoIGlkPSJTaGFwZV8xNjc2IiBkYXRhLW5hbWU9IlNoYXBlIDE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hcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMS4yIi8+DQogICAgICAgIDxwYXRoIGlkPSJTaGFwZV8xNjc5IiBkYXRhLW5hbWU9IlNoYXBlIDE2NzkiIGQ9Ik0yNjMuMjU1LDQwMDIuNzVIMjY4LjgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yNTcuNzA5IC0zOTkxLjY1OCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI3MzEzYyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMiIvPg0KICAgICAgICA8cGF0aCBpZD0iU2hhcGVfMTY4MCIgZGF0YS1uYW1lPSJTaGFwZSAxNjgwIiBkPSJNMjYzLjI1NSw0MDA1Ljc1aDMuODgyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjU3LjcwOSAtMzk5Mi40NCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI3MzEzYyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMiIvPg0KICAgICAgPC9nPg0KICAgIDwvZz4NCiAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgRoadSignTwoWayDisabled = props => ;\nexport { SvgRoadSignTwoWayDisabled as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMy4zNCIgaGVpZ2h0PSIxMS41MzkiIHZpZXdCb3g9IjAgMCAxMy4zNCAxMS41MzkiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOm5vbmU7c3Ryb2tlOiM5MTkxOTE7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoxLjVweDt9PC9zdHlsZT48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC43NSAwLjc1KSI+PHBhdGggY2xhc3M9ImEiIGQ9Ik03LjUsMTMuOTY1bDIuNzMyLTIuNzMyLDIuNzMyLDIuNzMyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNy41IC0xMS4yMzMpIi8+PGxpbmUgY2xhc3M9ImEiIHkyPSIxMC4wMzkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIuNzMyKSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTguMjE1LDE3LjI1bC0yLjczMiwyLjczMkwxMi43NSwxNy4yNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTYuMzc1IC05Ljk0MykiLz48bGluZSBjbGFzcz0iYSIgeTE9IjEwLjAxOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOS4xMDggMC4wMjEpIi8+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgRoadSignTwoWay = props => ;\nexport { SvgRoadSignTwoWay as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMy4zNCIgaGVpZ2h0PSIxMS41MzkiIHZpZXdCb3g9IjAgMCAxMy4zNCAxMS41MzkiPjxkZWZzPjxzdHlsZT4uYXtmaWxsOm5vbmU7c3Ryb2tlOiM0ODQ4NDg7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoxLjVweDt9PC9zdHlsZT48L2RlZnM+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC43NSAwLjc1KSI+PHBhdGggY2xhc3M9ImEiIGQ9Ik03LjUsMTMuOTY1bDIuNzMyLTIuNzMyLDIuNzMyLDIuNzMyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtNy41IC0xMS4yMzMpIi8+PGxpbmUgY2xhc3M9ImEiIHkyPSIxMC4wMzkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIuNzMyKSIvPjxwYXRoIGNsYXNzPSJhIiBkPSJNMTguMjE1LDE3LjI1bC0yLjczMiwyLjczMkwxMi43NSwxNy4yNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTYuMzc1IC05Ljk0MykiLz48bGluZSBjbGFzcz0iYSIgeTE9IjEwLjAxOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOS4xMDggMC4wMjEpIi8+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgSaveSearch = props => ;\nexport { SvgSaveSearch as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjMxMyAxLjMxMykiPjxsaW5lIGNsYXNzPSJjIiB4MT0iNC4xMjEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMuODkzIDE1LjQ5MikiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTE0LjYxNiw2LjA4NVYzLjk1MUExLjA2NywxLjA2NywwLDAsMCwxMy41NSwyLjg4NEg2LjA4M1YxLjgxN0ExLjA2NywxLjA2NywwLDAsMCw1LjAxNy43NWgtMy4yQTEuMDY3LDEuMDY3LDAsMCwwLC43NSwxLjgxN1YxMi4zNDVhMS4yMDksMS4yMDksMCwwLDAsMi4zNzIuMzEybDEuNjcyLTUuOGExLjA2NywxLjA2NywwLDAsMSwxLjAyNS0uNzcxaDkuODY0YTEuMDY3LDEuMDY3LDAsMCwxLDEuMDMxLDEuMzQyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxLjkzOCAxLjkzOCkiLz48ZWxsaXBzZSBjbGFzcz0iYyIgY3g9IjMuNzI4IiBjeT0iMy43MjgiIHJ4PSIzLjcyOCIgcnk9IjMuNzI4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMC42NDMgMTAuNjQzKSIvPjxsaW5lIGNsYXNzPSJjIiB4MT0iMi42OCIgeTE9IjIuNjgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE3LjAwNyAxNy4wMDcpIi8+PC9nPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgSaveDisabled = props => ;\nexport { SvgSaveDisabled as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojOTE5MTkxO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2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z48cGF0aCBjbGFzcz0iYyIgZD0iTTE1LjQ2NSwyMC4xMjdsLTMuNTkzLTMuNzQ4YTIuMTI1LDIuMTI1LDAsMCwxLS40LTIuNDUzaDBhMi4xMjYsMi4xMjYsMCwwLDEsMy40LS41NTJsLjU4Ny41ODcuNTg3LS41ODdhMi4xMjYsMi4xMjYsMCwwLDEsMy40LjU1MmgwYTIuMTI1LDIuMTI1LDAsMCwxLS40LDIuNDUzWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMuNjgxIC00LjEyOCkiLz48L2c+PC9nPjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgSaved = props => ;\nexport { SvgSaved as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5jLC5ke3N0cm9rZTojZmY5ZDFmO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fS5ke2ZpbGw6I2ZmOWQxZjt9PC9zdHlsZT48Y2xpcFBhdGggaWQ9ImEiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGFzcz0iYiI+PHJlY3QgY2xhc3M9ImEiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIvPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMuMjUgMy4yNSkiPjxsaW5lIGNsYXNzPSJjIiB4MT0iNC4wNzciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEuOTQyIDEzLjU1KSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNMTQuNjE2LDYuMVYzLjk2QTEuMDY4LDEuMDY4LDAsMCwwLDEzLjU1LDIuODlINi4wODNWMS44MkExLjA2OCwxLjA2OCwwLDAsMCw1LjAxNy43NWgtMy4yQTEuMDY4LDEuMDY4LDAsMCwwLC43NSwxLjgyVjEyLjM3NmExLjIwOCwxLjIwOCwwLDAsMCwyLjM3Mi4zMTJMNC43OTQsNi44NzJBMS4wNjcsMS4wNjcsMCwwLDEsNS44MTksNi4xaDkuODY0YTEuMDY5LDEuMDY5LDAsMCwxLDEuMDMxLDEuMzQ1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwKSIvPjxwYXRoIGNsYXNzPSJkIiBkPSJNMTUuNDY1LDIwLjEyN2wtMy41OTMtMy43NDhhMi4xMjUsMi4xMjUsMCwwLDEtLjQtMi40NTNoMGEyLjEyNiwyLjEyNiwwLDAsMSwzLjQtLjU1MmwuNTg3LjU4Ny41ODctLjU4N2EyLjEyNiwyLjEyNiwwLDAsMSwzLjQuNTUyaDBhMi4xMjUsMi4xMjUsMCwwLDEtLjQsMi40NTNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMi45MzEgLTMuMzc4KSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgSearchTrucks = props => ;\nexport { SvgSearchTrucks as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJ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DIuMzg2Ii8+PHBhdGggY2xhc3M9ImMiIGQ9Ik0zNzUuNywxMjYuMzI1di0uNDFhMS44NDMsMS44NDMsMCwwLDAtMS4wNjItMS41OSIvPjxwYXRoIGNsYXNzPSJjIiBkPSJNMzgwLjQ2OCwxMjkuNjYzSDM3NS43Ii8+PC9nPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgShareDisabled = props => ;\nexport { SvgShareDisabled as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojOTE5MTkxO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0IDUpIj48ZWxsaXBzZSBjbGFzcz0iYyIgY3g9IjIuNjQ4IiBjeT0iMi42NDgiIHJ4PSIyLjY0OCIgcnk9IjIuNjQ4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDQuMTgzKSIvPjxlbGxpcHNlIGNsYXNzPSJjIiBjeD0iMi42NDgiIGN5PSIyLjY0OCIgcng9IjIuNjQ4IiByeT0iMi42NDgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjcwNCkiLz48ZWxsaXBzZSBjbGFzcz0iYyIgY3g9IjIuNjQ4IiBjeT0iMi42NDgiIHJ4PSIyLjY0OCIgcnk9IjIuNjQ4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMC43MDQgOS41NjIpIi8+PGxpbmUgY2xhc3M9ImMiIHkxPSIxLjc4NyIgeDI9IjQuNTk1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1LjcwMiAzLjkzNikiLz48bGluZSBjbGFzcz0iYyIgeDI9IjQuNzk0IiB5Mj0iMi4zOTciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUuNjAzIDguMjYxKSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgShare = props => ;\nexport { SvgShare as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSg0IDUpIj48ZWxsaXBzZSBjbGFzcz0iYyIgY3g9IjIuNjQ4IiBjeT0iMi42NDgiIHJ4PSIyLjY0OCIgcnk9IjIuNjQ4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDQuMTgzKSIvPjxlbGxpcHNlIGNsYXNzPSJjIiBjeD0iMi42NDgiIGN5PSIyLjY0OCIgcng9IjIuNjQ4IiByeT0iMi42NDgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjcwNCkiLz48ZWxsaXBzZSBjbGFzcz0iYyIgY3g9IjIuNjQ4IiBjeT0iMi42NDgiIHJ4PSIyLjY0OCIgcnk9IjIuNjQ4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMC43MDQgOS41NjIpIi8+PGxpbmUgY2xhc3M9ImMiIHkxPSIxLjc4NyIgeDI9IjQuNTk1IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1LjcwMiAzLjkzNikiLz48bGluZSBjbGFzcz0iYyIgeDI9IjQuNzk0IiB5Mj0iMi4zOTciIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUuNjAzIDguMjYxKSIvPjwvZz48L2c+PC9zdmc+\";","import * as React from \"react\";\nconst SvgStates = props => ;\nexport { SvgStates as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5hLC5je2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je3N0cm9rZTojNDg0ODQ4O3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6MS4zcHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2l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as React from \"react\";\nconst SvgTripLoadTabAdded = props => ;\nexport { SvgTripLoadTabAdded as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OS4zOCIgaGVpZ2h0PSIyMiIgdmlld0JveD0iMCAwIDk5LjM4IDIyIj4NCiAgPGcgaWQ9ImJnLXNoYXBlMyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTkxMiAtOTEpIj4NCiAgICA8cGF0aCBpZD0iYmctc2hhcGUzLTIiIGRhdGEtbmFtZT0iYmctc2hhcGUzIiBkPSJNNSwwYTUuODEyLDUuODEyLDAsMCwxLDUuOCw1LjgyOFYxNi4xNzNsLjAzNCwwQTUuODEzLDUuODEzLDAsMCwwLDE2LjYyOCwyMkg5Mi43NTJhNS44MTIsNS44MTIsMCwwLDAsNS44LTUuODIzbC4wMzQsMFY1LjgyOEE1LjgxMiw1LjgxMiwwLDAsMSwxMDQuMzgsMFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDkwNyA5MSkiIGZpbGw9IiNiN2U3YzMiLz4NCiAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgTripLoadTabAvailable = props => ;\nexport { SvgTripLoadTabAvailable as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OS4zOCIgaGVpZ2h0PSIyMiIgdmlld0JveD0iMCAwIDk5LjM4IDIyIj4NCiAgPGcgaWQ9ImJnLXNoYXBlMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTkxMiAtOTEpIj4NCiAgICA8cGF0aCBpZD0iYmctc2hhcGUiIGQ9Ik01LDBhNS44MTIsNS44MTIsMCwwLDEsNS44LDUuODI4VjE2LjE3M2wuMDM0LDBBNS44MTMsNS44MTMsMCwwLDAsMTYuNjI4LDIySDkyLjc1MmE1LjgxMiw1LjgxMiwwLDAsMCw1LjgtNS44MjNsLjAzNCwwVjUuODI4QTUuODEyLDUuODEyLDAsMCwxLDEwNC4zOCwwWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTA3IDkxKSIgZmlsbD0iI2UzZThlZCIvPg0KICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgTripLoadTabDeadhead = props => ;\nexport { SvgTripLoadTabDeadhead as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5OS4zOCIgaGVpZ2h0PSIyMiIgdmlld0JveD0iMCAwIDk5LjM4IDIyIj4NCiAgPGcgaWQ9ImJnLXNoYXBlMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTkxMiAtOTEpIj4NCiAgICA8cGF0aCBpZD0iYmctc2hhcGUiIGQ9Ik01LDBhNS44MTIsNS44MTIsMCwwLDEsNS44LDUuODI4VjE2LjE3M2wuMDM0LDBBNS44MTMsNS44MTMsMCwwLDAsMTYuNjI4LDIySDkyLjc1MmE1LjgxMiw1LjgxMiwwLDAsMCw1LjgtNS44MjNsLjAzNCwwVjUuODI4QTUuODEyLDUuODEyLDAsMCwxLDEwNC4zOCwwWiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOTA3IDkxKSIgZmlsbD0iI2Q2ZTRmMCIvPg0KICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgWarning = props => ;\nexport { SvgWarning as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8cGF0aCBmaWxsPSJ0cmFuc3BhcmVudCIgZD0iTTAgMGgyNHYyNEgweiIvPg0KICAgIDxnIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmOWQxZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS13aWR0aD0iMS4yIj4NCiAgICAgICAgPHBhdGggZD0iTTEyIDE2LjYyMWEuMzc1LjM3NSAwIDEgMCAuMzc1LjM3NS4zNzUuMzc1IDAgMCAwLS4zNzUtLjM3NWgwIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+DQogICAgICAgIDxwYXRoIGQ9Ik0xMiAxNC41Nzl2LTUuOTkiLz4NCiAgICAgICAgPHBhdGggZD0iTTEzLjE1MyA0LjcxOGExLjI4NCAxLjI4NCAwIDAgMC0yLjMwNSAwTDQuMTExIDE4LjQ0MUExLjA4MiAxLjA4MiAwIDAgMCA1LjA4MiAyMGgxMy44MzZhMS4wODIgMS4wODIgMCAwIDAgLjk3MS0xLjU1OXoiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgWarningMenu = props => ;\nexport { SvgWarningMenu as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNCIgaGVpZ2h0PSIxNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgICA8ZyBjbGlwLXBhdGg9InVybCgjYSkiIGZpbGw9Im5vbmUiPg0KICAgICAgICA8ZyBzdHJva2U9IiNmZjlkMWYiIGZpbGw9IiNmZmZmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBzdHJva2Utd2lkdGg9IjEuNSI+DQogICAgICAgICAgICA8cGF0aCBkPSJNMTMuNDQxIDIuOWExLjYwNSAxLjYwNSAwIDAgMC0yLjg4MiAwbC04LjQyIDE3LjE1MkExLjM1MiAxLjM1MiAwIDAgMCAzLjM1MyAyMmgxNy4yOTRhMS4zNTIgMS4zNTIgMCAwIDAgMS4yMTQtMS45NDh6IiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPg0KICAgICAgICA8L2c+DQogICAgICAgIDxnIHN0cm9rZT0iI2ZmOWQxZiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHN0cm9rZS13aWR0aD0iMS41Ij4NCiAgICAgICAgICAgIDxwYXRoIGQ9Ik0xMiAxNS43NXYtNy41Ii8+DQogICAgICAgICAgICA8cGF0aCBkPSJNMTIgMTcuOTMxYS4zNzUuMzc1IDAgMSAwIC4zNzUuMzc1LjM3NS4zNzUgMCAwIDAtLjM3NS0uMzc1aDAiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogICAgCTwvZz4NCiAgICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgClipartBids = props => ;\nexport { SvgClipartBids as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMTEuNyIgaGVpZ2h0PSIxMjAuNyI+DQogIDxkZWZzPg0KICAgIDxzdHlsZT48L3N0eWxlPg0KICA8L2RlZnM+DQogIDxwYXRoDQogICAgZD0iTTI4LjM1IDBoNTVhMjguMzUgMjguMzUgMCAwMTI4LjM1IDI4LjM1djU1YTI4LjM1IDI4LjM1IDAgMDEtMjguMzUgMjguMzVoLTE5bC03LjUgOS03LjUtOWgtMjFBMjguMzUgMjguMzUgMCAwMTAgODMuMzV2LTU1QTI4LjM1IDI4LjM1IDAgMDEyOC4zNSAweiINCiAgICBmaWxsPSIjZmY5ZDFmIiAvPg0KICA8ZyBkYXRhLW5hbWU9ImNsaXBhcnQgYmlkcyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjkuNSAyOS41KSI+DQogICAgPGcgZGF0YS1uYW1lPSJSZ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AwMS4wMDUtNC44bDcuNDg4LTcuMTg2YTMuNjMgMy42MyAwIDAxMy40MzItLjkyNCAzLjQ2NCAzLjQ2NCAwIDAxMi41MjEgMi40MiAzLjMgMy4zIDAgMDEtLjk2MyAzLjI5M3oiIC8+DQogICAgPC9nPg0KICAgIDxyZWN0IGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDYzNDIiIHdpZHRoPSIyMi4yNDYiIGhlaWdodD0iNy42ODciIHJ4PSIuODcyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyOS43MzIgNDIuMjUzKSINCiAgICAgIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2Y3ZjlmYiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjMiIC8+DQogIDwvZz4NCjwvc3ZnPg==\";","import * as React from \"react\";\nconst SvgClose = props => ;\nexport { SvgClose as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTt9LmJ7Y2xpcC1wYXRoOnVybCgjYSk7fS5je2ZpbGw6IzQ4NDg0ODtzdHJva2U6IzQ4NDg0ODtzdHJva2Utd2lkdGg6MC41cHg7fTwvc3R5bGU+PGNsaXBQYXRoIGlkPSJhIj48cmVjdCBjbGFzcz0iYSIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9jbGlwUGF0aD48L2RlZnM+PGcgY2xhc3M9ImIiPjxyZWN0IGNsYXNzPSJhIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiLz48cGF0aCBjbGFzcz0iYyIgZD0iTTE1LjUsMTZhLjUuNSwwLDAsMS0uMzUzLS4xNDdMOCw4LjcwNi44NTMsMTUuODUxYS41LjUsMCwwLDEtLjcwNywwLC41LjUsMCwwLDEsMC0uNzA3TDcuMjkzLDgsLjE0Ny44NTJhLjUuNSwwLDAsMSwwLS43MDcuNS41LDAsMCwxLC43MDcsMEw4LDcuMjkxLDE1LjE0Ni4xNDVBLjUuNSwwLDAsMSwxNiwuNWEuNS41LDAsMCwxLS4xNDcuMzUzTDguNzA2LDhsNy4xNDYsNy4xNDZBLjUuNSwwLDAsMSwxNS41LDE2WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNC41IDQuNTAyKSIvPjwvZz48L3N2Zz4=\";","import * as React from \"react\";\nconst SvgIconMileage = props => ;\nexport { SvgIconMileage as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0iaWNvbi1taWxlYWdlIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4NCiAgPGcgaWQ9Imljb24tYmciPg0KICAgIDxyZWN0IGlkPSJpY29uLWJnLTIiIGRhdGEtbmFtZT0iaWNvbi1iZyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDApIi8+DQogIDwvZz4NCiAgPGcgaWQ9Im1hcHMtcGluLTEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQgNSkiPg0KICAgIDxwYXRoIGlkPSJQYXRoXzMxNzUzIiBkYXRhLW5hbWU9IlBhdGggMzE3NTMiIGQ9Ik0xNi43NSw2LjY0MVYzLjUzNWExLjA3MSwxLjA3MSwwLDAsMC0uNjcxLS45OTVMMTEuODEzLjgyNmExLjA2MywxLjA2MywwLDAsMC0uNzkyLDBMNi40NzksMi42NTFhMS4wNjMsMS4wNjMsMCwwLDEtLjc5MiwwTDEuNDgyLjk2MWEuNTM0L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yMSwzLjEyMSwwLDAsMSwzLjEyMSwzLjEyMWMwLDEuMzMzLTEuODY1LDMuODY4LTIuNzExLDQuOTUxYS41Mi41MiwwLDAsMS0uODIsMGMtLjg0Ny0xLjA4My0yLjcxMS0zLjYxOS0yLjcxMS00Ljk1MUEzLjEyMSwzLjEyMSwwLDAsMSwxNy4zNzEsMTEuMzI0WiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTQuNDkzIC0zLjU5NykiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2Y3ZjlmYiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMiIvPg0KICA8L2c+DQo8L3N2Zz4NCg==\";","import * as React from \"react\";\nconst SvgIconTiaLogo = props => ;\nexport { SvgIconTiaLogo as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyBpZD0idGlhLWxvZ28iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSIzNy40OTYiIGhlaWdodD0iMTUuMjQ2IiB2aWV3Qm94PSIwIDAgMzcuNDk2IDE1LjI0NiI+DQogIDxkZWZzPg0KICAgIDxjbGlwUGF0aCBpZD0iY2xpcC1wYXRoIj4NCiAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGVfNjc1MCIgZGF0YS1uYW1lPSJSZWN0YW5nbGUgNjc1MCIgd2lkdGg9IjM3LjQ5NiIgaGVpZ2h0PSIxNS4yNDYiIGZpbGw9Im5vbmUiLz4NCiAgICA8L2NsaXBQYXRoPg0KICAgIDxjbGlwUGF0aCBpZD0iY2xpcC1wYXRoLTIiPg0KICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZV82NzQ2IiBkYXRhLW5hbWU9IlJlY3RhbmdsZSA2NzQ2IiB3aWR0aD0iMTMu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fMzI3MzYiIGRhdGEtbmFtZT0iUGF0aCAzMjczNiIgZD0iTTE1MS41NDcsMjkuNTQxbC0xLjc4NiwzLjNoNC41MjNsLS4wMzcsMS4zMDgsMy4xLTIuODc2LTMuMS0zLjE1OHYxLjQyOVoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNDkuNzYgLTI4LjExMikiIGZpbGw9IiM2NmFkMmIiLz4NCiAgICAgICAgPC9nPg0KICAgICAgPC9nPg0KICAgIDwvZz4NCiAgPC9nPg0KPC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgLogoCarriersource = props => ;\nexport { SvgLogoCarriersource as ReactComponent };\nexport default __webpack_public_path__ + \"static/media/logo-carriersource.494ab0a1.svg\";","import * as React from \"react\";\nconst SvgStar = props => ;\nexport { SvgStar as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMS43IiBoZWlnaHQ9IjIwLjgiPg0KICA8cGF0aCBmaWxsPSIjMDBiMTQwIiBkPSJtMTIgLjcgMi40IDQuOGExLjMgMS4zIDAgMCAwIDEgLjdsNS4yLjhhMS4zIDEuMyAwIDAgMSAuNyAyLjJsLTMuOCAzLjdhMS4zIDEuMyAwIDAgMC0uMyAxLjFsLjkgNS4zYTEuMyAxLjMgMCAwIDEtMiAxLjNsLTQuNi0yLjRhMS4zIDEuMyAwIDAgMC0xLjIgMGwtNC43IDIuNGExLjMgMS4zIDAgMCAxLTItMS4zbDEtNS4zYTEuMyAxLjMgMCAwIDAtLjQtMS4xTC40IDkuMkExLjMgMS4zIDAgMCAxIDEuMSA3bDUuMy0uOGExLjMgMS4zIDAgMCAwIDEtLjdMOS42LjdhMS4zIDEuMyAwIDAgMSAyLjMgMFoiIGRhdGEtbmFtZT0iUGF0aCAzMjcxMiIvPg0KPC9zdmc+\";","import * as React from \"react\";\nconst SvgBoxAlert = props => ;\nexport { SvgBoxAlert as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PHBhdGggZmlsbD0iI2I5ZGVhMSIgZD0iTTUgM2gxNGEyIDIgMCAwIDEgMiAydjE0YTIgMiAwIDAgMS0yIDJINWEyIDIgMCAwIDEtMi0yVjVhMiAyIDAgMCAxIDItMm04IDEwVjdoLTJ2NmgybTAgNHYtMmgtMnYyaDJ6Ii8+PC9zdmc+DQo=\";","import * as React from \"react\";\nconst SvgNotFound = props => ;\nexport { SvgNotFound as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6I2U2ZWFlYX0uY2xzLTN7ZmlsbDojOWJhYWFifS5jbHMtNHtmaWxsOiNmZjlmMDB9LmNscy01e2ZpbGw6I2ZmNzgxNn0uY2xzLTZ7ZmlsbDojZjdkMDRhfS5jbHMtN3tmaWxsOiM3NmNmM2J9PC9zdHlsZT48L2RlZnM+PGNpcmNsZSBjeD0iMTI1IiBjeT0iMTI1IiByPSIxMjUiIGZpbGw9IiNmZmYiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xODMuNSA4Ny4yaC0xMy4zYTMgMyAwIDAgMC0zIDN2MTI2YTMgMyAwIDAgMCAzIDNoMTMuM2EzIDMgMCAwIDAgMy0zdi0xMjZhMyAzIDAgMCAwLTMtM3pNNzkuOCA4Ny4ySDY2LjVhMyAzIDAgMCAwLTMgM3YxMjZhMyAzIDAgMCAwIDMgM2gxMy4zYTMgMyAwIDAgMCAzLTN2LTEyNmEzIDMgMCAwIDAtMy0zeiIvPjxwYXRoIGNsYXNzPSJjbHMtMyIgZD0iTTE4Ni40IDkwLjJhMyAzIDAgMCAwLTIuOS0zaC0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E4MSA4Ny4ybC00LjMgMS42LTM1LjggMzUuOC0xIDMuN2gzMS45bDQuOS0yLjEgMzYtMzYgLjItM2gtMzJ6Ii8+PHBhdGggY2xhc3M9ImNscy03IiBkPSJNMzQuMiA4Ny4yYTMgMyAwIDAgMC0zIDN2MjlsMzItMzJ6TTk2IDg3LjJsLTQxIDQxLjFoMjZsNDEtNDFIOTZ6TTE1NC42IDg3LjJsLTQxLjEgNDEuMWgyNi40bDQxLTQxaC0yNi4zek0yMTUuOCA4Ny4yaC0zbC00MSA0MS4xaDQ0YTMgMyAwIDAgMCAzLTNWOTAuM2EzIDMgMCAwIDAtMy0zeiIvPjxwYXRoIGNsYXNzPSJjbHMtMiIgZD0iTTEyMiAxNDQuOGwtNC44IDEuMy0zNiAzNi0uMiAzLjhoMzIuNWw2LjgtMi4yIDM2LTM2LTEuOC0zaC0zMi40ek02My4yIDE0NC44bC00LjUgMi0yNiAyNi0xLjQgMy45djYuMmEzIDMgMCAwIDAgMyAzSDU1bDQuMy0uNiAzNi0zNiAuOC00LjV6TTE4MSAxNDQuOGwtNC4zIDEuNS0zNS44IDM1LjgtMSAzLjhoMzEuOWw0LjktMi4yIDM2LTM2IC4yLTNoLTMyeiIvPjxwYXRoIGNsYXNzPSJjbHMtNyIgZD0iTTM0LjIgMTQ0LjhhMyAzIDAgMCAwLTMgMi45djI5bDMyLTMxLjl6TTk2IDE0NC44bC00MSA0MWgyNmw0MS00MUg5NnpNMTU0LjYgMTQ0LjhsLTQxLjEgNDFoMjYuNGw0MS00MWgtMjYuM3pNMjE1LjggMTQ0LjhoLTNsLTQxIDQxaDQ0YTMgMyAwIDAgMCAzLTIuOXYtMzUuMmEzIDMgMCAwIDAtMy0zeiIvPjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgDownArrow = props => ;\nexport { SvgDownArrow as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2IiBoZWlnaHQ9IjcuNSI+DQogICAgPGRlZnM+DQogICAgICAgIDxjbGlwUGF0aCBpZD0iYSI+DQogICAgICAgICAgICA8cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDZ2Ny41SDB6Ii8+DQogICAgICAgIDwvY2xpcFBhdGg+DQogICAgPC9kZWZzPg0KICAgIDxnIGNsaXAtcGF0aD0idXJsKCNhKSI+DQogICAgICAgIDxwYXRoIGQ9Ik0zLjc1IDQuNVYuNzVBLjcwOS43MDkgMCAwIDAgMyAwYS43MDkuNzA5IDAgMCAwLS43NS43NVY0LjVIMGwzIDMgMy0zeiIgZmlsbD0iIzQ4NDg0OCIvPg0KICAgIDwvZz4NCjwvc3ZnPg0K\";","import * as React from \"react\";\nconst SvgUpArrow = props => ;\nexport { SvgUpArrow as ReactComponent };\nexport default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2IiBoZWlnaHQ9IjcuNSI+DQogICAgPGRlZnM+DQogICAgICAgIDxjbGlwUGF0aCBpZD0iYSI+DQogICAgICAgICAgICA8cGF0aCBmaWxsPSJub25lIiBkPSJNMCAwaDZ2Ny41SDB6Ii8+DQogICAgICAgIDwvY2xpcFBhdGg+DQogICAgPC9kZWZzPg0KICAgIDxnIGNsaXAtcGF0aD0idXJsKCNhKSI+DQogICAgICAgIDxwYXRoIGQ9Ik0zLjc1IDN2My43NUEuNzA5LjcwOSAwIDAgMSAzIDcuNWEuNzA5LjcwOSAwIDAgMS0uNzUtLjc1VjNIMGwzLTMgMyAzeiIgZmlsbD0iIzQ4NDg0OCIvPg0KICAgIDwvZz4NCjwvc3ZnPg0K\";"],"names":["isMessagingWidget","isMessagingWidgetView","MobileMenuChildren","MobileMenu","FeedPopupMob","DesktopMenuChildren","DesktopMenu","FeedPopup","withAITracking","reactPlugin","useEffect","hideMainSpinner","Helmet","AppConfig","name","TITLE_META","content","TWITTER_TITLE_META","property","OG_TITLE_META","DESCRIPTION_META","t","T","TWITTER_DESCRIPTION_META","OG_DESCRIPTION_META","Provider","store","context","ReactReduxContext","ReduxRegistryConnect","PersistGate","persistor","DependencyProvider","container","appDependencies","ConnectedRouter","history","MuiThemeProvider","theme","THEME","InitialLoading","PopupProvider","MainLayout","hideHeaders","menuButtonDecoration","TopMenuNotificationDot","topRightComponent","FeedController","mobileMenuChildren","desktopMenuChildren","FixedHeader","TopRibbon","Routing","ConnectionErrorPopup","SessionExpiredPopUp","MaintenancePopup","ScreenSharing","Popup","Snackbar","authenticatedAPI","memberApi","communicationService","CommunicationService","ClientType","dependencyManager","createDependencyManager","provider","useCommunicationService","hook","CommunicationHandler","_useSelector","dispatch","useDispatch","useHistory","isUserLoggedIn","hasLoginCookies","isBiddingEnabled","useIsBiddingEnabled","isCarrier","useIsCarrier","signalRService","userId","state","_state_user_profile_payload","user","profile","payload","id","isCommunicationsEnabled","useSelector","communication","isProfileFetched","undefined","profileFetchedAt","connectedTopics","useRef","EmptyConnectedTopics","userStatusRef","latestIsCommunicationsEnabled","current","isCommunicationListOpened","location","pathname","includes","connectToBiddingTopics","useConnectToBiddingTopics","BiddingRole","latestIsBiddingEnabled","disconnectFromTopics","topicCategories","forEach","category","topic","disconnectFromTopic","connectToCommunicationTopics","getMessagesSummary","connectToTopics","onUpdatedConversations","updatedIds","getConversationsByID","onNewMessage","message","_message_widget","conversationId","documents","messageId","text","sentAt","read","sentBy","clientMessageId","users","widget","connectToGeneralTopics","general","onUpdateClientStatus","updateClientStatus","onSettingsUpdate","update","isCommunicationSettingsUpdate","settings","getCommunicationStatus","isAlertsPollIntervalSettingsUpdated","fetchAlertSettings","systemSettingFetchActions","mapSettingsUpdateToActions","action","onNewTruckAlert","newTruckAlert","startListening","then","length","getConversationsSummary","bidding","getBiddingSummary","TopicCategory","stopListening","resetCommunicationsState","voidFunction","isConnected","useAppVisibilityChange","isVisible","currentStatus","role","useCallback","onNewBids","event","receivedBidUpdateEvent","UpdateBidEventType","onUpdatedBids","updates","find","Container","styled","ButtonContainer","props","isWidgetButton","RenderMessagesButton","parentHostname","isWidgetOpen","referenceId","unreadMessagesCount","loadID","loadDetails","widgetLoadId","fetchUnreadTruckAlertsCount","fetchUser","handleClick","window","parent","postMessage","track","createMessagingPartnerPortalTrackData","fetchLoadId","generatePath","Routes","MessageWidgetButton","title","notificationCount","onClick","icon","icons","PageWithPanels","CommunicationRoute","originUI","LoadConversationsOriginUI","setReferenceId","useState","setIsWidgetButton","setIsWidgetOpen","isLoggedIn","setIsLoggedIn","fetchSystemSettings","getSystemSetting","Flag","handleMessage","data","type","_data_referenceId","addEventListener","removeEventListener","open","concat","CarrierInfoClient","BaseClient","fetchCarrierMapInfo$","contactGUID","api","get$","FEED_BASE_PATH","DASHBOARD_FEED_BASE_PATH","VIDEO_FEED_BASE_PATH","PROMO_BASE_PATH","HOSTING_ROOT","BROKER_FEED_PATH","CARRIER_FEED_PATH","DASHBOARD_FEED_CARRIER_PATH","DASHBOARD_FEED_BROKER_PATH","FeedClient","getFeed$","isBroker","getDashboardFeed$","getVideoList$","videoFileName","getPromo$","promoFileName","getMappingFile$","headers","Accept","LoadVisibilityRulesClient","createRuleset$","request","post$","convertRulesetForRequest","getRuleset$","getAllRulesets$","modifyRuleset$","mergePatch$","deleteRuleset$","delete$","OnboardedCarriersClient","modifyOnboardedCarriers$","usdotNumbers","put$","deleteOnboardedCarriers$","getOnboardedCarriers$","offset","limit","PostLoadsClient","getPostedLoadsMetadata$","getBrokerLoadsSummary$","includeAllCompanyLoads","getPostedLoads$","fields","QueryString","setLoadStatus$","loadId","status","deletePostedLoad$","refreshLoadAge$","fetchDispatcherInfo$","fetchRouteMileage$","patchLoadsById$","loadIds","patch","patchDocument","patchLoadsByQuery$","excludedLoadIds","searchQuery","excludeIds","updateLoadsAge$","updateLoadsAgeWithExcludeIds$","fetchRateCheck$","postLoad$","loadPostRequest","editLoad$","setPostedLoadProgress$","_data_dotNo","progress","dotNo","ShareableLoadsClient","getShareableLoadList$","deleteShareableLoad$","postShareableLoad$","updateShareableLoad$","rest","patch$","getSharedBrokerLoads$","UnsubscribeClient","requestTrialExtension$","contactSupport$","unsubscribeRequest$","trackingUnsubscribeData$","getSystemTime$","UserSettingsClient","addUser$","getUsers$","getDispatchers$","getDispatcher$","getDispatchersList$","addDispatcher$","deleteDispatcher$","editDispatcher$","getDefaultDispatcher$","updateUser$","userDetails","getUser$","deleteUser$","guid","getHotLeads$","updateHotLeads$","hotLeads","getAlerts$","updateAlerts$","getEmailNotifications$","updateEmailNotifications$","resetPasswordWithEmail$","postNotificationToken$","notificationStatusParams","deviceId","token","updateNotificationToken$","saveNotificationToken$","os","osVersion","enabled","authorizationStatus","notificationVersion","VerifyEmailClient","verifyEmail$","activationCode","resendConfirmationEmail$","WelcomebackCampaignClient","getLoadSearchPreview$","query","ApiErrorCode","ErrorUri","LBHeaders","authenticationToApiOptions","authenticated","allowUnauthenticated","shouldPreventLoginRedirect","ApiResponseSuccess","constructor","config","duration","success","result","onSuccess","onError","error","ApiError","httpStatus","resultDataResponse","actionType","response","flowID","getFlowIDFrom","resultWithoutData","code","cause","error_uri","fieldErrors","errorDescription","wasCancelled","AppErrorCode","is401","is4xxError","isRefreshTokenPendingAction","actions","PendingActionType","APP_TIMEOUT_ERROR","withApiVersion","version","withMergePatch","getCorrelationId","_response_headers_toLower","toLower","createResponseInterceptor","logger","originalResponse","_response_config_url","_response_config_url1","clone","isHeaderMimeType","mimeTypes","some","mime","_response_headers","MimeType","JSON","parse","exception","mustReport","extra","url","correlationId","statusText","typesSupportedByDownload","Buffer","toString","ApiService","baseUrl","setupApi","retrier","cachedRequests","params","axiosConfig","methodWrapper","get","paramsSerializer","arrayFormat","encode","post","put","delete","methodFunction","requestCache","filteredRequestCache","isDuplicateRequest","currentTimestamp","Date","now","cachedRequest","lastTimestamp","isEqual","timestampDifference","count","reportThreshold","_this","diagnosticData","lastTimestampDifference","push","time","firstTimestamp","executeRequest$","apiCall","request$","cancelSource","CancelToken","cancelID","cfgWithCancelToken","setCancelToken","canceler","cancel","callApi$","cfg","timeout","execute$","create","baseURL","transformResponse","parseAxiosResponseInterceptor","axiosInstance","interceptors","use","Axios","isAxiosError","toJSON","newConfig","cancelToken","timeoutID","setTimeout","deferedApiCall$","defer$","from$","pipe","mergeMap$","createResponseHandler$","multicast$","Subject","refCount$","clearTimeout","convertedResponse","convertApiResponse","of$","Apisauce2AppErrorCode","TIMEOUT_ERROR","CONNECTION_ERROR","NETWORK_ERROR","UNKNOWN_ERROR","CANCEL_ERROR","CLIENT_ERROR","SERVER_ERROR","ok","debugError","debugErrorFrom","originalError","problem","error_description","_error_request","_error_response","requestCorrelation","responseCorrelation","errorCode","axiosHeaders","stack","LinkType","AvatarClient","fetchAvatar$","imageSize","responseType","fetchOtherUserAvatar$","uploadAvatar$","uploadParams","file","mimeType","deleteAvatar$","BidsClient","getBidSummaries$","roles","getBiddingSummary$","bidUpdatesCount","getBiddingSummaryList$","getBidSummary$","carrierId","getBid$","bidId","getCarrierInfo$","actOnBid$","postBid$","getLoadIsOnline$","getBidLoadDetails$","LoadFieldsBiddingOnly","markAllBidsAsViewed$","CarrierTrackingClient","requestOneTimeLocationSharing$","sendOneTimeLocation$","CommunicationClient","negotiate$","getConversationsSummary$","getMessagesSummary$","computeUnreadMessages","computeUnreadConversations","getConversations$","unread","getConversation$","conversationID","getLoadConversations$","appOrigin","inquireBroker","getCommunicationStatus$","getMessages$","recipients_info","sendMessage$","getUserStatus$","markMessageRead$","messageID","isRead","markAllMessagesAsRead$","getCanMessage$","userIDs","getConversationLoadDetails$","LoadFieldsConversationOnly","CompanyAvatarClient","fetchCompanyAvatar$","fetchOtherCompanyAvatar$","uploadCompanyAvatar$","deleteCompanyAvatar$","CompanyClient","getCompanyInfo$","getCompanyDetails$","getCompanyAuthority$","getCompanyAuthorityLicensing$","getCompanyInsurance$","getCompanyCredit$","getCompanyUserData","updateCompanyInfo$","companyInfo","favoriteCarriers$","carriers","performMultiplePatches$","createCompanyEndpoint","favoriteBrokers$","brokers","archivingFlowID","addArchivingHeader","onboardedBrokers$","hideCarriers$","hideBrokers$","addNotes$","note","onboardCarrier$","createCarrierEndpoint","searchCarriers$","updateCarrier$","updateCarrierFeedback$","feedback","updateCarriers$","contactIds","updateCarriersFeedback$","getSearchDirectoriesCompanies$","fetchRequest","setDirectoriesCompanyViewedStatus$","fetchVolpeInformationByDotNumber$","dotNumber","fetchCarrierRating$","patchCompanyDetails$","onboardingUrl","value","op","path","companies","endPoint","reduce","callStack","company","ContactClient","fetchCarrierInfo$","fetchBrokerInfo$","DocumentsClient","fetchDocuments$","documentType","enumName","folderType","folder","folderId","fromCreated","date","dateStart","toCreated","dateEnd","sortBy","sorting","sortDirection","SortDirection","fetchDocumentTotal$","METADATA_ONLY","fetchFolderByLoad$","fetchTypes$","fetchDocumentFile$","fetchConversationDocumentFile$","docID","sendDocuments$","setDocName$","newName","deleteDocument$","uid","documentsGuids","changeDocType$","changeDocFolder$","newFolder","fetchCustomFolders$","fetchDefaultFolders$","createCustomFolder$","changeFolderName$","deleteFolder$","getCustomFolder$","FeedbackClient","requestFTPIntegration$","requestURLScrape$","contactUsUrl","requestBrokerFeature$","requestCSVUpload$","requestFeedback$","feedbackRequest","FtpClient","fetchFtps$","postFtp$","ftp","postFtpResponse$","mergeMap","postFtpResponse","patchFtp$","ftpData","patchFtpResponse$","patchFtpResponse","deleteFtp$","ftpId","GeocodingClient","locationFor$","geolocation","latitude","longitude","allowFallback","IdentityVerificationClient","getIdentityVerificationCompany$","addIdentityVerificationPhoneNumber$","phone","phoneNumber","number","extension","getTokenParam","InboxClient","fetchAllInboxMessages$","deleted","updateInboxMessage$","ids","messageIds","readMessage$","fetchMessage$","clearAllMessage$","MessageAction","excludedIds","LoadFeedbackClient","sendLoadFeedback$","loadFeedbackRequest","LoadsClient","isLiveEnvironment","fetchLoadCount$","fetchLoads$","companyName","onlineOnly","fetchLoadDetails$","fetchLoadCargoChiefRate$","fetchLoadGreenscreensRate$","fetchSharedLoad$","isPoster","fetchPostedLoadsList$","postAlertNotification$","alertNotification","sendToSelf","searchLoads$","shouldSilenceFailures","archivingFlowId","cancelGroup","referrer","intermediateRequest","silentApiFailure","silentNetworkFailure","searchLoadsById$","metadata","searchGeoLoads$","searchGeoLoadsById$","searchSimilarLoads$","fetchLoadBackhauls$","namedSearchId","fromNamedSearchId","fetchRouteInfo$","fetchRouteDirections$","getRouteStateMileage$","fetchRouteMap$","thumbnail","aspectRatio","AspectRatio","fetchCreditRatings$","fetchLoadRateCheckPreviews$","fetchFuelPrice$","country","setSavedLoad$","isSaved","setHiddenLoad$","isHidden","setLoadNote$","setPrivateLoadNote$","privateLoadNote","setLoadProgress$","setLoadCall$","isCalled","getSharedLoadUrl$","fetchLoadAvailability$","equipmentTypes","sortCategory","includeQueries","join","statesToInclude","getStatesFromSortCategory","sortExpression","LoadSortDirection","searchNearbyLoads$","sendEmailToBroker$","comment","getStateMileage$","sendBookNow$","fetchAllSearches$","filter","hasAlerts","ViewFilter","deleteAllSearches$","deleteSearchesQueryFromFilter","createSearch$","fetchSearchByID$","editSearchRequest$","deleteSearch$","updateSearch$","hasAlert","getSearchAlerts$","onlyWithAlerts","onlyWithoutAlerts","LocationMatchClient","fetchLocationMatch$","includeStates","q","LocationsClient","fetchRecentLocations$","locationTypes","MileageCalculatorClient","getRoutesDirection$","postRouteDirection$","isCustomRequest","postRoutePath$","postStateMileage$","getUiSettings$","patchUiSettings$","getExportReport$","MyCarrierPortalClient","sendMcpDotVerification$","sendOnboardingRequest$","contactGuid","contactId","linkMcpAccount$","getCarrierRiskAssessment$","MyLoadsClient","fetchMyLoads$","fetchMyGeoLoads$","patchLoadsUserdata$","PaymentClient","sendPayment$","planPaymentInfo","longTimeout","reactivatePayment$","updatePaymentCard$","creditCardInfo","getPaymentHistory$","getPaymentYears$","period","fetchPaymentDeclineInfo$","PermissionsClient","fetchIntegrations$","fetchLoginSessions$","invalidateSession$","sessionID","PostTruckClient","getTruckAvailabilityCount","getTruckAvailabilities","types","statuses","paginationLimit","paginationToken","updateTruckAvailabilities","override","formatTruckAvailability","addTruckAvailabilities","truckAvailability","convertStatesToAnywhere","truckId","deleteTruckAvailability","availabilityID","bulkDeleteAvailability","availabilityIds","deleteTruckAvailabilities","fetchTotalMileage$","QuoteClient","fetchFactoringQuotes$","withAuthentication","postFactoringQuote$","quote","fetchRoadsideAssistQuotes$","postRoadsideAssistQuote$","fetchTruckingAuthorityQuotes$","postTruckingAuthorityQuote$","fetchFuelCardQuotes$","postFuelCardQuote$","postFuelAdvanceQuote$","fetchMostRecentQuotes$","RateCheckClient","postRateCheckFeedback$","postLoadRateCheckFeedback$","getRateCheckHistory$","getRateCheckAverage$","getLoadRateCheckHistory$","getMarketRanking$","getThirdPartyLaneRates$","getLoadToTruckRatio$","individualRequests","getExpediteAllRate$","RouteClient","fetchRoute$","redirectOnAuthentication","vehTypev","stops","origin","destination","hwyOnly","distUnits","avoidTolls","routeOpt","dataset","getRouteMileage$","SettingsClient","fetchTruckLocatorSettings$","updateTruckLocatorSettings$","hadSettings","fetchRoutesSettings$","updateRoutesSettings$","fetchLoadSearchSettings$","createLoadSearchSettings$","loadSearchSettings","setHomeLocation$","locationPatchFor","locationPostFor","fetchDeviceSetting$","setAppTheme$","mainTheme","fetchAppTheme$","fetchUserSettings","forceRefreshToken","fetchAlertSettings$","fetchEmailVerificationSettings$","setUiLayout$","uiLayout","webViewPage","updateUi","getSettingByName$","setting","putSettingsByName$","deviceAgnostic","getSettingsChangeFeed$","changeFeedToken","locationValueFor","LocationType","city","first","states","zipCode","appUiLayout","WebViewPages","webUiLayout","webMyLoadsUiLayout","webAvailabilityUiLayout","webBrokerUiLayout","locationValue","locationPost","homeLocationType","homeAddress","homeGeolocation","SharedLoadClient","loadResponse$","loadClient","loadResponse","load","originLocation","destinationLocation","routeClient","map$","routeResponse","route","shareLoadResponse","SupportClient","requestServiceCode$","TermsAndConditionsClient","fetchTermsOfService$","fetchPrivacyPolicy$","ThunderFundingClient","fetchThunderFundingRegistrationStatus$","fetchThunderFundingPreviousRegistration$","fetchThunderFundingRegistrationOptions$","postThunderFundingRegistration$","option","source","truckingCompanyStatus","acquisitionChannel","fetchFuelAdvanceQuotes$","fetchGetPaidFasterQuotes$","countFuelAdvanceQuotes$","countGetPaidFasterQuotes$","postFuelAdvanceIntegrationQuote$","postGetPaidFasterIntegrationQuote$","patchFuelAdvanceIntegrationQuote$","patchGetPaidFasterIntegrationQuote$","fetchPaymentTypes$","getFundingTypes$","fetchGetPaidFasterQuoteById$","fetchFuelAdvanceQuoteById$","TmsClient","postTms$","tms","TrackingClient","trackData$","TripBuilderClient","createNewTrip$","fetchUserTrips$","deleteUserTrip$","fetchSegments$","fetchTripLoadsDetails","fetchRouteLoadDetails$","fetchMap$","mapRequest","originAddress","destinationAddress","fetchMiniMap$","addLoad$","removeLoad$","removeLoads$","hideLoad$","SUPORTED_MESSAGE_TYPES","TruckAlertsClient","fetchTruckAlerts$","messageReq","messageTypes","fetchUnreadTruckAlerts$","startDate","moment","toISOString","fetchTruckAlertsCount$","fetchLoadInfoAlerts$","readAlert$","deleteAlert$","TrucksClient","fetchTrucksSearch$","isInternal","radius","filters","internal","fetchTrucksSearchLkl$","fetchTrucks$","fetchTruck$","createTruck$","truck","createAvailability","weightIsSet","lengthIsSet","updateTruck$","deleteTruck$","fetchTruckAvailabilitiesCount","fetchTruckAvailabilities","fetchTruckAvailability","createTruckAvailability","updateTruckAvailability","UploadFileClient","uploadDocument$","formData","FormData","isFileBlob","append","displayName","uri","UserClient","loadProfile$","USERPROFILE_FIELDS","fetchAvailableLoadViewCount$","updateUserInfo$","info","alerts$","createPhoneVerification$","phoneVerificationGuid","channel","verifyPhoneCode$","verificationCode","fetchVerificationPointsTasksStatuses$","updateVerificationPointsReviewStatues$","UserPlanManagementClient","getUserPlans$","promoCode","getCurrentPlan","getCurrent","postSelectAddOns$","addOnIds","postDeselectAddOns$","fetchMembershipsData$","changeMembershipPlan$","planID","createMembership$","fetchMembershipType$","getRetentionPlans$","VendorBidsClient","postVendorBid$","amount","vendorId","getVendorBids$","nextToken","maxBidAgeSeconds","VerifyPhoneClient","getPhoneVerificationStatus$","NO_INFORMATION_SYMBOL","NO_INFORMATION_SYMBOL_LONG","dayNames","monthNamesShort","monthNames","withPrefixSuffix","v","opt","prefix","suffix","displayCurrencyOrNothing","withDecimals","options","displayCurrency","displayCurrencyOrDash","isNegative","formatPrice","Math","abs","displayDate","day","isSame","format","subtract","formatDateDDDMMdd","removeUnnecessaryZero","defaultValue","integerPart","fractionPart","split","parsedIntegerPart","parseInt","newIntegerPart","isNaN","dotSymbolPart","newFractionPart","momentDashYYYYMMdd","momentDate","formatMomentYYYYMMDD","removeComma","replace","formatFloat","num","digits","strNumber","isUndefined","substr","getNormalizedText","forceDecimals","formatNumber","show4DigitsAfterComma","parsedValue","toNumber","shouldShow4DigitsAfterComma","magnitude","floor","log","round","hasDecimal","useAlertPolling","shouldStart","isSearchAlertsActive","_state_settings_alertSettings_isSearchAlertsActive","alertSettings","isLoading","loadSearch","loadSearchAlerts","setAlertsCount","getSetAlertsCount","searchesState","searches","isRateLimitingResponseOrNoAlertsSet","interval","_state_settings_alertSettings","searchAlertIntervalInSeconds","onRefresh","fetchLoadAlerts","start","manager","useAutoRefreshManager","useStartAutoRefresh","getTagTitle","MessageType","createPatch","oldRequest","newRequest","mapToPatch","pickChangedValues","map","key","isNil","pickBy","_","AutoRefreshManager","isActive","timeoutId","startTimer","restart","stop","setCallback","factory","useFactory","prevManager","newManager","autoRefreshManager","BillingIssueBannerTracking","generateBillingIssueBannerContent","isAdmin","billingIssue","expirationDate","isCancelling","BillingIssue","messageLastPart","BidDisplayState","MIN_BID_AMOUNT","MAX_BID_AMOUNT","getBidDisplayState","bid","isBidFromViewer","offerMadeByMe","BidStatus","getBidAck","BidAction","convertBidDetailsToBid","bidDetails","fromCarrier","price","mostRecentActivity","convertBidDetailsToBidSummary","isViewed","otherParty","getBidsFilterOptions","selected","filterType","testID","accessibilityLabel","isSelected","getLoadBidOption","shouldHideBidOption","_load_rateNegotiations","vendorInfo","rateNegotiationStatus","rateNegotiations","isLoadBooked","Vendor","canBid","LoadContactOption","LoadRateNegotiationsStatus","ConversationListViewType","getConversationStatusForTracking","messages","_messages_response","TrackingDataConversationStatus","getMessageReadAt","formatEpochMsToTimeDate","readDate","getIsLastOfGroup","messageBelow","isReceivedMessage","getIsGroupDelimiter","getIsFirstOfGroup","messageAbove","targetMessage","surroundingMessage","isEmpty","isWithinDifferentMinute","firstMoment","secondMoment","momentToHHMMA","formatDateHHMMA","CREDIT_RATING_ANY","minTransCreditRating","maxTransCreditRating","CREDIT_RATING_DAYS_TO_PAY_ANY","minTransCreditDaysToPay","maxTransCreditDaysToPay","POSTED_AGE_MINUTES","minAge","maxAge","isCreditRatingAny","isCreditRatingDaysToPayAny","isPostedDateAny","CreditRatingRanges","min","max","CreditRatingDaysToPayRanges","PostedAgeRanges","indexOfRange","memoizeOne","currentRange","ranges","findIndex","range","indexOfRatingRange","indexOfDaysToPayRange","indexOfPostedAgeRange","creditRatingRangesFromStrings","stringValues","creditRatingFromString","stringValue","creditRatingRangesToStrings","creditRatingRangeToString","creditRatingDaysToPayRangesToStrings","creditRatingDaysToPayRangeToString","postedAgeToPayRangeToStrings","postedAgeToPayRangeToString","creditRatingStringValuesFromMinMax","creditRatingDaysToPayStringValuesFromMinMax","postedAgeStringValuesFromMinMax","creditRatingDaysToPayRangesFromStrings","creditRatingDaysToPayRangeFromString","slice","postedAgeRangesFromStrings","postedAgeFromString","handleRangeChange","selectedRanges","setSelectedRange","currentRangeIndex","selectedFirstIndex","selectedLastIndex","handleDaysToPayRangeChange","handlePostedAgeChange","TimePeriod","MILLISECONDS_IN_ONE_DAY","NUMBER_OF_SECONDS_IN_ONE_DAY","formatDateToMMDD","dateStr","formatTo2Digit","getMonth","getDate","formatDateStringToMMMDD","dateStrings","formatAsServerDate","year","month","getFullYear","formatMinutesToHoursAndMinutes","numberOfMinutes","leftoverMinutes","numberOfFullHours","secondsToTimeObject","seconds","days","hours","mins","minutes","simplifyDateString","dateData","simplifiedDay","acceptAllDateTypes","transformer","arg","formatDateMMMDDYYYY","formatDateDotSeparated","formatDateDotSeparatedWithTime","formatDateMMMdd","formatDateTimeMMMDDhhmma","formatDateTimeMMMDDYYYYhmma","formatDateYYYYMMDD","utc","getTodayDateYYYYMMDD","formatDateMMDDYYYY","formatDateDDDll","doIfValue","diff","calendar","formatTimeFromNow","formatTimeFromNowInYears","NaN","formatDateYYYYMMDDTHHmm","dateMoment","isTimeSet","formatDateMMMD","serverRFCDateToYYYYMMDD","serverGMTRFCToLocalTZ","serverGMTRFCToUserLocalTZ","serverGMTRFCToLocalTZAndFormatISO","parseAPIDateWithoutTime","apiDateStr","getUTCFullYear","getUTCMonth","getUTCDate","parseMomentDate","input","strict","validOrUndefinedMoment","momentObj","isValid","convertDateAndTimeListToDateTimeIsoFormat","dates","compact","_parseMomentDateTime_format","parseMomentDateTime","_ref","convert12HoursFormatTo24HoursFormat","convert24HoursFormatTo12HoursFormat","formatTime","dateObj","isTimePresentInDate","test","extractTimeFromDateTimeIfPresent","dateTime","_parseMomentDate","stripTimeIfMidnight","convertISOToRFCAndStripTimeIfMidnight","uniqDates","uniqWith","second","todayInUtcIsoString","_parseMomentDateTime","currentDateIfExpired","returnToday","today","unexpiredDates","isSameOrAfter","isDateExpired","isDateInThePast","incomingDate","isBefore","formatSecondsToDuration","formatRideTimeToDuration","rideTime","expirationMonthsToDisplay","index","expirationYears","currentYear","years","i","epochMs","momentDay","isTimeStampBeforeNow","addDaysHoursMinsToCurrentTimestampUTC","add","convertUtcToLocalTimestamp","utcTimestamp","local","convertTimeStampToDaysHoursMins","timeStamp","getDifferenceInMilliseconds","future","getMonthIndex","epoch","getAgeOfDate","dateEpoch","valueOf","nowEpoch","formatSecondsToAge","parsedSeconds","parsedHours","asHours","formatNumberDecimals","asMinutes","asDays","findMinMaxDates","minDate","maxDate","dateObjects","uniq","correctAndDeduplicateDates","correctedDates","documentTypeToString","documentTypes","description","byteToMB","sizeInByte","doDocumentsExceedSizeLimitForSending","size","document","_document_fileSize","fileSize","mapDocumentsToConversationAttachment","trimFileExtension","fileName","getFileExtension","defaultExtension","fileNameParts","last","hasRateConfirmation","hasBOLorLumpers","hasProofOfDelivery","getFileActionTitle","isFileAttached","ViewType","DATE_RANGE_SORTING_OPTIONS","ORIGIN_YEAR","quarters","getQuarterStart","quarter","getQuarterEnd","getFormattedLastMonthStart","getLastMonthStart","getLastMonthEnd","getQuarterListItem","updateDateFilter","periodDataCounts","onPress","filesCount","periodDataCount","_periodDataCount_count","doesMonthBelongToQuarter","getYearListItem","originYear","generateDateRangeSortingOptions","_find_count","_find_count1","currentDate","selectedDateTitle","currentQuarter","quartersToDisplay","reverse","yearsToDisplay","defaultSortingOptions","periodData","older","VIEW_OPTIONS","displayValue","displayValueFromViewType","viewType","_find","displayNameOfDocumentType","docType","formatFolderSortOption","sortOption","CustomFoldersSort","documentsSortingOptionToString","DocumentsSortingOption","ExpediteAllEquipmentType","stringifyEquipments","equipments","trimEquiments","stringifyEquipment","equipment","hasSpecifications","equipmentSpecifications","EquipmentSpecification","hasType","equipmentType","EquipmentType","mapEquipmentsToCode","filteredEquipments","equipmentToCode","mapEquipmentsTypeToCode","EquipmentCode","mapEquipmentTypeToCode","specifications","equipmentSpecificationsFrom","codes","spec","EquipmentSpecificationCode","substring","equipmentToChip","shouldSliceSpecifications","specificationsString","specs","trim","parseArrayOfValuesFrom","codeStringsToEquipmentSpecifications","equipmentSpec","Object","keys","equipmentSpecificationsToCodeStrings","specification","equipmentSpecificationsToString","priorityEquipmentAvailableForRateCheck","EquipmentTypeString","Van","Reefer","PowerOnly","HopperBottom","Tanker","DoubleDrop","Flatbed","Landoll","LowBoy","Maxi","RemovableGooseneck","StepDeck","Auto","AnimalCarrier","BoatHauler","HeavyHaulers","MovingVan","MiniVan","CargoVan","BoxTruck","Sprinter","DumpTruck","PilotCars","EQUIPMENTS_FOR_RATE_CHECK","isEquipmentTypeSupportedForRateCheck","isRateCheckEquipmentType","EQUIPMENTS_FOR_LTL_MARKET_RATES","equipmentTypeToExpediteAll","convertEquipmentTypeToExpediteAll","typesSupportedByUpload","getEnumKey","FilterType","REFRESHED_AGE_FILTER","SearchFilterDistanceSection","sectionsFromSearchFilter","searchFilter","_normalizedSearchFilter_minMileage","_normalizedSearchFilter_minMileage1","_normalizedSearchFilter_company","_normalizedSearchFilter_minTransCreditRating","_normalizedSearchFilter_minTransCreditRating1","_normalizedSearchFilter_minTransCreditDaysToPay","_normalizedSearchFilter_minTransCreditDaysToPay1","_normalizedSearchFilter_company1","_normalizedSearchFilter_company2","_normalizedSearchFilter_company3","_normalizedSearchFilter_equipmentSpecifications","_normalizedSearchFilter_equipmentSpecifications1","_normalizedSearchFilter_minutesSinceRefreshedMax","_normalizedSearchFilter_minutesSinceRefreshedMax1","normalizedSearchFilter","normalizeSearch","Boolean","loadSize","LoadSize","includeLoadsWithoutWeight","includeLoadsWithoutLength","minMileage","filterSpecificInput","label","values","renderMileageText","maxMileage","customValuesString","unit","tripLengthRangeToString","isOnboarded","isFavoriteBroker","CompanyFilterType","minutesSinceRefreshedMax","refreshedAgeLabel","hasBidding","hasCommodity","hasRate","hasTeam","updateFilterValues","_values_","_maxMileageRequestValue","TRIP_LENGTH_ANY","emptySearchFilter","hasMessaging","selectedFiltersCount","filterSections","filterOptionsFromSection","combinedOptions","section","selectedFilterOptions","filterOptions","filterSpecificValuesByType","_filterOption_filterSpecificInput_values","filterOption","search","toUpper","shouldShowItems","FLOW_ID_HEADER","archivingID","flowIDHeader","stringEnum","findMatch","collection","iteratee","match","item","foundMatch","dashIfReturnsUndefined","_transformer","dashIfUndefined","identity","addSuffix","str","areOptionalValuesSemanticallyEqual","a","b","valueOrEmptyString","ImmutableLRUMap","moveToLastUsed","cache","next","Map","set","_new","val","maxSize","extractId","getId","compareIds","item1","item2","LRUMap","c","s","withoutStateHI","stateLoadAvailability","availabilities","availability","filterStatesLocationNoHI","UpdateCategory","NEW_LOAD_SECONDS_THRESHOLD","ONE_MINUTE_IN_SECONDS","ONE_HOUR_IN_SECONDS","updateLoadActionCreator","createLoadFilter","filterInput","comparableInput","normifyString","toLowerCase","compareLocation","locationToFilter","address","locationName","stringifyLocation","normalize","updateBlockedBrokers","loads","blocked","updateLoadBlockedBrokers","updateSimilarLoadsBlockedBrokers","similarLoad","updatedLoad","updateLoadFavoriteBrokers","favorites","matchingUpdatedValue","getMatchingUpdatedCompanyValue","cloneAndEnsurePosterMetadata","setFavoriteBroker","setHiddenBroker","updateLoadOnboarded","onboarded","setOnboarded","updateLoadAge","age","poster","metaData","favoriteBroker","favoriteCarrier","hiddenBroker","hiddenCarrier","_load_poster","updateLoad","createLoadPosterMetadata","posterMetadata","assignedTo","PostedLoadProgress","LoadStatus","createLoadMetadata","userdata","isContacted","isEmailed","posterID","isBlocked","bookNow","numberOfBids","isFavorited","cloneDeep","isGone","isLowPayRate","isMessaged","isWrongInfo","isNotInterested","updateLoadsListAfterBulkUpdate","selectedLoads","isExcluded","loadIDs","pullAll","fetchedAt","addLoadFetchedTime","pickupDates","updateLoadsList","removeLoadsMatchingID","shouldRemoveLoad","updateSimilarLoadsList","removeSimilarLoadsMatchingID","isLoadViewed","_load_metadata_userdata_isViewed","isLoadSaved","_load_metadata_userdata_isSaved","isLoadCalled","_load_metadata_userdata_isCalled","_load_metadata_userdata","LoadProgress","isLoadEmailed","isLoadMessaged","isLoadBidSent","_load_rateNegotiations1","isLoadBookingRejected","_load_bookNow","bookingStatus","BookingStatus","isBrokerFavorite","isBrokerBlocked","isMatching","field","nonMatchingFields","isMatchingField","nonMatching","isMatchingEquipment","similarLoadsFrom","_nth","loadGeolocationFrom","reversedGeolocation","stateShortName","posters","matchingUpdatedCompanyValue","isLoadAvailable","addFetchedTime","loadComputedAge","currentTime","isLoadNew","isNewLoadPrivate","isLoadNewWithAge","getAge","isFromAutorefresh","getFlatRateAmount","rate","mileage","computedMileage","PayRateUnit","getPricePerMileRate","pricePerMile","getLoadProgress","currentLoad","getProgressWithoutExcludedStatuses","getRefreshRate","removeLoadDatesTimesIfMidnight","pickupDateTime","pickupDateTimes","deliveryDateTime","hackToRevertAPI3330","_extractTimeFromDateTimeIfPresent","startsWith","remove4Hours","isWithManualPostedExtraStops","extraStops","numberOfStops","getRevenue","linehaulRevenue","flatAmount","CanadaRegionOptions","USARegionOptions","UsaAndCanadaRegionOptions","createLoadSearchMetadata","SearchMetadataType","INITIAL_SEARCH_LIMIT","DEFAULT_LOAD_SEARCH_FIELDS","createDefaultBaseLoadSearchRequest","ANYWHERE_LOCATION","createDefaultLoadSearchRequest","EMPTY_ORIGIN_LOCATION","resetMetadata","searchRequest","addLoadSearchFields","produce","withSorting","_searchRequest_metadata","currentSortBy","direction","withFilterSelection","_updatedSearchRequest_minTransCreditRating","_updatedSearchRequest_maxTransCreditRating","_updatedSearchRequest_minTransCreditDaysToPay","_updatedSearchRequest_maxTransCreditDaysToPay","_updatedSearchRequest_minMileage","_updatedSearchRequest_maxMileage","_updatedSearchRequest_equipmentSpecifications","_updatedSearchRequest_minAge","_updatedSearchRequest_maxAge","_updatedSearchRequest_minutesSinceRefreshedMax","updatedSearchRequest","normalizedSearchRequest","withoutFilter","withFilters","isCreditRatingAnyValue","isCreditRatingDaysToPayAnyValue","isTripLengthAnyValue","isTripLengthAny","isPostedDateAnyValue","saveAsRecentSearch","addRadius","draft","shouldClearOriginRadius","shouldUpdateOriginRadius","origRadius","DEFAULT_LOAD_SEARCH_RADIUS","shouldClearLoadLocationRadius","shouldUpdateDestinationRadius","destRadius","withoutNextToken","withLimit","metadataWithLimit","createApplyFilterRequest","createCancelFilterRequest","zipCodeNormalize","spacelessCanadianZip","zipCodePattern","exec","newZipOrigin","createRequestFromLoadSearchSettings","loadType","weight","minWeight","minLength","prepareNearbyLoadsSearchRequest","_searchRequest_minLength","_searchRequest_minWeight","CURRENT_LOCATION_TEXT","formatNumberOrDash","units","truncString","truncStringIfNeeded","shortStringifyAge","stringifyDrivingTime","excludeSeconds","excludeDays","timeObj","convertedDaysToHours","getLoadLocationString","loadAddress","geolocationString","convertCityLocationFormatToCapitalize","formattedAddress","getDeadHead","_load_metadata_userdata_originDeadhead","originDeadhead","getDestinationDeadHead","_load_metadata_userdata_destinationDeadhead","destinationDeadhead","valueForDestLocation","valueForOriginLocation","formatEquipmentTypes","trailerTypes","formatTripLength","maxLength","formatTripWeight","maxWeight","equipmentTypeToString","stringToEquipmentType","findKey","eq","ratePerMileFormatted","capitalize","formatLocationToCityState","formattedLocation","recentLocationFormatter","RecentLocationType","lengthLimit","addressStr","cityStr","needsTooltip","capitalizeCityName","cityName","messageData","finalString","addressToLocationSuggestion","SuggestionTypes","stateUrlId","convertOriginLocationToBaseLocation","convertRecentLocationToLoadLocation","recentLocation","convertBaseLocationToLoadLocation","convertRecentLocationToBaseLocation","isLoadLocationEqual","left","right","allKeys","every","isBaseLocationEqual","_left_address","_right_address","_left_states","_right_states","_left_states1","_right_states1","_left_address1","_right_address1","_left_address2","_right_address2","_left_address3","_right_address3","canadaStates","usStates","isAmericanState","maybeState","STATES","isCanadianState","CA_PROVINCES","splitStatesString","getAmericanStates","getCanadianStates","convertBaseLocationToServerBaseLocation","baseLocation","_baseLocation_states","_baseLocation_states1","_baseLocation_states2","_baseLocation_states3","convertLoadLocationToBaseLocation","destLocation","destinationRadius","allStates","isAllUSASelected","getIsAllUSASelected","isAllCASelected","getIsAllCASelected","addressState","convertBaseLocationToZip","isWithGeolocation","_location_geolocation","_location_geolocation1","_location_geolocation2","_location_geolocation3","shouldConvertCityWithZipToZipLocation","getStatesFromBaseLocation","defaultTo","convertToOriginLocation","loadLocation","usStatesArray","getListOfStatesByCountry","canadaProvincesArray","extractStatesArrayFromString","statesString","listOfAllStatesInCountry","LOCATION_ALL","toAddress","textFromLocation","isDisabled","isLocationCountryOrAnywhere","clipLatLongValue","latLong","Number","toFixed","Countries","CountriesWithAnywhere","Focus","displaySingleStringValueFor","forEditing","displayValueFor","addressFrom","loadLocationFromCountrySelection","locationMatchToLoadLocation","locationSuggestion","selector","baseUseSelector","useMapImage","_map_isLoading","shouldFetch","currentMapState","loadDetailsMap","mapStateRef","useMemo","_mapStateRef_current","fetchRouteMap","Filter","MYLOADS_FILTERS_LIST","applyMyLoadsFilter","progressList","myLoadsRequestFromFilter","createDefaultMyLoadsRequest","filterToPropertyKey","totalCountForFilter","totalCountState","headerNameFromFilter","isLoadUnbookedAndAvailable","loadProgress","getFilterFromLoadProgress","CompactNumber","int32toCompactString","baseChars","r","treatUndefinedAsZero","treatZeroAsUndefined","toLocaleString","maximumFractionDigits","minimumFractionDigits","formatNumberWithZeroFormatting","isNumberZero","formatMileage","safeFormatMileage","wholeNumber","safeFormatPrice","isNumber","cleanNumberOnlyInput","cleanSpaces","cleanDashes","cleanAlphaCharacters","formatThousands","removeLeadingZeroes","flow","getSummaryRoadInfo","directions","_load_originLocation","_load_destinationLocation","rideMiles","tollCost","tollCosts","convertLoadToMileageRoutesPostRequest","_load_originLocation_address","_load_originLocation_address1","_load_originLocation_address2","_load_originLocation_address3","_load_destinationLocation_address","_load_destinationLocation_address1","_load_destinationLocation_address2","_load_destinationLocation_address3","stopsLocations","zip","_stop_address","_stop_address1","_stop_address2","_stop_address3","getStopsLocationTypeFromExtraStop","ExtraStopLocationType","formatPhoneNumber","rawPhoneNumber","COUNTRY_CODE","formatPhoneNumberWithExtension","formattedPhone","extensionText","phoneNumberWithoutAreaCode","arePhonesDefinedAndMatching","phoneA","phoneB","loadProgressLabelMap","loadProgressLabel","useRateCheckHistory","rateCheckRequest","_rateCheckHistory_data","_rateCheckHistory_data1","_rateCheckHistory_data2","_rateCheckHistory_data3","_rateCheckHistory_data4","_rateCheckHistory_data5","_rateCheckHistory_data6","_rateCheckHistory_data7","rateCheckHistory","rateCheck","isLoadingRateCheck","isRateCheckReady","isSuccess","fetchLoadRateCheckHistory","fetchRateCheckHistory","maxRatePerMile","average","averageRatePerMileData","high","ratePerMileMaxData","low","ratePerMileMinData","flatMax","maxFlatRate","flatAverage","averageFlatRateForMileageData","flatHigh","maxFlatRateForMileageData","flatLow","minFlatRateForMileageData","useRateCheckHistoryBroker","_max","rateCheckAverage","isLoadingRateCheckAverage","domain","useFlatRateDomain","maxTotal","tickValues","boxPlotdata","isLoadingWidget","getTickLength","formatMonthTicks","tick","returnLongNames","formatPriceTicks","defaultAnimation","useDomain","isWithFirstTickOffset","lastDataPoint","endDate","y","x","useOnActivated","points","_average_index","_low_index","_high_index","_average_index1","dataPoint","_x","averageRate","lowRate","highRate","averageRateMonth","setAverage","setMin","setMax","setMonth","chartPadding","top","bottom","boxPlotChartPadding","VORONOI_CONTAINER_PROPS","voronoiDimension","voronoiBlacklist","labels","MONTH_TICK_STYLE","tickLabels","fontSize","padding","angle","verticalAnchor","EXPANSION_LEVEL_TICK_STYLE","fontWeight","PRICE_TICK_STYLE","useBaseRedLineYCoordinates","height","_chartPadding_top","_chartPadding_bottom","y1","y2","useHistoricalRates","yearsColors","_rateCheckHistorical_data","_rateCheckHistorical_data1","rateCheckHistorical","historical","dataFlatRate","dataPerMileRate","selectedMonthIndex","setSelectedMonthIndex","historicalRatesData","breakDownHistoricalRatesByYears","useRateCheckHistorical","_rateCheckHistorical_data2","_rateCheckHistorical_data3","_rateCheckHistorical_data4","_rateCheckHistorical_data5","_rateCheckHistorical_data6","_rateCheckHistorical_data7","fetchRateCheckHistorical","useActivatedHistorical","isMonthTheSame","monthIndex","getIsDataForCurrentYearPopulated","flatRatesForMonth","rateData","rateCheckDataPoints","rateCheckDataPerMilePoints","_flatRatesForMonth_","rateDataPoint","perMileRatesForMonth","currentMonth","startOf","rateDataByYears","acc","currentYearIndex","ratePerMile","perMileItem","color","useHistoricalRatesGraphData","rateDataItem","useHistoricalRatesDomain","_maxRate_rate","maxRate","maxBy","LengthRange","DisplayEquipmentList","SearchEquipmentListGrouped","popular","other","SearchEquipmentList","EquipmentSpecificationList","displayCode","SearchEquipmentSpecificationList","SearchEquipmentSpecificationListWithAll","LoadAvailabilitySortOptions","LoadSortField","LoadPostSortOptions","TrailerOptions","quickSelect","SmallTrailerList","SmallTrailerOptions","isSelectedSmallTrailerOptions","selectedSmallTrailerTypesLength","intersectionWith","smallTrailerType","trailerType","getStringifiedEquipmentTypeAndName","equipType","getStringifiedDisplayEquipmentList","getStringifiedEquipmentSpecName","equipSpecifications","loadSizeToString","getSortByMatchingLoadSearchOrigin","KeysSortByDeadhead","KeysSortByPickupDate","maxMileageRequestValue","computeMinMax","bias","isShort","isMedium","isRegional","isLong","convertSelectArrayToBooleanObject","LoadSearchMileage","computeRanges","rangeObject","shouldIncludeMileageValues","flags","selectedFlagsCount","flag","LoadSortCategory","KeysSortByAge","StateKeysSortBy","KeysSortBy","commonSortKeys","RegionKeysSortBy","LoadAvailabilitySortCategory","SearchDirectoryKeysSortBy","ResultSortCategory","loadSortToKeysSortBy","loadSortBy","keySortByToLoadSearchSort","keySort","loadSortFieldToKeysSortBy","loadSortField","loadSort","loadSortFor","RadioListSortByOptions","RadioListSearchDirectoryCompanySortByOptions","didSortByChange","prevSortBy","newSortBy","compareSortOptionsByField","convertTruckAvailabilityToLoadSearch","_convertBaseLocationToLoadLocation","destinationLocations","validateURL","regex","prefixHttpsIfNecessary","getInitials","firstName","lastName","hasRoles","currentRoles","validRoles","intersection","getUserMemberType","Roles","userRoleLocalizedText","isStringValid","isEmailValid","email","isPhoneValid","required","numbers","cleanPhoneNumber","charAt","isNumberFieldValid","shouldDistanceChange","distance","shouldRateChange","shouldCostPerMileChange","cost","isTimeFieldValid","isValidUsDotNumber","maybeNumber","isFinite","parseFloatFromString","parseFloat","DEFAULT_VALIDATION_RESULT","blocking","validator","validatable","validateIsNumber","validateStringLengthNotZeroAndAsciiAndHyphen","validateIsGreaterThan","validateBetween","fieldName","validateStringLengthNotZero","validateStringSecureWebProtocol","validateEmail","validatePhone","validateEmailCanBeEmpty","validatePhoneCanBeEmpty","validateNotEmpty","validateMaxLength","validateDOTNumber","withoutLeadingZeroes","validateState","validatedStreetNumber","validateTruckWeight","isEnglish","errorMessage","validateStringLengthNotZeroAndNumberOnlyMetricLength","validateStringLengthNotZeroAndNumberOnlyMetricHeight","validateStringLengthNotZeroAndNumberOnlyFeetHeight","validateStringLengthNotZeroAndNumberOnlyFeetLength","validateZipCode","validateMCNumber","validatePhoneShortMessage","validateCardNumber","cardNumber","CardValidator","combineValidators","functions","func","validationResult","validateIsLessThan","isPriceAndLessThanOneHundred","validateIsNumberAndLessThan","validateBidIsNumberAndBoundaries","validateDifferentOffer","validateInteractiveBid","prevOffer","validateBid","getValidBid","bidNumber","getValidDOT","dot","getBidButtonAndTitledText","willResubmitBid","getWillResubmitBid","getVendorBidFailedPopupConfig","GENERAL_CONTACT_PHONE_NUMBER","GENERAL_CONTACT_PHONE_NUMBER_FORMATTED","TRUCK_LOCATOR_ACCESS_REQUEST_EXTENSION","DOWNLOAD_POSTING_AID_LINK","APPSTORE_LINK","GOOGLEPLAY_LINK","FMCSA_SEARCH","SAFER_SEARCH","FUEL_PRICES","USDA_MARKETING_SERVICE","BORDERWAITTIMES_CAN_LINK","BORDERWAITTIMES_USA_LINK","MAC_OS_X_MANAGE_SUBSCRIPTION","APP_STORE_SETTINGS_URL","APP_STORE_UNSUBSCRIBE_HELP_URL","FMCSA_UPDATING_REGISTRATION_URL","APPLE_PURCHASE_HISTORY_INFO","getMCLink","docketNumber","getUSDOTLink","getWebsiteLink","website","link","DIESEL_PRICE_LINK","MEMBERS_PAYMENT_METHOD_LINK","LOADBOARD_HELP_RATE_CHECK","LOADBOARD_HELP_CARGO_CHIEF","LOADBOARD_HELP_GREENSCREENS","LOADBOARD_HELP_MARKET_RATES","CARRIER_SOURCE_SIGNUP","CARRIER_SOURCE_IMPROVE_RATING_FAQ","MY_CARRIER_PORTAL_SUPPORT_EMAIL","BrokerResponseSpeed","FMCSAAuthority","CARRIER_REQUEST_OFFSET_INCREMENT","CARRIER_REQUEST_LIMIT_DEFAULT","CARRIER_REQUEST_LIMIT_APPENDING","createDefaultCarriersRequest","CompanyCategory","CompanyInfoFields","INITIAL_CONVERSATIONS_LIMIT","PAGINATION_CONVERSATIONS_LIMIT","CostPerDaySetting","DEFAULT_WORK_DAYS","DEFAULT_LOADING_HOURS","DEFAULT_DRIVING_HOURS","DocumentSendType","CustomFolderStatus","DownloadState","FOLDER_TYPE_CUSTOM","CUSTOM_FOLDERS_REQUEST_OFFSET_INCREMENT","CUSTOM_FOLDERS_REQUEST_LIMIT_DEFAULT","CUSTOM_FOLDERS_REQUEST_LIMIT_APPENDING","DefaultCustomFoldersRequest","createDefaultCustomFoldersRequest","resetCustomFoldersRequest","DOCUMENTS_LIST_REQUEST_LIMIT_DEFAULT","DOCUMENT_TYPE_ALL","DOCUMENT_TYPE_OTHER","createDefaultDocumentsRequest","FtpProtocol","FtpEncryption","ContactPostingFtpStatus","MAX_FTP_NAME_LENGTH","Currency","Geolocation","lat","lng","InvoiceStatus","InvoiceCurrency","INVOICES_LIST_REQUEST_LIMIT_DEFAULT","INVOICES_LIST_REQUEST_LIMIT_APPENDING","INVOICES_LIST_REQUEST_OFFSET_INCREMENT","DEFAULT_INVOICE_REQUEST","getFetchRequest","selectedYear","endOf","RateCheckPreviewStatus","StopPurposeType","LoadFields","LOAD_DETAIL_REQUEST_FIELDS_DEFAULT","LoadAvailabilityType","NORTHEAST","MIDWEST","SOUTH","WEST","PLAINS","OTHER","LOAD_FEEDBACK_CATEGORY","generateLoadFeedbackRequest","SEARCH_LIMIT_APPENDING","INITIAL_LOAD_SEARCH_LIMIT","LOAD_SEARCH_LIMIT_APPENDING","supportsRadius","isEmptyOriginLocation","AppTheme","AppThemeMethod","AppThemeAPI","postedLoadSortFor","sortFieldFor","sort","postedLoadsSortFieldFor","SortExpression","ViewField","CardView","ListView","MapView","KeysView","KeysViewWithoutMap","KeysWithoutList","JustCardKey","LocationPermissionStatus","NotificationType","createDefaultMessagesRequest","MESSAGES_REQUEST_OFFSET_DEFAULT","MESSAGES_REQUEST_LIMIT_DEFAULT","MESSAGES_REQUEST_LIMIT_APPENDING","MCPRiskAssessment","MY_LOADS_REQUEST_LIMIT_DEFAULT","createWorkingLoadsRequest","MY_LOADS_REQUEST_OFFSET_INCREMENT","MY_LOADS_REQUEST_LIMIT_APPENDING","AccountIssue","UpgradePlanPaymentResult","PaymentMethodUpdateError","DeclineStatus","PaymentType","MembershipReactivateError","PostedLoadsUrl","ProfitCalculatorSubMenu","QuoteType","NegotiationStrength","ThirdPartyLaneRateSource","RateCheckExpansionLevel","AverageRateInitialExpansionLevel","RateCheckTimeSpan","RatingInfoType","Hazmat","CompanyType","TableSource","DocketPrefix","SEARCH_DIRECTORY_REQUEST_OFFSET_INCREMENT","SEARCH_DIRECTORY_REQUEST_LIMIT_DEFAULT","SEARCH_DIRECTORY_REQUEST_LIMIT_APPENDING","DefaultSearchDirectoryCompanyRequest","companyType","tableSource","createDefaultSearchDirectoryRequest","USA_STATES","StorageKey","Config","FlagList","ConfigList","SystemSettingsMonitoredOnSignalR","FuelAdvanceQuoteSteps","GetPaidFasterQuoteSteps","ThunderFundingRegistrationSource","THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_DEFAULT","THUNDER_FUNDING_QUOTES_REQUEST_LIMIT_APPENDING","THUNDER_FUNDING_QUOTES_REQUEST_OFFSET_INCREMENT","DefaultThunderFundingQuotesRequest","fuelAdvanceQuoteToRequest","fundingTypes","desiredAmount","fundingType","rateConfirmation","rateConfirmationDocument","deliveryDocument","bolOrPodDocument","requestSent","lastModifiedOn","getPaidFasterQuoteToRequest","paymentSchedules","paymentSchedule","invoiceType","invoiceDocument","tfCreatesInvoice","isThunderFundingInvoice","billOfLading","bolDocument","TrackingTag","LoadActionName","PromptTrackingActionName","UpgradeSource","UpgradeEvent","CommunicationEvent","VhubEvent","VendorName","TripBuilderPanelModals","TripTypeCategory","TripTypeChipCategory","FieldLocationType","TripLoadType","TripLoadStatus","ProfitType","LoadByLoadView","subtitle","TripKeys","FMCSAAuthorityStatus","InternalTruckStatus","TruckAvailabilityType","TruckAvailabilityStatus","Types","Statuses","PostsFilter","DeleteTruckError","UpdateTruckError","SaveTruckError","PostTruckAvailabilityError","TruckFilterTypes","TruckFilterStatuses","INITIAL_TRUCK_AVAILABILITY_LIMIT","TRUCK_AVAILABILITY_LIMIT_APPENDING","createDeleteAllExpiredTrucksRequest","MAX_TRUCK_LENGTH","MAX_TRUCK_NAME_LENGTH","MAX_PLUS_TRUCK_LENGTH","lengthDomain","MAX_TRUCK_WEIGHT","MAX_LOAD_SEARCH_TRUCK_WEIGHT","MAX_PLUS_TRUCK_WEIGHT","weightDomain","weightDomain500","weightDomainMinus500","ExternalGrantProvider","UpgradePlanError","MembershipStatus","MembershipType","UnlockFeaturePopupType","UserType","PhoneTypes","BillingErrorSeverity","BillingStatus","PhoneVerificationMethod","VerificationPointsTaskStatus","VerificationPointsTask","NumberCategory","MessageWidgetType","WidgetActionType","createResponseAction","fetchData","responseActionHandler","createApiAction","fetchType","responseAction","fetchAction","initiateCase","reducerAction","completeCase","createEpic$","action$","ofType","createSwitchEpic$","switchMap$","createApiActionWithFetchData","apiAction","requestAction","_options_multiplex","overrideResponse","multiplex","createAction","addCase","lastResponseActionUids","lastRequestOverrideMiddleware","shouldBlockResponse","_apiAction_metadata","responseUid","lastApiAction","FetchStatus","clearUnreferencedEntities","referencedIds","entities","updateIdsInNormalizedStates","oldId","newId","normalizedStates","normalizedState","createReducer","initialState","actionsMap","subReducers","reducers","TKcreateReducer","reducer","newState","createMergedReducer","actionMaps","el","staticDispatch","ReduxRegistry","ReduxRegistryComponent","React","componentDidMount","render","children","componentWillUnmount","connect","fetchAvatarAction","fetchSmallAvatarAction","uploadAvatarAction","fetchSmallCompaniesProfileAvatarAction","deleteAvatarAction","uploadAvatar","documentMetadata","fetchAvatar","fetchSmallAvatar","fetchCompaniesProfileAvatar","deleteAvatar","isFetching","isFetchingForSmall","isFetchingForFull","currentAvatarSmall","currentAvatarFull","isUploadingAvatar","isUploadError","companiesProfileAvatarMap","isDeleteAvatarLoading","wasDeleteAvatarCompleted","avatarReducer","_state_companiesProfileAvatarMap_get","companiesProfileAvatarInfo","_action_fetchData","_action_response_headers","companiesProfileAvatar","createAvatarEpic","client","merge$","BrokerActionType","FAVORITE_BROKER","ONBOARD_BROKER","HIDE_BROKER","FETCH_FAVORITE_BROKERS","FETCH_MORE_FAVORITE_BROKERS","FETCH_BLOCKED_BROKERS","FETCH_MORE_BLOCKED_BROKERS","FETCH_ONBOARDED_BROKERS","FETCH_MORE_ONBOARDED_BROKERS","FETCH_FAVORITE_BROKERS_COUNT","FETCH_BLOCKED_BROKERS_COUNT","FETCH_ONBOARDED_BROKERS_COUNT","BROKER_FAVORITED","BROKER_ONBOARDED","BROKER_HIDDEN","FAVORITE_BROKERS_FETCHED","BLOCKED_BROKERS_FETCHED","ONBOARDED_BROKERS_FETCHED","FAVORITE_BROKERS_COUNT_FETCHED","BLOCKED_BROKERS_COUNT_FETCHED","ONBOARDED_BROKERS_COUNT_FETCHED","SET_FREE_TEXT_FILTER","CLEAR_BROKER_UPDATE","favoriteBrokers","onboardBrokers","hideBrokers","isFromBackhauls","fetchFavoriteBrokers","isRefreshing","fetchMoreFavoriteBrokers","fetchBlockedBrokers","fetchMoreBlockedBrokers","fetchOnboardedBrokers","fetchMoreOnboardedBrokers","fetchFavoriteBrokersCount","fetchBlockedBrokersCount","fetchOnboardedBrokersCount","setFreeTextFilter","clearBrokerUpdate","brokerResponse","updated","blockBrokerResponse","fetchBrokerResponse","createDefaultBrokerRequest","favoriteBrokersRequest","blockedBrokersRequest","onboardedBrokersRequest","isLastResult","isLoadingMore","blockedBrokers","onboardedBrokers","brokersUpdate","isLoadingFavorites","isLoadingBlocked","isLoadingOnboarded","favoriteBrokersCount","blockedBrokersCount","onboardedBrokersCount","freeTextFilter","isLoadedFavoritesCount","isLoadedOnboardedCount","isLoadedBlockedCount","brokerReducer","newFavoriteBrokers","newFavoriteBrokersCount","newBlockedBrokers","newBlockedBrokersCount","newOnboardBrokers","newOnboardBrokersCount","updateBrokersListsFollowingFavouriteOrBlock","hideAction","updatedSuccessfully","updateTime","updateType","favoriteAction","onboardAction","favoriteBrokersAction","company1","company2","blockedBrokersAction","onboardedBrokersAction","newOnboardedBrokers","totalResultCount","setFreeTextFilterAction","favoriteBroker$","flatMap$","broker","favorite","onboardedBroker$","updatedBrokers$","state$","if$","shouldFetchBrokerCountsFromServer","hideBroker$","hide","fetchFavoriteBrokers$","standardApiEpic","fetchMoreFavoriteBrokers$","queryTime","pageResultCount","currentOffset","fetchBlockedBrokers$","isHiddenBroker","fetchMoreBlockedBrokers$","fetchOnboardedBrokers$","fetchMoreOnboardedBrokers$","fetchFavoriteBrokersCount$","fetchBlockedBrokersCount$","fetchOnboardedBrokersCount$","createBrokerEpic","companyClient","updatedBrokers","updateBrokers","removeBrokers","changeRelatedBrokers","updatedBroker","newBrokers","emptyBrokerData","changedBroker","changeBrokerMetadata","updateValue","_broker_metaData_favoriteBroker","_broker_metaData_favoriteCarrier","_broker_metaData_hiddenBroker","_broker_metaData_hiddenCarrier","_broker_metaData_onboarded","brokerMetadata","mcNumber","usdotNumber","isOcfp","requestOneTimeLocationFromConversationAction","sendOneTimeLocationInConversationAction","requestOneTimeLocationFromConversation","sendOneTimeLocationInConversation","carrierTrackingReducer","conversation","requestLocation","sendLocation","isSending","wasSuccessful","createCarrierTrackingEpic","carrierTrackingClient","NEW_MESSAGE_ACTION_TYPE","UPDATE_MESSAGE_ACTION_TYPE","CLEAR_SENT_MESSAGE_RESPONSE","RESET_COMMUNICATIONS_STATE","INIT_CONVERSATIONS_BY_IDS","COMPLETE_CONVERSATIONS_BY_IDS","getConversationLoadDetailsAction","conversationsSummaryAction","messagesSummaryAction","communicationStatusApiAction","conversationAction","loadConversationAction","messagesAction","userStatusApiAction","messageReadAction","sendMessageApiAction","shouldMonitorSocketAction","wasSocketPermanentlyDisconnectedAction","markAllMessagesAsReadAction","updateAttachDocumentsFormAction","getCanMessageConversationAction","getConversationLoadDetails","onMessageUpdate","conversationIds","getLoadConversations","getConversationList","getMessagesList","sendMessage","userID","clientID","clearSentMessageResponse","markMessageRead","getConversationUserStatus","markAllMessagesAsRead","updateAttachDocumentsForm","getCanMessage","createEmptyConversationMessageEntry","isSendMessageLoading","userStatus","unreadConversationsCount","conversationsListIds","isLoadingConversations","didFailToLoadConversations","conversations","conversationMessages","pendingMessageKeys","Set","loadConversation","socketMonitor","shouldMonitor","wasSocketPermanentlyDisconnected","wereAllMarkedAsRead","isLastPage","attachDocuments","selectedDocuments","isAddNewDocument","latestMessageTimestamp","latestMessageSendBy","conversationLoadDetails","canMessageConversation","canMessage","communicationReducer","hasError","_state_conversationMessages_get","messageEntry","newMessagesEntry","messagesEntry","isSendMessageSuccess","_action_data_text","_action_data_documents","unshift","newMessages","updatedMessage","didFailSending","disabled","isBrokerCommunicationEnabled","brokerAcceptsLoadInquiries","isEnabled","messageKey","has","_action_userId","mostRecentMessageId","createdBy","splice","userIndex","updatedUsers","online","isOnline","conversationsByID$","conversationRequests","zip$","responses","createCommunicationsEpic$","_data_text","AvatarType","fetchCompanyAvatarAction","fetchSmallCompanyAvatarAction","fetchSmallCompaniesAvatarAction","uploadCompanyAvatarAction","deleteCompanyAvatarAction","uploadCompanyAvatar","fetchCompanyAvatar","fetchCompaniesAvatar","deleteCompanyAvatar","companiesAvatarMap","isDeleteCompanyAvatarLoading","wasDeleteCompanyAvatarCompleted","companyAvatarReducer","_state_companiesAvatarMap_get","companiesAvatarInfo","companiesAvatar","createCompanyAvatarEpic","FAVORITE_CARRIER","HIDE_CARRIER","FETCH_COMPANY","FETCH_COMPANY_AUTHORITY","FETCH_COMPANY_AUTHORITY_LICENSING","FETCH_COMPANY_INSURANCE","FETCHED_COMPANY","FETCHED_COMPANY_AUTHORITY","FETCHED_COMPANY_AUTHORITY_LICENSING","FETCHED_COMPANY_INSURANCE","UPDATE_COMPANY_INFO","LOAD_COMPANY_INFO","ONBOARD_CARRIER","FETCH_CREDIT_INFO","CREDIT_INFO_FETCHED","COMPANY_INFO_LOADED","COMPANY_INFO_UPDATED","CARRIER_FAVORITED","CARRIER_HIDDEN","CARRIER_ONBOARDED","getCreditInfo","getCompanyInfo","getCompanyDetails","getCompanyAuthority","getCompanyAuthorityLicensing","getCompanyInsurance","updateCompanyInfo","updateInfo","carrierResponse","getCompanyInformationFromVolpeAction","getCompanyInformationFromVolpe","getCarrierRatingAction","getCarrierRating","setOnboardingURLAction","setOnboardingUrl","companyReducer","updateCompany","isLoadingCompany","isLoadingCompanyInformation","isLoadingCreditRating","isLoadingAuthority","isLoadingInsurance","isLoadingVolpeInformation","isLoadingOnboardingUrl","didSendOnboardingUrl","hideResponse","favoriteResponse","onboardResponse","didReceiveCompany","didReceiveErrorNoCompany","didRetrieveCompanyDetailsSuccessfully","selectedCompany","brokerMcNumber","authorities","licensing","_action_response_payload","_action_response_payload1","authorityInfo","licensingInfo","insurance","assign","updatedCompany","creditInfo","companyVolpeInformation","isLoadingCarrierRating","didCarrierRatingFetchFail","carrierRating","starRating","_action_response","didSetOnboardingURLSuccessfully","carrierInfoApiAction","brokerInfoApiAction","fetchCarrierInfo","fetchBrokerInfo","initialContactState","contacts","authority","contactReducer","contactInfo","carrier","companyID","favoriteCarrier$","hideCarrier$","onboard","updateCompany$","simpleApiEpicToAction","loadCompanyInfo$","fetchCompanyInfo$","fetchCreditInfo$","fetchCompanyAuthority$","fetchCompanyAuthorityLicensing$","fetchCompanyInsurance$","setOnboardingURL$","createCompanyEpic","contactClient","carrierID","DocumentsContext","DocumentListReducerAction","DOCUMENTS_STORE_KEY","createDefaultDocumentFilters","createDefaultDocumentListState","entries","didLoadingFail","createDefaultDocumentListsState","createDocumentListActionLookup","createDocumentListLookup","createDocumentListStateReducer","reducerKey","paginationReducer","createPaginatedListReducer","getPaginatedListStateFromStoreState","documentLists","getEntriesFromResponse","areEntriesEqual","defaultEntries","ACTION_KEY","createActionKey","setFetchRequestAction","clearDocumentsAction","updateSortingOptionAction","updateFolderFilterAction","updateDateFilterAction","updateTypeFilterAction","toggleSortOrderAction","resetDocumentFiltersAction","fetchEntries","fetchMoreEntries","fetchEntriesResponse","documentListStateReducer","createMergedEpic$","createDocumentListsReducer","actionsLookup","default","loadsearchBackhauls","loadDetailsStandalone","requestBuilder","conversationAttachments","companySearch","setFetchRequest","args","clearDocuments","updateSortingOption","updateFolderFilter","updateTypeFilter","toggleSortOrder","resetDocumentFilters","fetchDocuments","fetchMoreDocuments","documentListsStateReducer","modifiedState","didSomeContextChange","contextKey","modifiedDocumentContextState","fetchEntries$","list","modifyAllDocumentListStates","documentListsState","modifier","modifiedDocumentListsState","documentContext","modifyAllDocumentLists","RecipientType","UpdateOperation","DocumentsUpdateType","FOLDERS_STORE_KEY","FOLDERS_REDUCER_KEY","UPDATE_SEND_DOCUMENTS_FORM","SEND_DOCUMENTS","CHANGE_DOCUMENT_NAME","CHANGE_DOCUMENT_NAME_FULFILLED","FETCH_DOCUMENT_TYPES","DOCUMENT_TYPES_FETCHED","DOCUMENTS_SENT","DELETE_DOCUMENT","DOCUMENT_DELETED","UPDATE_DOCUMENT_TYPE","DOCUMENT_TYPE_UPDATED","UPDATE_DOCUMENT_FOLDER","DOCUMENT_FOLDER_UPDATED","TOTAL_DOCUMENT_COUNT_FETCHED","FETCH_FOLDER_BY_ID","FOLDER_BY_ID_FETCHED","RESET_CURRENT_FOLDER","FETCH_DOCUMENT_FILE","FETCH_CONVERSATION_DOCUMENT_FILE","DOCUMENT_FILE_FETCHED","DOCUMENT_FILE_SAVED","DOCUMENT_FILE_FETCH_ERROR","SET_VIEW_TYPE","FETCH_DOCUMENTS_COUNT","DOCUMENTS_COUNT_FETCHED","SET_VIEW_DOCUMENT_FILE_DATA","foldersRedux","createFoldersReducer","customFolders","fetchDefaultFolders","fetchCustomFolders","fetchMoreCustomFolders","createFolder","changeFolderName","deleteFolder","deleteLoadFolder","deleteFolderResponse","updateFolder","updateSendDocumentsForm","sendDocuments","formInfo","infoToSend","changeDocName","updateDocType","newType","updateDocFolder","documentID","deleteDocument","fetchDocumentTypes","getFolderByLoad","resetCurrentFolder","fetchDocumentFile","fetchConversationDocumentFile","docId","documentFileFetched","setViewType","fetchDocumentsCount","setViewDocumentFileData","fileData","recipientName","recipientCompanyName","recipientEmail","recipientFax","selectedRecipient","shouldShowBrokerAsPossibleRecipient","viewDocument","documentCache","isLoadingDocumentData","documentFileData","viewDocumentFileData","loadDetailsDocuments","loadDocumentCount","isLoadingLoadFolder","createDocument","shouldDisableFolderSelect","shouldPushToAttachDocument","exportDocument","isExporting","documentsUpdate","mapIsLoading","updateResult","docNameUpdated","initialFoldersState","totalDocumentCount","documentsReducer","shouldShow","modifiedDocumentLists","documentList","editDocumentDetails","newFolderName","wasSentSuccessfully","timeSent","wasUpdateSuccessful","changedDocument","documentId","typeUpdated","updateDocumentFolderResponse","generateNewDocumentsUpdate","newDocument","documentListState","modifiedDocumentListState","documentIndex","modifiedDocumentList","loadFolderIdentifier","fileCount","deletedDocumentID","filteredDocumentList","increment","folderByIDResponse","folders","updateCustomFolder","modifiedFoldersState","modifiedDocumentContextsState","docs","operation","doc","copydocs","updatedDoc","folderName","changeDocNameEpics$","fetchTypesEpic$","updateDocType$","updateDocFolder$","getDocumentTotal$","getFolderByLoad$","cacheFile$","cacheFile","sendDocumentsEpic$","sendBy","sendToThunderFunding","deleteDocumentEpic$","fetchDocumentsCount$","createDocumentsEpic","getRequest$","debounceTime","execution$","castArray","debounce$","fulfilledActionCreator","sideEffect","successResp","REQUEST_FTP_ACCESS","REQUEST_URL_SCRAPE","REQUEST_UPLOAD_CSV","REQUEST_FEEDBACK","REQUEST_BROKER_FEATURE","FTP_ACCESS_REQUESTED","URL_SCRAPE_REQUESTED","UPLOAD_CSV_REQUESTED","FEEDBACK_REQUESTED","REQUESTED_BROKER_FEATURE","requestFTPAccess","requestBrokerFeature","requestURLScrape","requestCSVUpload","requestFeedback","feedbackText","width","extraInfo","requestFeedbackResponse","isNewUpload","isFTPLoading","isUploadLoading","isScrapeLoading","isFeedbackLoading","isBrokerFeatureRequestLoading","feedbackReducer","scrapeAction","FTPAction","uploadCSVAction","feedbackAction","requestFTPAccess$","FeatureRequest","CVSRequest","successResponse","URLRequest","Feedback","createFeedbackEpic","feedbackClient","observableMerge","CreateFolderError","defaultFolders","createFolderUpdate","editFolderNameUpdate","deleteFolderUpdate","getCustomFoldersStateFromStoreState","customFoldersReducer","requestConstants","appending","offsetIncrement","transformFetchedEntries","entry","convertCustomFolderDatesToSortableStrings","actionKey","actionTypes","FETCH_DEFAULT_FOLDERS","DEFAULT_FOLDERS_FETCHED","CREATE_FOLDER","RECEIVED_CREATE_FOLDER_RESPONSE","EDIT_FOLDER_NAME","FOLDER_NAME_EDITED","DELETE_FOLDER","DELETE_LOAD_FOLDER","FOLDER_DELETED","UPDATE_FOLDER","FOLDER_UPDATED","fetchDefaultFoldersResponse","updateFolderResponse","createFolderResponse","changedFolderNameResponse","createCustomFolderEpic$","changeFolderNameEpic$","changeCustomFolderName$","fetchDefaultFoldersEpic$","deleteFolderEpic$","getCustomFolderEpic$","newCustomFolder$","defaultFoldersResponse","customFoldersResponse","deletedFolderId","folderListWithoutDeletedElement","customFolder","createdOn","modifiedOn","lastAccessedOn","folderResponse","FETCH_FTP","FETCH_FTP_FULFILLED","POST_FTP","POST_FTP_FULFILLED","UPDATE_FTP","UPDATE_FTP_FULFILLED","DELETE_FTP","DELETE_FTP_FULFILLED","fetchFtp","fetchFtpResponse","postFtp","ftpToPost","datalessResponse","ftps","updateFtp","ftpToUpdate","updateFtpResponse","deleteFtp","ftpIdToDelete","deleteFtpResponse","ftpReducer","changedStates","fetchFtpAction","postFtpAction","saveFtpResponse","isSaveLoading","deleteFtpAction","isDeleteLoading","createFtpEpic","ftpClient","getIdentityVerificationCompanyAction","addNewIdentityVerificationNumberAction","fetchIdentityVerificationCompany","addNewIdentityVerificationNumber","identityVerificationReducer","isLoadingPhone","companyIdentityResponse","phoneIdentityResponse","createIdentityVerificationEpic","fetchInboxMessagesAction","fetchInboxMessageAction","deleteInboxMessageAction","clearInboxMessagesAction","markAsReadAction","fetchInboxMessages","deleteInboxMessage","clearInboxMessages","markAsRead","inboxReducer","didFetchMessages","isLoadingMessages","isLoadingCurrentMessage","isDeleting","deletedSuccessfully","clear","isClearing","clearedSuccessfully","isReading","readSuccessfully","hasMore","items","currentMessage","deletedTime","clearedTime","_state_currentMessage","_state_currentMessage1","createInboxEpic","LOAD_AVAILABILITY_REDUCER_KEY","SearchReducerKey","FETCH_LOAD_AVAILABILITIES","LOAD_AVAILABILITIES_FETCHED","SET_SORT_OPTION","UPDATE_LAST_SEARCH_AVAILABILITIES","UPDATE_LIST_SEARCH_AVAILABILITIES","loadAvailabilitySearch","createLoadSearch","fetchLoadAvailabilities","setSortOption","updateLastSearch","lastSearch","updateListSearch","searchLoads","searchData","nextSearchLoads","updateLoadAvailabilityLoads","updateLoads","performAutoRefresh","viewLoadAvailabilityLoad","viewLoad","refreshLoadCount","setSearchFilterDraft","fetchLoadCount","initialLoadSearchState","selectedSortOption","outboundAverage","loadAvailabilityReducer","isRequestSuccessful","availabilitiesAction","stateAvailabilities","stateAvailability","filteredStateAvailability","inbound","outbound","intrastate","outboundQuery","saveLocations","intrastateQuery","inboundQuery","totalLoads","loadAvailabilities","sortAction","lastSearchRequest","setLastSearchAction","listSearchRequest","loadAvailabilitySearchState","fetchLoadAvailabilitiesEpic$","loadsClient","createLoadAvailabilityEpic","LoadDetailsReducerKey","references","hasReachedLimit","loadingIDs","responseState","showRetry","previousSelectedLoadID","getLoadDetailsState","fetchLoadIdAction","mergeFetchedLoad","fetchedLoad","loadBase","notes","postReference","merge","dispatchEmail","dispatchPhone","LoadDetailsEpics","createEpics","LoadSearchType","baseActionKey","actionsKeys","FETCH_LOAD_DETAILS","LOAD_DETAILS_FETCHED","REFRESH_LOAD_DETAILS","LOAD_DETAILS_REFRESHED","WILL_SHOW_DETAILS","WILL_SHOW_DETAILS_WITHOUT_LOAD","UPDATE_LOAD_DETAILS","CLEAR_CURRENT_LOAD","SET_PREVIOUS_SELECTED_LOAD_ID","FETCH_SINGLERATECHECK_PREVIEW","SINGLERATECHECK_PREVIEW_COMPLETE","exportedActions","fetchLoadDetails","refreshLoadDetails","willShowLoadDetails","shouldResetLimit","overrideArchivingID","willShowLoadWithoutLoad","updateLoadDetails","clearCurrentLoad","setPreviousSelectedLoadID","loadDetailsResponse","getUpdatedCurrentLoad","prevCurrentLoad","mergedLoad","loadDetailsFailed","unexpected","refreshLoadDetailsResponse","loadingIds","_payload_rates","_payload_skippedLoads","stateLoadId","rates","skippedLoads","rateInfo","processRateCheckPreviewResponse","mergedReducer","_references_contactId","getLoadDetailsArchivingFlowID","refreshLoadDetails$","singleRateCheckPreviewEpic$","_storeState_currentLoad_rateCheckPreview","isRateCheckPreviewEnabled","getSettingsFromStateObservable","storeState","rateCheckPreview","actionKeys","loadDetailsBackhauls","loadDetailsCompanySearch","loadDetailsReducer","loadDetailsEpicCreator$","FETCH_LOAD_DETAILS_MAP","LOAD_DETAILS_MAP_FETCHED","routeMapResponse","loadDetailsMapReducer","routeMapResult","createLoadDetailsMapEpic","SEND_LOAD_FEEDBACK","RECEIVE_LOAD_FEEDBACK_RESPONSE","HIDE_LOAD","sendLoadFeedback","receiveLoadFeedbackResponse","categoryFor","loadFeedbackReducer","loadFeedbackResponseAction","sendLoadFeedbackEpic$","loadInfo","loadDetailsKey","hideLoadEpic$","createLoadFeedbackEpic","LoadActionType","FETCH_LOAD_BACKHAULS","LOAD_BACKHAULS_FETCHED","FETCH_ROUTE_INFO","LOAD_ROUTE_INFO_FETCHED","FETCH_CREDIT_RATINGS","LOAD_CREDIT_RATINGS_FETCHED","FETCH_LOAD_RATE_CHECK","LOAD_RATE_CHECK_FETCHED","FETCH_LOAD_CARGOCHIEF_RATE","LOAD_CARGOCHIEF_RATE_FETCHED","FETCH_LOAD_GREENSCREENS_RATE","LOAD_GREENSCREENS_RATE_FETCHED","SAVE_LOAD","REMOVE_LOAD","SAVE_LOAD_FULFILLED","ADD_NOTE","ADD_NOTE_FULFILLED","ADD_PRIVATE_NOTE","ADD_PRIVATE_LOAD_NOTE_FULFILLED","SET_PROGRESS","SET_PROGRESS_FULFILLED","CALL_LOAD","CALL_LOAD_FULFILLED","FETCH_SHARE_LOAD_URL","SHARE_LOAD_URL_FETCHED","FETCH_FUEL_PRICE","FUEL_PRICE_FETCHED","SEND_EMAIL_TO_BROKER","SEND_EMAIL_TO_BROKER_FULFILLED","CLEAR_EMAIL_SENDING_STATE","CLEAR_SHARE_LOAD_URL_STATE","PLACE_BID_ON_VENDOR_LOAD","SENT_BID_VENDOR_LOAD","SEND_BOOK_NOW","BOOK_NOW_SENT","HIDE_LOAD_FULFILLED","fetchLoadFuelPrice","fetchLoadBackhauls","fetchRouteInfo","fetchCreditRatings","fetchRateCheck","fetchLoadCargoChiefRate","fetchLoadGreenscreensRate","fetchSharedLoad","loadFuelPriceResponse","loadBackhaulsResponse","loadCreditRatingsResponse","loadRouteInfoResponse","loadRateCheckResponse","loadCargoChiefRateResponse","loadGreenscreensRateResponse","savedLoadResponse","didSave","hiddenLoadResponse","didHide","callLoadResponse","sendEmailResponse","sharedLoadUrlResponse","saveLoad","willSave","hideLoad","addNote","AddNoteResponse","AddPrivateLoadNoteResponse","setProgress","removeLoad","bidOnVendorLoad","submission","bidSubmission","bidOnVendorLoadResponse","bookLoad","bookLoadResponse","setProgressResponse","callLoad","sendEmailToBroker","clearEmailSendingState","clearShareLoadUrlState","defaultLoadInfo","isLoadingBackhauls","isLoadingRouteInfo","isLoadingCargoChiefRate","isLoadingGreenscreensRate","isLoadingShareLoadUrl","isSavingLoad","isLoadingHideLoad","isLoadingNote","isLoadingPrivateLoadNote","isLoadingFuelPrice","isProgressUpdating","vendorBid","updateCacheData","loadInfoMap","loadInfoReducer","updateLoadInfo","fuelPrice","backhauls","routeInfo","loadRouteInfoResponseAction","creditRatings","wasCreditRatingsListSuccessfullyRetrieved","loadCreditRatingsResponseAction","loadHasNoCreditRatings","creditors","sharedLoadMessage","loadSharingError","loadRateCheckResponseAction","cargoChiefValues","greenscreensValues","loadUpdate","wasUpdatedSuccessfully","saveAction","noteAction","privateLoadNoteAction","loadFuelPriceResponseAction","isEmailSentSuccessfully","emailSendingError","isSentSuccessfully","vendorBidResponseAction","_bookResponseAction_response_error","_bookResponseAction_response_error1","bookResponseAction","isLoadUnavailable","isNotFound","isUpdatingSuccess","setProgressStatusAction","progressUpdateTime","fetchShareLoadUrl$","saveLoad$","callLoad$","addLoadNote$","addPrivateLoadNote$","placeVendorBid$","vendorBidsClient","createLoadInfoEpic","SET_HOME_LOCATION","LOAD_SEARCH_SETTINGS_SET","FETCH_LOAD_SEARCH_SETTINGS","SET_VIEW_OPTION","SET_LAST_VISITED_PAGE","LOAD_SEARCH_SETTINGS_FETCHED","SET_MORE_FILTERS_EXPANDED_STATE","setLocation","fetchLoadSearchSettings","setLastVisitedPage","page","webPage","setViewOption","viewOption","setMoreFiltersExpandedState","isExpanded","loadSearchSettingsInitialState","hasSettings","homeLocation","findLoads","myLoads","loadAvailability","brokerLoads","appViewOption","previousViewOption","lastViewedPage","isMoreFiltersExpanded","createViewOption","viewFindLoads","viewMyLoads","viewLoadAvailability","viewBrokerLoads","updateViewField","currentViewOption","loadSearchSettingsReducer","loadSearchSettingsAction","locationFromResponse","setViewOptionAction","setAction","loadSearchSettingResponseMapping","settingsClient","setWebUiLayout$","fetchSettings$","_state$_value_loadSearchSettings_homeLocation","iif$","createSettingResponse","createHomeLocationEpic","FETCH_LOADS","LOADS_FETCHED","FETCH_POSTED_LOAD_COUNT","POSTED_LOAD_COUNT_FETCHED","SEND_ALERT","ALERT_SENT","SAVE_LOAD_FILTER","INITIAL_STATE","numberOfAlertsSent","isAlertSending","alertResponseTimeStamp","lastLoadFilter","fetchLoads","fetchPostedLoadCount","postAlertNotification","fetchLoadsResponse","saveLoadFilter","fetchPostedLoadCountResponse","postedLoadCount","postAlertNotificationResponse","alertedAmount","numberOfAlertedCarriers","loadsReducer","postedLoadCountAction","loadAction","alertResponse","alertAction","getTime","fetchLoadsAction$","fetchPostedLoadCountAction$","postAlertNotificationAction$","alertNotificationRequest","amountType","targets","createLoadsEpic","FETCH_LOCATION_MATCH","FETCH_LOCATION_MATCH_COMPLETE","fetchLocationMatch","fetchLocationMatchComplete","EMPTY_MATCHES","suggestions","locationCacheKey","queryText","locationMatchReducer","matches","locationAction","locationState","createLocationMatchEpic","locationStatesCache","locationMatches","locationObs$","observableOf","changeMargetRatesSearchFormAction","setAreaExpansionLevelAction","setTimeIntervalAction","resetDataRangeAction","switchLocationsSearchFormAction","fetchBackhaulsRateCheckAction","fetchRouteInfoAction","setIsAcceptancePointExpansionPanelOpenAction","setIsCapacityFinderExpansionPanelOpenAction","fetchPickupLoadsCountAction","fetchAnywherePickupLoadsCountAction","fetchBackhaulsLoadsCountAction","fetchAnywhereBackhaulsLoadsCountAction","setAcceptancePointCalculatorAction","fetchThirdPartyLaneRatesAction","fetchLoadToTruckRatioAction","fetchExpediteAllRateAction","fetchBackhaulsExpediteAllRateAction","changeMarketRatesSearchForm","form","setAreaExpansionLevel","setTimeInterval","resetDataRange","switchLocations","fetchBackhaulsRateCheck","setIsAcceptancePointExpansionPanelOpen","isOpen","setIsCapacityFinderExpansionPanelOpen","setAcceptancePointCalculator","fetchPickupLoadsCount","fetchAnywherePickupLoadsCount","fetchBackhaulsLoadsCount","fetchAnywhereBackhaulsLoadsCount","fetchThirdPartyLaneRates","fetchLoadToTruckRatio","fetchExpediteAllRate","fetchBackhaulsExpediteAllRate","searchForm","isFetchingBackhaulsRateCheck","isFetchingRouteInfo","isAcceptancePointExpansionPanelOpen","isCapacityFinderExpansionPanelOpen","acceptancePointCalculator","postingRate","estimatedCarrierOffer","acceptancePoint","shipperCharge","isFetchingLoadsCount","loadsCount","isCargoChiefGreenscreensRateLoading","areaExpansionLevel","timeInterval","isLoadingLoadToTruckRatio","isLoadingExpediteAllRate","isLoadingExpediteAllRateBackhaul","marketRatesReducer","_state_searchForm","_state_searchForm1","newOrigin","newDestination","newOriginSuggestion","destinationSuggestion","newDestinationSuggestion","originSuggestion","backhaulsRateCheck","pickupLoadsCount","anywherePickupLoadsCount","anywhereBackhaulLoadsCount","backhaulLoadsCount","isCargoChiefRateFound","isGreenscreensRateFound","greenscreensRate","cargoChiefRate","allInCost","allInCostHigh","costHigh","allInCostLow","costLow","laneMiles","isRateFound","individualResponses","originInfo","_toAddress","destInfo","ratioAtOrigin","isRatioFound","ratio","ratioAtDestination","errorFetchingExpediteAllRate","expediteAllRate","backhaulsExpediteAllRate","createMarketRatesEpic","rateCheckClient","sendMcpDotVerificationAction","sendOnboardingRequestAction","linkMcpAccountAction","fetchCarrierRiskAssessmentAction","resetMCPApiErrorAction","resetMCPApiError","sendOnboardingRequest","linkMcpAccount","getCarrierRiskAssessment","sendMcpDotVerification","dotVerification","isError","verificationAlreadyInitiated","instructionsSent","emailSentDate","onboarding","isSendingRequest","isOnboardingRequestSent","linking","isLoadingRiskAssessment","carrierRiskAssessment","myCarrierPortalReducer","onboardingError","linkError","isBrokerAccountLinkedToMcp","isCarrierOnboarded","riskAssessment","createMyCarrierPortalEpic","MY_LOADS_REDUCER_KEY","MY_LOADS_UPDATE_LOAD","SAVED_LOADS_COUNT_FETCHED","FETCH_MY_LOADS_TOTAL_COUNTS","MY_LOADS_TOTAL_COUNTS_FETCHED","MY_LOADS_FETCH_RATECHECK_PREVIEW","MY_LOADS_RATECHECK_PREVIEW_FETCHED","getMyLoadsState","stateObservable","myLoadsPaginationReducer","isLoadingWorkingLoads","workingLoad","savedLoadsCount","isLoadingTotalCount","geoSearch","isLoadingPins","pins","unableToClearLoads","saved","hidden","totalCount","viewed","called","contacted","booked","scheduledForPickup","pickupComplete","loadEnRoute","delivered","wasUnhideMyLoadsSuccessful","isLoadUnhided","fetchMyLoads","fetchMoreMyLoads","updateMyLoads","fetchSavedLoadsCountResponse","fetchMyLoadsTotalCount","unsaveMyLoadsAction","fetchWorkingLoadAction","fetchMyGeoLoadsAction","unsaveMyLoads","fetchWorkingLoads","fetchMyGeoLoads","unhideMyLoadsAction","unhideMyLoads","unhideMyLoadAction","unhideMyLoad","fetchMyLoadsTotalCountResponse","myLoadsReducer","updatedSavedLoadsCount","getNewOffset","countState","responseToTotalCountState","_state_geoSearch_radius","_metadata_requestParams","groups","lastMapSearchID","center","getRadius","requestParams","latLongBounds","loadidsSet","isBooked","_response_data","fetchSavedLoadsCount$","fetchMyLoadsTotalCount$","forkJoin$","totalCountRequest","unsaveMyLoads$","unhideMyLoads$","unhideMyLoad$","fetchWorkingLoads$","rateCheckPreviewEpic$","ENTRIES_FETCHED","loadids","createMyLoadsEpic","myLoadsClient","requestMetadataRadius","originRadius","defaultRequestConstants","FETCH_ENTRIES","FETCH_MORE_ENTRIES","createEntriesFetchedActionType","LAST_RESULT_REACHED","fetchEntriesEpic$","_action_request","fetchMoreEntriesEpic$","_state_entries","receivedEntries","newEntries","planPayment","reactivatePlanPaymentAction","updatePaymentMethodAction","paymentHistory","morePaymentHistory","fetchPaymentDeclineInfoAction","fetchYearsAction","setSelectedYearAction","clearPaymentResultAction","clearPaymentMethodResultAction","reactivatePlanPayment","clearPaymentMethodResult","setSelectedYear","updatePaymentMethod","paymentMethod","fetchPaymentHistory","accountId","fetchMorePaymentHistory","fetchYears","fetchPaymentDeclineInfo","payment","isUpgrading","yearsList","isYearsLoading","isSuccessful","listWasFetched","yearsWasFetched","isLoadingPaymentDeclineInfo","reactivatePlan","paymentReducer","errorType","fetchedPaymentHistoryReducer","isReactivatedSuccessful","_find_date","_last","periods","paymentDecline","isInitial","invoices","createPaymentEpic","fetchIntegrationsAction","fetchLoginSessionsAction","invalidateSessionAction","fetchIntegrations","fetchLoginSessions","invalidateSession","permissionsReducer","integrations","sessions","isFetchingIntegrations","isFetchingSessions","isInvalidatingSession","invalidationError","_action_response_payload_sessions","createPermissionsEpic","getTruckAvailabilityCountAction","getTruckAvailabilitiesAction","getMoreTruckAvailabilitiesAction","addNewTruckAvailabilityAction","updateTruckAvailabilityAction","deleteTruckAvailabilityAction","deleteAllExpiredTrucksAction","deleteAllTrucksAction","toggleClearAllAction","setLastRealTimeTruckPostedAction","fetchTotalMileageAction","fetchRateCheckAction","getMoreTruckAvailabilities","addNewTruckAvailability","screenType","deleteAllTrucks","fetchTotalMileage","postTruckReducer","truckCount","isLoadingCount","wasFetchedSuccessfully","realTimeCount","scheduledCount","expiredCount","total","truckAvailabilities","currentTrucks","wasFetched","updateAvailability","wasUpdated","deleteAvailability","wasDeleted","bulkDelete","wereDeleted","shouldInitiateDelete","pcMiler","totalPostMileage","mileageHttpError","avgRateCheck","rateCheckHttpError","lastRealTimeTruckPosted","currentFilter","httpError","currentAvailabilityId","currentTruck","updateCountAfterDelete","avgRatePerMile","getTruckFetchingData","postsFilter","getTruckAvailabilities$","postTruck","truckData","createPostTruckEpic","FETCH_LOAD_RECENT_QUOTES","LOAD_RECENT_QUOTES_FETCHED","fetchMostRecentQuoteForLoad","isPostLoading","isFetchLoading","createQuoteReducer","FETCH_QUOTE","FETCH_QUOTE_FULFILLED","POST_QUOTE","POST_QUOTE_FULFILLED","fetchQuotes","postQuote","fetchQuotesResponse","postQuoteResponse","fetchQuoteResponse","quoteAlreadySubmitted","genericEpic","doFetchQuote","fetchActionType","fetchQuotes$","doPostQuote","postActionType","postQuote$","getPaidFaster","getPaidFasterQuoteReducer","fuelCard","fuelCardQuoteReducer","roadsideAssist","roadsideAssistQuoteReducer","truckingAuthority","truckingAuthorityQuoteReducer","fuelAdvance","fuelAdvanceQuoteReducer","fetchTruckingAuthorityQuotes","postTruckingAuthorityQuote","fetchRoadsideAssistQuote","postRoadsideAssistQuote","fetchGetPaidFasterQuote","postGetPaidFasterQuote","fetchFuelCardQuote","postFuelCardQuote","postFuelAdvanceQuote","loadQuotesReducer","loadQuotes","quotes","quotesPayload","fetchLoadRecentQuotes$","createQuotesEpic","quoteClient","getPaidFasterEpic","fuelCardEpic","roadsideAssistEpic","truckingAuthorityEpic","fuelAdvanceEpic","FETCH_RATE_CHECK","RATE_CHECK_FETCHED","CLEAR_RATE_CHECK","UPDATE_RATE_CHECK_FEEDBACK","SEND_RATE_CHECK_FEEDBACK","SEND_LOAD_RATE_CHECK_FEEDBACK","RATE_CHECK_FEEDBACK_RESPONSE","CLEAR_RATE_CHECK_FEEDBACK","FETCH_LOAD_RATE_CHECK_HISTORY","FETCH_RATE_CHECK_HISTORY","RATE_CHECK_HISTORY_FETCHED","serializeRequest","clearRateCheck","updateRateCheckFeedback","newFeedback","rateCheckID","clearRateCheckFeedback","sendRateCheckFeedback","sendLoadRateCheckFeedback","fetchMarketRankingsAction","fetchRateCheckHistoricalAction","fetchRateCheckAverageAction","fetchMarketRankings","fetchRateCheckAverage","initialFeedbackState","expectedRate","isRateCheckAccurate","isSubmitted","timeAdded","rateCheckError","loadRateCheckID","createInitialRateCheckHistory","sendFeedbackReducerCase","rateCheckReducer","filterOldAndFailed","revenues","parseRateCheckHistory","negotiationStrength","backhaulRateDifference","feedbackResponse","sendRateCheckFeedback$","createFeedback","sendLoadRateCheckFeedback$","fetchLoadRateCheckHistory$","createLoadRateCheckHistoryRequest","fetchRateCheckHistory$","createRateCheckHistoryRequest","createRateChecksEpic","createRateCheckHistoricalRequest","partialFeedback","recentLocationsAction","fetchRecentLocations","locationType","recentSearchLocationsReducer","recentLocations","locations","createRecentSearchLocationsEpic","locationsClient","fetchRouteAction","postRouteAction","fetchRoute","postRoute","routeReducer","createRouteEpic","SHOULD_REQUEST_SERVICE_CODE","REQUEST_SERVICE_CODE_REQUEST_COMPLETED","serviceCodeRequestCompleted","serviceCode","shouldRequestServiceCode","isUserSignedIn","isLoadingServiceCode","ServiceCodeReducer","serviceCodeAction","supportClient","serviceCodeRequest$","unAuthenticatedSupportClient","authenticatedSupportClient","createServiceCodeEpic","rawApi","authenticatedApi","FETCH_USER_SETTINGS","FETCH_ALERT_SETTINGS","FETCH_EMAIL_VERIFICATION_SETTINGS","FETCH_ROUTES_SETTINGS","ROUTES_SETTINGS_FETCHED","UPDATE_ROUTES_SETTINGS","FETCH_TL_SETTINGS","TL_SETTINGS_FETCHED","UPDATE_TL_SETTINGS","USER_SETTINGS_FETCHED","ALERT_SETTINGS_FETCHED","EMAIL_VERIFICATION_SETTINGS_FETCHED","fetchRoutesSettings","forceRefresh","fetchEmailVerificationSettings","fetchTruckLocatorSettings","updateRoutesSettings","updateTruckLocatorSettings","getSystemSettingAction","updateSystemSettingAction","updateSystemSetting","syncAllSystemSettingsAction","syncAllSystemSettings","shouldUpdateOnly","routesSettingsResponse","tlSettingsResponse","userSettingsResponse","alertSettingsResponse","emailVerificationSettingsResponse","updateRouteSettings","routesSettings","isActionPermissionDeniedOrUnverifiedEmail","isLoadingUserSettings","isLoadingAlertSettings","isLoadingEmailVerificationSettings","isLoadingSystemSetting","systemSetting","initialSystemSettingsState","updateSystemSettingState","_state_systemSetting_setting","_state_systemSetting_setting1","isSystemSettingConfig","existingSystemConfigState","safeSpread","settingsReducer","typedAction","_typedAction_response_payload","isUpdating","_parseValueFrom","parseValueFrom","truckLocatorSettings","truckLocatorUpdatedSettings","userSettings","isEmailVerified","hasCompany","hasTruck","liveLoadRefreshInterval","emailIsValidated","LOGIN_USER","EXTERNAL_LOGIN_USER","fetchTLSettingsAction$","tlSettingsResponseSuccess","recordOnServer","DEFAULT_TL_SETTINGS","handleRoutesSettingsResponse","fetchRoutesSettingsAction$","updateRoutesSettingsAction$","updateTLSettingsAction$","_state$_value_settings","getUpdatedTruckLocatorSettings","truckLocatorState","userSettingsEpic$","alertSettingsEpic$","emailVerificationSettingsEpic$","createSettingsEpic","_state$_value_SETTINGS_REDUCER_KEY","SETTINGS_REDUCER_KEY","loadSortAsc","mapView","loadAlertMessage","loadWizardStep","loadWizardCompleted","truckWizardStep","truckWizardCompleted","settingsState","FETCH_SHARED_LOAD","FETCH_SHARED_LOAD_FULFILLED","fetchSharedLoadResponse","sharedLoadReducer","sharedLoadAction","createSharedLoadEpic","sharedLoadClient","isUnavailable","systemTime","createSystemTimeReducer","FETCH_SYSTEM_TIME","SYSTEM_TIME_FETCHED","fetchSystemTime","systemTimeDataResponse","systemTimeReceivedAt","systemTimeReducer","createSystemTimeEpic","SystemTimeClient","fetchSystemTime$","FETCH_TERMS_OF_SERVICE","FETCH_PRIVACY_POLICY","TERMS_OF_SERVICE_FETCHED","PRIVACY_POLICY_FETCHED","fetchTermsOfService","fetchPrivacyPolicy","termsofServiceResponse","termsandConditionsResponse","privacyPolicyResponse","termsAndConditionsReducer","termsOfService","privacyPolicy","isLoadingTermsOfService","isLoadingPrivacyPolicy","TACResponseAction","fetchTermsOfServiceEpic$","fetchPrivacyPolicyEpic$","createTermsAndConditionsEpic","termsAndConditionsClient","THUNDER_FUNDING_QUOTES_REDUCER_KEY","FUEL_ADVANCE_QUOTES_REDUCER_KEY","GET_PAID_FASTER_QUOTES_REDUCER_KEY","QUOTE_COUNT_RESPONSE","fuelAdvanceQuotesPaginationReducer","fuelAdvanceQuotes","getPaidFasterQuotesPaginationReducer","getPaidFasterQuotes","createInitialQuotesPaginatedListState","emptyFuelAdvanceRequestSteps","emptyGetPaidFasterForm","fuelAdvanceRequest","createFuelAdvancePatch","createFuelAdvanceQuoteRequest","getPaidFasterRequest","createGetPaidFasterPatch","createGetPaidFasterQuoteRequest","fetchFundingTypes$","fetchNumberOfQuotes$","fetchPaymentSchedules","createThunderFundingQuotesEpic","thunderFundingQuotesClient","steps","bolOrPodDocumentId","rateConfirmationDocumentId","specialInstructions","additionalNotes","bolDocumentId","invoiceDocumentId","oldQuote","findQuote","oldQuoteRequest","newQuoteRequest","omitIds","omit","POST_TMS","POST_TMS_FULFILLED","postTms","postTmsResponse","tmsReducer","tmsAction","createTmsEpic","tmsClient","TRIP_BUILDER_DEFAULT_RADIUS","TRIP_BUILDER_RADIUS_OPTIONS","isFetchingTripInfo","didFinishFetchingLoadDetails","noUserTripsFetched","wasTripCreationSuccessful","isDeletingTrip","wasTripDeletionSuccessful","wasLoadAdditionSuccessful","loadAdditionErrorMessage","wasLoadHiddenSuccessful","wasLoadRemovalSuccessful","mode","pickUpLocation","dropOffLocation","pickUpDate","pickup","dropoff","hasPickedLocation","mpg","strictLength","strictWeight","countries","excludedStates","maxLoads","miniMap","userTrips","availableLoads","newestTripId","selectedRouteIndex","tripSegments","tripLoadDetails","tripRouteDetails","convertFromTripBuilderLocation","from","_from_city","_from_city1","convertFromTripBuilderDestinationLocation","convertToTripBuilderLocation","_from_radius","_from_radius1","Error","convertFromTripLocationRequest","schedule","loadCount","timeFrame","area","loadFilter","tripLoads","profit","available","convertToTripLocationRequest","calculateTripLengthDays","startingDeadhead","firstPickupDatetime","lastPickupDatetime","lastLoadDuration","finalDeadheadDuration","startTime","endTime","selectViewTypeAction","fetchTripBuilderFormAction","pickUpLocationAction","dropoffLocationAction","switchLocationAction","updateFormFieldsAction","clearFormAction","updateTripLoadsAction","fetchUserTripsAction","createNewTripAction","deleteUserTripAction","fetchSegmentsAction","fetchLoadsAction","fetchRouteLoadDetailsAction","fetchLoadsDetailsAction","addLoadAction","removeLoadAction","removeLoadsAction","hideLoadAction","fetchMapAction","fetchMiniMapAction","setSelectedRouteIndex","sanitizeFormDatesAction","selectViewTpe","fetchUserTrips","setPickUpLocationAction","setDropoffLocationAction","setSwitchLocationAction","setUpdateFormFieldsAction","setClearFormAction","createNewTrip","newTrip","deleteUserTrip","fetchSegments","fetchRouteLoadDetails","addLoad","removeLoads","fetchTripBuilderMap","fetchTripBuilderMiniMap","setRouteIndex","sanitizeFormDates","updateTripLoads","tripBuilderReducer","_state_tripSegments","_state_tripLoadDetails","_state_tripRouteDetails","segments","_action_data_mode","_action_data_pickup","_action_data_dropoff","_action_data_excludedStates","_action_data_maxLoads","_action_data_maxLength","_action_data_strictLength","_action_data_maxWeight","_action_data_strictWeight","pickUpTime","dropOffDate","dropOffTime","_data_form","_data_form1","_data_form2","_data_form3","_data_form4","_data_form5","_data_form6","_data_form7","_data_form8","_data_form9","_data_form10","_data_form11","_data_form12","_data_form13","trips","trip","indexToUpdate","updateOnRemove$","updateOnRemoveLoads$","updateOnAdd$","updateOnHide$","_action_fetchData1","routeIds","updateOnCreateTrip$","updateOnDeleteTrip$","onFetchAvailableLoads$","routes","_action_response_payload_routes__loadIds","createTripBuilderEpic","tripBuilderClient","TRUCK_ALERTS_REDUCER_KEY","FETCH_UNREAD_TRUCK_ALERTS_COUNT","FETCH_TRUCK_ALERTS","FETCH_MORE_TRUCK_ALERTS","FETCH_LOAD_INFO_TRUCK_ALERTS","UNREAD_TRUCK_ALERTS_COUNT_FETCHED","TRUCK_ALERTS_FETCHED","LOAD_INFO_TRUCK_ALERTS_FETCHED","READ_ALERT","DELETE_ALERT","UPDATE_LOAD_ALERT_RESPONSE","NEW_TRUCK_ALERT","NEW_TRUCK_ALERTS_FETCHED","fetchMessagesResponse","messagesResponse","fetchNewMessagesResponse","fetchMessageCountResponse","unreadMessages","updateNewMessagesTimestamp","fetchLoadMessagesResponse","messagesResult","readMessageError","loadMessageError","resultCount","fetchMessages","fetchMoreMessages","fetchLoadInfoMessages","readMessage","deleteMessage","messageUpdated","messagesRequest","loadInfoMessages","truckAlertsReducer","isPreviouslyRead","deletedMessageID","indexDeletedMessage","isDeletedMessageRead","filteredMessages","newUnreadMessagesCount","wasInitialRequest","message1","message2","newLoadInfoMessages","_action_messagesResponse_payload","fetchMessages$","truckAlertsClient","truckAlerts","fetchMoreMessages$","fetchNewMessages$","fetchUnreadTruckAlertsCount$","fetchLoadInfoMessages$","deleteMessage$","createTruckAlertsEpic","UPLOAD_NEW_DOCUMENT","UPLOAD_NEW_DOCUMENT_SENT","uploadDocument","isUploadingDocument","isFileInvalid","isFileNameInvalid","uploadFileReducer","sentDocAction","uploadFile$","createUploadFileEpic","UPDATE_LAST_ID","FETCH_USER","USER_ALERTS","UPDATE_USER","USER_UPDATED","USER_ALERTS_FULFILLED","FETCH_USER_FULFILLED","USER_INBOX_UPDATED","FETCH_GUEST_AVAILABLE_LOAD_VIEW_COUNT_FULFILLED","updateLastId","lastMaintenanceIdVersion","fetchAvailableLoadViewCountFulfilled","updateUserInfo","userInfo","fetchUserAlerts","fetchUserFulfilled","fetchUserAlertsFulfilled","userAlerts","fetchUserInboxMessageUpdated","inboxUnreadCount","userInfoUpdated","initialUserState","isUpdatingInfo","accesses","isMapTollsAvailable","isCreditRatingAvailable","isRateCheckAvailable","isCargoChiefRateAvailable","isLoadPlannerAvailable","isInternalAdmin","userType","userReducer","profileAction","rolesArr","deriveUserType","companyCategory","updateAction","stateToUpdate","mergeUserInfo","updateIdAction","_stateToUpdate_userAlerts","messagesInfo","updatedInboxCount","availableLoadViewCount","fetchUserEpic$","isFetchingUser","fetchUserAlertsEpic$","updateUserEpic$","userClient","updateUserAvailableLoadViewCountEpic$","createUserEpic","prevUserInfo","mergedUserInfo","phoneExt","mobile","primaryPhone","DEFAULT_PROMO_CODE","WELCOME_BACK_PROMO_CODE","DEFAULT_SELECTED_MEMBERSHIP_PLAN","BASIC_MEMBERSHIP_PLAN","AVAILABLE_PROMO_CODES","applyPromoCodeForUsersPlanAction","fetchUserPlansAction","fetchUserPlansWithoutPromoCodeAction","postSelectAddOnAction","postDeselectAddOnAction","fetchMembershipsDataAction","changeMembershipPlanAction","fetchMembershipTypeAction","createMembershipAction","getRetentionPlanAction","clearUserPlansAction","addAddOnsToSelectedMembershipPlanAction","removeAddOnsFromSelectedMembershipPlanAction","changeSelectedMembershipPlanAction","fetchUserPlans","promoCodeInfo","applyPromoCodeForUsersPlan","fetchUserPlansWithoutPromoCode","postSelectAddOn","addOnData","postDeselectAddOn","fetchMembershipsData","changeMembershipPlan","fetchMembershipType","getRetentionPlan","changeSelectedMembershipPlan","addAddOnsToSelectedMembershipPlan","removeAddOnsFromSelectedMembershipPlan","userPlanReducer","isLoadingPlans","isLoadingDefaultPlans","lbPlans","lbPlansWithoutPromoCode","lbPlansAvailableForPromoCode","isLoadingData","isChangingPlan","isLoadingAddOn","isLoadingType","selectedPlan","selectedAddOns","isMembershipDataFetched","promoCodeIsAvailable","isPlanFetchSuccessful","isDefaultPlanFetchSuccessful","currentPlan","plan","planName","packages","updateSelectedPlanData","selectedPlanName","_action_appliedPromoCode","appliedPromoCode","isToRemove","taxRate","isAddOnAdded","isAddOnRemoved","membershipData","membershipError","package","isPlanChangeSuccessful","membershipType","retentionPlan","_state_selectedPlan","difference","fetchUserPlans$","_action_data","_action_data1","applyPromoCodeForUsersPlan$","_action_data2","createUserPlanManagementEpic","selectedPlanFromNewPackagesList","newSelectedPlanAdditionAddOns","additionalAddOns","addOn","commonAddOnsCurrentlySelected","plansNotIncludedInPromoCode","differenceBy","FETCH_USER_TRUCKS","USER_TRUCKS_FETCHED","FETCH_SINGLE_TRUCK","SINGLE_TRUCK_FETCHED","SAVE_TRUCK","EDIT_TRUCK","DELETE_TRUCK","TRUCK_DELETED","TRUCK_SAVED","TRUCK_EDITED","fetchUserTrucks","withDeviceId","fetchTrucksResponse","fetchTruckResponse","saveTruck","saveTruckResponse","editTruck","editTruckResponse","deleteTruck","deletedTruckResponse","trucks","isSaving","wasSavedSuccessfuly","edited","isEditing","wasEditedSuccessfully","wasDeletedSuccessfully","userTruckReducer","_saveAction_response_error","_saveAction_response_error1","_saveAction_response_error2","_saveAction_response_error3","_saveAction_response_error4","_saveAction_response_error5","_singleTruckAction_response","_deletedTruckAction_response_error","trucksResponse","didTrucksLoadSuccessfully","parseTruck","newTruck","userTrucks","savedTime","modifiedTruck","matchingTruckIndex","editedTime","activeTruck","singleTruckAction","setActiveTruckAction","selectedTruck","setSelectedTruckAction","deletedTruckAction","fetchTrucksEpic$","trucksClient","fetchTruckEpic$","saveTruckEpic$","formatTruck","editTruckEpic$","deleteTruckEpic$","_truck_defaultLength","_truck_defaultWeight","defaultLength","defaultWeight","createUserTrucksEpic","CreateVerificationError","getVerifiedPhoneApiAction","createPhoneVerificationApiAction","createCodeVerificationApiAction","getVerifiedPhoneStatus","createPhoneVerification","verificationMethod","createCodeVerification","CLEAR_VERIFY_DATA","clearVerifyData","verifyPhoneReducer","verifyPhoneCode","primaryPhoneVerificationStatus","phoneVerificationType","requestGuid","phoneVerificationExpire","expiresIn","currentGuid","phoneGUID","_action_response_error","_action_response_error1","phoneVerifiedStatus","createVerifyPhoneEpic","phoneClient","RECEIVED_BID_UPDATE","getBiddingSummaryAction","getBiddingSummaryListAction","getBidSummariesAction","getBidSummaryAction","receivedBidUpdateEventAction","incrementViewingBidsCountAction","decrementViewingBidsCountAction","getLoadBidsAction","getBidAction","markAllBidsAsViewedAction","clearFailedGetBidAction","getBidLoadIsOnlineAction","getBidLoadDetailsAction","actOnBidAction","clearFailedBidActionAction","postBidAction","getCarrierInfoAction","eventType","incrementViewingBidsCount","decrementViewingBidsCount","fetchBidSummaries","fetchMoreBidSummaries","fetchLoadBids","fetchBiddingSummaryList","fetchMoreBiddingSummaryList","updateBid","isSilent","isUpdate","silentlyGetBid","getBidLoadIsOnline","loadSearchType","getBidLoadDetails","markAllBidsAsViewed","actOnBid","ackBid","ack","postBid","getBidCarrierInfo","createInitialBidLoadDetailsState","viewingBidsCount","summary","carrierUnreadBids","brokerUnreadBids","bidSummaries","listAll","didFailToLoad","listPerLoad","isLoadingSingleBidSummary","summaries","biddingSummary","fetchingBids","loadBids","bidLoadDetails","bidActions","actionsInProgress","actionsFailed","isPosting","bidsCarrierInfo","wereAllMarkedAsViewed","bidsReducer","biddingRole","countUnread","offerUpdatesCount","selectedFilters","modifiedBidSummaryIds","bids","bidSummary","bidSummariesIds","modifiedBidIds","bidIds","_action_data_carrierId","mostRecentBid","addBidSummaryFromBidDetails","isMostRecentOffer","processBidUpdate","processNewBid","updatedBidData","existingBidData","matchingBidSummary","updateBidSummaryFromBidDetails","bidAction","didPostSuccessfully","postedBidId","newBid","previousBidId","handleBidEditOrCounterOffer","existingState","bidsClient","_action_data_previousBidId","receivedBidUpdateEvent$","eventBidId","topLoadBidId","topLoadBiddingSummaryId","createBidsEpic","isNewerBid","existingBid","existingBidDate","newBidDate","findBidSummaryForSameLoad","_bidSummary_load","_bidSummary_load1","_bidDetails_load","_bidSummary_otherParty","_bidSummary_otherParty1","_bidDetails_otherParty","getPrecedingBidSummary","existingBidSummary","updateIdsInBidSummaryLists","possiblyOutdatedBidSummary","_bidDetails_load1","_bidDetails_load2","precedingBidSummary","bidSummariesListAll","biddingSummariesListAll","biddingSummariesListPerLoad","bidSummariesListPerLoad","oldBidId","newBidId","updatedBid","forcedIsBidSummaryViewed","useBiddingSocketUpdates","getVendorBidsAction","addVendorBidAction","fetchVendorBids","fetchMoreVendorBids","addVendorBid","vendorBidsReducer","createVendorBidsEpic","COMPANY_SEARCH_REDUCER_KEY","searchLoadsById","setSelectedSearch","setSortBy","updateCompanySearchLoads","refreshCompanySearchLoadCount","updateLastSearchAction","updateListSearchAction","companySearchReducer","getSortByMatchingCompanySearchOrigin","newLastSearch","createCompanySearchEpic","convertLoadToCompanySearchRequest","_load_poster1","_load_poster2","companyIDs","companyIds","convertCompanyDataCompanySearchRequest","SearchState","SEARCH_ALERT_LIMIT","createInitialNormalizedPersistentSearches","ui","Array","showSimilarLoads","loadSearchState","isCountingSearches","isPerformingSearch","searchCount","isFetchingCount","isLastSimilarResult","isAutoRefreshing","didLoadFetchFail","similarLoads","totalLoadsCount","totalSimilarLoadsCount","newLoadIds","nextTokenSimilarLoads","selectedSearch","fetchingError","searchFilterDraft","selectedNamedSearch","isLoadingSearches","viewFilter","isValidSearch","entity","convertPersistentSearchFromServer","searchName","normalizePersistentSearches","accumulator","currentSearch","namedSearchAlertCounts","LOAD_BACKHAULS_REDUCER_KEY","initialStateLoadState","loadSearchQueryFromBackhaulsQuery","backhaulsEpic","createBackhaulsEpic","BACKHAULS_SET_QUERY","CLEAR_BACKHAULS","BACKHAULS_UPDATE_LIST_SEARCH","backhaulsSetQuery","clearBackhauls","fetchBackhaulsLoadCount","resetBackhaulsLoadCount","resetLoadCount","showBackhaulsSimilarLoads","updateBackhaulsOriginLocation","updateOriginLocation","updateBackhaulsLoadSearchTruck","updateLoadSearchTruck","updateBackhaulLoads","refreshBackhaulsLoadCount","viewBackhaulLoad","backhaulsState","actionsQueue","backhaulsReducer","backhaulsEpicCreator$","backhaulsActions","screensForCustomRecentSearch","setSelectedNamedSearchAction","setSearchReferrerAction","clearAlertErrorAction","clearFetchingErrorAction","setNearbyLoadsSettingsAction","setLoadSearchViewFilterAction","fetchAllSearchesAction","deleteAllSearchesAction","createSearchAction","fetchSearchByIDAction","editSearchRequestAction","deleteSearchAction","fetchNearbyLoadsCountAction","loadAlerts","updateSearchAlertAction","getNearbyLoadsAction","fetchNearbyLoadsReverseGeolocationsAction","listSearch","clearAlertError","searchId","clearFetchingError","setLoadSearchViewFilter","view","fetchAllSearches","deleteAllSearches","createSearch","editSearchRequest","updateSearchAlert","deleteSearch","LOAD_SEARCH_REDUCER_KEY","originatedAppLocation","loadCountRefreshed","removeBlockedLoad","toggleCountingSearches","clearLoadSearchState","loadSearchInitialState","nearbyLoads","isCountLoading","loadSearchReducer","updatedLoads","updatedSortBy","searchReferrer","alertError","didSearchesFetchFail","namedSearches","wasSearchCreated","wasSearchUpdated","persistentNamedSearch","persistentSearch","indexOf","isUpdatingAlert","wasAlertUpdated","wasSearchDeleted","pull","totalAlertCount","alert","alertCount","nearbyLoadsSettings","loadAlertPollingEpic$","fetchSearchesOnListUpdate$","createSearchOnEditFail$","createLoadSearchEpic","reducerKeys","union","createLoadSearchReducer","SET_SORT_BY","UPDATE_ORIGIN_LOCATION","FETCH_LOADS_BY_ID","SHOW_SIMILAR_LOADS","SIMILAR_LOADS_FETCHED","GET_NEXT_SEARCH_LOADS","LAST_RESULT","FETCH_LOAD_COUNT","LOAD_COUNT_FETCHED","RESET_LOAD_COUNT","UPDATE_TRUCK","UPDATE_LOAD","REFRESH_LOAD_COUNT","LOAD_COUNT_REFRESHED","AUTO_REFRESH_LOADS","AUTO_REFRESH_LOADS_COMPLETE","REMOVE_PENDING_BLOCKED","TOGGLE_COUNTING_SEARCHES","SET_SELECTED_SEARCH","SET_SELECTED_BACKHAUL","SET_ACTIVE_SEARCH","VIEW_LOAD","CLEAR_LOAD_SEARCH_STATE","SET_SEARCH_FILTER_DRAFT","FETCH_RATECHECK_PREVIEW","RATECHECK_PREVIEW_COMPLETE","similarLoadsResponse","loadsSearchResponse","updateLoadSearchStateSortBy","matchingKeySortBy","newKeySortBy","_metadata_limit","_action_limit","sum","_action_searchRequest","_metadata_sortOrder","sortOrder","getMergedLoads","getNewLoads","totalLoadsCountSearchForm","uniqBy","loadViewedUpdate","viewedLoadIndex","viewedSimilarLoadIndex","sentNextToken","loadsCountChange","refreshedLoads","forSimilarLoads","currentLoads","nextLoads","mergeLoadLists","loadSearchCommon","ACTIONS_BLOCKING_GROUP","initial","complete","overrideExisting","getLoadSearchState","searchLoadsEpic$","searchState","searchLoadsByIdEpic$","getNextSearchLoadsEpic$","distinctUntilChanged","prevAction","fetchSimilarLoads$","filter$","refreshLoadCount$","autoRefresh$","_storeState_selectedSearch","getLoadSearchBaseState","initialMapSearchState","isNewSearch","mapArchivingFlowID","createMapSearchEpic","CLEAR_LOADS","SET_MAP_SEARCH_BOUNDS","FETCH_GEO_LOADS","FETCH_GEO_LOADS_ID","GEO_LOADS_FETCHED","NEW_GEO_LOADS_FETCHED","mapSearch","clearLoads","setMapSearchBounds","mapSearchBounds","fetchGeoLoads","shouldResetFlowID","fetchGeoLoadsById","updateMapSearchLoads","refreshMapSearchLoadCount","viewClusterLoad","fetchedGeoloadsCase","mapSearchState","searchGeoLoadsEpic$","updatedMapSearchWith","searchGeoLoadsByIdEpic$","companyMapSearch","mapSearchReducer","mapSearchEpicCreator$","mapSearchActions","mapSearchActionKeys","companyMapSearchReducer","companyMapSearchEpicCreator$","companyMapSearchActions","companyMapSearchActionKeys","userAccurate","stringifyAddress","to","defaultToEmpty","addressLine1","addressLine2","feedbackSubmittedFor","getRateCheckID","expansionLevel","timeSpan","createLoadRateCheckHistoricalRequest","yearsAgo","createRateHistoryRequestBody","baseRequest","withCurrent","averageRateForMileage","ratePerMileMax","ratePerMileMin","minRateForMileage","maxRateForMileage","minRatePerMile","formatDollarsPerMile","getInitialAverage","responsePayload","totalRate","skippedRate","skipReasons","_skippedRate_skipReasons_","_skippedRate_skipReasons_1","skipReason","SessionStates","updateScreenSharingSessionAction","updateScreenSharingSession","ScreenSharingReducer","session","newSession","RibbonMessageType","OPEN_RIBBON","CLOSE_RIBBON","openRibbon","msg","messageType","closeRibbon","ribbonReducer","isOpened","isPhoneLink","TutorialAction","toggleTutorial","tutorialReducer","runLoadTutorial","runTruckTutorial","UPDATE_UNDER_DEVELOPMENT_FLAG_STATUSES","initialUnderDevelopmentState","availableFlags","accFlags","availableFlag","createUnderDevelopmentStateReconciler","inboundState","originalState","reducedState","persistConfig","filteredInboundState","validPersistedFlags","currentPersistedFlag","autoMergeLevel2","createUnderDevelopmentReducer","existingFlags","flagUpdates","flagUpdate","stateReconciler","updateUnderDevelopmentFlagStatuses","CommunicationTopic","clientType","minimalLogging","pendingConnectedTopics","isConnectionPermanentlyClosed","_this_connection","connection","resetIsConnectionPermanentlyClosed","resp","toPromise","accessToken","startConnection","connectionWasPermanentlyClosed","apiError","Promise","reject","signalR","withUrl","accessTokenFactory","configureLogging","withAutomaticReconnect","build","serverTimeoutInMilliseconds","onclose","onConnectionClosed","recentCauseOfConnectionPermanentlyClosed","connectTo","callback","connectedTopic","on","isPermanentlyDisconnected","_this_connection1","_this_connection2","_this_connection3","_this_connection4","onUpdateMessagesState","onUpdateConversationCount","onMessageStatusChange","off","send","SortLoad","Sort","baseSortCategories","valueForCategory","sortAsc","parseLocation","parseLocationCity","parseLocationState","parseLocationZip","parseLoadDate","parseLoadMessageSent","messagesSentCounter","sortEquipCode","parseLoadEquipment","equipmentStr","categoryIsNumber","LoadSort","getLoadsMap","loadsMap","existingLoad","refreshedLoadsWithAutoRefreshFlag","refreshedLoadsMap","nextLoadsMap","currentLoadsRefreshed","refreshedLoadsToInsert","loadsToAppend","matchingRefreshedLoad","matchingNewLoad","loadsToInsert","categories","order","SortOrder","mergeSortedArrays","curry","list1","list2","compare","index1","index2","compareValue","obj1","obj2","isSortAsc","value1","normalizeNumberValue","value2","normalizeStringValue","cmp","gt","sortCategories","categoryType","sortMultiple","sortingCategories","handleUndefinedReturn","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","TruckSortCategories","SortTruck","parseTruckDate","parseTruckDeadhead","_item_truck_rating","availableDates","deadhead","TruckItemSort","sortTruckMatches","exactMatches","anonymousMatches","nonMatches","filteredOutMatches","filterTrucks","onboardedCarriersDotNumbersList","unfilteredTrucks","filteredTrucks","unfilteredAnonymousTrucks","filteredAnonymousTrucks","matchResult","withinRadius","isFavoriteCarrier","gpsVerified","truckAvailabilityTypeId","activeAuthority","commonAuthorityStatus","contractAuthorityStatus","anonymous","filterTruckMatches","filtered","truckList","anonymousList","filteredList","nonList","splitTrucks","isAvailable","overallMatch","yes","no","remove","colon","bulletPoint","equals","hyphon","feet","lb","lbs","miles","miles_short","per_miles_short","dollar_sign","phone_ext","active","warning","notApplicable","unknown","all","any","or","at","change","select","submit","reSubmit","enter","getStarted","deactivate","tryAgain","emailSent","loading","noData","new","continue","anywhere","fullName","verify","verified","notVerified","password","save","address2","stateProvince","zip_postal_code","dispatcher","apply","clearAll","setAlert","removeAlert","alertOn","alertOff","Off","On","moreFilters","manage","attached","parameters","withDimensions","loadsWith","removeAll","plusSign","equalitySign","edit","upload","mc","usDot","na","done","costPerDay","abbreviation","calculatorText","bannerTitle","bannerContent","cardContentFirst","cardContentSecond","cpdAbove","cpdBelow","of","truckExpenses","descriptionStart","descriptionBold","descriptionEnd","disclaimer","imageAlt","homeExpenses","workDays","descriptionBold1","descriptionMiddle","descriptionBold2","errorText","loadingHours","drivingHours","card","notAvailable","setup","profitPerDay","profitPerHalfDay","costPerHalfDay","profitableLoad","footerLoadInfo","notProfitableload","partialProfitabLeLoad","profitValuePerHalfDay","resetPassword","button_cancel","button_reset","toast","yesterday","thisMonth","lastMonth","january","february","march","april","may","june","july","august","september","october","november","december","sunday","monday","tuesday","wednesday","thursday","friday","saturday","dayNamesShort","tripBuilder","createNewTripButton","tripCardHeader01","tripCardHeader02","tripCardTripText","planYourTrip","planTripDescription","tripSummary","added","unavailable","loadUnavailable","mapNotAvailable","newTripHeader","resultLayout","loadByLoadLabel","loadByLoadDescription","entireTripLabel","entireTripDescription","tripParameters","originPoint","pickupTimeHeader","dropoffTimeHeader","pickupDateHeader","dropoffDateHeader","excludedStatesOptional","excludedStatesSubHeader","maximumLoadsHeader","popup","popupHeader","popupDescription1","popupDescription2","ago","renewed","posted","selectLastRenewed","selectLastRenewedInfo","withinLastMins","withinLastOneHour","withinLastHours","lessThan","seeCountLoads","noLoadsAvailable","tripLength","short_option","medium_option","regional_option","long_option","short","regional","medium","long","custom","accessibility","clearSearchesPopup","withoutAlerts","withAlerts","buttonLabel","New","Load","Alerts","Views","Views_Count","View","Pickup","Destination","Pickup_Date","Search_Results","No_Loads","No_Matches","noMatchesFound","Search","Found_Loads","Found_Load","Filter_Applied","Filters_Applied","Matches_after_filtering","Found_Backhaul_Loads","Sort_By","loadNoLongerAvailable","View_Details","Save_Load","Saved_Load","Status_updated","Status_not_updated","Load_is_saved","Load_hidden","Load_unhidden","Loads_unhidden","Load_is_unsaved","Loads_are_unsaved","hidePopup","Share","Print","Hide","Unhide","Bid","Call","Call_again","Contacted","Trailer","More_details","Ref","Item","Qty_Stops","Qty","ExtraStops","Note","PrivateNoteMessage","PrivateNote","Profit_Calculator","your_profit_from_load","mi_maps_tolls","Company_Name","Company_Phone","DOT_number","MC_number","Credit_Score","Toll_Cost","shipperMCNotRequired","origToDest","Destinations","Multiple","Anywhere","AnywhereCA","AnywhereUS","anyEquipmentType","Equipment","AllFlatbed","AllVan","equipmentSpecification","None","AirRide","BlanketWrap","BTrain","Chains","Chassis","Conestoga","Curtains","Double","ETrack","Extendable","HazMat","HotShot","Insulated","Intermodal","LiftGate","LoadRamps","LoadOut","Moving","OpenTop","Oversized","PalletExchange","PlateTrailer","SideKit","Tarps","TeamDriver","TempControlled","Triple","Vented","WalkingFloor","All","Size","Length","Weight","Distance","Radius","Age","equipmentCode","equipmentSpecificationCode","onboardedCompanies","companyPreferences","favoriteCompanies","creditRating","daysToPay","creditRatingShort","daysToPayShort","shipper","renewedAge","postedAge","withMessaging","withBidding","trailerSpecifications","commodity","postedRate","teamDrivers","tl","ltl","withWeight","withLength","trailerSpecs","singleResult","totalResult","selectCreditRating","pleaseSelect","selectDaysToPay","pleaseSelectDaysToPay","pleaseSelectTriplength","selectPostedAge","loadDocuments","filesAttached","oneFileAttached","manageDocuments","updateStatus","manageDocumentsForThisLoad","rateConfirmationBolEtc","didYouBook","truckAlert","alertSent","getOnboarded","end","proceed","titleInteractive","infoDialog","menuOption","vendor","interactiveOnly","introBothActive","interactiveBothActive","markAllAsViewed","failure","actionRequired","confirmed","assigned","pending","rejected","withdrawn","accepted","expirationTime","requiredError","bannerText","placeBid","enterBid","editBid","placeCounterOffer","messageCarrier","button","empty","validation","tooLow","sameValue","menu","viewLoadDetails","bannerMessage","placedBid","sentOffer","sentOfferAccepted","sentOfferRejected","sentOfferWithdrawn","sentOfferWithdrawnByBroker","receivedOfferAccepted","receivedOfferRejected","receivedCounterOffer","sendConfirmation","bidItem","titles","offer","counterOffer","yourOffer","yourCounteroffer","carrierOffer","loadPostCounteroffer","failedToUpdate","confirm","accept","counter","receivedOffer","part1","part2","sentCounteroffer","receivedOfferAcceptedListCard","buttons","failedToPlaceBid","sendingFailed","statusUnknown","somethingWentWrong","activate","filterMessage","filterSubtitle","noMatches","Company","Deadhead_Short","Deadhead_Long","MC_USDOT","Authority","MCS150","MCS150_Popup","Carrier_History_Map","Next_Available","Carrier","Available_Capacity","Insurance","Auth_Insurance_Short","Auth_Issuance_Short","Auth_Insurance_Long","Auth_Issuance_Long","Phone_Number","Alert_Sent","desiredRate","Now","small_weight","postTruckText","findLoadsLink","sectionTitle","infoDialogContent","truckPost","realTimePosts","scheduledPosts","expiredPosts","createNewPost","totalTripText","avgRate","avgRateText","avgRateLabel","minRate","inputLabel","maxError","additionalInfo","previewDescription","teamDriven","postForm","myTuck","availibleCapacity","AnonymousPost","header","lessThanOneYear","AnonymousPopup","paragraph","listTitle","listItemOne","listItemTwo","listItemThree","listItemFour","noPostedTrucksScreen","realTime","goToApp","scheduled","expired","myTruck","addTruck","addNewTruck","noTrucksText","truckSpacification","truckName","cardSpec","cardName","updateError","updateSuccess","deleteError","deleteSuccess","savedSuccess","savedError","nameError","snackBar","postDeleted","failedToDelete","failedToSave","expiredPostsDeleted","expiredPostsFailedToDelete","popUps","truckInUseRealTime","body1","body2","truckInUseDelete","body","deleteTruckPost","duplicateName","alerts","infoModal","loadAlert","emptyTitle","emptySubtitle","alertLoad","markUnread","sortByKeys","deadheadMiles","pickupDate","pickupDateWithDate","views","creditScore","tripRate","weightLb","lengthFt","ref","searchDirectory","USDOT","MCNO","viewKeys","cards","pickUp","equip","ft","smallTruckLoadsDialog","oneMinute","Year","Days","Hours","HoursAlt","Minutes","MinutesShort","Seconds","Month","yearAlt","recentSearch","savedSearches","searchSaved","savedSearchRemoved","alertSaved","alertRemoved","unableToSave","unableToSaveReason","namedSearch","deletedSearch","searchDoesNotExist","cardOption","editSearchTitle","newSearchTitle","availibleCapacityInfo","searchNameLabel","searchNamePlaceholder","searchNameTitle","searchNameInfo","emptyPanel","emptyAlertsPanel","subtitleWithoutAlerts","viewAll","createNewButton","searchRemoved","saveSearchMessage","saveSearchPopup","errors","noSpaces","requiredAsciiOnly","requiredAsciiAndHyphenOnly","requiredNumbersOnly","requiredPrice","lessThanValue","greaterThanValue","unableToOpen","notSupported","mustBeNumber","validDOT","mapDataFailed","weightErrorLbs","weightErrorKgs","lengthErrorMetric","heightErrorMetric","lengthErrorFeet","heightErrorFeet","validMC","invalidPhoneShortError","streetNumberError","invalidCardError","genericCardError","invalidExpiry","invalidSecurityCode","avsFailed","betweenValues","invalidWebProtocol","confirmation","payAmount","isRateAccurate","thankYou","errorSubmitting","legendTitle","userRoles","premium","standard","basic","member","loadAvailable","limitReached","limitReachedContent","foundLoads","resultsMayVary","blockedCompanies","contentBeforeLink","contentAfterLink","regionTypes","USA","Northeast","Midwest","South","West","Plains","Other","Canada","US","toll","summaryRoadInfo","totalDistance","totalDrivingTime","totalTollCost","routing","departureFrom","iftaReport","stateByStateReport","downloadIftaReport","iftaReportDownloadWarning","arrivalTo","potentialLoads","workingLoads","completedLoads","headerTitles","viewedLoads","savedLoads","calledLoads","bookedLoads","scheduledLoads","pickupLoads","deliveredLoads","contactedLoads","hiddenLoads","emptyResult","picked","enRoute","updateStatusContent","deleteDialog","unhideLoads","deleteFailedDialog","avatar","avatarPopupTitle","avatarPopupContent","companyAvatarPlaceholderText","myDocuments","addNewDocument","addNewFolder","editFolderName","titleShort","noDocuments","emptyDocument","subTitle","uploaded","filterByFolder","addDocument","attachToSendDocument","byDate","alphabetical","byFolder","byType","downloading","removeAttachment","sent","selectFolder","hasLoad","placeholder","alreadyExists","genericError","editFolder","successDelete","errorDelete","contentFromMyLoaDetails","loadFolderContent","renameDoc","rename","accesibilityButton","updating","fail","download","fileNotSupported","subTitleDownloadOnly","documentError","certificateOfInsurance","w9","addBottomSheet","scanDocument","uploadPhoto","uploadFile","documentActionSheet","renameDocument","changeFolder","changeType","downloadDocument","documentCapture","backPopup","deletePopup","errorOnSave","saveInProgress","filePickerError","fileTooBigError","viewTypeOptions","sendDocumentSubtitle","createDocumentSubtitle","invalidCharactersDocumentSubtitle","renameDocumentSubtitle","downloadDocumentSubtitle","invalidImageTypePopUpTitle","invalidImageTypePopUpContent","couldNotRetrievePhoto","buttonTitle","nameSelected","folderSelected","typeSelected","successUpdate","errorUpdate","invalid","cancelUpload","dismiss","fileTypeError","mimeTypeError","screenTitle","emptyList","attachedFiles","documentsTitle","documentsSelected_plural","sendTo","recipient","recipientPlaceholder","accountManager","companyPlaceholder","sendByEmail","emailTitle","emailPlaceholder","sendByFax","faxTitle","faxPlaceholder","fax","thunderFunding","sentDocumentsMessage","attachFiles","emailFaxEmpty","continueToMainPage","banner","limitExceeded","title123Connect","typeHereBox","buttonMessageAgain","newConversation","mainMessage","sharedName","sharedCompany","sharedMC","sharedPhoneEmail","noLoadMessage","unreadTitle","viewAllMessages","unreadSubtitle","subtitleCarrier_part1","subtitleCarrier_part2","subtitleCarrier_part3","subtitleBroker","attachmentsDialog","viewAttachment","sendAttachments","pickerTitle","messageTitle","messagePlaceholder","sendAttachmentsTitle","lastOnline","chip","offline","locateLoad","agent","authorityList","powerUnits","usCanInspections","authorityTypes","common","contract","authorityBroker","authIssuance","moreDetails","cityState","loadContact","loadPoster","showPhone","carrierInfo","notificationBanner","deniedPopupTitle","deniedPopupContent","part3","intro","reason1","reason2","reason3","callText","wholeFeature","errorSendingMessage","userHasMessagingDisabled","userOfflineMessage","markAllAsRead","locationRequest","failed","bidSent","bidHeader","information","flatRate","reSubmitBid","previousBidPart1","previousBidPart2","companyDOT","equipmentSpecs","equipmentNotes","submitBidCallMessage","bidPlaced","not_found","disqualified","invalidDotMC","dotPopUp","textFieldLabel","placedOn","bookingPending","dialog","pendingLong","pendingShort","alreadyBooked","unavailable_content","recentlyBooked","bookedSuccessfully","confirmedTitle","pendingTitle","rejectedTitle","vHub","vHubMEMPopupHeader","vHubPopupHeader","vHubPopupDetails","vHubPopupSubDetails","vHubPopupButtonLabel","vHubBookWithButtonLabel","help","faq","videoTutorials","serviceCodeTitle","generateCode","screenSharing","endSession","startSession","announcements","clearConfirmation","serviceRelated","notice","announcementsNewLine","announcement","newsletter","promotion","clearSuccess","clearFailure","deleteFailure","phoneVerification","creation","selectVerificationMethod","textMessage","voiceMessage","voice","landline","wrongNumber","tooManyAttempts","badRequest","codeInput","resendCode","invalidCode","expiredCode","cvv","cid","billingAddress","billingAddressInfo","securityCode","screenInfo","methodWasUpdated","radioList","expirationInfo","CVVinfo","CIDinfo","membership","membershipPlan","managePlan","keyFeatues","planPrice","planPricePerYear","unlockThisFeature","premiumPlus","upgradeResultScreen","upgradePlanTitle","upgradePlanFirstMessage","upgradePlanSecondMessage","learnMore","panelTitle","updateFailSub","popupTitle","popupDetail","openSettings","manageSubscription","openAppleManageSubscriptionSettings","applePlanUpgradeDelay","upgradePlanPopup","addOns","drivingTime","mileageCalculator","profitCalculator","tripDescription","paymentDeclinedBanner","fixNow","here","viewDetails","accountExpired","accountExpiringSoon","messageNonAdmin","hardDecline","messageFirstPart","messageIOS","softDecline","generic","unsubscribeBannerMessageLink","unsubscribedMessage","accessUntil","reactivate","businessProfile","lockedCompany","addressTitle","companyPhoneTitle","companyNameTitle","dotNumberTitle","mcNumberTitle","dotBusinessProfileOption","noDot","noInformationAvailable","customProfile","volpeProfile","addExtension","addExtensionText","ext","removeExtension","VerificationViaSMS","fmcsaBanner","contactFMCSA","addOnTitle","dotNumberVerified","verifyDotNumber","verifyYourDotNumber","pleaseEnterDot","sendRequest","phoneListPanelText","phoneListOptionPanelText","verifyThroughMCP","listPanelSelectOption","verificationCodeWillBeSentTo","selectActivationMethod","selectVerificationMethodTitle","enterCode","errorPanel","unableToFindByDot","makeSureDotEntered","resultPanel","successfullyVerified","myCarrierPortal","instructionsSentTo","emailSentOn","instructions","instructions2","verificationInitiated","verificationDescription","verificationdescription2","MCPEmail","permissions","loginSessions","loginSessionsHeader","updatedOn","ipAddress","currentSessionWarning","logoutDialog","deactivateDialog","integratorsHeader","activatedOn","integrationsHeader","snackbarLogoutSuccess","snackbarLogoutFailure","snackbarDeactivationSuccess","snackbarDeactivationFailure","marketRate","marketRates","notAvailableAtThisTime","notAvailableTrailer","notAvailableOutsideUS","byRateCheck","byCargoChief","byGS","cargoChief","popupContent","popupContentBold","popupContent2","estRate","rateEst","perMile","lowEst","highEst","est","greenscreens","valuePerMile","rateNotAvailable","rateNotAvailable_info","popupContentDetails","popupContentDetailsIOSUser","ratesAccess","content1","content2","content3","content3IOSUsers","currentLocationError","marketRankings","belowAverage","aboveAverage","ratings","notRated","basedOnReviews","basedOnReview","safetyRating","carrierOperation","poweredBy","popupInfo","moreInfo","ratingsPoweredBy","newToCarrierSource","signUpContent","signUpButton","upMyScore","createTrackAction","trackingClient","commonTrackingData","trackingData","trackingDataWithDeviceInfo","tag","subscription","subscribe","unsubscribe","createVhubBookingTrackData","vendorName","EXPIRATION_TIMES","getExpirationTime","getDurationInSeconds","useCountdown","remainingTime","setRemainingTime","systemTimeOffset","calculateRemainingTime","onComplete","remaining","noop","setInterval","clearInterval","getReturnValues","countDown","durationType","asSeconds","getTotalCostPerDay","getProfitPerDay","totalProfit","getProfitPercentage","calculateWorkDays","workingHours","driveTimeInHours","quotient","remainder","ceil","formatDay","DEFAULT_SPEED","getDriveTime","driveTimeFromLoad","mileageFromLoad","mileageFromUserInput","DependencyContext","useContext","getFuelCosts","costPerGallon","costPerGallonDiscount","isFuelDiscountChecked","getAdditionalCosts","dispatchFee","otherFee","isDispatchFeeFlatAmount","updatedDispatchFee","getProfitPerMile","getTotalProfit","fuelCosts","additionalCosts","DefaultEncoder","getVocabulary","convertObjectRequestToUrlParams","object","allowDots","encoder","defaultEncoder","charset","convertUrlParamsToObjectRequest","urlParams","invertedVocabulary","invert","ignoreQueryPrefix","arrayLimit","decoder","searchKeyInVocabulary","vocabulary","partial","convertKeys","keyMap","part","String","leftBracketPosition","useDidUpdate","effect","deps","hasMount","init","deinit","instanceRef","useRefFn","currentFactory","prevInstance","instance","useForceUpdate","updateState","useInterval","delay","savedCallback","useMount","onMount","SENTINEL","useUnmount","onUnmount","isParseableObject","isPlainObject","createObjectParser","parser","createArrayParser","typeParser","isArray","numberOfEntries","parsedEntries","parsedValues","currentValue","parseString","parseStringArray","parseNumber","bounds","parsedNumber","parseBoolean","parseValueIncludedIn","chosenValue","collectionValue","chosenValues","pickDefinedProperties","obj","param","StyledBackDrop","Color","Backdrop","backdropLayer","usePanelTrackingBackdropLayer","style","zIndex","NewBadgeContainer","BadgeLabel","FontSize","NewBadge","className","RatingTextSmall","FontFamily","RatingContainer","RatingBadge","rating","Tooltip","placement","src","RatingIcon","Text","paddingLeft","display","textStyle","TextStyle","RatingBadgeSmall","RatingIconSmall","Icon","ElementSize","VerificationBadge","isVerified","onRedirect","closingPopup","usePopup","ActionIcon","VerifiedBadgeIcon","NotVerifiedBadgeIcon","alt","VerificationInfoBadge","BannerType","backgroundColorForBannerType","bannerType","underlineColorForBannerType","FlexContainer","withTheme","isFromBookNow","InformationContainer","Title","FontWeight","Content","Underline","iconForBannerType","ErrorBlockSVG","WarningIcon","SuccessIcon","OnboardingSVG","InfoSVG","Banner","_props_isBookNowBanner","isBookNowBanner","noIcon","Spacing","RightButton","ConversationContactNotVerified","isCurrentUserUnverified","isOtherUserUnverified","useUserVerificationStatus","marginRight","flexDirection","VerifyDotContent","VerifyDotBanner","Button","MaterialButton","StyledProgress","CircularProgress","palette","primary","contrastText","ThemedButton","PrimaryButton","primaryButton","normalBackground","hoverBackground","pressedBackground","main","dark","SecondaryButton","secondaryButton","border","borderHover","borderPressed","PrimaryHeaderButton","primaryHeaderButton","SecondaryHeaderButton","secondaryHeaderButton","UnlockButton","unlockButton","TextOnlyButton","ButtonTypes","CustomButton","renderButtonInside","buttonProps","onButtonClick","href","target","fullWidth","lastIndexOf","externalLink","component","Link","buttonType","FabType","StyledFab","HangingFab","FloatingActionButton","fabType","isHanging","variant","innerRef","standardButtonProps","Fab","MuiButtonVariant","getFabIcon","AddIcon","MaterialTextButton","TextButton","disableRipple","HiddenFileUploadBtn","UploadFileButton","inputRef","acceptString","click","onChange","files","verifyFormat","validateFileSize","handleFileInvalid","ButtonWrapper","StyledButton","ClearButton","onClear","ContactsButton","MainButton","isFullSize","Label","FilterButton","FilterSVG","IconActionButton","Component","controlIcon","mainIcon","onControlClick","StyledActionButtonWrapper","StyledIcon","StyledContent","StyledControl","handleControlClick","stopPropagation","LinkButton","tabIndex","GreenButton","isWithTitle","IconContainer","regular","iconAccessory","WidgetButton","UnreadCounter","NotificationCount","opened","hasNotifications","isMessageWidget","ContainerButton","IconButton","MoreMenuButton","forwardRef","MoreMenuSVG","ButtonVariant","MultipurposeButton","spinnerSize","iconStyle","StyledImg","background","smoke","white","subtitleRegular","fontFamily","ShadowContainer","BorderRadius","ButtonContent","Touchable","ButtonTitle","NewLoadsButton","arrow","isUp","TopButtonElement","VerticalContainer","FontLineHeight","TopButton","ArrowUpSVG","PickerType","MAX_SELECTION_COUNT","Calendar","maxCount","selectedItems","numberOfMonthsDisplayed","StatesCalendar","CalendarGroup","monthsArr","newDate","DatesCalendar","handleRemove","removeSelectedClick","handleSelect","addSelectedClick","StyledPickerWrapper","StyledPickerTitle","subtitleBold","lineHeight","MediaQueries","StyledPicker","black","subtitle2Bold","StyledStatePicker","StyledSelectedPicker","StyledStateSelectedPicker","StyledDaysContainer","StyledDisabledPicker","stone","StyledEmptyPicker","StyledCurrentDayPicker","getAllDaysInMonth","setState","focusedDate","componentDidUpdate","element","querySelector","focus","renderCorrectPickers","handleKeyDown","keyCode","focusedElement","getAttribute","selectedDates","allDays","weekLength","j","onKeyDown","daysInMonth","monthDate","times","StatePicker","selectedStates","setSelectedStates","newSelectedStates","BackhaulCard","destinationFrom","destinationTo","MainContainerWithActiveUnsave","WrapperDestination","DestinationWithRadius","styleText","WrapperIconSearch","Backhauls","isClickable","showIcon","handleActiveSearch","BackhaulsCard","isPostedLoad","MainContainerBackhauls","WrapperIcon","WrapperTextDestination","DestinationContainer","WrapperFilters","css","ActiveText","CustomChips","Chip","TextEnd","Filters","TextDestination","ActiveCard","ChipFilter","DestinationText","MainContainer","SmallMainContainer","activeCardCss","MainContainerWithActive","activeSearch","idSearch","MainContainerPostTruck","radiusFrom","radiusTo","originDescription","destinationDescription","alignItems","renderDestination","marginTop","OrangeCircleChip","LocationContainer","LocationColumn","MeasuresText","NameText","ChipLetter","MyTruckCard","onEdit","isSelect","onSelect","weightLength","displayWeight","displayLength","menuAnchor","setMenuAnchor","onClickCard","paddingBottom","cursor","justifySelf","alignSelf","currentTarget","MoreVert","DropdownMenu","anchor","onClose","getMenuOptions","MenuItem","ListItemText","DistanceText","LocationText","CardHeader","CardFooter","MeasurementsContainer","DatesContainer","TruckPostCard","_props_availability_originLocation","_props_availability_destinationLocations_","openSearchResultPanel","useOpenSearchResultPanel","originLocationText","destinationLocationText","renderDistanceText","wordBreak","flex","Status","margin","marginLeft","_props_truck_equipmentType","Spacer","CardFooterInformation","showDates","getFormattedDates","DateChip","_material_axis","_material_axis_style","_material_axis_style1","_material_line","_material_line_style","material","VictoryTheme","COLOR_SCALE_PROPS","colorScale","chart","axis","ticks","stroke","strokeWidth","grid","line","BaseChart","_chartProps_style","legend","keyProp","chartProps","chartStyle","minWidth","userSelect","touchAction","VictoryChart","BaseRedLine","x1","x2","EmptyLabelComponent","setLinePosition","PointWithInitialPosition","currentMonthIndex","Point","renderGraphLine","setInitialLinePosition","VictoryGroup","VictoryLine","animate","VictoryScatter","dataComponent","renderLoadingOrNoDataLabels","shouldShowLabels","labelFontSize","VictoryLabel","textAnchor","fill","useBaseRedLinePositionOnClick","onActivated","linePosition","linePositionAfterClick","setLinePositionAfterClick","setPoints","presetPosition","position","victoryEvents","eventHandlers","commonLabelProps","backgroundStyle","renderInPortal","backgroundPadding","dx","renderBoxPlot","boxPlotData","medianData","VictoryBoxPlot","whiskerWidth","boxWidth","minLabels","maxLabels","medianLabels","labelOrientation","maxLabelComponent","dy","_rate_datum","_rate_datum1","labelValue","datum","_median","medianLabelComponent","minLabelComponent","_min","median","ChipTypes","ActionChip","StyledActionChipLight","StyledActionChipGreen","ItemsContainer","CloseIconButton","CancelableChip","_props_customIcon","_props_range","_props_unit","_props_customIcon1","itemsLabel","deleteIcon","customIcon","CancelSVG","onDelete","onCancel","CHIP_ITEM_HEIGHT","ChipWithoutPadding","withStyles","StyledTextChip","light","StyledTextChipWithoutPadding","StyledDateChip","clickable","StyledTimeChip","StyledChoiceChipsWrapper","StyledChoiceChip","backgroundColor","ChoiceChips","isRadioChip","handleChange","setPosition","handleChipClick","Radio","isChecked","TextChip","TextChipWithoutPadding","TimeChip","CallButton","phoneNumberValue","analyticsActionSuffix","onPhoneClick","GA","TrackingCategory","MC","DOT","hrefURLFormatter","rel","PhoneNumber","noWrap","wrap","TextDisplay","phoneNumberString","getExtension","extraText","onShowCarrierContact","defaultProps","UpgradeLink","phoneTextStyle","isLarge","linkLabel","MenuItemContainer","isSmallPadding","MenuOptionTitle","Options","ActionsMenu","actionWrapper","MenuOptionWithIcon","Checkbox","indeterminate","labelStyle","containerStyle","checkboxStyle","labelStylesIfLabelIsNotAfter","labelPosition","justifyContent","labelStyles","e","preventDefault","autoFocus","StyledLabelAfter","paddingTop","spanStyle","StyledCheckbox","checked","checkboxTabIndex","CheckboxLongLabel","StyledLongLabel","inLine","StyledLabel","p","StyledRadio","Switch","StyledFormControl","FormControl","secondary","StyledFormLabel","FormLabel","others","htmlFor","RadioGroup","setRadioButtons","ConversationAttachments","isDownloading","setIsDownloading","docName","setDocName","setDocId","setDocument","_props_messageId","truncateAttachmentName","hasMessage","MessageBubbleDivider","AttachmentsWrapper","isFromCurrentUser","hasText","AttachmentsContainerTitle","displayListOfAttachments","attachmentLink","attachments","attachment","marginBottom","AttachmentLinkButton","AttachmentsSeparator","ImageViewer","UserAvatarViewer","ConversationUserBubble","pushUserContactPanel","usePatchedPushPanel","userAvatar","_state_avatar_companiesProfileAvatarMap_get","_props_userID","onClickAvatar","InitialsBubble","AvatarTextWrapper","initials","MessageBubble","isMessageRead","setIsMessageRead","displayTime","setDisplayTime","readAtTime","MessageContainer","OtherMessageContainer","textColor","nameBubble","isLastOfGroup","UserMessageContainer","ConversationDate","MessageWrapper","MessageAndTimeContainer","isFirstOfGroup","Linkify","ReadAndSentTime","ReadAndSentTimeText","DateContainer","ConversationDateText","IconAndTimeContainer","MessageReadContainer","BaseMessageButtonContainer","BaseWidgetMessageButtonContainer","OtherUserWidgetBubble","CurrentUserWidgetBubble","WidgetMessageBubble","WidgetComponent","_props_user","WidgetBubble","WidgetContent","otherPartyUserID","GenericWidget","OPEN_MENU_PARAM","ChatFooterSection","ChatFooter","urlSearchParams","URL","searchParams","shouldStartWithAttachmentsMenuOpen","isAttachmentsMenuOpen","setIsAttachmentsMenuOpen","shouldOpenMyDocuments","setShouldOpenMyDocuments","shouldAddDocuments","setShouldAddDocuments","myDocumentsSearchParams","myDocumentsEncoder","handleAttachmentMenu","isMenuOpen","_state_communication_conversations_get_metadata","openDocumentsWithFolder","useOpenDocumentWithFolder","folderIdentifier","isCreateFolderLoading","wasFolderCreated","_state_documents_folders_createFolderUpdate_response","hadErrorOnCreateFolder","pushAddNewDocumentsPanel","redirectCommunicationPath","redirectLoadDetailsSearch","openAddNewDocument","openMyDocuments","MyDocumentsIcon","AddNewDocumentIcon","FixedFooter","AttachmentsBottomMenu","menuTitle","menuOptions","FooterSection","SendAttachment","ChatTextField","isOtherUserOnline","setIsDisabled","setText","isKeyboardOpen","useIsKeyboardOpen","isMobile","useIsMobileView","_state_communication_conversationMessages_get","_inputRef_current","showSnackbar","sendUserMessage","eventName","deviceID","isEnterKeyPressed","shiftKey","handleKeyPress","blur","TextField","isConversation","isWithoutMargin","isVariableHeight","multiline","rowsMax","autoComplete","inputProps","minHeight","endAdornmentIcon","LoadingSpinner","SendIconOn","SendIcon","onEndAdormentPress","AttachmentButton","AttachIcon","AttachIconSelected","paddingRight","WidgetMessageContainer","ActionButton","WidgetText","TextSpacer","ImageTextHeader","WidgetIconBubble","_props_widget","_props_widget1","iconUrl","WidgetActionButton","widgetAction","ShareOneTimeLocationActionButton","ViewBidActionButton","otherPartyUserId","HyperLinkButton","isBrokerCarrier","userCompanyId","companyId","loadPosterId","_state_communication_conversations_get_metadata_load_poster","isUserPosterOfLoad","BIDS_SUMMARY_PANEL_PATH","setMenuLayout","UIMenuLayout","bidID","offerID","BidsOriginUI","tab","BidsTabs","bidsEncoder","popupContext","currentUserID","shareCurrentLocation","createPopupConfirmLocationShareButton","dismissDialog","PopupLabelButton","getGeolocation","onDenied","showLocationDeniedDialog","onUnavailable","showLocationUnavailableDialog","onTimeout","showLocationTimeoutDialog","openingPopup","BasePopup","PopupSizes","isDismissible","hasCloseButton","CountryRadioGroup","StyledWrapper","lowerCase","StyledList","pale","DropdownDiv","SimpebarWrapper","SimpleBar","MinHeightForDropdownList","isLoadPostingForm","DropdownList","isFocused","setIsFocused","canErase","Downshift","onSelectionChange","itemToString","valueForItem","onOuterClick","defaultHighlightedIndex","inputValue","onInputValueChange","stateReducer","shouldAvoidDownshiftStateResetOnBlur","changes","getInputProps","getItemProps","getMenuProps","highlightedIndex","selectedItem","closeMenu","openMenu","onFocus","onBlur","ev","highlightedItem","autoTextSelectionOnFocus","helperText","focusOnLoad","withCustomScroll","refKey","renderItems","itemProps","LocationDropdownList","hadInitialValue","setHadInitialValue","useSuggestions","shouldIncludeStates","initialValue","locationItems","convertLocToListItems","shouldDisplayError","_locationState_matches_suggestions","_locationState_isLoading","prevValue","usePrevious","isValueChangedAndNotInitial","_location_label","_location_label1","AccordionInfoStatus","SubtitleAndIcons","TabSpace","ExpansionPanel","withPopups","_props_headerBackground","_props_titleElement","_props_subtitleElement","containerRef_","containerRef","openUnlockPopup","useUnlockFeaturePopup","scrollContainer","getScrollParent","scrollToView","useScrollToView","panelIcon","panelIconId","blockedUser","headerBackgroundColor","headerBackground","PanelDetailsWithChildren","hasCustomizedBackground","PanelDetailsTransparentNoMargin","PanelDetails","PanelWrapper","expanded","PanelTitle","centerAlignItems","centerAlignTitleItems","panelTitleStyle","borderBottom","hasCustomizedBorder","errorBorder","defaultBorder","TitleContainer","titleText","isTextSizeBig","titleElement","LockIcon","subtitleText","subtitleElement","Subtitle","fontStyle","renderSubtitle","subtitleToDisplay","customOfflineText","subtitleBulletPointsText","subtitleSecondLineText","subtitleThirdLineText","renderTitleFavIcon","shouldHideRightButton","rightElement","unlockFeaturePopupType","rightButtonProps","PanelWrapperTransparent","ExpansionPanelSummary","PanelTitleTransparent","ExpansionPanelDetails","PanelDetailsTransparent","isFullWidth","defaultExpanded","SideMenuExpansionPanel","ArrowUp","ArrowDown","isMenuFullWidth","ComingSoonContent","ComingSoonContentLine","ComingSoon","NotFoundPanel","imageSection","notFoundSVG","controlSection","FeedButtonsHolder","withRouter","mappingFile","feedState","csvData","useCsv","setSelectedFeedSection","fetchMappingFile","getFeedMappingDataForUrl","videoTabSourceRoute","fetchVideoList","clearVideos","FeedPopupButtons","colorType","ColorType","isWithBorder","isWithButtonsAnimation","csvRows","urlWithoutDoubleSlash","exactMatch","findExactRouteMatch","getFeedMappingDataFromFeedMappingRow","mostSuitableRule","findMostSuitableRule","findWildcardRulesMatching","row","page_url_pattern","isWildcardRule","isWildcardRuleMatchingUrl","wildcardRule","picomatch","matchedWildcardRules","urlChunks","matchedPositions","rule","getUpperChunkPosition","indicesOfMostSuitableRules","rulePositions","mostSuitableRules","ruleWithSingleWildcard","endsWith","ruleWithDoubleWildcard","chunks","ruleUrlChunks","chunk","chunkPosition","isButtonEnabled","buttonFlagString","embed_video_page_url","helpTabSourceRoute","embed_help_page_url","carrierPromotionSourceRoute","carrier_promotion_content_url","brokerPromotionSourceRoute","broker_promotion_content_url","isFeedButtonEnabled","isVideoButtonEnabled","isHelpButtonEnabled","MOBILE_MENU_TRANSITION_TIMING_FUNC","VIDEO_BASE_PATH","FEED_POPUP_ZINDEX","MobileDrawerBaseDiv","getPopupWidth","MobilePopupHeader","FEED_POPUP_HEADER_ZINDEX","MobilePopupContent","PopupContent","isMobileView","selectedFeedSection","PageScroll","FeedPopupContent","isWindowScrollMode","useIsWindowScrollMode","simpleBarRef","setWidth","isPopupOpened","shouldRemovePopupTitle","ReactResizeDetector","handleWidth","onResize","newWidth","screenWidth","MenuSimpleBar","FeedSection","Feed","Videos","feed","shouldAppendFeedLinks","isPathSetToAbsolute","setIsPathSetToAbsolute","fetchFeed","useLayoutEffect","changeRelativePathsToAbsolute","useLinksAppending","appendFeedLinks","innerFeed","innerHTML","dangerouslySetInnerHTML","__html","videos","video","shouldAppendVideoLinks","appendVideoLinks","innerVideos","FeedControllerHeader","FeedControllerButtons","show","keyframes","FeedSectionButton","getButtonsAnimation","FeedSectionTitle","TitleText","Delayed","shouldDisplay","setShouldDisplay","timeoutid","getTextColor","selectedSection","getSectionIcon","LightIcon","DarkIcon","SelectedIcon","getFeedPopupTitle","feedSection","shouldShowFeedButton","isMappingFileFetched","buttonDataFromMapping","isCurrentlyDisplayed","isWithAnimation","isFeedButtonDisplayed","setIsFeedButtonDisplayed","isVideoButtonDisplayed","setIsVideoButtonDisplayed","isHelpButtonDisplayed","setIsHelpButtonDisplayed","isSmallerThanMediumDesktop","useIsSmallerThanMediumDesktopView","shouldHideButtonLabels","useWindowWidth","Width","isDashboardAndMobileView","selectFeedSection","mappingData","CloseIcon","isButtonOpened","FeedIcon","FeedIconDark","FeedIconSelected","YoutubeIcon","_mappingData_helpTabSourceRoute","LINK_FAQ_PAGE","HelpIcon","HelpIconDark","HelpIconSelected","ApplyButton","ApplyButtonFooter","isHighest","useBackPanelContext","handleEnterButtonClick","shouldSubmitOnEnter","PanelFooter","createDocumentFragmentHolder","fragment","createDocumentFragment","divElem","createElement","appendChild","divElement","useFragmentHolder","FragmentPortalDestination","fragmentHolder","isInstalled","isFragmentInDOM","removeChild","childElementCount","FragmentPortalOrigin","createPortal","StyledBanner","bannerColor","BannerText","BannerActionLink","linkColor","generateBannerStyle","severity","BillingIssueBanner","billingErrorSeverity","hasMembershipUpgradeAuthority","isCancellingMembership","_state_userPlan_membershipData","userPlan","formattedExpirationDate","bannerStyle","useIsAccountExpired","useBillingIssueTrackingData","ChildContainer","paddingSize","GlobalBanner","bannerHeight","setBannerHeight","useTrackResizingHeight","shouldDisplayHeader","useShouldDisplayHeader","membershipStatus","shouldUserChangeMembershipPlan","isAccountSetupRequiredForMembershipStatus","BANNER_ZINDEX","handleHeight","ActionIconButton","ImageBase64","image","CheckboxState","CustomCheckbox","checkedState","getCheckedValue","getIndeterminate","UncheckedChip","chipButton","CheckedChip","pressedText","CheckboxChip","otherChipProps","StyledChip","getIcon","Avatar","DoneIcon","StyledSelect","Select","StyledDropdownIcon","ExpandIcon","StyledMenuItem","ThemelessBorderedSelect","Fieldset","alignVertical","disableUnderline","IconComponent","mapSelectOptions","BorderedSelect","inputField","disabledBackground","hover","ReadOnlyStyledFormControl","SelectContainer","SelectLabel","isLabelShrinked","inputFieldLabel","inputFieldValue","disabledUnderline","ReadOnlyStyledSelect","ThemelessCustomSelect","shrinkLabel","CustomStyledSelect","readOnly","CustomStyledFormControl","growLabel","getInput","Input","CustomSelect","StyledFieldset","StyledLegend","ConversationTextField","fullHeight","noMargin","textField","lightBackground","normalLabel","textInput","borderColor","_props_InputLabelProps","InputLabelProps","shrink","dense","getInputLabelColor","normalText","isErrorMessageMultiline","DEFAULT_TEXT_FIELD_TYPE","PASSWORD_TEXT_FIELD_TYPE","StartAdornment","InputAdornment","StartAdornmentIcon","DoneInputAdornment","ErrorInputAdornment","ShowPasswordAdornment","ClearTextAdornment","ShowPasswordButton","LoadingInputArdornment","CharacterCounterPanel","CharacterCounter","CustomTextField","prevState","shrinkOnEmpty","isValueEmpty","startAdornmentIcon","displayCharacterCounter","textFieldProps","CustomStyledTextField","MarginlessStyledTextField","StartAdornmentIconTextField","StyledTextfield","customStyledTextField","focused","getTextFieldType","InputProps","endAdornment","getInputAdornment","startAdornment","getStartAdornment","hotjarWhitelist","isShowingPassword","previousElementSibling","errorClick","toggleShowPassword","isPasswordField","shouldShowErrorAdornment","ErrorIcon","Delay","wait","isXVisible","onMouseDown","startAdornmentText","shouldFireClickActionWithEnterOrSpace","isEnterOrSpaceKeyPressed","_this_props","MultiLineTextField","MultilineTextField","ValidatedTextInput","validateValue","prevProps","isValidatedWhenEmpty","isInitialError","isValidatedOnChange","externalValidationResult","_this_props_inputProps","shouldIgnoreValidation","isFieldInvalid","rows","initialErrorMessage","performValidation","onChangeWithValidation","isTextValid","FValidatedTextInput","_textFieldProps_inputProps","setIsValid","setError","useImperativeHandle","resetValidation","lazy","importComponent","LazyComponent","lazyComponent","console","ComponentNotFound","GenericError","subMessage","imageSrc","NotFoundImg","linkTitle","reloadWindow","reload","BulletType","bulletType","CustomList","CustomListItem","getFontWeight","getCardBackground","isDeadhead","dim","paper","CardWrapper","shouldRemoveBottomShadow","Card","isCompact","shouldHaveBottomBorder","decorator","border2","accent","Additional","Miles","CardContent","Day","DateGray","Location","CardChipsWrapper","LeftContainer","ChipsContainer","Loader","LoaderSize","LoadingSpinnerOverlayContainer","LoadingSpinnerSmallPanelContainer","LoadingSpinnerOverlay","DetailsSpacer","spacerHeight","px","Circle","_props_offsetTop","offsetTop","Square","Dots","LocationsSpacer","startPositionRef","endPositionRef","stopsPositionRef","getStopCircleOffsetTop","stopElement","getBoundingClientRect","getTitlesGap","stopRef","AuthenticatedInitialLoading","isUserIdle","userActivity","useUserActivity","useOpenedTabsControl","useGetDefaultLoadboard","onPageVisibilityStateChange","setPageHidden","useUpdateSearchFormData","isIdle","onUserInactive","setUserIdle","userActivityManager","useUserActivityManager","setUserActivityInterval","pauseUserActivityInterval","useAppIdle","setLastActivityStamp","reverseGeolocation","isPrefilled","loadSearchForm","_state_loadSearch_selectedSearch","getOriginLocation","updateSearchFormData","updateLocation","getOriginFromReverseGeolocation","getOriginFromHomeLocation","_getOriginFromReverseGeolocation","DESKTOP_BORDER_WIDTH","FRAME_ZINDEX","MENU_TOP_BAR_ZINDEX","BORDER_RADIUS_XTRA","BORDER_RADIUS","TopBar","MENU_HEADER_HEIGHT","ThinRightBorder","TopLeftCornerSvg","TopRightCornerSvg","DesktopThinBlackFrame","stdDeviation","floodColor","floodOpacity","d","useSetGoogleAnalyticsUser","isNotPublicPage","ContainerForNestedDivScrollViews","displayHeader","sideMenuWidth","useSideMenuWidth","useSetupBodyFixedForScrolling","extraHeaderHeight","setExtraHeaderHeight","headerHeight","setHeaderHeight","mainContentMarginRight","horizontalSizeStyles","transition","DESKTOP_MENU_TRANSITION_TIMINGFUNC","DESKTOP_MENU_TRANSITION_MS","mobileMenuGrayLayout","MobileMenuGrayLayout","HeaderHeight","FixedAreaRenderProvider","Menus","WindowScrollView","BlockHeaderPortalDestination","includesCollapsible","overflow","MobileTopBar","MINIMUM_SCREEN_WIDTH","MobileDrawerHeaderDiv","MOBILE_MENU_ZINDEX","MobileDrawerOverscrollBackground","MobileDrawerContentDiv","isWindowScrollingDrawer","fakeScrollTop","MobileMenuBackdrop","Opacity","isMenuOpened","applicationSettings","menuOpen","MobileDrawerHeader","MobileDrawerContent","setWindowScrollingDrawer","setFakeScrollTop","pageYOffset","scroll","Bar","logoSize","getHeaderLogoSize","SideMenuIconButton","IconMenu","MENU_ICON_SIZE","AppLogoContainer","AppLogo","isInHeader","NotificationDot","useHasNotifications","navGroups","useNavGroups","doesExistNewItems","navGroup","isNewOrUpdated","hasUnreadBids","_store_user_userAlerts_payload_alertsInfo_alertMatchesCount","_store_user_userAlerts_payload_messagesInfo_unreadMessagesCount","_store_communication_unreadMessagesCount","alertsInfo","alertMatchesCount","useIsSinglePageScroll","isFloatingScrollbars","useIsBrowserWithFloatingScrollbars","isSinglePageScroll","useLocation","matchedPlainRoute","PlainRoutes","plainRoute","RegisterLeafletALKMaps","L","ALKMapsLayerComponent","GridLayer","createLeafletElement","mapLayer","LeafletALKMaps","Layer","baseMap","region","baseGetTileUrl","getTileUrl","coords","call","_url","getUrl","createTile","tile","crossOrigin","setAttribute","doFetchImage","DomEvent","Util","_tileOnLoad","_tileOnError","noAuthentication","refreshTokenIfNeeded$","err","ALKMapsLayer","withLeaflet","DEFAULT_CENTER","latLng","MAX_BOUNDS","StyledMap","GestureHandlingMap","flexGrow","BaseMapComponent","requestAnimationFrame","_this_baseMap","_this_baseMap1","leafletElement","invalidateSize","getBounds","fitPath","fitBounds","gestureHandlingEnabled","mapCenter","getCenter","radiusCenter","getRadiusCenter","stopCoordinates","renderStopsMarker","onclick","onmoveend","zoom","renderZoom","toBounds","pad","maxBounds","getMaxBounds","maxZoom","scrollWheelZoom","touchZoom","zoomSnap","renderTileLayer","useOpenStreetMap","renderRadius","renderPath","pathTooltip","getStopsMarker","TileLayer","ShadowRadius","coordinates","point","pathID","Polyline","positions","SimpleTooltip","stopPath","verifyPath","latLngBounds","defaulCenter","iconCircle","stopNumber","lastIndex","MarkerIcon","iconAnchor","iconSize","MarkerIconGreen","divIcon","html","marker","Marker","BaseMap","withResizeDetectorAndRef","CustomMarkerClusterGroupComponent","MarkerClusterGroup","clusterGroupRef","onClusterClick","zoomToBoundsOnClick","spiderfyOnMaxZoom","cluster","layer","spiderfy","CustomMarkerClusterGroup","viewBox","gestureHandling","enable","arguments","disable","TransitionSpeed","LegendContainer","LegendContentContainer","breakpoints","md","LegendIcon","LegendList","collapsed","sm","LegendListItem","LegendItemIcon","LegendExpandIconButton","StyledLink","LegendWarning","Warning","MapLegend","handleToggleExpanded","getLegendIcon","Collapse","in","collapsedHeight","getLegendContent","shouldDisplayWarning","warningMessage","mapItemsToLegendItemComponents","ShrinkIcon","ITEM_ID_PREFIX","onLinkClick","MarkerWithDataComponent","MapLayer","LeafletMarker","getOptions","contextValue","leaflet","popupContainer","extraData","updateLeafletElement","fromProps","toProps","setLatLng","setIcon","zIndexOffset","setZIndexOffset","opacity","setOpacity","draggable","dragging","__parent","_group","refreshClusters","LeafletProvider","MarkerWithData","ShadowRadiusLeafletLayer","initialize","setCenter","setRadius","_latlng","_radiusMeters","onAdd","pane","getPane","_map_ref","_container","_circleElem","redraw","zoomAnimation","_animateZoom","onRemove","_mapPane","scale","getZoomScale","_latLngToNewLayerPoint","_map","PI","latR","project","divideBy","lat2","unproject","lngR","acos","cos","sin","_point","getPixelOrigin","_radius","_radiusY","_lastmapcenter","_lastmapzoom","getZoom","ShadowRadiusComponent","shadowRadiusLeafletLayer","propTypes","StyledTooltip","ContentDiv","withLeafletOri","ALKMaps","VERSION_NUMBER","singleFile","_getScriptLocation","ImgPath","protocol","toUpperCase","RestServiceURL","MapTileServiceURLForLeaflet","ContentServiceURL","ContentServiceURL_POC","ContentServiceURL_JSON","RailServiceURL","MapServiceURL","SatImgContentServiceURL","TrafficImgContentServiceURL","SingleSearchURL","WeatherImgContentServiceURL","isTouch","preventWindowPanning","RouteServiceURL","GeocodeServiceURL","ReportServiceURL","STYLE","DEFAULT","CLASSIC","MONOCHROME","ROADATLAS","CONTEMPORARY","NIGHT","SATELLITE","LIGHTNESS","SMOOTH","TERRAIN","validate","f","Loading","IsInitMap","InitDate","VERSION","LVERSION","MapTileServiceURL","Services","Control","ATTRIBUTION","setApiKey","APIKey","alk","extend","Event","hasOwnProperty","makeInitOnceGetter","getParameterString","g","h","encodeURIComponent","getImageLocation","getImagesLocation","getApiKey","showLoading","hideLoading","showMapLoadingIcon","prototype","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","Copyright","navigator","userAgent","CopyrightWithoutHyperlink","Tile","projection","CRS","EPSG900913","attribution","attrPosition","attrUseHyperlink","attrVisible","minZoom","isBaseLayer","imgoption","subdomains","_onLoadStart","_onLoadEnd","attributionControl","setPrefix","getYear","getAttribution","CLASS_NAME","addAttribution","setUrl","transparentOverlayLayer","cloneOverlayLayer","addLayer","_onBaseLayerChange","imgOption","removeAttribution","removeLayer","setStyle","setRegion","setDataset","INIT","AUTHTOKEN","srs","setZIndex","global","exports1","touch","scrollMac","mergeOptions","gestureHandlingOptions","draggingMap","GestureHandling","Handler","addHooks","_handleTouch","bind","_setupPluginOptions","_setLanguageContent","_disableInteractions","passive","supportsPassive","opts","defineProperty","_handleKeyDown","_handleKeyUp","_handleScroll","_handleMouseOver","_handleMouseOut","_handleDragging","removeHooks","_enableInteractions","tap","gestureHandlingText","languageContent","mac","platform","scrollContent","_getUserLanguage","languages","language","userLanguage","ignoreList","ignoreElement","classList","contains","hasParent","parentSelector","potentialParents","querySelectorAll","touches","_isScrolling","which","metaKey","ctrlKey","warnings","getElementsByClassName","addInitHook","exports","AlertsIconBadgeWrapper","AlertsIconBadgeLink","AlertsIconBadge","isAlertsSoundOn","isWidthLargeEnoughForExpandedMenu","SoundOnIcon","SoundOffIcon","AppLogoImg","AppLogoHeight","AppLogoHeaderWidth","AppLogoWidth","logo","ContentSize","DesktopMenuDiv","MENU_ZINDEX","useAutomaticOpenCloseMenuOnResize","MenuHeader","SideMenuContent","lastChosenView","viewChoices","selectedViewOption","selectedView","useOnWindowResize","onBackdropClick","Menu","getContentAnchorEl","anchorOrigin","vertical","horizontal","transformOrigin","anchorEl","keepMounted","disableAutoFocusItem","PaperProps","boxShadow","DropdownMenuSelect","NavLinkRow","LinkWithNotification","MenuNavLink","exact","SvgContainer","MenuLabel","BadgeOverlay","MenuItemNewBadge","NavLinkLabel","getComplexLogoButton","logoSrc","FooterIconLink","FooterLogo","SocialMediaIcons","socialMediaItems","FacebookIcon","InstagramIcon","LinkedinIcon","TwitterIcon","socialMediaIcons","socialMediaItem","IconsContainer","MenuFooter","membersInfo","isIntegrator","Footer","FooterLogoContainer","AppStoreIcon","PlayStoreIcon","TERMS_OF_SERVICE_LINK","PRIVACY_POLICY_LINK","CopyrightText","HOME_PAGE_LINK","VersionFooter","StyledIconMenu","Header","toggleMenu","LoadingContainer","NavItemsContainer","MenuNav","MenuSection","sideMenuCollapsedSections","hasNotification","toggleSection","toggleSideMenuSection","NavItems","navItem","isExternalLink","OldLink","NavLabel","additionalLinksToMatch","MenuPreferenceWrapper","MenuIcon","ExpandMoreIcon","MenuIconSmall","MenuPreferenceSelect","toggleMenuLayout","itemClicked","menuLayout","goDashboardIfNotAlreadyThere","onSelectMenuItem","menuItem","PrefLabel","getPrefLabel","Row","MenuUserProfile","planDisplayName","verifyPhone","isSoundNotificationTurnedOn","isUsdotNumberVerified","companyUsDotNumber","_state_companyState_company","companyState","isReady","_state_user_profile","currentUsDot","setCurrentUsDot","pushUserProfilePanel","usePushPanel","pushBusinessProfilePanel","isDisplayingToggle","isPrimaryPhoneVerified","userRole","onAvatarClick","openUserProfilePanel","openUserProfilePanelWithVerification","subroutes","FORCE_VERIFICATION_URL_QUERY","openBusinessProfile","pathParam","openBusinessProfilePanelWithVerification","UserProfile","UserAvatar","UserAvatarContainer","AvatarIcon","UserInfoText","UserName","UserContact","NavLink","tooltip","RouterNavLink","useBrokerMenu","isMenuExpanded","isVendorBidsListEnabled","useIsVendorBidsListEnabled","inboxNotificationCount","_state_user_userAlerts_payload","loadAlertsCount","isCommunicationEnabled","isCapacityFinderEnabled","bidsUnviewedCountBroker","isInternalTruckLocatorEnabled","underDevelopment","MembersUnderDevelopmentFlag","createBrokerNavGroup","useCarrierMenu","_state_user_userAlerts_payload_messagesInfo_unreadMessagesCount","unreadTruckAlertsCount","bidsUnviewedCountCarrier","isTripBuilderEnabled","isLoadPlannerEnabled","createCarrierNavGroup","uiMenuLayout","useSelectBrokerCarrierMenu","carrierMenu","brokerMenu","useIsLoggedIn","loginFailed","connectionError","brokerCarrierMenu","loggedOutNavMenu","closeMenuIfPossible","innerWidth","UserProfileButton","ButtonBase","TextContainerSmall","_props_firstName","_props_lastName","currentAvatar","isFetchingCurrentAvatar","wasAvatarDeleted","commonServices","GetPaidFasterIcon","SaveAtThePumpIcon","RoadsideAssistanceIcon","TruckingAuthorityIcon","SignInIcon","SIGNUP_LINK","RegisterIcon","mainNavGroup","announcementsNotificationCount","communicationsUnreadCount","bidsUnviewedCount","DashboardIcon","AnnouncementsIcon","MessageIcon","BidsIcon","resources","FuelPricesIcon","FmcsaSearchIcon","CreditReportIcon","SearchDirectoryIcon","ReeferRatesIcon","BorderWaitTimesIcon","moreNavGroup","SettingsIcon","LogoutIcon","urlForLoadSearch","SearchIcon","LoadAvailibilityIcon","LoadPlannerIcon","MyLoadsIcon","MyCompaniesIcon","MyTruckPostIcon","RateCheckIcon","ProfitCalculatorIcon","MileageCalculatorIcon","PostIcon","UploadPostsIcon","ExportPostsIcon","truckLocatorType","TruckLocatorRoutes","SearchTrucksIcon","HotLeadsIcon","MyCarriersIcon","TmsIntegrationIcon","HtmlEmbedCodeIcon","PostingAidIcon","BaseText","isConversationList","ComplexIconLink","ComplexLogo","MobileStoreLink","ComplexLogoContainer","appStore_logo","page_Id_Prefix","googlePlay_logo","IconLink","OptionType","multiSelect","BorderWidth","HelperText","FormHelperText","MainIcon","ContentContainer","labelColor","TextArea","MultiSelect","chipForOption","isFixedAlignment","dataSet","whiteSpace","textOverflow","OverflowRenderer","renderItem","control","HiddenRenderableContent","AbsoluteWidthMeasurer","WidthMeasurer","ItemsWidthMeasurer","onMeasure","useItemsWidthMeasurer","defaultWidth","widths","setWidths","onItemMeasured","prevWidths","Counter","customOverflowComponent","customMaxCounterWidth","itemsContainerStyle","itemWidths","renderItemsMeasurement","availableWidth","setAvailableWidth","placeableItems","remainingWidth","isLastItem","_ref_current","updateWidthAsync","clientWidth","updateWidth","timer","RESIZE_REFRESH_RATE","ResizeContext","createContext","useResizeContext","PanelSizeDetector","panelWidth","setPanelWidth","isPanelSingleColumn","PanelWidth","singleDoubleColumnSelect","singleColumn","doubleColumn","BackPanelContext","isBackPanel","DesktopPageWithPanels","showPromotion","totalWidth","setTotalWidth","PanelTrackingProvider","refreshMode","refreshRate","Promotion","PANEL_LIGHT_BACKGROUND","PANEL_SHADOW_BACKGROUND","PanelComponent","PanelAreaScrollView","AreaScrollView","Panel","contentHeightFill","scrollRef","panelRef","minSize","shouldRemoveShadow","useUniqueId","windowScrollViewTracking","usePanelTracking","getPanelLayout","isFunction","childFunction","NonScrollView","ActionSection","_props_theme","actionTextStyle","lightText","Action","HeaderLabel","HeaderLabelWithSub","HeaderSubtitle","HeaderButton","HeaderContent","HeaderBackIcon","hasBackButton","BackIcon","HeaderRefreshIcon","hasRefreshButton","RefreshIcon","ActionBar","isActionLoading","actionElement","actionText","getHeaderLabel","hasSubtitle","PanelHeader","_props_actionTextStyle","handleEscButtonClick","defaultPrevented","shouldCloseOnEsc","headerLabel","headerSubtitle","subheader","useRouteMatch","paramsString","formatURL","usePushPanelWithPathParams","usePanelBackLocation","basePath","baseIndex","usePCMilerPushPanel","specialPathname","nestedPath","baseNestedURL","usePCMilerPanelBackLocation","pathToRemove","pathIndex","PanelSize","PANEL_SIZE","panelTrackingContext","panels","openingPanel","closingPanel","getBackdropLayer","debugId","setPanels","newPanels","panel","panelEntry","OFFSET_FLOATING","BREAKPOINT_SMALL_SMALL_MEDIUM_SPACED","BREAKPOINT_SMALL_SMALL_MEDIUM_TIGHT","BREAKPOINT_SMALL_SMALL_SMALL_SPACED","BREAKPOINT_SMALL_SMALL_SMALL_TIGHT","BREAKPOINT_SMALL_SMALL_SPACED","gutterSize","panelSizeToMaxWidth","fitRemaining","_panelSizeToMaxWidth_size","LinkWrapper","Backhaul","countPossibleLoads","BackhaulsIcon","handleTabClick","ExpansionPanelDataWrapper","shouldDisplayPostTruck","backhaulsPostTruckRow","_this_props_load_id","_this_props_load_id1","backhaul","openBackhaulsPanel","LoadDetailsTabs","onPostClick","PostTruck","bindActionCreators","InfoIcon","CompanyInfo","_poster_name","CompanyIcon","LoadDetailsContainer","isWithoutTopLine","CompanyTextWrapper","LoadDetailsValueRow","renderRight","renderLoadDetailsValueRowTextRight","renderAddress","renderMcNumberLink","renderDOTNumberLink","webSite","renderCompanyWebsiteLink","renderMember","isTia","renderFactorable","openLink","_this_props_poster","TappableTextContent","topLine","bottomLine","TiaIcon","IconThunder","ThunderLogo","_poster_metaData","_poster_metaData1","OnboardIcon","LikeIcon","TextContent","CompanyLoads","companySearchRequest","CompanyLoadsIcon","getExpansionPanelStatus","CompanyLoadsContent","onViewLoadsClick","totalResultsCount","Credit","getDerivedStateFromProps","CreditRatingIcon","renderCreditCompany","creditor","CreditActionButtons","sourceId","posterId","redirectTo","_creditRating_logo","_creditRating_ratingInfo__value","_creditRating_ratingInfo__value1","ratingInfo","CreditRatingData","logoAlt","scoreValue","CreditRating","EmailDialogContent","EmailDialogSubtitle","EmailDialogSubmit","OptionsAndBidSection","OptionsList","Option","DimText","BidTextField","EmailFormPopup","shouldShowOptionsAndBidSection","setBid","getBidAndCommentValue","insertAtCursor","isBidValid","EmailConfirmPopup","textArea","myValue","setTextValue","selectionStart","selectionEnd","valueBeforeCaret","valueAfterCaret","newValue","MoreDetailsWrapper","MoreTitle","DataGrid","Data","NoteData","ContactInfoData","noteRef","Contacts","dispatchName","MoreInfoContactData","MoreInfoContactButtons","isOriginMessaging","isOriginBids","onVhubClick","onInteractiveBidClick","onVendorBidClick","onCallClick","onEmailClick","onBookNowClick","LoadDetailsMoreInfo","_props_loadInfo","_props_loadDetails","_props_customFontSize","_props_loadDetails_poster","formatStringOrDash","isTeamDriven","teamDriving","commodityLabel","qty","numberOfLoads","contactCallbacksProps","customFontSize","notesRef","renderEmailApiErrorPopup","ApiErrorPopup","ContactButton","ContactData","contactOptions","useContactOptions","renderContactOption","BidButton","BookNowButton","EmailButton","MessageButton","VhubBookWithButton","_props_load_vendorInfo","hasBid","_props_load_bookNow","isBookedText","_props_load","isPhoneShown","setIsPhoneShown","renderPhoneNumber","pushCommunicationPanel","TextContentDetailDark","TextContentDetailDarkBold","LoadDocuments","_props_load1","_props_load_metadata_userdata","_myDocumentsSearchParams_context","_folderIdentifier_fileCount","isFromMyLoads","isCurrentLoadCount","setIsCurrentLoadCount","getDocumentsCount","LoadDocumentsIcon","showBookDialog","isCurrentLoadFolder","Milage","MileageIcon","SpecialLink","openMap","PCMilerIcon","openGoogleMap","GoogleMapIcon","NewTabIcon","onMapClick","point1","point2","Mileage","SaveButtonWrapper","SimpleButtonWrapper","StyledTextInput","root","borderTopRightRadius","borderTopLeftRadius","borderRadius","NoteWrapper","isLoadDetailsSingleColumn","setValue","_props_note","isChanged","MyNoteTitle","TruckAlertMessageBar","TruckAlertMessageInformation","TruckAlertMessageSentTime","TruckAlertMessageText","TruckAlertMessage","AlertSvg","Flex","TitleWrapper","BadgeContainer","Paper","CardTitle","DefaultTitle","CostPerDayNotAvailableBadge","DollarIconSVG","CostPerDayButton","percentageText","getCostPerDayTitleData","percentage","CostPerDayTitle","isSetupComplete","DefaultCostPerDayTitle","UpArrowIconSVG","DrivingTimeInfo","UnlockLink","popupType","DetailRow","ContentData","LoadDetailsGeneralInfo","LoadDetailsGeneralInfoHeader","isBrokerUi","isPostLoad","LoadDetailsOriginDestination","backhaulsLoads","currentLoadId","onManualExtraStopClick","LoadDetailsInfoBar","openProfitCalculator","CompanyName","LightText","CircleContainer","FavoriteButton","isFavorite","LikeIconOff","LikeIconOn","OnboardedButtton","popupTracking","onOnboardedClick","handleTagAsOnboarded","onboardedConfirmation","OnboardedIconOff","OnboardedIconOn","BlockButton","loadAgeProvider","_props_load_poster","_props_load_poster1","LoadDetailsDataDefault","loadsize","RowGroup","SubData","RowWithBorder","MarketRateTitle","subValue","valueStyle","TrailerDetailRow","_loadInfo_rateCheck_payload","_props_loadDetails_rateCheck","_props_loadDetails2","_loadDetails_cargoChiefValues","_props_loadDetails_originLocation_address_state","_props_loadDetails_destinationLocation_address_state","_loadDetails_greenscreensValues","useCostPerDay","loadDetailData","setLoadDetailData","isCargoChiefDisabled","isGreenScreenRateDisabled","_props_loadDetails_id","isExpediteAllType","useShouldDisplayExpediteAll","isLoadingMpgSettings","isLoadingCostPerDaySettings","driveTime","numericPostedRate","isEquipmentTypeSupported","shouldShowExpediteAll","renderCostPerDaySection","textAlign","ExpediteAllRateInfo","RateCheckInfo","rateCheckAvgRatePerMile","CargoChiefRateInfo","isLoadLocationCanada","GreenscreensRateInfo","getTrailerData","placeSelf","formattedEquipmentSpecifications","LocationsWithSpacer","Locations","DetailsDestination","ManualPostedStopsCount","Deadhead","DateTime","LocationsSpacerOffsetWrapper","DestinationWithDeadhead","ExtraStopsCount","pickupRef","dropoffRef","stopsRefs","getLoadWithDeadhead","idMatches","loadWithDeadhead","_loadWithDeadhead_metadata_userdata_originDeadhead","_loadWithDeadhead_metadata_userdata_destinationDeadhead","formatLocation","displayTimeDate","isWithManualExtraStops","setRef","formatStopLocation","dateWithTime","dateObjWithTime","formatDate","_parseMomentDate_format","PlanLink","PlanText","_props_cargoChiefRate","_props_cargoChiefRate1","_props_cargoChiefRate2","cargoChiefRatePerMile","roleBasedRateContent","renderCargoChiefUnlockLink","isAllowed","renderUnlockLink","estRatePerMile","_props_greenscreensRate","_props_greenscreensRate1","_props_greenscreensRate2","_props_greenscreensRate3","_props_greenscreensRate4","renderPerMileValue","costHighPerMile","renderValue","MaxIcon","costLowPerMile","MinIcon","iconSrc","_props_rateCheckPreview","_props_rateCheckPreview1","_props_rateCheckPreview2","_props_rateCheckPreview3","rateCheckPreviewEnabled","useIsRateCheckPreviewEnabled","rateCheckRevenue","renderRateCheckPerMileValue","renderAverageRateValue","rateCheckPreviewTotalRate","rateCheckPreviewStatus","renderUpgradeLink","loadDetailsRate","rateCheckPreviewRatePerMile","loadDetailsRatePerMile","Column","FullWidthColumn","CargoChiefRate","isPanelExpanded","expandedSections","ExpandableSections","getRouteInfo","estimatedRate","isSupportedByCargoChief","isPermitted","CargoChiefIcon","RateUnavailablePopup","setExpandedSection","handleCargoChiefInfoClick","CargoChiefRateContent","ModalTitle","ModalTitleBold","CargoChiefGraph","PopupPrimaryButton","PopupOkButton","GreenscreensRate","isSupported","getStatusAndSubtitle","GreenscreensIcon","handleGreenscreensInfoClick","GreenscreensRateContent","supportedEquipment","GreenscreensGraph","PageText","MarketRates","_props_loadInfo_cargoChiefValues","_props_loadInfo_greenscreensValues","_props_load_originLocation_address_state","_props_load_destinationLocation_address_state","_props_load4","isCargoChiefAddOnAvailable","isGreenscreensRateDisabled","getSubtitle","RateIcon","RateCheckPanel","RateCheckHeader","rateDiff","minMax","useRateCheckMinMax","_rateCheck_avgRatePerMile","AlignBaselineRow","RateCheckDataValue","RateCheckDataInfo","ContentDetailText","RateCheckPostedRateDifference","RateConfirmation","MinMaxBox","isSmall","RateCheckHistoryWithSize","isSquare","RateCheckComponent","borderTop","showInfoPopup","PostedRate","RateDiff","ExpansionTitleContainer","isAdditionalCostExpanded","dispatchFeeField","tollCostField","otherFeeField","additionalCostsCalculationText","areAllFieldsEmpty","Cost","Calculation","InputWrapper","TextInputBox","onChangeText","onTollCostChange","isInFocus","focusedField","FieldType","onEndEditing","onDispatchFeeChange","SelectElement","onDispatchFeeTypeChange","onOtherFeeChange","CalculationText","ErrorCalculationText","BoldText","currency","sign","CPD_PATH","PriceContainer","PriceText","ContentFooter","CostPerDayCard","useGetWorkDays","onGetProfitPerDay","hasRateData","isHalfDayHaul","costPerDayValue","profitPerDayValue","costPerDayText","profitPerDayText","totalProfitText","maxDays","Divider","RightArrowIconSVG","footerConfig","tripRatePerMile","postedRatePerMile","Field","defaultText","isDefaultText","isRequiredToFill","textToNumber","_this_text","maxValue","normalisedText","reachedToMax","doesAllowToType","unallowedChars","char","createField","fieldType","formattedNumber","isAnyFieldEmpty","isAnyFieldInvalid","isAnyFieldValueRequired","PerGal","PerGalLink","Sign","CheckBoxBar","isFuelCostExpanded","costPerGallonFormattedValue","costPerGallonField","costPerGallonText","costPerGallonDiscountField","milesText","isDeadheadMilesChecked","milesField","deadheadMilesField","fuelCalculationText","mpgField","isFuelCostsFieldsValid","deadheadMilesCalculationText","fuelCostsForDeadheadMiles","onMilesChange","onMPGChange","onCostPerGallonChange","FuelDiscount","onDeadheadMilesCheckPress","onDeadheadMilesChange","onCheckPress","onCostPerGallonDiscountChange","costPerMileCalculationValue","costPerMileField","unformattedValue","linehaulRevenueCalculationText","rateField","isLinehaulRevenueFieldsValid","onCostPerMileChange","onRateChange","ResetButton","getFields","_state_rate","_state_miles","costPerMile","ProfitCalculatorComponent","_this_props_load_originLocation_address","setInitialValues","persistCalculatorData","_this_props_loadInfo_routeInfo_driveTime","_this_props_load_computedMileage","_this_props_loadInfo_rateCheck_payload","profitPerMile","getCosts","hasInitialRateData","hasRateDataFromUserInput","CalculatorIcon","onResetClick","isFiledValuesInitial","LinehaulRevenue","onFieldFocus","FuelCost","AdditionalCosts","totalProfitRef","TotalProfit","costPerDayEnabled","toNumberWithComma","saveMPGState","updateSettings","similarLoadsList","getOriginDeadhead","getInitialValues","_this_props_loadInfo_fuelPrice_payload","_load_rateCheck","deadheadMilesValue","rateStr","costPerMileStr","initialValues","mpgResult","persistedData","getPersistedCalculatorData","isFieldStatesEqual","newRate","newCostPerMileValue","newCostPerMile","_prevState_miles","_fields_fieldType_text","ProfitCalculator","_state_settings_routesSettings_payload","_currentLoadInfo_isLoadingRateCheck","_currentLoadInfo_isLoadingFuelPrice","currentLoadInfo","_props_field_text","isFieldValid","NumberValidationInput","perMileProfitText","calculationText","areAllValuesZero","SectionHeader","SectionTitle","SectionItem","SectionItemName","RightSection","CurrentFilter","Badge","FilterSectionItem","selectedFilter","onFilterSelect","showAsBadge","ArrowRight","DEFAULT_RADIUS","RADIUS_OPTIONS","RADIUS_OPTIONS_EXTENDED","RadiusSelect","_props_defaultRadius","formattedOptions","initialRadius","defaultRadius","closestOrDefault","SIMPLEMAPS_MAPINFO","map_name","initial_view","state_bbox_array","stateBboxArray","paths","statePaths","names","AL","AK","AZ","AR","CA","CO","CT","DE","DC","FL","HI","ID","IL","IN","IA","KS","KY","LA","ME","MD","MA","MI","MN","MS","MO","MT","NE","NV","NH","NJ","NM","NY","NC","ND","OH","OK","OR","PA","RI","SC","SD","TN","TX","UT","VT","VA","WA","WV","WI","WY","VI","GU","PR","MP","AS","default_regions","default_labels","proj","proj_rules","condition","proj_coordinates","USA_STATES_LOCAL","USA_STATES_GLOBAL","USA_REGION","LoadSearchRegion","CANADA_REGION","CANADA_PROVINCES","GLOBAL_REGION","getRegionIdByName","getRegionByName","stateSpecific","loadAvailabilityStateSpecific","AK_USA","isExpediteAllEnabled","findFirstCompatibleBrokerRateEquipment","rateEquipment","useRateForPostedLoad","expediteRequest","createExpediteAllRateRequest","shouldShowExpediteRate","useExpediteAllRate","pickUpAddress","dropOffAddress","convertAddressToExpediteAllLocation","truckType","convertLocationToExpediteAllLocation","_location_address","_location_address1","_location_address2","compatibilityList","isExpedite","DISPATCH_PHONE_NUMBER","DISPATCH_PHONE_EXT","EMPTY_USER_DATA","getUserInfoForLoadPosting","postedContact","getUserInfoFromLoad","userInfoFromPostingContact","getUserInfoFromPostingContact","userInfoFromDispatcher","getUserInfoFromDispatcher","_load_dispatchPhone","_load_dispatchPhone1","contact","_contact_phone","_contact_phone1","lineNumber","_dispatcher_phone","_dispatcher_phone1","ReasonOffset","ReasonBlock","Check","ReasonsLayout","CommunicationDisabledByBrokerPanel","Icon123Connect","ContentText","LINK_123_CONNECT","getReasonsText","reasons","reason","CheckIcon","CommunicationListPanel","_props_loadIDMatchParamKey","_props_loadID","permissionGranted","setPermissionGranted","isFilterPanelOpen","setIsFilterPanelOpen","messagesView","setMessagesView","useParams","panelSize","loadIDMatchParamKey","backhaulLoadID","closeLocation","isLoadingProfile","markAsReadstate","wasTokenSaved","usersSettings","userNotificationToken","wasSavedSuccessfully","messagesMarkedAsRead","setMessagesMarkedAsRead","scrollContainerRef","useConversationID","doesUserHaveMessagingRole","shouldShowNotificationBanner","isBrowserNotificationSupported","isPermissionGrantedAndBrowserSupported","Notification","permission","NotificationPermissionStatus","isValidConversation","shouldShowListFilters","sendNewTokenToServer","enableTokenToServer","updateTokenToServer","requestPermission","useRequestNotificationPermission","getConversationComponent","LoadConversations","GlobalConversations","CommunicationDisabledPanel","onCloseMessagingWidget","ConversationListFilter","initialView","shouldHideClose","MessagingWidgetMenuOptions","MenuOptions","onMarkAllMessagesAsRead","NotificationWarningBanner","buttonText","headerText","ConversationListFilters","openFilterPanel","NoConversations","matchPath","nestedMatch","FilterContainer","FilterChipContainer","EmptyConversationsPanel","NoUnreadMessagesPanel","EmptyConversation","_props_authorities","_props_licensing","_props_licensing1","_props_licensing2","_props_licensing3","_props_licensing4","_props_authorities1","isAuthorityAvailable","generateSubtitle","COMPANY_DETAILS_EXPANSION_PANEL_HEIGHT","AuthorityIcon","DataWrapper","CenteringContainer","TitleRow","LinkRow","rightValue","linkFormat","ValueRow","getBooleanLabel","passenger","householdGoods","private","enterprise","AuthorityTable","shouldHideRevocationPending","commonAuthority","auth","contractAuthority","brokerAuthority","commonAuthorityRevocation","contractAuthorityRevocation","brokerAuthorityRevocation","Table","AuthorityTableHead","Cell","AuthorityRow","bold","isCentered","AuthorityCell","hasAnyActiveAuth","CountrySelectionBar","SelectCountryButton","CarrierMapContainer","MapDescription","CarrierHistoryStatesMap","selectedCountry","setSelectedCountry","containerWidth","setContainerWidth","selectedRegion","selectedRegionId","carriersMapHistory","carrierMapInfo","statesHistory","historyItem","simpleMapInit","simpleMapApi","simpleMapsData","simpleMapsInfo","isSimpleMapReadyToRender","setIsSimpleMapsReadyToRender","useSimpleMaps","SIMPLEMAPS_CARRIER_MAPDATA","fetchCarrierMapHistory","main_settings","initial_zoom","div","regions","selectedRegionBboxArray","getStatesBboxUnion","simpleMapsAPI","stateToUse","levelPercent","state_specific","findColourForLevelPercent","refresh_state","refreshOptions","leading","SimpleMap","isSimpleMapsReadyToRender","isCarrierHistoryMap","background_color","background_transparent","border_color","popups","state_description","state_color","state_hover_color","state_url","border_size","all_states_inactive","all_states_zoomable","location_description","location_color","location_opacity","location_hover_opacity","location_url","location_size","location_type","location_image_source","location_border_color","location_border","location_hover_border","all_locations_inactive","all_locations_hidden","label_color","label_hover_color","label_size","label_font","hide_labels","manual_zoom","arrow_color","arrow_color_border","initial_back","initial_zoom_solo","region_opacity","region_hover_opacity","zoom_out_incrementally","zoom_percentage","zoom_time","popup_color","popup_opacity","popup_shadow","popup_corners","popup_font","popup_nocss","auto_load","url_new_tab","images_directory","fade_time","import_labels","link_text","state_image_url","state_image_position","location_image_url","stateLabels","StyledContainer","StyledMainContainer","StyledButtonContainer","NotRatedTitle","CarrierRatingExpansionPanel","isRatingAvailable","isRated","reviewCount","displayTitle","generateSubtitleText","StarRatingLabel","CarrierRatingDetails","CarrierSourceInfoButton","carrierSourceUrl","profileUrl","CarrierSourceLogo","RowContainer","isLargerHeight","LargeValueRow","textDecorationLine","getContent","isLeftTextAlign","PhoneRow","phoneString","isLeftAlign","ReportButton","ThunderLogoIcon","textDecoration","GetPaidFasterLink","OldMemberSiteLink","RatingDaraWrapper","BigText","_props_insurance","_props_insurance1","_props_insurance_requirements","_props_insurance_requirements1","_props_insurance_requirements2","_props_insurance_requirements3","_props_insurance_requirements4","_props_insurance_requirements5","_props_insurance_coverages","isInsuranceAvailable","coverages","requirements","bipdOnFile","displayInsuranceValue","InsuranceIcon","bipdRequired","cargoRequired","cargoOnFile","bondRequired","bondOnFile","coverage","CoverageSection","policyNumber","_props_coverage_insurerInfo","_props_coverage_insurerInfo1","_props_coverage_insurerInfo2","_props_coverage_insurerInfo_phone","_props_coverage_insurerInfo_phone1","_props_coverage_insurerInfo5","_props_coverage_insurerInfo6","_props_coverage7","_props_coverage_insurerInfo7","_props_coverage9","_props_coverage_insurerInfo8","_props_coverage11","insurerInfo","attention","effectiveDate","MapLink","titleStyle","LegendText","RiskAssessmentExpansionPanel","_onboardingState_onboardingError","onboardingState","linkingState","CarrierDetailsRiskAssessment","isMCPEnabled","didCarrierFailRiskAssessment","riskConfig","generateRiskLevelConfig","onCloseFailedRiskAssessmentPopup","MCPLogo","SetupIntegrationInfoPopup","imgSrc","generateOnboardButtonConfig","buttonStyle","maxWidth","MCPOnboardingButton","MCPOnboardingPopUp","LowRisk","MediumRisk","ReviewRisk","FailRisk","BACKHAULS_LAYER","BackhaulsPanelComponent","newBackhaulsData","_prevProps_selectedSearch","_this_props_selectedSearch","selectedSearchID","decodeMatchParams","prevMatch","backhaulSearchID","bh","_match_params","handleBackClick","handleActiveClick","onLoadClick","closeBackhaulsPanel","BackhaulsPanel","BannerContent","useBannerTypeFromStatus","useTitleAndMessageFromStatus","brokerResponseSpeed","userEmail","BookNowBanner","_load_bookNow1","bookNowStatus","responseSpeed","CotaTrailerType","CotaSpecialEquipment","cotaTrailerTypeMap","cotaTrailerType","cotaSpecialEquipmentMap","cotaSpecialEquipment","initialCotaLoadDetails","getCotaEquipments","equipmentsTypes","equipmentsSpecifications","concatinateEquipmentTypes","concatinateEquipmentSpecification","newEquipmentTypes","newEquipmentsSpecifications","getCountryCotaName","countryName","getAddressLine","isNewValueUndefined","oldValue","getUrlCotaLoadDetails","_companyDetails_address","_companyDetails_address1","_companyDetails_address2","_companyDetails_address3","_companyDetails_address4","_companyDetails_address5","_companyDetails_phone","_loadDetails_dispatchPhone","_loadDetails_dispatchName","companyDetails","cotaEquipments","contactNames","addressLine","trailerNeeded","specialEquipment","openCotaNewLoad","details","_details_company","_details_company1","_details_company2","_details_company3","_details_company4","_details_company5","_details_company6","_details_company7","_details_contact","_details_contact1","_details_contact2","_details_contact3","cotaBaseUrl","PopupTitle","typography","h2","FormContainer","EditCompanyPopup","setCompanyName","companyDot","setCompanyDot","wasCompanyFetched","setWasCompanyFetched","setIsLoading","isCompanyUpdated","setIsCompanyUpdated","PlaceBidPopup","EnterDOT","checkIfFormIsValid","wasFormUpdated","withoutContentPadding","FIRST_NAME_MAX_LENGTH","newCompany","toInteger","LoadDetailsPanelHeader","isOnboard","isLoadDetailsFetched","onboardedClick","favoriteClick","blockClick","ResultViewType","PopupCancelButton","PopupDangerButton","updatedIsFavorite","updatedIsOnboarded","OverlayContainer","OverlayHeader","OverlayContent","InfoRibbon","LoadDetailsActionsBar","_props_load_metadata_userdata_progress","onClosePanel","updateStatusColor","shouldDisplayContactButtons","ActionLoadRow","ActionButtonWrapper","SaveButton","onUpdateStatusClick","FlexWrap","UpdateStatusSVG","ActionButtonTitle","PRINT_LINK","shouldShowHideButton","ContactButtonWrapper","ContactButtons","LoadDetailsData","scrollIntoView","useScrollIntoView","LoadData","showVhubBookPopup","LoadDetailsExportSection","LoadDetailsExpansionPanels","_expansionPanelRef_current","_totalProfitRef_current","_props_width","expansionPanelRef","isSingleColumn","useDelayedScrollIntoView","scrollTo","_expansionPanelRef_current_offsetTop","StatusBar","statusBarRef","isOpenDetails","openedTabs","onExpand","onStatusBarExpand","shouldShowPost","onTabChange","setIsProfitCalculatorOpened","isProfitCalculatorOpened","isBackhaulsDisabled","CotaIconStyled","cotaDetails","cotaExportEnabled","CotaSVG","OnboardingUrlButtonContainer","LoadDetailsPanel","_props_selectedView","_props_layer","_props_offset","setProfitPerDay","fuelAdvanceQuote","getPaidFasterQuoteState","truckAlertMessages","topBidId","onboardingBannerEnabled","lastTruckAlertMessage","head","isStatusBarOpened","scrollToTop","useScrollToTop","loadSearchObject","loadSearchRequestEncoder","fetchDetails","fetchBackhaulInfoForTruckPost","hasVisitedConversationLoadDetails","COMMUNICATION_KEY","prev","closeDetailsPanel","showErrorPopup","openPostTruckPanel","onUpdateStatusAction","handleTabChange","tabName","onClickManagePlan","showManagePlanPopup","mapParam","backhaulLoadMap","loadMap","logCall","currentURL","createCallLoadTrackData","openEmailPopup","showEmailPopup","_loadInfoOrDefault_backhauls","_convertCityLocationFormatToCapitalize","_convertCityLocationFormatToCapitalize1","loadInfoOrDefault","backhaulsInfo","postTruckPickupDates","updateTruckPostField","setTruckPostPrefilled","useOnBookNow","placeNewBid","usePlaceBid","_currentLoad_rateNegotiations","redirectLoadDetailsPath","findLoadLayer","panelContent","_currentLoad_poster","_currentLoad_poster_metaData","ErrorPanel","LoadNotAvailablePanel","BlockedCompanyPanel","actionBar","shouldNotShowHideButton","onboardingBanner","showStartOnboardingPopup","showOnboardingBanner","MapRoutes","LoadDetailsContent","openCompanySearchPanel","SocialNetworksPopup","updatePostAvailabilityForm","prefilled","setPostAvailabilityPrefilled","lineOrUndefined","FormControlLabel","CopyToClipboardButton","ShareActionButton","CopyToClipboardText","CopyIcon","FileCopy","UnreadNotificationCount","TextContainer","PopUpButton","OverlayContentTextContainer","OverlayContentTitle","OverlayContentText","OverlayTextDetail","verifyDotPopupType","LoadSharingError","isReadyToShowResponse","setIsReadyToShowResponse","handleRetry","outline","closePopup","_renderTwitterHashtags","EmailShareButton","subject","EmailIcon","iconFillColor","bgStyle","FacebookShareButton","facebook","contentURL","hashtag","contentDescription","TwitterShareButton","twitter","via","hashtags","XIcon","CopyToClipboard","textToCopy","VhubBookWithPopup","vHubURL","onConfirm","showVerifyDOTPopup","VerifyDOTPopup","isBookNow","renderTwitterHashtags","words","copyToClipboard","DialogSubtitle","bookAction","PopupNoButton","PopupYesButton","isFromLoadDetails","origCity","origState","destCity","destState","MapContainer","MapImage","MapLoader","ErrorMessage","CircleContainerOverlay","_containerRef_current_clientWidth","mapImage","containerHeight","verticalAlign","BaseBidButton","BidSentIcon","BidIcon","isLabelHidden","unreadBidsCount","InteractiveBidButton","_props_load_rateNegotiations","currentBidLoadId","numberOfUnreadBids","VendorBidButton","BookAmountText","_props_load_bookNow1","_loadInfo_bookNow","isPending","bookNowState","prevIsSendingBookNow","buttonBookedTitle","BookedIcon","BookNowIcon","BookNowPopup","_props_load_rate","_props_load2","_props_load3","_props_load5","isSendingBookNow","bookNowAmount","bookButtonAndTitledText","BidTrailerDetailsComponent","detailsTitle","detailsType","BidDetailsComponent","PopupContentSection","PendingPopup","BookedPopup","_props_load_bookNow_submittedDateTime","_props_load_bookNow2","submittedDateTime","VerifyDOTPopupWrapper","getBookNowPopup","isDOTVerified","ContactButtonsContainer","onCloseCall","Fragment","ContactOption","isSmallDevice","getIsFullSize","PhoneButton","isPhoneButtonMaximized","shouldCropLabel","_props_load_vHub","numOptions","emailIcon","CheckedEmailIcon","_props_load_conversation_unreadConversationCount","unreadCount","unreadConversationCount","MessageIconOff","PhoneNumberButton","IconCalled","renderCall","phoneExtension","ImageContainer","BookWithIcon","vHubIcon","isMapVisible","setSearchFormPrefilled","results","useUpdateSearchAlert","useOpenEditSearchPanel","useDisplaySearchNotFoundDialogOnError","_searchesState_error","onDismissDialog","displaySearchNotFoundDialog","useDisplaySaveSearchPopup","onSave","getSearchWithSortBy","newSearch","List","ColumnLayout","ListSubheader","ListItem","StyledRow","TrailerTypePanel","initialEquipmentTypes","selectedTypes","trailerOption","handleCheck","StyledSection","applyTrailerType","oldSelectedTypes","newSelectedTypes","backRedirect","updateTypes","LoadsHeader","isOrange","ResultQauntity","ResultTotalCount","NotFoundContainer","BottomRow","ResultAndFilterContainer","ChipsLine","FilterChip","FooterButtonsContainer","SetAlertFooterButton","SetAlertButton","NewLoadsHeaderButtonContainer","SetAlertActionButton","isAlert","BellIconOn","BellIconOff","DirectionsList","stepCounter","tollCounter","tollAtStop","stepsWithoutStops","directionSteps","step","shouldShowStops","isStopOrWarning","StopDirectionInformation","lastSepIndex","WarningInformation","StepInformation","StyledCard","arriveAt","displayTollValue","PageTextBoldRed","displayRouteMilesAndTime","PageTextBold","instruction","StopArrivalInformation","routeMiles","routeTime","IFTA_REPORT_HEADER","IftaFuelTax","csvLink","wasClicked","setWasClicked","setIsReady","_csvLink_current","PcMilerContent","StateMileageComponent","stateMileage","DownloadIcon","getExtraReport","wasDownloaded","CSVLink","filename","StateMileageMapping","mileages","MileageRow","_props_stateMileage","_props_stateMileage1","MileageColumn","us","canada","stopInformationFormat","withStreetAddress","streetAddress","StopsList","ManualStopsOrExtraStops","RouteSummary","_props_routePayload","_props_routePayload1","_props_routePayload2","_props_routePayload3","SummaryRouteInfo","routePayload","mileageData","SummaryRouteTitle","DividerSmall","GoogleMapsLink","stopsString","getStopsPoints","pathStops","getOneDPoints","createBorder","DropDowCard","ExpansionPanelSection","LoaderContainer","CurrentLocationButton","HomeLocationButton","getHomeLocationValue","COUNTRIES","ANYWHERE","LocationInputWrapper","TextFieldSection","SectionWithoutShadow","LocationPicker","_props_title","_props_placeholder","_props_id","_props_id1","_props_error","locationPickerState","shouldSetTrueDefaultAutofocus","shouldAutoFocus","setShouldAutofocus","statesPickerRef","onSelectCurrentLocation","useSelectCurrentLocation","onCurrentLocationSelect","shouldShowStates","onStatesSelect","showContent","onValueChange","LocationTypes","isFirst","isLast","inputStyle","formatStringsToOptions","onCountrySelect","onlyShowAnywhere","onHomeLocationSelect","toggleHomePick","onSelectStatesOnMapClick","StatesProvincesRegionsMapButton","StatesPicker","maxStatesCount","onRecentLocationSelect","RecentSearchLocations","onLocationSelect","recentLocationTypes","toggleRegionsPicker","showWarningSnackbar","onSelected","currentLocation","_state_locationState_reverseGeolocation","wasSelected","setWasSelected","fetchLocation","selectedCount","LocationPickerPanel","_props_headerLabel","locationText","setLocationText","displayLocationText","isEditingHome","setIsEditingHome","_props_location","onHomeLocationChange","HomePick","suggestionClick","inputFieldPlaceHolder","onRecentLocationsChange","onStatesChange","onCountryChange","onCurrentLocationChange","StatesBar","isWithoutRegion","RegionsBar","StateChip","StatesRow","chips","getChipRightOffset","isLastChip","isSingleChoice","RegionsColumn","shouldSelectRegion","onRegionsSelectionChange","regionsList","StatesGrid","StyledPickerWarning","StyledHeader","StyledPickerError","StatesMaxSelectionWarning","hasReachedMaxCount","StyledPaddedRow","StatesColumn","StateRegionsBar","isPickerOpened","isRegionsPickerOpened","isMaxSelectedStatesCountReached","_found_value","found","statesWithinRegion","newSelectedStatesArray","without","onStateChange","StyledSubHeader","getChipsList","regionId","MyTruck","openSecondaryPanel","openSecondaryPanelWithId","setCurrentTruck","onEditTruck","onSelectTruck","SETTINGS_PANEL_PADDING","EmptyTruckPanel","PageIcon","mytruckLogo","RadioGroupSection","RadioGroupTrailerTypePanel","updateEquipment","initialTruck","AddTruck","setTruck","savedTruck","onSubmit","TruckForm","onCloseAfterSubmit","successMessage","onCloseTruckInUsePopup","EditTruck","userTruckState","prevTruck","setPrevTruck","isDataValid","hasDelete","setNameIfValid","setName","isTrailerTypeOpen","setIstrailerTypeOpen","displayTrailerType","setDisplayTrailerType","areSlidersDisabled","setAreSlidersDisabled","isSubmitButtonDisabled","setIsSubmitButtonDisabled","isDeleteClicked","setIsDeleteClicked","isSubmited","setIsSubmitted","deleteState","deleteButtonHeader","onDeleteTextHeader","onChangeEquipmentType","isFormValid","onActionCompleted","onShowTruckInUsePopUp","onShowSnackBar","onShowDuplicateNamePopUp","showDuplicateNamePopUp","showTruckInUsePopUp","onChangeName","showDeleteTruckPopUp","WeightLengthSliders","onChangeWeight","onChangeLength","isPowerOnly","openPopup","dismissAction","clearAction","xmlns","strokeLinecap","strokeLinejoin","NotFound","subtitleStyle","BlockedLoadIcon","NotFoundSearchesPanel","NotFoundIcon","NotFoundNamedSearchesPanel","onClickButton","NewSearch","NotFoundAlertSearchesPanel","isViewAlertOnly","Dates","formState","updateFormState","setSelectedDates","PanelSingleSection","CenteredColumnLayout","HomePickComponent","handleLocationAutocomplete","_this_props_reverseGeolocation","_this_props_layer","_this_props_offset","locKey","isEditingLocation","handleLocationChange","handleResetTextClick","changeLocationEditing","handleCurrentLocationClick","handleSuggestionClick","fetchCurrentLocation","isFetchingLocation","LocationsContainer","LocationItemButton","recentSearchLocationsState","filteredLocations","LocationItem","locationString","StyledGrid","StyledGridNote","StyledGridNoteCentered","StatusMessage","SectionMessageTitle","SectionMessage","StyledMarkDown","Markdown","DescriptionText","MPGPanel","shouldCloseAfterSave","initialMPGValue","storedMPG","initialMPG","initialMPGString","setMPG","onChangeMPG","_mpgField_text","fornattedField","INITIAL_DOT_NUMBER_URL_QUERY","addressValues","startCase","volpeRecordToAddress","record","businessAddress_City","businessAddress_StateCode","businessAddress_CountryCode","businessAddress_ZipCode","businessAddress_POBoxStreet","getCompanyFromVolpeRecord","volpeRecord","legalName","businessAddress_Telephone","VerifiedTextLine","CarrierDetailsData","_props_truck","_props_truck1","_props_truck2","_props_truck_authorityIssuance","isDestinationPopupOpen","setIsDestinationPopupOpen","isAnonymous","getCalculatedDesireRate","selectedLoadMileage","hasBottomLine","TableBody","RowDetails","TableCell","colSpan","renderCarrier","profileAvatar","contactFirstName","contactLastName","RenderPhoneNumber","showPhoneVerificationPopup","HIDDEN_PHONE_NUMBER","contactPhone","isPhoneVerified","contactPhoneVerificationStatus","renderCompany","companyAvatar","isCarrierIdentityVerified","ButtonDiv","shouldHideControls","FavoriteChip","onFavorite","shouldDisableActions","FavoriteOnboardChips","renderDotNumber","showDotVerificationPopup","mcs150FormDate","renderTextBlock","truckCompanyAge","authorityIssuance","totalFmcsaInspections","formatDistance","TruckDestinations","destinations","popupLocation","displayDates","displayLengthAndWeight","availableLength","availableWeight","isShowingPhone","setIsShowingPhone","phoneElement","ShowPhoneButton","VerifiedText","isDotVerified","CompanyAvatarViewer","companyElement","IconNameContainer","carrierElement","hasBottomPadding","ProfileAvatarViewer","verificationId","contentStyle","extraHeader","TextBlock","InfoPopup","onClickAction","ageInYears","parsedDates","nextDate","AlertRow","CarrierDetailsContent","CarrierDetailsColumn","TableRow","TableHead","StyledCheckCircle","CheckCircle","CheckMarkContainer","AvatarViewer","TruckPostViewTypes","CreateNewTruckPost","_props_onClose","openPickupPanelPath","SubRoutes","openDropOffPanelPath","closePickupPanelPath","closeDropOffPanelPath","openPanelPickUp","openDropOff","closePanelPickUp","closeDropOff","postRequest","truckAvailabilityForm","onChangeView","subPanel","goBack","setPostRequest","clearPostAvailabilityForm","handlePickUpHomeSuggestionChange","handleDestinationHomeSuggestionChange","handleSelectTruck","handleCloseAfterTruckSubmit","postID","UnitedRoute","NestedRoute","PostTruckForm","changeView","updatePostRequest","EditPostedTruckForm","newLocation","truckID","PAGE_ID_PREFIX","NoTruckPost","getEmptyScreenMessages","truckPost_logo_realtime","truckPost_logo_scheduled","truckPost_logo_expired","truckForm","postTruckState","PostTruckFormUI","_truckForm_truck","_truckForm_truck_id","_truckForm_pickupDates","_truckForm_loadSize","_truckForm_anonymous","_truckForm_teamDriven","persistPostedOrigin","dropOff","wasSubmitted","successText","failureText","updatePostTruckState","setAvailability","newAvailability","_availability_anonymous","_availability_teamDriven","postId","PickUpDates","handleDatesClear","openDatesPath","openDates","StyledBlock","formatStringsToPickupDateOptions","LocationSection","_props_destination","destinationType","isLocationSwitchDisabled","shouldDisplayDestRadius","StyledIconsBar","SwitchButton","OriginDestination","handleDestinationRadiusChange","handleOriginRadiusChange","_props_origin","openPickUpPath","openDropOffPath","StyledGridElement","formatStringsToStateOptions","WeightLengthSlidersForm","handleWeightChange","handleLengthChange","AvailableCapacity","updatedLoadSize","openTruckPath","StyledPaddedColumn","updatedWeight","updatedLength","createMemoizedFormatStringsToOptions","PostItem","PostListItemTitle","PostListItem","areFieldsValidated","pickupOrigin","postTruckId","validationFields","allValid","onSwitchLocations","getIsFormValid","isActionCompleted","getMessage","failureMessage","NotesTruckPopupInfo","AnonymousTruckPopupInfo","MinRatePopupInfo","ConfirmationDeletePopup","_truckForm_originRadius","_truckForm_destRadius","_truckForm_minRate","_truckForm_notes","_props_isLoading","setWasSubmitted","setIsDeleting","setIsFormValid","setAnonymous","setTeamDriven","deletingState","shouldShowErrorMessage","setShouldShowErrorMessage","panelref","setLocations","fieldsValidated","newRadius","PostTruckMileage","locationOrigin","locationDestination","PostTruckRateCheck","CheckboxRow","TripInfoBar","TripInfoText","subtitle2Regular","TripInfoTextValue","defaultLight","TripInfoIconWrapper","fetchedMileage","totalPostMileageError","pcMilerIsLoading","isTruckFormLoading","doesUserHavePcMiler","mileageOrigin","mileageDestination","openFeatureInfoPopup","renderMileage","_state_truckAvailabilityForm_truckAvailability_truck","rateCheckIsLoading","wasMileageFetched","setWasMileageFetched","doesUserHaveRateCheck","totalPostedMileage","renderRateCheck","SubtitleContainer","getFilterItems","showAvailabilities","showClear","hasFooter","TruckPostsPanel","areAvailabilitiesFetched","setAreAvailabilitiesFetched","filterItem","filterName","isLoadingAvailabilities","wasFetchedAvailabilities","bulkDeleteState","headerActionText","showClearAll","trucksState","onClearAll","showBulkDeletePopup","AvailabilitiesList","InfiniteScrollView","loadMore","rootRef","linkedTruck","filterId","PaperInsideStretchContainer","BottomButtonContainer","PaperURLContainer","StyledPaper","paperBoxShadow","elevation","BlockStyledPaper","PaperTitle","hasTitle","CustomPaper","redTitle","paperTitle","allowCollapsedMargins","paperProps","CustomStyledPaper","emptyMileageRoutePostRequest","PcMilerExpansionPanels","PCMilerRoute","_directions_rideTime","isIftaOpened","setIsIftaOpened","isRoutingOpened","setIsRoutingOpened","_state_pcmiler_route","pcmiler","isLoadingRoute","stateMileagePayload","isReportDownloading","isDownloadingReport","isReportDownloaded","previousIsLoading","uiSettings","mileageLocationState","routePath","geometry","routesPostRequest","isWithManualPostedStops","getUiSettings","initRoutes","iftaFuelTaxIsExpanded","fetchStateMileage","routesRequest","fetchRouteDirections","postRoutePath","newSettings","patchUiSettings","fetchExportReport","errorTitle","secondaryMessage","MessageWithPhoneNumber","isNetworkError","isApiSauceError","PopupTitleSection","PopupSubtitleSection","PopupActionButtons","BidFailedPopUp","isConnectionError","setDot","DOTSubmitted","setDOTSubmitted","isFieldEmpty","setIsFieldEmpty","formattedDot","maintenanceMessage","lastIdVersion","lastIdNumber","updateIdVersion","idversion","TruckIcon","OverlaySubmissionContainer","BidDetailsContainer","_props_load_vendorInfo1","_props_load6","_props_load7","_props_load_vendorInfo2","bidInputRef","loadRate","setExpirationTime","isExpirationTimeInValid","setIsExpirationTimeInvalid","wasBidSent","setWasBidSent","bidWasSubmitted","setBidWasSubmitted","vendorBidState","_state_loadInfo_loadInfoMap_get","userCompanyName","userCompanyDOT","isBidV1Disabled","isBidV2Disabled","shouldShowExpirationDate","didPostBidSuccessfully","isPostingBid","bidButtonAndTitledText","isVendorBid","pushBidPanel","VendorBidPlacedPopUp","SubmissionCompanyDetail","submissionDOTTitle","submissionCompanyDOT","onEditCompany","InlineTappableText","renderVendorBidForm","formattedBid","PostBidRateCheck","onClickRateCheck","_bidInputRef_current","previousBid","submittedOn","Dialog","DialogComponent","POPUP_ZINDEX","hideBackdrop","mobileWidth","disablePortal","PopupButton","PopupRemoveButton","PopupAddButton","PopupCallButton","DialogTitle","EmptyPopupTitle","DialogContentComponent","PopupTitleContent","DialogEndAdornment","PopupTitleText","PopupSubtitle","DialogActions","popupTrackingContext","PopupTrackingProvider","setPopup","popupEntity","isPageHidden","mediumSizePopups","StyledText","StyledImageContainer","Grid","managePlanButtonProps","learnMoreButtonProps","UnlockFeaturePopup","RateCheckPopup","isAddOnsAvailable","CargoChiefRatePopup","onClickAddOn","MarketRatesAccessFailedPopup","SearchDirectoryAccessFailedPopup","DetailedPopupContent","RateCheckFeature","isMembershipTypeApple","cargoChiefPopupButtons","CargoChiefFeature","justify","xs","LinkBrokerAccountPopup","_linkingState_linkError","username","setUsername","setPassword","isLinked","areCredentialsInvalid","MCPPopupBody","Logo","didSendRequest","SignUpLink","MY_CARRIER_PORTAL","MY_CARRIER_PORTAL_INTG_TOOLS","LoadingProgress","ThemeColor","small","OverlayLoadingProgress","RateCheckResponseContainer","RateCheckFeedbackResponse","_props_rateCheckFeedback","_props_rateCheckFeedback1","_props_rateCheckFeedback2","rateCheckFeedback","RateCheckIsAccurateContainer","QuestionContainer","QuestionContainerQuestion","QuestionContainerText","RateCheckIsAccurate","feedbackParams","sendFeedback","textTransform","setIsEditingFeedback","RateCheckConfirmationContainer","AnimatedContainer","isEditingFeedback","useRateCheckHeightAnimation","RateConfirmationInput","setHeight","OPACITY_TRANSITION","InputContainer","dissapearThen","fn","willChange","Clear","updatedFeedback","SiteKeyMapping","Recaptcha","BaseReCapcha","elementID","sitekey","siteKeyName","verifyCallback","onValidation","expiredCallback","onExpired","tabindex","hl","userFirstName","userLastName","sessionState","_state_screenSharing_session","startCobrowse","setSessionListeners","updateSession","showConsentPrompt","startPopupText","userName","updateIdentifier","leftButtonText","rightButtonText","shouldDisplayEndButton","ScreenSharingButton","onEndSession","CloseButtonContainer","StyledCloseIcon","ScreenSharingPopUp","onLeftButtonClick","onRightButtonClick","__cobrowse_io_loaded","scriptElement","promise","resolve","CobrowseIO","_firstScriptElem_parentNode","async","firstScriptElem","getElementsByTagName","parentNode","insertBefore","onload","license","catch","customData","device_name","user_email","user_id","showCode","createSessionCode","confirmSession","showSessionControls","hideSessionControls","currentSession","scrollPosition","onScrollEnd","useManualScrollEventHandler","DivScrollView","AbsoluteFillSimpleBar","internalScrollRef","collapsibleRef","currentScrollRef","useScrollingDivCollapsibleLogic","scrollableNodeProps","CollapsibleHeaderPortalDestination","BlockFooterPortalDestination","FixedEntity","collapseOnScroll","hasContent","fixedAreaRenderContext","useFixedAreaRenderContext","updateHeader","CollapsibleHeader","AbsoluteHeaderContainer","FloatingHeader","updateFooter","useClientHeight","scrollElement","windowHeight","useWindowHeight","clientHeight","ResizeDetectorWithReset","useGetHeaders","allHeaders","collapsibleHeaders","fixedHeaders","hangingHeaders","FixedHeaderPortalDestination","fixedHeight","onFixedResize","collapsibleHeight","onCollapsibleResize","hangingHeaderHeight","onHangingHeaderHeightResize","scopeContext","useHeaderHeight","FixedFooterPortalDestination","shadowHeight","footers","SafeBottomInsetSpace","useExtraHeaderHeight","isAreaEqual","_a_fragmentHolder","_b_fragmentHolder","updateAreas","prevAreas","newAreas","forceUpdate","headerIndex","footerIndex","updateEntries","curEntry","ProgressSpacer","hideLoader","isReverse","threshold","bottomSpace","observerRef","useLoadMoreIfNecessary","topSpacer","bottomSpacer","spacer","pointerEvents","visualViewport","_document_scrollingElement","setIsKeyboardOpen","scrollingHeight","scrollingElement","isKeyboardDetectable","keyboardHandler","ChildrenContainer","maxHeight","WindowScrollViewDiv","isFeedPopupOpened","fakeScrollPosition","setFakeScrollPosition","fakeScrollPositionRef","useWindowCollapsibleLogic","INIT_SCROLL_TRACKING","lastScroll","anchorPos","isTouching","requestAnimationFrameId","touchendDetectTimerId","scrollingDivRef","scrollTracking","scrollTrack","getScrollPos","_scrollingDivRef_current_scrollTop","scrollTop","newHeaderPosition","scrollingDiv","onScroll","collapsibleLogic","overrideScrollPosition","_overrideScrollPosition_current","detectScrollEnd","cancelTouchEndDetection","detectTouchEnd","onTouchEnd","onTouchStartMove","_event_touches_length","processScroll","_collapsibleRef_current","headerStyle","pos","transform","webkitTransform","repositionAfterScroll","scrollPos","divHeight","offsetHeight","halfDivHeight","cancelAnimationFrame","onDetectScrollEnd","isScrollIntoViewOptionsAvailable","documentElement","behavior","scrollWindowToTop","scrollViewContentToTop","alignTo","scrollOffset","scrollWindowIntoView","scrollParentViewIntoView","scrollWindowTo","_element_offsetTop","block","scrollViewContentTo","useScrollIntoViewPrivate","scrollIntoViewFunction","scrollYOffset","useYOffsetAfterScroll","overflowY","getComputedStyle","isScrollable","scrollHeight","parentElement","BODYFIXED_CLASS","enableFixedBody","bodyElem","sectionRef","SECTION_BOTTOM_PADDING","Section","setIsOpened","StyledSelectWrapper","InputLabel","MenuProps","screen","FilledInput","KeyboardArrowDown","onOpen","SelectOnTabMenuItem","valueForEvent","persist","hoverColor","NORTH_EAST_US_STATES","MID_WEST_US_STATES","PLAINS_US_STATES","SOUTHERN_US_STATES","WESTERN_US_STATES","SIMPLE_MAP_NAME","SimpleMapHolder","SimpleMapAvailableSpace","SimpleMapsPreloader","_props_backgroundColor","_simpleMapsHolderRef_current","_simpleMapsChildrenRef_current","computedMapWidth","setComputedMapWidth","mapHeight","setMapHeight","simpleMapsHolderRef","simpleMapsChildrenRef","isWidthSmall","mapWidth","getMapWidthToFitThePanel","simpleMapsInitialData","simpleMapsInitialInfo","simpleMapsDataSettings","simplemaps","availableHeight","originalWidth","originalHeight","BC","HI_USA","YT","SK","NL","NB","PE","NS","NT","NU","AB","ON","MB","QC","MX","parent_id","pill","glob","current_event","separator","fun","numsort","events","n","eve","scope","l","oldstop","listeners","z","indexed","queue","out","ce","ii","_events","k","jj","nes","es","attrs","nt","subname","RegExp","nts","unbind","cur","funcs","once","f2","window1","R","is","loaded","array","_engine","nu","pop","uuidRegEx","uuidReplacer","tokenRegex","objNotationRegex","replacer","paperproto","elements","circle","rect","ellipse","formatrg","win","oldRaphael","was","Raphael","ca","customAttributes","supportsTouch","DocumentTouch","Str","touchMap","mousedown","mousemove","mouseup","math","mmax","mmin","pow","string","objectToString","colourRegExp","_ISURL","isnan","Infinity","bezierrg","toFloat","toInt","upperCase","availableAttrs","_availableAttrs","cx","cy","font","gradient","rx","ry","availableAnimAttrs","_availableAnimAttrs","commaSpaces","hsrg","hs","rg","p2s","pathCommand","tCommand","pathValues","eldata","_radial_gradient","sortByNumber","rectPath","_rectPath","w","ellipsePath","getPath","_getPath","attr","bbox","_getBBox","mapPath","matrix","pathi","path2curve","_g","SVGAngle","implementation","hasFeature","firstChild","adj","res","svg","vml","_Paper","_id","_oid","o","x3","y3","atan2","rad","deg","snapTo","tolerance","rem","createUUID","random","setWindow","newwin","initWin","toHex","bod","docum","ActiveXObject","write","close","createPopup","createTextRange","cacher","queryCommandValue","defaultView","getPropertyValue","hsbtoString","hsltoString","rgbtoString","hex","prepareRGB","clr","getRGB","packageRGB","rgb","hsb2rgb","hsl2rgb","rgb2hsl","rgb2hsb","G","B","X","C","H","V","M","m","_path2string","postprocessor","newf","repush","shift","clrToString","catmullRom2bezier","crp","iLen","_preload","img","cssText","onerror","colour","red","green","blue","hsb","hsl","getColor","reset","parsePathString","pathString","pth","arr","pathClone","paramCounts","parseTransformString","TString","ps","sleep","base3","p1","p2","p3","p4","bezlen","x4","y4","z2","Tvalues","Cvalues","ct","xbase","ybase","comb","sqrt","findDotsAtSegment","p1x","p1y","c1x","c1y","c2x","c2y","p2x","p2y","t1","t13","t12","t2","t3","mx","my","nx","ny","ax","ay","alpha","bezierBBox","curveDim","isPointInsideBBox","isBBoxIntersect","bbox1","bbox2","interPathHelper","path1","path2","justCount","_path2curve","x1m","y1m","x2m","y2m","bez1","bez2","pi","pj","intr","interHelper","l1","l2","n1","n2","dots1","dots2","xy","di","di1","dj","dj1","ci","cj","intersect","denominator","py","px2","py2","kk","segment1","segment2","pathIntersection","pathIntersectionNumber","isPointInsidePath","pathBBox","_removedFactory","methodname","pathDimensions","Y","xmin","ymin","xmax","ymax","bb","pathArray","pathToRelative","_pathToRelative","pa","len","pathToAbsolute","_pathToAbsolute","crz","dots","l2c","q2c","_13","_23","a2c","large_arc_flag","sweep_flag","recursive","_120","rotate","f1","rx2","ry2","asin","df","f2old","x2old","y2old","c1","s1","c2","s2","tan","hx","hy","m1","m2","m3","m4","newres","findDotAtSegment","curve","bx","by","qx","qy","attrs2","processPath","pcom","Q","fixArc","pp","fixM","a1","a2","seg","seg2","seglen","seg2len","tear","_parseDots","par","_tear","toMatrix","_tofront","_toback","_insertafter","el2","_insertbefore","getBBox","extractTransform","transformPath","_extractTransform","tstr","tdata","sx","sy","Matrix","tlen","command","absolute","inver","translate","dirtyT","getEmpty","equaliseTransform","_equaliseTransform","tt1","tt2","maxlength","_getContainer","getElementById","tagName","pixelWidth","offsetWidth","pixelHeight","matrixproto","norm","mag","me","fromCharCode","toFilter","scalex","shear","scaley","isSimple","isSuperSimple","noRotation","toTransformString","shorter","E","safari","returnValue","preventTouch","originalEvent","cancelBubble","stopTouch","getEventPosition","scrollY","scrollX","scrollLeft","clientX","clientY","addEvent","olde","targetTouches","attachEvent","detachEvent","drag","dragMove","dragi","identifier","_drag","node","nextSibling","opera","getElementByPoint","move_scope","dragUp","unmousemove","unmouseup","end_scope","start_scope","elproto","shape","removeData","getData","f_in","f_out","scope_in","scope_out","mouseover","mouseout","unhover","unmouseover","unmouseout","onmove","onstart","onend","onDragOver","undrag","unmousedown","__set__","itemsArray","setStart","setFinish","setSize","setViewBox","fit","raphael","getOffset","elem","box","ownerDocument","docElem","clientTop","clientLeft","pageXOffset","x_y_w_h","canvas","elementFromPoint","so","sr","createSVGRect","hits","getIntersectionList","getById","raphaelid","getElementsByBBox","bot","thisArg","getElementsByPoint","isPointInside","rp","realPath","isWithoutTransform","removed","dirty","bboxwt","glow","offsetx","offsety","getPointAtSegmentLength","getTatLen","ll","getLengthFactory","istotal","subpath","onlystart","sp","subpaths","getTotalLength","getPointAtLength","getSubpathsAtLength","getSubpath","ef","easing_formulas","linear","backIn","backOut","elastic","bounce","easeIn","easeOut","easeInOut","animationElements","requestAnimFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","animation","paused","ms","easing","that","initstatus","anim","percent","upto255","real","from2","repeat","totalOrigin","runAnimation","percents","animateWith","Animation","newAnim","isInAnim","isInAnimSet","timestamp","toColour","pathes","toPath","to2","easyeasy","CubicBezierAtTime","sampleCurveX","solveCurveX","epsilon","t0","d2","del","stopAnimation","onAnimation","json","setTime","pause","resume","setproto","method","insertion","tail","todel","arglen","exclude","collector","insertAfter","glowConfig","ret","shape2","registerFont","face","fonts","fontcopy","glyphs","family","prop","glyph","getFont","stretch","normal","lighter","bolder","thefont","fontName","print","letter_spacing","line_spacing","letters","notfirst","shifty","descent","curr","fullfill","quotedName","isFunc","ninja","st","readyState","isLoaded","xlink","markers","classic","diamond","oval","markerCounter","$","setAttributeNS","createElementNS","webkitTapHighlightColor","addGradientFill","fx","fy","SVG","_fx","_fy","dir","vector","defs","gradientTransform","fillOpacity","updatePosition","pattern","patternTransform","addArrow","isEnd","refX","se","arrows","endPath","endMarker","startPath","startMarker","pathId","markerId","markerHeight","markerWidth","orient","refY","delta","startdx","enddx","dasharray","none","addDashes","butt","square","dashes","setFillAndStroke","vis","visibility","att","createTextNode","pn","clip","rc","startString","endString","_vbSize","cssrule","tuneText","tspan","texts","tspans","dif","Element","sw","def","subkey","toFront","toBack","fltr","_blur","removeAttribute","preserveAspectRatio","_viewBox","con","isFloating","cnvs","_left","_top","renderfix","vb","getScreenCTM","createSVGMatrix","desc","createNode","fillString","Z","bites","blurregexp","cssDot","pathTypes","ovalTypes","path2vml","vals","isMove","compensation","setCoords","fillpos","flip","kx","ky","coordsize","rotation","coordorigin","fillsize","newpath","isOval","clipRect","dstyle","textpath","textpathStyle","newfill","isURL","newstroke","strokeColor","joinstyle","miterlimit","endcap","dashstyle","span","brect","W","dirtyattrs","dd","bbx","fxfy","color2","clrs","colors","focussize","focusposition","oldt","vbs","_viewBoxShift","vbt","skew","isGrad","isPatt","bbt","runtimeStyle","Path","textpathok","cs","createStyleSheet","addRule","namespaces","rvml","u","Function","SHIFTY_DEBUG_NOW","_filterArgs","isPlaying","_attachment","_scheduleId","_timeoutHandler","_currentState","_configured","_scheduleFunction","setConfig","mozCancelRequestAnimationFrame","tween","_isTweening","_timestamp","_start","_pausedAtTime","_delay","_step","_finish","finish","_duration","_originalState","_targetState","_easing","_isPaused","seek","webkitCancelAnimationFrame","oCancelAnimationFrame","msCancelAnimationFrame","setScheduleFunction","dispose","formula","each","tweenProps","tweenProp","applyFilter","shallowCopy","defaults","composeEasingObject","timeoutHandler","Tweenable","chunkNames","formatString","easeInQuad","easeOutQuad","easeInOutQuad","easeInCubic","easeOutCubic","easeInOutCubic","easeInQuart","easeOutQuart","easeInOutQuart","easeInQuint","easeOutQuint","easeInOutQuint","easeInSine","easeOutSine","easeInOutSine","easeInExpo","easeOutExpo","easeInOutExpo","easeInCirc","easeOutCirc","easeInOutCirc","easeOutBounce","easeInBack","easeOutBack","easeInOutBack","swingFromTo","swingFrom","swingTo","bouncePast","easeFromTo","easeFrom","easeTo","setBezierFunction","unsetBezierFunction","interpolate","tweenCreated","_tokenData","beforeTween","afterTween","ctx","Android","BlackBerry","iOS","Opera","Windows","linePath","findPos","currentStyle","offsetLeft","offsetParent","replaceAll","rotate_bbox","bbox_union","x_in_array","clear_sets","delete_element","to_float","callback_closure","new_style","media","styleSheet","rounded_box","plus","minus","mapdata","mapinfo","hooks","over_state","over_region","over_location","out_state","out_region","out_location","click_state","click_region","click_location","close_popup","zoomable_click_state","zoomable_click_region","refresh_complete","zooming_complete","back","ready","click_xy","plugin_hooks","preclick_state","preclick_region","preclick_location","copy","mobile_device","map_legend","A","S","O","F","I","P","N","D","U","J","K","ee","te","oe","ie","ne","ae","re","le","ue","pe","de","_e","he","fe","ve","ye","ge","be","xe","we","ke","ze","Me","Ee","Ae","Ce","Te","Se","Oe","Be","Fe","Ie","Pe","Re","je","Ne","Le","De","He","qe","We","Ye","Ve","Qe","Xe","Ue","Ze","Ge","Je","Ke","$e","et","tt","ot","it","rt","lt","mt","ut","pt","dt","_t","ht","vt","yt","bt","xt","wt","kt","zt","Mt","Et","At","Ct","Tt","St","Ot","Bt","Ft","It","Pt","Rt","jt","Nt","Lt","Dt","Ht","qt","Wt","Yt","Vt","Qt","triangle","heart","star","Xt","over_attributes","adjacent_attributes","attributes","Ut","Yo","hover_color","Zt","Gt","Vo","ignore_hover","Qo","shape_type","Jt","Kt","$t","So","eo","pageX","pageY","zooming_dimensions","uo","oo","io","ao","ro","lo","co","mo","vi","ti","po","background_image_url","background_image_bbox","js_hooks","popup_orientation","popup_centered","popup_maxwidth","adjacent_opacity","zoom_increment","zoom_mobile","custom_shapes","hide_eastern_labels","order_number","_o","ho","fo","calibrate","x_adjust","y_adjust","vo","hostname","go","hover_opacity","description_mobile","inactive","zoomable","hide_name","region_hide_name","region_popups","cascade","region_cascade_all","image_url","image_size","state_image_size","image_position","image_x","state_image_x","image_y","state_image_y","image_color","state_image_color","image_background_opacity","image_hover_url","state_image_hover_url","image_hover_size","state_image_hover_size","image_hover_position","state_image_hover_position","image_hover_x","state_image_hover_x","image_hover_y","state_image_hover_y","image_hover_color","state_image_hover_color","pulse_size","state_pulse_size","pulse_speed","state_pulse_speed","state_pulse_color","pulse_color","image_source","all_states_hidden","hide_label","state_hide_name","border_hover_color","border_hover_size","emphasize","state_popups","state_opacity","state_hover_opacity","state_description_mobile","pu","font_family","label_opacity","label_hover_opacity","label_scale","scale_limit","label_rotate","line_color","label_line_color","line_size","label_line_size","line_x","line_y","parent_type","label_anchor","pill_width","label_display","display_ids","scale_limit_mobile","location_hover_color","hover_border","location_description_mobile","pulse","location_pulse","location_pulse_size","location_pulse_speed","location_pulse_color","all_locations_hide","location_scale","location_image_position","image_hover_source","location_image_hover_source","location_image_hover_url","location_image_hover_position","location_popups","location_display","location_hide_name","dash","line_dash","origin_location","destination_location","lines","borders","bo","opt1","opt2","xo","zp","wo","ko","zo","Mo","point0","Eo","Ao","qo","Ho","Co","To","Oo","zoom_level","zoom_level_id","Bo","Fo","on_click","Io","Po","namespaceURI","bg_opacity","Ro","emphasizable","popup_off","jo","No","Lo","Do","auto_size","out_attributes","labels_display","location_auto_padding","Wo","original_transform","underlay","Uo","changedTouches","Go","Jo","ri","Ko","resizeObserver","ResizeObserver","observe","onresize","touchstart","touchend","Zo","mouseIsOver","onmouseover","onmouseout","onwheel","deltaY","activeElement","$o","ei","yi","back_image","back_image_url","require","documentMode","pop_ups","mobile_scaling","fly_in_from","keyboard_navigation","allow_scrolling","onmousemove","update_pos","reset_pos","set_pos","navigation_color","navigation_border_color","navigation_opacity","arrow_border_color","navigation_size","navigation_size_mobile","arrow_box","Image","zoom_in","zoom_out","navigate_title","keyboard_omit","float","onchange","states_title","regions_title","locations_title","dropdown","si","r1","ai","r2","ni","stoke","li","ignore_clicks","oi","mi","_i","hi","fi","get_xy","region_zoom","state_zoom","location_zoom","pulse_state","popup_hide","disable_urls","enable_urls","disable_popups","enable_popups","refresh","trial","docReady","Track","RailTrack","CustomSlider","MainWrapper","CustomSliderWrapper","onUpdate","handleUpdate","Rail","getRailProps","SliderRail","Handles","handles","getHandleProps","handle","Handle","customHandleComponent","Tracks","tracks","getTrackProps","_this_props_mode","componentProps","RailHandleWithCustomSVG","RailHandle","Slider","getLengthValue","setWeight","setLength","StyledSliderResults","stepLength","stepWeightMinus500","stepWeight500","stepWeight","hideDuration","snackbar","SnackBarWrapper","autoHideDuration","handleCloseSnackbar","SnackbarContent","dismissSnackbar","snackbarState","Message","CustomIcon","Submit","strong","ManageLine","ManageLineContainer","Left","ManageLineTitle","Right","actionTitle","isManageAvailable","StatusBarComponent","updateActiveSteps","_prevProps_currentLoad_metadata_userdata","_this_props_currentLoad_metadata_userdata","_prevProps_loadFolderIdentifier","_this_props_loadInfo","_prevProps_loadInfo","_this_props_loadInfo1","_prevProps_loadInfo1","_this_props_loadInfo_isProgressUpdating","_this_props_loadInfo3","showQuoteResponsePopup","cSteps","activeStep","getStatusTitle","StatusBarIcon","BottomStepper","orientation","connector","QontoConnector","QontoStep","StepLabel","StepIconComponent","QontoStepIcon","CheckBoxRow","StepCheckbox","prepareStep","getCheckboxAvailability","QontoConnectorVertical","getStepContent","sendFuelAdvanceRequest","getUserDataForQuotesRequest","sendPayFasterRequest","preparedStep","setStep","showUnBookPopup","cState","completed","isUnavailableStep","SelectedSVG","UnselectedSVG","onVhubBookClick","_this_props_currentLoad_vHub","_this_props_popupContext","showPopUp","showGetPaidFasterInfoPopup","showFuelAdvanceInfoPopup","isDocumentsLoading","fuelAdvanceRequestDate","getQuoteRequestDate","payFasterRequestDate","StepDescriptionBlock","Description","ColumnWrapper","StatusBarContactOptions","onVhubBook","isHeightAuto","SubTitleContainer","WrapperLabelSent","LabelSent","_this_props_currentLoad","getStatusColor","_this_props_currentLoad_metadata_userdata1","loadProgressTitle","_user_profile","companyCity","quoteType","requestQuote","VhubBookButton","isBidSent","ActionButtonBold","PopupLink","SingleTextLine","BoldSingleTextLine","visitLink","_quote_postQuoteResponse","_quote_postQuoteResponse_error","requestStatus","errorContent","compose","Step","Stepper","lineHorizontal","borderTopWidth","StepConnector","borderLeft","lineVertical","StepContent","StepDescriptionBlockLastElement","TableSizeState","LOCATION_LENGHT_LIMIT_LARGE","LOCATION_LENGHT_LIMIT_SMALL","EQUIPMENT_LENGHT_LIMIT_LARGE","EQUIPMENT_LENGHT_LIMIT_SMALL","stringifyTimeObj","timeString","stringifyAge","justNowMessage","stringifyLoadEquipment","stringifyAll","tEquipments","equipmentString","StyledLoadTable","StyledIconButton","ThemedCell","ExpandableThemedCell","tableCell","NoBorderThemedCell","ArrowCell","ThemedLargeDiv","HiddenDiv","MediumCellDiv","centered","MediumCellTopSubDiv","MediumCellBotSubDiv","ExpandableCellSubDiv","LowerButtonDiv","CenteredCell","CenteredCellDiv","ButtonCenteredCell","StyledTableRow","LoadTableRow","ExpandableTableRow","ExpandableIconDiv","InfoListDiv","InfoListSubDiv","TruckElementComponent","sizeState","hasBorder","renderCellsLarge","renderCellsSmall","DenseCell","ExpandMore","onSelection","isTabletSize","_truck_contactPhone","renderCheckbox","renderCell","trimString","getCompanyNameMaxLength","getTooltip","renderRating","truckAlertSent","_truck_rating","VerticalCellRow","VerticalCellColumn","alertSentIcon","flexBasis","marginOnNothing","shouldHideMultiSelect","NonMatchesMargin","styleChange","expandOnClick","notificationInfo","messagesReceived","_truck_notificationInfo","messagesCount","recentMessagesCountFromCompany","tooLong","datesToDisplay","isCompanyActionLoading","currentTruckId","TruckElement","ownProps","truckState","setSelectedTruck","perMileRate","getBorder","paler","IteractableDiv","StyledTruckTable","SeparatorCell","SeparatorCheckboxCell","HeaderDenseCell","StyledSeparatorCheckbox","ExpandLessIcon","sideways","TruckTableHeader","WarningMessage","Tab","MaterialTab","Tabs","MaterialTabs","isErrorWithText","inputMode","Wrapper","InlineWrapper","getTextStyle","getFontSize","getFontFamily","getLineHeight","getLetterSpacing","letterSpacing","getTextTransform","header1Tab","unselectedColor","truncateOverflow","parseChildren","nodes","parseText","DialogBackdrop","RibbonDiv","colorForMessageType","RibbonTextDiv","DismissButton","ImageIcon","TopRibbonComponent","RibbonBase","withBackdrop","isDismissable","dismissed","iconForMessageType","RenderTexts","feedbackState","wasRequestSent","setWasRequestSent","handleSubmitSuccess","handleSubmitFailure","submitRequestFeature","handleRequestClick","isSettingsLink","isRequestLink","topRibbon","StyledPanelWrapper","StyledTripHeader","_searchParams_get","enableMapSet","appComponent","partner","MessagingWidgetApp","App","ReactDOM","BugsnagErrorBoundary","registerServiceWorker","CapacityType","CapacityAvailabilityType","CapacityLocationType","CapacityFilterType","CapacityFinderSortCategory","CapacityLoadSize","CapacityFinderFilterType","DEFAULT_CAPACITY_FINDER_RADIUS","MIN_AGE","MAX_AGE","CapacityFinderKeysSortBy","CapacityFinderListSortByOptions","compareCapacityFinderSortOptionsByField","capacityFinderKeyFromSortCategory","capacityFinderFilterOptionsFromSearchFilterDraft","isOnboardedCarriers","isFavoriteCarriers","isGpsVerified","isActiveAuthority","isTeamDrivers","selectCapacityFinderFilterOption","DEFAULT_SEARCH_FILTER_DRAFT","pickupRadius","dropoffRadius","selectedCapacityFinderFiltersCount","selectedFilterSections","flatten","shouldHideClearFiltersButton","selectedSectionsCount","selectedCapacityFinderFilterOptions","selectedSearchFilter","_selectedSearchFilter_age","existingSections","omitFilterByCapacityFinderFilterType","shouldConstantlyDisplayFilter","createDefaultDispatchersRequest","PickerViewType","AvailabilityType","createLoadMetricsHistoryRequest","INITIAL_EQUIPMENT","MY_POSTED_LOADS_REQUEST_LIMIT_APPENDING","POSTED_LOADS_POSTER_FIELD","POSTED_LOADS_REQUEST_FIELDS_WITH_POSTER","POSTED_LOADS_REQUEST_FIELDS_DEFAULT","POSTED_LOAD_DETAIL_REQUEST_FIELDS_DEFAULT","DEFAULT_SOURCE","SOURCE","Manual","MCP","POST_LOADS_MIN_LENGTH_DOMAIN","POST_LOADS_LENGTH_STEP","POST_LOADS_MIN_WEIGHT_DOMAIN","POST_LOADS_WEIGHT_STEP","PrivateMemberSortDirection","LoadBoardType","getLoadBoardType","createDefaultRecentPostedLoadsRequest","createDefaultLoadPostSearchRequest","statusFilter","createDefaultLoadTemplatesRequest","DispatcherStatus","DispatcherSource","UnitAbbreviation","UserRoles","AspxEmbedIframe","onIframeMessageReceived","renderIFrame","shouldComponentUpdate","nextProps","nextIframeUri","updateIfNeeded","sourceUrl","divRef","currentIframeUri","checkAppVersion","boxSizing","WebkitOverflowScrolling","timerId","reactUrlString","mapAspxUrlToReactUrl","nextReactUrl","currentReactUrl","hash","aspxPageTitle","navigate_route","navigate_action","debounce","currentIframeUrl","nextIframeUrl","mapReactUrlToAspxUrl","reactUrl","aspxLinks","reactToAspxMatch","aspxUrl","embedAspxUrl","matchedRoute","aspxToReactMatch","AspxPage","onBack","iframeSrc","exactMatchASPXRoute","defaultTitle","reactPath","aspxPath","prefixMatchASPXRoute","ASPX_ROUTES","suffixMatch","aspxGenericOnlineMatchASPXRoute","aspxGenericRootMatchASPXRoute","appendQueryAndHash","targetUrl","reactLocation","pageTitle","aspxLocation","reactPathSuffix","aspxPathSuffix","aspxPathLowercase","truncatedAspxPath","titleSuffixRemovalRegex","paymentOption","membershipProfile","AspxSwitcher","_profile_payload","aspxMap","locationMatch","currentRoute","isExact","Redirect","isAccountSetupRequiredForBillingStatus","billingProfileStatus","defaultPageTitle","aspxPage","PageMetadata","SELECTED_BOTTOM_BORDER","BOTTOM_BORDER","CardContainer","hasNewMessages","BIDS_LIST_CARD_HEIGHT","CardText","isGreyedOut","CardCompanyNameText","CardContentText","CardHeaderContainer","DateStatusWrapper","NotificationDotWrapper","BidsNotificationDot","BidCardListItem","_bidSummary_mostRecentActivity","_ref1","bidSummaryInfo","useBidID","pushPanel","loadDetailsSearchParams","isStandalone","getBidSummaryStatusInfo","tagColor","tagTitle","BidLoadInfoBanner","VendorBidCardListItem","_bidSummary_rate","_bidSummary_rate1","_bidSummary_rate2","_bidSummary_createdOn","vendorBidSummary","openLoadDetails","bidSummaryLoad","referenceNumber","loadCompanyName","LoadInfoContainer","BottomLoadInfoContainer","_props_load_rate1","_props_load_rate2","refNumber","IconAndCompanyInfoContainer","InfoStatusContainer","NameDateContainer","BiddingValueStatusContainer","BidCardSummaryItem","_first","_bidLoadIDFromRouteProps","_props_bidId","bidIdFromHistoryLocation","BID_ID_INDEX","mostRecentBidID","bidIdFromPropsOrPathname","bidIDFromRouteProps","bidLoadIdFromHistoryLocation","BID_LOAD_ID_INDEX","bidLoadIdFromPropsOrPathname","pushViewOfferPanel","_bidSummary_load_id","_bidSummary_load_id1","_bidSummary_load2","_bidSummary_load_id2","bidsParams","BIDDING_SUMMARY_CARD_HEIGHT","CompanyLogo","shouldUsePlaceholderIcon","BidRateCheck","onCloseInfoPopup","_state_rateCheck_rateCheckError","rateCheckValue","handleClickRate","BidFormContainer","BidExpirationTimeContainer","BidFormPanel","_props_previousBidSummary","_props_previousBidSummary1","_props_previousBidSummary_mostRecentActivity","_props_previousBidSummary_mostRecentActivity1","_props_previousBidSummary_load_rate","_props_previousBidSummary_load_rate1","previousBidRate","isPlaceNewBidPanel","previousBidSummary","isCounterofferPanel","offerValue","setOfferValue","isExpirationTimeInvalid","isLoadLoading","offerId","editMessage","counterofferMessage","_history_location_search","BidInfoRibbon","isViewingOffer","BidTextContainer","BidFormButton","_props_previousBidSummary_otherParty","showPlaceBidPopup","showDOTVerificationPopup","isBiddingV1Enabled","isBiddingV2Enabled","getBidTagInfo","bidDisplayState","_bidSummary_otherParty_company_name","bidTagInfo","amountAndBroker","displayState","useAckOnBidUpdate","bidSummaryId","ackAction","useIsV2BidsActive","BidsList","_history_location_pathname_split_BID_ID_INDEX","bidSummaryIds","paramsBidId","bidsList","BidsLoadDetails","_bidIDFromRouteProps","_props_panelOffset","loadDetailsTabs","openedLoadDetailsTabs","panelType","offerViewFromRouteProps","pushPCMilerMap","pushTruckPostPanel","panelOffset","conversationLoadID","tabs","setOpenedTabs","isInteractive","BidsPCMilerMap","_props_scrollRef","_props_isInteractive","vendorBidsSummary","bidsVendor","isLoadingVendorBids","isLastVendorBidPage","nextVendorBidsToken","brokerAcceptsBids","bidFilters","isBidFiltersEmpty","innerScrollRef","isCommunicationsOrigin","isErrorScreen","isInteractiveListEmpty","isPartnersBidsListEmpty","ErrorScreen","BidsFilterSection","EmptyFiltersScreen","EmptyScreen","VendorBidsList","BidsDisabledByBrokerScreen","EmptyBids","filterState","setFilterState","cancelFilterChip","newFilters","DisabledBidText","BidsPanelHeader","markAsViewedState","prevMarkAsViewedIsLoading","handleMarkAllBidsAsViewed","onClickInfo","dialogMessage","menuItems","closeAndRedirect","routeProps","bidLoadIDFromRouteProps","_updatedBid_otherParty","_updatedBid_load","is123BiddingEnabled","convertUrlSearchParamsToObject","panelsLayer","paramsLoadId","paramsOfferId","otherPartyId","isBidSummaryOpenAndUpdated","didReceiveANewBid","isNewBidFromCurrentContact","_updatedBid_load1","pathnameValues","_loadDetailsSearchParams_redirectLoadDetailsSearch","isBrokerOrFindLoads","BidsPanel","BidsTabsPanel","BiddingSummary","BidSummaryPanel","BidsFilterPanel","BidsEncoder","rawObject","TabNames","TabLabel","TabItem","a11yProps","onTabClick","redirectTab","getCurrentTab","indicatorColor","Route","closePanel","createHandleChange","filtersForQuery","HistorySectionHeader","HistorySectionTitle","HistoryTitle","HistorySubtitle","HistoryPrice","Price","BidHistoryList","hasPlaceNewBidCard","updatedBidIds","BidHistoryItem","_bid_mostRecentActivity","cardTitle","BidIconPale","EndContainer","BidInfoRibbonSummary","_props_bid_otherParty","_props_bid_otherParty1","_props_bid_load_rate","_props_bid_load_rate1","_props_bid","OtherPartyContactInfo","rateAmount","rateType","AvatarAndContactInfoContainer","InfoBoldText","LabelText","_carrierInfo_companyName","replaceMCSuffix","CompanyProfileLogo","HeaderText","NoActionBidItem","statusColor","ActionBidItem","isNewBid","offerActions","useDropdownMenu","onMenuClick","onMenuClose","getPanelLabel","getStatusText","getTextContent","textContent","brokerName","tArgs","_params_offerID","_params_otherPartyUserID","isIPadView","useIsiPadView","closeLocationToList","pushOfferPanel","pushPlacedNewOfferPanel","isBidLoading","isOnlineLoading","_bidSummary_offerMadeByMe","_bidSummary_bidId","getAckStatusAction","BidSummaryListComponent","_props_bidSummary","_props_bidSummary1","_props_bidSummary2","_props_bidSummary3","_props_bidSummary4","_props_bidSummary5","_props_bidSummary6","_props_bidSummary_bidId","_props_ids","_props_bidSummary8","_props_bidSummary_mostRecentActivity","_props_bidSummary_price","_props_bidSummary11","_props_bidSummary12","_props_bidSummary13","_props_bidSummary14","_props_bidSummary15","_props_bidSummary16","_props_bidSummary_otherParty","_props_bidSummary18","_props_bidSummary19","_props_bidSummary20","_props_bidSummary21","pushNewBidPanel","pushCounterofferPanel","pushEditOfferPanel","OfferButton","PendingOfferActions","isLoadingAction","onAccept","onCounter","onReject","ExpirationTimeBanner","shouldDisplayErrorPanel","setShouldDisplayErrorPanel","biddingSummaryIds","isLoadingSummaries","isLastPageSummaries","nextTokenSummaries","mostRecentBidSummary","TimeLeft","padStart","gap","HeaderContainer","RowsContainer","AttachmentsSectionItem","AttachmentsSectionTitle","AttachmentsSectionItemName","LoadInfoWrapper","LoadInfoContent","CommunicationBrokerLoadDetails","closeInfoPanel","loadResponseState","statusContent","HasMoreSpace","HasExtraSpace","CommunicationChat","_conversationInfo_response","_conversationInfo_response1","_conversationInfo_isLoading","_otherUserInfo_status_online","messageBottomRef","lastMessageID","hasMarkedAsRead","setIsOtherUserOnline","document1","isLoadingFolder","conversationInfo","_state_communication_conversations_get","otherUserInfo","useOtherUserInfo","userOnlineStatus","prevOtherUserInfo","prevUsers","isConversationEnabledForContact","useEnableConversationForContact","useAutoRefresh","_update_messages","_message_users","userIds","isLastMessageVisible","setLastMessageVisible","newLastMessage","latestMessage","offlineDisabledUser","OfflineMessage","isOffline","ContactMessagingDisabled","hasMessages","isInvalidConversation","shouldShowLoading","hasLoadID","ConversationLoadHeader","MessagesList","onLastMessageVisibilityChange","NewConversationBanner","ViewAttachmentsPanel","documentFile","LoadingFullscreenPanel","_props_documentFile_name","setIsMenuOpened","_documentFileData_file","downloadBase64File","DownloadSVG","ViewDocument","documentBase64","isCommunicationsAttachments","documentName","isLoadingConversation","useMessageBubbles","conversationUsers","useConversationUsers","requestLocationFromConversation","carrierTracking","chatMessages","datesGroupSet","msgs","_msgs_","_otherUserInfo_user_userId","dateMessage","ReactVisibilitySensor","LoadHeaderContainer","ChipContainer","Separator","ButtonsContainer","LeftButtonContainer","LeftHeaderButton","BidHeaderButton","_otherUserInfo_status","_formatTimeFromNow","mapConversationOriginUIToLoadSearchType","isCarrierMenu","_state_loadDetails_currentLoad","isLoadLocatorEnabled","_state_bids_bidLoadDetails_loadSearchType_load","isBidsEnabled","pushContactPanel","pushDetailsPanel","onInteractiveBid","onClickBid","loadBidOption","onRequestLocation","isDisplayingVerificationInfo","ChatHeaderNameStatus","ConversationLoadInfo","loadIDFromRouteProps","backhaulsLoadIDFromRouteProps","conversationIDFromRouteProps","alertIDFromRouteProps","alertID","CommunicationLoadDetails","setIsBroker","currentCompanyID","conversationContactInfo","_conversation_metadata","_conversationContactInfo_poster","_conversationContactInfo_poster1","CommunicationPCMilerMap","closePostTruckPanelPath","useGetBaseUrl","appendedPath","LoadContactInfo","ConversationContactInfo","AuthorityType","getContactInfoDetails","_contactInfo_phone","_contactInfo_usdotNumber","_contactInfo_companyName","clearedMcNumber","usDotNumber","nameLabel","getFMCSAAuthority","authType","companyAuthority","_companyAuthority_filter_","ContactInfoText","ContactInfoNameText","ContactInfoLink","LoadContactInfoSection","ContactInfoSection","TextRow","TextColumn","AvatarNameContainer","InitialsViewer","ImagePlaceholder","AvatarAndNameSection","ContactAvatarAndName","contactInitials","contactName","CompanyAvatarAndName","LoadContactInfoRow","_props_value","displayedValue","ContactInfoColumn","ContactInfoTwoColumns","getLoadPosterName","getContactInitials","_contactInfo_broker_firstName","_contactInfo_broker_lastName","_contactInfo_carrier_name","_first1","nameParts","getCompanyCityState","phoneNumberOrEmpty","onPhoneClicked","ConversationCard","_props_conversation_metadata","numberOfNewMessages","mostRecentMessageDate","ConversationUserInfo","NameContainer","UserInfoContainer","_props_user_userId","reference","loadLocationString","orig","dest","OfflineWarnContainer","NewConversationContainer","NoMarginUList","StyledCarrierDetailsColumn","_conversationLoad_poster","_conversationLoad_poster1","_conversationLoad_id","contactID","isLoadingContact","_state_contact_contacts_get","conversationLoad","isViewingBrokerInfo","contentHeight","panelHeight","isMeasurementOver","Measurer","useContentHeightMeasurer","openTabs","openCarrierDetailsTabs","setOpenCarrierDetailsTabs","ContactInfoContent","isViewingBroker","renderContentViewCarrierInfo","CarrierRating","CarrierDetailsTabs","_contactInfo_broker","_contactInfo_broker1","_contactInfo_carrier","_getLoadPosterName","chatContactInfo","conversationStatus","LoadPosterCompanyData","_contactInfo_carrier1","contactInfoDetails","_contactInfoDetails_id","displayInfo","phoneVerificationStatus","_contactInfo_carrier2","_contactInfo_carrier3","_contactInfo_carrier_docketNumber","_contactInfo_carrier5","_contactInfo_carrier_commonAuthority","_contactInfo_carrier_commonAuthority1","_contactInfo_carrier_truckCount","_contactInfo_carrier_totalFmcsaInspections","_contactInfo_broker2","_displayInfo_companyName","_state_companyAvatar_companiesAvatarMap_get","isContactInfoVerified","shouldDisplayBothRolesInfo","_conversationLoadDetails_conversation","_currentConversation_metadata","_conversationMetadataLoad_poster","currentUser","currentConversation","allowMessagingOnLoads","canInitiateConversation","conversationMetadataLoad","conversationCreatedBy","isLoadPoster","isCarrierConversationEnabled","userMap","isLoadingCurrentUser","_store_contact_contacts_get_carrier","_store_contact_contacts_get","ConversationList","ViewsFilterBy","Conversations","CommunicationLoader","useConversations","conversationMap","_props_load_poster2","_props_load_id","_company_address","_company_address1","_company_name","_brokerAuthority_status","_brokerAuthority_status1","_company_id","TiaLogo","conversationContactID","LoadConversationsBrokerOriginUIs","WarningBannerContainer","BannerButtonContainer","IconTextContainer","ActivateButton","deviceIdForToken","registerToken","newToken","postNotificationToken","didRegisterNewTokenSucceed","updateNotificationToken","enableNotificationToken","askForPermissionToReceiveNotifications","dialogTitle","dialogContent","getDialogContent","LINK_BROWSER_NOTIFICATIONS","SubtitleStatusContainer","UserStatus","offlineTime","isLoadingConversationLoadDetails","DATA_ATTRIBUTE_NAME","htmlToAppend","shouldAppendLinks","appendLinks","dataSource","links","headLinks","doesElementExist","cloneNode","scripts","headScripts","script","script1","innerText","styles","useClearLinksFromPreviousSource","dataSrc","sourceList","comparisonAttributeName","foundResult","listElement","PROMOTION_PANEL_DEBUG_ID","shouldUsePromotionPanel","usePromotionPanel","promoSource","fetchPromo","clearPromo","PromoContent","promo","shouldAppendPromoLinks","appendPromoLinks","innerPromo","panelTracking","listOfOpenedPanelsWithoutPromo","firstOpenedPanel","isFirstPanelSmallAndOpened","containsXLargePanelOnTop","isEnoughSpace","RatingLabel","ReviewLabel","RatingTypeLabel","StarContainer","LogoContainer","RatingDetailContainer","RatingDetailRow","RatingLabelBold","renderStars","openCarrierSource","CarrierSourceIcon","fullStars","StarIcon","remaningRating","partialStar","clamp","GenericErrorContainer","EmptyPageIcon","lg","xl","TopPadding","BottomPadding","defaultAlertImage","LoadSearchRequestEncoder","CS","CM","ts","cIds","cm","wL","wW","lS","pD","eT","mW","mL","sB","dr","fs","lT","lG","cr","cId","cv","eS","wGPD","wGDD","sL","iS","reg","sD","cND","cTD","seD","sdD","didUrlParamsChange","prevUrlParams","currUrlParams","didCompanyUrlParamsChange","currentLoadSearchObject","previousLoadSearchObject","companySearchData","convertUrlParamsToLoadSearchFilters","rawObjectRequest","parseLoadSearchRequest","parseCompanySearchRequest","mapData","parseMapData","companyMapData","companySearchId","parseLoadSearchMetadata","companyMetadata","convertUrlParamsToDirectorySearchFilters","defaultSearchDirectoryData","searchDirectoryData","parseDirectorySearchRequest","FindLoadsModals","LoadAvailabilityEncoder","ss","sb","sd","convertUrlParamsToLoadAvailabilityRouting","selectedState","loadAvailabilityEncoder","LoadAvailabilityTabNames","useRouteQuery","createURLParams","getRequestQuery","currentAvailability","getAvailabilityRequestByTabName","getIsDensityMap","isDensityMap","getTabIndex","getAvailabilityTypeFromTabName","fetchLoadCountsByRoute","getSearchData","getDaysForBackhauls","fetchRateCheckInfo","fetchTrucksLkl","DEFAULT_RADIUS_OPTION","getThirdPartyLaneRatesRequest","sources","fomat","newSearchRequest","fetchExpediteAllRateInfo","TEST_ID","MinMaxContainer","MinMaxValueColumn","TopText","BottomText","MinMaxValue","minPerMile","chipColor","averagePerMile","maxPerMile","DocumentInfoContainer","DocumentInfoContainerColumn","DocumentTypeText","DocumentName","FolderContainer","hasTopElement","FolderInfoContainer","FolderName","LoadOriginDestination","documentMenuOptions","SendSVG","attachToSend","testId","RenameSVG","ChangeFolderSVG","ChangeTypeSVG","DeleteSVG","attachedDocumentOptions","ViewSVG","viewDocumentOptions","selectFolderOptions","SelectSVG","EditSVG","ActionsMenuContent","folderInfoElement","FolderSVG","originDestination","folderInfoHeaderElement","useDocumentActions","onDownloadStart","onDownloadEnd","prevIsLoadingDocumentData","communicationDocuments","myDocsDocuments","attachedDocuments","newAttachments","attachedDocument","showDeleteDocumentPopup","showDialogCreator","deleteAction","showDeleteFolderPopup","showDeleteCustomFolderPopup","FullHeightContainer","MyDocumentsEncoder","lid","tdf","ds","did","dn","rldp","rlcm","rlds","frml","typeDocumentFolder","pdfjs","BrowserPDFViewer","VerticalSpace","PDFViewer","FallbackPDFViewer","numPages","setNumPages","Document","onLoadSuccess","nextNumPages","Page","pageNumber","PreviewNotAvailable","ErrorSVG","isCommunication","objectUrl","objectUrlFromBase64","base64Encoding","TypeUsers","UserSortingTypes","editUsers","newUser","LAST_NAME_MAX_LENGTH","COMPANY_NAME_MAX_LENGTH","EXT_MAX_LENGTH","EMAIL_MAX_LENGTH","RegisterForm","_props_recaptchaSiteKeyName","onFirstNameChange","onLastNameChange","onCompanyChange","onPhoneChange","onExtChange","onEmailChange","renderRecaptcha","recaptchaSiteKeyName","onCaptchaValidation","onCaptchaInvalidate","EditingModes","PostedLoadsPanelModals","FilterPanelPanelModals","PostLoadsPanelModals","PostingContactsModals","PostType","generateLoadPostingRoute","matchParams","omitBy","otherFeeChange","dispatchFeeTypeChange","dispatchFeeChange","tollCostChange","rateChange","costPerMileChange","milesChange","costPerGallonDiscountChange","deadheadMilesChange","mpgChange","costPerGallonChange","fieldFocus","_s1_miles","_s2_miles","_s1_costPerMile","_s2_costPerMile","_s1_mpg","_s2_mpg","_s1_costPerGallon","_s2_costPerGallon","_s1_costPerGallonDiscount","_s2_costPerGallonDiscount","_s1_tollCost","_s2_tollCost","_s1_dispatchFee","_s2_dispatchFee","_s1_otherFee","_s2_otherFee","_s1_deadheadMiles","_s2_deadheadMiles","initialPersistedCalculatorData","safeGetItem","parsedPersistedData","safeSetItem","stringify","locationMatchToLoadLocationCity","_locationSuggestion_city","_state_mpg","_state_costPerGallonDiscount","_state_mpg1","_state_costPerGallonDiscount1","valueWithComma","ArrowImage","downArrow","upArrow","useRateCheck","useRateCheckRequest","resetRates","useFlatRateCheckMinMax","locationMatchToRateCheckLocation","_locationSuggestion_zipCode","isWithZipCode","mainLocationInformation","convertWeeksToDisplayableString","RateHistoryHeader","RateHistoryDate","_minMaxPerMile_month","_minMaxPerMile_max","_minMaxPerMile_average","_minMaxPerMile_min","minMaxPerMile","RateCheckHistory","minMaxProps","containerComponent","VictoryVoronoiContainer","labelComponent","VictoryAxis","tickFormat","strokeDasharray","dependentAxis","crossAxis","tickCount","MAIN_PATH","RESULTS_PER_PAGE","PrivateNetworkSubRoutes","addMembers","useLoadBoard","loadBoardId","privateNetwork","loadBoards","useDefaultLoadBoard","defaultLoadBoardId","userLoadBoard","isLoadingLoadBoards","loadBoardError","getDefaultLoadBoard","useDefaultLoadBoardWithWhiteList","getWhiteList","useDebouncedFilter","whiteList","dotFilter","setFilteredList","debouncedChange","whiteListItems","filterValue","getPageNumber","BidAvatarImageViewer","_props_companyId","InitailsBubble","companyProfileAvatar","_props_contactId","DEFAULT_TRUCK_FILTERS","LocateTruckEncoder","convertUrlParamsToFilters","_parseNumber","_parseBoolean","_parseBoolean1","_parseBoolean2","_parseBoolean3","getRadiusOption","convertFiltersToUrlParams","radiusOption","destinationAmount","flatMap","formatTruckLocation","formatedDestination","destinationElements","Popover","preferPlace","place","ConfirmationCheckbox","TrialExtensionFrame","ExtensionContentText","ExtensionTextContainer","CheckboxContainer","RadioTextContainer","SingleButtonContainer","TwoButtonsContainer","TwoSmallButtonsContainer","SmallButtonWrapper","ThreeButtonsContainer","ContinueUnsubscribeButtonWrapper","ExtensionButtonWrapper","SectionContainer","SectionPopupContainer","TwoSectionsContainer","ButtonTextContainer","BigButtonWrapper","createBrowserHistory","anonymousMemberApi","AnonymousMemberApiService","MemberApiService","RawApiService","rootEpic","combineEpics","createCapacityFinderEpic","createCarrierEpic","createFeedEpic","createInboxMessageContentEpic","createLoadMetricEpic","createLoadVisibilityRulesEpic","createLocationEpic$","createMembersEpic","createMileageCalculatorEpic","createOnboardedCarriersEpic","createPCMilerEpic","createPostLoadEpic","createPostLoadFormEpic$","createPostingContactsEpic","createPrivateNetworkEpic","createReducerSyncEpic$","createSearchDirectoryCompanyEpic","createTruckEpic","createURLScrapeEpic","createUnsubscribeEpic","createUserSettingsEpic","createVerifyEmailEpic","createWelcomebackCampaignEpic","epicMiddleware","connectedHistory","baseReducer","persistReducer","storage","localStorage","router","routerMiddleware","createEpicMiddleware","middleware","applyMiddleware","connectedRootReducer","combineReducers","applicationSettingsReducer","whitelist","migrate","migrateAppSettings","capacityFinder","capacityFinderReducer","carrierReducer","connectionErrorReducer","feedReducer","fuelCardQuoteState","identifyVerificationState","inboxMessageContent","inboxMessageContentReducer","inboxState","loadDetailsTabsStateReducer","loadFeedback","loadMetrics","loadMetricsReducer","loadSearchFormReducer","loadVisibilityRules","loadVisibilityRulesReducer","loadsState","LocationPickerReducer","locationReducer","membersInfoReducer","mileageCalculatorReducer","onboardedCarriers","onboardedCarriersReducer","panelState","panelReducer","paymentState","PCMilerReducer","postingContacts","postingContactsReducer","postLoadFields","postLoadsFormReducer","postedLoads","postedLoadsReducer","postedLoadsPanelActions","postedLoadsPanelActionsReducer","privateNetworkReducer","roadsideAssistQuoteState","routeState","connectRouter","searchDirectoryCompanyReducer","sharedLoadState","snackbarReducer","termsAndConditionsState","postAvailabilityFormReducer","truckLocatorReducer","trucksReducer","truckingAuthorityQuoteState","tutorialState","underDevelopmentReducer","underDevelopmentStateReconciler","unsubscribeState","unsubscribeReducer","urlScrape","urlScrapeReducer","userActivityReducer","usersSettingsReducer","verifyEmail","verifyEmailReducer","welcomebackCampaignState","welcomebackCampaignReducer","composeEnhancers","createStore","persistStore","SET_MENU_LAYOUT","TOGGLE_MENU","OPEN_MENU","CLOSE_MENU","setExpandedSectionAction","toggleSideMenuSectionAction","sectionList","oldSettings","getItem","oldMenuSettings","removeItem","fetchCapacitiesAction","fetchMoreCapacitiesAction","setSelectedCapacityAction","updateCapacityFinderSearchFormAction","updateCapacityFinderLastSearchFormAction","setSortByOptionAction","updateSearchFilterDraftAction","clearSearchFilterDraftAction","setSelectedSearchFilterAction","fetchCapacities","capacitiesRequest","fetchMoreCapacities","setSelectedCapacity","capacity","updateCapacityFinderSearchForm","updateCapacityFinderLastSearchForm","setSortByOption","updateSearchFilterDraft","clearSearchFilterDraft","setSelectedSearchFilter","capacities","capacitiesResponse","selectedCapacity","lastSearchFormData","_state_searchForm2","_state_searchForm3","newOriginText","destinationText","newDestinationText","originText","capacityFinderClient","CapacityFinderClient","fetchCapacities$","CarrierActionType","fetchCarriersAction","fetchFavoriteCarriersCountAction","fetchBlockedCarriersCountAction","fetchMoreCarriersAction","favoriteCarrierAction","blockCarrierAction","favoriteCarriersBulkAction","blockCarriersBulkAction","clearCarrierUpdateAction","fetchCarriers","carriersRequest","fetchFavoriteCarriersCount","carrierCountRquest","fetchBlockedCarriersCount","fetchMoreCarriers","removeFavoriteCarrier","favoriteCarriers","unblockCarrier","blockCarriers","clearCarrierUpdate","carrierMapHistoryApiAction","carriersUpdate","favoriteCarriersCount","blockedCarriersCount","fetchedCarriersReducer","updateCarriersList","_action_fetchData_contactIds","updateCarriersCount$","removeCarriers","updatedCarriersIds","updatedCarrierId","updateCarriers","updateCriteria","shouldUpdateCarrier","updateCarrier","shouldRemoveCarriers","newCarriers","carrierInfoClient","setConnectionErrorAction","setLoginFailedAction","setConnectionError","setLoginFailed","loginFailedStatus","fetchFeedAction","fetchDashboardFeedAction","fetchVideoListAction","fetchMappingFileAction","fetchPromoAction","appendFeedLinksAction","appendDashboardFeedLinksAction","appendVideoLinksAction","appendPromoLinksAction","clearFeedAction","clearDashboardFeedAction","clearVideosAction","clearPromoAction","setSelectedFeedSectionAction","fetchDashboardFeed","videoName","clearFeed","clearDashboardFeed","appendDashboardFeedLinks","dashboardFeed","shouldAppendDashboardFeedLinks","parsed","DOMParser","parseFromString","parsingError","feedClient","fetchParsedInboxMessageAction","fetchParsedInboxMessage","currentMessageParsedContent","innerContent","parsedContent","fetchBrokerBusiestDaysAction","fetchCarrierBusiestDaysAction","fetchBrokerMetricsHistoryAction","fetchCarrierMetricsHistoryAction","fetchBrokerBusiestDays","fetchCarrierBusiestDays","fetchBrokerMetricsHistory","metricsHistoryRequest","fetchCarrierMetricsHistory","brokerBusiestDayResponse","carrierBusiestDayResponse","brokerMonthlyLoadsResponse","isLoadingMonthlyLoads","isLoadingBusiestDays","carrierMonthlyLoadsResponse","metricsClient","LoadMetricsClient","fetchBrokerBusiestDays$","fetchCarrierBusiestDays$","fetchBrokerLoadMetricsHistory$","fetchCarrierLoadMetricsHistory$","rulesets","ruleset","rules","clearSelectedRulesetAction","fetchAllRulesetsAction","fetchRulesetAction","createRulesetAction","deleteRulesetAction","updateRulesetAction","fetchAllRulesets","fetchRuleset","createRuleset","deleteRuleset","updateRuleset","clearSelectedRuleset","wasRulesetCreated","convertRulesetFromServer","didFetchFail","wasRulesetUpdated","newRuleset","newRulesetList","ruleSet","isDefault","prevDefaultRulesetIndex","wasRulesetDeleted","convertRuleFromServer","startDelayUI","convertStartDelayForUI","startDelay","minimumAuthorityAgeUI","convertAuthorityAgeForUI","minimumAuthorityAge","preferredCarriersOnly","minimumPrimaryInsurance","updatedRuleset","convertRuleForRequest","ruleFromUI","_ruleFromUI_minimumAuthorityAgeUI","_ruleFromUI_minimumAuthorityAgeUI1","_ruleFromUI_startDelayUI","_ruleFromUI_startDelayUI1","_ruleFromUI_startDelayUI2","convertAgeToMonths","months","convertStartDelayToMins","convertPostLoadVisibilityRulesetFromServer","convertPostLoadVisibilityRuleFromServer","convertPostLoadVisibilityRulesetForRequest","convertPostLoadVisibilityRuleForRequest","startDelayInMins","FETCH_GEOLOCATION","FETCH_GEOLOCATION_FULFILLED","geolocationReversedResponse","geolocationAction","reverseCurrentGeolocation$","locationResponse","geocodingClient","toggleRegionsPickerAction","setSelectedStatesAction","ViewTypes","updatePickupLocationAction","updateDropOffLocationAction","addStopLocationAction","editStopLocationAction","deleteStopLocationAction","getRoutesDirectionAction","postRoutesDirectionAction","postRoutePathAction","switchPickUpDropOffAction","postStateMileageAction","getUiSettingsAction","patchUiSettingsAction","getExportReportAction","updatePickUpLocation","selectedLocation","updateDropOffLocation","addStopLocation","editStopLocation","deleteStopLocation","postRoutesDirection","switchPickUpDropOff","postStateMileage","getExportReport","isLoadingPath","isSwitching","isLoadingStateMileage","wasUiSettingsFetched","wasUiSettingsUpdated","isLoadingUiSettings","pickupLocation","stopIndex","mileageRoutesPayload","wasRouteLoaded","mileageMap","stateMileagePaylod","newPickup","newDropOff","mergeAll$","modifyOnboardedCarriersAction","fetchOnboardedCarriersAction","deleteOnboardedCarriersAction","changeCheckedStatusAction","clearRecentlyAddedNumbersAction","clearUpdateResultAction","fetchOnboardedCarriers","deleteOnboardedCarriers","modifyOnboardedCarriers","invalidUsdotNumbers","invalidList","changeCheckedStatus","clearRecentlyAddedNumbers","clearUpdateResult","normalizedList","wasListUpdated","recentlyAddedNumbers","valid","recentlyDeletedNumbers","checkStatus","normalizeListFromServer","dotNumbers","fetchOnboardedCarriersOnUpdate$","newList","existingList","onboardedCarrier","_existingList_onboardedCarrier_usdotNumber","fetchRouteDirectionsAction","fetchStateMileageAction","fetchExportReportAction","mileageClient","FETCH_POSTED_LOADS","FETCH_NEXT_POSTED_LOADS","POSTED_LOADS_FETCHED","REFRESH_OFFLINE_LOADS_LIST","toggleIncludeAllCompanyLoadsAction","toggleIncludeCompanyLoads","updateFiltersAction","resetFiltersAction","resetPostedLoadsFilters","updatePostedLoadsFilters","viewPostedLoadAction","brokerLoadsSummaryAction","fetchPostedLoadsMetadataAction","fetchLoadTemplatesAction","deleteAllLoadTemplatesAction","setPostedLoadProgressAction","setPostedLoadStatusAction","deletePostedLoadAction","refreshLoadAgeAction","clearLoadUpdateResultsAction","clearLoadFetchErrorsAction","postedLoadsResponse","isInitialRequest","bulkLoadUpdateAction","bulkLoadUpdateFulfilledAction","bulkLoadUpdateErrorAction","bulkLoadUpdate","updateSingleLoad","fetchPostedLoads","fetchMorePostedLoads","refreshOfflineLoadsList","viewPostedLoad","fetchBrokerLoadsSummary","fetchPostedLoadsMetadata","fetchLoadTemplates","loadTemplatesRequest","deleteAllLoadTemplates","setPostedLoadProgress","setPostedLoadStatus","deletePostedLoad","refreshPostedLoadAge","clearLoadUpdateResults","clearLoadFetchErrors","loadCounts","isLoadingBrokerSummary","isLoadingFilteredCount","loadTemplates","templates","updateLoadStatusSuccess","deleteLoadSuccess","updateLoadAgeSuccess","isLoadingLoads","loadFetchError","isLoadingLoadProgressUpdate","updateLoadProgressUpdateSuccess","updateLoadProgressUpdateError","viewedLoadID","fetchError","_action_response_payload2","_action_response_payload3","_loadStatusActionData_id","loadStatusActionData","updatedLoadID","filteredLoads","deletedLoadID","refreshedLoadID","refreshedLoadIndex","loadWithFetchedTime","bulkUpdateError","bulkUpdate","selectedLoadsCount","loadDeletedAt","statusUpdatedAt","pickupDateChangedAt","ageRefreshedAt","_responseAction_searchRequest","_responseAction_searchRequest1","_responseAction_response","_responseAction_response1","_responseAction_response2","_payload_totalCount","newLoads","postedLoad","convertPostedLoadToLoad","_action_load","posterContactName","searchPostedLoadsEpic$","searchNextPostedLoadsEpic$","postState","modifiedSearchRequest","paginationResponse","generateBulkUpdateRequest$","legacySearchQuery","convertPosterLoadSearchRequestToLegacy","bulkLoadUpdate$","nextActions","createLoadBulkUpdate","bulkUpdateAction","_bulkUpdateAction_data_patch_pickupDateTimes","_bulkUpdateAction_data_patch_status","loadTemplateClient","LoadTemplatesClient","fetchLoadTemplates$","deleteLoadTemplates$","postingContactsPaginationReducer","dispatchers","fetchDispatcherAction","editDispatcherAction","deleteDispatcherAction","addDispatcherAction","fetchDispatchers","fetchMoreDispatchers","fetchDispatcher","editDispatcher","addDispatcher","deleteDispatcher","isLoadingDispatcher","selectedPostingContact","unsetSuccessfulFields","wasAddedSuccessfully","dispatcherAfterUpdate","updatedDispatcherIndex","postingContact","addWhiteListItems","deleteWhiteListItems","clearLoadBoardError","retryAddWhitelistItems","isDeletingItems","isAddingItems","loadBoard","normalizeWhitelist","_action_fetchData2","validDotNumbers","invalidDotNumbers","existingWhiteList","_existingWhiteList_dotNumber","deleteWhiteListItems$","addWhiteListItems$","PrivateNetworkClient","getDefaultLoadBoard$","getWhiteList$","splitValue","splitValues","removedWhiteSpace","updateHiddenCompanyLoads$","Observable","observer","_state$_value_loadAvailability_selectedSearch","_state$_value_loadSearch_selectedSearch","_loadAvailabilityObject_equipmentType","_loadAvailabilityObject_region","posterUpdate","loadAvailabilityObject","lastSearchRequestForMap","loadAvailabilityParams","fetchCompanySearchLoads","refreshLoadAvailabilityCount","addVendorBidAfterBidSubmission$","_responseAction_response_payload_submittedOn","updateLoads$","_vendorBidAction_response_payload_submittedOn","_bookNowSentAction_response_error","favorited","onboardedAction","privateNoteAction","sendEmailAction","vendorBidAction","bookNowSentAction","calledLoadAction","loadCreated$","POST_LOAD_FULFILLED","returnUrl","mapApiErrorFieldsToFormValidationFields","setValidationFields","loadCloned$","CLONE_LOAD_FULFILLED","loadEdited$","EDIT_LOAD_FULFILLED","shouldFetchRouteMap","updatePostedLoadStatus$","redirectUrl","updatePostedLoadAge$","updatedLoadAge","updateLastAndSelectedSearchOnMapSearch","geocodeClient","_lastSearch_company","minOriginRadius","reverseGeocodeLocationIfNeeded$","location1","reversedGeocodeOrigin","updateLastSearchFunc","updateLastAvailabilitySearchFunc","updateLastAvailabilitySearch","updateLastCompanySearchFunc","updateLastCompanySearch","updateListAvailabilitySearch","concat$","setUrlDataAfterNewMapSearch","findLoadsParams","loadAvailabilityDensityParams","myLoadsParams","companiesParams","newCompanySearchUrl","companySearchMap","newCompanySearchAvailabilityUrl","originGeolocation","updateTrucks$","updateTrucksAction","updateTrucks","TruckUpdateActionTypes","updateTrucksAfterBulkCarriersActions$","triggerTruckAction","TruckAction","updateMyLoadsTotalCounts$","refreshLoadsAfterLoadHide$","_state$_value_loadDetailsCompanySearch_currentLoad","_state$_value_loadDetails_currentLoad","newCompanyMapLoadSearch","loadCompanyParams","searchLoadsAvailability","updateLoadFolder$","updatePostTruckCounter$","updateAfterDeletingDocuments$","updateFolderCount$","updateDocumentTypeFolders$","fetchUserPlansWithoutPromoCode$","updateInboxUnreadCount$","newCount","createMembershipForUser$","membershipClient","updatePostLoadBrokerInfoAfterPostingContactUpdate$","_state$_value_postLoadFields_lastUsedPostingContact","_state$_value_postLoadFields_selectedPostingContact","updatedPostingContactId","lastUsedPostedContactId","lastUsedPostingContact","selectedPostedContactId","setLastUsedPostingContact","setSelectedPostingContact","updatePostLoadBrokerInfoAfterPostingContactDelete$","deletedPostingContactId","lastUsedPostedContact","defaultPostingContact","isDefaultForUser","searchDirectoryPaginationReducer","directories","firstItem","secondItem","transformFetchedEntry","changeViewAction","changeSortByAction","updateSearchFormAction","setDirectoryViewedStatusAction","changeSortBy","updateSearchForm","setDirectoryViewedStatus","fetchDirectories","fetchMoreDirectories","directory","companiesClient","fillTableSource","companyGuid","_entry_details","_newEntry_details","newEntry","getDocketNumber","searchDirectoryRes","_searchDirectoryRes_details","_searchDirectoryRes_details1","_searchDirectoryRes_details2","_searchDirectoryRes_details3","businessType","carrierMcNumber","FETCH_TRUCKS","FETCH_TRUCKS_LKL","TRUCKS_FETCHED","TRUCKS_LKL_FETCHED","UPDATE_TRUCKS","SET_SELECTED_TRUCK","SET_OPEN_CARRIER_DETAILS_TABS","fetchTrucks","initialTruckState","fetchTrucksLklResponse","truckResponseAction","lklGeolocation","_state_trucks","updatedCompanies","contactIdsToCompanyIds","updatedTrucks","updateTruckList","setOpenTabsAction","userData","updatedTruck","fetchTruckRequest","truckRequest","fetchTruckLklEpic$","_successResp_data","_successResp_data1","verificationStatus","fetchSharedBrokerLoadsAction","fetchShareableLoadsAction","postShareableLoadAction","updateShareableLoadAction","deleteShareableLoadAction","fetchShareableLoads","postShareableLoad","updateShareableLoad","deleteShareableLoad","fetchSharedBrokerLoads","shares","isLoadingShareableLoads","isPostingShareableLoads","isEditingShareableLoads","isDeletingShareableLoads","isURLAddedSuccessfully","isURLEditedSuccessfully","shareableLoad","share","isURLDeletedSuccessfully","shareLoadMemberClient","shareLoadAnonymousMemberClient","isLoadingUnsubscribe","isLoadingContactSupport","isLoadingExtension","memberships","createUnsubscribeReducer","POST_TRIAL_EXTENSION","POST_TRIAL_EXTENSION_FULFILLED","POST_CONTACT_SUPPORT","POST_CONTACT_SUPPORT_FULFILLED","POST_UNSUBSCRIBE","POST_UNSUBSCRIBE_FULFILLED","POST_TRACKING_DATA","POST_TRACKING_DATA_FULFILLED","postTrialExtension","postContactSupport","postUnsubscribe","postTrackingUnsubscribeData","postTrialExtensionResponse","postCSResponse","postUnsubscribeResponse","postTrackingUnsubscribeDataResponse","systemTimeResponse","postContactSupportResponse","doPostTrialExtension$","doPostContactSupport$","doPostUnsubscribe$","doPostTrackingUnsubscribeData$","setUserIdleAction","setPageHiddenAction","isUserInactive","postNotificationTokenAction","enableNotificationTokenAction","updateNotificationTokenAction","addUserAction","fetchSettingUsers","sortSettingUsersAction","updateUserAction","fetchUserAction","deleteUserAction","fetchHotLeads","updateHotLeadsAction","fetchAlertsAction","updateAlertsAction","fetchEmailNotificationsAction","updateEmailNotificationsAction","resetPasswordWithEmailAction","setTabControlInitializationAction","setCurrentTabKeyAction","getSettingUsers","getHotleads","updateHotLeads","hotLeadsPayload","addUser","fetchAlerts","updateAlerts","fetchEmailNotifications","updateEmailNotifications","updateUser","deleteUser","resetPasswordWithEmail","sortSettingUsers","setTabControlInitialization","isInitialized","setCurrentTabKey","tabKey","isAuthorized","userState","wasDeletedSuccesfully","wasAddedSuccesfully","userWasFetchedSuccessfully","userWasDeleted","selectedUserType","tokenValue","wasEnabledSuccessfully","openedTabsControl","isOpenedTabsControlInitialized","currentTabKey","isRedundant","newEntities","newEntity","getUpdatedContacts","newContacts","resultContacts","newContact","_state_users_usersPayload_contacts","usersPayload","isRedundantResponse","selectedSettingUser","hotLeadsState","notificationsState","alertsState","selectedUserId","userPayload","resetPasswordState","VerifyEmailError","verifyEmailApiAction","sendConfirmationEmailApiAction","SET_VERIFICATION_CODE_NOT_PROVIDED","resendConfirmationEmail","setErrorNoCodeProvided","confirmationEmail","successful","validatedEmail","isRegistrationFromApp","paymentPromptRequired","sentTime","sentSuccessfully","anonymousApi","memberClient","anonymousClient","fetchLoadSearchPreviewAction","fetchLoadSearchPreview","loadSearchPreviewList","isFetchingLoads","didFetchLoads","UPDATE_LOAD_POST_FORM_FIELDS","CLEAR_LOAD_POST_FORM_FIELDS","POST_LOAD","CLONE_LOAD","EDIT_LOAD","CLEAR_POSING_ERRORS","ADD_POST_LOAD_STOP_LOCATION","DELETE_POST_LOAD_STOP_LOCATION","EDIT_POST_LOAD_STOP_LOCATION","SET_LAST_USED_POSTING_CONTACT","SET_SELECTED_POSTING_CONTACT","SET_POSTING_WITH_VISIBILITY_RULES","dispatcherInfo","updatePostLoadFormFields","clearPostLoadFormFields","postLoad","cloneLoad","editLoad","clearPostingErrors","setPostingWithVisibilityRulesAction","setLastUsedPostingContactAction","setSelectedPostingContactAction","fetchRouteMileageAction","clearRouteMileageAction","clearRateCheckAction","setPostingWithVisibilityRules","isPostingWithVisibilityRules","formValidationActions","dropValidationFields","unsetValidationField","validationField","fetchRouteMileage","clearRouteMileage","fetchPostLoadRateCheck","clearPostLoadRateCheck","shouldRecalculateRate","currentFields","updatedFields","formValidationReducer","createFormValidationReducer","initialPostLoadFormState","meta","shouldRecalculateRateCheck","userProfile","postingError","getLocationParamsForPostBackRedirect","editing","loadData","convertFormFieldsToLoadPostRequest","saveLoadTemplate","getLocationParamsForBackRedirect","shouldCloseLoadDetails","cloneLoad$","postedLoadDetails","currentFormFields","didModifyLocations","initialFormFields","getPostLoadFormFieldsFromLoad","doLoadPostRequestExtraStopsMatchExistingLoad","postLoadsClient","TeamDriving","RATE_AMOUNT","pickUpDateTimes","setDefaultField","equipmentSpecificationsTo","stopLocation","_stopLocation_city","_stopLocation_state","parseGeolocation","extraStop","stopNo","stopPurpose","convertLoadLocationToPostLoadLocation","loadLocatioin","getRateCheckFieldsFromLoad","_currentLoad_rate","_currentLoad_mileage","_currentLoad_rate1","_currentLoad_rate2","milesValue","getLoadEquipmentsFromEquipments","datesAndTimes","deliveryTime","_currentLoad_rate_type","_currentLoad_extraStops","initialFields","_extraStop_geolocation","_extraStop_geolocation1","ValidationType","PostLoadField","SET_VALIDATION_FIELDS","UNSET_VALIDATION_FIELD","DROP_VALIDATION_FIELDS","actionField","fieldIndex","validationFieldKey","shouldValidate","validationState","getErrorMessage","getFieldName","fieldError","setOpenedTabsAction","shouldAddTabs","updateSearchFormDataAction","updateSearchNameDataAction","setSearchFormPrefilledAction","updateSearchNameData","truckAvailabilityInitialForm","lastPostedOrigin","SET_PICKUP_DATES","setPickupDates","textFilter","SHOW_SNACKBAR","DISMISS_SNACKBAR","snacbarContents","snackbarInitialState","snackbarAction","truckAction","toggle","ACTIVE_FEATURE_FLAGS","parseFlagUpdatesQuery","serviceWorkerName","unregisterServiceWorker","serviceWorker","getRegistrations","registrations","registration","unregister","register","firebase","initializeFirebase","messaging","useServiceWorker","getToken","vapidKey","currentToken","onTokenRefresh","AuthenticatedRouteComponent","_this_props_location","requiresAuthentication","setEnforcedAuthentication","computedMatch","isEmailVerificationPage","isPaywallAllowedRoute","PAYWALL_ALLOWED_ROUTES","PAYWALL_BLOCKED_ROUTES","isUserProfileDataFetched","billingStatus","shouldRedirectToPaywall","shouldLoadProfile","redirectToLogin","isPageRestricted","authorizedRoles","areUserRolesAuthorized","shouldShowUpgradeLinkIfRestricted","needsProfile","authorizedRolesGroup","AuthenticatedRoute","_state_userPlan_membershipData1","redirectUnauthorized","Logout","isProcessingLogout","child","newPath","removeDoubleSlash","appendBaseUrlToRoutePath","formatRoutePath","paramsConverter","urlValue","MEMBERSHIP_STATUS_LIST_FOR_ACCOUNT_SETUP","BILLING_STATUS_LIST_FOR_ACCOUNT_SETUP","UnsubscribeAssistantReasons","GUID_REGEX","HEX40_REGEX","PostTruckAlertRoutes","PostTruckRoutes","postedLoadsModalPanels","filterPanelModalPanels","postLoadsModalPanels","VERIFY_EMAIL","VERIFY_EMAIL_BLOCKER_PAGE","VERIFIED_LOGIN","EXPORTPOSTS_TABLE_VIEW","COMMUNICATION_MESSAGE","COMMUNICATION_NESTED_PANEL","TRUCK_ALERTS","POST_TRUCK","SEARCH_LOADS_MODALS","BACHKHAUL_ROUTE","COMPANY_SEARCH","TRIP_BUILDER_MODALS","TRIP_BUILDER_BASE_URL","TRIP_BUILDER_LOAD_DETAILS","TRIP_BUILDER_ROUTES","LOADS_TRIP_BUILDER_TRIP_GENERAL","LOADS_TRIP_BUILDER_MODAL","LOADS_TRIP_BUILDER_NEW_TRIP","LOADS_TRIP_BUILDER_TRIP","LOADS_TRIP_BUILDER_TRIP_MAP","LOADS_TRIP_BUILDER_ADD_LOAD","LOADS_TRIP_BUILDER_LOAD_DETAILS","LOADS_TRIP_BUILDER_LOAD_DETAILS_MAP","LOADS_TRIP_BUILDER_LOAD_DETAILS_COMMUNICATION","LOADS_TRIP_BUILDER_LOAD_DETAILS_POST_TRUCK","LOADS_TRIP_BUILDER_LOAD_DETAILS_BACKHAUL","LOADS_TRIP_BUILDER_LOAD_DETAILS_COMPANY_SEARCH","LOADS_TRIP_BUILDER_LOAD_DETAILS_COMPANY_SEARCH_BACKHAUL","POSTING_CONTACTS","DASHBOARD","ALERTS","BIDS_BASE_ROUTE","BIDS","ANNOUNCEMENTS","ANNOUNCEMENTS_VIEW","COMMUNICATION","FLAGS","LOADS_FINDLOADS","LOADS_LOAD_AVAILABILITY","LOADS_LOAD_AVAILABILITY_MAP","LOADS_LOAD_PLANNER","LOADS_MY_LOADS","LOADS_CARRIERS","LOADS_COMPANIES","LOADS_MY_COMPANIES","LOADS_MY_LOADS_POST","LOADS_STANDALONE_LOAD_DETAILS","MYLOADS_EXPORTPOSTS","MYLOADS_UPLOADPOSTS","MYTRUCKS_POST_BASE","MYTRUCKS_POST","RealTimePosts","ScheduledPosts","ExpiredPosts","FINDTRUCKS_LOCATETRUCK","FINDTRUCKS_TRUCKLOCATOR","INTEGRATION_SERVICES_TMSINT","INTEGRATION_SERVICES_HTMLEMBED","INTEGRATION_SERVICES_POSTINGAID","PUB_SHARELOAD","TOOLS_BORDER_WAIT_TIMES","TOOLS_FMCSA_SEARCH","TOOLS_FUEL_PRICES","TOOLS_GET_PAID_FASTER","TOOLS_PROFIT_CALCULATOR_PAGE","TOOLS_MARKET_RATES","TOOLS_CAPACITY_FINDER","TOOLS_MARKET_RATES_CARRIER","TOOLS_MILEAGE_CALCULATOR","TOOLS_MILEAGE_CALCULATOR_SEARCH","TOOLS_MILEAGE_CALCULATOR_MILEAGE_ROUTING","TOOLS_REEFER_RATES","TOOLS_ROADSIDE_ASSIST","TOOLS_TRUCKING_AUTHORITY","TOOLS_SAVE_AT_THE_PUMP","TOOLS_MY_DOCUMENTS","TOOLS_HOT_LEADS","RESOURCES_CREDIT_REPORT","RESOURCES_SEARCH_DIRECTORY_BASE","RESOURCES_SEARCH_DETAILS_DIRECTORY","RESOURCES_SEARCH_DIRECTORY","MORE_SETTINGS_MANAGE_USERS","MORE_SETTINGS_PAYMENT_OPTIONS","MORE_SETTINGS_GENERAL_SETTINGS","MORE_SETTINGS_TOOLS_SETTINGS","MORE_SETTINGS_ALERTS_SETTINGS","MORE_SETTINGS_COMPANY_WEBSITE","MORE_SETTINGS_ACCOUNT_REDIR","MORE_SETTINGS_ACCOUNT_SETUP","MORE_SETTINGS_ACCOUNT_NOTICE","MORE_SETTINGS_ACCOUNT_VERIFICATION","MORE_SETTINGS_ACCOUNT_SETUP_NEW","MORE_SETTINGS_BASE_ROUTE","MORE_SETTINGS","MORE_SETTINGS_PROFILE_BASE","MORE_SETTINGS_PAYMENT_HISTORY_BASE","MORE_SETTINGS_PAYMENT_HISTORY","MORE_SETTINGS_ACTIVATE_BY_CARD","MORE_SETTINGS_PAYMENT_METHOD","MORE_SETTINGS_MANAGE_PLAN","MORE_SETTINGS_MILEAGE_ROUTING","MORE_SETTINGS_USER","MORE_SETTINGS_EDIT_USER","MORE_SETTINGS_EDIT_TRUCK","MORE_SETTINGS_PRIVATE_LOADBOARD","MORE_HELP_BASE_ROUTE","MORE_HELP","MORE_HELP_SERVICE_CODE","MORE_HELP_SCREEN_SHARING","MEMBERSHIPS_UNSUBSCRIBE","MEMBERSHIPS_UNSUBSCRIBE_REASONS","MORE_LOGOUT","NOTFOUND","WELCOMEBACK_CAMPAIGN","CLIENTS","CLIENTS_DEV","CLIENTS_LIVE","urlForLocateTruck","loadid","orderedPaths","orderBy","GENERIC_ONLINE_PREFIX","GENERIC_ROOT_PREFIX","HELP_PREFIX","FIND_LOADS","FORCE_TRAILING_SLASH_REDIRECT","OLD_REDIRECTS","NavRoutes","withMetadata","pageName","accessRequestPhoneExtension","useDetectVersionChangeOnUrlChange","Breakpoint","PRIMARY_FONT","SECONDARY_FONT","createMuiTheme","useNextVariants","footer","grayLight","orangeSmoke","shadow","statusBar","unselected","smallBox","smallBoxDark","htmlEmbedTable","dropBox","secondaryTab","dropdownMenu","header1ProfileTab","header2Title","header2Button","dropBoxTitle","header3","redHeader3","bigLink","bigLinkBold","alertLarge","footerLink","footerText","hamburgerHeader","submenu","compactVersion","hamburgerTab","infoFieldLabel","infoFieldValue","inputFieldShow","tableRow","tableHeader","tableSubContent","tableTitle","tableSeparator","midResult","bigResult","biggerResult","heavyText","contactDisclaimer","infoTableHeader","menuSeparator","hamburgerMenuSeparator","largerMenuSeparator","dashboardHeader","dashboardHeaderSmall","dashboardItemLabel","dashboardItemLabelSmall","dashboardPostedLoadCount","dashboardPostedLoadCountSmall","errorSmall","nakedPageTitle","nakedPageMessage","detailContent","detailContentLink","textContentDetail","h1","subtitleNormalWeight","bodyLarge","body3","caption","tableHeaderGreen","tableHeaderRed","loadDetailsCompanyName","verifyEmailHeader","verifyEmailHeaderSmall","verifyEmailSubheader","withThemeOri","tEquipment","tEquipmentSpecifications","equipmentKey","EQUIPMENT_TYPE_TRANSLATION_PREFIX","EQUIPMENT_SPECIFICATION_TRANSLATION_PREFIX","en","translation","updateEmail","reset_password","IE_Warning","Meta_Description","Go_to_detail","My_Account","Message_Center","Help","Settings","Create","Click_Here","Version","StreetName","Or","Of","Ok","Saved","Contact","Calculate","PleaseCall","Show","Invalid_Format","Dismiss","Extension_Short","Time","Upgrade","open123LB","showNumber","textfield","Show_Password","Hide_Password","altText","authenticatedRoute","upgradePlan","restrictedRibbonPopUp","restrictedRibbonPopUpCarrier","sessionPausedPopUp","contactSupportPhone","generic_api_message","network_server_error","message_retry","message_error","invalid_address","genericErrorTitle","genericErrorMessage","genericContactSupport","connectionErrorMessage","try_again_error","failed_to_load","retry","reload_label","try_again","undefinedPhone","invalidPhone","invalidEmail","dropoffAfterPickup","invalidExt","contactDataError","invalidLink","money","year_plural","month_plural","day_plural","mile","mile_plural","mile_per_gallon_short","per_mile","per_mi","per_gal","pounds","pound","feet_symbol","Dashboard","Find_Loads","Search_Loads","Load_Availability","Trip_Builder","New_Trip","Add_A_Load","Load_Planner","Post_Loads","Manage_Loads","Post_Single_Load","Post_Multiple_Loads","Upload_Posts","Export_Posts","Find_Trucks","Integration_Services","HTML_Embed_Code","Tools","Rate_Check","MyDocs","Mileage_Map_Tolls","Mileage_Calculator","Credit_Report","Carrier_Monitor","Search_Directory","Hot_Leads","SearchDocs","Affiliated_Services","Get_Paid_Faster","Save_At_The_Pump","Roadside_Assistance","Trucking_Authority","Resources","Reefer_Rates","FMCSA_Lookups","Fuel_Prices","Border_Wait_Times","My_Loadboard","Potential_Loads","Booked_Loads","Companies","Company_Search","Blocked_Hidden","Favorites","Bids","Load_Bids","Manage_Alerts","Alert_Settings","Saved_Searches","Truck_Locator","Internal_Truck_Locator","TMS_Integration","Messages","Main_Menu","Sign_Up","Login","Posting_Aid","Visit_Website","Terms_Of_Service","Privacy_Policy","Address","ContactUs","SupportEmail","confirmationDialog","Cancel","Confirm","LearnHow","shareFeedback","charsLeft","feedbackAcknowledge","feedbackPlaceholder","skip","invalidSearchQuery","anyFt","anyLbs","anyType","usa","tabSearch","tabRecent","tabSaved","truckApplied","availableCapacity","myActions","selectDates","selectMax","home","homeLocationLabel","currentLocationLabel","cityStateOrZip","setHomeLocation","excludeLoadsWithoutLength","excludeLoadsWithoutWeight","favoriteCompany","asterisk","stepsStatusBar","phrase1","phrase2","phrase3","phrase4","phrase5","phrase6","phrase7","phrase8","uploadYourRateConfirmation","uploadYourBolLumpersEtc","uploadYourProofOfDeliveryPod","tripLengthOptions","noSearches","youHaveNoSearches","noSavedSearches","haveNoSavedSearches","noRecentSearches","haveNoRecentSearches","noLoads","haveNoLoads","editLoadSearch","statesProvinces","statesProvincesRegionsMap","statesProvincesRegions","selectRegions","selectUSARegions","selectCanadaRegions","usaRegions","canadaRegions","selectRegionsOrStates","selectState","selectProvince","perGal","Rate","MPG","applyDiscount","discountValue","getFuelCard","applyDeadheadMiles","averageRateByCheck","saveUpTo","fuelSurchargeIncl","blockCompany","button_block","sentRequest","notSentRequest","pleaseVisitContent","unBookLoad","text1","text2","text3","button_no","button_yes","paidFaster","fuelAdvanced","variant_1","variant_2","variant_3","clearRecent","button_remove","featureRequest","featureAvailableForBrokersAndShippers","gainAccess","featureRequestCarrier","featureSubmit","contentCarrier","featureSubmitFail","bidCompanyName","bidCompanyDOT","bidEquipmentType","bidEquipmentSpecs","bidEquipmentCommodity","bidEquipmentNotes","regionsInfo","smallTruckLoads","pleaseEnterValues","fieldsInvalid","fieldsRequiredOrInvalid","Linehaul_Revenue","Toll_Costs","Fuel_Costs","Additional_Costs","Fuel_Costs_Short","Estimated_Revenue","Estimated_Revenue_Short","company_added_onboarded","company_removed_onboarded","removeFavorite","tagAsOnboarded","removeOnboardedTag","multiple","backhaulLoads","unblock","loadDetailsNotShownForBlockedCompany","searchNewArea","maxSelectionCount","selectMaxiumum","setLocationToSearch","loadSizeDescription","selectStatesMap","selectOneState","savedSearch","saveSearch","clusterLoads","mapError","noLoadsFound","companyLoads","viewLoads","companyLoadsDescription","MCNumber","DOTNumber","CreditReport","CreditScore","DaysToPay","notProvided","notAvailableInPlan","preApproved","factorable","googleMap","shareLoad","unlock","unavailableForOffline","unavailableForAssigned","unavailableForDelivered","myNote","saveNote","loadNote","modal","callSupport","onBoardedPopUp","emailFormPopup","submitText","option1","option2","option3","option4","bidAmount","emailConfirmPopup","sentTo","editCompanyPopup","routeDirectionsRequestError","noLoadFound","errorScreen","regionTitle","densityList","densityMap","showResults","mapColorKey","revenue","fuel","tolls","profits","modifyTrip","feedbackTitle","feedbackSubtitle","tripDelete_SnackBar_Message","tripCreated_SnackBar_Message","loadAdd_SnackBar_Message","loadHide_SnackBar_Message","loadRemove_SnackBar_Message","loadingScreenTitle","loadingScreenDescription","maximumLoads","totalLegs","nextLeg","noResultsHeader","loadRemoved","noResultsDescription","description1","subHeader","radioFlatRate","radioRatePerMile","inputPlaceHolder","description2","addButton","deleteLoadTitle1","deleteLoadTitle2","deleteLoadTitle3","deleteLoadItem1","deleteLoadItem2","deleteLoadItem3","deleteLoadItem4","deleteLoadItem5","deleteLoadConfirm","removeLoadConfirm","contentHeader","foundTrips","nextTrip","prevTrip","contentSubHeader","tripOptionsSubHeader","profitPerTrip","profitPerOption","tripDays","continueTripBtn","incompleteTrip","completeTrip","profitPerDayPopupInfoHeader","profitPerDayPopupInfo1","profitPerDayPopupInfo2","profitPerDayPopupInfo3","profitPerDayPopupInfo4","deleteTripTitle","deleteTripP1","deleteTripP2","removeLoadTitle","removeLoadP1","postLoads","allCompanyLoads","pendingVerification","thankYouForSignUp","yourAccount","currentlyUnderReview","underReviewContent","uponApprovalContent","ChangeContact","MyLoads","Loads","PostSingle","PostMultiple","postMultipleBanner","instructionsPage","NoDate","SwitchToPreviousVersion","Online","Offline","Working","Completed","Assigned","Delivered","LoadDetails","ItemCommodity","AverageRate","RefreshAgeMessage","TruckLocatorTitle","TruckLocatorSubTitle","TotalLoadViews","StrengthValue","RefreshAgeMessageBulk","UpdatePickupDateMessageBulk","LoadsDeleteMessageBulk","LoadsStatusChangeMessageBulk","LoadPostedSuccessfully","ClonedLoadPosted","LoadEdited","SpecsOptional","fillMandatoryFields","bookingOptions","manageOnboardLink","duplicateRefNumberTitle","duplicateRefNumberMessage","collapsibleMenu","locationAndDates","equipmentDetails","tripRateAndDistance","manipulation","SetOffline","SetOnline","RefreshAge","Edit","Delete","Clone","feedbackContent","postStrength","pickUpTimeStrength","dropOffDateStrength","dropOffTimeStrength","lengthStrength","weightTimeStrength","paymentTimeStrength","SetOnlineContent","SetOfflineContent","SnackBar_Message","deleteLoad","deleteButton","cancelButton","bulkDeleteLoads","viewerInfo","lastViewedAge","insuranceOnFile","Common","Contract","USDOTNumber","Tl","Ltl","PickUpDate","PickUpTime","DropOffDate","DropOffTime","PickUp","DropOff","TrailerSpecifications","TrailerType","ExcludeLoadsWithoutLength","ExcludeLoadsWithoutWeight","PickupLocation","DropOffLocation","Post","PostLoad","EditLoad","CloneLoad","ClearAll","PrefillFrom","RecentPosts","Reset","Update","Low","Average","DrivingTime","UpgradePlan","Unlock","TeamDriven","Quantity","AddExtraStops","AddEquipments","ContactName","Name","PostStrength","Phone","Ext","Email","High","totalTrip","itemCommodity","moreOptions","additionalLoadDetails","PostedPanel","PostedHeaderLabel","SelectedLoads","AllSelectedLoads","SelectAllLoads","NoOnlineLoads","NoOfflineLoads","NoAssignedLoads","NoDeliveredLoads","NoOnlineLoadsSubtitle","NoOfflineLoadsSubtitle","NoAssignedLoadsSubtitle","NoDeliveredLoadsSubtitle","PickupDate","FreeTextFilter","SortByPanel","SortBy","StatusPanel","SelectStatus","InvalidDistance","notFound","editBlocked","Carriers","Onboarded","Favorite","BlockedHidden","filterLabel","remove_favorite","mark_onboarded","unmark_onboarded","remove_blocked","carrierUpdate","carrierFavorited","carrierUnfavorited","carrierBlocked","carrierUnblocked","carrierOnboarded","carrierUnonboarded","modalPanels","Actions","DatesTime","PickUpDatesHeader","PickUpDateHeader","DropOffDateHeader","DropOffDatesHeader","PickUpTimeHeader","DropOffTimeHeader","MaxSelectionDatesCount","SelectMaximum","PickUpHeader","DropOffHeader","RecentLocations","CityStateZip","CityOrZip","TimePicker","denied","dashboard","CarrierHeader","BrokerHeader","My_Posted_Loads","My_Loads_Post","My_Documents","Load_Details","Search_Alerts","Load_Alerts","Posted_Truck","Online_Loads","Offline_Loads","Live","ViewAll","workingLoadWidget","loadStatus","recentSearchesWidget","myLoadsWidget","totalLoadsButtonLabel","contactedLoadsButtonLabel","savedLoadsButtonLabel","bookedLoadsButtonLabel","pickedUpLoadsButtonLabel","deliveredLoadsButtonLabel","lastPostedLoadWidget","findCapacity","recentlyPostedWidget","userMessages","message_1","message_2","message_3","message_4","message_5","message_6","message_7","message_8","message_9","message_10","message_11","message_12","message_13","message_14","message_15","metricsWidget","loadsPostedPerMonth","loadsDeliveredPerMonth","mostPostedOn","mostBookedOn","busiestDay","legendLoadsPostedText","legendLoadsDeliveredText","monthlyLoads","exportPosts","Extension","exportByFtp","Successful_Save","Successful_Delete","Save_Error","Is_Required","Close_Ftp_Dialog_Title","Close_Ftp_Dialog_Message","Unchanged_Password_Placeholder","Ftp_Name","Condensed_Ftp_Name","Last_Transmission","Connection","Valid","Invalid","Protocol","Encryption","Remote_Directory","Host","Port","Username","Password","Enable_Daily_Transmission","Required_Fields","Ftp","encryption","Plain_Ftp","Implicit_Ftp_Over_Tls","Explicit_Ftp_Over_Tls","Explicit_Ftp_Over_Tls_If_Available","exportToCSV","sharePostedLoads","exportPostsResults","exportPostsTableView","legacyHeader","pausedStatus","expirationUnlimited","allCompany","editURL","newURL","enableUrlExpirationDate","listedLoads","pauseUrlScrapeTitle","urlExpirationDate","urlAdded","urlEdited","urlDeleted","deletedURLPopup","deleteQuestion","limitReachedPopup","suggestion","datePickerWarnings","datePassed","dateMustBeIncluded","invalidYear","dateMustExist","enterValidDate","loadsTable","copyright","originCity","originState","originZip","pickupTime","destinationCity","destinationState","destinationZip","deliveryDate","approximateMiles","equipmentInfo","quantity","teamLoad","contactEmail","postRef","loadGeneric","qtyStops","anywhereUsa","anywhereCanada","currentLocationUnknown","loadSorting","shortestDistance","longestDistance","uploadPosts","Instructions","Drop_Area_Label","Dropbox_Btn_Label","uploadCSV","Feedback_New_Upload","newUploadCsv","sendByFTP","scrapeWebsite","Textfield_Label","ErrorSnackbar","ErrorMsg","EmptyMsg","tmsIntegration","Textfield","Company_List_Description","Contact_Extension","Invalid_Input_Message","Successful_Message","htmlEmbed","HtmlEmbed","Paper_Title","Textfield_Description","Version_Description","Copy_HTML","Version_1","Version_2","Version_3","Copy_Message","aspxEmbed","loadPlanner","myLoadsPost","myCompanies","myDocs","creditReport","managerUsers","paymentOptions","generalSettings","toolsSettings","alertsSettings","companyWebsite","accountSetup","accountNotice","accountRedir","TruckPost","Announcement","Item1","Item2","Item3","Item4","truckLocator","tutorial","step1","step2","step3","step4","tooltip_title","Alert_Carriers","Manage_hidden","AddToFavorites","RemoveFromFavorites","TagAsOnboarded","RemoveOnboardedTag","Request_Tracking","No_Load_Title","No_Load_Message","PostEdit","ManageLoads","SearchLabel","SearchLabelCompanyName","Refresh","Loads_Fail","Load_No_Longer_Available","Load_No_Longer_Available_Explain","Map_Icon_Label","List_Icon_Label","Back_To_Load","Back_To_Loads","stepper","Select_Load","Locate_Truck","Send_Alert","fmcsaAuthority","GPS_Verified","ActiveAuthority","Applied","truckTable","sentMessages","Exact_Matches","Anonymous_Matches","Filtered_Out_Matches","Non_Matches","Alert_This_Carrier","No_Results","carrierDetails","AuthorityNumbers","CargoAuth","Property","Passengers","HouseholdGoods","Private","Enterprise","AppPending","RevocationPending","BIPDInsurance","HHGCargoInsurance","BondInsurance","Required","Filed","BIPDPrimary","Underwriter","Type","PolicyNum","EffectiveDate","BIPDClass","AlertSent","phoneVerificationPopupText","dotVerificationPopupText","alertDialog","Description_plural","Payrate","Unit","Message_To_Carrier","Send","EntireTrip","PerMile","Send_Error","Send_Success","Send_Success_plural","hideDialog","loadTable","My_Loads","Just_Now","Unselected_Matches","path_not_found","noExactMatches","postingAid","Download_Button","WatchVideo","Step1","StepA","StepB","StepC","StepD","Step3","fuelPrices","Box1Title","BOX1Button","Box2Title","Box2Description","fmcsaSearch","FMCSA_Search","LicensingInsurance","SAFER","SearchFmcsa","SearchSAFER","USDOT_Title","USDOT_Description","sidePanel","listItems","i1","i2","i3","i4","i5","i6","i7","i8","inputsTitle","contactText","already","text2a","text2b","text2c","callButton","possibleLoads","possibleLoad","Average_Rate","About_Title","Error_Message","About","No_Rate_Check","routeBox","Origin","GetRate","revenueBox","Rate_Per_Mile","Fuel_Surcharge","Included","View_Loads","loadToTruckRatioTitle","getRate","notFoundForBroker","notFoundForCarrier","originLabel","destinationLabel","widgets","county","past","selectDataRange","averageRateAnalysis","expediteAll","brokerToCarrierLTLRate","estRateByExpedite","brokerToCarrierRates","fuelCost","titleCarrier","numberOfCarriers","fuelAndTollCosts","estFuelCost","estimatedProfit","marginCalculator","targetRate","dataRange","suggestedRate","backhaulAverageRate","calculatorTitle","postingRateLabel","estimatedCarrierOfferLabel","shipperChargeLabel","acceptancePointLabel","profitMarginLabel","above","below","profitMarginDifference","graph","belowPostingRate","abovePostingRate","unavailableText","unavailableTextCarrier","lowSection","part2Carrier","mediumSection","highSection","historicalRates","rateAnalysis","loadsWidgets","pickupLoadsTitle","backhaulsLoadsTitle","forDays","toLocation","rateHistory","rateDifference","customizingResults","titleCapitalized","originLocationPlaceholder","destinationLocationPlaceholder","findButton","emptyPageSubtitle","notFoundTitle","notFoundSubtitle","foundCarriers","carrierDetailsEquipmentsTitle","carrierDetailsDestinationsTitle","searchType","postedTruckType","nextAvailable","resultType","availableCapacityShort","nextAvailableShort","filtering","pickupRadiusWithMi","dropoffRadiusWithMi","ltlOnly","missingOnboardedCarriers","addFavorite","integrationRequired","integration","pointList1","pointList2","pointList3","signupLink","termsConditions","credentialsDescription","linkAccount","incorrectCredentialsMessage","risklevel","titleLow","titleMedium","titleReview","titleFail","review","descriptionLow","descriptionMedium","descriptionReview","descriptionFail","onboardWith","pendingdescription","unsuccessful","onboardingFailed","estimatedFuelCosts","gal","applyFuelDiscount","borderWaitTimes","BorderWaitTimes","USA_Title","Canada_Title","ViewUSA","ViewCanada","addNumber","addNumberInstructions","noValidNumbersSubmitted","allNumbersInvalid","fromTotal","fromTotal_plural","duplicatesRemoved","duplicatesRemoved_plural","failedValidation","successfullyAdded","validationFailed","filterByNumber","foundNumbers","issueGettingBoard","pageCount","serverError","deleteAll","deleteAllText","postPrivately","allResultsFiltered","reeferRates","Source","GovLinkName","MembershipBenefit","Benefits","Towing","Towing2","FlatTire","FlatTire2","TireRepl","TireRepl2","TireRepair","TireRepair2","Mechanic","Mechanic2","Oil","Extriction","Fuel","Fuel2","KeyAssist","KeyAssist2","JumpStart","JumpStart2","PullStart","PullStart2","HeavyDuty","Battery","Battery2","Parts","Parts2","CompleteForm","form_button","ExclusiveRoadside","Pricing_Description","View_Terms","Get_Roadside_Assistance","Roadside_assistance_provided_by","form_contactText","contactDetails","searchFor","shippers","mandatoryFields","carrierMC","brokerMC","SCAC","interstate","street","tel","tollFree","viewOnMap","businessInfo","associationCertification","yearFounded","companyProfile","safety","fatal","injury","tow","certification","tia","ocfp","upgradePopup","File_Too_Big","Invalid_FeedBack","unlockFullPotential","switchToMainView","loginPromoText","logIn","findMoreLoads","exploreMoreText","logInToSeeMore","loadInformation","Equipment_Type","Posted_Rate","Contact_Name","Telephone","Reference_Number","Total_Mileage","Driving_Time","Not_Found","Disclaimer","No_Credit_Ratings","upgradeMembership","upgradeMembershipLoggedOff","topMessage","bottomMessage","checkSpam","desiredTime","resendMessage","resendEmail","submitButton","codeInputLabel","signIn","linkSent","failedToSend","verifiedLogin","redirectMessage","divertToAppMessage","unsubscribeAssistant","currentPlanTitle","currentPlanDiscount","currentPlanFullPrice","currentPlanInfo","issue","difficulty","missingFunctionality","notUsing","somethingElse","trialExtensionFree","trialExtension","extensionLink","continueUnsubscribe","unsubscribeLink","costHeader","costBody","missingFunctionalityHeader","missingFunctionalityBody","issueTitle1","issueBody1a","issueBody1b","issueBody1c","issueBody1d","issueBody1e","issueTitle2","issueBody2a","issueBody2b","issueBody2c","issueBody2d","issueBody2e","issueTitle3","issueBody3a","issueBody3b","issueBody3c","issueContactSection","difficultyHeader","notUsingItHeader","somethingElseHeader","watchTheVideoBody","joinFreeWebinarDifficulty","joinFreeWebinarNotUsing","contactSupportBody","confirmCheckboxUnsubscribedServices","confirmCheckboxAffectDocuments","confirmCheckboxOngoingDiscounts","confirmCheckboxOngoingDiscountsDetail","confirmCheckboxOngoingDiscountsLost","cardPopupTitle","cardPopupHeader","trialExtensionTitle","unauthorizedHeader","unauthorizedMessage","trialExtensionSent","trialExtensionMessage","contactSupportTitle","contactSupportHeader","contactSupportMessage","contactSupportTimeLabel","contactSupportSchedule","contactSupportScheduleMessage","customerSupportSent","customerSupportMessage","detailIssueTitle","unsubscribeFinalizedTitle","unsubscribeFinalizedH1","unsubscribeFinalizedMessage0","unsubscribeFinalizedMessage1","unsubscribeFinalizedH2","unsubscribeFinalizedEmptyDowngradeDate","unsubscribeFinalizedH2a","unsubscribeFinalizedMessage2","unsubscribeFinalizedMessageUpgrade","unsubscribeFinalizedMessageUpgradeLink","unsubscribeBannerMessage","radioIssue1","radioIssue2","radioIssue3","radioIssue4","radioIssue5","detailDifficultyTitle","detailMissingTitle","detailNotUsingTitle","radioNotUsing1","radioNotUsing2","radioNotUsing3","radioNotUsing4","radioNotUsing5","detailSomethingElseTitle","radioSomethingElse1","radioSomethingElse2","radioSomethingElse3","radioSomethingElse4","radioSomethingElse5","radioSomethingElse6","unsubscribeFailedTitle","unsubscribeFailedDescription","unsubscribeFailedFurtherQuestions","joinFreeWebinar","watchTheVideo","openLiveChat","contactSupport","buttonNext","buttonContinue","buttonDontUnsubscribe","buttonUnsubscribe","buttonSubmit","buttonOK","retentionPromo","contentMore","monthlyDiscount","applied","thanksForStaying","confirmationText","confirmationTextMore","discount","nextBillingText","reasonsToStay","continueUsing","link1","link2","applePopup","account","updateProfile","snackBarSuccess","snackBarFailure","editBusinessProfile","editMyProfile","noDispatcher","updateDispatcher","admin","noUser","messageCanNotDelete","editUser","requestToAddUser","lastLogin","companyPanel","buttonLabelAdd","buttonLabelEdit","buttonLabelEditOnboarded","popupTitleAdd","popupTitleEdit","fieldLabel","linkAdded","carrierNotVerified","verifyYourDot","betterOpportunities","phoneListPanelSelectNumber","billing","billingSummary","billingCycle","nextBillingDate","membershipFee","membershipBilledBy","membershipBilledByAppStore","currentCost","monthly","yearly","datesFilterTitle","invoiceTitle","invoicesNotFound","editPaymentMethod","noPermissions","pleaseContactAccountOwner","changesToMembership","noPermissionsToEditPaymentMethod","requestChanges","ifYouRequireAssistance","workTime","paymentDeclineNotice","expiringSoon","nearingExpiration","nearingExpirationSecond","preferences","notifications","emailNotificationSelection","alertsSound","messageAlerts","updateFail","browserNotification","disablingTitle","disablingMessage","disablingMessageEnd","newsletters","promotions","alertsLeads","loadTruckMatching","mileageAndRouting","advance","vehicleDimension","saveSettings","routeMethod","shortest","practical","avoid","included","axles","null","mapDetail","english","metric","dimension","inch","meters","invalidHeight","invalidLength","widthMeter","widthInch","meterOrLess","meterOrMore","inchOrLess","inchOrMore","weightLbs","weightKgs","hazmat","caustic","explosive","flammable","inhalants","radioactive","international","searchResults","averageRateHeader","averageRateLabel","checkboxLabel","manageFuelMileage","privacyControl","exportingLoadDetails","exportLoadDetails","cota","export","exportingToCota","popUpCota","part4","part5","part6","legal","openSourceLicenses","receiveHotLeadCalls","addContact","editContact","addNew","postingContactInfo","pleaseContactPostingDepartment","toMakeChangesToDefaultContact","manageYourPostingContacts","postingDepartmentPhone","manageContacts","snackbars","contactAdded","contactUpdated","contactDeleted","intg","clients","emptyParagraph","infoTitle","infoText1","infoText2","nameInfoTitle","nameInfoText1","nameFieldPrompt","nameTitle","nameSaved","invalidName","manageURIsPrompt","removeURILabel","removeURIPrompt","uriRemoved","cannotRemoveLastURI","uriFieldPrompt","uriFieldLabel","uriAdded","invalidURI","regenerateLabel","regneratePrompt","regenerateSuccess","secretCopied","signin","brokerSmall","integrator","environments","dev","live","myTrucks","findTrucks","myCarriers","tools","carrierMonitor","services","saveAtThePump","roadsideAssistance","integrationServices","more","logout","mileageCalculatorPanel","addStop","editStop","Stops","Stop","Dest","csvFileName","Start","End","stateMileageReport","profitInfo","arriavalTo","downloadCSV","interactiveMap","Sub_Message","no_component","systemEncounteredError","companyFavorited","companyUnfavorited","companyBlocked","companyUnblocked","companyOnboarded","companyUnonboarded","comingSoon","subtitle0","subtitle1","subtitle2","linkText","postedLoadStatus","unassigned","load_assigned","unable","unassign","question","brokerDescription","titleDescription","addPromoCode","details1","details2","details3","invalidCodeError","invalidCodeForPlan","setPlanAccessError","message3","changePlan","subtotal","totalDay","totalAfterTrial","totalAfterPromo","notAdded","trialDescription","permissionFailed","fetchingDataFailed","fetchingDataFailedPhone","fetchingDataFailedDescription","fetchingDataFailedContact","needHelpText","accountStatus","accessDeniedPermission1","accessDeniedPermission2","editPayment","tax","invoice","statusMessage","MobileSignUpInProgress","SignUpInProgress","PendingPayment","Expired","OnHold","BillingOnHold","SecondaryUserNonAdmin","NoBillingStatus","reactivateActionResult","customRule","checkboxPostWithVisibilityRules","changeRule","postWithVisibilityRules","postFormContent","postFormMoreContent","anyCarrier","ofAuthority","valueInsurance","withAtLeast","andAtLeast","atPostingTime","willBeVisibleTo","willAlsoBeVisibleTo","afterPostingTime","beVisibleTo","also","carrierWhoIsOnboarded","emptyContent","moreContent","makeDefault","createNewRule","addNextCondition","typeOfCarriers","allCarriers","onboardedType","minInsuranceField","minAuthorityAge","deleteFinalRuleContent","deleteRuleContent","editRule","deleteRulesetContent","ruleSaved","ruleRemoved","ruleUpdated","timeInDay","timeInDays","timeInHour","timeInHours","timeInMins","timeInMin","ageInyear","ageInMonth","ageInyears","ageInMonths","onboardedCarriersContent","setupCarriers","dateAtTime","visibleTo","since","defaultRuleContent","assignRule","createRule","assignRulePopupContent","infoPopupContent","selectRule","selectRulePopup","timerFromCurrentTime","offlineLoadWarning","addCondition","editCondition","createRuleInfoSection","conditionIndex","addNextConditionInfo","ruleTimerInfoOne","ruleTimerInfoTwo","ruleTimerInfoTwoAlt","manageRules","manageOnboardedCarriers","addOrRemove","addUSdot","emptyPanelTitle","filterTitle","emptyPanelsubtitle","editPanelContent","warningMessageTotal","warningMessageDuplicates","warningMessageInvalid","usdotSubmission","editListUpdated","textFieldTitle","usDotLabel","listUpdated","welcomebackCampaign","welcomeback","welcomeBackTitle","reactivateAccount","reactivateAccountForLoads","promoTitle","promoText","unlockOfferBtn","moreBrokerIntgTitle","moreBrokerIntgSubtitle","marketRatesTitle","marketRatesSubtitle","betterLoads","betterLoadsSubtitle","abridgedPromoTitle","sentLocationSuccessfully","fr","i18next","react","nsMode","interpolation","escapeValue","french","spanish","ClientLBConfiguration","getAppVersionDisplay","AppVersion","LBConfig","buildNumber","getAppVersion","getLoginLink","redirect","LoginUrl","getLoginLinkWithEmail","getLogoutLink","redirectURL","LogoutUrl","MC_URL","NAME","APPLICATION","BUGSNAG_API_KEY","AppVersionValue","bugsnagClient","createBugsnagClient","apiKey","appVersion","beforeSend","report","windowError","shouldReport","ignore","releaseStage","createPlugin","NUMBER_OF_GRID_COLUMNS","HALF_GRID_COLUMNS","THIRD_GRID_COLUMNS","DEFAULT_PAGE_WIDTH","DEFAULT_MOBILE_WIDTH","STANDARD_MARGIN","CARD_MARGIN","FileFormats","formats","isFound","formatData","nameData","filesize","fileBase64","contentType","byteCharacters","atob","byteNumbers","charCodeAt","blob","Blob","Uint8Array","createObjectURL","shouldUseAbbreviation","canadaProvinces","stringOptions","getButtonResultLabel","shouldHideTotalCount","removeEdgeCharacters","resultString","unwantedEdgeChars","indexOfCharStart","indexOfCharEnd","GenId","random32Crypto","crypto","getRandomValues","buf32","random32Classic","performance","generateCorrelationId","random32","generateDeviceId","generateCacheBustingParameter","msCrypto","Uint32Array","getCurrentPosition","PERMISSION_DENIED","TIMEOUT","SUPPORT_EMAIL_LINK","EMAIL_HOOK","LINK_COTA_LOGIN","LINK_COTA_IN_123LB_FAQ_PAGE","LINK_DISABLE_NOTIFICATIONS_FAQ_PAGE","LINK_YOUTUBE_TUTORIALS","RESET_PASSWORD_LINK","VERIFIED_LOGIN_LINK","LINK_UPLOAD_POST_GUIDELINES","SYNCTIMER_STOPPED","useSyncTimer","isLocalStorageAvailable","TEST_ITEM","setItem","testItem","afterRemoval","mainSpinner","xxs","md_ipad","lt_sm","lt_mobile","lt_md","lt_md_lg","lt_lg","lt_xl","gt_xs","gt_sm","gt_md","gt_lg","lt_sm_plus_padding","getTitle","notificationNumber","useNotificationWatcher","notificationTitle","useMessageSoundNotification","favicon","Favico","badge","defer","getDescriptionMeta","loadAlertsSearchCount","routeParams","isFindLoads","loadSearchId","_loadAlertsSearchCount_loadSearchId_count","isMainTab","useIsMainTab","soundNotification","useSound","SoundEffect","forceSoundEnabled","BASE_SCRAPE_URL","EXPORT_TO_CSV_URL","LOAD_EXPIRED","LOAD_CREDIT_REPORT_LINK","SNACKBAR_DISPLAY_DURATION","getScrollTop","createRange","selection","getSelection","removeAllRanges","mark","webkitUserSelect","msUserSelect","selectNodeContents","addRange","execCommand","timers","createTimer","setTimestamp","setDefaultTruckData","weights","lengths","companiesUserData","lengthLabel","lengthValues","weightLabel","weightValues","getWeightOrLengthRange","getLengthWeightExcludeValues","lbsValue","ftValue","getLengthWeightExcludeLabel","removeUnnecessaryWeightLengthValues","WrappedComponent","ResizeDetectorHOC","forwardedRef","authDomain","storageBucket","projectId","messagingSenderId","appId","isReversePriority","shouldShowOptionsBeforeBid","_load_conversation","shouldHideContactBeforeParadeBid","isOriginBidsOrMessaging","hasMessageOption","isBookNowEnabled","_load_vendorInfo","_load_vendorInfo1","_load_vendorInfo2","canBookNow","costPerDaySettings","isSpaceKeyPressed","htmlElement","relativePathRoot","changePath","setAbsolutePathForAttribute","changePathFromHttpToHttps","setHttpsForLinks","handlerFunction","attribute","hasAttribute","attributeValue","isPathAbsolute","isHttpPath","PostedLoadsFilterType","doLoadPostRequestLocationsMatchExistingLoad","loadOriginLocation","loadDestinationLocation","doLoadPostRequestOptionalStringsMatchExistingLoad","loadPostFieldsDeliveryDateTime","optionalStrings","doLoadPostRequestPickupDateTimesMatchExistingLoad","loadPostFieldsPickupDateTimesRFC","getExtraStopMainData","_extraStop_address","_extraStop_address1","loadPostRequestStops","loadStops","doesLoadPostRequestMatchExistingLoad","doPostLoadFormFieldsMatchExistingLoad","getPostLoadsAppliedFilters","deliveryDates","omitFilterByFilterType","filterAllFromEquipmentTypes","includeStatuses","convertPostedLoadLocationToLocation","_location_city","_location_state","_location_country","convertPostedLoadEquipmentsToEquipments","convertPostedLoadTimeRangesToDatesCovered","timeRanges","datesCovered","earliestDate","hour","minute","millisecond","endOfTimeRange","timeoutDate","isAfter","_postedLoad_pickup","_postedLoad_delivery","_postedLoad_pickup_timeRanges","_postedLoad_delivery_timeRanges","lastUpdated","delivery","statesArray","xa","x2a","y2a","ya","UserActivityManager","lastActivityTimerStamp","SESSION_EXPIRED_INTERVAL","isUserActivityIntervalSet","timerSet","onUpdateActivity","getLastActivityStamp","useScrollEnd","handler","useManualScrollStart","pauseHandling","isScrolling","useThresholdAfterScroll","scrollThreshold","reached","setReached","_scrollElement_scrollTop","yOffset","setYOffset","floating","setFloating","detectFloatingScrollbars","handleResize","insertAdjacentHTML","scrollBarWidth","trailing","useMediaQuery","queries","mediaQueryLists","matchMedia","getValue","mql","addListener","removeListener","useIsSmallerThanMediumLargeDesktopView","useIsiPhone5Series","OPENED_TABS_KEY","ACTIVE_TAB_KEY","latestCurrentTabKey","getActiveTab","setActiveTab","getOpenedTabs","onCloseTab","activeTab","updatedTabsList","tabInitialization","uniqueTabKey","getIsTabMainOrActive","idRef","generateUniqueId","uniqueId","setContentHeight","setIsMeasurementOver","onWindowResize","useContentScrollControl","csvFile","setCsvData","helper","fromString","useDebouncedState","debouncedState","setDebouncedState","useDebouncedInput","debouncedEvent","setDebouncedEvent","_rootRef_current","setIsEnabled","useIntersectionObserver","setScrollHeight","prevIsLoading","usePreviousWithInitialValue","_rootRef_current_scrollHeight","elementRef","rootMargin","setIsVisible","_entry_isIntersecting","isIntersecting","IntersectionObserver","disconnect","useReduxSelector","equalityFn","shallowEqual","onVisibilityChange","dependencies","handleVisibilityChange","onIdleChange","handleUserActivity","testPassive","supportPassive","onPageVisible","onPageHidden","immediate","onResizeEvent","windowWidth","setWindowWidth","setWindowHeight","innerHeight","arrowUp","arrowRightGray","arrowRightGreen","arrowRightRed","arrowRight","arrowRightOrange","arrowRightSilver","arrowDown","clearSmall","callDisabled","chevronRight","closeLight","collapse","dislike","dollar","expand","ascending","info_small","info_small_white","info_small_gray","like","loadsIcon","lock","logoGray","logoOrange","descending","messageBlue","messageRead","messageSent","onboardedOn","onboardedOff","pointA","pointB","printDisabled","roadSignTwoWay","roadSignTwoWayDisabled","saveLoadDisabled","savedLoad","searchTrucks","shareDisabled","tabAdded","tabAvailable","tabDeadhead","trash","trashOrange","warningMenu","getMatches","findMatches","shortUrl","matchText","idx","parseCounter","MATCH","properties","_parseValueFrom1","_parseValueFrom2","parsedCompany","parsedSortExpression","parsedSortDirection","parsedCompanyName","parsedState","ALL_STATES","parseArrayOfStatesAndProvinces","parseOriginLocation","parseLoadLocationAnywhere","parseLoadLocation","loadLocationAnywhere","parseLoadSearchSort","parseMapBounds","minLatitude","maxLatitude","minLongitude","maxLongitude","parseCompany","parsedTypes","parsedName","parsedCompanyIds","parseBaseLoadSearchRequest","optionalParameters","parsedOrigin","parsedDestination","parsedPickupDates","parsedMetadata","optionalLoadSearchRequestParameters","originLatLongBounds","includeWithGreaterPickupDates","includeWithGreaterDeliveryDates","parseMapPins","COMMON_TRACKING_DATA","ApplicationVersion","ApplicationOs","DeviceId","ApplicationBuild","ApplicationOsVersion","conversationsCount","createCallCarrierTrackData","browserHistory","basename","ReactPlugin","appInsights","ApplicationInsights","instrumentationKey","extensions","enableAutoRouteTracking","autoTrackPageVisitTime","disableFetchTracking","extensionConfig","loadAppInsights","trackPageView","measurementID","ReactGA","setUser","companyCountry","AnalyticsTracker","triggeredByUser","nonInteraction","updateMemberApiHeaders","defaultMemberApiHeaders","configureApi","customHeaders","cookie","Cookies","EXPIRY_COOKIE","isAccessTokenExpired","expDate","getCookie","setAccessTokenExpiry","expiryTime","setCookie","cookieUsername","devid","setSharedLoadIdForMap","sameSite","httpOnly","secure","loadMetricsRequest","deleteLoadTemplate$","templateId","defaultApiOptions","handleResponse$","MembersClient","checkAppVersion$","currentVersion","getServerTime$","CHECK_APP_VERSION","SERVER_TIME_RESPONSE","yearFromTimeStamp","serverTime","getServerTimeEpic$","checkVersionEpic$","hasReloadedRecently","setReloadingFlag","hasReloaded","parsedItem","validTimestap","wasRedirectedToEmailVerification","enforcedAuthentication","enforceAuth","response$","handleWithRefreshTokenIfNeeded$","redirectIfNeeded$","CookieService","TokenRefresher","handleWithRefreshToken$","tokenResponse","connectionError$","isAccountDeactivate","redirectToLogin$","redirectToAccountActivationIfNeeded$","empty$","emailVerificationPageHref","addCacheBustingParameter","tokenResponse$","isInProgress","getRefreshedToken$","refreshToken$","share$","secondsToExpire","clipPath","strokeMiterlimit","__webpack_public_path__"],"mappings":";k3sBAiDA,IAAMA,EAAoBC,AAAAA,CAAAA,EAAAA,EAAAA,EAAAA,AAAAA,IAwDpBC,EAA+B,IACnC,iCACE,UAACC,EAAAA,CAAUA,CAAAA,CAAAA,GACX,UAACC,EAAAA,CAAYA,CAAAA,CAAAA,MAIXC,EAAgC,IACpC,iCACE,UAACC,EAAAA,CAAWA,CAAAA,CAAAA,GACZ,UAACC,EAAAA,CAASA,CAAAA,CAAAA,KAId,KAAeC,AAAAA,CAAAA,EAAAA,EAAAA,CAAAA,AAAAA,EAAeC,EAAAA,CAAWA,CApEnB,KACpBC,AAAAA,CAAAA,EAAAA,EAAAA,SAAAA,AAAAA,EAA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ACN,EACA4gO,GAAI,CACFpjO,EAAG,IACHC,EAAG,IACHgvJ,GAAI,IACJzsJ,GAAI,GACN,EACA6xR,GAAI,CACFr0R,EAAG,IACHC,EAAG,IACHgvJ,GAAI,IACJzsJ,GAAI,GACN,EACA0gO,GAAI,CACFljO,EAAG,IACHC,EAAG,IACHgvJ,GAAI,IACJzsJ,GAAI,GACN,EACA0hO,GAAI,CACFlkO,EAAG,IACHC,EAAG,IACHgvJ,GAAI,IACJzsJ,GAAI,GACN,EACAmgO,GAAI,CACF3iO,EAAG,IACHC,EAAG,IACHgvJ,GAAI,IACJzsJ,GAAI,GACN,EACA8xR,GAAI,CACFt0R,EAAG,IACHC,EAAG,IACHgvJ,GAAI,IACJzsJ,GAAI,GACN,EACA2hO,GAAI,CACFnkO,EAAG,IACHC,EAAG,IACHgvJ,GAAI,IACJzsJ,GAAI,GACN,CACF,uECnZO,IAAMizO,EAAc,CACzBlS,GAAI,CACFgxD,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACA+iO,GAAI,CACFwxD,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACAiiO,GAAI,CACFsyD,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACAikO,GAAI,CACFswD,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACA8iO,GAAI,CACFyxD,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACAukO,GAAI,CACFgwD,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACAwjO,GAAI,CACF+wD,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACAkiO,GAAI,CACFqyD,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACAmiO,GAAI,CACFoyD,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACAyzR,OAAQ,CACN95V,KAAM,KACN46V,UAAW,SACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACAqiO,GAAI,CACFkyD,UAAW,KACXC,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACA0kO,GAAI,CACF6vD,UAAW,KACXt0R,EAAG,MACHD,EAAG,MACHzsB,KAAM,EACR,EACA8wP,GAAI,CACFkwD,UAAW,KACXt0R,EAAG,IACHD,EAAG,GACL,EACA4hO,GAAI,CACF2yD,UAAW,KACXt0R,EAAG,IACHD,EAAG,GACL,EACAmmO,OAAQ,CACNxsS,KAAM,KACN46V,UAAW,SACXt0R,EAAG,IACHD,EAAG,GACL,EACA8zR,GAAI,CACFS,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACA+zR,GAAI,CACFQ,UAAW,KACX17I,QAAS,MACT27I,KAAM,MACN1sP,MAAO,GACP7nC,EAAG,IACHD,EAAG,GACL,EACAs0R,GAAI,CACFC,UAAW,KACXt0R,EAAG,MACHD,EAAG,MACHrmE,KAAM,QACR,EACAy6V,GAAI,CACFG,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA2zR,GAAI,CACFY,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAk0R,GAAI,CACFK,UAAW,KACXt0R,EAAG,MACHD,EAAG,GACL,EACAwzR,GAAI,CACFe,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAi0R,GAAI,CACFM,UAAW,KACXt0R,EAAG,IACHD,EAAG,KACL,EACAg0R,GAAI,CACFO,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA0zR,GAAI,CACFa,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAm0R,GAAI,CACFI,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAq0R,GAAI,CACFE,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA6zR,GAAI,CACFU,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA4zR,GAAI,CACFW,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAijO,GAAI,CACFsxD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAojO,GAAI,CACFmxD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA4jO,GAAI,CACF2wD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAsiO,GAAI,CACFiyD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAykO,GAAI,CACF8vD,UAAW,KACXt0R,EAAG,MACHD,EAAG,GACL,EACA6hO,GAAI,CACF0yD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA+hO,GAAI,CACFwyD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAgiO,GAAI,CACFuyD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAsjO,GAAI,CACFixD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAyjO,GAAI,CACF8wD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA+jO,GAAI,CACFwwD,UAAW,KACXt0R,EAAG,IACHD,EAAG,KACL,EACAskO,GAAI,CACFiwD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA4kO,GAAI,CACF2vD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA8hO,GAAI,CACFyyD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAyiO,GAAI,CACF8xD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA0iO,GAAI,CACF6xD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAmjO,GAAI,CACFoxD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAqjO,GAAI,CACFkxD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA8jO,GAAI,CACFywD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAmkO,GAAI,CACFowD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA4iO,GAAI,CACF2xD,UAAW,KACXt0R,EAAG,MACHD,EAAG,GACL,EACA2hO,GAAI,CACF4yD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAoiO,GAAI,CACFmyD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAm1J,GAAI,CACFo/H,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAkjO,GAAI,CACFqxD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAkkO,GAAI,CACFqwD,UAAW,KACXt0R,EAAG,MACHD,EAAG,GACL,EACAuiO,GAAI,CACFgyD,UAAW,KACXt0R,EAAG,MACHD,EAAG,GACL,EACAwiO,GAAI,CACF+xD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA2iO,GAAI,CACF4xD,UAAW,KACXt0R,EAAG,MACHD,EAAG,GACL,EACA2jO,GAAI,CACF4wD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA6jO,GAAI,CACF0wD,UAAW,KACXt0R,EAAG,IACHD,EAAG,KACL,EACAokO,GAAI,CACFmwD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACAwkO,GAAI,CACF+vD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA2kO,GAAI,CACF4vD,UAAW,KACXt0R,EAAG,MACHD,EAAG,KACL,EACA0jO,GAAI,CACF6wD,UAAW,KACXt0R,EAAG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ACJI,GAAI,gXACN,uECtEO,IAAM8B,EAAgB,CAC3BiuD,GAAI,CACFv6V,KAAM,SACR,EACAioS,GAAI,CACFjoS,KAAM,QACR,EACAgoS,GAAI,CACFhoS,KAAM,SACR,EACAmoS,GAAI,CACFnoS,KAAM,UACR,EACAkoS,GAAI,CACFloS,KAAM,SACR,EACA65V,GAAI,CACF75V,KAAM,kBACR,EACAooS,GAAI,CACFpoS,KAAM,YACR,EACAqoS,GAAI,CACFroS,KAAM,UACR,EACAsoS,GAAI,CACFtoS,KAAM,aACR,EACAwoS,GAAI,CACFxoS,KAAM,sBACR,EACAuoS,GAAI,CACFvoS,KAAM,UACR,EACAyoS,GAAI,CACFzoS,KAAM,SACR,EACAw7N,GAAI,CACFx7N,KAAM,SACR,EACA0oS,GAAI,CACF1oS,KAAM,SACNgwF,KAAM,KACR,EACA84M,GAAI,CACF9oS,KAAM,MACR,EACA2oS,GAAI,CACF3oS,KAAM,OACR,EACA4oS,GAAI,CACF5oS,KAAM,UACR,EACA6oS,GAAI,CACF7oS,KAAM,SACR,EACA+oS,GAAI,CACF/oS,KAAM,QACR,EACAgpS,GAAI,CACFhpS,KAAM,UACR,EACAipS,GAAI,CACFjpS,KAAM,WACR,EACAopS,GAAI,CACFppS,KAAM,eACR,EACAy6V,GAAI,CACFz6V,KAAM,UACR,EACAmpS,GAAI,CACFnpS,KAAM,UACR,EACAkpS,GAAI,CACFlpS,KAAM,OACR,EACAqpS,GAAI,CACFrpS,KAAM,UACR,EACAspS,GAAI,CACFtpS,KAAM,WACR,EACAwpS,GAAI,CACFxpS,KAAM,UACR,EACAupS,GAAI,CACFvpS,KAAM,aACR,EACAypS,GAAI,CACFzpS,KAAM,SACR,EACA26V,GAAI,CACF36V,KAAM,SACNgwF,KAAM,KACR,EACAkqQ,GAAI,CACFl6V,KAAM,eACR,EACAgqS,GAAI,CACFhqS,KAAM,gBACR,EACAiqS,GAAI,CACFjqS,KAAM,cACR,EACA0pS,GAAI,CACF1pS,KAAM,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gQ,aAAa,CAACE,GAAG,CAAG,MAAQpgQ,EAAEkgQ,aAAa,CAACE,GAAG,CACnE,GAAI,CAAC59P,SAASk5T,cAAc,CAACjX,IAC3B,OAAO3yG,QAAQ7iN,GAAG,CAAC,8BAAgCw1T,GAAK,sCAAuC,CAAC,EAClG,IAAIyX,GACFqgB,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAp6B,GACA1mL,GACA+gN,GACAlW,GACAmW,GACAxuB,GACAyuB,GACAC,GACAC,GACAC,GACAC,GACAC,GACAliM,GACAmiM,GACAC,GACA3lN,GACA4lN,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GACAC,GAAK,CAAC,EACNC,GAAK,CAAC,EACNC,GAAK,CAAC,EACNC,GAAK,CAAC,EACNC,GAAK,CAAC,EACNC,GAAK,CAAC,EACNC,GAAK,CAAC,EACNC,GAAK,CAAC,EACNC,GAAK,CAAC,EACNC,GAAK,CACHC,SAAU,2CACVjY,QAAS,gCACTnnH,OACE,mTACFq/H,MACE,0MACFC,KACE,kVACJ,EACAC,GAAK,SAASx7J,CAAC,CAAEp9N,CAAC,CAAEoiW,CAAC,CAAEtrT,CAAC,EACtB,MAAQsrT,GAAMA,CAAAA,EAAI,CAAC,GACjB,MAAQtrT,GAAMA,CAAAA,EAAI,CAAC,GACnBA,GACGA,CAAAA,EAAI,QAAU92C,EAAIo9N,EAAE49B,EAAE,CAAC69H,eAAe,CAAG,YAAc74X,EAAIo9N,EAAE49B,EAAE,CAAC89H,m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M,UAAW,CACTp2R,MAAO,oBACPE,QACE,0GACFsB,OAAQ,qBACR7yG,SAAU,oCACZ,EACA0nY,cAAe,CACbr2R,MAAO,iBACPE,QACE,6OACFo2R,gBAAiB,MACjB90R,OAAQ,SACR+0R,cAAe,wBACfC,SAAU,8CACVC,SAAU,qBACV9nY,SAAU,4BACZ,CACF,EACA+nY,eAAgB,CACd7jB,gBAAiB,kBACjBtjF,YACE,gKACF3+J,SAAU,yCACV1wB,QACE,wJACFy2R,UAAW,2CACXC,yBACE,0GACFzqB,QAAS,UACT0qB,kBAAmB,SACnBC,sBAAuB,gEACvB7rG,SAAU,CACR8rG,mBAAoB,6BACpBvqB,QAAS,SACX,CACF,EACAwqB,UAAW,CACTC,UAAW,kBACX1nG,YACE,6IACF48E,QAAS,uBACTmqB,gBAAiB,YACjBY,YAAa,qCACbC,sBAAuB,yEACvBC,oBACE,sGACFC,UAAW,iBACXC,UAAW,sBACXC,UAAW,YACXC,UAAW,YACXC,aAAc,gCAChB,EACAC,UAAW,CACT/uX,iBAAkB,CAChB/9G,MAAO,mBACT,EACAioL,OAAQ,CACNjoL,MAAO,QACT,EACA6gC,SAAU,CACR7gC,MAAO,UACT,EACA+se,YAAa,CACX/se,MAAO,cACT,EACA89G,QAAS,CACP99G,MAAO,UACT,EACAgte,YAAa,CACXhte,MAAO,MACT,EACAite,YAAa,CACXjte,MAAO,WACT,EACAqiM,kBAAmB,CACjBriM,MAAO,oBACT,EACAkte,OAAQ,CACNlte,MAAO,cACT,EACAmte,aAAc,CACZnte,MAAO,eACT,EACAkpL,gBAAiB,CACflpL,MAAO,kBACT,EACAsI,SAAU,CACRtI,MAAO,WACT,EACAzD,SAAU,CACRyD,MAAO,UACT,EACAote,aAAc,CACZpte,MAAO,cACT,EACAy3Y,kBAAmB,CACjBz3Y,MAAO,oBACT,EACAkwH,eAAgB,CACdlwH,MAAO,iBACT,EACAqte,eAAgB,CACdrte,MAAO,iBACT,EACAste,gBAAiB,CACftte,MAAO,kBACT,EACAute,cAAe,CACbvte,MAAO,gBACT,EACAwte,eAAgB,CACdxte,MAAO,iBACT,EACAyte,eAAgB,CACdzte,MAAO,iBACT,EACA0te,aAAc,CACZ1te,MAAO,cACT,EACA2te,cAAe,CACb3te,MAAO,SACT,EACA4te,aAAc,CACZ5te,MAAO,SACT,EACAi+L,KAAM,CACJj+L,MAAO,aACT,CACF,EACAmkL,UAAW,CACT0pT,UAAW,aACXC,aAAc,CACZ14R,MAAO,+CACP24R,MAAO,mEACPC,MAAO,mGACPC,MAAO,4DACPC,MAAO,6CACT,CACF,EACAC,aAAc,CACZC,SAAU,CACRn/c,KAAM,CACJo/c,MAAO,CACLrue,MAAO,kCACP+oM,SACE,sGACFC,SAAU,sEACZ,EACAslS,MAAO,CACLtue,MAAO,sBACPrL,QAAS,kEACX,EACA45e,MAAO,CACLvue,MAAO,kBACPrL,QAAS,qGACX,CACF,EACAo/B,MAAO,CACLs6c,MAAO,CACLrue,MAAO,wBACPrL,QAAS,oFACX,EACA25e,MAAO,CACLtue,MAAO,kBACPrL,QACE,0IACJ,EACA45e,MAAO,CACLvue,MAAO,6BACPrL,QAAS,gGACX,EACA65e,MAAO,CACLxue,MAAO,uBACPrL,QAAS,oFACX,CACF,EACA85e,cAAe,0BACjB,EACAnpB,WAAY,aACZyC,cAAe,gBACf2mB,eAAgB,iBAChBC,cAAe,gBACfC,eAAgB,mBAChBC,oBAAqB,wBACrBlO,SAAU,WACVmO,eAAgB,mBAChBC,mBAAoB,uBACpBrO,UAAW,YACXsO,iBAAkB,mBAClBC,cAAe,uCACfC,gBAAiB,qCACjBC,SAAU,wBACVC,YAAa,eACbxpB,YAAa,cACb/5H,QAAS,UACTwjJ,YAAa,kCACbC,uBAAwB,yBACxBt4T,KAAM,OACNu4T,QAAS,UACTC,WAAY,6BACZC,yBAA0B,2BAC1BC,iCAAkC,kDAClCC,eAAgB,MAChBC,gBAAiB,OACjBC,aAAc,eACdC,cAAe,gBACfxkU,SAAU,cACVC,YAAa,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BzlH,MAAO,qBACPvE,KAAM,+JACR,EACAkqH,cAAe,CACb3lH,MAAO,iBACPvE,KAAM,sKACR,EACAiqH,gBAAiB,CACf1lH,MAAO,mBACPvE,KAAM,kLACR,CACF,EACAy9e,MAAO,CACLR,iBAAkB,gBAClBG,qBAAsB,oBACtBD,mBAAoB,kBACpBD,2BAA4B,sBAC5BQ,iBAAkB,qBAClBC,iBAAkB,oBACpB,CACF,EACA98W,oBAAqB,CACnBt8H,MAAO,uBACPq5e,gBACE,8FACFC,uBACE,kGACFC,WAAY,CACVv5e,MAAO,MACP6hL,MAAO,0CACPC,MAAO,4CACP03T,aAAc,2CAChB,EACAC,cAAe,CACbz5e,MAAO,SACP6hL,MAAO,0CACPC,MAAO,wDACP03T,aAAc,2DAChB,EACAE,YAAa,CACX15e,MAAO,OACP6hL,MAAO,0CACPC,MAAO,qCACP03T,aAAc,qCAChB,CACF,EACAG,gBAAiB,CACf35e,MAAO,mBACPkuL,YAAa,uCACf,EACA0rT,aAAc,CACZ55e,MAAO,eACT,EACA65e,aAAc,CACZC,iBAAkB,wBAClBC,oBAAqB,iBACrBC,QAAS,eACTC,WAAY,kBACZzoB,UAAW,YACb,CACF,EACApkL,OAAQ,CACN8sM,YAAa,CACXl6e,MAAO,eACPrL,QACE,mGACJ,EACA0jE,UAAW,CACTr4D,MAAO,aACPrL,QACE,qIACJ,EACA4jf,cAAe,CACbv4e,MAAO,iBACPrL,QACE,iLACJ,EACAwlf,eAAgB,CACdn6e,MAAO,2BACPrL,QACE,0JACJ,EACA2nI,oBAAqB,CACnBt8H,MAAO,uBACPrL,QACE,gIACJ,EACAglf,gBAAiB,CACf35e,MAAO,mBACPrL,QACE,+IACJ,EACAilf,aAAc,CACZ55e,MAAO,gBACPrL,QACE,0KACJ,CACF,CACF,EACAmjb,eAAgB,CACd93a,MAAO,kBACPo6e,mBAAoB,2BACpBC,iBAAkB,kBAClBC,0BAA2B,uBAC3BC,+BAAgC,yBAChCC,WAAY,OACZC,kBACE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AW,iCACXC,YAAa,gBACbC,cAAe,mBACfC,YAAa,cACf,EACAC,aAAc,CACZjpf,KAAM,mBACR,EACAkpf,eAAgB,oBAChBjtP,SAAU,WACVt+O,KAAM,sCACNwre,OAAQ,+BACRx3M,OAAQ,CACNy3M,SAAU,CACR7kf,MAAO,yBACPvE,KAAM,yGACR,EACAqpf,aAAc,CACZ9kf,MAAO,mCACPvE,KAAM,iEACR,EACA8vK,YAAa,CACXvrK,MAAO,wBACPvE,KAAM,+EACR,CACF,CACF,EACAspf,cAAe,CACbC,gBAAiB,oCACjBC,mBAAoB,CAClB3/T,OAAQ,0BACR3wL,QAAS,qGACX,CACF,EACAuwf,qBAAsB,CACpBllf,MAAO,wBACPmlf,iBAAkB,sBAClBC,oBAAqB,8EACrBC,qBAAsB,iCACtBC,gBACE,uJACFthN,OAAQ,oDACR19N,KAAM,OACNi/a,MAAO,mBACPC,WAAY,oBACZC,qBAAsB,wBACtBC,SAAU,eACVC,cAAe,iBACfC,mBAAoB,oDACpBC,eAAgB,2DAChBC,cAAe,kBACfC,oBAAqB,8BACrBC,gBAAiB,eACjBC,WAAY,0CACZC,SACE,+TAEFC,2BAA4B,2DAC5BC,yBACE,6IACFC,YAAa,yCACbC,YACE,kJACFC,YAAa,cACbC,YACE,6KACFC,YAAa,YACbC,YAAa,8EACbC,YAAa,4CACbC,YACE,sQACFC,YAAa,cACbC,YACE,0KACFC,YAAa,gBACbC,YACE,+HACFC,YAAa,gDACbC,YAAa,kFACbC,YAAa,eACbC,YAAa,2FACbC,oBACE,oLACFC,iBAAkB,sDAClBC,iBACE,mGACFC,oBACE,4IACFC,kBAAmB,2FACnBC,0BACE,gKACFC,wBACE,6JACFC,mBAAoB,6FACpBC,oCACE,sLACFC,+BAAgC,oEAChCC,gCAAiC,2CACjCC,sCAAuC,4DACvCC,oCAAqC,gEACrCC,eAAgB,qCAChBC,gBAAiB,mDACjBC,oBAAqB,kBACrBC,mBAAoB,qBACpBC,oBACE,gJACFC,mBAAoB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ACdktT,UAAW,mBACXC,UACE,2KACFC,UAAW,wEACb,EACAC,cAAe,mBACfC,cACE,uHACFC,gBAAiB,wEACjBC,UAAW,0BACXC,UAAW,oBACXC,YAAa,sBACbC,iBAAkB,qCAClBC,eAAgB,sBAChBC,gBAAiB,qDACjBC,WAAY,cACZC,oBAAqB,uFACrBC,eAAgB,sDAChBC,cAAe,WACfC,SAAU,gBACVC,WAAY,uBACZC,gBAAiB,yBACjBC,gBAAiB,wDACjBC,kBAAmB,iCACnBC,aAAc,mCAChB,CACF,EACAn2U,KAAM,CACJysU,QAAS,CACP5sf,MAAO,UACPu2f,OAAQ,UACRxmD,SAAU,SACZ,EACAv8W,QAAS,UACTvP,OAAQ,iBACRuya,YAAa,oBACbC,WAAY,aACZh8e,UAAW,CACTwyd,YAAa,WACf,EACAx1R,KAAM,CACJz3M,MAAO,OACP2ie,UAAW,YACX16S,OAAQ,SACRpnJ,SAAU,UACZ,EACA61d,aAAc,CACZ12f,MAAO,UACP22f,IAAK,MACLC,KAAM,MACR,EACA34c,MAAO,CACLj+C,MAAO,QACP69G,UAAW,aACXE,iBAAkB,oBAClBozD,YAAa,eACb47T,YAAa,eACbjvX,QAAS,WACTmvX,YAAa,cACf,EACAnvX,QAAS,CACP99G,MAAO,WACP4O,KAAM,aACNq8d,YAAa,eACblF,YAAa,cACf,EACA8wB,SAAU,CACR72f,MAAO,YACP4O,KAAM,YACR,EACAkof,WAAY,CACV92f,MAAO,cACPm6C,OAAQ,gBACR48c,WAAY,UACd,EACAC,MAAO,CACLh3f,MAAO,QACPsiM,iBAAkB,oBAClBjqI,UAAW,aACX4+b,eAAgB,kBAChB3uf,SAAU,YACV+5L,kBAAmB,qBACnBvQ,YAAa,cACf,EACAolU,SAAU,CACRl3f,MAAO,WACPk4H,cAAe,kBACfi/X,cAAe,mBACfC,mBAAoB,sBACpB5+X,kBAAmB,oBACrB,EACA6+X,oBAAqB,CACnBr3f,MAAO,uBACP8re,eAAgB,kBAChBM,UAAW,kBAC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rL,QAAS,kEACTm1E,IAAK,OACLuoB,OAAQ,SACR5nF,QAAS,gBACT8uf,OAAQ,mBACRhpC,SAAU,6DACZ,EACAipC,SAAU,CACRx5f,MAAO,WACPy5f,SAAU,0FACVthe,QAAS,8FACT40D,OAAQ,2BACR6sG,QAAS,4BACT9qL,OAAQ,qBACV,CACF,EACA4+d,aAAc,CACZ1te,MAAO,mBACPiuC,YAAa,8FACbyrd,kBACE,uHACFxje,UAAW,CACTl2B,MAAO,0BACP25f,iBAAkB,4BAClBC,aAAc,iBACd3rd,YAAa,+BACbkK,MAAO,aACP0hd,SAAU,mEACVC,SAAU,yCACVC,SAAU,uCACVC,iBAAkB,qBAClBC,mBAAoB,yDACtB,EACAC,mBAAoB,CAClB9kX,SAAU,4CACVC,SAAU,iDACV8kX,SAAU,oFACZ,EACAC,WAAY,cACZC,SAAU,WACVC,SAAU,kBACVC,gBAAiB,8BACjBC,gBAAiB,4BACjBC,SAAU,YACVC,iBACE,sHACF3hgB,KAAM,OACNupL,SAAU,WACV27M,QAAS,UACT08H,iBAAkB,4BAClBC,mBAAoB,0BACpBC,wBAAyB,sBACzBC,8BACE,+FACFC,0BACE,gGACFC,aAAc,uCACdC,cAAe,iBACfC,wBACE,yJACFC,wBAAyB,gCACzBC,YAAa,wBACbC,IAAK,MACLrvU,OAAQ,CACNhnL,OAAQ,uEACRs2f,QAAS,4CACX,EACAC,cAAe,CACbC,uBAAwB,CACtBx7f,MAAO,wCACPiuC,YACE,0GACJ,EACAwtd,iBAAkB,CAChBz7f,MAAO,wCACPiuC,YAAa,yEACf,EACAytd,eAAgB,CACd17f,MAAO,iCACPiuC,YACE,gKACJ,EACA0td,QAAS,CACP37f,MAAO,oCACPiuC,YACE,0GACJ,EACA2td,OAAQ,CACN57f,MAAO,oCACPiuC,YAAa,yEACf,EACA4td,cAAe,CACb77f,MAAO,oCACPiuC,YAAa,yCACf,EACA6td,sBAAuB,CACrB97f,MAAO,4BACPiuC,YAAa,0FACf,EACA8td,gBAAiB,CACf/7f,MAAO,oCACPiuC,YACE,0GACJ,CACF,EACA+td,uBAAwB,CACtBvxf,QAAS,gCACTspL,KAAM,mCACR,CACF,EACA8kP,oBAAqB,CACnBojF,WAAY,gBACZC,gCAAiC,6BACjCC,WAAY,cACZC,wBAAyB,6BACzBC,gBAAiB,gFACjBC,oBACE,qIACFC,WAAY,cACZC,YAAa,0BACbC,eAAgB,uBAChB19c,UAAW,aACX29c,YAAa,gBACbC,WAAY,eACZC,cAAe,mBACfC,gBAAiB,+BACjBC,oBAAqB,oCACrBC,iBAAkB,+BAClBC,YAAa,iBACbC,KAAM,OACNC,sBAAuB,qBACvBrma,QAAS,UACTsma,aACE,oWACFxogB,QAAS,qEACTyogB,YAAa,0FACbC,YAAa,eACb9+I,QAAS,WACT++I,cAAe,kBACfC,iBAAkB,qBAClBC,eAAgB,mBAChBC,YAAa,eACbC,cAAe,YACfC,kBAAmB,qBACnBC,gBAAiB,qBACjB/xd,MAAO,UACPw7Y,OAAQ,WACRw2E,uBAAwB,iDACxBC,kBAAmB,+CACnBC,SAAU,YACVz4E,cAAe,cACf04E,qBAAsB,gEACtBv3d,KAAM,OACNG,QAAS,UACTF,MAAO,QACPu3d,UAAW,aACXC,YAAa,eACbC,YAAa,eACbC,UAAW,eACXC,WAAY,gBACZC,WAAY,iBACZC,YAAa,kBACbC,WAAY,mBACZC,UAAW,kBACXC,UAAW,iBACXC,WAAY,mBACZC,WAAY,kBACZC,YAAa,oBACbzlF,kBAAmB,qBACnB0lF,yBACE,+IACFC,cAAe,iCACfC,WAAY,0BACZC,UAAW,cACXC,MAAO,QACP38V,GAAI,KACJ48V,mBAAoB,4FACpBC,WAAY,cACZC,WAAY,cACZC,uBACE,oRACFC,iBACE,yRACFC,WAAY,cACZC,gBACE,6IACFC,qBAAsB,8EACtBC,mBACE,2GACFC,aAAc,gBACdC,cAAe,iBACfC,sBACE,oGACFC,eAAgB,uBAChBC,qBAAsB,iEACtBC,iBAAkB,qCAClBC,iBAA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