@verdocs/web-sdk 6.5.0-beta.32 → 6.5.0-beta.34
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/{Types-RUyU-svM.js → Types-YJQtg77a.js} +4 -3
- package/dist/{esm/Types-dqxNbm_b.js.map → cjs/Types-YJQtg77a.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-otZIKCGM.js → utils-DjHWIYcY.js} +3 -3
- package/dist/cjs/{utils-otZIKCGM.js.map → utils-DjHWIYcY.js.map} +1 -1
- package/dist/cjs/verdocs-adopt-signature-dialog_8.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-download-dialog_4.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-field-attachment_11.cjs.entry.js +86 -12
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-preview_7.cjs.entry.js +36 -25
- package/dist/cjs/verdocs-sign.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-document-page.verdocs-toolbar-icon.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.css +8 -0
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +3 -1
- package/dist/collection/components/embeds/verdocs-send/verdocs-send.js.map +1 -1
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.css +34 -0
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js +77 -2
- package/dist/collection/components/fields/verdocs-field-date/verdocs-field-date.js.map +1 -1
- package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.css +3 -0
- package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.js +6 -5
- package/dist/collection/components/fields/verdocs-field-textbox/verdocs-field-textbox.js.map +1 -1
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js +3 -3
- package/dist/collection/components/templates/verdocs-template-document-page/verdocs-template-document-page.js.map +1 -1
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.css +21 -0
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +31 -21
- package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js.map +1 -1
- package/dist/collection/utils/Types.js +2 -1
- package/dist/collection/utils/Types.js.map +1 -1
- package/dist/components/{p-DLKz8oGD.js → p-1PWpeHpK.js} +3 -3
- package/dist/components/{p-DLKz8oGD.js.map → p-1PWpeHpK.js.map} +1 -1
- package/dist/components/{p-BSXsWUmY.js → p-BWvUv89M.js} +39 -29
- package/dist/components/p-BWvUv89M.js.map +1 -0
- package/dist/components/{p-CrKrBZZL.js → p-BcGvNPBh.js} +7 -7
- package/dist/components/{p-CrKrBZZL.js.map → p-BcGvNPBh.js.map} +1 -1
- package/dist/components/{p-YzC4BSrh.js → p-BttIJYW3.js} +7 -5
- package/dist/components/p-BttIJYW3.js.map +1 -0
- package/dist/components/{p-88SuPfj4.js → p-C35_YsQk.js} +3 -3
- package/dist/components/{p-88SuPfj4.js.map → p-C35_YsQk.js.map} +1 -1
- package/dist/components/{p-COtqu2dZ.js → p-CMNmfu0F.js} +3 -3
- package/dist/components/{p-COtqu2dZ.js.map → p-CMNmfu0F.js.map} +1 -1
- package/dist/components/{p-B7nY_WEM.js → p-CY-c2d8q.js} +9 -9
- package/dist/components/p-CY-c2d8q.js.map +1 -0
- package/dist/components/{p-DWZamcQd.js → p-CeHrzafI.js} +9 -8
- package/dist/components/p-CeHrzafI.js.map +1 -0
- package/dist/components/{p-BaFfUg65.js → p-DKO4_Yp9.js} +3 -3
- package/dist/components/{p-BaFfUg65.js.map → p-DKO4_Yp9.js.map} +1 -1
- package/dist/components/{p-Dl7Xw8F0.js → p-DMMF9yT2.js} +3 -3
- package/dist/components/{p-Dl7Xw8F0.js.map → p-DMMF9yT2.js.map} +1 -1
- package/dist/components/p-Dh9AjNdu.js +292 -0
- package/dist/components/p-Dh9AjNdu.js.map +1 -0
- package/dist/components/{p-IUjGbyAi.js → p-Dk8BEvRP.js} +3 -3
- package/dist/components/{p-IUjGbyAi.js.map → p-Dk8BEvRP.js.map} +1 -1
- package/dist/components/{p-ChDalz5Z.js → p-DyeSZpGe.js} +3 -3
- package/dist/components/{p-ChDalz5Z.js.map → p-DyeSZpGe.js.map} +1 -1
- package/dist/components/{p-Bu_0SDFO.js → p-Iv65sQlJ.js} +3 -3
- package/dist/components/{p-Bu_0SDFO.js.map → p-Iv65sQlJ.js.map} +1 -1
- package/dist/components/verdocs-build.js +8 -8
- package/dist/components/verdocs-contact-picker.js +1 -1
- package/dist/components/verdocs-envelope-document-page.js +1 -1
- package/dist/components/verdocs-envelope-sidebar.js +1 -1
- package/dist/components/verdocs-envelopes-list.js +2 -2
- package/dist/components/verdocs-field-date.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-preview.js +1 -1
- package/dist/components/verdocs-quick-filter.js +1 -1
- package/dist/components/verdocs-send.js +1 -1
- package/dist/components/verdocs-sign.js +4 -4
- package/dist/components/verdocs-signing-progress.js +1 -1
- package/dist/components/verdocs-template-document-page.js +1 -1
- package/dist/components/verdocs-template-fields.js +1 -1
- package/dist/components/verdocs-templates-list.js +1 -1
- package/dist/components/verdocs-view.js +1 -1
- package/dist/esm/Types-BqoC0yeA.js +9 -0
- package/dist/{cjs/Types-RUyU-svM.js.map → esm/Types-BqoC0yeA.js.map} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-ivPfUH2E.js → utils-Deu82Q9L.js} +3 -3
- package/dist/esm/{utils-ivPfUH2E.js.map → utils-Deu82Q9L.js.map} +1 -1
- package/dist/esm/verdocs-adopt-signature-dialog_8.entry.js +2 -2
- package/dist/esm/verdocs-contact-picker.entry.js +2 -2
- package/dist/esm/verdocs-download-dialog_4.entry.js +2 -2
- package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm/verdocs-envelopes-list.entry.js +2 -2
- package/dist/esm/verdocs-field-attachment_11.entry.js +86 -12
- package/dist/esm/verdocs-pagination_2.entry.js +2 -2
- package/dist/esm/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.js.map +1 -1
- package/dist/esm/verdocs-preview_7.entry.js +37 -26
- package/dist/esm/verdocs-sign.entry.js +2 -2
- package/dist/esm/verdocs-template-document-page.verdocs-toolbar-icon.entry.js.map +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +2 -2
- package/dist/esm/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/Types-BqoC0yeA.js +2 -0
- package/dist/esm-es5/{Types-dqxNbm_b.js.map → Types-BqoC0yeA.js.map} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{utils-ivPfUH2E.js → utils-Deu82Q9L.js} +2 -2
- package/dist/esm-es5/{utils-ivPfUH2E.js.map → utils-Deu82Q9L.js.map} +1 -1
- package/dist/esm-es5/verdocs-adopt-signature-dialog_8.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
- package/dist/esm-es5/verdocs-download-dialog_4.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_11.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_11.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-preview_7.entry.js +2 -2
- package/dist/esm-es5/verdocs-preview_7.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page.verdocs-toolbar-icon.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/types/components/fields/verdocs-field-date/verdocs-field-date.d.ts +6 -1
- package/dist/types/components/templates/verdocs-template-fields/verdocs-template-fields.d.ts +3 -3
- package/dist/types/utils/Types.d.ts +1 -1
- package/dist/verdocs-web-sdk/{p-751501f3.entry.js → p-07a00b97.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-96c50a15.system.entry.js → p-16e4f438.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b7a88f34.system.entry.js → p-178d03a6.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-1bde2f57.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-1bde2f57.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-3c1ca466.entry.js → p-3aebfd86.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-12a23bdb.entry.js → p-4671fd0b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-f615bed5.entry.js → p-5cf0d300.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7165eccc.system.entry.js → p-8cb631da.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-932934f5.system.entry.js +8 -0
- package/dist/verdocs-web-sdk/p-932934f5.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-cff62722.system.entry.js → p-9ec65cad.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-B8zpaHu-.system.js +1 -1
- package/dist/verdocs-web-sdk/p-B_NM_Ddi.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-dY2Fe8ON.system.js.map → p-BaVMqmM6.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-D0t6QCh_.system.js → p-BgKRsvh1.system.js} +2 -2
- package/dist/verdocs-web-sdk/{p-D0t6QCh_.system.js.map → p-BgKRsvh1.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-BqoC0yeA.js +2 -0
- package/dist/verdocs-web-sdk/{p-dqxNbm_b.js.map → p-BqoC0yeA.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-BxZoitZ8.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-C2OP3llY.system.js +2 -0
- package/dist/verdocs-web-sdk/{p-CgZsFvRv.system.js.map → p-C2OP3llY.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Baa2Y5Zk.system.js.map → p-C5FCNerT.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DKu4yKnD.system.js.map → p-CwV2z4y9.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BM3jxk1D.system.js.map → p-DAagWDJf.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-DDdzKvq8.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-BUDKtx9r.system.js.map → p-DZCgLJyz.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Cz_PSCK3.system.js.map → p-Dxsz-5-P.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BpvxoJa6.system.js.map → p-H1Tf5vYL.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-f5d355d5.system.entry.js → p-c0fbae7e.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6598380f.entry.js → p-c1b0b0a8.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-3899da33.entry.js → p-c288939e.entry.js} +3 -3
- package/dist/verdocs-web-sdk/{p-4cbec34e.system.entry.js → p-c4ca9e20.system.entry.js} +3 -3
- package/dist/verdocs-web-sdk/p-d09f0a2c.entry.js +8 -0
- package/dist/verdocs-web-sdk/p-d09f0a2c.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-363f13cb.system.entry.js → p-dbaaa79f.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-42ad9ea7.entry.js → p-e74f4251.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-fe97fd80.entry.js → p-ea23d10b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-721b3041.system.entry.js → p-ee6623f7.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-f986d5dd.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-f986d5dd.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-CHm_85GB.js → p-oC6bZSel.js} +2 -2
- package/dist/verdocs-web-sdk/{p-CHm_85GB.js.map → p-oC6bZSel.js.map} +1 -1
- package/dist/verdocs-web-sdk/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-template-document-page.verdocs-toolbar-icon.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-B7nY_WEM.js.map +0 -1
- package/dist/components/p-BSXsWUmY.js.map +0 -1
- package/dist/components/p-DR_BGSby.js +0 -217
- package/dist/components/p-DR_BGSby.js.map +0 -1
- package/dist/components/p-DWZamcQd.js.map +0 -1
- package/dist/components/p-YzC4BSrh.js.map +0 -1
- package/dist/esm/Types-dqxNbm_b.js +0 -8
- package/dist/esm-es5/Types-dqxNbm_b.js +0 -2
- package/dist/verdocs-web-sdk/p-344a99c7.system.entry.js +0 -8
- package/dist/verdocs-web-sdk/p-344a99c7.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-8c86b7fd.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-8c86b7fd.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-CgZsFvRv.system.js +0 -2
- package/dist/verdocs-web-sdk/p-DNUz9v6d.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-DsA3pbFK.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-DyCZUrdb.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-c3e7b3ce.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-c3e7b3ce.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-dqxNbm_b.js +0 -2
- package/dist/verdocs-web-sdk/p-e23c5042.entry.js +0 -8
- package/dist/verdocs-web-sdk/p-e23c5042.entry.js.map +0 -1
- /package/dist/verdocs-web-sdk/{p-751501f3.entry.js.map → p-07a00b97.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-96c50a15.system.entry.js.map → p-16e4f438.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b7a88f34.system.entry.js.map → p-178d03a6.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-3c1ca466.entry.js.map → p-3aebfd86.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-12a23bdb.entry.js.map → p-4671fd0b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f615bed5.entry.js.map → p-5cf0d300.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7165eccc.system.entry.js.map → p-8cb631da.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-cff62722.system.entry.js.map → p-9ec65cad.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-f5d355d5.system.entry.js.map → p-c0fbae7e.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6598380f.entry.js.map → p-c1b0b0a8.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-3899da33.entry.js.map → p-c288939e.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4cbec34e.system.entry.js.map → p-c4ca9e20.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-363f13cb.system.entry.js.map → p-dbaaa79f.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-42ad9ea7.entry.js.map → p-e74f4251.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-fe97fd80.entry.js.map → p-ea23d10b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-721b3041.system.entry.js.map → p-ee6623f7.system.entry.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as e,c as i,h as s,H as t,F as n}from"./p-BIRwgFLv.js";import{d as o}from"./p-dzBXqXlK.js";import{VerdocsEndpoint as a,getEnvelope as l,remindRecipient as r,cancelEnvelope as d,updateRecipient as c,formatFullName as v,updateEnvelope as h,userIsEnvelopeOwner as p,getRecipientsWithActions as w,resetRecipient as m,recipientCanAct as g,capitalize as b}from"@verdocs/js-sdk";import{a as f}from"./p-dqxNbm_b.js";import{V as x}from"./p-CyvDgtoV.js";import{S as u}from"./p-C1sRVZWv.js";import{S as k}from"./p-bS8INhRF.js";const C='verdocs-envelope-sidebar{font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;-ms-flex:0 0 56px;flex:0 0 56px;width:56px;min-height:400px;height:100%;background:#41435e;-webkit-transition:0.5s cubic-bezier(0.35, 0, 0.25, 1);transition:0.5s cubic-bezier(0.35, 0, 0.25, 1)}verdocs-envelope-sidebar.open{-ms-flex:0 0 400px;flex:0 0 400px;max-width:100%;width:400px}@media screen and (max-width: 500px){verdocs-envelope-sidebar.open{-ms-flex:0 0 300px;flex:0 0 300px;width:300px}}verdocs-envelope-sidebar .side-buttons{-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 56px;flex:0 0 56px;display:-ms-flexbox;display:flex}verdocs-envelope-sidebar .side-buttons button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:50px;outline:none;border:none;border-left:2px solid transparent;background:none;width:100%}verdocs-envelope-sidebar .side-buttons button.active{border-left:2px solid #50bd80}verdocs-envelope-sidebar .side-buttons button svg{color:white;width:24px;height:24px}verdocs-envelope-sidebar .content{-ms-flex:1;flex:1;display:none;color:white;-ms-flex-direction:column;flex-direction:column;padding:12px 16px 16px}verdocs-envelope-sidebar.open .content{display:-ms-flexbox;display:flex;overflow-y:scroll}verdocs-envelope-sidebar verdocs-ok-dialog .content{color:black}verdocs-envelope-sidebar .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:12px;font-size:16px;line-height:24px;font-weight:400}verdocs-envelope-sidebar .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:14px;font-size:14px;font-weight:500;line-height:16px;color:#fff}verdocs-envelope-sidebar .manage-recipients-button{-ms-flex-item-align:center;align-self:center;white-space:nowrap;width:100%;margin:0 0 10px 0}verdocs-envelope-sidebar .manage-recipients-button .label{color:#ffffff;font-size:14px}verdocs-envelope-sidebar .manage-recipients-button button{width:100%}verdocs-envelope-sidebar .recipient-detail{-ms-flex:0;flex:0;padding:8px;font-size:14px;position:relative;-ms-flex-direction:column;flex-direction:column;border:solid 1px #979797;margin-bottom:16px}verdocs-envelope-sidebar .recipient-header{-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;gap:6px;-ms-flex-align:center;align-items:center;margin-bottom:4px}verdocs-envelope-sidebar .recipient-number{width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:24px;font-size:14px;font-weight:500;border:solid 1px #979797}verdocs-envelope-sidebar .recipient-name{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;text-transform:capitalize}verdocs-envelope-sidebar .recipient-status{-ms-flex:0 0 100px;flex:0 0 100px;border-radius:5px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100px;min-width:100px;background-color:#616161;text-transform:capitalize;font-size:14px;padding:3px 0}verdocs-envelope-sidebar .recipient-status.invited{background-color:#ff8f00}verdocs-envelope-sidebar .recipient-status.opened{background-color:#616161}verdocs-envelope-sidebar .recipient-status.signed,verdocs-envelope-sidebar .recipient-status.submitted{background-color:#2e7d32}verdocs-envelope-sidebar .recipient-status.pending{background-color:#0277bd}verdocs-envelope-sidebar .recipient-status.canceled,verdocs-envelope-sidebar .recipient-status.declined{background-color:#c62828}@media screen and (max-width: 500px){verdocs-envelope-sidebar .recipient-status{-ms-flex:1 1 60px;flex:1 1 60px;max-width:60px;min-width:60px}}verdocs-envelope-sidebar .recipient-content{-ms-flex-direction:column;flex-direction:column}verdocs-envelope-sidebar .recipient-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}verdocs-envelope-sidebar .history-entry{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;padding:8px 0 0;margin:8px 0 0;border-top:1px solid #dddddd}verdocs-envelope-sidebar .history-entry .activity-icon{margin-right:14px}verdocs-envelope-sidebar .history-entry .activity-icon svg{width:24px;height:24px;fill:#ffffff}verdocs-envelope-sidebar .history-entry .activity-text{font-size:14px;line-height:16px;margin-bottom:4px}verdocs-envelope-sidebar .history-entry .activity-date{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .content .history-entry:first-of-type{border-top:none}verdocs-envelope-sidebar .reminders{margin:15px 0 30px 0}verdocs-envelope-sidebar .reminders .form-row{margin:8px 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-sidebar .reminders .form-row .reminders-label{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row .form-label{-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row verdocs-text-input{margin:0;width:100px}';const y=24*60*60*1e3;const z=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" /></svg>`;const M=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /></svg>`;const D=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>`;const B={visibility:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 15a3 3 0 100-6 3 3 0 000 6z" /><path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z" clip-rule="evenodd" /></svg>`,pencil:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z" /></svg>`,mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,contact_mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,done:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z" clip-rule="evenodd" /></svg>`,send:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>`,gesture:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></svg>`,clear:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>`,check_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>`,link:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>`,cancel:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>`,done_all:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></svg>`,create:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,perm_identity:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,people:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>`,contact_email:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M21 8V7l-3 2-3-2v1l3 2 3-2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2zM8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1zm8-6h-8V6h8v6z"/></svg>`,textsms:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/></svg>`,verified_user:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M12.516 2.17a.75.75 0 00-1.032 0 11.209 11.209 0 01-7.877 3.08.75.75 0 00-.722.515A12.74 12.74 0 002.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 00.374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 00-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08zm3.094 8.016a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z" clip-rule="evenodd" /></svg>`,account_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>`,idcard:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,idcardslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,key:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,keyslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pin:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H18C18.2652 17 18.5196 16.8946 18.7071 16.7071C18.8946 16.5196 19 16.2652 19 16V15.24C18.9998 14.8679 18.8958 14.5033 18.6997 14.187C18.5036 13.8708 18.2232 13.6156 17.89 13.45L16.11 12.55C15.7768 12.3844 15.4964 12.1292 15.3003 11.813C15.1042 11.4967 15.0002 11.1321 15 10.76V7C15 6.73478 15.1054 6.48043 15.2929 6.29289C15.4804 6.10536 15.7348 6 16 6C16.5304 6 17.0391 5.78929 17.4142 5.41421C17.7893 5.03914 18 4.53043 18 4C18 3.46957 17.7893 2.96086 17.4142 2.58579C17.0391 2.21071 16.5304 2 16 2H8C7.46957 2 6.96086 2.21071 6.58579 2.58579C6.21071 2.96086 6 3.46957 6 4C6 4.53043 6.21071 5.03914 6.58579 5.41421C6.96086 5.78929 7.46957 6 8 6C8.26522 6 8.51957 6.10536 8.70711 6.29289C8.89464 6.48043 9 6.73478 9 7V10.76Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pinslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.0006 9.34V7C15.0006 6.73478 15.106 6.48043 15.2935 6.29289C15.4811 6.10536 15.7354 6 16.0006 6C16.5311 6 17.0398 5.78929 17.4148 5.41421C17.7899 5.03914 18.0006 4.53043 18.0006 4C18.0006 3.46957 17.7899 2.96086 17.4148 2.58579C17.0398 2.21071 16.5311 2 16.0006 2H7.89062" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 9V10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H17" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`};const V=class{constructor(s){e(this,s);this.sdkError=i(this,"sdkError");this.envelopeUpdated=i(this,"envelopeUpdated");this.toggle=i(this,"toggle");this.another=i(this,"another");this.envelopeListenerId=null;this.endpoint=a.getDefault();this.envelopeId="";this.activeTab=1;this.panelOpen=false;this.showRecipientDialog="";this.showCancelDialog=false;this.showReinviteDialog="";this.showUpdateDialog="";this.remindersEnabled=false;this.updatingReminders=false;this.initialReminder=null;this.followupReminders=null;this.loading=true;this.envelope=null}async componentWillLoad(){var e,i,s;try{this.endpoint.loadSession();if(!this.envelopeId){console.log(`[SIDEBAR] Missing required envelope ID ${this.envelopeId}`);return}if(!this.endpoint.session){console.log("[SIDEBAR] Unable to start session, must be authenticated");return}this.listenToEnvelope()}catch(t){console.log("[SIDEBAR] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new u(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(s=t.response)===null||s===void 0?void 0:s.data))}}disconnectedCallback(){this.unlistenToEnvelope()}async listenToEnvelope(){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();k.subscribe("envelopes",this.envelopeId,(()=>l(this.endpoint,this.envelopeId)),false,(e=>{var i,s;this.envelope=e;this.loading=false;this.sortEnvelopeRecipients();this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!this.initialReminder}))}unlistenToEnvelope(){if(this.envelopeListenerId){k.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}}sortEnvelopeRecipients(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort(((e,i)=>e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence))}setTab(e){var i;this.panelOpen=e!==this.activeTab||!this.panelOpen;(i=this.toggle)===null||i===void 0?void 0:i.emit({open:this.panelOpen});this.activeTab=e}canResendRecipient(e){var i;return!["pending","declined","submitted","canceled"].includes(e.status)&&!["complete","declined","canceled"].includes((i=this.envelope)===null||i===void 0?void 0:i.status)}handleRecipientAction(e,i){var s;console.log("[SIDEBAR] Recipient action",i,e);switch(i){case"update":this.showUpdateDialog=e.role_name;break;case"reminder":r(this.endpoint,this.envelopeId,e.role_name).then((()=>{x("Reminder Sent",{style:"success"})})).catch((e=>{console.log("[SIDEBAR] Error resending invitation",e);x("Error resending invitation: "+e.message,{style:"error"})}));break;case"reinvite":this.showReinviteDialog=e.role_name;break;case"inperson":this.showRecipientDialog=e.role_name;break;case"modify":x("This feature will be enabled in a future release. Please try again later.",{style:"info"});break;case"details":x("This feature will be enabled in a future release. Please try again later.",{style:"info"});break}(s=this.envelopeUpdated)===null||s===void 0?void 0:s.emit({endpoint:this.endpoint,envelope:this.envelope,event:i})}handleCancelEnvelope(){this.loading=true;d(this.endpoint,this.envelopeId).then((async e=>{var i;console.log("[SIDEBAR] Envelope canceled",e);x("Envelope canceled",{style:"success"});const s=JSON.parse(JSON.stringify(this.envelope));s.status="canceled";k.updateEnvelope(this.envelopeId,s);this.loading=false;this.panelOpen=false;(i=this.envelopeUpdated)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:s,event:"canceled"})})).catch((e=>{console.log("[SIDEBAR] Error canceling envelope",e);this.loading=false;x("Error canceling envelope: "+e.message,{style:"error"})}))}handleUpdateRecipient(e,i){console.log("Updating recipient",e,i);const s={};if(i.email!==e.email){s.email=i.email}if(i.phone!==e.phone){s.phone=i.phone}if(i.message!==e.message){s.message=i.message}if(i.first_name!==e.first_name){s.first_name=i.first_name}if(i.last_name!==e.last_name){s.last_name=i.last_name}if(Object.keys(s).length>0){c(this.endpoint,this.envelopeId,e.role_name,s).then((e=>{x("Recipient updated",{style:"success"});console.log("[SIDEBAR] Updated recipient",e);k.getEnvelope(this.endpoint,this.envelopeId,true);this.showUpdateDialog=""})).catch((e=>{x(e.response.data.error,{style:"error"});this.showUpdateDialog=""}))}else{this.showUpdateDialog=""}}prepareHistoryEntries(){var e,i,s,t,n,o;const a=[];const l=((e=this.envelope)===null||e===void 0?void 0:e.history_entries)||[];a.push({icon:"pencil",message:"Envelope created.",date:new Date((i=this.envelope)===null||i===void 0?void 0:i.created_at)});if(((s=this.envelope)===null||s===void 0?void 0:s.status)==="complete"){a.push({icon:"pencil",message:"Envelope completed.",date:new Date((t=this.envelope)===null||t===void 0?void 0:t.updated_at)})}const r=l.some((e=>e.event==="owner:canceled"));if(((n=this.envelope)===null||n===void 0?void 0:n.status)==="canceled"&&!r){a.push({icon:"pencil",message:"Envelope Canceled.",date:new Date((o=this.envelope)===null||o===void 0?void 0:o.canceled_at)})}l.forEach((e=>{var i;const s=(((i=this.envelope)===null||i===void 0?void 0:i.recipients)||[]).find((i=>i.role_name===e.role_name));const t=v(s);switch(e.event.toLowerCase()){case"recipient:kba_verified":a.push({icon:"key",message:`KBA verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:kba_failed":a.push({icon:"keyslash",message:`KBA verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_verified":a.push({icon:"idcard",message:`ID verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_failed":a.push({icon:"idcardslash",message:`ID verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_verified":a.push({icon:"pin",message:`PIN verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_failed":a.push({icon:"pinslash",message:`PIN verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:signed":a.push({icon:"gesture",message:`Signed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:declined":a.push({icon:"clear",message:`Declined by ${t}.`,date:new Date(e.created_at)});break;case"recipient:opened":switch(e.event_detail){case"email":case"mail":a.push({icon:"visibility",message:`Opened by ${t}, via email.`,date:new Date(e.created_at)});break;case"sms":a.push({icon:"visibility",message:`Opened by ${t}, via SMS.`,date:new Date(e.created_at)});break;case"in_person_link":a.push({icon:"visibility",message:`Opened by ${t}, via In-person link.`,date:new Date(e.created_at)});break;case"in_app":a.push({icon:"visibility",message:`Opened by ${t}, via dashboard.`,date:new Date(e.created_at)});break;default:a.push({icon:"visibility",message:`Opened by ${t}.`,date:new Date(e.created_at)})}break;case"recipient:submitted":switch(e.event_detail){case"approver":a.push({icon:"check_circle",message:`Approved by ${t}.`,date:new Date(e.created_at)});break;default:a.push({icon:"send",message:`Submitted by ${t}.`,date:new Date(e.created_at)});break}break;case"recipient:prepared":a.push({icon:"send",message:`Prepared by ${t}.`,date:new Date(e.created_at)});break;case"recipient:claimed":if(e.event_detail==="guest"){a.push({icon:"account_circle",message:`${t} claimed the Envelope as a guest.`,date:new Date(e.created_at)})}else if(e.event_detail==="profile"){a.push({icon:"verified_user",message:`${t} claimed the Envelope as a verified user.`,date:new Date(e.created_at)})}break;case"recipient:agreed":a.push({icon:"done",message:`${t} agreed to use electronic records and signatures.`,date:new Date(e.created_at)});break;case"recipient:invited":if(e.event_detail==="sms"){a.push({icon:"textsms",message:`${t} has been invited via SMS.`,date:new Date(e.created_at)})}else{a.push({icon:"mail",message:`${t} has been invited via email.`,date:new Date(e.created_at)})}break;case"recipient:reminder":if(e.event_detail==="sms"){a.push({icon:"textsms",message:`${t} sent a reminder via SMS.`,date:new Date(e.created_at)})}else{a.push({icon:"mail",message:`${t} sent a reminder via email.`,date:new Date(e.created_at)})}break;case"invitation:resent":a.push({icon:"mail",message:`Invitation was resent to ${t}${e.event_detail==="reminder"?" by reminder":""}.`,date:new Date(e.created_at)});break;case"envelope:cc":a.push({icon:"contact_mail",message:`A copy has been sent to ${t}.`,date:new Date(e.created_at)});break;case"recipient:delegated":a.push({icon:"people",message:e.event_detail,date:new Date(e.created_at)});break;case"recipient:updated_info":a.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"owner:updated_recipient_info":a.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"created":a.push({icon:"create",message:`Envelope was created.`,date:new Date(e.created_at)});break;case"completed":a.push({icon:"done_all",message:`Envelope was completed.`,date:new Date(e.created_at)});break;case"envelope:canceled":case"envelope_canceled":case"canceled":case"owner:canceled":a.push({icon:"cancel",message:`Envelope was canceled by the creator.`,date:new Date(e.created_at)});break;case"envelope:expired":a.push({icon:"cancel",message:`Envelope expired.`,date:new Date(e.created_at)});break;case"owner:get_in_person_link":a.push({icon:"link",message:`Owner accessed the In-person link for ${s}.`,date:new Date(e.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",e);break}}));a.sort(((e,i)=>i.date.getTime()-e.date.getTime()));return a}handleToggleReminders(){if(this.remindersEnabled){return this.handleSetReminders(null,null)}else{return this.handleSetReminders(y,3*y)}}handleSetReminders(e,i){console.log("Updating reminders...");this.updatingReminders=true;h(this.endpoint,this.envelopeId,{initial_reminder:e,followup_reminders:i}).then((e=>{console.log("Updated",e);k.updateEnvelope(this.envelopeId,e);this.initialReminder=e.initial_reminder;this.followupReminders=e.followup_reminders;this.remindersEnabled=!!e.initial_reminder;this.updatingReminders=false})).catch((e=>{var i,s,t;console.log("Error updating envelope",e);this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!((t=this.envelope)===null||t===void 0?void 0:t.initial_reminder);this.updatingReminders=false;x(e.response.data.error,{style:"error"})}))}render(){var e,i,a,l,r,d,c,h,u,k,C,V;if(this.loading){return s(t,null)}const H=p(this.endpoint.profile,this.envelope);const E=this.prepareHistoryEntries();const L=((e=this.envelope)===null||e===void 0?void 0:e.status)!=="pending"&&((i=this.envelope)===null||i===void 0?void 0:i.status)!=="in progress";const R=w(this.envelope);return s(t,{class:this.panelOpen?"open":""},s("div",{class:"side-buttons"},s("button",{class:this.activeTab===1?"active":"",onClick:()=>this.setTab(1),innerHTML:z}),s("button",{class:this.activeTab===2?"active":"",onClick:()=>this.setTab(2),innerHTML:M}),s("button",{class:this.activeTab===3?"active":"",onClick:()=>this.setTab(3),innerHTML:D})),this.activeTab===1&&s("div",{class:"content"},s("div",{class:"title"},"Details"),s("div",{class:"label"},"Envelope ID"),s("div",{class:"value"},(a=this.envelope)===null||a===void 0?void 0:a.id),s("div",{class:"label"},"Date Created"),s("div",{class:"value"},o.format(new Date((l=this.envelope)===null||l===void 0?void 0:l.created_at),f)),s("div",{class:"label"},"Last Modified"),s("div",{class:"value"},o.format(new Date((r=this.envelope)===null||r===void 0?void 0:r.updated_at),f)),s("div",{class:"label"},"Status"),s("div",{class:"value"},b((d=this.envelope)===null||d===void 0?void 0:d.status)),s("div",{class:"label"},"Owner ID"),s("div",{class:"value"},(c=this.envelope)===null||c===void 0?void 0:c.profile_id),s("div",{class:"label"},"Owner Name"),s("div",{class:"value"},v((h=this.envelope)===null||h===void 0?void 0:h.profile)),s("div",{class:"label"},"Owner Email"),s("div",{class:"value"},(k=(u=this.envelope)===null||u===void 0?void 0:u.profile)===null||k===void 0?void 0:k.email)),this.activeTab===2&&s("div",{class:"content"},s("div",{class:"title"},"Recipients"),(C=this.envelope)===null||C===void 0?void 0:C.recipients.map(((e,i)=>{const t=g(e,R);const n=e.status!=="submitted";const o=this.canResendRecipient(e);const a=v(e);return s("div",{class:"recipient-detail"},s("div",{class:"recipient-header"},s("div",{class:"recipient-number"},i+1),s("div",{class:"recipient-name"},e.role_name.replace("delegated_to_","Delegated")),s("div",{class:{"recipient-status":true,[e.status]:true}},e.status),H&&!L&&s("verdocs-dropdown",{onOptionSelected:i=>this.handleRecipientAction(e,i.detail.id),options:[{id:"update",label:"Update",disabled:!n},{id:"reminder",label:"Send Reminder",disabled:!o},{id:"inperson",label:"Get In-Person Link",disabled:!t},{id:"reinvite",label:"Re-invite",disabled:!o}]})),s("dic",{class:"recipient-content"},s("div",{class:"recipient-name"},a),s("div",{class:"recipient-name"},e.email),s("div",{class:"recipient-name"},e.phone)))})),H&&s("div",{class:"reminders"},s("div",{class:"form-row"},s("div",{class:"reminders-label"},"Reminders"),s("verdocs-switch",{disabled:L||this.updatingReminders,checked:this.remindersEnabled,onCheckedChange:()=>this.handleToggleReminders()})),this.remindersEnabled&&s(n,null,s("div",{class:"form-row"},"NOTE: Reminders will only be sent for up to 14 days."),s("div",{class:"form-row"},s("div",{class:"form-label"},"Initial Reminder (days):"),s("verdocs-text-input",{placeholder:"In hours...",disabled:L||this.updatingReminders,value:String(Math.floor(this.initialReminder/y)),onBlur:e=>{this.initialReminder=Number(e.target.value)*y;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Follow-up Reminders:"),s("verdocs-text-input",{placeholder:"In hours...",disabled:L||this.updatingReminders,value:String(Math.floor(this.followupReminders/y)),onBlur:e=>{this.followupReminders=Number(e.target.value)*y;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Next Reminder:"),s("div",{style:{color:"#dddddd"}},o.format(new Date((V=this.envelope)===null||V===void 0?void 0:V.next_reminder),"P p"))))),H&&s("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Envelope",onClick:()=>this.showCancelDialog=!L,disabled:L})),this.activeTab===3&&s("div",{class:"content"},s("div",{class:"title"},"History"),E.map((e=>s("div",{class:"history-entry"},s("div",{class:"activity-icon",innerHTML:B[e.icon]||e.icon}),s("div",{class:"activity-details"},s("div",{class:"activity-text"},e.message),s("div",{class:"activity-date"},o.format(e.date,f))))))),this.showRecipientDialog&&s("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:()=>this.showRecipientDialog=""}),this.showCancelDialog&&s("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:()=>{this.showCancelDialog=false;this.handleCancelEnvelope()}}),this.showReinviteDialog&&s("verdocs-ok-dialog",{heading:"Re-invite Recipient?",message:'This will reset the recipient\'s KBA status and send a new signing invitation. If you just want to send a reminder, please click "Send Reminder" instead.',onNext:()=>{m(this.endpoint,this.envelopeId,this.showReinviteDialog).then((()=>{x("Recipient Reset",{style:"success"});this.showReinviteDialog=""})).catch((e=>{console.log("[SIDEBAR] Error resetting recipient",e);x("Error resetting recipient: "+e.message,{style:"error"});this.showReinviteDialog=""}))}}),this.showUpdateDialog&&s("verdocs-envelope-update-recipient",{envelopeId:this.envelopeId,roleName:this.showUpdateDialog,onNext:e=>{console.log("next",e.detail);if(e.detail.action==="save"){this.handleUpdateRecipient(e.detail.originalRecipient,e.detail.updatedRecipient)}else{this.showUpdateDialog=""}}}))}};V.style=C;export{V as verdocs_envelope_sidebar};
|
|
2
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as i,h as s,H as t,F as n}from"./p-BIRwgFLv.js";import{d as o}from"./p-dzBXqXlK.js";import{VerdocsEndpoint as a,getEnvelope as l,remindRecipient as r,cancelEnvelope as d,updateRecipient as c,formatFullName as v,updateEnvelope as h,userIsEnvelopeOwner as p,getRecipientsWithActions as w,resetRecipient as m,recipientCanAct as g,capitalize as b}from"@verdocs/js-sdk";import{a as f}from"./p-BqoC0yeA.js";import{V as x}from"./p-CyvDgtoV.js";import{S as u}from"./p-C1sRVZWv.js";import{S as k}from"./p-bS8INhRF.js";const C='verdocs-envelope-sidebar{font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;-ms-flex:0 0 56px;flex:0 0 56px;width:56px;min-height:400px;height:100%;background:#41435e;-webkit-transition:0.5s cubic-bezier(0.35, 0, 0.25, 1);transition:0.5s cubic-bezier(0.35, 0, 0.25, 1)}verdocs-envelope-sidebar.open{-ms-flex:0 0 400px;flex:0 0 400px;max-width:100%;width:400px}@media screen and (max-width: 500px){verdocs-envelope-sidebar.open{-ms-flex:0 0 300px;flex:0 0 300px;width:300px}}verdocs-envelope-sidebar .side-buttons{-ms-flex-direction:column;flex-direction:column;-ms-flex:0 0 56px;flex:0 0 56px;display:-ms-flexbox;display:flex}verdocs-envelope-sidebar .side-buttons button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;height:50px;outline:none;border:none;border-left:2px solid transparent;background:none;width:100%}verdocs-envelope-sidebar .side-buttons button.active{border-left:2px solid #50bd80}verdocs-envelope-sidebar .side-buttons button svg{color:white;width:24px;height:24px}verdocs-envelope-sidebar .content{-ms-flex:1;flex:1;display:none;color:white;-ms-flex-direction:column;flex-direction:column;padding:12px 16px 16px}verdocs-envelope-sidebar.open .content{display:-ms-flexbox;display:flex;overflow-y:scroll}verdocs-envelope-sidebar verdocs-ok-dialog .content{color:black}verdocs-envelope-sidebar .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:12px;font-size:16px;line-height:24px;font-weight:400}verdocs-envelope-sidebar .label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .value{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:14px;font-size:14px;font-weight:500;line-height:16px;color:#fff}verdocs-envelope-sidebar .manage-recipients-button{-ms-flex-item-align:center;align-self:center;white-space:nowrap;width:100%;margin:0 0 10px 0}verdocs-envelope-sidebar .manage-recipients-button .label{color:#ffffff;font-size:14px}verdocs-envelope-sidebar .manage-recipients-button button{width:100%}verdocs-envelope-sidebar .recipient-detail{-ms-flex:0;flex:0;padding:8px;font-size:14px;position:relative;-ms-flex-direction:column;flex-direction:column;border:solid 1px #979797;margin-bottom:16px}verdocs-envelope-sidebar .recipient-header{-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;gap:6px;-ms-flex-align:center;align-items:center;margin-bottom:4px}verdocs-envelope-sidebar .recipient-number{width:24px;height:24px;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-radius:24px;font-size:14px;font-weight:500;border:solid 1px #979797}verdocs-envelope-sidebar .recipient-name{-ms-flex:1;flex:1;-webkit-box-sizing:border-box;box-sizing:border-box;text-transform:capitalize}verdocs-envelope-sidebar .recipient-status{-ms-flex:0 0 100px;flex:0 0 100px;border-radius:5px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;max-width:100px;min-width:100px;background-color:#616161;text-transform:capitalize;font-size:14px;padding:3px 0}verdocs-envelope-sidebar .recipient-status.invited{background-color:#ff8f00}verdocs-envelope-sidebar .recipient-status.opened{background-color:#616161}verdocs-envelope-sidebar .recipient-status.signed,verdocs-envelope-sidebar .recipient-status.submitted{background-color:#2e7d32}verdocs-envelope-sidebar .recipient-status.pending{background-color:#0277bd}verdocs-envelope-sidebar .recipient-status.canceled,verdocs-envelope-sidebar .recipient-status.declined{background-color:#c62828}@media screen and (max-width: 500px){verdocs-envelope-sidebar .recipient-status{-ms-flex:1 1 60px;flex:1 1 60px;max-width:60px;min-width:60px}}verdocs-envelope-sidebar .recipient-content{-ms-flex-direction:column;flex-direction:column}verdocs-envelope-sidebar .recipient-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}verdocs-envelope-sidebar .history-entry{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;padding:8px 0 0;margin:8px 0 0;border-top:1px solid #dddddd}verdocs-envelope-sidebar .history-entry .activity-icon{margin-right:14px}verdocs-envelope-sidebar .history-entry .activity-icon svg{width:24px;height:24px;fill:#ffffff}verdocs-envelope-sidebar .history-entry .activity-text{font-size:14px;line-height:16px;margin-bottom:4px}verdocs-envelope-sidebar .history-entry .activity-date{font-size:12px;line-height:16px;color:rgba(255, 255, 255, 0.54)}verdocs-envelope-sidebar .content .history-entry:first-of-type{border-top:none}verdocs-envelope-sidebar .reminders{margin:15px 0 30px 0}verdocs-envelope-sidebar .reminders .form-row{margin:8px 0 0;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-sidebar .reminders .form-row .reminders-label{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row .form-label{-ms-flex:1;flex:1}verdocs-envelope-sidebar .reminders .form-row verdocs-text-input{margin:0;width:100px}';const y=24*60*60*1e3;const z=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z" /></svg>`;const M=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z" /></svg>`;const D=`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff"><path stroke-linecap="round" stroke-linejoin="round" d="M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z" /></svg>`;const B={visibility:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M12 15a3 3 0 100-6 3 3 0 000 6z" /><path fill-rule="evenodd" d="M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 010-1.113zM17.25 12a5.25 5.25 0 11-10.5 0 5.25 5.25 0 0110.5 0z" clip-rule="evenodd" /></svg>`,pencil:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path d="M21.731 2.269a2.625 2.625 0 00-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 000-3.712zM19.513 8.199l-3.712-3.712-12.15 12.15a5.25 5.25 0 00-1.32 2.214l-.8 2.685a.75.75 0 00.933.933l2.685-.8a5.25 5.25 0 002.214-1.32L19.513 8.2z" /></svg>`,mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,contact_mail:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>`,done:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M19.916 4.626a.75.75 0 01.208 1.04l-9 13.5a.75.75 0 01-1.154.114l-6-6a.75.75 0 011.06-1.06l5.353 5.353 8.493-12.739a.75.75 0 011.04-.208z" clip-rule="evenodd" /></svg>`,send:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M2.01 21L23 12 2.01 3 2 10l15 2-15 2z"/></svg>`,gesture:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M4.59 6.89c.7-.71 1.4-1.35 1.71-1.22.5.2 0 1.03-.3 1.52-.25.42-2.86 3.89-2.86 6.31 0 1.28.48 2.34 1.34 2.98.75.56 1.74.73 2.64.46 1.07-.31 1.95-1.4 3.06-2.77 1.21-1.49 2.83-3.44 4.08-3.44 1.63 0 1.65 1.01 1.76 1.79-3.78.64-5.38 3.67-5.38 5.37 0 1.7 1.44 3.09 3.21 3.09 1.63 0 4.29-1.33 4.69-6.1H21v-2.5h-2.47c-.15-1.65-1.09-4.2-4.03-4.2-2.25 0-4.18 1.91-4.94 2.84-.58.73-2.06 2.48-2.29 2.72-.25.3-.68.84-1.11.84-.45 0-.72-.83-.36-1.92.35-1.09 1.4-2.86 1.85-3.52.78-1.14 1.3-1.92 1.3-3.28C8.95 3.69 7.31 3 6.44 3 5.12 3 3.97 4 3.72 4.25c-.36.36-.66.66-.88.93l1.75 1.71zm9.29 11.66c-.31 0-.74-.26-.74-.72 0-.6.73-2.2 2.87-2.76-.3 2.69-1.43 3.48-2.13 3.48z"/></svg>`,clear:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/></svg>`,check_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>`,link:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1zM8 13h8v-2H8v2zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5z"/></svg>`,cancel:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"/></svg>`,done_all:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M18 7l-1.41-1.41-6.34 6.34 1.41 1.41L18 7zm4.24-1.41L11.66 16.17 7.48 12l-1.41 1.41L11.66 19l12-12-1.42-1.41zM.41 13.41L6 19l1.41-1.41L1.83 12 .41 13.41z"/></svg>`,create:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,perm_identity:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"/></svg>`,people:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>`,contact_email:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M21 8V7l-3 2-3-2v1l3 2 3-2zm1-5H2C.9 3 0 3.9 0 5v14c0 1.1.9 2 2 2h20c1.1 0 1.99-.9 1.99-2L24 5c0-1.1-.9-2-2-2zM8 6c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm6 12H2v-1c0-2 4-3.1 6-3.1s6 1.1 6 3.1v1zm8-6h-8V6h8v6z"/></svg>`,textsms:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zM9 11H7V9h2v2zm4 0h-2V9h2v2zm4 0h-2V9h2v2z"/></svg>`,verified_user:`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#ffffff"><path fill-rule="evenodd" d="M12.516 2.17a.75.75 0 00-1.032 0 11.209 11.209 0 01-7.877 3.08.75.75 0 00-.722.515A12.74 12.74 0 002.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 00.374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 00-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08zm3.094 8.016a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.75-5.25z" clip-rule="evenodd" /></svg>`,account_circle:`<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 0 24 24" width="24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>`,idcard:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,idcardslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16 10H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 14H18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M6.16992 15.0001C6.37606 14.4141 6.75902 13.9065 7.26594 13.5475C7.77286 13.1884 8.37873 12.9956 8.99992 12.9956C9.62111 12.9956 10.227 13.1884 10.7339 13.5475C11.2408 13.9065 11.6238 14.4141 11.8299 15.0001" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 13C10.1046 13 11 12.1046 11 11C11 9.89543 10.1046 9 9 9C7.89543 9 7 9.89543 7 11C7 12.1046 7.89543 13 9 13Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 5H4C2.89543 5 2 5.89543 2 7V17C2 18.1046 2.89543 19 4 19H20C21.1046 19 22 18.1046 22 17V7C22 5.89543 21.1046 5 20 5Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,key:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,keyslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.586 17.4139C2.2109 17.7889 2.00011 18.2975 2 18.8279V20.9999C2 21.2651 2.10536 21.5195 2.29289 21.707C2.48043 21.8946 2.73478 21.9999 3 21.9999H6C6.26522 21.9999 6.51957 21.8946 6.70711 21.707C6.89464 21.5195 7 21.2651 7 20.9999V19.9999C7 19.7347 7.10536 19.4803 7.29289 19.2928C7.48043 19.1053 7.73478 18.9999 8 18.9999H9C9.26522 18.9999 9.51957 18.8946 9.70711 18.707C9.89464 18.5195 10 18.2651 10 17.9999V16.9999C10 16.7347 10.1054 16.4803 10.2929 16.2928C10.4804 16.1053 10.7348 15.9999 11 15.9999H11.172C11.7024 15.9998 12.211 15.789 12.586 15.4139L13.4 14.5999C14.7898 15.0841 16.3028 15.0822 17.6915 14.5947C19.0801 14.1071 20.2622 13.1628 21.0444 11.916C21.8265 10.6693 22.1624 9.19409 21.9971 7.73165C21.8318 6.26922 21.1751 4.90617 20.1344 3.86549C19.0937 2.8248 17.7307 2.1681 16.2683 2.00281C14.8058 1.83751 13.3306 2.17341 12.0839 2.95556C10.8372 3.7377 9.89279 4.91979 9.40525 6.30844C8.91771 7.69708 8.91585 9.21008 9.4 10.5999L2.586 17.4139Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 8C16.7761 8 17 7.77614 17 7.5C17 7.22386 16.7761 7 16.5 7C16.2239 7 16 7.22386 16 7.5C16 7.77614 16.2239 8 16.5 8Z" fill="black" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pin:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H18C18.2652 17 18.5196 16.8946 18.7071 16.7071C18.8946 16.5196 19 16.2652 19 16V15.24C18.9998 14.8679 18.8958 14.5033 18.6997 14.187C18.5036 13.8708 18.2232 13.6156 17.89 13.45L16.11 12.55C15.7768 12.3844 15.4964 12.1292 15.3003 11.813C15.1042 11.4967 15.0002 11.1321 15 10.76V7C15 6.73478 15.1054 6.48043 15.2929 6.29289C15.4804 6.10536 15.7348 6 16 6C16.5304 6 17.0391 5.78929 17.4142 5.41421C17.7893 5.03914 18 4.53043 18 4C18 3.46957 17.7893 2.96086 17.4142 2.58579C17.0391 2.21071 16.5304 2 16 2H8C7.46957 2 6.96086 2.21071 6.58579 2.58579C6.21071 2.96086 6 3.46957 6 4C6 4.53043 6.21071 5.03914 6.58579 5.41421C6.96086 5.78929 7.46957 6 8 6C8.26522 6 8.51957 6.10536 8.70711 6.29289C8.89464 6.48043 9 6.73478 9 7V10.76Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`,pinslash:`<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 17V22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M15.0006 9.34V7C15.0006 6.73478 15.106 6.48043 15.2935 6.29289C15.4811 6.10536 15.7354 6 16.0006 6C16.5311 6 17.0398 5.78929 17.4148 5.41421C17.7899 5.03914 18.0006 4.53043 18.0006 4C18.0006 3.46957 17.7899 2.96086 17.4148 2.58579C17.0398 2.21071 16.5311 2 16.0006 2H7.89062" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 2L22 22" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M9 9V10.76C8.9998 11.1321 8.89581 11.4967 8.69972 11.813C8.50363 12.1292 8.22321 12.3844 7.89 12.55L6.11 13.45C5.77679 13.6156 5.49637 13.8708 5.30028 14.187C5.10419 14.5033 5.0002 14.8679 5 15.24V16C5 16.2652 5.10536 16.5196 5.29289 16.7071C5.48043 16.8946 5.73478 17 6 17H17" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>`};const V=class{constructor(s){e(this,s);this.sdkError=i(this,"sdkError");this.envelopeUpdated=i(this,"envelopeUpdated");this.toggle=i(this,"toggle");this.another=i(this,"another");this.envelopeListenerId=null;this.endpoint=a.getDefault();this.envelopeId="";this.activeTab=1;this.panelOpen=false;this.showRecipientDialog="";this.showCancelDialog=false;this.showReinviteDialog="";this.showUpdateDialog="";this.remindersEnabled=false;this.updatingReminders=false;this.initialReminder=null;this.followupReminders=null;this.loading=true;this.envelope=null}async componentWillLoad(){var e,i,s;try{this.endpoint.loadSession();if(!this.envelopeId){console.log(`[SIDEBAR] Missing required envelope ID ${this.envelopeId}`);return}if(!this.endpoint.session){console.log("[SIDEBAR] Unable to start session, must be authenticated");return}this.listenToEnvelope()}catch(t){console.log("[SIDEBAR] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new u(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(s=t.response)===null||s===void 0?void 0:s.data))}}disconnectedCallback(){this.unlistenToEnvelope()}async listenToEnvelope(){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();k.subscribe("envelopes",this.envelopeId,(()=>l(this.endpoint,this.envelopeId)),false,(e=>{var i,s;this.envelope=e;this.loading=false;this.sortEnvelopeRecipients();this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!this.initialReminder}))}unlistenToEnvelope(){if(this.envelopeListenerId){k.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}}sortEnvelopeRecipients(){var e;(((e=this.envelope)===null||e===void 0?void 0:e.recipients)||[]).sort(((e,i)=>e.sequence===i.sequence?e.order-i.order:e.sequence-i.sequence))}setTab(e){var i;this.panelOpen=e!==this.activeTab||!this.panelOpen;(i=this.toggle)===null||i===void 0?void 0:i.emit({open:this.panelOpen});this.activeTab=e}canResendRecipient(e){var i;return!["pending","declined","submitted","canceled"].includes(e.status)&&!["complete","declined","canceled"].includes((i=this.envelope)===null||i===void 0?void 0:i.status)}handleRecipientAction(e,i){var s;console.log("[SIDEBAR] Recipient action",i,e);switch(i){case"update":this.showUpdateDialog=e.role_name;break;case"reminder":r(this.endpoint,this.envelopeId,e.role_name).then((()=>{x("Reminder Sent",{style:"success"})})).catch((e=>{console.log("[SIDEBAR] Error resending invitation",e);x("Error resending invitation: "+e.message,{style:"error"})}));break;case"reinvite":this.showReinviteDialog=e.role_name;break;case"inperson":this.showRecipientDialog=e.role_name;break;case"modify":x("This feature will be enabled in a future release. Please try again later.",{style:"info"});break;case"details":x("This feature will be enabled in a future release. Please try again later.",{style:"info"});break}(s=this.envelopeUpdated)===null||s===void 0?void 0:s.emit({endpoint:this.endpoint,envelope:this.envelope,event:i})}handleCancelEnvelope(){this.loading=true;d(this.endpoint,this.envelopeId).then((async e=>{var i;console.log("[SIDEBAR] Envelope canceled",e);x("Envelope canceled",{style:"success"});const s=JSON.parse(JSON.stringify(this.envelope));s.status="canceled";k.updateEnvelope(this.envelopeId,s);this.loading=false;this.panelOpen=false;(i=this.envelopeUpdated)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:s,event:"canceled"})})).catch((e=>{console.log("[SIDEBAR] Error canceling envelope",e);this.loading=false;x("Error canceling envelope: "+e.message,{style:"error"})}))}handleUpdateRecipient(e,i){console.log("Updating recipient",e,i);const s={};if(i.email!==e.email){s.email=i.email}if(i.phone!==e.phone){s.phone=i.phone}if(i.message!==e.message){s.message=i.message}if(i.first_name!==e.first_name){s.first_name=i.first_name}if(i.last_name!==e.last_name){s.last_name=i.last_name}if(Object.keys(s).length>0){c(this.endpoint,this.envelopeId,e.role_name,s).then((e=>{x("Recipient updated",{style:"success"});console.log("[SIDEBAR] Updated recipient",e);k.getEnvelope(this.endpoint,this.envelopeId,true);this.showUpdateDialog=""})).catch((e=>{x(e.response.data.error,{style:"error"});this.showUpdateDialog=""}))}else{this.showUpdateDialog=""}}prepareHistoryEntries(){var e,i,s,t,n,o;const a=[];const l=((e=this.envelope)===null||e===void 0?void 0:e.history_entries)||[];a.push({icon:"pencil",message:"Envelope created.",date:new Date((i=this.envelope)===null||i===void 0?void 0:i.created_at)});if(((s=this.envelope)===null||s===void 0?void 0:s.status)==="complete"){a.push({icon:"pencil",message:"Envelope completed.",date:new Date((t=this.envelope)===null||t===void 0?void 0:t.updated_at)})}const r=l.some((e=>e.event==="owner:canceled"));if(((n=this.envelope)===null||n===void 0?void 0:n.status)==="canceled"&&!r){a.push({icon:"pencil",message:"Envelope Canceled.",date:new Date((o=this.envelope)===null||o===void 0?void 0:o.canceled_at)})}l.forEach((e=>{var i;const s=(((i=this.envelope)===null||i===void 0?void 0:i.recipients)||[]).find((i=>i.role_name===e.role_name));const t=v(s);switch(e.event.toLowerCase()){case"recipient:kba_verified":a.push({icon:"key",message:`KBA verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:kba_failed":a.push({icon:"keyslash",message:`KBA verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_verified":a.push({icon:"idcard",message:`ID verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:id_failed":a.push({icon:"idcardslash",message:`ID verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_verified":a.push({icon:"pin",message:`PIN verification completed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:pin_failed":a.push({icon:"pinslash",message:`PIN verification failed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:signed":a.push({icon:"gesture",message:`Signed by ${t}.`,date:new Date(e.created_at)});break;case"recipient:declined":a.push({icon:"clear",message:`Declined by ${t}.`,date:new Date(e.created_at)});break;case"recipient:opened":switch(e.event_detail){case"email":case"mail":a.push({icon:"visibility",message:`Opened by ${t}, via email.`,date:new Date(e.created_at)});break;case"sms":a.push({icon:"visibility",message:`Opened by ${t}, via SMS.`,date:new Date(e.created_at)});break;case"in_person_link":a.push({icon:"visibility",message:`Opened by ${t}, via In-person link.`,date:new Date(e.created_at)});break;case"in_app":a.push({icon:"visibility",message:`Opened by ${t}, via dashboard.`,date:new Date(e.created_at)});break;default:a.push({icon:"visibility",message:`Opened by ${t}.`,date:new Date(e.created_at)})}break;case"recipient:submitted":switch(e.event_detail){case"approver":a.push({icon:"check_circle",message:`Approved by ${t}.`,date:new Date(e.created_at)});break;default:a.push({icon:"send",message:`Submitted by ${t}.`,date:new Date(e.created_at)});break}break;case"recipient:prepared":a.push({icon:"send",message:`Prepared by ${t}.`,date:new Date(e.created_at)});break;case"recipient:claimed":if(e.event_detail==="guest"){a.push({icon:"account_circle",message:`${t} claimed the Envelope as a guest.`,date:new Date(e.created_at)})}else if(e.event_detail==="profile"){a.push({icon:"verified_user",message:`${t} claimed the Envelope as a verified user.`,date:new Date(e.created_at)})}break;case"recipient:agreed":a.push({icon:"done",message:`${t} agreed to use electronic records and signatures.`,date:new Date(e.created_at)});break;case"recipient:invited":if(e.event_detail==="sms"){a.push({icon:"textsms",message:`${t} has been invited via SMS.`,date:new Date(e.created_at)})}else{a.push({icon:"mail",message:`${t} has been invited via email.`,date:new Date(e.created_at)})}break;case"recipient:reminder":if(e.event_detail==="sms"){a.push({icon:"textsms",message:`${t} sent a reminder via SMS.`,date:new Date(e.created_at)})}else{a.push({icon:"mail",message:`${t} sent a reminder via email.`,date:new Date(e.created_at)})}break;case"invitation:resent":a.push({icon:"mail",message:`Invitation was resent to ${t}${e.event_detail==="reminder"?" by reminder":""}.`,date:new Date(e.created_at)});break;case"envelope:cc":a.push({icon:"contact_mail",message:`A copy has been sent to ${t}.`,date:new Date(e.created_at)});break;case"recipient:delegated":a.push({icon:"people",message:e.event_detail,date:new Date(e.created_at)});break;case"recipient:updated_info":a.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"owner:updated_recipient_info":a.push({icon:"perm_identity",message:e.event_detail,date:new Date(e.created_at)});break;case"created":a.push({icon:"create",message:`Envelope was created.`,date:new Date(e.created_at)});break;case"completed":a.push({icon:"done_all",message:`Envelope was completed.`,date:new Date(e.created_at)});break;case"envelope:canceled":case"envelope_canceled":case"canceled":case"owner:canceled":a.push({icon:"cancel",message:`Envelope was canceled by the creator.`,date:new Date(e.created_at)});break;case"envelope:expired":a.push({icon:"cancel",message:`Envelope expired.`,date:new Date(e.created_at)});break;case"owner:get_in_person_link":a.push({icon:"link",message:`Owner accessed the In-person link for ${s}.`,date:new Date(e.created_at)});break;default:console.log("[SIDEBAR] Unknown history type",e);break}}));a.sort(((e,i)=>i.date.getTime()-e.date.getTime()));return a}handleToggleReminders(){if(this.remindersEnabled){return this.handleSetReminders(null,null)}else{return this.handleSetReminders(y,3*y)}}handleSetReminders(e,i){console.log("Updating reminders...");this.updatingReminders=true;h(this.endpoint,this.envelopeId,{initial_reminder:e,followup_reminders:i}).then((e=>{console.log("Updated",e);k.updateEnvelope(this.envelopeId,e);this.initialReminder=e.initial_reminder;this.followupReminders=e.followup_reminders;this.remindersEnabled=!!e.initial_reminder;this.updatingReminders=false})).catch((e=>{var i,s,t;console.log("Error updating envelope",e);this.initialReminder=(i=this.envelope)===null||i===void 0?void 0:i.initial_reminder;this.followupReminders=(s=this.envelope)===null||s===void 0?void 0:s.followup_reminders;this.remindersEnabled=!!((t=this.envelope)===null||t===void 0?void 0:t.initial_reminder);this.updatingReminders=false;x(e.response.data.error,{style:"error"})}))}render(){var e,i,a,l,r,d,c,h,u,k,C,V;if(this.loading){return s(t,null)}const H=p(this.endpoint.profile,this.envelope);const E=this.prepareHistoryEntries();const L=((e=this.envelope)===null||e===void 0?void 0:e.status)!=="pending"&&((i=this.envelope)===null||i===void 0?void 0:i.status)!=="in progress";const R=w(this.envelope);return s(t,{class:this.panelOpen?"open":""},s("div",{class:"side-buttons"},s("button",{class:this.activeTab===1?"active":"",onClick:()=>this.setTab(1),innerHTML:z}),s("button",{class:this.activeTab===2?"active":"",onClick:()=>this.setTab(2),innerHTML:M}),s("button",{class:this.activeTab===3?"active":"",onClick:()=>this.setTab(3),innerHTML:D})),this.activeTab===1&&s("div",{class:"content"},s("div",{class:"title"},"Details"),s("div",{class:"label"},"Envelope ID"),s("div",{class:"value"},(a=this.envelope)===null||a===void 0?void 0:a.id),s("div",{class:"label"},"Date Created"),s("div",{class:"value"},o.format(new Date((l=this.envelope)===null||l===void 0?void 0:l.created_at),f)),s("div",{class:"label"},"Last Modified"),s("div",{class:"value"},o.format(new Date((r=this.envelope)===null||r===void 0?void 0:r.updated_at),f)),s("div",{class:"label"},"Status"),s("div",{class:"value"},b((d=this.envelope)===null||d===void 0?void 0:d.status)),s("div",{class:"label"},"Owner ID"),s("div",{class:"value"},(c=this.envelope)===null||c===void 0?void 0:c.profile_id),s("div",{class:"label"},"Owner Name"),s("div",{class:"value"},v((h=this.envelope)===null||h===void 0?void 0:h.profile)),s("div",{class:"label"},"Owner Email"),s("div",{class:"value"},(k=(u=this.envelope)===null||u===void 0?void 0:u.profile)===null||k===void 0?void 0:k.email)),this.activeTab===2&&s("div",{class:"content"},s("div",{class:"title"},"Recipients"),(C=this.envelope)===null||C===void 0?void 0:C.recipients.map(((e,i)=>{const t=g(e,R);const n=e.status!=="submitted";const o=this.canResendRecipient(e);const a=v(e);return s("div",{class:"recipient-detail"},s("div",{class:"recipient-header"},s("div",{class:"recipient-number"},i+1),s("div",{class:"recipient-name"},e.role_name.replace("delegated_to_","Delegated")),s("div",{class:{"recipient-status":true,[e.status]:true}},e.status),H&&!L&&s("verdocs-dropdown",{onOptionSelected:i=>this.handleRecipientAction(e,i.detail.id),options:[{id:"update",label:"Update",disabled:!n},{id:"reminder",label:"Send Reminder",disabled:!o},{id:"inperson",label:"Get In-Person Link",disabled:!t},{id:"reinvite",label:"Re-invite",disabled:!o}]})),s("dic",{class:"recipient-content"},s("div",{class:"recipient-name"},a),s("div",{class:"recipient-name"},e.email),s("div",{class:"recipient-name"},e.phone)))})),H&&s("div",{class:"reminders"},s("div",{class:"form-row"},s("div",{class:"reminders-label"},"Reminders"),s("verdocs-switch",{disabled:L||this.updatingReminders,checked:this.remindersEnabled,onCheckedChange:()=>this.handleToggleReminders()})),this.remindersEnabled&&s(n,null,s("div",{class:"form-row"},"NOTE: Reminders will only be sent for up to 14 days."),s("div",{class:"form-row"},s("div",{class:"form-label"},"Initial Reminder (days):"),s("verdocs-text-input",{placeholder:"In hours...",disabled:L||this.updatingReminders,value:String(Math.floor(this.initialReminder/y)),onBlur:e=>{this.initialReminder=Number(e.target.value)*y;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Follow-up Reminders:"),s("verdocs-text-input",{placeholder:"In hours...",disabled:L||this.updatingReminders,value:String(Math.floor(this.followupReminders/y)),onBlur:e=>{this.followupReminders=Number(e.target.value)*y;this.handleSetReminders(this.initialReminder,this.followupReminders)}})),s("div",{class:"form-row"},s("div",{class:"form-label"},"Next Reminder:"),s("div",{style:{color:"#dddddd"}},o.format(new Date((V=this.envelope)===null||V===void 0?void 0:V.next_reminder),"P p"))))),H&&s("verdocs-button",{class:"manage-recipients-button",variant:"standard",label:"Cancel Envelope",onClick:()=>this.showCancelDialog=!L,disabled:L})),this.activeTab===3&&s("div",{class:"content"},s("div",{class:"title"},"History"),E.map((e=>s("div",{class:"history-entry"},s("div",{class:"activity-icon",innerHTML:B[e.icon]||e.icon}),s("div",{class:"activity-details"},s("div",{class:"activity-text"},e.message),s("div",{class:"activity-date"},o.format(e.date,f))))))),this.showRecipientDialog&&s("verdocs-envelope-recipient-link",{envelopeId:this.envelopeId,roleName:this.showRecipientDialog,onNext:()=>this.showRecipientDialog=""}),this.showCancelDialog&&s("verdocs-ok-dialog",{heading:"Cancel Envelope?",message:"Are you sure you want to cancel this Envelope? This action cannot be undone.",onNext:()=>{this.showCancelDialog=false;this.handleCancelEnvelope()}}),this.showReinviteDialog&&s("verdocs-ok-dialog",{heading:"Re-invite Recipient?",message:'This will reset the recipient\'s KBA status and send a new signing invitation. If you just want to send a reminder, please click "Send Reminder" instead.',onNext:()=>{m(this.endpoint,this.envelopeId,this.showReinviteDialog).then((()=>{x("Recipient Reset",{style:"success"});this.showReinviteDialog=""})).catch((e=>{console.log("[SIDEBAR] Error resetting recipient",e);x("Error resetting recipient: "+e.message,{style:"error"});this.showReinviteDialog=""}))}}),this.showUpdateDialog&&s("verdocs-envelope-update-recipient",{envelopeId:this.envelopeId,roleName:this.showUpdateDialog,onNext:e=>{console.log("next",e.detail);if(e.detail.action==="save"){this.handleUpdateRecipient(e.detail.originalRecipient,e.detail.updatedRecipient)}else{this.showUpdateDialog=""}}}))}};V.style=C;export{V as verdocs_envelope_sidebar};
|
|
2
|
+
//# sourceMappingURL=p-c1b0b0a8.entry.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{r as e,c as t,h as n,F as o}from"./p-BIRwgFLv.js";import{VerdocsEndpoint as r,formatFullName as i,getActiveEntitlements as s,isValidEmail as c}from"@verdocs/js-sdk";import{c as a,g as l}from"./p-BFTU3MAI.js";import{B as u}from"./p-C_Xku1v2.js";import{e as f}from"./p-
|
|
2
|
-
/*! Axios v1.13.5 Copyright (c) 2026 Matt Zabriskie and contributors */var d;var h;function p(){if(h)return d;h=1;function e(e,t){return function n(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype;const{getPrototypeOf:n}=Object;const{iterator:o,toStringTag:r}=Symbol;const i=(e=>n=>{const o=t.call(n);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null));const s=e=>{e=e.toLowerCase();return t=>i(t)===e};const c=e=>t=>typeof t===e;const{isArray:l}=Array;const u=c("undefined");function f(e){return e!==null&&!u(e)&&e.constructor!==null&&!u(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const p=s("ArrayBuffer");function m(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&p(e.buffer)}return t}const b=c("string");const w=c("function");const v=c("number");const g=e=>e!==null&&typeof e==="object";const y=e=>e===true||e===false;const x=e=>{if(i(e)!=="object"){return false}const t=n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(r in e)&&!(o in e)};const k=e=>{if(!g(e)||f(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};const R=s("Date");const O=s("File");const S=s("Blob");const T=s("FileList");const E=e=>g(e)&&w(e.pipe);const j=e=>{let t;return e&&(typeof FormData==="function"&&e instanceof FormData||w(e.append)&&((t=i(e))==="formdata"||t==="object"&&w(e.toString)&&e.toString()==="[object FormData]"))};const A=s("URLSearchParams");const[C,F,N,P]=["ReadableStream","Request","Response","Headers"].map(s);const U=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function B(e,t,{allOwnKeys:n=false}={}){if(e===null||typeof e==="undefined"){return}let o;let r;if(typeof e!=="object"){e=[e]}if(l(e)){for(o=0,r=e.length;o<r;o++){t.call(null,e[o],o,e)}}else{if(f(e)){return}const r=n?Object.getOwnPropertyNames(e):Object.keys(e);const i=r.length;let s;for(o=0;o<i;o++){s=r[o];t.call(null,e[s],s,e)}}}function _(e,t){if(f(e)){return null}t=t.toLowerCase();const n=Object.keys(e);let o=n.length;let r;while(o-- >0){r=n[o];if(t===r.toLowerCase()){return r}}return null}const I=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:a})();const D=e=>!u(e)&&e!==I;function q(){const{caseless:e,skipUndefined:t}=D(this)&&this||{};const n={};const o=(o,r)=>{if(r==="__proto__"||r==="constructor"||r==="prototype"){return}const i=e&&_(n,r)||r;if(x(n[i])&&x(o)){n[i]=q(n[i],o)}else if(x(o)){n[i]=q({},o)}else if(l(o)){n[i]=o.slice()}else if(!t||!u(o)){n[i]=o}};for(let e=0,t=arguments.length;e<t;e++){arguments[e]&&B(arguments[e],o)}return n}const L=(t,n,o,{allOwnKeys:r}={})=>{B(n,((n,r)=>{if(o&&w(n)){Object.defineProperty(t,r,{value:e(n,o),writable:true,enumerable:true,configurable:true})}else{Object.defineProperty(t,r,{value:n,writable:true,enumerable:true,configurable:true})}}),{allOwnKeys:r});return t};const M=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const z=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o);Object.defineProperty(e.prototype,"constructor",{value:e,writable:true,enumerable:false,configurable:true});Object.defineProperty(e,"super",{value:t.prototype});n&&Object.assign(e.prototype,n)};const $=(e,t,o,r)=>{let i;let s;let c;const a={};t=t||{};if(e==null)return t;do{i=Object.getOwnPropertyNames(e);s=i.length;while(s-- >0){c=i[s];if((!r||r(c,e,t))&&!a[c]){t[c]=e[c];a[c]=true}}e=o!==false&&n(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t};const H=(e,t,n)=>{e=String(e);if(n===undefined||n>e.length){n=e.length}n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n};const K=e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);while(t-- >0){n[t]=e[t]}return n};const J=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&n(Uint8Array));const X=(e,t)=>{const n=e&&e[o];const r=n.call(e);let i;while((i=r.next())&&!i.done){const n=i.value;t.call(e,n[0],n[1])}};const W=(e,t)=>{let n;const o=[];while((n=e.exec(t))!==null){o.push(n)}return o};const V=s("HTMLFormElement");const G=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,n,o){return n.toUpperCase()+o}));const Z=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype);const Q=s("RegExp");const Y=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e);const o={};B(n,((n,r)=>{let i;if((i=t(n,r,e))!==false){o[r]=i||n}}));Object.defineProperties(e,o)};const ee=e=>{Y(e,((t,n)=>{if(w(e)&&["arguments","caller","callee"].indexOf(n)!==-1){return false}const o=e[n];if(!w(o))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}}}))};const te=(e,t)=>{const n={};const o=e=>{e.forEach((e=>{n[e]=true}))};l(e)?o(e):o(String(e).split(t));return n};const ne=()=>{};const oe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function re(e){return!!(e&&w(e.append)&&e[r]==="FormData"&&e[o])}const ie=e=>{const t=new Array(10);const n=(e,o)=>{if(g(e)){if(t.indexOf(e)>=0){return}if(f(e)){return e}if(!("toJSON"in e)){t[o]=e;const r=l(e)?[]:{};B(e,((e,t)=>{const i=n(e,o+1);!u(i)&&(r[t]=i)}));t[o]=undefined;return r}}return e};return n(e,0)};const se=s("AsyncFunction");const ce=e=>e&&(g(e)||w(e))&&w(e.then)&&w(e.catch);const ae=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{I.addEventListener("message",(({source:n,data:o})=>{if(n===I&&o===e){t.length&&t.shift()()}}),false);return n=>{t.push(n);I.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",w(I.postMessage));const le=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(I):typeof process!=="undefined"&&process.nextTick||ae;const ue=e=>e!=null&&w(e[o]);var fe={isArray:l,isArrayBuffer:p,isBuffer:f,isFormData:j,isArrayBufferView:m,isString:b,isNumber:v,isBoolean:y,isObject:g,isPlainObject:x,isEmptyObject:k,isReadableStream:C,isRequest:F,isResponse:N,isHeaders:P,isUndefined:u,isDate:R,isFile:O,isBlob:S,isRegExp:Q,isFunction:w,isStream:E,isURLSearchParams:A,isTypedArray:J,isFileList:T,forEach:B,merge:q,extend:L,trim:U,stripBOM:M,inherits:z,toFlatObject:$,kindOf:i,kindOfTest:s,endsWith:H,toArray:K,forEachEntry:X,matchAll:W,isHTMLForm:V,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Y,freezeMethods:ee,toObjectSet:te,toCamelCase:G,noop:ne,toFiniteNumber:oe,findKey:_,global:I,isContextDefined:D,isSpecCompliantForm:re,toJSONObject:ie,isAsyncFn:se,isThenable:ce,setImmediate:ae,asap:le,isIterable:ue};class de extends Error{static from(e,t,n,o,r,i){const s=new de(e.message,t||e.code,n,o,r);s.cause=e;s.name=e.name;i&&Object.assign(s,i);return s}constructor(e,t,n,o,r){super(e);this.name="AxiosError";this.isAxiosError=true;t&&(this.code=t);n&&(this.config=n);o&&(this.request=o);if(r){this.response=r;this.status=r.status}}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:fe.toJSONObject(this.config),code:this.code,status:this.status}}}de.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";de.ERR_BAD_OPTION="ERR_BAD_OPTION";de.ECONNABORTED="ECONNABORTED";de.ETIMEDOUT="ETIMEDOUT";de.ERR_NETWORK="ERR_NETWORK";de.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";de.ERR_DEPRECATED="ERR_DEPRECATED";de.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";de.ERR_BAD_REQUEST="ERR_BAD_REQUEST";de.ERR_CANCELED="ERR_CANCELED";de.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";de.ERR_INVALID_URL="ERR_INVALID_URL";var he=de;var pe=null;function me(e){return fe.isPlainObject(e)||fe.isArray(e)}function be(e){return fe.endsWith(e,"[]")?e.slice(0,-2):e}function we(e,t,n){if(!e)return t;return e.concat(t).map((function e(t,o){t=be(t);return!n&&o?"["+t+"]":t})).join(n?".":"")}function ve(e){return fe.isArray(e)&&!e.some(me)}const ge=fe.toFlatObject(fe,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function ye(e,t,n){if(!fe.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;n=fe.toFlatObject(n,{metaTokens:true,dots:false,indexes:false},false,(function e(t,n){return!fe.isUndefined(n[t])}));const o=n.metaTokens;const r=n.visitor||u;const i=n.dots;const s=n.indexes;const c=n.Blob||typeof Blob!=="undefined"&&Blob;const a=c&&fe.isSpecCompliantForm(t);if(!fe.isFunction(r)){throw new TypeError("visitor must be a function")}function l(e){if(e===null)return"";if(fe.isDate(e)){return e.toISOString()}if(fe.isBoolean(e)){return e.toString()}if(!a&&fe.isBlob(e)){throw new he("Blob is not supported. Use a Buffer instead.")}if(fe.isArrayBuffer(e)||fe.isTypedArray(e)){return a&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function u(e,n,r){let c=e;if(e&&!r&&typeof e==="object"){if(fe.endsWith(n,"{}")){n=o?n:n.slice(0,-2);e=JSON.stringify(e)}else if(fe.isArray(e)&&ve(e)||(fe.isFileList(e)||fe.endsWith(n,"[]"))&&(c=fe.toArray(e))){n=be(n);c.forEach((function e(o,r){!(fe.isUndefined(o)||o===null)&&t.append(s===true?we([n],r,i):s===null?n:n+"[]",l(o))}));return false}}if(me(e)){return true}t.append(we(r,n,i),l(e));return false}const f=[];const d=Object.assign(ge,{defaultVisitor:u,convertValue:l,isVisitable:me});function h(e,n){if(fe.isUndefined(e))return;if(f.indexOf(e)!==-1){throw Error("Circular reference detected in "+n.join("."))}f.push(e);fe.forEach(e,(function e(o,i){const s=!(fe.isUndefined(o)||o===null)&&r.call(t,o,fe.isString(i)?i.trim():i,n,d);if(s===true){h(o,n?n.concat(i):[i])}}));f.pop()}if(!fe.isObject(e)){throw new TypeError("data must be an object")}h(e);return t}function xe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function e(n){return t[n]}))}function ke(e,t){this._pairs=[];e&&ye(e,this,t)}const Re=ke.prototype;Re.append=function e(t,n){this._pairs.push([t,n])};Re.toString=function e(t){const n=t?function(e){return t.call(this,e,xe)}:xe;return this._pairs.map((function e(t){return n(t[0])+"="+n(t[1])}),"").join("&")};function Oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Se(e,t,n){if(!t){return e}const o=n&&n.encode||Oe;const r=fe.isFunction(n)?{serialize:n}:n;const i=r&&r.serialize;let s;if(i){s=i(t,r)}else{s=fe.isURLSearchParams(t)?t.toString():new ke(t,r).toString(o)}if(s){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Te{constructor(){this.handlers=[]}use(e,t,n){this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){fe.forEach(this.handlers,(function t(n){if(n!==null){e(n)}}))}}var Ee=Te;var je={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false,legacyInterceptorReqResOrdering:true};var Ae=typeof URLSearchParams!=="undefined"?URLSearchParams:ke;var Ce=typeof FormData!=="undefined"?FormData:null;var Fe=typeof Blob!=="undefined"?Blob:null;var Ne={isBrowser:true,classes:{URLSearchParams:Ae,FormData:Ce,Blob:Fe},protocols:["http","https","file","blob","url","data"]};const Pe=typeof window!=="undefined"&&typeof document!=="undefined";const Ue=typeof navigator==="object"&&navigator||undefined;const Be=Pe&&(!Ue||["ReactNative","NativeScript","NS"].indexOf(Ue.product)<0);const _e=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const Ie=Pe&&window.location.href||"http://localhost";var De=Object.freeze({__proto__:null,hasBrowserEnv:Pe,hasStandardBrowserWebWorkerEnv:_e,hasStandardBrowserEnv:Be,navigator:Ue,origin:Ie});var qe={...De,...Ne};function Le(e,t){return ye(e,new qe.classes.URLSearchParams,{visitor:function(e,t,n,o){if(qe.isNode&&fe.isBuffer(e)){this.append(t,e.toString("base64"));return false}return o.defaultVisitor.apply(this,arguments)},...t})}function Me(e){return fe.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function ze(e){const t={};const n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o<r;o++){i=n[o];t[i]=e[i]}return t}function $e(e){function t(e,n,o,r){let i=e[r++];if(i==="__proto__")return true;const s=Number.isFinite(+i);const c=r>=e.length;i=!i&&fe.isArray(o)?o.length:i;if(c){if(fe.hasOwnProp(o,i)){o[i]=[o[i],n]}else{o[i]=n}return!s}if(!o[i]||!fe.isObject(o[i])){o[i]=[]}const a=t(e,n,o[i],r);if(a&&fe.isArray(o[i])){o[i]=ze(o[i])}return!s}if(fe.isFormData(e)&&fe.isFunction(e.entries)){const n={};fe.forEachEntry(e,((e,o)=>{t(Me(e),o,n,0)}));return n}return null}function He(e,t,n){if(fe.isString(e)){try{(0,JSON.parse)(e);return fe.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(n||JSON.stringify)(e)}const Ke={transitional:je,adapter:["xhr","http","fetch"],transformRequest:[function e(t,n){const o=n.getContentType()||"";const r=o.indexOf("application/json")>-1;const i=fe.isObject(t);if(i&&fe.isHTMLForm(t)){t=new FormData(t)}const s=fe.isFormData(t);if(s){return r?JSON.stringify($e(t)):t}if(fe.isArrayBuffer(t)||fe.isBuffer(t)||fe.isStream(t)||fe.isFile(t)||fe.isBlob(t)||fe.isReadableStream(t)){return t}if(fe.isArrayBufferView(t)){return t.buffer}if(fe.isURLSearchParams(t)){n.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}let c;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1){return Le(t,this.formSerializer).toString()}if((c=fe.isFileList(t))||o.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return ye(c?{"files[]":t}:t,e&&new e,this.formSerializer)}}if(i||r){n.setContentType("application/json",false);return He(t)}return t}],transformResponse:[function e(t){const n=this.transitional||Ke.transitional;const o=n&&n.forcedJSONParsing;const r=this.responseType==="json";if(fe.isResponse(t)||fe.isReadableStream(t)){return t}if(t&&fe.isString(t)&&(o&&!this.responseType||r)){const e=n&&n.silentJSONParsing;const o=!e&&r;try{return JSON.parse(t,this.parseReviver)}catch(e){if(o){if(e.name==="SyntaxError"){throw he.from(e,he.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qe.classes.FormData,Blob:qe.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};fe.forEach(["delete","get","head","post","put","patch"],(e=>{Ke.headers[e]={}}));var Je=Ke;const Xe=fe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var We=e=>{const t={};let n;let o;let r;e&&e.split("\n").forEach((function e(i){r=i.indexOf(":");n=i.substring(0,r).trim().toLowerCase();o=i.substring(r+1).trim();if(!n||t[n]&&Xe[n]){return}if(n==="set-cookie"){if(t[n]){t[n].push(o)}else{t[n]=[o]}}else{t[n]=t[n]?t[n]+", "+o:o}}));return t};const Ve=Symbol("internals");function Ge(e){return e&&String(e).trim().toLowerCase()}function Ze(e){if(e===false||e==null){return e}return fe.isArray(e)?e.map(Ze):String(e)}function Qe(e){const t=Object.create(null);const n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;while(o=n.exec(e)){t[o[1]]=o[2]}return t}const Ye=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function et(e,t,n,o,r){if(fe.isFunction(o)){return o.call(this,t,n)}if(r){t=n}if(!fe.isString(t))return;if(fe.isString(o)){return t.indexOf(o)!==-1}if(fe.isRegExp(o)){return o.test(t)}}function tt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function nt(e,t){const n=fe.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:true})}))}class ot{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=Ge(t);if(!r){throw new Error("header name must be a non-empty string")}const i=fe.findKey(o,r);if(!i||o[i]===undefined||n===true||n===undefined&&o[i]!==false){o[i||t]=Ze(e)}}const i=(e,t)=>fe.forEach(e,((e,n)=>r(e,n,t)));if(fe.isPlainObject(e)||e instanceof this.constructor){i(e,t)}else if(fe.isString(e)&&(e=e.trim())&&!Ye(e)){i(We(e),t)}else if(fe.isObject(e)&&fe.isIterable(e)){let n={},o,r;for(const t of e){if(!fe.isArray(t)){throw TypeError("Object iterator must return a key-value pair")}n[r=t[0]]=(o=n[r])?fe.isArray(o)?[...o,t[1]]:[o,t[1]]:t[1]}i(n,t)}else{e!=null&&r(t,e,n)}return this}get(e,t){e=Ge(e);if(e){const n=fe.findKey(this,e);if(n){const e=this[n];if(!t){return e}if(t===true){return Qe(e)}if(fe.isFunction(t)){return t.call(this,e,n)}if(fe.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=Ge(e);if(e){const n=fe.findKey(this,e);return!!(n&&this[n]!==undefined&&(!t||et(this,this[n],n,t)))}return false}delete(e,t){const n=this;let o=false;function r(e){e=Ge(e);if(e){const r=fe.findKey(n,e);if(r&&(!t||et(n,n[r],r,t))){delete n[r];o=true}}}if(fe.isArray(e)){e.forEach(r)}else{r(e)}return o}clear(e){const t=Object.keys(this);let n=t.length;let o=false;while(n--){const r=t[n];if(!e||et(this,this[r],r,e,true)){delete this[r];o=true}}return o}normalize(e){const t=this;const n={};fe.forEach(this,((o,r)=>{const i=fe.findKey(n,r);if(i){t[i]=Ze(o);delete t[r];return}const s=e?tt(r):String(r).trim();if(s!==r){delete t[r]}t[s]=Ze(o);n[s]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);fe.forEach(this,((n,o)=>{n!=null&&n!==false&&(t[o]=e&&fe.isArray(n)?n.join(", "):n)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);t.forEach((e=>n.set(e)));return n}static accessor(e){const t=this[Ve]=this[Ve]={accessors:{}};const n=t.accessors;const o=this.prototype;function r(e){const t=Ge(e);if(!n[t]){nt(o,e);n[t]=true}}fe.isArray(e)?e.forEach(r):r(e);return this}}ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);fe.reduceDescriptors(ot.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}));fe.freezeMethods(ot);var rt=ot;function it(e,t){const n=this||Je;const o=t||n;const r=rt.from(o.headers);let i=o.data;fe.forEach(e,(function e(o){i=o.call(n,i,r.normalize(),t?t.status:undefined)}));r.normalize();return i}function st(e){return!!(e&&e.__CANCEL__)}class ct extends he{constructor(e,t,n){super(e==null?"canceled":e,he.ERR_CANCELED,t,n);this.name="CanceledError";this.__CANCEL__=true}}var at=ct;function lt(e,t,n){const o=n.config.validateStatus;if(!n.status||!o||o(n.status)){e(n)}else{t(new he("Request failed with status code "+n.status,[he.ERR_BAD_REQUEST,he.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}}function ut(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ft(e,t){e=e||10;const n=new Array(e);const o=new Array(e);let r=0;let i=0;let s;t=t!==undefined?t:1e3;return function c(a){const l=Date.now();const u=o[i];if(!s){s=l}n[r]=a;o[r]=l;let f=i;let d=0;while(f!==r){d+=n[f++];f=f%e}r=(r+1)%e;if(r===i){i=(i+1)%e}if(l-s<t){return}const h=u&&l-u;return h?Math.round(d*1e3/h):undefined}}function dt(e,t){let n=0;let o=1e3/t;let r;let i;const s=(t,o=Date.now())=>{n=o;r=null;if(i){clearTimeout(i);i=null}e(...t)};const c=(...e)=>{const t=Date.now();const c=t-n;if(c>=o){s(e,t)}else{r=e;if(!i){i=setTimeout((()=>{i=null;s(r)}),o-c)}}};const a=()=>r&&s(r);return[c,a]}const ht=(e,t,n=3)=>{let o=0;const r=ft(50,250);return dt((n=>{const i=n.loaded;const s=n.lengthComputable?n.total:undefined;const c=i-o;const a=r(c);const l=i<=s;o=i;const u={loaded:i,total:s,progress:s?i/s:undefined,bytes:c,rate:a?a:undefined,estimated:a&&s&&l?(s-i)/a:undefined,event:n,lengthComputable:s!=null,[t?"download":"upload"]:true};e(u)}),n)};const pt=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]};const mt=e=>(...t)=>fe.asap((()=>e(...t)));var bt=qe.hasStandardBrowserEnv?((e,t)=>n=>{n=new URL(n,qe.origin);return e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)})(new URL(qe.origin),qe.navigator&&/(msie|trident)/i.test(qe.navigator.userAgent)):()=>true;var wt=qe.hasStandardBrowserEnv?{write(e,t,n,o,r,i,s){if(typeof document==="undefined")return;const c=[`${e}=${encodeURIComponent(t)}`];if(fe.isNumber(n)){c.push(`expires=${new Date(n).toUTCString()}`)}if(fe.isString(o)){c.push(`path=${o}`)}if(fe.isString(r)){c.push(`domain=${r}`)}if(i===true){c.push("secure")}if(fe.isString(s)){c.push(`SameSite=${s}`)}document.cookie=c.join("; ")},read(e){if(typeof document==="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vt(e){if(typeof e!=="string"){return false}return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function yt(e,t,n){let o=!vt(t);if(e&&(o||n==false)){return gt(e,t)}return t}const xt=e=>e instanceof rt?{...e}:e;function kt(e,t){t=t||{};const n={};function o(e,t,n,o){if(fe.isPlainObject(e)&&fe.isPlainObject(t)){return fe.merge.call({caseless:o},e,t)}else if(fe.isPlainObject(t)){return fe.merge({},t)}else if(fe.isArray(t)){return t.slice()}return t}function r(e,t,n,r){if(!fe.isUndefined(t)){return o(e,t,n,r)}else if(!fe.isUndefined(e)){return o(undefined,e,n,r)}}function i(e,t){if(!fe.isUndefined(t)){return o(undefined,t)}}function s(e,t){if(!fe.isUndefined(t)){return o(undefined,t)}else if(!fe.isUndefined(e)){return o(undefined,e)}}function c(n,r,i){if(i in t){return o(n,r)}else if(i in e){return o(undefined,n)}}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(e,t,n)=>r(xt(e),xt(t),n,true)};fe.forEach(Object.keys({...e,...t}),(function o(i){if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=fe.hasOwnProp(a,i)?a[i]:r;const l=s(e[i],t[i],i);fe.isUndefined(l)&&s!==c||(n[i]=l)}));return n}var Rt=e=>{const t=kt({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:s,auth:c}=t;t.headers=s=rt.from(s);t.url=Se(yt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer);if(c){s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")))}if(fe.isFormData(n)){if(qe.hasStandardBrowserEnv||qe.hasStandardBrowserWebWorkerEnv){s.setContentType(undefined)}else if(fe.isFunction(n.getHeaders)){const e=n.getHeaders();const t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{if(t.includes(e.toLowerCase())){s.set(e,n)}}))}}if(qe.hasStandardBrowserEnv){o&&fe.isFunction(o)&&(o=o(t));if(o||o!==false&&bt(t.url)){const e=r&&i&&wt.read(i);if(e){s.set(r,e)}}}return t};const Ot=typeof XMLHttpRequest!=="undefined";var St=Ot&&function(e){return new Promise((function t(n,o){const r=Rt(e);let i=r.data;const s=rt.from(r.headers).normalize();let{responseType:c,onUploadProgress:a,onDownloadProgress:l}=r;let u;let f,d;let h,p;function m(){h&&h();p&&p();r.cancelToken&&r.cancelToken.unsubscribe(u);r.signal&&r.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,true);b.timeout=r.timeout;function w(){if(!b){return}const t=rt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());const r=!c||c==="text"||c==="json"?b.responseText:b.response;const i={data:r,status:b.status,statusText:b.statusText,headers:t,config:e,request:b};lt((function e(t){n(t);m()}),(function e(t){o(t);m()}),i);b=null}if("onloadend"in b){b.onloadend=w}else{b.onreadystatechange=function e(){if(!b||b.readyState!==4){return}if(b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)){return}setTimeout(w)}}b.onabort=function t(){if(!b){return}o(new he("Request aborted",he.ECONNABORTED,e,b));b=null};b.onerror=function t(n){const r=n&&n.message?n.message:"Network Error";const i=new he(r,he.ERR_NETWORK,e,b);i.event=n||null;o(i);b=null};b.ontimeout=function t(){let n=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||je;if(r.timeoutErrorMessage){n=r.timeoutErrorMessage}o(new he(n,i.clarifyTimeoutError?he.ETIMEDOUT:he.ECONNABORTED,e,b));b=null};i===undefined&&s.setContentType(null);if("setRequestHeader"in b){fe.forEach(s.toJSON(),(function e(t,n){b.setRequestHeader(n,t)}))}if(!fe.isUndefined(r.withCredentials)){b.withCredentials=!!r.withCredentials}if(c&&c!=="json"){b.responseType=r.responseType}if(l){[d,p]=ht(l,true);b.addEventListener("progress",d)}if(a&&b.upload){[f,h]=ht(a);b.upload.addEventListener("progress",f);b.upload.addEventListener("loadend",h)}if(r.cancelToken||r.signal){u=t=>{if(!b){return}o(!t||t.type?new at(null,e,b):t);b.abort();b=null};r.cancelToken&&r.cancelToken.subscribe(u);if(r.signal){r.signal.aborted?u():r.signal.addEventListener("abort",u)}}const v=ut(r.url);if(v&&qe.protocols.indexOf(v)===-1){o(new he("Unsupported protocol "+v+":",he.ERR_BAD_REQUEST,e));return}b.send(i||null)}))};const Tt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController;let o;const r=function(e){if(!o){o=true;s();const t=e instanceof Error?e:this.reason;n.abort(t instanceof he?t:new at(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null;r(new he(`timeout of ${t}ms exceeded`,he.ETIMEDOUT))}),t);const s=()=>{if(e){i&&clearTimeout(i);i=null;e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}));e=null}};e.forEach((e=>e.addEventListener("abort",r)));const{signal:c}=n;c.unsubscribe=()=>fe.asap(s);return c}};var Et=Tt;const jt=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0;let r;while(o<n){r=o+t;yield e.slice(o,r);o=r}};const At=async function*(e,t){for await(const n of Ct(e)){yield*jt(n,t)}};const Ct=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e){break}yield n}}finally{await t.cancel()}};const Ft=(e,t,n,o)=>{const r=At(e,t);let i=0;let s;let c=e=>{if(!s){s=true;o&&o(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t){c();e.close();return}let s=o.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(o))}catch(e){c(e);throw e}},cancel(e){c(e);return r.return()}},{highWaterMark:2})};const Nt=64*1024;const{isFunction:Pt}=fe;const Ut=(({Request:e,Response:t})=>({Request:e,Response:t}))(fe.global);const{ReadableStream:Bt,TextEncoder:_t}=fe.global;const It=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const Dt=e=>{e=fe.merge.call({skipUndefined:true},Ut,e);const{fetch:t,Request:n,Response:o}=e;const r=t?Pt(t):typeof fetch==="function";const i=Pt(n);const s=Pt(o);if(!r){return false}const c=r&&Pt(Bt);const a=r&&(typeof _t==="function"?(e=>t=>e.encode(t))(new _t):async e=>new Uint8Array(await new n(e).arrayBuffer()));const l=i&&c&&It((()=>{let e=false;const t=new n(qe.origin,{body:new Bt,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));const u=s&&c&&It((()=>fe.isReadableStream(new o("").body)));const f={stream:u&&(e=>e.body)};r&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!f[e]&&(f[e]=(t,n)=>{let o=t&&t[e];if(o){return o.call(t)}throw new he(`Response type '${e}' is not supported`,he.ERR_NOT_SUPPORT,n)})}))})();const d=async e=>{if(e==null){return 0}if(fe.isBlob(e)){return e.size}if(fe.isSpecCompliantForm(e)){const t=new n(qe.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}if(fe.isArrayBufferView(e)||fe.isArrayBuffer(e)){return e.byteLength}if(fe.isURLSearchParams(e)){e=e+""}if(fe.isString(e)){return(await a(e)).byteLength}};const h=async(e,t)=>{const n=fe.toFiniteNumber(e.getContentLength());return n==null?d(t):n};return async e=>{let{url:r,method:s,data:c,signal:a,cancelToken:d,timeout:p,onDownloadProgress:m,onUploadProgress:b,responseType:w,headers:v,withCredentials:g="same-origin",fetchOptions:y}=Rt(e);let x=t||fetch;w=w?(w+"").toLowerCase():"text";let k=Et([a,d&&d.toAbortSignal()],p);let R=null;const O=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let S;try{if(b&&l&&s!=="get"&&s!=="head"&&(S=await h(v,c))!==0){let e=new n(r,{method:"POST",body:c,duplex:"half"});let t;if(fe.isFormData(c)&&(t=e.headers.get("content-type"))){v.setContentType(t)}if(e.body){const[t,n]=pt(S,ht(mt(b)));c=Ft(e.body,Nt,t,n)}}if(!fe.isString(g)){g=g?"include":"omit"}const t=i&&"credentials"in n.prototype;const a={...y,signal:k,method:s.toUpperCase(),headers:v.normalize().toJSON(),body:c,duplex:"half",credentials:t?g:undefined};R=i&&new n(r,a);let d=await(i?x(R,y):x(r,a));const p=u&&(w==="stream"||w==="response");if(u&&(m||p&&O)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=d[t]}));const t=fe.toFiniteNumber(d.headers.get("content-length"));const[n,r]=m&&pt(t,ht(mt(m),true))||[];d=new o(Ft(d.body,Nt,n,(()=>{r&&r();O&&O()})),e)}w=w||"text";let T=await f[fe.findKey(f,w)||"text"](d,e);!p&&O&&O();return await new Promise(((t,n)=>{lt(t,n,{data:T,headers:rt.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:R})}))}catch(t){O&&O();if(t&&t.name==="TypeError"&&/Load failed|fetch/i.test(t.message)){throw Object.assign(new he("Network Error",he.ERR_NETWORK,e,R,t&&t.response),{cause:t.cause||t})}throw he.from(t,t&&t.code,e,R,t&&t.response)}}};const qt=new Map;const Lt=e=>{let t=e&&e.env||{};const{fetch:n,Request:o,Response:r}=t;const i=[o,r,n];let s=i.length,c=s,a,l,u=qt;while(c--){a=i[c];l=u.get(a);l===undefined&&u.set(a,l=c?new Map:Dt(t));u=l}return l};Lt();const Mt={http:pe,xhr:St,fetch:{get:Lt}};fe.forEach(Mt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const zt=e=>`- ${e}`;const $t=e=>fe.isFunction(e)||e===null||e===false;function Ht(e,t){e=fe.isArray(e)?e:[e];const{length:n}=e;let o;let r;const i={};for(let s=0;s<n;s++){o=e[s];let n;r=o;if(!$t(o)){r=Mt[(n=String(o)).toLowerCase()];if(r===undefined){throw new he(`Unknown adapter '${n}'`)}}if(r&&(fe.isFunction(r)||(r=r.get(t)))){break}i[n||"#"+s]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(zt).join("\n"):" "+zt(e[0]):"as no adapter specified";throw new he(`There is no suitable adapter to dispatch the request `+t,"ERR_NOT_SUPPORT")}return r}var Kt={getAdapter:Ht,adapters:Mt};function Jt(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new at(null,e)}}function Xt(e){Jt(e);e.headers=rt.from(e.headers);e.data=it.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=Kt.getAdapter(e.adapter||Je.adapter,e);return t(e).then((function t(n){Jt(e);n.data=it.call(e,e.transformResponse,n);n.headers=rt.from(n.headers);return n}),(function t(n){if(!st(n)){Jt(e);if(n&&n.response){n.response.data=it.call(e,e.transformResponse,n.response);n.response.headers=rt.from(n.response.headers)}}return Promise.reject(n)}))}const Wt="1.13.5";const Vt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Vt[e]=function n(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));const Gt={};Vt.transitional=function e(t,n,o){function r(e,t){return"[Axios v"+Wt+"] Transitional option '"+e+"'"+t+(o?". "+o:"")}return(e,o,i)=>{if(t===false){throw new he(r(o," has been removed"+(n?" in "+n:"")),he.ERR_DEPRECATED)}if(n&&!Gt[o]){Gt[o]=true;console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))}return t?t(e,o,i):true}};Vt.spelling=function e(t){return(e,n)=>{console.warn(`${n} is likely a misspelling of ${t}`);return true}};function Zt(e,t,n){if(typeof e!=="object"){throw new he("options must be an object",he.ERR_BAD_OPTION_VALUE)}const o=Object.keys(e);let r=o.length;while(r-- >0){const i=o[r];const s=t[i];if(s){const t=e[i];const n=t===undefined||s(t,i,e);if(n!==true){throw new he("option "+i+" must be "+n,he.ERR_BAD_OPTION_VALUE)}continue}if(n!==true){throw new he("Unknown option "+i,he.ERR_BAD_OPTION)}}}var Qt={assertOptions:Zt,validators:Vt};const Yt=Qt.validators;class en{constructor(e){this.defaults=e||{};this.interceptors={request:new Ee,response:new Ee}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{if(!e.stack){e.stack=n}else if(n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))){e.stack+="\n"+n}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=kt(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;if(n!==undefined){Qt.assertOptions(n,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean),legacyInterceptorReqResOrdering:Yt.transitional(Yt.boolean)},false)}if(o!=null){if(fe.isFunction(o)){t.paramsSerializer={serialize:o}}else{Qt.assertOptions(o,{encode:Yt.function,serialize:Yt.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}Qt.assertOptions(t,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=r&&fe.merge(r.common,r[t.method]);r&&fe.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]}));t.headers=rt.concat(i,r);const s=[];let c=true;this.interceptors.request.forEach((function e(n){if(typeof n.runWhen==="function"&&n.runWhen(t)===false){return}c=c&&n.synchronous;const o=t.transitional||je;const r=o&&o.legacyInterceptorReqResOrdering;if(r){s.unshift(n.fulfilled,n.rejected)}else{s.push(n.fulfilled,n.rejected)}}));const a=[];this.interceptors.response.forEach((function e(t){a.push(t.fulfilled,t.rejected)}));let l;let u=0;let f;if(!c){const e=[Xt.bind(this),undefined];e.unshift(...s);e.push(...a);f=e.length;l=Promise.resolve(t);while(u<f){l=l.then(e[u++],e[u++])}return l}f=s.length;let d=t;while(u<f){const e=s[u++];const t=s[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{l=Xt.call(this,d)}catch(e){return Promise.reject(e)}u=0;f=a.length;while(u<f){l=l.then(a[u++],a[u++])}return l}getUri(e){e=kt(this.defaults,e);const t=yt(e.baseURL,e.url,e.allowAbsoluteUrls);return Se(t,e.params,e.paramsSerializer)}}fe.forEach(["delete","get","head","options"],(function e(t){en.prototype[t]=function(e,n){return this.request(kt(n||{},{method:t,url:e,data:(n||{}).data}))}}));fe.forEach(["post","put","patch"],(function e(t){function n(e){return function n(o,r,i){return this.request(kt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}en.prototype[t]=n();en.prototype[t+"Form"]=n(true)}));var tn=en;class nn{constructor(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}let t;this.promise=new Promise((function e(n){t=n}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0){n._listeners[t](e)}n._listeners=null}));this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e);t=e})).then(e);o.cancel=function e(){n.unsubscribe(t)};return o};e((function e(o,r,i){if(n.reason){return}n.reason=new at(o,r,i);t(n.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}toAbortSignal(){const e=new AbortController;const t=t=>{e.abort(t)};this.subscribe(t);e.signal.unsubscribe=()=>this.unsubscribe(t);return e.signal}static source(){let e;const t=new nn((function t(n){e=n}));return{token:t,cancel:e}}}var on=nn;function rn(e){return function t(n){return e.apply(null,n)}}function sn(e){return fe.isObject(e)&&e.isAxiosError===true}const cn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(cn).forEach((([e,t])=>{cn[t]=e}));var an=cn;function ln(t){const n=new tn(t);const o=e(tn.prototype.request,n);fe.extend(o,tn.prototype,n,{allOwnKeys:true});fe.extend(o,n,null,{allOwnKeys:true});o.create=function e(n){return ln(kt(t,n))};return o}const un=ln(Je);un.Axios=tn;un.CanceledError=at;un.CancelToken=on;un.isCancel=st;un.VERSION=Wt;un.toFormData=ye;un.AxiosError=he;un.Cancel=un.CanceledError;un.all=function e(t){return Promise.all(t)};un.spread=rn;un.isAxiosError=sn;un.mergeConfig=kt;un.AxiosHeaders=rt;un.formToJSON=e=>$e(fe.isHTMLForm(e)?new FormData(e):e);un.getAdapter=Kt.getAdapter;un.HttpStatusCode=an;un.default=un;d=un;return d}var m=p();var b=l(m);const w=u.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";const v=()=>b.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:w}}).then((e=>e.data)).catch((e=>{console.log("Unleash: Unable to fetch feature flags",e);throw e}));const g='verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{gap:12px;width:300px;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .row .option{gap:4px;display:-ms-flexbox;display:flex;padding:5px 8px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;text-wrap:nowrap}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{font-size:14px;width:88px}verdocs-contact-picker form .pin-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .pin-code>input{-ms-flex:0 0 197px;flex:0 0 197px;font-size:14px}verdocs-contact-picker form .address{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .address>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form .zip-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .zip-code>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form label{display:-ms-flexbox;display:flex;-ms-flex:0 0 80px;flex:0 0 80px;font-size:13px;font-weight:500;color:#5c6575}verdocs-contact-picker form .row.message textarea{width:100%;padding:5px 7px;border-radius:4px;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif)}verdocs-contact-picker form input{-ms-flex:1;flex:1;padding:6px;font-size:14px;border-radius:3px;border:1px solid rgba(112, 122, 229, 0.3725490196)}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}#verdocs-contact-picker-suggestions .dropdown{max-height:225px;overflow-y:scroll;background:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}#verdocs-contact-picker-suggestions .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}#verdocs-contact-picker-suggestions .dropdown .suggestion svg{width:32px;height:32px}#verdocs-contact-picker-suggestions .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}#verdocs-contact-picker-suggestions .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#verdocs-contact-picker-suggestions .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}#verdocs-contact-picker-suggestions .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}#verdocs-contact-picker-suggestions .dropdown .suggestion:hover{background:#eee;cursor:pointer}';const y=`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-user"><path d="M15 13a3 3 0 1 0-6 0"/><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"/><circle cx="12" cy="8" r="2"/></svg>`;const x=class{constructor(n){e(this,n);this.searchContacts=t(this,"searchContacts");this.exit=t(this,"exit");this.next=t(this,"next");this.endpoint=r.getDefault();this.templateRole=null;this.contactSuggestions=[];this.showSuggestions=false;this.showMessage=false;this.delegator=false;this.auth_methods=[];this.passcode="";this.firstNameFieldId=`verdocs-contact-picker-firstname-${Math.random().toString(36).substring(2,11)}`;this.lastNameFieldId=`verdocs-contact-picker-lastname-${Math.random().toString(36).substring(2,11)}`;this.emailFieldId=`verdocs-contact-picker-email-${Math.random().toString(36).substring(2,11)}`;this.phoneFieldId=`verdocs-contact-picker-phone-${Math.random().toString(36).substring(2,11)}`;this.featureFlags=null;this.activeEntitlements={}}componentWillLoad(){this.endpoint.loadSession();if(this.templateRole){const e=i(this.templateRole);const t=e.split(" ");const n=this.templateRole.first_name||t.shift()||"";const o=this.templateRole.last_name||t.join(" ")||"";this.first_name=n;this.last_name=o;this.email=this.templateRole.email||"";this.phone=this.templateRole.phone||"";this.delegator=this.templateRole.delegator||false;this.message=this.templateRole.message||"";this.showMessage=this.message!=="";this.auth_methods=this.templateRole.auth_methods||[];this.passcode=this.templateRole.passcode||""}s(this.endpoint).then((e=>{this.activeEntitlements=e;console.log("[CONTACT PICKER] Loaded entitlements",e)})).catch((e=>console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)));v().then((e=>{this.featureFlags=e;console.log("[CONTACT PICKER] Loaded feature flags",e)})).catch((e=>{console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))}handleFirstNameChange(e){var t;this.first_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.first_name})}handleLastNameChange(e){var t;this.last_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.last_name})}handleCancel(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.exit)===null||t===void 0?void 0:t.emit()}handleSubmit(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.next)===null||t===void 0?void 0:t.emit({first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,message:this.message,delegator:this.delegator,auth_methods:this.auth_methods,passcode:this.passcode,address:this.address,zip:this.zip})}handleSelectSuggestion(e,t){e.stopPropagation();this.first_name=t.first_name;this.last_name=t.last_name;this.email=t.email;this.phone=t.phone;this.showSuggestions=false}render(){var e,t,r,s,a,l,u,d,h,p,m,b,w,v,g,x,k,R;const O=this.first_name&&this.last_name&&c(this.email);const S=!this.auth_methods.length||this.auth_methods.includes("passcode")&&!!this.passcode||this.auth_methods.includes("kba")&&!!this.first_name&&!!this.last_name||this.auth_methods.includes("email")&&!!this.email||this.auth_methods.includes("sms")&&!!this.phone;const T=O&&S;const E=((r=(t=(e=this.featureFlags)===null||e===void 0?void 0:e.toggles)===null||t===void 0?void 0:t.find((e=>e.name==="sms")))===null||r===void 0?void 0:r.enabled)===true;const j=[];if(((l=(a=(s=this.featureFlags)===null||s===void 0?void 0:s.toggles)===null||a===void 0?void 0:a.find((e=>e.name==="passcode-verification")))===null||l===void 0?void 0:l.enabled)===true){j.push({label:"Passcode",value:"passcode"})}if(((h=(d=(u=this.featureFlags)===null||u===void 0?void 0:u.toggles)===null||d===void 0?void 0:d.find((e=>e.name==="email-verification")))===null||h===void 0?void 0:h.enabled)===true){j.push({label:"Email",value:"email"})}if(E&&((b=(m=(p=this.featureFlags)===null||p===void 0?void 0:p.toggles)===null||m===void 0?void 0:m.find((e=>e.name==="sms-verification")))===null||b===void 0?void 0:b.enabled)===true&&!!this.activeEntitlements.sms_auth){j.push({label:"SMS (One-Time Code)",value:"sms"})}if(((g=(v=(w=this.featureFlags)===null||w===void 0?void 0:w.toggles)===null||v===void 0?void 0:v.find((e=>e.name==="kba-verification")))===null||g===void 0?void 0:g.enabled)===true&&!!this.activeEntitlements.kba_auth){j.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((R=(k=(x=this.featureFlags)===null||x===void 0?void 0:x.toggles)===null||k===void 0?void 0:k.find((e=>e.name==="id-verification")))===null||R===void 0?void 0:R.enabled)===true&&!!this.activeEntitlements.id_auth){j.push({label:"ID Check",value:"id"})}return n("form",{key:"5b4d4de3ad06d4cb458b92ca6159fadcbb38a89e",onSubmit:e=>e.preventDefault(),autocomplete:"off"},n("div",{key:"065bd43ea84a5431f4cb370491147377d0b4ed87",class:"row"},n("label",{key:"48e3ab3a13607b42018e400703910d08f053d7c0",htmlFor:this.firstNameFieldId},"Name:"),n("div",{key:"c1acb5b9cfd0cdbd17edce151e66035826ae3e15",class:"names-row"},n("input",{key:"bfd3f91624725b717df1b27d000924503e0cb0b8",id:this.firstNameFieldId,name:this.firstNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.first_name,placeholder:"First...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleFirstNameChange(e)}),n("input",{key:"30ae8e6b5c52c45bad07572a9357c575fd248df1",id:this.lastNameFieldId,name:this.lastNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.last_name,placeholder:"Last...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleLastNameChange(e)})),this.showSuggestions&&n("verdocs-portal",{key:"6a03422c1dbe45c1e8a389af0f884f2f4b525aca",anchor:this.firstNameFieldId,onClickAway:()=>{this.showSuggestions=false;document.querySelectorAll(`.verdocs-portal-wrapper`).forEach((e=>e.remove()))},id:"verdocs-contact-picker-suggestions"},n("div",{key:"a9907d3c7b291fde2e86a3a0dd2bfb0f2c1d06b3",class:"dropdown"},this.contactSuggestions.filter((e=>!this.first_name||e.first_name.toLowerCase().includes(this.first_name.toLowerCase()))).map((e=>{var t;return n("div",{key:(t=e.id)!==null&&t!==void 0?t:e.email,class:"suggestion",onClick:t=>this.handleSelectSuggestion(t,e)},e.picture?n("img",{alt:"Avatar",class:"avatar",src:e.picture}):n("div",{class:"avatar",innerHTML:y}),n("div",{class:"details"},n("div",{class:"name"},i(e)),e.email&&n("div",{class:"destination"},e.email),e.phone&&n("div",{class:"destination"},e.phone)))}))))),n("div",{key:"220b7dc0f04eb27279e003aaa196aee58b51ec64",class:"row"},n("label",{key:"7120d789f96a375a3f6237b93a3699866dae5e0e",htmlFor:this.emailFieldId},"Email:"),n("input",{key:"33aa0973927dedcc1d3005411dcdb87c969a65c2",id:this.emailFieldId,name:this.emailFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.email,placeholder:"Invite/verify via email...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.email=e.target.value})),E&&n("div",{key:"8b888dd8490d99235bd1d1b2e6acce6d64fbf5a4",class:"row"},n("label",{key:"702e60156cfbe39cc56c20ca5f9e5b112eb8fbb5",htmlFor:this.phoneFieldId},"Phone:"),n("input",{key:"1f6b416d622b821e63e89bdf75626bc9f97422df",id:this.phoneFieldId,name:this.phoneFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.phone,placeholder:"Invite/verify via SMS...",onFocus:()=>this.showSuggestions=false,onInput:e=>{this.phone=f(e.target.value)}})),n(o,{key:"60d3ccc50417d1fbe6a815d6edf37619f945b63e"},j.length>0&&n("div",{key:"f1248b2c40c1cfb22cfa577bc1f5c5895362ded2",class:"row pin-code"},n("label",{key:"d782f794fa6a8d2ca18835db9e8d6e510038f212"},"Verification Methods:"),n("div",{key:"51370acfa10be18fa7783ee28849caaf9ad11fcb"},j.map(((e,t)=>n("div",{class:"option"},n("verdocs-checkbox",{size:"small",id:`verdocs-multi-select-opt-${t}`,value:e.value,checked:this.auth_methods.includes(e.value),onInput:t=>{if(t.target.checked){this.auth_methods=[...this.auth_methods,e.value]}else{this.auth_methods=this.auth_methods.filter((t=>t!==e.value))}}}),n("label",{htmlFor:`verdocs-multi-select-option-${t}`},e.label)))))),this.auth_methods.includes("passcode")&&n("div",{key:"37cc47ae07fcee96a90ca0684307b2fa12436fbd",class:"row pin-code"},n("label",{key:"57b9975fcdf609ebcfd709f2cc646f74163eda15",htmlFor:this.phoneFieldId},"Passcode:"),n("input",{key:"5c9f4d7f4757512fa7c87e91adf731fe256050da",id:"verdocs-passcode",name:"verdocs-passcode",type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.passcode,placeholder:"4-8 digits recommended...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.passcode=e.target.value}))),n("div",{key:"7bed0f7befff14122e821680fce895d64889212c",class:"row pin-code"},n("label",{key:"295f03231ca15e2a25895d8f6dca7b7507fc58fa"},"Delegation:"),n("div",{key:"21d03961df0853b3f1e4a4b3e9445e8a3ecf80ee"},n("div",{key:"1e70e144d4e678e9697039468549ef38606dc3b7",class:"option"},n("verdocs-checkbox",{key:"8f94ea2d0b3f1bc8831c8666d379ebc2a22fbb95",size:"small",id:"verdocs-delegator",checked:this.delegator,onInput:e=>{this.delegator=e.target.checked}}),n("label",{key:"9ea3f9f359f7045aebd80367af0a7431d1e850e4",htmlFor:"verdocs-delegator"},"May delegate signing")))),n("div",{key:"90e07660115c7f41ade3aad5fe4eb93d7d8cb4fd",class:"row message"},n("label",{key:"0268f3ecd123de3c8d0e27b345253385157bfce6",htmlFor:"verdocs-contact-picker-message"},"Message:"),n("textarea",{key:"526671a3e768cc6280e82d04fe4f86d0fd5678bd",id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.message=e.target.value},this.message)),n("div",{key:"9bfb44085c94a08a9d2957d031e263d398ab170b",class:"buttons"},n("div",{key:"2b21510d850071094dd7005c26de4e8cd14c992d",class:"flex-fill"}),n("verdocs-button",{key:"881527d8167c31490622f3e9f0252cfdd3139d58",variant:"outline",label:"Cancel",size:"small",onClick:e=>this.handleCancel(e)}),n("verdocs-button",{key:"3dbc5efa49eb696eedb2d50c06837b70abea5e80",label:"OK",size:"small",disabled:!T,onClick:!T?()=>{}:e=>this.handleSubmit(e)})))}};x.style=g;export{x as verdocs_contact_picker};
|
|
3
|
-
//# sourceMappingURL=p-
|
|
1
|
+
import{r as e,c as t,h as n,F as o}from"./p-BIRwgFLv.js";import{VerdocsEndpoint as r,formatFullName as i,getActiveEntitlements as s,isValidEmail as c}from"@verdocs/js-sdk";import{c as a,g as l}from"./p-BFTU3MAI.js";import{B as u}from"./p-C_Xku1v2.js";import{e as f}from"./p-oC6bZSel.js";import"./p-dzBXqXlK.js";import"./p-BqoC0yeA.js";
|
|
2
|
+
/*! Axios v1.13.5 Copyright (c) 2026 Matt Zabriskie and contributors */var d;var h;function p(){if(h)return d;h=1;function e(e,t){return function n(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype;const{getPrototypeOf:n}=Object;const{iterator:o,toStringTag:r}=Symbol;const i=(e=>n=>{const o=t.call(n);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null));const s=e=>{e=e.toLowerCase();return t=>i(t)===e};const c=e=>t=>typeof t===e;const{isArray:l}=Array;const u=c("undefined");function f(e){return e!==null&&!u(e)&&e.constructor!==null&&!u(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const p=s("ArrayBuffer");function m(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&p(e.buffer)}return t}const b=c("string");const w=c("function");const v=c("number");const g=e=>e!==null&&typeof e==="object";const y=e=>e===true||e===false;const x=e=>{if(i(e)!=="object"){return false}const t=n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(r in e)&&!(o in e)};const k=e=>{if(!g(e)||f(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};const R=s("Date");const O=s("File");const S=s("Blob");const T=s("FileList");const E=e=>g(e)&&w(e.pipe);const j=e=>{let t;return e&&(typeof FormData==="function"&&e instanceof FormData||w(e.append)&&((t=i(e))==="formdata"||t==="object"&&w(e.toString)&&e.toString()==="[object FormData]"))};const A=s("URLSearchParams");const[C,F,N,P]=["ReadableStream","Request","Response","Headers"].map(s);const U=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function B(e,t,{allOwnKeys:n=false}={}){if(e===null||typeof e==="undefined"){return}let o;let r;if(typeof e!=="object"){e=[e]}if(l(e)){for(o=0,r=e.length;o<r;o++){t.call(null,e[o],o,e)}}else{if(f(e)){return}const r=n?Object.getOwnPropertyNames(e):Object.keys(e);const i=r.length;let s;for(o=0;o<i;o++){s=r[o];t.call(null,e[s],s,e)}}}function I(e,t){if(f(e)){return null}t=t.toLowerCase();const n=Object.keys(e);let o=n.length;let r;while(o-- >0){r=n[o];if(t===r.toLowerCase()){return r}}return null}const _=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:a})();const D=e=>!u(e)&&e!==_;function q(){const{caseless:e,skipUndefined:t}=D(this)&&this||{};const n={};const o=(o,r)=>{if(r==="__proto__"||r==="constructor"||r==="prototype"){return}const i=e&&I(n,r)||r;if(x(n[i])&&x(o)){n[i]=q(n[i],o)}else if(x(o)){n[i]=q({},o)}else if(l(o)){n[i]=o.slice()}else if(!t||!u(o)){n[i]=o}};for(let e=0,t=arguments.length;e<t;e++){arguments[e]&&B(arguments[e],o)}return n}const L=(t,n,o,{allOwnKeys:r}={})=>{B(n,((n,r)=>{if(o&&w(n)){Object.defineProperty(t,r,{value:e(n,o),writable:true,enumerable:true,configurable:true})}else{Object.defineProperty(t,r,{value:n,writable:true,enumerable:true,configurable:true})}}),{allOwnKeys:r});return t};const M=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const z=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o);Object.defineProperty(e.prototype,"constructor",{value:e,writable:true,enumerable:false,configurable:true});Object.defineProperty(e,"super",{value:t.prototype});n&&Object.assign(e.prototype,n)};const $=(e,t,o,r)=>{let i;let s;let c;const a={};t=t||{};if(e==null)return t;do{i=Object.getOwnPropertyNames(e);s=i.length;while(s-- >0){c=i[s];if((!r||r(c,e,t))&&!a[c]){t[c]=e[c];a[c]=true}}e=o!==false&&n(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t};const H=(e,t,n)=>{e=String(e);if(n===undefined||n>e.length){n=e.length}n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n};const K=e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);while(t-- >0){n[t]=e[t]}return n};const J=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&n(Uint8Array));const X=(e,t)=>{const n=e&&e[o];const r=n.call(e);let i;while((i=r.next())&&!i.done){const n=i.value;t.call(e,n[0],n[1])}};const W=(e,t)=>{let n;const o=[];while((n=e.exec(t))!==null){o.push(n)}return o};const V=s("HTMLFormElement");const G=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,n,o){return n.toUpperCase()+o}));const Z=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype);const Q=s("RegExp");const Y=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e);const o={};B(n,((n,r)=>{let i;if((i=t(n,r,e))!==false){o[r]=i||n}}));Object.defineProperties(e,o)};const ee=e=>{Y(e,((t,n)=>{if(w(e)&&["arguments","caller","callee"].indexOf(n)!==-1){return false}const o=e[n];if(!w(o))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}}}))};const te=(e,t)=>{const n={};const o=e=>{e.forEach((e=>{n[e]=true}))};l(e)?o(e):o(String(e).split(t));return n};const ne=()=>{};const oe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function re(e){return!!(e&&w(e.append)&&e[r]==="FormData"&&e[o])}const ie=e=>{const t=new Array(10);const n=(e,o)=>{if(g(e)){if(t.indexOf(e)>=0){return}if(f(e)){return e}if(!("toJSON"in e)){t[o]=e;const r=l(e)?[]:{};B(e,((e,t)=>{const i=n(e,o+1);!u(i)&&(r[t]=i)}));t[o]=undefined;return r}}return e};return n(e,0)};const se=s("AsyncFunction");const ce=e=>e&&(g(e)||w(e))&&w(e.then)&&w(e.catch);const ae=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{_.addEventListener("message",(({source:n,data:o})=>{if(n===_&&o===e){t.length&&t.shift()()}}),false);return n=>{t.push(n);_.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",w(_.postMessage));const le=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(_):typeof process!=="undefined"&&process.nextTick||ae;const ue=e=>e!=null&&w(e[o]);var fe={isArray:l,isArrayBuffer:p,isBuffer:f,isFormData:j,isArrayBufferView:m,isString:b,isNumber:v,isBoolean:y,isObject:g,isPlainObject:x,isEmptyObject:k,isReadableStream:C,isRequest:F,isResponse:N,isHeaders:P,isUndefined:u,isDate:R,isFile:O,isBlob:S,isRegExp:Q,isFunction:w,isStream:E,isURLSearchParams:A,isTypedArray:J,isFileList:T,forEach:B,merge:q,extend:L,trim:U,stripBOM:M,inherits:z,toFlatObject:$,kindOf:i,kindOfTest:s,endsWith:H,toArray:K,forEachEntry:X,matchAll:W,isHTMLForm:V,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Y,freezeMethods:ee,toObjectSet:te,toCamelCase:G,noop:ne,toFiniteNumber:oe,findKey:I,global:_,isContextDefined:D,isSpecCompliantForm:re,toJSONObject:ie,isAsyncFn:se,isThenable:ce,setImmediate:ae,asap:le,isIterable:ue};class de extends Error{static from(e,t,n,o,r,i){const s=new de(e.message,t||e.code,n,o,r);s.cause=e;s.name=e.name;i&&Object.assign(s,i);return s}constructor(e,t,n,o,r){super(e);this.name="AxiosError";this.isAxiosError=true;t&&(this.code=t);n&&(this.config=n);o&&(this.request=o);if(r){this.response=r;this.status=r.status}}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:fe.toJSONObject(this.config),code:this.code,status:this.status}}}de.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";de.ERR_BAD_OPTION="ERR_BAD_OPTION";de.ECONNABORTED="ECONNABORTED";de.ETIMEDOUT="ETIMEDOUT";de.ERR_NETWORK="ERR_NETWORK";de.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";de.ERR_DEPRECATED="ERR_DEPRECATED";de.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";de.ERR_BAD_REQUEST="ERR_BAD_REQUEST";de.ERR_CANCELED="ERR_CANCELED";de.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";de.ERR_INVALID_URL="ERR_INVALID_URL";var he=de;var pe=null;function me(e){return fe.isPlainObject(e)||fe.isArray(e)}function be(e){return fe.endsWith(e,"[]")?e.slice(0,-2):e}function we(e,t,n){if(!e)return t;return e.concat(t).map((function e(t,o){t=be(t);return!n&&o?"["+t+"]":t})).join(n?".":"")}function ve(e){return fe.isArray(e)&&!e.some(me)}const ge=fe.toFlatObject(fe,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function ye(e,t,n){if(!fe.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;n=fe.toFlatObject(n,{metaTokens:true,dots:false,indexes:false},false,(function e(t,n){return!fe.isUndefined(n[t])}));const o=n.metaTokens;const r=n.visitor||u;const i=n.dots;const s=n.indexes;const c=n.Blob||typeof Blob!=="undefined"&&Blob;const a=c&&fe.isSpecCompliantForm(t);if(!fe.isFunction(r)){throw new TypeError("visitor must be a function")}function l(e){if(e===null)return"";if(fe.isDate(e)){return e.toISOString()}if(fe.isBoolean(e)){return e.toString()}if(!a&&fe.isBlob(e)){throw new he("Blob is not supported. Use a Buffer instead.")}if(fe.isArrayBuffer(e)||fe.isTypedArray(e)){return a&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function u(e,n,r){let c=e;if(e&&!r&&typeof e==="object"){if(fe.endsWith(n,"{}")){n=o?n:n.slice(0,-2);e=JSON.stringify(e)}else if(fe.isArray(e)&&ve(e)||(fe.isFileList(e)||fe.endsWith(n,"[]"))&&(c=fe.toArray(e))){n=be(n);c.forEach((function e(o,r){!(fe.isUndefined(o)||o===null)&&t.append(s===true?we([n],r,i):s===null?n:n+"[]",l(o))}));return false}}if(me(e)){return true}t.append(we(r,n,i),l(e));return false}const f=[];const d=Object.assign(ge,{defaultVisitor:u,convertValue:l,isVisitable:me});function h(e,n){if(fe.isUndefined(e))return;if(f.indexOf(e)!==-1){throw Error("Circular reference detected in "+n.join("."))}f.push(e);fe.forEach(e,(function e(o,i){const s=!(fe.isUndefined(o)||o===null)&&r.call(t,o,fe.isString(i)?i.trim():i,n,d);if(s===true){h(o,n?n.concat(i):[i])}}));f.pop()}if(!fe.isObject(e)){throw new TypeError("data must be an object")}h(e);return t}function xe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function e(n){return t[n]}))}function ke(e,t){this._pairs=[];e&&ye(e,this,t)}const Re=ke.prototype;Re.append=function e(t,n){this._pairs.push([t,n])};Re.toString=function e(t){const n=t?function(e){return t.call(this,e,xe)}:xe;return this._pairs.map((function e(t){return n(t[0])+"="+n(t[1])}),"").join("&")};function Oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Se(e,t,n){if(!t){return e}const o=n&&n.encode||Oe;const r=fe.isFunction(n)?{serialize:n}:n;const i=r&&r.serialize;let s;if(i){s=i(t,r)}else{s=fe.isURLSearchParams(t)?t.toString():new ke(t,r).toString(o)}if(s){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Te{constructor(){this.handlers=[]}use(e,t,n){this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){fe.forEach(this.handlers,(function t(n){if(n!==null){e(n)}}))}}var Ee=Te;var je={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false,legacyInterceptorReqResOrdering:true};var Ae=typeof URLSearchParams!=="undefined"?URLSearchParams:ke;var Ce=typeof FormData!=="undefined"?FormData:null;var Fe=typeof Blob!=="undefined"?Blob:null;var Ne={isBrowser:true,classes:{URLSearchParams:Ae,FormData:Ce,Blob:Fe},protocols:["http","https","file","blob","url","data"]};const Pe=typeof window!=="undefined"&&typeof document!=="undefined";const Ue=typeof navigator==="object"&&navigator||undefined;const Be=Pe&&(!Ue||["ReactNative","NativeScript","NS"].indexOf(Ue.product)<0);const Ie=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const _e=Pe&&window.location.href||"http://localhost";var De=Object.freeze({__proto__:null,hasBrowserEnv:Pe,hasStandardBrowserWebWorkerEnv:Ie,hasStandardBrowserEnv:Be,navigator:Ue,origin:_e});var qe={...De,...Ne};function Le(e,t){return ye(e,new qe.classes.URLSearchParams,{visitor:function(e,t,n,o){if(qe.isNode&&fe.isBuffer(e)){this.append(t,e.toString("base64"));return false}return o.defaultVisitor.apply(this,arguments)},...t})}function Me(e){return fe.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function ze(e){const t={};const n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o<r;o++){i=n[o];t[i]=e[i]}return t}function $e(e){function t(e,n,o,r){let i=e[r++];if(i==="__proto__")return true;const s=Number.isFinite(+i);const c=r>=e.length;i=!i&&fe.isArray(o)?o.length:i;if(c){if(fe.hasOwnProp(o,i)){o[i]=[o[i],n]}else{o[i]=n}return!s}if(!o[i]||!fe.isObject(o[i])){o[i]=[]}const a=t(e,n,o[i],r);if(a&&fe.isArray(o[i])){o[i]=ze(o[i])}return!s}if(fe.isFormData(e)&&fe.isFunction(e.entries)){const n={};fe.forEachEntry(e,((e,o)=>{t(Me(e),o,n,0)}));return n}return null}function He(e,t,n){if(fe.isString(e)){try{(0,JSON.parse)(e);return fe.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(n||JSON.stringify)(e)}const Ke={transitional:je,adapter:["xhr","http","fetch"],transformRequest:[function e(t,n){const o=n.getContentType()||"";const r=o.indexOf("application/json")>-1;const i=fe.isObject(t);if(i&&fe.isHTMLForm(t)){t=new FormData(t)}const s=fe.isFormData(t);if(s){return r?JSON.stringify($e(t)):t}if(fe.isArrayBuffer(t)||fe.isBuffer(t)||fe.isStream(t)||fe.isFile(t)||fe.isBlob(t)||fe.isReadableStream(t)){return t}if(fe.isArrayBufferView(t)){return t.buffer}if(fe.isURLSearchParams(t)){n.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}let c;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1){return Le(t,this.formSerializer).toString()}if((c=fe.isFileList(t))||o.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return ye(c?{"files[]":t}:t,e&&new e,this.formSerializer)}}if(i||r){n.setContentType("application/json",false);return He(t)}return t}],transformResponse:[function e(t){const n=this.transitional||Ke.transitional;const o=n&&n.forcedJSONParsing;const r=this.responseType==="json";if(fe.isResponse(t)||fe.isReadableStream(t)){return t}if(t&&fe.isString(t)&&(o&&!this.responseType||r)){const e=n&&n.silentJSONParsing;const o=!e&&r;try{return JSON.parse(t,this.parseReviver)}catch(e){if(o){if(e.name==="SyntaxError"){throw he.from(e,he.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qe.classes.FormData,Blob:qe.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};fe.forEach(["delete","get","head","post","put","patch"],(e=>{Ke.headers[e]={}}));var Je=Ke;const Xe=fe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var We=e=>{const t={};let n;let o;let r;e&&e.split("\n").forEach((function e(i){r=i.indexOf(":");n=i.substring(0,r).trim().toLowerCase();o=i.substring(r+1).trim();if(!n||t[n]&&Xe[n]){return}if(n==="set-cookie"){if(t[n]){t[n].push(o)}else{t[n]=[o]}}else{t[n]=t[n]?t[n]+", "+o:o}}));return t};const Ve=Symbol("internals");function Ge(e){return e&&String(e).trim().toLowerCase()}function Ze(e){if(e===false||e==null){return e}return fe.isArray(e)?e.map(Ze):String(e)}function Qe(e){const t=Object.create(null);const n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;while(o=n.exec(e)){t[o[1]]=o[2]}return t}const Ye=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function et(e,t,n,o,r){if(fe.isFunction(o)){return o.call(this,t,n)}if(r){t=n}if(!fe.isString(t))return;if(fe.isString(o)){return t.indexOf(o)!==-1}if(fe.isRegExp(o)){return o.test(t)}}function tt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function nt(e,t){const n=fe.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:true})}))}class ot{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=Ge(t);if(!r){throw new Error("header name must be a non-empty string")}const i=fe.findKey(o,r);if(!i||o[i]===undefined||n===true||n===undefined&&o[i]!==false){o[i||t]=Ze(e)}}const i=(e,t)=>fe.forEach(e,((e,n)=>r(e,n,t)));if(fe.isPlainObject(e)||e instanceof this.constructor){i(e,t)}else if(fe.isString(e)&&(e=e.trim())&&!Ye(e)){i(We(e),t)}else if(fe.isObject(e)&&fe.isIterable(e)){let n={},o,r;for(const t of e){if(!fe.isArray(t)){throw TypeError("Object iterator must return a key-value pair")}n[r=t[0]]=(o=n[r])?fe.isArray(o)?[...o,t[1]]:[o,t[1]]:t[1]}i(n,t)}else{e!=null&&r(t,e,n)}return this}get(e,t){e=Ge(e);if(e){const n=fe.findKey(this,e);if(n){const e=this[n];if(!t){return e}if(t===true){return Qe(e)}if(fe.isFunction(t)){return t.call(this,e,n)}if(fe.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=Ge(e);if(e){const n=fe.findKey(this,e);return!!(n&&this[n]!==undefined&&(!t||et(this,this[n],n,t)))}return false}delete(e,t){const n=this;let o=false;function r(e){e=Ge(e);if(e){const r=fe.findKey(n,e);if(r&&(!t||et(n,n[r],r,t))){delete n[r];o=true}}}if(fe.isArray(e)){e.forEach(r)}else{r(e)}return o}clear(e){const t=Object.keys(this);let n=t.length;let o=false;while(n--){const r=t[n];if(!e||et(this,this[r],r,e,true)){delete this[r];o=true}}return o}normalize(e){const t=this;const n={};fe.forEach(this,((o,r)=>{const i=fe.findKey(n,r);if(i){t[i]=Ze(o);delete t[r];return}const s=e?tt(r):String(r).trim();if(s!==r){delete t[r]}t[s]=Ze(o);n[s]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);fe.forEach(this,((n,o)=>{n!=null&&n!==false&&(t[o]=e&&fe.isArray(n)?n.join(", "):n)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);t.forEach((e=>n.set(e)));return n}static accessor(e){const t=this[Ve]=this[Ve]={accessors:{}};const n=t.accessors;const o=this.prototype;function r(e){const t=Ge(e);if(!n[t]){nt(o,e);n[t]=true}}fe.isArray(e)?e.forEach(r):r(e);return this}}ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);fe.reduceDescriptors(ot.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}));fe.freezeMethods(ot);var rt=ot;function it(e,t){const n=this||Je;const o=t||n;const r=rt.from(o.headers);let i=o.data;fe.forEach(e,(function e(o){i=o.call(n,i,r.normalize(),t?t.status:undefined)}));r.normalize();return i}function st(e){return!!(e&&e.__CANCEL__)}class ct extends he{constructor(e,t,n){super(e==null?"canceled":e,he.ERR_CANCELED,t,n);this.name="CanceledError";this.__CANCEL__=true}}var at=ct;function lt(e,t,n){const o=n.config.validateStatus;if(!n.status||!o||o(n.status)){e(n)}else{t(new he("Request failed with status code "+n.status,[he.ERR_BAD_REQUEST,he.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}}function ut(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ft(e,t){e=e||10;const n=new Array(e);const o=new Array(e);let r=0;let i=0;let s;t=t!==undefined?t:1e3;return function c(a){const l=Date.now();const u=o[i];if(!s){s=l}n[r]=a;o[r]=l;let f=i;let d=0;while(f!==r){d+=n[f++];f=f%e}r=(r+1)%e;if(r===i){i=(i+1)%e}if(l-s<t){return}const h=u&&l-u;return h?Math.round(d*1e3/h):undefined}}function dt(e,t){let n=0;let o=1e3/t;let r;let i;const s=(t,o=Date.now())=>{n=o;r=null;if(i){clearTimeout(i);i=null}e(...t)};const c=(...e)=>{const t=Date.now();const c=t-n;if(c>=o){s(e,t)}else{r=e;if(!i){i=setTimeout((()=>{i=null;s(r)}),o-c)}}};const a=()=>r&&s(r);return[c,a]}const ht=(e,t,n=3)=>{let o=0;const r=ft(50,250);return dt((n=>{const i=n.loaded;const s=n.lengthComputable?n.total:undefined;const c=i-o;const a=r(c);const l=i<=s;o=i;const u={loaded:i,total:s,progress:s?i/s:undefined,bytes:c,rate:a?a:undefined,estimated:a&&s&&l?(s-i)/a:undefined,event:n,lengthComputable:s!=null,[t?"download":"upload"]:true};e(u)}),n)};const pt=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]};const mt=e=>(...t)=>fe.asap((()=>e(...t)));var bt=qe.hasStandardBrowserEnv?((e,t)=>n=>{n=new URL(n,qe.origin);return e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)})(new URL(qe.origin),qe.navigator&&/(msie|trident)/i.test(qe.navigator.userAgent)):()=>true;var wt=qe.hasStandardBrowserEnv?{write(e,t,n,o,r,i,s){if(typeof document==="undefined")return;const c=[`${e}=${encodeURIComponent(t)}`];if(fe.isNumber(n)){c.push(`expires=${new Date(n).toUTCString()}`)}if(fe.isString(o)){c.push(`path=${o}`)}if(fe.isString(r)){c.push(`domain=${r}`)}if(i===true){c.push("secure")}if(fe.isString(s)){c.push(`SameSite=${s}`)}document.cookie=c.join("; ")},read(e){if(typeof document==="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vt(e){if(typeof e!=="string"){return false}return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function yt(e,t,n){let o=!vt(t);if(e&&(o||n==false)){return gt(e,t)}return t}const xt=e=>e instanceof rt?{...e}:e;function kt(e,t){t=t||{};const n={};function o(e,t,n,o){if(fe.isPlainObject(e)&&fe.isPlainObject(t)){return fe.merge.call({caseless:o},e,t)}else if(fe.isPlainObject(t)){return fe.merge({},t)}else if(fe.isArray(t)){return t.slice()}return t}function r(e,t,n,r){if(!fe.isUndefined(t)){return o(e,t,n,r)}else if(!fe.isUndefined(e)){return o(undefined,e,n,r)}}function i(e,t){if(!fe.isUndefined(t)){return o(undefined,t)}}function s(e,t){if(!fe.isUndefined(t)){return o(undefined,t)}else if(!fe.isUndefined(e)){return o(undefined,e)}}function c(n,r,i){if(i in t){return o(n,r)}else if(i in e){return o(undefined,n)}}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(e,t,n)=>r(xt(e),xt(t),n,true)};fe.forEach(Object.keys({...e,...t}),(function o(i){if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=fe.hasOwnProp(a,i)?a[i]:r;const l=s(e[i],t[i],i);fe.isUndefined(l)&&s!==c||(n[i]=l)}));return n}var Rt=e=>{const t=kt({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:s,auth:c}=t;t.headers=s=rt.from(s);t.url=Se(yt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer);if(c){s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")))}if(fe.isFormData(n)){if(qe.hasStandardBrowserEnv||qe.hasStandardBrowserWebWorkerEnv){s.setContentType(undefined)}else if(fe.isFunction(n.getHeaders)){const e=n.getHeaders();const t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{if(t.includes(e.toLowerCase())){s.set(e,n)}}))}}if(qe.hasStandardBrowserEnv){o&&fe.isFunction(o)&&(o=o(t));if(o||o!==false&&bt(t.url)){const e=r&&i&&wt.read(i);if(e){s.set(r,e)}}}return t};const Ot=typeof XMLHttpRequest!=="undefined";var St=Ot&&function(e){return new Promise((function t(n,o){const r=Rt(e);let i=r.data;const s=rt.from(r.headers).normalize();let{responseType:c,onUploadProgress:a,onDownloadProgress:l}=r;let u;let f,d;let h,p;function m(){h&&h();p&&p();r.cancelToken&&r.cancelToken.unsubscribe(u);r.signal&&r.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,true);b.timeout=r.timeout;function w(){if(!b){return}const t=rt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());const r=!c||c==="text"||c==="json"?b.responseText:b.response;const i={data:r,status:b.status,statusText:b.statusText,headers:t,config:e,request:b};lt((function e(t){n(t);m()}),(function e(t){o(t);m()}),i);b=null}if("onloadend"in b){b.onloadend=w}else{b.onreadystatechange=function e(){if(!b||b.readyState!==4){return}if(b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)){return}setTimeout(w)}}b.onabort=function t(){if(!b){return}o(new he("Request aborted",he.ECONNABORTED,e,b));b=null};b.onerror=function t(n){const r=n&&n.message?n.message:"Network Error";const i=new he(r,he.ERR_NETWORK,e,b);i.event=n||null;o(i);b=null};b.ontimeout=function t(){let n=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||je;if(r.timeoutErrorMessage){n=r.timeoutErrorMessage}o(new he(n,i.clarifyTimeoutError?he.ETIMEDOUT:he.ECONNABORTED,e,b));b=null};i===undefined&&s.setContentType(null);if("setRequestHeader"in b){fe.forEach(s.toJSON(),(function e(t,n){b.setRequestHeader(n,t)}))}if(!fe.isUndefined(r.withCredentials)){b.withCredentials=!!r.withCredentials}if(c&&c!=="json"){b.responseType=r.responseType}if(l){[d,p]=ht(l,true);b.addEventListener("progress",d)}if(a&&b.upload){[f,h]=ht(a);b.upload.addEventListener("progress",f);b.upload.addEventListener("loadend",h)}if(r.cancelToken||r.signal){u=t=>{if(!b){return}o(!t||t.type?new at(null,e,b):t);b.abort();b=null};r.cancelToken&&r.cancelToken.subscribe(u);if(r.signal){r.signal.aborted?u():r.signal.addEventListener("abort",u)}}const v=ut(r.url);if(v&&qe.protocols.indexOf(v)===-1){o(new he("Unsupported protocol "+v+":",he.ERR_BAD_REQUEST,e));return}b.send(i||null)}))};const Tt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController;let o;const r=function(e){if(!o){o=true;s();const t=e instanceof Error?e:this.reason;n.abort(t instanceof he?t:new at(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null;r(new he(`timeout of ${t}ms exceeded`,he.ETIMEDOUT))}),t);const s=()=>{if(e){i&&clearTimeout(i);i=null;e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}));e=null}};e.forEach((e=>e.addEventListener("abort",r)));const{signal:c}=n;c.unsubscribe=()=>fe.asap(s);return c}};var Et=Tt;const jt=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0;let r;while(o<n){r=o+t;yield e.slice(o,r);o=r}};const At=async function*(e,t){for await(const n of Ct(e)){yield*jt(n,t)}};const Ct=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e){break}yield n}}finally{await t.cancel()}};const Ft=(e,t,n,o)=>{const r=At(e,t);let i=0;let s;let c=e=>{if(!s){s=true;o&&o(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t){c();e.close();return}let s=o.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(o))}catch(e){c(e);throw e}},cancel(e){c(e);return r.return()}},{highWaterMark:2})};const Nt=64*1024;const{isFunction:Pt}=fe;const Ut=(({Request:e,Response:t})=>({Request:e,Response:t}))(fe.global);const{ReadableStream:Bt,TextEncoder:It}=fe.global;const _t=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const Dt=e=>{e=fe.merge.call({skipUndefined:true},Ut,e);const{fetch:t,Request:n,Response:o}=e;const r=t?Pt(t):typeof fetch==="function";const i=Pt(n);const s=Pt(o);if(!r){return false}const c=r&&Pt(Bt);const a=r&&(typeof It==="function"?(e=>t=>e.encode(t))(new It):async e=>new Uint8Array(await new n(e).arrayBuffer()));const l=i&&c&&_t((()=>{let e=false;const t=new n(qe.origin,{body:new Bt,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));const u=s&&c&&_t((()=>fe.isReadableStream(new o("").body)));const f={stream:u&&(e=>e.body)};r&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!f[e]&&(f[e]=(t,n)=>{let o=t&&t[e];if(o){return o.call(t)}throw new he(`Response type '${e}' is not supported`,he.ERR_NOT_SUPPORT,n)})}))})();const d=async e=>{if(e==null){return 0}if(fe.isBlob(e)){return e.size}if(fe.isSpecCompliantForm(e)){const t=new n(qe.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}if(fe.isArrayBufferView(e)||fe.isArrayBuffer(e)){return e.byteLength}if(fe.isURLSearchParams(e)){e=e+""}if(fe.isString(e)){return(await a(e)).byteLength}};const h=async(e,t)=>{const n=fe.toFiniteNumber(e.getContentLength());return n==null?d(t):n};return async e=>{let{url:r,method:s,data:c,signal:a,cancelToken:d,timeout:p,onDownloadProgress:m,onUploadProgress:b,responseType:w,headers:v,withCredentials:g="same-origin",fetchOptions:y}=Rt(e);let x=t||fetch;w=w?(w+"").toLowerCase():"text";let k=Et([a,d&&d.toAbortSignal()],p);let R=null;const O=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let S;try{if(b&&l&&s!=="get"&&s!=="head"&&(S=await h(v,c))!==0){let e=new n(r,{method:"POST",body:c,duplex:"half"});let t;if(fe.isFormData(c)&&(t=e.headers.get("content-type"))){v.setContentType(t)}if(e.body){const[t,n]=pt(S,ht(mt(b)));c=Ft(e.body,Nt,t,n)}}if(!fe.isString(g)){g=g?"include":"omit"}const t=i&&"credentials"in n.prototype;const a={...y,signal:k,method:s.toUpperCase(),headers:v.normalize().toJSON(),body:c,duplex:"half",credentials:t?g:undefined};R=i&&new n(r,a);let d=await(i?x(R,y):x(r,a));const p=u&&(w==="stream"||w==="response");if(u&&(m||p&&O)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=d[t]}));const t=fe.toFiniteNumber(d.headers.get("content-length"));const[n,r]=m&&pt(t,ht(mt(m),true))||[];d=new o(Ft(d.body,Nt,n,(()=>{r&&r();O&&O()})),e)}w=w||"text";let T=await f[fe.findKey(f,w)||"text"](d,e);!p&&O&&O();return await new Promise(((t,n)=>{lt(t,n,{data:T,headers:rt.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:R})}))}catch(t){O&&O();if(t&&t.name==="TypeError"&&/Load failed|fetch/i.test(t.message)){throw Object.assign(new he("Network Error",he.ERR_NETWORK,e,R,t&&t.response),{cause:t.cause||t})}throw he.from(t,t&&t.code,e,R,t&&t.response)}}};const qt=new Map;const Lt=e=>{let t=e&&e.env||{};const{fetch:n,Request:o,Response:r}=t;const i=[o,r,n];let s=i.length,c=s,a,l,u=qt;while(c--){a=i[c];l=u.get(a);l===undefined&&u.set(a,l=c?new Map:Dt(t));u=l}return l};Lt();const Mt={http:pe,xhr:St,fetch:{get:Lt}};fe.forEach(Mt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const zt=e=>`- ${e}`;const $t=e=>fe.isFunction(e)||e===null||e===false;function Ht(e,t){e=fe.isArray(e)?e:[e];const{length:n}=e;let o;let r;const i={};for(let s=0;s<n;s++){o=e[s];let n;r=o;if(!$t(o)){r=Mt[(n=String(o)).toLowerCase()];if(r===undefined){throw new he(`Unknown adapter '${n}'`)}}if(r&&(fe.isFunction(r)||(r=r.get(t)))){break}i[n||"#"+s]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(zt).join("\n"):" "+zt(e[0]):"as no adapter specified";throw new he(`There is no suitable adapter to dispatch the request `+t,"ERR_NOT_SUPPORT")}return r}var Kt={getAdapter:Ht,adapters:Mt};function Jt(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new at(null,e)}}function Xt(e){Jt(e);e.headers=rt.from(e.headers);e.data=it.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=Kt.getAdapter(e.adapter||Je.adapter,e);return t(e).then((function t(n){Jt(e);n.data=it.call(e,e.transformResponse,n);n.headers=rt.from(n.headers);return n}),(function t(n){if(!st(n)){Jt(e);if(n&&n.response){n.response.data=it.call(e,e.transformResponse,n.response);n.response.headers=rt.from(n.response.headers)}}return Promise.reject(n)}))}const Wt="1.13.5";const Vt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Vt[e]=function n(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));const Gt={};Vt.transitional=function e(t,n,o){function r(e,t){return"[Axios v"+Wt+"] Transitional option '"+e+"'"+t+(o?". "+o:"")}return(e,o,i)=>{if(t===false){throw new he(r(o," has been removed"+(n?" in "+n:"")),he.ERR_DEPRECATED)}if(n&&!Gt[o]){Gt[o]=true;console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))}return t?t(e,o,i):true}};Vt.spelling=function e(t){return(e,n)=>{console.warn(`${n} is likely a misspelling of ${t}`);return true}};function Zt(e,t,n){if(typeof e!=="object"){throw new he("options must be an object",he.ERR_BAD_OPTION_VALUE)}const o=Object.keys(e);let r=o.length;while(r-- >0){const i=o[r];const s=t[i];if(s){const t=e[i];const n=t===undefined||s(t,i,e);if(n!==true){throw new he("option "+i+" must be "+n,he.ERR_BAD_OPTION_VALUE)}continue}if(n!==true){throw new he("Unknown option "+i,he.ERR_BAD_OPTION)}}}var Qt={assertOptions:Zt,validators:Vt};const Yt=Qt.validators;class en{constructor(e){this.defaults=e||{};this.interceptors={request:new Ee,response:new Ee}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{if(!e.stack){e.stack=n}else if(n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))){e.stack+="\n"+n}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=kt(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;if(n!==undefined){Qt.assertOptions(n,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean),legacyInterceptorReqResOrdering:Yt.transitional(Yt.boolean)},false)}if(o!=null){if(fe.isFunction(o)){t.paramsSerializer={serialize:o}}else{Qt.assertOptions(o,{encode:Yt.function,serialize:Yt.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}Qt.assertOptions(t,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=r&&fe.merge(r.common,r[t.method]);r&&fe.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]}));t.headers=rt.concat(i,r);const s=[];let c=true;this.interceptors.request.forEach((function e(n){if(typeof n.runWhen==="function"&&n.runWhen(t)===false){return}c=c&&n.synchronous;const o=t.transitional||je;const r=o&&o.legacyInterceptorReqResOrdering;if(r){s.unshift(n.fulfilled,n.rejected)}else{s.push(n.fulfilled,n.rejected)}}));const a=[];this.interceptors.response.forEach((function e(t){a.push(t.fulfilled,t.rejected)}));let l;let u=0;let f;if(!c){const e=[Xt.bind(this),undefined];e.unshift(...s);e.push(...a);f=e.length;l=Promise.resolve(t);while(u<f){l=l.then(e[u++],e[u++])}return l}f=s.length;let d=t;while(u<f){const e=s[u++];const t=s[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{l=Xt.call(this,d)}catch(e){return Promise.reject(e)}u=0;f=a.length;while(u<f){l=l.then(a[u++],a[u++])}return l}getUri(e){e=kt(this.defaults,e);const t=yt(e.baseURL,e.url,e.allowAbsoluteUrls);return Se(t,e.params,e.paramsSerializer)}}fe.forEach(["delete","get","head","options"],(function e(t){en.prototype[t]=function(e,n){return this.request(kt(n||{},{method:t,url:e,data:(n||{}).data}))}}));fe.forEach(["post","put","patch"],(function e(t){function n(e){return function n(o,r,i){return this.request(kt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}en.prototype[t]=n();en.prototype[t+"Form"]=n(true)}));var tn=en;class nn{constructor(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}let t;this.promise=new Promise((function e(n){t=n}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0){n._listeners[t](e)}n._listeners=null}));this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e);t=e})).then(e);o.cancel=function e(){n.unsubscribe(t)};return o};e((function e(o,r,i){if(n.reason){return}n.reason=new at(o,r,i);t(n.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}toAbortSignal(){const e=new AbortController;const t=t=>{e.abort(t)};this.subscribe(t);e.signal.unsubscribe=()=>this.unsubscribe(t);return e.signal}static source(){let e;const t=new nn((function t(n){e=n}));return{token:t,cancel:e}}}var on=nn;function rn(e){return function t(n){return e.apply(null,n)}}function sn(e){return fe.isObject(e)&&e.isAxiosError===true}const cn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(cn).forEach((([e,t])=>{cn[t]=e}));var an=cn;function ln(t){const n=new tn(t);const o=e(tn.prototype.request,n);fe.extend(o,tn.prototype,n,{allOwnKeys:true});fe.extend(o,n,null,{allOwnKeys:true});o.create=function e(n){return ln(kt(t,n))};return o}const un=ln(Je);un.Axios=tn;un.CanceledError=at;un.CancelToken=on;un.isCancel=st;un.VERSION=Wt;un.toFormData=ye;un.AxiosError=he;un.Cancel=un.CanceledError;un.all=function e(t){return Promise.all(t)};un.spread=rn;un.isAxiosError=sn;un.mergeConfig=kt;un.AxiosHeaders=rt;un.formToJSON=e=>$e(fe.isHTMLForm(e)?new FormData(e):e);un.getAdapter=Kt.getAdapter;un.HttpStatusCode=an;un.default=un;d=un;return d}var m=p();var b=l(m);const w=u.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";const v=()=>b.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:w}}).then((e=>e.data)).catch((e=>{console.log("Unleash: Unable to fetch feature flags",e);throw e}));const g='verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{gap:12px;width:300px;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .row .option{gap:4px;display:-ms-flexbox;display:flex;padding:5px 8px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;text-wrap:nowrap}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{font-size:14px;width:88px}verdocs-contact-picker form .pin-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .pin-code>input{-ms-flex:0 0 197px;flex:0 0 197px;font-size:14px}verdocs-contact-picker form .address{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .address>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form .zip-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .zip-code>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form label{display:-ms-flexbox;display:flex;-ms-flex:0 0 80px;flex:0 0 80px;font-size:13px;font-weight:500;color:#5c6575}verdocs-contact-picker form .row.message textarea{width:100%;padding:5px 7px;border-radius:4px;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif)}verdocs-contact-picker form input{-ms-flex:1;flex:1;padding:6px;font-size:14px;border-radius:3px;border:1px solid rgba(112, 122, 229, 0.3725490196)}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}#verdocs-contact-picker-suggestions .dropdown{max-height:225px;overflow-y:scroll;background:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}#verdocs-contact-picker-suggestions .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}#verdocs-contact-picker-suggestions .dropdown .suggestion svg{width:32px;height:32px}#verdocs-contact-picker-suggestions .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}#verdocs-contact-picker-suggestions .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#verdocs-contact-picker-suggestions .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}#verdocs-contact-picker-suggestions .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}#verdocs-contact-picker-suggestions .dropdown .suggestion:hover{background:#eee;cursor:pointer}';const y=`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-user"><path d="M15 13a3 3 0 1 0-6 0"/><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"/><circle cx="12" cy="8" r="2"/></svg>`;const x=class{constructor(n){e(this,n);this.searchContacts=t(this,"searchContacts");this.exit=t(this,"exit");this.next=t(this,"next");this.endpoint=r.getDefault();this.templateRole=null;this.contactSuggestions=[];this.showSuggestions=false;this.showMessage=false;this.delegator=false;this.auth_methods=[];this.passcode="";this.firstNameFieldId=`verdocs-contact-picker-firstname-${Math.random().toString(36).substring(2,11)}`;this.lastNameFieldId=`verdocs-contact-picker-lastname-${Math.random().toString(36).substring(2,11)}`;this.emailFieldId=`verdocs-contact-picker-email-${Math.random().toString(36).substring(2,11)}`;this.phoneFieldId=`verdocs-contact-picker-phone-${Math.random().toString(36).substring(2,11)}`;this.featureFlags=null;this.activeEntitlements={}}componentWillLoad(){this.endpoint.loadSession();if(this.templateRole){const e=i(this.templateRole);const t=e.split(" ");const n=this.templateRole.first_name||t.shift()||"";const o=this.templateRole.last_name||t.join(" ")||"";this.first_name=n;this.last_name=o;this.email=this.templateRole.email||"";this.phone=this.templateRole.phone||"";this.delegator=this.templateRole.delegator||false;this.message=this.templateRole.message||"";this.showMessage=this.message!=="";this.auth_methods=this.templateRole.auth_methods||[];this.passcode=this.templateRole.passcode||""}s(this.endpoint).then((e=>{this.activeEntitlements=e;console.log("[CONTACT PICKER] Loaded entitlements",e)})).catch((e=>console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)));v().then((e=>{this.featureFlags=e;console.log("[CONTACT PICKER] Loaded feature flags",e)})).catch((e=>{console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))}handleFirstNameChange(e){var t;this.first_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.first_name})}handleLastNameChange(e){var t;this.last_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.last_name})}handleCancel(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.exit)===null||t===void 0?void 0:t.emit()}handleSubmit(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.next)===null||t===void 0?void 0:t.emit({first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,message:this.message,delegator:this.delegator,auth_methods:this.auth_methods,passcode:this.passcode,address:this.address,zip:this.zip})}handleSelectSuggestion(e,t){e.stopPropagation();this.first_name=t.first_name;this.last_name=t.last_name;this.email=t.email;this.phone=t.phone;this.showSuggestions=false}render(){var e,t,r,s,a,l,u,d,h,p,m,b,w,v,g,x,k,R;const O=this.first_name&&this.last_name&&c(this.email);const S=!this.auth_methods.length||this.auth_methods.includes("passcode")&&!!this.passcode||this.auth_methods.includes("kba")&&!!this.first_name&&!!this.last_name||this.auth_methods.includes("email")&&!!this.email||this.auth_methods.includes("sms")&&!!this.phone;const T=O&&S;const E=((r=(t=(e=this.featureFlags)===null||e===void 0?void 0:e.toggles)===null||t===void 0?void 0:t.find((e=>e.name==="sms")))===null||r===void 0?void 0:r.enabled)===true;const j=[];if(((l=(a=(s=this.featureFlags)===null||s===void 0?void 0:s.toggles)===null||a===void 0?void 0:a.find((e=>e.name==="passcode-verification")))===null||l===void 0?void 0:l.enabled)===true){j.push({label:"Passcode",value:"passcode"})}if(((h=(d=(u=this.featureFlags)===null||u===void 0?void 0:u.toggles)===null||d===void 0?void 0:d.find((e=>e.name==="email-verification")))===null||h===void 0?void 0:h.enabled)===true){j.push({label:"Email",value:"email"})}if(E&&((b=(m=(p=this.featureFlags)===null||p===void 0?void 0:p.toggles)===null||m===void 0?void 0:m.find((e=>e.name==="sms-verification")))===null||b===void 0?void 0:b.enabled)===true&&!!this.activeEntitlements.sms_auth){j.push({label:"SMS (One-Time Code)",value:"sms"})}if(((g=(v=(w=this.featureFlags)===null||w===void 0?void 0:w.toggles)===null||v===void 0?void 0:v.find((e=>e.name==="kba-verification")))===null||g===void 0?void 0:g.enabled)===true&&!!this.activeEntitlements.kba_auth){j.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((R=(k=(x=this.featureFlags)===null||x===void 0?void 0:x.toggles)===null||k===void 0?void 0:k.find((e=>e.name==="id-verification")))===null||R===void 0?void 0:R.enabled)===true&&!!this.activeEntitlements.id_auth){j.push({label:"ID Check",value:"id"})}return n("form",{key:"5b4d4de3ad06d4cb458b92ca6159fadcbb38a89e",onSubmit:e=>e.preventDefault(),autocomplete:"off"},n("div",{key:"065bd43ea84a5431f4cb370491147377d0b4ed87",class:"row"},n("label",{key:"48e3ab3a13607b42018e400703910d08f053d7c0",htmlFor:this.firstNameFieldId},"Name:"),n("div",{key:"c1acb5b9cfd0cdbd17edce151e66035826ae3e15",class:"names-row"},n("input",{key:"bfd3f91624725b717df1b27d000924503e0cb0b8",id:this.firstNameFieldId,name:this.firstNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.first_name,placeholder:"First...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleFirstNameChange(e)}),n("input",{key:"30ae8e6b5c52c45bad07572a9357c575fd248df1",id:this.lastNameFieldId,name:this.lastNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.last_name,placeholder:"Last...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleLastNameChange(e)})),this.showSuggestions&&n("verdocs-portal",{key:"6a03422c1dbe45c1e8a389af0f884f2f4b525aca",anchor:this.firstNameFieldId,onClickAway:()=>{this.showSuggestions=false;document.querySelectorAll(`.verdocs-portal-wrapper`).forEach((e=>e.remove()))},id:"verdocs-contact-picker-suggestions"},n("div",{key:"a9907d3c7b291fde2e86a3a0dd2bfb0f2c1d06b3",class:"dropdown"},this.contactSuggestions.filter((e=>!this.first_name||e.first_name.toLowerCase().includes(this.first_name.toLowerCase()))).map((e=>{var t;return n("div",{key:(t=e.id)!==null&&t!==void 0?t:e.email,class:"suggestion",onClick:t=>this.handleSelectSuggestion(t,e)},e.picture?n("img",{alt:"Avatar",class:"avatar",src:e.picture}):n("div",{class:"avatar",innerHTML:y}),n("div",{class:"details"},n("div",{class:"name"},i(e)),e.email&&n("div",{class:"destination"},e.email),e.phone&&n("div",{class:"destination"},e.phone)))}))))),n("div",{key:"220b7dc0f04eb27279e003aaa196aee58b51ec64",class:"row"},n("label",{key:"7120d789f96a375a3f6237b93a3699866dae5e0e",htmlFor:this.emailFieldId},"Email:"),n("input",{key:"33aa0973927dedcc1d3005411dcdb87c969a65c2",id:this.emailFieldId,name:this.emailFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.email,placeholder:"Invite/verify via email...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.email=e.target.value})),E&&n("div",{key:"8b888dd8490d99235bd1d1b2e6acce6d64fbf5a4",class:"row"},n("label",{key:"702e60156cfbe39cc56c20ca5f9e5b112eb8fbb5",htmlFor:this.phoneFieldId},"Phone:"),n("input",{key:"1f6b416d622b821e63e89bdf75626bc9f97422df",id:this.phoneFieldId,name:this.phoneFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.phone,placeholder:"Invite/verify via SMS...",onFocus:()=>this.showSuggestions=false,onInput:e=>{this.phone=f(e.target.value)}})),n(o,{key:"60d3ccc50417d1fbe6a815d6edf37619f945b63e"},j.length>0&&n("div",{key:"f1248b2c40c1cfb22cfa577bc1f5c5895362ded2",class:"row pin-code"},n("label",{key:"d782f794fa6a8d2ca18835db9e8d6e510038f212"},"Verification Methods:"),n("div",{key:"51370acfa10be18fa7783ee28849caaf9ad11fcb"},j.map(((e,t)=>n("div",{class:"option"},n("verdocs-checkbox",{size:"small",id:`verdocs-multi-select-opt-${t}`,value:e.value,checked:this.auth_methods.includes(e.value),onInput:t=>{if(t.target.checked){this.auth_methods=[...this.auth_methods,e.value]}else{this.auth_methods=this.auth_methods.filter((t=>t!==e.value))}}}),n("label",{htmlFor:`verdocs-multi-select-option-${t}`},e.label)))))),this.auth_methods.includes("passcode")&&n("div",{key:"37cc47ae07fcee96a90ca0684307b2fa12436fbd",class:"row pin-code"},n("label",{key:"57b9975fcdf609ebcfd709f2cc646f74163eda15",htmlFor:this.phoneFieldId},"Passcode:"),n("input",{key:"5c9f4d7f4757512fa7c87e91adf731fe256050da",id:"verdocs-passcode",name:"verdocs-passcode",type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.passcode,placeholder:"4-8 digits recommended...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.passcode=e.target.value}))),n("div",{key:"7bed0f7befff14122e821680fce895d64889212c",class:"row pin-code"},n("label",{key:"295f03231ca15e2a25895d8f6dca7b7507fc58fa"},"Delegation:"),n("div",{key:"21d03961df0853b3f1e4a4b3e9445e8a3ecf80ee"},n("div",{key:"1e70e144d4e678e9697039468549ef38606dc3b7",class:"option"},n("verdocs-checkbox",{key:"8f94ea2d0b3f1bc8831c8666d379ebc2a22fbb95",size:"small",id:"verdocs-delegator",checked:this.delegator,onInput:e=>{this.delegator=e.target.checked}}),n("label",{key:"9ea3f9f359f7045aebd80367af0a7431d1e850e4",htmlFor:"verdocs-delegator"},"May delegate signing")))),n("div",{key:"90e07660115c7f41ade3aad5fe4eb93d7d8cb4fd",class:"row message"},n("label",{key:"0268f3ecd123de3c8d0e27b345253385157bfce6",htmlFor:"verdocs-contact-picker-message"},"Message:"),n("textarea",{key:"526671a3e768cc6280e82d04fe4f86d0fd5678bd",id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.message=e.target.value},this.message)),n("div",{key:"9bfb44085c94a08a9d2957d031e263d398ab170b",class:"buttons"},n("div",{key:"2b21510d850071094dd7005c26de4e8cd14c992d",class:"flex-fill"}),n("verdocs-button",{key:"881527d8167c31490622f3e9f0252cfdd3139d58",variant:"outline",label:"Cancel",size:"small",onClick:e=>this.handleCancel(e)}),n("verdocs-button",{key:"3dbc5efa49eb696eedb2d50c06837b70abea5e80",label:"OK",size:"small",disabled:!T,onClick:!T?()=>{}:e=>this.handleSubmit(e)})))}};x.style=g;export{x as verdocs_contact_picker};
|
|
3
|
+
//# sourceMappingURL=p-c288939e.entry.js.map
|