@axos-web-dev/shared-components 1.0.99 → 1.0.100-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/dist/ATMLocator/ATMLocator.js +8 -1
  2. package/dist/ArticlesSet/ArticlesSet.js +2 -2
  3. package/dist/Auth/ErrorAlert.js +10 -3
  4. package/dist/Blockquote/Blockquote.module.js +3 -3
  5. package/dist/Button/Button.js +10 -3
  6. package/dist/Calculators/Calculator.js +22 -3
  7. package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.d.ts +9 -0
  8. package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +219 -0
  9. package/dist/Calculators/MaxLoanCalculator/index.js +22 -5
  10. package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.d.ts +1 -0
  11. package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +2 -0
  12. package/dist/Calculators/MonthlyPaymentCalculator/index.js +15 -5
  13. package/dist/Calculators/index.d.ts +2 -1
  14. package/dist/Calculators/index.js +3 -1
  15. package/dist/Carousel/index.js +10 -3
  16. package/dist/Chatbot/Bubble.css.d.ts +1 -0
  17. package/dist/Chatbot/Bubble.css.js +5 -0
  18. package/dist/Chatbot/Bubble.d.ts +3 -0
  19. package/dist/Chatbot/Bubble.js +48 -0
  20. package/dist/Chatbot/Chat.d.ts +1 -0
  21. package/dist/Chatbot/Chat.js +165 -0
  22. package/dist/Chatbot/ChatWindow.css.d.ts +11 -0
  23. package/dist/Chatbot/ChatWindow.css.js +25 -0
  24. package/dist/Chatbot/ChatWindow.d.ts +23 -0
  25. package/dist/Chatbot/ChatWindow.js +202 -0
  26. package/dist/Chatbot/Chatbot.css.d.ts +1 -0
  27. package/dist/Chatbot/Chatbot.css.js +5 -0
  28. package/dist/Chatbot/Chatbot.css.ts.vanilla.css.js +1 -0
  29. package/dist/Chatbot/Chatbot.d.ts +1 -0
  30. package/dist/Chatbot/Chatbot.js +39 -0
  31. package/dist/Chatbot/authenticate.d.ts +3 -0
  32. package/dist/Chatbot/authenticate.js +16 -0
  33. package/dist/Chatbot/index.d.ts +9 -0
  34. package/dist/Chatbot/index.js +31 -0
  35. package/dist/Chatbot/store/chat.d.ts +9 -0
  36. package/dist/Chatbot/store/chat.js +11 -0
  37. package/dist/Chatbot/store/messages.d.ts +14 -0
  38. package/dist/Chatbot/store/messages.js +12 -0
  39. package/dist/Chatbot/useHeadlessChat.d.ts +22 -0
  40. package/dist/Chatbot/useHeadlessChat.js +157 -0
  41. package/dist/Chevron/index.js +10 -3
  42. package/dist/Comparison/Comparison.js +10 -3
  43. package/dist/ExecutiveBio/ExecutiveBio.js +10 -3
  44. package/dist/FaqAccordion/index.js +10 -3
  45. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +10 -3
  46. package/dist/Forms/ApplicationStart.d.ts +1 -1
  47. package/dist/Forms/ApplicationStart.js +111 -89
  48. package/dist/Forms/ApplyNow.d.ts +2 -2
  49. package/dist/Forms/ApplyNow.js +178 -146
  50. package/dist/Forms/ClearingForm.d.ts +1 -1
  51. package/dist/Forms/ClearingForm.js +184 -162
  52. package/dist/Forms/CommercialDeposits.d.ts +1 -1
  53. package/dist/Forms/CommercialDeposits.js +201 -179
  54. package/dist/Forms/CommercialLending.d.ts +1 -1
  55. package/dist/Forms/CommercialLending.js +278 -256
  56. package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
  57. package/dist/Forms/CommercialPremiumFinance.js +128 -106
  58. package/dist/Forms/ContactCompany.d.ts +1 -1
  59. package/dist/Forms/ContactCompany.js +113 -91
  60. package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
  61. package/dist/Forms/ContactCompanyTitle.js +127 -105
  62. package/dist/Forms/ContactUs.d.ts +1 -1
  63. package/dist/Forms/ContactUs.js +99 -77
  64. package/dist/Forms/ContactUsAAS.d.ts +1 -1
  65. package/dist/Forms/ContactUsAAS.js +180 -158
  66. package/dist/Forms/ContactUsBusiness.d.ts +1 -1
  67. package/dist/Forms/ContactUsBusiness.js +143 -115
  68. package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
  69. package/dist/Forms/ContactUsBusinessNameEmail.js +112 -84
  70. package/dist/Forms/ContactUsLVF.d.ts +3 -1
  71. package/dist/Forms/ContactUsLVF.js +127 -101
  72. package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
  73. package/dist/Forms/ContactUsNMLSId.js +126 -98
  74. package/dist/Forms/CpraRequest.d.ts +1 -1
  75. package/dist/Forms/CpraRequest.js +641 -619
  76. package/dist/Forms/CraPublicFile.d.ts +1 -1
  77. package/dist/Forms/CraPublicFile.js +118 -90
  78. package/dist/Forms/DealerServices.d.ts +1 -1
  79. package/dist/Forms/DealerServices.js +225 -204
  80. package/dist/Forms/EmailOnly.d.ts +1 -1
  81. package/dist/Forms/EmailOnly.js +65 -39
  82. package/dist/Forms/EmailUs.d.ts +1 -1
  83. package/dist/Forms/EmailUs.js +75 -53
  84. package/dist/Forms/FormProps.d.ts +3 -0
  85. package/dist/Forms/Forms.css.d.ts +18 -0
  86. package/dist/Forms/Forms.css.js +44 -38
  87. package/dist/Forms/HoneyPot/HoneyPot.css.d.ts +1 -0
  88. package/dist/Forms/HoneyPot/HoneyPot.css.js +5 -0
  89. package/dist/Forms/HoneyPot/index.d.ts +23 -0
  90. package/dist/Forms/HoneyPot/index.js +69 -0
  91. package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
  92. package/dist/Forms/MortgageRate/MortgageRateForm.js +376 -348
  93. package/dist/Forms/MortgageRate/MortgageRateWatch.js +10 -3
  94. package/dist/Forms/MortgageWarehouseLending.d.ts +11 -0
  95. package/dist/Forms/MortgageWarehouseLending.js +343 -0
  96. package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
  97. package/dist/Forms/QuickPricer/QuickPricerForm.js +624 -609
  98. package/dist/Forms/ScheduleCall.d.ts +1 -1
  99. package/dist/Forms/ScheduleCall.js +156 -134
  100. package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
  101. package/dist/Forms/ScheduleCallPremier.js +178 -156
  102. package/dist/Forms/SuccesForm.js +13 -6
  103. package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
  104. package/dist/Forms/VendorQuestionnaire.js +817 -795
  105. package/dist/Forms/WcplSurvey.d.ts +1 -1
  106. package/dist/Forms/WcplSurvey.js +112 -90
  107. package/dist/Forms/applynow-utils.d.ts +1 -0
  108. package/dist/Forms/applynow-utils.js +48 -0
  109. package/dist/Forms/index.d.ts +3 -0
  110. package/dist/Forms/index.js +12 -2
  111. package/dist/HeroBanner/HeroBanner.js +42 -1
  112. package/dist/Hyperlink/index.js +10 -3
  113. package/dist/IconBillboard/sections/CallToActionSection.js +2 -1
  114. package/dist/ImageBillboard/ExitIntentModal/useExitIntentModal.js +6 -1
  115. package/dist/ImageLink/ImageLink.js +10 -3
  116. package/dist/ImageLink/ImageLinkSet.js +10 -3
  117. package/dist/ImageLink/index.js +10 -3
  118. package/dist/Input/Input.js +3 -1
  119. package/dist/Insight/Featured/CategorySelector.js +10 -3
  120. package/dist/Insight/Featured/Featured.js +10 -3
  121. package/dist/Insight/Featured/Header.js +10 -3
  122. package/dist/Modal/Modal.js +10 -3
  123. package/dist/NavigationMenu/AxosALTS/NavData.js +10 -3
  124. package/dist/NavigationMenu/AxosALTS/index.js +10 -3
  125. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +16 -16
  126. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +1 -0
  127. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +25 -7
  128. package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -39
  129. package/dist/NavigationMenu/AxosBank/NavData.js +10 -3
  130. package/dist/NavigationMenu/AxosBank/SubNavBar.js +32 -8
  131. package/dist/NavigationMenu/AxosBank/index.js +10 -3
  132. package/dist/NavigationMenu/LaVictoire/NavData.js +10 -3
  133. package/dist/NavigationMenu/LaVictoire/index.js +10 -3
  134. package/dist/NavigationMenu/NavDataJson.d.ts +2 -0
  135. package/dist/NavigationMenu/NavDataJson.js +315 -0
  136. package/dist/NavigationMenu/Navbar.d.ts +5 -0
  137. package/dist/NavigationMenu/Navbar.js +201 -0
  138. package/dist/NavigationMenu/SignInNavButton.d.ts +1 -0
  139. package/dist/NavigationMenu/SignInNavButton.js +369 -0
  140. package/dist/SetContainer/SetContainer.js +10 -3
  141. package/dist/SocialMediaBar/iconsRepository.js +10 -3
  142. package/dist/Table/Table.d.ts +1 -1
  143. package/dist/VideoTile/VideoTile.js +10 -3
  144. package/dist/VideoWrapper/index.js +10 -3
  145. package/dist/assets/Blockquote/Blockquote.css.css +68 -68
  146. package/dist/assets/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css +3 -0
  147. package/dist/assets/Chatbot/Bubble.css +40 -0
  148. package/dist/assets/Chatbot/ChatWindow.css +107 -0
  149. package/dist/assets/Forms/Forms.css +135 -105
  150. package/dist/assets/Forms/HoneyPot/HoneyPot.css +8 -0
  151. package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +191 -191
  152. package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +473 -473
  153. package/dist/assets/utils/optimizeImage/optimizeImage.css.css +47 -47
  154. package/dist/icons/Logos/AXB.d.ts +8 -0
  155. package/dist/icons/Logos/AXB.js +74 -0
  156. package/dist/main.d.ts +1 -0
  157. package/dist/main.js +43 -3
  158. package/dist/utils/allowedAxosDomains.js +2 -1
  159. package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
  160. package/package.json +136 -133
