@justifi/webcomponents 4.7.4 → 4.7.6
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.
- package/LICENSE +1 -1
- package/dist/cjs/{Api-548eaa62.js → Api-a06b996e.js} +35 -35
- package/dist/cjs/{Pagination-cae1dcbd.js → Pagination-0da8f095.js} +5 -5
- package/dist/cjs/Payout-7821eb61.js +183 -0
- package/dist/cjs/SubAccount-b9487cbb.js +107 -0
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +50 -50
- package/dist/cjs/business-form-schema-a2b87e77.js +148 -0
- package/dist/cjs/config-ff2dda66.js +15 -0
- package/dist/cjs/{form-1e732a9d.js → form-2ad3d374.js} +84 -84
- package/dist/cjs/form-control-datepart_2.cjs.entry.js +108 -108
- package/dist/cjs/form-control-monetary.cjs.entry.js +50 -50
- package/dist/cjs/form-control-number_3.cjs.entry.js +108 -108
- package/dist/cjs/{index-c5ace247.js → index-55950669.js} +220 -52
- package/dist/cjs/{index-5a880722.js → index-fc5339a5.js} +406 -195
- package/dist/cjs/{index.esm-91ec051e.js → index.esm-c08c2adc.js} +61 -30
- package/dist/cjs/justifi-additional-questions_6.cjs.entry.js +372 -372
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +56 -56
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +79 -79
- package/dist/cjs/justifi-business-details.cjs.entry.js +61 -61
- package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +135 -122
- package/dist/cjs/justifi-business-form.cjs.entry.js +80 -69
- package/dist/cjs/justifi-business-list.cjs.entry.js +128 -128
- package/dist/cjs/justifi-card-form.cjs.entry.js +57 -57
- package/dist/cjs/justifi-details.cjs.entry.js +13 -13
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +125 -125
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +72 -72
- package/dist/cjs/justifi-payment-details.cjs.entry.js +53 -53
- package/dist/cjs/justifi-payment-form.cjs.entry.js +89 -89
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +171 -188
- package/dist/cjs/justifi-payments-list.cjs.entry.js +99 -100
- package/dist/cjs/justifi-payout-details.cjs.entry.js +54 -54
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +121 -121
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +135 -135
- package/dist/cjs/justifi-refund-form.cjs.entry.js +85 -85
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +62 -62
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +86 -86
- package/dist/cjs/justifi-table_2.cjs.entry.js +64 -61
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/select-input_2.cjs.entry.js +38 -38
- package/dist/cjs/state-options-96d05a98.js +246 -0
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +41 -41
- package/dist/cjs/subaccount-bank-details.cjs.entry.js +11 -11
- package/dist/cjs/subaccount-terms-details.cjs.entry.js +11 -11
- package/dist/cjs/{utils-13d069be.js → utils-36bf8b3e.js} +108 -108
- package/dist/cjs/utils-931f4879.js +34 -0
- package/dist/cjs/utils-99c086ee.js +35 -0
- package/dist/cjs/webcomponents.cjs.js +3 -3
- package/dist/collection/api/Api.js +34 -34
- package/dist/collection/api/Business.js +39 -39
- package/dist/collection/api/Pagination.js +5 -5
- package/dist/collection/api/Payment.js +108 -108
- package/dist/collection/api/Payout.js +33 -33
- package/dist/collection/api/Proceed.js +33 -33
- package/dist/collection/api/SubAccount.js +78 -78
- package/dist/collection/api/mockData/MockOnboardingData.js +108 -108
- package/dist/collection/api/mockData/MockPayments.js +207 -207
- package/dist/collection/api/mockData/MockSubAccount.js +96 -96
- package/dist/collection/api/mockData/mockGrossVolumeReport.js +123 -123
- package/dist/collection/collection-manifest.json +4 -4
- package/dist/collection/components/bank-account-form/bank-account-form.js +260 -259
- package/dist/collection/components/bank-account-form/test/bank-account-form.e2e.js +10 -10
- package/dist/collection/components/bank-account-form/test/bank-account-form.spec.js +38 -38
- package/dist/collection/components/billing-form/billing-form-schema.js +6 -6
- package/dist/collection/components/billing-form/billing-form.css +16 -12
- package/dist/collection/components/billing-form/billing-form.js +177 -179
- package/dist/collection/components/billing-form/state-options.js +240 -240
- package/dist/collection/components/billing-form/test/billing-form.spec.js +50 -50
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.css +23 -16
- package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +43 -43
- package/dist/collection/components/business-details/business-details.css +11 -4
- package/dist/collection/components/business-details/business-details.js +107 -107
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.css +23 -16
- package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +43 -43
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.css +23 -16
- package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +43 -43
- package/dist/collection/components/business-details/owner-details/owner-details.css +23 -16
- package/dist/collection/components/business-details/owner-details/owner-details.js +45 -45
- package/dist/collection/components/business-details/representative-details/representative-details.css +23 -16
- package/dist/collection/components/business-details/representative-details/representative-details.js +43 -43
- package/dist/collection/components/business-form/additional-questions/additional-questions.js +49 -49
- package/dist/collection/components/business-form/business-address/business-address-form-schema.js +8 -8
- package/dist/collection/components/business-form/business-address/business-address-form.css +16 -12
- package/dist/collection/components/business-form/business-address/business-address-form.js +93 -93
- package/dist/collection/components/business-form/business-address/test/business-address.e2e.js +6 -6
- package/dist/collection/components/business-form/business-address/test/business-address.spec.js +21 -21
- package/dist/collection/components/business-form/business-form-schema.js +137 -137
- package/dist/collection/components/business-form/business-form-stepped.css +23 -16
- package/dist/collection/components/business-form/business-form-stepped.js +218 -203
- package/dist/collection/components/business-form/business-form.css +118 -16
- package/dist/collection/components/business-form/business-form.js +142 -111
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.css +16 -12
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +57 -57
- package/dist/collection/components/business-form/business-owners/business-owners.css +23 -16
- package/dist/collection/components/business-form/business-owners/business-owners.js +117 -117
- package/dist/collection/components/business-form/business-representative/business-representative.css +16 -12
- package/dist/collection/components/business-form/business-representative/business-representative.js +65 -65
- package/dist/collection/components/business-form/helpers.js +19 -19
- package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +6 -6
- package/dist/collection/components/business-form/legal-address-form/legal-address-form.css +16 -12
- package/dist/collection/components/business-form/legal-address-form/legal-address-form.js +61 -61
- package/dist/collection/components/business-form/test/business-form.spec.js +35 -35
- package/dist/collection/components/business-list/business-list.css +3 -0
- package/dist/collection/components/business-list/business-list.js +160 -160
- package/dist/collection/components/business-list/business-list.stories.js +10 -10
- package/dist/collection/components/card-form/card-form.js +278 -277
- package/dist/collection/components/card-form/test/card-form.e2e.js +10 -10
- package/dist/collection/components/card-form/test/card-form.spec.js +45 -45
- package/dist/collection/components/details/details.css +38 -31
- package/dist/collection/components/details/details.js +42 -42
- package/dist/collection/components/form/form-control-datepart.js +224 -224
- package/dist/collection/components/form/form-control-monetary.js +177 -177
- package/dist/collection/components/form/form-control-number-masked.js +208 -208
- package/dist/collection/components/form/form-control-number.css +7 -2
- package/dist/collection/components/form/form-control-number.js +188 -188
- package/dist/collection/components/form/form-control-select.css +7 -2
- package/dist/collection/components/form/form-control-select.js +196 -196
- package/dist/collection/components/form/form-control-text.css +7 -2
- package/dist/collection/components/form/form-control-text.js +188 -188
- package/dist/collection/components/form/form.js +80 -80
- package/dist/collection/components/form/utils.js +2 -0
- package/dist/collection/components/gross-payment-chart/chart-utils.js +52 -52
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.css +3 -0
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +125 -125
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +7 -7
- package/dist/collection/components/pagination-menu/pagination-menu.js +72 -72
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +144 -144
- package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js +10 -10
- package/dist/collection/components/payment-details/payment-details.css +38 -31
- package/dist/collection/components/payment-details/payment-details.js +106 -106
- package/dist/collection/components/payment-form/payment-form.css +16 -12
- package/dist/collection/components/payment-form/payment-form.js +319 -318
- package/dist/collection/components/payment-form/payment-method-selector.css +6 -2
- package/dist/collection/components/payment-form/payment-method-selector.js +90 -90
- package/dist/collection/components/payment-form/test/payment-form.e2e.js +9 -9
- package/dist/collection/components/payment-form/test/payment-form.spec.js +157 -157
- package/dist/collection/components/payment-method-form/get-computed-theme.js +47 -47
- package/dist/collection/components/payment-method-form/message-event-types.js +14 -14
- package/dist/collection/components/payment-method-form/payment-method-form.js +288 -262
- package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js +16 -16
- package/dist/collection/components/payment-method-form/test/payment-method-form.spec.js +43 -43
- package/dist/collection/components/payments-list/payments-list.css +3 -0
- package/dist/collection/components/payments-list/payments-list.js +179 -180
- package/dist/collection/components/payments-list/test/payments-list.spec.js +21 -21
- package/dist/collection/components/payout-details/payout-details.css +38 -31
- package/dist/collection/components/payout-details/payout-details.js +107 -107
- package/dist/collection/components/payouts-list/payouts-list.css +3 -0
- package/dist/collection/components/payouts-list/payouts-list.js +201 -201
- package/dist/collection/components/proceeds-list/proceeds-list.css +3 -0
- package/dist/collection/components/proceeds-list/proceeds-list.js +182 -182
- package/dist/collection/components/proceeds-list/proceeds-list.stories.js +12 -12
- package/dist/collection/components/refund-form/refund-form-schema.js +9 -9
- package/dist/collection/components/refund-form/refund-form.css +23 -16
- package/dist/collection/components/refund-form/refund-form.js +216 -216
- package/dist/collection/components/refund-form/refund-form.stories.js +27 -27
- package/dist/collection/components/select-input/select-input.css +7 -2
- package/dist/collection/components/select-input/select-input.js +139 -139
- package/dist/collection/components/select-input/test/select-input.spec.js +38 -38
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +65 -65
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +43 -43
- package/dist/collection/components/subaccount-details/subaccount-details.css +38 -31
- package/dist/collection/components/subaccount-details/subaccount-details.js +132 -132
- package/dist/collection/components/subaccount-details/subaccount-details.stories.js +9 -9
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +43 -44
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +44 -43
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +43 -43
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.css +23 -16
- package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +43 -43
- package/dist/collection/components/subaccount-details/test/subaccount-details.spec.js +7 -7
- package/dist/collection/components/subaccounts-list/subaccounts-list.js +166 -166
- package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js +12 -12
- package/dist/collection/components/subaccounts-list/test/subaccounts-list.e2e.js +6 -6
- package/dist/collection/components/subaccounts-list/test/subaccounts-list.spec.js +21 -21
- package/dist/collection/components/table/table.css +38 -31
- package/dist/collection/components/table/table.js +217 -224
- package/dist/collection/components/table/test/table.spec.js +64 -48
- package/dist/collection/components/table/utils.js +4 -0
- package/dist/collection/components/text-input/test/text-input.spec.js +31 -31
- package/dist/collection/components/text-input/text-input.css +7 -2
- package/dist/collection/components/text-input/text-input.js +122 -122
- package/dist/collection/utils/country-options.js +198 -198
- package/dist/collection/utils/phone-masks.js +1 -1
- package/dist/collection/utils/utils.js +107 -107
- package/dist/config.js +9 -9
- package/dist/docs.d.ts +401 -0
- package/dist/docs.json +6511 -0
- package/dist/esm/{Api-c65d3ed8.js → Api-0e88671c.js} +35 -35
- package/dist/esm/{Pagination-31f770d6.js → Pagination-afc8f96d.js} +5 -5
- package/dist/esm/Payout-c42e3877.js +179 -0
- package/dist/esm/SubAccount-b3ce8720.js +105 -0
- package/dist/esm/additional-questions-details_5.entry.js +50 -50
- package/dist/esm/business-form-schema-997c585c.js +144 -0
- package/dist/esm/config-476c7241.js +13 -0
- package/dist/esm/{form-32cf3d1e.js → form-5279c05a.js} +84 -84
- package/dist/esm/form-control-datepart_2.entry.js +108 -108
- package/dist/esm/form-control-monetary.entry.js +50 -50
- package/dist/esm/form-control-number_3.entry.js +108 -108
- package/dist/esm/{index-5ed53c20.js → index-5eb05747.js} +406 -195
- package/dist/esm/{index-7471ed60.js → index-62b8aa8a.js} +220 -52
- package/dist/esm/{index.esm-9397ffa0.js → index.esm-8ae36d07.js} +61 -30
- package/dist/esm/justifi-additional-questions_6.entry.js +372 -372
- package/dist/esm/justifi-bank-account-form.entry.js +56 -56
- package/dist/esm/justifi-billing-form_2.entry.js +79 -79
- package/dist/esm/justifi-business-details.entry.js +61 -61
- package/dist/esm/justifi-business-form-stepped.entry.js +135 -122
- package/dist/esm/justifi-business-form.entry.js +80 -69
- package/dist/esm/justifi-business-list.entry.js +128 -128
- package/dist/esm/justifi-card-form.entry.js +57 -57
- package/dist/esm/justifi-details.entry.js +13 -13
- package/dist/esm/justifi-gross-payment-chart.entry.js +125 -125
- package/dist/esm/justifi-payment-balance-transactions.entry.js +72 -72
- package/dist/esm/justifi-payment-details.entry.js +53 -53
- package/dist/esm/justifi-payment-form.entry.js +89 -89
- package/dist/esm/justifi-payment-method-form.entry.js +171 -188
- package/dist/esm/justifi-payments-list.entry.js +99 -100
- package/dist/esm/justifi-payout-details.entry.js +54 -54
- package/dist/esm/justifi-payouts-list.entry.js +121 -121
- package/dist/esm/justifi-proceeds-list.entry.js +135 -135
- package/dist/esm/justifi-refund-form.entry.js +85 -85
- package/dist/esm/justifi-subaccount-details.entry.js +62 -62
- package/dist/esm/justifi-subaccounts-list.entry.js +86 -86
- package/dist/esm/justifi-table_2.entry.js +64 -61
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/select-input_2.entry.js +38 -38
- package/dist/esm/state-options-fc1daf67.js +244 -0
- package/dist/esm/subaccount-account-details_4.entry.js +41 -41
- package/dist/esm/subaccount-bank-details.entry.js +11 -11
- package/dist/esm/subaccount-terms-details.entry.js +11 -11
- package/dist/esm/{utils-40b7002c.js → utils-26c7dd12.js} +108 -108
- package/dist/esm/utils-8cc130a9.js +31 -0
- package/dist/esm/utils-f33f7e3c.js +27 -0
- package/dist/esm/webcomponents.js +4 -4
- package/{loader → dist/loader}/cdn.js +1 -1
- package/{loader → dist/loader}/index.cjs.js +1 -1
- package/{loader → dist/loader}/index.d.ts +1 -1
- package/dist/loader/index.es2017.js +3 -0
- package/{loader → dist/loader}/index.js +2 -2
- package/dist/{components → module}/Api.js +35 -35
- package/dist/{components → module}/Pagination.js +5 -5
- package/dist/module/Payout.js +179 -0
- package/dist/module/SubAccount.js +105 -0
- package/dist/{components → module}/additional-questions-details.d.ts +2 -2
- package/dist/module/additional-questions-details2.js +36 -0
- package/dist/module/additional-questions.js +50 -0
- package/dist/module/billing-form.js +113 -0
- package/dist/module/business-address-form.js +72 -0
- package/dist/module/business-generic-info.js +212 -0
- package/dist/module/business-owners.js +116 -0
- package/dist/module/business-representative.js +90 -0
- package/dist/module/config.js +13 -0
- package/dist/module/details.js +38 -0
- package/dist/{components → module}/form-control-datepart.d.ts +2 -2
- package/dist/module/form-control-datepart2.js +98 -0
- package/dist/{components → module}/form-control-monetary.d.ts +2 -2
- package/dist/module/form-control-monetary2.js +83 -0
- package/dist/{components → module}/form-control-number-masked.d.ts +2 -2
- package/dist/module/form-control-number-masked2.js +82 -0
- package/dist/{components → module}/form-control-number.d.ts +2 -2
- package/dist/module/form-control-number2.js +71 -0
- package/dist/{components → module}/form-control-select.d.ts +2 -2
- package/dist/module/form-control-select2.js +67 -0
- package/dist/{components → module}/form-control-text.d.ts +2 -2
- package/dist/module/form-control-text2.js +71 -0
- package/dist/{components → module}/form.js +84 -84
- package/dist/{components → module}/generic-info-details.d.ts +2 -2
- package/dist/module/generic-info-details2.js +37 -0
- package/dist/{components → module}/index.esm.js +61 -30
- package/dist/{components → module}/index2.js +406 -195
- package/dist/{components → module}/justifi-additional-questions.d.ts +2 -2
- package/dist/{components → module}/justifi-bank-account-form.d.ts +2 -2
- package/dist/module/justifi-bank-account-form.js +96 -0
- package/dist/{components → module}/justifi-billing-form.d.ts +2 -2
- package/dist/{components → module}/justifi-business-address-form.d.ts +2 -2
- package/dist/{components → module}/justifi-business-details.d.ts +2 -2
- package/dist/module/justifi-business-details.js +130 -0
- package/dist/{components → module}/justifi-business-form-stepped.d.ts +2 -2
- package/dist/module/justifi-business-form-stepped.js +242 -0
- package/dist/{components → module}/justifi-business-form.d.ts +2 -2
- package/dist/{components/justifi-payment-details.js → module/justifi-business-form.js} +175 -79
- package/dist/{components → module}/justifi-business-generic-info.d.ts +2 -2
- package/dist/{components → module}/justifi-business-list.d.ts +2 -2
- package/dist/module/justifi-business-list.js +197 -0
- package/dist/{components → module}/justifi-business-owners.d.ts +2 -2
- package/dist/{components → module}/justifi-business-representative.d.ts +2 -2
- package/dist/{components → module}/justifi-card-form.d.ts +2 -2
- package/dist/module/justifi-card-form.js +98 -0
- package/dist/{components → module}/justifi-details.d.ts +2 -2
- package/dist/{components → module}/justifi-gross-payment-chart.d.ts +2 -2
- package/dist/{components → module}/justifi-gross-payment-chart.js +146 -142
- package/dist/{components → module}/justifi-legal-address-form.d.ts +2 -2
- package/dist/{components → module}/justifi-payment-balance-transactions.d.ts +2 -2
- package/dist/module/justifi-payment-balance-transactions.js +125 -0
- package/dist/{components → module}/justifi-payment-details.d.ts +2 -2
- package/dist/module/justifi-payment-details.js +98 -0
- package/dist/{components → module}/justifi-payment-form.d.ts +2 -2
- package/dist/module/justifi-payment-form.js +169 -0
- package/dist/{components → module}/justifi-payment-method-form.d.ts +2 -2
- package/dist/{components → module}/justifi-payment-method-selector.d.ts +2 -2
- package/dist/{components → module}/justifi-payments-list.d.ts +2 -2
- package/dist/module/justifi-payments-list.js +154 -0
- package/dist/{components → module}/justifi-payout-details.d.ts +2 -2
- package/dist/module/justifi-payout-details.js +99 -0
- package/dist/{components → module}/justifi-payouts-list.d.ts +2 -2
- package/dist/module/justifi-payouts-list.js +176 -0
- package/dist/{components → module}/justifi-proceeds-list.d.ts +2 -2
- package/dist/module/justifi-proceeds-list.js +199 -0
- package/dist/{components → module}/justifi-refund-form.d.ts +2 -2
- package/dist/module/justifi-refund-form.js +139 -0
- package/dist/{components → module}/justifi-subaccount-details.d.ts +2 -2
- package/dist/module/justifi-subaccount-details.js +134 -0
- package/dist/{components → module}/justifi-subaccounts-list.d.ts +2 -2
- package/dist/module/justifi-subaccounts-list.js +142 -0
- package/dist/{components → module}/justifi-table.d.ts +2 -2
- package/dist/{components → module}/legal-address-details.d.ts +2 -2
- package/dist/module/legal-address-details2.js +36 -0
- package/dist/module/legal-address-form.js +268 -0
- package/dist/{components → module}/owner-details.d.ts +2 -2
- package/dist/module/owner-details2.js +39 -0
- package/dist/{components → module}/pagination-menu.d.ts +2 -2
- package/dist/module/pagination-menu2.js +43 -0
- package/dist/{components → module}/payment-method-form.js +191 -207
- package/dist/module/payment-method-selector.js +44 -0
- package/dist/{components → module}/phone-masks.js +1 -1
- package/dist/{components → module}/representative-details.d.ts +2 -2
- package/dist/module/representative-details2.js +37 -0
- package/dist/{components → module}/select-input.d.ts +2 -2
- package/dist/module/select-input2.js +50 -0
- package/dist/module/state-options.js +244 -0
- package/dist/{components → module}/subaccount-account-details.d.ts +2 -2
- package/dist/module/subaccount-account-details2.js +38 -0
- package/dist/{components → module}/subaccount-bank-details.d.ts +2 -2
- package/dist/module/subaccount-bank-details.js +39 -0
- package/dist/{components → module}/subaccount-merchant-details.d.ts +2 -2
- package/dist/module/subaccount-merchant-details2.js +37 -0
- package/dist/{components → module}/subaccount-owners-details.d.ts +2 -2
- package/dist/module/subaccount-owners-details2.js +37 -0
- package/dist/{components → module}/subaccount-representative-details.d.ts +2 -2
- package/dist/module/subaccount-representative-details2.js +37 -0
- package/dist/{components → module}/subaccount-terms-details.d.ts +2 -2
- package/dist/{webcomponents/p-98e4eae3.entry.js → module/subaccount-terms-details.js} +39 -1
- package/dist/module/table.js +93 -0
- package/dist/{components → module}/text-input.d.ts +2 -2
- package/dist/module/text-input2.js +48 -0
- package/dist/module/utils.js +27 -0
- package/dist/{components → module}/utils2.js +108 -108
- package/dist/module/utils3.js +31 -0
- package/dist/types/api/Api.d.ts +14 -14
- package/dist/types/api/Business.d.ts +120 -120
- package/dist/types/api/GrossVolume.d.ts +4 -4
- package/dist/types/api/Pagination.d.ts +12 -12
- package/dist/types/api/Payment.d.ts +134 -134
- package/dist/types/api/Payout.d.ts +51 -51
- package/dist/types/api/Proceed.d.ts +51 -51
- package/dist/types/api/SubAccount.d.ts +130 -130
- package/dist/types/api/mockData/MockOnboardingData.d.ts +5 -5
- package/dist/types/api/mockData/mockGrossVolumeReport.d.ts +5 -5
- package/dist/types/api/shared.d.ts +9 -9
- package/dist/types/components/bank-account-form/bank-account-form.d.ts +58 -0
- package/dist/types/components/billing-form/billing-form-schema.d.ts +18 -18
- package/dist/types/components/billing-form/billing-form.d.ts +25 -25
- package/dist/types/components/billing-form/state-options.d.ts +2 -2
- package/dist/types/components/business-details/additional-questions-details/additional-questions-details.d.ts +2 -2
- package/dist/types/components/business-details/business-details.d.ts +13 -13
- package/dist/types/components/business-details/generic-info-details/generic-info-details.d.ts +2 -2
- package/dist/types/components/business-details/legal-address-details/legal-address-details.d.ts +2 -2
- package/dist/types/components/business-details/owner-details/owner-details.d.ts +2 -2
- package/dist/types/components/business-details/representative-details/representative-details.d.ts +2 -2
- package/dist/types/components/business-form/additional-questions/additional-questions.d.ts +7 -7
- package/dist/types/components/business-form/business-address/business-address-form-schema.d.ts +16 -16
- package/dist/types/components/business-form/business-address/business-address-form.d.ts +7 -7
- package/dist/types/components/business-form/business-form-schema.d.ts +102 -102
- package/dist/types/components/business-form/business-form-stepped.d.ts +27 -23
- package/dist/types/components/business-form/business-form.d.ts +16 -11
- package/dist/types/components/business-form/business-generic-info/business-generic-info.d.ts +6 -6
- package/dist/types/components/business-form/business-owners/business-owners.d.ts +22 -22
- package/dist/types/components/business-form/business-representative/business-representative-schema.d.ts +13 -13
- package/dist/types/components/business-form/business-representative/business-representative.d.ts +8 -8
- package/dist/types/components/business-form/legal-address-form/legal-address-form-schema.d.ts +12 -12
- package/dist/types/components/business-form/legal-address-form/legal-address-form.d.ts +7 -7
- package/dist/types/components/business-list/business-list.d.ts +27 -27
- package/dist/types/components/business-list/business-list.stories.d.ts +3 -3
- package/dist/types/components/card-form/card-form.d.ts +68 -0
- package/dist/types/components/details/details.d.ts +2 -2
- package/dist/types/components/details/utils.d.ts +10 -10
- package/dist/types/components/form/form-control-datepart.d.ts +16 -16
- package/dist/types/components/form/form-control-monetary.d.ts +14 -14
- package/dist/types/components/form/form-control-number-masked.d.ts +16 -16
- package/dist/types/components/form/form-control-number.d.ts +15 -15
- package/dist/types/components/form/form-control-select.d.ts +17 -17
- package/dist/types/components/form/form-control-text.d.ts +15 -15
- package/dist/types/components/form/form.d.ts +18 -18
- package/dist/types/components/form/utils.d.ts +1 -0
- package/dist/types/components/gross-payment-chart/chart-utils.d.ts +39 -39
- package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +16 -16
- package/dist/types/components/pagination-menu/pagination-menu.d.ts +5 -5
- package/dist/types/components/payment-balance-transactions/payment-balance-transactions.d.ts +14 -14
- package/dist/types/components/payment-balance-transactions/payment-balance-transactions.stories.d.ts +3 -3
- package/dist/types/components/payment-details/payment-details.d.ts +9 -9
- package/dist/types/components/payment-form/payment-form.d.ts +22 -22
- package/dist/types/components/payment-form/payment-method-selector.d.ts +6 -6
- package/dist/types/components/payment-form/tokenize.d.ts +3 -3
- package/dist/types/components/payment-method-form/message-event-types.d.ts +14 -14
- package/dist/types/components/payment-method-form/payment-method-form.d.ts +21 -22
- package/dist/types/components/payment-method-form/payment-method-responses.d.ts +40 -40
- package/dist/types/components/payment-method-form/theme.d.ts +45 -45
- package/dist/types/components/payments-list/payments-list.d.ts +14 -14
- package/dist/types/components/payout-details/payout-details.d.ts +9 -9
- package/dist/types/components/payouts-list/payouts-list.d.ts +15 -15
- package/dist/types/components/proceeds-list/proceeds-list.d.ts +15 -15
- package/dist/types/components/proceeds-list/proceeds-list.stories.d.ts +4 -4
- package/dist/types/components/refund-form/refund-form-schema.d.ts +4 -4
- package/dist/types/components/refund-form/refund-form.d.ts +54 -54
- package/dist/types/components/refund-form/refund-form.stories.d.ts +21 -21
- package/dist/types/components/select-input/select-input.d.ts +14 -14
- package/dist/types/components/subaccount-details/subaccount-account-details/subaccount-account-details.d.ts +3 -3
- package/dist/types/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.d.ts +2 -2
- package/dist/types/components/subaccount-details/subaccount-details.d.ts +13 -13
- package/dist/types/components/subaccount-details/subaccount-details.stories.d.ts +3 -3
- package/dist/types/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.d.ts +2 -2
- package/dist/types/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.d.ts +2 -2
- package/dist/types/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.d.ts +2 -2
- package/dist/types/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.d.ts +2 -2
- package/dist/types/components/subaccounts-list/subaccounts-list.d.ts +14 -14
- package/dist/types/components/subaccounts-list/subaccounts-list.stories.d.ts +4 -4
- package/dist/types/components/table/table.d.ts +18 -19
- package/dist/types/components/table/utils.d.ts +3 -0
- package/dist/types/components/text-input/text-input.d.ts +10 -10
- package/dist/types/components.d.ts +232 -17
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/config.d.ts +11 -0
- package/dist/types/stencil-public-runtime.d.ts +32 -3
- package/dist/types/utils/country-options.d.ts +2 -2
- package/dist/types/utils/phone-masks.d.ts +1 -1
- package/dist/webcomponents/{p-b157f6ae.js → p-04c7f8f8.js} +1 -1
- package/dist/webcomponents/p-0a0cf2e6.entry.js +1 -0
- package/dist/webcomponents/p-0a1347cf.entry.js +1 -0
- package/dist/webcomponents/{p-86c23e1e.js → p-0f3e9483.js} +1 -1
- package/dist/webcomponents/p-0fa49c38.entry.js +1 -0
- package/dist/webcomponents/p-1e2a98bf.js +1 -0
- package/dist/webcomponents/{p-311250e2.entry.js → p-2b2f8162.entry.js} +1 -1
- package/dist/webcomponents/p-34c30022.entry.js +1 -0
- package/dist/webcomponents/{p-988191bf.js → p-3bef762a.js} +1 -1
- package/dist/webcomponents/{p-cdd06952.entry.js → p-40fb25c6.entry.js} +1 -1
- package/dist/webcomponents/p-45d2761d.entry.js +1 -0
- package/dist/webcomponents/p-4f14df36.js +2 -0
- package/dist/webcomponents/p-525adabf.entry.js +1 -0
- package/dist/webcomponents/p-57aab065.entry.js +1 -0
- package/dist/webcomponents/p-5a502ceb.entry.js +1 -0
- package/dist/webcomponents/p-5bf0ac1a.entry.js +1 -0
- package/dist/{components/subaccount-terms-details.js → webcomponents/p-64a5126c.entry.js} +1 -38
- package/dist/webcomponents/p-6e80f063.entry.js +1 -0
- package/dist/webcomponents/{p-59860ac8.js → p-78baff54.js} +1 -1
- package/dist/webcomponents/p-85ddbe82.entry.js +1 -0
- package/dist/webcomponents/p-8bbb1b10.entry.js +1 -0
- package/dist/webcomponents/p-90926321.js +1 -0
- package/dist/webcomponents/p-93579716.js +1 -0
- package/dist/webcomponents/p-9ba0be02.entry.js +1 -0
- package/dist/webcomponents/p-9cec4a27.entry.js +1 -0
- package/dist/webcomponents/p-9e0d2179.entry.js +1 -0
- package/dist/webcomponents/p-ac8be2a8.entry.js +1 -0
- package/dist/webcomponents/p-bd099662.entry.js +1 -0
- package/dist/{components/additional-questions-details2.js → webcomponents/p-c43e29ac.entry.js} +1 -35
- package/dist/webcomponents/p-c4826a33.entry.js +1 -0
- package/dist/webcomponents/{p-ed8c9b88.entry.js → p-c63a98f6.entry.js} +1 -1
- package/dist/webcomponents/{p-c0f9f6a8.entry.js → p-c950901c.entry.js} +2 -2
- package/dist/webcomponents/{p-3ee831ac.entry.js → p-d4755024.entry.js} +1 -1
- package/dist/webcomponents/p-d8835e7a.entry.js +1 -0
- package/dist/webcomponents/p-e8e109bd.entry.js +1 -0
- package/dist/webcomponents/p-ead8cfc2.entry.js +1 -0
- package/dist/webcomponents/p-f74899b9.entry.js +1 -0
- package/dist/webcomponents/p-f9183f12.entry.js +1 -0
- package/dist/webcomponents/webcomponents.css +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +18 -41
- package/readme.md +1 -1
- package/dist/cjs/Payout-f8240e9c.js +0 -183
- package/dist/cjs/SubAccount-f47c8522.js +0 -107
- package/dist/cjs/business-form-schema-fe831c30.js +0 -148
- package/dist/cjs/config-a156df17.js +0 -15
- package/dist/cjs/helpers-c505d861.js +0 -26
- package/dist/cjs/state-options-83b52cd1.js +0 -246
- package/dist/cjs/utils-a47b2e73.js +0 -35
- package/dist/collection/components/bank-account-form/bank-account-form.stories.js +0 -132
- package/dist/collection/components/bank-account-form/example.js +0 -54
- package/dist/collection/components/billing-form/billing-form.stories.js +0 -61
- package/dist/collection/components/billing-form/example.js +0 -26
- package/dist/collection/components/business-details/business-details.stories.js +0 -23
- package/dist/collection/components/business-form/business-form-example.js +0 -12
- package/dist/collection/components/business-form/business-form-stepped-example.js +0 -12
- package/dist/collection/components/business-form/business-form-stepped.stories.js +0 -132
- package/dist/collection/components/business-form/business-form.stories.js +0 -127
- package/dist/collection/components/card-form/card-form.stories.js +0 -137
- package/dist/collection/components/card-form/example.js +0 -59
- package/dist/collection/components/gross-payment-chart/example.js +0 -12
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.stories.js +0 -22
- package/dist/collection/components/payment-details/example.js +0 -12
- package/dist/collection/components/payment-details/payment-details.stories.js +0 -47
- package/dist/collection/components/payment-form/example.js +0 -23
- package/dist/collection/components/payment-form/payment-form.stories.js +0 -129
- package/dist/collection/components/payments-list/example.js +0 -12
- package/dist/collection/components/payments-list/payments-list.stories.js +0 -88
- package/dist/collection/components/payout-details/example.js +0 -12
- package/dist/collection/components/payout-details/payout-details.stories.js +0 -47
- package/dist/collection/components/payouts-list/example.js +0 -12
- package/dist/collection/components/payouts-list/payouts-list.stories.js +0 -88
- package/dist/components/Payout.js +0 -179
- package/dist/components/SubAccount.js +0 -105
- package/dist/components/additional-questions.js +0 -49
- package/dist/components/billing-form.js +0 -112
- package/dist/components/business-address-form.js +0 -69
- package/dist/components/business-generic-info.js +0 -211
- package/dist/components/business-owners.js +0 -115
- package/dist/components/business-representative.js +0 -89
- package/dist/components/config.js +0 -13
- package/dist/components/details.js +0 -37
- package/dist/components/form-control-datepart2.js +0 -95
- package/dist/components/form-control-monetary2.js +0 -80
- package/dist/components/form-control-number-masked2.js +0 -79
- package/dist/components/form-control-number2.js +0 -68
- package/dist/components/form-control-select2.js +0 -64
- package/dist/components/form-control-text2.js +0 -68
- package/dist/components/generic-info-details2.js +0 -36
- package/dist/components/helpers.js +0 -24
- package/dist/components/justifi-bank-account-form.js +0 -95
- package/dist/components/justifi-business-details.js +0 -129
- package/dist/components/justifi-business-form-stepped.js +0 -227
- package/dist/components/justifi-business-form.js +0 -175
- package/dist/components/justifi-business-list.js +0 -192
- package/dist/components/justifi-card-form.js +0 -97
- package/dist/components/justifi-payment-balance-transactions.js +0 -122
- package/dist/components/justifi-payment-form.js +0 -168
- package/dist/components/justifi-payments-list.js +0 -149
- package/dist/components/justifi-payout-details.js +0 -95
- package/dist/components/justifi-payouts-list.js +0 -171
- package/dist/components/justifi-proceeds-list.js +0 -194
- package/dist/components/justifi-refund-form.js +0 -138
- package/dist/components/justifi-subaccount-details.js +0 -130
- package/dist/components/justifi-subaccounts-list.js +0 -137
- package/dist/components/legal-address-details2.js +0 -35
- package/dist/components/legal-address-form.js +0 -267
- package/dist/components/owner-details2.js +0 -38
- package/dist/components/pagination-menu2.js +0 -42
- package/dist/components/payment-method-selector.js +0 -43
- package/dist/components/representative-details2.js +0 -36
- package/dist/components/select-input2.js +0 -49
- package/dist/components/state-options.js +0 -244
- package/dist/components/subaccount-account-details2.js +0 -37
- package/dist/components/subaccount-bank-details.js +0 -38
- package/dist/components/subaccount-merchant-details2.js +0 -36
- package/dist/components/subaccount-owners-details2.js +0 -36
- package/dist/components/subaccount-representative-details2.js +0 -36
- package/dist/components/table.js +0 -89
- package/dist/components/text-input2.js +0 -47
- package/dist/components/utils.js +0 -27
- package/dist/esm/Payout-586f06a3.js +0 -179
- package/dist/esm/SubAccount-128190e9.js +0 -105
- package/dist/esm/business-form-schema-30a3eadd.js +0 -144
- package/dist/esm/config-ceb0f902.js +0 -13
- package/dist/esm/helpers-1d5ecdc8.js +0 -24
- package/dist/esm/state-options-ece00aa2.js +0 -244
- package/dist/esm/utils-d19c2778.js +0 -27
- package/dist/types/components/bank-account-form/bank-account-form.stories.d.ts +0 -23
- package/dist/types/components/billing-form/billing-form.stories.d.ts +0 -8
- package/dist/types/components/business-details/business-details.stories.d.ts +0 -7
- package/dist/types/components/business-form/business-form-stepped.stories.d.ts +0 -27
- package/dist/types/components/business-form/business-form.stories.d.ts +0 -27
- package/dist/types/components/card-form/card-form.stories.d.ts +0 -17
- package/dist/types/components/gross-payment-chart/gross-payment-chart.stories.d.ts +0 -7
- package/dist/types/components/payment-details/payment-details.stories.d.ts +0 -8
- package/dist/types/components/payment-form/payment-form.stories.d.ts +0 -8
- package/dist/types/components/payments-list/payments-list.stories.d.ts +0 -9
- package/dist/types/components/payout-details/payout-details.stories.d.ts +0 -8
- package/dist/types/components/payouts-list/payouts-list.stories.d.ts +0 -9
- package/dist/types/home/runner/work/web-component-library/web-component-library/stencil-library/.stencil/config.d.ts +0 -11
- package/dist/webcomponents/p-14f7229e.entry.js +0 -1
- package/dist/webcomponents/p-2c2cde2d.js +0 -1
- package/dist/webcomponents/p-3501b0e8.entry.js +0 -1
- package/dist/webcomponents/p-3fc95638.entry.js +0 -1
- package/dist/webcomponents/p-4214dbb8.entry.js +0 -1
- package/dist/webcomponents/p-46d5f717.entry.js +0 -1
- package/dist/webcomponents/p-4852ce94.entry.js +0 -1
- package/dist/webcomponents/p-4ec00b55.entry.js +0 -1
- package/dist/webcomponents/p-4fb653a8.entry.js +0 -1
- package/dist/webcomponents/p-586c8a4f.entry.js +0 -1
- package/dist/webcomponents/p-5e6726a8.entry.js +0 -1
- package/dist/webcomponents/p-7bda12a5.entry.js +0 -1
- package/dist/webcomponents/p-7d58db66.js +0 -1
- package/dist/webcomponents/p-8f37e3ee.js +0 -1
- package/dist/webcomponents/p-91757d9f.entry.js +0 -1
- package/dist/webcomponents/p-9e012e33.entry.js +0 -1
- package/dist/webcomponents/p-a1ef6b4c.entry.js +0 -1
- package/dist/webcomponents/p-af771964.entry.js +0 -1
- package/dist/webcomponents/p-b60a58f4.entry.js +0 -1
- package/dist/webcomponents/p-bb70152e.entry.js +0 -1
- package/dist/webcomponents/p-bc91044c.entry.js +0 -1
- package/dist/webcomponents/p-c29c587f.entry.js +0 -1
- package/dist/webcomponents/p-cbb60191.js +0 -2
- package/dist/webcomponents/p-d0e4eca5.entry.js +0 -1
- package/dist/webcomponents/p-d4b66d74.entry.js +0 -1
- package/dist/webcomponents/p-e7ef2455.entry.js +0 -1
- package/dist/webcomponents/p-f2f0aa6e.entry.js +0 -1
- package/dist/webcomponents/p-f4075186.entry.js +0 -1
- package/loader/index.es2017.js +0 -3
- /package/{loader → dist/loader}/package.json +0 -0
- /package/dist/{components → module}/additional-questions-details.js +0 -0
- /package/dist/{components → module}/form-control-datepart.js +0 -0
- /package/dist/{components → module}/form-control-monetary.js +0 -0
- /package/dist/{components → module}/form-control-number-masked.js +0 -0
- /package/dist/{components → module}/form-control-number.js +0 -0
- /package/dist/{components → module}/form-control-select.js +0 -0
- /package/dist/{components → module}/form-control-text.js +0 -0
- /package/dist/{components → module}/generic-info-details.js +0 -0
- /package/dist/{components → module}/index.d.ts +0 -0
- /package/dist/{components → module}/index.js +0 -0
- /package/dist/{components → module}/justifi-additional-questions.js +0 -0
- /package/dist/{components → module}/justifi-billing-form.js +0 -0
- /package/dist/{components → module}/justifi-business-address-form.js +0 -0
- /package/dist/{components → module}/justifi-business-generic-info.js +0 -0
- /package/dist/{components → module}/justifi-business-owners.js +0 -0
- /package/dist/{components → module}/justifi-business-representative.js +0 -0
- /package/dist/{components → module}/justifi-details.js +0 -0
- /package/dist/{components → module}/justifi-legal-address-form.js +0 -0
- /package/dist/{components → module}/justifi-payment-method-form.js +0 -0
- /package/dist/{components → module}/justifi-payment-method-selector.js +0 -0
- /package/dist/{components → module}/justifi-table.js +0 -0
- /package/dist/{components → module}/legal-address-details.js +0 -0
- /package/dist/{components → module}/owner-details.js +0 -0
- /package/dist/{components → module}/pagination-menu.js +0 -0
- /package/dist/{components → module}/representative-details.js +0 -0
- /package/dist/{components → module}/select-input.js +0 -0
- /package/dist/{components → module}/subaccount-account-details.js +0 -0
- /package/dist/{components → module}/subaccount-merchant-details.js +0 -0
- /package/dist/{components → module}/subaccount-owners-details.js +0 -0
- /package/dist/{components → module}/subaccount-representative-details.js +0 -0
- /package/dist/{components → module}/text-input.js +0 -0
- /package/dist/webcomponents/{p-0d5d02d7.js → p-56f6ce4c.js} +0 -0
- /package/dist/webcomponents/{p-e12ab547.js → p-71679a41.js} +0 -0
- /package/dist/webcomponents/{p-47bc59b5.js → p-8e2a88a8.js} +0 -0
- /package/dist/webcomponents/{p-d6b5793d.js → p-9a6e4749.js} +0 -0
- /package/dist/webcomponents/{p-526cb161.js → p-9b4b91ba.js} +0 -0
- /package/dist/webcomponents/{p-9b6dcac5.js → p-ae263544.js} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function t(t){return"string"==typeof t||t instanceof String}function s(t){return"object"==typeof t&&null!=t&&"Object"===t?.constructor?.name}function i(t,s){return Array.isArray(s)?i(t,((t,i)=>s.includes(i))):Object.entries(t).reduce(((t,i)=>{let[e,u]=i;return s(u,e)&&(t[e]=u),t}),{})}const e="NONE",u="LEFT",h="FORCE_LEFT",r="RIGHT",n="FORCE_RIGHT";function o(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function a(t,s){if(s===t)return!0;const i=Array.isArray(s),e=Array.isArray(t);let u;if(i&&e){if(s.length!=t.length)return!1;for(u=0;u<s.length;u++)if(!a(s[u],t[u]))return!1;return!0}if(i!=e)return!1;if(s&&t&&"object"==typeof s&&"object"==typeof t){const i=s instanceof Date,e=t instanceof Date;if(i&&e)return s.getTime()==t.getTime();if(i!=e)return!1;const h=s instanceof RegExp,r=t instanceof RegExp;if(h&&r)return s.toString()==t.toString();if(h!=r)return!1;const n=Object.keys(s);for(u=0;u<n.length;u++)if(!Object.prototype.hasOwnProperty.call(t,n[u]))return!1;for(u=0;u<n.length;u++)if(!a(t[n[u]],s[n[u]]))return!1;return!0}return!(!s||!t||"function"!=typeof s||"function"!=typeof t)&&s.toString()===t.toString()}class l{constructor(t){for(Object.assign(this,t);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start;for(;this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end);)this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end?++this.oldSelection.end:++this.cursorPos}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?e:this.oldSelection.end!==this.cursorPos&&this.oldSelection.start!==this.cursorPos||this.oldSelection.end!==this.oldSelection.start?u:r}}function c(t,s){return new c.InputMask(t,s)}function d(s){if(null==s)throw new Error("mask property should be defined");return s instanceof RegExp?c.MaskedRegExp:t(s)?c.MaskedPattern:s===Date?c.MaskedDate:s===Number?c.MaskedNumber:Array.isArray(s)||s===Array?c.MaskedDynamic:c.Masked&&s.prototype instanceof c.Masked?s:c.Masked&&s instanceof c.Masked?s.constructor:s instanceof Function?c.MaskedFunction:(console.warn("Mask not found for mask",s),c.Masked)}function p(t){if(!t)throw new Error("Options in not defined");if(c.Masked){if(t.prototype instanceof c.Masked)return{mask:t};const{mask:e,...u}=t instanceof c.Masked?{mask:t}:s(t)&&t.mask instanceof c.Masked?t:{};if(e){const t=e.mask;return{...i(e,((t,s)=>!s.startsWith("_"))),mask:e.constructor,_mask:t,...u}}}return s(t)?{...t}:{mask:t}}function A(t){if(c.Masked&&t instanceof c.Masked)return t;const s=p(t),i=d(s.mask);if(!i)throw new Error(`Masked class is not found for provided mask ${s.mask}, appropriate module needs to be imported manually before creating mask.`);return s.mask===i&&delete s.mask,s._mask&&(s.mask=s._mask,delete s._mask),new i(s)}c.createMask=A;class f{get selectionStart(){let t;try{t=this._unsafeSelectionStart}catch{}return null!=t?t:this.value.length}get selectionEnd(){let t;try{t=this._unsafeSelectionEnd}catch{}return null!=t?t:this.value.length}select(t,s){if(null!=t&&null!=s&&(t!==this.selectionStart||s!==this.selectionEnd))try{this._unsafeSelect(t,s)}catch{}}get isActive(){return!1}}c.MaskElement=f;class F extends f{constructor(t){super(),this.input=t,this._onKeydown=this._onKeydown.bind(this),this._onInput=this._onInput.bind(this),this._onBeforeinput=this._onBeforeinput.bind(this),this._onCompositionEnd=this._onCompositionEnd.bind(this)}get rootElement(){return this.input.getRootNode?.()??document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(t){this.input.addEventListener("keydown",this._onKeydown),this.input.addEventListener("input",this._onInput),this.input.addEventListener("beforeinput",this._onBeforeinput),this.input.addEventListener("compositionend",this._onCompositionEnd),this.input.addEventListener("drop",t.drop),this.input.addEventListener("click",t.click),this.input.addEventListener("focus",t.focus),this.input.addEventListener("blur",t.commit),this._handlers=t}_onKeydown(t){return this._handlers.redo&&(90===t.keyCode&&t.shiftKey&&(t.metaKey||t.ctrlKey)||89===t.keyCode&&t.ctrlKey)?(t.preventDefault(),this._handlers.redo(t)):this._handlers.undo&&90===t.keyCode&&(t.metaKey||t.ctrlKey)?(t.preventDefault(),this._handlers.undo(t)):void(t.isComposing||this._handlers.selectionChange(t))}_onBeforeinput(t){return"historyUndo"===t.inputType&&this._handlers.undo?(t.preventDefault(),this._handlers.undo(t)):"historyRedo"===t.inputType&&this._handlers.redo?(t.preventDefault(),this._handlers.redo(t)):void 0}_onCompositionEnd(t){this._handlers.input(t)}_onInput(t){t.isComposing||this._handlers.input(t)}unbindEvents(){this.input.removeEventListener("keydown",this._onKeydown),this.input.removeEventListener("input",this._onInput),this.input.removeEventListener("beforeinput",this._onBeforeinput),this.input.removeEventListener("compositionend",this._onCompositionEnd),this.input.removeEventListener("drop",this._handlers.drop),this.input.removeEventListener("click",this._handlers.click),this.input.removeEventListener("focus",this._handlers.focus),this.input.removeEventListener("blur",this._handlers.commit),this._handlers={}}}c.HTMLMaskElement=F;class C extends F{constructor(t){super(t),this.input=t}get _unsafeSelectionStart(){return null!=this.input.selectionStart?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(t,s){this.input.setSelectionRange(t,s)}get value(){return this.input.value}set value(t){this.input.value=t}}c.HTMLMaskElement=F;class B extends F{get _unsafeSelectionStart(){const t=this.rootElement,s=t.getSelection&&t.getSelection(),i=s&&s.anchorOffset,e=s&&s.focusOffset;return null==e||null==i||i<e?i:e}get _unsafeSelectionEnd(){const t=this.rootElement,s=t.getSelection&&t.getSelection(),i=s&&s.anchorOffset,e=s&&s.focusOffset;return null==e||null==i||i>e?i:e}_unsafeSelect(t,s){if(!this.rootElement.createRange)return;const i=this.rootElement.createRange();i.setStart(this.input.firstChild||this.input,t),i.setEnd(this.input.lastChild||this.input,s);const e=this.rootElement,u=e.getSelection&&e.getSelection();u&&(u.removeAllRanges(),u.addRange(i))}get value(){return this.input.textContent||""}set value(t){this.input.textContent=t}}c.HTMLContenteditableMaskElement=B;class E{static MAX_LENGTH=100;states=[];currentIndex=0;get currentState(){return this.states[this.currentIndex]}get isEmpty(){return 0===this.states.length}push(t){this.currentIndex<this.states.length-1&&(this.states.length=this.currentIndex+1),this.states.push(t),this.states.length>E.MAX_LENGTH&&this.states.shift(),this.currentIndex=this.states.length-1}go(t){return this.currentIndex=Math.min(Math.max(this.currentIndex+t,0),this.states.length-1),this.currentState}undo(){return this.go(-1)}redo(){return this.go(1)}clear(){this.states.length=0,this.currentIndex=0}}c.InputMask=class{constructor(t,s){this.el=t instanceof f?t:t.isContentEditable&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName?new B(t):new C(t),this.masked=A(s),this._listeners={},this._value="",this._unmaskedValue="",this._rawInputValue="",this.history=new E,this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this._onUndo=this._onUndo.bind(this),this._onRedo=this._onRedo.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}maskEquals(t){return null==t||this.masked?.maskEquals(t)}get mask(){return this.masked.mask}set mask(t){if(this.maskEquals(t))return;if(!(t instanceof c.Masked)&&this.masked.constructor===d(t))return void this.masked.updateOptions({mask:t});const s=t instanceof c.Masked?t:A({mask:t});s.unmaskedValue=this.masked.unmaskedValue,this.masked=s}get value(){return this._value}set value(t){this.value!==t&&(this.masked.value=t,this.updateControl("auto"))}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(t){this.unmaskedValue!==t&&(this.masked.unmaskedValue=t,this.updateControl("auto"))}get rawInputValue(){return this._rawInputValue}set rawInputValue(t){this.rawInputValue!==t&&(this.masked.rawInputValue=t,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(t){this.masked.typedValueEquals(t)||(this.masked.typedValue=t,this.updateControl("auto"))}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange,undo:this._onUndo,redo:this._onRedo})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(t,s){const i=this._listeners[t];i&&i.forEach((t=>t(s)))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(t){this.el&&this.el.isActive&&(this.el.select(t,t),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value}updateControl(t){const s=this.masked.unmaskedValue,i=this.masked.value,e=this.masked.rawInputValue,u=this.displayValue,h=this.unmaskedValue!==s||this.value!==i||this._rawInputValue!==e;this._unmaskedValue=s,this._value=i,this._rawInputValue=e,this.el.value!==u&&(this.el.value=u),"auto"===t?this.alignCursor():null!=t&&(this.cursorPos=t),h&&this._fireChangeEvents(),this._historyChanging||!h&&!this.history.isEmpty||this.history.push({unmaskedValue:s,selection:{start:this.selectionStart,end:this.cursorPos}})}updateOptions(t){const{mask:s,...i}=t,e=!this.maskEquals(s),u=this.masked.optionsIsChanged(i);e&&(this.mask=s),u&&this.masked.updateOptions(i),(e||u)&&this.updateControl()}updateCursor(t){null!=t&&(this.cursorPos=t,this._delayUpdateCursor(t))}_delayUpdateCursor(t){this._abortUpdateCursor(),this._changingCursorPos=t,this._cursorChanging=setTimeout((()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())}),10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,u))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(t,s){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(s),this}off(t,s){if(!this._listeners[t])return this;if(!s)return delete this._listeners[t],this;const i=this._listeners[t].indexOf(s);return i>=0&&this._listeners[t].splice(i,1),this}_onInput(t){this._inputEvent=t,this._abortUpdateCursor();const s=new l({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),i=this.masked.rawInputValue,u=this.masked.splice(s.startChangePos,s.removed.length,s.inserted,s.removeDirection,{input:!0,raw:!0}).offset,h=i===this.masked.rawInputValue?s.removeDirection:e;let r=this.masked.nearestInputPos(s.startChangePos+u,h);h!==e&&(r=this.masked.nearestInputPos(r,e)),this.updateControl(r),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(t){t.preventDefault(),t.stopPropagation()}_onFocus(t){this.alignCursorFriendly()}_onClick(t){this.alignCursorFriendly()}_onUndo(){this._applyHistoryState(this.history.undo())}_onRedo(){this._applyHistoryState(this.history.redo())}_applyHistoryState(t){t&&(this._historyChanging=!0,this.unmaskedValue=t.unmaskedValue,this.el.select(t.selection.start,t.selection.end),this._saveSelection(),this._historyChanging=!1)}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}};class g{static normalize(t){return Array.isArray(t)?t:[t,new g]}constructor(t){Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},t)}aggregate(t){return this.rawInserted+=t.rawInserted,this.skip=this.skip||t.skip,this.inserted+=t.inserted,this.tailShift+=t.tailShift,this}get offset(){return this.tailShift+this.inserted.length}}c.ChangeDetails=g;class D{constructor(t,s,i){void 0===t&&(t=""),void 0===s&&(s=0),this.value=t,this.from=s,this.stop=i}toString(){return this.value}extend(t){this.value+=String(t)}appendTo(t){return t.append(this.toString(),{tail:!0}).aggregate(t._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(t){Object.assign(this,t)}unshift(t){if(!this.value.length||null!=t&&this.from>=t)return"";const s=this.value[0];return this.value=this.value.slice(1),s}shift(){if(!this.value.length)return"";const t=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),t}}class m{static DEFAULTS={skipInvalid:!0};static EMPTY_VALUES=[void 0,null,""];constructor(t){this._value="",this._update({...m.DEFAULTS,...t}),this._initialized=!0}updateOptions(t){this.optionsIsChanged(t)&&this.withValueRefresh(this._update.bind(this,t))}_update(t){Object.assign(this,t)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value}reset(){this._value=""}get value(){return this._value}set value(t){this.resolve(t,{input:!0})}resolve(t,s){void 0===s&&(s={input:!0}),this.reset(),this.append(t,s,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(t){this.resolve(t,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(t){this.format?this.value=this.format(t,this):this.unmaskedValue=String(t)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(t){this.resolve(t,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(t,s){return t}totalInputPositions(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),Math.min(this.displayValue.length,s-t)}extractInput(t,s,i){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),this.displayValue.slice(t,s)}extractTail(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),new D(this.extractInput(t,s),t)}appendTail(s){return t(s)&&(s=new D(String(s))),s.appendTo(this)}_appendCharRaw(t,s){return t?(this._value+=t,new g({inserted:t,rawInserted:t})):new g}_appendChar(t,s,i){void 0===s&&(s={});const e=this.state;let u;if([t,u]=this.doPrepareChar(t,s),t&&(u=u.aggregate(this._appendCharRaw(t,s))),u.inserted){let t,h=!1!==this.doValidate(s);if(h&&null!=i){const s=this.state;if(!0===this.overwrite){t=i.state;for(let t=0;t<u.rawInserted.length;++t)i.unshift(this.displayValue.length-u.tailShift)}let e=this.appendTail(i);if(h=e.rawInserted.length===i.toString().length,!(h&&e.inserted||"shift"!==this.overwrite)){this.state=s,t=i.state;for(let t=0;t<u.rawInserted.length;++t)i.shift();e=this.appendTail(i),h=e.rawInserted.length===i.toString().length}h&&e.inserted&&(this.state=s)}h||(u=new g,this.state=e,i&&t&&(i.state=t))}return u}_appendPlaceholder(){return new g}_appendEager(){return new g}append(s,i,e){if(!t(s))throw new Error("value should be string");const u=t(e)?new D(String(e)):e;let h;i?.tail&&(i._beforeTailState=this.state),[s,h]=this.doPrepare(s,i);for(let t=0;t<s.length;++t){const e=this._appendChar(s[t],i,u);if(!e.rawInserted&&!this.doSkipInvalid(s[t],i,u))break;h.aggregate(e)}return(!0===this.eager||"append"===this.eager)&&i?.input&&s&&h.aggregate(this._appendEager()),null!=u&&(h.tailShift+=this.appendTail(u).tailShift),h}remove(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),this._value=this.displayValue.slice(0,t)+this.displayValue.slice(s),new g}withValueRefresh(t){if(this._refreshing||!this._initialized)return t();this._refreshing=!0;const s=this.rawInputValue,i=this.value,e=t();return this.rawInputValue=s,this.value&&this.value!==i&&0===i.indexOf(this.value)&&(this.append(i.slice(this.displayValue.length),{},""),this.doCommit()),delete this._refreshing,e}runIsolated(t){if(this._isolated||!this._initialized)return t(this);this._isolated=!0;const s=this.state,i=t(this);return this.state=s,delete this._isolated,i}doSkipInvalid(t,s,i){return Boolean(this.skipInvalid)}doPrepare(t,s){return void 0===s&&(s={}),g.normalize(this.prepare?this.prepare(t,this,s):t)}doPrepareChar(t,s){return void 0===s&&(s={}),g.normalize(this.prepareChar?this.prepareChar(t,this,s):t)}doValidate(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))}doCommit(){this.commit&&this.commit(this.value,this)}splice(t,s,i,o,a){void 0===o&&(o=e),void 0===a&&(a={input:!0});const l=t+s,c=this.extractTail(l),d=!0===this.eager||"remove"===this.eager;let p;d&&(o=function(t){switch(t){case u:return h;case r:return n;default:return t}}(o),p=this.extractInput(0,l,{raw:!0}));let A=t;const f=new g;if(o!==e&&(A=this.nearestInputPos(t,s>1&&0!==t&&!d?e:o),f.tailShift=A-t),f.aggregate(this.remove(A)),d&&o!==e&&p===this.rawInputValue)if(o===h){let t;for(;p===this.rawInputValue&&(t=this.displayValue.length);)f.aggregate(new g({tailShift:-1})).aggregate(this.remove(t-1))}else o===n&&c.unshift();return f.aggregate(this.append(i,a,c))}maskEquals(t){return this.mask===t}optionsIsChanged(t){return!a(this,t)}typedValueEquals(t){const s=this.typedValue;return t===s||m.EMPTY_VALUES.includes(t)&&m.EMPTY_VALUES.includes(s)||!!this.format&&this.format(t,this)===this.format(this.typedValue,this)}}c.Masked=m;class v{constructor(t,s){void 0===t&&(t=[]),void 0===s&&(s=0),this.chunks=t,this.from=s}toString(){return this.chunks.map(String).join("")}extend(s){if(!String(s))return;s=t(s)?new D(String(s)):s;const i=this.chunks[this.chunks.length-1],e=i&&(i.stop===s.stop||null==s.stop)&&s.from===i.from+i.toString().length;if(s instanceof D)e?i.extend(s.toString()):this.chunks.push(s);else if(s instanceof v){if(null==s.stop){let t;for(;s.chunks.length&&null==s.chunks[0].stop;)t=s.chunks.shift(),t.from+=s.from,this.extend(t)}s.toString()&&(s.stop=s.blockIndex,this.chunks.push(s))}}appendTo(t){if(!(t instanceof c.MaskedPattern))return new D(this.toString()).appendTo(t);const s=new g;for(let i=0;i<this.chunks.length&&!s.skip;++i){const e=this.chunks[i],u=t._mapPosToBlock(t.displayValue.length),h=e.stop;let r;if(null!=h&&(!u||u.index<=h)){if(e instanceof v||t._stops.indexOf(h)>=0){const i=t._appendPlaceholder(h);s.aggregate(i)}r=e instanceof v&&t._blocks[h]}if(r){const i=r.appendTail(e);i.skip=!1,s.aggregate(i),t._value+=i.inserted;const u=e.toString().slice(i.rawInserted.length);u&&s.aggregate(t.append(u,{tail:!0}))}else s.aggregate(t.append(e.toString(),{tail:!0}))}return s}get state(){return{chunks:this.chunks.map((t=>t.state)),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(t){const{chunks:s,...i}=t;Object.assign(this,i),this.chunks=s.map((t=>{const s="chunks"in t?new v:new D;return s.state=t,s}))}unshift(t){if(!this.chunks.length||null!=t&&this.from>=t)return"";const s=null!=t?t-this.from:t;let i=0;for(;i<this.chunks.length;){const t=this.chunks[i],e=t.unshift(s);if(t.toString()){if(!e)break;++i}else this.chunks.splice(i,1);if(e)return e}return""}shift(){if(!this.chunks.length)return"";let t=this.chunks.length-1;for(;0<=t;){const s=this.chunks[t],i=s.shift();if(s.toString()){if(!i)break;--t}else this.chunks.splice(t,1);if(i)return i}return""}}class k{constructor(t,s){this.masked=t,this._log=[];const{offset:i,index:e}=t._mapPosToBlock(s)||(s<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=i,this.index=e,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(t){Object.assign(this,t)}pushState(){this._log.push(this.state)}popState(){const t=this._log.pop();return t&&(this.state=t),t}bindBlock(){this.block||(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(t){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=this.block?.displayValue.length||0)if(t())return this.ok=!0;return this.ok=!1}_pushRight(t){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(t())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,h),0!==this.offset||void 0}))}pushLeftBeforeInput(){return this._pushLeft((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,u),!0}))}pushLeftBeforeRequired(){return this._pushLeft((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,u),!0}))}pushRightBeforeFilled(){return this._pushRight((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,n),this.offset!==this.block.value.length||void 0}))}pushRightBeforeInput(){return this._pushRight((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,e),!0}))}pushRightBeforeRequired(){return this._pushRight((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,e),!0}))}}class _{constructor(t){Object.assign(this,t),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(t,s){return void 0===t&&(t=0),void 0===s&&(s=this._value.length),this._value=this._value.slice(0,t)+this._value.slice(s),this._value||(this._isRawInput=!1),new g}nearestInputPos(t,s){void 0===s&&(s=e);const i=this._value.length;switch(s){case u:case h:return 0;default:return i}}totalInputPositions(t,s){return void 0===t&&(t=0),void 0===s&&(s=this._value.length),this._isRawInput?s-t:0}extractInput(t,s,i){return void 0===t&&(t=0),void 0===s&&(s=this._value.length),void 0===i&&(i={}),i.raw&&this._isRawInput&&this._value.slice(t,s)||""}get isComplete(){return!0}get isFilled(){return Boolean(this._value)}_appendChar(t,s){void 0===s&&(s={});const i=new g;if(this.isFilled)return i;const e=this.char===t&&(this.isUnmasking||s.input||s.raw)&&(!s.raw||!(!0===this.eager||"append"===this.eager))&&!s.tail;return e&&(i.rawInserted=this.char),this._value=i.inserted=this.char,this._isRawInput=e&&(s.raw||s.input),i}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const t=new g;return this.isFilled||(this._value=t.inserted=this.char),t}extractTail(){return new D("")}appendTail(s){return t(s)&&(s=new D(String(s))),s.appendTo(this)}append(t,s,i){const e=this._appendChar(t[0],s);return null!=i&&(e.tailShift+=this.appendTail(i).tailShift),e}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value,this._isRawInput=Boolean(t._rawInputValue)}}class w{static DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};constructor(t){const{parent:s,isOptional:i,placeholderChar:e,displayChar:u,lazy:h,eager:r,...n}=t;this.masked=A(n),Object.assign(this,{parent:s,isOptional:i,placeholderChar:e,displayChar:u,lazy:h,eager:r})}reset(){this.isFilled=!1,this.masked.reset()}remove(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.value.length),0===t&&s>=1?(this.isFilled=!1,this.masked.remove(t,s)):new g}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return Boolean(this.masked.value)||this.isOptional}_appendChar(t,s){if(void 0===s&&(s={}),this.isFilled)return new g;const i=this.masked.state,e=this.masked._appendChar(t,this.currentMaskFlags(s));return e.inserted&&!1===this.doValidate(s)&&(e.inserted=e.rawInserted="",this.masked.state=i),e.inserted||this.isOptional||this.lazy||s.input||(e.inserted=this.placeholderChar),e.skip=!e.inserted&&!this.isOptional,this.isFilled=Boolean(e.inserted),e}append(t,s,i){return this.masked.append(t,this.currentMaskFlags(s),i)}_appendPlaceholder(){const t=new g;return this.isFilled||this.isOptional||(this.isFilled=!0,t.inserted=this.placeholderChar),t}_appendEager(){return new g}extractTail(t,s){return this.masked.extractTail(t,s)}appendTail(t){return this.masked.appendTail(t)}extractInput(t,s,i){return void 0===t&&(t=0),void 0===s&&(s=this.value.length),this.masked.extractInput(t,s,i)}nearestInputPos(t,s){void 0===s&&(s=e);const i=this.value.length,o=Math.min(Math.max(t,0),i);switch(s){case u:case h:return this.isComplete?o:0;case r:case n:return this.isComplete?o:i;default:return o}}totalInputPositions(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.value.length),this.value.slice(t,s).length}doValidate(t){return this.masked.doValidate(this.currentMaskFlags(t))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(t)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(t){this.masked.state=t.masked,this.isFilled=t.isFilled}currentMaskFlags(t){return{...t,_beforeTailState:t?._beforeTailState?.masked||t?._beforeTailState}}}c.MaskedRegExp=class extends m{updateOptions(t){super.updateOptions(t)}_update(t){const s=t.mask;s&&(t.validate=t=>t.search(s)>=0),super._update(t)}};class b extends m{static DEFAULTS={lazy:!0,placeholderChar:"_"};static STOP_CHAR="`";static ESCAPE_CHAR="\\";static InputDefinition=w;static FixedDefinition=_;constructor(t){super({...b.DEFAULTS,...t,definitions:Object.assign({},w.DEFAULT_DEFINITIONS,t?.definitions)})}updateOptions(t){super.updateOptions(t)}_update(t){t.definitions=Object.assign({},this.definitions,t.definitions),super._update(t),this._rebuildMask()}_rebuildMask(){const t=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};const s=this.mask;if(!s||!t)return;let i=!1,e=!1;for(let u=0;u<s.length;++u){if(this.blocks){const t=s.slice(u),i=Object.keys(this.blocks).filter((s=>0===t.indexOf(s)));i.sort(((t,s)=>s.length-t.length));const e=i[0];if(e){const{expose:t,repeat:s,...i}=p(this.blocks[e]),h={lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,...i,repeat:s,parent:this},r=null!=s?new c.RepeatBlock(h):A(h);r&&(this._blocks.push(r),t&&(this.exposeBlock=r),this._maskedBlocks[e]||(this._maskedBlocks[e]=[]),this._maskedBlocks[e].push(this._blocks.length-1)),u+=e.length-1;continue}}let h=s[u],r=h in t;if(h===b.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===h||"}"===h){i=!i;continue}if("["===h||"]"===h){e=!e;continue}if(h===b.ESCAPE_CHAR){if(++u,h=s[u],!h)break;r=!1}const n=r?new w({isOptional:e,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...p(t[h]),parent:this}):new _({char:h,eager:this.eager,isUnmasking:i});this._blocks.push(n)}}get state(){return{...super.state,_blocks:this._blocks.map((t=>t.state))}}set state(t){if(!t)return void this.reset();const{_blocks:s,...i}=t;this._blocks.forEach(((t,i)=>t.state=s[i])),super.state=i}reset(){super.reset(),this._blocks.forEach((t=>t.reset()))}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every((t=>t.isComplete))}get isFilled(){return this._blocks.every((t=>t.isFilled))}get isFixed(){return this._blocks.every((t=>t.isFixed))}get isOptional(){return this._blocks.every((t=>t.isOptional))}doCommit(){this._blocks.forEach((t=>t.doCommit())),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce(((t,s)=>t+s.unmaskedValue),"")}set unmaskedValue(t){if(this.exposeBlock){const s=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=t,this.appendTail(s),this.doCommit()}else super.unmaskedValue=t}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce(((t,s)=>t+s.value),"")}set value(t){if(this.exposeBlock){const s=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=t,this.appendTail(s),this.doCommit()}else super.value=t}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(t){if(this.exposeBlock){const s=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=t,this.appendTail(s),this.doCommit()}else super.typedValue=t}get displayValue(){return this._blocks.reduce(((t,s)=>t+s.displayValue),"")}appendTail(t){return super.appendTail(t).aggregate(this._appendPlaceholder())}_appendEager(){const t=new g;let s=this._mapPosToBlock(this.displayValue.length)?.index;if(null==s)return t;this._blocks[s].isFilled&&++s;for(let i=s;i<this._blocks.length;++i){const s=this._blocks[i]._appendEager();if(!s.inserted)break;t.aggregate(s)}return t}_appendCharRaw(t,s){void 0===s&&(s={});const i=this._mapPosToBlock(this.displayValue.length),e=new g;if(!i)return e;for(let u,h=i.index;u=this._blocks[h];++h){const i=u._appendChar(t,{...s,_beforeTailState:s._beforeTailState?._blocks?.[h]});if(e.aggregate(i),i.skip||i.rawInserted)break}return e}extractTail(t,s){void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length);const i=new v;return t===s||this._forEachBlocksInRange(t,s,((t,s,e,u)=>{const h=t.extractTail(e,u);h.stop=this._findStopBefore(s),h.from=this._blockStartPos(s),h instanceof v&&(h.blockIndex=s),i.extend(h)})),i}extractInput(t,s,i){if(void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),void 0===i&&(i={}),t===s)return"";let e="";return this._forEachBlocksInRange(t,s,((t,s,u,h)=>{e+=t.extractInput(u,h,i)})),e}_findStopBefore(t){let s;for(let i=0;i<this._stops.length;++i){const e=this._stops[i];if(!(e<=t))break;s=e}return s}_appendPlaceholder(t){const s=new g;if(this.lazy&&null==t)return s;const i=this._mapPosToBlock(this.displayValue.length);return i?(this._blocks.slice(i.index,null!=t?t:this._blocks.length).forEach((i=>{if(!i.lazy||null!=t){const t=i._appendPlaceholder(i._blocks?.length);this._value+=t.inserted,s.aggregate(t)}})),s):s}_mapPosToBlock(t){let s="";for(let i=0;i<this._blocks.length;++i){const e=s.length;if(s+=this._blocks[i].displayValue,t<=s.length)return{index:i,offset:t-e}}}_blockStartPos(t){return this._blocks.slice(0,t).reduce(((t,s)=>t+s.displayValue.length),0)}_forEachBlocksInRange(t,s,i){void 0===s&&(s=this.displayValue.length);const e=this._mapPosToBlock(t);if(e){const t=this._mapPosToBlock(s),u=t&&e.index===t.index;if(i(this._blocks[e.index],e.index,e.offset,t&&u?t.offset:this._blocks[e.index].displayValue.length),t&&!u){for(let s=e.index+1;s<t.index;++s)i(this._blocks[s],s,0,this._blocks[s].displayValue.length);i(this._blocks[t.index],t.index,0,t.offset)}}}remove(t,s){void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length);const i=super.remove(t,s);return this._forEachBlocksInRange(t,s,((t,s,e,u)=>{i.aggregate(t.remove(e,u))})),i}nearestInputPos(t,s){if(void 0===s&&(s=e),!this._blocks.length)return 0;const i=new k(this,t);if(s===e)return i.pushRightBeforeInput()?i.pos:(i.popState(),i.pushLeftBeforeInput()?i.pos:this.displayValue.length);if(s===u||s===h){if(s===u){if(i.pushRightBeforeFilled(),i.ok&&i.pos===t)return t;i.popState()}if(i.pushLeftBeforeInput(),i.pushLeftBeforeRequired(),i.pushLeftBeforeFilled(),s===u){if(i.pushRightBeforeInput(),i.pushRightBeforeRequired(),i.ok&&i.pos<=t)return i.pos;if(i.popState(),i.ok&&i.pos<=t)return i.pos;i.popState()}return i.ok?i.pos:s===h?0:(i.popState(),i.ok?i.pos:(i.popState(),i.ok?i.pos:0))}return s===r||s===n?(i.pushRightBeforeInput(),i.pushRightBeforeRequired(),i.pushRightBeforeFilled()?i.pos:s===n?this.displayValue.length:(i.popState(),i.ok?i.pos:(i.popState(),i.ok?i.pos:this.nearestInputPos(t,u)))):t}totalInputPositions(t,s){void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length);let i=0;return this._forEachBlocksInRange(t,s,((t,s,e,u)=>{i+=t.totalInputPositions(e,u)})),i}maskedBlock(t){return this.maskedBlocks(t)[0]}maskedBlocks(t){const s=this._maskedBlocks[t];return s?s.map((t=>this._blocks[t])):[]}}c.MaskedPattern=b;class y extends b{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){const{to:s=this.to||0,from:i=this.from||0,maxLength:e=this.maxLength||0,autofix:u=this.autofix,...h}=t;this.to=s,this.from=i,this.maxLength=Math.max(String(s).length,e),this.autofix=u;const r=String(this.from).padStart(this.maxLength,"0"),n=String(this.to).padStart(this.maxLength,"0");let o=0;for(;o<n.length&&n[o]===r[o];)++o;h.mask=n.slice(0,o).replace(/0/g,"\\0")+"0".repeat(this.maxLength-o),super._update(h)}get isComplete(){return super.isComplete&&Boolean(this.value)}boundaries(t){let s="",i="";const[,e,u]=t.match(/^(\D*)(\d*)(\D*)/)||[];return u&&(s="0".repeat(e.length)+u,i="9".repeat(e.length)+u),s=s.padEnd(this.maxLength,"0"),i=i.padEnd(this.maxLength,"9"),[s,i]}doPrepareChar(t,s){let i;if(void 0===s&&(s={}),[t,i]=super.doPrepareChar(t.replace(/\D/g,""),s),!this.autofix||!t)return i.skip=!this.isComplete,[t,i];const e=String(this.from).padStart(this.maxLength,"0"),u=String(this.to).padStart(this.maxLength,"0"),h=this.value+t;if(h.length>this.maxLength)return["",i];const[r,n]=this.boundaries(h);return Number(n)<this.from?[e[h.length-1],i]:Number(r)>this.to?"pad"===this.autofix&&h.length<this.maxLength?["",i.aggregate(this.append(e[h.length-1]+t,s))]:[u[h.length-1],i]:[t,i]}doValidate(t){const s=this.value;if(-1===s.search(/[^0]/)&&s.length<=this._matchFrom)return!0;const[i,e]=this.boundaries(s);return this.from<=Number(e)&&Number(i)<=this.to&&super.doValidate(t)}}c.MaskedRange=y;class S extends b{static GET_DEFAULT_BLOCKS=()=>({d:{mask:y,from:1,to:31,maxLength:2},m:{mask:y,from:1,to:12,maxLength:2},Y:{mask:y,from:1900,to:9999}});static DEFAULTS={mask:Date,pattern:"d{.}`m{.}`Y",format:t=>t?[String(t.getDate()).padStart(2,"0"),String(t.getMonth()+1).padStart(2,"0"),t.getFullYear()].join("."):"",parse:t=>{const[s,i,e]=t.split(".").map(Number);return new Date(e,i-1,s)}};static extractPatternOptions(s){const{mask:i,pattern:e,...u}=s;return{...u,mask:t(i)?i:e}}constructor(t){super(S.extractPatternOptions({...S.DEFAULTS,...t}))}updateOptions(t){super.updateOptions(t)}_update(s){const{mask:i,pattern:e,blocks:u,...h}={...S.DEFAULTS,...s},r=Object.assign({},S.GET_DEFAULT_BLOCKS());s.min&&(r.Y.from=s.min.getFullYear()),s.max&&(r.Y.to=s.max.getFullYear()),s.min&&s.max&&r.Y.from===r.Y.to&&(r.m.from=s.min.getMonth()+1,r.m.to=s.max.getMonth()+1,r.m.from===r.m.to&&(r.d.from=s.min.getDate(),r.d.to=s.max.getDate())),Object.assign(r,this.blocks,u),Object.keys(r).forEach((t=>{const i=r[t];!("autofix"in i)&&"autofix"in s&&(i.autofix=s.autofix)})),super._update({...h,mask:t(i)?i:e,blocks:r})}doValidate(t){const s=this.date;return super.doValidate(t)&&(!this.isComplete||this.isDateExist(this.value)&&null!=s&&(null==this.min||this.min<=s)&&(null==this.max||s<=this.max))}isDateExist(t){return this.format(this.parse(t,this),this).indexOf(t)>=0}get date(){return this.typedValue}set date(t){this.typedValue=t}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(t){super.typedValue=t}maskEquals(t){return t===Date||super.maskEquals(t)}optionsIsChanged(t){return super.optionsIsChanged(S.extractPatternOptions(t))}}c.MaskedDate=S;class V extends m{static DEFAULTS;constructor(t){super({...V.DEFAULTS,...t}),this.currentMask=void 0}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),"mask"in t&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(t.mask)?t.mask.map((t=>{const{expose:s,...i}=p(t),e=A({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...i});return s&&(this.exposeMask=e),e})):[])}_appendCharRaw(t,s){void 0===s&&(s={});const i=this._applyDispatch(t,s);return this.currentMask&&i.aggregate(this.currentMask._appendChar(t,this.currentMaskFlags(s))),i}_applyDispatch(t,s,i){void 0===t&&(t=""),void 0===s&&(s={}),void 0===i&&(i="");const e=s.tail&&null!=s._beforeTailState?s._beforeTailState._value:this.value,u=this.rawInputValue,h=s.tail&&null!=s._beforeTailState?s._beforeTailState._rawInputValue:u,r=u.slice(h.length),n=this.currentMask,o=new g,a=n?.state;if(this.currentMask=this.doDispatch(t,{...s},i),this.currentMask)if(this.currentMask!==n){if(this.currentMask.reset(),h){const t=this.currentMask.append(h,{raw:!0});o.tailShift=t.inserted.length-e.length}r&&(o.tailShift+=this.currentMask.append(r,{raw:!0,tail:!0}).tailShift)}else a&&(this.currentMask.state=a);return o}_appendPlaceholder(){const t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendPlaceholder()),t}_appendEager(){const t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendEager()),t}appendTail(t){const s=new g;return t&&s.aggregate(this._applyDispatch("",{},t)),s.aggregate(this.currentMask?this.currentMask.appendTail(t):super.appendTail(t))}currentMaskFlags(t){return{...t,_beforeTailState:t._beforeTailState?.currentMaskRef===this.currentMask&&t._beforeTailState?.currentMask||t._beforeTailState}}doDispatch(t,s,i){return void 0===s&&(s={}),void 0===i&&(i=""),this.dispatch(t,this,s,i)}doValidate(t){return super.doValidate(t)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(t)))}doPrepare(t,s){void 0===s&&(s={});let[i,e]=super.doPrepare(t,s);if(this.currentMask){let t;[i,t]=super.doPrepare(i,this.currentMaskFlags(s)),e=e.aggregate(t)}return[i,e]}doPrepareChar(t,s){void 0===s&&(s={});let[i,e]=super.doPrepareChar(t,s);if(this.currentMask){let t;[i,t]=super.doPrepareChar(i,this.currentMaskFlags(s)),e=e.aggregate(t)}return[i,e]}reset(){this.currentMask?.reset(),this.compiledMasks.forEach((t=>t.reset()))}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(t){this.exposeMask?(this.exposeMask.value=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=t}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(t){this.exposeMask?(this.exposeMask.unmaskedValue=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=t}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(t){if(this.exposeMask)return this.exposeMask.typedValue=t,this.currentMask=this.exposeMask,void this._applyDispatch();let s=String(t);this.currentMask&&(this.currentMask.typedValue=t,s=this.currentMask.unmaskedValue),this.unmaskedValue=s}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){return Boolean(this.currentMask?.isComplete)}get isFilled(){return Boolean(this.currentMask?.isFilled)}remove(t,s){const i=new g;return this.currentMask&&i.aggregate(this.currentMask.remove(t,s)).aggregate(this._applyDispatch()),i}get state(){return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((t=>t.state)),currentMaskRef:this.currentMask,currentMask:this.currentMask?.state}}set state(t){const{compiledMasks:s,currentMaskRef:i,currentMask:e,...u}=t;s&&this.compiledMasks.forEach(((t,i)=>t.state=s[i])),null!=i&&(this.currentMask=i,this.currentMask.state=e),super.state=u}extractInput(t,s,i){return this.currentMask?this.currentMask.extractInput(t,s,i):""}extractTail(t,s){return this.currentMask?this.currentMask.extractTail(t,s):super.extractTail(t,s)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(t,s){return this.currentMask?this.currentMask.nearestInputPos(t,s):super.nearestInputPos(t,s)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(t){this._overwrite=t}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(t){this._eager=t}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(t){this._skipInvalid=t}maskEquals(t){return Array.isArray(t)?this.compiledMasks.every(((s,i)=>{if(!t[i])return;const{mask:e,...u}=t[i];return a(s,u)&&s.maskEquals(e)})):super.maskEquals(t)}typedValueEquals(t){return Boolean(this.currentMask?.typedValueEquals(t))}}V.DEFAULTS={dispatch:(t,s,i,e)=>{if(!s.compiledMasks.length)return;const u=s.rawInputValue,r=s.compiledMasks.map(((r,n)=>{const o=s.currentMask===r,a=o?r.displayValue.length:r.nearestInputPos(r.displayValue.length,h);return r.rawInputValue!==u?(r.reset(),r.append(u,{raw:!0})):o||r.remove(a),r.append(t,s.currentMaskFlags(i)),r.appendTail(e),{index:n,weight:r.rawInputValue.length,totalInputPositions:r.totalInputPositions(0,Math.max(a,r.nearestInputPos(r.displayValue.length,h)))}}));return r.sort(((t,s)=>s.weight-t.weight||s.totalInputPositions-t.totalInputPositions)),s.compiledMasks[r[0].index]}},c.MaskedDynamic=V,c.MaskedEnum=class extends b{constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){const{enum:s,...i}=t;if(s){const t=s.map((t=>t.length)),e=Math.min(...t),u=Math.max(...t)-e;i.mask="*".repeat(e),u&&(i.mask+="["+"*".repeat(u)+"]"),this.enum=s}super._update(i)}doValidate(t){return this.enum.some((t=>0===t.indexOf(this.unmaskedValue)))&&super.doValidate(t)}},c.MaskedFunction=class extends m{updateOptions(t){super.updateOptions(t)}_update(t){super._update({...t,validate:t.mask})}};class x extends m{static UNMASKED_RADIX=".";static EMPTY_VALUES=[...m.EMPTY_VALUES,0];static DEFAULTS={mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[x.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})};constructor(t){super({...x.DEFAULTS,...t})}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),this._updateRegExps()}_updateRegExps(){const t="^"+(this.allowNegative?"[+|\\-]?":""),s=(this.scale?`(${o(this.radix)}\\d{0,${this.scale}})?`:"")+"$";this._numberRegExp=new RegExp(t+"\\d*"+s),this._mapToRadixRegExp=new RegExp(`[${this.mapToRadix.map(o).join("")}]`,"g"),this._thousandsSeparatorRegExp=new RegExp(o(this.thousandsSeparator),"g")}_removeThousandsSeparators(t){return t.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(t){const s=t.split(this.radix);return s[0]=s[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),s.join(this.radix)}doPrepareChar(t,s){void 0===s&&(s={});const[i,e]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(s.input&&s.raw||!s.input&&!s.raw)?t.replace(this._mapToRadixRegExp,this.radix):t),s);return t&&!i&&(e.skip=!0),!i||this.allowPositive||this.value||"-"===i||e.aggregate(this._appendChar("-")),[i,e]}_separatorsCount(t,s){void 0===s&&(s=!1);let i=0;for(let e=0;e<t;++e)this._value.indexOf(this.thousandsSeparator,e)===e&&(++i,s&&(t+=this.thousandsSeparator.length));return i}_separatorsCountFromSlice(t){return void 0===t&&(t=this._value),this._separatorsCount(this._removeThousandsSeparators(t).length,!0)}extractInput(t,s,i){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),[t,s]=this._adjustRangeWithSeparators(t,s),this._removeThousandsSeparators(super.extractInput(t,s,i))}_appendCharRaw(t,s){if(void 0===s&&(s={}),!this.thousandsSeparator)return super._appendCharRaw(t,s);const i=this._separatorsCountFromSlice(s.tail&&s._beforeTailState?s._beforeTailState._value:this._value);this._value=this._removeThousandsSeparators(this.value);const e=super._appendCharRaw(t,s);this._value=this._insertThousandsSeparators(this._value);const u=this._separatorsCountFromSlice(s.tail&&s._beforeTailState?s._beforeTailState._value:this._value);return e.tailShift+=(u-i)*this.thousandsSeparator.length,e.skip=!e.rawInserted&&t===this.thousandsSeparator,e}_findSeparatorAround(t){if(this.thousandsSeparator){const s=this.value.indexOf(this.thousandsSeparator,t-this.thousandsSeparator.length+1);if(s<=t)return s}return-1}_adjustRangeWithSeparators(t,s){const i=this._findSeparatorAround(t);i>=0&&(t=i);const e=this._findSeparatorAround(s);return e>=0&&(s=e+this.thousandsSeparator.length),[t,s]}remove(t,s){void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),[t,s]=this._adjustRangeWithSeparators(t,s);const i=this.value.slice(0,t),e=this.value.slice(s),u=this._separatorsCount(i.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(i+e));const h=this._separatorsCountFromSlice(i);return new g({tailShift:(h-u)*this.thousandsSeparator.length})}nearestInputPos(t,s){if(!this.thousandsSeparator)return t;switch(s){case e:case u:case h:{const i=this._findSeparatorAround(t-1);if(i>=0){const e=i+this.thousandsSeparator.length;if(t<e||this.value.length<=e||s===h)return i}break}case r:case n:{const s=this._findSeparatorAround(t);if(s>=0)return s+this.thousandsSeparator.length}}return t}doValidate(t){let s=Boolean(this._removeThousandsSeparators(this.value).match(this._numberRegExp));return s&&(s=s&&!isNaN(this.number)&&(null==this.min||this.min>=0||this.min<=this.number)&&(null==this.max||this.max<=0||this.number<=this.max)),s&&super.doValidate(t)}doCommit(){if(this.value){const t=this.number;let s=t;null!=this.min&&(s=Math.max(s,this.min)),null!=this.max&&(s=Math.min(s,this.max)),s!==t&&(this.unmaskedValue=this.format(s,this));let i=this.value;this.normalizeZeros&&(i=this._normalizeZeros(i)),this.padFractionalZeros&&this.scale>0&&(i=this._padFractionalZeros(i)),this._value=i}super.doCommit()}_normalizeZeros(t){const s=this._removeThousandsSeparators(t).split(this.radix);return s[0]=s[0].replace(/^(\D*)(0*)(\d*)/,((t,s,i,e)=>s+e)),t.length&&!/\d$/.test(s[0])&&(s[0]=s[0]+"0"),s.length>1&&(s[1]=s[1].replace(/0*$/,""),s[1].length||(s.length=1)),this._insertThousandsSeparators(s.join(this.radix))}_padFractionalZeros(t){if(!t)return t;const s=t.split(this.radix);return s.length<2&&s.push(""),s[1]=s[1].padEnd(this.scale,"0"),s.join(this.radix)}doSkipInvalid(t,s,i){void 0===s&&(s={});const e=0===this.scale&&t!==this.thousandsSeparator&&(t===this.radix||t===x.UNMASKED_RADIX||this.mapToRadix.includes(t));return super.doSkipInvalid(t,s,i)&&!e}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,x.UNMASKED_RADIX)}set unmaskedValue(t){super.unmaskedValue=t}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(t){this.rawInputValue=this.format(t,this).replace(x.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(t){this.typedValue=t}get allowNegative(){return null!=this.min&&this.min<0||null!=this.max&&this.max<0}get allowPositive(){return null!=this.min&&this.min>0||null!=this.max&&this.max>0}typedValueEquals(t){return(super.typedValueEquals(t)||x.EMPTY_VALUES.includes(t)&&x.EMPTY_VALUES.includes(this.typedValue))&&!(0===t&&""===this.value)}}c.MaskedNumber=x;const I={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function T(t,s,i){void 0===s&&(s=I.MASKED),void 0===i&&(i=I.MASKED);const e=A(t);return t=>e.runIsolated((e=>(e[s]=t,e[i])))}c.PIPE_TYPE=I,c.createPipe=T,c.pipe=function(t,s,i,e){return T(s,i,e)(t)},c.RepeatBlock=class extends b{get repeatFrom(){return(Array.isArray(this.repeat)?this.repeat[0]:this.repeat===1/0?0:this.repeat)??0}get repeatTo(){return(Array.isArray(this.repeat)?this.repeat[1]:this.repeat)??1/0}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){const{repeat:s,...i}=p(t);this._blockOpts=Object.assign({},this._blockOpts,i);const e=A(this._blockOpts);this.repeat=s??e.repeat??this.repeat??1/0,super._update({mask:"m".repeat(Math.max(this.repeatTo===1/0&&this._blocks?.length||0,this.repeatFrom)),blocks:{m:e},eager:e.eager,overwrite:e.overwrite,skipInvalid:e.skipInvalid,lazy:e.lazy,placeholderChar:e.placeholderChar,displayChar:e.displayChar})}_allocateBlock(t){return t<this._blocks.length?this._blocks[t]:this.repeatTo===1/0||this._blocks.length<this.repeatTo?(this._blocks.push(A(this._blockOpts)),this.mask+="m",this._blocks[this._blocks.length-1]):void 0}_appendCharRaw(t,s){void 0===s&&(s={});const i=new g;for(let e,u,h=this._mapPosToBlock(this.displayValue.length)?.index??Math.max(this._blocks.length-1,0);e=this._blocks[h]??(u=!u&&this._allocateBlock(h));++h){const r=e._appendChar(t,{...s,_beforeTailState:s._beforeTailState?._blocks?.[h]});if(r.skip&&u){this._blocks.pop(),this.mask=this.mask.slice(1);break}if(i.aggregate(r),r.skip||r.rawInserted)break}return i}_trimEmptyTail(t,s){void 0===t&&(t=0);const i=Math.max(this._mapPosToBlock(t)?.index||0,this.repeatFrom,0);let e;null!=s&&(e=this._mapPosToBlock(s)?.index),null==e&&(e=this._blocks.length-1);let u=0;for(let t=e;i<=t&&!this._blocks[t].unmaskedValue;--t,++u);u&&(this._blocks.splice(e-u+1,u),this.mask=this.mask.slice(u))}reset(){super.reset(),this._trimEmptyTail()}remove(t,s){void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length);const i=super.remove(t,s);return this._trimEmptyTail(t,s),i}totalInputPositions(t,s){return void 0===t&&(t=0),null==s&&this.repeatTo===1/0?1/0:super.totalInputPositions(t,s)}get state(){return super.state}set state(t){this._blocks.length=t._blocks.length,this.mask=this.mask.slice(0,this._blocks.length),super.state=t}};try{globalThis.IMask=c}catch{}export{c as I}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,c as o,h as t,H as s}from"./p-4f14df36.js";import{A as i}from"./p-04c7f8f8.js";import{p as e}from"./p-56f6ce4c.js";import"./p-71679a41.js";import{f as a,a as n}from"./p-9a6e4749.js";import{c as b}from"./p-ae263544.js";var c,l;!function(r){r.paid="paid",r.failed="failed",r.forwarded="forwarded",r.scheduled="scheduled",r.in_transit="in_transit",r.canceled="canceled"}(c||(c={})),function(r){r.paid="Paid",r.failed="Failed",r.forwarded="Forwarded",r.scheduled="Scheduled",r.in_transit="In Transit",r.canceled="Canceled"}(l||(l={}));class d{constructor(r){this.id=r.id,this.account_id=r.account_id,this.amount=r.amount,this.bank_account=r.bank_account,this.currency=r.currency,this.delivery_method=r.delivery_method||"standard",this.description=r.description,this.deposits_at=r.deposits_at,this.fees_total=r.fees_total,this.refunds_count=r.refunds_count,this.refunds_total=r.refunds_total,this.payments_count=r.payments_count,this.payments_total=r.payments_total,this.payout_type=r.payout_type,this.other_total=r.other_total,this.status=r.status,this.metadata=r.metadata,this.created_at=r.created_at,this.updated_at=r.updated_at}}const p=class{constructor(t){r(this,t),this.rowClicked=o(this,"proceed-row-clicked",7),this.mapStatusToBadge=r=>{switch(r){case c.scheduled:return`<span class="badge bg-primary" title='Batched and scheduled to be transferred'>${l[r]}</span>`;case c.in_transit:return`<span class="badge bg-primary" title='Transfer to your bank account has been initiated'>${l[r]}</span>`;case c.failed:case c.canceled:return`<span class="badge bg-danger" title='Transfer to your bank account failed'>${l[r]}</span>`;case c.forwarded:return`<span class="badge bg-secondary" title='This payout initially failed; the funds have been forwarded to your next successful batch of proceeds'>${l[r]}</span>`;case c.paid:return`<span class="badge bg-success" title='Successfully deposited into your bank account'>${l[r]}</span>`}},this.handleClickPrevious=r=>{const o=Object.assign({},this.params);delete o.after_cursor,this.params=Object.assign(Object.assign({},o),{before_cursor:r})},this.handleClickNext=r=>{const o=Object.assign({},this.params);delete o.before_cursor,this.params=Object.assign(Object.assign({},o),{after_cursor:r})},this.accountId=void 0,this.authToken=void 0,this.proceeds=[],this.loading=!0,this.errorMessage=void 0,this.paging=e,this.params=void 0}updateOnPropChange(){this.fetchData()}connectedCallback(){this.fetchData()}async fetchData(){var r;if(!this.accountId||!this.authToken)return this.errorMessage="Can not fetch any data without an AccountID and an AuthToken",void(this.loading=!1);this.loading=!0;const o=`account/${this.accountId}/proceeds`,t=await i(this.authToken,b.privateApiOrigin).get(o,this.params);if(t.error)this.errorMessage="string"==typeof t.error?t.error:t.error.message;else{this.paging=Object.assign(Object.assign({},this.paging),t.page_info);const o=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.map((r=>new d(r)));this.proceeds=o}this.loading=!1}render(){return t(s,null,t("justifi-table",{rowClickHandler:r=>{const o=r.target.closest("tr").dataset.rowEntityId;o&&this.rowClicked.emit(this.proceeds.find((r=>r.id===o)))},entityId:this.proceeds.map((r=>r.id)),columnData:[["Paid Out On","The date each batch of proceeds is transferred to your bank account"],["Paid Out To","The bank account to which each payout is sent"],["From Payments","The amount added related to payments in each payout"],["From Refunds","The amount deducted related to refunds in each payout"],["Other","The amount related to less common transactions in each payout (disputes, ACH returns, fee refunds, and forwarded balances due to failed payouts)"],["Proceeds Amount","The net sum of all transactions in each payout. This is the amount you'll see reflected on your bank statement."],["Status","The real-time status of each payout"]],rowData:this.proceeds.map((r=>[{type:"head",value:a(r.deposits_at)},r.bank_account.full_name,n(r.payments_total),n(r.refunds_total),n(r.other_total),n(r.amount),{type:"inner",value:this.mapStatusToBadge(r.status)}])),loading:this.loading,"error-message":this.errorMessage,params:this.params,paging:Object.assign(Object.assign({},this.paging),{handleClickNext:this.handleClickNext,handleClickPrevious:this.handleClickPrevious})}))}static get watchers(){return{accountId:["updateOnPropChange"],authToken:["updateOnPropChange"],params:["updateOnPropChange"]}}};p.style=':root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33, 37, 41;--bs-body-bg:#fff;--bs-body-bg-rgb:255, 255, 255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0, 0, 0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33, 37, 41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233, 236, 239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33, 37, 41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248, 249, 250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13, 110, 253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10, 88, 202;--bs-code-color:#d63384;--bs-highlight-color:#212529;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222, 226, 230;--bs-body-bg:#212529;--bs-body-bg-rgb:33, 37, 41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255, 255, 255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222, 226, 230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52, 58, 64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222, 226, 230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43, 48, 53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110, 168, 254;--bs-link-hover-color-rgb:139, 185, 254;--bs-code-color:#e685b5;--bs-highlight-color:#dee2e6;--bs-highlight-bg:#664d03;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg) }}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff !important;background-color:RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-secondary{color:#fff !important;background-color:RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-success{color:#fff !important;background-color:RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-info{color:#000 !important;background-color:RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-warning{color:#000 !important;background-color:RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-danger{color:#fff !important;background-color:RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-light{color:#000 !important;background-color:RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-dark{color:#fff !important;background-color:RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important}.link-primary{color:RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-primary:hover,.link-primary:focus{color:RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important}.link-secondary{color:RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important}.link-success{color:RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-success:hover,.link-success:focus{color:RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important}.link-info{color:RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-info:hover,.link-info:focus{color:RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important}.link-warning{color:RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-warning:hover,.link-warning:focus{color:RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important}.link-danger{color:RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-danger:hover,.link-danger:focus{color:RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important}.link-light{color:RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-light:hover,.link-light:focus{color:RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important}.link-dark{color:RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-dark:hover,.link-dark:focus{color:RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:0.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));text-underline-offset:0.25em;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:0.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(0.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute !important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:0.25}:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529}';export{p as justifi_proceeds_list}
|