@justifi/webcomponents 4.23.1 → 5.0.0-rc-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 (965) hide show
  1. package/dist/cjs/{Business-aa799fec.js → Business-cfd6a2dd.js} +5 -0
  2. package/dist/cjs/Dispute-eb6bad54.js +59 -0
  3. package/dist/cjs/{Payment-87b47c43.js → Payment-d074b246.js} +7 -9
  4. package/dist/cjs/additional-questions-details_5.cjs.entry.js +9 -28
  5. package/dist/cjs/bank-account-form_9.cjs.entry.js +493 -0
  6. package/dist/cjs/{business-additional-questions-schema-f5591026.js → business-additional-questions-schema-caa23e95.js} +2 -2
  7. package/dist/cjs/business-details-core.cjs.entry.js +26 -4
  8. package/dist/cjs/{business-form-options-5db0bd5e.js → business-form-options-4bcb8943.js} +1 -1
  9. package/dist/cjs/{business-identity-schema-804a4bd7.js → business-identity-schema-0c537067.js} +2 -2
  10. package/dist/cjs/{business.service-7faffa0b.js → business.service-285f6f26.js} +1 -1
  11. package/dist/cjs/button-94bdc1f0.js +20 -0
  12. package/dist/cjs/{Analytics-7ab90cae.js → check-pkg-version-18426209.js} +23 -3
  13. package/dist/cjs/{checkout.service-aae1996c.js → checkout.service-671fab62.js} +2 -2
  14. package/dist/cjs/checkouts-list-core.cjs.entry.js +37 -30
  15. package/dist/cjs/checkouts-list-params-state-418c75a3.js +14 -0
  16. package/dist/cjs/checkouts-table-17648e93.js +48 -0
  17. package/dist/cjs/{config-05767cba.js → config-b190e93e.js} +1 -1
  18. package/dist/cjs/{custom-popper_4.cjs.entry.js → custom-popper.cjs.entry.js} +3 -107
  19. package/dist/cjs/dispute.service-c362a953.js +29 -0
  20. package/dist/cjs/event-types-180a85a9.js +23 -0
  21. package/dist/cjs/{table-ec9ce9f7.js → event-types-4df47396.js} +16 -8
  22. package/dist/cjs/event-types-8edaabbb.js +22 -0
  23. package/dist/cjs/form-alert_5.cjs.entry.js +9 -8
  24. package/dist/cjs/form-control-checkbox.cjs.entry.js +57 -0
  25. package/dist/cjs/form-control-date.cjs.entry.js +21 -2
  26. package/dist/cjs/form-control-error-text-a2fd5fc1.js +14 -0
  27. package/dist/cjs/form-control-file-v2_2.cjs.entry.js +90 -0
  28. package/dist/cjs/form-control-file.cjs.entry.js +21 -2
  29. package/dist/cjs/form-control-help-text-b6f7ae6e.js +14 -0
  30. package/dist/cjs/form-control-help-text.cjs.entry.js +1 -1
  31. package/dist/cjs/form-control-monetary.cjs.entry.js +22 -2
  32. package/dist/cjs/form-control-number-masked_2.cjs.entry.js +21 -3
  33. package/dist/cjs/form-control-number.cjs.entry.js +21 -2
  34. package/dist/cjs/form-control-radio.cjs.entry.js +25 -17
  35. package/dist/cjs/form-control-select_3.cjs.entry.js +145 -0
  36. package/dist/cjs/{get-payout-csv-1eed32ee.js → get-payout-csv-d2aed52c.js} +2 -2
  37. package/dist/cjs/{get-subaccounts-1d2fb201.js → get-subaccounts-9aa22224.js} +2 -2
  38. package/dist/cjs/gross-payment-chart-core.cjs.entry.js +6 -8
  39. package/dist/cjs/header-1-cb7af794.js +10 -0
  40. package/dist/cjs/header-3-75e50713.js +10 -0
  41. package/dist/cjs/iframe-input-styles-state-d0de0b24.js +26 -0
  42. package/dist/cjs/{justifi-billing-form_2.cjs.entry.js → iframe-input.cjs.entry.js} +73 -180
  43. package/dist/cjs/{index-fb499e95.js → index-5b9a3b5f.js} +1 -93
  44. package/dist/cjs/{insurance-state-80e24caf.js → index-d2d0b181.js} +2 -24
  45. package/dist/cjs/{index.esm-97cf6825.js → index.esm-a397536a.js} +1 -1
  46. package/dist/cjs/insurance-state-001cfe12.js +34 -0
  47. package/dist/cjs/justifi-additional-questions-form-step-core_8.cjs.entry.js +591 -0
  48. package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +43 -43
  49. package/dist/cjs/justifi-additional-statement_8.cjs.entry.js +413 -0
  50. package/dist/cjs/justifi-business-details.cjs.entry.js +9 -9
  51. package/dist/cjs/justifi-business-form.cjs.entry.js +25 -32
  52. package/dist/cjs/justifi-business-representative-form-inputs.cjs.entry.js +3 -2
  53. package/dist/cjs/justifi-checkout-core.cjs.entry.js +16 -20
  54. package/dist/cjs/justifi-checkout.cjs.entry.js +10 -10
  55. package/dist/cjs/justifi-checkouts-list-filters.cjs.entry.js +38 -0
  56. package/dist/cjs/justifi-checkouts-list.cjs.entry.js +14 -14
  57. package/dist/cjs/justifi-details.cjs.entry.js +4 -4
  58. package/dist/cjs/justifi-dispute-management-core.cjs.entry.js +50 -11
  59. package/dist/cjs/justifi-dispute-management.cjs.entry.js +87 -2
  60. package/dist/cjs/justifi-dispute-notification_3.cjs.entry.js +378 -0
  61. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -7
  62. package/dist/cjs/justifi-owner-form_3.cjs.entry.js +18 -28
  63. package/dist/cjs/justifi-payment-details.cjs.entry.js +10 -9
  64. package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +13 -8
  65. package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +7 -8
  66. package/dist/cjs/justifi-payments-list-filters.cjs.entry.js +43 -0
  67. package/dist/cjs/justifi-payments-list.cjs.entry.js +13 -13
  68. package/dist/cjs/justifi-payout-details.cjs.entry.js +10 -9
  69. package/dist/cjs/justifi-payouts-list-filters.cjs.entry.js +27 -0
  70. package/dist/cjs/justifi-payouts-list.cjs.entry.js +20 -14
  71. package/dist/cjs/justifi-refund-form.cjs.entry.js +7 -10
  72. package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +17 -18
  73. package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +8 -8
  74. package/dist/cjs/justifi-terminals-list-filters.cjs.entry.js +35 -0
  75. package/dist/cjs/justifi-terminals-list.cjs.entry.js +12 -12
  76. package/dist/cjs/justifi-tokenize-payment-method.cjs.entry.js +11 -15
  77. package/dist/cjs/loader.cjs.js +2 -2
  78. package/dist/cjs/{package-6d1daab8.js → package-d6ef89ed.js} +1 -1
  79. package/dist/cjs/pagination-menu.cjs.entry.js +26 -0
  80. package/dist/cjs/parts-811ddb9c.js +119 -0
  81. package/dist/cjs/payment-details-core.cjs.entry.js +13 -11
  82. package/dist/cjs/{payment.service-86871f43.js → payment.service-9a5336f1.js} +2 -2
  83. package/dist/cjs/payments-list-core.cjs.entry.js +34 -27
  84. package/dist/cjs/payments-list-params-state-0ff968a7.js +14 -0
  85. package/dist/cjs/payments-table-cf5d1c33.js +32 -0
  86. package/dist/cjs/payout-details-core.cjs.entry.js +8 -5
  87. package/dist/cjs/payouts-list-core.cjs.entry.js +37 -30
  88. package/dist/cjs/payouts-list-params-state-16348184.js +14 -0
  89. package/dist/cjs/payouts-table-58881d95.js +38 -0
  90. package/dist/cjs/{schema-validations-f0363047.js → schema-validations-0be8068a.js} +2 -2
  91. package/dist/cjs/skeleton-5ca03840.js +13 -0
  92. package/dist/cjs/spinner-c11fcb44.js +12 -0
  93. package/dist/cjs/styled-host-94309bab.js +14 -0
  94. package/dist/cjs/table-filters-menu.cjs.entry.js +45 -0
  95. package/dist/cjs/terminals-list-core.cjs.entry.js +36 -29
  96. package/dist/cjs/terminals-list-params-state-95ff6a64.js +14 -0
  97. package/dist/cjs/terminals-table-91985249.js +33 -0
  98. package/dist/cjs/{utils-e88fbc94.js → utils-a21b7453.js} +31 -28
  99. package/dist/cjs/utils-fc17191b.js +29 -0
  100. package/dist/cjs/webcomponents.cjs.js +2 -2
  101. package/dist/collection/api/Analytics.js +1 -1
  102. package/dist/collection/api/Business.js +5 -0
  103. package/dist/collection/api/Dispute.js +55 -0
  104. package/dist/collection/api/DisputeEvidenceDocument.js +44 -0
  105. package/dist/collection/api/Payment.js +6 -9
  106. package/dist/collection/api/services/dispute.service.js +20 -0
  107. package/dist/collection/collection-manifest.json +16 -17
  108. package/dist/collection/components/billing-form/billing-form.js +2 -19
  109. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +1 -19
  110. package/dist/collection/components/business-details/business-details-core.js +8 -7
  111. package/dist/collection/components/business-details/business-details-loading.js +6 -0
  112. package/dist/collection/components/business-details/business-details.js +5 -13
  113. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +1 -11
  114. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +1 -11
  115. package/dist/collection/components/business-details/owner-details/owner-details.js +1 -11
  116. package/dist/collection/components/business-details/representative-details/representative-details.js +1 -19
  117. package/dist/collection/components/business-forms/business-form/additional-questions/additional-questions.js +2 -6
  118. package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +2 -4
  119. package/dist/collection/components/business-forms/business-form/business-form.js +18 -59
  120. package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +2 -1
  121. package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +2 -6
  122. package/dist/collection/components/business-forms/owner-form/identity-address/identity-address-form.js +1 -1
  123. package/dist/collection/components/business-forms/owner-form/owner-form-core.js +22 -52
  124. package/dist/collection/components/business-forms/owner-form/owner-form-inputs.js +1 -1
  125. package/dist/collection/components/business-forms/owner-form/owner-form.js +6 -6
  126. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +18 -40
  127. package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +6 -11
  128. package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +19 -44
  129. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +18 -40
  130. package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +6 -11
  131. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +26 -47
  132. package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +6 -11
  133. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-inputs.js +2 -1
  134. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +17 -39
  135. package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +6 -6
  136. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +21 -42
  137. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-input-group.js +1 -1
  138. package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-documents-on-file.js +4 -3
  139. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +18 -39
  140. package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +6 -11
  141. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-core.js +32 -23
  142. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-buttons.js +2 -2
  143. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning-form-steps.js +2 -20
  144. package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +7 -11
  145. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +30 -31
  146. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.js +2 -11
  147. package/dist/collection/components/business-forms/utils/event-types.js +21 -0
  148. package/dist/collection/components/business-forms/utils/index.js +4 -0
  149. package/dist/collection/components/checkout/bank-account-form/bank-account-form.js +65 -0
  150. package/dist/collection/components/checkout/card-form/card-form.js +67 -0
  151. package/dist/collection/components/checkout/checkout-core.js +19 -28
  152. package/dist/collection/components/checkout/checkout.js +7 -7
  153. package/dist/collection/components/checkout/message-event-types.js +4 -0
  154. package/dist/collection/components/checkout/new-payment-method.js +23 -15
  155. package/dist/collection/components/checkout/payment-method-options.js +1 -11
  156. package/dist/collection/components/checkout/save-new-payment-method.js +3 -4
  157. package/dist/collection/components/checkout/saved-payment-method.js +6 -5
  158. package/dist/collection/components/checkout/sezzle-payment-method.js +6 -4
  159. package/dist/collection/components/checkouts-list/checkouts-list-core.js +43 -36
  160. package/dist/collection/components/checkouts-list/checkouts-list-filters.js +8 -61
  161. package/dist/collection/components/checkouts-list/checkouts-list-params-state.js +8 -0
  162. package/dist/collection/components/checkouts-list/checkouts-list.js +7 -29
  163. package/dist/collection/components/checkouts-list/checkouts-table.js +13 -12
  164. package/dist/collection/components/dispute-management/dispute-actions.js +31 -0
  165. package/dist/collection/components/dispute-management/dispute-management-core.js +131 -17
  166. package/dist/collection/components/dispute-management/dispute-management.js +143 -2
  167. package/dist/collection/components/dispute-management/dispute-notification.js +135 -15
  168. package/dist/collection/components/dispute-management/dispute-response/additional-statement.js +110 -0
  169. package/dist/collection/components/dispute-management/dispute-response/cancellation-policy.js +106 -0
  170. package/dist/collection/components/dispute-management/dispute-response/customer-details.js +106 -0
  171. package/dist/collection/components/dispute-management/dispute-response/dispute-response-actions.js +117 -0
  172. package/dist/collection/components/dispute-management/dispute-response/dispute-response-core.js +362 -0
  173. package/dist/collection/components/dispute-management/dispute-response/dispute-response-form-types.js +12 -0
  174. package/dist/collection/components/dispute-management/dispute-response/dispute-response.js +186 -0
  175. package/dist/collection/components/dispute-management/dispute-response/duplicate-charge.js +106 -0
  176. package/dist/collection/components/dispute-management/dispute-response/electronic-evidence.js +106 -0
  177. package/dist/collection/components/dispute-management/dispute-response/product-or-service.js +106 -0
  178. package/dist/collection/components/dispute-management/dispute-response/refund-policy.js +106 -0
  179. package/dist/collection/components/dispute-management/dispute-response/schemas/additional-statement-schema.js +5 -0
  180. package/dist/collection/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.js +6 -0
  181. package/dist/collection/components/dispute-management/dispute-response/schemas/customer-details-schema.js +7 -0
  182. package/dist/collection/components/dispute-management/dispute-response/schemas/dispute-reason-schema.js +5 -0
  183. package/dist/collection/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.js +6 -0
  184. package/dist/collection/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.js +5 -0
  185. package/dist/collection/components/dispute-management/dispute-response/schemas/product-or-service-schema.js +6 -0
  186. package/dist/collection/components/dispute-management/dispute-response/schemas/refund-policy-schema.js +6 -0
  187. package/dist/collection/components/dispute-management/dispute-response/schemas/shipping-details-schema.js +8 -0
  188. package/dist/collection/components/dispute-management/dispute-response/shipping-details.js +106 -0
  189. package/dist/collection/components/dispute-management/event-types.js +20 -0
  190. package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +8 -17
  191. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +5 -5
  192. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.js +19 -22
  193. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +6 -6
  194. package/dist/collection/components/pagination-menu/pagination-menu.js +5 -4
  195. package/dist/collection/components/payment-details/payment-details-core.js +15 -13
  196. package/dist/collection/components/payment-details/payment-details.js +5 -28
  197. package/dist/collection/components/payments-list/payments-list-core.js +40 -33
  198. package/dist/collection/components/payments-list/payments-list-filters.js +8 -61
  199. package/dist/collection/components/payments-list/payments-list-params-state.js +8 -0
  200. package/dist/collection/components/payments-list/payments-list.js +7 -29
  201. package/dist/collection/components/payments-list/payments-table.js +15 -14
  202. package/dist/collection/components/payout-details/payout-details-core.js +10 -8
  203. package/dist/collection/components/payout-details/payout-details.js +5 -5
  204. package/dist/collection/components/payouts-list/payouts-list-core.js +43 -36
  205. package/dist/collection/components/payouts-list/payouts-list-filters.js +8 -60
  206. package/dist/collection/components/payouts-list/payouts-list-params-state.js +8 -0
  207. package/dist/collection/components/payouts-list/payouts-list.js +6 -28
  208. package/dist/collection/components/payouts-list/payouts-table.js +19 -18
  209. package/dist/collection/components/refund-form/refund-form.js +1 -11
  210. package/dist/collection/components/refund-form/refund-form.stories.js +1 -60
  211. package/dist/collection/components/terminals-list/terminals-list-core.js +43 -36
  212. package/dist/collection/components/terminals-list/terminals-list-filters.js +8 -61
  213. package/dist/collection/components/terminals-list/terminals-list-params-state.js +8 -0
  214. package/dist/collection/components/terminals-list/terminals-list.js +7 -29
  215. package/dist/collection/components/terminals-list/terminals-table.js +9 -8
  216. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.js +20 -24
  217. package/dist/collection/styles/parts.js +74 -0
  218. package/dist/collection/ui-components/button.js +6 -12
  219. package/dist/collection/ui-components/custom-popper/custom-popper.js +2 -2
  220. package/dist/collection/ui-components/details/details.js +2 -4
  221. package/dist/collection/ui-components/details/utils.js +7 -10
  222. package/dist/collection/ui-components/filters/table-filters-menu.js +5 -1
  223. package/dist/collection/ui-components/form/form-control-checkbox.js +31 -16
  224. package/dist/collection/ui-components/form/form-control-date.js +25 -1
  225. package/dist/collection/ui-components/form/form-control-file-v2.js +177 -0
  226. package/dist/collection/ui-components/form/form-control-file.js +22 -2
  227. package/dist/collection/ui-components/form/form-control-monetary.js +25 -1
  228. package/dist/collection/ui-components/form/form-control-number-masked.js +24 -1
  229. package/dist/collection/ui-components/form/form-control-number.js +24 -1
  230. package/dist/collection/ui-components/form/form-control-radio.js +50 -40
  231. package/dist/collection/ui-components/form/form-control-select.js +25 -1
  232. package/dist/collection/ui-components/form/form-control-text.js +24 -1
  233. package/dist/collection/ui-components/form/form-control-textarea.js +27 -2
  234. package/dist/collection/ui-components/form/form-helpers/form-alert/form-alert.js +2 -1
  235. package/dist/collection/ui-components/form/form-helpers/form-control-error-text.js +9 -0
  236. package/dist/collection/ui-components/form/form-helpers/form-control-help-text.js +9 -0
  237. package/dist/collection/ui-components/form/form-helpers/form-control-tooltip/form-control-tooltip.js +2 -1
  238. package/dist/collection/ui-components/form/form.js +1 -1
  239. package/dist/collection/ui-components/form/hidden-input.js +85 -0
  240. package/dist/collection/ui-components/form/iframe-input-styles-state.js +21 -0
  241. package/dist/collection/ui-components/form/iframe-input.js +215 -0
  242. package/dist/collection/ui-components/headers/header-1.js +5 -0
  243. package/dist/collection/ui-components/headers/header-2.js +5 -0
  244. package/dist/collection/ui-components/headers/header-3.js +5 -0
  245. package/dist/collection/ui-components/index.js +6 -0
  246. package/dist/collection/ui-components/skeleton.js +4 -34
  247. package/dist/collection/ui-components/spinner.js +6 -0
  248. package/dist/collection/ui-components/table/event-types.js +6 -0
  249. package/dist/collection/ui-components/table-empty-state.js +2 -1
  250. package/dist/collection/ui-components/table-error-state.js +2 -1
  251. package/dist/collection/ui-components/table-loading-state.js +3 -1
  252. package/dist/collection/utils/table.js +2 -2
  253. package/dist/collection/utils/utils.js +27 -26
  254. package/dist/docs.json +3573 -4721
  255. package/dist/esm/{Business-b73d5055.js → Business-29c69f22.js} +6 -1
  256. package/dist/esm/Dispute-5fd28ec9.js +57 -0
  257. package/dist/esm/{Payment-2a868d0c.js → Payment-4f72d277.js} +7 -9
  258. package/dist/esm/additional-questions-details_5.entry.js +9 -28
  259. package/dist/esm/bank-account-form_9.entry.js +481 -0
  260. package/dist/esm/{business-additional-questions-schema-d94f8975.js → business-additional-questions-schema-48e93928.js} +2 -2
  261. package/dist/esm/business-details-core.entry.js +26 -4
  262. package/dist/esm/{business-form-options-d790973e.js → business-form-options-018f62a5.js} +1 -1
  263. package/dist/esm/{business-identity-schema-2756dbc6.js → business-identity-schema-75126188.js} +2 -2
  264. package/dist/esm/{business.service-97a3da69.js → business.service-182aea6f.js} +1 -1
  265. package/dist/esm/button-1886a33d.js +18 -0
  266. package/dist/esm/{Analytics-77dc80f3.js → check-pkg-version-157854b7.js} +23 -4
  267. package/dist/esm/{checkout.service-c1e44e0c.js → checkout.service-32a6ebe8.js} +2 -2
  268. package/dist/esm/checkouts-list-core.entry.js +36 -29
  269. package/dist/esm/checkouts-list-params-state-1d968971.js +10 -0
  270. package/dist/esm/checkouts-table-8b116232.js +44 -0
  271. package/dist/esm/{config-27764a9d.js → config-187b3ae1.js} +1 -1
  272. package/dist/esm/{custom-popper_4.entry.js → custom-popper.entry.js} +4 -105
  273. package/dist/esm/dispute.service-4e5059aa.js +27 -0
  274. package/dist/esm/{table-44e3d1e7.js → event-types-01dcdcbd.js} +17 -9
  275. package/dist/esm/event-types-07cdb9a0.js +22 -0
  276. package/dist/esm/event-types-5c87de02.js +23 -0
  277. package/dist/esm/form-alert_5.entry.js +9 -8
  278. package/dist/esm/form-control-checkbox.entry.js +53 -0
  279. package/dist/esm/form-control-date.entry.js +21 -2
  280. package/dist/esm/form-control-error-text-3b2553b5.js +12 -0
  281. package/dist/esm/form-control-file-v2_2.entry.js +85 -0
  282. package/dist/esm/form-control-file.entry.js +21 -2
  283. package/dist/esm/form-control-help-text-a2fc3617.js +12 -0
  284. package/dist/esm/form-control-help-text.entry.js +1 -1
  285. package/dist/esm/form-control-monetary.entry.js +22 -2
  286. package/dist/esm/form-control-number-masked_2.entry.js +21 -3
  287. package/dist/esm/form-control-number.entry.js +21 -2
  288. package/dist/esm/form-control-radio.entry.js +25 -17
  289. package/dist/esm/form-control-select_3.entry.js +139 -0
  290. package/dist/esm/{get-payout-csv-3b83b088.js → get-payout-csv-e6058aa7.js} +2 -2
  291. package/dist/esm/{get-subaccounts-dd20cfa4.js → get-subaccounts-0b8af245.js} +2 -2
  292. package/dist/esm/gross-payment-chart-core.entry.js +6 -8
  293. package/dist/esm/header-1-c6a00a22.js +8 -0
  294. package/dist/esm/header-3-a1c6d475.js +8 -0
  295. package/dist/esm/iframe-input-styles-state-ff730fe5.js +23 -0
  296. package/dist/esm/{justifi-billing-form_2.entry.js → iframe-input.entry.js} +73 -179
  297. package/dist/esm/{index-57431c24.js → index-29fcfdf5.js} +1 -93
  298. package/dist/esm/{insurance-state-8ce01e59.js → index-a47fdc7f.js} +2 -21
  299. package/dist/esm/{index.esm-ed37201b.js → index.esm-0b6849c2.js} +1 -1
  300. package/dist/esm/insurance-state-8fc9376f.js +28 -0
  301. package/dist/esm/justifi-additional-questions-form-step-core_8.entry.js +580 -0
  302. package/dist/esm/justifi-additional-questions-form-step_10.entry.js +43 -43
  303. package/dist/esm/justifi-additional-statement_8.entry.js +402 -0
  304. package/dist/esm/justifi-business-details.entry.js +8 -8
  305. package/dist/esm/justifi-business-form.entry.js +21 -28
  306. package/dist/esm/justifi-business-representative-form-inputs.entry.js +3 -2
  307. package/dist/esm/justifi-checkout-core.entry.js +16 -20
  308. package/dist/esm/justifi-checkout.entry.js +9 -9
  309. package/dist/esm/justifi-checkouts-list-filters.entry.js +34 -0
  310. package/dist/esm/justifi-checkouts-list.entry.js +13 -13
  311. package/dist/esm/justifi-details.entry.js +4 -4
  312. package/dist/esm/justifi-dispute-management-core.entry.js +50 -11
  313. package/dist/esm/justifi-dispute-management.entry.js +87 -2
  314. package/dist/esm/justifi-dispute-notification_3.entry.js +372 -0
  315. package/dist/esm/justifi-gross-payment-chart.entry.js +6 -6
  316. package/dist/esm/justifi-owner-form_3.entry.js +16 -26
  317. package/dist/esm/justifi-payment-details.entry.js +9 -8
  318. package/dist/esm/justifi-payment-provisioning-core.entry.js +12 -7
  319. package/dist/esm/justifi-payment-provisioning.entry.js +6 -7
  320. package/dist/esm/justifi-payments-list-filters.entry.js +39 -0
  321. package/dist/esm/justifi-payments-list.entry.js +12 -12
  322. package/dist/esm/justifi-payout-details.entry.js +9 -8
  323. package/dist/esm/justifi-payouts-list-filters.entry.js +23 -0
  324. package/dist/esm/justifi-payouts-list.entry.js +19 -13
  325. package/dist/esm/justifi-refund-form.entry.js +7 -10
  326. package/dist/esm/justifi-season-interruption-insurance-core.entry.js +17 -18
  327. package/dist/esm/justifi-season-interruption-insurance.entry.js +7 -7
  328. package/dist/esm/justifi-terminals-list-filters.entry.js +31 -0
  329. package/dist/esm/justifi-terminals-list.entry.js +11 -11
  330. package/dist/esm/justifi-tokenize-payment-method.entry.js +10 -14
  331. package/dist/esm/loader.js +3 -3
  332. package/dist/esm/{package-627f73c1.js → package-9e3b7f9e.js} +1 -1
  333. package/dist/esm/pagination-menu.entry.js +22 -0
  334. package/dist/esm/parts-186d437f.js +72 -0
  335. package/dist/esm/payment-details-core.entry.js +13 -11
  336. package/dist/esm/{payment.service-ca6b5bc5.js → payment.service-45f90e06.js} +2 -2
  337. package/dist/esm/payments-list-core.entry.js +33 -26
  338. package/dist/esm/payments-list-params-state-b3dab8bc.js +10 -0
  339. package/dist/esm/payments-table-d6fbab5b.js +28 -0
  340. package/dist/esm/payout-details-core.entry.js +8 -5
  341. package/dist/esm/payouts-list-core.entry.js +36 -29
  342. package/dist/esm/payouts-list-params-state-49618e7a.js +10 -0
  343. package/dist/esm/payouts-table-2e61a116.js +34 -0
  344. package/dist/esm/{schema-validations-93a9d504.js → schema-validations-c7d4f9df.js} +2 -2
  345. package/dist/esm/skeleton-8f71cdf7.js +11 -0
  346. package/dist/esm/spinner-879489b3.js +10 -0
  347. package/dist/esm/styled-host-32228b45.js +12 -0
  348. package/dist/esm/table-filters-menu.entry.js +41 -0
  349. package/dist/esm/terminals-list-core.entry.js +35 -28
  350. package/dist/esm/terminals-list-params-state-2c48d35f.js +10 -0
  351. package/dist/esm/terminals-table-8e42977c.js +29 -0
  352. package/dist/esm/{utils-1df1e55a.js → utils-54543523.js} +31 -30
  353. package/dist/esm/utils-d7633e66.js +22 -0
  354. package/dist/esm/webcomponents.js +3 -3
  355. package/dist/module/Business.js +6 -1
  356. package/dist/module/Payment.js +62 -10
  357. package/dist/module/additional-questions-details2.js +1 -5
  358. package/dist/module/additional-questions.js +4 -15
  359. package/dist/module/additional-statement.js +52 -13
  360. package/dist/module/{justifi-card-form.d.ts → bank-account-form.d.ts} +4 -4
  361. package/dist/module/bank-account-form.js +6 -0
  362. package/dist/module/bank-account-form2.js +44 -0
  363. package/dist/module/billing-form.js +6 -18
  364. package/dist/module/business-additional-questions-form-step-core.js +8 -21
  365. package/dist/module/business-additional-questions-form-step.js +3 -15
  366. package/dist/module/business-bank-account-form-step.js +11 -18
  367. package/dist/module/business-core-info-form-step-core.js +11 -18
  368. package/dist/module/business-core-info-form-step.js +5 -11
  369. package/dist/module/business-core-info.js +6 -11
  370. package/dist/module/business-details-core2.js +25 -3
  371. package/dist/module/business-document-upload-form-step.js +12 -18
  372. package/dist/module/business-document-upload-input-group.js +3 -9
  373. package/dist/module/business-documents-on-file.js +4 -3
  374. package/dist/module/business-owners-form-step-core.js +12 -18
  375. package/dist/module/business-owners-form-step.js +5 -11
  376. package/dist/module/business-representative-form-inputs.js +6 -11
  377. package/dist/module/business-representative-form-step-core.js +9 -17
  378. package/dist/module/business-representative-form-step.js +5 -11
  379. package/dist/module/business-representative.js +6 -11
  380. package/dist/module/business-terms-conditions-form-step.js +16 -22
  381. package/dist/module/business-terms-conditions-text.js +2 -5
  382. package/dist/module/button.js +6 -12
  383. package/dist/module/cancellation-policy.js +49 -13
  384. package/dist/module/{justifi-payment-form.d.ts → card-form.d.ts} +4 -4
  385. package/dist/module/card-form.js +6 -0
  386. package/dist/module/card-form2.js +46 -0
  387. package/dist/module/check-pkg-version.js +76 -1
  388. package/dist/module/checkout-core.js +55 -30
  389. package/dist/module/checkouts-list-core2.js +47 -77
  390. package/dist/module/checkouts-list-params-state.js +10 -0
  391. package/dist/module/config.js +1 -1
  392. package/dist/module/custom-popper2.js +2 -2
  393. package/dist/module/customer-details.js +50 -13
  394. package/dist/module/details.js +3 -5
  395. package/dist/module/dispute-management-core.js +74 -39
  396. package/dist/module/dispute-notification.js +41 -8
  397. package/dist/module/dispute-response-actions.js +117 -0
  398. package/dist/module/dispute-response-core.js +280 -0
  399. package/dist/module/dispute-response-form-types.js +59 -0
  400. package/dist/module/dispute-response.js +198 -0
  401. package/dist/module/duplicate-charge.js +49 -13
  402. package/dist/module/electronic-evidence.js +49 -20
  403. package/dist/module/{table.js → event-types.js} +16 -8
  404. package/dist/module/event-types2.js +23 -0
  405. package/dist/module/event-types3.js +22 -0
  406. package/dist/module/form-alert2.js +2 -1
  407. package/dist/module/form-control-checkbox2.js +29 -27
  408. package/dist/module/form-control-date2.js +25 -10
  409. package/dist/module/form-control-error-text.js +10 -4
  410. package/dist/module/{payouts-list-filters.d.ts → form-control-file-v2.d.ts} +4 -4
  411. package/dist/module/form-control-file-v2.js +6 -0
  412. package/dist/module/form-control-file-v22.js +59 -0
  413. package/dist/module/form-control-file2.js +25 -10
  414. package/dist/module/form-control-help-text.js +1 -1
  415. package/dist/module/form-control-help-text2.js +9 -32
  416. package/dist/module/form-control-help-text3.js +35 -0
  417. package/dist/module/form-control-monetary2.js +26 -16
  418. package/dist/module/form-control-number-masked2.js +25 -11
  419. package/dist/module/form-control-number.js +24 -15
  420. package/dist/module/form-control-radio2.js +31 -30
  421. package/dist/module/form-control-select2.js +25 -10
  422. package/dist/module/form-control-text2.js +24 -10
  423. package/dist/module/form-control-textarea2.js +26 -11
  424. package/dist/module/form-control-tooltip2.js +2 -1
  425. package/dist/module/form.js +1 -1
  426. package/dist/module/generic-info-details2.js +1 -5
  427. package/dist/module/get-payout-csv.js +1 -1
  428. package/dist/module/get-subaccounts.js +1 -1
  429. package/dist/module/gross-payment-chart-core2.js +3 -6
  430. package/dist/module/header-1.js +8 -0
  431. package/dist/module/{payments-list-filters.d.ts → hidden-input.d.ts} +4 -4
  432. package/dist/module/hidden-input.js +6 -0
  433. package/dist/module/hidden-input2.js +100 -0
  434. package/dist/module/identity-address-form.js +4 -10
  435. package/dist/module/iframe-input-styles-state.js +23 -0
  436. package/dist/module/iframe-input.d.ts +11 -0
  437. package/dist/module/iframe-input.js +6 -0
  438. package/dist/module/{payment-method-form.js → iframe-input2.js} +83 -131
  439. package/dist/module/index2.js +167 -3572
  440. package/dist/module/index3.js +3599 -0
  441. package/dist/module/insurance-state.js +6 -191
  442. package/dist/module/justifi-business-details.js +2 -3
  443. package/dist/module/justifi-business-form.js +16 -36
  444. package/dist/module/justifi-checkout.js +52 -23
  445. package/dist/module/justifi-checkouts-list-filters.d.ts +11 -0
  446. package/dist/module/justifi-checkouts-list-filters.js +77 -0
  447. package/dist/module/justifi-checkouts-list.js +8 -45
  448. package/dist/module/justifi-dispute-management.js +109 -34
  449. package/dist/module/justifi-dispute-response-core.d.ts +11 -0
  450. package/dist/module/justifi-dispute-response-core.js +6 -0
  451. package/dist/module/justifi-dispute-response.d.ts +11 -0
  452. package/dist/module/justifi-dispute-response.js +6 -0
  453. package/dist/module/justifi-gross-payment-chart.js +2 -3
  454. package/dist/module/justifi-payment-details.js +3 -4
  455. package/dist/module/justifi-payment-provisioning.js +12 -24
  456. package/dist/module/justifi-payments-list-filters.d.ts +11 -0
  457. package/dist/module/justifi-payments-list-filters.js +94 -0
  458. package/dist/module/justifi-payments-list.js +9 -58
  459. package/dist/module/justifi-payout-details.js +2 -3
  460. package/dist/module/justifi-payouts-list-filters.d.ts +11 -0
  461. package/dist/module/justifi-payouts-list-filters.js +66 -0
  462. package/dist/module/justifi-payouts-list.js +14 -45
  463. package/dist/module/justifi-refund-form.js +4 -19
  464. package/dist/module/justifi-season-interruption-insurance.js +16 -5
  465. package/dist/module/justifi-terminals-list-filters.d.ts +11 -0
  466. package/dist/module/{terminals-list-filters2.js → justifi-terminals-list-filters.js} +25 -28
  467. package/dist/module/justifi-terminals-list.js +8 -51
  468. package/dist/module/justifi-tokenize-payment-method.js +51 -25
  469. package/dist/module/legal-address-details2.js +1 -5
  470. package/dist/module/legal-address-form-step-core.js +10 -17
  471. package/dist/module/legal-address-form-step.js +3 -9
  472. package/dist/module/legal-address-form.js +5 -10
  473. package/dist/module/new-payment-method.js +72 -30
  474. package/dist/module/owner-details2.js +1 -5
  475. package/dist/module/owner-form-core2.js +10 -25
  476. package/dist/module/owner-form-inputs2.js +5 -11
  477. package/dist/module/owner-form.js +5 -11
  478. package/dist/module/package.js +1 -1
  479. package/dist/module/pagination-menu2.js +4 -3
  480. package/dist/module/parts.js +72 -0
  481. package/dist/module/payment-details-core2.js +11 -9
  482. package/dist/module/payment-method-options.js +47 -24
  483. package/dist/module/payment-provisioning-actions.js +1 -1
  484. package/dist/module/payment-provisioning-core.js +21 -28
  485. package/dist/module/payment-provisioning-form-buttons.js +4 -2
  486. package/dist/module/payment-provisioning-form-steps.js +11 -24
  487. package/dist/module/payments-list-core2.js +46 -88
  488. package/dist/module/payments-list-params-state.js +10 -0
  489. package/dist/module/payout-details-core2.js +6 -3
  490. package/dist/module/payouts-list-core2.js +53 -83
  491. package/dist/module/payouts-list-params-state.js +10 -0
  492. package/dist/module/product-or-service.js +46 -13
  493. package/dist/module/refund-policy.js +49 -13
  494. package/dist/module/representative-details2.js +1 -5
  495. package/dist/module/save-new-payment-method.js +10 -5
  496. package/dist/module/saved-payment-method.js +19 -6
  497. package/dist/module/season-interruption-insurance-core.js +29 -19
  498. package/dist/module/sezzle-payment-method.js +19 -5
  499. package/dist/module/shipping-details.js +53 -19
  500. package/dist/module/skeleton.js +4 -34
  501. package/dist/module/spinner.js +10 -0
  502. package/dist/module/styled-host.js +1 -1
  503. package/dist/module/table-filters-menu2.js +12 -2
  504. package/dist/module/terminals-list-core2.js +43 -79
  505. package/dist/module/terminals-list-params-state.js +10 -0
  506. package/dist/module/utils.js +14 -19
  507. package/dist/module/utils2.js +31 -30
  508. package/dist/module/utils3.js +25 -30
  509. package/dist/module/utils4.js +23 -24
  510. package/dist/types/api/Business.d.ts +4 -0
  511. package/dist/types/api/Checkout.d.ts +1 -3
  512. package/dist/types/api/ComponentError.d.ts +0 -6
  513. package/dist/types/api/ComponentEvents.d.ts +23 -0
  514. package/dist/types/api/Dispute.d.ts +76 -0
  515. package/dist/types/api/DisputeEvidenceDocument.d.ts +23 -0
  516. package/dist/types/api/Payment.d.ts +6 -11
  517. package/dist/types/api/Payout.d.ts +1 -3
  518. package/dist/types/api/Terminal.d.ts +1 -4
  519. package/dist/types/api/services/dispute.service.d.ts +14 -0
  520. package/dist/types/components/billing-form/billing-form.d.ts +0 -5
  521. package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +0 -8
  522. package/dist/types/components/business-details/business-details-core.d.ts +2 -2
  523. package/dist/types/components/business-details/business-details-loading.d.ts +1 -0
  524. package/dist/types/components/business-details/business-details.d.ts +2 -10
  525. package/dist/types/components/business-details/representative-details/representative-details.d.ts +0 -8
  526. package/dist/types/components/business-forms/business-form/additional-questions/additional-questions.d.ts +0 -5
  527. package/dist/types/components/business-forms/business-form/business-core-info/business-core-info.d.ts +0 -3
  528. package/dist/types/components/business-forms/business-form/business-form.d.ts +4 -11
  529. package/dist/types/components/business-forms/business-form/legal-address-form/legal-address-form.d.ts +0 -5
  530. package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +4 -6
  531. package/dist/types/components/business-forms/owner-form/owner-form.d.ts +2 -2
  532. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +3 -5
  533. package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +2 -7
  534. package/dist/types/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.d.ts +3 -8
  535. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +3 -5
  536. package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +2 -7
  537. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.d.ts +4 -6
  538. package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +2 -7
  539. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +3 -5
  540. package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +2 -2
  541. package/dist/types/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.d.ts +3 -5
  542. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +3 -5
  543. package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +2 -7
  544. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-core.d.ts +5 -5
  545. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning-form-steps.d.ts +0 -2
  546. package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +2 -7
  547. package/dist/types/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.d.ts +5 -5
  548. package/dist/types/components/business-forms/utils/event-types.d.ts +19 -0
  549. package/dist/types/components/business-forms/utils/index.d.ts +4 -0
  550. package/dist/types/components/checkout/bank-account-form/bank-account-form.d.ts +7 -0
  551. package/dist/types/components/checkout/card-form/card-form.d.ts +9 -0
  552. package/dist/types/components/checkout/checkout-core.d.ts +5 -4
  553. package/dist/types/components/checkout/checkout.d.ts +2 -2
  554. package/dist/types/components/checkout/message-event-types.d.ts +4 -0
  555. package/dist/types/components/checkout/new-payment-method.d.ts +3 -3
  556. package/dist/types/components/checkout/save-new-payment-method.d.ts +1 -1
  557. package/dist/types/components/checkout/saved-payment-method.d.ts +1 -1
  558. package/dist/types/components/checkout/sezzle-payment-method.d.ts +1 -1
  559. package/dist/types/components/checkouts-list/checkouts-list-core.d.ts +7 -8
  560. package/dist/types/components/checkouts-list/checkouts-list-filters.d.ts +1 -3
  561. package/dist/types/components/checkouts-list/checkouts-list-params-state.d.ts +5 -0
  562. package/dist/types/components/checkouts-list/checkouts-list.d.ts +2 -24
  563. package/dist/types/components/checkouts-list/checkouts-table.d.ts +6 -6
  564. package/dist/types/components/dispute-management/dispute-actions.d.ts +9 -0
  565. package/dist/types/components/dispute-management/dispute-management-core.d.ts +14 -3
  566. package/dist/types/components/dispute-management/dispute-management.d.ts +15 -0
  567. package/dist/types/components/dispute-management/dispute-notification.d.ts +9 -3
  568. package/dist/types/components/dispute-management/dispute-response/additional-statement.d.ts +17 -0
  569. package/dist/types/components/dispute-management/dispute-response/cancellation-policy.d.ts +15 -0
  570. package/dist/types/components/dispute-management/dispute-response/customer-details.d.ts +15 -0
  571. package/dist/types/components/dispute-management/dispute-response/dispute-response-actions.d.ts +40 -0
  572. package/dist/types/components/dispute-management/dispute-response/dispute-response-core.d.ts +46 -0
  573. package/dist/types/components/dispute-management/dispute-response/dispute-response-form-types.d.ts +20 -0
  574. package/dist/types/components/dispute-management/dispute-response/dispute-response.d.ts +35 -0
  575. package/dist/types/components/dispute-management/dispute-response/duplicate-charge.d.ts +15 -0
  576. package/dist/types/components/dispute-management/dispute-response/electronic-evidence.d.ts +15 -0
  577. package/dist/types/components/dispute-management/dispute-response/product-or-service.d.ts +15 -0
  578. package/dist/types/components/dispute-management/dispute-response/refund-policy.d.ts +15 -0
  579. package/dist/types/components/dispute-management/dispute-response/schemas/additional-statement-schema.d.ts +6 -0
  580. package/dist/types/components/dispute-management/dispute-response/schemas/cancellation-policy-schema.d.ts +8 -0
  581. package/dist/types/components/dispute-management/dispute-response/schemas/customer-details-schema.d.ts +10 -0
  582. package/dist/types/components/dispute-management/dispute-response/schemas/dispute-reason-schema.d.ts +6 -0
  583. package/dist/types/components/dispute-management/dispute-response/schemas/duplicate-charge-schema.d.ts +8 -0
  584. package/dist/types/components/dispute-management/dispute-response/schemas/electronic-evidence-schema.d.ts +6 -0
  585. package/dist/types/components/dispute-management/dispute-response/schemas/product-or-service-schema.d.ts +8 -0
  586. package/dist/types/components/dispute-management/dispute-response/schemas/refund-policy-schema.d.ts +8 -0
  587. package/dist/types/components/dispute-management/dispute-response/schemas/shipping-details-schema.d.ts +12 -0
  588. package/dist/types/components/dispute-management/dispute-response/shipping-details.d.ts +15 -0
  589. package/dist/types/components/dispute-management/event-types.d.ts +18 -0
  590. package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +2 -2
  591. package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +3 -3
  592. package/dist/types/components/insurance/season-interruption/season-interruption-insurance-core.d.ts +4 -4
  593. package/dist/types/components/insurance/season-interruption/season-interruption-insurance.d.ts +2 -2
  594. package/dist/types/components/payment-details/payment-details-core.d.ts +2 -2
  595. package/dist/types/components/payment-details/payment-details.d.ts +2 -25
  596. package/dist/types/components/payments-list/payments-list-core.d.ts +6 -7
  597. package/dist/types/components/payments-list/payments-list-filters.d.ts +1 -4
  598. package/dist/types/components/payments-list/payments-list-params-state.d.ts +5 -0
  599. package/dist/types/components/payments-list/payments-list.d.ts +2 -24
  600. package/dist/types/components/payments-list/payments-table.d.ts +7 -7
  601. package/dist/types/components/payout-details/payout-details-core.d.ts +2 -2
  602. package/dist/types/components/payout-details/payout-details.d.ts +3 -3
  603. package/dist/types/components/payouts-list/payouts-list-core.d.ts +7 -8
  604. package/dist/types/components/payouts-list/payouts-list-filters.d.ts +0 -3
  605. package/dist/types/components/payouts-list/payouts-list-params-state.d.ts +5 -0
  606. package/dist/types/components/payouts-list/payouts-list.d.ts +2 -24
  607. package/dist/types/components/payouts-list/payouts-table.d.ts +9 -9
  608. package/dist/types/components/terminals-list/terminals-list-core.d.ts +7 -8
  609. package/dist/types/components/terminals-list/terminals-list-filters.d.ts +1 -4
  610. package/dist/types/components/terminals-list/terminals-list-params-state.d.ts +5 -0
  611. package/dist/types/components/terminals-list/terminals-list.d.ts +2 -24
  612. package/dist/types/components/terminals-list/terminals-table.d.ts +4 -4
  613. package/dist/types/components/tokenize-payment-method/tokenize-payment-method.d.ts +4 -5
  614. package/dist/types/components.d.ts +465 -1338
  615. package/dist/types/styles/parts.d.ts +58 -0
  616. package/dist/types/ui-components/details/utils.d.ts +0 -1
  617. package/dist/types/ui-components/filters/table-filters-menu.d.ts +1 -0
  618. package/dist/types/ui-components/form/form-control-checkbox.d.ts +3 -3
  619. package/dist/types/ui-components/form/form-control-date.d.ts +2 -0
  620. package/dist/types/ui-components/form/form-control-file-v2.d.ts +15 -0
  621. package/dist/types/ui-components/form/form-control-file.d.ts +2 -0
  622. package/dist/types/ui-components/form/form-control-monetary.d.ts +2 -0
  623. package/dist/types/ui-components/form/form-control-number-masked.d.ts +2 -0
  624. package/dist/types/ui-components/form/form-control-number.d.ts +2 -0
  625. package/dist/types/ui-components/form/form-control-radio.d.ts +6 -7
  626. package/dist/types/ui-components/form/form-control-select.d.ts +2 -0
  627. package/dist/types/ui-components/form/form-control-text.d.ts +2 -0
  628. package/dist/types/ui-components/form/form-control-textarea.d.ts +2 -0
  629. package/dist/types/ui-components/form/form-helpers/form-control-error-text.d.ts +4 -0
  630. package/dist/types/ui-components/form/form-helpers/form-control-help-text.d.ts +4 -0
  631. package/dist/types/ui-components/form/form.d.ts +1 -1
  632. package/dist/types/ui-components/form/hidden-input.d.ts +11 -0
  633. package/dist/types/ui-components/form/iframe-input-styles-state.d.ts +3 -0
  634. package/dist/types/ui-components/form/iframe-input.d.ts +21 -0
  635. package/dist/types/ui-components/headers/header-1.d.ts +6 -0
  636. package/dist/types/ui-components/headers/header-2.d.ts +6 -0
  637. package/dist/types/ui-components/headers/header-3.d.ts +6 -0
  638. package/dist/types/ui-components/index.d.ts +6 -0
  639. package/dist/types/ui-components/skeleton.d.ts +1 -2
  640. package/dist/types/ui-components/spinner.d.ts +2 -0
  641. package/dist/types/ui-components/table/event-types.d.ts +5 -0
  642. package/dist/types/utils/utils.d.ts +3 -2
  643. package/dist/webcomponents/p-0201ec6c.entry.js +1 -0
  644. package/dist/webcomponents/p-08b8d1f0.entry.js +1 -0
  645. package/dist/webcomponents/p-0aa63869.entry.js +1 -0
  646. package/dist/webcomponents/p-0cc6c539.js +1 -0
  647. package/dist/webcomponents/p-0ccbc022.entry.js +1 -0
  648. package/dist/webcomponents/{p-1815a43b.js → p-0ea387a2.js} +1 -1
  649. package/dist/webcomponents/p-0eb86b3f.entry.js +1 -0
  650. package/dist/webcomponents/{p-5a62fca2.js → p-0f23ff58.js} +1 -1
  651. package/dist/webcomponents/p-110cae83.entry.js +1 -0
  652. package/dist/webcomponents/p-16ba9bea.js +1 -0
  653. package/dist/webcomponents/p-1ce22da6.entry.js +1 -0
  654. package/dist/webcomponents/p-1dbae48b.entry.js +1 -0
  655. package/dist/webcomponents/p-275f2154.js +1 -0
  656. package/dist/webcomponents/p-2783e363.js +2 -0
  657. package/dist/webcomponents/p-28029272.entry.js +1 -0
  658. package/dist/webcomponents/p-323ba4df.entry.js +1 -0
  659. package/dist/webcomponents/p-32a5bf4e.js +1 -0
  660. package/dist/webcomponents/p-34c14f59.js +1 -0
  661. package/dist/webcomponents/p-438df53f.entry.js +1 -0
  662. package/dist/webcomponents/p-441c1cf8.js +1 -0
  663. package/dist/webcomponents/p-4972d608.entry.js +1 -0
  664. package/dist/webcomponents/p-4a576796.js +1 -0
  665. package/dist/webcomponents/p-4cc3c7f9.js +1 -0
  666. package/dist/webcomponents/p-4d916b2d.js +1 -0
  667. package/dist/webcomponents/p-4eb3dcfa.entry.js +1 -0
  668. package/dist/webcomponents/p-5456a794.js +1 -0
  669. package/dist/webcomponents/p-5844a0f0.js +1 -0
  670. package/dist/webcomponents/p-597bd1e1.entry.js +1 -0
  671. package/dist/webcomponents/p-5bbe1133.entry.js +1 -0
  672. package/dist/webcomponents/p-5c6d08a6.entry.js +1 -0
  673. package/dist/webcomponents/p-5cb947bc.entry.js +1 -0
  674. package/dist/webcomponents/p-5d3f81c0.entry.js +1 -0
  675. package/dist/webcomponents/p-663a00cd.entry.js +1 -0
  676. package/dist/webcomponents/p-6677c60d.entry.js +1 -0
  677. package/dist/webcomponents/p-667ebd79.js +1 -0
  678. package/dist/webcomponents/p-68694a17.entry.js +1 -0
  679. package/dist/webcomponents/p-6ab77b89.js +1 -0
  680. package/dist/webcomponents/p-6b840696.entry.js +1 -0
  681. package/dist/webcomponents/p-6f4bfdff.entry.js +1 -0
  682. package/dist/webcomponents/p-6fbd6abb.js +1 -0
  683. package/dist/webcomponents/p-6feeb9f2.js +1 -0
  684. package/dist/webcomponents/p-7216ef00.entry.js +1 -0
  685. package/dist/webcomponents/p-73a18b5a.entry.js +1 -0
  686. package/dist/webcomponents/p-73f9be7c.js +1 -0
  687. package/dist/webcomponents/p-7693ed02.entry.js +1 -0
  688. package/dist/webcomponents/{p-4cf7f4ae.js → p-79b7c30d.js} +1 -1
  689. package/dist/webcomponents/p-7a975a3c.js +1 -0
  690. package/dist/webcomponents/p-7b9f21cd.entry.js +1 -0
  691. package/dist/webcomponents/p-7f796066.entry.js +1 -0
  692. package/dist/webcomponents/p-808bb677.entry.js +1 -0
  693. package/dist/webcomponents/p-83584c56.entry.js +1 -0
  694. package/dist/webcomponents/p-88acfa7c.entry.js +1 -0
  695. package/dist/webcomponents/p-8a94d2c8.js +1 -0
  696. package/dist/webcomponents/p-8c7a81c1.js +1 -0
  697. package/dist/webcomponents/p-8da3667c.js +1 -0
  698. package/dist/webcomponents/p-90dc2f2c.js +1 -0
  699. package/dist/webcomponents/p-9c2e00cc.js +1 -0
  700. package/dist/webcomponents/p-9ef9a625.entry.js +1 -0
  701. package/dist/webcomponents/p-9f773228.js +1 -0
  702. package/dist/webcomponents/p-a07b1816.js +1 -0
  703. package/dist/webcomponents/p-a3949f32.js +1 -0
  704. package/dist/webcomponents/p-abdbcd8e.js +1 -0
  705. package/dist/webcomponents/p-ac147eef.entry.js +1 -0
  706. package/dist/webcomponents/{p-b0311e88.js → p-af834eb8.js} +1 -1
  707. package/dist/webcomponents/p-b056034f.entry.js +1 -0
  708. package/dist/webcomponents/p-b1d4e520.entry.js +1 -0
  709. package/dist/webcomponents/p-b392ec21.js +1 -0
  710. package/dist/webcomponents/p-b867dd5d.entry.js +1 -0
  711. package/dist/webcomponents/{p-544a4e7a.js → p-bb0f8b70.js} +1 -1
  712. package/dist/webcomponents/p-bb61c6e0.js +1 -0
  713. package/dist/webcomponents/p-bbcaa29b.entry.js +1 -0
  714. package/dist/webcomponents/p-bfe9748b.js +1 -0
  715. package/dist/webcomponents/p-c092cbb2.js +1 -0
  716. package/dist/webcomponents/p-c2a2b9fe.entry.js +1 -0
  717. package/dist/webcomponents/p-c9670f3c.entry.js +1 -0
  718. package/dist/webcomponents/p-cc977850.js +1 -0
  719. package/dist/webcomponents/p-cefd50f8.entry.js +1 -0
  720. package/dist/webcomponents/p-d53c5ea5.entry.js +1 -0
  721. package/dist/webcomponents/p-d75b52c8.entry.js +1 -0
  722. package/dist/webcomponents/p-d960db89.entry.js +1 -0
  723. package/dist/webcomponents/p-db8c12ee.js +1 -0
  724. package/dist/webcomponents/p-e1ee92f5.entry.js +1 -0
  725. package/dist/webcomponents/p-e396506c.entry.js +1 -0
  726. package/dist/webcomponents/p-e723bc30.entry.js +1 -0
  727. package/dist/webcomponents/p-ec60d318.entry.js +1 -0
  728. package/dist/webcomponents/p-ed8918d1.entry.js +1 -0
  729. package/dist/webcomponents/{p-f6f8dabc.js → p-edb57087.js} +1 -1
  730. package/dist/webcomponents/p-ee4a2aac.entry.js +1 -0
  731. package/dist/webcomponents/p-ef4c49b9.js +1 -0
  732. package/dist/webcomponents/p-f20b6ce1.js +1 -0
  733. package/dist/webcomponents/{p-c13a7d10.js → p-f4722957.js} +1 -1
  734. package/dist/webcomponents/p-f88d5c0d.entry.js +1 -0
  735. package/dist/webcomponents/p-f8a3b942.entry.js +1 -0
  736. package/dist/webcomponents/p-f99e8150.entry.js +1 -0
  737. package/dist/webcomponents/{p-628693c1.entry.js → p-f9fdcc1a.entry.js} +4 -4
  738. package/dist/webcomponents/p-fa2e3dc7.entry.js +1 -0
  739. package/dist/webcomponents/{p-ccbff4fa.entry.js → p-faa35b47.entry.js} +1 -1
  740. package/dist/webcomponents/p-fc3daedd.js +1 -0
  741. package/dist/webcomponents/webcomponents.esm.js +1 -1
  742. package/package.json +1 -1
  743. package/dist/cjs/business-form-types-719b7f52.js +0 -50
  744. package/dist/cjs/button-3f400a66.js +0 -26
  745. package/dist/cjs/check-pkg-version-fe8c72a9.js +0 -24
  746. package/dist/cjs/checkouts-list-filters.cjs.entry.js +0 -35
  747. package/dist/cjs/checkouts-table-00b6482f.js +0 -47
  748. package/dist/cjs/dispute-30c806f6.js +0 -10
  749. package/dist/cjs/exported-parts-a994d693.js +0 -9
  750. package/dist/cjs/form-control-checkbox_9.cjs.entry.js +0 -641
  751. package/dist/cjs/form-control-error-text.cjs.entry.js +0 -21
  752. package/dist/cjs/form-control-textarea.cjs.entry.js +0 -49
  753. package/dist/cjs/justifi-additional-statement_11.cjs.entry.js +0 -173
  754. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -79
  755. package/dist/cjs/justifi-card-form.cjs.entry.js +0 -80
  756. package/dist/cjs/justifi-new-payment-method_5.cjs.entry.js +0 -320
  757. package/dist/cjs/justifi-payment-form.cjs.entry.js +0 -141
  758. package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +0 -34
  759. package/dist/cjs/pagination-menu_2.cjs.entry.js +0 -54
  760. package/dist/cjs/payments-list-filters.cjs.entry.js +0 -40
  761. package/dist/cjs/payments-table-7087e771.js +0 -31
  762. package/dist/cjs/payouts-list-filters.cjs.entry.js +0 -24
  763. package/dist/cjs/payouts-table-4858eb84.js +0 -37
  764. package/dist/cjs/skeleton-748c5dde.js +0 -43
  765. package/dist/cjs/styled-host-1adf46c3.js +0 -14
  766. package/dist/cjs/terminals-list-filters.cjs.entry.js +0 -32
  767. package/dist/cjs/terminals-table-12410159.js +0 -32
  768. package/dist/cjs/utils-189dc30d.js +0 -35
  769. package/dist/cjs/utils-ba79e868.js +0 -37
  770. package/dist/collection/components/bank-account-form/bank-account-form.js +0 -281
  771. package/dist/collection/components/billing-form/billing-form.css +0 -51
  772. package/dist/collection/components/business-details/shared-business-details.css +0 -3
  773. package/dist/collection/components/business-forms/business-form/business-form.css +0 -121
  774. package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-text.css +0 -18
  775. package/dist/collection/components/business-forms/utils/business-form-types.js +0 -48
  776. package/dist/collection/components/card-form/card-form.js +0 -300
  777. package/dist/collection/components/checkout/checkout-core.css +0 -110
  778. package/dist/collection/components/checkout/form-check-input.css +0 -20
  779. package/dist/collection/components/checkout/header.css +0 -4
  780. package/dist/collection/components/checkout/payment-method-options.css +0 -15
  781. package/dist/collection/components/dispute-management/counter-dispute/additional-statement.js +0 -8
  782. package/dist/collection/components/dispute-management/counter-dispute/cancellation-policy.js +0 -8
  783. package/dist/collection/components/dispute-management/counter-dispute/counter-dispute.js +0 -90
  784. package/dist/collection/components/dispute-management/counter-dispute/customer-details.js +0 -8
  785. package/dist/collection/components/dispute-management/counter-dispute/dispute-reason.js +0 -8
  786. package/dist/collection/components/dispute-management/counter-dispute/duplicate-charge.js +0 -8
  787. package/dist/collection/components/dispute-management/counter-dispute/electronic-evidence.js +0 -8
  788. package/dist/collection/components/dispute-management/counter-dispute/product-or-service.js +0 -16
  789. package/dist/collection/components/dispute-management/counter-dispute/refund-policy.js +0 -8
  790. package/dist/collection/components/dispute-management/counter-dispute/shipping-details.js +0 -12
  791. package/dist/collection/components/dispute-management/dispute.js +0 -8
  792. package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +0 -3
  793. package/dist/collection/components/insurance/season-interruption/season-interruption-insurance-core.css +0 -11
  794. package/dist/collection/components/payment-form/payment-form.css +0 -97
  795. package/dist/collection/components/payment-form/payment-form.js +0 -372
  796. package/dist/collection/components/payment-form/payment-method-selector.css +0 -39
  797. package/dist/collection/components/payment-form/payment-method-selector.js +0 -74
  798. package/dist/collection/components/payment-method-form/message-event-types.js +0 -16
  799. package/dist/collection/components/payment-method-form/payment-method-form.css +0 -13
  800. package/dist/collection/components/payment-method-form/payment-method-form.js +0 -298
  801. package/dist/collection/components/refund-form/refund-form.css +0 -59
  802. package/dist/collection/components/tokenize-payment-method/tokenize-payment-method.css +0 -9
  803. package/dist/collection/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.js +0 -52
  804. package/dist/collection/utils/get-computed-theme.js +0 -50
  805. package/dist/esm/business-form-types-8fd61b0e.js +0 -50
  806. package/dist/esm/button-34e75e0f.js +0 -24
  807. package/dist/esm/check-pkg-version-fbf01ce7.js +0 -22
  808. package/dist/esm/checkouts-list-filters.entry.js +0 -31
  809. package/dist/esm/checkouts-table-cd33b57c.js +0 -43
  810. package/dist/esm/dispute-4d2e0a04.js +0 -10
  811. package/dist/esm/exported-parts-70e7a12b.js +0 -7
  812. package/dist/esm/form-control-checkbox_9.entry.js +0 -629
  813. package/dist/esm/form-control-error-text.entry.js +0 -17
  814. package/dist/esm/form-control-textarea.entry.js +0 -45
  815. package/dist/esm/justifi-additional-statement_11.entry.js +0 -159
  816. package/dist/esm/justifi-bank-account-form.entry.js +0 -75
  817. package/dist/esm/justifi-card-form.entry.js +0 -76
  818. package/dist/esm/justifi-new-payment-method_5.entry.js +0 -312
  819. package/dist/esm/justifi-payment-form.entry.js +0 -137
  820. package/dist/esm/justifi-payment-method-selector.entry.js +0 -30
  821. package/dist/esm/pagination-menu_2.entry.js +0 -49
  822. package/dist/esm/payments-list-filters.entry.js +0 -36
  823. package/dist/esm/payments-table-bba91324.js +0 -27
  824. package/dist/esm/payouts-list-filters.entry.js +0 -20
  825. package/dist/esm/payouts-table-edff9bbe.js +0 -33
  826. package/dist/esm/skeleton-145a80d4.js +0 -41
  827. package/dist/esm/styled-host-e0ddb759.js +0 -12
  828. package/dist/esm/terminals-list-filters.entry.js +0 -28
  829. package/dist/esm/terminals-table-dc787616.js +0 -28
  830. package/dist/esm/utils-218275b7.js +0 -27
  831. package/dist/esm/utils-4006c425.js +0 -33
  832. package/dist/module/Analytics.js +0 -78
  833. package/dist/module/business-form-types.js +0 -50
  834. package/dist/module/checkouts-list-filters.d.ts +0 -11
  835. package/dist/module/checkouts-list-filters.js +0 -6
  836. package/dist/module/checkouts-list-filters2.js +0 -80
  837. package/dist/module/counter-dispute.js +0 -189
  838. package/dist/module/dispute-reason.js +0 -45
  839. package/dist/module/exported-parts.js +0 -7
  840. package/dist/module/form-control-error-text.d.ts +0 -11
  841. package/dist/module/form-control-error-text2.js +0 -35
  842. package/dist/module/justifi-bank-account-form.d.ts +0 -11
  843. package/dist/module/justifi-bank-account-form.js +0 -104
  844. package/dist/module/justifi-card-form.js +0 -106
  845. package/dist/module/justifi-counter-dispute.d.ts +0 -11
  846. package/dist/module/justifi-counter-dispute.js +0 -6
  847. package/dist/module/justifi-dispute-reason.d.ts +0 -11
  848. package/dist/module/justifi-dispute-reason.js +0 -6
  849. package/dist/module/justifi-payment-form.js +0 -216
  850. package/dist/module/justifi-payment-method-form.d.ts +0 -11
  851. package/dist/module/justifi-payment-method-form.js +0 -6
  852. package/dist/module/justifi-payment-method-selector.d.ts +0 -11
  853. package/dist/module/justifi-payment-method-selector.js +0 -6
  854. package/dist/module/payment-method-selector.js +0 -47
  855. package/dist/module/payments-list-filters.js +0 -6
  856. package/dist/module/payments-list-filters2.js +0 -97
  857. package/dist/module/payouts-list-filters.js +0 -6
  858. package/dist/module/payouts-list-filters2.js +0 -69
  859. package/dist/module/terminals-list-filters.d.ts +0 -11
  860. package/dist/module/terminals-list-filters.js +0 -6
  861. package/dist/module/utils5.js +0 -27
  862. package/dist/types/components/bank-account-form/bank-account-form.d.ts +0 -62
  863. package/dist/types/components/business-forms/utils/business-form-types.d.ts +0 -76
  864. package/dist/types/components/card-form/card-form.d.ts +0 -72
  865. package/dist/types/components/dispute-management/counter-dispute/additional-statement.d.ts +0 -3
  866. package/dist/types/components/dispute-management/counter-dispute/cancellation-policy.d.ts +0 -3
  867. package/dist/types/components/dispute-management/counter-dispute/counter-dispute.d.ts +0 -14
  868. package/dist/types/components/dispute-management/counter-dispute/customer-details.d.ts +0 -3
  869. package/dist/types/components/dispute-management/counter-dispute/dispute-reason.d.ts +0 -3
  870. package/dist/types/components/dispute-management/counter-dispute/duplicate-charge.d.ts +0 -3
  871. package/dist/types/components/dispute-management/counter-dispute/electronic-evidence.d.ts +0 -3
  872. package/dist/types/components/dispute-management/counter-dispute/product-or-service.d.ts +0 -4
  873. package/dist/types/components/dispute-management/counter-dispute/refund-policy.d.ts +0 -3
  874. package/dist/types/components/dispute-management/counter-dispute/shipping-details.d.ts +0 -3
  875. package/dist/types/components/dispute-management/dispute.d.ts +0 -7
  876. package/dist/types/components/payment-form/payment-form.d.ts +0 -36
  877. package/dist/types/components/payment-form/payment-method-selector.d.ts +0 -10
  878. package/dist/types/components/payment-form/tokenize.d.ts +0 -5
  879. package/dist/types/components/payment-method-form/message-event-types.d.ts +0 -16
  880. package/dist/types/components/payment-method-form/payment-method-form.d.ts +0 -25
  881. package/dist/types/ui-components/form/form-helpers/form-control-error-text/form-control-error-text.d.ts +0 -5
  882. package/dist/types/utils/get-computed-theme.d.ts +0 -3
  883. package/dist/webcomponents/p-08b0fb31.js +0 -1
  884. package/dist/webcomponents/p-0a963f7e.entry.js +0 -1
  885. package/dist/webcomponents/p-0d6ddff2.js +0 -1
  886. package/dist/webcomponents/p-0fbab710.entry.js +0 -1
  887. package/dist/webcomponents/p-2338affa.js +0 -1
  888. package/dist/webcomponents/p-25d2ed4c.js +0 -1
  889. package/dist/webcomponents/p-286b87ab.js +0 -1
  890. package/dist/webcomponents/p-28bd6dcd.js +0 -1
  891. package/dist/webcomponents/p-297faf3d.js +0 -1
  892. package/dist/webcomponents/p-29c8fa3d.entry.js +0 -1
  893. package/dist/webcomponents/p-2f422aad.entry.js +0 -1
  894. package/dist/webcomponents/p-3186d1fb.entry.js +0 -1
  895. package/dist/webcomponents/p-3bfb4f80.entry.js +0 -1
  896. package/dist/webcomponents/p-3c654c07.js +0 -1
  897. package/dist/webcomponents/p-3ed7fc42.entry.js +0 -1
  898. package/dist/webcomponents/p-404a847c.entry.js +0 -1
  899. package/dist/webcomponents/p-41c1c1f7.entry.js +0 -1
  900. package/dist/webcomponents/p-41c7ee13.entry.js +0 -1
  901. package/dist/webcomponents/p-420adedb.entry.js +0 -1
  902. package/dist/webcomponents/p-431d7a9e.entry.js +0 -1
  903. package/dist/webcomponents/p-448826a7.entry.js +0 -1
  904. package/dist/webcomponents/p-469804a9.entry.js +0 -1
  905. package/dist/webcomponents/p-486da67e.entry.js +0 -1
  906. package/dist/webcomponents/p-4a5e5574.entry.js +0 -1
  907. package/dist/webcomponents/p-52f9d8a0.entry.js +0 -1
  908. package/dist/webcomponents/p-54145a37.entry.js +0 -1
  909. package/dist/webcomponents/p-56d84fb3.entry.js +0 -1
  910. package/dist/webcomponents/p-57125bd1.js +0 -1
  911. package/dist/webcomponents/p-5e7c60d8.js +0 -1
  912. package/dist/webcomponents/p-5ec82df8.entry.js +0 -1
  913. package/dist/webcomponents/p-673cf8c4.js +0 -1
  914. package/dist/webcomponents/p-69527219.entry.js +0 -1
  915. package/dist/webcomponents/p-6cc30da2.js +0 -1
  916. package/dist/webcomponents/p-6d51aed8.entry.js +0 -1
  917. package/dist/webcomponents/p-72819173.entry.js +0 -1
  918. package/dist/webcomponents/p-74da98da.js +0 -1
  919. package/dist/webcomponents/p-8037704c.js +0 -1
  920. package/dist/webcomponents/p-89f6691e.js +0 -1
  921. package/dist/webcomponents/p-91de21cc.js +0 -1
  922. package/dist/webcomponents/p-942be28b.entry.js +0 -1
  923. package/dist/webcomponents/p-95ec39f6.entry.js +0 -1
  924. package/dist/webcomponents/p-9690eca9.entry.js +0 -1
  925. package/dist/webcomponents/p-9c9c7dac.js +0 -1
  926. package/dist/webcomponents/p-a76ece26.js +0 -1
  927. package/dist/webcomponents/p-a7830e98.entry.js +0 -1
  928. package/dist/webcomponents/p-a8b4f429.js +0 -1
  929. package/dist/webcomponents/p-abe513e6.entry.js +0 -1
  930. package/dist/webcomponents/p-ada9ac19.entry.js +0 -1
  931. package/dist/webcomponents/p-b0dc68b3.entry.js +0 -1
  932. package/dist/webcomponents/p-b3cac576.entry.js +0 -1
  933. package/dist/webcomponents/p-b97233cc.entry.js +0 -1
  934. package/dist/webcomponents/p-bc1984ec.entry.js +0 -1
  935. package/dist/webcomponents/p-bc8205ec.js +0 -1
  936. package/dist/webcomponents/p-bfb990fc.entry.js +0 -1
  937. package/dist/webcomponents/p-c1bf9285.entry.js +0 -1
  938. package/dist/webcomponents/p-c3fb5d3a.entry.js +0 -1
  939. package/dist/webcomponents/p-c420cb7d.entry.js +0 -1
  940. package/dist/webcomponents/p-c8243721.js +0 -1
  941. package/dist/webcomponents/p-cd19c597.entry.js +0 -1
  942. package/dist/webcomponents/p-d1f75fa6.js +0 -1
  943. package/dist/webcomponents/p-d291dc4c.entry.js +0 -1
  944. package/dist/webcomponents/p-d2eb61e6.entry.js +0 -1
  945. package/dist/webcomponents/p-d516e700.js +0 -1
  946. package/dist/webcomponents/p-da176d01.entry.js +0 -1
  947. package/dist/webcomponents/p-dcb288a3.entry.js +0 -1
  948. package/dist/webcomponents/p-df3ca87f.entry.js +0 -1
  949. package/dist/webcomponents/p-df5a1202.entry.js +0 -1
  950. package/dist/webcomponents/p-e2ce097c.js +0 -1
  951. package/dist/webcomponents/p-e5790011.entry.js +0 -1
  952. package/dist/webcomponents/p-e69b2ff8.entry.js +0 -1
  953. package/dist/webcomponents/p-e8be1b55.entry.js +0 -1
  954. package/dist/webcomponents/p-e99957ff.entry.js +0 -1
  955. package/dist/webcomponents/p-eb9ba917.entry.js +0 -1
  956. package/dist/webcomponents/p-ed95feec.entry.js +0 -1
  957. package/dist/webcomponents/p-f28a4c03.entry.js +0 -1
  958. package/dist/webcomponents/p-f698d6d9.entry.js +0 -1
  959. package/dist/webcomponents/p-fad19d75.js +0 -2
  960. package/dist/webcomponents/p-fc6f697d.entry.js +0 -1
  961. package/dist/webcomponents/p-ffe27126.entry.js +0 -1
  962. package/dist/webcomponents/webcomponents.css +0 -6
  963. /package/dist/collection/{components/payment-form/tokenize.js → api/ComponentEvents.js} +0 -0
  964. /package/dist/collection/components/{payment-method-form → checkout}/payment-method-responses.js +0 -0
  965. /package/dist/types/components/{payment-method-form → checkout}/payment-method-responses.d.ts +0 -0
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as a,H as i}from"./p-fad19d75.js";import{a as o,b as s}from"./p-4cf7f4ae.js";import{F as r}from"./p-3c654c07.js";import{A as n,C as c,R as d,b as l}from"./p-5e7c60d8.js";import{c as u,b as h,a as f}from"./p-a76ece26.js";import{C as y,P as m}from"./p-525db3e8.js";import{a as b,r as p,s as g,b as v}from"./p-1815a43b.js";import{n as T}from"./p-e3c22aa9.js";import{N as E}from"./p-b0311e88.js";import{j as A,s as I,a as S,k as w}from"./p-c13a7d10.js";import{B as O}from"./p-9c9c7dac.js";import{i as R,a as k}from"./p-297faf3d.js";import{S as N}from"./p-6078a370.js";import"./p-1ff8810b.js";const P=class{constructor(a){e(this,a),this.formControlInput=t(this,"formControlInput",7),this.formControlBlur=t(this,"formControlBlur",7),this.handleFormControlInput=e=>{const t=e.target,a=t.getAttribute("name");this.inputHandler(a,t.checked),this.formControlInput.emit({name:a,value:t.value})},this.updateInput=e=>{this.checkboxElement.checked=e},this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.inputHandler=void 0,this.disabled=void 0}handleDefaultValueChange(e){this.updateInput(e)}componentDidLoad(){this.updateInput(this.defaultValue)}render(){return a(i,{key:"62c7e5756a185d29a941dd63a431756beed3d554",exportparts:"label,input,input-invalid"},a("div",{key:"db89c096aa07aecd8c5205905c26f56ac4282a3a",class:"form-group d-flex flex-column"},a("div",{key:"8f6c06c0150eee6284d3b2465b3aca916c2d7f83",class:"form-check"},a("input",{key:"25b9b0a620ee3fce0f4fa4892a38b289e0a0d521",ref:e=>this.checkboxElement=e,type:"checkbox",id:this.name,name:this.name,onBlur:this.formControlBlur.emit,onInput:this.handleFormControlInput,part:"input-checkbox "+(this.errorText?"input-checkbox-invalid":""),class:this.errorText?"form-check-input is-invalid":"form-check-input",disabled:this.disabled}),a("label",{key:"783d5dbbafeeeceab3400361eff65cd6a075f637",class:"form-check-label",htmlFor:this.name},this.label)),a("form-control-help-text",{key:"4b129fa8360d7d305f14939d213667a9003c6b94",helpText:this.helpText,name:this.name}),a("form-control-error-text",{key:"303b12a3b51634866a4266486ac6295f5d582ab6",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}},C=class{constructor(a){e(this,a),this.submitted=t(this,"submitted",7),this.stepCompleted=t(this,"form-step-completed",7),this.formLoading=t(this,"formLoading",7),this.errorEvent=t(this,"error-event",7),this.getData=()=>{this.formLoading.emit(!0),this.getBusiness({onSuccess:e=>{this.additional_questions=new n(e.data.additional_questions||{}),this.formController.setInitialValues(Object.assign({},this.additional_questions))},onError:({error:e,code:t,severity:a})=>{this.errorEvent.emit({message:e,errorCode:t,severity:a})},final:()=>this.formLoading.emit(!1)})},this.sendData=e=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:a=>{t=a,e()},onError:({error:e,code:a,severity:i})=>{t=e,this.errorEvent.emit({message:e,errorCode:a,severity:i})},final:()=>{this.submitted.emit({data:{submittedData:t}}),this.stepCompleted.emit({data:t,formStep:u.additionalQuestions}),this.formLoading.emit(!1)}})},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t})),this.additional_questions=new n(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))},this.formController=void 0,this.errors={},this.additional_questions={},this.recurringPayments=!1,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}recurringPaymentsWatcher(e){this.recurringPayments="Yes"===(null==e?void 0:e.business_recurring_payments)}async validateAndSubmit({onSuccess:e}){this.formController.validateAndSubmit((()=>this.sendData(e)))}get patchPayload(){return{additional_questions:new n(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new r(o(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,o,s,r,n;const c=this.formController.getInitialValues();return a("form",{key:"469cda15cbb05da33e26bc645cc51ebbbdf6e7fc"},a("fieldset",{key:"b00875b7d3f3d3ad338c38000cc29b3a550e8a50"},a("div",{key:"6dfc3d60d5b5469613681715bf1965752fdb9662",class:"d-flex align-items-center gap-2"},a("legend",{key:"65b2a3769f96714563a468eca3f1d7e82d6a1538",class:"mb-0"},"Additional Questions"),a("form-control-tooltip",{key:"7a51538fe74cf8e0f3ed49042d6301fb2bd7909b",helpText:"This information helps us understand the business and identify and monitor trends to safeguard you and your customers."})),a("hr",{key:"42496d5e78ed4922a0165caab9e6e7e48cb44616",class:"mt-2"}),a("div",{key:"0d7ff24d81a3f54e223293c393d4ce89588a1c58",class:"row gy-3"},a("div",{key:"12a1c72e5e5802f7729f2a09764a5cffa194639d",class:"col-12 col-md-6"},a("form-control-monetary",{key:"c9f4aecc5b7108c788237f776953c5cd9ae844b8",name:"business_revenue",label:"What is your business’ estimated annual revenue from its primary business activities?",inputHandler:this.inputHandler,errorText:null===(e=this.errors)||void 0===e?void 0:e.business_revenue,defaultValue:null==c?void 0:c.business_revenue,maskOptions:y.WHOLE})),a("div",{key:"ecd78939d2a7ac81932898f65f3c9424f157fb3d",class:"col-12 col-md-6"},a("form-control-monetary",{key:"5df34b238082a11a4589a05e24c53650bd2c0b79",name:"business_payment_volume",label:"What is your business' annual credit card & ACH volume anticipated to process?",inputHandler:this.inputHandler,errorText:null===(t=this.errors)||void 0===t?void 0:t.business_payment_volume,defaultValue:null==c?void 0:c.business_payment_volume,maskOptions:y.WHOLE})),a("div",{key:"9db14123245c84eb3dc33d28154ac9be458987cc",class:"col-12"},a("form-control-select",{key:"7e9899a2e41c14ae968c5451e46d445cbaa289a4",name:"business_when_service_received",label:"On average, how long after paying will your customers typically receive their goods or services?",inputHandler:this.inputHandler,errorText:null===(i=this.errors)||void 0===i?void 0:i.business_when_service_received,options:b,defaultValue:null==c?void 0:c.business_when_service_received})),a("div",{key:"f5ebffe9294cbe7e16487c8e63009f7c4901fee1",class:"col-12"},a("form-control-select",{key:"32a0f978252a52cff90a3a9c1e675515960ee016",name:"business_recurring_payments",label:"Does your business offer recurring payments?",inputHandler:this.inputHandler,errorText:null===(o=this.errors)||void 0===o?void 0:o.business_recurring_payments,options:p,defaultValue:null==c?void 0:c.business_recurring_payments})),a("div",{key:"0aa20a223c15959c7b1e36b8570c17c11c193a8c",class:"col-12",hidden:!this.recurringPayments},a("form-control-text",{key:"e6abbe38ef92091d87c04f832c860ac1a34e855f",name:"business_recurring_payments_percentage",label:"What percent of revenue is generated from each recurring payment type offered?",inputHandler:this.inputHandler,errorText:null===(s=this.errors)||void 0===s?void 0:s.business_recurring_payments_percentage,defaultValue:null==c?void 0:c.business_recurring_payments_percentage,helpText:"For example: 50% monthly, 50% annual."})),a("div",{key:"1c2fbe366315babd398e48b38861cb2b8336b287",class:"col-12"},a("form-control-select",{key:"eb45c69781ea51ab35f3f0782d1245f553ff63a5",name:"business_seasonal",label:"Is this business seasonal?",inputHandler:this.inputHandler,errorText:null===(r=this.errors)||void 0===r?void 0:r.business_seasonal,options:g,defaultValue:null==c?void 0:c.business_seasonal})),a("div",{key:"ded80ce1cf8b0fd1b580d5002a1a869aed132f62",class:"col-12"},a("form-control-text",{key:"80612b8d9381072e0ae670f07b649f01f1cfed66",name:"business_other_payment_details",label:"Is there anything else you would like us to know about how your customers pay the business? (optional)",inputHandler:this.inputHandler,errorText:null===(n=this.errors)||void 0===n?void 0:n.business_other_payment_details,defaultValue:null==c?void 0:c.business_other_payment_details})))))}static get watchers(){return{additional_questions:["recurringPaymentsWatcher"]}}},F=class{constructor(a){e(this,a),this.submitted=t(this,"submitted",7),this.stepCompleted=t(this,"form-step-completed",7),this.formLoading=t(this,"formLoading",7),this.errorEvent=t(this,"error-event",7),this.getData=()=>{this.formLoading.emit(!0),this.getBusiness({onSuccess:e=>{this.coreInfo=new c(e.data),this.formController.setInitialValues(Object.assign({},this.coreInfo))},onError:({error:e,code:t,severity:a})=>{this.errorEvent.emit({message:e,errorCode:t,severity:a})},final:()=>this.formLoading.emit(!1)})},this.sendData=e=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:a=>{t=a,e()},onError:({error:e,code:a,severity:i})=>{t=e,this.errorEvent.emit({message:e,errorCode:a,severity:i})},final:()=>{this.submitted.emit({data:{submittedData:t}}),this.stepCompleted.emit({data:t,formStep:u.businessInfo}),this.formLoading.emit(!1)}})},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))},this.formController=void 0,this.errors={},this.coreInfo={},this.businessId=void 0,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}async validateAndSubmit({onSuccess:e}){this.formController.validateAndSubmit((()=>this.sendData(e)))}get patchPayload(){return new c(this.formController.values.getValue()).payload}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new r(s(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){const e=this.formController.getInitialValues();return a("form",{key:"d3df5d7e22f53b5885545459a48e1931f8a38e31"},a("fieldset",{key:"5a448358ef2ad53c597347f932ca51a5da2ba4e6"},a("div",{key:"5ed392c4bb7f63258c60b13d83aa5325fb191e7c",class:"d-flex align-items-center gap-2"},a("legend",{key:"2dada21c67d05b813529eb45cb105ccec547b620",class:"mb-0"},"Business Information")),a("hr",{key:"9df6c05b6f34d8fd2154ef25bda1ec2a88f69bc7",class:"mt-2"}),a("div",{key:"d9e8e3c87a9f3c41c325ed8b3df58443db026644",class:"row gy-3"},a("div",{key:"7e940fb2b9befb51be4387d47498ecb8e3b1552a",class:"col-12"},a("form-control-text",{key:"4ea4b4aae5b1e377dc45407e4d0f6f8277f74dc3",name:"legal_name",label:"Business Name",defaultValue:e.legal_name,errorText:this.errors.legal_name,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (don't use acronyms or abbreviations unless you registered that way)."})),a("div",{key:"ec86bf16281d8d8c0c954606e4fc7fb1d8b2507e",class:"col-12"},a("form-control-text",{key:"bef91169dea8a654faf8df3abed565a64275aa9d",name:"doing_business_as",label:"Doing Business As (DBA)",defaultValue:e.doing_business_as,errorText:this.errors.doing_business_as,inputHandler:this.inputHandler,helpText:"Enter this exactly as it appears on your tax records (leave blank if you don't have a registered DBA/trade name)"})),a("div",{key:"5568cecd8e6e3d2ab2a45d4eff583c1dfba2f07a",class:"col-12 col-md-8"},a("form-control-select",{key:"96b2eea102e0686910af7950742256d6019d8ef9",name:"classification",label:"Business Classification",options:v,defaultValue:e.classification,errorText:this.errors.classification,inputHandler:this.inputHandler})),a("div",{key:"1fad6738d6c89a184b9f2e41eaef095db87471d6",class:"col-12 col-md-4"},a("form-control-date",{key:"cd10c2b8091343b0a8d7b08ceddf4343803333f6",name:"date_of_incorporation",label:"Date of Incorporation",defaultValue:e.date_of_incorporation,errorText:this.errors.date_of_incorporation,inputHandler:this.inputHandler})),a("div",{key:"3786fa9ce6b85c70873a4ed0014ef7c9b4a786f8",class:"col-12 col-md-6"},a("form-control-text",{key:"c5374dedf05acc1c9874061d796ee704160745a0",name:"industry",label:"Industry",defaultValue:e.industry,errorText:this.errors.industry,inputHandler:this.inputHandler,helpText:"Describe what you sell"})),a("div",{key:"0f30b590c250a6ac1beaaf1cc4a3eefeb394f3b0",class:"col-12 col-md-6"},a("form-control-text",{key:"983b05cd0bf9aca0572b6f328e26b0c6f04ea9ee",name:"tax_id",label:"Tax ID (EIN or SSN)",defaultValue:e.tax_id,errorText:this.errors.tax_id,inputHandler:this.inputHandler,keyDownHandler:T,maxLength:9,helpText:"Employer Identification Numbers (EINs) are nine digits. The federal tax identification number/EIN issued to you by the IRS. It can be found on your tax returns."})),a("div",{key:"beacf611410f74b8038919887cc20c206bd5edce",class:"col-12"},a("form-control-text",{key:"14a69d2ecedfcadf613aa42625b12405fba67068",name:"website_url",label:"Business Website URL",defaultValue:e.website_url,errorText:this.errors.website_url,inputHandler:this.inputHandler,helpText:"Don't have a live website? You can use your social media business page, app store link, or staging site URL."})),a("div",{key:"17171947a231323d63c42aa2c0a645aba91926d8",class:"col-12 col-md-6"},a("form-control-text",{key:"d0e32c0eb8aeb1c661f48f993a0cf44b4f2cf5b3",name:"email",label:"Business Email Address",defaultValue:e.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"1a8ee5ca6825ee3046fd538871c8c01ae561e731",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"b74ff08dc5d97a66ff7d41fcdc8a2964e8739430",name:"phone",label:"Business Phone Number",defaultValue:e.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:m.US})))))}},L={voidedCheck:{name:"voided_check",label:"Upload Voided Check",documentType:E.voidedCheck,helpText:"Voided check or bank statement where the legal entity and account number are clearly visible. The check must match the legal entity registering for this merchant account."},bankStatements:{name:"bank_statement",label:"Upload Bank Statements",documentType:E.bankStatement,helpText:"The most recent 3 months of your business’ bank statements. The statements must match the legal entity registering for this merchant account."},balanceSheet:{name:"balance_sheet",label:"Upload FYE Balance Sheets",documentType:E.balanceSheet,helpText:"Please provide the balance sheet that corresponds to the last day of your business' last two fiscal years. For example, 12/31/2022 & 12/31/2023 balance sheets."},governmentId:{name:"government_id",label:"Upload Government ID (optional)",documentType:E.governmentId,helpText:"The ID must include a personal address."},profitAndLossStatement:{name:"profit_and_loss_statement",label:"Upload FYE Profit and Loss Statements",documentType:E.profitAndLossStatement,helpText:"Fiscal Year End Profit and Loss statements for your business’ last two fiscal years. For example, FYE 2022 and FYE 2023 profit and loss statements."},ss4:{name:"ss4",label:"Upload SS4 / Article of Incorporation (optional)",documentType:E.taxReturn,helpText:"Please upload the business's SS4 / Article of Incorporation."},other:{name:"other",label:"Upload any other documents (optional)",documentType:E.other,helpText:"Please upload any other documents that may be relevant to your business."}},Y=class{constructor(t){e(this,t),this.inputConfigs=[L.voidedCheck,L.governmentId,L.ss4,L.other],this.paymentVolume=void 0,this.inputHandler=void 0,this.storeFiles=void 0,this.errors=void 0}getInputGroup(){let e=parseInt(this.paymentVolume);return A(e,25e4,999999)?this.inputConfigs.unshift(L.bankStatements):e>=1e6&&this.inputConfigs.unshift(L.balanceSheet,L.profitAndLossStatement,L.bankStatements),this.inputConfigs}componentWillLoad(){this.getInputGroup()}render(){return a("div",{key:"e43e94c773b524f5725c75af53db4ceadc0ba172",class:"row gy-3"},this.inputConfigs.map((e=>a("div",{class:"col-12 col-md-6"},a("form-control-file",{name:e.name,label:e.label,helpText:e.helpText,documentType:e.documentType,inputHandler:this.inputHandler,onFileSelected:this.storeFiles,errorText:this.errors[e.name],multiple:!0})))))}},D=class{constructor(t){e(this,t),this.documents=[]}render(){return this.documents.length?a("div",null,a("div",{class:"card"},a("div",{class:"card-body"},a("h5",{class:"card-title"},"Documents Already on File"),a("div",{class:"table-responsive"},a("table",{class:"table table-sm table-borderless"},a("thead",{part:"table-head"},a("tr",{part:"table-head-row"},a("th",{style:{width:"25%"},part:"table-head-cell",scope:"col"},"File Name"),a("th",{style:{width:"25%"},part:"table-head-cell",scope:"col"},"File Type"),a("th",{style:{width:"25%"},part:"table-head-cell",scope:"col"},"Document Type"),a("th",{style:{width:"25%"},part:"table-head-cell",scope:"col"},"Date Uploaded"))),a("tbody",{part:"table-body"},this.documents.sort(((e,t)=>e.document_type.localeCompare(t.document_type))).map(((e,t)=>a("tr",{class:0===t?"border-bottom border-top":"border-bottom"},a("td",{part:"table-cell"},e.file_name),a("td",{part:"table-cell"},e.file_type),a("td",{part:"table-cell"},I(e.document_type)),a("td",{part:"table-cell"},`${S(e.created_at)} - ${w(e.created_at)}`))))))))),a("hr",null)):null}},x=class{constructor(a){e(this,a),this.submitted=t(this,"submitted",7),this.stepCompleted=t(this,"form-step-completed",7),this.clickEvent=t(this,"click-event",7),this.formLoading=t(this,"formLoading",7),this.errorEvent=t(this,"error-event",7),this.matchRef=(e,t)=>{const a=this.refs.findIndex((e=>e===t));-1!==a&&(this.refs[a]=e)},this.getData=()=>{this.formLoading.emit(!0),this.getBusiness({onSuccess:e=>{e.data.owners.length?this.ownersPayload=e.data.owners.map((e=>({id:e.id}))):this.addOwnerForm()},onError:({error:e,code:t,severity:a})=>{this.errorEvent.emit({message:e,errorCode:t,severity:a})},final:()=>{this.formLoading.emit(!1),this.manageRefs()}})},this.sendData=async e=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:{owners:this.ownersPayload},onSuccess:a=>{t=a,e()},onError:({error:e,code:a,severity:i})=>{t=e,this.errorEvent.emit({message:e,errorCode:a,severity:i})},final:()=>{this.submitted.emit({data:t,metadata:{completedStep:h.owners}}),this.stepCompleted.emit({data:t,formStep:u.owners}),this.formLoading.emit(!1)}})},this.addOwnerForm=e=>{this.newFormOpen=!0,this.ownersPayload=[...this.ownersPayload,{id:""}],e&&this.clickEvent.emit({name:f.addOwnerForm})},this.removeOwnerForm=e=>{this.ownersPayload=this.ownersPayload.filter((t=>t.id!==e)),this.newFormOpen&&(this.newFormOpen=!1)},this.ownersPayload=[],this.refs=[],this.newFormOpen=void 0,this.authToken=void 0,this.businessId=void 0,this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}get showAddOwnerButton(){return this.ownersPayload.length<4&&!this.newFormOpen}manageRefs(){this.refs=this.ownersPayload.map((e=>e.id))}async validateAndSubmit({onSuccess:e}){const t=this.refs.map((e=>e.validate()));if(!(await Promise.all(t)).every((e=>e)))return;const a=this.refs.map((e=>e.submit()));(await Promise.all(a)).every((e=>e))&&this.sendData(e)}componentWillLoad(){this.getBusiness&&this.getData()}ownersWatcher(){this.manageRefs()}handleOwnerSubmit(e){const t=e.detail,a=this.ownersPayload.map((e=>e.id===t.id?t:e));a.includes(t)||(a[this.ownersPayload.findIndex((e=>!e.id))]=t,this.newFormOpen&&(this.newFormOpen=!1)),this.ownersPayload=a}render(){return a("div",{key:"54dc14b59646d1cb539fd0b58ce6635350b3df4b"},a("div",{key:"b33f4e979244d857de0bb33b5ef5d4c31086cc10",class:"d-flex align-items-center gap-2"},a("legend",{key:"96a4c633e8111bcfb5dd86e6f9e08ef98ea2728d",class:"mb-0"},"Owners"),a("form-control-tooltip",{key:"057e701996ea52daf1b8cd0dc8ee97020918d844",helpText:"For partnerships, LLCs or privately held corporations, the business is required to apply with all individuals with 25% or more ownership to the application. For charities and registered non-profits, the business is required to apply with 1 individual with substantial control over the entity, such as a board member or director."})),a("hr",{key:"ef7dbdb63e95b95a3fa8630938a8cd1bf17855f7",class:"mt-2"}),a("div",{key:"53672f1511d6af3c4ae60572da139ba8249dd1c5",class:"row gy-3"},this.ownersPayload.map((e=>a("justifi-owner-form",{key:e.id,authToken:this.authToken,businessId:this.businessId,ownerId:e.id,removeOwner:this.removeOwnerForm,newFormOpen:this.newFormOpen,ownersLength:this.ownersPayload.length,allowOptionalFields:this.allowOptionalFields,ref:t=>this.matchRef(t,e.id)})))),a("div",{key:"9db46d31044dca403fd6ed13e36c8315ad4ca32a",class:"d-flex justify-content-start"},a("div",{key:"a55cf43f922428201e0d016d1eb10489ba9ca6aa",class:"gap-2"},a(O,{key:"0393ff4837999d169afdcb5c79a67bb50176edcd",variant:"primary",onClick:()=>this.addOwnerForm(!0),hidden:!this.showAddOwnerButton},"Add Owner"))))}static get watchers(){return{ownersPayload:["ownersWatcher"]}}},H=class{constructor(a){e(this,a),this.submitted=t(this,"submitted",7),this.stepCompleted=t(this,"form-step-completed",7),this.formLoading=t(this,"formLoading",7),this.errorEvent=t(this,"error-event",7),this.getData=()=>{this.formLoading.emit(!0),this.getBusiness({onSuccess:e=>{this.representative=new d(e.data.representative||{}),this.formController.setInitialValues(Object.assign({},this.representative))},onError:({error:e,code:t,severity:a})=>{this.errorEvent.emit({message:e,errorCode:t,severity:a})},final:()=>this.formLoading.emit(!1)})},this.sendData=e=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:a=>{t=a,e()},onError:({error:e,code:a,severity:i})=>{t=e,this.errorEvent.emit({message:e,errorCode:a,severity:i})},final:()=>{this.submitted.emit({data:{submittedData:t}}),this.stepCompleted.emit({data:t,formStep:u.representative}),this.formLoading.emit(!1)}})},this.formController=void 0,this.errors={},this.representative={},this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}async validateAndSubmit({onSuccess:e}){this.formController.validateAndSubmit((()=>this.sendData(e)))}get patchPayload(){return{representative:new d(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new r(R("representative",this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){return a("justifi-business-representative-form-inputs",{key:"b139e0b7a998011fd6b2a6d21b5a0b33369125fe",representativeDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController})}},U=class{constructor(t){e(this,t)}render(){return a("div",{key:"fa6dd9ffc757b373d717e4bfe2e29c5f3a5d9fd3",class:"terms-container"},a("div",{key:"f1a26d9d912594fa46c27ebe7070422406b08431",class:"card terms-conditions-card"},a("div",{key:"e5f964d7e1b91503ce505fc7f465fd233eb54e05",class:"card-body terms-card-body"},a("h2",{key:"a3680773e0e38f3843fbf58ec97fe310e5ede868",class:"card-title"},"JustiFi Technologies Inc. Terms and Conditions"),a("p",{key:"950970bd8e0a20874912c774c06da6ca1039056d",class:"card-text"},"The Payment Terms and Conditions described herein constitute a legal agreement (“Agreement” or “JustiFi Technologies Inc. Terms”) between your business (the “Merchant”, “you” or “your”) and JustiFi Technologies Inc., organized under the laws of Minnesota with offices at 555 Vandalia St. St Paul, MN 55114, Suite #105. (“JustiFi”, “we”, “us”, or “our”)."),a("br",{key:"9d08ca1f2aab10fa13e7834d38c0dbf400d8dc76"}),a("h3",{key:"492de8b534ea425a8a2f176cd3e4b18b39030cee",class:"card-subtitle mb-2 text-muted"},"A. The JustiFi Payments Service"),a("br",{key:"172d156be7197066a55bfd64d3b84bc26e4a3c54"}),a("h4",{key:"58deb6af563dc51704c65d8a36da434a24056a62",class:"card-subtitle"},"Our Role"),a("p",{key:"0455ead09dce7d949a22590f9e749120e5f978f2",class:"card-text"},"The JustiFi Payments service (“JustiFi Payments” or the “Payments Services”) is a: (i) payment account boarding; (ii) payment underwriting; and, (iii) payment data transmission service that helps you integrate with a payment processor (the “Processor”), as described more fully in this Agreement."),a("p",{key:"45ec86b9c631be670544d997241c203106cd3222",class:"card-text"},"JustiFi is not a bank, payment institution, or money services business, but is instead, respectively, a supplier of the JustiFi Platform Services supplied under the JustiFi Platform Terms and of the Payments Services under this Agreement."),a("h4",{key:"9a8ef8b3081db7d99f9c17f9cc5aff5544f565c7",class:"card-subtitle"},"The Processor"),a("p",{key:"8e41912586b927272c60cc5120b880711e0b32f1"},"JustiFi provides a managed orchestration layer and processes payments with multiple processors.  JustiFi’s processing partners include Fiserv Inc., First Data LLC and Stripe, Inc. which is a technical services provider and may offer the services as an agent of one or more financial institutions in the United States (each, a “Financial Services Provider”). The processing is carried out by the Processor.  By accepting this Agreement, you are also accepting and agreeing to be bound by the Processor Terms. JustiFi is not a party to the Processor Terms and is not liable to you in respect thereof. By accepting this Agreement and the Processor Terms you are agreeing to the creation of an account with the Processor for Payment Processing (the “Processor Account”). We reserve the right to change the Processor, subject to the terms of our agreement with the Processor. In the event of any inconsistency between this Agreement and the Processor Terms, this Agreement shall prevail, except in the event of any inconsistency between this Agreement and the Processor Terms concerning Payment Processing or the Processor Account, in which case the Processor Terms shall prevail."),a("p",{key:"fc029c8d20199f2d8032ac535415bf782374eac4"},'The Processor’s role is to accept and process credit card, debit card and other types of payments with respect to sales of your products and services through internet-based transactions (“Card Not Present Transactions" or “CNP Transactions”). Your Role is to utilize the Services, you must be a business located in the United States.'),a("h4",{key:"2f12f20b0d55f524286da94d264cef583212f29a"},"The Payments Services"),a("p",{key:"21521548c1788c910cf97c877a6efabc6d21f485"},"JustiFi hereby grants you a non-exclusive, non-transferable, non-sublicensable, limited, revocable right to use the Payments Services (the “License”). The License shall be for the term of this Agreement only. Neither the License nor any other provision hereof shall grant any rights in the Payments Services or other intellectual property rights except the limited License of use set out above."),a("p",{key:"ded47875bafc50f4b0683e6ed225db4eb3dcdb85"},"You shall not: (i) permit any third party to access the Payments Services, including, but not limited to, your JustiFi Admin on our website (the “JustiFi Admin”), except as permitted herein, and to carry out Transactions; (ii) create derivative works based on the Payments Services; (iii) copy, frame or mirror any part of the content of the Payments Services, other than copying or framing for your internal business purposes; (iv) reverse engineer, disassemble, decompile, or otherwise attempt to discover the source code or trade secrets for any of the Payments Services; or, (v) access the Payments Services in order to build a competitive product or service."),a("p",{key:"bf2debfd372f7e4e7ccea0e501561ff96157ae9c"},"It is your responsibility to obtain your customers’ consent to be billed for each Transaction or, as the case may be, on a recurring basis, in compliance with applicable legal requirements and Visa U.S.A. (“Visa”), MasterCard International Incorporated (“MasterCard”), American Express or other applicable Card networks’ (such networks being, collectively, the “Payment Networks”) payment rules (the “Payment Network Rules”)."),a("h4",{key:"dfc7403a15a973277c6745fb2f4fe3cdff411e08"},"Payment Methods"),a("p",{key:"cd879621ac6cfa0aa45c8f5906c60e4fae2233b9"},"You assume sole and exclusive responsibility for the use of the Payments Services. You also assume sole and exclusive responsibility for Transactions under the Processor Terms. You are solely responsible for verifying the location and identity of customers and of the eligibility of a presented Card used to participate in your services, and JustiFi does not guarantee or assume any liability for Transactions authorized and completed that may later be reversed or charged back (see section D5 below). You are solely responsible for all reversed or charged back transactions regardless of the reason for, or timing of the reversal or chargeback. JustiFi or the Processor may add or remove one or more types of Payment Networks or Cards, in their sole discretion, at any time, without prior notice to you."),a("h4",{key:"d44d3837e921fda736d07be8324b56c66ce93ab5"},"Customer Service"),a("p",{key:"4e25d71070938c7b501f0f9b4bafb25d0e3e7340"},"JustiFi will use its commercially reasonable efforts to provide you with customer support to help resolve issues relating to the Payments Services. The Processor retains sole and exclusive responsibility for Payment Processing of Transactions, and Settlement of funds.  JustiFi retains responsibility for managing funds and releasing Payouts to all parties.  You assume sole and exclusive responsibility for providing customer service or support to your customers for any and all issues related to your products and services, including, but not limited to, issues arising from the processing of Cards through the Payments Services."),a("h4",{key:"0d4ca836d11666e9f2338fe71ad0bc7bae2c1a2f"},"Taxes"),a("p",{key:"368ec8842010de7342eb33ef431ce8e6cc48d0e2"},'You have sole and exclusive responsibility to determine what, if any, taxes apply to the sale of your goods and services and/or the payments you receive in connection with your use of the Payments Services ("Taxes"). It is solely your responsibility to assess, collect, report, or remit the correct Taxes to the proper tax authority, whether in customers’ jurisdictions, your jurisdiction or elsewhere. We are not obligated to, nor will we, determine whether Taxes apply, or calculate, collect, report, or remit any Taxes to any tax authority, arising from any Transaction. JustiFi retains the right, but not the obligation, at its sole discretion, to complete and file tax or related reports with tax authorities regarding Transactions in those jurisdictions where JustiFi deems such reporting necessary. You hereby indemnify and hold JustiFi harmless from and against any and all liability related to Taxes and filings made by JustiFi in respect thereof. You agree that we may send you any tax-related information electronically.'),a("h4",{key:"d2be07b0a05d9afffa1f8c3ce0def7921d36f830"},"Security"),a("p",{key:"90f1dcda8c3147cd55e3832e627087a988917189"},"We maintain commercially reasonable administrative, technical and physical procedures to protect all the personal information regarding you and your customers that is stored in our servers from unauthorized access, accidental loss, or modification. JustiFi cannot, however, guarantee that unauthorized third parties will never be able to defeat those measures or use such personal information for improper purposes."),a("h4",{key:"a2430cc9af6c0084357dbe745cff2ff578f21d7a"},"Data Security"),a("p",{key:"bd7d689ef42080f33fbb52dafb9f528b81737ac9"},'You assume full responsibility for the security of data on your website or otherwise in your possession or control. You agree to comply with all applicable laws and rules in connection with your collection, security, and dissemination of any personal, financial, Card, or Transaction information (collectively, “Data", and as pertains to your customers, “Cardholder Data”). You agree that at all times you shall be compliant with applicable Payment Card Industry Data Security Standards (“PCI-DSS”) and, as applicable, the Payment Application Data Security Standards (“PA-DSS”). You agree to promptly provide JustiFi with documentation evidencing your compliance with PCI-DSS and/or PA-DSS upon request. You also agree that you will use only PCI-DSS and PA-DSS compliant service providers in connection with the storage or transmission of Card information, including a cardholder’s account number, expiration date, and CVV2. You must not store CVV2 data at any time. Information on PCI-DSS can be found on the PCI Council’s website. It is your responsibility to comply with these standards and all the Payment Network Rules.'),a("h4",{key:"840a3e75ce2ec996ca08f936ef0f048c6e03f66f"},"Audit Right"),a("p",{key:"d6db466f469833a59e78b0f0c7bdeadce7521cea"},"If JustiFi believes that a security breach, personal data breach, or other compromise of data may have occurred, JustiFi may require you to have a third-party auditor that is approved by JustiFi conduct a security audit of your systems and facilities and issue a report to be provided to JustiFi and, at JustiFi’s discretion, to the Processor, its Financial Services Provider, Payment Networks, and law enforcement, at your sole cost and expense."),a("h4",{key:"824e41373dfd26227c978edd6a4ac3ffcdbd19d9"},"Restricted Use"),a("p",{key:"d902919e5c6b571c90f58f638bb0b8e7cd5c8a07"},"You are required to obey all laws, rules, and regulations applicable to your use of the Payments Services (e.g., including those governing financial services, consumer protections, unfair competition, anti-discrimination, or false advertising). In addition to any other requirements or restrictions set forth in this Agreement, you shall not: (i) utilize the credit available on any Card to provide cash advances to cardholders; (ii) submit any Transaction for processing that does not arise from your sale of goods or service to a customer; (iii) act as a payment intermediary or aggregator or otherwise resell the Payments Services on behalf of any third party; (iv) send what you believe to be potentially fraudulent authorizations or fraudulent Transactions; or, (v) use the Payments Services or the Payment Processing services in a manner that a Payment Network reasonably believes to be an abuse of the Payment Network or a violation of the Payment Network Rules."),a("p",{key:"21a0e4278b0e077088029f6780a8092d4086b624"},"You further agree not to permit any third party to do any of the following: (i) access or attempt to access our systems, programs, or data that are not made available for public use; (ii) copy, reproduce, republish, upload, post, transmit, resell, or distribute, in any way, material from us; (iii) permit any third party to use and benefit from the Payments Services via a rental, lease, timesharing, service bureau, or other arrangement; (iv) transfer any rights granted to you under this Agreement; (v) work around any of the technical limitations of the Payments Services, use any tool to enable features or functionalities that are otherwise disabled in the Payments Services, or decompile, disassemble, or otherwise reverse engineer the Payments Services, except to the extent that such restriction is expressly prohibited by law; (vi) perform or attempt to perform any actions that would interfere with the proper working of the Payments Services, prevent access to or use of the Payments Services by our other users, or impose an unreasonable or disproportionately large load on our infrastructure; or, (vii) otherwise use the Payments Services except as expressly allowed under this section."),a("h4",{key:"0180eb09de0e26db5f2c092d5c233f5619798920"},"Suspicion of Unauthorized or Illegal Use"),a("p",{key:"7de93e253f06369d07ec7e9989e0c9bc874de7e3"},"We reserve the right to not provide the Payments Services in respect of any Transaction you submit that we believe, in our sole discretion, is in violation of this Agreement, any other JustiFi or Processor agreement, or exposes you, JustiFi, the Processor, or any other third party to actual or potential risk or harm, including, but not limited to, fraud and other criminal acts. You are hereby granting us authorization to share information with law enforcement about you, your Transactions, or your JustiFi Account."),a("h4",{key:"fbea4f2a0ce5cdac973c60e70f02ca90a2329f8e"},"Payment Network Rules"),a("p",{key:"97ee114ee06c6138561fd36600a8f07f744f07cf"},"The Payment Networks have established guidelines, bylaws, rules, and regulations in the form of the Payment Network Rules. You are required to comply with all applicable Payment Network Rules. The Payment Network Rules for Visa, MasterCard and American Express are available on the Internet at the following links: Visa, MasterCard and American Express. The Payment Networks may amend the Payment Network Rules at any time and without notice to us or to you. Insofar as the terms of this Agreement and/or the Processor Terms are inconsistent with the Payment Network Rules, the Payment Network Rules shall prevail. We reserve the right to amend this Agreement at any time, with notice to you, as may be necessary to comply with the Payment Network Rules."),a("h4",{key:"455ac1e88c048924b7091a8c144ff191771e39a5"},"Disclosures and Notices"),a("p",{key:"23fa8f4946cae939c60120054c46c44dbfe36a1b"},"You agree that JustiFi can provide disclosures and notices, including tax forms, that we deem appropriate regarding the Payments Services to you by posting such disclosures and notices in your JustiFi Account, emailing them to the email address listed in your JustiFi Account, or mailing them to the address listed in your JustiFi Account. You also agree that electronic disclosures and notices have the same meaning and effect as if we had provided you with a paper copy."),a("br",{key:"7ff2f1ff4eea11781e986de829e51d9f0df31e92"}),a("h3",{key:"8278eee8090843601999921cb85c648197a5bfc8",class:"card-subtitle mb-2 text-muted"},"B. Underwriting & Obtaining a JustiFi Payments Services Account"),a("br",{key:"57515ba3c8ead74ce55a6a79cc2d389afdbf540e"}),a("h4",{key:"9652af3350ef178c2d82211dc564579f42e9c3a4"},"Registration"),a("p",{key:"656ae72ac10ea3f30999030aef5af5c81a2c0e99"},"The Payments Services are only made available to persons in United States that operate a business providing goods and/or services. You may not use the Payments Services for non-commercial, personal, family, or household purposes. To use JustiFi Payments for your business, you are required to register for a JustiFi Payments Account. When you register for a JustiFi Payments Account, we will collect information such as your name, your business or trade name, your address, email, phone number, business identification or registration number, and certain other information that we require including proof of location verification services, a legal opinion and other requirements . We may also collect personal information (including name, birthdate, and government-issued identification number) about your beneficial owners or principals."),a("p",{key:"090f63f724ac3da74a4592870fa3ae4da0fe123d"},'You may register as a corporation or other legal entity.  You must be authorized to act on behalf of such entity, have the authority to bind the entity to this Agreement, and you must agree to this Agreement on behalf of such entity. If you have so agreed, the term "Merchant", “you” or “your” will mean that entity. You understand that by registering for a JustiFi Payments Account, you are also registering for a Processor Account under the Processor Terms and that you are simultaneously providing your information to JustiFi for the purpose of opening a JustiFi Payments Account, and to the Processor for the purpose of establishing your Processor Account.'),a("h4",{key:"0af92792d218686170d2d58695764aae3284d666"},"Company Descriptions and Site URL"),a("p",{key:"648dd5d66198d04e4c1bbe89bd22f4b8215f3499"},'As part of your registration, you must provide the name under which you do business (which may be the business’ legal name or a "doing business name") (e.g. MyStore Online Widgets) and a billing descriptor. These two fields and your site URL may appear in your customers’ credit or debit card statements. To avoid customer confusion and Transaction disputes it is important that you enter a description that clearly identifies your business. You hereby agree to indemnify us from any costs, liabilities, losses, or expenses from disputes due to your failure to do so.'),a("h4",{key:"68f0b9cec8e2a566657b49c780daa2fece3bb1e1"},"Verification and Underwriting"),a("p",{key:"83271065248eddb6182514a1b73a71691937937c"},"To verify your identity, we may require additional information, including your company registration number or business number, your HST, GST, or tax number, and, if applicable, your date of birth. We may also ask for additional information to help verify your identity and assess your business risk, including, but not limited, to a driver’s license or other government issued identification, or business license, for you or for any of the owners or principals of your business. We may ask you for your financial statements. We may request your permission to do a physical inspection at your place of business and to examine books and records that pertain to your compliance with this Agreement. We may ask for your permission to complete a background screen and/or credit check if deemed necessary to provide JustiFi Payment services which is determined by JustiFi.  Your failure to comply with any of these requests may result in suspension or termination of your JustiFi Payments Account and the Processor Account. You authorize us to retrieve additional information about you from third parties and other identification services. We reserve the right to hold funds in your JustiFi Payments Account while awaiting the information requested above. JustiFi may use your information to apply for card merchant acquiring accounts on your behalf with certain Payment Networks (such as American Express)."),a("p",{key:"13bd241489a9a3d4f0ef709cadddf8062a140e3b"},"After we have collected and verified all your information, we will review your account and determine if you are eligible to use the Payments Services. We will notify you once your JustiFi Payments Account has been either approved or deemed ineligible for use of the Payments Services."),a("p",{key:"a8bafbe7ebeb0352dab4feb06611beb0f1dc5cba"},"By accepting the terms of this Agreement, you are providing us with authorization to retrieve information about you by using third parties, including credit bureaus and other information providers. You acknowledge that such information retrieved may include your name, address history, credit history, and other data about you. We may periodically update this information to determine whether you continue to meet the eligibility requirements for a JustiFi Payments Account."),a("p",{key:"5f58a4e58f3da2f85b1c7580bf793d75baac5103"},"You agree that JustiFi is permitted to contact and share information about you and your application (including whether you are approved or declined), your JustiFi Payments Account, and the Processor Account with the Processor and other third parties in order to perform the Payments Services. This includes sharing information: (i) about Transactions for regulatory or compliance purposes; (ii) for use in connection with the management and maintenance of the Payments Services; (iii) to create and update our and their customer records about you, and to assist us and them in better serving you; and, (iv) to conduct our and their risk management process."),a("h4",{key:"8fb5fa48d6943d99d20ebfa1f3acfc84cb48113b"},"Designated Country"),a("p",{key:"20145c00492b5be2b3914e83f0387a44f9eeab2e"},"In registering for a JustiFi Payments Account, you are obliged to identify the location from where you are operating the business that will use the Payments Services in United States. By registering for a JustiFi Payments Account, you are confirming that you are either a legal resident of United States or you are duly established and, if necessary, registered or licensed as a business entity authorized to conduct business in United States. The Payments Services and JustiFi Payments Account may only be used in United States. By accepting this Agreement, you confirm that you will satisfy these requirements."),a("br",{key:"30330ff371a043c1ade1a622ea6d8c217b62cd07"}),a("h3",{key:"17c39ba126a0ebb0688f063e62a054bd7affd0bc",class:"card-subtitle mb-2 text-muted"},"C. Processing Card Transactions, Managing Funds and Receiving Your Funds"),a("br",{key:"ca2518dcf149d9ec13e51333740ec53455f8a0c8"}),a("h4",{key:"576c2c604f2401f47a8b44a7cc64f3953b947b9b"},"JustiFi Payments Fees"),a("p",{key:"0ff6a45e6a1f54ad2849fe886b8482927779d0ad"},"You agree to pay the fees for processing that are set out in the Pricing Proposal."),a("p",{key:"dc1f11703dc9e55711b81b3194f8239851813c6c"},"You are obligated to pay all applicable taxes, fees and other charges imposed by any governmental authority, including, without limitation, any value added tax, goods and services tax, harmonized sales tax and/or provincial or territorial sales tax, on the Payments Services provided under this Agreement. If you are tax-exempt, you will provide us with an appropriate certificate or other evidence of tax exemption that is satisfactory to us."),a("p",{key:"147c55c4d3125890c9cc1d9d4c1ce7d52c3ea672"},"We reserve the right to change the Fees subject to a thirty (30) day notice period."),a("p",{key:"bdb86055a3e77f3c72bc13c084f21451cf705c71"},"In addition to the Fees, you are also responsible for any penalties and fines imposed on you or on us by any bank, money services business, payment network, financial institution, or other financial intermediary resulting from your use of the Payments Services in a manner not permitted by this Agreement or by such financial intermediary’s rules and regulations."),a("h4",{key:"c4575d3f0b104061fa1ee7c2a263ed15a48f7541"},"Security Interest"),a("p",{key:"eebec37c0847f8cdbfe65e53706f1909efc777c9"},"As security for performance of your obligations under this Agreement, you grant us a first priority lien and security interest on all funds processed and deposited into all Payout Accounts (as defined in the Processor Terms), and any other bank accounts associated with your JustiFi Payments Account, and in any funds processed using the Payment Processing services. These security interests and liens will secure payment and performance of all of your obligations under this Agreement and any other agreements now existing or later entered into between us and you, including, without limitation, your obligation to pay any amounts due and owing to us. You will execute, deliver and pay the fees for any documents we request to create, perfect, maintain, and enforce this security interest."),a("h4",{key:"d384e6b8e9538e7ef4a81eb69b2a0f3e12746ca3"},"Our Collection Rights"),a("p",{key:"3ed0168f6638fbec85c0353351b6769be2f26110"},"To the extent permitted by law, we may collect any obligations you owe us under this Agreement by requesting that the Processor deduct the corresponding amounts from the Reserve Account (as that term is defined below) or from funds payable to you arising from the settlement of Transactions. Fees will be assessed at the time a Transaction is processed and will be first deducted from the funds received for such Transaction. If these amounts are not sufficient to meet your obligations to us, we may collect these amounts from the bank account associated with your account.  If these amounts are not sufficient to meet your obligations to us, we may charge the payment method associated with your JustiFi Account for any amounts owed to us. Your failure to fully pay amounts that you owe us on demand will be a breach of this Agreement. You will be liable for our costs associated with collection in addition to the amount owed, including, without limitation, attorneys’ fees and expenses, costs of any arbitration or court proceeding, collection agency fees, and any applicable interest."),a("p",{key:"79a7d8f866bbbafc0c598e4ff4677e376327e2e3"},"Additionally, we may require a personal guarantee from a principal of a business for funds owed under this Agreement. If we require a personal guarantee we will specifically inform you in advance."),a("p",{key:"e8058d4f6d6d21d6f5133d1ca46587455660619d"},"In addition to the amount due, delinquent accounts may be charged with fees that are incidental to the collection of delinquent accounts and chargebacks, including, but not limited to, collection fees and convenience fees and other third-party charges."),a("p",{key:"5872c47a24cd04897ab3ac32d254db67bf474e32"},"You hereby explicitly agree that all communication in relation to delinquent accounts will be made by electronic mail or by phone, as provided to JustiFi by you. Such communication may be made by JustiFi or by anyone on its behalf, including, but not limited to, a third-party collection agent."),a("h4",{key:"ccd487277670da2294e6ffa34d78e170d9e930e2"},"Reserves"),a("p",{key:"a3b767a993ab3f38d50c4a2374ae2c02cef6a446"},'Funds held in reserves are amounts of money set aside to cover chargebacks, refunds, or other payment obligations under this Agreement (the "Reserve Account"). We, in our discretion, will set the terms of your Reserve Account and notify you of such terms, which may require that a certain amount (including the full amount) of the funds received for a Transaction are held for a period of time, or that additional amounts are held in the Reserve Account, including but not limited to Reserve amounts that are required to obtain a JustiFi Payments Account. We, in our discretion, may elect to change the terms of the Reserve Account at any time, for any reason, based on your payment processing history or as requested by our payment processors.'),a("p",{key:"d00bad2988653cd40e194e83b758c94e4b07047b"},"We may require you to fund the Reserve Account by means of: (i) any funds payouts made or due to you for Transactions submitted to the Payments Services; or, (ii) amounts available in your bank account by means of ACH debit to your JustiFi Payments Account; or, (iv) other sources of funds associated with your JustiFi Payments Account; or, (iv) requesting that you provide funds to us for deposit to the Reserve Account."),a("p",{key:"817b765a1475dbcd32a804c7c39021b5a156f914"},"You agree that: (i) you are not entitled to any interest or other compensation associated with the funds held in the Reserve Account; (ii) you have no right to direct that account; (iii) you have no legal interest in those funds or that account; and, (iv) you may not assign any interest in those funds or that account."),a("h4",{key:"375afc708fc407356ca878b94362a43ee3437941"},"Contesting Chargebacks"),a("p",{key:"6523efdf34a8eea2309bd5b6bfe9d73ef43646a4"},"You or JustiFi may elect to contest chargebacks assessed to your account. JustiFi may provide you with assistance, including notifications and software to help contest your chargebacks. We do not assume any liability for our role or assistance in contesting chargebacks."),a("p",{key:"ff3a7076cbbe3e57ec611eefa07991257b3e7801"},"You grant us permission to share records or other information required with the cardholder, the cardholder’s financial institution, and your financial institution to help resolve any chargeback. You acknowledge that your failure to provide us with complete and accurate information in a timely manner may result in an irreversible chargeback being assessed."),a("p",{key:"4fba21dec321ae2ddb5e1654a3d7401f0bdb98c4"},"If the cardholder’s issuing bank or the Payment Network does not resolve a dispute in your favor, we may recover the chargeback amount and any associated fees from you as described in this Agreement."),a("p",{key:"ec4e281ed78b47272e79c00de2864bbef16e0a42"},"We reserve the right, upon notice to you, to charge a fee for mediating or investigating chargeback disputes."),a("br",{key:"4d73e8e283f69e287e266fced5c101a4163bcba5"}),a("h3",{key:"c2c84975bed5a1fc4e5c02b416715f900ad66b54",class:"card-subtitle mb-2 text-muted"},"D. Termination and Other Legal Terms"),a("br",{key:"280e496f302ac0e01f9a5ef77cc8caf25a10b068"}),a("h4",{key:"014475d64066583f7d13868d811e38a3932a395a"},"Term"),a("p",{key:"da151716b3426e8e91269175dfc7fb13f5d31634"},"The Agreement is effective upon the date you agree to it (by electronically indicating acceptance of the Partnership Proposal) and continues  so long as you use the Payments Services or until terminated by you or by JustiFi."),a("h4",{key:"3fe7e6c5c189f639a11376d7324941537d25527c"},"Termination"),a("p",{key:"b724b17bed4d8f8ccd1b8417313f48099be9be90"},"We may terminate this Agreement and close your JustiFi Payments Account at any time, for any reason, upon notice to you. We may suspend your JustiFi Payments Account and your access to the Payments Services and any rights in respect of your JustiFi Payments Account, or terminate this Agreement, at any time, for any reason, including if: (i) we determine that you may be ineligible for the Payments Services because of the risk associated with your JustiFi Payments Account, including, without limitation, significant credit or fraud risk, or for any other reason; (ii) you do not comply with any of the provisions of this Agreement or the Processor Terms; or, (iii) upon request of the Payment Network, the Processor, or a Card issuer. Termination of the Processor Terms may, at the discretion of JustiFi, result in a termination of this Agreement. Termination of this Agreement shall entitle JustiFi to cause the Processor to terminate the Processor Terms."),a("h4",{key:"bb0fb88210fe45bccfdba76b5810c44e9f72d28b"},"Effects of Termination"),a("p",{key:"0dd5728514d8e53f85c8447fc96ef43e23bf8619"},"Upon termination and closing of your JustiFi Payments Account, we will immediately discontinue your access to the Payments Services. You agree to complete all pending Transactions, immediately remove all logos for Cards, and stop accepting new Transactions through the Payments Services. You will not be refunded the remainder of any Fees that you have paid for the Payments Services if your access to or use of the Payments Services is terminated or suspended. Any funds in the Financial Services Provider’s custody will be paid out to you subject to the terms of your Payout Schedule (as defined in the Processor Terms)."),a("p",{key:"9cb1ff8c6e2ba78c2cd7daabaf840bf7b3d1d146"},"Termination does not relieve you of your obligations as defined in this Agreement, and the Processor may elect to continue to hold any funds deemed necessary, pending resolution of any other terms or obligations defined in this Agreement, including, but not limited to, chargebacks, fees, refunds, or other investigations or proceedings."),a("p",{key:"d97186e47d8a4983c33e500286920d6002f8b938"},"Termination of this Agreement will not necessarily terminate your JustiFi Platform Terms, unless JustiFi determines otherwise."),a("h4",{key:"da65940fb0bfa06f4d45303e2ab6a5d1ce2aa42d"},"Your Liability and Indemnification Concerning Liabilities"),a("p",{key:"eb3600e30bb29b93d438229b4e4707168b2479d0"},"Nothing in this Agreement shall serve to diminish your liability under the Processor Terms or JustiFi Platform Terms. You are obliged to fulfill your obligations under this Agreement and those under the Processor Terms and JustiFi Platform Terms."),a("p",{key:"9a1eb146f382ae8e32eda7f0d7fd78abb8e9b5d5"},"JustiFi has agreed to indemnify and hold the Processor harmless for some, and, in some cases, all of your liabilities occurring under the Processor Terms, including, but not limited to, disputes (including, but not limited to, chargebacks), refunds, reversals, returns and fines (as such terms are defined in the Processor Terms). Insofar as JustiFi becomes liable to the Processor or any other third party for any penalties, fines, fees, or other liabilities under or in respect of the Processor Terms, the Payments Services, the Payment Processing services, or the Payment Network Rules, you agree to indemnify and hold JustiFi harmless from and against any and all such liabilities."),a("p",{key:"e89c4ccc9d46928358d9ab096bdb9f2f66466294"},"Additionally, we may require a personal guarantee from a principal of a business for funds owed under this Agreement."),a("p",{key:"ba21a562b7b419253f46b6dc17cd9263ab1671cf"},"You agree to indemnify and defend JustiFi against any claim, suit, demand, loss, liability, damage, action, or proceeding (each, a “Claim”) brought by a third party and you agree to fully reimburse JustiFi for any Claims that result from: (i) your breach of any provision of this Agreement; (ii) any fees, fines, penalties, disputes, reversals, returns, chargebacks (as such terms are defined in the Processor Terms), or any other liability we incur that results from your use of the Payments Services; (iii) negligent or willful misconduct of your owners, employees, contractors, or agents; (iv) contractual or other relationships between you and your customers; or, (v) third-party indemnity obligations we incur as a direct or indirect result of your acts or omissions, including, but not limited to, indemnification of the Processor or any Payment Network."),a("p",{key:"8d745ec957c360b37213df48912fd52526ad3250"},"We will have the final decision-making authority with respect to Claims, including, without limitation, claims for refunds for purchased items that are filed with us by you or your customers. You will be required to reimburse us for your liability.  You will not receive a refund of any Fees paid to us."),a("p",{key:"1c2434fc14f3a7d4ca3b3be1b9d1202984a82d89"},"If you are liable for any amounts owed to us, we may immediately remove such amounts from your Reserve Account and deduct the amounts owed to us from such Reserve Account funds. If you do not have sufficient funds in the Reserve Account to cover your liability, you will be required to immediately add additional funds to your Reserve Account to cover funds owed to us. If you do not do so, we may engage in collections efforts to recover such amounts from you at your cost and expense."),a("h4",{key:"2d087ca5e376022c6a79bda19519b5c6837afe2e"},"Your Representations, Warranties and Covenants"),a("p",{key:"c64550e47d37fd0cccb98569b8095c8b7843824e"},"You represent and warrant to us that: (i) you are at least eighteen (18) years of age, are authorized to act on behalf of the company, and have the authority to bind the company to this Agreement; (ii) you are eligible to register and use the Payments Services and have the right, power, and ability to enter into and perform under this Agreement; (iii) the name identified by you when you registered is your business name under which you sell goods and services and the information that you have provided to us is accurate and complete; (iv) you are not a member of an organized crime group, a party who has been a member of an organized crime group in the past five years, a quasi-member of an organized crime group, a corporate racketeer, or other similar party, nor are any of your officers or employees a member of the foregoing; and, (v) you will not carry out, nor use a third party to carry out, any of the following unlawful acts: (a) the act of making violent demands; (b) the act of making unreasonable demands exceeding legal responsibilities; (c) the act of using threatening behavior or violence in relation to a transaction; (d) the act of spreading rumors, using fraudulent means, or using force to harm the other party’s reputation or obstruct the party’s business; (e) the act of selling products for the purpose of money laundering; (f) the act of using a Card held by you for a sale without reasonable grounds or another act similar to those set forth in (a) through (f)."),a("p",{key:"d52feeee2f6ddfaea159b7f6aa74857a5d6dc1bf"},"You hereby covenant to us that: (i) any Transactions submitted by you will represent a bona fide sale by you; (ii) any Transaction submitted by you will accurately describe the goods and/or services sold and delivered to a customer; (iii) you will fulfill all of your obligations to each customer for which you submit a Transaction and will resolve any disputes or complaints directly with your customers; (iv) you and all Transactions initiated by you will comply with all applicable laws, rules, and regulations applicable to your business, including, but not limited to, any applicable tax laws and regulations; (v) except in the ordinary course of business, no Transaction submitted by you through the Payments Services will represent a sale to any principal, partner, proprietor, or owner of your entity; (vi) you will not use the Payments Services, directly or indirectly, for any fraudulent undertaking or in any manner so as to interfere with the use of the Payments Services; and, (vii) any information you provide to us will be accurate and complete."),a("p",{key:"7004225ba031c038cc9751f05edef0bddd90210d"},'NO WARRANTIES THE PAYMENTS SERVICES AND ALL ACCOMPANYING DOCUMENTATION ARE PROVIDED ON AN “AS IS" AND “AS AVAILABLE" BASIS, WITHOUT ANY WARRANTIES, EITHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. USE OF THE PAYMENTS SERVICES IS AT YOUR OWN RISK.'),a("p",{key:"7da0ba18d1cc37fcba3414fa02b1ce2f148c5de7"},'NO ADVICE OR INFORMATION, WHETHER ORAL OR WRITTEN, OBTAINED BY YOU FROM OR THROUGH THE PAYMENTS SERVICES OR FROM: (I) JustiFi; (II) THE PROCESSOR, SUPPLIERS OR LICENSORS OF JustiFi OR THE PROCESSOR; OR, (III) ANY OF THE RESPECTIVE AFFILIATES, AGENTS, DIRECTORS, AND EMPLOYEES OF ANY OF THE ENTITIES LISTED IN (I) OR (II) ABOVE (COLLECTIVELY, THE “DISCLAIMING ENTITIES" AND INDIVIDUALLY, A “DISCLAIMING ENTITY”), WILL CREATE ANY WARRANTY. YOU SPECIFICALLY ACKNOWLEDGE THAT WE DO NOT HAVE ANY CONTROL OVER THE PRODUCTS OR SERVICES THAT ARE PAID FOR WITH THE PAYMENTS SERVICES, AND WE CANNOT ENSURE THAT YOUR CUSTOMERS WILL COMPLETE A TRANSACTION OR ARE AUTHORIZED TO DO SO.'),a("p",{key:"bb7d53856e6b021a3bd8ed47ba90456eeac54b48"},"WITHOUT LIMITING THE FOREGOING, THE DISCLAIMING ENTITIES DO NOT WARRANT THAT: (I) THE INFORMATION THEY PROVIDE OR THAT IS PROVIDED THROUGH THE PAYMENTS SERVICES IS ACCURATE, RELIABLE OR CORRECT; (II) THE PAYMENTS SERVICES WILL MEET YOUR REQUIREMENTS; (III) THE PAYMENTS SERVICES WILL BE AVAILABLE AT ANY PARTICULAR TIME OR LOCATION; (IV) THE PAYMENTS SERVICES WILL FUNCTION IN AN UNINTERRUPTED MANNER OR BE SECURE; (V) ANY DEFECTS OR ERRORS WILL BE CORRECTED; OR, (VI) THE PAYMENTS SERVICES ARE FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS."),a("p",{key:"97f082160415156d6cda2cb08caed5c845e3ec16"},"ANY SUBJECT MATTER DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE PAYMENTS SERVICES IS DOWNLOADED AT YOUR OWN RISK AND YOU WILL BE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR PROPERTY OR LOSS OF DATA THAT RESULTS FROM SUCH DOWNLOAD. THE DISCLAIMING ENTITIES MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT HOW LONG WILL BE NEEDED TO COMPLETE THE PROCESSING OF A TRANSACTION."),a("p",{key:"9bb6749a43d81f8302d180f81bed32deb7390edf"},"THE DISCLAIMING ENTITIES DO NOT WARRANT, ENDORSE, GUARANTEE, OR ASSUME RESPONSIBILITY FOR ANY PRODUCT OR SERVICE ADVERTISED OR OFFERED BY A THIRD PARTY THROUGH THE PAYMENTS SERVICES, OR ANY HYPERLINKED WEBSITE OR SERVICE, OR FEATURED IN ANY BANNER OR OTHER ADVERTISING, AND NEITHER JustiFi,  THE PROCESSOR, NOR THE FINANCIAL SERVICES PROVIDER WILL BE A PARTY TO, OR IN ANY WAY MONITOR ANY TRANSACTION BETWEEN YOU AND THIRD-PARTY PROVIDERS OF PRODUCTS OR SERVICES."),a("h4",{key:"cac1973b34745d95eb866cff4c895ce716d7ca5a"},"Limitation of Liability and Damages"),a("p",{key:"4fe00d9dd72b329a1ab924846648b102c57b5169"},"IN NO EVENT SHALL A DISCLAIMING ENTITY BE LIABLE FOR ANY LOST PROFITS, LOSS OF DATA, OR ANY INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES ARISING OUT OF, IN CONNECTION WITH, OR RELATING TO THIS AGREEMENT OR THE PAYMENTS SERVICES, INCLUDING, WITHOUT LIMITATION, THE USE OF, INABILITY TO USE, OR UNAVAILABILITY OF THE PAYMENTS SERVICES. UNDER NO CIRCUMSTANCES WILL ANY OF THE DISCLAIMING ENTITIES BE RESPONSIBLE FOR ANY DAMAGE, LOSS OR INJURY RESULTING FROM HACKING, TAMPERING OR OTHER UNAUTHORIZED ACCESS OR USE OF THE PAYMENTS SERVICES OR YOUR JustiFi PAYMENTS ACCOUNT, OR THE INFORMATION CONTAINED THEREIN."),a("p",{key:"0b187fb8810d0c989785ee63f7c476dce51a784d"},"THE DISCLAIMING ENTITIES ASSUME NO LIABILITY OR RESPONSIBILITY FOR AåNY: (I) PERSONAL INJURY OR PROPERTY DAMAGE OF ANY NATURE WHATSOEVER, RESULTING FROM YOUR ACCESS TO OR USE OF THE PAYMENTS SERVICES; (II) ANY UNAUTHORIZED ACCESS TO OR USE OF SERVERS USED IN CONNECTION WITH THE PAYMENTS SERVICES AND/OR ANY AND ALL PERSONAL INFORMATION STORED THEREIN; (III) ANY INTERRUPTION OR CESSATION OF TRANSMISSION TO OR FROM THE PAYMENTS SERVICES; (IV) ANY SOFTWARE BUGS, VIRUSES, TROJAN HORSES, OR OTHER HARMFUL CODE THAT MAY BE TRANSMITTED TO OR THROUGH THE PAYMENTS SERVICES; (V) ANY ERRORS, INACCURACIES OR OMISSIONS IN ANY CONTENT OR INFORMATION, FOR ANY LOSS OR DAMAGE INCURRED AS A RESULT OF THE USE OF ANY CONTENT OR INFORMATION, IN EACH CASE POSTED, EMAILED, STORED, TRANSMITTED, OR OTHERWISE MADE AVAILABLE THROUGH THE PAYMENTS SERVICES; AND/OR (VI) USER CONTENT OR THE DEFAMATORY, OFFENSIVE, OR ILLEGAL CONDUCT OF ANY THIRD PARTY."),a("p",{key:"7672fe80cc9a17e43a70b19e3346f7e135361621"},"WITHOUT LIMITING THE FOREGOING PROVISIONS OF THIS SECTION D8, THE DISCLAIMING ENTITIES’ CUMULATIVE LIABILITY TO YOU SHALL BE LIMITED TO DIRECT DAMAGES, AND IN ALL EVENTS SHALL NOT EXCEED IN THE AGGREGATE THE AMOUNT OF FEES PAID BY YOU TO JustiFi DURING THE THREE (3) MONTH PERIOD IMMEDIATELY PRECEDING THE EVENT GIVING RISE TO THE CLAIM FOR LIABILITY."),a("p",{key:"4c7e85f62d60f0ae44cc717f9c502386191edb50"},"THIS LIMITATION OF LIABILITY SECTION APPLIES REGARDLESS OF THE LEGAL THEORY ON WHICH THE CLAIM IS BASED, INCLUDING, WITHOUT LIMITATION, CONTRACT, TORT (INCLUDING NEGLIGENCE), STRICT LIABILITY, OR ANY OTHER BASIS. THE LIMITATIONS APPLY EVEN IF JustiFi OR THE PROCESSOR HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."),a("p",{key:"82bba1b7570a4c2023c3f83e32e79049655ee755"},"THE PROVISIONS OF THIS SECTION D8 SHALL APPLY TO THE FULLEST EXTENT PERMITTED BY LAW IN THE APPLICABLE JURISDICTION."),a("p",{key:"6b80e3b15eef39184bc9174f9d7e1f374c56cfc5"},"The Payments Services are controlled and operated from facilities in the United States. We make no representations that the Payments Services are appropriate or available for use in other locations. Those who access or use the Payments Services from other jurisdictions do so at their own volition and are entirely responsible for compliance with all applicable United States, Canada, foreign and local laws and regulations, including, but not limited to, export and import regulations. You may not use the Payments Services if you are a resident of a sanctioned country embargoed by the United States, Canada, or the European Union, or are a foreign person or entity blocked or denied by the governments of the United States, Canada or the European Union."),a("h4",{key:"eebe472059d3f4de2034687a0f1049da1ddc871f"},"Right to Amend"),a("p",{key:"b7afd9286b25f0e5a37ecd85876ab7f9be948489"},"We have the right to change or add to the terms of this Agreement at any time, and to change, delete, discontinue, or impose conditions on any feature or aspect of the Payments Services or software with notice that we in our sole discretion deem to be reasonable in the circumstances. Any use of the Payments Services after our publication of any such changes shall constitute your acceptance of this Agreement as modified."),a("h4",{key:"b043dc3af3969bd6214b3c50d8fa263cc09b3792"},"Assignment"),a("p",{key:"dd02e7819a52528de96e27a4066f373c64169d57"},"This Agreement, and any rights and licenses granted hereunder, may not be transferred or assigned by you without our prior written consent, but may be assigned by us without consent or other restriction."),a("h4",{key:"7f3d6eacbe92cd6b3e08a185a2d1bce47c55d1c1"},"Change of Business"),a("p",{key:"3aecd74421ad0945f119c87ba15cc85ac2a39c0e"},"You agree to give us at least ninety (90) days prior notification of your intent to change your current product or services types, your business or trade name, or the manner in which you accept payment. You agree to provide us with prompt notification within one (1) day if you are the subject of any voluntary or involuntary bankruptcy or insolvency application, petition or proceeding, receivership, bankruptcy, or similar action or proceeding initiated by or against you or any of your principals (any of the foregoing, a “Bankruptcy Proceeding”). You also agree to promptly notify us within one (1) days of any adverse change in your financial condition, any planned or anticipated liquidation or substantial change in the basic nature of your business, any transfer or sale of twenty-five percent (25%) or more of your total assets, or any change in the control or ownership of your or your parent entity. You will also notify us within one (1) day of any judgment, writ, warrant of attachment or execution, or levy against twenty-five percent (25%) or more of your total assets."),a("p",{key:"30c2920a296698a912c0800f8dad059b2933625f"},"You will include us on the list and matrix of creditors as filed with any bankruptcy, commercial or civil court in connection with any Bankruptcy Proceeding, whether or not a claim may exist at the time of filing. Failure to do so will be cause for immediate termination of this Agreement and shall allow the pursuit of any other action available to us under the applicable Payment Network Rules or law."),a("h4",{key:"b97cd3a89b585b9c32a3e9f9e05702dc13ae7fc7"},"Parties"),a("p",{key:"2856b05f02ef2fef0bfd55c6a887d767bf7bd686"},"This Agreement binds you and your respective heirs, representatives, and permitted and approved successors (including those by merger and acquisition), or any permitted assigns."),a("h4",{key:"366a9833615ed36b0a0c26ee3fb7224a15dbf90d"},"Third-Party Services and Links to Other Web Sites"),a("p",{key:"b11ed833debdfb2b4a40c99e5b908ef8f8f33f2d"},"You may be offered services, products, and promotions provided by third parties and not by us. If you decide to use these third-party services, you will be responsible for reviewing and understanding the terms and conditions associated with these services. You agree that we are not responsible for the performance of these services.  The inclusion of any website link does imply an approval, endorsement, or recommendation by us. You agree that your access to any such website is at your own risk, and that the site is not governed by the terms and conditions contained in this Agreement. We expressly disclaim any liability for these websites. Please remember that when you use a link to go from our website to another website, our Privacy Policy is no longer in effect. Your browsing and interaction on any other website, including those that have a link on our website, is subject to that website’s own rules and policies."),a("h4",{key:"ba7c83f56ad6eaa393599736977d8122ca202141"},"Force Majeure"),a("p",{key:"757b5dfbd9eb390618f6a7a54f78467ef7e70927"},"No party will be liable for delays in processing or other non-performance caused by such events as fires, telecommunications failures, utility failures, power failures, equipment failures, labor strife, riots, war, terrorist attack, non-performance of our vendors or suppliers, acts of God, or other causes over which the respective party has no reasonable control, except that nothing in this section will affect or excuse your liabilities and obligations including, without limitation, for reversals, chargebacks, claims, fines, fees, refunds or unfulfilled products and services."),a("h4",{key:"017940180131f5d3624f09997546c80a3aa8ab81"},"Entire Agreement and Remedies"),a("p",{key:"10d4e587d0bbcda07414b4810ec47c53ba605341"},"These terms and conditions, and all policies and procedures that are incorporated herein by reference, constitute the entire agreement between you and JustiFi with respect to the provision of the Payments Services. Except as otherwise set out herein, in the event of a conflict between this Agreement and any other JustiFi or Processor agreement or policy, this Agreement shall prevail on the subject matter of this Agreement. Except as expressly provided in this Agreement, these terms describe the entire liability of JustiFi and our vendors and suppliers and sets forth your exclusive remedies with respect to the Payments Services and your access and use of the Payments Services. If any provision of this Agreement (or portion thereof) is held to be invalid or unenforceable under applicable law, then it shall be changed and interpreted to accomplish the objectives of such provision to the greatest extent possible under applicable law, and the remaining provisions will continue in full force and effect."),a("p",{key:"654326f35b56ec6a1c1a1d2e41b9256ae35c21a0"},"This Agreement has been reviewed by you with the benefit of independent legal counsel to the extent you consider necessary, and any rule of construction to the effect that ambiguities are to be resolved against the drafting party shall not apply to the construction or interpretation of this Agreement. The rights conferred upon us in this Agreement are not intended to be exclusive of each other or of any other rights and remedies we may have at law or in equity. Rather, each and every right we may have under this Agreement, at law or in equity, is cumulative and concurrent, and in addition to every other right."),a("p",{key:"687a8331ca1ae90d0fd1f8c7801ef84ac6ac6b2a"},"This Agreement may be available in languages other than English. To the extent of any inconsistencies or conflicts between this English Agreement and the Agreements available in another language, the most current English version of the Agreement will prevail."))))}};U.style=".terms-container {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 50vh;\n width: 100%;\n}\n\n.terms-conditions-card {\n height: 100%;\n overflow: hidden;\n\n .terms-card-body {\n height: 100%;\n overflow-y: scroll;\n }\n}";const M=class{constructor(a){e(this,a),this.submitted=t(this,"submitted",7),this.stepCompleted=t(this,"form-step-completed",7),this.formLoading=t(this,"formLoading",7),this.errorEvent=t(this,"error-event",7),this.getData=()=>{this.formLoading.emit(!0),this.getBusiness({onSuccess:e=>{this.legal_address=new l(e.data.legal_address||{}),this.formController.setInitialValues(Object.assign({},this.legal_address))},onError:({error:e,code:t,severity:a})=>{this.errorEvent.emit({message:e,errorCode:t,severity:a})},final:()=>this.formLoading.emit(!1)})},this.sendData=e=>{let t;this.formLoading.emit(!0),this.patchBusiness({payload:this.patchPayload,onSuccess:a=>{t=a,e()},onError:({error:e,code:a,severity:i})=>{t=e,this.errorEvent.emit({message:e,errorCode:a,severity:i})},final:()=>{this.submitted.emit({data:{submittedData:t}}),this.stepCompleted.emit({data:t,formStep:u.legalAddress}),this.formLoading.emit(!1)}})},this.inputHandler=(e,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[e]:t}))},this.formController=void 0,this.errors={},this.legal_address={},this.getBusiness=void 0,this.patchBusiness=void 0,this.allowOptionalFields=void 0}async validateAndSubmit({onSuccess:e}){this.formController.validateAndSubmit((()=>this.sendData(e)))}get patchPayload(){return{legal_address:new l(this.formController.values.getValue()).payload}}componentWillLoad(){this.getBusiness&&this.getData(),this.formController=new r(k(this.allowOptionalFields))}componentDidLoad(){this.formController.errors.subscribe((e=>{this.errors=Object.assign({},e)}))}render(){var e,t,i,o,s,r;const n=this.formController.getInitialValues();return a("form",{key:"cc749f565087adf5a0806a179ebc4682783763bd"},a("fieldset",{key:"98fecaf00779da20c4f023dd4081be6f616e59ae"},a("div",{key:"854d921b4b140738cb2cf2f48b51a207eb58c329",class:"d-flex align-items-center gap-2"},a("legend",{key:"ae741c143648c14145eac2066fa40799726682e5",class:"mb-0"},"Legal Address of your Business"),a("form-control-tooltip",{key:"d30c4a70183f7afc9a809d399b775c5610ef952c",helpText:"No PO Boxes."})),a("hr",{key:"78f7c51df66d265ff1a9f62b38aedfba014ed7cb",class:"mt-2"}),a("div",{key:"b32031b925e908dc4a9459f0e082312f72fc64f9",class:"row gy-3"},a("div",{key:"1564426893f46dc7ace7192ce264a10d879bc5c2",class:"col-12"},a("form-control-text",{key:"9c70add04a610ce6280f7047ad56d260bb0adcf1",name:"line1",label:"Legal Address",inputHandler:this.inputHandler,defaultValue:null==n?void 0:n.line1,errorText:null===(e=this.errors)||void 0===e?void 0:e.line1})),a("div",{key:"bba886684830ab3dd7f3470e13bcf8ce970f357f",class:"col-12"},a("form-control-text",{key:"43c507918eb72b586c43b4839c40499196c41625",name:"line2",label:"Address Line 2 (optional)",inputHandler:this.inputHandler,defaultValue:null==n?void 0:n.line2,errorText:null===(t=this.errors)||void 0===t?void 0:t.line2})),a("div",{key:"e9ff6df356c8c4f1ddef5318936d39c4b92a58e9",class:"col-12"},a("form-control-text",{key:"ff17e63977ba52fea319f1dfb2936b0836fa1f5f",name:"city",label:"City",inputHandler:this.inputHandler,defaultValue:null==n?void 0:n.city,errorText:null===(i=this.errors)||void 0===i?void 0:i.city})),a("div",{key:"d0da7fbd59236105cb1f7725eb4fddc0fe0e028b",class:"col-12"},a("form-control-select",{key:"666abe057f3a06705b42e8bfb3aae4e15b50f8dc",name:"state",label:"State",options:N,inputHandler:this.inputHandler,defaultValue:null==n?void 0:n.state,errorText:null===(o=this.errors)||void 0===o?void 0:o.state})),a("div",{key:"c9c2ea66adc0e15f07a9070ca46f685042b41042",class:"col-12"},a("form-control-text",{key:"614c03164e755b945610b91f8ec7757980956261",name:"postal_code",label:"Postal Code",inputHandler:this.inputHandler,defaultValue:null==n?void 0:n.postal_code,errorText:null===(s=this.errors)||void 0===s?void 0:s.postal_code,maxLength:5,keyDownHandler:T})),a("div",{key:"cfab73c10bf56bf001a246f0ad8c56fd8c36fbeb",class:"col-12"},a("form-control-select",{key:"d42b86c2d2de13504f2934fa63a3e83f998134ac",name:"country",label:"Country",options:[{label:"United States",value:"USA"}],inputHandler:this.inputHandler,defaultValue:null==n?void 0:n.country,errorText:null===(r=this.errors)||void 0===r?void 0:r.country,disabled:!0})))))}};export{P as form_control_checkbox,C as justifi_additional_questions_form_step_core,F as justifi_business_core_info_form_step_core,Y as justifi_business_document_upload_input_group,D as justifi_business_documents_on_file,x as justifi_business_owners_form_step_core,H as justifi_business_representative_form_step_core,U as justifi_business_terms_conditions_text,M as justifi_legal_address_form_step_core}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i}from"./p-fad19d75.js";import{S as e}from"./p-74da98da.js";import{D as r}from"./p-d516e700.js";const d=class{constructor(i){t(this,i),this.submitted=s(this,"submitted",7),this.showCounterDispute=!1}counterDisputeHandler(t){t.detail.name===r.counterDispute&&(this.showCounterDispute=!0),t.detail.name===r.cancelDispute&&(this.showCounterDispute=!1)}render(){return i(e,{key:"9bd815e88277ff5d96239bb6d005e1469f2762d2"},i(this.showCounterDispute?"justifi-counter-dispute":"justifi-dispute-notification",null))}};export{d as justifi_dispute_management_core}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,H as s,g as a}from"./p-fad19d75.js";const o=class{constructor(e){t(this,e),this.formControlInput=i(this,"formControlInput",7),this.formControlBlur=i(this,"formControlBlur",7),this.handleFormControlInput=t=>{const i=t.target,e=i.getAttribute("name");this.inputHandler(e,i.value),this.formControlInput.emit({name:e,value:i.value})},this.updateInput=t=>{const i=this.el.querySelector("input");i&&(i.value=t||"")},this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.maxLength=void 0,this.inputHandler=void 0,this.keyDownHandler=void 0,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}render(){return e(s,{key:"df50b59fa604d9411c904096342910fa7bda38c5",exportparts:"label,input,input-invalid"},e("div",{key:"586ec64cf4e9fa5c557745225a24b500ccbe2479",class:"form-group d-flex flex-column"},e("label",{key:"eb2134c04fb7ed8e23606eaef6257767451fc4f1",part:"label",class:"form-label",htmlFor:this.name},this.label),e("textarea",{key:"786ba64947c1ecfc70bbca823490a227c9fcd544",id:this.name,name:this.name,onBlur:this.formControlBlur.emit,onInput:this.handleFormControlInput,onKeyDown:this.keyDownHandler,onPaste:this.keyDownHandler,maxLength:this.maxLength,part:`input ${this.errorText?"input-invalid ":""}${this.disabled?" input-disabled":""}`,class:this.errorText?"form-control is-invalid":"form-control",disabled:this.disabled}),e("form-control-help-text",{key:"a3d0c605439eb3f6dab7c61dc49c14dad0207623",helpText:this.helpText,name:this.name}),e("form-control-error-text",{key:"0f0abe694c8b7a66378b447728a466407b51b082",errorText:this.errorText,name:this.name})))}get el(){return a(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{o as form_control_textarea}
@@ -1 +0,0 @@
1
- import{h as n}from"./p-fad19d75.js";const t=(t,r)=>{const o={primary:["button","button-primary"],secondary:["button","button-secondary"]};return n("button",Object.assign({class:{primary:"btn btn-primary",secondary:"btn btn-secondary"}[t.variant],onClick:t.clickHandler,part:(()=>{const n=o[t.variant];return t.isLoading&&n.push("button-loading"),n.join(" ")})()},t),t.isLoading?n("div",{class:"spinner-border spinner-border-sm",role:"status",part:"button-spinner"},n("span",{class:"visually-hidden"},"Loading...")):r)};export{t as B}
@@ -1 +0,0 @@
1
- var n,r,e,a,o,t;!function(n){n.coreInfo="coreInfo",n.legalAddress="legalAddress",n.additionalQuestions="additionalQuestions",n.representative="representative",n.owners="owners",n.bankAccount="bankAccount",n.documentUpload="documentUpload",n.termsAndConditions="termsAndConditions"}(n||(n={})),function(n){n.businessInfo="business_info",n.legalAddress="legal_address",n.additionalQuestions="additional_questions",n.representative="representative",n.owners="owners",n.bankAccount="bank_account",n.documentUpload="document_upload",n.termsAndConditions="terms_and_conditions"}(r||(r={})),function(n){n.fetchData="Error retrieving business data",n.patchData="Error updating business data"}(e||(e={})),function(n){n.nextStep="nextStep",n.previousStep="previousStep",n.submit="submit",n.removeOwner="removeOwner",n.addOwner="addOwner",n.addOwnerForm="addOwnerForm",n.updateOwner="updateOwner"}(a||(a={})),function(n){n.fetchData="Error retrieving owner data",n.patchData="Error updating owner data",n.postData="Error adding owner data"}(o||(o={})),function(n){n.fetchData="Error retrieving document data",n.sendData="Error uploading document data"}(t||(t={}));export{e as B,a,n as b,r as c}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as s,g as a}from"./p-fad19d75.js";const o=class{constructor(i){t(this,i),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.handleFormControlInput=t=>{const e=t.target,i=e.getAttribute("name");this.inputHandler(i,e.value),this.formControlInput.emit({name:i,value:e.value})},this.updateInput=t=>{const e=this.el.querySelector("input");e&&(e.value=t||"")},this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultValue=void 0,this.inputHandler=void 0,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultValue)}render(){return i(s,{key:"3b2f42c3cd26fb238f2b728522608c9d37d087a9",exportparts:"label,input,input-invalid"},i("div",{key:"01a3382ef37353f3cad6d6ffb66ce2ff5f13b8de",class:"form-group d-flex flex-column"},i("label",{key:"981f1089d6ec68cda5c91ced9025b5ff021aad50",part:"label",class:"form-label",htmlFor:this.name},this.label),i("input",{key:"e1e2630c0d5921eb2c09f66495f534ac39f64f09",id:this.name,name:this.name,onBlur:this.formControlBlur.emit,onInput:this.handleFormControlInput,part:`input ${this.errorText&&"input-invalid"}`,class:this.errorText?"form-control is-invalid":"form-control",type:"number",disabled:this.disabled}),i("form-control-help-text",{key:"8e2b99df6f3a2d5c3bca0903d0f74ff404a73cf8",helpText:this.helpText,name:this.name}),i("form-control-error-text",{key:"03f12d2baa3aac08f460332a4867ab7ef8e82143",errorText:this.errorText,name:this.name})))}get el(){return a(this)}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{o as form_control_number}
@@ -1 +0,0 @@
1
- import{h as t}from"./p-fad19d75.js";const a=()=>t("main",{part:"detail-loading-state",class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},t("div",{part:"detail-loading-spinner",class:"spinner-border spinner-border-sm",role:"status"},t("span",{class:"visually-hidden"},"Loading..."))),e=a=>t("main",{part:"detail-empty-state",class:"p-4 d-flex justify-content-center text-center",style:{fontSize:"1.2rem"}},t("div",null,a)),l=a=>[t("h5",{part:"detail-section-title",class:"mt-4"},a.sectionTitle),t("hr",null)],s=({title:a,value:e})=>a&&e?t("div",{class:"d-table-row gap-2"},t("span",{part:"detail-section-item-title",class:"fw-bold d-table-cell px-2"},a),t("span",{part:"detail-section-item-data",class:"flex-1 d-table-cell px-2 text-wrap",innerHTML:e})):null,i=({title:a,value:e,classes:l})=>t("div",{part:"detail-head-info-item",class:`d-flex flex-column ${l}`},t("span",{part:"detail-head-info-item-title",class:"fw-bold border-1 border-bottom ps-2 pe-2"},a),t("span",{part:"detail-head-info-item-data",class:"pt-2 ps-2 pe-2"},e)),d=({title:a,slot:e,badge:l},s)=>t("div",{slot:e,part:"detail-head",class:"p-2"},t("div",{class:"d-flex flex-row align-items-center gap-2 mb-2"},t("h1",{class:"m-0",part:"detail-title"},a),l),t("div",{part:"detail-head-info",class:"d-flex flex-row align-items-top"},s)),n=({metadata:a})=>a&&Object.keys(a).length?t("div",{class:"mt-4"},t("pre",{part:"detail-metadata",class:"p-2","aria-label":"metadata content"},t("code",null,JSON.stringify(a,null,2)))):null;export{n as C,l as D,e as E,a as L,d as a,i as b,s as c}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as s}from"./p-fad19d75.js";import{C as r,a as e}from"./p-14c91ffd.js";import{J as o}from"./p-8037704c.js";import{c as a}from"./p-57125bd1.js";import{c as n}from"./p-5a62fca2.js";import{A as c}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-d1f75fa6.js";import{T as h}from"./p-3db8b3c7.js";import{g as p,a as d}from"./p-8115b2f4.js";import{m,S as l}from"./p-bc8205ec.js";import{S as u}from"./p-74da98da.js";import{t as f}from"./p-6cc30da2.js";import{d as j}from"./p-0d6ddff2.js";import"./p-25d2ed4c.js";class v{async fetchTerminals(t,i,s,r){r||(r=n.proxyApiOrigin);const e={Account:t};return c({authToken:i,apiOrigin:r}).get("terminals",s,null,e)}async fetchTerminal(t,i,s){s||(s=n.proxyApiOrigin);const r=`terminals/${t}`;return c({authToken:i,apiOrigin:s}).get(r)}}const b=class{constructor(s){t(this,s),this.errorEvent=i(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.getTerminals=void 0,this.getSubAccounts=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin=n.proxyApiOrigin,this.columns=j}componentWillLoad(){a(),this.analytics=new o(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializeGetTerminals(),this.initializeGetSubAccounts()}initializeGetTerminals(){this.accountId&&this.authToken?this.getTerminals=(({id:t,authToken:i,service:s,apiOrigin:e})=>async({params:o,onSuccess:a,onError:n})=>{var c,m;try{const l=await s.fetchTerminals(t,i,o,e);if(l.error)return n({error:p(l.error),code:d(null===(m=l.error)||void 0===m?void 0:m.code),severity:r.ERROR});{const t=Object.assign({},l.page_info);a({terminals:(null===(c=l.data)||void 0===c?void 0:c.map((t=>new h(t))))||[],pagingInfo:t})}}catch(t){const i=d(null==t?void 0:t.code);return n({error:t.message||t,code:i,severity:r.ERROR})}})({id:this.accountId,authToken:this.authToken,service:new v,apiOrigin:this.apiOrigin}):(this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:e.MISSING_PROPS,message:this.errorMessage,severity:r.ERROR}))}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=m({accountId:this.accountId,authToken:this.authToken,service:new l,apiOrigin:this.apiOrigin}))}render(){return s(u,{key:"b0109248be43245cc91a844960f83c80b09b88a3",exportparts:f},s("terminals-list-core",{key:"c1b6467303b606863c544f898a3c0b8e37c597c2",getTerminals:this.getTerminals,getSubAccounts:this.getSubAccounts,"onError-event":this.handleErrorEvent,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{b as justifi_terminals_list}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as s}from"./p-fad19d75.js";const a=class{constructor(i){t(this,i),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.handleFormControlInput=t=>{const e=t.target,i=e.getAttribute("name");this.inputHandler(i,e.checked),this.formControlInput.emit({name:i,value:e.value})},this.updateInput=t=>{this.radioElement.checked=t},this.label=void 0,this.name=void 0,this.value=void 0,this.helpText=void 0,this.errorText=void 0,this.defaultChecked=void 0,this.inputHandler=void 0,this.disabled=void 0}handleDefaultValueChange(t){this.updateInput(t)}componentDidLoad(){this.updateInput(this.defaultChecked)}render(){return i(s,{key:"d06ffa17fb7ef51b08b8c0d52c6d83ec040a15a7",exportparts:"label,input,input-invalid"},i("div",{key:"9dc89af6c7118dae09d29daa6739847ee11ba7ff",class:"form-group d-flex flex-column"},i("div",{key:"fa028b5f9901ca403fe120bc16e9fb48e2a5c92d",class:"form-check"},i("input",{key:"78222c89d2713c070b2d38be3bc7953cd5c18677",ref:t=>this.radioElement=t,type:"radio",id:this.name,name:this.name,onBlur:this.formControlBlur.emit,onInput:this.handleFormControlInput,part:"input-radio "+(this.errorText?"input-radio-invalid":""),class:this.errorText?"form-check-input is-invalid":"form-check-input",disabled:this.disabled,value:this.value}),i("label",{key:"ef2c6c45bf587d87bad6883fe79622a648d80d80",class:"form-check-label",htmlFor:this.name},this.label)),i("form-control-help-text",{key:"28b32ee27148438b72bb909cc9cc309de936b158",helpText:this.helpText,name:this.name}),i("form-control-error-text",{key:"8485f4d22f4bc0bb2238de5ab5bf7071203bac2b",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultChecked:["handleDefaultValueChange"]}}};export{a as form_control_radio}
@@ -1 +0,0 @@
1
- import{r as s,c as t,h as e,H as i}from"./p-fad19d75.js";import{a,C as n}from"./p-14c91ffd.js";import{m as o,b as r}from"./p-5968ff8a.js";import{B as h}from"./p-f6f8dabc.js";import{c as d,F as c,e as u}from"./p-3c654c07.js";import{b as l,c as b,a as f}from"./p-a76ece26.js";import{z as p,A as m,u as v,B as y,C as g,D as k,E as _,F as w,G as j,H as T,I as C,J as S,K as O,L as x,M as I}from"./p-b0311e88.js";import{c as A}from"./p-1815a43b.js";import{A as L}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-d1f75fa6.js";import"./p-3db8b3c7.js";import{c as F}from"./p-5a62fca2.js";import{n as B}from"./p-e3c22aa9.js";import{B as E}from"./p-5e7c60d8.js";import{S as D}from"./p-08b0fb31.js";import{B as H}from"./p-9c9c7dac.js";import"./p-8115b2f4.js";import"./p-6078a370.js";import"./p-1ff8810b.js";const P=class{constructor(e){s(this,e),this.errorEvent=t(this,"error-event",7),this.getBusiness=void 0,this.patchBusiness=void 0,this.authToken=void 0,this.businessId=void 0,this.allowOptionalFields=void 0}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new h}),this.patchBusiness=r({authToken:this.authToken,businessId:this.businessId,service:new h})):this.errorEvent.emit({message:"Missing required props",errorCode:a.MISSING_PROPS,severity:n.ERROR})}render(){return e("justifi-additional-questions-form-step-core",{key:"6ca8443cbe837d993be4381a9d650caaaf51f2df",getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}};class W{constructor(s){this.id=s.id,this.account_owner_name=s.account_owner_name,this.full_name=s.full_name,this.account_type=s.account_type,this.acct_last_four=s.acct_last_four,this.account_number_last4=s.account_number_last4,this.routing_number=s.routing_number,this.bank_name=s.bank_name,this.country=s.country,this.currency=s.currency,this.nickname=s.nickname,this.metadata=s.metadata,this.business_id=s.business_id,this.platform_account_id=s.platform_account_id,this.created_at=s.created_at,this.updated_at=s.updated_at}}const q=class{constructor(e){s(this,e),this.submitted=t(this,"submitted",7),this.stepCompleted=t(this,"form-step-completed",7),this.formLoading=t(this,"formLoading",7),this.errorEvent=t(this,"error-event",7),this.fetchData=async()=>{this.formLoading.emit(!0);try{const s=await this.api.get(this.businessEndpoint);this.bankAccount=Object.assign({},new W(s.data.bank_accounts.length>0?s.data.bank_accounts[0]:{})),this.formController.setInitialValues(Object.assign({},this.bankAccount))}catch(s){this.errorEvent.emit({errorCode:a.FETCH_ERROR,message:s.message,severity:n.ERROR,data:s})}finally{this.formLoading.emit(!1)}},this.sendData=async s=>{this.formLoading.emit(!0);try{const t=this.formController.values.getValue(),e=Object.assign(Object.assign({},t),{business_id:this.businessId}),i=await this.api.post(this.bankAccountEndpoint,e);this.handleResponse(i,s)}catch(s){this.errorEvent.emit({errorCode:a.POST_ERROR,message:s.message,severity:n.ERROR,data:s})}finally{this.formLoading.emit(!1)}},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.formController=void 0,this.errors={},this.bankAccount=void 0,this.authToken=void 0,this.businessId=void 0,this.allowOptionalFields=void 0}get businessEndpoint(){return`entities/business/${this.businessId}`}get bankAccountEndpoint(){return"entities/bank_accounts"}get formDisabled(){var s;return!!(null===(s=this.bankAccount)||void 0===s?void 0:s.id)}handleResponse(s,t){s.error?this.errorEvent.emit({errorCode:a.POST_ERROR,message:s.error.message,severity:n.ERROR,data:s.error}):t(),this.submitted.emit({data:s,metadata:{completedStep:l.bankAccount}}),this.stepCompleted.emit({data:s,formStep:b.bankAccount})}async validateAndSubmit({onSuccess:s}){this.formDisabled?(this.stepCompleted.emit({data:null,formStep:b.bankAccount,metadata:"no data submitted"}),s()):this.formController.validateAndSubmit((()=>this.sendData(s)))}componentWillLoad(){this.formController=new c((s=>{const t=d({bank_name:p.required("Enter bank name"),nickname:m.required("Enter nickname"),account_owner_name:v.required("Enter account owner name"),account_type:y.required("Select account type"),account_number:g.required("Enter account number"),routing_number:k.required("Enter routing number")}),e=d({bank_name:p.nullable(),nickname:m.nullable(),account_owner_name:v.nullable(),account_type:y.nullable(),account_number:g.nullable(),routing_number:k.nullable()});return s?e:t})(this.allowOptionalFields)),this.api=L({authToken:this.authToken,apiOrigin:F.proxyApiOrigin}),this.businessId&&this.authToken&&this.fetchData()}componentDidLoad(){this.formController.values.subscribe((s=>this.bankAccount=Object.assign({},s))),this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){const s=this.formController.getInitialValues();return e("form",{key:"7ae39afd400c9bc2a86f75aeb2a529a36ecd849c"},e("fieldset",{key:"d01072ed3710acfbb7916de8ffb9fb80770750af"},e("div",{key:"75228827d492fcdbd603963a3574c1dca84530b4",class:"d-flex align-items-center gap-2"},e("legend",{key:"23600460d0b1486d3d4cd612bc9532ba30d5da0e",class:"mb-0"},"Bank Account Info"),e("form-control-tooltip",{key:"fed3ad0eef074985a25488a9c093b9eb0cbafabb",helpText:"The Direct Deposit Account is the business bank account where your funds will be deposited. The name of this account must match the registered business name exactly. We are not able to accept personal accounts unless your business is a registered sole proprietorship."})),e("hr",{key:"f7405cf23ee0a90d46f2c394d09ae421fe9472ee",class:"mt-2"}),e("div",{key:"4cc1d09daed6a897778440f69bd0a9dbd99c1270",class:"row gy-3"},e("div",{key:"f7e0e160adaf0925b4ea5ada12137dcf3e5c5d35",class:"col-12"},e("form-control-text",{key:"d7cbdb427b9bf332dd9da5885ccfc73d0dd4b40b",name:"bank_name",label:"Bank Name",defaultValue:s.bank_name,errorText:this.errors.bank_name,inputHandler:this.inputHandler,disabled:this.formDisabled})),e("div",{key:"010c5dd53d8d31f9edc4f0e7ca225c0d2c8a1e09",class:"col-12"},e("form-control-text",{key:"f524266d5fcd4e3e35539c130f6dfe742d620593",name:"nickname",label:"Nickname",defaultValue:s.nickname,errorText:this.errors.nickname,inputHandler:this.inputHandler,disabled:this.formDisabled})),e("div",{key:"1875fc9bb5e0741e1c2aff205effa030aafcd0e2",class:"col-12"},e("form-control-text",{key:"343754af2350ca668f39270513fa44be416834ba",name:"account_owner_name",label:"Account Owner Name",defaultValue:s.account_owner_name,errorText:this.errors.account_owner_name,inputHandler:this.inputHandler,disabled:this.formDisabled})),e("div",{key:"9870781e41bd5879ec161569a7b60ecc049690cc",class:"col-12"},e("form-control-select",{key:"1ade0e3e0f470e3165d227b67c9dd4054d8443fc",name:"account_type",label:"Account Type",options:A,defaultValue:s.account_type,errorText:this.errors.account_type,inputHandler:this.inputHandler,disabled:this.formDisabled})),e("div",{key:"c5e531aaded367bd825913cb100dd3225d1c6f61",class:"col-12"},e("form-control-text",{key:"39cd3bca5b86a0ca175c26be3982bc0e98953439",name:"account_number",label:"Account Number",defaultValue:s.account_number,maxLength:17,errorText:this.errors.account_number,inputHandler:this.inputHandler,keyDownHandler:B,disabled:this.formDisabled,helpText:"Please copy the account number as shown on your statement/check. Do not include spaces or dashes."})),e("div",{key:"8c3306dde7149b49d1ad6ba426634674e318b4fd",class:"col-12"},e("form-control-text",{key:"970305b04e9517f56bcb8217cd938b8971ca34b4",name:"routing_number",label:"Routing Number",defaultValue:s.routing_number,maxLength:9,errorText:this.errors.routing_number,inputHandler:this.inputHandler,keyDownHandler:B,disabled:this.formDisabled,helpText:"A valid routing number is nine digits. Please include any leading or trailing zeroes."})))))}},V=class{constructor(e){s(this,e),this.errorEvent=t(this,"error-event",7),this.getBusiness=void 0,this.patchBusiness=void 0,this.authToken=void 0,this.businessId=void 0,this.allowOptionalFields=void 0}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new h}),this.patchBusiness=r({authToken:this.authToken,businessId:this.businessId,service:new h})):this.errorEvent.emit({message:"Missing required props",errorCode:a.MISSING_PROPS,severity:n.ERROR})}render(){return e("justifi-business-core-info-form-step-core",{key:"8b034d8c728aef3683823a45083764a456d07545",businessId:this.businessId,getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},z=class{constructor(e){s(this,e),this.submitted=t(this,"submitted",7),this.stepCompleted=t(this,"form-step-completed",7),this.formLoading=t(this,"formLoading",7),this.errorEvent=t(this,"error-event",7),this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.fetchData=async()=>{this.renderState="loading",this.formLoading.emit(!0);try{const s=await this.api.get(this.businessEndpoint);this.business=Object.assign({},new E(s.data)),this.existingDocuments=s.data.documents,this.paymentVolume=s.data.additional_questions.business_payment_volume}catch(s){this.errorEvent.emit({errorCode:a.FETCH_ERROR,message:s.message,severity:n.ERROR,data:s}),this.renderState="error"}finally{this.initializeFormController(),this.formLoading.emit(!1),this.renderState="success"}},this.initializeFormController=()=>{this.formController=new c(((s,t,e)=>{const i=d({voided_check:_(t,e),government_id:w.nullable(),ss4:j.nullable(),other:T.nullable(),balance_sheet:C(s,t,e),bank_statement:S(s,t,e),profit_and_loss_statement:O(s,t,e)}),a=d({voided_check:_(t,e),government_id:w.nullable(),ss4:j.nullable(),other:T.nullable(),balance_sheet:C(s,t,e),bank_statement:S(s,t,e),profit_and_loss_statement:O(s,t,e)});return e?a:i})(this.paymentVolume,this.existingDocuments,this.allowOptionalFields)),this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))},this.createDocumentRecord=async s=>{this.formLoading.emit(!0);const t=s.record_data;try{const e=await this.api.post(this.documentEndpoint,t);return this.handleDocRecordResponse(s,e)}catch(s){return this.errorEvent.emit({errorCode:a.POST_ERROR,message:s.message,severity:n.ERROR,data:s}),!1}},this.handleDocRecordResponse=(s,t)=>t.error?(this.errorEvent.emit({errorCode:a.POST_ERROR,message:t.error.message,severity:n.ERROR,data:t.error}),!1):(s.setPresignedUrl(t.data.presigned_url),!0),this.uploadDocument=async s=>{if(!s.presigned_url)throw new Error("Presigned URL is not set");const t=await fetch(s.presigned_url,{method:"PUT",body:s.fileString});return this.handleUploadResponse(t)},this.handleUploadResponse=s=>s.error?(this.errorEvent.emit({errorCode:a.POST_ERROR,message:s.error.message,severity:n.ERROR,data:s.error}),!1):(this.submitted.emit({data:s,metadata:{completedStep:l.documentUpload}}),this.stepCompleted.emit({data:s,formStep:b.documentUpload}),!0),this.storeFiles=s=>{const t=Array.from(s.detail.fileList),e=s.detail.document_type,i=t.map((s=>new x({file:s,document_type:e},this.businessId)));this.documentData[e]=i},this.sendData=async s=>{try{const t=Object.values(this.documentData).flat();if(!t.length)return this.stepCompleted.emit({data:null,formStep:b.documentUpload,metadata:"no data submitted"}),s();const e=t.map((s=>this.createDocumentRecord(s)));if(!await Promise.all(e))return;const i=t.map((s=>this.uploadDocument(s)));if(!await Promise.all(i))return;await s()}finally{this.formLoading.emit(!1)}},this.formController=void 0,this.errors={},this.existingDocuments=[],this.paymentVolume=void 0,this.business=void 0,this.documentData=new I,this.renderState="loading",this.authToken=void 0,this.businessId=void 0,this.allowOptionalFields=void 0}get businessEndpoint(){return`entities/business/${this.businessId}`}get documentEndpoint(){return"entities/document"}componentWillLoad(){this.api=L({authToken:this.authToken,apiOrigin:F.proxyApiOrigin}),this.businessId&&this.authToken&&this.fetchData()}async validateAndSubmit({onSuccess:s}){this.formController.validateAndSubmit((()=>this.sendData(s)))}get isLoading(){return"loading"===this.renderState}get isError(){return"error"===this.renderState}get documentsOnFile(){return this.isError?null:this.isLoading?e(D,{variant:"rounded",height:"50px"}):e("justifi-business-documents-on-file",{documents:this.existingDocuments})}get formInputs(){return this.isError?null:this.isLoading?e(D,{variant:"rounded",height:"350px"}):e("justifi-business-document-upload-input-group",{paymentVolume:this.paymentVolume,inputHandler:this.inputHandler,storeFiles:this.storeFiles,errors:this.errors})}render(){return e("form",{key:"5e0722b4d5ea462cf5ba6ed2de9d3a73b8bf910a"},e("fieldset",{key:"09f3589465a6ad53080743018a57b959bef68309"},e("div",{key:"b6c1aa4cf4754126b11902a8b35c19e3044ba4ed",class:"d-flex align-items-center gap-2"},e("legend",{key:"77b5d6847054afbfe6cc7e9e00762c226a582447",class:"mb-0"},"Document Uploads"),e("form-control-tooltip",{key:"9fb518fbad5039c77436377e26e420dc01a84ca2",helpText:"Various file formats such as PDF, DOC, DOCX, JPEG, and others are accepted. Multiple files can be uploaded for each document category."})),e("hr",{key:"e95938b42ad6d52d612bb654e39af7ee3442b454",class:"mt-2"}),this.documentsOnFile,e("div",{key:"8ee1cda96d28486faa2371bb1b82c57a57220071",class:"d-flex flex-column"},this.formInputs)))}},M=class{constructor(e){s(this,e),this.errorEvent=t(this,"error-event",7),this.getBusiness=void 0,this.patchBusiness=void 0,this.authToken=void 0,this.businessId=void 0,this.allowOptionalFields=void 0}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new h}),this.patchBusiness=r({authToken:this.authToken,businessId:this.businessId,service:new h})):this.errorEvent.emit({message:"Missing required props",errorCode:a.MISSING_PROPS,severity:n.ERROR})}render(){return e(i,{key:"31bd33a08c9eb4a849db8898b3ec7e6fede7b843"},e("justifi-business-owners-form-step-core",{key:"9e4c88686e1a5ebfd81ab5f1aebd21f58c4e6be5",authToken:this.authToken,businessId:this.businessId,getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s}))}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},N=class{constructor(e){s(this,e),this.errorEvent=t(this,"error-event",7),this.getBusiness=void 0,this.patchBusiness=void 0,this.authToken=void 0,this.businessId=void 0,this.allowOptionalFields=void 0}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new h}),this.patchBusiness=r({authToken:this.authToken,businessId:this.businessId,service:new h})):this.errorEvent.emit({message:"Missing required props",errorCode:a.MISSING_PROPS,severity:n.ERROR})}render(){return e("justifi-business-representative-form-step-core",{key:"934b6204cfe78ffe17b3f975de3eedb64398168d",getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},R=class{constructor(e){s(this,e),this.submitted=t(this,"submitted",7),this.stepCompleted=t(this,"form-step-completed",7),this.formLoading=t(this,"formLoading",7),this.errorEvent=t(this,"error-event",7),this.fetchData=async()=>{this.formLoading.emit(!0);try{const s=await this.api.get(this.businessEndpoint);this.acceptedTermsBefore=s.data.terms_conditions_accepted}catch(s){this.errorEvent.emit({errorCode:a.FETCH_ERROR,message:s.message,severity:n.ERROR,data:s})}finally{this.formLoading.emit(!1)}},this.sendData=async s=>{this.formLoading.emit(!0);try{const t=this.termsPayload,e=await this.api.post(this.termsConditionsEndpoint,t);this.handleResponse(e,s)}catch(s){this.errorEvent.emit({errorCode:a.POST_ERROR,message:s.message,severity:n.ERROR,data:s})}finally{this.formLoading.emit(!1)}},this.inputHandler=(s,t)=>{this.formController.setValues(Object.assign(Object.assign({},this.formController.values.getValue()),{[s]:t}))},this.formController=void 0,this.errors={},this.acceptedTermsBefore=void 0,this.authToken=void 0,this.businessId=void 0,this.allowOptionalFields=void 0}get businessEndpoint(){return`entities/business/${this.businessId}`}get termsConditionsEndpoint(){return"entities/terms_and_conditions"}get formHelperText(){return this.acceptedTermsBefore?"You have already accepted the terms and conditions.":null}get termsPayload(){return{business_id:this.businessId,accepted:this.formController.values.getValue().accepted,user_agent:window.navigator.userAgent}}async componentWillLoad(){this.api=L({authToken:this.authToken,apiOrigin:F.proxyApiOrigin}),this.formController=new c((s=>{const t=d({accepted:u().oneOf([!0],"You must agree to the terms and conditions to continue").required("You must agree to the terms and conditions to continue")}),e=d({accepted:u().nullable()});return s?e:t})(this.allowOptionalFields)),this.businessId&&this.authToken&&this.fetchData()}handleResponse(s,t){s.error?this.errorEvent.emit({errorCode:a.POST_ERROR,message:s.error.message,severity:n.ERROR,data:s.error}):t(),this.submitted.emit({data:s,metadata:{completedStep:l.termsAndConditions}}),this.stepCompleted.emit({data:s,formStep:b.termsAndConditions})}async validateAndSubmit({onSuccess:s}){this.acceptedTermsBefore?(this.submitted.emit({metadata:{completedStep:l.termsAndConditions}}),s()):this.formController.validateAndSubmit((()=>this.sendData(s)))}componentDidLoad(){this.formController.errors.subscribe((s=>{this.errors=Object.assign({},s)}))}render(){return e("form",{key:"e675f117eb90a0690e148a1164fffde5d4f01419"},e("fieldset",{key:"e1cb1fe38b7365cc282eb91689afb40d6b01136c"},e("legend",{key:"e57a4bc006983c3ee3805445d750ea330bedd477"},"Terms and Conditions"),e("hr",{key:"7b373693bd10d6493816b3dd9ae07d826bd7ff84"}),e("justifi-business-terms-conditions-text",{key:"984b3668240861df4947c60068c1be079a3eb7e1"}),e("br",{key:"15dfba53dd81d39be4ea216bf798f51881abf23d"}),e("div",{key:"b426c709c11435911efb4289b68fa8f86c2569f2",class:"row-gy-3"},e("div",{key:"307c51a7f78613807054a5d1480318fdb9316bff",class:"col-12"},e("form-control-checkbox",{key:"6069cb9929c7ea0f2c1b2cbc99dad61806c80429",name:"accepted",label:"I agree to the terms and conditions",inputHandler:this.inputHandler,errorText:this.errors.accepted,disabled:this.acceptedTermsBefore,helpText:this.formHelperText})))))}},U=class{constructor(e){s(this,e),this.errorEvent=t(this,"error-event",7),this.getBusiness=void 0,this.patchBusiness=void 0,this.authToken=void 0,this.businessId=void 0,this.allowOptionalFields=void 0}propChanged(){this.initializeApi()}async validateAndSubmit({onSuccess:s}){this.coreComponent.validateAndSubmit({onSuccess:s})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=o({authToken:this.authToken,businessId:this.businessId,service:new h}),this.patchBusiness=r({authToken:this.authToken,businessId:this.businessId,service:new h})):this.errorEvent.emit({message:"Missing required props",errorCode:a.MISSING_PROPS,severity:n.ERROR})}render(){return e("justifi-legal-address-form-step-core",{key:"06ac5acac2cc9c167a86448b0e12d885d21361fb",getBusiness:this.getBusiness,patchBusiness:this.patchBusiness,allowOptionalFields:this.allowOptionalFields,ref:s=>this.coreComponent=s})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}},Y=class{constructor(t){s(this,t),this.currentStep=void 0,this.totalSteps=void 0,this.formLoading=void 0,this.formDisabled=void 0,this.previousStepButtonOnClick=void 0,this.nextStepButtonOnClick=void 0}get showPreviousStepButton(){return this.currentStep>0}get showNextStepButton(){return this.currentStep<this.totalSteps}get showSubmitButton(){return this.currentStep===this.totalSteps}render(){return e("div",{key:"3df3796f2bb35819373564c0002e35d14c85e360",class:"d-flex gap-2"},e(H,{key:"3f8fd4e288b2eed6776c77b44dda816e8a0580cd",variant:"secondary",type:"button",onClick:()=>this.previousStepButtonOnClick(),disabled:this.formDisabled,hidden:!this.showPreviousStepButton},"Previous"),e(H,{key:"83c7d2405d6e4f88f721a95250aa847a6999a211",variant:"primary",type:"button",onClick:s=>this.nextStepButtonOnClick(s,f.nextStep),disabled:this.formDisabled,isLoading:this.formLoading,hidden:!this.showNextStepButton},"Next"),e(H,{key:"d87bcdc9bea52b11307e31bd1d99636be05d7156",variant:"primary",type:"submit",onClick:s=>this.nextStepButtonOnClick(s,f.submit),disabled:this.formDisabled,isLoading:this.formLoading,hidden:!this.showSubmitButton},"Submit"))}},$=class{constructor(i){s(this,i),this.formCompleted=t(this,"formCompleted",7),this.componentStepMapping={0:()=>e("justifi-business-core-info-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[0]=s,allowOptionalFields:this.allowOptionalFields}),1:()=>e("justifi-legal-address-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[1]=s,allowOptionalFields:this.allowOptionalFields}),2:()=>e("justifi-additional-questions-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[2]=s,allowOptionalFields:this.allowOptionalFields}),3:()=>e("justifi-business-representative-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[3]=s,allowOptionalFields:this.allowOptionalFields}),4:()=>e("justifi-business-owners-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[4]=s,allowOptionalFields:this.allowOptionalFields}),5:()=>e("justifi-business-bank-account-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[5]=s,onFormLoading:this.handleFormLoading,allowOptionalFields:this.allowOptionalFields}),6:()=>e("justifi-business-document-upload-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[6]=s,onFormLoading:this.handleFormLoading,allowOptionalFields:this.allowOptionalFields}),7:()=>e("justifi-business-terms-conditions-form-step",{businessId:this.businessId,authToken:this.authToken,ref:s=>this.refs[7]=s,onFormLoading:this.handleFormLoading,allowOptionalFields:this.allowOptionalFields,onSubmitted:()=>this.formCompleted.emit()})},this.businessId=void 0,this.authToken=void 0,this.refs=void 0,this.currentStep=void 0,this.allowOptionalFields=!1,this.handleFormLoading=void 0}get currentStepComponent(){return this.componentStepMapping[this.currentStep]()}render(){return e("div",{key:"8f02aa3223e38cda70319c127f60e5d2f3c5abe5",class:"col-12 mb-4"},this.currentStepComponent)}};export{P as justifi_additional_questions_form_step,q as justifi_business_bank_account_form_step,V as justifi_business_core_info_form_step,z as justifi_business_document_upload_form_step,M as justifi_business_owners_form_step,N as justifi_business_representative_form_step,R as justifi_business_terms_conditions_form_step,U as justifi_legal_address_form_step,Y as justifi_payment_provisioning_form_buttons,$ as justifi_payment_provisioning_form_steps}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i}from"./p-fad19d75.js";import{C as o,a as r}from"./p-14c91ffd.js";import{J as e}from"./p-8037704c.js";import{c as a}from"./p-57125bd1.js";import{c}from"./p-5a62fca2.js";import{m as p,P as h}from"./p-89f6691e.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-d1f75fa6.js";import{P as n}from"./p-3db8b3c7.js";import{g as d,a as m}from"./p-8115b2f4.js";import{m as f,S as u}from"./p-bc8205ec.js";import{S as j}from"./p-74da98da.js";import{t as l}from"./p-6cc30da2.js";import{d as v}from"./p-286b87ab.js";import"./p-25d2ed4c.js";import"./p-0e180654.js";import"./p-c13a7d10.js";import"./p-206fde40.js";const b=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.handleOnError=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.getPayouts=void 0,this.getPayoutCSV=void 0,this.getSubAccounts=void 0,this.errorMessage=null,this.accountId=void 0,this.authToken=void 0,this.apiOrigin=c.proxyApiOrigin,this.columns=v}componentWillLoad(){a(),this.analytics=new e(this),this.initializeGetData()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeGetData()}initializeGetData(){this.initializePayoutsServices(),this.initializeGetSubAccounts()}initializePayoutsServices(){if(this.accountId&&this.authToken){const t={id:this.accountId,authToken:this.authToken,service:new h,apiOrigin:this.apiOrigin};this.getPayouts=(({id:t,authToken:s,service:i,apiOrigin:r})=>async({params:e,onSuccess:a,onError:c})=>{var p,h;try{const f=await i.fetchPayouts(t,s,e,r);if(f.error)return c({error:d(f.error),code:m(null===(h=f.error)||void 0===h?void 0:h.code),severity:o.ERROR});{const t=Object.assign({},f.page_info);a({payouts:(null===(p=f.data)||void 0===p?void 0:p.map((t=>new n(t))))||[],pagingInfo:t})}}catch(t){const s=m(null==t?void 0:t.code);return c({error:t.message||t,code:s,severity:o.ERROR})}})(t),this.getPayoutCSV=p(t)}else this.errorMessage="Account ID and Auth Token are required",this.errorEvent.emit({errorCode:r.MISSING_PROPS,message:this.errorMessage,severity:o.ERROR})}initializeGetSubAccounts(){this.accountId&&this.authToken&&(this.getSubAccounts=f({accountId:this.accountId,authToken:this.authToken,service:new u,apiOrigin:this.apiOrigin}))}render(){return i(j,{key:"5f482e2ab5d1a022c9f54f13a8ab31860ff4b6ec",exportedparts:l},i("payouts-list-core",{key:"fe5decfcda48b54bbcded8c605d0f3a2576c35cb",getPayouts:this.getPayouts,getPayoutCSV:this.getPayoutCSV,getSubAccounts:this.getSubAccounts,"onError-event":this.handleOnError,columns:this.columns}))}static get watchers(){return{accountId:["propChanged"],authToken:["propChanged"]}}};export{b as justifi_payouts_list}
@@ -1 +0,0 @@
1
- import{r as s,c as i,h as t}from"./p-fad19d75.js";import{J as o}from"./p-8037704c.js";import{a as e,C as r}from"./p-14c91ffd.js";import{m as n,a}from"./p-5968ff8a.js";import{B as p}from"./p-f6f8dabc.js";import{c as h}from"./p-5a62fca2.js";import{A as d}from"./p-0e180654.js";import{c}from"./p-57125bd1.js";import"./p-25d2ed4c.js";import"./p-8115b2f4.js";class m{async postProvisioning(s,i,t){const o={business_id:i,product_category:t};return d({authToken:s,apiOrigin:h.proxyApiOrigin}).post("entities/provisioning",o)}}const u=class{constructor(t){s(this,t),this.errorEvent=i(this,"error-event",7),this.postProvisioning=void 0,this.getBusiness=void 0,this.businessId=void 0,this.authToken=void 0,this.allowOptionalFields=!1,this.formTitle="Business Information"}propChanged(){this.initializeApi()}componentWillLoad(){c(),this.analytics=new o(this),this.initializeApi()}disconnectedCallback(){this.analytics.cleanup()}initializeApi(){this.authToken&&this.businessId?(this.getBusiness=n({authToken:this.authToken,businessId:this.businessId,service:new p}),this.postProvisioning=a({authToken:this.authToken,businessId:this.businessId,product:"payment",service:new m})):this.errorEvent.emit({message:"auth-token and business-id are required",errorCode:e.MISSING_PROPS,severity:r.ERROR})}render(){return t("justifi-payment-provisioning-core",{key:"82b3601d3349a92bed1aa93e2a847039d7493c04",businessId:this.businessId,authToken:this.authToken,allowOptionalFields:this.allowOptionalFields,formTitle:this.formTitle,getBusiness:this.getBusiness,postProvisioning:this.postProvisioning})}static get watchers(){return{authToken:["propChanged"],businessId:["propChanged"]}}};export{u as justifi_payment_provisioning}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i}from"./p-fad19d75.js";import{C as s,a as o}from"./p-14c91ffd.js";import{g as r,a as c}from"./p-8115b2f4.js";import{C as a}from"./p-544a4e7a.js";import{J as d}from"./p-8037704c.js";import{c as h}from"./p-57125bd1.js";import"./p-5a62fca2.js";import"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-d1f75fa6.js";import"./p-3db8b3c7.js";import"./p-25d2ed4c.js";const n=class{constructor(i){t(this,i),this.errorEvent=e(this,"error-event",7),this.loadedEvent=e(this,"loaded",7),this.iframeOrigin=void 0,this.authToken=void 0,this.checkoutId=void 0,this.disableCreditCard=void 0,this.disableBankAccount=void 0,this.disableBnpl=void 0,this.disablePaymentMethodGroup=void 0,this.getCheckout=void 0,this.complete=void 0,this.errorMessage=""}componentWillLoad(){h(),this.analytics=new d(this),this.initializeGetCheckout()}disconnectedCallback(){this.analytics.cleanup()}initializeGetCheckout(){this.authToken&&this.checkoutId?(this.getCheckout=(({authToken:t,checkoutId:e,service:i})=>async({onSuccess:o,onError:a})=>{var d;try{const h=await i.fetchCheckout(t,e);if(h.error)return a({error:r(h.error),code:c(null===(d=h.error)||void 0===d?void 0:d.code),severity:s.ERROR});o({checkout:h.data})}catch(t){const e=c(null==t?void 0:t.code);return a({error:t.message||t,code:e,severity:s.ERROR})}})({authToken:this.authToken,checkoutId:this.checkoutId,service:new a}),this.complete=(({authToken:t,checkoutId:e,service:i})=>async({payment:o,onSuccess:a,onError:d})=>{var h;try{const n=await i.complete(t,e,o);if(n.error)return d({error:r(n.error),code:c(null===(h=n.error)||void 0===h?void 0:h.code),severity:s.ERROR});a(n)}catch(t){const e=c(null==t?void 0:t.code);return d({error:t.message||t,code:e,severity:s.ERROR})}})({authToken:this.authToken,checkoutId:this.checkoutId,service:new a})):this.errorEvent.emit({message:"auth-token and checkout-id are required",errorCode:o.MISSING_PROPS,severity:s.ERROR})}propChanged(){this.initializeGetCheckout()}async fillBillingForm(t){this.checkoutCoreRef.fillBillingForm(t)}render(){return i("justifi-checkout-core",{key:"24400b7f50a91d2c24e372a030fde6b0a1af9e66",getCheckout:this.getCheckout,authToken:this.authToken,complete:this.complete,disableCreditCard:this.disableCreditCard,disableBankAccount:this.disableBankAccount,disableBnpl:this.disableBnpl,disablePaymentMethodGroup:this.disablePaymentMethodGroup,ref:t=>{t&&(this.checkoutCoreRef=t)}},i("div",{key:"0f530bd18cab94b2ab3707b22908198878d34a4a",slot:"insurance"},i("slot",{key:"94d10781b8df51ab34df5e414e304537682d8c2c",name:"insurance"})))}static get watchers(){return{authToken:["propChanged"],checkoutId:["propChanged"]}}};export{n as justifi_checkout}
@@ -1 +0,0 @@
1
- import{A as o}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-d1f75fa6.js";import{S as r}from"./p-3db8b3c7.js";import{c as s}from"./p-5a62fca2.js";import{C as c}from"./p-14c91ffd.js";import{g as t,a}from"./p-8115b2f4.js";class n{async fetchSubAccounts(r,c,t,a){a||(a=s.proxyApiOrigin);const n={Account:r};return o({authToken:c,apiOrigin:a}).get("sub_accounts",t,null,n)}}const i=({accountId:o,authToken:s,service:n,apiOrigin:i})=>async({params:e,onSuccess:p,onError:u})=>{var f,m;try{const d=await n.fetchSubAccounts(o,s,e,i);if(d.error){return u({error:t(d.error),code:a(null===(m=d.error)||void 0===m?void 0:m.code),severity:c.ERROR})}{const o=Object.assign({},d.page_info);p({subAccounts:(null===(f=d.data)||void 0===f?void 0:f.map((o=>new r(o))))||[],pagingInfo:o})}}catch(o){const r=a(null==o?void 0:o.code);return u({error:o.message||o,code:r,severity:c.ERROR})}};export{n as S,i as m}
@@ -1 +0,0 @@
1
- import{r as s,c as i,h as t}from"./p-fad19d75.js";import{L as e,E as r}from"./p-a8b4f429.js";import{S as o}from"./p-74da98da.js";var a;!function(s){s.LOADING="loading",s.READY="ready",s.ERROR="error"}(a||(a={}));const n=class{constructor(t){s(this,t),this.errorEvent=i(this,"error-event",7),this.getBusiness=void 0,this.business=void 0,this.renderState=a.LOADING,this.errorMessage="An error ocurred."}async componentWillLoad(){this.getBusiness&&this.fetchData()}fetchData(){this.renderState=a.LOADING,this.getBusiness({onSuccess:({business:s})=>{this.business=s,this.renderState=a.READY},onError:({error:s,code:i,severity:t})=>{this.errorMessage=s,this.renderState=a.ERROR,this.errorEvent.emit({errorCode:i,message:s,severity:t})}})}render(){return this.renderState===a.LOADING?t(o,null,e()):this.renderState===a.ERROR?t(o,null,r(this.errorMessage)):t(o,null,t("generic-info-details",{business:this.business}),t("legal-address-details",{legalAddress:this.business.legal_address}),t("representative-details",{representative:this.business.representative}),t("owner-details",{owners:this.business.owners}),t("additional-questions-details",{additionalQuestions:this.business.additional_questions}))}};export{n as business_details_core}
@@ -1 +0,0 @@
1
- import{r as e,h as a}from"./p-fad19d75.js";import{u as d,a as t,b as s}from"./p-7d85af5c.js";import{P as i,S as o}from"./p-525db3e8.js";import"./p-1ff8810b.js";import"./p-6078a370.js";const l=class{constructor(a){e(this,a),this.inputHandler=(e,a)=>{d(this.formController,{[e]:a})},this.onAddressFormUpdate=e=>{t(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),e))},this.representativeDefaultValue=void 0,this.errors=void 0,this.formController=void 0}render(){var e,d,t,l,f,r,c;return a("form",{key:"d48ad76693e38dfd4fdb512afc87e5e50c4d171f"},a("fieldset",{key:"957e468b2bace9fae8128ffc7de5754a49945454"},a("div",{key:"ab3845f6f8f1a508b691d6b1f02980e0d6d38f4c",class:"d-flex align-items-center gap-2"},a("legend",{key:"79a48cd41f19c4aba31a6f6e36c5b7acaf358447",class:"mb-0"},"Representative"),a("form-control-tooltip",{key:"e2961b6a7ce9a360c374404f47876ea39b489297",helpText:"The representative for your business needs to be someone who has significant control over managing your business’s finance. You will have an opportunity to add owners later in the form."})),a("hr",{key:"16fc066cc1ddae2e6fe30119bc66a8eda966b66a",class:"mt-2"}),a("div",{key:"e3d32b1497cb452fca36ee564da7b4f9d7e517a6",class:"row gy-3"},a("div",{key:"0b8dba03ddfe9cebafdba03315477f522441e62f",class:"col-12 col-md-8"},a("form-control-text",{key:"fcee691ae2f2e169841b28cc313b2559f2cedc47",name:"name",label:"Full Name",defaultValue:null===(e=this.representativeDefaultValue)||void 0===e?void 0:e.name,errorText:this.errors.name,inputHandler:this.inputHandler})),a("div",{key:"388aabab153c5922f4d719d2068c6041fcb1e8bc",class:"col-12 col-md-4"},a("form-control-text",{key:"cf3a2911172fa4972b2b108aa375872a189f8b88",name:"title",label:"Title",defaultValue:null===(d=this.representativeDefaultValue)||void 0===d?void 0:d.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),a("div",{key:"594446afaf5d1068c3a6ddc38ed0895ee4fff14b",class:"col-12 col-md-6"},a("form-control-text",{key:"7ede2ffbc93f20e89d32938f8d1305604ffc5970",name:"email",label:"Email Address",defaultValue:null===(t=this.representativeDefaultValue)||void 0===t?void 0:t.email,errorText:this.errors.email,inputHandler:this.inputHandler})),a("div",{key:"9cb40530bfc63d79d00f91eeaad58f952f0fcda4",class:"col-12 col-md-6"},a("form-control-number-masked",{key:"3967096857620f10b42e8c5f8a4754dcf094973d",name:"phone",label:"Phone Number",defaultValue:null===(l=this.representativeDefaultValue)||void 0===l?void 0:l.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:i.US})),a("div",{key:"3b3794126a3790484e23ca8731782cd4d68cf569",class:"col-12 col-md-4"},a("form-control-date",{key:"2ea38d71ab8e616f404b7624f4e6edd75ccaa294",name:"dob_full",label:"Birth Date",defaultValue:null===(f=this.representativeDefaultValue)||void 0===f?void 0:f.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:e=>s(e,this.formController),helpText:"Must be 18 or older."})),a("div",{key:"78b603dd1ae23fd4a9dd59f45273c6e3ff611fdf",class:"col-12 col-md-8"},a("form-control-number-masked",{key:"a41976f1168af416cdecf391271eddc20cc9e7b6",name:"identification_number",label:"SSN",defaultValue:null===(r=this.representativeDefaultValue)||void 0===r?void 0:r.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:o,helpText:"Enter your full Social Security Number. It is required for Federal OFAC check."})),a("div",{key:"198432248d778343020fb0ceb0e8c9a1763130b3",class:"col-12"},a("justifi-identity-address-form",{key:"402d91a793e197502b536f2fc5e2a9a52a97ef85",errors:this.errors.address,defaultValues:null===(c=this.representativeDefaultValue)||void 0===c?void 0:c.address,handleFormUpdate:this.onAddressFormUpdate})))))}};export{l as justifi_business_representative_form_inputs}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as e}from"./p-fad19d75.js";import"./p-16d2932d.js";import{p as a}from"./p-56f6ce4c.js";import"./p-d1f75fa6.js";import"./p-3db8b3c7.js";import{a as i,C as r}from"./p-14c91ffd.js";import{T as h,a as o,b as c,c as d}from"./p-91de21cc.js";import{o as b}from"./p-e2ce097c.js";import{p as n,a as p}from"./p-286b87ab.js";import"./p-c13a7d10.js";import"./p-206fde40.js";const f=class{constructor(e){t(this,e),this.rowClicked=s(this,"payout-row-clicked",7),this.errorEvent=s(this,"error-event",7),this.downloadCSV=t=>{this.getPayoutCSV({payoutId:t,onError:()=>{this.errorEvent.emit({errorCode:i.FETCH_ERROR,message:"Failed to download CSV",severity:r.ERROR})}})},this.handleClickPrevious=t=>{const s=Object.assign({},this.params);delete s.after_cursor,this.params=Object.assign(Object.assign({},s),{before_cursor:t})},this.handleClickNext=t=>{const s=Object.assign({},this.params);delete s.before_cursor,this.params=Object.assign(Object.assign({},s),{after_cursor:t})},this.rowClickHandler=t=>{const s=t.target.closest("tr").dataset.rowEntityId;s&&this.rowClicked.emit(this.payouts.find((t=>t.id===s)))},this.setParamsOnChange=(t,s)=>{this.params=b({[t]:s},this.params)},this.clearParams=()=>{this.errorMessage="",this.params={}},this.getPayouts=void 0,this.getSubAccounts=void 0,this.getPayoutCSV=void 0,this.columns=void 0,this.payouts=[],this.payoutsTable=void 0,this.subAccounts=[],this.loading=!0,this.errorMessage=void 0,this.paging=a,this.params={}}updateOnPropChange(){this.fetchPayouts()}componentWillLoad(){this.payoutsTable=new h(this.payouts,this.columns,n,p(this.downloadCSV)),this.getPayouts&&this.getSubAccounts&&this.fetchPayouts()}fetchPayouts(){this.loading=!0,this.getPayouts({params:this.params,onSuccess:({payouts:t,pagingInfo:s})=>{this.payouts=t,this.paging=s,this.payoutsTable.collectionData=this.payouts,this.payoutsTable.columnKeys.includes("sub_account_name")?this.fetchSubAccounts():this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}async fetchSubAccounts(){this.getSubAccounts({params:this.subAccountParams,onSuccess:({subAccounts:t})=>{this.subAccounts=t,this.payouts=this.payouts.map((t=>{var s;return t.sub_account_name=null===(s=this.subAccounts.find((s=>s.id===t.account_id)))||void 0===s?void 0:s.name,t})),this.loading=!1},onError:({error:t,code:s,severity:e})=>{this.errorMessage=t,this.errorEvent.emit({errorCode:s,message:t,severity:e}),this.loading=!1}})}get subAccountParams(){let t=this.payouts.map((t=>t.account_id));return{sub_account_id:[...new Set(t)].join(",")}}get entityId(){return this.payouts.map((t=>t.id))}get showEmptyState(){return!this.loading&&!this.errorMessage&&this.payoutsTable.rowData.length<1}get showErrorState(){return!this.loading&&!!this.errorMessage}get showRowData(){return!this.showEmptyState&&!this.showErrorState&&!this.loading}render(){return e("div",{key:"3768192e14155536f0fb53d2abc5f1e92b04cc01"},e("payouts-list-filters",{key:"3fec8cfc6b9d68798148e9eea0725079d32e3406",params:this.params,setParamsOnChange:this.setParamsOnChange,clearParams:this.clearParams}),e("div",{key:"291b7a53bb5657c87568169ebccc1dead39d10c9",class:"table-wrapper"},e("table",{key:"624389fddf8b00dcaf70a75693b542b2f4af4982",class:"table table-hover"},e("thead",{key:"1e28a2a6988eac106c40b8f029d9fa2118cbdb6d",class:"table-head sticky-top",part:"table-head"},e("tr",{key:"1f05dd4c54fb350545cf6b1b3e86b80d96932585",class:"table-light text-nowrap",part:"table-head-row"},this.payoutsTable.columnData.map((t=>t)))),e("tbody",{key:"3af09dc61461f31f61c2cfdf7896b7dfe9441450",class:"table-body",part:"table-body"},e(o,{key:"715a3d0732e45810bdfdcbe5c7db8f29934a1a62",columnSpan:this.payoutsTable.columnKeys.length,isLoading:this.loading}),e(c,{key:"3aac2554828eac0c6b0645da5df811b5e5463235",isEmpty:this.showEmptyState,columnSpan:this.payoutsTable.columnKeys.length}),e(d,{key:"cf2b312830b9f59550346085f00bc519e496b2b2",columnSpan:this.payoutsTable.columnKeys.length,errorMessage:this.errorMessage}),this.showRowData&&this.payoutsTable.rowData.map(((t,s)=>e("tr",{"data-test-id":"table-row","data-row-entity-id":this.entityId[s],onClick:this.rowClickHandler,part:"table-row "+(s%2?"table-row-even":"table-row-odd")},t)))),this.paging&&e("tfoot",{key:"3d7389fb825a7eafcd456b3ae95b115a4218fea3",class:"sticky-bottom"},e("tr",{key:"4c10aa64144a281d8303b04f013bfcc2390f4d04",class:"table-light align-middle"},e("td",{key:"63614e636203a5f15beb26b4d19eed393b6ea481",part:"pagination-bar",colSpan:this.payoutsTable.columnData.length},e("pagination-menu",{key:"7708ac8b21d2db0ec9ade773dd46cd944374ede5",paging:Object.assign(Object.assign({},this.paging),{handleClickPrevious:this.handleClickPrevious,handleClickNext:this.handleClickNext}),params:this.params})))))))}static get watchers(){return{params:["updateOnPropChange"],getPayouts:["updateOnPropChange"],getSubAccounts:["updateOnPropChange"]}}};export{f as payouts_list_core}
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as a}from"./p-fad19d75.js";import{b as s,a as i,f as d}from"./p-c13a7d10.js";import{a as c,b,D as f,c as o,C as r,E as l,L as h}from"./p-a8b4f429.js";import{S as n}from"./p-74da98da.js";import{M as y}from"./p-206fde40.js";const u=class{constructor(a){e(this,a),this.errorEvent=t(this,"error-event",7),this.downloadCSV=()=>{this.getPayoutCSV({payoutId:this.payout.id,onError:({error:e,code:t,severity:a})=>{this.errorMessage=e,this.errorEvent.emit({message:e,errorCode:t,severity:a})}})},this.getPayout=void 0,this.getPayoutCSV=void 0,this.payout=void 0,this.loading=!0,this.errorMessage=null}componentWillLoad(){this.getPayout&&this.fetchData()}getPayoutWatcher(){this.fetchData()}fetchData(){this.loading=!0,this.getPayout({onSuccess:e=>{this.errorMessage=null,this.payout=e,this.loading=!1},onError:({error:e,code:t,severity:a})=>{this.errorMessage=e,this.errorEvent.emit({message:e,errorCode:t,severity:a}),this.loading=!1}})}render(){var e;return a(n,{key:"5bbb9c0cacc3bf2efe7a1e935e586944578f735f"},this.loading&&h(),!this.loading&&this.errorMessage&&l(this.errorMessage),!this.loading&&this.payout&&a("justifi-details",{key:"93b7b7abde3b10e4e4d79526b02b8db0713c8fc6","error-message":this.errorMessage},a(c,{key:"ac86860de5b1861971b0a9b7e3b9c5d6240ccc2a",slot:"head-info",badge:a("span",{slot:"badge",innerHTML:y(null===(e=this.payout)||void 0===e?void 0:e.status)}),title:`${s(this.payout.amount)} ${this.payout.currency.toUpperCase()}`},a(b,{key:"537d48671755958de63c4c5c9e8b9272bc507e6b",classes:"border-1 border-end",title:"Updated At",value:`${i(this.payout.updated_at)} ${d(this.payout.updated_at)}`}),a(b,{key:"cdac6a8d733ad1bd45b923f10350601b72b22e8f",classes:"border-1 border-end",title:"Created At",value:`${i(this.payout.created_at)} ${d(this.payout.created_at)}`}),a(b,{key:"a11a7d54baefaadd46be03d983f78754a3b4e7a2",title:"ID",value:this.payout.id}),a("div",{key:"71f41756d098d1863344f298549d32a3c0235e2c",class:"m-4"},a("button",{key:"0bc57fc73b3e64da59e357d8882df4d9e1806af1",class:"btn btn-outline-secondary d-flex align-items-center",onClick:this.downloadCSV},"Export CSV"))),a("div",{key:"f1be7616f853affa6a32c1ce598c46efb34497cc",slot:"detail-sections"},a(f,{key:"b483ced9513bb46fe249ab50192663de025fa3f7",sectionTitle:"Details"}),a("div",{key:"510a10f8730d3b0afd2422d349f5ac656d1059e1",class:"d-table gap-2 w-100"},a(o,{key:"0564098e173c62fa3b73bcb112b3b1e516bcb094",title:"Date paid",value:i(this.payout.deposits_at)}),a(o,{key:"91900371ae342a2ff8c79952786e5f0a999113da",title:"Statement Description",value:this.payout.description}),a(o,{key:"c0a216b12b91c56d2b3c2c7b678c2bd893fefe02",title:"Payout Method",value:this.payout.delivery_method}),a(o,{key:"afaafd44d645f458cd4299f9c8f504388ff1df53",title:"Amount",value:s(this.payout.amount)}),a(o,{key:"dbe4a06db4e8736c520db79cc45a37637ed02962",title:"Fee",value:s(this.payout.fees_total)})),a(f,{key:"605964367e17fdbbd72763c818ba4dd42043f96f",sectionTitle:"Account"}),a("div",{key:"662a14b06e2fca1c305b9c8cbc3e724589117602",class:"d-table gap-2 w-100"},a(o,{key:"6b195d37ffb700b8ce2c7a095d196af52d92eb00",title:"ID",value:this.payout.account_id}),a(o,{key:"011fb64b10627221ef1495da127f929bc63dbab6",title:"Account Type",value:this.payout.bank_account.account_type}),a(o,{key:"4130703cb2a6b567392819f997dd574a9e087df4",title:"Institution",value:this.payout.bank_account.account_type}),a(o,{key:"541d23f1645541e461280a0ddd449530df79aa76",title:"Routing Number",value:this.payout.bank_account.routing_number}),a(o,{key:"b544a37bae800ce24bbf11cc9654ab6b4aabc0da",title:"Account Number",value:this.payout.bank_account.account_number_last4})),a(f,{key:"40d9206806dfba438fbf700b7767a03c449ee1a9",sectionTitle:"Metadata"}),a("div",{key:"435aff888f41675e1a2bf8729fc1c859cafaa20b",class:"d-table gap-2 w-100"},a(r,{key:"1c9f32bf899914aa052375e4be2e8f92134da196",metadata:this.payout.metadata})))))}static get watchers(){return{getPayout:["getPayoutWatcher"]}}};export{u as payout_details_core}
@@ -1 +0,0 @@
1
- import{A as t}from"./p-0e180654.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-d1f75fa6.js";import"./p-3db8b3c7.js";import{c as a}from"./p-5a62fca2.js";class p{async fetchPayments(p,s,r,n){return n||(n=a.proxyApiOrigin),t({authToken:s,apiOrigin:n}).get(`account/${p}/payments`,r)}async fetchPayment(p,s){const r=`payments/${p}`;return t({authToken:s,apiOrigin:a.proxyApiOrigin}).get(r)}}export{p as P}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as i,H as a}from"./p-fad19d75.js";const s=class{constructor(i){t(this,i),this.formControlInput=e(this,"formControlInput",7),this.formControlBlur=e(this,"formControlBlur",7),this.handleFormControlInput=t=>{const e=t.target.value;this.inputHandler(this.name,e),this.formControlInput.emit({name:this.name,value:e})},this.name=void 0,this.label=void 0,this.inputHandler=void 0,this.defaultValue=void 0,this.helpText=void 0,this.errorText=void 0,this.disabled=void 0,this.showTime=void 0,this.maxDate=this.currentDate}handleDefaultValueChange(t){this.updateInput(t)}get currentDate(){return this.showTime?(new Date).toISOString().slice(0,16):(new Date).toISOString().split("T")[0]}componentDidLoad(){this.updateInput(this.defaultValue)}updateInput(t){this.dateInput.value=t}render(){return i(a,{key:"29a793e97ef8cc6bd532ce6f86e31028e6a3a783",exportparts:"label,input,input-invalid"},i("div",{key:"32487660602957a69c9cd82625bd019335e76124",class:"form-group d-flex flex-column"},i("div",{key:"5d45a740e61f328cb0bec179117b97ea9449bc03",class:"d-flex gap-2"},i("label",{key:"ba01fd2ce1f8f8cfa3a0599b21c01071eb6400a0",part:"label",class:"form-label",htmlFor:this.name},this.label),i("form-control-tooltip",{key:"aeaaf6caa4b4999ec1ecd419f4699aceb72d6cb1",helpText:this.helpText})),i("input",{key:"af713ff971ca5b8c046199ff1252db40649a8f94",type:this.showTime?"datetime-local":"date",ref:t=>this.dateInput=t,id:this.name,name:this.name,onBlur:this.formControlBlur.emit,onInput:this.handleFormControlInput,part:`input ${this.errorText&&"input-invalid"}`,class:this.errorText?"form-control is-invalid":"form-control",disabled:this.disabled,max:this.maxDate}),i("form-control-error-text",{key:"02338706e4d55074014d8e177c27c002181a93e6",errorText:this.errorText,name:this.name})))}static get watchers(){return{defaultValue:["handleDefaultValueChange"]}}};export{s as form_control_date}
@@ -1 +0,0 @@
1
- var t,s,i,h,n;!function(t){t.automatic="automatic",t.manual="manual"}(t||(t={})),function(t){t.card="card",t.bankAccount="bankAccount",t.sezzle="sezzle",t.saved="saved"}(s||(s={})),function(t){t.card="Card",t.bankAccount="ACH",t.unknown="Unknown"}(i||(i={})),function(t){t.pending="pending",t.automatic="automatic",t.authorized="authorized",t.succeeded="succeeded",t.failed="failed",t.canceled="canceled",t.disputed="disputed",t.fully_refunded="fully_refunded",t.partially_refunded="partially_refunded"}(h||(h={})),function(t){t.lost="lost",t.open="open"}(n||(n={}));class e{constructor(t){this.card=t.card?new u(t.card):void 0,this.bank_account=t.bank_account?new r(t.bank_account):void 0}get payersName(){return this.card?this.card.name:this.bank_account?this.bank_account.name:null}get lastFourDigits(){return this.card?`**** ${this.card.acct_last_four}`:this.bank_account?`**** ${this.bank_account.acct_last_four}`:null}}class r{constructor(t){this.id=t.id,this.acct_last_four=t.acct_last_four,this.name=t.name,this.brand=t.brand,this.token=t.token,this.created_at=t.created_at,this.updated_at=t.updated_at}}class u{constructor(t){this.id=t.id||"",this.acct_last_four=t.acct_last_four,this.name=t.name,this.brand=t.brand,this.token=t.token,this.created_at=t.created_at,this.updated_at=t.updated_at}}class a{constructor(t){this.id=t.id,this.account_id=t.account_id,this.amount=t.amount,this.amount_disputed=t.amount_disputed,this.amount_refundable=t.amount_refundable,this.amount_refunded=t.amount_refunded,this.balance=t.balance,this.captured=t.captured,this.capture_strategy=t.capture_strategy,this.currency=t.currency,this.description=t.description,this.disputed=t.disputed,this.disputes=t.disputes,this.error_code=t.error_code,this.error_description=t.error_description,this.fee_amount=t.fee_amount,this.is_test=t.is_test,this.metadata=t.metadata,this.payment_method=new e(t.payment_method),this.payment_intent_id=t.payment_intent_id,this.refunded=t.refunded,this.status=t.status,this.created_at=t.created_at,this.updated_at=t.updated_at}get disputedStatus(){const t=this.disputes.some((t=>t.status===n.lost));return this.disputed?t?n.lost:n.open:null}get payment_type(){return this.payment_method?this.payment_method.card?i.card:i.bankAccount:i.unknown}get payers_name(){return this.payment_method.payersName}get last_four_digits(){return this.payment_method.lastFourDigits}}export{a as P,s as a}
@@ -1 +0,0 @@
1
- import{r as o,c as r,h as t}from"./p-fad19d75.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import{a as i}from"./p-d1f75fa6.js";import"./p-3db8b3c7.js";import{l as a}from"./p-c13a7d10.js";import{c as e}from"./p-5a62fca2.js";import{a as s,C as b}from"./p-14c91ffd.js";import{g as f}from"./p-8115b2f4.js";import{J as d}from"./p-8037704c.js";import{B as c}from"./p-9c9c7dac.js";import{S as n}from"./p-74da98da.js";import{c as l}from"./p-57125bd1.js";import"./p-25d2ed4c.js";import"./p-0e180654.js";const m=class{constructor(t){o(this,t),this.submitted=r(this,"submitted",7),this.errorEvent=r(this,"error-event",7),this.bankAccount=void 0,this.card=void 0,this.email=void 0,this.clientId=void 0,this.authToken=void 0,this.accountId=void 0,this.submitButtonText=void 0,this.submitButtonEnabled=!0,this.isLoading=!1,this.selectedPaymentMethodType=i.card}componentWillLoad(){l(),this.analytics=new d(this),this.validateProps()||(this.errorEvent.emit({errorCode:s.MISSING_PROPS,message:"clientId or authToken is required",severity:b.ERROR}),this.submitButtonEnabled=!1)}connectedCallback(){a()}disconnectedCallback(){this.analytics.cleanup()}async fillBillingForm(o){this.billingFormRef.fill(o)}async enableSubmitButton(){this.submitButtonEnabled=!0}async disableSubmitButton(){this.submitButtonEnabled=!1}showPaymentMethodTypeSelector(){return this.card&&this.bankAccount}getSelectedPaymentMethodType(){return this.showPaymentMethodTypeSelector()?this.selectedPaymentMethodType:this.card?i.card:this.bankAccount?i.bankAccount:i.card}paymentMethodSelectedHandler(o){this.selectedPaymentMethodType=o.detail}validateProps(){return!(!this.clientId&&!this.authToken)}getToken(){return this.authToken||this.clientId}async submit(o){if(o.preventDefault(),!this.paymentMethodFormRef||!this.billingFormRef)return;const r=await this.billingFormRef.validate(),t=await this.paymentMethodFormRef.validate();if(r.isValid&&t.isValid){this.isLoading=!0;try{const o=await this.billingFormRef.getValues(),r=Object.assign({email:this.email},o),t=await this.paymentMethodFormRef.tokenize(this.getToken(),r,this.accountId);t.error&&this.errorEvent.emit({errorCode:s.TOKENIZE_ERROR,message:t.error.message,severity:b.ERROR}),this.submitted.emit(t)}catch(o){this.errorEvent.emit({errorCode:s.UNKNOWN_ERROR,message:f(o),severity:b.ERROR})}finally{this.isLoading=!1}}}render(){return t(n,{key:"a2391aac29babb363f477ec8254491e5790ee34e"},t("form",{key:"d41b1f80b10c9be6def16ba694a8a94a14b09d13",class:"row gy-3"},this.showPaymentMethodTypeSelector()&&t("div",{key:"26c13e2fa0f1df35c8477b14fbd5a91e65b3d2fa",class:"col-12"},t("justifi-payment-method-selector",{key:"8c8a4989c3bef7f1b701ab06494e65d1d5f18fff",selectedPaymentMethodType:this.getSelectedPaymentMethodType(),onPaymentMethodSelected:o=>this.paymentMethodSelectedHandler(o)})),t("div",{key:"49917b87314717b1cb0cd9be42ae1f88a05bebad",class:"col-12"},t("justifi-payment-method-form",{key:"786aa47bacfeea8dc2ae0e878633ad33e771892d","payment-method-form-type":this.getSelectedPaymentMethodType(),iframeOrigin:e.iframeOrigin,ref:o=>{o&&(this.paymentMethodFormRef=o)}})),t("div",{key:"7bd1068b1eb84e58ad0b13702b4d5e6d1bb548a4",class:"col-12"},t("justifi-billing-form",{key:"63e53f0e0073f84b3d665d6cc7f7381f0d74e653",legend:"Billing Info",ref:o=>{o&&(this.billingFormRef=o)}})),t("slot",{key:"bd274a3501c6ad6225bb928a9e0c3354a075ee5b",name:"insurance"}),t("div",{key:"5c777cc15acc4e74690e7060130c35398227f60d",class:"col-12"},t(c,{key:"6c5b367e177f64d6034eac6fc21468ab34ab9e5e",variant:"primary",type:"submit",onClick:o=>this.submit(o),disabled:!this.submitButtonEnabled||this.isLoading,isLoading:this.isLoading,"data-testid":"submit-button",style:{width:"100%"}},this.submitButtonText||"Submit"))))}};m.style=":host{display:block}justifi-payment-method-form{display:block;margin-left:calc(var(--jfi-layout-padding) * -1);margin-right:calc(var(--jfi-layout-padding) * -1)}*::part(label){color:var(--jfi-form-label-color);font-family:var(--jfi-form-label-font-family);font-weight:var(--jfi-form-label-font-weight);font-size:var(--jfi-form-label-font-size);margin:var(--jfi-form-label-margin)}*::part(input){font-family:var(--jfi-layout-font-family);background-color:var(--jfi-form-control-background-color);border-color:var(--jfi-form-control-border-color);border-width:var(--jfi-form-control-border-width);border-bottom-width:var(--jfi-form-control-border-bottom-width);border-left-width:var(--jfi-form-control-border-left-width);border-right-width:var(--jfi-form-control-border-right-width);border-top-width:var(--jfi-form-control-border-top-width);border-radius:var(--jfi-form-control-border-radius);border-style:var(--jfi-form-control-border-style);box-shadow:var(--jfi-form-control-box-shadow);color:var(--jfi-form-control-color);font-size:var(--jfi-form-control-font-size);font-weight:var(--jfi-form-control-font-weight);line-height:var(--jfi-form-control-line-height);margin:var(--jfi-form-control-margin);padding:var(--jfi-form-control-padding)}*::part(input):focus{color:var(--jfi-form-control-color-focus);border-color:var(--jfi-form-control-border-color-focus);box-shadow:var(--jfi-form-control-box-shadow-focus)}*::part(input-invalid){border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error)}*::part(input-invalid):focus{border-color:var(--jfi-form-control-border-color-error);box-shadow:var(--jfi-form-control-box-shadow-error-focus)}.jfi-submit-button{font-family:var(--jfi-layout-font-family);color:var(--jfi-submit-button-color);background-color:var(--jfi-submit-button-background-color);border-color:var(--jfi-submit-button-border-color);padding:var(--jfi-submit-button-padding);font-size:var(--jfi-submit-button-font-size);border-radius:var(--jfi-submit-button-border-radius);width:var(--jfi-submit-button-width);box-shadow:var(--jfi-submit-button-box-shadow)}.jfi-submit-button:hover{color:var(--jfi-submit-button-color-hover);background-color:var(--jfi-submit-button-background-color-hover);border-color:var(--jfi-submit-button-border-color-hover)}.jfi-submit-button:focus{color:var(--jfi-submit-button-color-focus);background-color:var(--jfi-submit-button-background-color-focus);border-color:var(--jfi-submit-button-border-color-focus)}.btn.jfi-submit-button:active{color:var(--jfi-submit-button-color-active);background-color:var(--jfi-submit-button-background-color-active);border-color:var(--jfi-submit-button-border-color-active)}.btn.jfi-submit-button-loading{min-width:75px;color:var(--jfi-submit-button-color-loading);background-color:var(--jfi-submit-button-background-color-loading);border-color:var(--jfi-submit-button-border-color-loading)}.btn.jfi-submit-button-loading .spinner-border{border-top-color:var(--jfi-submit-button-color-loading);border-bottom-color:var(--jfi-submit-button-color-loading);border-left-color:var(--jfi-submit-button-color-loading)}";export{m as justifi_payment_form}
@@ -1 +0,0 @@
1
- import{r as t,h as e}from"./p-fad19d75.js";import{E as a}from"./p-a8b4f429.js";import{S as i}from"./p-74da98da.js";const s=class{constructor(e){t(this,e),this.errorMessage=void 0}render(){return e(i,{key:"c7c725936e4987ca76781b7edc73f1b67e00f21a",exportParts:"detail-empty-state, detail-metadata-title, detail-metadata, detail-section, detail-section-title, \n detail-section-item-title, detail-section-item-data, detail-head, detail-title, detail-head-info"},this.errorMessage?a(this.errorMessage):e("main",{class:"p-2"},e("slot",{name:"head-info"}),e("slot",{name:"detail-sections"})))}};export{s as justifi_details}
@@ -1 +0,0 @@
1
- var e;!function(e){e.nextStep="nextStep",e.previousStep="previousStep",e.cancelDispute="cancelDispute",e.counterDispute="counterDispute",e.submit="submit"}(e||(e={}));export{e as D}
@@ -1 +0,0 @@
1
- import{r as t,c as e,h as s}from"./p-fad19d75.js";import{c as i,d as a,e as r}from"./p-5968ff8a.js";import{I as d}from"./p-f6f8dabc.js";import{F as o}from"./p-3c654c07.js";import{O as h}from"./p-5e7c60d8.js";import{a as c}from"./p-a76ece26.js";import{i as n}from"./p-297faf3d.js";import{B as f}from"./p-9c9c7dac.js";import{S as l,P as b}from"./p-525db3e8.js";import{u as m,a as u,b as p}from"./p-7d85af5c.js";import"./p-14c91ffd.js";import"./p-8115b2f4.js";import"./p-5a62fca2.js";import"./p-0e180654.js";import"./p-1ff8810b.js";import"./p-6078a370.js";import"./p-b0311e88.js";import"./p-1815a43b.js";const y=class{constructor(s){t(this,s),this.errorEvent=e(this,"error-event",7),this.getOwner=void 0,this.patchOwner=void 0,this.postOwner=void 0,this.authToken=void 0,this.ownerId=void 0,this.businessId=void 0,this.allowOptionalFields=void 0,this.removeOwner=void 0,this.newFormOpen=void 0,this.ownersLength=void 0}async validate(){return this.coreComponent.validate()}async submit(){return this.coreComponent.submit()}async validateAndSubmit({onSuccess:t}){this.coreComponent.validateAndSubmit({onSuccess:t})}componentWillLoad(){this.initializeApi()}initializeApi(){this.authToken&&(this.getOwner=i({authToken:this.authToken,identityId:this.ownerId,service:new d}),this.patchOwner=a({authToken:this.authToken,identityId:this.ownerId,service:new d}),this.postOwner=r({authToken:this.authToken,service:new d}))}render(){return s("owner-form-core",{key:"332d1e77d01886f13aba09b32b2d5f2199131619",ownerId:this.ownerId,businessId:this.businessId,getOwner:this.getOwner,patchOwner:this.patchOwner,postOwner:this.postOwner,allowOptionalFields:this.allowOptionalFields,removeOwner:this.removeOwner,newFormOpen:this.newFormOpen,ownersLength:this.ownersLength,ref:t=>this.coreComponent=t})}},v=class{loadingWatcher(){this.formLoading.emit(this.isLoading)}constructor(s){t(this,s),this.submitted=e(this,"submitted",7),this.ownerSubmitted=e(this,"ownerSubmitted",7),this.clickEvent=e(this,"click-event",7),this.formLoading=e(this,"formLoading",7),this.errorEvent=e(this,"error-event",7),this.getData=()=>{this.isLoading=!0,this.getOwner({onSuccess:t=>{this.instantiateOwner(t.data)},onError:({error:t,code:e,severity:s})=>{this.errorEvent.emit({message:t,errorCode:e,severity:s})},final:()=>this.isLoading=!1})},this.sendData=()=>(this.isLoading=!0,new Promise((t=>{this.ownerId?this.patchOwner({payload:this.payload,onSuccess:e=>{this.submitted.emit({data:e,metadata:{ownerID:e.data.id}}),this.ownerSubmitted.emit({id:e.data.id}),this.instantiateOwner(e.data),t(!0)},onError:({error:e,code:s,severity:i})=>{this.submitted.emit({data:{error:e}}),this.errorEvent.emit({message:e,errorCode:s,severity:i}),t(!1)},final:()=>this.isLoading=!1}):this.postOwner({payload:this.payload,onSuccess:e=>{this.submitted.emit({data:e,metadata:{ownerID:e.data.id}}),this.ownerSubmitted.emit({id:e.data.id}),this.instantiateOwner(e.data),t(!0)},onError:({error:e,code:s,severity:i})=>{this.submitted.emit({data:{error:e}}),this.errorEvent.emit({message:e,errorCode:s,severity:i}),t(!1)},final:()=>this.isLoading=!1})}))),this.instantiateOwner=async t=>{this.owner=Object.assign({},new h(t)),await this.formController.setInitialValues(this.owner)},this.handleAddOwner=()=>{this.clickEvent.emit({name:this.ownerId?c.updateOwner:c.addOwner})},this.handleRemoveOwner=()=>{this.removeOwner(this.ownerId),this.clickEvent.emit({name:c.removeOwner})},this.isLoading=!1,this.formController=void 0,this.errors={},this.owner={},this.ownerId=void 0,this.businessId=void 0,this.getOwner=void 0,this.patchOwner=void 0,this.postOwner=void 0,this.allowOptionalFields=void 0,this.removeOwner=void 0,this.newFormOpen=void 0,this.ownersLength=void 0,this.validate=this.validate.bind(this),this.submit=this.submit.bind(this),this.validateAndSubmit=this.validateAndSubmit.bind(this)}async returnOwnerData(){return this.ownerId}async validate(){return this.formController.validate()}async submit(){if(await this.validate())return this.sendData()}async validateAndSubmit(t){t.preventDefault(),await this.validate()&&this.submit()}get payload(){let t=new h(this.formController.values.getValue()).payload;return this.ownerId?t:Object.assign(Object.assign({},t),{business_id:this.businessId})}get formTitle(){return this.ownerId?"Edit Business Owner":"Add Business Owner"}get submitButtonText(){return this.ownerId?"Update":"Add"}get showRemoveButton(){return!(this.ownersLength<=1)&&(!(this.ownerId||!this.newFormOpen)||!(!this.ownerId||this.newFormOpen)||void 0)}componentWillLoad(){this.formController=new o(n("owner",this.allowOptionalFields)),this.ownerId?this.getData():this.instantiateOwner({})}componentDidLoad(){this.formController.errors.subscribe((t=>this.errors=Object.assign({},t)))}render(){return s("form",{key:"d7ab875b1efd58b9d17e40789eb43454d5601f47",onSubmit:this.validateAndSubmit},s("fieldset",{key:"144871e2128c17ea843d3d0dc2c7b5dd51057107"},s("legend",{key:"b9a2229e0cb1220c2b848f56f512816253d98e36",class:"fw-semibold fs-5"},this.formTitle),s("br",{key:"d95786bee5d4640f970bfccea626a6d0bc7fb4a6"}),s("div",{key:"f74c1b45eda698ca786214c2d30342ead9c820f0",class:"row gy-3"},s("owner-form-inputs",{key:"bc6a213dc74e1f30c7c18f65a31e1aaa9130746a",ownerDefaultValue:this.formController.getInitialValues(),errors:this.errors,formController:this.formController}),s("div",{key:"e7536fc512a652bde416259b7f6177e5957b893f",class:"d-flex gap-2 justify-content-start"},s(f,{key:"61c88e81e942f2e324b24b2634fe365863a2f23f",variant:"secondary",type:"button",onClick:this.handleRemoveOwner,hidden:!this.showRemoveButton},"Remove"),s(f,{key:"c280f92cf606abbc1ba30bef331407af7db9cb19",variant:"primary",type:"submit",onClick:this.handleAddOwner,disabled:this.isLoading},this.submitButtonText))),s("hr",{key:"10658eebfb37c21186b7a5d36e60db5daa9f26f6"})))}static get watchers(){return{isLoading:["loadingWatcher"]}}},k=class{constructor(e){t(this,e),this.inputHandler=(t,e)=>{m(this.formController,{[t]:e})},this.onAddressFormUpdate=t=>{u(this.formController,Object.assign(Object.assign({},this.formController.values.getValue().address),t))},this.ownerDefaultValue=void 0,this.errors=void 0,this.formController=void 0}render(){return s("div",{key:"00c4e99a70bdeac642774796bb6a983ad926b86d",class:"row gy-3"},s("div",{key:"457ba67f652e7ec33909764667b76b25c0c01f75",class:"col-12 col-md-8"},s("form-control-text",{key:"33293c6a0fc131c1db2d498f2ea8774cb9689b8e",name:"name",label:"Full Name",defaultValue:this.ownerDefaultValue.name,errorText:this.errors.name,inputHandler:this.inputHandler})),s("div",{key:"07be686fa8f43b04bd3a925e969ecede1286e651",class:"col-12 col-md-4"},s("form-control-text",{key:"c89285d508e0d809332f529edef3e6d3a68c4993",name:"title",label:"Title",defaultValue:this.ownerDefaultValue.title,errorText:this.errors.title,inputHandler:this.inputHandler,helpText:"Role at your business, e.g. President, CEO, Treasurer."})),s("div",{key:"76af9226fb138b2698c254ba26749b5d372ee14d",class:"col-12 col-md-6"},s("form-control-text",{key:"37f334b0ee260501fd99845b6196a94c56fd16da",name:"email",label:"Email Address",defaultValue:this.ownerDefaultValue.email,errorText:this.errors.email,inputHandler:this.inputHandler})),s("div",{key:"3750f6f86d1bc3c3a1796a06ef4119ee188f2b56",class:"col-12 col-md-6"},s("form-control-number-masked",{key:"283f5179e64378a7a07a654d28511558de03ca68",name:"phone",label:"Phone Number",defaultValue:this.ownerDefaultValue.phone,errorText:this.errors.phone,inputHandler:this.inputHandler,mask:b.US})),s("div",{key:"48186c6dfe8cd2a27de92db9970953e1e99340f2",class:"col-12 col-md-4"},s("form-control-date",{key:"6d90d43875feefd24477279232a21b4ac7a7b7bc",name:"dob_full",label:"Birth Date",defaultValue:this.ownerDefaultValue.dob_full,errorText:this.errors.dob_full,inputHandler:this.inputHandler,onFormControlInput:t=>p(t,this.formController),helpText:"Must be 18 or older."})),s("div",{key:"19b1a6fd0dd52d3d5f52cf764ff429bd26ba8cdd",class:"col-12 col-md-8"},s("form-control-number-masked",{key:"5a7ea47c254967f0d3d546ac9949dfa3d670bc25",name:"identification_number",label:"SSN",defaultValue:this.ownerDefaultValue.identification_number,errorText:this.errors.identification_number,inputHandler:this.inputHandler,mask:l,helpText:"Enter your full Social Security Number. It is required for Federal OFAC check."})),s("div",{key:"59c4fcb4186d488497d66479fced70bf2dc24d89",class:"col-12"},s("justifi-identity-address-form",{key:"faff7bb194f9c2c2ff80193db18ab0030f34fc09",errors:this.errors.address,defaultValues:this.ownerDefaultValue.address,handleFormUpdate:this.onAddressFormUpdate})))}};export{y as justifi_owner_form,v as owner_form_core,k as owner_form_inputs}
@@ -1 +0,0 @@
1
- import{r as l,h as i,H as t}from"./p-fad19d75.js";import{c as e,D as s}from"./p-a8b4f429.js";import{i as d,s as o,e as v}from"./p-c13a7d10.js";const u=class{constructor(i){l(this,i),this.additionalQuestions=void 0}render(){var l,o;return d(this.additionalQuestions)?null:i(t,null,i(s,{sectionTitle:"Additional Questions"}),i("div",{class:"d-table gap-2 w-100"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Business Revenue",value:null===(l=this.additionalQuestions.business_revenue)||void 0===l?void 0:l.toString()}),i(e,{title:"Business Payment Volume",value:null===(o=this.additionalQuestions.business_payment_volume)||void 0===o?void 0:o.toString()})))))}};u.style=".flex-1{flex:1}";const a=class{constructor(i){l(this,i),this.business=void 0}render(){var l,d,v,u,a,n,r,c;return this.business?i(t,null,i(s,{sectionTitle:"Business Generic Info Details"}),i("div",{class:"d-table gap-2 w-100"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Legal Name",value:null===(l=this.business)||void 0===l?void 0:l.legal_name}),i(e,{title:"Doing Business As (DBA)",value:null===(d=this.business)||void 0===d?void 0:d.doing_business_as}),i(e,{title:"Business Classification",value:o(null===(v=this.business)||void 0===v?void 0:v.classification)}),i(e,{title:"Industry",value:null===(u=this.business)||void 0===u?void 0:u.industry})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Tax ID",value:null===(a=this.business)||void 0===a?void 0:a.tax_id}),i(e,{title:"Website URL",value:null===(n=this.business)||void 0===n?void 0:n.website_url}),i(e,{title:"Email Address",value:null===(r=this.business)||void 0===r?void 0:r.email}),i(e,{title:"Phone Number",value:null===(c=this.business)||void 0===c?void 0:c.phone}))))):null}};a.style=".flex-1{flex:1}";const n=class{constructor(i){l(this,i),this.legalAddress=void 0}render(){var l,o,v,u,a,n,r;return d(this.legalAddress)?null:i(t,null,i(s,{sectionTitle:"Business Legal Address Details"}),i("div",{class:"d-table gap-2 w-100"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Country",value:null===(l=this.legalAddress)||void 0===l?void 0:l.country}),i(e,{title:"Legal Address",value:null===(o=this.legalAddress)||void 0===o?void 0:o.line1}),i(e,{title:"Address Line 2",value:null===(v=this.legalAddress)||void 0===v?void 0:v.line2})),i("div",{class:"col-12 col-md-6"},i(e,{title:"City",value:null===(u=this.legalAddress)||void 0===u?void 0:u.city}),i(e,{title:"State",value:null===(a=this.legalAddress)||void 0===a?void 0:a.state}),i(e,{title:"Postal Code",value:null===(r=null===(n=this.legalAddress)||void 0===n?void 0:n.postal_code)||void 0===r?void 0:r.toString()})))))}};n.style=".flex-1{flex:1}";const r=class{constructor(i){l(this,i),this.owners=void 0}render(){var l;return(null===(l=null==this?void 0:this.owners)||void 0===l?void 0:l.length)?i(t,null,!!(null==this?void 0:this.owners.length)&&this.owners.map((l=>{var t,d,o,u,a;return[i(s,{sectionTitle:`Owner ${null==l?void 0:l.name}'s Details`}),i("div",{class:"d-table gap-2 w-100"},i(e,{title:"Name",value:null==l?void 0:l.name}),i(e,{title:"Title",value:null==l?void 0:l.title}),i(e,{title:"Email",value:null==l?void 0:l.email}),i(e,{title:"Phone",value:null==l?void 0:l.phone}),i(e,{title:"Date of Birth",value:v(new Date(Number(null==l?void 0:l.dob_day),Number(null==l?void 0:l.dob_month),Number(null==l?void 0:l.dob_year)))}),i(e,{title:"Identification Number",value:`********${null==l?void 0:l.ssn_last4}`}),i(e,{title:"Line 1",value:null===(t=null==l?void 0:l.address)||void 0===t?void 0:t.line1}),i(e,{title:"Line 2",value:null===(d=null==l?void 0:l.address)||void 0===d?void 0:d.line2}),i(e,{title:"City",value:null===(o=null==l?void 0:l.address)||void 0===o?void 0:o.city}),i(e,{title:"State",value:null===(u=null==l?void 0:l.address)||void 0===u?void 0:u.state}),i(e,{title:"Zip",value:null===(a=null==l?void 0:l.address)||void 0===a?void 0:a.postal_code}))]}))):null}};r.style=".flex-1{flex:1}";const c=class{constructor(i){l(this,i),this.representative=void 0}render(){var l,o,u,a,n,r,c,h,m,f,p,b,g,w;return d(this.representative)?null:i(t,null,i(s,{sectionTitle:"Representative Details"}),i("div",{class:"d-table gap-2 w-100"},i("div",{class:"row gy-3"},i("div",{class:"col-12 col-md-6"},i(e,{title:"Name",value:null===(l=this.representative)||void 0===l?void 0:l.name}),i(e,{title:"ID",value:null===(o=this.representative)||void 0===o?void 0:o.id}),i(e,{title:"Address",value:null===(a=null===(u=this.representative)||void 0===u?void 0:u.address)||void 0===a?void 0:a.line1}),i(e,{title:"Created At",value:(null===(n=this.representative)||void 0===n?void 0:n.created_at)&&v(null===(r=this.representative)||void 0===r?void 0:r.created_at)})),i("div",{class:"col-12 col-md-6"},i(e,{title:"Title",value:null===(c=this.representative)||void 0===c?void 0:c.title}),i(e,{title:"Is Owner?",value:null===(h=this.representative)||void 0===h?void 0:h.is_owner.toString()}),i(e,{title:"Date Of Birth",value:this.representative&&v(new Date(Number(null===(m=this.representative)||void 0===m?void 0:m.dob_year),Number(null===(f=this.representative)||void 0===f?void 0:f.dob_month)-1,Number(null===(p=this.representative)||void 0===p?void 0:p.dob_day)))}),i(e,{title:"Email",value:null===(b=this.representative)||void 0===b?void 0:b.email}),i(e,{title:"Phone",value:null===(g=this.representative)||void 0===g?void 0:g.phone}),i(e,{title:"Updated At",value:this.representative&&v(null===(w=this.representative)||void 0===w?void 0:w.updated_at)})))))}};c.style=".flex-1{flex:1}";export{u as additional_questions_details,a as generic_info_details,n as legal_address_details,r as owner_details,c as representative_details}
@@ -1 +0,0 @@
1
- import{r as e,h as a,c}from"./p-fad19d75.js";import{D as d}from"./p-d516e700.js";const t=class{constructor(a){e(this,a)}render(){return a("div",{key:"21cee41c41fa70a5cc6b82f14ea49ee01086fa71"},a("div",{key:"90d9a279089ce3d5e6861aaab2175ded06a5b8b3",class:"row gy-3"},a("div",{key:"15a2cdde695c98c47bae644964457c7275e0933f",class:"col-12"},a("h2",{key:"515f18bc0215936f6dc28cefbabbdbdb12c6ba61",class:"h5"},"Additional Evidence")),a("div",{key:"e1ee3b76fb7455c4feeaef6bb9368b4b07ed361b",class:"col-12"},a("form-control-textarea",{key:"3d4ce8f83f457dd28f08dc5f973a76f9a9d4e362",label:"Is there anything else you would like to say about this dispute?",name:"additional_statement"})),a("div",{key:"46445fa4158cd16fb3e2e26111c4a62fe386bbc0",class:"col-12"},a("form-control-file",{key:"025ada3f8f2c0a2c185f9be0bfbb9816a560371e",label:"Additional files",name:"uncategorized_file",multiple:!0,helpText:"Upload any additional pieces of evidence that have not already been provided."}))))}},s=class{constructor(a){e(this,a)}render(){return a("div",{key:"a35e9980fbad9752a00473711fadc0e69c16a909"},a("div",{key:"024a9bee273b6a1d470e218b2bbd541b299c0f24",class:"row gy-3"},a("div",{key:"394ba5a5fa8bf4726ca4c96cc4f1d75454f6b563",class:"col-12"},a("h2",{key:"0cb7dddab83455d8c11d888ce9638bb93d8e00c9",class:"h5"},"Cancellation Policy")),a("div",{key:"02c70eaf5b9d9876c3aa31edb070006cd6b67b98",class:"col-12"},a("form-control-textarea",{key:"266a114845ca7e793e0a8a5b98e506a867a7a98f",label:"Cancellation Policy Disclosure",name:"cancellation_policy_disclosure"})),a("div",{key:"943b51f7849ae1fcac7320f8532d15371f064db8",class:"col-12"},a("form-control-textarea",{key:"89de507fbed48afb4733b87f5e249bdafecea3af",label:"Cancellation Rebuttal",name:"cancellation_rebuttal"})),a("div",{key:"078a0874b5d203d1de4e2f2e5ae9a2eb95f28015",class:"col-12"},a("form-control-file",{key:"7f2003888aaf189a8d86ab010a54e0bd511cb198",label:"Upload Cancellation Policy",name:"cancellation_policy_file"}))))}},i=class{constructor(d){e(this,d),this.submitted=c(this,"submitted",7),this.clickEvent=c(this,"clickEvent",7),this.componentStepMapping=[()=>a("justifi-dispute-reason",{ref:e=>this.refs.disputeReason=e}),()=>a("justifi-product-or-service",{ref:e=>this.refs.productOrService=e}),()=>a("justifi-customer-details",{ref:e=>this.refs.customerDetails=e}),()=>a("justifi-cancellation-policy",{ref:e=>this.refs.cancellationPolicy=e}),()=>a("justifi-refund-policy",{ref:e=>this.refs.refundPolicy=e}),()=>a("justifi-duplicate-charge",{ref:e=>this.refs.duplicateCharge=e}),()=>a("justifi-electronic-evidence",{ref:e=>this.refs.electronicEvidence=e}),()=>a("justifi-shipping-details",{ref:e=>this.refs.shippingDetails=e}),()=>a("justifi-additional-statement",{ref:e=>this.refs.additionalStatement=e})],this.currentStep=0,this.refs=[]}get currentStepComponent(){return this.componentStepMapping[this.currentStep]()}get isLastStep(){return this.currentStep===this.componentStepMapping.length-1}get isFirstStep(){return 0===this.currentStep}onNext(){this.isLastStep?this.submitted.emit():(this.currentStep++,this.clickEvent.emit({name:d.nextStep}))}onBack(){this.isFirstStep?this.clickEvent.emit({name:d.cancelDispute}):(this.currentStep--,this.clickEvent.emit({name:d.previousStep}))}render(){return a("div",{key:"13d344932e268f2f7897b264cedf6b3c69a498cf",class:"row gy-3"},a("div",{key:"29d738e8e1925fcf93665dc3f309323ae0038827",class:"col-12"},a("h1",{key:"40851127cf923609417a5ad66d12d8cbf1b40677",class:"h4"},"Counter dispute")),a("div",{key:"912661ac1f025c8fbe84f1e832faedccc167a826",class:"col-12"},this.currentStepComponent),a("div",{key:"671208da8faed3e7d1002b621c2efe4880b8e0e4",class:"col-12"},a("div",{key:"494dd89b717e182869b5de662a75b474ee11ffea",class:"d-flex gap-2 mt-4 justify-content-end"},a("button",{key:"76a86cc3df9cc0202bb6d2bf8afddc5ca4f82f91",class:"btn btn-secondary",onClick:()=>this.onBack()},this.isFirstStep?"Cancel":"Back"),a("button",{key:"1fcb2a5d5c8662b5aea38ed708407a49228893bf",class:"btn btn-primary",onClick:()=>this.onNext()},this.isLastStep?"Submit Counter Dispute":"Next"))))}},f=class{constructor(a){e(this,a)}render(){return a("div",{key:"4511521cc0b5d152847fe47515a932bc25632b69"},a("div",{key:"ccc20447c74727d926159c4bbd78d7aa81f406fb",class:"row gy-3"},a("div",{key:"09d693c977d9f55978df56fd94f37e65fcf42548",class:"col-12"},a("h2",{key:"ef47704c5d35b7b18e49603e050a1128728219b4",class:"h5"},"Customer Details")),a("div",{key:"0f6ee829c192d15b22208d207ab34d7c433b1c8d",class:"col-12"},a("form-control-text",{key:"8f64ca680c0dcd4b41d93523a62e0b3bbf1daf3e",label:"Full Name",name:"customer_name"})),a("div",{key:"8789d52f77c2cb673260fa12382c31725e2a7ffa",class:"col-12"},a("form-control-text",{key:"af48dedd7c9ce318a7d1009c1227cceda2d799b0",label:"Email",name:"customer_email_address"})),a("div",{key:"17fdeea69f9eab82e55d63cd55af079532696d57",class:"col-12"},a("form-control-textarea",{key:"05d930b272e0162100412bc81a05df8cd2817e21",label:"Billing Address",name:"customer_billing_address"})),a("div",{key:"abd6e1f661bfb2b5ac54460d97283b7a1092ac79",class:"col-12"},a("form-control-file",{key:"4ee87cf74482c31a297bcd108ddd0ad69f3d7366",label:"Customer Signature",name:"customer_signature"})),a("div",{key:"f33ec1c7c4791828d456e27ee1dcbc665220821d",class:"col-12"},a("form-control-file",{key:"c2bb6a3c58eb20652566d9cb1c524b4390bbab33",label:"Customer Communication",name:"customer_communication"}))))}},l=class{constructor(a){e(this,a),this.submitted=c(this,"submitted",7),this.clickEvent=c(this,"clickEvent",7)}acceptDispute(){this.submitted.emit()}initiateCounterDispute(){this.clickEvent.emit({name:"counterDispute"})}render(){return a("div",{key:"0d0972438c4853aa287ec5fc3f6ac73065901cf8"},a("h1",{key:"017c26575eb5896d2b4e14cacbe64ae03ee448d3",class:"h4"},"This payment was disputed"),a("p",{key:"e67a528f7776d024aa8637d1e698c28a089b29a4"},"The cardholder for this payment claims that the product was not received."),a("p",{key:"abefc2a97d6c97dc2b335eb056e51a41523b8a7e"},"You can either counter the dispute by presenting proof of the product's delivery to or use by the cardholder, or you can choose to accept the dispute right away, refund the cardholder, and resolve the matter."),a("h2",{key:"8db22af9658f7bafefa08a8f7bb3d472ddb2031c",class:"h5"},"Dispute details"),a("div",{key:"6a2fed3e4eeef95f234645d21204459a58f7361b",class:"d-table gap-2"},a("div",{key:"728991225235e32591c7e06c92b268e64328f6d6",class:"d-table-row gap-2"},a("span",{key:"c86a018efc52559e2378c1be7b42bb8a135ab59d",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Amount"),a("span",{key:"8e35d45cdaca9f6942e0198a0f048c25f4076cd3",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},"$50.00")),a("div",{key:"d46174ef479090e4903ca7d31fe91200fc7801e2",class:"d-table-row gap-2"},a("span",{key:"2fa646161979d79798a4a4de2e8b4d50c53eebda",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Reason"),a("span",{key:"a6685b45566eb217cc9354c52f21e250d19fac6f",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},"Product not received")),a("div",{key:"24cbc95215f43c523443b5987ac4759f4a151778",class:"d-table-row gap-2"},a("span",{key:"edff0d1c841ca687c82371c16978ce8b74f42a2f",part:"detail-section-item-title",class:"fw-bold d-table-cell pe-4"},"Dispute ID"),a("span",{key:"a9adf4c147677fc7e2fc30382b0943c6a4abb99f",part:"detail-section-item-data",class:"flex-1 d-table-cell text-wrap"},"dis_1234567890"))),a("div",{key:"19038f6b2169c8cc09d386f19e5679275642671a",class:"d-flex gap-2 mt-4 justify-content-end"},a("button",{key:"115bbcc4b0fcbc4d31b09445c5d7fb419394b5ff",class:"btn btn-secondary",onClick:()=>this.acceptDispute()},"Accept dispute"),a("button",{key:"bb526454770114506239c1062e2d657ded4195e2",class:"btn btn-primary",onClick:()=>this.initiateCounterDispute()},"Counter dispute")))}},o=class{constructor(a){e(this,a)}render(){return a("div",{key:"012cc41aff83527468bbd2aa375c436876bc95ab",class:"row gy-3"},a("div",{key:"b52a68e86969e7f581e07b2d30b536a764778a7e",class:"col-12"},a("h2",{key:"0c03884aef100c47a4b178b2da84a7c0c6ac7609",class:"h5"},"Why are you countering this dispute?"),a("div",{key:"f538c9bb9134bc57e69e9edce4087cef376634fa",class:"row gy-3"},a("div",{key:"9c1f5e09e19d8d4830526bd2cf14c02c7b56d1f9",class:"col-12"},a("form-control-radio",{key:"f0498d4524db28040f460632165213b7756263b4",name:"disputeReason",label:"The cardholder withdrew the dispute",value:"reason1"}),a("form-control-radio",{key:"c62c544f6099c3dccf5b34cb8a0db003496b370d",name:"disputeReason",label:"The cardholder received the product or service",value:"reason2"}),a("form-control-radio",{key:"c3ea107bddf2a740612100bd67b99010fb2a345e",name:"disputeReason",label:"The cardholder was refunded",value:"reason3"}),a("form-control-radio",{key:"d31e6a36cb3adc470809bfc92f48a7a13f0f8b03",name:"disputeReason",label:"The product, service, event or booking was cancelled or delayed due to a government order or other circumstances beyond your control",value:"reason4"}),a("form-control-radio",{key:"4dd304a181be479f7a1db6eb8e6882ce801915fb",name:"disputeReason",label:"Other",value:"reason5"})))))}},b=class{constructor(a){e(this,a)}render(){return a("div",{key:"b02f7b5b70969b8bf441266b368e8ddff43dd1e0"},a("div",{key:"f6fd012b8b477f4e2130872d0b43b85adad25fdd",class:"row gy-3"},a("div",{key:"22f93a10a461f4e6e746b019861380c08bee9715",class:"col-12"},a("h2",{key:"fdcc6a3b8120bb3efa124e6bb79e96f5b444578a",class:"h5"},"Duplicate Charge")),a("div",{key:"750890417b504f0477cf3359384c589f835847e5",class:"col-12"},a("form-control-text",{key:"e3d5f7886d8c6adea82f05a29ed45b41cd7db60e",label:"Original Payment ID",name:"duplicate_charge_original_payment_id"})),a("div",{key:"d7c96b14fc113f70b88c24127edac5311323eb0a",class:"col-12"},a("form-control-textarea",{key:"26fcb96b35087c948cbfd6a469a92ca7cdb86330",label:"Duplicate Charge Explanation",name:"duplicate_charge_explanation"})),a("div",{key:"eadcc0457689882a1c19d18dd2898059d87547b0",class:"col-12"},a("form-control-file",{key:"f7aea8d759f94876bca6213de22cff28f8db8783",label:"Duplicate Charge Documentation",name:"duplicate_charge_documentation"}))))}},r=class{constructor(a){e(this,a)}render(){return a("div",{key:"9db83df31da31c0f2506636c3626bd7edfce8ee4"},a("div",{key:"5d7ddc3e3a54efe160240d1996f405e4d3038ed6",class:"row gy-3"},a("div",{key:"ea60427980d5b149ab8df1490334fda670c1af42",class:"col-12"},a("h2",{key:"b50cbc7b5d48d62dc88c4c27c568f67d46ea212f",class:"h5"},"Electronic Evidence")),a("div",{key:"523b2a97794e2772c74633bbda2926f339ad7797",class:"col-12"},a("form-control-text",{key:"f4769f6d1f3e175963fe7e8b547ae005866ba758",label:"Purchase IP Address",name:"customer_purchase_ip_address",helpText:"The IP address used by the customer during the purchase."})),a("div",{key:"eb86f2c489bfaa93daa12fb126cff980249a16de",class:"col-12"},a("form-control-textarea",{key:"7d5090db5478ec0ac38a68113a8786eca7e63549",label:"Activity Logs",name:"access_activity_log",helpText:"Any server or activity logs that provide evidence of the customer's access to or download of the purchased digital product. This information should encompass IP addresses, relevant timestamps, and any detailed records of activity."}))))}},n=class{constructor(a){e(this,a),this.productOrService=void 0}render(){return a("div",{key:"1093c8d9b1fe6875c3cd0fc8422f46d6ed5b8aae"},a("div",{key:"6d6df2f3a1c3567bac929adde53dd91d8aee98a3",class:"row gy-3"},a("div",{key:"0111ec6b367ab5728afba391fb62c034c68f75f4",class:"col-12"},a("h2",{key:"850b6360c847ad3da0c16e275acd07a70dcec0c2",class:"h5"},"Product & Service Details")),a("div",{key:"b00fe2787f21032de5203660f6d467d2d3bbecdc",class:"col-12"},a("form-control-text",{key:"d7ac38a0efc9f36894227f85fbee2e2886e96757",label:"Product Description",name:"product_description"})),a("div",{key:"6cda4e7ac36e124043078b3d47513d5a4ec5cac4",class:"col-12"},a("form-control-text",{key:"585744cbc9775643779ecb59752d1f883c4cdea0",label:"Service Date",name:"service_date"})),a("div",{key:"07e96df94d2c40fc9e0e2868cf5b8d4a519d1895",class:"col-12"},a("form-control-file",{key:"e98020135a597563248a5dac713d87715c11752c",label:"Service Documentation",name:"service_documentation"}))))}},y=class{constructor(a){e(this,a)}render(){return a("div",{key:"7f9095e25e7fce0b5277d332f304f99d81693a72"},a("div",{key:"9c81d685961f496f680c795d25f1d33da8693a98",class:"row gy-3"},a("div",{key:"983622ce45a875c01b6d4479e84ce5bfe079e0d6",class:"col-12"},a("h2",{key:"33e426cd1aabf66e97eaf2292c2e79e0f27a82c8",class:"h5"},"Refund Policy and Receipt")),a("div",{key:"6968a33fef60038777e4b34a528c07361486262e",class:"col-12"},a("form-control-textarea",{key:"dcded5a84ef9104045fe228f5a498b42b7c4bc72",label:"Refund Policy Disclosure",name:"refund_policy_disclosure"})),a("div",{key:"5cf7d7017f4a43f3dbf592e2191b8ac5a53f9695",class:"col-12"},a("form-control-textarea",{key:"81c95385cb04ef82fb23b95bc084c118a153280a",label:"Refund Refund Explanation",name:"refund_refusal_explanation"})),a("div",{key:"8ff60b9d1a1159073314905b56ecf46eb35a321e",class:"col-12"},a("form-control-file",{key:"f308750940e7fd12972584281169c265c28834d6",label:"Upload Refund Policy",name:"refund_policy"})),a("div",{key:"802abe379ac422c927022be29effecee97dd1694",class:"col-12"},a("form-control-file",{key:"2d166d7768de62e5f6efb3cd466b856296ce4929",label:"Upload Receipt",name:"receipt"}))))}},u=class{constructor(a){e(this,a)}render(){return a("div",{key:"b751c099794fd1e199fc33c5d09899dfd112983b"},a("div",{key:"199584570dafdf9d7592b58c786c40eab29a9e2d",class:"row gy-3"},a("div",{key:"aa22d4ccaa52177f51584faf433208d55de363af",class:"col-12"},a("h2",{key:"43b90ea2ccca89595bc9edd44e6b6c7231f6a417",class:"h5"},"Shipping Details")),a("div",{key:"337e087f6a073ce3e5add78813e127578599009f",class:"col-12"},a("form-control-text",{key:"6b451a1c2e730adb7672a7d31e2a329ddddb9801",label:"Shipping Carrier Name",name:"shipping_carrier"})),a("div",{key:"ff49c1efb33231b0c81a1b03062031eabcc8b2b5",class:"col-12"},a("form-control-text",{key:"54b17aba899f77e7c988a367fa3405fbed62b7ed",label:"Tracking Number",name:"shipping_tracking_number"})),a("div",{key:"cc9a4441663f35a49d119ffdd71562fec327d6da",class:"col-12"},a("form-control-date",{key:"3e8a41b5a6247a11e11311dcb93e5e567a2bf647",label:"Date Shipped",name:"shipping_date"})),a("div",{key:"0d76ef386013035480f2c1041ddaf4f0a7e88522",class:"col-12"},a("form-control-textarea",{key:"2c587c5c24127aac5c60c20cf6717060a5fbb35f",label:"Shipping Address",name:"shipping_address"})),a("div",{key:"783465b60c9529abfae87c0c92915c3a79e4a3e8",class:"col-12"},a("form-control-file",{key:"ab665466efa871edacc58e60ba572db7f570a83f",label:"Shipping Documentation",name:"shipping_documentation"}))))}};export{t as justifi_additional_statement,s as justifi_cancellation_policy,i as justifi_counter_dispute,f as justifi_customer_details,l as justifi_dispute_notification,o as justifi_dispute_reason,b as justifi_duplicate_charge,r as justifi_electronic_evidence,n as justifi_product_or_service,y as justifi_refund_policy,u as justifi_shipping_details}
@@ -1 +0,0 @@
1
- import{r as t,c as i,h as e,H as s,g as o}from"./p-fad19d75.js";const d=class{constructor(e){t(this,e),this.formControlInput=i(this,"formControlInput",7),this.formControlBlur=i(this,"formControlBlur",7),this.fileSelected=i(this,"fileSelected",7),this.handleFormControlInput=t=>{const i=t.target,e=i.getAttribute("name");this.inputHandler(e,i.value),this.formControlInput.emit({name:e,value:i.value})},this.changeHandler=()=>{const t=this.fileInput.files;t&&this.fileSelected.emit({fileList:t,document_type:this.documentType})},this.files=void 0,this.fileString=void 0,this.label=void 0,this.name=void 0,this.helpText=void 0,this.errorText=void 0,this.multiple=void 0,this.documentType=void 0,this.inputHandler=void 0,this.disabled=void 0}componentDidLoad(){this.fileInput=this.el.querySelector("input")}render(){return e(s,{key:"e67b1c78293ee490ff9f468e98533c2eed03a14a",exportparts:"label,input,input-invalid"},e("div",{key:"373c4ccfdbdd49f00bfe3673bb284930706f7842",class:"form-group d-flex flex-column"},e("div",{key:"93d7524b79cc2a537f4ccc6bea300182ddd31f40",class:"d-flex align-items-start gap-2"},e("label",{key:"f5619fd58b973b31c8ea47b52715ede5f5891283",part:"label",class:"form-label",htmlFor:this.name},this.label),e("form-control-tooltip",{key:"fd0979253100c2e3efbb30a6fd698b756cf42bbe",helpText:this.helpText})),e("input",{key:"8185ccf0fdae02ec7c8cfd6d6cdedfe80f012f4e",ref:t=>this.fileInput=t,type:"file",name:this.name,part:`input ${this.errorText?"input-invalid ":""}${this.disabled?"input-disabled":""}`,class:this.errorText?"form-control is-invalid":"form-control",multiple:this.multiple,disabled:this.disabled,onChange:this.changeHandler,onInput:this.handleFormControlInput,onBlur:()=>this.formControlBlur.emit()}),e("form-control-error-text",{key:"0aef8ab535103ef7a0b8f7df3b23508985559072",errorText:this.errorText,name:this.name})))}get el(){return o(this)}};export{d as form_control_file}
@@ -1 +0,0 @@
1
- function e(e){return e.map((t=>t===e[0]?`?${t}`:`&${t}`)).join("")}const t=(e,t)=>{let r=Object.assign({},t);return delete r.before_cursor,delete r.after_cursor,Object.keys(e).forEach((t=>{e[t].length?r[t]=e[t]:delete r[t]})),r},r=e=>{const t=["after_cursor","before_cursor"];return!!Object.keys(e).filter((e=>!t.includes(e))).length};export{e as c,r as h,t as o}
@@ -1 +0,0 @@
1
- import{r as e,c as i,h as o}from"./p-fad19d75.js";import{b as t}from"./p-c13a7d10.js";import{v as a,a as r,b as s}from"./p-2338affa.js";import{S as d}from"./p-74da98da.js";const c=class{constructor(o){e(this,o),this.insuranceUpdated=i(this,"insurance-updated",7),this.errorEvent=i(this,"error-event",7),this.checkoutId=void 0,this.getQuote=void 0,this.toggleCoverage=void 0,this.primaryIdentityFirstName=void 0,this.primaryIdentityLastName=void 0,this.primaryIdentityState=void 0,this.primaryIdentityPostalCode=void 0,this.primaryIdentityCountry=void 0,this.primaryIdentityEmailAddress=void 0,this.policyAttributesInsurableAmount=void 0,this.policyAttributesStartDate=void 0,this.policyAttributesEndDate=void 0,this.coveredIdentityFirstName=void 0,this.coveredIdentityLastName=void 0,this.quote=void 0,this.isLoading=!0,this.accepted=void 0}async validate(){return a()}componentWillLoad(){this.getQuote&&this.fetchData()}fetchData(){this.isLoading=!0,this.getQuote({payload:{checkout_id:this.checkoutId,policy_type:"season_interruption",primary_identity:{state:this.primaryIdentityState,email:this.primaryIdentityEmailAddress,first_name:this.primaryIdentityFirstName,last_name:this.primaryIdentityLastName,postal_code:this.primaryIdentityPostalCode,country:this.primaryIdentityCountry},policy_attributes:{insurable_amount:this.policyAttributesInsurableAmount,start_date:this.policyAttributesStartDate,end_date:this.policyAttributesEndDate,covered_identity:{first_name:this.coveredIdentityFirstName,last_name:this.coveredIdentityLastName}}},onSuccess:({quote:e})=>{this.quote=e,r[e.policy_type]=e.accepted,this.isLoading=!1},onError:({error:e,code:i,severity:o})=>{this.isLoading=!1,this.errorEvent.emit({errorCode:i,message:e,severity:o})}})}onChangeHandler(e){this.accepted=e.target.value,s[this.quote.policy_type]=!1,this.toggleCoverage({quoteId:this.quote.id,payload:{accepted:this.accepted},onSuccess:()=>{this.insuranceUpdated.emit(),r[this.quote.policy_type]=this.accepted},onError:({error:e,code:i,severity:o})=>{this.errorEvent.emit({errorCode:i,message:e,severity:o})}})}get error(){var e;return s[null===(e=this.quote)||void 0===e?void 0:e.policy_type]}render(){var e,i,a,r;return o(d,{key:"ca90d98930a8edff34e6690caa04421a70fa9238"},!this.isLoading&&o("div",{key:"ff7e145e0fe3e4cc1b1b476369dec63228aeafbf"},o("h2",{key:"206a364e3efdeafc1c17c6d25ec5de1b8ce21c29",class:"fs-5 fw-bold pb-3 jfi-header"},null===(e=this.quote)||void 0===e?void 0:e.product.title),o("small",{key:"0f3ef80b76e2d50b793175dfd9de9910329254ea",innerHTML:null===(i=this.quote)||void 0===i?void 0:i.product.description}),o("div",{key:"5fa4ea480c0ebc1870f222a4f58529676451e9d4"},o("input",{key:"40f5f25d82c9a5ecea558ea0f6763d619f82727e",id:"accept",type:"radio",name:"opt-in",value:"true",onChange:e=>this.onChangeHandler(e),class:this.error?"form-check-input me-2 is-invalid":"form-check-input me-2"}),o("label",{key:"c7e2cd5fa6052765e2155cbc24f6fd9d6b8da723",htmlFor:"accept"},"Accept coverage for ",t(null===(a=this.quote)||void 0===a?void 0:a.total_cents))),o("div",{key:"47d716b0cb114e3c0a62776491153ca2ce389ce7",class:"mb-2"},o("input",{key:"dd442bb652f98a75d184e99d78d79292189ef867",id:"decline",type:"radio",name:"opt-in",value:"false",onChange:e=>this.onChangeHandler(e),class:this.error?"form-check-input me-2 is-invalid":"form-check-input me-2"}),o("label",{key:"e5b7a36f006ed6a78eb762c1bea131800ab45ae4",htmlFor:"decline"},"Decline coverage")),o("div",{key:"dddae2c74c62641ccd2ba7352190d6e4731ef19b",class:"invalid-feedback",style:{display:this.error?"block":"none"}},"Please select an option"),o("small",{key:"67684b8a101061c54b0629ae35000032232e6847",innerHTML:null===(r=this.quote)||void 0===r?void 0:r.product.legal_disclaimer})))}};c.style=":host{display:block}a{color:var(--jfi-body-color) !important}.form-check-input,label{cursor:pointer}.form-check-input{background-color:var(--jfi-radio-button-background-color);border-color:var(--jfi-radio-button-border-color)}.form-check-input:checked,.form-check-input:checked:focus{background-color:var(--jfi-radio-button-background-color-selected);border-color:var(--jfi-radio-button-border-color-selected)}.form-check-input:focus{border-color:var(--jfi-radio-button-border-color-focus);box-shadow:var(--jfi-radio-button-box-shadow-focus)}.jfi-header{color:var(--jfi-header-color);border-bottom:var(--jfi-header-border)}";export{c as justifi_season_interruption_insurance_core}
@@ -1 +0,0 @@
1
- import{r,h as t}from"./p-fad19d75.js";const s=class{constructor(t){r(this,t),this.errorText=void 0,this.name=void 0}render(){return this.errorText?t("small",{class:"form-text text-danger",id:`form-error-text-${this.name}`},this.errorText):null}};export{s as form_control_error_text}
@@ -1 +0,0 @@
1
- import{r as t,c as s,h as i}from"./p-fad19d75.js";import{m as o,P as r}from"./p-89f6691e.js";import"./p-16d2932d.js";import"./p-56f6ce4c.js";import"./p-d1f75fa6.js";import{P as e}from"./p-3db8b3c7.js";import{C as a,a as p}from"./p-14c91ffd.js";import{g as h,a as d}from"./p-8115b2f4.js";import{E as n}from"./p-a8b4f429.js";import{J as c}from"./p-8037704c.js";import{c as m}from"./p-57125bd1.js";import"./p-0e180654.js";import"./p-5a62fca2.js";import"./p-25d2ed4c.js";const u=class{constructor(i){t(this,i),this.errorEvent=s(this,"error-event",7),this.handleErrorEvent=t=>{this.errorMessage=t.detail.message,this.errorEvent.emit(t.detail)},this.payoutId=void 0,this.authToken=void 0,this.getPayout=void 0,this.getPayoutCSV=void 0,this.errorMessage=null}componentWillLoad(){m(),this.analytics=new c(this),this.initializeServices()}disconnectedCallback(){this.analytics.cleanup()}propChanged(){this.initializeServices()}initializeServices(){this.payoutId&&this.authToken?(this.getPayout=(({id:t,authToken:s,service:i})=>async({onSuccess:o,onError:r})=>{var p;try{const n=await i.fetchPayout(t,s);n.error?r({error:h(n.error),code:d(null===(p=n.error)||void 0===p?void 0:p.code),severity:a.ERROR}):o(new e(n.data))}catch(t){r({error:h(t),code:d(null==t?void 0:t.code),severity:a.ERROR})}})({id:this.payoutId,authToken:this.authToken,service:new r}),this.getPayoutCSV=o({authToken:this.authToken,service:new r})):(this.errorMessage="Failed to load payout details. payoutId or authToken is not provided.",this.errorEvent.emit({message:this.errorMessage,errorCode:p.MISSING_PROPS,severity:a.ERROR}))}render(){return this.errorMessage?n(this.errorMessage):i("payout-details-core",{getPayout:this.getPayout,getPayoutCSV:this.getPayoutCSV,"onError-event":this.handleErrorEvent})}static get watchers(){return{payoutId:["propChanged"],authToken:["propChanged"]}}};export{u as justifi_payout_details}