@verdocs/web-sdk 6.5.0-beta.14 → 6.5.0-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (367) hide show
  1. package/dist/cjs/index-CQ5bTnED.js +2 -2
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/{utils-LPO6l9nR.js → utils-BhOPnF8L.js} +2 -11
  4. package/dist/cjs/{utils-LPO6l9nR.js.map → utils-BhOPnF8L.js.map} +1 -1
  5. package/dist/cjs/verdocs-adopt-signature-dialog.verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-download-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-passcode-dialog.verdocs-signing-progress.verdocs-view.entry.cjs.js.map +1 -0
  6. package/dist/cjs/{verdocs-adopt-signature-dialog_8.cjs.entry.js → verdocs-adopt-signature-dialog_9.cjs.entry.js} +31 -6
  7. package/dist/cjs/verdocs-contact-picker.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-dialog.cjs.entry.js +2 -2
  9. package/dist/cjs/verdocs-dialog.entry.cjs.js.map +1 -1
  10. package/dist/cjs/verdocs-envelope-document-page_3.cjs.entry.js +4 -4
  11. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +7 -7
  12. package/dist/cjs/verdocs-field-attachment_11.cjs.entry.js +1 -2
  13. package/dist/cjs/verdocs-initial-dialog.cjs.entry.js +1 -1
  14. package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +7 -7
  15. package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +1 -1
  16. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
  17. package/dist/cjs/verdocs-preview_7.cjs.entry.js +1 -1
  18. package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
  19. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
  20. package/dist/cjs/verdocs-sign.cjs.entry.js +139 -25
  21. package/dist/cjs/verdocs-sign.entry.cjs.js.map +1 -1
  22. package/dist/cjs/verdocs-signature-dialog.cjs.entry.js +1 -1
  23. package/dist/cjs/verdocs-status-indicator.cjs.entry.js +2 -2
  24. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  25. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
  26. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  27. package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
  28. package/dist/cjs/verdocs-web-sdk.cjs.js +1 -1
  29. package/dist/collection/collection-manifest.json +1 -0
  30. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.css +18 -0
  31. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js +1 -1
  32. package/dist/collection/components/dialogs/verdocs-dialog/verdocs-dialog.js.map +1 -1
  33. package/dist/collection/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.js +1 -1
  34. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.css +66 -0
  35. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.js +58 -0
  36. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.js.map +1 -0
  37. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
  38. package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +1 -1
  39. package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js +1 -1
  40. package/dist/collection/components/dialogs/verdocs-passcode-dialog/verdocs-passcode-dialog.js +1 -1
  41. package/dist/collection/components/dialogs/verdocs-question-dialog/verdocs-question-dialog.js +1 -1
  42. package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
  43. package/dist/collection/components/dialogs/verdocs-signing-progress/verdocs-signing-progress.js +5 -2
  44. package/dist/collection/components/dialogs/verdocs-signing-progress/verdocs-signing-progress.js.map +1 -1
  45. package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
  46. package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
  47. package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
  48. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.css +43 -1
  49. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +142 -26
  50. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
  51. package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
  52. package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
  53. package/dist/collection/components/envelopes/verdocs-sign-footer/verdocs-sign-footer.js +1 -1
  54. package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
  55. package/dist/collection/components/fields/verdocs-field-signature/verdocs-field-signature.js +0 -1
  56. package/dist/collection/components/fields/verdocs-field-signature/verdocs-field-signature.js.map +1 -1
  57. package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
  58. package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
  59. package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
  60. package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
  61. package/dist/components/index.js +2 -0
  62. package/dist/components/index.js.map +1 -1
  63. package/dist/components/{p-AGJ6yQYA.js → p-5G9qfsgg.js} +2 -3
  64. package/dist/components/p-5G9qfsgg.js.map +1 -0
  65. package/dist/components/{p-C4IGMdkB.js → p-B-ZoFCli.js} +7 -4
  66. package/dist/components/p-B-ZoFCli.js.map +1 -0
  67. package/dist/components/{p-9B3lpJpS.js → p-B8w3BMgj.js} +4 -4
  68. package/dist/components/{p-9B3lpJpS.js.map → p-B8w3BMgj.js.map} +1 -1
  69. package/dist/components/{p-CVNQXtE_.js → p-BAwv4SNb.js} +5 -5
  70. package/dist/components/{p-CVNQXtE_.js.map → p-BAwv4SNb.js.map} +1 -1
  71. package/dist/components/p-BFdKkQl1.js +49 -0
  72. package/dist/components/p-BFdKkQl1.js.map +1 -0
  73. package/dist/components/{p-DUtw16Pw.js → p-BKKdT2Pm.js} +3 -3
  74. package/dist/components/{p-DUtw16Pw.js.map → p-BKKdT2Pm.js.map} +1 -1
  75. package/dist/components/{p-BZ-bfXyR.js → p-BeDjuReL.js} +4 -4
  76. package/dist/components/{p-BZ-bfXyR.js.map → p-BeDjuReL.js.map} +1 -1
  77. package/dist/components/{p-DNGq3wZS.js → p-BiLR1bo2.js} +3 -3
  78. package/dist/components/{p-DNGq3wZS.js.map → p-BiLR1bo2.js.map} +1 -1
  79. package/dist/components/{p-DAJ5vBkQ.js → p-BqX9pHlZ.js} +3 -3
  80. package/dist/components/{p-DAJ5vBkQ.js.map → p-BqX9pHlZ.js.map} +1 -1
  81. package/dist/components/{p-BWDPsXtq.js → p-ByT59bSa.js} +9 -9
  82. package/dist/components/{p-BWDPsXtq.js.map → p-ByT59bSa.js.map} +1 -1
  83. package/dist/components/{p-BKafdNur.js → p-C-gHAARh.js} +3 -3
  84. package/dist/components/{p-BKafdNur.js.map → p-C-gHAARh.js.map} +1 -1
  85. package/dist/components/{p-BetyIU8h.js → p-CFZQhAqt.js} +7 -7
  86. package/dist/components/{p-BetyIU8h.js.map → p-CFZQhAqt.js.map} +1 -1
  87. package/dist/components/{p-BF8wEwc6.js → p-CMpYlbLu.js} +5 -5
  88. package/dist/components/{p-BF8wEwc6.js.map → p-CMpYlbLu.js.map} +1 -1
  89. package/dist/components/{p-VWBgJs6D.js → p-CUrnqIyl.js} +4 -4
  90. package/dist/components/{p-VWBgJs6D.js.map → p-CUrnqIyl.js.map} +1 -1
  91. package/dist/components/{p-D7HnTWEz.js → p-CV0M8_uS.js} +5 -5
  92. package/dist/components/{p-D7HnTWEz.js.map → p-CV0M8_uS.js.map} +1 -1
  93. package/dist/components/{p-B41-gHzH.js → p-CYgAI8GQ.js} +4 -4
  94. package/dist/components/{p-B41-gHzH.js.map → p-CYgAI8GQ.js.map} +1 -1
  95. package/dist/components/{p-DkDHStPa.js → p-Cv72a8rJ.js} +4 -4
  96. package/dist/components/{p-DkDHStPa.js.map → p-Cv72a8rJ.js.map} +1 -1
  97. package/dist/components/p-CxLtKV1w.js +53 -0
  98. package/dist/components/p-CxLtKV1w.js.map +1 -0
  99. package/dist/components/{p-B3TbYvlU.js → p-DDA_lXX8.js} +4 -12
  100. package/dist/components/p-DDA_lXX8.js.map +1 -0
  101. package/dist/components/{p-CsQMKQ-U.js → p-DOuWiFKy.js} +4 -4
  102. package/dist/components/{p-CsQMKQ-U.js.map → p-DOuWiFKy.js.map} +1 -1
  103. package/dist/components/{p-ge5oE2oB.js → p-DQzBQ4JR.js} +9 -9
  104. package/dist/components/{p-ge5oE2oB.js.map → p-DQzBQ4JR.js.map} +1 -1
  105. package/dist/components/{p-Bj6E-AE5.js → p-Dbvt5kcw.js} +3 -3
  106. package/dist/components/{p-Bj6E-AE5.js.map → p-Dbvt5kcw.js.map} +1 -1
  107. package/dist/components/{p-CNjQH39R.js → p-Dy--t71Y.js} +4 -4
  108. package/dist/components/{p-CNjQH39R.js.map → p-Dy--t71Y.js.map} +1 -1
  109. package/dist/components/{p-Bi2Tttn5.js → p-MgQAzZE6.js} +9 -9
  110. package/dist/components/{p-Bi2Tttn5.js.map → p-MgQAzZE6.js.map} +1 -1
  111. package/dist/components/{p-vk97395M.js → p-O5qIkOV_.js} +3 -3
  112. package/dist/components/{p-vk97395M.js.map → p-O5qIkOV_.js.map} +1 -1
  113. package/dist/components/{p-CerPiVUe.js → p-RIeHu5V1.js} +4 -4
  114. package/dist/components/{p-CerPiVUe.js.map → p-RIeHu5V1.js.map} +1 -1
  115. package/dist/components/{p-C1pxd86W.js → p-VPVigkt1.js} +3 -3
  116. package/dist/components/{p-C1pxd86W.js.map → p-VPVigkt1.js.map} +1 -1
  117. package/dist/components/{p-CG2TbLMA.js → p-pPfQ3mVK.js} +8 -8
  118. package/dist/components/{p-CG2TbLMA.js.map → p-pPfQ3mVK.js.map} +1 -1
  119. package/dist/components/{p-Dj5imT43.js → p-qpe55Kwb.js} +3 -3
  120. package/dist/components/{p-Dj5imT43.js.map → p-qpe55Kwb.js.map} +1 -1
  121. package/dist/components/verdocs-adopt-signature-dialog.js +1 -1
  122. package/dist/components/verdocs-build.js +13 -13
  123. package/dist/components/verdocs-contact-picker.js +1 -1
  124. package/dist/components/verdocs-delegate-dialog.js +1 -1
  125. package/dist/components/verdocs-dialog.js +1 -1
  126. package/dist/components/verdocs-disclosure-dialog.js +1 -1
  127. package/dist/components/verdocs-download-dialog.d.ts +11 -0
  128. package/dist/components/verdocs-download-dialog.js +9 -0
  129. package/dist/components/verdocs-download-dialog.js.map +1 -0
  130. package/dist/components/verdocs-envelope-document-page.js +1 -1
  131. package/dist/components/verdocs-envelope-sidebar.js +2 -2
  132. package/dist/components/verdocs-envelopes-list.js +9 -9
  133. package/dist/components/verdocs-field-attachment.js +1 -1
  134. package/dist/components/verdocs-field-signature.js +1 -1
  135. package/dist/components/verdocs-initial-dialog.js +1 -1
  136. package/dist/components/verdocs-kba-dialog.js +1 -1
  137. package/dist/components/verdocs-ok-dialog.js +1 -1
  138. package/dist/components/verdocs-otp-dialog.js +1 -1
  139. package/dist/components/verdocs-passcode-dialog.js +1 -1
  140. package/dist/components/verdocs-preview.js +1 -1
  141. package/dist/components/verdocs-question-dialog.js +1 -1
  142. package/dist/components/verdocs-quick-filter.js +1 -1
  143. package/dist/components/verdocs-quick-functions.js +1 -1
  144. package/dist/components/verdocs-search-tabs.js +1 -1
  145. package/dist/components/verdocs-send.js +1 -1
  146. package/dist/components/verdocs-sign-footer.js +1 -1
  147. package/dist/components/verdocs-sign.js +170 -48
  148. package/dist/components/verdocs-sign.js.map +1 -1
  149. package/dist/components/verdocs-signature-dialog.js +2 -2
  150. package/dist/components/verdocs-signing-progress.js +1 -1
  151. package/dist/components/verdocs-status-indicator.js +1 -1
  152. package/dist/components/verdocs-template-attachments.js +1 -1
  153. package/dist/components/verdocs-template-card.js +1 -1
  154. package/dist/components/verdocs-template-document-page.js +1 -1
  155. package/dist/components/verdocs-template-fields.js +1 -1
  156. package/dist/components/verdocs-template-role-properties.js +1 -1
  157. package/dist/components/verdocs-template-roles.js +1 -1
  158. package/dist/components/verdocs-template-star.js +1 -1
  159. package/dist/components/verdocs-template-tags.js +1 -1
  160. package/dist/components/verdocs-templates-list.js +4 -4
  161. package/dist/components/verdocs-upload-dialog.js +1 -1
  162. package/dist/components/verdocs-view.js +1 -1
  163. package/dist/custom-elements.json +2455 -0
  164. package/dist/esm/index-BIRwgFLv.js +2 -2
  165. package/dist/esm/loader.js +1 -1
  166. package/dist/esm/{utils-UeubfAI_.js → utils-7DStM5zD.js} +4 -12
  167. package/dist/{esm-es5/utils-UeubfAI_.js.map → esm/utils-7DStM5zD.js.map} +1 -1
  168. package/dist/esm/verdocs-adopt-signature-dialog.verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-download-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-passcode-dialog.verdocs-signing-progress.verdocs-view.entry.js.map +1 -0
  169. package/dist/esm/{verdocs-adopt-signature-dialog_8.entry.js → verdocs-adopt-signature-dialog_9.entry.js} +31 -7
  170. package/dist/esm/verdocs-contact-picker.entry.js +1 -1
  171. package/dist/esm/verdocs-dialog.entry.js +2 -2
  172. package/dist/esm/verdocs-dialog.entry.js.map +1 -1
  173. package/dist/esm/verdocs-envelope-document-page_3.entry.js +4 -4
  174. package/dist/esm/verdocs-envelopes-list.entry.js +7 -7
  175. package/dist/esm/verdocs-field-attachment_11.entry.js +1 -2
  176. package/dist/esm/verdocs-initial-dialog.entry.js +1 -1
  177. package/dist/esm/verdocs-menu-panel_2.entry.js +7 -7
  178. package/dist/esm/verdocs-ok-dialog.entry.js +1 -1
  179. package/dist/esm/verdocs-pagination_2.entry.js +1 -1
  180. package/dist/esm/verdocs-preview_7.entry.js +1 -1
  181. package/dist/esm/verdocs-quick-functions.entry.js +1 -1
  182. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  183. package/dist/esm/verdocs-sign.entry.js +140 -26
  184. package/dist/esm/verdocs-sign.entry.js.map +1 -1
  185. package/dist/esm/verdocs-signature-dialog.entry.js +1 -1
  186. package/dist/esm/verdocs-status-indicator.entry.js +2 -2
  187. package/dist/esm/verdocs-template-card.entry.js +1 -1
  188. package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
  189. package/dist/esm/verdocs-template-star.entry.js +1 -1
  190. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  191. package/dist/esm/verdocs-web-sdk.js +1 -1
  192. package/dist/esm-es5/index-BIRwgFLv.js +1 -1
  193. package/dist/esm-es5/loader.js +1 -1
  194. package/dist/esm-es5/utils-7DStM5zD.js +2 -0
  195. package/dist/{esm/utils-UeubfAI_.js.map → esm-es5/utils-7DStM5zD.js.map} +1 -1
  196. package/dist/esm-es5/verdocs-adopt-signature-dialog.verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-download-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-passcode-dialog.verdocs-signing-progress.verdocs-view.entry.js.map +1 -0
  197. package/dist/esm-es5/verdocs-adopt-signature-dialog_9.entry.js +2 -0
  198. package/dist/esm-es5/verdocs-adopt-signature-dialog_9.entry.js.map +1 -0
  199. package/dist/esm-es5/verdocs-contact-picker.entry.js +1 -1
  200. package/dist/esm-es5/verdocs-dialog.entry.js +1 -1
  201. package/dist/esm-es5/verdocs-dialog.entry.js.map +1 -1
  202. package/dist/esm-es5/verdocs-envelope-document-page_3.entry.js +1 -1
  203. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  204. package/dist/esm-es5/verdocs-field-attachment_11.entry.js +1 -1
  205. package/dist/esm-es5/verdocs-field-attachment_11.entry.js.map +1 -1
  206. package/dist/esm-es5/verdocs-initial-dialog.entry.js +1 -1
  207. package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
  208. package/dist/esm-es5/verdocs-ok-dialog.entry.js +1 -1
  209. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  210. package/dist/esm-es5/verdocs-preview_7.entry.js +1 -1
  211. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  212. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  213. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  214. package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
  215. package/dist/esm-es5/verdocs-signature-dialog.entry.js +1 -1
  216. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  217. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  218. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  219. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  220. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  221. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  222. package/dist/types/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.d.ts +15 -0
  223. package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +7 -0
  224. package/dist/types/components.d.ts +37 -0
  225. package/dist/verdocs-web-sdk/{p-8bce7217.system.entry.js → p-07205ca9.system.entry.js} +2 -2
  226. package/dist/verdocs-web-sdk/{p-05aaa7ed.system.entry.js → p-07383f5b.system.entry.js} +2 -2
  227. package/dist/verdocs-web-sdk/{p-05aaa7ed.system.entry.js.map → p-07383f5b.system.entry.js.map} +1 -1
  228. package/dist/verdocs-web-sdk/p-0ca193b4.entry.js +2 -0
  229. package/dist/verdocs-web-sdk/p-0ca193b4.entry.js.map +1 -0
  230. package/dist/verdocs-web-sdk/{p-da83a992.entry.js → p-0f20c685.entry.js} +2 -2
  231. package/dist/verdocs-web-sdk/{p-b088e156.system.entry.js → p-1083d8e2.system.entry.js} +2 -2
  232. package/dist/verdocs-web-sdk/p-114c52c9.system.entry.js +2 -0
  233. package/dist/verdocs-web-sdk/p-114c52c9.system.entry.js.map +1 -0
  234. package/dist/verdocs-web-sdk/{p-5caf6125.system.entry.js → p-1467ab16.system.entry.js} +3 -3
  235. package/dist/verdocs-web-sdk/p-1467ab16.system.entry.js.map +1 -0
  236. package/dist/verdocs-web-sdk/{p-7b191400.system.entry.js → p-15f45ccd.system.entry.js} +2 -2
  237. package/dist/verdocs-web-sdk/{p-318a07e5.entry.js → p-1aaa0981.entry.js} +2 -2
  238. package/dist/verdocs-web-sdk/{p-39e95382.entry.js → p-1aad4dc6.entry.js} +2 -2
  239. package/dist/verdocs-web-sdk/{p-4a1b9398.entry.js → p-20456951.entry.js} +2 -2
  240. package/dist/verdocs-web-sdk/{p-bde15580.system.entry.js → p-20ca00e4.system.entry.js} +2 -2
  241. package/dist/verdocs-web-sdk/p-20ca00e4.system.entry.js.map +1 -0
  242. package/dist/verdocs-web-sdk/{p-8470ef05.entry.js → p-29822673.entry.js} +2 -2
  243. package/dist/verdocs-web-sdk/{p-f36a6630.entry.js → p-2f88c31f.entry.js} +2 -2
  244. package/dist/verdocs-web-sdk/{p-f844ce09.entry.js → p-36950fda.entry.js} +2 -2
  245. package/dist/verdocs-web-sdk/{p-753524d6.system.entry.js → p-3912f9cc.system.entry.js} +2 -2
  246. package/dist/verdocs-web-sdk/{p-ae0ec1d7.system.entry.js → p-3b248d05.system.entry.js} +2 -2
  247. package/dist/verdocs-web-sdk/p-3ea68331.entry.js +2 -0
  248. package/dist/verdocs-web-sdk/p-3ea68331.entry.js.map +1 -0
  249. package/dist/verdocs-web-sdk/{p-445294c3.system.entry.js → p-5a3f7160.system.entry.js} +2 -2
  250. package/dist/verdocs-web-sdk/{p-cd4f320d.entry.js → p-5b8dca55.entry.js} +2 -2
  251. package/dist/verdocs-web-sdk/{p-8f98b783.entry.js → p-5bf8bb27.entry.js} +3 -3
  252. package/dist/verdocs-web-sdk/{p-8f98b783.entry.js.map → p-5bf8bb27.entry.js.map} +1 -1
  253. package/dist/verdocs-web-sdk/p-63d8a182.entry.js +2 -0
  254. package/dist/verdocs-web-sdk/p-63d8a182.entry.js.map +1 -0
  255. package/dist/verdocs-web-sdk/{p-a9030363.entry.js → p-6b4e3068.entry.js} +3 -3
  256. package/dist/verdocs-web-sdk/{p-c22d3f5e.entry.js → p-6ce29e3f.entry.js} +2 -2
  257. package/dist/verdocs-web-sdk/p-6e9c2d19.system.entry.js +2 -0
  258. package/dist/verdocs-web-sdk/p-6e9c2d19.system.entry.js.map +1 -0
  259. package/dist/verdocs-web-sdk/{p-bcd87ddc.entry.js → p-8beed8b8.entry.js} +2 -2
  260. package/dist/verdocs-web-sdk/p-B8zpaHu-.system.js +1 -1
  261. package/dist/verdocs-web-sdk/{p-B3HJKjHD.system.js.map → p-BACQ3t2g.system.js.map} +1 -1
  262. package/dist/verdocs-web-sdk/{p-ZcTmgak2.system.js.map → p-BFIyp5DH.system.js.map} +1 -1
  263. package/dist/verdocs-web-sdk/{p-DGgfjQ_t.system.js.map → p-BIlzRpWg.system.js.map} +1 -1
  264. package/dist/verdocs-web-sdk/p-BRVcSPz-.js +2 -0
  265. package/dist/verdocs-web-sdk/{p-CmnR51jO.js.map → p-BRVcSPz-.js.map} +1 -1
  266. package/dist/verdocs-web-sdk/p-BS_uue9-.system.js +2 -0
  267. package/dist/verdocs-web-sdk/{p-BAU98X36.system.js.map → p-BS_uue9-.system.js.map} +1 -1
  268. package/dist/verdocs-web-sdk/{p-DmVXPF0k.system.js.map → p-BwDu3hdM.system.js.map} +1 -1
  269. package/dist/verdocs-web-sdk/p-BzX3OCbM.system.js.map +1 -0
  270. package/dist/verdocs-web-sdk/p-CItBLxPE.system.js.map +1 -0
  271. package/dist/verdocs-web-sdk/{p-Doi8TK8T.system.js.map → p-CUjnlf4u.system.js.map} +1 -1
  272. package/dist/verdocs-web-sdk/{p-DezspFxO.system.js.map → p-CbY0pr90.system.js.map} +1 -1
  273. package/dist/verdocs-web-sdk/{p-AsAT1G33.system.js.map → p-ChG34u1-.system.js.map} +1 -1
  274. package/dist/verdocs-web-sdk/{p-D5MJAI9R.system.js.map → p-CrAB6I_0.system.js.map} +1 -1
  275. package/dist/verdocs-web-sdk/{p-BT_KTRbF.system.js.map → p-D1WT1HgS.system.js.map} +1 -1
  276. package/dist/verdocs-web-sdk/{p-MrbETESd.system.js.map → p-D1hWlXNp.system.js.map} +1 -1
  277. package/dist/verdocs-web-sdk/{p-VrxIYnwk.system.js.map → p-D5pPB-5I.system.js.map} +1 -1
  278. package/dist/verdocs-web-sdk/{p-L4wJpGIe.system.js.map → p-DAdumYIk.system.js.map} +1 -1
  279. package/dist/verdocs-web-sdk/{p-BlhnYHRJ.system.js.map → p-DENysSNZ.system.js.map} +1 -1
  280. package/dist/verdocs-web-sdk/p-DY-7DH4R.system.js.map +1 -0
  281. package/dist/verdocs-web-sdk/{p-O_JBau3u.system.js.map → p-DZMQH9UR.system.js.map} +1 -1
  282. package/dist/verdocs-web-sdk/{p-Bm0VE30F.system.js.map → p-DjxAdkDZ.system.js.map} +1 -1
  283. package/dist/verdocs-web-sdk/{p-BQjkHwaZ.system.js.map → p-Dtmn_zf8.system.js.map} +1 -1
  284. package/dist/verdocs-web-sdk/{p-2ecec6ed.system.entry.js → p-a43055ec.system.entry.js} +2 -2
  285. package/dist/verdocs-web-sdk/p-a43055ec.system.entry.js.map +1 -0
  286. package/dist/verdocs-web-sdk/p-a5bc34fc.system.entry.js +2 -0
  287. package/dist/verdocs-web-sdk/p-a5bc34fc.system.entry.js.map +1 -0
  288. package/dist/verdocs-web-sdk/{p-40415af2.entry.js → p-a99b5b5a.entry.js} +2 -2
  289. package/dist/verdocs-web-sdk/{p-ffd5303f.system.entry.js → p-aa9d335d.system.entry.js} +2 -2
  290. package/dist/verdocs-web-sdk/{p-57d9edf7.entry.js → p-b3a31d74.entry.js} +2 -2
  291. package/dist/verdocs-web-sdk/{p-da6664e2.system.entry.js → p-b589a13f.system.entry.js} +2 -2
  292. package/dist/verdocs-web-sdk/{p-a8b8c846.system.entry.js → p-b67d0434.system.entry.js} +2 -2
  293. package/dist/verdocs-web-sdk/{p-387f49e3.system.entry.js → p-b7f6434d.system.entry.js} +2 -2
  294. package/dist/verdocs-web-sdk/{p-3e9b4932.entry.js → p-c284aac4.entry.js} +2 -2
  295. package/dist/verdocs-web-sdk/{p-5a5c379c.entry.js → p-c344c869.entry.js} +2 -2
  296. package/dist/verdocs-web-sdk/{p-5a5c379c.entry.js.map → p-c344c869.entry.js.map} +1 -1
  297. package/dist/verdocs-web-sdk/{p-464ef358.entry.js → p-dbcab6a2.entry.js} +2 -2
  298. package/dist/verdocs-web-sdk/{p-ff3668fa.system.entry.js → p-e22986c6.system.entry.js} +2 -2
  299. package/dist/verdocs-web-sdk/p-e22986c6.system.entry.js.map +1 -0
  300. package/dist/verdocs-web-sdk/{p-64ed2c1e.system.entry.js → p-e96569f6.system.entry.js} +2 -2
  301. package/dist/verdocs-web-sdk/{p-43f5b924.system.entry.js → p-f551f8e0.system.entry.js} +2 -2
  302. package/dist/verdocs-web-sdk/{p-CH_KOP0L.system.js.map → p-vDhZao2w.system.js.map} +1 -1
  303. package/dist/verdocs-web-sdk/verdocs-adopt-signature-dialog.verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-download-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-passcode-dialog.verdocs-signing-progress.verdocs-view.entry.esm.js.map +1 -0
  304. package/dist/verdocs-web-sdk/verdocs-dialog.entry.esm.js.map +1 -1
  305. package/dist/verdocs-web-sdk/verdocs-sign.entry.esm.js.map +1 -1
  306. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  307. package/package.json +1 -1
  308. package/dist/cjs/verdocs-adopt-signature-dialog.verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-passcode-dialog.verdocs-signing-progress.verdocs-view.entry.cjs.js.map +0 -1
  309. package/dist/components/p-AGJ6yQYA.js.map +0 -1
  310. package/dist/components/p-B3TbYvlU.js.map +0 -1
  311. package/dist/components/p-C4IGMdkB.js.map +0 -1
  312. package/dist/components/p-hkxIErJy.js +0 -53
  313. package/dist/components/p-hkxIErJy.js.map +0 -1
  314. package/dist/esm/verdocs-adopt-signature-dialog.verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-passcode-dialog.verdocs-signing-progress.verdocs-view.entry.js.map +0 -1
  315. package/dist/esm-es5/utils-UeubfAI_.js +0 -2
  316. package/dist/esm-es5/verdocs-adopt-signature-dialog.verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-passcode-dialog.verdocs-signing-progress.verdocs-view.entry.js.map +0 -1
  317. package/dist/esm-es5/verdocs-adopt-signature-dialog_8.entry.js +0 -2
  318. package/dist/esm-es5/verdocs-adopt-signature-dialog_8.entry.js.map +0 -1
  319. package/dist/verdocs-web-sdk/p-2ecec6ed.system.entry.js.map +0 -1
  320. package/dist/verdocs-web-sdk/p-34e3dcef.system.entry.js +0 -2
  321. package/dist/verdocs-web-sdk/p-34e3dcef.system.entry.js.map +0 -1
  322. package/dist/verdocs-web-sdk/p-38463205.entry.js +0 -2
  323. package/dist/verdocs-web-sdk/p-38463205.entry.js.map +0 -1
  324. package/dist/verdocs-web-sdk/p-5caf6125.system.entry.js.map +0 -1
  325. package/dist/verdocs-web-sdk/p-BAU98X36.system.js +0 -2
  326. package/dist/verdocs-web-sdk/p-CGZmAdCp.system.js.map +0 -1
  327. package/dist/verdocs-web-sdk/p-CmnR51jO.js +0 -2
  328. package/dist/verdocs-web-sdk/p-DKoXteUW.system.js.map +0 -1
  329. package/dist/verdocs-web-sdk/p-N2JGIGf0.system.js.map +0 -1
  330. package/dist/verdocs-web-sdk/p-bde15580.system.entry.js.map +0 -1
  331. package/dist/verdocs-web-sdk/p-c4d9782a.system.entry.js +0 -2
  332. package/dist/verdocs-web-sdk/p-c4d9782a.system.entry.js.map +0 -1
  333. package/dist/verdocs-web-sdk/p-caa58160.entry.js +0 -2
  334. package/dist/verdocs-web-sdk/p-caa58160.entry.js.map +0 -1
  335. package/dist/verdocs-web-sdk/p-cdf6efa1.entry.js +0 -2
  336. package/dist/verdocs-web-sdk/p-cdf6efa1.entry.js.map +0 -1
  337. package/dist/verdocs-web-sdk/p-f4436552.system.entry.js +0 -2
  338. package/dist/verdocs-web-sdk/p-f4436552.system.entry.js.map +0 -1
  339. package/dist/verdocs-web-sdk/p-ff3668fa.system.entry.js.map +0 -1
  340. package/dist/verdocs-web-sdk/verdocs-adopt-signature-dialog.verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-passcode-dialog.verdocs-signing-progress.verdocs-view.entry.esm.js.map +0 -1
  341. /package/dist/verdocs-web-sdk/{p-8bce7217.system.entry.js.map → p-07205ca9.system.entry.js.map} +0 -0
  342. /package/dist/verdocs-web-sdk/{p-da83a992.entry.js.map → p-0f20c685.entry.js.map} +0 -0
  343. /package/dist/verdocs-web-sdk/{p-b088e156.system.entry.js.map → p-1083d8e2.system.entry.js.map} +0 -0
  344. /package/dist/verdocs-web-sdk/{p-7b191400.system.entry.js.map → p-15f45ccd.system.entry.js.map} +0 -0
  345. /package/dist/verdocs-web-sdk/{p-318a07e5.entry.js.map → p-1aaa0981.entry.js.map} +0 -0
  346. /package/dist/verdocs-web-sdk/{p-39e95382.entry.js.map → p-1aad4dc6.entry.js.map} +0 -0
  347. /package/dist/verdocs-web-sdk/{p-4a1b9398.entry.js.map → p-20456951.entry.js.map} +0 -0
  348. /package/dist/verdocs-web-sdk/{p-8470ef05.entry.js.map → p-29822673.entry.js.map} +0 -0
  349. /package/dist/verdocs-web-sdk/{p-f36a6630.entry.js.map → p-2f88c31f.entry.js.map} +0 -0
  350. /package/dist/verdocs-web-sdk/{p-f844ce09.entry.js.map → p-36950fda.entry.js.map} +0 -0
  351. /package/dist/verdocs-web-sdk/{p-753524d6.system.entry.js.map → p-3912f9cc.system.entry.js.map} +0 -0
  352. /package/dist/verdocs-web-sdk/{p-ae0ec1d7.system.entry.js.map → p-3b248d05.system.entry.js.map} +0 -0
  353. /package/dist/verdocs-web-sdk/{p-445294c3.system.entry.js.map → p-5a3f7160.system.entry.js.map} +0 -0
  354. /package/dist/verdocs-web-sdk/{p-cd4f320d.entry.js.map → p-5b8dca55.entry.js.map} +0 -0
  355. /package/dist/verdocs-web-sdk/{p-a9030363.entry.js.map → p-6b4e3068.entry.js.map} +0 -0
  356. /package/dist/verdocs-web-sdk/{p-c22d3f5e.entry.js.map → p-6ce29e3f.entry.js.map} +0 -0
  357. /package/dist/verdocs-web-sdk/{p-bcd87ddc.entry.js.map → p-8beed8b8.entry.js.map} +0 -0
  358. /package/dist/verdocs-web-sdk/{p-40415af2.entry.js.map → p-a99b5b5a.entry.js.map} +0 -0
  359. /package/dist/verdocs-web-sdk/{p-ffd5303f.system.entry.js.map → p-aa9d335d.system.entry.js.map} +0 -0
  360. /package/dist/verdocs-web-sdk/{p-57d9edf7.entry.js.map → p-b3a31d74.entry.js.map} +0 -0
  361. /package/dist/verdocs-web-sdk/{p-da6664e2.system.entry.js.map → p-b589a13f.system.entry.js.map} +0 -0
  362. /package/dist/verdocs-web-sdk/{p-a8b8c846.system.entry.js.map → p-b67d0434.system.entry.js.map} +0 -0
  363. /package/dist/verdocs-web-sdk/{p-387f49e3.system.entry.js.map → p-b7f6434d.system.entry.js.map} +0 -0
  364. /package/dist/verdocs-web-sdk/{p-3e9b4932.entry.js.map → p-c284aac4.entry.js.map} +0 -0
  365. /package/dist/verdocs-web-sdk/{p-464ef358.entry.js.map → p-dbcab6a2.entry.js.map} +0 -0
  366. /package/dist/verdocs-web-sdk/{p-64ed2c1e.system.entry.js.map → p-e96569f6.system.entry.js.map} +0 -0
  367. /package/dist/verdocs-web-sdk/{p-43f5b924.system.entry.js.map → p-f551f8e0.system.entry.js.map} +0 -0
