@verdocs/web-sdk 6.9.9 → 6.9.12
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/verdocs-contact-picker.cjs.entry.js +121 -15
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js.map +1 -1
- package/dist/components/{p-D_8TNtkM.js → p-Bpe5Awxh.js} +2 -2
- package/dist/components/p-DeQsR41s.js +3 -0
- package/dist/components/p-DeQsR41s.js.map +1 -0
- package/dist/components/verdocs-build.js +1 -1
- package/dist/components/verdocs-contact-picker.js +1 -1
- package/dist/components/verdocs-send.js +1 -1
- package/dist/esm/verdocs-contact-picker.entry.js +121 -15
- package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
- package/dist/esm-es5/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/verdocs-web-sdk/p-3a542ed0.system.entry.js +4 -0
- package/dist/verdocs-web-sdk/p-3a542ed0.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-BdZ5Ghsa.system.js +1 -1
- package/dist/verdocs-web-sdk/p-ae4290c6.entry.js +3 -0
- package/dist/verdocs-web-sdk/p-ae4290c6.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +2 -2
- package/dist/components/p-CT0DHyPw.js +0 -3
- package/dist/components/p-CT0DHyPw.js.map +0 -1
- package/dist/verdocs-web-sdk/p-1e8f1ce4.system.entry.js +0 -4
- package/dist/verdocs-web-sdk/p-1e8f1ce4.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-b464b598.entry.js +0 -3
- package/dist/verdocs-web-sdk/p-b464b598.entry.js.map +0 -1
- /package/dist/components/{p-D_8TNtkM.js.map → p-Bpe5Awxh.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,d){function s(e){try{l(a.next(e))}catch(e){d(e)}}function o(e){try{l(a["throw"](e))}catch(e){d(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},a,n,d,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(a=1,n&&(d=o[0]&2?n["return"]:o[0]?n["throw"]||((d=n["return"])&&d.call(n),0):n.next)&&!(d=d.call(n,o[1])).done)return d;if(n=0,d)o=[o[0]&2,d.value];switch(o[0]){case 0:case 1:d=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(d=i.trys,d=d.length>0&&d[d.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!d||o[1]>d[0]&&o[1]<d[3])){i.label=o[1];break}if(o[0]===6&&i.label<d[1]){i.label=d[1];d=o;break}if(d&&i.label<d[2]){i.label=d[2];i.ops.push(o);break}if(d[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];n=0}finally{a=d=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-De3fNE_u.system.js","./p-BbPAtVJG.system.js"],(function(e,t){"use strict";var i,a,n;return{setters:[function(t){i=t.p;a=t.b;e("setNonce",t.s)},function(e){n=e.g}],execute:function(){var e=this;var d=function(){var e=t.meta.url;var a={};if(e!==""){a.resourcesUrl=new URL(".",e).href}return i(a)};d().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,n()];case 1:e.sent();return[2,a(JSON.parse('[["p-99e594ef.system",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]],["p-0240a6e1.system",[[0,"verdocs-sign",{"endpoint":[1040],"envelopeId":[513,"envelope-id"],"roleId":[513,"role-id"],"inviteCode":[513,"invite-code"],"headerTargetId":[1,"header-target-id"],"toolbarStyle":[1,"toolbar-style"],"recipient":[32],"hasSignature":[32],"nextButtonLabel":[32],"nextSubmits":[32],"fatalErrorHeader":[32],"fatalErrorMessage":[32],"focusedField":[32],"disclosures":[32],"fieldUpdateCounter":[32],"submitting":[32],"submitted":[32],"isDone":[32],"showDone":[32],"adoptingSignature":[32],"showLoadError":[32],"finishLater":[32],"showFinishLater":[32],"agreed":[32],"signatureId":[32],"initialId":[32],"documentsSingularPlural":[32],"authStep":[32],"authMethodStates":[32],"pageNumber":[32],"kbaQuestions":[32],"showSpinner":[32],"declining":[32],"delegating":[32],"delegated":[32],"kbaChoices":[32],"showDownloadDialog":[32],"loading":[32],"envelope":[32],"zoomLevel":[32],"signingProgressMode":[32],"polling":[32]}]]],["p-40f5ecf3.system",[[0,"verdocs-envelopes-list",{"endpoint":[16],"view":[1537],"status":[1537],"sort":[1537],"match":[1537],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"selectedEnvelopes":[32],"envelopes":[32]},null,{"view":[{"handleViewUpdated":0}],"status":[{"handleStatusUpdated":0}],"sort":[{"handleSortUpdated":0}],"match":[{"handleMatchUpdated":0}],"selectedPage":[{"handlePageUpdated":0}]}]]],["p-83a863b1.system",[[0,"verdocs-templates-list",{"endpoint":[16],"visibility":[1537],"starred":[1537],"sort":[1537],"name":[1537],"allowedActions":[1040],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"confirmDelete":[32],"templates":[32],"localNameFilter":[32]},null,{"sharing":[{"handleSharingUpdated":0}],"starred":[{"handleStarredUpdated":0}],"sort":[{"handleSortUpdated":0}],"name":[{"handleNameUpdated":0}],"selectedPage":[{"handlePageUpdated":0}]}]]],["p-228c0fa3.system",[[0,"verdocs-envelope-sidebar",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"activeTab":[32],"panelOpen":[32],"showRecipientDialog":[32],"showCancelDialog":[32],"showReinviteDialog":[32],"showUpdateDialog":[32],"remindersEnabled":[32],"updatingReminders":[32],"initialReminder":[32],"followupReminders":[32],"loading":[32],"envelope":[32]}]]],["p-297d1631.system",[[0,"verdocs-field-payment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"fields":[16],"pageNum":[2,"page-num"],"roleName":[1,"role-name"],"fieldId":[1,"field-id"],"recipients":[8],"selectedRoleName":[1,"selected-role-name"],"pdfPages":[16],"currentSignature":[1,"current-signature"],"currentSignatureId":[1,"current-signature-id"],"currentInitial":[1,"current-initial"],"currentInitialId":[1,"current-initial-id"],"signed":[4],"roleindex":[2],"showingProperties":[32],"focused":[32],"preparedMessage":[32],"signatureUrl":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}]]],["p-4b269de0.system",[[0,"verdocs-template-settings",{"endpoint":[16],"templateId":[1,"template-id"],"name":[32],"visibility":[32],"sender":[32],"sendReminders":[32],"initialReminder":[32],"followupReminders":[32],"dirty":[32],"loading":[32],"template":[32]}]]],["p-9a40e58c.system",[[0,"verdocs-template-create",{"endpoint":[16],"maxSize":[1026,"max-size"],"file":[32],"creating":[32],"progressLabel":[32],"progressPercent":[32],"errorMessage":[32]}]]],["p-3f5ad836.system",[[0,"verdocs-auth",{"endpoint":[16],"visible":[4],"logo":[1],"displayMode":[1025,"display-mode"],"org_name":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"verificationCode":[32],"newPassword":[32],"password":[32],"confirmpass":[32],"submitting":[32],"resendDisabled":[32],"session":[32],"profile":[32]}]]],["p-1827477d.system",[[0,"verdocs-initial-dialog",{"initials":[1],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}]]],["p-d3b798ae.system",[[0,"verdocs-signature-dialog",{"name":[1],"fontLoaded":[32],"enteredName":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasUploadedImage":[32],"uploadedFileName":[32]}]]],["p-1258cb3f.system",[[0,"verdocs-date-input",{"value":[1537],"label":[1],"placeholder":[1],"helpText":[1,"help-text"],"disabled":[4],"required":[4],"showingPw":[32],"focused":[32],"containerId":[32],"focusField":[64]}]]],["p-88244ef4.system",[[0,"verdocs-envelope-recipient-summary",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"canSendAnother":[4,"can-send-another"],"canView":[4,"can-view"],"canDone":[4,"can-done"],"isOpen":[32],"recipientStatusIcons":[32],"containerId":[32],"gettingLinks":[32],"links":[32],"loading":[32],"envelope":[32]}]]],["p-fd59f055.system",[[0,"verdocs-multiselect",{"label":[1],"placeholder":[1],"options":[16],"selectedOptions":[16],"showPicker":[32]}]]],["p-7e6d153f.system",[[0,"verdocs-signing-progress",{"mode":[1],"focusedField":[1,"focused-field"],"fields":[16],"recipientFields":[16]}]]],["p-cfac9703.system",[[260,"verdocs-button-panel",{"icon":[1],"showPanel":[64],"hidePanel":[64],"toggle":[64]}]]],["p-c5b70927.system",[[0,"verdocs-quick-functions",{"endpoint":[16]}]]],["p-e1bf3431.system",[[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1],"grabsFocus":[4,"grabs-focus"],"focusField":[64]}]]],["p-d3d177d0.system",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["p-13e7d40b.system",[[0,"verdocs-table",{"columns":[16],"data":[16]}]]],["p-88ccf564.system",[[260,"verdocs-tabs",{"tabs":[16],"selectedTab":[2,"selected-tab"]}]]],["p-2f96e7c9.system",[[0,"verdocs-template-card",{"template":[16]}]]],["p-ca03555a.system",[[0,"verdocs-template-tags",{"tags":[16]}]]],["p-adae5a12.system",[[0,"verdocs-toggle",{"options":[16],"theme":[1],"selectedOption":[32]}]]],["p-aa3b0fb7.system",[[0,"verdocs-toggle-button",{"active":[4],"icon":[1],"label":[1],"size":[1],"_active":[32]}]]],["p-4798c2a5.system",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"envelope":[16],"isOpen":[32],"containerId":[32]}]]],["p-495ed75e.system",[[0,"verdocs-template-star",{"endpoint":[16],"template":[1040],"updating":[32]}]]],["p-83153211.system",[[0,"verdocs-envelope-update-recipient",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"originalRecipient":[32],"updatedRecipient":[32]}],[0,"verdocs-envelope-recipient-link",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"recipient":[32]}]]],["p-1e8f1ce4.system",[[0,"verdocs-contact-picker",{"endpoint":[16],"templateRole":[16],"contactSuggestions":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"zip":[32],"address":[32],"message":[32],"showSuggestions":[32],"showMessage":[32],"delegator":[32],"name_locked":[32],"auth_methods":[32],"passcode":[32],"firstNameFieldId":[32],"lastNameFieldId":[32],"emailFieldId":[32],"phoneFieldId":[32],"featureFlags":[32],"activeEntitlements":[32]}]]],["p-992d4116.system",[[0,"verdocs-radio-button",{"checked":[4],"name":[1],"value":[1],"disabled":[4]}]]],["p-0af6c4f0.system",[[0,"verdocs-switch",{"checked":[1028],"theme":[1],"disabled":[4]}]]],["p-5f967601.system",[[0,"verdocs-text-input",{"value":[1537],"label":[1],"placeholder":[1],"description":[1],"autocomplete":[1],"helpText":[1,"help-text"],"clearable":[4],"copyable":[4],"type":[1],"disabled":[4],"required":[4],"showingPw":[32]}],[0,"verdocs-help-icon",{"text":[1],"icon":[1],"containerId":[32]}],[0,"verdocs-button",{"label":[1],"startIcon":[1,"start-icon"],"endIcon":[1,"end-icon"],"size":[1],"type":[1],"variant":[1],"disabled":[4]}]]],["p-1929a794.system",[[0,"verdocs-template-role-properties",{"endpoint":[16],"templateId":[1,"template-id"],"roleName":[1,"role-name"],"dirty":[32],"saving":[32],"name":[32],"type":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"delegator":[32],"loading":[32],"template":[32]}],[260,"verdocs-menu-panel",{"side":[1],"overlay":[4],"width":[2]},[[4,"click","handleClick"]]]]],["p-ad40c4aa.system",[[0,"verdocs-quick-filter",{"options":[16],"label":[1],"value":[1537],"placeholder":[1],"open":[32]}],[0,"verdocs-pagination",{"selectedPage":[1538,"selected-page"],"itemCount":[2,"item-count"],"perPage":[2,"per-page"]}]]],["p-6ad6e461.system",[[0,"verdocs-dropdown",{"options":[16],"containerId":[32],"showPicker":[32]}]]],["p-2584c2b2.system",[[0,"verdocs-file-chooser",{"endpoint":[16],"file":[32]}],[0,"verdocs-progress-bar",{"label":[1],"showPercent":[4,"show-percent"],"percent":[2]}]]],["p-d67b615f.system",[[0,"verdocs-spinner",{"size":[2],"mode":[1]}]]],["p-9454a3b8.system",[[260,"verdocs-dialog",{"persistent":[4]}]]],["p-6754dfcf.system",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"buttonLabel":[1,"button-label"],"showCancel":[4,"show-cancel"],"closed":[32]}]]],["p-f10199fe.system",[[0,"verdocs-flag",{"variant":[1],"label":[1],"showSkip":[4,"show-skip"]}]]],["p-1a6869c9.system",[[0,"verdocs-sign-footer",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"isDone":[4,"is-done"],"askingQuestion":[32],"declinine":[32],"envelope":[32]}],[0,"verdocs-download-dialog",{"signed":[4],"polling":[4],"documents":[16],"hasCertificate":[4,"has-certificate"]}],[0,"verdocs-envelope-document-page",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"documentId":[1,"document-id"],"pageNumber":[2,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"type":[1],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32]}],[0,"verdocs-question-dialog",{"question":[1025],"closed":[32]}]]],["p-64034b55.system",[[0,"verdocs-view",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"headerTargetId":[1,"header-target-id"],"canceling":[32],"showCancelDone":[32],"showLoadError":[32],"loading":[32],"envelope":[32],"zoomLevel":[32],"showDownloadDialog":[32],"polling":[32]}],[0,"verdocs-kba-dialog",{"step":[2],"steps":[2],"helptitle":[1],"helptext":[1],"mode":[1],"label":[1],"placeholder":[1],"recipient":[16],"choices":[16],"agreed":[32],"response":[32],"updatedRecipient":[32],"dobContainerId":[32]}],[0,"verdocs-adopt-signature-dialog",{"name":[1],"nameLocked":[4,"name-locked"],"fontLoaded":[32],"enteredName":[32],"enteredInitials":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasDrawnInitials":[32]}],[0,"verdocs-otp-dialog",{"endpoint":[1040],"method":[1],"resendDisabled":[32],"response":[32]}],[0,"verdocs-passcode-dialog",{"endpoint":[1040],"response":[32]}],[0,"verdocs-disclosure-dialog",{"disclosures":[1],"delegator":[4],"accepted":[32]}],[0,"verdocs-delegate-dialog",{"endpoint":[1040],"envelope":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"message":[32]}]]],["p-04640b2c.system",[[0,"verdocs-organization-card",{"organization":[16],"hovered":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseout","onMouseOut"]]],[260,"verdocs-portal",{"anchor":[1],"voffset":[2]},[[11,"scroll","handleScroll"],[9,"resize","handleResize"],[4,"click","handleClick"]]]]],["p-df2a1bd4.system",[[0,"verdocs-template-field-properties",{"endpoint":[16],"templateId":[1,"template-id"],"fieldName":[1025,"field-name"],"helpText":[1,"help-text"],"dirty":[32],"label":[32],"type":[32],"name":[32],"required":[32],"readonly":[32],"roleName":[32],"group":[32],"fieldType":[32],"options":[32],"placeholder":[32],"defaultValue":[32],"showingHelp":[32],"loading":[32],"template":[32]}],[0,"verdocs-select-input",{"value":[1],"label":[1],"options":[16],"disabled":[4]}],[0,"verdocs-component-error",{"message":[1]}],[0,"verdocs-checkbox",{"checked":[4],"name":[1],"label":[1],"value":[1],"theme":[1],"size":[1],"disabled":[4]}],[0,"verdocs-loader"]]],["p-04d2fa80.system",[[0,"verdocs-field-attachment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"dialogOpen":[32],"selectedFile":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-checkbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-date",{"source":[513],"sourceid":[513],"fieldname":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"field":[16],"isPreview":[516,"is-preview"],"containerId":[32],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-dropdown",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-initial",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"initials":[513],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"initialid":[513],"isPreview":[516,"is-preview"],"showingProperties":[32],"focused":[32],"menuOpen":[32],"tempInitials":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-radio",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"required":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-signature",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"name":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"signatureid":[513],"isPreview":[516,"is-preview"],"showingProperties":[32],"focused":[32],"menuOpen":[32],"tempSignature":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"],[0,"blur","onBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-textarea",{"endpoint":[16],"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-textbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"multiline":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-timestamp",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[2],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-upload-dialog",{"maxSize":[1026,"max-size"],"existingFile":[1032,"existing-file"],"draggingOver":[32],"confirmDelete":[32],"selectedFiles":[32],"errorMessage":[32]}]]],["p-eb8091da.system",[[0,"verdocs-toolbar-icon",{"text":[1],"icon":[1],"placement":[1],"containerId":[32]}],[0,"verdocs-template-document-page",{"endpoint":[16],"editable":[4],"disabled":[4],"done":[4],"templateId":[513,"template-id"],"documentId":[513,"document-id"],"pageNumber":[514,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32],"xScale":[32],"yScale":[32],"loading":[32],"template":[32]}]]],["p-f85f8560.system",[[0,"verdocs-template-fields",{"endpoint":[16],"templateId":[1537,"template-id"],"toolbarTargetId":[1,"toolbar-target-id"],"placing":[32],"showMustSelectRole":[32],"selectedRoleName":[32],"loading":[32],"template":[32]},[[4,"keydown","handleKeyDown"],[0,"settingsChanged","handleFieldSettingsChanged"],[0,"deleted","handleFieldDeleted"]],{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-preview",{"endpoint":[16],"templateId":[1,"template-id"],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-send",{"endpoint":[16],"templateId":[513,"template-id"],"environment":[1],"showCancel":[4,"show-cancel"],"containerId":[32],"showPickerForId":[32],"sessionContacts":[32],"sending":[32],"rolesCompleted":[32],"loading":[32],"template":[32],"reset":[64]},null,{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-template-roles",{"endpoint":[16],"templateId":[1,"template-id"],"showingRoleDialog":[32],"sender":[32],"dragging":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-attachments",{"endpoint":[16],"templateId":[1,"template-id"],"uploading":[32],"progressLabel":[32],"progressPercent":[32],"showDeleteError":[32],"confirmDeleteDocument":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-build-tabs",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]]]'),t)]}}))}))}))}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(e,t,i,a){function n(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,d){function s(e){try{l(a.next(e))}catch(e){d(e)}}function o(e){try{l(a["throw"](e))}catch(e){d(e)}}function l(e){e.done?i(e.value):n(e.value).then(s,o)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},a,n,d,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=o(0),s["throw"]=o(1),s["return"]=o(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return l([e,t])}}function l(o){if(a)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(i=0)),i)try{if(a=1,n&&(d=o[0]&2?n["return"]:o[0]?n["throw"]||((d=n["return"])&&d.call(n),0):n.next)&&!(d=d.call(n,o[1])).done)return d;if(n=0,d)o=[o[0]&2,d.value];switch(o[0]){case 0:case 1:d=o;break;case 4:i.label++;return{value:o[1],done:false};case 5:i.label++;n=o[1];o=[0];continue;case 7:o=i.ops.pop();i.trys.pop();continue;default:if(!(d=i.trys,d=d.length>0&&d[d.length-1])&&(o[0]===6||o[0]===2)){i=0;continue}if(o[0]===3&&(!d||o[1]>d[0]&&o[1]<d[3])){i.label=o[1];break}if(o[0]===6&&i.label<d[1]){i.label=d[1];d=o;break}if(d&&i.label<d[2]){i.label=d[2];i.ops.push(o);break}if(d[2])i.ops.pop();i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e];n=0}finally{a=d=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};System.register(["./p-De3fNE_u.system.js","./p-BbPAtVJG.system.js"],(function(e,t){"use strict";var i,a,n;return{setters:[function(t){i=t.p;a=t.b;e("setNonce",t.s)},function(e){n=e.g}],execute:function(){var e=this;var d=function(){var e=t.meta.url;var a={};if(e!==""){a.resourcesUrl=new URL(".",e).href}return i(a)};d().then((function(t){return __awaiter(e,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,n()];case 1:e.sent();return[2,a(JSON.parse('[["p-99e594ef.system",[[0,"verdocs-build",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]],["p-0240a6e1.system",[[0,"verdocs-sign",{"endpoint":[1040],"envelopeId":[513,"envelope-id"],"roleId":[513,"role-id"],"inviteCode":[513,"invite-code"],"headerTargetId":[1,"header-target-id"],"toolbarStyle":[1,"toolbar-style"],"recipient":[32],"hasSignature":[32],"nextButtonLabel":[32],"nextSubmits":[32],"fatalErrorHeader":[32],"fatalErrorMessage":[32],"focusedField":[32],"disclosures":[32],"fieldUpdateCounter":[32],"submitting":[32],"submitted":[32],"isDone":[32],"showDone":[32],"adoptingSignature":[32],"showLoadError":[32],"finishLater":[32],"showFinishLater":[32],"agreed":[32],"signatureId":[32],"initialId":[32],"documentsSingularPlural":[32],"authStep":[32],"authMethodStates":[32],"pageNumber":[32],"kbaQuestions":[32],"showSpinner":[32],"declining":[32],"delegating":[32],"delegated":[32],"kbaChoices":[32],"showDownloadDialog":[32],"loading":[32],"envelope":[32],"zoomLevel":[32],"signingProgressMode":[32],"polling":[32]}]]],["p-40f5ecf3.system",[[0,"verdocs-envelopes-list",{"endpoint":[16],"view":[1537],"status":[1537],"sort":[1537],"match":[1537],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"selectedEnvelopes":[32],"envelopes":[32]},null,{"view":[{"handleViewUpdated":0}],"status":[{"handleStatusUpdated":0}],"sort":[{"handleSortUpdated":0}],"match":[{"handleMatchUpdated":0}],"selectedPage":[{"handlePageUpdated":0}]}]]],["p-83a863b1.system",[[0,"verdocs-templates-list",{"endpoint":[16],"visibility":[1537],"starred":[1537],"sort":[1537],"name":[1537],"allowedActions":[1040],"showPagination":[4,"show-pagination"],"rowsPerPage":[2,"rows-per-page"],"selectedPage":[2,"selected-page"],"count":[32],"initiallyLoaded":[32],"loading":[32],"confirmDelete":[32],"templates":[32],"localNameFilter":[32]},null,{"sharing":[{"handleSharingUpdated":0}],"starred":[{"handleStarredUpdated":0}],"sort":[{"handleSortUpdated":0}],"name":[{"handleNameUpdated":0}],"selectedPage":[{"handlePageUpdated":0}]}]]],["p-228c0fa3.system",[[0,"verdocs-envelope-sidebar",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"activeTab":[32],"panelOpen":[32],"showRecipientDialog":[32],"showCancelDialog":[32],"showReinviteDialog":[32],"showUpdateDialog":[32],"remindersEnabled":[32],"updatingReminders":[32],"initialReminder":[32],"followupReminders":[32],"loading":[32],"envelope":[32]}]]],["p-297d1631.system",[[0,"verdocs-field-payment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"fields":[16],"pageNum":[2,"page-num"],"roleName":[1,"role-name"],"fieldId":[1,"field-id"],"recipients":[8],"selectedRoleName":[1,"selected-role-name"],"pdfPages":[16],"currentSignature":[1,"current-signature"],"currentSignatureId":[1,"current-signature-id"],"currentInitial":[1,"current-initial"],"currentInitialId":[1,"current-initial-id"],"signed":[4],"roleindex":[2],"showingProperties":[32],"focused":[32],"preparedMessage":[32],"signatureUrl":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}]]],["p-4b269de0.system",[[0,"verdocs-template-settings",{"endpoint":[16],"templateId":[1,"template-id"],"name":[32],"visibility":[32],"sender":[32],"sendReminders":[32],"initialReminder":[32],"followupReminders":[32],"dirty":[32],"loading":[32],"template":[32]}]]],["p-9a40e58c.system",[[0,"verdocs-template-create",{"endpoint":[16],"maxSize":[1026,"max-size"],"file":[32],"creating":[32],"progressLabel":[32],"progressPercent":[32],"errorMessage":[32]}]]],["p-3f5ad836.system",[[0,"verdocs-auth",{"endpoint":[16],"visible":[4],"logo":[1],"displayMode":[1025,"display-mode"],"org_name":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"verificationCode":[32],"newPassword":[32],"password":[32],"confirmpass":[32],"submitting":[32],"resendDisabled":[32],"session":[32],"profile":[32]}]]],["p-1827477d.system",[[0,"verdocs-initial-dialog",{"initials":[1],"fontLoaded":[32],"enteredInitials":[32],"mode":[32]}]]],["p-d3b798ae.system",[[0,"verdocs-signature-dialog",{"name":[1],"fontLoaded":[32],"enteredName":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasUploadedImage":[32],"uploadedFileName":[32]}]]],["p-1258cb3f.system",[[0,"verdocs-date-input",{"value":[1537],"label":[1],"placeholder":[1],"helpText":[1,"help-text"],"disabled":[4],"required":[4],"showingPw":[32],"focused":[32],"containerId":[32],"focusField":[64]}]]],["p-88244ef4.system",[[0,"verdocs-envelope-recipient-summary",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"canSendAnother":[4,"can-send-another"],"canView":[4,"can-view"],"canDone":[4,"can-done"],"isOpen":[32],"recipientStatusIcons":[32],"containerId":[32],"gettingLinks":[32],"links":[32],"loading":[32],"envelope":[32]}]]],["p-fd59f055.system",[[0,"verdocs-multiselect",{"label":[1],"placeholder":[1],"options":[16],"selectedOptions":[16],"showPicker":[32]}]]],["p-7e6d153f.system",[[0,"verdocs-signing-progress",{"mode":[1],"focusedField":[1,"focused-field"],"fields":[16],"recipientFields":[16]}]]],["p-cfac9703.system",[[260,"verdocs-button-panel",{"icon":[1],"showPanel":[64],"hidePanel":[64],"toggle":[64]}]]],["p-c5b70927.system",[[0,"verdocs-quick-functions",{"endpoint":[16]}]]],["p-e1bf3431.system",[[0,"verdocs-search-box",{"endpoint":[16],"placeholder":[1],"type":[1],"query":[1],"grabsFocus":[4,"grabs-focus"],"focusField":[64]}]]],["p-d3d177d0.system",[[0,"verdocs-search-tabs",{"selected":[32]}]]],["p-13e7d40b.system",[[0,"verdocs-table",{"columns":[16],"data":[16]}]]],["p-88ccf564.system",[[260,"verdocs-tabs",{"tabs":[16],"selectedTab":[2,"selected-tab"]}]]],["p-2f96e7c9.system",[[0,"verdocs-template-card",{"template":[16]}]]],["p-ca03555a.system",[[0,"verdocs-template-tags",{"tags":[16]}]]],["p-adae5a12.system",[[0,"verdocs-toggle",{"options":[16],"theme":[1],"selectedOption":[32]}]]],["p-aa3b0fb7.system",[[0,"verdocs-toggle-button",{"active":[4],"icon":[1],"label":[1],"size":[1],"_active":[32]}]]],["p-4798c2a5.system",[[0,"verdocs-status-indicator",{"size":[1],"theme":[1],"status":[1],"envelope":[16],"isOpen":[32],"containerId":[32]}]]],["p-495ed75e.system",[[0,"verdocs-template-star",{"endpoint":[16],"template":[1040],"updating":[32]}]]],["p-83153211.system",[[0,"verdocs-envelope-update-recipient",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"originalRecipient":[32],"updatedRecipient":[32]}],[0,"verdocs-envelope-recipient-link",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"roleName":[1,"role-name"],"isOpen":[32],"gettingLink":[32],"link":[32],"loading":[32],"envelope":[32],"recipient":[32]}]]],["p-3a542ed0.system",[[0,"verdocs-contact-picker",{"endpoint":[16],"templateRole":[16],"contactSuggestions":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"zip":[32],"address":[32],"message":[32],"showSuggestions":[32],"showMessage":[32],"delegator":[32],"name_locked":[32],"auth_methods":[32],"passcode":[32],"firstNameFieldId":[32],"lastNameFieldId":[32],"emailFieldId":[32],"phoneFieldId":[32],"featureFlags":[32],"activeEntitlements":[32]}]]],["p-992d4116.system",[[0,"verdocs-radio-button",{"checked":[4],"name":[1],"value":[1],"disabled":[4]}]]],["p-0af6c4f0.system",[[0,"verdocs-switch",{"checked":[1028],"theme":[1],"disabled":[4]}]]],["p-5f967601.system",[[0,"verdocs-text-input",{"value":[1537],"label":[1],"placeholder":[1],"description":[1],"autocomplete":[1],"helpText":[1,"help-text"],"clearable":[4],"copyable":[4],"type":[1],"disabled":[4],"required":[4],"showingPw":[32]}],[0,"verdocs-help-icon",{"text":[1],"icon":[1],"containerId":[32]}],[0,"verdocs-button",{"label":[1],"startIcon":[1,"start-icon"],"endIcon":[1,"end-icon"],"size":[1],"type":[1],"variant":[1],"disabled":[4]}]]],["p-1929a794.system",[[0,"verdocs-template-role-properties",{"endpoint":[16],"templateId":[1,"template-id"],"roleName":[1,"role-name"],"dirty":[32],"saving":[32],"name":[32],"type":[32],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"delegator":[32],"loading":[32],"template":[32]}],[260,"verdocs-menu-panel",{"side":[1],"overlay":[4],"width":[2]},[[4,"click","handleClick"]]]]],["p-ad40c4aa.system",[[0,"verdocs-quick-filter",{"options":[16],"label":[1],"value":[1537],"placeholder":[1],"open":[32]}],[0,"verdocs-pagination",{"selectedPage":[1538,"selected-page"],"itemCount":[2,"item-count"],"perPage":[2,"per-page"]}]]],["p-6ad6e461.system",[[0,"verdocs-dropdown",{"options":[16],"containerId":[32],"showPicker":[32]}]]],["p-2584c2b2.system",[[0,"verdocs-file-chooser",{"endpoint":[16],"file":[32]}],[0,"verdocs-progress-bar",{"label":[1],"showPercent":[4,"show-percent"],"percent":[2]}]]],["p-d67b615f.system",[[0,"verdocs-spinner",{"size":[2],"mode":[1]}]]],["p-9454a3b8.system",[[260,"verdocs-dialog",{"persistent":[4]}]]],["p-6754dfcf.system",[[0,"verdocs-ok-dialog",{"heading":[1],"message":[1],"buttonLabel":[1,"button-label"],"showCancel":[4,"show-cancel"],"closed":[32]}]]],["p-f10199fe.system",[[0,"verdocs-flag",{"variant":[1],"label":[1],"showSkip":[4,"show-skip"]}]]],["p-1a6869c9.system",[[0,"verdocs-sign-footer",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"isDone":[4,"is-done"],"askingQuestion":[32],"declinine":[32],"envelope":[32]}],[0,"verdocs-download-dialog",{"signed":[4],"polling":[4],"documents":[16],"hasCertificate":[4,"has-certificate"]}],[0,"verdocs-envelope-document-page",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"documentId":[1,"document-id"],"pageNumber":[2,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"type":[1],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32]}],[0,"verdocs-question-dialog",{"question":[1025],"closed":[32]}]]],["p-64034b55.system",[[0,"verdocs-view",{"endpoint":[16],"envelopeId":[1,"envelope-id"],"headerTargetId":[1,"header-target-id"],"canceling":[32],"showCancelDone":[32],"showLoadError":[32],"loading":[32],"envelope":[32],"zoomLevel":[32],"showDownloadDialog":[32],"polling":[32]}],[0,"verdocs-kba-dialog",{"step":[2],"steps":[2],"helptitle":[1],"helptext":[1],"mode":[1],"label":[1],"placeholder":[1],"recipient":[16],"choices":[16],"agreed":[32],"response":[32],"updatedRecipient":[32],"dobContainerId":[32]}],[0,"verdocs-adopt-signature-dialog",{"name":[1],"nameLocked":[4,"name-locked"],"fontLoaded":[32],"enteredName":[32],"enteredInitials":[32],"mode":[32],"isDrawing":[32],"hasDrawnSignature":[32],"hasDrawnInitials":[32]}],[0,"verdocs-otp-dialog",{"endpoint":[1040],"method":[1],"resendDisabled":[32],"response":[32]}],[0,"verdocs-passcode-dialog",{"endpoint":[1040],"response":[32]}],[0,"verdocs-disclosure-dialog",{"disclosures":[1],"delegator":[4],"accepted":[32]}],[0,"verdocs-delegate-dialog",{"endpoint":[1040],"envelope":[16],"first_name":[32],"last_name":[32],"email":[32],"phone":[32],"message":[32]}]]],["p-04640b2c.system",[[0,"verdocs-organization-card",{"organization":[16],"hovered":[32]},[[1,"mouseover","onMouseOver"],[1,"mouseout","onMouseOut"]]],[260,"verdocs-portal",{"anchor":[1],"voffset":[2]},[[11,"scroll","handleScroll"],[9,"resize","handleResize"],[4,"click","handleClick"]]]]],["p-df2a1bd4.system",[[0,"verdocs-template-field-properties",{"endpoint":[16],"templateId":[1,"template-id"],"fieldName":[1025,"field-name"],"helpText":[1,"help-text"],"dirty":[32],"label":[32],"type":[32],"name":[32],"required":[32],"readonly":[32],"roleName":[32],"group":[32],"fieldType":[32],"options":[32],"placeholder":[32],"defaultValue":[32],"showingHelp":[32],"loading":[32],"template":[32]}],[0,"verdocs-select-input",{"value":[1],"label":[1],"options":[16],"disabled":[4]}],[0,"verdocs-component-error",{"message":[1]}],[0,"verdocs-checkbox",{"checked":[4],"name":[1],"label":[1],"value":[1],"theme":[1],"size":[1],"disabled":[4]}],[0,"verdocs-loader"]]],["p-04d2fa80.system",[[0,"verdocs-field-attachment",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"dialogOpen":[32],"selectedFile":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-checkbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-date",{"source":[513],"sourceid":[513],"fieldname":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"field":[16],"isPreview":[516,"is-preview"],"containerId":[32],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-dropdown",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-initial",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"disabled":[516],"initials":[513],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"initialid":[513],"isPreview":[516,"is-preview"],"showingProperties":[32],"focused":[32],"menuOpen":[32],"tempInitials":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-radio",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"required":[516],"done":[516],"editable":[516],"moveable":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-signature",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"name":[513],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"signatureid":[513],"isPreview":[516,"is-preview"],"showingProperties":[32],"focused":[32],"menuOpen":[32],"tempSignature":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[0,"blur","handleBlur"],[0,"blur","onBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-textarea",{"endpoint":[16],"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-textbox",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"multiline":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[514],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-field-timestamp",{"source":[513],"sourceid":[513],"fieldname":[513],"field":[16],"isPreview":[516,"is-preview"],"disabled":[516],"editable":[516],"moveable":[516],"done":[516],"xscale":[514],"yscale":[514],"pagenumber":[2],"showingProperties":[32],"focused":[32],"focusField":[64],"showSettingsPanel":[64],"hideSettingsPanel":[64]},[[2,"blur","handleBlur"]],{"editable":[{"onEditableChanged":0}]}],[0,"verdocs-upload-dialog",{"maxSize":[1026,"max-size"],"existingFile":[1032,"existing-file"],"draggingOver":[32],"confirmDelete":[32],"selectedFiles":[32],"errorMessage":[32]}]]],["p-eb8091da.system",[[0,"verdocs-toolbar-icon",{"text":[1],"icon":[1],"placement":[1],"containerId":[32]}],[0,"verdocs-template-document-page",{"endpoint":[16],"editable":[4],"disabled":[4],"done":[4],"templateId":[513,"template-id"],"documentId":[513,"document-id"],"pageNumber":[514,"page-number"],"virtualWidth":[2,"virtual-width"],"virtualHeight":[1026,"virtual-height"],"layers":[16],"containerId":[32],"renderedWidth":[32],"renderedHeight":[32],"naturalWidth":[32],"naturalHeight":[32],"aspectRatio":[32],"skipFirstNotification":[32],"pageDisplayUri":[32],"xScale":[32],"yScale":[32],"loading":[32],"template":[32]}]]],["p-f85f8560.system",[[0,"verdocs-template-fields",{"endpoint":[16],"templateId":[1537,"template-id"],"toolbarTargetId":[1,"toolbar-target-id"],"placing":[32],"showMustSelectRole":[32],"selectedRoleName":[32],"loading":[32],"template":[32]},[[4,"keydown","handleKeyDown"],[0,"settingsChanged","handleFieldSettingsChanged"],[0,"deleted","handleFieldDeleted"]],{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-preview",{"endpoint":[16],"templateId":[1,"template-id"],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-send",{"endpoint":[16],"templateId":[513,"template-id"],"environment":[1],"showCancel":[4,"show-cancel"],"containerId":[32],"showPickerForId":[32],"sessionContacts":[32],"sending":[32],"rolesCompleted":[32],"loading":[32],"template":[32],"reset":[64]},null,{"templateId":[{"onTemplateIdChanged":0}]}],[0,"verdocs-template-roles",{"endpoint":[16],"templateId":[1,"template-id"],"showingRoleDialog":[32],"sender":[32],"dragging":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-attachments",{"endpoint":[16],"templateId":[1,"template-id"],"uploading":[32],"progressLabel":[32],"progressPercent":[32],"showDeleteError":[32],"confirmDeleteDocument":[32],"loading":[32],"template":[32]}],[0,"verdocs-template-build-tabs",{"endpoint":[16],"templateId":[1537,"template-id"],"step":[1537],"loading":[32],"template":[32]},null,{"templateId":[{"onTemplateIdChanged":0}],"step":[{"onStepChanged":0}]}]]]]'),t)]}}))}))}))}}}));
|
|
2
2
|
//# sourceMappingURL=p-BdZ5Ghsa.system.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{r as e,c as t,h as n,F as o}from"./p-CjTHbolG.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 f}from"./p-C_Xku1v2.js";import{f as u}from"./p-T412l3FU.js";import"./p-BglCURB-.js";import"./p-CIxfEdV7.js";
|
|
2
|
+
/*! Axios v1.17.0 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 f=c("undefined");function u(e){return e!==null&&!f(e)&&e.constructor!==null&&!f(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 y=c("number");const g=e=>e!==null&&typeof e==="object";const v=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)||u(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};const O=s("Date");const R=s("File");const S=e=>!!(e&&typeof e.uri!=="undefined");const E=e=>e&&typeof e.getParts!=="undefined";const T=s("Blob");const j=s("FileList");const _=e=>g(e)&&w(e.pipe);function C(){if(typeof globalThis!=="undefined")return globalThis;if(typeof self!=="undefined")return self;if(typeof window!=="undefined")return window;if(typeof a!=="undefined")return a;return{}}const A=C();const N=typeof A.FormData!=="undefined"?A.FormData:undefined;const F=e=>{if(!e)return false;if(N&&e instanceof N)return true;const t=n(e);if(!t||t===Object.prototype)return false;if(!w(e.append))return false;const o=i(e);return o==="formdata"||o==="object"&&w(e.toString)&&e.toString()==="[object FormData]"};const P=s("URLSearchParams");const[U,B,I,L]=["ReadableStream","Request","Response","Headers"].map(s);const D=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function z(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(u(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 M(e,t){if(u(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 q=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:a})();const $=e=>!f(e)&&e!==q;function H(...e){const{caseless:t,skipUndefined:n}=$(this)&&this||{};const o={};const r=(e,r)=>{if(r==="__proto__"||r==="constructor"||r==="prototype"){return}const i=t&&typeof r==="string"&&M(o,r)||r;const s=ne(o,i)?o[i]:undefined;if(x(s)&&x(e)){o[i]=H(s,e)}else if(x(e)){o[i]=H({},e)}else if(l(e)){o[i]=e.slice()}else if(!n||!f(e)){o[i]=e}};for(let t=0,n=e.length;t<n;t++){const n=e[t];if(!n||u(n)){continue}z(n,r);if(typeof n!=="object"||l(n)){continue}const o=Object.getOwnPropertySymbols(n);for(let e=0;e<o.length;e++){const t=o[e];if(oe.call(n,t)){r(n[t],t)}}}return o}const K=(t,n,o,{allOwnKeys:r}={})=>{z(n,((n,r)=>{if(o&&w(n)){Object.defineProperty(t,r,{__proto__:null,value:e(n,o),writable:true,enumerable:true,configurable:true})}else{Object.defineProperty(t,r,{__proto__:null,value:n,writable:true,enumerable:true,configurable:true})}}),{allOwnKeys:r});return t};const J=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const W=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o);Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:true,enumerable:false,configurable:true});Object.defineProperty(e,"super",{__proto__:null,value:t.prototype});n&&Object.assign(e.prototype,n)};const X=(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 V=(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 G=e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!y(t))return null;const n=new Array(t);while(t-- >0){n[t]=e[t]}return n};const Z=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&n(Uint8Array));const Q=(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 Y=(e,t)=>{let n;const o=[];while((n=e.exec(t))!==null){o.push(n)}return o};const ee=s("HTMLFormElement");const te=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,n,o){return n.toUpperCase()+o}));const ne=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype);const{propertyIsEnumerable:oe}=Object.prototype;const re=s("RegExp");const ie=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e);const o={};z(n,((n,r)=>{let i;if((i=t(n,r,e))!==false){o[r]=i||n}}));Object.defineProperties(e,o)};const se=e=>{ie(e,((t,n)=>{if(w(e)&&["arguments","caller","callee"].includes(n)){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 ce=(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 ae=()=>{};const le=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function fe(e){return!!(e&&w(e.append)&&e[r]==="FormData"&&e[o])}const ue=e=>{const t=new WeakSet;const n=e=>{if(g(e)){if(t.has(e)){return}if(u(e)){return e}if(!("toJSON"in e)){t.add(e);const o=l(e)?[]:{};z(e,((e,t)=>{const r=n(e);!f(r)&&(o[t]=r)}));t.delete(e);return o}}return e};return n(e)};const de=s("AsyncFunction");const he=e=>e&&(g(e)||w(e))&&w(e.then)&&w(e.catch);const pe=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{q.addEventListener("message",(({source:n,data:o})=>{if(n===q&&o===e){t.length&&t.shift()()}}),false);return n=>{t.push(n);q.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",w(q.postMessage));const me=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(q):typeof process!=="undefined"&&process.nextTick||pe;const be=e=>e!=null&&w(e[o]);var we={isArray:l,isArrayBuffer:p,isBuffer:u,isFormData:F,isArrayBufferView:m,isString:b,isNumber:y,isBoolean:v,isObject:g,isPlainObject:x,isEmptyObject:k,isReadableStream:U,isRequest:B,isResponse:I,isHeaders:L,isUndefined:f,isDate:O,isFile:R,isReactNativeBlob:S,isReactNative:E,isBlob:T,isRegExp:re,isFunction:w,isStream:_,isURLSearchParams:P,isTypedArray:Z,isFileList:j,forEach:z,merge:H,extend:K,trim:D,stripBOM:J,inherits:W,toFlatObject:X,kindOf:i,kindOfTest:s,endsWith:V,toArray:G,forEachEntry:Q,matchAll:Y,isHTMLForm:ee,hasOwnProperty:ne,hasOwnProp:ne,reduceDescriptors:ie,freezeMethods:se,toObjectSet:ce,toCamelCase:te,noop:ae,toFiniteNumber:le,findKey:M,global:q,isContextDefined:$,isSpecCompliantForm:fe,toJSONObject:ue,isAsyncFn:de,isThenable:he,setImmediate:pe,asap:me,isIterable:be};const ye=we.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 ge=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]&&ye[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};function ve(e){let t=0;let n=e.length;while(t<n){const n=e.charCodeAt(t);if(n!==9&&n!==32){break}t+=1}while(n>t){const t=e.charCodeAt(n-1);if(t!==9&&t!==32){break}n-=1}return t===0&&n===e.length?e:e.slice(t,n)}const xe=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g");const ke=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Oe(e,t){if(we.isArray(e)){return e.map((e=>Oe(e,t)))}return ve(String(e).replace(t,""))}const Re=e=>Oe(e,xe);const Se=e=>Oe(e,ke);function Ee(e){const t=Object.create(null);we.forEach(e.toJSON(),((e,n)=>{t[n]=Se(e)}));return t}const Te=Symbol("internals");function je(e){return e&&String(e).trim().toLowerCase()}function _e(e){if(e===false||e==null){return e}return we.isArray(e)?e.map(_e):Re(String(e))}function Ce(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 Ae=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ne(e,t,n,o,r){if(we.isFunction(o)){return o.call(this,t,n)}if(r){t=n}if(!we.isString(t))return;if(we.isString(o)){return t.indexOf(o)!==-1}if(we.isRegExp(o)){return o.test(t)}}function Fe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function Pe(e,t){const n=we.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{__proto__:null,value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:true})}))}class Ue{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=je(t);if(!r){return}const i=we.findKey(o,r);if(!i||o[i]===undefined||n===true||n===undefined&&o[i]!==false){o[i||t]=_e(e)}}const i=(e,t)=>we.forEach(e,((e,n)=>r(e,n,t)));if(we.isPlainObject(e)||e instanceof this.constructor){i(e,t)}else if(we.isString(e)&&(e=e.trim())&&!Ae(e)){i(ge(e),t)}else if(we.isObject(e)&&we.isIterable(e)){let n={},o,r;for(const t of e){if(!we.isArray(t)){throw new TypeError("Object iterator must return a key-value pair")}n[r=t[0]]=(o=n[r])?we.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=je(e);if(e){const n=we.findKey(this,e);if(n){const e=this[n];if(!t){return e}if(t===true){return Ce(e)}if(we.isFunction(t)){return t.call(this,e,n)}if(we.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=je(e);if(e){const n=we.findKey(this,e);return!!(n&&this[n]!==undefined&&(!t||Ne(this,this[n],n,t)))}return false}delete(e,t){const n=this;let o=false;function r(e){e=je(e);if(e){const r=we.findKey(n,e);if(r&&(!t||Ne(n,n[r],r,t))){delete n[r];o=true}}}if(we.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||Ne(this,this[r],r,e,true)){delete this[r];o=true}}return o}normalize(e){const t=this;const n={};we.forEach(this,((o,r)=>{const i=we.findKey(n,r);if(i){t[i]=_e(o);delete t[r];return}const s=e?Fe(r):String(r).trim();if(s!==r){delete t[r]}t[s]=_e(o);n[s]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);we.forEach(this,((n,o)=>{n!=null&&n!==false&&(t[o]=e&&we.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[Te]=this[Te]={accessors:{}};const n=t.accessors;const o=this.prototype;function r(e){const t=je(e);if(!n[t]){Pe(o,e);n[t]=true}}we.isArray(e)?e.forEach(r):r(e);return this}}Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);we.reduceDescriptors(Ue.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}));we.freezeMethods(Ue);const Be="[REDACTED ****]";function Ie(e){if(we.hasOwnProp(e,"toJSON")){return true}let t=Object.getPrototypeOf(e);while(t&&t!==Object.prototype){if(we.hasOwnProp(t,"toJSON")){return true}t=Object.getPrototypeOf(t)}return false}function Le(e,t){const n=new Set(t.map((e=>String(e).toLowerCase())));const o=[];const r=e=>{if(e===null||typeof e!=="object")return e;if(we.isBuffer(e))return e;if(o.indexOf(e)!==-1)return undefined;if(e instanceof Ue){e=e.toJSON()}o.push(e);let t;if(we.isArray(e)){t=[];e.forEach(((e,n)=>{const o=r(e);if(!we.isUndefined(o)){t[n]=o}}))}else{if(!we.isPlainObject(e)&&Ie(e)){o.pop();return e}t=Object.create(null);for(const[o,i]of Object.entries(e)){const e=n.has(o.toLowerCase())?Be:r(i);if(!we.isUndefined(e)){t[o]=e}}}o.pop();return t};return r(e)}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;if(e.status!=null&&s.status==null){s.status=e.status}i&&Object.assign(s,i);return s}constructor(e,t,n,o,r){super(e);Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:true,writable:true,configurable:true});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(){const e=this.config;const t=e&&we.hasOwnProp(e,"redact")?e.redact:undefined;const n=we.isArray(t)&&t.length>0?Le(e,t):we.toJSONObject(e);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:n,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.ECONNREFUSED="ECONNREFUSED";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";De.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var ze=null;function Me(e){return we.isPlainObject(e)||we.isArray(e)}function qe(e){return we.endsWith(e,"[]")?e.slice(0,-2):e}function $e(e,t,n){if(!e)return t;return e.concat(t).map((function e(t,o){t=qe(t);return!n&&o?"["+t+"]":t})).join(n?".":"")}function He(e){return we.isArray(e)&&!e.some(Me)}const Ke=we.toFlatObject(we,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function Je(e,t,n){if(!we.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;n=we.toFlatObject(n,{metaTokens:true,dots:false,indexes:false},false,(function e(t,n){return!we.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=n.maxDepth===undefined?100:n.maxDepth;const l=c&&we.isSpecCompliantForm(t);if(!we.isFunction(r)){throw new TypeError("visitor must be a function")}function f(e){if(e===null)return"";if(we.isDate(e)){return e.toISOString()}if(we.isBoolean(e)){return e.toString()}if(!l&&we.isBlob(e)){throw new De("Blob is not supported. Use a Buffer instead.")}if(we.isArrayBuffer(e)||we.isTypedArray(e)){return l&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function u(e,n,r){let c=e;if(we.isReactNative(t)&&we.isReactNativeBlob(e)){t.append($e(r,n,i),f(e));return false}if(e&&!r&&typeof e==="object"){if(we.endsWith(n,"{}")){n=o?n:n.slice(0,-2);e=JSON.stringify(e)}else if(we.isArray(e)&&He(e)||(we.isFileList(e)||we.endsWith(n,"[]"))&&(c=we.toArray(e))){n=qe(n);c.forEach((function e(o,r){!(we.isUndefined(o)||o===null)&&t.append(s===true?$e([n],r,i):s===null?n:n+"[]",f(o))}));return false}}if(Me(e)){return true}t.append($e(r,n,i),f(e));return false}const d=[];const h=Object.assign(Ke,{defaultVisitor:u,convertValue:f,isVisitable:Me});function p(e,n,o=0){if(we.isUndefined(e))return;if(o>a){throw new De("Object is too deeply nested ("+o+" levels). Max depth: "+a,De.ERR_FORM_DATA_DEPTH_EXCEEDED)}if(d.indexOf(e)!==-1){throw new Error("Circular reference detected in "+n.join("."))}d.push(e);we.forEach(e,(function e(i,s){const c=!(we.isUndefined(i)||i===null)&&r.call(t,i,we.isString(s)?s.trim():s,n,h);if(c===true){p(i,n?n.concat(s):[s],o+1)}}));d.pop()}if(!we.isObject(e)){throw new TypeError("data must be an object")}p(e);return t}function We(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function e(n){return t[n]}))}function Xe(e,t){this._pairs=[];e&&Je(e,this,t)}const Ve=Xe.prototype;Ve.append=function e(t,n){this._pairs.push([t,n])};Ve.toString=function e(t){const n=t?function(e){return t.call(this,e,We)}:We;return this._pairs.map((function e(t){return n(t[0])+"="+n(t[1])}),"").join("&")};function Ge(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ze(e,t,n){if(!t){return e}const o=n&&n.encode||Ge;const r=we.isFunction(n)?{serialize:n}:n;const i=r&&r.serialize;let s;if(i){s=i(t,r)}else{s=we.isURLSearchParams(t)?t.toString():new Xe(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 Qe{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){we.forEach(this.handlers,(function t(n){if(n!==null){e(n)}}))}}var Ye={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false,legacyInterceptorReqResOrdering:true,advertiseZstdAcceptEncoding:false};var et=typeof URLSearchParams!=="undefined"?URLSearchParams:Xe;var tt=typeof FormData!=="undefined"?FormData:null;var nt=typeof Blob!=="undefined"?Blob:null;var ot={isBrowser:true,classes:{URLSearchParams:et,FormData:tt,Blob:nt},protocols:["http","https","file","blob","url","data"]};const rt=typeof window!=="undefined"&&typeof document!=="undefined";const it=typeof navigator==="object"&&navigator||undefined;const st=rt&&(!it||["ReactNative","NativeScript","NS"].indexOf(it.product)<0);const ct=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const at=rt&&window.location.href||"http://localhost";var lt=Object.freeze({__proto__:null,hasBrowserEnv:rt,hasStandardBrowserEnv:st,hasStandardBrowserWebWorkerEnv:ct,navigator:it,origin:at});var ft={...lt,...ot};function ut(e,t){return Je(e,new ft.classes.URLSearchParams,{visitor:function(e,t,n,o){if(ft.isNode&&we.isBuffer(e)){this.append(t,e.toString("base64"));return false}return o.defaultVisitor.apply(this,arguments)},...t})}function dt(e){return we.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function ht(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 pt(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&&we.isArray(o)?o.length:i;if(c){if(we.hasOwnProp(o,i)){o[i]=we.isArray(o[i])?o[i].concat(n):[o[i],n]}else{o[i]=n}return!s}if(!we.hasOwnProp(o,i)||!we.isObject(o[i])){o[i]=[]}const a=t(e,n,o[i],r);if(a&&we.isArray(o[i])){o[i]=ht(o[i])}return!s}if(we.isFormData(e)&&we.isFunction(e.entries)){const n={};we.forEachEntry(e,((e,o)=>{t(dt(e),o,n,0)}));return n}return null}const mt=(e,t)=>e!=null&&we.hasOwnProp(e,t)?e[t]:undefined;function bt(e,t,n){if(we.isString(e)){try{(0,JSON.parse)(e);return we.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(n||JSON.stringify)(e)}const wt={transitional:Ye,adapter:["xhr","http","fetch"],transformRequest:[function e(t,n){const o=n.getContentType()||"";const r=o.indexOf("application/json")>-1;const i=we.isObject(t);if(i&&we.isHTMLForm(t)){t=new FormData(t)}const s=we.isFormData(t);if(s){return r?JSON.stringify(pt(t)):t}if(we.isArrayBuffer(t)||we.isBuffer(t)||we.isStream(t)||we.isFile(t)||we.isBlob(t)||we.isReadableStream(t)){return t}if(we.isArrayBufferView(t)){return t.buffer}if(we.isURLSearchParams(t)){n.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}let c;if(i){const e=mt(this,"formSerializer");if(o.indexOf("application/x-www-form-urlencoded")>-1){return ut(t,e).toString()}if((c=we.isFileList(t))||o.indexOf("multipart/form-data")>-1){const n=mt(this,"env");const o=n&&n.FormData;return Je(c?{"files[]":t}:t,o&&new o,e)}}if(i||r){n.setContentType("application/json",false);return bt(t)}return t}],transformResponse:[function e(t){const n=mt(this,"transitional")||wt.transitional;const o=n&&n.forcedJSONParsing;const r=mt(this,"responseType");const i=r==="json";if(we.isResponse(t)||we.isReadableStream(t)){return t}if(t&&we.isString(t)&&(o&&!r||i)){const e=n&&n.silentJSONParsing;const o=!e&&i;try{return JSON.parse(t,mt(this,"parseReviver"))}catch(e){if(o){if(e.name==="SyntaxError"){throw De.from(e,De.ERR_BAD_RESPONSE,this,null,mt(this,"response"))}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ft.classes.FormData,Blob:ft.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};we.forEach(["delete","get","head","post","put","patch","query"],(e=>{wt.headers[e]={}}));function yt(e,t){const n=this||wt;const o=t||n;const r=Ue.from(o.headers);let i=o.data;we.forEach(e,(function e(o){i=o.call(n,i,r.normalize(),t?t.status:undefined)}));r.normalize();return i}function gt(e){return!!(e&&e.__CANCEL__)}class vt extends De{constructor(e,t,n){super(e==null?"canceled":e,De.ERR_CANCELED,t,n);this.name="CanceledError";this.__CANCEL__=true}}function xt(e,t,n){const o=n.config.validateStatus;if(!n.status||!o||o(n.status)){e(n)}else{t(new De("Request failed with status code "+n.status,n.status>=400&&n.status<500?De.ERR_BAD_REQUEST:De.ERR_BAD_RESPONSE,n.config,n.request,n))}}function kt(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function Ot(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 f=o[i];if(!s){s=l}n[r]=a;o[r]=l;let u=i;let d=0;while(u!==r){d+=n[u++];u=u%e}r=(r+1)%e;if(r===i){i=(i+1)%e}if(l-s<t){return}const h=f&&l-f;return h?Math.round(d*1e3/h):undefined}}function Rt(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 St=(e,t,n=3)=>{let o=0;const r=Ot(50,250);return Rt((n=>{if(!n||typeof n.loaded!=="number"){return}const i=n.loaded;const s=n.lengthComputable?n.total:undefined;const c=s!=null?Math.min(i,s):i;const a=Math.max(0,c-o);const l=r(a);o=Math.max(o,c);const f={loaded:c,total:s,progress:s?c/s:undefined,bytes:a,rate:l?l:undefined,estimated:l&&s?(s-c)/l:undefined,event:n,lengthComputable:s!=null,[t?"download":"upload"]:true};e(f)}),n)};const Et=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]};const Tt=e=>(...t)=>we.asap((()=>e(...t)));var jt=ft.hasStandardBrowserEnv?((e,t)=>n=>{n=new URL(n,ft.origin);return e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)})(new URL(ft.origin),ft.navigator&&/(msie|trident)/i.test(ft.navigator.userAgent)):()=>true;var _t=ft.hasStandardBrowserEnv?{write(e,t,n,o,r,i,s){if(typeof document==="undefined")return;const c=[`${e}=${encodeURIComponent(t)}`];if(we.isNumber(n)){c.push(`expires=${new Date(n).toUTCString()}`)}if(we.isString(o)){c.push(`path=${o}`)}if(we.isString(r)){c.push(`domain=${r}`)}if(i===true){c.push("secure")}if(we.isString(s)){c.push(`SameSite=${s}`)}document.cookie=c.join("; ")},read(e){if(typeof document==="undefined")return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const o=t[n].replace(/^\s+/,"");const r=o.indexOf("=");if(r!==-1&&o.slice(0,r)===e){return decodeURIComponent(o.slice(r+1))}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Ct(e){if(typeof e!=="string"){return false}return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function At(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nt(e,t,n){let o=!Ct(t);if(e&&(o||n===false)){return At(e,t)}return t}const Ft=e=>e instanceof Ue?{...e}:e;function Pt(e,t){t=t||{};const n=Object.create(null);Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:false,writable:true,configurable:true});function o(e,t,n,o){if(we.isPlainObject(e)&&we.isPlainObject(t)){return we.merge.call({caseless:o},e,t)}else if(we.isPlainObject(t)){return we.merge({},t)}else if(we.isArray(t)){return t.slice()}return t}function r(e,t,n,r){if(!we.isUndefined(t)){return o(e,t,n,r)}else if(!we.isUndefined(e)){return o(undefined,e,n,r)}}function i(e,t){if(!we.isUndefined(t)){return o(undefined,t)}}function s(e,t){if(!we.isUndefined(t)){return o(undefined,t)}else if(!we.isUndefined(e)){return o(undefined,e)}}function c(n,r,i){if(we.hasOwnProp(t,i)){return o(n,r)}else if(we.hasOwnProp(e,i)){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,allowedSocketPaths:s,responseEncoding:s,validateStatus:c,headers:(e,t,n)=>r(Ft(e),Ft(t),n,true)};we.forEach(Object.keys({...e,...t}),(function o(i){if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=we.hasOwnProp(a,i)?a[i]:r;const l=we.hasOwnProp(e,i)?e[i]:undefined;const f=we.hasOwnProp(t,i)?t[i]:undefined;const u=s(l,f,i);we.isUndefined(u)&&s!==c||(n[i]=u)}));return n}const Ut=["content-type","content-length"];function Bt(e,t,n){if(n!=="content-only"){e.set(t);return}Object.entries(t).forEach((([t,n])=>{if(Ut.includes(t.toLowerCase())){e.set(t,n)}}))}const It=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,((e,t)=>String.fromCharCode(parseInt(t,16))));function Lt(e){const t=Pt({},e);const n=e=>we.hasOwnProp(t,e)?t[e]:undefined;const o=n("data");let r=n("withXSRFToken");const i=n("xsrfHeaderName");const s=n("xsrfCookieName");let c=n("headers");const a=n("auth");const l=n("baseURL");const f=n("allowAbsoluteUrls");const u=n("url");t.headers=c=Ue.from(c);t.url=Ze(Nt(l,u,f),n("params"),n("paramsSerializer"));if(a){c.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?It(a.password):"")))}if(we.isFormData(o)){if(ft.hasStandardBrowserEnv||ft.hasStandardBrowserWebWorkerEnv||we.isReactNative(o)){c.setContentType(undefined)}else if(we.isFunction(o.getHeaders)){Bt(c,o.getHeaders(),n("formDataHeaderPolicy"))}}if(ft.hasStandardBrowserEnv){if(we.isFunction(r)){r=r(t)}const e=r===true||r==null&&jt(t.url);if(e){const e=i&&s&&_t.read(s);if(e){c.set(i,e)}}}return t}const Dt=typeof XMLHttpRequest!=="undefined";var zt=Dt&&function(e){return new Promise((function t(n,o){const r=Lt(e);let i=r.data;const s=Ue.from(r.headers).normalize();let{responseType:c,onUploadProgress:a,onDownloadProgress:l}=r;let f;let u,d;let h,p;function m(){h&&h();p&&p();r.cancelToken&&r.cancelToken.unsubscribe(f);r.signal&&r.signal.removeEventListener("abort",f)}let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,true);b.timeout=r.timeout;function w(){if(!b){return}const t=Ue.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};xt((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.startsWith("file:"))){return}setTimeout(w)}}b.onabort=function t(){if(!b){return}o(new De("Request aborted",De.ECONNABORTED,e,b));m();b=null};b.onerror=function t(n){const r=n&&n.message?n.message:"Network Error";const i=new De(r,De.ERR_NETWORK,e,b);i.event=n||null;o(i);m();b=null};b.ontimeout=function t(){let n=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||Ye;if(r.timeoutErrorMessage){n=r.timeoutErrorMessage}o(new De(n,i.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,e,b));m();b=null};i===undefined&&s.setContentType(null);if("setRequestHeader"in b){we.forEach(Ee(s),(function e(t,n){b.setRequestHeader(n,t)}))}if(!we.isUndefined(r.withCredentials)){b.withCredentials=!!r.withCredentials}if(c&&c!=="json"){b.responseType=r.responseType}if(l){[d,p]=St(l,true);b.addEventListener("progress",d)}if(a&&b.upload){[u,h]=St(a);b.upload.addEventListener("progress",u);b.upload.addEventListener("loadend",h)}if(r.cancelToken||r.signal){f=t=>{if(!b){return}o(!t||t.type?new vt(null,e,b):t);b.abort();m();b=null};r.cancelToken&&r.cancelToken.subscribe(f);if(r.signal){r.signal.aborted?f():r.signal.addEventListener("abort",f)}}const y=kt(r.url);if(y&&!ft.protocols.includes(y)){o(new De("Unsupported protocol "+y+":",De.ERR_BAD_REQUEST,e));return}b.send(i||null)}))};const Mt=(e,t)=>{e=e?e.filter(Boolean):[];if(!t&&!e.length){return}const n=new AbortController;let o=false;const r=function(e){if(!o){o=true;s();const t=e instanceof Error?e:this.reason;n.abort(t instanceof De?t:new vt(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null;r(new De(`timeout of ${t}ms exceeded`,De.ETIMEDOUT))}),t);const s=()=>{if(!e){return}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=()=>we.asap(s);return c};const qt=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 $t=async function*(e,t){for await(const n of Ht(e)){yield*qt(n,t)}};const Ht=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 Kt=(e,t,n,o)=>{const r=$t(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})};function Jt(e){if(!e||typeof e!=="string")return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t);const o=e.slice(t+1);const r=/;base64/i.test(n);if(r){let e=o.length;const t=o.length;for(let n=0;n<t;n++){if(o.charCodeAt(n)===37&&n+2<t){const t=o.charCodeAt(n+1);const r=o.charCodeAt(n+2);const i=(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102);if(i){e-=2;n+=2}}}let n=0;let r=t-1;const i=e=>e>=2&&o.charCodeAt(e-2)===37&&o.charCodeAt(e-1)===51&&(o.charCodeAt(e)===68||o.charCodeAt(e)===100);if(r>=0){if(o.charCodeAt(r)===61){n++;r--}else if(i(r)){n++;r-=3}}if(n===1&&r>=0){if(o.charCodeAt(r)===61){n++}else if(i(r)){n++}}const s=Math.floor(e/4);const c=s*3-(n||0);return c>0?c:0}if(typeof Buffer!=="undefined"&&typeof Buffer.byteLength==="function"){return Buffer.byteLength(o,"utf8")}let i=0;for(let e=0,t=o.length;e<t;e++){const n=o.charCodeAt(e);if(n<128){i+=1}else if(n<2048){i+=2}else if(n>=55296&&n<=56319&&e+1<t){const t=o.charCodeAt(e+1);if(t>=56320&&t<=57343){i+=4;e++}else{i+=3}}else{i+=3}}return i}const Wt="1.17.0";const Xt=64*1024;const{isFunction:Vt}=we;const Gt=e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,((e,t)=>String.fromCharCode(parseInt(t,16))));const Zt=e=>{if(!we.isString(e)){return e}try{return decodeURIComponent(e)}catch(t){return e}};const Qt=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const Yt=e=>{const t=e.indexOf("://");let n=e;if(t!==-1){n=n.slice(t+3)}return n.includes("@")||n.includes(":")};const en=e=>{const t=we.global!==undefined&&we.global!==null?we.global:globalThis;const{ReadableStream:n,TextEncoder:o}=t;e=we.merge.call({skipUndefined:true},{Request:t.Request,Response:t.Response},e);const{fetch:r,Request:i,Response:s}=e;const c=r?Vt(r):typeof fetch==="function";const a=Vt(i);const l=Vt(s);if(!c){return false}const f=c&&Vt(n);const u=c&&(typeof o==="function"?(e=>t=>e.encode(t))(new o):async e=>new Uint8Array(await new i(e).arrayBuffer()));const d=a&&f&&Qt((()=>{let e=false;const t=new i(ft.origin,{body:new n,method:"POST",get duplex(){e=true;return"half"}});const o=t.headers.has("Content-Type");if(t.body!=null){t.body.cancel()}return e&&!o}));const h=l&&f&&Qt((()=>we.isReadableStream(new s("").body)));const p={stream:h&&(e=>e.body)};c&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!p[e]&&(p[e]=(t,n)=>{let o=t&&t[e];if(o){return o.call(t)}throw new De(`Response type '${e}' is not supported`,De.ERR_NOT_SUPPORT,n)})}))})();const m=async e=>{if(e==null){return 0}if(we.isBlob(e)){return e.size}if(we.isSpecCompliantForm(e)){const t=new i(ft.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}if(we.isArrayBufferView(e)||we.isArrayBuffer(e)){return e.byteLength}if(we.isURLSearchParams(e)){e=e+""}if(we.isString(e)){return(await u(e)).byteLength}};const b=async(e,t)=>{const n=we.toFiniteNumber(e.getContentLength());return n==null?m(t):n};return async e=>{let{url:t,method:n,data:c,signal:l,cancelToken:f,timeout:u,onDownloadProgress:m,onUploadProgress:w,responseType:y,headers:g,withCredentials:v="same-origin",fetchOptions:x,maxContentLength:k,maxBodyLength:O}=Lt(e);const R=we.isNumber(k)&&k>-1;const S=we.isNumber(O)&&O>-1;const E=t=>we.hasOwnProp(e,t)?e[t]:undefined;let T=r||fetch;y=y?(y+"").toLowerCase():"text";let j=Mt([l,f&&f.toAbortSignal()],u);let _=null;const C=j&&j.unsubscribe&&(()=>{j.unsubscribe()});let A;try{let r=undefined;const l=E("auth");if(l){const e=l.username||"";const t=l.password||"";r={username:e,password:t}}if(Yt(t)){const e=new URL(t,ft.origin);if(!r&&(e.username||e.password)){const t=Zt(e.username);const n=Zt(e.password);r={username:t,password:n}}if(e.username||e.password){e.username="";e.password="";t=e.href}}if(r){g.delete("authorization");g.set("Authorization","Basic "+btoa(Gt((r.username||"")+":"+(r.password||""))))}if(R&&typeof t==="string"&&t.startsWith("data:")){const n=Jt(t);if(n>k){throw new De("maxContentLength size of "+k+" exceeded",De.ERR_BAD_RESPONSE,e,_)}}if(S&&n!=="get"&&n!=="head"){const t=await b(g,c);if(typeof t==="number"&&isFinite(t)&&t>O){throw new De("Request body larger than maxBodyLength limit",De.ERR_BAD_REQUEST,e,_)}}if(w&&d&&n!=="get"&&n!=="head"&&(A=await b(g,c))!==0){let e=new i(t,{method:"POST",body:c,duplex:"half"});let n;if(we.isFormData(c)&&(n=e.headers.get("content-type"))){g.setContentType(n)}if(e.body){const[t,n]=Et(A,St(Tt(w)));c=Kt(e.body,Xt,t,n)}}if(!we.isString(v)){v=v?"include":"omit"}const f=a&&"credentials"in i.prototype;if(we.isFormData(c)){const e=g.getContentType();if(e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)){g.delete("content-type")}}g.set("User-Agent","axios/"+Wt,false);const u={...x,signal:j,method:n.toUpperCase(),headers:Ee(g.normalize()),body:c,duplex:"half",credentials:f?v:undefined};_=a&&new i(t,u);let N=await(a?T(_,x):T(t,u));if(R){const t=we.toFiniteNumber(N.headers.get("content-length"));if(t!=null&&t>k){throw new De("maxContentLength size of "+k+" exceeded",De.ERR_BAD_RESPONSE,e,_)}}const F=h&&(y==="stream"||y==="response");if(h&&N.body&&(m||R||F&&C)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=N[e]}));const n=we.toFiniteNumber(N.headers.get("content-length"));const[o,r]=m&&Et(n,St(Tt(m),true))||[];let i=0;const c=t=>{if(R){i=t;if(i>k){throw new De("maxContentLength size of "+k+" exceeded",De.ERR_BAD_RESPONSE,e,_)}}o&&o(t)};N=new s(Kt(N.body,Xt,c,(()=>{r&&r();C&&C()})),t)}y=y||"text";let P=await p[we.findKey(p,y)||"text"](N,e);if(R&&!h&&!F){let t;if(P!=null){if(typeof P.byteLength==="number"){t=P.byteLength}else if(typeof P.size==="number"){t=P.size}else if(typeof P==="string"){t=typeof o==="function"?(new o).encode(P).byteLength:P.length}}if(typeof t==="number"&&t>k){throw new De("maxContentLength size of "+k+" exceeded",De.ERR_BAD_RESPONSE,e,_)}}!F&&C&&C();return await new Promise(((t,n)=>{xt(t,n,{data:P,headers:Ue.from(N.headers),status:N.status,statusText:N.statusText,config:e,request:_})}))}catch(t){C&&C();if(j&&j.aborted&&j.reason instanceof De){const n=j.reason;n.config=e;_&&(n.request=_);t!==n&&(n.cause=t);throw n}if(t&&t.name==="TypeError"&&/Load failed|fetch/i.test(t.message)){throw Object.assign(new De("Network Error",De.ERR_NETWORK,e,_,t&&t.response),{cause:t.cause||t})}throw De.from(t,t&&t.code,e,_,t&&t.response)}}};const tn=new Map;const nn=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,f=tn;while(c--){a=i[c];l=f.get(a);l===undefined&&f.set(a,l=c?new Map:en(t));f=l}return l};nn();const on={http:ze,xhr:zt,fetch:{get:nn}};we.forEach(on,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}}));const rn=e=>`- ${e}`;const sn=e=>we.isFunction(e)||e===null||e===false;function cn(e,t){e=we.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(!sn(o)){r=on[(n=String(o)).toLowerCase()];if(r===undefined){throw new De(`Unknown adapter '${n}'`)}}if(r&&(we.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(rn).join("\n"):" "+rn(e[0]):"as no adapter specified";throw new De(`There is no suitable adapter to dispatch the request `+t,"ERR_NOT_SUPPORT")}return r}var an={getAdapter:cn,adapters:on};function ln(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new vt(null,e)}}function fn(e){ln(e);e.headers=Ue.from(e.headers);e.data=yt.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=an.getAdapter(e.adapter||wt.adapter,e);return t(e).then((function t(n){ln(e);e.response=n;try{n.data=yt.call(e,e.transformResponse,n)}finally{delete e.response}n.headers=Ue.from(n.headers);return n}),(function t(n){if(!gt(n)){ln(e);if(n&&n.response){e.response=n.response;try{n.response.data=yt.call(e,e.transformResponse,n.response)}finally{delete e.response}n.response.headers=Ue.from(n.response.headers)}}return Promise.reject(n)}))}const un={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{un[e]=function n(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));const dn={};un.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 De(r(o," has been removed"+(n?" in "+n:"")),De.ERR_DEPRECATED)}if(n&&!dn[o]){dn[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}};un.spelling=function e(t){return(e,n)=>{console.warn(`${n} is likely a misspelling of ${t}`);return true}};function hn(e,t,n){if(typeof e!=="object"){throw new De("options must be an object",De.ERR_BAD_OPTION_VALUE)}const o=Object.keys(e);let r=o.length;while(r-- >0){const i=o[r];const s=Object.prototype.hasOwnProperty.call(t,i)?t[i]:undefined;if(s){const t=e[i];const n=t===undefined||s(t,i,e);if(n!==true){throw new De("option "+i+" must be "+n,De.ERR_BAD_OPTION_VALUE)}continue}if(n!==true){throw new De("Unknown option "+i,De.ERR_BAD_OPTION)}}}var pn={assertOptions:hn,validators:un};const mn=pn.validators;class bn{constructor(e){this.defaults=e||{};this.interceptors={request:new Qe,response:new Qe}}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=(()=>{if(!t.stack){return""}const e=t.stack.indexOf("\n");return e===-1?"":t.stack.slice(e+1)})();try{if(!e.stack){e.stack=n}else if(n){const t=n.indexOf("\n");const o=t===-1?-1:n.indexOf("\n",t+1);const r=o===-1?"":n.slice(o+1);if(!String(e.stack).endsWith(r)){e.stack+="\n"+n}}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=Pt(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;if(n!==undefined){pn.assertOptions(n,{silentJSONParsing:mn.transitional(mn.boolean),forcedJSONParsing:mn.transitional(mn.boolean),clarifyTimeoutError:mn.transitional(mn.boolean),legacyInterceptorReqResOrdering:mn.transitional(mn.boolean),advertiseZstdAcceptEncoding:mn.transitional(mn.boolean)},false)}if(o!=null){if(we.isFunction(o)){t.paramsSerializer={serialize:o}}else{pn.assertOptions(o,{encode:mn.function,serialize:mn.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}pn.assertOptions(t,{baseUrl:mn.spelling("baseURL"),withXsrfToken:mn.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=r&&we.merge(r.common,r[t.method]);r&&we.forEach(["delete","get","head","post","put","patch","query","common"],(e=>{delete r[e]}));t.headers=Ue.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||Ye;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 f=0;let u;if(!c){const e=[fn.bind(this),undefined];e.unshift(...s);e.push(...a);u=e.length;l=Promise.resolve(t);while(f<u){l=l.then(e[f++],e[f++])}return l}u=s.length;let d=t;while(f<u){const e=s[f++];const t=s[f++];try{d=e(d)}catch(e){t.call(this,e);break}}try{l=fn.call(this,d)}catch(e){return Promise.reject(e)}f=0;u=a.length;while(f<u){l=l.then(a[f++],a[f++])}return l}getUri(e){e=Pt(this.defaults,e);const t=Nt(e.baseURL,e.url,e.allowAbsoluteUrls);return Ze(t,e.params,e.paramsSerializer)}}we.forEach(["delete","get","head","options"],(function e(t){bn.prototype[t]=function(e,n){return this.request(Pt(n||{},{method:t,url:e,data:(n||{}).data}))}}));we.forEach(["post","put","patch","query"],(function e(t){function n(e){return function n(o,r,i){return this.request(Pt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}bn.prototype[t]=n();if(t!=="query"){bn.prototype[t+"Form"]=n(true)}}));class wn{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 vt(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 wn((function t(n){e=n}));return{token:t,cancel:e}}}function yn(e){return function t(n){return e.apply(null,n)}}function gn(e){return we.isObject(e)&&e.isAxiosError===true}const vn={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(vn).forEach((([e,t])=>{vn[t]=e}));function xn(t){const n=new bn(t);const o=e(bn.prototype.request,n);we.extend(o,bn.prototype,n,{allOwnKeys:true});we.extend(o,n,null,{allOwnKeys:true});o.create=function e(n){return xn(Pt(t,n))};return o}const kn=xn(wt);kn.Axios=bn;kn.CanceledError=vt;kn.CancelToken=wn;kn.isCancel=gt;kn.VERSION=Wt;kn.toFormData=Je;kn.AxiosError=De;kn.Cancel=kn.CanceledError;kn.all=function e(t){return Promise.all(t)};kn.spread=yn;kn.isAxiosError=gn;kn.mergeConfig=Pt;kn.AxiosHeaders=Ue;kn.formToJSON=e=>pt(we.isHTMLForm(e)?new FormData(e):e);kn.getAdapter=an.getAdapter;kn.HttpStatusCode=vn;kn.default=kn;d=kn;return d}var m=p();var b=l(m);const w=f.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";const y=()=>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:start;align-items:flex-start;-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 v=`<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.name_locked=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.name_locked=this.delegator?false:this.templateRole.name_locked||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)));y().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,name_locked:this.name_locked,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,f,d,h,p,m,b,w,y,g,x,k,O;const R=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 E=R&&S;const T=((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=(f=this.featureFlags)===null||f===void 0?void 0:f.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(T&&((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=(y=(w=this.featureFlags)===null||w===void 0?void 0:w.toggles)===null||y===void 0?void 0:y.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(((O=(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||O===void 0?void 0:O.enabled)===true&&!!this.activeEntitlements.id_auth){j.push({label:"ID Check",value:"id"})}return n("form",{key:"374d6f0907e09a4c312bcd666eaabf578f8671b5",onSubmit:e=>e.preventDefault(),autocomplete:"off"},n("div",{key:"bbdb01e7229992ff75b3b124fde6a8606769d53c",class:"row"},n("label",{key:"546da7ec599b17cc2e514dcaf47fe41d7107ec11",htmlFor:this.firstNameFieldId},"Name:"),n("div",{key:"e5819a8cb2c261c302a4923561578c5928063e64",class:"names-row"},n("input",{key:"05a471f19b8018993d50f4ba9776864392c13c9d",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:"4e56ab4161e6bd7894c636619282915243c8aeec",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:"0a856517832b4dc417627675a0327e5a5e9e4710",anchor:this.firstNameFieldId,onClickAway:()=>{this.showSuggestions=false;document.querySelectorAll(`.verdocs-portal-wrapper`).forEach((e=>e.remove()))},id:"verdocs-contact-picker-suggestions"},n("div",{key:"6c0c1747e5ed512ad463c26f220b34db395e8f2c",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:v}),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:"85552b20424fb4884fa88d22c78375fe5c6513e0",class:"row"},n("label",{key:"2b438ee30f3c0115d0445e3f5bfe4ae8b7635073",htmlFor:this.emailFieldId},"Email:"),n("input",{key:"a349fb9e534ed7786268d9aac9184fc38a8a102e",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})),T&&n("div",{key:"f015a535d0a37d94eb73b145342d00dde7b63a50",class:"row"},n("label",{key:"eff877e183e38de65ca11e535b81e11b5ee1bd92",htmlFor:this.phoneFieldId},"Phone:"),n("input",{key:"41db6e4607189c0b0da0ef658b1fbafcfeab92ba",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=u(e.target.value)}})),n(o,{key:"c037e234e206b1cd45bf91649f211ebe42f885fe"},j.length>0&&n("div",{key:"23fa9db672498199d7c053b258669e0676852322",class:"row pin-code"},n("label",{key:"d5208d3cd083716589aa6c18dbd85ba88ca208b3"},"Verification Methods:"),n("div",{key:"f239551b28d2ca51b8f9ab5ec64bfdfdce4bf823"},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:"d57e7078dfefb1c816a15c52a8aa44eae62a5557",class:"row pin-code"},n("label",{key:"df97978ae0e4c176c7d6ca38850537d3d6db5ce3",htmlFor:this.phoneFieldId},"Passcode:"),n("input",{key:"7791e5a2d856bdd9dbbfcf8c339531e3e5c5e52b",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:"7de2d50963399db273bd1d38941ea967a2d92827",class:"row pin-code"},n("label",{key:"d0202a6e0969b405d303cdc291dee95048460b43",style:{marginTop:"6px"}},"Options:"),n("div",{key:"52f68972a5fee697972fa9baa284ca6a37830ab9"},n("div",{key:"8e15a3caa1e4ce0cbb943fb7bfaaf274d4410de3",class:"option"},n("verdocs-checkbox",{key:"7d21cafec340458f1c6a06b577fad30bbd5680eb",size:"small",id:"verdocs-delegator",checked:this.delegator,disabled:this.name_locked,onInput:e=>{this.delegator=e.target.checked;if(this.delegator)this.name_locked=false}}),n("label",{key:"2b96fb477ce41038cf9d115e9fabf102d670d801",htmlFor:"verdocs-delegator"},"May delegate signing")),n("div",{key:"7f616562ee03e6026bf09b355ae20720b45655b0",class:"option"},n("verdocs-checkbox",{key:"47bfa40e403ddf6da8cba33fda8ebff05625d353",size:"small",id:"verdocs-name-locked",checked:this.name_locked,disabled:this.delegator,onInput:e=>{this.name_locked=e.target.checked;if(this.name_locked)this.delegator=false}}),n("label",{key:"382d0b92f8999dc1a0adaa91d00c6c0f95a17552",htmlFor:"verdocs-name-locked"},"Name locked")))),n("div",{key:"6797886d95d1e08dc0c018e89cf6040aa60b02ff",class:"row message"},n("label",{key:"cb6f04c40e1b6601d0292e248b26cb4f2519e7d9",htmlFor:"verdocs-contact-picker-message"},"Message:"),n("textarea",{key:"018a9162f52e73650283a7f2271a99352008085c",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:"d2f04563ad450f4c6c0c19735a064d01182cf458",class:"buttons"},n("div",{key:"43f240077f3c5b3e252c60a277668c94c9163b24",class:"flex-fill"}),n("verdocs-button",{key:"f758cb6d10b3deb58d13aaf54c212e6455933104",variant:"outline",label:"Cancel",size:"small",onClick:e=>this.handleCancel(e)}),n("verdocs-button",{key:"3aa451a2d6d23ada4a7a5ddb5843b22954b69161",label:"OK",size:"small",disabled:!E,onClick:!E?()=>{}:e=>this.handleSubmit(e)})))}};x.style=g();export{x as verdocs_contact_picker};
|
|
3
|
+
//# sourceMappingURL=p-ae4290c6.entry.js.map
|