@verdocs/web-sdk 5.0.49 → 5.0.52
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/dist/cjs/{index-01ae8e85.js → index-2b9aa26f.js} +215 -135
- package/dist/cjs/index-2b9aa26f.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/verdocs-auth.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-build.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-checkbox_6.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-contact-picker_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-date-input.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-envelope-recipient-link.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +7 -7
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
- package/dist/cjs/{verdocs-kba-dialog_2.cjs.entry.js → verdocs-kba-dialog_3.cjs.entry.js} +92 -6
- package/dist/cjs/verdocs-kba-dialog_3.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +8 -8
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview_7.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-box.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-sign.cjs.entry.js +53 -45
- package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-switch.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-table.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-card.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-create.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-star.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-templates-list.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +3 -3
- package/dist/cjs/verdocs-web-sdk.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.css +163 -0
- package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js +187 -0
- package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js.map +1 -0
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +53 -46
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
- package/dist/components/index.js +3 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{p-acb41a2e.js → p-062e67e6.js} +2 -2
- package/dist/components/{p-acb41a2e.js.map → p-062e67e6.js.map} +1 -1
- package/dist/components/{p-4a4de8d8.js → p-07214348.js} +11 -11
- package/dist/components/{p-4a4de8d8.js.map → p-07214348.js.map} +1 -1
- package/dist/components/{p-4fb8b22d.js → p-15ac7314.js} +10 -10
- package/dist/components/{p-4fb8b22d.js.map → p-15ac7314.js.map} +1 -1
- package/dist/components/{p-9c650a78.js → p-1c3c3f01.js} +11 -11
- package/dist/components/{p-9c650a78.js.map → p-1c3c3f01.js.map} +1 -1
- package/dist/components/{p-8e44cb14.js → p-1dccb8a9.js} +5 -5
- package/dist/components/{p-8e44cb14.js.map → p-1dccb8a9.js.map} +1 -1
- package/dist/components/{p-a5c69199.js → p-200b75fc.js} +3 -3
- package/dist/components/{p-a5c69199.js.map → p-200b75fc.js.map} +1 -1
- package/dist/components/{p-cf95858b.js → p-207fff69.js} +11 -11
- package/dist/components/{p-cf95858b.js.map → p-207fff69.js.map} +1 -1
- package/dist/components/{p-1f51246d.js → p-20f1beff.js} +198 -136
- package/dist/components/p-20f1beff.js.map +1 -0
- package/dist/components/{p-008472ce.js → p-2508f120.js} +13 -13
- package/dist/components/{p-008472ce.js.map → p-2508f120.js.map} +1 -1
- package/dist/components/{p-71b30a91.js → p-25c19f32.js} +13 -13
- package/dist/components/{p-71b30a91.js.map → p-25c19f32.js.map} +1 -1
- package/dist/components/{p-ef2df3fa.js → p-27f3b733.js} +2 -2
- package/dist/components/{p-ef2df3fa.js.map → p-27f3b733.js.map} +1 -1
- package/dist/components/{p-a8f59e9d.js → p-44712551.js} +11 -11
- package/dist/components/{p-a8f59e9d.js.map → p-44712551.js.map} +1 -1
- package/dist/components/{p-18086502.js → p-44853d05.js} +6 -6
- package/dist/components/{p-18086502.js.map → p-44853d05.js.map} +1 -1
- package/dist/components/{p-ed777fb7.js → p-4b831194.js} +3 -3
- package/dist/components/{p-ed777fb7.js.map → p-4b831194.js.map} +1 -1
- package/dist/components/{p-96774726.js → p-4f96a7dc.js} +2 -2
- package/dist/components/{p-96774726.js.map → p-4f96a7dc.js.map} +1 -1
- package/dist/components/{p-1d98c6e0.js → p-50bc76e3.js} +2 -2
- package/dist/components/{p-1d98c6e0.js.map → p-50bc76e3.js.map} +1 -1
- package/dist/components/{p-497ceba2.js → p-53900f81.js} +2 -2
- package/dist/components/{p-497ceba2.js.map → p-53900f81.js.map} +1 -1
- package/dist/components/{p-956fb355.js → p-592a0baf.js} +26 -26
- package/dist/components/{p-956fb355.js.map → p-592a0baf.js.map} +1 -1
- package/dist/components/{p-84929e4a.js → p-5d0a3040.js} +2 -2
- package/dist/components/{p-84929e4a.js.map → p-5d0a3040.js.map} +1 -1
- package/dist/components/{p-515f8afb.js → p-6130383b.js} +10 -10
- package/dist/components/{p-515f8afb.js.map → p-6130383b.js.map} +1 -1
- package/dist/components/{p-4fff9f15.js → p-62c5c0fe.js} +11 -11
- package/dist/components/{p-4fff9f15.js.map → p-62c5c0fe.js.map} +1 -1
- package/dist/components/{p-1354c984.js → p-6a4881ef.js} +2 -2
- package/dist/components/{p-1354c984.js.map → p-6a4881ef.js.map} +1 -1
- package/dist/components/{p-0d7860de.js → p-73ed27aa.js} +5 -5
- package/dist/components/{p-0d7860de.js.map → p-73ed27aa.js.map} +1 -1
- package/dist/components/{p-f5ccf125.js → p-77b37d23.js} +2 -2
- package/dist/components/{p-f5ccf125.js.map → p-77b37d23.js.map} +1 -1
- package/dist/components/{p-01c8196b.js → p-7957064d.js} +6 -6
- package/dist/components/{p-01c8196b.js.map → p-7957064d.js.map} +1 -1
- package/dist/components/{p-728ec158.js → p-7b258587.js} +3 -3
- package/dist/components/{p-728ec158.js.map → p-7b258587.js.map} +1 -1
- package/dist/components/{p-cb2e0f23.js → p-7cfaefe1.js} +2 -2
- package/dist/components/{p-cb2e0f23.js.map → p-7cfaefe1.js.map} +1 -1
- package/dist/components/{p-39480096.js → p-82c79267.js} +2 -2
- package/dist/components/{p-39480096.js.map → p-82c79267.js.map} +1 -1
- package/dist/components/{p-bcbe0f6b.js → p-843f0198.js} +12 -12
- package/dist/components/{p-bcbe0f6b.js.map → p-843f0198.js.map} +1 -1
- package/dist/components/{p-fcfbb327.js → p-937de867.js} +9 -9
- package/dist/components/{p-fcfbb327.js.map → p-937de867.js.map} +1 -1
- package/dist/components/{p-6507fba9.js → p-998e0ccd.js} +8 -8
- package/dist/components/{p-6507fba9.js.map → p-998e0ccd.js.map} +1 -1
- package/dist/components/{p-2985ae11.js → p-a45f6086.js} +2 -2
- package/dist/components/{p-2985ae11.js.map → p-a45f6086.js.map} +1 -1
- package/dist/components/{p-f303f8bf.js → p-a61ffe46.js} +4 -4
- package/dist/components/{p-f303f8bf.js.map → p-a61ffe46.js.map} +1 -1
- package/dist/components/{p-c5fc58ab.js → p-b61d0bd7.js} +4 -4
- package/dist/components/{p-c5fc58ab.js.map → p-b61d0bd7.js.map} +1 -1
- package/dist/components/p-b663b885.js +116 -0
- package/dist/components/p-b663b885.js.map +1 -0
- package/dist/components/{p-3d027cc9.js → p-ba5ba657.js} +2 -2
- package/dist/components/{p-3d027cc9.js.map → p-ba5ba657.js.map} +1 -1
- package/dist/components/{p-4bcb364c.js → p-bae61eb2.js} +2 -2
- package/dist/components/{p-4bcb364c.js.map → p-bae61eb2.js.map} +1 -1
- package/dist/components/{p-d5eae4db.js → p-bbf082ec.js} +2 -2
- package/dist/components/{p-d5eae4db.js.map → p-bbf082ec.js.map} +1 -1
- package/dist/components/{p-c83a272f.js → p-bcdf821c.js} +25 -25
- package/dist/components/{p-c83a272f.js.map → p-bcdf821c.js.map} +1 -1
- package/dist/components/{p-2b0d2fbd.js → p-c04daa8c.js} +6 -6
- package/dist/components/{p-2b0d2fbd.js.map → p-c04daa8c.js.map} +1 -1
- package/dist/components/{p-1c5981db.js → p-cd5b046b.js} +3 -3
- package/dist/components/{p-1c5981db.js.map → p-cd5b046b.js.map} +1 -1
- package/dist/components/{p-7f6c97d5.js → p-cd8c3571.js} +2 -2
- package/dist/components/{p-7f6c97d5.js.map → p-cd8c3571.js.map} +1 -1
- package/dist/components/{p-83ecee53.js → p-d16c9dd7.js} +3 -3
- package/dist/components/{p-83ecee53.js.map → p-d16c9dd7.js.map} +1 -1
- package/dist/components/{p-162ae711.js → p-d666322a.js} +11 -11
- package/dist/components/{p-162ae711.js.map → p-d666322a.js.map} +1 -1
- package/dist/components/{p-ec06fbd7.js → p-db50e7f0.js} +3 -3
- package/dist/components/{p-ec06fbd7.js.map → p-db50e7f0.js.map} +1 -1
- package/dist/components/{p-e098ba1d.js → p-de58dbf5.js} +8 -8
- package/dist/components/{p-e098ba1d.js.map → p-de58dbf5.js.map} +1 -1
- package/dist/components/{p-02f67734.js → p-debf0a8a.js} +2 -2
- package/dist/components/{p-02f67734.js.map → p-debf0a8a.js.map} +1 -1
- package/dist/components/{p-3077aff3.js → p-e46946db.js} +12 -12
- package/dist/components/{p-3077aff3.js.map → p-e46946db.js.map} +1 -1
- package/dist/components/{p-c696e5d7.js → p-e8f6e5b7.js} +9 -9
- package/dist/components/{p-c696e5d7.js.map → p-e8f6e5b7.js.map} +1 -1
- package/dist/components/{p-73629a90.js → p-ec382639.js} +4 -4
- package/dist/components/{p-73629a90.js.map → p-ec382639.js.map} +1 -1
- package/dist/components/{p-968df95c.js → p-edf89442.js} +27 -27
- package/dist/components/{p-968df95c.js.map → p-edf89442.js.map} +1 -1
- package/dist/components/{p-d47ac4f2.js → p-f1ccb5e1.js} +11 -11
- package/dist/components/{p-d47ac4f2.js.map → p-f1ccb5e1.js.map} +1 -1
- package/dist/components/{p-06bacd3b.js → p-f887116b.js} +3 -3
- package/dist/components/{p-06bacd3b.js.map → p-f887116b.js.map} +1 -1
- package/dist/components/verdocs-auth.js +4 -4
- package/dist/components/verdocs-build.js +43 -43
- package/dist/components/verdocs-button-panel.js +1 -1
- package/dist/components/verdocs-button.js +1 -1
- package/dist/components/verdocs-checkbox.js +1 -1
- package/dist/components/verdocs-component-error.js +1 -1
- package/dist/components/verdocs-contact-picker.js +1 -1
- package/dist/components/verdocs-date-input.js +2 -2
- package/dist/components/verdocs-dialog.js +1 -1
- package/dist/components/verdocs-dropdown.js +1 -1
- package/dist/components/verdocs-envelope-document-page.js +1 -1
- package/dist/components/verdocs-envelope-recipient-link.js +1 -1
- package/dist/components/verdocs-envelope-recipient-summary.js +2 -2
- package/dist/components/verdocs-envelope-sidebar.js +9 -9
- package/dist/components/verdocs-envelopes-list.js +17 -17
- package/dist/components/verdocs-field-attachment.js +1 -1
- package/dist/components/verdocs-field-checkbox.js +1 -1
- package/dist/components/verdocs-field-date.js +1 -1
- package/dist/components/verdocs-field-dropdown.js +1 -1
- package/dist/components/verdocs-field-initial.js +1 -1
- package/dist/components/verdocs-field-payment.js +10 -10
- package/dist/components/verdocs-field-radio.js +1 -1
- package/dist/components/verdocs-field-signature.js +1 -1
- package/dist/components/verdocs-field-textarea.js +1 -1
- package/dist/components/verdocs-field-textbox.js +1 -1
- package/dist/components/verdocs-field-timestamp.js +1 -1
- package/dist/components/verdocs-file-chooser.js +1 -1
- package/dist/components/verdocs-help-icon.js +1 -1
- package/dist/components/verdocs-initial-dialog.js +1 -1
- package/dist/components/verdocs-kba-dialog.js +1 -1
- package/dist/components/verdocs-loader.js +1 -1
- package/dist/components/verdocs-menu-panel.js +1 -1
- package/dist/components/verdocs-multiselect.js +1 -1
- package/dist/components/verdocs-ok-dialog.js +1 -1
- package/dist/components/verdocs-organization-card.js +2 -2
- package/dist/components/verdocs-otp-dialog.d.ts +11 -0
- package/dist/components/verdocs-otp-dialog.js +8 -0
- package/dist/components/verdocs-otp-dialog.js.map +1 -0
- package/dist/components/verdocs-pagination.js +1 -1
- package/dist/components/verdocs-portal.js +1 -1
- package/dist/components/verdocs-preview.js +1 -1
- package/dist/components/verdocs-progress-bar.js +1 -1
- package/dist/components/verdocs-quick-filter.js +1 -1
- package/dist/components/verdocs-quick-functions.js +2 -2
- package/dist/components/verdocs-radio-button.js +1 -1
- package/dist/components/verdocs-search-box.js +1 -1
- package/dist/components/verdocs-search-tabs.js +2 -2
- package/dist/components/verdocs-select-input.js +1 -1
- package/dist/components/verdocs-send.js +1 -1
- package/dist/components/verdocs-sign.js +78 -65
- package/dist/components/verdocs-sign.js.map +1 -1
- package/dist/components/verdocs-signature-dialog.js +1 -1
- package/dist/components/verdocs-spinner.js +1 -1
- package/dist/components/verdocs-status-indicator.js +1 -1
- package/dist/components/verdocs-switch.js +1 -1
- package/dist/components/verdocs-table.js +1 -1
- package/dist/components/verdocs-tabs.js +1 -1
- package/dist/components/verdocs-template-attachments.js +1 -1
- package/dist/components/verdocs-template-build-tabs.js +1 -1
- package/dist/components/verdocs-template-card.js +2 -2
- package/dist/components/verdocs-template-create.js +5 -5
- package/dist/components/verdocs-template-document-page.js +1 -1
- package/dist/components/verdocs-template-field-properties.js +1 -1
- package/dist/components/verdocs-template-fields.js +1 -1
- package/dist/components/verdocs-template-role-properties.js +1 -1
- package/dist/components/verdocs-template-roles.js +1 -1
- package/dist/components/verdocs-template-settings.js +1 -1
- package/dist/components/verdocs-template-star.js +1 -1
- package/dist/components/verdocs-template-tags.js +2 -2
- package/dist/components/verdocs-templates-list.js +11 -11
- package/dist/components/verdocs-text-input.js +1 -1
- package/dist/components/verdocs-toggle-button.js +1 -1
- package/dist/components/verdocs-toggle.js +1 -1
- package/dist/components/verdocs-toolbar-icon.js +1 -1
- package/dist/components/verdocs-upload-dialog.js +1 -1
- package/dist/components/verdocs-view.js +1 -1
- package/dist/custom-elements.json +21 -0
- package/dist/esm/{index-2cd5f887.js → index-24c3207f.js} +215 -135
- package/dist/esm/index-24c3207f.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/verdocs-auth.entry.js +1 -1
- package/dist/esm/verdocs-build.entry.js +1 -1
- package/dist/esm/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm/verdocs-button_2.entry.js +1 -1
- package/dist/esm/verdocs-checkbox_6.entry.js +1 -1
- package/dist/esm/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm/verdocs-date-input.entry.js +1 -1
- package/dist/esm/verdocs-dialog.entry.js +1 -1
- package/dist/esm/verdocs-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +2 -2
- package/dist/esm/verdocs-envelope-recipient-link.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-summary.entry.js +1 -1
- package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm/verdocs-envelopes-list.entry.js +7 -7
- package/dist/esm/verdocs-field-attachment_13.entry.js +3 -3
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm/{verdocs-kba-dialog_2.entry.js → verdocs-kba-dialog_3.entry.js} +93 -8
- package/dist/esm/verdocs-kba-dialog_3.entry.js.map +1 -0
- package/dist/esm/verdocs-menu-panel_2.entry.js +8 -8
- package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm/verdocs-preview_7.entry.js +1 -1
- package/dist/esm/verdocs-quick-functions.entry.js +2 -2
- package/dist/esm/verdocs-radio-button.entry.js +1 -1
- package/dist/esm/verdocs-search-box.entry.js +1 -1
- package/dist/esm/verdocs-search-tabs.entry.js +2 -2
- package/dist/esm/verdocs-sign.entry.js +54 -46
- package/dist/esm/verdocs-sign.entry.js.map +1 -1
- package/dist/esm/verdocs-spinner.entry.js +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +3 -3
- package/dist/esm/verdocs-switch.entry.js +1 -1
- package/dist/esm/verdocs-table.entry.js +1 -1
- package/dist/esm/verdocs-template-card.entry.js +2 -2
- package/dist/esm/verdocs-template-create.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm/verdocs-template-star.entry.js +2 -2
- package/dist/esm/verdocs-template-tags.entry.js +2 -2
- package/dist/esm/verdocs-templates-list.entry.js +1 -1
- package/dist/esm/verdocs-toggle-button.entry.js +1 -1
- package/dist/esm/verdocs-toggle.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +4 -4
- package/dist/esm/verdocs-web-sdk.js.map +1 -1
- package/dist/esm-es5/index-24c3207f.js +2 -0
- package/dist/esm-es5/index-24c3207f.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-build.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_6.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-date-input.entry.js +1 -1
- package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
- package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-kba-dialog_3.entry.js +2 -0
- package/dist/esm-es5/verdocs-kba-dialog_3.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
- package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_7.entry.js +1 -1
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-box.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm-es5/verdocs-switch.entry.js +1 -1
- package/dist/esm-es5/verdocs-table.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-create.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
- package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js.map +1 -1
- package/dist/types/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.d.ts +36 -0
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +3 -2
- package/dist/types/components.d.ts +67 -2
- package/dist/verdocs-web-sdk/{p-0fd9da1e.entry.js → p-017ae3bc.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7e0fa3ae.entry.js → p-05000ccc.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5239a35e.system.entry.js → p-0b26b5c8.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-471dd447.entry.js → p-0b5effa9.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-11a30de3.entry.js → p-0fee994b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2edf05fe.entry.js → p-11c8ffea.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-840b6fbe.entry.js → p-153e03e0.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-1872c8f4.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-1872c8f4.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-2d35f678.system.entry.js → p-19655c9c.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2e23e747.system.entry.js → p-1bbd9c7f.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-1247fd39.entry.js → p-219bf34b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-ebec3bc1.system.entry.js → p-227fdd3a.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-79d2f425.system.entry.js → p-23a9bd36.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d63b3dc0.system.entry.js → p-267c78f0.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-f3d09408.system.entry.js → p-2f68a524.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d444d37b.system.entry.js → p-307e74f5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d33c2b26.entry.js → p-315286a7.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-04790b68.entry.js → p-32253c51.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e3687c26.system.entry.js → p-3630f3f8.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c3e2d722.entry.js → p-3645b498.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-245bdf6f.system.entry.js → p-366c2acc.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7b7451fb.entry.js → p-3ab01b3c.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e8184f76.system.entry.js → p-3c045101.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e388f2eb.entry.js → p-437ce063.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2f5b24db.entry.js → p-46001697.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2d2c8ad7.system.entry.js → p-49c785c1.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-19ee9379.system.entry.js → p-4c8b181b.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-66feba8c.entry.js → p-55a9d59f.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-576f984d.js +3 -0
- package/dist/verdocs-web-sdk/p-576f984d.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-ad9dd116.system.entry.js → p-5c1789d5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6ddcf3fe.system.entry.js → p-5eedc1ec.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-88f4ee7b.system.entry.js → p-61228412.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-8ec57eff.entry.js → p-6136bba2.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-50e49464.system.entry.js → p-689c27e5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-9f684d65.entry.js → p-6b716052.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7b0281af.entry.js → p-6bdbbe58.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-3cc309a8.entry.js → p-6c54aa71.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-f406e916.entry.js → p-6ccb6567.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-fc79bf91.entry.js → p-73fe8630.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d6f70ede.entry.js → p-76d1f275.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-cf413e96.entry.js → p-7b84d96d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-296b3f1d.system.entry.js → p-7cb92285.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-ed106cc9.entry.js → p-8691ca6d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-0974b1cf.system.entry.js → p-8721cc28.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-8a6c7f95.system.js +2 -0
- package/dist/verdocs-web-sdk/p-8a6c7f95.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-9880e3e4.system.entry.js → p-937ca715.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c9ec99df.system.entry.js → p-9440be53.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2d33195d.system.entry.js → p-94e05472.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c242e25e.entry.js → p-96031d13.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-99ed75fb.system.js +3 -0
- package/dist/verdocs-web-sdk/p-99ed75fb.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-2e2e6d95.entry.js → p-9b66d3c4.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d7cafbfe.entry.js → p-9c6cb6c8.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-35384b77.entry.js → p-9f7cf5ad.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b0220f11.system.entry.js → p-a0eef7ff.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a75f7e9e.system.entry.js → p-a1d64ec5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-bd7b3d7b.system.entry.js → p-a7a02f3a.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4c5b836b.entry.js → p-b0d1c5ec.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-0e8bbe05.system.entry.js → p-b1017ac3.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4f16d741.system.entry.js → p-b74625c3.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-3a2bd43c.entry.js → p-b8ccd4e5.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-45dd5527.system.entry.js → p-ba50bdcf.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-344ff0ba.entry.js → p-bb84d9fa.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-9363cc19.system.entry.js → p-c1dfe6e6.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-248ffe5c.system.entry.js → p-c26ae935.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-35fc5f53.entry.js → p-ca822ac7.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-05a1dce1.system.entry.js → p-cf962273.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-dea4b888.entry.js → p-d032fa7b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e8c4cb36.entry.js → p-d0c3630f.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b4441084.system.entry.js → p-d5bba6f8.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-158808e1.entry.js → p-d99ddf68.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-06775d41.entry.js → p-db2dc75e.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d67c3a58.system.entry.js → p-e39d4e16.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-efda4a21.entry.js → p-e4a8707d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-db383816.system.entry.js → p-e4a9ac73.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-eb08e32c.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-eb08e32c.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-dcf0049c.entry.js → p-eb70e2b3.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7f1edca3.entry.js → p-ed0f54de.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-f14c3ce8.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-f14c3ce8.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-f2a3c06d.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-f2a3c06d.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-d3dea986.system.entry.js → p-f2ff2588.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2d0e964b.system.entry.js → p-f3b22922.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a175597c.system.entry.js → p-f63a9489.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b43ede8b.system.entry.js → p-fe35adce.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
- package/package.json +5 -5
- package/dist/cjs/index-01ae8e85.js.map +0 -1
- package/dist/cjs/verdocs-kba-dialog_2.cjs.entry.js.map +0 -1
- package/dist/components/p-1f51246d.js.map +0 -1
- package/dist/esm/index-2cd5f887.js.map +0 -1
- package/dist/esm/verdocs-kba-dialog_2.entry.js.map +0 -1
- package/dist/esm-es5/index-2cd5f887.js +0 -2
- package/dist/esm-es5/index-2cd5f887.js.map +0 -1
- package/dist/esm-es5/verdocs-kba-dialog_2.entry.js +0 -2
- package/dist/esm-es5/verdocs-kba-dialog_2.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-0c1898f6.system.js +0 -2
- package/dist/verdocs-web-sdk/p-0c1898f6.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-60387e15.system.js +0 -3
- package/dist/verdocs-web-sdk/p-60387e15.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-696b8b3e.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-696b8b3e.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-b17b12c5.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-b17b12c5.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-b198c703.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-b198c703.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-ddadabfb.js +0 -3
- package/dist/verdocs-web-sdk/p-ddadabfb.js.map +0 -1
- package/dist/verdocs-web-sdk/p-f32e0f32.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-f32e0f32.system.entry.js.map +0 -1
- /package/dist/verdocs-web-sdk/{p-0fd9da1e.entry.js.map → p-017ae3bc.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7e0fa3ae.entry.js.map → p-05000ccc.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5239a35e.system.entry.js.map → p-0b26b5c8.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-471dd447.entry.js.map → p-0b5effa9.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-11a30de3.entry.js.map → p-0fee994b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2edf05fe.entry.js.map → p-11c8ffea.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-840b6fbe.entry.js.map → p-153e03e0.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d35f678.system.entry.js.map → p-19655c9c.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2e23e747.system.entry.js.map → p-1bbd9c7f.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-1247fd39.entry.js.map → p-219bf34b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ebec3bc1.system.entry.js.map → p-227fdd3a.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-79d2f425.system.entry.js.map → p-23a9bd36.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d63b3dc0.system.entry.js.map → p-267c78f0.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f3d09408.system.entry.js.map → p-2f68a524.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d444d37b.system.entry.js.map → p-307e74f5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d33c2b26.entry.js.map → p-315286a7.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-04790b68.entry.js.map → p-32253c51.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e3687c26.system.entry.js.map → p-3630f3f8.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c3e2d722.entry.js.map → p-3645b498.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-245bdf6f.system.entry.js.map → p-366c2acc.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7b7451fb.entry.js.map → p-3ab01b3c.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e8184f76.system.entry.js.map → p-3c045101.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e388f2eb.entry.js.map → p-437ce063.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2f5b24db.entry.js.map → p-46001697.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d2c8ad7.system.entry.js.map → p-49c785c1.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-19ee9379.system.entry.js.map → p-4c8b181b.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-66feba8c.entry.js.map → p-55a9d59f.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ad9dd116.system.entry.js.map → p-5c1789d5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6ddcf3fe.system.entry.js.map → p-5eedc1ec.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-88f4ee7b.system.entry.js.map → p-61228412.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-8ec57eff.entry.js.map → p-6136bba2.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-50e49464.system.entry.js.map → p-689c27e5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9f684d65.entry.js.map → p-6b716052.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7b0281af.entry.js.map → p-6bdbbe58.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-3cc309a8.entry.js.map → p-6c54aa71.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f406e916.entry.js.map → p-6ccb6567.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-fc79bf91.entry.js.map → p-73fe8630.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d6f70ede.entry.js.map → p-76d1f275.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-cf413e96.entry.js.map → p-7b84d96d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-296b3f1d.system.entry.js.map → p-7cb92285.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ed106cc9.entry.js.map → p-8691ca6d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0974b1cf.system.entry.js.map → p-8721cc28.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9880e3e4.system.entry.js.map → p-937ca715.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c9ec99df.system.entry.js.map → p-9440be53.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d33195d.system.entry.js.map → p-94e05472.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c242e25e.entry.js.map → p-96031d13.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2e2e6d95.entry.js.map → p-9b66d3c4.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d7cafbfe.entry.js.map → p-9c6cb6c8.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-35384b77.entry.js.map → p-9f7cf5ad.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b0220f11.system.entry.js.map → p-a0eef7ff.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a75f7e9e.system.entry.js.map → p-a1d64ec5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-bd7b3d7b.system.entry.js.map → p-a7a02f3a.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4c5b836b.entry.js.map → p-b0d1c5ec.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0e8bbe05.system.entry.js.map → p-b1017ac3.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4f16d741.system.entry.js.map → p-b74625c3.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-3a2bd43c.entry.js.map → p-b8ccd4e5.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-45dd5527.system.entry.js.map → p-ba50bdcf.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-344ff0ba.entry.js.map → p-bb84d9fa.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-9363cc19.system.entry.js.map → p-c1dfe6e6.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-248ffe5c.system.entry.js.map → p-c26ae935.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-35fc5f53.entry.js.map → p-ca822ac7.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-05a1dce1.system.entry.js.map → p-cf962273.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-dea4b888.entry.js.map → p-d032fa7b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e8c4cb36.entry.js.map → p-d0c3630f.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b4441084.system.entry.js.map → p-d5bba6f8.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-158808e1.entry.js.map → p-d99ddf68.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-06775d41.entry.js.map → p-db2dc75e.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d67c3a58.system.entry.js.map → p-e39d4e16.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-efda4a21.entry.js.map → p-e4a8707d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-db383816.system.entry.js.map → p-e4a9ac73.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-dcf0049c.entry.js.map → p-eb70e2b3.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7f1edca3.entry.js.map → p-ed0f54de.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d3dea986.system.entry.js.map → p-f2ff2588.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2d0e964b.system.entry.js.map → p-f3b22922.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a175597c.system.entry.js.map → p-f63a9489.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b43ede8b.system.entry.js.map → p-fe35adce.system.entry.js.map} +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"names":["verdocsSignCss","VerdocsSignStyle0","inProgressMenuOptions","id","label","doneMenuOptions","VerdocsSign","exports","class_1","hostRef","this","endpoint","DefaultEndpoint","envelopeId","roleId","inviteCode","headerTargetId","recipient","hasSignature","nextButtonLabel","nextSubmits","fatalErrorHeader","fatalErrorMessage","focusedField","submitting","submitted","isDone","showDone","showLoadError","finishLater","showFinishLater","agreed","documentsSingularPlural","authStep","authMethodStates","kbaQuestions","showSpinner","kbaChoices","loading","envelope","prototype","componentWillLoad","console","log","VerdocsEndpoint","sessionType","componentDidLoad","_a","sdkError","emit","SDKError","_b","_c","concat","startSigningSession","response","_g","sent","processAuthResponse","e_1","_d","message","_e","status","_f","data","componentDidRender","headerTarget","document","getElementById","headerEl","remove","append","auth_step","Store","updateEnvelope","documents","length","auth_method_states","kba_questions","Object","values","includes","checkRecipientFields","envelopeLoaded","handleClickAgree","_this","envelopeRecipientAgree","then","envelopeUpdated","event","catch","e","handleOptionSelected","detail","VerdocsToast","envelopeRecipientDecline","declineResult","_h","window","print","firstDoc","find","doc","type","saveAttachment","updateRecipientFieldValue","fieldName","updateResult","getRecipientFields","forEach","oldField","name","value","settings","updateDocumentFieldValue","saveFieldChange","fields","updateEnvelopeField","error","handleFieldChange","field","target","checked","prepared","String","fetch","_j","blob","initialsBlob","createInitials","newInitials","__awaiter","updateEnvelopeFieldInitials","signatureBlob","createSignature","newSignature","updateEnvelopeFieldSignature","warn","formattedDate","ts","getAttribute","isFieldFilled","validator","isValidEmail","isValidPhone","trim","group","filter","f","some","isFieldValid","required","getSortedFillableFields","recipientFields","sortFields","handleNext","envelopeRecipientSubmit","result","getEnvelope","e_2","emptyFields","focusedIndex","findIndex","nextFocusedIndex","nextRequiredField","skips","getFieldId","el","scrollIntoView","behavior","focusField","role_name","invalidFields","map","attachFieldAttributes","pageInfo","setAttribute","addEventListener","finally","uploadEnvelopeFieldAttachment","newEl","renderDocumentField","disabled","editable","draggable","done","e_3","style","deleteEnvelopeFieldAttachment","e_4","template_id","pageNumber","xScale","yScale","fullName","formatFullName","fullNameToInitials","handlePageRendered","tabIndex","page","Array","isArray","recipients","r","handleAuthenticateSigner","params","verifySigner","render","h","Host","heading","buttonLabel","onNext","location","reload","class","onSdkError","preventDefault","stopPropagation","src","alt","paddingTop","width","height","boxShadow","marginTop","onInput","href","mode","step","steps","placeholder","helptitle","helptext","auth_method","code","email","method","kba","recipDetails","first_name","last_name","address","city","state","zip","dob","questionNumber","kbaQuestion","prompt","choices","answer","__spreadArray","responses","q","i","flex","size","onClick","marginLeft","options","onOptionSelected","envelopeDocument","pageNumbers","integerSequence","pages","Fragment","pageSize","page_sizes","documentId","virtualWidth","virtualHeight","onPageRendered","layers"],"sources":["src/components/embeds/verdocs-sign/verdocs-sign.scss?tag=verdocs-sign","src/components/embeds/verdocs-sign/verdocs-sign.tsx"],"sourcesContent":["@import '../../../theme.scss';\n\nverdocs-sign {\n display: flex;\n overflow: hidden;\n position: relative;\n min-height: 600px;\n flex-direction: column;\n box-sizing: border-box;\n font-family: $verdocs-primary-font;\n\n div {\n display: block;\n box-sizing: border-box;\n }\n\n input {\n vertical-align: top;\n }\n\n //.intro {\n // width: 100%;\n // display: flex;\n // flex: 0 0 60px;\n // color: #111111;\n // font-size: 18px;\n // font-weight: 500;\n // line-height: 28px;\n // flex-direction: row;\n // background: #ffffff;\n //\n // .inner {\n // width: 100%;\n // display: flex;\n // margin: 0 auto;\n // padding: 0 20px;\n // max-width: 1200px;\n // flex-direction: row;\n // align-items: center;\n // }\n //}\n\n > .document {\n flex: 1;\n width: 100%;\n height: 100%;\n align-self: center;\n display: flex;\n padding: 15px;\n row-gap: 15px;\n max-width: 1200px;\n min-height: 200px;\n position: relative;\n overflow-y: scroll;\n align-items: center;\n box-sizing: border-box;\n flex-direction: column;\n //justify-content: center;\n\n .inner {\n width: 100%;\n max-width: 1028px;\n }\n }\n\n .cover {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n z-index: 5000;\n position: absolute;\n padding-top: 100px;\n align-items: center;\n flex-direction: column;\n background: rgba(0, 0, 0, 0.5);\n }\n\n .agree {\n flex: 0;\n width: 600px;\n display: flex;\n max-width: 90%;\n padding: 30px 15px;\n flex-direction: column;\n background-color: #ffffff;\n\n .header {\n flex: 0 0 56px;\n }\n\n li {\n margin: 0.5em 0;\n }\n }\n\n verdocs-ok-dialog .background-overlay {\n align-items: flex-start;\n padding-top: 100px;\n }\n\n .loading-indicator {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n z-index: 10000;\n position: fixed;\n background-color: rgba(0, 0, 0, 0.7);\n }\n\n .fatal-error {\n position: absolute;\n z-index: 100;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #4a4a4a;\n display: flex;\n align-items: center;\n justify-content: center;\n\n .placeholder {\n position: absolute;\n opacity: 0.1;\n z-index: -1;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 612px;\n height: 792px;\n box-shadow: 0 0 10px 5px #0000000f;\n margin-top: 15px;\n }\n\n .message {\n max-width: 50%;\n width: 50%;\n font-size: 16px;\n background: white;\n border-radius: 5px;\n box-shadow: 3px 3px 9px -1px #0000003f;\n }\n\n .header {\n color: white;\n font-size: 18px;\n font-weight: 500;\n padding: 5px 10px;\n margin: 0 0 10px 0;\n background: $verdocs-purple-shade;\n }\n\n p {\n margin: 1rem;\n font-size: 14px;\n font-weight: 400;\n padding: 0 10px;\n }\n }\n}\n\n@media print {\n verdocs-sign .header {\n display: none;\n }\n}\n\n#verdocs-sign-header {\n color: #fff;\n width: 100%;\n display: flex;\n z-index: 1000;\n flex: 0 0 46px;\n font-size: 12px;\n column-gap: 15px;\n align-items: center;\n flex-direction: row;\n transition: all 0.25s;\n background-color: $medium-bg;\n box-shadow:\n 0 4px 4px 0 rgb(0 0 0 / 24%),\n 0 0 4px 0 rgb(0 0 0 / 12%);\n\n .inner {\n width: 100%;\n display: flex;\n margin: 0 auto;\n padding: 0 12px;\n max-width: 1200px;\n align-items: center;\n flex-direction: row;\n }\n\n .logo {\n width: 80px;\n display: none;\n margin: -6px 0 0 0;\n }\n\n .title {\n font-size: 18px;\n font-weight: 500;\n overflow: hidden;\n white-space: nowrap;\n padding: 0 10px 0 0;\n text-overflow: ellipsis;\n }\n}\n\n.spinner-overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n display: flex;\n align-items: center;\n background: #0000007f;\n justify-content: center;\n}\n","import {updateEnvelopeField, sortFields, IKBAQuestion, ISignerTokenResponse} from '@verdocs/js-sdk';\nimport {Event, EventEmitter, Host, Fragment, Component, Prop, State, h} from '@stencil/core';\nimport {verifySigner, IEnvelope, IEnvelopeField, IRecipient, TAuthenticateRecipientRequest} from '@verdocs/js-sdk';\nimport {getEnvelope, integerSequence, isValidEmail, isValidPhone, updateEnvelopeFieldInitials} from '@verdocs/js-sdk';\nimport {fullNameToInitials, startSigningSession, deleteEnvelopeFieldAttachment, formatFullName} from '@verdocs/js-sdk';\nimport {updateEnvelopeFieldSignature, uploadEnvelopeFieldAttachment, VerdocsEndpoint, TRecipientAuthMethod} from '@verdocs/js-sdk';\nimport {createInitials, createSignature, envelopeRecipientAgree, envelopeRecipientDecline, envelopeRecipientSubmit} from '@verdocs/js-sdk';\nimport {getFieldId, renderDocumentField, saveAttachment, updateDocumentFieldValue} from '../../../utils/utils';\nimport {DefaultEndpoint} from '../../../utils/Environment';\nimport {IDocumentPageInfo} from '../../../utils/Types';\nimport {VerdocsToast} from '../../../utils/Toast';\nimport {SDKError} from '../../../utils/errors';\nimport {Store} from '../../../utils/Datastore';\n\nconst inProgressMenuOptions = [\n {id: 'later', label: 'Finish Later'}, //\n // {id: 'claim', label: 'Claim the Document', disabled: true},\n {id: 'decline', label: 'Decline to Sign'},\n {id: 'print', label: 'Print Without Signing'},\n {id: 'download', label: 'Download'},\n];\n\nconst doneMenuOptions = [\n {id: 'print', label: 'Print'},\n {id: 'download', label: 'Download'},\n];\n\n/**\n * Display an envelope signing experience. This will display the envelope's attached\n * documents with signing fields overlaid on each page.\n *\n * The component will attempt to initiate a signing session and load the specified\n * envelope. If successful, the recipient's fields will be enabled and the user will\n * be able to sign the envelope's attached documents. If not, an `sdkError` will be\n * thrown and the component will be blank/empty. To provide the best user experience,\n * applications should capture and handle this error to provide the user with\n * instructions/options for next steps based on the application's design and workflow.\n *\n * Unlike other components, this will always create its own endpoint to manage the\n * session session. This endpoint will be included in event callbacks for the\n * convenience of host applications that may wish to make server calls using the\n * signer's credentials once signing is complete (e.g. to obtain copies of\n * the signed attachments.)\n */\n@Component({\n tag: 'verdocs-sign',\n styleUrl: 'verdocs-sign.scss',\n shadow: false,\n})\nexport class VerdocsSign {\n /**\n * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.\n */\n @Prop({mutable: true}) endpoint: VerdocsEndpoint = DefaultEndpoint;\n\n /**\n * The ID of the envelope to sign.\n */\n @Prop({reflect: true}) envelopeId: string | null = null;\n\n /**\n * The ID of the role that will be signing e.g. 'Recipient 1'\n */\n @Prop({reflect: true}) roleId: string | null = null;\n\n /**\n * The invite code for the signer.\n */\n @Prop({reflect: true}) inviteCode: string | null = null;\n\n /**\n * If set, (recommended), the host application should create a <DIV> element with a unique ID. When this\n * component renders, the header will be removed from its default location and placed in the target element.\n * This allows the parent application to more easily control its placement and scroll effects (e.g. \"fixed\").\n *\n * The movement of the header to the target container is not dynamic - it is performed only on the initial\n * render. Host applications should not conditionally render this container. If the header's visibility must\n * be externally controlled, use CSS display options to hide/show it instead.\n */\n @Prop() headerTargetId: string | null = null;\n\n /**\n * Event fired if an error occurs. The event details will contain information about the error. Most errors will\n * terminate the process, and the calling application should correct the condition and re-render the component.\n */\n @Event({composed: true}) sdkError: EventEmitter<SDKError>;\n\n /**\n * Event fired when the envelope is updated in any way.\n */\n @Event({composed: true}) envelopeLoaded: EventEmitter<{endpoint: VerdocsEndpoint; envelope: IEnvelope}>;\n\n /**\n * Event fired when the envelope is updated in any way. May be used for tasks such as cache invalidation or reporting to other systems.\n */\n @Event({composed: true}) envelopeUpdated: EventEmitter<{endpoint: VerdocsEndpoint; envelope: IEnvelope; event: string}>;\n\n // @State() roleNames: string[] = [];\n // @State() sortedRecipients: IRecipient[] = [];\n @State() recipient: IRecipient | null = null;\n @State() hasSignature = false;\n @State() nextButtonLabel = 'Start';\n @State() nextSubmits = false;\n @State() fatalErrorHeader = '';\n @State() fatalErrorMessage = '';\n @State() focusedField = '';\n @State() submitting = false;\n @State() submitted = false;\n @State() isDone = false;\n @State() showDone = false;\n @State() showLoadError = false;\n @State() finishLater = false;\n @State() showFinishLater = false;\n @State() agreed = false;\n @State() documentsSingularPlural = 'document';\n @State() authStep: string | null = null;\n @State() authMethodStates: Partial<Record<TRecipientAuthMethod, string>> = {};\n @State() kbaQuestions: IKBAQuestion[] | null = null;\n @State() showSpinner = false;\n @State() kbaChoices = [];\n\n @State() loading = true;\n @State() envelope: IEnvelope | null = null;\n\n // recipientIndex: number = -1;\n\n componentWillLoad() {\n if (!this.endpoint) {\n console.log('[SIGN] Creating signing endpoint');\n this.endpoint = new VerdocsEndpoint({sessionType: 'signing'});\n }\n }\n\n async componentDidLoad() {\n if (!this.envelopeId) {\n this.sdkError?.emit(new SDKError('[SIGN] Missing required envelopId', 500, ''));\n return;\n }\n\n if (!this.roleId) {\n this.sdkError?.emit(new SDKError('[SIGN] Missing required roleId', 500, ''));\n return;\n }\n\n if (!this.inviteCode) {\n this.sdkError?.emit(new SDKError('[SIGN] Missing required inviteCode', 500, ''));\n return;\n }\n\n try {\n console.log(`[SIGN] Processing invite code for ${this.envelopeId} / ${this.roleId}`);\n\n // NOTE: We don't listen to the store here because we are often an independent\n // session and might have a different \"view\" of the envelope.\n const response = await startSigningSession(this.endpoint, this.envelopeId, this.roleId, this.inviteCode);\n console.log('[SIGN] Authentication successful', response);\n this.processAuthResponse(response);\n } catch (e) {\n console.log('[SIGN] Error with signing session', e);\n this.sdkError?.emit(new SDKError(e.message, e.response?.status, e.response?.data));\n this.showLoadError = true;\n }\n }\n\n componentDidRender() {\n const headerTarget = this.headerTargetId ? document.getElementById(this.headerTargetId) : null;\n const headerEl = document.getElementById('verdocs-sign-header');\n if (headerTarget && headerEl) {\n console.log('[SIGN] Moving header');\n headerEl.remove();\n headerTarget.append(headerEl);\n }\n }\n\n processAuthResponse(response: ISignerTokenResponse) {\n const {envelope, recipient} = response;\n const {auth_step} = recipient;\n this.recipient = recipient;\n this.envelope = envelope;\n this.authStep = auth_step;\n this.agreed = recipient.agreed;\n this.submitted = recipient.status === 'submitted';\n this.isDone = this.submitted;\n this.showDone = this.submitted;\n Store.updateEnvelope(this.envelopeId, envelope);\n\n if (this.envelope.documents.length > 0) {\n this.documentsSingularPlural = 'document(s)';\n }\n\n this.authMethodStates = recipient.auth_method_states || ({} as Record<TRecipientAuthMethod, string>);\n this.kbaQuestions = recipient.kba_questions;\n if (Object.values(this.authMethodStates).includes('failed')) {\n this.fatalErrorHeader = 'Recipient Verification Failed';\n this.fatalErrorMessage = 'We were unable to verify your identity. The sender has been notified.';\n this.isDone = true;\n }\n\n // TODO: Envelope \"complete\" | \"declined\" | \"canceled\"\n // TODO: Recipient \"canceled\"\n\n if (this.envelope.status === 'canceled') {\n this.fatalErrorHeader = 'Unable to Start Signing Session';\n this.fatalErrorMessage = 'This envelope has been canceled. The sender has been notified.';\n } else if (recipient.status === 'declined') {\n this.fatalErrorHeader = 'Unable to Start Signing Session';\n this.fatalErrorMessage = 'You have declined to sign this envelope. The sender has been notified.';\n } else if (this.agreed) {\n this.nextButtonLabel = 'Next';\n }\n\n this.checkRecipientFields();\n this.envelopeLoaded?.emit({endpoint: this.endpoint, envelope: this.envelope});\n }\n\n handleClickAgree() {\n this.submitting = true;\n envelopeRecipientAgree(this.endpoint, this.envelopeId, this.roleId, true)\n .then(() => {\n this.nextButtonLabel = 'Next';\n this.recipient.agreed = true;\n this.submitting = false;\n this.agreed = true; // The server returns a recipient object but it's not \"deep\" so we track this locally\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'agreed'});\n })\n .catch(e => {\n console.log('[SIGN] Update failure', e);\n this.submitting = false;\n this.sdkError?.emit(new SDKError(e.message, e.response?.status, e.response?.data));\n });\n }\n\n async handleOptionSelected(e: any) {\n switch (e.detail.id) {\n case 'later':\n this.finishLater = true;\n this.showFinishLater = true;\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'later'});\n break;\n\n case 'claim':\n VerdocsToast('This feature will be available in an upcoming release.');\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'claimed'});\n break;\n\n case 'decline':\n {\n this.submitting = true;\n const declineResult = await envelopeRecipientDecline(this.endpoint, this.envelopeId, this.roleId);\n console.log('[SIGN] Decline result', declineResult);\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'declined'});\n this.submitting = false;\n this.fatalErrorHeader = 'Declined';\n this.fatalErrorMessage = 'You have declined to sign this envelope. The sender has been notified.';\n }\n break;\n\n case 'print':\n window.print();\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'printed'});\n break;\n\n case 'download':\n {\n const firstDoc = this.envelope.documents.find(doc => doc.type === 'attachment');\n if (firstDoc) {\n saveAttachment(this.endpoint, this.envelope, firstDoc.id).catch(e => {\n console.log('[SIGN] Error downloading PDF', e);\n });\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'downloaded'});\n }\n }\n break;\n }\n }\n\n updateRecipientFieldValue(fieldName: string, updateResult: any) {\n console.log('[SIGN] updateRecipientFieldValue', fieldName, updateResult);\n this.getRecipientFields().forEach(oldField => {\n if (oldField.name === fieldName) {\n oldField.value = updateResult.value;\n // TODO: Keeping this while attachments still rely on it\n oldField.settings = updateResult.settings;\n updateDocumentFieldValue(oldField);\n this.checkRecipientFields();\n }\n });\n }\n\n saveFieldChange(fieldName: string, fields: Record<string, any>) {\n console.log('[SIGN] saveFieldChange', fieldName, fields);\n updateEnvelopeField(this.endpoint, this.envelopeId, fieldName, fields) //\n .then(updateResult => this.updateRecipientFieldValue(fieldName, updateResult))\n .catch(e => {\n if (e.response?.status === 401 && e.response?.data?.error === 'jwt expired') {\n console.log('[SIGN] Signing session expired');\n this.fatalErrorHeader = 'Signing Session Expired';\n this.fatalErrorMessage = 'Please reload your browser to continue.';\n } else {\n console.log('[SIGN] Server error', e);\n }\n\n this.sdkError?.emit(new SDKError(e.message, e.response?.status, e.response?.data));\n });\n }\n\n async handleFieldChange(field: IEnvelopeField, e: any) {\n const {value, checked} = e.target;\n\n switch (field.type as any) {\n // TODO: Remove legacy type when no longer needed\n case 'textarea':\n case 'textbox':\n return this.saveFieldChange(field.name, {prepared: false, value});\n\n case 'checkbox': {\n return this.saveFieldChange(field.name, {prepared: false, value: String(e.target.checked)});\n }\n\n case 'radio': {\n return this.saveFieldChange(field.name, {prepared: false, value: String(e.target.checked)});\n }\n\n case 'dropdown':\n // TODO: Set prepared to false server-side.\n console.log('Saving dropdown', field.name, e.detail);\n return this.saveFieldChange(field.name, {prepared: false, value: e.detail});\n\n case 'initial':\n // This can be caused by a focus-out event if the user clicks the field\n // after it's already filled in, then clicks something else like a textbox.\n // We don't visually indicate the focus, but it's still there.\n if (!e.detail) {\n return;\n }\n\n this.showSpinner = true;\n const initialsBlob = await (await fetch(e.detail)).blob();\n return createInitials(this.endpoint, 'initial', initialsBlob) //\n .then(async newInitials => {\n const updateResult = await updateEnvelopeFieldInitials(this.endpoint, this.envelopeId, field.name, newInitials.id);\n this.updateRecipientFieldValue(field.name, updateResult);\n this.showSpinner = false;\n })\n .catch(e => {\n console.log('Error updating initials', e);\n this.showSpinner = false;\n });\n\n case 'signature':\n // This can be caused by a focus-out event if the user clicks the field\n // after it's already filled in, then clicks something else like a textbox.\n // We don't visually indicate the focus, but it's still there.\n if (!e.detail) {\n return;\n }\n\n this.showSpinner = true;\n const signatureBlob = await (await fetch(e.detail)).blob();\n return createSignature(this.endpoint, 'signature', signatureBlob) //\n .then(async newSignature => {\n console.log('Signature update result', newSignature);\n const updateResult = await updateEnvelopeFieldSignature(this.endpoint, this.envelopeId, field.name, newSignature.id);\n this.updateRecipientFieldValue(field.name, updateResult);\n this.showSpinner = false;\n })\n .catch(e => {\n console.warn('[SIGN] Error updating signature', e);\n this.showSpinner = false;\n });\n\n case 'date':\n const {formattedDate} = e.detail;\n if (formattedDate) {\n return this.saveFieldChange(field.name, {prepared: false, value: formattedDate});\n }\n break;\n\n case 'timestamp':\n console.log('[SIGN] Updating timestamp', {value, ts: e.target.getAttribute('timestamp')});\n break;\n\n default:\n console.log('[SIGN] Unhandled field update', {value, checked}, field);\n break;\n }\n }\n\n isFieldFilled(field: IEnvelopeField) {\n const {value = ''} = field;\n switch (field.type as any) {\n case 'textarea':\n case 'textbox':\n switch (field.validator || '') {\n case 'email':\n return isValidEmail(value);\n case 'phone':\n return isValidPhone(value);\n default:\n return (value || '').trim() !== '';\n }\n\n case 'signature':\n return value === 'signed';\n\n case 'initial':\n return value === 'initialed';\n\n // Timestamp fields get automatically filled when the envelope is submitted.\n case 'timestamp':\n return true;\n\n case 'date':\n return !!value;\n\n case 'attachment':\n return value === 'attached';\n\n case 'dropdown':\n return value !== '';\n\n case 'checkbox':\n return value === 'true';\n\n case 'radio':\n if (!!field.group) {\n return this.getRecipientFields()\n .filter(f => f.group === field.group)\n .some(field => field.value === 'true');\n }\n\n return field.value === 'true';\n\n default:\n return false;\n }\n }\n\n isFieldValid(field: IEnvelopeField) {\n return !field.required || this.isFieldFilled(field);\n }\n\n getSortedFillableFields() {\n const recipientFields = this.getRecipientFields().filter(field => field.type !== 'timestamp');\n sortFields(recipientFields);\n return recipientFields;\n }\n\n async handleNext() {\n if (this.nextSubmits) {\n try {\n // Patches the date picker to be forcibly removed if still showing during submission\n document.getElementById('air-datepicker-global-container')?.remove();\n\n this.submitting = true;\n const result = await envelopeRecipientSubmit(this.endpoint, this.envelopeId, this.roleId);\n console.log('[SIGN] Submitted successfully', result);\n this.recipient.status = 'submitted';\n this.showDone = true;\n console.log('[SIGN] Reloading envelope');\n getEnvelope(this.endpoint, this.envelopeId)\n .then(envelope => {\n this.envelope = envelope;\n // The show-done dialog does this\n // this.isDone = true;\n this.submitting = false;\n })\n .catch(e => {\n // this.isDone = true;\n console.log('[SIGN] Error reloading envelope', e);\n this.submitting = false;\n });\n } catch (e) {\n console.log('[SIGN] Error submitting', e);\n }\n\n return;\n }\n\n // Find and focus the next incomplete field (that is fillable)\n const emptyFields = this.getSortedFillableFields().filter(field => field.required && !this.isFieldFilled(field));\n sortFields(emptyFields);\n\n const focusedIndex = emptyFields.findIndex(field => field.name === this.focusedField);\n let nextFocusedIndex = focusedIndex + 1;\n if (nextFocusedIndex >= emptyFields.length) {\n nextFocusedIndex = 0;\n }\n\n let nextRequiredField = emptyFields[nextFocusedIndex];\n // console.log('Next field', nextRequiredField, emptyFields);\n\n // Skip signature and initial fields that are already filled in. We have to count our \"skips\" just in case, to avoid infinite loops.\n let skips = 0;\n if (skips < emptyFields.length && ['signature', 'initial'].includes(nextRequiredField.type) && ['initialed', 'signed'].includes(nextRequiredField.value)) {\n skips++;\n nextFocusedIndex++;\n if (nextFocusedIndex >= emptyFields.length) {\n nextFocusedIndex = 0;\n }\n nextRequiredField = emptyFields[nextFocusedIndex];\n }\n\n if (skips >= emptyFields.length) {\n nextRequiredField = null;\n }\n\n if (nextRequiredField) {\n const id = getFieldId(nextRequiredField);\n const el = document.getElementById(id) as any;\n el?.scrollIntoView({behavior: 'smooth'});\n el?.focusField();\n this.focusedField = nextRequiredField.name;\n }\n }\n\n getRecipientFields() {\n return this.envelope.fields.filter(field => field.role_name === this.recipient.role_name);\n }\n\n // See if everything that \"needs to be\" filled in is, and all \"fillable fields\" are valid\n checkRecipientFields() {\n const invalidFields = this.getRecipientFields().filter(field => !this.isFieldValid(field));\n if (invalidFields.length < 1) {\n this.nextButtonLabel = 'Finish';\n if (!this.nextSubmits) {\n this.nextSubmits = true;\n }\n } else {\n console.log(\n '[SIGN] Invalid fields remaining',\n invalidFields.map(field => field.name),\n );\n this.nextButtonLabel = 'Next';\n this.nextSubmits = false;\n }\n }\n\n attachFieldAttributes(pageInfo, field, el) {\n // We can get called multiple times as rendering completes and it's hard to avoid that\n // because it's a ton of work for the callers to know it's been done already. But we\n // don't want to attach multiple event listeners or we get dupe event handling, like\n // calling the server twice on every field update. Since JS has no removeAllEventListeners()\n // option, using removeEventListener() isn't reliable the way Stencil binds local function\n // contexts, and cloneNode messes up the rest of the rendering, we just track it with a flag.\n if (el.getAttribute('attached') === '1') {\n return;\n }\n el.setAttribute('attached', '1');\n\n el.addEventListener('input', (e: any) => {\n // console.log('[SIGN] onfieldInput', e.detail, e.target.value);\n // These field types don't emit fieldChange. Should we standardize on that? We don't tap \"input\" for fields like\n // text boxes because we'd be updating the field on every keystroke. We do those on blur which fires fieldChange.\n if (e.target.type === 'radio' || e.target.type === 'checkbox') {\n // if (e.target.type === 'radio' || e.target.name.includes('date') || e.target.name.includes('checkbox')) {\n this.handleFieldChange(field, e).finally(() => this.checkRecipientFields());\n } else {\n this.checkRecipientFields();\n }\n });\n el.addEventListener('attached', async (e: any) => {\n console.log('[SIGN] onAttached', e.detail, e.target.value);\n this.showSpinner = true;\n try {\n const updateResult = await uploadEnvelopeFieldAttachment(this.endpoint, this.envelopeId, field.name, e.detail);\n this.updateRecipientFieldValue(field.name, updateResult);\n this.checkRecipientFields();\n\n const newEl = renderDocumentField('envelope', field, pageInfo, {disabled: false, editable: false, draggable: false, done: this.isDone});\n this.attachFieldAttributes(pageInfo, field, newEl);\n\n this.showSpinner = false;\n } catch (e) {\n console.log('Error uploading attachment', e);\n VerdocsToast('Unable to upload attachment, please try again later', {style: 'error'});\n this.showSpinner = false;\n }\n });\n el.addEventListener('deleted', async (e: any) => {\n console.log('[SIGN] onDeleted', e.detail, e.target.value);\n this.showSpinner = true;\n try {\n const updateResult = await deleteEnvelopeFieldAttachment(this.endpoint, this.envelopeId, field.name);\n console.log('[SIGN] Deleted attachment', updateResult);\n this.updateRecipientFieldValue(field.name, updateResult);\n this.checkRecipientFields();\n\n const newEl = renderDocumentField('envelope', field, pageInfo, {disabled: false, editable: false, draggable: false, done: this.isDone});\n this.attachFieldAttributes(pageInfo, field, newEl);\n\n this.showSpinner = false;\n } catch (e) {\n console.log('Error uploading attachment', e);\n VerdocsToast('Unable to upload attachment, please try again later', {style: 'error'});\n this.showSpinner = false;\n }\n });\n el.addEventListener('focusout', e => {\n // These field types trigger focusout as they're used, even without a value change\n if (field.type !== 'dropdown' && field.type !== 'attachment') {\n this.handleFieldChange(field, e).finally(() => this.checkRecipientFields());\n }\n });\n el.addEventListener('fieldChange', e => {\n this.handleFieldChange(field, e).finally(() => this.checkRecipientFields());\n });\n\n el.setAttribute('templateid', this.envelope.template_id);\n el.setAttribute('fieldname', field.name);\n el.setAttribute('page', pageInfo.pageNumber);\n el.setAttribute('xScale', pageInfo.xScale);\n el.setAttribute('yScale', pageInfo.yScale);\n\n const fullName = formatFullName(this.recipient);\n el.setAttribute('initials', fullNameToInitials(fullName));\n el.setAttribute('name', fullName);\n }\n\n handlePageRendered(e: any) {\n const pageInfo = e.detail as IDocumentPageInfo;\n\n // NOTE: We don't filter on pageNumber here because we need the position in the\n // entire list to set the tabIndex.\n const recipientFields = this.getSortedFillableFields();\n console.log('[SIGN] Rendering fields for page', pageInfo.pageNumber, recipientFields);\n\n // First render the fields for the signer\n recipientFields.forEach((field, tabIndex) => {\n if (field.page !== pageInfo.pageNumber) {\n return;\n }\n\n const el = renderDocumentField('envelope', field, pageInfo, {disabled: false, editable: false, draggable: false, done: this.isDone}, tabIndex);\n if (!el) {\n return;\n }\n\n if (Array.isArray(el)) {\n el.map(e => this.attachFieldAttributes(pageInfo, field, e));\n } else {\n this.attachFieldAttributes(pageInfo, field, el);\n }\n });\n\n // Now render the fields for other signers who have yet to act\n this.envelope.recipients\n .filter(r => r.role_name !== this.recipient.role_name && (r.status === 'invited' || r.status === 'opened' || r.status === 'pending'))\n .forEach(() => {\n this.getRecipientFields()\n .filter(field => field.page === pageInfo.pageNumber)\n .forEach(field => {\n const el = renderDocumentField('envelope', field, pageInfo, {disabled: true, editable: false, draggable: false, done: this.isDone});\n if (!el) {\n return;\n }\n\n if (Array.isArray(el)) {\n el.map(e => this.attachFieldAttributes(pageInfo, field, e));\n } else {\n this.attachFieldAttributes(pageInfo, field, el);\n }\n });\n });\n\n this.checkRecipientFields();\n }\n\n handleAuthenticateSigner(params: TAuthenticateRecipientRequest) {\n console.log('[SIGN] Submitting authentication step', params);\n verifySigner(this.endpoint, params)\n .then(r => {\n console.log('[SIGN] Verification successful', r);\n this.processAuthResponse(r);\n })\n .catch(e => {\n console.log('[SIGN] Error submitting authentication step', e);\n if (e.response?.data?.error?.includes('failed')) {\n this.fatalErrorHeader = 'Recipient Verification Failed';\n this.fatalErrorMessage = 'We were unable to verify your identity. The sender has been notified.';\n this.isDone = true;\n } else {\n VerdocsToast(e.response?.data?.error || 'Unable to verify your identity. Please try again.', {style: 'error'});\n }\n });\n }\n\n render() {\n console.log('[SIGN] Rendering', {authStep: this.authStep});\n if (this.showLoadError) {\n return (\n <Host>\n <verdocs-ok-dialog\n heading=\"Unable to Start Signing\"\n message={`Sorry, your invite code is invalid or has expired. Please check your email for an updated invitation, or contact the sender.`}\n buttonLabel=\"OK\"\n onNext={() => {\n window.location.reload();\n }}\n />\n </Host>\n );\n }\n\n if (!this.envelope) {\n return (\n <Host>\n <verdocs-loader />\n </Host>\n );\n }\n\n if (this.fatalErrorMessage) {\n return (\n <Host class={{agreed: this.agreed}}>\n <div class=\"fatal-error\">\n <div class=\"message\">\n <div class=\"header\">{this.fatalErrorHeader}</div>\n <p>{this.fatalErrorMessage}</p>\n </div>\n </div>\n </Host>\n );\n }\n\n if (this.isDone) {\n return (\n <Host class={{agreed: this.agreed}}>\n <verdocs-view endpoint={this.endpoint} envelopeId={this.envelopeId} onSdkError={e => this.sdkError?.emit(e.detail)} />\n\n {this.showDone && (\n <verdocs-ok-dialog\n heading=\"You're Done!\"\n message={`You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`}\n onNext={(e: any) => {\n e.preventDefault();\n e.stopPropagation();\n this.showDone = false;\n this.isDone = true;\n }}\n />\n )}\n\n {this.submitting && (\n <div class=\"loading-indicator\">\n <verdocs-loader />\n </div>\n )}\n </Host>\n );\n }\n\n if (!this.agreed) {\n return (\n <Host class=\"agreed\">\n <div id=\"verdocs-sign-header\">\n <div class=\"inner\">\n <img src=\"https://verdocs.com/assets/white-logo.svg\" alt=\"Verdocs Logo\" class=\"logo\" />\n <div class=\"title\">{this.envelope.name}</div>\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: '15px'}}>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </div>\n\n <div class=\"cover\">\n <div class=\"agree\">\n <verdocs-checkbox name=\"agree\" label=\"By checking this box, you:\" onInput={() => this.handleClickAgree()} />\n <ul>\n <li>\n Agree to use electronic records and signatures, and confirm you have read the{' '}\n <a href=\"https://verdocs.com/en/electronic-record-signature-disclosure/\" target=\"_blank\">\n Electronic Record and Signatures Disclosure\n </a>\n .\n </li>\n <li>\n Agree to Verdocs'{' '}\n <a href=\"https://verdocs.com/en/eula\" target=\"_blank\">\n End User License Agreement\n </a>{' '}\n and confirm you have read Verdocs'{' '}\n <a href=\"https://verdocs.com/en/privacy-policy/\" target=\"_blank\">\n Privacy Policy\n </a>\n .\n </li>\n </ul>\n </div>\n </div>\n </Host>\n );\n }\n\n if (this.authStep === 'passcode') {\n return (\n <Host class=\"kba\">\n <div id=\"verdocs-sign-header\">\n <div class=\"inner\">\n <img src=\"https://verdocs.com/assets/white-logo.svg\" alt=\"Verdocs Logo\" class=\"logo\" />\n <div class=\"title\">{this.envelope.name}</div>\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: '15px'}}>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </div>\n\n <div class=\"cover\">\n <div class=\"kba\">\n <verdocs-kba-dialog\n mode=\"text\"\n step={1}\n steps={1}\n placeholder=\"Enter your passcode...\"\n helptitle=\"Document is protected by a Passcode\"\n helptext=\"Please enter your Passcode to proceed. If you do not have one, please contact the sender.\"\n label=\"Passcode\"\n onNext={e => this.handleAuthenticateSigner({auth_method: 'passcode', code: e.detail as string})}\n />\n </div>\n </div>\n </Host>\n );\n }\n\n if (this.authStep === 'email' && this.authMethodStates.email !== 'complete') {\n return (\n <verdocs-otp-dialog\n method=\"email\"\n onNext={async e => {\n this.processAuthResponse(e.detail.response);\n }}\n />\n );\n }\n\n if (this.authStep === 'kba' && !this.authMethodStates.kba) {\n return (\n <Host class=\"kba\">\n <div id=\"verdocs-sign-header\">\n <div class=\"inner\">\n <img src=\"https://verdocs.com/assets/white-logo.svg\" alt=\"Verdocs Logo\" class=\"logo\" />\n <div class=\"title\">{this.envelope.name}</div>\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: '15px'}}>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </div>\n\n <div class=\"cover\">\n <div class=\"kba\">\n <verdocs-kba-dialog\n mode=\"identity\"\n helptitle=\"Document requires identity verification\"\n helptext=\"Please complete your contact details to proceed.\"\n recipient={this.recipient}\n onNext={async e => {\n const recipDetails = e.detail as IRecipient;\n this.handleAuthenticateSigner({\n auth_method: 'kba',\n first_name: recipDetails.first_name,\n last_name: recipDetails.last_name,\n address: recipDetails.address,\n city: recipDetails.city,\n state: recipDetails.state,\n zip: recipDetails.zip,\n dob: recipDetails.dob,\n });\n }}\n />\n </div>\n </div>\n </Host>\n );\n }\n\n if (this.authStep === 'kba' && this.authMethodStates.kba === 'questions') {\n const questionNumber = this.kbaChoices.length;\n const kbaQuestion = this.kbaQuestions[questionNumber];\n return (\n <Host class=\"kba\">\n <div id=\"verdocs-sign-header\">\n <div class=\"inner\">\n <img src=\"https://verdocs.com/assets/white-logo.svg\" alt=\"Verdocs Logo\" class=\"logo\" />\n <div class=\"title\">{this.envelope.name}</div>\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: '15px'}}>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </div>\n\n <div class=\"cover\">\n <div class=\"kba\">\n {this.kbaChoices.length >= this.kbaQuestions.length ? (\n <verdocs-spinner />\n ) : (\n <verdocs-kba-dialog\n mode=\"choice\"\n helptitle=\"Your identity requires additional verification\"\n helptext={kbaQuestion?.prompt || 'Please select one of the options below.'}\n choices={kbaQuestion?.answer || ['Skip Question']}\n step={questionNumber + 1}\n steps={this.kbaQuestions.length}\n onNext={async (e: any) => {\n const answer = e.detail as string;\n this.kbaChoices = [...this.kbaChoices, answer];\n if (this.kbaChoices.length >= this.kbaQuestions.length) {\n const responses = this.kbaQuestions.map((q, i) => ({type: q.type, answer: this.kbaChoices[i]}));\n console.log('Submitting KBA responses', this.kbaChoices, responses);\n this.handleAuthenticateSigner({auth_method: 'kba', responses});\n }\n }}\n />\n )}\n </div>\n </div>\n </Host>\n );\n }\n\n return (\n <Host>\n <div id=\"verdocs-sign-header\">\n <div class=\"inner\">\n <img src=\"https://verdocs.com/assets/white-logo.svg\" alt=\"Verdocs Logo\" class=\"logo\" />\n <div class=\"title\">{this.envelope.name}</div>\n <div style={{flex: '1'}} />\n\n {!this.finishLater && <verdocs-button size=\"xsmall\" label={this.nextButtonLabel} disabled={!this.agreed} onClick={() => this.handleNext()} />}\n\n <div style={{marginLeft: '10px'}} />\n <verdocs-dropdown options={!this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions} onOptionSelected={e => this.handleOptionSelected(e)} />\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: '15px'}}>\n {(this.envelope.documents || []).map(envelopeDocument => {\n const pageNumbers = integerSequence(1, envelopeDocument.pages);\n\n return (\n <Fragment>\n {pageNumbers.map(pageNumber => {\n const pageSize = envelopeDocument.page_sizes?.[pageNumber] || {width: 612, height: 792};\n\n // In signing mode we show the original template page with all the recipient fields so we can show source formatting and\n // where everything went. This is also a visual indicator when optional fields weren't filled in by previous actors, or\n // future signers still need to act. Once we're \"done\" we flip to showing the envelope's documents which have the final\n // field vales (so far) stamped into them.\n // TODO: Confirm that a pure page-number match is good enough to find the matching template page. We need to make sure\n // we either don't reset our page numbers for additional attachments, or add match-on identifiers to work around that.\n // console.log('tp', templatePage, page);\n return (\n <verdocs-envelope-document-page\n envelopeId={this.envelopeId}\n documentId={envelopeDocument.id}\n endpoint={this.endpoint}\n virtualWidth={pageSize.width}\n virtualHeight={pageSize.height}\n pageNumber={pageNumber}\n onPageRendered={e => this.handlePageRendered(e)}\n type=\"filled\"\n layers={[\n {name: 'page', type: 'canvas'},\n {name: 'controls', type: 'div'},\n ]}\n />\n );\n })}\n </Fragment>\n );\n })}\n </div>\n\n {this.showFinishLater && (\n <verdocs-ok-dialog\n heading=\"You've saved your document to finish later.\"\n message={`To complete the ${this.documentsSingularPlural}, use the link in the original email notification inviting you to review and finish the document.`}\n onNext={() => (this.showFinishLater = false)}\n />\n )}\n\n {this.showDone && (\n <verdocs-ok-dialog\n heading=\"You're Done!\"\n message={`You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`}\n onNext={() => {\n this.showDone = false;\n this.isDone = true;\n }}\n />\n )}\n\n {this.submitting ||\n (this.showSpinner && (\n <verdocs-portal>\n <div class=\"spinner-overlay\">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iBG,OAExD,OACEzD,EAAC0D,EAAQ,KACNH,EAAY1F,KAAI,SAAAkB,G,MACf,IAAM4E,IAAW7N,EAAAwN,EAAiBM,cAAU,MAAA9N,SAAA,SAAAA,EAAGiJ,KAAe,CAAC+B,MAAO,IAAKC,OAAQ,KASnF,OACEf,EAAA,kCACEpM,WAAYyE,EAAKzE,WACjBiQ,WAAYP,EAAiBpQ,GAC7BQ,SAAU2E,EAAK3E,SACfoQ,aAAcH,EAAS7C,MACvBiD,cAAeJ,EAAS5C,OACxBhC,WAAYA,EACZiF,eAAgB,SAAArL,GAAK,OAAAN,EAAKgH,mBAAmB1G,EAAxB,EACrBY,KAAK,SACL0K,OAAQ,CACN,CAAClK,KAAM,OAAQR,KAAM,UACrB,CAACQ,KAAM,WAAYR,KAAM,S,SAUxC9F,KAAKoB,iBACJmL,EAAA,qBACEE,QAAQ,8CACRtJ,QAAS,mBAAAR,OAAmB3C,KAAKsB,wBAAuB,qGACxDqL,OAAQ,kBAAO/H,EAAKxD,gBAAkB,KAA9B,IAIXpB,KAAKiB,UACJsL,EAAA,qBACEE,QAAQ,eACRtJ,QAAS,sBAAAR,OAAsB3C,KAAKsB,wBAAuB,gNAC3DqL,OAAQ,WACN/H,EAAK3D,SAAW,MAChB2D,EAAK5D,OAAS,I,IAKnBhB,KAAKc,YACHd,KAAK0B,aACJ6K,EAAA,sBACEA,EAAA,OAAKO,MAAM,mBACTP,EAAA,0B,WAv8BQ,I","ignoreList":[]}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
var __extends=this&&this.__extends||function(){var t=function(i,e){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)if(Object.prototype.hasOwnProperty.call(i,e))t[e]=i[e]};return t(i,e)};return function(i,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");t(i,e);function n(){this.constructor=i}i.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var i,e=1,n=arguments.length;e<n;e++){i=arguments[e];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))t[r]=i[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{a(n.next(t))}catch(t){s(t)}}function o(t){try{a(n["throw"](t))}catch(t){s(t)}}function a(t){t.done?e(t.value):r(t.value).then(u,o)}a((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(i){return a([t,i])}}function a(o){if(n)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(e=0)),e)try{if(n=1,r&&(s=o[0]&2?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;if(r=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;r=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){e.label=o[1];break}if(o[0]===6&&e.label<s[1]){e.label=s[1];s=o;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(o);break}if(s[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(t){o=[6,t];r=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(t,i){var e={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&i.indexOf(n)<0)e[n]=t[n];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++){if(i.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r]))e[n[r]]=t[n[r]]}return e};var __spreadArray=this&&this.__spreadArray||function(t,i,e){if(e||arguments.length===2)for(var n=0,r=i.length,s;n<r;n++){if(s||!(n in i)){if(!s)s=Array.prototype.slice.call(i,0,n);s[n]=i[n]}}return t.concat(s||Array.prototype.slice.call(i))};System.register(["./p-99ed75fb.system.js","@verdocs/js-sdk","./p-f29eb00a.system.js","./p-c8a15cb7.system.js","./p-ebd42be0.system.js","./p-21b1acec.system.js","./p-d738b5db.system.js","./p-2c5350ec.system.js"],(function(t){"use strict";var i,e,n,r,s,u,o,a,h,f,l,c,d,v,b,g;return{setters:[function(t){i=t.r;e=t.c;n=t.h;r=t.F;s=t.H;u=t.g},function(t){o=t.verifySigner;a=t.VerdocsEndpoint;h=t.getEnvelope;f=t.getDocumentDownloadLink;l=t.cancelEnvelope;c=t.userCanCancelEnvelope;d=t.integerSequence},function(t){v=t.s},function(t){b=t.S},function(t){g=t.S},function(){},function(){},function(){}],execute:function(){function p(t){return typeof t==="string"||t instanceof String}function m(t){var i;return typeof t==="object"&&t!=null&&(t==null||(i=t.constructor)==null?void 0:i.name)==="Object"}function x(t,i){if(Array.isArray(i))return x(t,(function(t,e){return i.includes(e)}));return Object.entries(t).reduce((function(t,e){var n=e[0],r=e[1];if(i(r,n))t[n]=r;return t}),{})}var w={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function A(t){switch(t){case w.LEFT:return w.FORCE_LEFT;case w.RIGHT:return w.FORCE_RIGHT;default:return t}}function _(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function C(t,i){if(i===t)return true;var e=Array.isArray(i),n=Array.isArray(t);var r;if(e&&n){if(i.length!=t.length)return false;for(r=0;r<i.length;r++)if(!C(i[r],t[r]))return false;return true}if(e!=n)return false;if(i&&t&&typeof i==="object"&&typeof t==="object"){var s=i instanceof Date,u=t instanceof Date;if(s&&u)return i.getTime()==t.getTime();if(s!=u)return false;var o=i instanceof RegExp,a=t instanceof RegExp;if(o&&a)return i.toString()==t.toString();if(o!=a)return false;var h=Object.keys(i);for(r=0;r<h.length;r++)if(!Object.prototype.hasOwnProperty.call(t,h[r]))return false;for(r=0;r<h.length;r++)if(!C(t[h[r]],i[h[r]]))return false;return true}else if(i&&t&&typeof i==="function"&&typeof t==="function"){return i.toString()===t.toString()}return false}var k=function(){function t(t){Object.assign(this,t);while(this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos)){--this.oldSelection.start}if(this.insertedCount){while(this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end)){if(this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end)++this.oldSelection.end;else++this.cursorPos}}}Object.defineProperty(t.prototype,"startChangePos",{get:function(){return Math.min(this.cursorPos,this.oldSelection.start)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"insertedCount",{get:function(){return this.cursorPos-this.startChangePos},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"inserted",{get:function(){return this.value.substr(this.startChangePos,this.insertedCount)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"removedCount",{get:function(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"removed",{get:function(){return this.oldValue.substr(this.startChangePos,this.removedCount)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"head",{get:function(){return this.value.substring(0,this.startChangePos)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"tail",{get:function(){return this.value.substring(this.startChangePos+this.insertedCount)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"removeDirection",{get:function(){if(!this.removedCount||this.insertedCount)return w.NONE;return(this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos)&&this.oldSelection.end===this.oldSelection.start?w.RIGHT:w.LEFT},enumerable:false,configurable:true});return t}();function y(t,i){return new y.InputMask(t,i)}function F(t){if(t==null)throw new Error("mask property should be defined");if(t instanceof RegExp)return y.MaskedRegExp;if(p(t))return y.MaskedPattern;if(t===Date)return y.MaskedDate;if(t===Number)return y.MaskedNumber;if(Array.isArray(t)||t===Array)return y.MaskedDynamic;if(y.Masked&&t.prototype instanceof y.Masked)return t;if(y.Masked&&t instanceof y.Masked)return t.constructor;if(t instanceof Function)return y.MaskedFunction;console.warn("Mask not found for mask",t);return y.Masked}function D(t){if(!t)throw new Error("Options in not defined");if(y.Masked){if(t.prototype instanceof y.Masked)return{mask:t};var i=t instanceof y.Masked?{mask:t}:m(t)&&t.mask instanceof y.Masked?t:{},e=i.mask,n=e===void 0?undefined:e,r=__rest(i,["mask"]);if(n){var s=n.mask;return __assign(__assign(__assign({},x(n,(function(t,i){return!i.startsWith("_")}))),{mask:n.constructor,_mask:s}),r)}}if(!m(t))return{mask:t};return __assign({},t)}function B(t){if(y.Masked&&t instanceof y.Masked)return t;var i=D(t);var e=F(i.mask);if(!e)throw new Error("Masked class is not found for provided mask "+i.mask+", appropriate module needs to be imported manually before creating mask.");if(i.mask===e)delete i.mask;if(i._mask){i.mask=i._mask;delete i._mask}return new e(i)}y.createMask=B;var E=function(){function t(){}Object.defineProperty(t.prototype,"selectionStart",{get:function(){var t;try{t=this._unsafeSelectionStart}catch(t){}return t!=null?t:this.value.length},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"selectionEnd",{get:function(){var t;try{t=this._unsafeSelectionEnd}catch(t){}return t!=null?t:this.value.length},enumerable:false,configurable:true});t.prototype.select=function(t,i){if(t==null||i==null||t===this.selectionStart&&i===this.selectionEnd)return;try{this._unsafeSelect(t,i)}catch(t){}};Object.defineProperty(t.prototype,"isActive",{get:function(){return false},enumerable:false,configurable:true});return t}();y.MaskElement=E;var O=90;var j=89;var I=function(t){__extends(i,t);function i(i){var e=t.call(this)||this;e.input=i;e._onKeydown=e._onKeydown.bind(e);e._onInput=e._onInput.bind(e);e._onBeforeinput=e._onBeforeinput.bind(e);e._onCompositionEnd=e._onCompositionEnd.bind(e);return e}Object.defineProperty(i.prototype,"rootElement",{get:function(){var t,i,e;return(t=(i=(e=this.input).getRootNode)==null?void 0:i.call(e))!=null?t:document},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isActive",{get:function(){return this.input===this.rootElement.activeElement},enumerable:false,configurable:true});i.prototype.bindEvents=function(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};i.prototype._onKeydown=function(t){if(this._handlers.redo&&(t.keyCode===O&&t.shiftKey&&(t.metaKey||t.ctrlKey)||t.keyCode===j&&t.ctrlKey)){t.preventDefault();return this._handlers.redo(t)}if(this._handlers.undo&&t.keyCode===O&&(t.metaKey||t.ctrlKey)){t.preventDefault();return this._handlers.undo(t)}if(!t.isComposing)this._handlers.selectionChange(t)};i.prototype._onBeforeinput=function(t){if(t.inputType==="historyUndo"&&this._handlers.undo){t.preventDefault();return this._handlers.undo(t)}if(t.inputType==="historyRedo"&&this._handlers.redo){t.preventDefault();return this._handlers.redo(t)}};i.prototype._onCompositionEnd=function(t){this._handlers.input(t)};i.prototype._onInput=function(t){if(!t.isComposing)this._handlers.input(t)};i.prototype.unbindEvents=function(){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={}};return i}(E);y.HTMLMaskElement=I;var M=function(t){__extends(i,t);function i(i){var e=t.call(this,i)||this;e.input=i;return e}Object.defineProperty(i.prototype,"_unsafeSelectionStart",{get:function(){return this.input.selectionStart!=null?this.input.selectionStart:this.value.length},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"_unsafeSelectionEnd",{get:function(){return this.input.selectionEnd},enumerable:false,configurable:true});i.prototype._unsafeSelect=function(t,i){this.input.setSelectionRange(t,i)};Object.defineProperty(i.prototype,"value",{get:function(){return this.input.value},set:function(t){this.input.value=t},enumerable:false,configurable:true});return i}(I);y.HTMLMaskElement=I;var S=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(i.prototype,"_unsafeSelectionStart",{get:function(){var t=this.rootElement;var i=t.getSelection&&t.getSelection();var e=i&&i.anchorOffset;var n=i&&i.focusOffset;if(n==null||e==null||e<n){return e}return n},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"_unsafeSelectionEnd",{get:function(){var t=this.rootElement;var i=t.getSelection&&t.getSelection();var e=i&&i.anchorOffset;var n=i&&i.focusOffset;if(n==null||e==null||e>n){return e}return n},enumerable:false,configurable:true});i.prototype._unsafeSelect=function(t,i){if(!this.rootElement.createRange)return;var e=this.rootElement.createRange();e.setStart(this.input.firstChild||this.input,t);e.setEnd(this.input.lastChild||this.input,i);var n=this.rootElement;var r=n.getSelection&&n.getSelection();if(r){r.removeAllRanges();r.addRange(e)}};Object.defineProperty(i.prototype,"value",{get:function(){return this.input.textContent||""},set:function(t){this.input.textContent=t},enumerable:false,configurable:true});return i}(I);y.HTMLContenteditableMaskElement=S;var V=function(){function t(){this.states=[];this.currentIndex=0}Object.defineProperty(t.prototype,"currentState",{get:function(){return this.states[this.currentIndex]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isEmpty",{get:function(){return this.states.length===0},enumerable:false,configurable:true});t.prototype.push=function(i){if(this.currentIndex<this.states.length-1)this.states.length=this.currentIndex+1;this.states.push(i);if(this.states.length>t.MAX_LENGTH)this.states.shift();this.currentIndex=this.states.length-1};t.prototype.go=function(t){this.currentIndex=Math.min(Math.max(this.currentIndex+t,0),this.states.length-1);return this.currentState};t.prototype.undo=function(){return this.go(-1)};t.prototype.redo=function(){return this.go(+1)};t.prototype.clear=function(){this.states.length=0;this.currentIndex=0};return t}();V.MAX_LENGTH=100;var N=function(){function t(t,i){this.el=t instanceof E?t:t.isContentEditable&&t.tagName!=="INPUT"&&t.tagName!=="TEXTAREA"?new S(t):new M(t);this.masked=B(i);this._listeners={};this._value="";this._unmaskedValue="";this._rawInputValue="";this.history=new V;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()}t.prototype.maskEquals=function(t){var i;return t==null||((i=this.masked)==null?void 0:i.maskEquals(t))};Object.defineProperty(t.prototype,"mask",{get:function(){return this.masked.mask},set:function(t){if(this.maskEquals(t))return;if(!(t instanceof y.Masked)&&this.masked.constructor===F(t)){this.masked.updateOptions({mask:t});return}var i=t instanceof y.Masked?t:B({mask:t});i.unmaskedValue=this.masked.unmaskedValue;this.masked=i},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){if(this.value===t)return;this.masked.value=t;this.updateControl("auto")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"unmaskedValue",{get:function(){return this._unmaskedValue},set:function(t){if(this.unmaskedValue===t)return;this.masked.unmaskedValue=t;this.updateControl("auto")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"rawInputValue",{get:function(){return this._rawInputValue},set:function(t){if(this.rawInputValue===t)return;this.masked.rawInputValue=t;this.updateControl();this.alignCursor()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"typedValue",{get:function(){return this.masked.typedValue},set:function(t){if(this.masked.typedValueEquals(t))return;this.masked.typedValue=t;this.updateControl("auto")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.masked.displayValue},enumerable:false,configurable:true});t.prototype._bindEvents=function(){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})};t.prototype._unbindEvents=function(){if(this.el)this.el.unbindEvents()};t.prototype._fireEvent=function(t,i){var e=this._listeners[t];if(!e)return;e.forEach((function(t){return t(i)}))};Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"cursorPos",{get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd},set:function(t){if(!this.el||!this.el.isActive)return;this.el.select(t,t);this._saveSelection()},enumerable:false,configurable:true});t.prototype._saveSelection=function(){if(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}};t.prototype.updateValue=function(){this.masked.value=this.el.value;this._value=this.masked.value;this._unmaskedValue=this.masked.unmaskedValue;this._rawInputValue=this.masked.rawInputValue};t.prototype.updateControl=function(t){var i=this.masked.unmaskedValue;var e=this.masked.value;var n=this.masked.rawInputValue;var r=this.displayValue;var s=this.unmaskedValue!==i||this.value!==e||this._rawInputValue!==n;this._unmaskedValue=i;this._value=e;this._rawInputValue=n;if(this.el.value!==r)this.el.value=r;if(t==="auto")this.alignCursor();else if(t!=null)this.cursorPos=t;if(s)this._fireChangeEvents();if(!this._historyChanging&&(s||this.history.isEmpty))this.history.push({unmaskedValue:i,selection:{start:this.selectionStart,end:this.cursorPos}})};t.prototype.updateOptions=function(t){var i=t.mask,e=__rest(t,["mask"]);var n=!this.maskEquals(i);var r=this.masked.optionsIsChanged(e);if(n)this.mask=i;if(r)this.masked.updateOptions(e);if(n||r)this.updateControl()};t.prototype.updateCursor=function(t){if(t==null)return;this.cursorPos=t;this._delayUpdateCursor(t)};t.prototype._delayUpdateCursor=function(t){var i=this;this._abortUpdateCursor();this._changingCursorPos=t;this._cursorChanging=setTimeout((function(){if(!i.el)return;i.cursorPos=i._changingCursorPos;i._abortUpdateCursor()}),10)};t.prototype._fireChangeEvents=function(){this._fireEvent("accept",this._inputEvent);if(this.masked.isComplete)this._fireEvent("complete",this._inputEvent)};t.prototype._abortUpdateCursor=function(){if(this._cursorChanging){clearTimeout(this._cursorChanging);delete this._cursorChanging}};t.prototype.alignCursor=function(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,w.LEFT))};t.prototype.alignCursorFriendly=function(){if(this.selectionStart!==this.cursorPos)return;this.alignCursor()};t.prototype.on=function(t,i){if(!this._listeners[t])this._listeners[t]=[];this._listeners[t].push(i);return this};t.prototype.off=function(t,i){if(!this._listeners[t])return this;if(!i){delete this._listeners[t];return this}var e=this._listeners[t].indexOf(i);if(e>=0)this._listeners[t].splice(e,1);return this};t.prototype._onInput=function(t){this._inputEvent=t;this._abortUpdateCursor();var i=new k({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection});var e=this.masked.rawInputValue;var n=this.masked.splice(i.startChangePos,i.removed.length,i.inserted,i.removeDirection,{input:true,raw:true}).offset;var r=e===this.masked.rawInputValue?i.removeDirection:w.NONE;var s=this.masked.nearestInputPos(i.startChangePos+n,r);if(r!==w.NONE)s=this.masked.nearestInputPos(s,w.NONE);this.updateControl(s);delete this._inputEvent};t.prototype._onChange=function(){if(this.displayValue!==this.el.value)this.updateValue();this.masked.doCommit();this.updateControl();this._saveSelection()};t.prototype._onDrop=function(t){t.preventDefault();t.stopPropagation()};t.prototype._onFocus=function(t){this.alignCursorFriendly()};t.prototype._onClick=function(t){this.alignCursorFriendly()};t.prototype._onUndo=function(){this._applyHistoryState(this.history.undo())};t.prototype._onRedo=function(){this._applyHistoryState(this.history.redo())};t.prototype._applyHistoryState=function(t){if(!t)return;this._historyChanging=true;this.unmaskedValue=t.unmaskedValue;this.el.select(t.selection.start,t.selection.end);this._saveSelection();this._historyChanging=false};t.prototype.destroy=function(){this._unbindEvents();this._listeners.length=0;delete this.el};return t}();y.InputMask=N;var z=function(){function t(t){Object.assign(this,{inserted:"",rawInserted:"",tailShift:0,skip:false},t)}t.normalize=function(i){return Array.isArray(i)?i:[i,new t]};t.prototype.aggregate=function(t){this.inserted+=t.inserted;this.rawInserted+=t.rawInserted;this.tailShift+=t.tailShift;this.skip=this.skip||t.skip;return this};Object.defineProperty(t.prototype,"offset",{get:function(){return this.tailShift+this.inserted.length},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"consumed",{get:function(){return Boolean(this.rawInserted)||this.skip},enumerable:false,configurable:true});t.prototype.equals=function(t){return this.inserted===t.inserted&&this.tailShift===t.tailShift&&this.rawInserted===t.rawInserted&&this.skip===t.skip};return t}();y.ChangeDetails=z;var T=function(){function t(t,i,e){if(t===void 0){t=""}if(i===void 0){i=0}this.value=t;this.from=i;this.stop=e}t.prototype.toString=function(){return this.value};t.prototype.extend=function(t){this.value+=String(t)};t.prototype.appendTo=function(t){return t.append(this.toString(),{tail:true}).aggregate(t._appendPlaceholder())};Object.defineProperty(t.prototype,"state",{get:function(){return{value:this.value,from:this.from,stop:this.stop}},set:function(t){Object.assign(this,t)},enumerable:false,configurable:true});t.prototype.unshift=function(t){if(!this.value.length||t!=null&&this.from>=t)return"";var i=this.value[0];this.value=this.value.slice(1);return i};t.prototype.shift=function(){if(!this.value.length)return"";var t=this.value[this.value.length-1];this.value=this.value.slice(0,-1);return t};return t}();var R=function(){function t(i){this._value="";this._update(__assign(__assign({},t.DEFAULTS),i));this._initialized=true}t.prototype.updateOptions=function(t){if(!this.optionsIsChanged(t))return;this.withValueRefresh(this._update.bind(this,t))};t.prototype._update=function(t){Object.assign(this,t)};Object.defineProperty(t.prototype,"state",{get:function(){return{_value:this.value,_rawInputValue:this.rawInputValue}},set:function(t){this._value=t._value},enumerable:false,configurable:true});t.prototype.reset=function(){this._value=""};Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this.resolve(t,{input:true})},enumerable:false,configurable:true});t.prototype.resolve=function(t,i){if(i===void 0){i={input:true}}this.reset();this.append(t,i,"");this.doCommit()};Object.defineProperty(t.prototype,"unmaskedValue",{get:function(){return this.value},set:function(t){this.resolve(t,{})},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"typedValue",{get:function(){return this.parse?this.parse(this.value,this):this.unmaskedValue},set:function(t){if(this.format){this.value=this.format(t,this)}else{this.unmaskedValue=String(t)}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"rawInputValue",{get:function(){return this.extractInput(0,this.displayValue.length,{raw:true})},set:function(t){this.resolve(t,{raw:true})},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.value},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isComplete",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isFilled",{get:function(){return this.isComplete},enumerable:false,configurable:true});t.prototype.nearestInputPos=function(t,i){return t};t.prototype.totalInputPositions=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}return Math.min(this.displayValue.length,i-t)};t.prototype.extractInput=function(t,i,e){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}return this.displayValue.slice(t,i)};t.prototype.extractTail=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}return new T(this.extractInput(t,i),t)};t.prototype.appendTail=function(t){if(p(t))t=new T(String(t));return t.appendTo(this)};t.prototype._appendCharRaw=function(t,i){if(!t)return new z;this._value+=t;return new z({inserted:t,rawInserted:t})};t.prototype._appendChar=function(t,i,e){var n;if(i===void 0){i={}}var r=this.state;var s;n=this.doPrepareChar(t,i),t=n[0],s=n[1];if(t){s=s.aggregate(this._appendCharRaw(t,i));if(!s.rawInserted&&this.autofix==="pad"){var u=this.state;this.state=r;var o=this.pad(i);var a=this._appendCharRaw(t,i);o=o.aggregate(a);if(a.rawInserted||o.equals(s)){s=o}else{this.state=u}}}if(s.inserted){var h=void 0;var f=this.doValidate(i)!==false;if(f&&e!=null){var l=this.state;if(this.overwrite===true){h=e.state;for(var c=0;c<s.rawInserted.length;++c){e.unshift(this.displayValue.length-s.tailShift)}}var d=this.appendTail(e);f=d.rawInserted.length===e.toString().length;if(!(f&&d.inserted)&&this.overwrite==="shift"){this.state=l;h=e.state;for(var c=0;c<s.rawInserted.length;++c){e.shift()}d=this.appendTail(e);f=d.rawInserted.length===e.toString().length}if(f&&d.inserted)this.state=l}if(!f){s=new z;this.state=r;if(e&&h)e.state=h}}return s};t.prototype._appendPlaceholder=function(){return new z};t.prototype._appendEager=function(){return new z};t.prototype.append=function(t,i,e){var n;if(!p(t))throw new Error("value should be string");var r=p(e)?new T(String(e)):e;if(i!=null&&i.tail)i._beforeTailState=this.state;var s;n=this.doPrepare(t,i),t=n[0],s=n[1];for(var u=0;u<t.length;++u){var o=this._appendChar(t[u],i,r);if(!o.rawInserted&&!this.doSkipInvalid(t[u],i,r))break;s.aggregate(o)}if((this.eager===true||this.eager==="append")&&i!=null&&i.input&&t){s.aggregate(this._appendEager())}if(r!=null){s.tailShift+=this.appendTail(r).tailShift}return s};t.prototype.remove=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}this._value=this.displayValue.slice(0,t)+this.displayValue.slice(i);return new z};t.prototype.withValueRefresh=function(t){if(this._refreshing||!this._initialized)return t();this._refreshing=true;var i=this.rawInputValue;var e=this.value;var n=t();this.rawInputValue=i;if(this.value&&this.value!==e&&e.indexOf(this.value)===0){this.append(e.slice(this.displayValue.length),{},"");this.doCommit()}delete this._refreshing;return n};t.prototype.runIsolated=function(t){if(this._isolated||!this._initialized)return t(this);this._isolated=true;var i=this.state;var e=t(this);this.state=i;delete this._isolated;return e};t.prototype.doSkipInvalid=function(t,i,e){return Boolean(this.skipInvalid)};t.prototype.doPrepare=function(t,i){if(i===void 0){i={}}return z.normalize(this.prepare?this.prepare(t,this,i):t)};t.prototype.doPrepareChar=function(t,i){if(i===void 0){i={}}return z.normalize(this.prepareChar?this.prepareChar(t,this,i):t)};t.prototype.doValidate=function(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))};t.prototype.doCommit=function(){if(this.commit)this.commit(this.value,this)};t.prototype.splice=function(t,i,e,n,r){if(e===void 0){e=""}if(n===void 0){n=w.NONE}if(r===void 0){r={input:true}}var s=t+i;var u=this.extractTail(s);var o=this.eager===true||this.eager==="remove";var a;if(o){n=A(n);a=this.extractInput(0,s,{raw:true})}var h=t;var f=new z;if(n!==w.NONE){h=this.nearestInputPos(t,i>1&&t!==0&&!o?w.NONE:n);f.tailShift=h-t}f.aggregate(this.remove(h));if(o&&n!==w.NONE&&a===this.rawInputValue){if(n===w.FORCE_LEFT){var l=void 0;while(a===this.rawInputValue&&(l=this.displayValue.length)){f.aggregate(new z({tailShift:-1})).aggregate(this.remove(l-1))}}else if(n===w.FORCE_RIGHT){u.unshift()}}return f.aggregate(this.append(e,r,u))};t.prototype.maskEquals=function(t){return this.mask===t};t.prototype.optionsIsChanged=function(t){return!C(this,t)};t.prototype.typedValueEquals=function(i){var e=this.typedValue;return i===e||t.EMPTY_VALUES.includes(i)&&t.EMPTY_VALUES.includes(e)||(this.format?this.format(i,this)===this.format(this.typedValue,this):false)};t.prototype.pad=function(t){return new z};return t}();R.DEFAULTS={skipInvalid:true};R.EMPTY_VALUES=[undefined,null,""];y.Masked=R;var L=function(){function t(t,i){if(t===void 0){t=[]}if(i===void 0){i=0}this.chunks=t;this.from=i}t.prototype.toString=function(){return this.chunks.map(String).join("")};t.prototype.extend=function(i){if(!String(i))return;i=p(i)?new T(String(i)):i;var e=this.chunks[this.chunks.length-1];var n=e&&(e.stop===i.stop||i.stop==null)&&i.from===e.from+e.toString().length;if(i instanceof T){if(n){e.extend(i.toString())}else{this.chunks.push(i)}}else if(i instanceof t){if(i.stop==null){var r=void 0;while(i.chunks.length&&i.chunks[0].stop==null){r=i.chunks.shift();r.from+=i.from;this.extend(r)}}if(i.toString()){i.stop=i.blockIndex;this.chunks.push(i)}}};t.prototype.appendTo=function(i){if(!(i instanceof y.MaskedPattern)){var e=new T(this.toString());return e.appendTo(i)}var n=new z;for(var r=0;r<this.chunks.length;++r){var s=this.chunks[r];var u=i._mapPosToBlock(i.displayValue.length);var o=s.stop;var a=void 0;if(o!=null&&(!u||u.index<=o)){if(s instanceof t||i._stops.indexOf(o)>=0){n.aggregate(i._appendPlaceholder(o))}a=s instanceof t&&i._blocks[o]}if(a){var h=a.appendTail(s);n.aggregate(h);var f=s.toString().slice(h.rawInserted.length);if(f)n.aggregate(i.append(f,{tail:true}))}else{n.aggregate(i.append(s.toString(),{tail:true}))}}return n};Object.defineProperty(t.prototype,"state",{get:function(){return{chunks:this.chunks.map((function(t){return t.state})),from:this.from,stop:this.stop,blockIndex:this.blockIndex}},set:function(i){var e=i.chunks,n=__rest(i,["chunks"]);Object.assign(this,n);this.chunks=e.map((function(i){var e="chunks"in i?new t:new T;e.state=i;return e}))},enumerable:false,configurable:true});t.prototype.unshift=function(t){if(!this.chunks.length||t!=null&&this.from>=t)return"";var i=t!=null?t-this.from:t;var e=0;while(e<this.chunks.length){var n=this.chunks[e];var r=n.unshift(i);if(n.toString()){if(!r)break;++e}else{this.chunks.splice(e,1)}if(r)return r}return""};t.prototype.shift=function(){if(!this.chunks.length)return"";var t=this.chunks.length-1;while(0<=t){var i=this.chunks[t];var e=i.shift();if(i.toString()){if(!e)break;--t}else{this.chunks.splice(t,1)}if(e)return e}return""};return t}();var P=function(){function t(t,i){this.masked=t;this._log=[];var e=t._mapPosToBlock(i)||(i<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0}),n=e.offset,r=e.index;this.offset=n;this.index=r;this.ok=false}Object.defineProperty(t.prototype,"block",{get:function(){return this.masked._blocks[this.index]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"pos",{get:function(){return this.masked._blockStartPos(this.index)+this.offset},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"state",{get:function(){return{index:this.index,offset:this.offset,ok:this.ok}},set:function(t){Object.assign(this,t)},enumerable:false,configurable:true});t.prototype.pushState=function(){this._log.push(this.state)};t.prototype.popState=function(){var t=this._log.pop();if(t)this.state=t;return t};t.prototype.bindBlock=function(){if(this.block)return;if(this.index<0){this.index=0;this.offset=0}if(this.index>=this.masked._blocks.length){this.index=this.masked._blocks.length-1;this.offset=this.block.displayValue.length}};t.prototype._pushLeft=function(t){this.pushState();for(this.bindBlock();0<=this.index;--this.index,this.offset=((i=this.block)==null?void 0:i.displayValue.length)||0){var i;if(t())return this.ok=true}return this.ok=false};t.prototype._pushRight=function(t){this.pushState();for(this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0){if(t())return this.ok=true}return this.ok=false};t.prototype.pushLeftBeforeFilled=function(){var t=this;return this._pushLeft((function(){if(t.block.isFixed||!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,w.FORCE_LEFT);if(t.offset!==0)return true}))};t.prototype.pushLeftBeforeInput=function(){var t=this;return this._pushLeft((function(){if(t.block.isFixed)return;t.offset=t.block.nearestInputPos(t.offset,w.LEFT);return true}))};t.prototype.pushLeftBeforeRequired=function(){var t=this;return this._pushLeft((function(){if(t.block.isFixed||t.block.isOptional&&!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,w.LEFT);return true}))};t.prototype.pushRightBeforeFilled=function(){var t=this;return this._pushRight((function(){if(t.block.isFixed||!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,w.FORCE_RIGHT);if(t.offset!==t.block.value.length)return true}))};t.prototype.pushRightBeforeInput=function(){var t=this;return this._pushRight((function(){if(t.block.isFixed)return;t.offset=t.block.nearestInputPos(t.offset,w.NONE);return true}))};t.prototype.pushRightBeforeRequired=function(){var t=this;return this._pushRight((function(){if(t.block.isFixed||t.block.isOptional&&!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,w.NONE);return true}))};return t}();var H=function(){function t(t){Object.assign(this,t);this._value="";this.isFixed=true}Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"unmaskedValue",{get:function(){return this.isUnmasking?this.value:""},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"rawInputValue",{get:function(){return this._isRawInput?this.value:""},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.value},enumerable:false,configurable:true});t.prototype.reset=function(){this._isRawInput=false;this._value=""};t.prototype.remove=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this._value.length}this._value=this._value.slice(0,t)+this._value.slice(i);if(!this._value)this._isRawInput=false;return new z};t.prototype.nearestInputPos=function(t,i){if(i===void 0){i=w.NONE}var e=0;var n=this._value.length;switch(i){case w.LEFT:case w.FORCE_LEFT:return e;case w.NONE:case w.RIGHT:case w.FORCE_RIGHT:default:return n}};t.prototype.totalInputPositions=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this._value.length}return this._isRawInput?i-t:0};t.prototype.extractInput=function(t,i,e){if(t===void 0){t=0}if(i===void 0){i=this._value.length}if(e===void 0){e={}}return e.raw&&this._isRawInput&&this._value.slice(t,i)||""};Object.defineProperty(t.prototype,"isComplete",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isFilled",{get:function(){return Boolean(this._value)},enumerable:false,configurable:true});t.prototype._appendChar=function(t,i){if(i===void 0){i={}}if(this.isFilled)return new z;var e=this.eager===true||this.eager==="append";var n=this.char===t;var r=n&&(this.isUnmasking||i.input||i.raw)&&(!i.raw||!e)&&!i.tail;var s=new z({inserted:this.char,rawInserted:r?this.char:""});this._value=this.char;this._isRawInput=r&&(i.raw||i.input);return s};t.prototype._appendEager=function(){return this._appendChar(this.char,{tail:true})};t.prototype._appendPlaceholder=function(){var t=new z;if(this.isFilled)return t;this._value=t.inserted=this.char;return t};t.prototype.extractTail=function(){return new T("")};t.prototype.appendTail=function(t){if(p(t))t=new T(String(t));return t.appendTo(this)};t.prototype.append=function(t,i,e){var n=this._appendChar(t[0],i);if(e!=null){n.tailShift+=this.appendTail(e).tailShift}return n};t.prototype.doCommit=function(){};Object.defineProperty(t.prototype,"state",{get:function(){return{_value:this._value,_rawInputValue:this.rawInputValue}},set:function(t){this._value=t._value;this._isRawInput=Boolean(t._rawInputValue)},enumerable:false,configurable:true});t.prototype.pad=function(t){return this._appendPlaceholder()};return t}();var W=function(){function t(t){var i=t.parent,e=t.isOptional,n=t.placeholderChar,r=t.displayChar,s=t.lazy,u=t.eager,o=__rest(t,["parent","isOptional","placeholderChar","displayChar","lazy","eager"]);this.masked=B(o);Object.assign(this,{parent:i,isOptional:e,placeholderChar:n,displayChar:r,lazy:s,eager:u})}t.prototype.reset=function(){this.isFilled=false;this.masked.reset()};t.prototype.remove=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.value.length}if(t===0&&i>=1){this.isFilled=false;return this.masked.remove(t,i)}return new z};Object.defineProperty(t.prototype,"value",{get:function(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"unmaskedValue",{get:function(){return this.masked.unmaskedValue},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"rawInputValue",{get:function(){return this.masked.rawInputValue},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.masked.value&&this.displayChar||this.value},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isComplete",{get:function(){return Boolean(this.masked.value)||this.isOptional},enumerable:false,configurable:true});t.prototype._appendChar=function(t,i){if(i===void 0){i={}}if(this.isFilled)return new z;var e=this.masked.state;var n=this.masked._appendChar(t,this.currentMaskFlags(i));if(n.inserted&&this.doValidate(i)===false){n=new z;this.masked.state=e}if(!n.inserted&&!this.isOptional&&!this.lazy&&!i.input){n.inserted=this.placeholderChar}n.skip=!n.inserted&&!this.isOptional;this.isFilled=Boolean(n.inserted);return n};t.prototype.append=function(t,i,e){return this.masked.append(t,this.currentMaskFlags(i),e)};t.prototype._appendPlaceholder=function(){if(this.isFilled||this.isOptional)return new z;this.isFilled=true;return new z({inserted:this.placeholderChar})};t.prototype._appendEager=function(){return new z};t.prototype.extractTail=function(t,i){return this.masked.extractTail(t,i)};t.prototype.appendTail=function(t){return this.masked.appendTail(t)};t.prototype.extractInput=function(t,i,e){if(t===void 0){t=0}if(i===void 0){i=this.value.length}return this.masked.extractInput(t,i,e)};t.prototype.nearestInputPos=function(t,i){if(i===void 0){i=w.NONE}var e=0;var n=this.value.length;var r=Math.min(Math.max(t,e),n);switch(i){case w.LEFT:case w.FORCE_LEFT:return this.isComplete?r:e;case w.RIGHT:case w.FORCE_RIGHT:return this.isComplete?r:n;case w.NONE:default:return r}};t.prototype.totalInputPositions=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.value.length}return this.value.slice(t,i).length};t.prototype.doValidate=function(t){return this.masked.doValidate(this.currentMaskFlags(t))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(t)))};t.prototype.doCommit=function(){this.masked.doCommit()};Object.defineProperty(t.prototype,"state",{get:function(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}},set:function(t){this.masked.state=t.masked;this.isFilled=t.isFilled},enumerable:false,configurable:true});t.prototype.currentMaskFlags=function(t){var i;return __assign(__assign({},t),{_beforeTailState:(t==null||(i=t._beforeTailState)==null?void 0:i.masked)||(t==null?void 0:t._beforeTailState)})};t.prototype.pad=function(t){return new z};return t}();W.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]/,"*":/./};var q=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e=i.mask;if(e)i.validate=function(t){return t.search(e)>=0};t.prototype._update.call(this,i)};return i}(R);y.MaskedRegExp=q;var Z=function(t){__extends(i,t);function i(e){return t.call(this,__assign(__assign(__assign({},i.DEFAULTS),e),{definitions:Object.assign({},W.DEFAULT_DEFINITIONS,e==null?void 0:e.definitions)}))||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){i.definitions=Object.assign({},this.definitions,i.definitions);t.prototype._update.call(this,i);this._rebuildMask()};i.prototype._rebuildMask=function(){var t=this.definitions;this._blocks=[];this.exposeBlock=undefined;this._stops=[];this._maskedBlocks={};var e=this.mask;if(!e||!t)return;var n=false;var r=false;var s=function(s){if(u.blocks){var a=e.slice(s);var h=Object.keys(u.blocks).filter((function(t){return a.indexOf(t)===0}));h.sort((function(t,i){return i.length-t.length}));var f=h[0];if(f){var l=D(u.blocks[f]),c=l.expose,d=l.repeat,v=__rest(l,["expose","repeat"]);var b=__assign(__assign({lazy:u.lazy,eager:u.eager,placeholderChar:u.placeholderChar,displayChar:u.displayChar,overwrite:u.overwrite,autofix:u.autofix},v),{repeat:d,parent:u});var g=d!=null?new y.RepeatBlock(b):B(b);if(g){u._blocks.push(g);if(c)u.exposeBlock=g;if(!u._maskedBlocks[f])u._maskedBlocks[f]=[];u._maskedBlocks[f].push(u._blocks.length-1)}s+=f.length-1;return o=s,"continue"}}var p=e[s];var m=p in t;if(p===i.STOP_CHAR){u._stops.push(u._blocks.length);return o=s,"continue"}if(p==="{"||p==="}"){n=!n;return o=s,"continue"}if(p==="["||p==="]"){r=!r;return o=s,"continue"}if(p===i.ESCAPE_CHAR){++s;p=e[s];if(!p)return o=s,"break";m=false}var x=m?new W(__assign(__assign({isOptional:r,lazy:u.lazy,eager:u.eager,placeholderChar:u.placeholderChar,displayChar:u.displayChar},D(t[p])),{parent:u})):new H({char:p,eager:u.eager,isUnmasking:n});u._blocks.push(x);o=s};var u=this,o;for(var a=0;a<e.length;++a){var h=s(a);a=o;if(h==="break")break}};Object.defineProperty(i.prototype,"state",{get:function(){return __assign(__assign({},t.prototype.state),{_blocks:this._blocks.map((function(t){return t.state}))})},set:function(i){if(!i){this.reset();return}var e=i._blocks,n=__rest(i,["_blocks"]);this._blocks.forEach((function(t,i){return t.state=e[i]}));t.prototype.state=n},enumerable:false,configurable:true});i.prototype.reset=function(){t.prototype.reset.call(this);this._blocks.forEach((function(t){return t.reset()}))};Object.defineProperty(i.prototype,"isComplete",{get:function(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every((function(t){return t.isComplete}))},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isFilled",{get:function(){return this._blocks.every((function(t){return t.isFilled}))},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isFixed",{get:function(){return this._blocks.every((function(t){return t.isFixed}))},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isOptional",{get:function(){return this._blocks.every((function(t){return t.isOptional}))},enumerable:false,configurable:true});i.prototype.doCommit=function(){this._blocks.forEach((function(t){return t.doCommit()}));t.prototype.doCommit.call(this)};Object.defineProperty(i.prototype,"unmaskedValue",{get:function(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce((function(t,i){return t+=i.unmaskedValue}),"")},set:function(i){if(this.exposeBlock){var e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=i;this.appendTail(e);this.doCommit()}else t.prototype.unmaskedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"value",{get:function(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce((function(t,i){return t+=i.value}),"")},set:function(i){if(this.exposeBlock){var e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=i;this.appendTail(e);this.doCommit()}else t.prototype.value=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"typedValue",{get:function(){return this.exposeBlock?this.exposeBlock.typedValue:t.prototype.typedValue},set:function(i){if(this.exposeBlock){var e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=i;this.appendTail(e);this.doCommit()}else t.prototype.typedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"displayValue",{get:function(){return this._blocks.reduce((function(t,i){return t+=i.displayValue}),"")},enumerable:false,configurable:true});i.prototype.appendTail=function(i){return t.prototype.appendTail.call(this,i).aggregate(this._appendPlaceholder())};i.prototype._appendEager=function(){var t;var i=new z;var e=(t=this._mapPosToBlock(this.displayValue.length))==null?void 0:t.index;if(e==null)return i;if(this._blocks[e].isFilled)++e;for(var n=e;n<this._blocks.length;++n){var r=this._blocks[n]._appendEager();if(!r.inserted)break;i.aggregate(r)}return i};i.prototype._appendCharRaw=function(t,i){if(i===void 0){i={}}var e=this._mapPosToBlock(this.displayValue.length);var n=new z;if(!e)return n;for(var r=e.index,s=void 0;s=this._blocks[r];++r){var u;var o=s._appendChar(t,__assign(__assign({},i),{_beforeTailState:(u=i._beforeTailState)==null||(u=u._blocks)==null?void 0:u[r]}));n.aggregate(o);if(o.consumed)break}return n};i.prototype.extractTail=function(t,i){var e=this;if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}var n=new L;if(t===i)return n;this._forEachBlocksInRange(t,i,(function(t,i,r,s){var u=t.extractTail(r,s);u.stop=e._findStopBefore(i);u.from=e._blockStartPos(i);if(u instanceof L)u.blockIndex=i;n.extend(u)}));return n};i.prototype.extractInput=function(t,i,e){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}if(e===void 0){e={}}if(t===i)return"";var n="";this._forEachBlocksInRange(t,i,(function(t,i,r,s){n+=t.extractInput(r,s,e)}));return n};i.prototype._findStopBefore=function(t){var i;for(var e=0;e<this._stops.length;++e){var n=this._stops[e];if(n<=t)i=n;else break}return i};i.prototype._appendPlaceholder=function(t){var i=new z;if(this.lazy&&t==null)return i;var e=this._mapPosToBlock(this.displayValue.length);if(!e)return i;var n=e.index;var r=t!=null?t:this._blocks.length;this._blocks.slice(n,r).forEach((function(e){if(!e.lazy||t!=null){var n;i.aggregate(e._appendPlaceholder((n=e._blocks)==null?void 0:n.length))}}));return i};i.prototype._mapPosToBlock=function(t){var i="";for(var e=0;e<this._blocks.length;++e){var n=this._blocks[e];var r=i.length;i+=n.displayValue;if(t<=i.length){return{index:e,offset:t-r}}}};i.prototype._blockStartPos=function(t){return this._blocks.slice(0,t).reduce((function(t,i){return t+=i.displayValue.length}),0)};i.prototype._forEachBlocksInRange=function(t,i,e){if(i===void 0){i=this.displayValue.length}var n=this._mapPosToBlock(t);if(n){var r=this._mapPosToBlock(i);var s=r&&n.index===r.index;var u=n.offset;var o=r&&s?r.offset:this._blocks[n.index].displayValue.length;e(this._blocks[n.index],n.index,u,o);if(r&&!s){for(var a=n.index+1;a<r.index;++a){e(this._blocks[a],a,0,this._blocks[a].displayValue.length)}e(this._blocks[r.index],r.index,0,r.offset)}}};i.prototype.remove=function(i,e){if(i===void 0){i=0}if(e===void 0){e=this.displayValue.length}var n=t.prototype.remove.call(this,i,e);this._forEachBlocksInRange(i,e,(function(t,i,e,r){n.aggregate(t.remove(e,r))}));return n};i.prototype.nearestInputPos=function(t,i){if(i===void 0){i=w.NONE}if(!this._blocks.length)return 0;var e=new P(this,t);if(i===w.NONE){if(e.pushRightBeforeInput())return e.pos;e.popState();if(e.pushLeftBeforeInput())return e.pos;return this.displayValue.length}if(i===w.LEFT||i===w.FORCE_LEFT){if(i===w.LEFT){e.pushRightBeforeFilled();if(e.ok&&e.pos===t)return t;e.popState()}e.pushLeftBeforeInput();e.pushLeftBeforeRequired();e.pushLeftBeforeFilled();if(i===w.LEFT){e.pushRightBeforeInput();e.pushRightBeforeRequired();if(e.ok&&e.pos<=t)return e.pos;e.popState();if(e.ok&&e.pos<=t)return e.pos;e.popState()}if(e.ok)return e.pos;if(i===w.FORCE_LEFT)return 0;e.popState();if(e.ok)return e.pos;e.popState();if(e.ok)return e.pos;return 0}if(i===w.RIGHT||i===w.FORCE_RIGHT){e.pushRightBeforeInput();e.pushRightBeforeRequired();if(e.pushRightBeforeFilled())return e.pos;if(i===w.FORCE_RIGHT)return this.displayValue.length;e.popState();if(e.ok)return e.pos;e.popState();if(e.ok)return e.pos;return this.nearestInputPos(t,w.LEFT)}return t};i.prototype.totalInputPositions=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}var e=0;this._forEachBlocksInRange(t,i,(function(t,i,n,r){e+=t.totalInputPositions(n,r)}));return e};i.prototype.maskedBlock=function(t){return this.maskedBlocks(t)[0]};i.prototype.maskedBlocks=function(t){var i=this;var e=this._maskedBlocks[t];if(!e)return[];return e.map((function(t){return i._blocks[t]}))};i.prototype.pad=function(t){var i=new z;this._forEachBlocksInRange(0,this.displayValue.length,(function(e){return i.aggregate(e.pad(t))}));return i};return i}(R);Z.DEFAULTS=__assign(__assign({},R.DEFAULTS),{lazy:true,placeholderChar:"_"});Z.STOP_CHAR="`";Z.ESCAPE_CHAR="\\";Z.InputDefinition=W;Z.FixedDefinition=H;y.MaskedPattern=Z;var Y=function(t){__extends(i,t);function i(i){return t.call(this,i)||this}Object.defineProperty(i.prototype,"_matchFrom",{get:function(){return this.maxLength-String(this.from).length},enumerable:false,configurable:true});i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e=i.to,n=e===void 0?this.to||0:e,r=i.from,s=r===void 0?this.from||0:r,u=i.maxLength,o=u===void 0?this.maxLength||0:u,a=i.autofix,h=a===void 0?this.autofix:a,f=__rest(i,["to","from","maxLength","autofix"]);this.to=n;this.from=s;this.maxLength=Math.max(String(n).length,o);this.autofix=h;var l=String(this.from).padStart(this.maxLength,"0");var c=String(this.to).padStart(this.maxLength,"0");var d=0;while(d<c.length&&c[d]===l[d])++d;f.mask=c.slice(0,d).replace(/0/g,"\\0")+"0".repeat(this.maxLength-d);t.prototype._update.call(this,f)};Object.defineProperty(i.prototype,"isComplete",{get:function(){return t.prototype.isComplete&&Boolean(this.value)},enumerable:false,configurable:true});i.prototype.boundaries=function(t){var i="";var e="";var n=t.match(/^(\D*)(\d*)(\D*)/)||[],r=n[1],s=n[2];if(s){i="0".repeat(r.length)+s;e="9".repeat(r.length)+s}i=i.padEnd(this.maxLength,"0");e=e.padEnd(this.maxLength,"9");return[i,e]};i.prototype.doPrepareChar=function(i,e){var n;if(e===void 0){e={}}var r;n=t.prototype.doPrepareChar.call(this,i.replace(/\D/g,""),e),i=n[0],r=n[1];if(!i)r.skip=!this.isComplete;return[i,r]};i.prototype._appendCharRaw=function(i,e){if(e===void 0){e={}}if(!this.autofix||this.value.length+1>this.maxLength)return t.prototype._appendCharRaw.call(this,i,e);var n=String(this.from).padStart(this.maxLength,"0");var r=String(this.to).padStart(this.maxLength,"0");var s=this.boundaries(this.value+i),u=s[0],o=s[1];if(Number(o)<this.from)return t.prototype._appendCharRaw.call(this,n[this.value.length],e);if(Number(u)>this.to){if(!e.tail&&this.autofix==="pad"&&this.value.length+1<this.maxLength){return t.prototype._appendCharRaw.call(this,n[this.value.length],e).aggregate(this._appendCharRaw(i,e))}return t.prototype._appendCharRaw.call(this,r[this.value.length],e)}return t.prototype._appendCharRaw.call(this,i,e)};i.prototype.doValidate=function(i){var e=this.value;var n=e.search(/[^0]/);if(n===-1&&e.length<=this._matchFrom)return true;var r=this.boundaries(e),s=r[0],u=r[1];return this.from<=Number(u)&&Number(s)<=this.to&&t.prototype.doValidate.call(this,i)};i.prototype.pad=function(i){var e=this;var n=new z;if(this.value.length===this.maxLength)return n;var r=this.value;var s=this.maxLength-this.value.length;if(s){this.reset();for(var u=0;u<s;++u){n.aggregate(t.prototype._appendCharRaw.call(this,"0",i))}r.split("").forEach((function(t){return e._appendCharRaw(t)}))}return n};return i}(Z);y.MaskedRange=Y;var U="d{.}`m{.}`Y";var G=function(t){__extends(i,t);function i(e){return t.call(this,i.extractPatternOptions(__assign(__assign({},i.DEFAULTS),e)))||this}i.extractPatternOptions=function(t){var i=t.mask,e=t.pattern,n=__rest(t,["mask","pattern"]);return __assign(__assign({},n),{mask:p(i)?i:e})};i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(e){var n=__assign(__assign({},i.DEFAULTS),e),r=n.mask,s=n.pattern,u=n.blocks,o=__rest(n,["mask","pattern","blocks"]);var a=Object.assign({},i.GET_DEFAULT_BLOCKS());if(e.min)a.Y.from=e.min.getFullYear();if(e.max)a.Y.to=e.max.getFullYear();if(e.min&&e.max&&a.Y.from===a.Y.to){a.m.from=e.min.getMonth()+1;a.m.to=e.max.getMonth()+1;if(a.m.from===a.m.to){a.d.from=e.min.getDate();a.d.to=e.max.getDate()}}Object.assign(a,this.blocks,u);t.prototype._update.call(this,__assign(__assign({},o),{mask:p(r)?r:s,blocks:a}))};i.prototype.doValidate=function(i){var e=this.date;return t.prototype.doValidate.call(this,i)&&(!this.isComplete||this.isDateExist(this.value)&&e!=null&&(this.min==null||this.min<=e)&&(this.max==null||e<=this.max))};i.prototype.isDateExist=function(t){return this.format(this.parse(t,this),this).indexOf(t)>=0};Object.defineProperty(i.prototype,"date",{get:function(){return this.typedValue},set:function(t){this.typedValue=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"typedValue",{get:function(){return this.isComplete?t.prototype.typedValue:null},set:function(i){t.prototype.typedValue=i},enumerable:false,configurable:true});i.prototype.maskEquals=function(i){return i===Date||t.prototype.maskEquals.call(this,i)};i.prototype.optionsIsChanged=function(e){return t.prototype.optionsIsChanged.call(this,i.extractPatternOptions(e))};return i}(Z);G.GET_DEFAULT_BLOCKS=function(){return{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}}};G.DEFAULTS=__assign(__assign({},Z.DEFAULTS),{mask:Date,pattern:U,format:function(t,i){if(!t)return"";var e=String(t.getDate()).padStart(2,"0");var n=String(t.getMonth()+1).padStart(2,"0");var r=t.getFullYear();return[e,n,r].join(".")},parse:function(t,i){var e=t.split(".").map(Number),n=e[0],r=e[1],s=e[2];return new Date(s,r-1,n)}});y.MaskedDate=G;var K=function(t){__extends(i,t);function i(e){var n=t.call(this,__assign(__assign({},i.DEFAULTS),e))||this;n.currentMask=undefined;return n}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e=this;t.prototype._update.call(this,i);if("mask"in i){this.exposeMask=undefined;this.compiledMasks=Array.isArray(i.mask)?i.mask.map((function(t){var i=D(t),n=i.expose,r=__rest(i,["expose"]);var s=B(__assign({overwrite:e._overwrite,eager:e._eager,skipInvalid:e._skipInvalid},r));if(n)e.exposeMask=s;return s})):[]}};i.prototype._appendCharRaw=function(t,i){if(i===void 0){i={}}var e=this._applyDispatch(t,i);if(this.currentMask){e.aggregate(this.currentMask._appendChar(t,this.currentMaskFlags(i)))}return e};i.prototype._applyDispatch=function(t,i,e){if(t===void 0){t=""}if(i===void 0){i={}}if(e===void 0){e=""}var n=i.tail&&i._beforeTailState!=null?i._beforeTailState._value:this.value;var r=this.rawInputValue;var s=i.tail&&i._beforeTailState!=null?i._beforeTailState._rawInputValue:r;var u=r.slice(s.length);var o=this.currentMask;var a=new z;var h=o==null?void 0:o.state;this.currentMask=this.doDispatch(t,__assign({},i),e);if(this.currentMask){if(this.currentMask!==o){this.currentMask.reset();if(s){this.currentMask.append(s,{raw:true});a.tailShift=this.currentMask.value.length-n.length}if(u){a.tailShift+=this.currentMask.append(u,{raw:true,tail:true}).tailShift}}else if(h){this.currentMask.state=h}}return a};i.prototype._appendPlaceholder=function(){var t=this._applyDispatch();if(this.currentMask){t.aggregate(this.currentMask._appendPlaceholder())}return t};i.prototype._appendEager=function(){var t=this._applyDispatch();if(this.currentMask){t.aggregate(this.currentMask._appendEager())}return t};i.prototype.appendTail=function(i){var e=new z;if(i)e.aggregate(this._applyDispatch("",{},i));return e.aggregate(this.currentMask?this.currentMask.appendTail(i):t.prototype.appendTail.call(this,i))};i.prototype.currentMaskFlags=function(t){var i,e;return __assign(__assign({},t),{_beforeTailState:((i=t._beforeTailState)==null?void 0:i.currentMaskRef)===this.currentMask&&((e=t._beforeTailState)==null?void 0:e.currentMask)||t._beforeTailState})};i.prototype.doDispatch=function(t,i,e){if(i===void 0){i={}}if(e===void 0){e=""}return this.dispatch(t,this,i,e)};i.prototype.doValidate=function(i){return t.prototype.doValidate.call(this,i)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(i)))};i.prototype.doPrepare=function(i,e){var n;if(e===void 0){e={}}var r=t.prototype.doPrepare.call(this,i,e),s=r[0],u=r[1];if(this.currentMask){var o=void 0;n=t.prototype.doPrepare.call(this,s,this.currentMaskFlags(e)),s=n[0],o=n[1];u=u.aggregate(o)}return[s,u]};i.prototype.doPrepareChar=function(i,e){var n;if(e===void 0){e={}}var r=t.prototype.doPrepareChar.call(this,i,e),s=r[0],u=r[1];if(this.currentMask){var o=void 0;n=t.prototype.doPrepareChar.call(this,s,this.currentMaskFlags(e)),s=n[0],o=n[1];u=u.aggregate(o)}return[s,u]};i.prototype.reset=function(){var t;(t=this.currentMask)==null||t.reset();this.compiledMasks.forEach((function(t){return t.reset()}))};Object.defineProperty(i.prototype,"value",{get:function(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""},set:function(i){if(this.exposeMask){this.exposeMask.value=i;this.currentMask=this.exposeMask;this._applyDispatch()}else t.prototype.value=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"unmaskedValue",{get:function(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""},set:function(i){if(this.exposeMask){this.exposeMask.unmaskedValue=i;this.currentMask=this.exposeMask;this._applyDispatch()}else t.prototype.unmaskedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"typedValue",{get:function(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""},set:function(t){if(this.exposeMask){this.exposeMask.typedValue=t;this.currentMask=this.exposeMask;this._applyDispatch();return}var i=String(t);if(this.currentMask){this.currentMask.typedValue=t;i=this.currentMask.unmaskedValue}this.unmaskedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"displayValue",{get:function(){return this.currentMask?this.currentMask.displayValue:""},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isComplete",{get:function(){var t;return Boolean((t=this.currentMask)==null?void 0:t.isComplete)},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isFilled",{get:function(){var t;return Boolean((t=this.currentMask)==null?void 0:t.isFilled)},enumerable:false,configurable:true});i.prototype.remove=function(t,i){var e=new z;if(this.currentMask){e.aggregate(this.currentMask.remove(t,i)).aggregate(this._applyDispatch())}return e};Object.defineProperty(i.prototype,"state",{get:function(){var i;return __assign(__assign({},t.prototype.state),{_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((function(t){return t.state})),currentMaskRef:this.currentMask,currentMask:(i=this.currentMask)==null?void 0:i.state})},set:function(i){var e=i.compiledMasks,n=i.currentMaskRef,r=i.currentMask,s=__rest(i,["compiledMasks","currentMaskRef","currentMask"]);if(e)this.compiledMasks.forEach((function(t,i){return t.state=e[i]}));if(n!=null){this.currentMask=n;this.currentMask.state=r}t.prototype.state=s},enumerable:false,configurable:true});i.prototype.extractInput=function(t,i,e){return this.currentMask?this.currentMask.extractInput(t,i,e):""};i.prototype.extractTail=function(i,e){return this.currentMask?this.currentMask.extractTail(i,e):t.prototype.extractTail.call(this,i,e)};i.prototype.doCommit=function(){if(this.currentMask)this.currentMask.doCommit();t.prototype.doCommit.call(this)};i.prototype.nearestInputPos=function(i,e){return this.currentMask?this.currentMask.nearestInputPos(i,e):t.prototype.nearestInputPos.call(this,i,e)};Object.defineProperty(i.prototype,"overwrite",{get:function(){return this.currentMask?this.currentMask.overwrite:this._overwrite},set:function(t){this._overwrite=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"eager",{get:function(){return this.currentMask?this.currentMask.eager:this._eager},set:function(t){this._eager=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"skipInvalid",{get:function(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid},set:function(t){this._skipInvalid=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"autofix",{get:function(){return this.currentMask?this.currentMask.autofix:this._autofix},set:function(t){this._autofix=t},enumerable:false,configurable:true});i.prototype.maskEquals=function(i){return Array.isArray(i)?this.compiledMasks.every((function(t,e){if(!i[e])return;var n=i[e],r=n.mask,s=__rest(n,["mask"]);return C(t,s)&&t.maskEquals(r)})):t.prototype.maskEquals.call(this,i)};i.prototype.typedValueEquals=function(t){var i;return Boolean((i=this.currentMask)==null?void 0:i.typedValueEquals(t))};return i}(R);K.DEFAULTS=__assign(__assign({},R.DEFAULTS),{dispatch:function(t,i,e,n){if(!i.compiledMasks.length)return;var r=i.rawInputValue;var s=i.compiledMasks.map((function(s,u){var o=i.currentMask===s;var a=o?s.displayValue.length:s.nearestInputPos(s.displayValue.length,w.FORCE_LEFT);if(s.rawInputValue!==r){s.reset();s.append(r,{raw:true})}else if(!o){s.remove(a)}s.append(t,i.currentMaskFlags(e));s.appendTail(n);return{index:u,weight:s.rawInputValue.length,totalInputPositions:s.totalInputPositions(0,Math.max(a,s.nearestInputPos(s.displayValue.length,w.FORCE_LEFT)))}}));s.sort((function(t,i){return i.weight-t.weight||i.totalInputPositions-t.totalInputPositions}));return i.compiledMasks[s[0].index]}});y.MaskedDynamic=K;var $=function(t){__extends(i,t);function i(e){return t.call(this,__assign(__assign({},i.DEFAULTS),e))||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e=i.enum,n=__rest(i,["enum"]);if(e){var r=e.map((function(t){return t.length}));var s=Math.min.apply(Math,r);var u=Math.max.apply(Math,r)-s;n.mask="*".repeat(s);if(u)n.mask+="["+"*".repeat(u)+"]";this.enum=e}t.prototype._update.call(this,n)};i.prototype._appendCharRaw=function(i,e){var n=this;if(e===void 0){e={}}var r=Math.min(this.nearestInputPos(0,w.FORCE_RIGHT),this.value.length);var s=this.enum.filter((function(t){return n.matchValue(t,n.unmaskedValue+i,r)}));if(s.length){if(s.length===1){this._forEachBlocksInRange(0,this.value.length,(function(t,i){var r=s[0][i];if(i>=n.value.length||r===t.value)return;t.reset();t._appendChar(r,e)}))}var u=t.prototype._appendCharRaw.call(this,s[0][this.value.length],e);if(s.length===1){s[0].slice(this.unmaskedValue.length).split("").forEach((function(i){return u.aggregate(t.prototype._appendCharRaw.call(n,i))}))}return u}return new z({skip:!this.isComplete})};i.prototype.extractTail=function(t,i){if(t===void 0){t=0}return new T("",t)};i.prototype.remove=function(i,e){var n=this;if(i===void 0){i=0}if(e===void 0){e=this.displayValue.length}if(i===e)return new z;var r=Math.min(t.prototype.nearestInputPos.call(this,0,w.FORCE_RIGHT),this.value.length);var s;for(s=i;s>=0;--s){var u=this.enum.filter((function(t){return n.matchValue(t,n.value.slice(r,s),r)}));if(u.length>1)break}var o=t.prototype.remove.call(this,s,e);o.tailShift+=s-i;return o};Object.defineProperty(i.prototype,"isComplete",{get:function(){return this.enum.indexOf(this.value)>=0},enumerable:false,configurable:true});return i}(Z);$.DEFAULTS=__assign(__assign({},Z.DEFAULTS),{matchValue:function(t,i,e){return t.indexOf(i,e)===e}});y.MaskedEnum=$;var J=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){t.prototype._update.call(this,__assign(__assign({},i),{validate:i.mask}))};return i}(R);y.MaskedFunction=J;var X;var Q=function(t){__extends(i,t);function i(e){return t.call(this,__assign(__assign({},i.DEFAULTS),e))||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){t.prototype._update.call(this,i);this._updateRegExps()};i.prototype._updateRegExps=function(){var t="^"+(this.allowNegative?"[+|\\-]?":"");var i="\\d*";var e=(this.scale?"("+_(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(t+i+e);this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(_).join("")+"]","g");this._thousandsSeparatorRegExp=new RegExp(_(this.thousandsSeparator),"g")};i.prototype._removeThousandsSeparators=function(t){return t.replace(this._thousandsSeparatorRegExp,"")};i.prototype._insertThousandsSeparators=function(t){var i=t.split(this.radix);i[0]=i[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator);return i.join(this.radix)};i.prototype.doPrepareChar=function(i,e){if(e===void 0){e={}}var n=t.prototype.doPrepareChar.call(this,this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(e.input&&e.raw||!e.input&&!e.raw)?i.replace(this._mapToRadixRegExp,this.radix):i),e),r=n[0],s=n[1];if(i&&!r)s.skip=true;if(r&&!this.allowPositive&&!this.value&&r!=="-")s.aggregate(this._appendChar("-"));return[r,s]};i.prototype._separatorsCount=function(t,i){if(i===void 0){i=false}var e=0;for(var n=0;n<t;++n){if(this._value.indexOf(this.thousandsSeparator,n)===n){++e;if(i)t+=this.thousandsSeparator.length}}return e};i.prototype._separatorsCountFromSlice=function(t){if(t===void 0){t=this._value}return this._separatorsCount(this._removeThousandsSeparators(t).length,true)};i.prototype.extractInput=function(i,e,n){var r;if(i===void 0){i=0}if(e===void 0){e=this.displayValue.length}r=this._adjustRangeWithSeparators(i,e),i=r[0],e=r[1];return this._removeThousandsSeparators(t.prototype.extractInput.call(this,i,e,n))};i.prototype._appendCharRaw=function(t,e){if(e===void 0){e={}}var n=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value;var r=this._separatorsCountFromSlice(n);this._value=this._removeThousandsSeparators(this.value);var s=this._value;this._value+=t;var u=this.number;var o=!isNaN(u);var a=false;if(o){var h=void 0;if(this.min!=null&&this.min<0&&this.number<this.min)h=this.min;if(this.max!=null&&this.max>0&&this.number>this.max)h=this.max;if(h!=null){if(this.autofix){this._value=this.format(h,this).replace(i.UNMASKED_RADIX,this.radix);a||(a=s===this._value&&!e.tail)}else{o=false}}o&&(o=Boolean(this._value.match(this._numberRegExp)))}var f;if(!o){this._value=s;f=new z}else{f=new z({inserted:this._value.slice(s.length),rawInserted:a?"":t,skip:a})}this._value=this._insertThousandsSeparators(this._value);var l=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value;var c=this._separatorsCountFromSlice(l);f.tailShift+=(c-r)*this.thousandsSeparator.length;return f};i.prototype._findSeparatorAround=function(t){if(this.thousandsSeparator){var i=t-this.thousandsSeparator.length+1;var e=this.value.indexOf(this.thousandsSeparator,i);if(e<=t)return e}return-1};i.prototype._adjustRangeWithSeparators=function(t,i){var e=this._findSeparatorAround(t);if(e>=0)t=e;var n=this._findSeparatorAround(i);if(n>=0)i=n+this.thousandsSeparator.length;return[t,i]};i.prototype.remove=function(t,i){var e;if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}e=this._adjustRangeWithSeparators(t,i),t=e[0],i=e[1];var n=this.value.slice(0,t);var r=this.value.slice(i);var s=this._separatorsCount(n.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(n+r));var u=this._separatorsCountFromSlice(n);return new z({tailShift:(u-s)*this.thousandsSeparator.length})};i.prototype.nearestInputPos=function(t,i){if(!this.thousandsSeparator)return t;switch(i){case w.NONE:case w.LEFT:case w.FORCE_LEFT:{var e=this._findSeparatorAround(t-1);if(e>=0){var n=e+this.thousandsSeparator.length;if(t<n||this.value.length<=n||i===w.FORCE_LEFT){return e}}break}case w.RIGHT:case w.FORCE_RIGHT:{var r=this._findSeparatorAround(t);if(r>=0){return r+this.thousandsSeparator.length}}}return t};i.prototype.doCommit=function(){if(this.value){var i=this.number;var e=i;if(this.min!=null)e=Math.max(e,this.min);if(this.max!=null)e=Math.min(e,this.max);if(e!==i)this.unmaskedValue=this.format(e,this);var n=this.value;if(this.normalizeZeros)n=this._normalizeZeros(n);if(this.padFractionalZeros&&this.scale>0)n=this._padFractionalZeros(n);this._value=n}t.prototype.doCommit.call(this)};i.prototype._normalizeZeros=function(t){var i=this._removeThousandsSeparators(t).split(this.radix);i[0]=i[0].replace(/^(\D*)(0*)(\d*)/,(function(t,i,e,n){return i+n}));if(t.length&&!/\d$/.test(i[0]))i[0]=i[0]+"0";if(i.length>1){i[1]=i[1].replace(/0*$/,"");if(!i[1].length)i.length=1}return this._insertThousandsSeparators(i.join(this.radix))};i.prototype._padFractionalZeros=function(t){if(!t)return t;var i=t.split(this.radix);if(i.length<2)i.push("");i[1]=i[1].padEnd(this.scale,"0");return i.join(this.radix)};i.prototype.doSkipInvalid=function(e,n,r){if(n===void 0){n={}}var s=this.scale===0&&e!==this.thousandsSeparator&&(e===this.radix||e===i.UNMASKED_RADIX||this.mapToRadix.includes(e));return t.prototype.doSkipInvalid.call(this,e,n,r)&&!s};Object.defineProperty(i.prototype,"unmaskedValue",{get:function(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,i.UNMASKED_RADIX)},set:function(i){t.prototype.unmaskedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"typedValue",{get:function(){return this.parse(this.unmaskedValue,this)},set:function(t){this.rawInputValue=this.format(t,this).replace(i.UNMASKED_RADIX,this.radix)},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"number",{get:function(){return this.typedValue},set:function(t){this.typedValue=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"allowNegative",{get:function(){return this.min!=null&&this.min<0||this.max!=null&&this.max<0},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"allowPositive",{get:function(){return this.min!=null&&this.min>0||this.max!=null&&this.max>0},enumerable:false,configurable:true});i.prototype.typedValueEquals=function(e){return(t.prototype.typedValueEquals.call(this,e)||i.EMPTY_VALUES.includes(e)&&i.EMPTY_VALUES.includes(this.typedValue))&&!(e===0&&this.value==="")};return i}(R);X=Q;Q.UNMASKED_RADIX=".";Q.EMPTY_VALUES=__spreadArray(__spreadArray([],R.EMPTY_VALUES,true),[0],false);Q.DEFAULTS=__assign(__assign({},R.DEFAULTS),{mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[X.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:true,padFractionalZeros:false,parse:Number,format:function(t){return t.toLocaleString("en-US",{useGrouping:false,maximumFractionDigits:20})}});y.MaskedNumber=Q;var tt={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function it(t,i,e){if(i===void 0){i=tt.MASKED}if(e===void 0){e=tt.MASKED}var n=B(t);return function(t){return n.runIsolated((function(n){n[i]=t;return n[e]}))}}function et(t,i,e,n){return it(i,e,n)(t)}y.PIPE_TYPE=tt;y.createPipe=it;y.pipe=et;var nt=function(t){__extends(i,t);function i(i){return t.call(this,i)||this}Object.defineProperty(i.prototype,"repeatFrom",{get:function(){var t;return(t=Array.isArray(this.repeat)?this.repeat[0]:this.repeat===Infinity?0:this.repeat)!=null?t:0},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"repeatTo",{get:function(){var t;return(t=Array.isArray(this.repeat)?this.repeat[1]:this.repeat)!=null?t:Infinity},enumerable:false,configurable:true});i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e,n,r;var s=D(i),u=s.repeat,o=__rest(s,["repeat"]);this._blockOpts=Object.assign({},this._blockOpts,o);var a=B(this._blockOpts);this.repeat=(e=(n=u!=null?u:a.repeat)!=null?n:this.repeat)!=null?e:Infinity;t.prototype._update.call(this,{mask:"m".repeat(Math.max(this.repeatTo===Infinity&&((r=this._blocks)==null?void 0:r.length)||0,this.repeatFrom)),blocks:{m:a},eager:a.eager,overwrite:a.overwrite,skipInvalid:a.skipInvalid,lazy:a.lazy,placeholderChar:a.placeholderChar,displayChar:a.displayChar})};i.prototype._allocateBlock=function(t){if(t<this._blocks.length)return this._blocks[t];if(this.repeatTo===Infinity||this._blocks.length<this.repeatTo){this._blocks.push(B(this._blockOpts));this.mask+="m";return this._blocks[this._blocks.length-1]}};i.prototype._appendCharRaw=function(t,i){if(i===void 0){i={}}var e=new z;for(var n=(u=(o=this._mapPosToBlock(this.displayValue.length))==null?void 0:o.index)!=null?u:Math.max(this._blocks.length-1,0),r=void 0,s=void 0;r=(a=this._blocks[n])!=null?a:s=!s&&this._allocateBlock(n);++n){var u,o,a,h;var f=r._appendChar(t,__assign(__assign({},i),{_beforeTailState:(h=i._beforeTailState)==null||(h=h._blocks)==null?void 0:h[n]}));if(f.skip&&s){this._blocks.pop();this.mask=this.mask.slice(1);break}e.aggregate(f);if(f.consumed)break}return e};i.prototype._trimEmptyTail=function(t,i){var e,n;if(t===void 0){t=0}var r=Math.max(((e=this._mapPosToBlock(t))==null?void 0:e.index)||0,this.repeatFrom,0);var s;if(i!=null)s=(n=this._mapPosToBlock(i))==null?void 0:n.index;if(s==null)s=this._blocks.length-1;var u=0;for(var o=s;r<=o;--o,++u){if(this._blocks[o].unmaskedValue)break}if(u){this._blocks.splice(s-u+1,u);this.mask=this.mask.slice(u)}};i.prototype.reset=function(){t.prototype.reset.call(this);this._trimEmptyTail()};i.prototype.remove=function(i,e){if(i===void 0){i=0}if(e===void 0){e=this.displayValue.length}var n=t.prototype.remove.call(this,i,e);this._trimEmptyTail(i,e);return n};i.prototype.totalInputPositions=function(i,e){if(i===void 0){i=0}if(e==null&&this.repeatTo===Infinity)return Infinity;return t.prototype.totalInputPositions.call(this,i,e)};Object.defineProperty(i.prototype,"state",{get:function(){return t.prototype.state},set:function(i){this._blocks.length=i._blocks.length;this.mask=this.mask.slice(0,this._blocks.length);t.prototype.state=i},enumerable:false,configurable:true});return i}(Z);y.RepeatBlock=nt;try{globalThis.IMask=y}catch(t){}var rt='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-kba-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .background-overlay{position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:rgba(0, 0, 0, 0.4980392157)}verdocs-kba-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;gap:10px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-kba-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-kba-dialog .step{margin-left:6px;color:#666}verdocs-kba-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-kba-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-kba-dialog .help-icon{width:40px;height:40px}verdocs-kba-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-kba-dialog .help-text{font-weight:400}verdocs-kba-dialog .input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:10px;-ms-flex-align:center;align-items:center;margin:16px 0 32px}verdocs-kba-dialog .input label{-ms-flex:0;flex:0;line-height:10px;font-weight:500;white-space:nowrap}verdocs-kba-dialog .input input{-ms-flex:1;flex:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .field{gap:10px;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;max-width:100%}verdocs-kba-dialog .field .required{color:red;position:relative;top:-0.5em;font-size:80%}verdocs-kba-dialog .field label{-ms-flex:0 0 120px;flex:0 0 120px;font-weight:500;line-height:10px;text-align:right;white-space:nowrap}verdocs-kba-dialog .field verdocs-date-input{width:40%;-ms-flex-positive:1;flex-grow:1}verdocs-kba-dialog .field verdocs-date-input input{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .field input{width:40%;-ms-flex-positive:1;flex-grow:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .choices{display:grid;gap:15px;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));margin:0 0 15px 0}verdocs-kba-dialog .choice{border:1px solid #707ae5;border-radius:5px;display:-ms-flexbox;display:flex;height:60px;font-size:14px;padding:0 5px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;color:#5c6575;cursor:pointer}verdocs-kba-dialog .choice.selected{background-color:#707ae5;color:#ffffff}verdocs-kba-dialog .buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-kba-dialog .buttons verdocs-button{margin-left:16px}';var st=rt;var ut={AL:"Alabama",AK:"Alaska",AS:"American Samoa",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",DC:"District Of Columbia",FM:"Federated States Of Micronesia",FL:"Florida",GA:"Georgia",GU:"Guam",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MH:"Marshall Islands",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",MP:"Northern Mariana Islands",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PW:"Palau",PA:"Pennsylvania",PR:"Puerto Rico",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VI:"Virgin Islands",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"};var ot=Object.entries(ut).map((function(t){var i=t[0],e=t[1];return{value:i,label:e}}));var at='<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 0C8.95313 0 0 8.95313 0 20C0 31.0469 8.95313 40 20 40C31.0469 40 40 31.0469 40 20C40 8.95313 31.0469 0 20 0ZM20 36.25C11.0391 36.25 3.75 28.9602 3.75 20C3.75 11.0398 11.0391 3.75 20 3.75C28.9609 3.75 36.25 11.0398 36.25 20C36.25 28.9602 28.9609 36.25 20 36.25Z" fill="white"/><path d="M20 26.25C18.5938 26.25 17.5 27.3438 17.5 28.75C17.5 30.1562 18.5234 31.25 20 31.25C21.3359 31.25 22.5 30.1562 22.5 28.75C22.5 27.3438 21.3359 26.25 20 26.25ZM22.5859 10H18.5938C15.5469 10 13.125 12.4219 13.125 15.4688C13.125 16.4844 13.9844 17.3438 15 17.3438C16.0156 17.3438 16.875 16.4844 16.875 15.4688C16.875 14.5312 17.5859 13.75 18.5234 13.75H22.5156C23.5234 13.75 24.375 14.5312 24.375 15.4688C24.375 16.0938 24.0625 16.5703 23.5156 16.8828L19.0625 19.6094C18.4375 20 18.125 20.625 18.125 21.25V22.5C18.125 23.5156 18.9844 24.375 20 24.375C21.0156 24.375 21.875 23.5156 21.875 22.5V22.3438L25.3984 20.1562C27.0391 19.1406 28.0547 17.3438 28.0547 15.4688C28.125 12.4219 25.7031 10 22.5859 10Z" fill="#E7E7E7"/></svg>';var ht=t("verdocs_kba_dialog",function(){function t(t){i(this,t);this.exit=e(this,"exit",7);this.pinEntered=e(this,"pinEntered",7);this.next=e(this,"next",7);this.step=1;this.steps=3;this.helptitle="Previous Addresses";this.helptext="Please select the address below that you have most recently lived at.";this.mode="choice";this.label="PIN";this.placeholder="Enter your PIN...";this.recipient=null;this.choices=["553 Arbor Dr","18 Lacey Ln","23A Ball Ct","2375 Cavallo Blvd","23-1 RR-7","151 Boulder Rd"];this.response="";this.updatedRecipient=null;this.dobContainerId="verdocs-date-input-".concat(Math.random().toString(36).substring(2,11))}t.prototype.componentWillLoad=function(){this.updatedRecipient=__assign({},this.recipient||{})};t.prototype.componentDidRender=function(){y(document.getElementById(this.dobContainerId),{mask:Date,min:new Date(1920,0,1),max:new Date(2007,12,31),lazy:false,pattern:"m/d/Y",format:function(t){var i=t.getDate();var e=t.getMonth()+1;var n=t.getFullYear();if(i<10)i="0"+i;if(e<10)e="0"+e;return[e,i,n].join("/")},parse:function(t){var i=t.split("/");return new Date(i[2],i[0]-1,i[1])}})};t.prototype.handleCancel=function(){this.exit.emit()};t.prototype.handleDismiss=function(t){if(t.target.class==="background-overlay"){t.preventDefault();this.handleCancel()}};t.prototype.handleDone=function(){this.next.emit(this.response);this.response=""};t.prototype.handleConfirmID=function(){console.log("Confirm ID",this.updatedRecipient);this.next.emit(this.updatedRecipient)};t.prototype.render=function(){var t=this;var i,e,u,o,a,h,f,l,c,d,v,b;if(this.mode==="choice"){return n(s,null,n("div",{class:"background-overlay",onClick:function(i){return t.handleDismiss(i)}},n("div",{class:"dialog"},n("div",{class:"heading"},"Confirm Your Identity",this.steps>1?n("span",{class:"step"},"(",this.step,"/",this.steps,")"):n(r,null)),!!this.helptitle&&n("div",{class:"help-box"},n("div",{class:"help-icon",innerHTML:at}),n("div",{class:"help-details"},n("div",{class:"help-title"},this.helptitle),n("div",{class:"help-text"},this.helptext))),n("div",{class:"choices"},this.choices.map((function(i){return n("div",{class:"choice ".concat(i===t.response?"selected":""),onClick:function(){console.log("Selected",i);t.response=i}},i)}))),n("div",{class:"buttons"},n("verdocs-button",{label:"Cancel",variant:"outline",onClick:function(){return t.handleCancel()}}),n("verdocs-button",{label:this.step<this.steps?"Next":"Submit",onClick:function(){return t.handleDone()},disabled:!this.response})))))}if(this.mode==="identity"){return n(s,null,n("div",{class:"background-overlay",onClick:function(i){return t.handleDismiss(i)}},n("div",{class:"dialog"},n("div",{class:"heading"},"Confirm Your Identity"),!!this.helptitle&&n("div",{class:"help-box"},n("div",{class:"help-icon",innerHTML:at}),n("div",{class:"help-details"},n("div",{class:"help-title"},"Identity verification is required"),n("div",{class:"help-text"},"NOTE: Only four fields are required, but providing more details will allow us to complete the verification process more quickly."))),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-first"},"Your Name:",n("span",{class:"required"},"*")),n("input",{required:true,type:"text",id:"verdocs-kba-first",name:"verdocs-kba-first",placeholder:"First name...",value:(i=this.updatedRecipient)===null||i===void 0?void 0:i.first_name,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{first_name:i.target.value})}}),n("input",{type:"text",id:"verdocs-kba-last",name:"verdocs-kba-last",placeholder:"Last name...",required:true,value:(e=this.updatedRecipient)===null||e===void 0?void 0:e.last_name,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{last_name:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-address"},"Address:",n("span",{class:"required"},"*")),n("input",{type:"text",id:"verdocs-kba-address",name:"verdocs-kba-address",placeholder:"Address...",value:(u=this.updatedRecipient)===null||u===void 0?void 0:u.address,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{address:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-city"},"City:"),n("input",{type:"text",id:"verdocs-kba-city",name:"verdocs-kba-city",placeholder:"City...",value:(o=this.updatedRecipient)===null||o===void 0?void 0:o.city,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{city:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-state"},"State:"),n("verdocs-select-input",{options:ot,value:(a=this.updatedRecipient)===null||a===void 0?void 0:a.state,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{state:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-zip"},"Zip Code:",n("span",{class:"required"},"*")),n("input",{type:"text",id:"verdocs-kba-zip",name:"verdocs-kba-zip",placeholder:"Zip Code...",required:true,value:(h=this.updatedRecipient)===null||h===void 0?void 0:h.zip,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{zip:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:this.dobContainerId},"Date of Birth:",n("span",{class:"required"},"*")),n("input",{type:"text",value:((f=this.updatedRecipient)===null||f===void 0?void 0:f.dob)||"",id:this.dobContainerId,placeholder:"DOB...",onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{dob:i.target.value})}})),n("div",{class:"buttons"},n("verdocs-button",{label:"Submit",onClick:function(){return t.handleConfirmID()},disabled:!((l=this.updatedRecipient)===null||l===void 0?void 0:l.first_name)||!((c=this.updatedRecipient)===null||c===void 0?void 0:c.last_name)||!((d=this.updatedRecipient)===null||d===void 0?void 0:d.address)||!((v=this.updatedRecipient)===null||v===void 0?void 0:v.zip)||!((b=this.updatedRecipient)===null||b===void 0?void 0:b.dob)})))))}return n(s,null,n("div",{class:"background-overlay",onClick:function(i){return t.handleDismiss(i)}},n("div",{class:"dialog"},n("div",{class:"heading"},"Please Confirm Your Identity",this.steps>1?n("span",{class:"step"},"(",this.step,"/",this.steps,")"):n(r,null)),!!this.helptitle&&n("div",{class:"help-box"},n("div",{class:"help-icon",innerHTML:at}),n("div",{class:"help-details"},n("div",{class:"help-title"},this.helptitle),n("div",{class:"help-text"},this.helptext))),n("div",{class:"input"},n("label",{htmlFor:"verdocs-kba-input"},this.label),n("input",{type:"text",id:"verdocs-kba-input",name:"verdocs-kba-input",placeholder:this.placeholder,value:this.response,onInput:function(i){return t.response=i.target.value}})),n("div",{class:"buttons"},n("verdocs-button",{label:"Cancel",variant:"outline",onClick:function(){return t.handleCancel()}}),n("verdocs-button",{label:"Submit",onClick:function(){return t.handleDone()},disabled:!this.response})))))};return t}());ht.style=st;var ft='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-otp-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-otp-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-otp-dialog .background-overlay{position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:rgba(0, 0, 0, 0.4980392157)}verdocs-otp-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;gap:10px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-otp-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-otp-dialog .step{margin-left:6px;color:#666}verdocs-otp-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-otp-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-otp-dialog .help-icon{width:40px;height:40px}verdocs-otp-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-otp-dialog .help-text{font-weight:400}verdocs-otp-dialog .input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:10px;-ms-flex-align:center;align-items:center;margin:16px 0 32px}verdocs-otp-dialog .input label{-ms-flex:0;flex:0;line-height:10px;font-weight:500;white-space:nowrap}verdocs-otp-dialog .input input{-ms-flex:1;flex:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-otp-dialog .field{gap:10px;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;max-width:100%}verdocs-otp-dialog .field .required{color:red;position:relative;top:-0.5em;font-size:80%}verdocs-otp-dialog .field label{-ms-flex:0 0 120px;flex:0 0 120px;font-weight:500;line-height:10px;text-align:right;white-space:nowrap}verdocs-otp-dialog .field verdocs-date-input{width:40%;-ms-flex-positive:1;flex-grow:1}verdocs-otp-dialog .field verdocs-date-input input{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-otp-dialog .field input{width:40%;-ms-flex-positive:1;flex-grow:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-otp-dialog .choices{display:grid;gap:15px;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));margin:0 0 15px 0}verdocs-otp-dialog .choice{border:1px solid #707ae5;border-radius:5px;display:-ms-flexbox;display:flex;height:60px;font-size:14px;padding:0 5px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;color:#5c6575;cursor:pointer}verdocs-otp-dialog .choice.selected{background-color:#707ae5;color:#ffffff}verdocs-otp-dialog .buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-otp-dialog .buttons verdocs-button{margin-left:16px}';var lt=ft;var ct='<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 0C8.95313 0 0 8.95313 0 20C0 31.0469 8.95313 40 20 40C31.0469 40 40 31.0469 40 20C40 8.95313 31.0469 0 20 0ZM20 36.25C11.0391 36.25 3.75 28.9602 3.75 20C3.75 11.0398 11.0391 3.75 20 3.75C28.9609 3.75 36.25 11.0398 36.25 20C36.25 28.9602 28.9609 36.25 20 36.25Z" fill="white"/><path d="M20 26.25C18.5938 26.25 17.5 27.3438 17.5 28.75C17.5 30.1562 18.5234 31.25 20 31.25C21.3359 31.25 22.5 30.1562 22.5 28.75C22.5 27.3438 21.3359 26.25 20 26.25ZM22.5859 10H18.5938C15.5469 10 13.125 12.4219 13.125 15.4688C13.125 16.4844 13.9844 17.3438 15 17.3438C16.0156 17.3438 16.875 16.4844 16.875 15.4688C16.875 14.5312 17.5859 13.75 18.5234 13.75H22.5156C23.5234 13.75 24.375 14.5312 24.375 15.4688C24.375 16.0938 24.0625 16.5703 23.5156 16.8828L19.0625 19.6094C18.4375 20 18.125 20.625 18.125 21.25V22.5C18.125 23.5156 18.9844 24.375 20 24.375C21.0156 24.375 21.875 23.5156 21.875 22.5V22.3438L25.3984 20.1562C27.0391 19.1406 28.0547 17.3438 28.0547 15.4688C28.125 12.4219 25.7031 10 22.5859 10Z" fill="#E7E7E7"/></svg>';var dt=t("verdocs_otp_dialog",function(){function t(t){i(this,t);this.exit=e(this,"exit",7);this.next=e(this,"next",7);this.resendTimeout=null;this.method="email";this.recipient=null;this.resendDisabled=true;this.response=""}t.prototype.componentWillLoad=function(){var t=this;this.startResendTimeout();o(a.getDefault(),{auth_method:this.method,code:"",resend:true}).then((function(i){console.log("Resend result",i);t.response=""})).catch((function(t){return console.log("Error resending code",t)}))};t.prototype.disconnectedCallback=function(){if(this.resendTimeout){clearTimeout(this.resendTimeout);this.resendTimeout=null}};t.prototype.handleCancel=function(){this.exit.emit()};t.prototype.handleDismiss=function(t){if(t.target.class==="background-overlay"){t.preventDefault();this.handleCancel()}};t.prototype.startResendTimeout=function(){var t=this;this.resendDisabled=true;if(this.resendTimeout){clearTimeout(this.resendTimeout)}this.resendTimeout=setTimeout((function(){t.resendDisabled=false}),3e4)};t.prototype.handleResend=function(){var t=this;this.startResendTimeout();o(a.getDefault(),{auth_method:this.method,code:"",resend:true}).then((function(i){console.log("Resend result",i);t.response="";window.alert("A new code has been sent.")})).catch((function(t){return console.log("Error resending code",t)}))};t.prototype.handleSubmit=function(){var t=this;this.startResendTimeout();o(a.getDefault(),{auth_method:this.method,code:this.response}).then((function(i){console.log("Verification completed",i);t.next.emit({response:i});window.alert("A new code has been sent.")})).catch((function(t){window.alert("Invalid verification code. Please try again.");console.log("Invalid code",t)}));this.response=""};t.prototype.render=function(){var t=this;return n(s,{key:"923287e7f0d818fc660befa0f6f6a787146b3258"},n("div",{key:"fefdc2ab6fc4bd40dd3bfe1076da0922a06ee934",class:"background-overlay",onClick:function(i){return t.handleDismiss(i)}},n("div",{key:"d11f7ba31f5933dad993491d43373d084dd02225",class:"dialog"},n("div",{key:"a2358fa461d8ecca21eac50b14078a91c9c486f1",class:"heading"},"Verification Required"),n("div",{key:"c6077109c87dc7f84a13660defb2e57ae82fb28b",class:"help-box"},n("div",{key:"d6df4a2e614a9e00e666529c092b34462f5f08ca",class:"help-icon",innerHTML:ct}),n("div",{key:"324245b22da5cb8bca73d30b150a25aca6edeb96",class:"help-details"},n("div",{key:"a8ec738fd61ea94d78370f134330b76f2faec2b0",class:"help-title"},"Please verify your email address"),n("div",{key:"eefac97c966abb2cd911d3f46e1253c05b8fb2c4",class:"help-text"},"Check your email for a one-time code, and enter it below."))),n("div",{key:"811e0aa0e1539a3dba4125670ad7afdb69fd83cf",class:"input"},n("label",{key:"e45aebee008c72ef62535ac5e5e65dfe0b97f94e",htmlFor:"verdocs-otp-input"},"Code:"),n("input",{key:"6ed7fe7c1e66677ef92c0936637ecc06a3879e59",type:"text",id:"verdocs-otp-input",name:"verdocs-otp-input",placeholder:"Enter your one-time code...",value:this.response,onInput:function(i){return t.response=i.target.value}})),n("div",{key:"871250aca108c8919a432221617fe728d098c959",class:"buttons"},n("verdocs-button",{key:"6edd049a733f3390b8be205879490d51ae11d7a2",label:"Cancel",variant:"outline",onClick:function(){return t.handleCancel()}}),n("verdocs-button",{key:"9116fc071bcc811ce124a865a2ca2bb4a5a68182",label:"Resend",onClick:function(){return t.handleResend()},disabled:this.resendDisabled}),n("verdocs-button",{key:"d5558aabd6fb7501fb2b6d33853ed95a7c7c09c0",label:"Submit",onClick:function(){return t.handleSubmit()},disabled:!this.response})))))};return t}());dt.style=lt;var vt='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-view{display:-ms-flexbox;display:flex;overflow:hidden;min-height:600px;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-view div,verdocs-view canvas{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-view .document{-ms-flex:1;flex:1;width:100%;height:100%;display:-ms-flexbox;display:flex;padding:15px;row-gap:15px;min-height:200px;max-width:1200px;position:relative;overflow-y:scroll;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column}verdocs-view .document .inner{width:100%;max-width:1028px}verdocs-view .loading-indicator{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:10000;position:fixed;background-color:rgba(0, 0, 0, 0.7)}#verdocs-view-header{width:100%;color:#fff;display:-ms-flexbox;display:flex;z-index:1000;-ms-flex:0 0 56px;flex:0 0 56px;padding:0 20px;font-size:12px;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-webkit-transition:all 0.25s;transition:all 0.25s;background-color:#33354c;-webkit-box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.24), 0 0 4px 0 rgba(0, 0, 0, 0.12);box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.24), 0 0 4px 0 rgba(0, 0, 0, 0.12)}@media all and (max-width: 500px){#verdocs-view-header{padding:0 10px}}#verdocs-view-header .inner{width:100%;display:-ms-flexbox;display:flex;margin:0 auto;padding:0 20px;max-width:1200px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}@media all and (max-width: 500px){#verdocs-view-header .inner{padding:0 10px}}#verdocs-view-header .logo{width:80px;display:none;margin:-6px 0 0 0}#verdocs-view-header .title{font-size:18px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}';var bt=vt;var gt=t("verdocs_view",function(){function t(t){i(this,t);this.sdkError=e(this,"sdkError",7);this.envelopeUpdated=e(this,"envelopeUpdated",7);this.another=e(this,"another",7);this.view=e(this,"view",7);this.next=e(this,"next",7);this.envelopeListenerId=null;this.endpoint=null;this.envelopeId="";this.headerTargetId=null;this.canceling=false;this.showCancelDone=false;this.showLoadError=false;this.loading=true;this.envelope=null}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e,n,r;return __generator(this,(function(s){switch(s.label){case 0:if(!this.endpoint){this.endpoint=a.getDefault();this.endpoint.loadSession()}if(!this.envelopeId){console.error("[VIEW] Missing required envelopeId");return[2]}this.listenToEnvelope();if(!!this.envelope)return[3,4];s.label=1;case 1:s.trys.push([1,3,,4]);console.log("[VIEW] Loading envelope...");n=this;return[4,h(this.endpoint,this.envelopeId)];case 2:n.envelope=s.sent();console.log("[VIEW] Loaded envelope",this.envelope);return[3,4];case 3:r=s.sent();this.showLoadError=true;(t=this.sdkError)===null||t===void 0?void 0:t.emit(new b(r.message,(i=r.response)===null||i===void 0?void 0:i.status,(e=r.response)===null||e===void 0?void 0:e.data));return[3,4];case 4:return[2]}}))}))};t.prototype.componentDidRender=function(){var t=this.headerTargetId?document.getElementById(this.headerTargetId):null;var i=document.getElementById("verdocs-view-header");if(t&&i){console.log("[VIEW] Moving header");i.remove();t.append(i)}};t.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};t.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();g.subscribe("envelopes",this.envelopeId,(function(){return h(t.endpoint,t.envelopeId)}),true,(function(i){t.envelope=i;t.loading=false}));return[2]}))}))};t.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){g.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};t.prototype.handlePageRendered=function(t){};t.prototype.handleOptionSelected=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,n,r,s,u,s;var o=this;return __generator(this,(function(a){switch(a.label){case 0:n=t.detail.id;switch(n){case"cancel":return[3,1];case"print":return[3,2];case"download-attachments":return[3,3];case"download-certificate":return[3,6];case"download-all":return[3,9]}return[3,10];case 1:if(confirm("Are you sure you wish to cancel this envelope? This action cannot be undone.")){this.canceling=true;l(this.endpoint,this.envelopeId).then((function(t){o.canceling=false;console.log("[VIEW] Envelope canceled",t);return h(o.endpoint,o.envelopeId)})).then((function(t){console.log("[VIEW] Loaded new envelope details",t);o.envelope=t})).catch((function(t){var i,e,n;o.canceling=false;console.log("[VIEW] Error canceling envelope",t);(i=o.sdkError)===null||i===void 0?void 0:i.emit(new b(t.message,(e=t.response)===null||e===void 0?void 0:e.status,(n=t.response)===null||n===void 0?void 0:n.data))}));this.showCancelDone=true;(i=this.envelopeUpdated)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:this.envelope,event:"canceled"})}return[3,10];case 2:window.print();(e=this.envelopeUpdated)===null||e===void 0?void 0:e.emit({endpoint:this.endpoint,envelope:this.envelope,event:"printed"});return[3,10];case 3:r=this.envelope.documents.find((function(t){return t.type==="attachment"}));if(!r)return[3,5];return[4,f(this.endpoint,this.envelopeId,r.id)];case 4:s=a.sent();window.open(s,"_blank");a.label=5;case 5:return[3,10];case 6:u=this.envelope.documents.find((function(t){return t.type==="certificate"}));if(!u)return[3,8];return[4,f(this.endpoint,this.envelopeId,u.id)];case 7:s=a.sent();window.open(s,"_blank");a.label=8;case 8:return[3,10];case 9:v(this.endpoint,[this.envelope]).then((function(){var t;(t=o.envelopeUpdated)===null||t===void 0?void 0:t.emit({endpoint:o.endpoint,envelope:o.envelope,event:"downloaded"})})).catch((function(t){console.log("Error downloading Zip",t)}));return[3,10];case 10:return[2]}}))}))};t.prototype.render=function(){var t=this;var i;if(this.loading){return n(s,null,n("verdocs-loader",null))}if(this.showLoadError){return n(s,null,n("verdocs-ok-dialog",{heading:"Unable to View Envelope",message:"Sorry, that envelope is not valid.",buttonLabel:"OK",onNext:function(){t.showLoadError=false}}))}if(!this.envelope){return n(s,null,n("img",{src:"https://public-assets.verdocs.com/loading-placeholder.png",style:{width:"612px",height:"792px",boxShadow:"0 0 10px 5px #0000000f",marginTop:"15px"},alt:"Placeholder page"}))}var e=[{id:"print",label:"Print"}];if(c(this.endpoint.profile,this.envelope)){e.push({id:"cancel",label:"Cancel"})}var u=this.envelope.documents.length>0;var o=this.envelope.documents.filter((function(t){return t.type==="attachment"})).length;var a=this.envelope.documents.find((function(t){return t.type==="certificate"}))!==undefined;if(u||a){e.push({label:""});if(u){e.push({id:"download-attachments",label:o>1?"Download Documents":"Download Document"})}if(a){e.push({id:"download-certificate",label:"Download Certificate"})}if(u&&a){e.push({id:"download-all",label:"Download All Files"})}}return n(s,null,n("div",{id:"verdocs-view-header"},n("div",{class:"inner"},n("img",{src:"https://verdocs.com/assets/white-logo.svg",alt:"Verdocs Logo",class:"logo"}),n("div",{class:"title"},this.envelope.name),n("div",{style:{flex:"1"}}),n("div",{style:{marginLeft:"10px"}}),n("verdocs-dropdown",{options:e,onOptionSelected:function(i){return t.handleOptionSelected(i)}}))),n("div",{class:"document",style:{paddingTop:this.headerTargetId?"70px":"15px"}},(((i=this.envelope)===null||i===void 0?void 0:i.documents)||[]).filter((function(t){return t.type!=="certificate"})).map((function(i){var e=d(1,i.pages);return n(r,null,e.map((function(e){var r;var s=((r=i.page_sizes)===null||r===void 0?void 0:r[e])||{width:612,height:792};return n("verdocs-envelope-document-page",{envelopeId:t.envelopeId,documentId:i.id,endpoint:t.endpoint,type:"filled",virtualWidth:s.width,virtualHeight:s.height,pageNumber:e,onPageRendered:function(i){return t.handlePageRendered(i)},layers:[{name:"page",type:"canvas"},{name:"controls",type:"div"}]})})))}))),this.showCancelDone&&n("verdocs-ok-dialog",{heading:"Cancelled",message:"This envelope has been cancelled successfully.",onNext:function(){t.showCancelDone=false}}),this.canceling&&n("div",{class:"loading-indicator"},n("verdocs-loader",null)))};Object.defineProperty(t.prototype,"component",{get:function(){return u(this)},enumerable:false,configurable:true});return t}());gt.style=bt}}}));
|
2
|
+
//# sourceMappingURL=p-f2a3c06d.system.entry.js.map
|