@@ -1,3 +1,3 @@
1
- import{r as e,c as t,h as n,F as o}from"./p-BIRwgFLv.js";import{VerdocsEndpoint as r,formatFullName as i,getActiveEntitlements as s,isValidEmail as c}from"@verdocs/js-sdk";import{c as a,g as l}from"./p-BFTU3MAI.js";import{B as u}from"./p-C_Xku1v2.js";import{f}from"./p-CmnR51jO.js";import"./p-dzBXqXlK.js";import"./p-dqxNbm_b.js";
2
- /*! Axios v1.13.4 Copyright (c) 2026 Matt Zabriskie and contributors */var d;var h;function p(){if(h)return d;h=1;function e(e,t){return function n(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype;const{getPrototypeOf:n}=Object;const{iterator:o,toStringTag:r}=Symbol;const i=(e=>n=>{const o=t.call(n);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null));const s=e=>{e=e.toLowerCase();return t=>i(t)===e};const c=e=>t=>typeof t===e;const{isArray:l}=Array;const u=c("undefined");function f(e){return e!==null&&!u(e)&&e.constructor!==null&&!u(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const p=s("ArrayBuffer");function m(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&p(e.buffer)}return t}const b=c("string");const w=c("function");const v=c("number");const g=e=>e!==null&&typeof e==="object";const y=e=>e===true||e===false;const x=e=>{if(i(e)!=="object"){return false}const t=n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(r in e)&&!(o in e)};const k=e=>{if(!g(e)||f(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};const R=s("Date");const O=s("File");const S=s("Blob");const T=s("FileList");const E=e=>g(e)&&w(e.pipe);const j=e=>{let t;return e&&(typeof FormData==="function"&&e instanceof FormData||w(e.append)&&((t=i(e))==="formdata"||t==="object"&&w(e.toString)&&e.toString()==="[object FormData]"))};const A=s("URLSearchParams");const[C,F,N,P]=["ReadableStream","Request","Response","Headers"].map(s);const U=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function B(e,t,{allOwnKeys:n=false}={}){if(e===null||typeof e==="undefined"){return}let o;let r;if(typeof e!=="object"){e=[e]}if(l(e)){for(o=0,r=e.length;o<r;o++){t.call(null,e[o],o,e)}}else{if(f(e)){return}const r=n?Object.getOwnPropertyNames(e):Object.keys(e);const i=r.length;let s;for(o=0;o<i;o++){s=r[o];t.call(null,e[s],s,e)}}}function I(e,t){if(f(e)){return null}t=t.toLowerCase();const n=Object.keys(e);let o=n.length;let r;while(o-- >0){r=n[o];if(t===r.toLowerCase()){return r}}return null}const D=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:a})();const _=e=>!u(e)&&e!==D;function L(){const{caseless:e,skipUndefined:t}=_(this)&&this||{};const n={};const o=(o,r)=>{const i=e&&I(n,r)||r;if(x(n[i])&&x(o)){n[i]=L(n[i],o)}else if(x(o)){n[i]=L({},o)}else if(l(o)){n[i]=o.slice()}else if(!t||!u(o)){n[i]=o}};for(let e=0,t=arguments.length;e<t;e++){arguments[e]&&B(arguments[e],o)}return n}const M=(t,n,o,{allOwnKeys:r}={})=>{B(n,((n,r)=>{if(o&&w(n)){Object.defineProperty(t,r,{value:e(n,o),writable:true,enumerable:true,configurable:true})}else{Object.defineProperty(t,r,{value:n,writable:true,enumerable:true,configurable:true})}}),{allOwnKeys:r});return t};const q=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const z=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o);Object.defineProperty(e.prototype,"constructor",{value:e,writable:true,enumerable:false,configurable:true});Object.defineProperty(e,"super",{value:t.prototype});n&&Object.assign(e.prototype,n)};const $=(e,t,o,r)=>{let i;let s;let c;const a={};t=t||{};if(e==null)return t;do{i=Object.getOwnPropertyNames(e);s=i.length;while(s-- >0){c=i[s];if((!r||r(c,e,t))&&!a[c]){t[c]=e[c];a[c]=true}}e=o!==false&&n(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t};const H=(e,t,n)=>{e=String(e);if(n===undefined||n>e.length){n=e.length}n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n};const K=e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);while(t-- >0){n[t]=e[t]}return n};const J=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&n(Uint8Array));const X=(e,t)=>{const n=e&&e[o];const r=n.call(e);let i;while((i=r.next())&&!i.done){const n=i.value;t.call(e,n[0],n[1])}};const W=(e,t)=>{let n;const o=[];while((n=e.exec(t))!==null){o.push(n)}return o};const V=s("HTMLFormElement");const G=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,n,o){return n.toUpperCase()+o}));const Z=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype);const Q=s("RegExp");const Y=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e);const o={};B(n,((n,r)=>{let i;if((i=t(n,r,e))!==false){o[r]=i||n}}));Object.defineProperties(e,o)};const ee=e=>{Y(e,((t,n)=>{if(w(e)&&["arguments","caller","callee"].indexOf(n)!==-1){return false}const o=e[n];if(!w(o))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}}}))};const te=(e,t)=>{const n={};const o=e=>{e.forEach((e=>{n[e]=true}))};l(e)?o(e):o(String(e).split(t));return n};const ne=()=>{};const oe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function re(e){return!!(e&&w(e.append)&&e[r]==="FormData"&&e[o])}const ie=e=>{const t=new Array(10);const n=(e,o)=>{if(g(e)){if(t.indexOf(e)>=0){return}if(f(e)){return e}if(!("toJSON"in e)){t[o]=e;const r=l(e)?[]:{};B(e,((e,t)=>{const i=n(e,o+1);!u(i)&&(r[t]=i)}));t[o]=undefined;return r}}return e};return n(e,0)};const se=s("AsyncFunction");const ce=e=>e&&(g(e)||w(e))&&w(e.then)&&w(e.catch);const ae=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{D.addEventListener("message",(({source:n,data:o})=>{if(n===D&&o===e){t.length&&t.shift()()}}),false);return n=>{t.push(n);D.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",w(D.postMessage));const le=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(D):typeof process!=="undefined"&&process.nextTick||ae;const ue=e=>e!=null&&w(e[o]);var fe={isArray:l,isArrayBuffer:p,isBuffer:f,isFormData:j,isArrayBufferView:m,isString:b,isNumber:v,isBoolean:y,isObject:g,isPlainObject:x,isEmptyObject:k,isReadableStream:C,isRequest:F,isResponse:N,isHeaders:P,isUndefined:u,isDate:R,isFile:O,isBlob:S,isRegExp:Q,isFunction:w,isStream:E,isURLSearchParams:A,isTypedArray:J,isFileList:T,forEach:B,merge:L,extend:M,trim:U,stripBOM:q,inherits:z,toFlatObject:$,kindOf:i,kindOfTest:s,endsWith:H,toArray:K,forEachEntry:X,matchAll:W,isHTMLForm:V,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Y,freezeMethods:ee,toObjectSet:te,toCamelCase:G,noop:ne,toFiniteNumber:oe,findKey:I,global:D,isContextDefined:_,isSpecCompliantForm:re,toJSONObject:ie,isAsyncFn:se,isThenable:ce,setImmediate:ae,asap:le,isIterable:ue};class de extends Error{static from(e,t,n,o,r,i){const s=new de(e.message,t||e.code,n,o,r);s.cause=e;s.name=e.name;i&&Object.assign(s,i);return s}constructor(e,t,n,o,r){super(e);this.name="AxiosError";this.isAxiosError=true;t&&(this.code=t);n&&(this.config=n);o&&(this.request=o);if(r){this.response=r;this.status=r.status}}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:fe.toJSONObject(this.config),code:this.code,status:this.status}}}de.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";de.ERR_BAD_OPTION="ERR_BAD_OPTION";de.ECONNABORTED="ECONNABORTED";de.ETIMEDOUT="ETIMEDOUT";de.ERR_NETWORK="ERR_NETWORK";de.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";de.ERR_DEPRECATED="ERR_DEPRECATED";de.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";de.ERR_BAD_REQUEST="ERR_BAD_REQUEST";de.ERR_CANCELED="ERR_CANCELED";de.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";de.ERR_INVALID_URL="ERR_INVALID_URL";var he=de;var pe=null;function me(e){return fe.isPlainObject(e)||fe.isArray(e)}function be(e){return fe.endsWith(e,"[]")?e.slice(0,-2):e}function we(e,t,n){if(!e)return t;return e.concat(t).map((function e(t,o){t=be(t);return!n&&o?"["+t+"]":t})).join(n?".":"")}function ve(e){return fe.isArray(e)&&!e.some(me)}const ge=fe.toFlatObject(fe,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function ye(e,t,n){if(!fe.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;n=fe.toFlatObject(n,{metaTokens:true,dots:false,indexes:false},false,(function e(t,n){return!fe.isUndefined(n[t])}));const o=n.metaTokens;const r=n.visitor||u;const i=n.dots;const s=n.indexes;const c=n.Blob||typeof Blob!=="undefined"&&Blob;const a=c&&fe.isSpecCompliantForm(t);if(!fe.isFunction(r)){throw new TypeError("visitor must be a function")}function l(e){if(e===null)return"";if(fe.isDate(e)){return e.toISOString()}if(fe.isBoolean(e)){return e.toString()}if(!a&&fe.isBlob(e)){throw new he("Blob is not supported. Use a Buffer instead.")}if(fe.isArrayBuffer(e)||fe.isTypedArray(e)){return a&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function u(e,n,r){let c=e;if(e&&!r&&typeof e==="object"){if(fe.endsWith(n,"{}")){n=o?n:n.slice(0,-2);e=JSON.stringify(e)}else if(fe.isArray(e)&&ve(e)||(fe.isFileList(e)||fe.endsWith(n,"[]"))&&(c=fe.toArray(e))){n=be(n);c.forEach((function e(o,r){!(fe.isUndefined(o)||o===null)&&t.append(s===true?we([n],r,i):s===null?n:n+"[]",l(o))}));return false}}if(me(e)){return true}t.append(we(r,n,i),l(e));return false}const f=[];const d=Object.assign(ge,{defaultVisitor:u,convertValue:l,isVisitable:me});function h(e,n){if(fe.isUndefined(e))return;if(f.indexOf(e)!==-1){throw Error("Circular reference detected in "+n.join("."))}f.push(e);fe.forEach(e,(function e(o,i){const s=!(fe.isUndefined(o)||o===null)&&r.call(t,o,fe.isString(i)?i.trim():i,n,d);if(s===true){h(o,n?n.concat(i):[i])}}));f.pop()}if(!fe.isObject(e)){throw new TypeError("data must be an object")}h(e);return t}function xe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function e(n){return t[n]}))}function ke(e,t){this._pairs=[];e&&ye(e,this,t)}const Re=ke.prototype;Re.append=function e(t,n){this._pairs.push([t,n])};Re.toString=function e(t){const n=t?function(e){return t.call(this,e,xe)}:xe;return this._pairs.map((function e(t){return n(t[0])+"="+n(t[1])}),"").join("&")};function Oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Se(e,t,n){if(!t){return e}const o=n&&n.encode||Oe;const r=fe.isFunction(n)?{serialize:n}:n;const i=r&&r.serialize;let s;if(i){s=i(t,r)}else{s=fe.isURLSearchParams(t)?t.toString():new ke(t,r).toString(o)}if(s){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Te{constructor(){this.handlers=[]}use(e,t,n){this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){fe.forEach(this.handlers,(function t(n){if(n!==null){e(n)}}))}}var Ee=Te;var je={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};var Ae=typeof URLSearchParams!=="undefined"?URLSearchParams:ke;var Ce=typeof FormData!=="undefined"?FormData:null;var Fe=typeof Blob!=="undefined"?Blob:null;var Ne={isBrowser:true,classes:{URLSearchParams:Ae,FormData:Ce,Blob:Fe},protocols:["http","https","file","blob","url","data"]};const Pe=typeof window!=="undefined"&&typeof document!=="undefined";const Ue=typeof navigator==="object"&&navigator||undefined;const Be=Pe&&(!Ue||["ReactNative","NativeScript","NS"].indexOf(Ue.product)<0);const Ie=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const De=Pe&&window.location.href||"http://localhost";var _e=Object.freeze({__proto__:null,hasBrowserEnv:Pe,hasStandardBrowserWebWorkerEnv:Ie,hasStandardBrowserEnv:Be,navigator:Ue,origin:De});var Le={..._e,...Ne};function Me(e,t){return ye(e,new Le.classes.URLSearchParams,{visitor:function(e,t,n,o){if(Le.isNode&&fe.isBuffer(e)){this.append(t,e.toString("base64"));return false}return o.defaultVisitor.apply(this,arguments)},...t})}function qe(e){return fe.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function ze(e){const t={};const n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o<r;o++){i=n[o];t[i]=e[i]}return t}function $e(e){function t(e,n,o,r){let i=e[r++];if(i==="__proto__")return true;const s=Number.isFinite(+i);const c=r>=e.length;i=!i&&fe.isArray(o)?o.length:i;if(c){if(fe.hasOwnProp(o,i)){o[i]=[o[i],n]}else{o[i]=n}return!s}if(!o[i]||!fe.isObject(o[i])){o[i]=[]}const a=t(e,n,o[i],r);if(a&&fe.isArray(o[i])){o[i]=ze(o[i])}return!s}if(fe.isFormData(e)&&fe.isFunction(e.entries)){const n={};fe.forEachEntry(e,((e,o)=>{t(qe(e),o,n,0)}));return n}return null}function He(e,t,n){if(fe.isString(e)){try{(0,JSON.parse)(e);return fe.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(n||JSON.stringify)(e)}const Ke={transitional:je,adapter:["xhr","http","fetch"],transformRequest:[function e(t,n){const o=n.getContentType()||"";const r=o.indexOf("application/json")>-1;const i=fe.isObject(t);if(i&&fe.isHTMLForm(t)){t=new FormData(t)}const s=fe.isFormData(t);if(s){return r?JSON.stringify($e(t)):t}if(fe.isArrayBuffer(t)||fe.isBuffer(t)||fe.isStream(t)||fe.isFile(t)||fe.isBlob(t)||fe.isReadableStream(t)){return t}if(fe.isArrayBufferView(t)){return t.buffer}if(fe.isURLSearchParams(t)){n.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}let c;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1){return Me(t,this.formSerializer).toString()}if((c=fe.isFileList(t))||o.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return ye(c?{"files[]":t}:t,e&&new e,this.formSerializer)}}if(i||r){n.setContentType("application/json",false);return He(t)}return t}],transformResponse:[function e(t){const n=this.transitional||Ke.transitional;const o=n&&n.forcedJSONParsing;const r=this.responseType==="json";if(fe.isResponse(t)||fe.isReadableStream(t)){return t}if(t&&fe.isString(t)&&(o&&!this.responseType||r)){const e=n&&n.silentJSONParsing;const o=!e&&r;try{return JSON.parse(t,this.parseReviver)}catch(e){if(o){if(e.name==="SyntaxError"){throw he.from(e,he.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};fe.forEach(["delete","get","head","post","put","patch"],(e=>{Ke.headers[e]={}}));var Je=Ke;const Xe=fe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var We=e=>{const t={};let n;let o;let r;e&&e.split("\n").forEach((function e(i){r=i.indexOf(":");n=i.substring(0,r).trim().toLowerCase();o=i.substring(r+1).trim();if(!n||t[n]&&Xe[n]){return}if(n==="set-cookie"){if(t[n]){t[n].push(o)}else{t[n]=[o]}}else{t[n]=t[n]?t[n]+", "+o:o}}));return t};const Ve=Symbol("internals");function Ge(e){return e&&String(e).trim().toLowerCase()}function Ze(e){if(e===false||e==null){return e}return fe.isArray(e)?e.map(Ze):String(e)}function Qe(e){const t=Object.create(null);const n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;while(o=n.exec(e)){t[o[1]]=o[2]}return t}const Ye=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function et(e,t,n,o,r){if(fe.isFunction(o)){return o.call(this,t,n)}if(r){t=n}if(!fe.isString(t))return;if(fe.isString(o)){return t.indexOf(o)!==-1}if(fe.isRegExp(o)){return o.test(t)}}function tt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function nt(e,t){const n=fe.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:true})}))}class ot{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=Ge(t);if(!r){throw new Error("header name must be a non-empty string")}const i=fe.findKey(o,r);if(!i||o[i]===undefined||n===true||n===undefined&&o[i]!==false){o[i||t]=Ze(e)}}const i=(e,t)=>fe.forEach(e,((e,n)=>r(e,n,t)));if(fe.isPlainObject(e)||e instanceof this.constructor){i(e,t)}else if(fe.isString(e)&&(e=e.trim())&&!Ye(e)){i(We(e),t)}else if(fe.isObject(e)&&fe.isIterable(e)){let n={},o,r;for(const t of e){if(!fe.isArray(t)){throw TypeError("Object iterator must return a key-value pair")}n[r=t[0]]=(o=n[r])?fe.isArray(o)?[...o,t[1]]:[o,t[1]]:t[1]}i(n,t)}else{e!=null&&r(t,e,n)}return this}get(e,t){e=Ge(e);if(e){const n=fe.findKey(this,e);if(n){const e=this[n];if(!t){return e}if(t===true){return Qe(e)}if(fe.isFunction(t)){return t.call(this,e,n)}if(fe.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=Ge(e);if(e){const n=fe.findKey(this,e);return!!(n&&this[n]!==undefined&&(!t||et(this,this[n],n,t)))}return false}delete(e,t){const n=this;let o=false;function r(e){e=Ge(e);if(e){const r=fe.findKey(n,e);if(r&&(!t||et(n,n[r],r,t))){delete n[r];o=true}}}if(fe.isArray(e)){e.forEach(r)}else{r(e)}return o}clear(e){const t=Object.keys(this);let n=t.length;let o=false;while(n--){const r=t[n];if(!e||et(this,this[r],r,e,true)){delete this[r];o=true}}return o}normalize(e){const t=this;const n={};fe.forEach(this,((o,r)=>{const i=fe.findKey(n,r);if(i){t[i]=Ze(o);delete t[r];return}const s=e?tt(r):String(r).trim();if(s!==r){delete t[r]}t[s]=Ze(o);n[s]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);fe.forEach(this,((n,o)=>{n!=null&&n!==false&&(t[o]=e&&fe.isArray(n)?n.join(", "):n)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);t.forEach((e=>n.set(e)));return n}static accessor(e){const t=this[Ve]=this[Ve]={accessors:{}};const n=t.accessors;const o=this.prototype;function r(e){const t=Ge(e);if(!n[t]){nt(o,e);n[t]=true}}fe.isArray(e)?e.forEach(r):r(e);return this}}ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);fe.reduceDescriptors(ot.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}));fe.freezeMethods(ot);var rt=ot;function it(e,t){const n=this||Je;const o=t||n;const r=rt.from(o.headers);let i=o.data;fe.forEach(e,(function e(o){i=o.call(n,i,r.normalize(),t?t.status:undefined)}));r.normalize();return i}function st(e){return!!(e&&e.__CANCEL__)}class ct extends he{constructor(e,t,n){super(e==null?"canceled":e,he.ERR_CANCELED,t,n);this.name="CanceledError";this.__CANCEL__=true}}var at=ct;function lt(e,t,n){const o=n.config.validateStatus;if(!n.status||!o||o(n.status)){e(n)}else{t(new he("Request failed with status code "+n.status,[he.ERR_BAD_REQUEST,he.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}}function ut(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ft(e,t){e=e||10;const n=new Array(e);const o=new Array(e);let r=0;let i=0;let s;t=t!==undefined?t:1e3;return function c(a){const l=Date.now();const u=o[i];if(!s){s=l}n[r]=a;o[r]=l;let f=i;let d=0;while(f!==r){d+=n[f++];f=f%e}r=(r+1)%e;if(r===i){i=(i+1)%e}if(l-s<t){return}const h=u&&l-u;return h?Math.round(d*1e3/h):undefined}}function dt(e,t){let n=0;let o=1e3/t;let r;let i;const s=(t,o=Date.now())=>{n=o;r=null;if(i){clearTimeout(i);i=null}e(...t)};const c=(...e)=>{const t=Date.now();const c=t-n;if(c>=o){s(e,t)}else{r=e;if(!i){i=setTimeout((()=>{i=null;s(r)}),o-c)}}};const a=()=>r&&s(r);return[c,a]}const ht=(e,t,n=3)=>{let o=0;const r=ft(50,250);return dt((n=>{const i=n.loaded;const s=n.lengthComputable?n.total:undefined;const c=i-o;const a=r(c);const l=i<=s;o=i;const u={loaded:i,total:s,progress:s?i/s:undefined,bytes:c,rate:a?a:undefined,estimated:a&&s&&l?(s-i)/a:undefined,event:n,lengthComputable:s!=null,[t?"download":"upload"]:true};e(u)}),n)};const pt=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]};const mt=e=>(...t)=>fe.asap((()=>e(...t)));var bt=Le.hasStandardBrowserEnv?((e,t)=>n=>{n=new URL(n,Le.origin);return e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)})(new URL(Le.origin),Le.navigator&&/(msie|trident)/i.test(Le.navigator.userAgent)):()=>true;var wt=Le.hasStandardBrowserEnv?{write(e,t,n,o,r,i,s){if(typeof document==="undefined")return;const c=[`${e}=${encodeURIComponent(t)}`];if(fe.isNumber(n)){c.push(`expires=${new Date(n).toUTCString()}`)}if(fe.isString(o)){c.push(`path=${o}`)}if(fe.isString(r)){c.push(`domain=${r}`)}if(i===true){c.push("secure")}if(fe.isString(s)){c.push(`SameSite=${s}`)}document.cookie=c.join("; ")},read(e){if(typeof document==="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function yt(e,t,n){let o=!vt(t);if(e&&(o||n==false)){return gt(e,t)}return t}const xt=e=>e instanceof rt?{...e}:e;function kt(e,t){t=t||{};const n={};function o(e,t,n,o){if(fe.isPlainObject(e)&&fe.isPlainObject(t)){return fe.merge.call({caseless:o},e,t)}else if(fe.isPlainObject(t)){return fe.merge({},t)}else if(fe.isArray(t)){return t.slice()}return t}function r(e,t,n,r){if(!fe.isUndefined(t)){return o(e,t,n,r)}else if(!fe.isUndefined(e)){return o(undefined,e,n,r)}}function i(e,t){if(!fe.isUndefined(t)){return o(undefined,t)}}function s(e,t){if(!fe.isUndefined(t)){return o(undefined,t)}else if(!fe.isUndefined(e)){return o(undefined,e)}}function c(n,r,i){if(i in t){return o(n,r)}else if(i in e){return o(undefined,n)}}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(e,t,n)=>r(xt(e),xt(t),n,true)};fe.forEach(Object.keys({...e,...t}),(function o(i){const s=a[i]||r;const l=s(e[i],t[i],i);fe.isUndefined(l)&&s!==c||(n[i]=l)}));return n}var Rt=e=>{const t=kt({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:s,auth:c}=t;t.headers=s=rt.from(s);t.url=Se(yt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer);if(c){s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")))}if(fe.isFormData(n)){if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv){s.setContentType(undefined)}else if(fe.isFunction(n.getHeaders)){const e=n.getHeaders();const t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{if(t.includes(e.toLowerCase())){s.set(e,n)}}))}}if(Le.hasStandardBrowserEnv){o&&fe.isFunction(o)&&(o=o(t));if(o||o!==false&&bt(t.url)){const e=r&&i&&wt.read(i);if(e){s.set(r,e)}}}return t};const Ot=typeof XMLHttpRequest!=="undefined";var St=Ot&&function(e){return new Promise((function t(n,o){const r=Rt(e);let i=r.data;const s=rt.from(r.headers).normalize();let{responseType:c,onUploadProgress:a,onDownloadProgress:l}=r;let u;let f,d;let h,p;function m(){h&&h();p&&p();r.cancelToken&&r.cancelToken.unsubscribe(u);r.signal&&r.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,true);b.timeout=r.timeout;function w(){if(!b){return}const t=rt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());const r=!c||c==="text"||c==="json"?b.responseText:b.response;const i={data:r,status:b.status,statusText:b.statusText,headers:t,config:e,request:b};lt((function e(t){n(t);m()}),(function e(t){o(t);m()}),i);b=null}if("onloadend"in b){b.onloadend=w}else{b.onreadystatechange=function e(){if(!b||b.readyState!==4){return}if(b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)){return}setTimeout(w)}}b.onabort=function t(){if(!b){return}o(new he("Request aborted",he.ECONNABORTED,e,b));b=null};b.onerror=function t(n){const r=n&&n.message?n.message:"Network Error";const i=new he(r,he.ERR_NETWORK,e,b);i.event=n||null;o(i);b=null};b.ontimeout=function t(){let n=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||je;if(r.timeoutErrorMessage){n=r.timeoutErrorMessage}o(new he(n,i.clarifyTimeoutError?he.ETIMEDOUT:he.ECONNABORTED,e,b));b=null};i===undefined&&s.setContentType(null);if("setRequestHeader"in b){fe.forEach(s.toJSON(),(function e(t,n){b.setRequestHeader(n,t)}))}if(!fe.isUndefined(r.withCredentials)){b.withCredentials=!!r.withCredentials}if(c&&c!=="json"){b.responseType=r.responseType}if(l){[d,p]=ht(l,true);b.addEventListener("progress",d)}if(a&&b.upload){[f,h]=ht(a);b.upload.addEventListener("progress",f);b.upload.addEventListener("loadend",h)}if(r.cancelToken||r.signal){u=t=>{if(!b){return}o(!t||t.type?new at(null,e,b):t);b.abort();b=null};r.cancelToken&&r.cancelToken.subscribe(u);if(r.signal){r.signal.aborted?u():r.signal.addEventListener("abort",u)}}const v=ut(r.url);if(v&&Le.protocols.indexOf(v)===-1){o(new he("Unsupported protocol "+v+":",he.ERR_BAD_REQUEST,e));return}b.send(i||null)}))};const Tt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController;let o;const r=function(e){if(!o){o=true;s();const t=e instanceof Error?e:this.reason;n.abort(t instanceof he?t:new at(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null;r(new he(`timeout of ${t}ms exceeded`,he.ETIMEDOUT))}),t);const s=()=>{if(e){i&&clearTimeout(i);i=null;e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}));e=null}};e.forEach((e=>e.addEventListener("abort",r)));const{signal:c}=n;c.unsubscribe=()=>fe.asap(s);return c}};var Et=Tt;const jt=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0;let r;while(o<n){r=o+t;yield e.slice(o,r);o=r}};const At=async function*(e,t){for await(const n of Ct(e)){yield*jt(n,t)}};const Ct=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e){break}yield n}}finally{await t.cancel()}};const Ft=(e,t,n,o)=>{const r=At(e,t);let i=0;let s;let c=e=>{if(!s){s=true;o&&o(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t){c();e.close();return}let s=o.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(o))}catch(e){c(e);throw e}},cancel(e){c(e);return r.return()}},{highWaterMark:2})};const Nt=64*1024;const{isFunction:Pt}=fe;const Ut=(({Request:e,Response:t})=>({Request:e,Response:t}))(fe.global);const{ReadableStream:Bt,TextEncoder:It}=fe.global;const Dt=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const _t=e=>{e=fe.merge.call({skipUndefined:true},Ut,e);const{fetch:t,Request:n,Response:o}=e;const r=t?Pt(t):typeof fetch==="function";const i=Pt(n);const s=Pt(o);if(!r){return false}const c=r&&Pt(Bt);const a=r&&(typeof It==="function"?(e=>t=>e.encode(t))(new It):async e=>new Uint8Array(await new n(e).arrayBuffer()));const l=i&&c&&Dt((()=>{let e=false;const t=new n(Le.origin,{body:new Bt,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));const u=s&&c&&Dt((()=>fe.isReadableStream(new o("").body)));const f={stream:u&&(e=>e.body)};r&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!f[e]&&(f[e]=(t,n)=>{let o=t&&t[e];if(o){return o.call(t)}throw new he(`Response type '${e}' is not supported`,he.ERR_NOT_SUPPORT,n)})}))})();const d=async e=>{if(e==null){return 0}if(fe.isBlob(e)){return e.size}if(fe.isSpecCompliantForm(e)){const t=new n(Le.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}if(fe.isArrayBufferView(e)||fe.isArrayBuffer(e)){return e.byteLength}if(fe.isURLSearchParams(e)){e=e+""}if(fe.isString(e)){return(await a(e)).byteLength}};const h=async(e,t)=>{const n=fe.toFiniteNumber(e.getContentLength());return n==null?d(t):n};return async e=>{let{url:r,method:s,data:c,signal:a,cancelToken:d,timeout:p,onDownloadProgress:m,onUploadProgress:b,responseType:w,headers:v,withCredentials:g="same-origin",fetchOptions:y}=Rt(e);let x=t||fetch;w=w?(w+"").toLowerCase():"text";let k=Et([a,d&&d.toAbortSignal()],p);let R=null;const O=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let S;try{if(b&&l&&s!=="get"&&s!=="head"&&(S=await h(v,c))!==0){let e=new n(r,{method:"POST",body:c,duplex:"half"});let t;if(fe.isFormData(c)&&(t=e.headers.get("content-type"))){v.setContentType(t)}if(e.body){const[t,n]=pt(S,ht(mt(b)));c=Ft(e.body,Nt,t,n)}}if(!fe.isString(g)){g=g?"include":"omit"}const t=i&&"credentials"in n.prototype;const a={...y,signal:k,method:s.toUpperCase(),headers:v.normalize().toJSON(),body:c,duplex:"half",credentials:t?g:undefined};R=i&&new n(r,a);let d=await(i?x(R,y):x(r,a));const p=u&&(w==="stream"||w==="response");if(u&&(m||p&&O)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=d[t]}));const t=fe.toFiniteNumber(d.headers.get("content-length"));const[n,r]=m&&pt(t,ht(mt(m),true))||[];d=new o(Ft(d.body,Nt,n,(()=>{r&&r();O&&O()})),e)}w=w||"text";let T=await f[fe.findKey(f,w)||"text"](d,e);!p&&O&&O();return await new Promise(((t,n)=>{lt(t,n,{data:T,headers:rt.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:R})}))}catch(t){O&&O();if(t&&t.name==="TypeError"&&/Load failed|fetch/i.test(t.message)){throw Object.assign(new he("Network Error",he.ERR_NETWORK,e,R),{cause:t.cause||t})}throw he.from(t,t&&t.code,e,R)}}};const Lt=new Map;const Mt=e=>{let t=e&&e.env||{};const{fetch:n,Request:o,Response:r}=t;const i=[o,r,n];let s=i.length,c=s,a,l,u=Lt;while(c--){a=i[c];l=u.get(a);l===undefined&&u.set(a,l=c?new Map:_t(t));u=l}return l};Mt();const qt={http:pe,xhr:St,fetch:{get:Mt}};fe.forEach(qt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const zt=e=>`- ${e}`;const $t=e=>fe.isFunction(e)||e===null||e===false;function Ht(e,t){e=fe.isArray(e)?e:[e];const{length:n}=e;let o;let r;const i={};for(let s=0;s<n;s++){o=e[s];let n;r=o;if(!$t(o)){r=qt[(n=String(o)).toLowerCase()];if(r===undefined){throw new he(`Unknown adapter '${n}'`)}}if(r&&(fe.isFunction(r)||(r=r.get(t)))){break}i[n||"#"+s]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(zt).join("\n"):" "+zt(e[0]):"as no adapter specified";throw new he(`There is no suitable adapter to dispatch the request `+t,"ERR_NOT_SUPPORT")}return r}var Kt={getAdapter:Ht,adapters:qt};function Jt(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new at(null,e)}}function Xt(e){Jt(e);e.headers=rt.from(e.headers);e.data=it.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=Kt.getAdapter(e.adapter||Je.adapter,e);return t(e).then((function t(n){Jt(e);n.data=it.call(e,e.transformResponse,n);n.headers=rt.from(n.headers);return n}),(function t(n){if(!st(n)){Jt(e);if(n&&n.response){n.response.data=it.call(e,e.transformResponse,n.response);n.response.headers=rt.from(n.response.headers)}}return Promise.reject(n)}))}const Wt="1.13.4";const Vt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Vt[e]=function n(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));const Gt={};Vt.transitional=function e(t,n,o){function r(e,t){return"[Axios v"+Wt+"] Transitional option '"+e+"'"+t+(o?". "+o:"")}return(e,o,i)=>{if(t===false){throw new he(r(o," has been removed"+(n?" in "+n:"")),he.ERR_DEPRECATED)}if(n&&!Gt[o]){Gt[o]=true;console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))}return t?t(e,o,i):true}};Vt.spelling=function e(t){return(e,n)=>{console.warn(`${n} is likely a misspelling of ${t}`);return true}};function Zt(e,t,n){if(typeof e!=="object"){throw new he("options must be an object",he.ERR_BAD_OPTION_VALUE)}const o=Object.keys(e);let r=o.length;while(r-- >0){const i=o[r];const s=t[i];if(s){const t=e[i];const n=t===undefined||s(t,i,e);if(n!==true){throw new he("option "+i+" must be "+n,he.ERR_BAD_OPTION_VALUE)}continue}if(n!==true){throw new he("Unknown option "+i,he.ERR_BAD_OPTION)}}}var Qt={assertOptions:Zt,validators:Vt};const Yt=Qt.validators;class en{constructor(e){this.defaults=e||{};this.interceptors={request:new Ee,response:new Ee}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{if(!e.stack){e.stack=n}else if(n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))){e.stack+="\n"+n}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=kt(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;if(n!==undefined){Qt.assertOptions(n,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean)},false)}if(o!=null){if(fe.isFunction(o)){t.paramsSerializer={serialize:o}}else{Qt.assertOptions(o,{encode:Yt.function,serialize:Yt.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}Qt.assertOptions(t,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=r&&fe.merge(r.common,r[t.method]);r&&fe.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]}));t.headers=rt.concat(i,r);const s=[];let c=true;this.interceptors.request.forEach((function e(n){if(typeof n.runWhen==="function"&&n.runWhen(t)===false){return}c=c&&n.synchronous;s.unshift(n.fulfilled,n.rejected)}));const a=[];this.interceptors.response.forEach((function e(t){a.push(t.fulfilled,t.rejected)}));let l;let u=0;let f;if(!c){const e=[Xt.bind(this),undefined];e.unshift(...s);e.push(...a);f=e.length;l=Promise.resolve(t);while(u<f){l=l.then(e[u++],e[u++])}return l}f=s.length;let d=t;while(u<f){const e=s[u++];const t=s[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{l=Xt.call(this,d)}catch(e){return Promise.reject(e)}u=0;f=a.length;while(u<f){l=l.then(a[u++],a[u++])}return l}getUri(e){e=kt(this.defaults,e);const t=yt(e.baseURL,e.url,e.allowAbsoluteUrls);return Se(t,e.params,e.paramsSerializer)}}fe.forEach(["delete","get","head","options"],(function e(t){en.prototype[t]=function(e,n){return this.request(kt(n||{},{method:t,url:e,data:(n||{}).data}))}}));fe.forEach(["post","put","patch"],(function e(t){function n(e){return function n(o,r,i){return this.request(kt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}en.prototype[t]=n();en.prototype[t+"Form"]=n(true)}));var tn=en;class nn{constructor(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}let t;this.promise=new Promise((function e(n){t=n}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0){n._listeners[t](e)}n._listeners=null}));this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e);t=e})).then(e);o.cancel=function e(){n.unsubscribe(t)};return o};e((function e(o,r,i){if(n.reason){return}n.reason=new at(o,r,i);t(n.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}toAbortSignal(){const e=new AbortController;const t=t=>{e.abort(t)};this.subscribe(t);e.signal.unsubscribe=()=>this.unsubscribe(t);return e.signal}static source(){let e;const t=new nn((function t(n){e=n}));return{token:t,cancel:e}}}var on=nn;function rn(e){return function t(n){return e.apply(null,n)}}function sn(e){return fe.isObject(e)&&e.isAxiosError===true}const cn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(cn).forEach((([e,t])=>{cn[t]=e}));var an=cn;function ln(t){const n=new tn(t);const o=e(tn.prototype.request,n);fe.extend(o,tn.prototype,n,{allOwnKeys:true});fe.extend(o,n,null,{allOwnKeys:true});o.create=function e(n){return ln(kt(t,n))};return o}const un=ln(Je);un.Axios=tn;un.CanceledError=at;un.CancelToken=on;un.isCancel=st;un.VERSION=Wt;un.toFormData=ye;un.AxiosError=he;un.Cancel=un.CanceledError;un.all=function e(t){return Promise.all(t)};un.spread=rn;un.isAxiosError=sn;un.mergeConfig=kt;un.AxiosHeaders=rt;un.formToJSON=e=>$e(fe.isHTMLForm(e)?new FormData(e):e);un.getAdapter=Kt.getAdapter;un.HttpStatusCode=an;un.default=un;d=un;return d}var m=p();var b=l(m);const w=u.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";const v=()=>b.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:w}}).then((e=>e.data)).catch((e=>{console.log("Unleash: Unable to fetch feature flags",e);throw e}));const g='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{gap:12px;width:300px;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .row .option{gap:4px;display:-ms-flexbox;display:flex;padding:5px 8px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;text-wrap:nowrap}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{font-size:14px;width:88px}verdocs-contact-picker form .pin-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .pin-code>input{-ms-flex:0 0 197px;flex:0 0 197px;font-size:14px}verdocs-contact-picker form .address{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .address>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form .zip-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .zip-code>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form label{display:-ms-flexbox;display:flex;-ms-flex:0 0 80px;flex:0 0 80px;font-size:13px;font-weight:500;color:#5c6575}verdocs-contact-picker form .row.message textarea{width:100%;padding:5px 7px;border-radius:4px;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif)}verdocs-contact-picker form input{-ms-flex:1;flex:1;padding:6px;font-size:14px;border-radius:3px;border:1px solid rgba(112, 122, 229, 0.3725490196)}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}#verdocs-contact-picker-suggestions .dropdown{max-height:225px;overflow-y:scroll;background:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}#verdocs-contact-picker-suggestions .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}#verdocs-contact-picker-suggestions .dropdown .suggestion svg{width:32px;height:32px}#verdocs-contact-picker-suggestions .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}#verdocs-contact-picker-suggestions .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#verdocs-contact-picker-suggestions .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}#verdocs-contact-picker-suggestions .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}#verdocs-contact-picker-suggestions .dropdown .suggestion:hover{background:#eee;cursor:pointer}';const y=`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-user"><path d="M15 13a3 3 0 1 0-6 0"/><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"/><circle cx="12" cy="8" r="2"/></svg>`;const x=class{constructor(n){e(this,n);this.searchContacts=t(this,"searchContacts");this.exit=t(this,"exit");this.next=t(this,"next");this.endpoint=r.getDefault();this.templateRole=null;this.contactSuggestions=[];this.showSuggestions=false;this.showMessage=false;this.delegator=false;this.auth_methods=[];this.passcode="";this.firstNameFieldId=`verdocs-contact-picker-firstname-${Math.random().toString(36).substring(2,11)}`;this.lastNameFieldId=`verdocs-contact-picker-lastname-${Math.random().toString(36).substring(2,11)}`;this.emailFieldId=`verdocs-contact-picker-email-${Math.random().toString(36).substring(2,11)}`;this.phoneFieldId=`verdocs-contact-picker-phone-${Math.random().toString(36).substring(2,11)}`;this.featureFlags=null;this.activeEntitlements={}}componentWillLoad(){this.endpoint.loadSession();if(this.templateRole){const e=i(this.templateRole);const t=e.split(" ");const n=this.templateRole.first_name||t.shift()||"";const o=this.templateRole.last_name||t.join(" ")||"";this.first_name=n;this.last_name=o;this.email=this.templateRole.email||"";this.phone=this.templateRole.phone||"";this.delegator=this.templateRole.delegator||false;this.message=this.templateRole.message||"";this.showMessage=this.message!=="";this.auth_methods=this.templateRole.auth_methods||[];this.passcode=this.templateRole.passcode||""}s(this.endpoint).then((e=>{this.activeEntitlements=e;console.log("[CONTACT PICKER] Loaded entitlements",e)})).catch((e=>console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)));v().then((e=>{this.featureFlags=e;console.log("[CONTACT PICKER] Loaded feature flags",e)})).catch((e=>{console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))}handleFirstNameChange(e){var t;this.first_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.first_name})}handleLastNameChange(e){var t;this.last_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.last_name})}handleCancel(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.exit)===null||t===void 0?void 0:t.emit()}handleSubmit(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.next)===null||t===void 0?void 0:t.emit({first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,message:this.message,delegator:this.delegator,auth_methods:this.auth_methods,passcode:this.passcode,address:this.address,zip:this.zip})}handleSelectSuggestion(e,t){e.stopPropagation();this.first_name=t.first_name;this.last_name=t.last_name;this.email=t.email;this.phone=t.phone;this.showSuggestions=false}render(){var e,t,r,s,a,l,u,d,h,p,m,b,w,v,g,x,k,R;const O=this.first_name&&this.last_name&&c(this.email);const S=!this.auth_methods.length||this.auth_methods.includes("passcode")&&!!this.passcode||this.auth_methods.includes("kba")&&!!this.first_name&&!!this.last_name||this.auth_methods.includes("email")&&!!this.email||this.auth_methods.includes("sms")&&!!this.phone;const T=O&&S;const E=((r=(t=(e=this.featureFlags)===null||e===void 0?void 0:e.toggles)===null||t===void 0?void 0:t.find((e=>e.name==="sms")))===null||r===void 0?void 0:r.enabled)===true;const j=[];if(((l=(a=(s=this.featureFlags)===null||s===void 0?void 0:s.toggles)===null||a===void 0?void 0:a.find((e=>e.name==="passcode-verification")))===null||l===void 0?void 0:l.enabled)===true){j.push({label:"Passcode",value:"passcode"})}if(((h=(d=(u=this.featureFlags)===null||u===void 0?void 0:u.toggles)===null||d===void 0?void 0:d.find((e=>e.name==="email-verification")))===null||h===void 0?void 0:h.enabled)===true){j.push({label:"Email",value:"email"})}if(E&&((b=(m=(p=this.featureFlags)===null||p===void 0?void 0:p.toggles)===null||m===void 0?void 0:m.find((e=>e.name==="sms-verification")))===null||b===void 0?void 0:b.enabled)===true&&!!this.activeEntitlements.sms_auth){j.push({label:"SMS (One-Time Code)",value:"sms"})}if(((g=(v=(w=this.featureFlags)===null||w===void 0?void 0:w.toggles)===null||v===void 0?void 0:v.find((e=>e.name==="kba-verification")))===null||g===void 0?void 0:g.enabled)===true&&!!this.activeEntitlements.kba_auth){j.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((R=(k=(x=this.featureFlags)===null||x===void 0?void 0:x.toggles)===null||k===void 0?void 0:k.find((e=>e.name==="id-verification")))===null||R===void 0?void 0:R.enabled)===true&&!!this.activeEntitlements.id_auth){j.push({label:"ID Check",value:"id"})}return n("form",{key:"5b4d4de3ad06d4cb458b92ca6159fadcbb38a89e",onSubmit:e=>e.preventDefault(),autocomplete:"off"},n("div",{key:"065bd43ea84a5431f4cb370491147377d0b4ed87",class:"row"},n("label",{key:"48e3ab3a13607b42018e400703910d08f053d7c0",htmlFor:this.firstNameFieldId},"Name:"),n("div",{key:"c1acb5b9cfd0cdbd17edce151e66035826ae3e15",class:"names-row"},n("input",{key:"bfd3f91624725b717df1b27d000924503e0cb0b8",id:this.firstNameFieldId,name:this.firstNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.first_name,placeholder:"First...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleFirstNameChange(e)}),n("input",{key:"30ae8e6b5c52c45bad07572a9357c575fd248df1",id:this.lastNameFieldId,name:this.lastNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.last_name,placeholder:"Last...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleLastNameChange(e)})),this.showSuggestions&&n("verdocs-portal",{key:"6a03422c1dbe45c1e8a389af0f884f2f4b525aca",anchor:this.firstNameFieldId,onClickAway:()=>{this.showSuggestions=false;document.querySelectorAll(`.verdocs-portal-wrapper`).forEach((e=>e.remove()))},id:"verdocs-contact-picker-suggestions"},n("div",{key:"a9907d3c7b291fde2e86a3a0dd2bfb0f2c1d06b3",class:"dropdown"},this.contactSuggestions.filter((e=>!this.first_name||e.first_name.toLowerCase().includes(this.first_name.toLowerCase()))).map((e=>{var t;return n("div",{key:(t=e.id)!==null&&t!==void 0?t:e.email,class:"suggestion",onClick:t=>this.handleSelectSuggestion(t,e)},e.picture?n("img",{alt:"Avatar",class:"avatar",src:e.picture}):n("div",{class:"avatar",innerHTML:y}),n("div",{class:"details"},n("div",{class:"name"},i(e)),e.email&&n("div",{class:"destination"},e.email),e.phone&&n("div",{class:"destination"},e.phone)))}))))),n("div",{key:"220b7dc0f04eb27279e003aaa196aee58b51ec64",class:"row"},n("label",{key:"7120d789f96a375a3f6237b93a3699866dae5e0e",htmlFor:this.emailFieldId},"Email:"),n("input",{key:"33aa0973927dedcc1d3005411dcdb87c969a65c2",id:this.emailFieldId,name:this.emailFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.email,placeholder:"Invite/verify via email...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.email=e.target.value})),E&&n("div",{key:"8b888dd8490d99235bd1d1b2e6acce6d64fbf5a4",class:"row"},n("label",{key:"702e60156cfbe39cc56c20ca5f9e5b112eb8fbb5",htmlFor:this.phoneFieldId},"Phone:"),n("input",{key:"1f6b416d622b821e63e89bdf75626bc9f97422df",id:this.phoneFieldId,name:this.phoneFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.phone,placeholder:"Invite/verify via SMS...",onFocus:()=>this.showSuggestions=false,onInput:e=>{this.phone=f(e.target.value)}})),n(o,{key:"60d3ccc50417d1fbe6a815d6edf37619f945b63e"},j.length>0&&n("div",{key:"f1248b2c40c1cfb22cfa577bc1f5c5895362ded2",class:"row pin-code"},n("label",{key:"d782f794fa6a8d2ca18835db9e8d6e510038f212"},"Verification Methods:"),n("div",{key:"51370acfa10be18fa7783ee28849caaf9ad11fcb"},j.map(((e,t)=>n("div",{class:"option"},n("verdocs-checkbox",{size:"small",id:`verdocs-multi-select-opt-${t}`,value:e.value,checked:this.auth_methods.includes(e.value),onInput:t=>{if(t.target.checked){this.auth_methods=[...this.auth_methods,e.value]}else{this.auth_methods=this.auth_methods.filter((t=>t!==e.value))}}}),n("label",{htmlFor:`verdocs-multi-select-option-${t}`},e.label)))))),this.auth_methods.includes("passcode")&&n("div",{key:"37cc47ae07fcee96a90ca0684307b2fa12436fbd",class:"row pin-code"},n("label",{key:"57b9975fcdf609ebcfd709f2cc646f74163eda15",htmlFor:this.phoneFieldId},"Passcode:"),n("input",{key:"5c9f4d7f4757512fa7c87e91adf731fe256050da",id:"verdocs-passcode",name:"verdocs-passcode",type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.passcode,placeholder:"4-8 digits recommended...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.passcode=e.target.value}))),n("div",{key:"7bed0f7befff14122e821680fce895d64889212c",class:"row pin-code"},n("label",{key:"295f03231ca15e2a25895d8f6dca7b7507fc58fa"},"Delegation:"),n("div",{key:"21d03961df0853b3f1e4a4b3e9445e8a3ecf80ee"},n("div",{key:"1e70e144d4e678e9697039468549ef38606dc3b7",class:"option"},n("verdocs-checkbox",{key:"8f94ea2d0b3f1bc8831c8666d379ebc2a22fbb95",size:"small",id:"verdocs-delegator",checked:this.delegator,onInput:e=>{this.delegator=e.target.checked}}),n("label",{key:"9ea3f9f359f7045aebd80367af0a7431d1e850e4",htmlFor:"verdocs-delegator"},"May delegate signing")))),n("div",{key:"90e07660115c7f41ade3aad5fe4eb93d7d8cb4fd",class:"row message"},n("label",{key:"0268f3ecd123de3c8d0e27b345253385157bfce6",htmlFor:"verdocs-contact-picker-message"},"Message:"),n("textarea",{key:"526671a3e768cc6280e82d04fe4f86d0fd5678bd",id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.message=e.target.value},this.message)),n("div",{key:"9bfb44085c94a08a9d2957d031e263d398ab170b",class:"buttons"},n("div",{key:"2b21510d850071094dd7005c26de4e8cd14c992d",class:"flex-fill"}),n("verdocs-button",{key:"881527d8167c31490622f3e9f0252cfdd3139d58",variant:"outline",label:"Cancel",size:"small",onClick:e=>this.handleCancel(e)}),n("verdocs-button",{key:"3dbc5efa49eb696eedb2d50c06837b70abea5e80",label:"OK",size:"small",disabled:!T,onClick:!T?()=>{}:e=>this.handleSubmit(e)})))}};x.style=g;export{x as verdocs_contact_picker};
3
- //# sourceMappingURL=p-8f98b783.entry.js.map
1
+ import{r as e,c as t,h as n,F as o}from"./p-BIRwgFLv.js";import{VerdocsEndpoint as r,formatFullName as i,getActiveEntitlements as s,isValidEmail as c}from"@verdocs/js-sdk";import{c as a,g as l}from"./p-BFTU3MAI.js";import{B as u}from"./p-C_Xku1v2.js";import{e as f}from"./p-BRVcSPz-.js";import"./p-dzBXqXlK.js";import"./p-dqxNbm_b.js";
2
+ /*! Axios v1.13.4 Copyright (c) 2026 Matt Zabriskie and contributors */var d;var h;function p(){if(h)return d;h=1;function e(e,t){return function n(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype;const{getPrototypeOf:n}=Object;const{iterator:o,toStringTag:r}=Symbol;const i=(e=>n=>{const o=t.call(n);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null));const s=e=>{e=e.toLowerCase();return t=>i(t)===e};const c=e=>t=>typeof t===e;const{isArray:l}=Array;const u=c("undefined");function f(e){return e!==null&&!u(e)&&e.constructor!==null&&!u(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const p=s("ArrayBuffer");function m(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&p(e.buffer)}return t}const b=c("string");const w=c("function");const v=c("number");const g=e=>e!==null&&typeof e==="object";const y=e=>e===true||e===false;const x=e=>{if(i(e)!=="object"){return false}const t=n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(r in e)&&!(o in e)};const k=e=>{if(!g(e)||f(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};const R=s("Date");const O=s("File");const S=s("Blob");const T=s("FileList");const E=e=>g(e)&&w(e.pipe);const j=e=>{let t;return e&&(typeof FormData==="function"&&e instanceof FormData||w(e.append)&&((t=i(e))==="formdata"||t==="object"&&w(e.toString)&&e.toString()==="[object FormData]"))};const A=s("URLSearchParams");const[C,F,N,P]=["ReadableStream","Request","Response","Headers"].map(s);const U=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function B(e,t,{allOwnKeys:n=false}={}){if(e===null||typeof e==="undefined"){return}let o;let r;if(typeof e!=="object"){e=[e]}if(l(e)){for(o=0,r=e.length;o<r;o++){t.call(null,e[o],o,e)}}else{if(f(e)){return}const r=n?Object.getOwnPropertyNames(e):Object.keys(e);const i=r.length;let s;for(o=0;o<i;o++){s=r[o];t.call(null,e[s],s,e)}}}function I(e,t){if(f(e)){return null}t=t.toLowerCase();const n=Object.keys(e);let o=n.length;let r;while(o-- >0){r=n[o];if(t===r.toLowerCase()){return r}}return null}const D=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:a})();const _=e=>!u(e)&&e!==D;function L(){const{caseless:e,skipUndefined:t}=_(this)&&this||{};const n={};const o=(o,r)=>{const i=e&&I(n,r)||r;if(x(n[i])&&x(o)){n[i]=L(n[i],o)}else if(x(o)){n[i]=L({},o)}else if(l(o)){n[i]=o.slice()}else if(!t||!u(o)){n[i]=o}};for(let e=0,t=arguments.length;e<t;e++){arguments[e]&&B(arguments[e],o)}return n}const M=(t,n,o,{allOwnKeys:r}={})=>{B(n,((n,r)=>{if(o&&w(n)){Object.defineProperty(t,r,{value:e(n,o),writable:true,enumerable:true,configurable:true})}else{Object.defineProperty(t,r,{value:n,writable:true,enumerable:true,configurable:true})}}),{allOwnKeys:r});return t};const q=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const z=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o);Object.defineProperty(e.prototype,"constructor",{value:e,writable:true,enumerable:false,configurable:true});Object.defineProperty(e,"super",{value:t.prototype});n&&Object.assign(e.prototype,n)};const $=(e,t,o,r)=>{let i;let s;let c;const a={};t=t||{};if(e==null)return t;do{i=Object.getOwnPropertyNames(e);s=i.length;while(s-- >0){c=i[s];if((!r||r(c,e,t))&&!a[c]){t[c]=e[c];a[c]=true}}e=o!==false&&n(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t};const H=(e,t,n)=>{e=String(e);if(n===undefined||n>e.length){n=e.length}n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n};const K=e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);while(t-- >0){n[t]=e[t]}return n};const J=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&n(Uint8Array));const X=(e,t)=>{const n=e&&e[o];const r=n.call(e);let i;while((i=r.next())&&!i.done){const n=i.value;t.call(e,n[0],n[1])}};const V=(e,t)=>{let n;const o=[];while((n=e.exec(t))!==null){o.push(n)}return o};const W=s("HTMLFormElement");const G=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,n,o){return n.toUpperCase()+o}));const Z=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype);const Q=s("RegExp");const Y=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e);const o={};B(n,((n,r)=>{let i;if((i=t(n,r,e))!==false){o[r]=i||n}}));Object.defineProperties(e,o)};const ee=e=>{Y(e,((t,n)=>{if(w(e)&&["arguments","caller","callee"].indexOf(n)!==-1){return false}const o=e[n];if(!w(o))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}}}))};const te=(e,t)=>{const n={};const o=e=>{e.forEach((e=>{n[e]=true}))};l(e)?o(e):o(String(e).split(t));return n};const ne=()=>{};const oe=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function re(e){return!!(e&&w(e.append)&&e[r]==="FormData"&&e[o])}const ie=e=>{const t=new Array(10);const n=(e,o)=>{if(g(e)){if(t.indexOf(e)>=0){return}if(f(e)){return e}if(!("toJSON"in e)){t[o]=e;const r=l(e)?[]:{};B(e,((e,t)=>{const i=n(e,o+1);!u(i)&&(r[t]=i)}));t[o]=undefined;return r}}return e};return n(e,0)};const se=s("AsyncFunction");const ce=e=>e&&(g(e)||w(e))&&w(e.then)&&w(e.catch);const ae=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{D.addEventListener("message",(({source:n,data:o})=>{if(n===D&&o===e){t.length&&t.shift()()}}),false);return n=>{t.push(n);D.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",w(D.postMessage));const le=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(D):typeof process!=="undefined"&&process.nextTick||ae;const ue=e=>e!=null&&w(e[o]);var fe={isArray:l,isArrayBuffer:p,isBuffer:f,isFormData:j,isArrayBufferView:m,isString:b,isNumber:v,isBoolean:y,isObject:g,isPlainObject:x,isEmptyObject:k,isReadableStream:C,isRequest:F,isResponse:N,isHeaders:P,isUndefined:u,isDate:R,isFile:O,isBlob:S,isRegExp:Q,isFunction:w,isStream:E,isURLSearchParams:A,isTypedArray:J,isFileList:T,forEach:B,merge:L,extend:M,trim:U,stripBOM:q,inherits:z,toFlatObject:$,kindOf:i,kindOfTest:s,endsWith:H,toArray:K,forEachEntry:X,matchAll:V,isHTMLForm:W,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Y,freezeMethods:ee,toObjectSet:te,toCamelCase:G,noop:ne,toFiniteNumber:oe,findKey:I,global:D,isContextDefined:_,isSpecCompliantForm:re,toJSONObject:ie,isAsyncFn:se,isThenable:ce,setImmediate:ae,asap:le,isIterable:ue};class de extends Error{static from(e,t,n,o,r,i){const s=new de(e.message,t||e.code,n,o,r);s.cause=e;s.name=e.name;i&&Object.assign(s,i);return s}constructor(e,t,n,o,r){super(e);this.name="AxiosError";this.isAxiosError=true;t&&(this.code=t);n&&(this.config=n);o&&(this.request=o);if(r){this.response=r;this.status=r.status}}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:fe.toJSONObject(this.config),code:this.code,status:this.status}}}de.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";de.ERR_BAD_OPTION="ERR_BAD_OPTION";de.ECONNABORTED="ECONNABORTED";de.ETIMEDOUT="ETIMEDOUT";de.ERR_NETWORK="ERR_NETWORK";de.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";de.ERR_DEPRECATED="ERR_DEPRECATED";de.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";de.ERR_BAD_REQUEST="ERR_BAD_REQUEST";de.ERR_CANCELED="ERR_CANCELED";de.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";de.ERR_INVALID_URL="ERR_INVALID_URL";var he=de;var pe=null;function me(e){return fe.isPlainObject(e)||fe.isArray(e)}function be(e){return fe.endsWith(e,"[]")?e.slice(0,-2):e}function we(e,t,n){if(!e)return t;return e.concat(t).map((function e(t,o){t=be(t);return!n&&o?"["+t+"]":t})).join(n?".":"")}function ve(e){return fe.isArray(e)&&!e.some(me)}const ge=fe.toFlatObject(fe,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function ye(e,t,n){if(!fe.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;n=fe.toFlatObject(n,{metaTokens:true,dots:false,indexes:false},false,(function e(t,n){return!fe.isUndefined(n[t])}));const o=n.metaTokens;const r=n.visitor||u;const i=n.dots;const s=n.indexes;const c=n.Blob||typeof Blob!=="undefined"&&Blob;const a=c&&fe.isSpecCompliantForm(t);if(!fe.isFunction(r)){throw new TypeError("visitor must be a function")}function l(e){if(e===null)return"";if(fe.isDate(e)){return e.toISOString()}if(fe.isBoolean(e)){return e.toString()}if(!a&&fe.isBlob(e)){throw new he("Blob is not supported. Use a Buffer instead.")}if(fe.isArrayBuffer(e)||fe.isTypedArray(e)){return a&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function u(e,n,r){let c=e;if(e&&!r&&typeof e==="object"){if(fe.endsWith(n,"{}")){n=o?n:n.slice(0,-2);e=JSON.stringify(e)}else if(fe.isArray(e)&&ve(e)||(fe.isFileList(e)||fe.endsWith(n,"[]"))&&(c=fe.toArray(e))){n=be(n);c.forEach((function e(o,r){!(fe.isUndefined(o)||o===null)&&t.append(s===true?we([n],r,i):s===null?n:n+"[]",l(o))}));return false}}if(me(e)){return true}t.append(we(r,n,i),l(e));return false}const f=[];const d=Object.assign(ge,{defaultVisitor:u,convertValue:l,isVisitable:me});function h(e,n){if(fe.isUndefined(e))return;if(f.indexOf(e)!==-1){throw Error("Circular reference detected in "+n.join("."))}f.push(e);fe.forEach(e,(function e(o,i){const s=!(fe.isUndefined(o)||o===null)&&r.call(t,o,fe.isString(i)?i.trim():i,n,d);if(s===true){h(o,n?n.concat(i):[i])}}));f.pop()}if(!fe.isObject(e)){throw new TypeError("data must be an object")}h(e);return t}function xe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function e(n){return t[n]}))}function ke(e,t){this._pairs=[];e&&ye(e,this,t)}const Re=ke.prototype;Re.append=function e(t,n){this._pairs.push([t,n])};Re.toString=function e(t){const n=t?function(e){return t.call(this,e,xe)}:xe;return this._pairs.map((function e(t){return n(t[0])+"="+n(t[1])}),"").join("&")};function Oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Se(e,t,n){if(!t){return e}const o=n&&n.encode||Oe;const r=fe.isFunction(n)?{serialize:n}:n;const i=r&&r.serialize;let s;if(i){s=i(t,r)}else{s=fe.isURLSearchParams(t)?t.toString():new ke(t,r).toString(o)}if(s){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Te{constructor(){this.handlers=[]}use(e,t,n){this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){fe.forEach(this.handlers,(function t(n){if(n!==null){e(n)}}))}}var Ee=Te;var je={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};var Ae=typeof URLSearchParams!=="undefined"?URLSearchParams:ke;var Ce=typeof FormData!=="undefined"?FormData:null;var Fe=typeof Blob!=="undefined"?Blob:null;var Ne={isBrowser:true,classes:{URLSearchParams:Ae,FormData:Ce,Blob:Fe},protocols:["http","https","file","blob","url","data"]};const Pe=typeof window!=="undefined"&&typeof document!=="undefined";const Ue=typeof navigator==="object"&&navigator||undefined;const Be=Pe&&(!Ue||["ReactNative","NativeScript","NS"].indexOf(Ue.product)<0);const Ie=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const De=Pe&&window.location.href||"http://localhost";var _e=Object.freeze({__proto__:null,hasBrowserEnv:Pe,hasStandardBrowserWebWorkerEnv:Ie,hasStandardBrowserEnv:Be,navigator:Ue,origin:De});var Le={..._e,...Ne};function Me(e,t){return ye(e,new Le.classes.URLSearchParams,{visitor:function(e,t,n,o){if(Le.isNode&&fe.isBuffer(e)){this.append(t,e.toString("base64"));return false}return o.defaultVisitor.apply(this,arguments)},...t})}function qe(e){return fe.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function ze(e){const t={};const n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o<r;o++){i=n[o];t[i]=e[i]}return t}function $e(e){function t(e,n,o,r){let i=e[r++];if(i==="__proto__")return true;const s=Number.isFinite(+i);const c=r>=e.length;i=!i&&fe.isArray(o)?o.length:i;if(c){if(fe.hasOwnProp(o,i)){o[i]=[o[i],n]}else{o[i]=n}return!s}if(!o[i]||!fe.isObject(o[i])){o[i]=[]}const a=t(e,n,o[i],r);if(a&&fe.isArray(o[i])){o[i]=ze(o[i])}return!s}if(fe.isFormData(e)&&fe.isFunction(e.entries)){const n={};fe.forEachEntry(e,((e,o)=>{t(qe(e),o,n,0)}));return n}return null}function He(e,t,n){if(fe.isString(e)){try{(0,JSON.parse)(e);return fe.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(n||JSON.stringify)(e)}const Ke={transitional:je,adapter:["xhr","http","fetch"],transformRequest:[function e(t,n){const o=n.getContentType()||"";const r=o.indexOf("application/json")>-1;const i=fe.isObject(t);if(i&&fe.isHTMLForm(t)){t=new FormData(t)}const s=fe.isFormData(t);if(s){return r?JSON.stringify($e(t)):t}if(fe.isArrayBuffer(t)||fe.isBuffer(t)||fe.isStream(t)||fe.isFile(t)||fe.isBlob(t)||fe.isReadableStream(t)){return t}if(fe.isArrayBufferView(t)){return t.buffer}if(fe.isURLSearchParams(t)){n.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}let c;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1){return Me(t,this.formSerializer).toString()}if((c=fe.isFileList(t))||o.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return ye(c?{"files[]":t}:t,e&&new e,this.formSerializer)}}if(i||r){n.setContentType("application/json",false);return He(t)}return t}],transformResponse:[function e(t){const n=this.transitional||Ke.transitional;const o=n&&n.forcedJSONParsing;const r=this.responseType==="json";if(fe.isResponse(t)||fe.isReadableStream(t)){return t}if(t&&fe.isString(t)&&(o&&!this.responseType||r)){const e=n&&n.silentJSONParsing;const o=!e&&r;try{return JSON.parse(t,this.parseReviver)}catch(e){if(o){if(e.name==="SyntaxError"){throw he.from(e,he.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};fe.forEach(["delete","get","head","post","put","patch"],(e=>{Ke.headers[e]={}}));var Je=Ke;const Xe=fe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Ve=e=>{const t={};let n;let o;let r;e&&e.split("\n").forEach((function e(i){r=i.indexOf(":");n=i.substring(0,r).trim().toLowerCase();o=i.substring(r+1).trim();if(!n||t[n]&&Xe[n]){return}if(n==="set-cookie"){if(t[n]){t[n].push(o)}else{t[n]=[o]}}else{t[n]=t[n]?t[n]+", "+o:o}}));return t};const We=Symbol("internals");function Ge(e){return e&&String(e).trim().toLowerCase()}function Ze(e){if(e===false||e==null){return e}return fe.isArray(e)?e.map(Ze):String(e)}function Qe(e){const t=Object.create(null);const n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;while(o=n.exec(e)){t[o[1]]=o[2]}return t}const Ye=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function et(e,t,n,o,r){if(fe.isFunction(o)){return o.call(this,t,n)}if(r){t=n}if(!fe.isString(t))return;if(fe.isString(o)){return t.indexOf(o)!==-1}if(fe.isRegExp(o)){return o.test(t)}}function tt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function nt(e,t){const n=fe.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:true})}))}class ot{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=Ge(t);if(!r){throw new Error("header name must be a non-empty string")}const i=fe.findKey(o,r);if(!i||o[i]===undefined||n===true||n===undefined&&o[i]!==false){o[i||t]=Ze(e)}}const i=(e,t)=>fe.forEach(e,((e,n)=>r(e,n,t)));if(fe.isPlainObject(e)||e instanceof this.constructor){i(e,t)}else if(fe.isString(e)&&(e=e.trim())&&!Ye(e)){i(Ve(e),t)}else if(fe.isObject(e)&&fe.isIterable(e)){let n={},o,r;for(const t of e){if(!fe.isArray(t)){throw TypeError("Object iterator must return a key-value pair")}n[r=t[0]]=(o=n[r])?fe.isArray(o)?[...o,t[1]]:[o,t[1]]:t[1]}i(n,t)}else{e!=null&&r(t,e,n)}return this}get(e,t){e=Ge(e);if(e){const n=fe.findKey(this,e);if(n){const e=this[n];if(!t){return e}if(t===true){return Qe(e)}if(fe.isFunction(t)){return t.call(this,e,n)}if(fe.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=Ge(e);if(e){const n=fe.findKey(this,e);return!!(n&&this[n]!==undefined&&(!t||et(this,this[n],n,t)))}return false}delete(e,t){const n=this;let o=false;function r(e){e=Ge(e);if(e){const r=fe.findKey(n,e);if(r&&(!t||et(n,n[r],r,t))){delete n[r];o=true}}}if(fe.isArray(e)){e.forEach(r)}else{r(e)}return o}clear(e){const t=Object.keys(this);let n=t.length;let o=false;while(n--){const r=t[n];if(!e||et(this,this[r],r,e,true)){delete this[r];o=true}}return o}normalize(e){const t=this;const n={};fe.forEach(this,((o,r)=>{const i=fe.findKey(n,r);if(i){t[i]=Ze(o);delete t[r];return}const s=e?tt(r):String(r).trim();if(s!==r){delete t[r]}t[s]=Ze(o);n[s]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);fe.forEach(this,((n,o)=>{n!=null&&n!==false&&(t[o]=e&&fe.isArray(n)?n.join(", "):n)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);t.forEach((e=>n.set(e)));return n}static accessor(e){const t=this[We]=this[We]={accessors:{}};const n=t.accessors;const o=this.prototype;function r(e){const t=Ge(e);if(!n[t]){nt(o,e);n[t]=true}}fe.isArray(e)?e.forEach(r):r(e);return this}}ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);fe.reduceDescriptors(ot.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}));fe.freezeMethods(ot);var rt=ot;function it(e,t){const n=this||Je;const o=t||n;const r=rt.from(o.headers);let i=o.data;fe.forEach(e,(function e(o){i=o.call(n,i,r.normalize(),t?t.status:undefined)}));r.normalize();return i}function st(e){return!!(e&&e.__CANCEL__)}class ct extends he{constructor(e,t,n){super(e==null?"canceled":e,he.ERR_CANCELED,t,n);this.name="CanceledError";this.__CANCEL__=true}}var at=ct;function lt(e,t,n){const o=n.config.validateStatus;if(!n.status||!o||o(n.status)){e(n)}else{t(new he("Request failed with status code "+n.status,[he.ERR_BAD_REQUEST,he.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}}function ut(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ft(e,t){e=e||10;const n=new Array(e);const o=new Array(e);let r=0;let i=0;let s;t=t!==undefined?t:1e3;return function c(a){const l=Date.now();const u=o[i];if(!s){s=l}n[r]=a;o[r]=l;let f=i;let d=0;while(f!==r){d+=n[f++];f=f%e}r=(r+1)%e;if(r===i){i=(i+1)%e}if(l-s<t){return}const h=u&&l-u;return h?Math.round(d*1e3/h):undefined}}function dt(e,t){let n=0;let o=1e3/t;let r;let i;const s=(t,o=Date.now())=>{n=o;r=null;if(i){clearTimeout(i);i=null}e(...t)};const c=(...e)=>{const t=Date.now();const c=t-n;if(c>=o){s(e,t)}else{r=e;if(!i){i=setTimeout((()=>{i=null;s(r)}),o-c)}}};const a=()=>r&&s(r);return[c,a]}const ht=(e,t,n=3)=>{let o=0;const r=ft(50,250);return dt((n=>{const i=n.loaded;const s=n.lengthComputable?n.total:undefined;const c=i-o;const a=r(c);const l=i<=s;o=i;const u={loaded:i,total:s,progress:s?i/s:undefined,bytes:c,rate:a?a:undefined,estimated:a&&s&&l?(s-i)/a:undefined,event:n,lengthComputable:s!=null,[t?"download":"upload"]:true};e(u)}),n)};const pt=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]};const mt=e=>(...t)=>fe.asap((()=>e(...t)));var bt=Le.hasStandardBrowserEnv?((e,t)=>n=>{n=new URL(n,Le.origin);return e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)})(new URL(Le.origin),Le.navigator&&/(msie|trident)/i.test(Le.navigator.userAgent)):()=>true;var wt=Le.hasStandardBrowserEnv?{write(e,t,n,o,r,i,s){if(typeof document==="undefined")return;const c=[`${e}=${encodeURIComponent(t)}`];if(fe.isNumber(n)){c.push(`expires=${new Date(n).toUTCString()}`)}if(fe.isString(o)){c.push(`path=${o}`)}if(fe.isString(r)){c.push(`domain=${r}`)}if(i===true){c.push("secure")}if(fe.isString(s)){c.push(`SameSite=${s}`)}document.cookie=c.join("; ")},read(e){if(typeof document==="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function vt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function yt(e,t,n){let o=!vt(t);if(e&&(o||n==false)){return gt(e,t)}return t}const xt=e=>e instanceof rt?{...e}:e;function kt(e,t){t=t||{};const n={};function o(e,t,n,o){if(fe.isPlainObject(e)&&fe.isPlainObject(t)){return fe.merge.call({caseless:o},e,t)}else if(fe.isPlainObject(t)){return fe.merge({},t)}else if(fe.isArray(t)){return t.slice()}return t}function r(e,t,n,r){if(!fe.isUndefined(t)){return o(e,t,n,r)}else if(!fe.isUndefined(e)){return o(undefined,e,n,r)}}function i(e,t){if(!fe.isUndefined(t)){return o(undefined,t)}}function s(e,t){if(!fe.isUndefined(t)){return o(undefined,t)}else if(!fe.isUndefined(e)){return o(undefined,e)}}function c(n,r,i){if(i in t){return o(n,r)}else if(i in e){return o(undefined,n)}}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(e,t,n)=>r(xt(e),xt(t),n,true)};fe.forEach(Object.keys({...e,...t}),(function o(i){const s=a[i]||r;const l=s(e[i],t[i],i);fe.isUndefined(l)&&s!==c||(n[i]=l)}));return n}var Rt=e=>{const t=kt({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:s,auth:c}=t;t.headers=s=rt.from(s);t.url=Se(yt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer);if(c){s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")))}if(fe.isFormData(n)){if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv){s.setContentType(undefined)}else if(fe.isFunction(n.getHeaders)){const e=n.getHeaders();const t=["content-type","content-length"];Object.entries(e).forEach((([e,n])=>{if(t.includes(e.toLowerCase())){s.set(e,n)}}))}}if(Le.hasStandardBrowserEnv){o&&fe.isFunction(o)&&(o=o(t));if(o||o!==false&&bt(t.url)){const e=r&&i&&wt.read(i);if(e){s.set(r,e)}}}return t};const Ot=typeof XMLHttpRequest!=="undefined";var St=Ot&&function(e){return new Promise((function t(n,o){const r=Rt(e);let i=r.data;const s=rt.from(r.headers).normalize();let{responseType:c,onUploadProgress:a,onDownloadProgress:l}=r;let u;let f,d;let h,p;function m(){h&&h();p&&p();r.cancelToken&&r.cancelToken.unsubscribe(u);r.signal&&r.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,true);b.timeout=r.timeout;function w(){if(!b){return}const t=rt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());const r=!c||c==="text"||c==="json"?b.responseText:b.response;const i={data:r,status:b.status,statusText:b.statusText,headers:t,config:e,request:b};lt((function e(t){n(t);m()}),(function e(t){o(t);m()}),i);b=null}if("onloadend"in b){b.onloadend=w}else{b.onreadystatechange=function e(){if(!b||b.readyState!==4){return}if(b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)){return}setTimeout(w)}}b.onabort=function t(){if(!b){return}o(new he("Request aborted",he.ECONNABORTED,e,b));b=null};b.onerror=function t(n){const r=n&&n.message?n.message:"Network Error";const i=new he(r,he.ERR_NETWORK,e,b);i.event=n||null;o(i);b=null};b.ontimeout=function t(){let n=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||je;if(r.timeoutErrorMessage){n=r.timeoutErrorMessage}o(new he(n,i.clarifyTimeoutError?he.ETIMEDOUT:he.ECONNABORTED,e,b));b=null};i===undefined&&s.setContentType(null);if("setRequestHeader"in b){fe.forEach(s.toJSON(),(function e(t,n){b.setRequestHeader(n,t)}))}if(!fe.isUndefined(r.withCredentials)){b.withCredentials=!!r.withCredentials}if(c&&c!=="json"){b.responseType=r.responseType}if(l){[d,p]=ht(l,true);b.addEventListener("progress",d)}if(a&&b.upload){[f,h]=ht(a);b.upload.addEventListener("progress",f);b.upload.addEventListener("loadend",h)}if(r.cancelToken||r.signal){u=t=>{if(!b){return}o(!t||t.type?new at(null,e,b):t);b.abort();b=null};r.cancelToken&&r.cancelToken.subscribe(u);if(r.signal){r.signal.aborted?u():r.signal.addEventListener("abort",u)}}const v=ut(r.url);if(v&&Le.protocols.indexOf(v)===-1){o(new he("Unsupported protocol "+v+":",he.ERR_BAD_REQUEST,e));return}b.send(i||null)}))};const Tt=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController;let o;const r=function(e){if(!o){o=true;s();const t=e instanceof Error?e:this.reason;n.abort(t instanceof he?t:new at(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null;r(new he(`timeout of ${t}ms exceeded`,he.ETIMEDOUT))}),t);const s=()=>{if(e){i&&clearTimeout(i);i=null;e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}));e=null}};e.forEach((e=>e.addEventListener("abort",r)));const{signal:c}=n;c.unsubscribe=()=>fe.asap(s);return c}};var Et=Tt;const jt=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0;let r;while(o<n){r=o+t;yield e.slice(o,r);o=r}};const At=async function*(e,t){for await(const n of Ct(e)){yield*jt(n,t)}};const Ct=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e){break}yield n}}finally{await t.cancel()}};const Ft=(e,t,n,o)=>{const r=At(e,t);let i=0;let s;let c=e=>{if(!s){s=true;o&&o(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t){c();e.close();return}let s=o.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(o))}catch(e){c(e);throw e}},cancel(e){c(e);return r.return()}},{highWaterMark:2})};const Nt=64*1024;const{isFunction:Pt}=fe;const Ut=(({Request:e,Response:t})=>({Request:e,Response:t}))(fe.global);const{ReadableStream:Bt,TextEncoder:It}=fe.global;const Dt=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const _t=e=>{e=fe.merge.call({skipUndefined:true},Ut,e);const{fetch:t,Request:n,Response:o}=e;const r=t?Pt(t):typeof fetch==="function";const i=Pt(n);const s=Pt(o);if(!r){return false}const c=r&&Pt(Bt);const a=r&&(typeof It==="function"?(e=>t=>e.encode(t))(new It):async e=>new Uint8Array(await new n(e).arrayBuffer()));const l=i&&c&&Dt((()=>{let e=false;const t=new n(Le.origin,{body:new Bt,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));const u=s&&c&&Dt((()=>fe.isReadableStream(new o("").body)));const f={stream:u&&(e=>e.body)};r&&(()=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!f[e]&&(f[e]=(t,n)=>{let o=t&&t[e];if(o){return o.call(t)}throw new he(`Response type '${e}' is not supported`,he.ERR_NOT_SUPPORT,n)})}))})();const d=async e=>{if(e==null){return 0}if(fe.isBlob(e)){return e.size}if(fe.isSpecCompliantForm(e)){const t=new n(Le.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}if(fe.isArrayBufferView(e)||fe.isArrayBuffer(e)){return e.byteLength}if(fe.isURLSearchParams(e)){e=e+""}if(fe.isString(e)){return(await a(e)).byteLength}};const h=async(e,t)=>{const n=fe.toFiniteNumber(e.getContentLength());return n==null?d(t):n};return async e=>{let{url:r,method:s,data:c,signal:a,cancelToken:d,timeout:p,onDownloadProgress:m,onUploadProgress:b,responseType:w,headers:v,withCredentials:g="same-origin",fetchOptions:y}=Rt(e);let x=t||fetch;w=w?(w+"").toLowerCase():"text";let k=Et([a,d&&d.toAbortSignal()],p);let R=null;const O=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let S;try{if(b&&l&&s!=="get"&&s!=="head"&&(S=await h(v,c))!==0){let e=new n(r,{method:"POST",body:c,duplex:"half"});let t;if(fe.isFormData(c)&&(t=e.headers.get("content-type"))){v.setContentType(t)}if(e.body){const[t,n]=pt(S,ht(mt(b)));c=Ft(e.body,Nt,t,n)}}if(!fe.isString(g)){g=g?"include":"omit"}const t=i&&"credentials"in n.prototype;const a={...y,signal:k,method:s.toUpperCase(),headers:v.normalize().toJSON(),body:c,duplex:"half",credentials:t?g:undefined};R=i&&new n(r,a);let d=await(i?x(R,y):x(r,a));const p=u&&(w==="stream"||w==="response");if(u&&(m||p&&O)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=d[t]}));const t=fe.toFiniteNumber(d.headers.get("content-length"));const[n,r]=m&&pt(t,ht(mt(m),true))||[];d=new o(Ft(d.body,Nt,n,(()=>{r&&r();O&&O()})),e)}w=w||"text";let T=await f[fe.findKey(f,w)||"text"](d,e);!p&&O&&O();return await new Promise(((t,n)=>{lt(t,n,{data:T,headers:rt.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:R})}))}catch(t){O&&O();if(t&&t.name==="TypeError"&&/Load failed|fetch/i.test(t.message)){throw Object.assign(new he("Network Error",he.ERR_NETWORK,e,R),{cause:t.cause||t})}throw he.from(t,t&&t.code,e,R)}}};const Lt=new Map;const Mt=e=>{let t=e&&e.env||{};const{fetch:n,Request:o,Response:r}=t;const i=[o,r,n];let s=i.length,c=s,a,l,u=Lt;while(c--){a=i[c];l=u.get(a);l===undefined&&u.set(a,l=c?new Map:_t(t));u=l}return l};Mt();const qt={http:pe,xhr:St,fetch:{get:Mt}};fe.forEach(qt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const zt=e=>`- ${e}`;const $t=e=>fe.isFunction(e)||e===null||e===false;function Ht(e,t){e=fe.isArray(e)?e:[e];const{length:n}=e;let o;let r;const i={};for(let s=0;s<n;s++){o=e[s];let n;r=o;if(!$t(o)){r=qt[(n=String(o)).toLowerCase()];if(r===undefined){throw new he(`Unknown adapter '${n}'`)}}if(r&&(fe.isFunction(r)||(r=r.get(t)))){break}i[n||"#"+s]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let t=n?e.length>1?"since :\n"+e.map(zt).join("\n"):" "+zt(e[0]):"as no adapter specified";throw new he(`There is no suitable adapter to dispatch the request `+t,"ERR_NOT_SUPPORT")}return r}var Kt={getAdapter:Ht,adapters:qt};function Jt(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new at(null,e)}}function Xt(e){Jt(e);e.headers=rt.from(e.headers);e.data=it.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=Kt.getAdapter(e.adapter||Je.adapter,e);return t(e).then((function t(n){Jt(e);n.data=it.call(e,e.transformResponse,n);n.headers=rt.from(n.headers);return n}),(function t(n){if(!st(n)){Jt(e);if(n&&n.response){n.response.data=it.call(e,e.transformResponse,n.response);n.response.headers=rt.from(n.response.headers)}}return Promise.reject(n)}))}const Vt="1.13.4";const Wt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Wt[e]=function n(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));const Gt={};Wt.transitional=function e(t,n,o){function r(e,t){return"[Axios v"+Vt+"] Transitional option '"+e+"'"+t+(o?". "+o:"")}return(e,o,i)=>{if(t===false){throw new he(r(o," has been removed"+(n?" in "+n:"")),he.ERR_DEPRECATED)}if(n&&!Gt[o]){Gt[o]=true;console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))}return t?t(e,o,i):true}};Wt.spelling=function e(t){return(e,n)=>{console.warn(`${n} is likely a misspelling of ${t}`);return true}};function Zt(e,t,n){if(typeof e!=="object"){throw new he("options must be an object",he.ERR_BAD_OPTION_VALUE)}const o=Object.keys(e);let r=o.length;while(r-- >0){const i=o[r];const s=t[i];if(s){const t=e[i];const n=t===undefined||s(t,i,e);if(n!==true){throw new he("option "+i+" must be "+n,he.ERR_BAD_OPTION_VALUE)}continue}if(n!==true){throw new he("Unknown option "+i,he.ERR_BAD_OPTION)}}}var Qt={assertOptions:Zt,validators:Wt};const Yt=Qt.validators;class en{constructor(e){this.defaults=e||{};this.interceptors={request:new Ee,response:new Ee}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{if(!e.stack){e.stack=n}else if(n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))){e.stack+="\n"+n}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=kt(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;if(n!==undefined){Qt.assertOptions(n,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean)},false)}if(o!=null){if(fe.isFunction(o)){t.paramsSerializer={serialize:o}}else{Qt.assertOptions(o,{encode:Yt.function,serialize:Yt.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}Qt.assertOptions(t,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=r&&fe.merge(r.common,r[t.method]);r&&fe.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]}));t.headers=rt.concat(i,r);const s=[];let c=true;this.interceptors.request.forEach((function e(n){if(typeof n.runWhen==="function"&&n.runWhen(t)===false){return}c=c&&n.synchronous;s.unshift(n.fulfilled,n.rejected)}));const a=[];this.interceptors.response.forEach((function e(t){a.push(t.fulfilled,t.rejected)}));let l;let u=0;let f;if(!c){const e=[Xt.bind(this),undefined];e.unshift(...s);e.push(...a);f=e.length;l=Promise.resolve(t);while(u<f){l=l.then(e[u++],e[u++])}return l}f=s.length;let d=t;while(u<f){const e=s[u++];const t=s[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{l=Xt.call(this,d)}catch(e){return Promise.reject(e)}u=0;f=a.length;while(u<f){l=l.then(a[u++],a[u++])}return l}getUri(e){e=kt(this.defaults,e);const t=yt(e.baseURL,e.url,e.allowAbsoluteUrls);return Se(t,e.params,e.paramsSerializer)}}fe.forEach(["delete","get","head","options"],(function e(t){en.prototype[t]=function(e,n){return this.request(kt(n||{},{method:t,url:e,data:(n||{}).data}))}}));fe.forEach(["post","put","patch"],(function e(t){function n(e){return function n(o,r,i){return this.request(kt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}en.prototype[t]=n();en.prototype[t+"Form"]=n(true)}));var tn=en;class nn{constructor(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}let t;this.promise=new Promise((function e(n){t=n}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0){n._listeners[t](e)}n._listeners=null}));this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e);t=e})).then(e);o.cancel=function e(){n.unsubscribe(t)};return o};e((function e(o,r,i){if(n.reason){return}n.reason=new at(o,r,i);t(n.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}toAbortSignal(){const e=new AbortController;const t=t=>{e.abort(t)};this.subscribe(t);e.signal.unsubscribe=()=>this.unsubscribe(t);return e.signal}static source(){let e;const t=new nn((function t(n){e=n}));return{token:t,cancel:e}}}var on=nn;function rn(e){return function t(n){return e.apply(null,n)}}function sn(e){return fe.isObject(e)&&e.isAxiosError===true}const cn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(cn).forEach((([e,t])=>{cn[t]=e}));var an=cn;function ln(t){const n=new tn(t);const o=e(tn.prototype.request,n);fe.extend(o,tn.prototype,n,{allOwnKeys:true});fe.extend(o,n,null,{allOwnKeys:true});o.create=function e(n){return ln(kt(t,n))};return o}const un=ln(Je);un.Axios=tn;un.CanceledError=at;un.CancelToken=on;un.isCancel=st;un.VERSION=Vt;un.toFormData=ye;un.AxiosError=he;un.Cancel=un.CanceledError;un.all=function e(t){return Promise.all(t)};un.spread=rn;un.isAxiosError=sn;un.mergeConfig=kt;un.AxiosHeaders=rt;un.formToJSON=e=>$e(fe.isHTMLForm(e)?new FormData(e):e);un.getAdapter=Kt.getAdapter;un.HttpStatusCode=an;un.default=un;d=un;return d}var m=p();var b=l(m);const w=u.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";const v=()=>b.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:w}}).then((e=>e.data)).catch((e=>{console.log("Unleash: Unable to fetch feature flags",e);throw e}));const g='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{gap:12px;width:300px;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .row .option{gap:4px;display:-ms-flexbox;display:flex;padding:5px 8px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;text-wrap:nowrap}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{font-size:14px;width:88px}verdocs-contact-picker form .pin-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .pin-code>input{-ms-flex:0 0 197px;flex:0 0 197px;font-size:14px}verdocs-contact-picker form .address{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .address>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form .zip-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .zip-code>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form label{display:-ms-flexbox;display:flex;-ms-flex:0 0 80px;flex:0 0 80px;font-size:13px;font-weight:500;color:#5c6575}verdocs-contact-picker form .row.message textarea{width:100%;padding:5px 7px;border-radius:4px;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif)}verdocs-contact-picker form input{-ms-flex:1;flex:1;padding:6px;font-size:14px;border-radius:3px;border:1px solid rgba(112, 122, 229, 0.3725490196)}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}#verdocs-contact-picker-suggestions .dropdown{max-height:225px;overflow-y:scroll;background:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}#verdocs-contact-picker-suggestions .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}#verdocs-contact-picker-suggestions .dropdown .suggestion svg{width:32px;height:32px}#verdocs-contact-picker-suggestions .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}#verdocs-contact-picker-suggestions .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#verdocs-contact-picker-suggestions .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}#verdocs-contact-picker-suggestions .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}#verdocs-contact-picker-suggestions .dropdown .suggestion:hover{background:#eee;cursor:pointer}';const y=`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-user"><path d="M15 13a3 3 0 1 0-6 0"/><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"/><circle cx="12" cy="8" r="2"/></svg>`;const x=class{constructor(n){e(this,n);this.searchContacts=t(this,"searchContacts");this.exit=t(this,"exit");this.next=t(this,"next");this.endpoint=r.getDefault();this.templateRole=null;this.contactSuggestions=[];this.showSuggestions=false;this.showMessage=false;this.delegator=false;this.auth_methods=[];this.passcode="";this.firstNameFieldId=`verdocs-contact-picker-firstname-${Math.random().toString(36).substring(2,11)}`;this.lastNameFieldId=`verdocs-contact-picker-lastname-${Math.random().toString(36).substring(2,11)}`;this.emailFieldId=`verdocs-contact-picker-email-${Math.random().toString(36).substring(2,11)}`;this.phoneFieldId=`verdocs-contact-picker-phone-${Math.random().toString(36).substring(2,11)}`;this.featureFlags=null;this.activeEntitlements={}}componentWillLoad(){this.endpoint.loadSession();if(this.templateRole){const e=i(this.templateRole);const t=e.split(" ");const n=this.templateRole.first_name||t.shift()||"";const o=this.templateRole.last_name||t.join(" ")||"";this.first_name=n;this.last_name=o;this.email=this.templateRole.email||"";this.phone=this.templateRole.phone||"";this.delegator=this.templateRole.delegator||false;this.message=this.templateRole.message||"";this.showMessage=this.message!=="";this.auth_methods=this.templateRole.auth_methods||[];this.passcode=this.templateRole.passcode||""}s(this.endpoint).then((e=>{this.activeEntitlements=e;console.log("[CONTACT PICKER] Loaded entitlements",e)})).catch((e=>console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)));v().then((e=>{this.featureFlags=e;console.log("[CONTACT PICKER] Loaded feature flags",e)})).catch((e=>{console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))}handleFirstNameChange(e){var t;this.first_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.first_name})}handleLastNameChange(e){var t;this.last_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.last_name})}handleCancel(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.exit)===null||t===void 0?void 0:t.emit()}handleSubmit(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.next)===null||t===void 0?void 0:t.emit({first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,message:this.message,delegator:this.delegator,auth_methods:this.auth_methods,passcode:this.passcode,address:this.address,zip:this.zip})}handleSelectSuggestion(e,t){e.stopPropagation();this.first_name=t.first_name;this.last_name=t.last_name;this.email=t.email;this.phone=t.phone;this.showSuggestions=false}render(){var e,t,r,s,a,l,u,d,h,p,m,b,w,v,g,x,k,R;const O=this.first_name&&this.last_name&&c(this.email);const S=!this.auth_methods.length||this.auth_methods.includes("passcode")&&!!this.passcode||this.auth_methods.includes("kba")&&!!this.first_name&&!!this.last_name||this.auth_methods.includes("email")&&!!this.email||this.auth_methods.includes("sms")&&!!this.phone;const T=O&&S;const E=((r=(t=(e=this.featureFlags)===null||e===void 0?void 0:e.toggles)===null||t===void 0?void 0:t.find((e=>e.name==="sms")))===null||r===void 0?void 0:r.enabled)===true;const j=[];if(((l=(a=(s=this.featureFlags)===null||s===void 0?void 0:s.toggles)===null||a===void 0?void 0:a.find((e=>e.name==="passcode-verification")))===null||l===void 0?void 0:l.enabled)===true){j.push({label:"Passcode",value:"passcode"})}if(((h=(d=(u=this.featureFlags)===null||u===void 0?void 0:u.toggles)===null||d===void 0?void 0:d.find((e=>e.name==="email-verification")))===null||h===void 0?void 0:h.enabled)===true){j.push({label:"Email",value:"email"})}if(E&&((b=(m=(p=this.featureFlags)===null||p===void 0?void 0:p.toggles)===null||m===void 0?void 0:m.find((e=>e.name==="sms-verification")))===null||b===void 0?void 0:b.enabled)===true&&!!this.activeEntitlements.sms_auth){j.push({label:"SMS (One-Time Code)",value:"sms"})}if(((g=(v=(w=this.featureFlags)===null||w===void 0?void 0:w.toggles)===null||v===void 0?void 0:v.find((e=>e.name==="kba-verification")))===null||g===void 0?void 0:g.enabled)===true&&!!this.activeEntitlements.kba_auth){j.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((R=(k=(x=this.featureFlags)===null||x===void 0?void 0:x.toggles)===null||k===void 0?void 0:k.find((e=>e.name==="id-verification")))===null||R===void 0?void 0:R.enabled)===true&&!!this.activeEntitlements.id_auth){j.push({label:"ID Check",value:"id"})}return n("form",{key:"5b4d4de3ad06d4cb458b92ca6159fadcbb38a89e",onSubmit:e=>e.preventDefault(),autocomplete:"off"},n("div",{key:"065bd43ea84a5431f4cb370491147377d0b4ed87",class:"row"},n("label",{key:"48e3ab3a13607b42018e400703910d08f053d7c0",htmlFor:this.firstNameFieldId},"Name:"),n("div",{key:"c1acb5b9cfd0cdbd17edce151e66035826ae3e15",class:"names-row"},n("input",{key:"bfd3f91624725b717df1b27d000924503e0cb0b8",id:this.firstNameFieldId,name:this.firstNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.first_name,placeholder:"First...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleFirstNameChange(e)}),n("input",{key:"30ae8e6b5c52c45bad07572a9357c575fd248df1",id:this.lastNameFieldId,name:this.lastNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.last_name,placeholder:"Last...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleLastNameChange(e)})),this.showSuggestions&&n("verdocs-portal",{key:"6a03422c1dbe45c1e8a389af0f884f2f4b525aca",anchor:this.firstNameFieldId,onClickAway:()=>{this.showSuggestions=false;document.querySelectorAll(`.verdocs-portal-wrapper`).forEach((e=>e.remove()))},id:"verdocs-contact-picker-suggestions"},n("div",{key:"a9907d3c7b291fde2e86a3a0dd2bfb0f2c1d06b3",class:"dropdown"},this.contactSuggestions.filter((e=>!this.first_name||e.first_name.toLowerCase().includes(this.first_name.toLowerCase()))).map((e=>{var t;return n("div",{key:(t=e.id)!==null&&t!==void 0?t:e.email,class:"suggestion",onClick:t=>this.handleSelectSuggestion(t,e)},e.picture?n("img",{alt:"Avatar",class:"avatar",src:e.picture}):n("div",{class:"avatar",innerHTML:y}),n("div",{class:"details"},n("div",{class:"name"},i(e)),e.email&&n("div",{class:"destination"},e.email),e.phone&&n("div",{class:"destination"},e.phone)))}))))),n("div",{key:"220b7dc0f04eb27279e003aaa196aee58b51ec64",class:"row"},n("label",{key:"7120d789f96a375a3f6237b93a3699866dae5e0e",htmlFor:this.emailFieldId},"Email:"),n("input",{key:"33aa0973927dedcc1d3005411dcdb87c969a65c2",id:this.emailFieldId,name:this.emailFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.email,placeholder:"Invite/verify via email...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.email=e.target.value})),E&&n("div",{key:"8b888dd8490d99235bd1d1b2e6acce6d64fbf5a4",class:"row"},n("label",{key:"702e60156cfbe39cc56c20ca5f9e5b112eb8fbb5",htmlFor:this.phoneFieldId},"Phone:"),n("input",{key:"1f6b416d622b821e63e89bdf75626bc9f97422df",id:this.phoneFieldId,name:this.phoneFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.phone,placeholder:"Invite/verify via SMS...",onFocus:()=>this.showSuggestions=false,onInput:e=>{this.phone=f(e.target.value)}})),n(o,{key:"60d3ccc50417d1fbe6a815d6edf37619f945b63e"},j.length>0&&n("div",{key:"f1248b2c40c1cfb22cfa577bc1f5c5895362ded2",class:"row pin-code"},n("label",{key:"d782f794fa6a8d2ca18835db9e8d6e510038f212"},"Verification Methods:"),n("div",{key:"51370acfa10be18fa7783ee28849caaf9ad11fcb"},j.map(((e,t)=>n("div",{class:"option"},n("verdocs-checkbox",{size:"small",id:`verdocs-multi-select-opt-${t}`,value:e.value,checked:this.auth_methods.includes(e.value),onInput:t=>{if(t.target.checked){this.auth_methods=[...this.auth_methods,e.value]}else{this.auth_methods=this.auth_methods.filter((t=>t!==e.value))}}}),n("label",{htmlFor:`verdocs-multi-select-option-${t}`},e.label)))))),this.auth_methods.includes("passcode")&&n("div",{key:"37cc47ae07fcee96a90ca0684307b2fa12436fbd",class:"row pin-code"},n("label",{key:"57b9975fcdf609ebcfd709f2cc646f74163eda15",htmlFor:this.phoneFieldId},"Passcode:"),n("input",{key:"5c9f4d7f4757512fa7c87e91adf731fe256050da",id:"verdocs-passcode",name:"verdocs-passcode",type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.passcode,placeholder:"4-8 digits recommended...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.passcode=e.target.value}))),n("div",{key:"7bed0f7befff14122e821680fce895d64889212c",class:"row pin-code"},n("label",{key:"295f03231ca15e2a25895d8f6dca7b7507fc58fa"},"Delegation:"),n("div",{key:"21d03961df0853b3f1e4a4b3e9445e8a3ecf80ee"},n("div",{key:"1e70e144d4e678e9697039468549ef38606dc3b7",class:"option"},n("verdocs-checkbox",{key:"8f94ea2d0b3f1bc8831c8666d379ebc2a22fbb95",size:"small",id:"verdocs-delegator",checked:this.delegator,onInput:e=>{this.delegator=e.target.checked}}),n("label",{key:"9ea3f9f359f7045aebd80367af0a7431d1e850e4",htmlFor:"verdocs-delegator"},"May delegate signing")))),n("div",{key:"90e07660115c7f41ade3aad5fe4eb93d7d8cb4fd",class:"row message"},n("label",{key:"0268f3ecd123de3c8d0e27b345253385157bfce6",htmlFor:"verdocs-contact-picker-message"},"Message:"),n("textarea",{key:"526671a3e768cc6280e82d04fe4f86d0fd5678bd",id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.message=e.target.value},this.message)),n("div",{key:"9bfb44085c94a08a9d2957d031e263d398ab170b",class:"buttons"},n("div",{key:"2b21510d850071094dd7005c26de4e8cd14c992d",class:"flex-fill"}),n("verdocs-button",{key:"881527d8167c31490622f3e9f0252cfdd3139d58",variant:"outline",label:"Cancel",size:"small",onClick:e=>this.handleCancel(e)}),n("verdocs-button",{key:"3dbc5efa49eb696eedb2d50c06837b70abea5e80",label:"OK",size:"small",disabled:!T,onClick:!T?()=>{}:e=>this.handleSubmit(e)})))}};x.style=g;export{x as verdocs_contact_picker};
3
+ //# sourceMappingURL=p-5bf8bb27.entry.js.map