@@ -6,7 +6,7 @@ import "../icons/ArrowIcon/ArrowIcon.css.js";
6
6
  import SvgAxosX from "../icons/AxosX/index.js";
7
7
  import SvgComponent from "../icons/AxosX/Blue.js";
8
8
  import "../icons/CheckIcon/CheckIcon.css.js";
9
- import '../assets/Modal/Modal.css';import '../assets/VideoWrapper/VideoWrapper.css';import '../assets/TopicalNavSet/TopicalNavSet.css';import '../assets/TopicalNavItem/TopicalNavItem.css';import '../assets/Topic/Topic.css';import '../assets/TextBlock/TextBlock.css';import '../assets/SocialMediaBar/SocialMediaBar.css';import '../assets/SecondaryFooter/SecondaryFooter.css';import '../assets/Pagination/Pagination.css';import '../assets/PageNavSet/PageNavigationSet.css';import '../assets/NavigationMenu/LaVictoire/NavBar.css';import '../assets/NavigationMenu/AxosALTS/NavBar.css';import '../assets/NavigationMenu/AxosClearing/NavBar.css';import '../assets/NavigationMenu/AxosBank/SubNavbar.css';import '../assets/NavigationMenu/AxosBank/NavBar.css';import '../assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisorServices/NavBar.css';import '../assets/NavigationMenu/AxosAdvisor/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisor/NavBar.css';import '../assets/Insight/Insight.css';import '../assets/Insight/Featured/Header.css';import '../assets/Insight/Featured/CategorySelector.css';import '../assets/Insight/Featured/Featured.css';import '../assets/ImageLink/ImageLink.css';import '../assets/VideoTile/VideoTile.css';import '../assets/HelpArticle/HelpArticle.css';import '../assets/FooterSiteMap/AxosBank/FooterSiteMap.css';import '../assets/FooterDisclosure/LVF/LaVictorieFooter.css';import '../assets/DownloadTile/DownloadTile.css';import '../assets/CollectInformationAlert/CollectInformationAlert.css';import '../assets/CallToActionBar/CallToActionBar.css';import '../assets/AwardsItem/AwardsItem.css';import '../assets/AwardsBanner/AwardsBanner.css';import '../assets/Auth/SignIn.css';import '../assets/Auth/ErrorAlert.css';import '../assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css';import '../assets/Forms/QuickPricer/UserInformation.css';import '../assets/Forms/QuickPricer/QuickPricerResults.css';import '../assets/BulletItem/BulletItem.css';import '../assets/Typography/Typography.css';import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/DownloadIcon/DownloadIcon.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
9
+ import '../assets/Modal/Modal.css';import '../assets/VideoWrapper/VideoWrapper.css';import '../assets/TopicalNavSet/TopicalNavSet.css';import '../assets/TopicalNavItem/TopicalNavItem.css';import '../assets/Topic/Topic.css';import '../assets/TextBlock/TextBlock.css';import '../assets/SocialMediaBar/SocialMediaBar.css';import '../assets/SecondaryFooter/SecondaryFooter.css';import '../assets/Pagination/Pagination.css';import '../assets/PageNavSet/PageNavigationSet.css';import '../assets/NavigationMenu/LaVictoire/NavBar.css';import '../assets/NavigationMenu/AxosALTS/NavBar.css';import '../assets/NavigationMenu/AxosClearing/NavBar.css';import '../assets/NavigationMenu/AxosBank/SubNavbar.css';import '../assets/NavigationMenu/AxosBank/NavBar.css';import '../assets/NavigationMenu/AxosAdvisorServices/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisorServices/NavBar.css';import '../assets/NavigationMenu/AxosAdvisor/SubNavbar.css';import '../assets/NavigationMenu/AxosAdvisor/NavBar.css';import '../assets/Insight/Insight.css';import '../assets/Insight/Featured/Header.css';import '../assets/Insight/Featured/CategorySelector.css';import '../assets/Insight/Featured/Featured.css';import '../assets/ImageLink/ImageLink.css';import '../assets/VideoTile/VideoTile.css';import '../assets/HelpArticle/HelpArticle.css';import '../assets/FooterSiteMap/AxosBank/FooterSiteMap.css';import '../assets/FooterDisclosure/LVF/LaVictorieFooter.css';import '../assets/DownloadTile/DownloadTile.css';import '../assets/CollectInformationAlert/CollectInformationAlert.css';import '../assets/Chatbot/ChatWindow.css';import '../assets/Chatbot/Bubble.css';import '../assets/CallToActionBar/CallToActionBar.css';import '../assets/AwardsItem/AwardsItem.css';import '../assets/AwardsBanner/AwardsBanner.css';import '../assets/Auth/SignIn.css';import '../assets/Auth/ErrorAlert.css';import '../assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css';import '../assets/Forms/QuickPricer/UserInformation.css';import '../assets/Forms/QuickPricer/QuickPricerResults.css';import '../assets/BulletItem/BulletItem.css';import '../assets/Typography/Typography.css';import '../assets/icons/FollowIcon/FollowIcon.css';import '../assets/icons/DownloadIcon/DownloadIcon.css';import '../assets/themes/victorie.css';import '../assets/themes/premier.css';import '../assets/themes/axos.css';/* empty css */
10
10
  /* empty css */
11
11
  /* empty css */
12
12
  /* empty css */
@@ -44,9 +44,13 @@ import "../Input/InputPhone.js";
44
44
  import "../Input/InputTextArea.js";
45
45
  import "../Input/DownPaymentInput.js";
46
46
  import "../Input/RadioButton.js";
47
+ import "../Input/PercentageInput.js";
47
48
  import "react-hook-form";
48
- import { iconForm, headerContainer, headerForm, form, descriptionField, formWrapper, step_title_apply_now, form_nav_apply_now, iconbillboards_option_apply_now, show_options, hide_options, back_btn_apply_now, disclosureForm, formContainer } from "./Forms.css.js";
49
+ import "../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
50
+ import { iconForm, headerForm, form, descriptionField, axosHeader, headerContainer, apply_now_form, formWrapper, step_title_apply_now, form_nav_apply_now, iconbillboards_option_apply_now, show_options, hide_options, back_btn_apply_now, disclosureForm, formContainer } from "./Forms.css.js";
51
+ import "./HoneyPot/index.js";
49
52
  import "./SalesforceFieldsForm.js";
53
+ import { getLink } from "./applynow-utils.js";
50
54
  import "../Input/RadioButton.css.js";
51
55
  import "../Input/Checkbox.css.js";
52
56
  import "../LoadingIndicator/LoadingIndicator.css.js";
@@ -60,8 +64,6 @@ import "iframe-resizer";
60
64
  import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
61
65
  import "../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
62
66
  import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
63
- import "../Input/PercentageInput.js";
64
- import "../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
65
67
  /* empty css */
66
68
  import "react-dom";
67
69
  /* empty css */
@@ -70,6 +72,12 @@ import "../Auth/SignInPassword.js";
70
72
  /* empty css */
71
73
  /* empty css */
72
74
  import "../Carousel/index.js";
75
+ /* empty css */
76
+ import "../Chatbot/store/chat.js";
77
+ import "../Chatbot/authenticate.js";
78
+ /* empty css */
79
+ import "../Chatbot/store/messages.js";
80
+ import "../Chatbot/Chatbot.css.ts.vanilla.css.js";
73
81
  /* empty css */
74
82
  import "../Comparison/Comparison.css.js";
75
83
  import "next/image.js";
@@ -134,21 +142,46 @@ const ApplyNow = ({
134
142
  headline,
135
143
  description,
136
144
  id,
137
- gbf = false
145
+ gbf = false,
146
+ project = "lvf"
138
147
  }) => {
148
+ const headers = [
149
+ "Choose the boat loan that fits your needs.",
150
+ "How are you going to use your boat?",
151
+ "Will you hold your boat in LLC or personally own it?"
152
+ ];
139
153
  const reducer = (state, action) => {
140
154
  if (action.type == "back") {
141
155
  return {
142
156
  ...state,
143
157
  step: state.selection.includes("Inventory Finance") ? 1 : state.step > 0 ? state.step - 1 : 1,
144
- selection: state.selection.includes("Inventory Finance") ? [] : state.selection.slice(0, -1)
158
+ selection: state.selection.includes("Inventory Finance") ? [] : state.selection.slice(0, -1),
159
+ title: headers[state.step - 2] || headers[0]
160
+ };
161
+ }
162
+ if (action.type == "Initial") {
163
+ return {
164
+ ...state,
165
+ step: 1,
166
+ selection: [],
167
+ title: "Choose the boat loan that fits your needs."
145
168
  };
146
169
  }
147
170
  if (action.type == "Term") {
148
- return { ...state, step: 2, selection: ["Term"] };
171
+ return {
172
+ ...state,
173
+ step: 2,
174
+ selection: ["Term"],
175
+ title: "How are you going to use your boat?"
176
+ };
149
177
  }
150
178
  if (action.type == "Credit Line") {
151
- return { ...state, step: 2, selection: ["Credit Line"] };
179
+ return {
180
+ ...state,
181
+ step: 2,
182
+ selection: ["Credit Line"],
183
+ title: "How are you going to use your boat?"
184
+ };
152
185
  }
153
186
  if (action.type == "Inventory Finance") {
154
187
  return { ...state, step: 4, selection: ["Inventory Finance"] };
@@ -157,31 +190,40 @@ const ApplyNow = ({
157
190
  return {
158
191
  ...state,
159
192
  step: 3,
160
- selection: [...state.selection, "Limited Charter"]
193
+ selection: [...state.selection, "Limited Charter"],
194
+ title: "Will you hold your boat in LLC or personally own it?"
161
195
  };
162
196
  }
163
197
  if (action.type == "Personal Use") {
164
198
  return {
165
199
  ...state,
166
200
  step: 3,
167
- selection: [...state.selection, "Personal Use"]
201
+ selection: [...state.selection, "Personal Use"],
202
+ title: "Will you hold your boat in LLC or personally own it?"
168
203
  };
169
204
  }
170
205
  if (action.type == "Full-time Charter") {
171
206
  return {
172
207
  ...state,
173
208
  step: 3,
174
- selection: [...state.selection, "Full-time Charter"]
209
+ selection: [...state.selection, "Full-time Charter"],
210
+ title: "Will you hold your boat in LLC or personally own it?"
175
211
  };
176
212
  }
177
213
  if (action.type == "LLC") {
178
- return { ...state, step: 4, selection: [...state.selection, "LLC"] };
214
+ return {
215
+ ...state,
216
+ step: 4,
217
+ selection: [...state.selection, "LLC"],
218
+ title: "Get ready to start your application."
219
+ };
179
220
  }
180
221
  if (action.type == "Personal") {
181
222
  return {
182
223
  ...state,
183
224
  step: 4,
184
- selection: [...state.selection, "Personal"]
225
+ selection: [...state.selection, "Personal"],
226
+ title: "Get ready to start your application."
185
227
  };
186
228
  }
187
229
  if (action.type == "URL") {
@@ -196,26 +238,39 @@ const ApplyNow = ({
196
238
  const [stateRed, dispatch] = useReducer(reducer, {
197
239
  url: "",
198
240
  selection: [],
199
- step: 1
241
+ step: 1,
242
+ title: "Choose the boat loan that fits your needs."
200
243
  });
201
244
  const variant = getVariant(fullVariant);
245
+ const backButtonVariant = ["tertiary", "quaternary"].includes(variant) && project !== "lvf" ? "tertiary" : "primary";
202
246
  return /* @__PURE__ */ jsx("section", { id, className: clsx(formContainer({ variant })), children: /* @__PURE__ */ jsx("div", { className: clsx("containment"), children: /* @__PURE__ */ jsxs(Fragment, { children: [
203
247
  icon && /* @__PURE__ */ jsx("div", { className: clsx("text_center", iconForm), children: ["primary", "secondary"].includes(variant) ? /* @__PURE__ */ jsx(SvgComponent, {}) : /* @__PURE__ */ jsx(SvgAxosX, {}) }),
204
- /* @__PURE__ */ jsxs("div", { className: `${headerContainer} text_center`, children: [
205
- /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: headline }),
206
- description && typeof description === "string" ? /* @__PURE__ */ jsx(
207
- "div",
208
- {
209
- className: clsx(
210
- "text_center",
211
- form,
212
- descriptionField({ variant })
213
- ),
214
- children: description
215
- }
216
- ) : description
217
- ] }),
218
- /* @__PURE__ */ jsxs("form", { className: form, children: [
248
+ /* @__PURE__ */ jsxs(
249
+ "div",
250
+ {
251
+ className: clsx(
252
+ project === "lvf" ? axosHeader : "",
253
+ `${headerContainer} text_center`,
254
+ headerForm({ variant })
255
+ ),
256
+ children: [
257
+ /* @__PURE__ */ jsx("h2", { className: clsx("header_2", headerForm({ variant })), children: stateRed.title ?? headline }),
258
+ /* @__PURE__ */ jsx(
259
+ "div",
260
+ {
261
+ className: clsx(
262
+ "text_center",
263
+ form,
264
+ descriptionField({ variant }),
265
+ project === "axos" && stateRed.step > 1 ? "hide" : ""
266
+ ),
267
+ children: description
268
+ }
269
+ )
270
+ ]
271
+ }
272
+ ),
273
+ /* @__PURE__ */ jsxs("form", { className: project === "lvf" ? form : apply_now_form, children: [
219
274
  /* @__PURE__ */ jsx(
220
275
  "div",
221
276
  {
@@ -234,30 +289,48 @@ const ApplyNow = ({
234
289
  stateRed.step == 1 ? show_options : hide_options
235
290
  ),
236
291
  children: [
237
- /* @__PURE__ */ jsx("div", { className: clsx(form_nav_apply_now), children: /* @__PURE__ */ jsx(
238
- "p",
292
+ /* @__PURE__ */ jsx(
293
+ "div",
239
294
  {
240
295
  className: clsx(
241
- "header_2",
242
- headerForm({ variant }),
243
- step_title_apply_now
296
+ form_nav_apply_now,
297
+ project !== "lvf" ? "hide" : ""
244
298
  ),
245
- children: "Step One"
299
+ children: /* @__PURE__ */ jsx(
300
+ "p",
301
+ {
302
+ className: clsx(
303
+ "header_2",
304
+ headerForm({ variant }),
305
+ step_title_apply_now
306
+ ),
307
+ children: "Step One"
308
+ }
309
+ )
246
310
  }
247
- ) }),
311
+ ),
248
312
  /* @__PURE__ */ jsxs("div", { className: clsx(iconbillboards_option_apply_now), children: [
249
313
  /* @__PURE__ */ jsx(
250
314
  IconBillboard,
251
315
  {
252
316
  headline: "Term Loans",
253
- body: "I am buying a new or used boat OR I am looking for a Preapproval.",
317
+ body: project === "lvf" ? /* @__PURE__ */ jsxs(Fragment, { children: [
318
+ "I am buying a new or used boat ",
319
+ /* @__PURE__ */ jsx("strong", { children: "or" }),
320
+ " I am looking for a Preapproval."
321
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
322
+ "I'm ready to begin a boat loan application",
323
+ " ",
324
+ /* @__PURE__ */ jsx("strong", { children: "or" }),
325
+ " get preapproved."
326
+ ] }),
254
327
  callToActionRow: [
255
328
  {
256
329
  id: "Term",
257
330
  targetUrl: "#",
258
- displayText: "Select",
259
- variant: "secondary",
260
- type: "Button",
331
+ displayText: project === "lvf" ? "Select" : "Get Started",
332
+ variant: project === "lvf" ? "secondary" : "primary",
333
+ type: project === "lvf" ? "Button" : "Chevron",
261
334
  as: "button",
262
335
  onClick: () => {
263
336
  dispatch({ type: "Term" });
@@ -269,48 +342,50 @@ const ApplyNow = ({
269
342
  variant: "primary"
270
343
  }
271
344
  ),
272
- gbf && /* @__PURE__ */ jsx(
273
- IconBillboard,
274
- {
275
- headline: "Credit Line",
276
- body: "I want to make improvements on my boat.",
277
- callToActionRow: [
278
- {
279
- id: "Credit Line",
280
- targetUrl: "#",
281
- displayText: "Select",
282
- variant: "secondary",
283
- type: "Button",
284
- as: "button",
285
- onClick: () => {
286
- dispatch({ type: "Credit Line" });
287
- dispatch({ type: "URL" });
345
+ project === "lvf" && /* @__PURE__ */ jsxs(Fragment, { children: [
346
+ gbf && /* @__PURE__ */ jsx(
347
+ IconBillboard,
348
+ {
349
+ headline: "Credit Line",
350
+ body: "I want to make improvements on my boat.",
351
+ callToActionRow: [
352
+ {
353
+ id: "Credit Line",
354
+ targetUrl: "#",
355
+ displayText: "Select",
356
+ variant: "secondary",
357
+ type: "Button",
358
+ as: "button",
359
+ onClick: () => {
360
+ dispatch({ type: "Credit Line" });
361
+ dispatch({ type: "URL" });
362
+ }
288
363
  }
289
- }
290
- ],
291
- id: "Credit Line",
292
- variant: "primary"
293
- }
294
- ),
295
- !gbf && /* @__PURE__ */ jsx(
296
- IconBillboard,
297
- {
298
- headline: "Inventory Finance",
299
- body: "I am a boat dealer purchasing multiple boats in the future.",
300
- callToActionRow: [
301
- {
302
- id: "Inventory Finance",
303
- targetUrl: "/contact-us",
304
- displayText: "Select",
305
- variant: "secondary",
306
- type: "Button",
307
- as: "a"
308
- }
309
- ],
310
- id: "billboard-term",
311
- variant: "primary"
312
- }
313
- )
364
+ ],
365
+ id: "Credit Line",
366
+ variant: "primary"
367
+ }
368
+ ),
369
+ !gbf && /* @__PURE__ */ jsx(
370
+ IconBillboard,
371
+ {
372
+ headline: "Inventory Finance",
373
+ body: "I am a boat dealer purchasing multiple boats in the future.",
374
+ callToActionRow: [
375
+ {
376
+ id: "Inventory Finance",
377
+ targetUrl: "/contact-us",
378
+ displayText: "Select",
379
+ variant: "secondary",
380
+ type: "Button",
381
+ as: "a"
382
+ }
383
+ ],
384
+ id: "billboard-term",
385
+ variant: "primary"
386
+ }
387
+ )
388
+ ] })
314
389
  ] })
315
390
  ]
316
391
  }
@@ -331,8 +406,9 @@ const ApplyNow = ({
331
406
  action: () => {
332
407
  dispatch({ type: "back" });
333
408
  dispatch({ type: "URL" });
409
+ dispatch({ type: "Initial" });
334
410
  },
335
- variant: "primary",
411
+ variant: backButtonVariant,
336
412
  targetUrl: "#",
337
413
  displayText: "Back",
338
414
  leftArrow: true,
@@ -346,7 +422,8 @@ const ApplyNow = ({
346
422
  className: clsx(
347
423
  "header_2",
348
424
  headerForm({ variant }),
349
- step_title_apply_now
425
+ step_title_apply_now,
426
+ project !== "lvf" ? "hide" : ""
350
427
  ),
351
428
  children: "Step Two"
352
429
  }
@@ -363,8 +440,8 @@ const ApplyNow = ({
363
440
  id: "Full-time Charter",
364
441
  targetUrl: "#",
365
442
  displayText: "Select",
366
- variant: "secondary",
367
- type: "Button",
443
+ variant: project === "lvf" ? "secondary" : "primary",
444
+ type: project === "lvf" ? "Button" : "Chevron",
368
445
  as: "button",
369
446
  onClick: () => {
370
447
  dispatch({ type: "Full-time Charter" });
@@ -386,8 +463,8 @@ const ApplyNow = ({
386
463
  id: "Limited-charter",
387
464
  targetUrl: "#",
388
465
  displayText: "Select",
389
- variant: "secondary",
390
- type: "Button",
466
+ variant: project === "lvf" ? "secondary" : "primary",
467
+ type: project === "lvf" ? "Button" : "Chevron",
391
468
  as: "button",
392
469
  onClick: () => {
393
470
  dispatch({ type: "Limited Charter" });
@@ -409,8 +486,8 @@ const ApplyNow = ({
409
486
  id: "personal-use",
410
487
  targetUrl: "#",
411
488
  displayText: "Select",
412
- variant: "secondary",
413
- type: "Button",
489
+ variant: project === "lvf" ? "secondary" : "primary",
490
+ type: project === "lvf" ? "Button" : "Chevron",
414
491
  as: "button",
415
492
  onClick: () => {
416
493
  dispatch({ type: "Personal Use" });
@@ -443,7 +520,7 @@ const ApplyNow = ({
443
520
  dispatch({ type: "back" });
444
521
  dispatch({ type: "URL" });
445
522
  },
446
- variant: "primary",
523
+ variant: backButtonVariant,
447
524
  targetUrl: "",
448
525
  displayText: "Back",
449
526
  leftArrow: true,
@@ -457,7 +534,8 @@ const ApplyNow = ({
457
534
  className: clsx(
458
535
  "header_2",
459
536
  headerForm({ variant }),
460
- step_title_apply_now
537
+ step_title_apply_now,
538
+ project !== "lvf" ? "hide" : ""
461
539
  ),
462
540
  children: "Step Three"
463
541
  }
@@ -474,8 +552,8 @@ const ApplyNow = ({
474
552
  id: "llc",
475
553
  targetUrl: "#",
476
554
  displayText: "Select",
477
- variant: "secondary",
478
- type: "Button",
555
+ variant: project === "lvf" ? "secondary" : "primary",
556
+ type: project === "lvf" ? "Button" : "Chevron",
479
557
  as: "button",
480
558
  onClick: () => {
481
559
  dispatch({ type: "LLC" });
@@ -497,8 +575,8 @@ const ApplyNow = ({
497
575
  id: "personal",
498
576
  targetUrl: "#",
499
577
  displayText: "Select",
500
- variant: "secondary",
501
- type: "Button",
578
+ variant: project === "lvf" ? "secondary" : "primary",
579
+ type: project === "lvf" ? "Button" : "Chevron",
502
580
  as: "button",
503
581
  onClick: () => {
504
582
  dispatch({ type: "Personal" });
@@ -531,8 +609,8 @@ const ApplyNow = ({
531
609
  dispatch({ type: "back" });
532
610
  dispatch({ type: "URL" });
533
611
  },
534
- variant: "primary",
535
- targetUrl: "#!",
612
+ variant: backButtonVariant,
613
+ targetUrl: "#",
536
614
  displayText: "Back",
537
615
  leftArrow: true,
538
616
  classNameWrapper: clsx(back_btn_apply_now),
@@ -566,8 +644,8 @@ const ApplyNow = ({
566
644
  {
567
645
  id: "Inventory Finance",
568
646
  targetUrl: stateRed.url,
569
- displayText: "Select",
570
- variant: "secondary",
647
+ displayText: project === "lvf" ? "Select" : "Start Application",
648
+ variant: project === "lvf" ? "secondary" : "primary",
571
649
  type: "Button",
572
650
  as: "a"
573
651
  }
@@ -585,52 +663,6 @@ const ApplyNow = ({
585
663
  ] })
586
664
  ] }) }) }, id);
587
665
  };
588
- const getLink = (selection) => {
589
- const formSelection = selection.join(" | ");
590
- let url = "{LVFMYSITE}/Portal/nPortal__SelfRegistration?core=es5";
591
- switch (formSelection) {
592
- case "Term | Full-time Charter | LLC":
593
- url += "&product=a0u5e000001XiAo";
594
- break;
595
- case "Term | Limited Charter | LLC":
596
- url += "&product=a0u5e000001XiAp";
597
- break;
598
- case "Term | Personal Use | LLC":
599
- url += "&product=a0u5e000001XiB3";
600
- break;
601
- case "Term | Full-time Charter | Personal":
602
- url += "&product=a0u5e000001Wfd5";
603
- break;
604
- case "Term | Limited Charter | Personal":
605
- url += "&product=a0u5e000001WfdA";
606
- break;
607
- case "Term | Personal Use | Personal":
608
- url += "&product=a0u5e000001WfdB";
609
- break;
610
- case "Credit Line | Full-time Charter | LLC":
611
- url += "&product=a0u8W00002DhceX";
612
- break;
613
- case "Credit Line | Limited Charter | LLC":
614
- url += "&product=a0u8W00002DhceY";
615
- break;
616
- case "Credit Line | Personal Use | LLC":
617
- url += "&product=a0u8W00002DhceZ";
618
- break;
619
- case "Credit Line | Full-time Charter | Personal":
620
- url += "&product=a0u8W00002DhceS";
621
- break;
622
- case "Credit Line | Limited Charter | Personal":
623
- url += "&product=a0u8W00002DhceT";
624
- break;
625
- case "Credit Line | Personal Use | Personal":
626
- url += "&product=a0u8W00002DhceU";
627
- break;
628
- default:
629
- url += "&product=a0u5e000000hzHz";
630
- }
631
- return url;
632
- };
633
666
  export {
634
- ApplyNow,
635
- getLink
667
+ ApplyNow
636
668
  };
@@ -11,4 +11,4 @@ export type ClearingInputs = {
11
11
  Memo__c: string;
12
12
  business_type_selection: string;
13
13
  };
14
- export declare const ClearingForm: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const ClearingForm: ({ icon, children, onSubmit, disclosure, variant: fullVariant, headline, description, callToAction, validateEmail, onValidate, id, }: FormProps) => import("react/jsx-runtime").JSX.Element;