@verdocs/web-sdk 6.0.2 → 6.0.4

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 (136) hide show
  1. package/dist/cjs/{utils-DCB8q98B.js → utils-BXqLrKQZ.js} +3 -2
  2. package/dist/cjs/utils-BXqLrKQZ.js.map +1 -0
  3. package/dist/cjs/verdocs-contact-picker.cjs.entry.js +1 -1
  4. package/dist/cjs/verdocs-delegate-dialog_5.cjs.entry.js +1 -1
  5. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
  6. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +1 -1
  7. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +1 -4
  8. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js.map +1 -1
  9. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
  10. package/dist/cjs/verdocs-preview_7.cjs.entry.js +1 -1
  11. package/dist/cjs/verdocs-sign.cjs.entry.js +1 -1
  12. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
  13. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +2 -5
  14. package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js.map +1 -1
  15. package/dist/collection/utils/utils.js +1 -0
  16. package/dist/collection/utils/utils.js.map +1 -1
  17. package/dist/components/{p-DCaVuows.js → p-BHeendgg.js} +5 -5
  18. package/dist/components/{p-DCaVuows.js.map → p-BHeendgg.js.map} +1 -1
  19. package/dist/components/{p-Cmm_Efcd.js → p-CAJEh6K0.js} +6 -6
  20. package/dist/components/{p-Cmm_Efcd.js.map → p-CAJEh6K0.js.map} +1 -1
  21. package/dist/components/{p-D9UxTdE4.js → p-CDDk2TOh.js} +4 -4
  22. package/dist/components/{p-D9UxTdE4.js.map → p-CDDk2TOh.js.map} +1 -1
  23. package/dist/components/{p-AQsHwZ27.js → p-CNvRd0Kp.js} +5 -5
  24. package/dist/components/{p-AQsHwZ27.js.map → p-CNvRd0Kp.js.map} +1 -1
  25. package/dist/components/{p-pTXj30z_.js → p-CSQjgm9n.js} +3 -3
  26. package/dist/components/{p-pTXj30z_.js.map → p-CSQjgm9n.js.map} +1 -1
  27. package/dist/components/{p-xS2v_6o_.js → p-CSpoYxdI.js} +3 -3
  28. package/dist/components/{p-xS2v_6o_.js.map → p-CSpoYxdI.js.map} +1 -1
  29. package/dist/components/{p-DepyvOoM.js → p-CsyhCKk4.js} +3 -3
  30. package/dist/components/{p-DepyvOoM.js.map → p-CsyhCKk4.js.map} +1 -1
  31. package/dist/components/{p-Bhib7RyH.js → p-DmXt1ckc.js} +3 -3
  32. package/dist/components/{p-Bhib7RyH.js.map → p-DmXt1ckc.js.map} +1 -1
  33. package/dist/components/{p-DnAJsr7Q.js → p-WvXI4EBm.js} +3 -3
  34. package/dist/components/{p-DnAJsr7Q.js.map → p-WvXI4EBm.js.map} +1 -1
  35. package/dist/components/{p-C1nftqjj.js → p-kCaWRqn0.js} +3 -6
  36. package/dist/components/p-kCaWRqn0.js.map +1 -0
  37. package/dist/components/{p-DsBOZHKo.js → p-y2dhcER7.js} +3 -2
  38. package/dist/components/{p-DsBOZHKo.js.map → p-y2dhcER7.js.map} +1 -1
  39. package/dist/components/verdocs-build.js +7 -7
  40. package/dist/components/verdocs-contact-picker.js +1 -1
  41. package/dist/components/verdocs-envelope-document-page.js +1 -1
  42. package/dist/components/verdocs-envelopes-list.js +2 -2
  43. package/dist/components/verdocs-field-initial.js +1 -1
  44. package/dist/components/verdocs-initial-dialog.js +1 -1
  45. package/dist/components/verdocs-preview.js +1 -1
  46. package/dist/components/verdocs-quick-filter.js +1 -1
  47. package/dist/components/verdocs-send.js +1 -1
  48. package/dist/components/verdocs-sign.js +3 -3
  49. package/dist/components/verdocs-template-document-page.js +1 -1
  50. package/dist/components/verdocs-template-fields.js +1 -1
  51. package/dist/components/verdocs-templates-list.js +1 -1
  52. package/dist/components/verdocs-view.js +1 -1
  53. package/dist/esm/{utils-DmfOx9Ey.js → utils-tbEy96hU.js} +3 -2
  54. package/dist/esm/utils-tbEy96hU.js.map +1 -0
  55. package/dist/esm/verdocs-contact-picker.entry.js +1 -1
  56. package/dist/esm/verdocs-delegate-dialog_5.entry.js +1 -1
  57. package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
  58. package/dist/esm/verdocs-envelopes-list.entry.js +1 -1
  59. package/dist/esm/verdocs-field-attachment_13.entry.js +1 -4
  60. package/dist/esm/verdocs-field-attachment_13.entry.js.map +1 -1
  61. package/dist/esm/verdocs-pagination_2.entry.js +1 -1
  62. package/dist/esm/verdocs-preview_7.entry.js +1 -1
  63. package/dist/esm/verdocs-sign.entry.js +1 -1
  64. package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
  65. package/dist/esm-es5/{utils-DmfOx9Ey.js → utils-tbEy96hU.js} +1 -1
  66. package/dist/esm-es5/utils-tbEy96hU.js.map +1 -0
  67. package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
  68. package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js +1 -1
  69. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  70. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  71. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  72. package/dist/esm-es5/verdocs-field-attachment_13.entry.js.map +1 -1
  73. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  74. package/dist/esm-es5/verdocs-preview_7.entry.js +2 -2
  75. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  76. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  77. package/dist/types/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.d.ts +2 -1
  78. package/dist/types/components.d.ts +1 -1
  79. package/dist/verdocs-web-sdk/{p-92147c8e.entry.js → p-1138cbc8.entry.js} +3 -3
  80. package/dist/verdocs-web-sdk/{p-23d2bebc.system.entry.js → p-1ac2de04.system.entry.js} +2 -2
  81. package/dist/verdocs-web-sdk/{p-dd51c6cf.entry.js → p-21da2b89.entry.js} +3 -3
  82. package/dist/verdocs-web-sdk/{p-4761e4b9.entry.js → p-25c15dc4.entry.js} +2 -2
  83. package/dist/verdocs-web-sdk/{p-4761e4b9.entry.js.map → p-25c15dc4.entry.js.map} +1 -1
  84. package/dist/verdocs-web-sdk/{p-3a66ab11.system.entry.js → p-42b32d21.system.entry.js} +2 -2
  85. package/dist/verdocs-web-sdk/{p-baaa811b.entry.js → p-49683659.entry.js} +2 -2
  86. package/dist/verdocs-web-sdk/{p-ceabec49.entry.js → p-6261f76f.entry.js} +2 -2
  87. package/dist/verdocs-web-sdk/{p-9524927b.entry.js → p-664be870.entry.js} +2 -2
  88. package/dist/verdocs-web-sdk/{p-d5f1bffb.entry.js → p-75a43183.entry.js} +2 -2
  89. package/dist/verdocs-web-sdk/{p-fc5c2c45.system.entry.js → p-7a2842d3.system.entry.js} +2 -2
  90. package/dist/verdocs-web-sdk/{p-5f7f20bb.system.entry.js → p-7cb0a86a.system.entry.js} +2 -2
  91. package/dist/verdocs-web-sdk/{p-35d8d17c.system.entry.js → p-8bf7be29.system.entry.js} +3 -3
  92. package/dist/verdocs-web-sdk/{p-nr83qKQ0.system.js.map → p-B2S7Mlv-.system.js.map} +1 -1
  93. package/dist/verdocs-web-sdk/{p-D7IFi8me.system.js.map → p-BDRwNwHO.system.js.map} +1 -1
  94. package/dist/verdocs-web-sdk/{p-Bu5xpJsB.system.js.map → p-BGP1meB_.system.js.map} +1 -1
  95. package/dist/verdocs-web-sdk/{p-BEywLaeg.system.js.map → p-BskSN54G.system.js.map} +1 -1
  96. package/dist/verdocs-web-sdk/{p-DcCGkiJ-.system.js.map → p-C8jYVW5r.system.js.map} +1 -1
  97. package/dist/verdocs-web-sdk/{p-BscsgV4o.system.js.map → p-CB7Tnry2.system.js.map} +1 -1
  98. package/dist/verdocs-web-sdk/{p-DGdn9mfe.system.js.map → p-CmJ4fTid.system.js.map} +1 -1
  99. package/dist/verdocs-web-sdk/{p-DPhW-51Y.system.js.map → p-CuCpcHZy.system.js.map} +1 -1
  100. package/dist/verdocs-web-sdk/{p-CICLOJJr.system.js.map → p-Dp4d4aXG.system.js.map} +1 -1
  101. package/dist/verdocs-web-sdk/{p-fL0BKEnm.js → p-DvM2ECoi.js} +1 -1
  102. package/dist/verdocs-web-sdk/p-DvM2ECoi.js.map +1 -0
  103. package/dist/verdocs-web-sdk/p-RlE9Yh59.system.js +1 -1
  104. package/dist/verdocs-web-sdk/{p-b4bfad4d.entry.js → p-d94cd03f.entry.js} +2 -2
  105. package/dist/verdocs-web-sdk/{p-f05f021e.entry.js → p-da526fc0.entry.js} +2 -2
  106. package/dist/verdocs-web-sdk/{p-f6598c9b.system.entry.js → p-def666e2.system.entry.js} +2 -2
  107. package/dist/verdocs-web-sdk/{p-b72d1a5f.system.entry.js → p-e3cf3f48.system.entry.js} +2 -2
  108. package/dist/verdocs-web-sdk/{p-b72d1a5f.system.entry.js.map → p-e3cf3f48.system.entry.js.map} +1 -1
  109. package/dist/verdocs-web-sdk/{p-2d9b370b.system.entry.js → p-e962f3e2.system.entry.js} +3 -3
  110. package/dist/verdocs-web-sdk/{p-e755e978.system.entry.js → p-ffcb5dbb.system.entry.js} +2 -2
  111. package/dist/verdocs-web-sdk/{p-CD5uiThi.system.js → p-lZ900hhb.system.js} +1 -1
  112. package/dist/verdocs-web-sdk/p-lZ900hhb.system.js.map +1 -0
  113. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  114. package/package.json +2 -2
  115. package/dist/cjs/utils-DCB8q98B.js.map +0 -1
  116. package/dist/components/p-C1nftqjj.js.map +0 -1
  117. package/dist/esm/utils-DmfOx9Ey.js.map +0 -1
  118. package/dist/esm-es5/utils-DmfOx9Ey.js.map +0 -1
  119. package/dist/verdocs-web-sdk/p-CD5uiThi.system.js.map +0 -1
  120. package/dist/verdocs-web-sdk/p-fL0BKEnm.js.map +0 -1
  121. /package/dist/verdocs-web-sdk/{p-92147c8e.entry.js.map → p-1138cbc8.entry.js.map} +0 -0
  122. /package/dist/verdocs-web-sdk/{p-23d2bebc.system.entry.js.map → p-1ac2de04.system.entry.js.map} +0 -0
  123. /package/dist/verdocs-web-sdk/{p-dd51c6cf.entry.js.map → p-21da2b89.entry.js.map} +0 -0
  124. /package/dist/verdocs-web-sdk/{p-3a66ab11.system.entry.js.map → p-42b32d21.system.entry.js.map} +0 -0
  125. /package/dist/verdocs-web-sdk/{p-baaa811b.entry.js.map → p-49683659.entry.js.map} +0 -0
  126. /package/dist/verdocs-web-sdk/{p-ceabec49.entry.js.map → p-6261f76f.entry.js.map} +0 -0
  127. /package/dist/verdocs-web-sdk/{p-9524927b.entry.js.map → p-664be870.entry.js.map} +0 -0
  128. /package/dist/verdocs-web-sdk/{p-d5f1bffb.entry.js.map → p-75a43183.entry.js.map} +0 -0
  129. /package/dist/verdocs-web-sdk/{p-fc5c2c45.system.entry.js.map → p-7a2842d3.system.entry.js.map} +0 -0
  130. /package/dist/verdocs-web-sdk/{p-5f7f20bb.system.entry.js.map → p-7cb0a86a.system.entry.js.map} +0 -0
  131. /package/dist/verdocs-web-sdk/{p-35d8d17c.system.entry.js.map → p-8bf7be29.system.entry.js.map} +0 -0
  132. /package/dist/verdocs-web-sdk/{p-b4bfad4d.entry.js.map → p-d94cd03f.entry.js.map} +0 -0
  133. /package/dist/verdocs-web-sdk/{p-f05f021e.entry.js.map → p-da526fc0.entry.js.map} +0 -0
  134. /package/dist/verdocs-web-sdk/{p-f6598c9b.system.entry.js.map → p-def666e2.system.entry.js.map} +0 -0
  135. /package/dist/verdocs-web-sdk/{p-2d9b370b.system.entry.js.map → p-e962f3e2.system.entry.js.map} +0 -0
  136. /package/dist/verdocs-web-sdk/{p-e755e978.system.entry.js.map → p-ffcb5dbb.system.entry.js.map} +0 -0
@@ -1,3 +1,3 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{s(n.next(e))}catch(e){o(e)}}function u(e){try{s(n["throw"](e))}catch(e){o(e)}}function s(e){e.done?r(e.value):i(e.value).then(a,u)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(r=0)),r)try{if(n=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;i=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){r.label=u[1];break}if(u[0]===6&&r.label<o[1]){r.label=o[1];o=u;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(u);break}if(o[2])r.ops.pop();r.trys.pop();continue}u=t.call(e,r)}catch(e){u=[6,e];i=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __asyncValues=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(t){r[t]=e[t]&&function(r){return new Promise((function(n,o){r=e[t](r),i(n,o,r.done,r.value)}))}}function i(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};var __await=this&&this.__await||function(e){return this instanceof __await?(this.v=e,this):new __await(e)};var __asyncDelegator=this&&this.__asyncDelegator||function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:__await(e[n](t)),done:false}:i?i(t):t}:i}};var __asyncGenerator=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,o=[];return i={},u("next"),u("throw"),u("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(e){return function(t){return Promise.resolve(t).then(e,l)}}function u(e,t){if(n[e]){i[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||s(e,t)}))};if(t)i[e]=t(i[e])}}function s(e,t){try{c(n[e](t))}catch(e){d(o[0][3],e)}}function c(e){e.value instanceof __await?Promise.resolve(e.value.v).then(f,l):d(o[0][2],e)}function f(e){s("next",e)}function l(e){s("throw",e)}function d(e,t){if(e(t),o.shift(),o.length)s(o[0][0],o[0][1])}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))};var __values=this&&this.__values||function(e){var t=typeof Symbol==="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};import{r as registerInstance,c as createEvent,h,F as Fragment}from"./index-6vpKbd31.js";import{VerdocsEndpoint,formatFullName,getActiveEntitlements,isValidEmail}from"@verdocs/js-sdk";import{c as commonjsGlobal,g as getDefaultExportFromCjs}from"./_commonjsHelpers-BFTU3MAI.js";import{B as BETA_ORIGINS}from"./Environment-C_Xku1v2.js";import{d as convertToE164}from"./utils-DmfOx9Ey.js";import"./index-dzBXqXlK.js";import"./Types-Dl7Xw8F0.js";
2
- /*! Axios v1.11.0 Copyright (c) 2025 Matt Zabriskie and contributors */var axios_1;var hasRequiredAxios;function requireAxios(){var e=this;if(hasRequiredAxios)return axios_1;hasRequiredAxios=1;function t(e,t){return function r(){return e.apply(t,arguments)}}var r=Object.prototype.toString;var n=Object.getPrototypeOf;var i=Symbol.iterator,o=Symbol.toStringTag;var a=function(e){return function(t){var n=r.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));var u=function(e){e=e.toLowerCase();return function(t){return a(t)===e}};var s=function(e){return function(t){return typeof t===e}};var c=Array.isArray;var f=s("undefined");function l(e){return e!==null&&!f(e)&&e.constructor!==null&&!f(e.constructor)&&p(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var d=u("ArrayBuffer");function v(e){var t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&d(e.buffer)}return t}var h=s("string");var p=s("function");var m=s("number");var b=function(e){return e!==null&&typeof e==="object"};var w=function(e){return e===true||e===false};var y=function(e){if(a(e)!=="object"){return false}var t=n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(o in e)&&!(i in e)};var g=function(e){if(!b(e)||l(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};var x=u("Date");var _=u("File");var k=u("Blob");var E=u("FileList");var R=function(e){return b(e)&&p(e.pipe)};var O=function(e){var t;return e&&(typeof FormData==="function"&&e instanceof FormData||p(e.append)&&((t=a(e))==="formdata"||t==="object"&&p(e.toString)&&e.toString()==="[object FormData]"))};var S=u("URLSearchParams");var A=["ReadableStream","Request","Response","Headers"].map(u),T=A[0],j=A[1],C=A[2],F=A[3];var N=function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function P(e,t,r){var n=r===void 0?{}:r,i=n.allOwnKeys,o=i===void 0?false:i;if(e===null||typeof e==="undefined"){return}var a;var u;if(typeof e!=="object"){e=[e]}if(c(e)){for(a=0,u=e.length;a<u;a++){t.call(null,e[a],a,e)}}else{if(l(e)){return}var s=o?Object.getOwnPropertyNames(e):Object.keys(e);var f=s.length;var d=void 0;for(a=0;a<f;a++){d=s[a];t.call(null,e[d],d,e)}}}function I(e,t){if(l(e)){return null}t=t.toLowerCase();var r=Object.keys(e);var n=r.length;var i;while(n-- >0){i=r[n];if(t===i.toLowerCase()){return i}}return null}var B=function(){if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:commonjsGlobal}();var U=function(e){return!f(e)&&e!==B};function D(){var e=(U(this)&&this||{}).caseless;var t={};var r=function(r,n){var i=e&&I(t,n)||n;if(y(t[i])&&y(r)){t[i]=D(t[i],r)}else if(y(r)){t[i]=D({},r)}else if(c(r)){t[i]=r.slice()}else{t[i]=r}};for(var n=0,i=arguments.length;n<i;n++){arguments[n]&&P(arguments[n],r)}return t}var q=function(e,r,n,i){var o=i===void 0?{}:i,a=o.allOwnKeys;P(r,(function(r,i){if(n&&p(r)){e[i]=t(r,n)}else{e[i]=r}}),{allOwnKeys:a});return e};var L=function(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};var M=function(e,t,r,n){e.prototype=Object.create(t.prototype,n);e.prototype.constructor=e;Object.defineProperty(e,"super",{value:t.prototype});r&&Object.assign(e.prototype,r)};var z=function(e,t,r,i){var o;var a;var u;var s={};t=t||{};if(e==null)return t;do{o=Object.getOwnPropertyNames(e);a=o.length;while(a-- >0){u=o[a];if((!i||i(u,e,t))&&!s[u]){t[u]=e[u];s[u]=true}}e=r!==false&&n(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t};var H=function(e,t,r){e=String(e);if(r===undefined||r>e.length){r=e.length}r-=t.length;var n=e.indexOf(t,r);return n!==-1&&n===r};var V=function(e){if(!e)return null;if(c(e))return e;var t=e.length;if(!m(t))return null;var r=new Array(t);while(t-- >0){r[t]=e[t]}return r};var K=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!=="undefined"&&n(Uint8Array));var G=function(e,t){var r=e&&e[i];var n=r.call(e);var o;while((o=n.next())&&!o.done){var a=o.value;t.call(e,a[0],a[1])}};var J=function(e,t){var r;var n=[];while((r=e.exec(t))!==null){n.push(r)}return n};var X=u("HTMLFormElement");var W=function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,r,n){return r.toUpperCase()+n}))};var $=function(e){var t=e.hasOwnProperty;return function(e,r){return t.call(e,r)}}(Object.prototype);var Y=u("RegExp");var Z=function(e,t){var r=Object.getOwnPropertyDescriptors(e);var n={};P(r,(function(r,i){var o;if((o=t(r,i,e))!==false){n[i]=o||r}}));Object.defineProperties(e,n)};var Q=function(e){Z(e,(function(t,r){if(p(e)&&["arguments","caller","callee"].indexOf(r)!==-1){return false}var n=e[r];if(!p(n))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=function(){throw Error("Can not rewrite read-only method '"+r+"'")}}}))};var ee=function(e,t){var r={};var n=function(e){e.forEach((function(e){r[e]=true}))};c(e)?n(e):n(String(e).split(t));return r};var te=function(){};var re=function(e,t){return e!=null&&Number.isFinite(e=+e)?e:t};function ne(e){return!!(e&&p(e.append)&&e[o]==="FormData"&&e[i])}var ie=function(e){var t=new Array(10);var r=function(e,n){if(b(e)){if(t.indexOf(e)>=0){return}if(l(e)){return e}if(!("toJSON"in e)){t[n]=e;var i=c(e)?[]:{};P(e,(function(e,t){var o=r(e,n+1);!f(o)&&(i[t]=o)}));t[n]=undefined;return i}}return e};return r(e,0)};var oe=u("AsyncFunction");var ae=function(e){return e&&(b(e)||p(e))&&p(e.then)&&p(e.catch)};var ue=function(e,t){if(e){return setImmediate}return t?function(e,t){B.addEventListener("message",(function(r){var n=r.source,i=r.data;if(n===B&&i===e){t.length&&t.shift()()}}),false);return function(r){t.push(r);B.postMessage(e,"*")}}("axios@".concat(Math.random()),[]):function(e){return setTimeout(e)}}(typeof setImmediate==="function",p(B.postMessage));var se=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(B):typeof process!=="undefined"&&process.nextTick||ue;var ce=function(e){return e!=null&&p(e[i])};var fe={isArray:c,isArrayBuffer:d,isBuffer:l,isFormData:O,isArrayBufferView:v,isString:h,isNumber:m,isBoolean:w,isObject:b,isPlainObject:y,isEmptyObject:g,isReadableStream:T,isRequest:j,isResponse:C,isHeaders:F,isUndefined:f,isDate:x,isFile:_,isBlob:k,isRegExp:Y,isFunction:p,isStream:R,isURLSearchParams:S,isTypedArray:K,isFileList:E,forEach:P,merge:D,extend:q,trim:N,stripBOM:L,inherits:M,toFlatObject:z,kindOf:a,kindOfTest:u,endsWith:H,toArray:V,forEachEntry:G,matchAll:J,isHTMLForm:X,hasOwnProperty:$,hasOwnProp:$,reduceDescriptors:Z,freezeMethods:Q,toObjectSet:ee,toCamelCase:W,noop:te,toFiniteNumber:re,findKey:I,global:B,isContextDefined:U,isSpecCompliantForm:ne,toJSONObject:ie,isAsyncFn:oe,isThenable:ae,setImmediate:ue,asap:se,isIterable:ce};function le(e,t,r,n,i){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack}this.message=e;this.name="AxiosError";t&&(this.code=t);r&&(this.config=r);n&&(this.request=n);if(i){this.response=i;this.status=i.status?i.status:null}}fe.inherits(le,Error,{toJSON:function e(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:fe.toJSONObject(this.config),code:this.code,status:this.status}}});var de=le.prototype;var ve={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){ve[e]={value:e}}));Object.defineProperties(le,ve);Object.defineProperty(de,"isAxiosError",{value:true});le.from=function(e,t,r,n,i,o){var a=Object.create(de);fe.toFlatObject(e,a,(function e(t){return t!==Error.prototype}),(function(e){return e!=="isAxiosError"}));le.call(a,e.message,t,r,n,i);a.cause=e;a.name=e.name;o&&Object.assign(a,o);return a};var he=null;function pe(e){return fe.isPlainObject(e)||fe.isArray(e)}function me(e){return fe.endsWith(e,"[]")?e.slice(0,-2):e}function be(e,t,r){if(!e)return t;return e.concat(t).map((function e(t,n){t=me(t);return!r&&n?"["+t+"]":t})).join(r?".":"")}function we(e){return fe.isArray(e)&&!e.some(pe)}var ye=fe.toFlatObject(fe,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function ge(e,t,r){if(!fe.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;r=fe.toFlatObject(r,{metaTokens:true,dots:false,indexes:false},false,(function e(t,r){return!fe.isUndefined(r[t])}));var n=r.metaTokens;var i=r.visitor||f;var o=r.dots;var a=r.indexes;var u=r.Blob||typeof Blob!=="undefined"&&Blob;var s=u&&fe.isSpecCompliantForm(t);if(!fe.isFunction(i)){throw new TypeError("visitor must be a function")}function c(e){if(e===null)return"";if(fe.isDate(e)){return e.toISOString()}if(fe.isBoolean(e)){return e.toString()}if(!s&&fe.isBlob(e)){throw new le("Blob is not supported. Use a Buffer instead.")}if(fe.isArrayBuffer(e)||fe.isTypedArray(e)){return s&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function f(e,r,i){var u=e;if(e&&!i&&typeof e==="object"){if(fe.endsWith(r,"{}")){r=n?r:r.slice(0,-2);e=JSON.stringify(e)}else if(fe.isArray(e)&&we(e)||(fe.isFileList(e)||fe.endsWith(r,"[]"))&&(u=fe.toArray(e))){r=me(r);u.forEach((function e(n,i){!(fe.isUndefined(n)||n===null)&&t.append(a===true?be([r],i,o):a===null?r:r+"[]",c(n))}));return false}}if(pe(e)){return true}t.append(be(i,r,o),c(e));return false}var l=[];var d=Object.assign(ye,{defaultVisitor:f,convertValue:c,isVisitable:pe});function v(e,r){if(fe.isUndefined(e))return;if(l.indexOf(e)!==-1){throw Error("Circular reference detected in "+r.join("."))}l.push(e);fe.forEach(e,(function e(n,o){var a=!(fe.isUndefined(n)||n===null)&&i.call(t,n,fe.isString(o)?o.trim():o,r,d);if(a===true){v(n,r?r.concat(o):[o])}}));l.pop()}if(!fe.isObject(e)){throw new TypeError("data must be an object")}v(e);return t}function xe(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function e(r){return t[r]}))}function _e(e,t){this._pairs=[];e&&ge(e,this,t)}var ke=_e.prototype;ke.append=function e(t,r){this._pairs.push([t,r])};ke.toString=function e(t){var r=t?function(e){return t.call(this,e,xe)}:xe;return this._pairs.map((function e(t){return r(t[0])+"="+r(t[1])}),"").join("&")};function Ee(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Re(e,t,r){if(!t){return e}var n=r&&r.encode||Ee;if(fe.isFunction(r)){r={serialize:r}}var i=r&&r.serialize;var o;if(i){o=i(t,r)}else{o=fe.isURLSearchParams(t)?t.toString():new _e(t,r).toString(n)}if(o){var a=e.indexOf("#");if(a!==-1){e=e.slice(0,a)}e+=(e.indexOf("?")===-1?"?":"&")+o}return e}var Oe=function(){function e(){this.handlers=[]}e.prototype.use=function(e,t,r){this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:false,runWhen:r?r.runWhen:null});return this.handlers.length-1};e.prototype.eject=function(e){if(this.handlers[e]){this.handlers[e]=null}};e.prototype.clear=function(){if(this.handlers){this.handlers=[]}};e.prototype.forEach=function(e){fe.forEach(this.handlers,(function t(r){if(r!==null){e(r)}}))};return e}();var Se=Oe;var Ae={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};var Te=typeof URLSearchParams!=="undefined"?URLSearchParams:_e;var je=typeof FormData!=="undefined"?FormData:null;var Ce=typeof Blob!=="undefined"?Blob:null;var Fe={isBrowser:true,classes:{URLSearchParams:Te,FormData:je,Blob:Ce},protocols:["http","https","file","blob","url","data"]};var Ne=typeof window!=="undefined"&&typeof document!=="undefined";var Pe=typeof navigator==="object"&&navigator||undefined;var Ie=Ne&&(!Pe||["ReactNative","NativeScript","NS"].indexOf(Pe.product)<0);var Be=function(){return typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"}();var Ue=Ne&&window.location.href||"http://localhost";var De=Object.freeze({__proto__:null,hasBrowserEnv:Ne,hasStandardBrowserWebWorkerEnv:Be,hasStandardBrowserEnv:Ie,navigator:Pe,origin:Ue});var qe=__assign(__assign({},De),Fe);function Le(e,t){return ge(e,new qe.classes.URLSearchParams,__assign({visitor:function(e,t,r,n){if(qe.isNode&&fe.isBuffer(e)){this.append(t,e.toString("base64"));return false}return n.defaultVisitor.apply(this,arguments)}},t))}function Me(e){return fe.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return e[0]==="[]"?"":e[1]||e[0]}))}function ze(e){var t={};var r=Object.keys(e);var n;var i=r.length;var o;for(n=0;n<i;n++){o=r[n];t[o]=e[o]}return t}function He(e){function t(e,r,n,i){var o=e[i++];if(o==="__proto__")return true;var a=Number.isFinite(+o);var u=i>=e.length;o=!o&&fe.isArray(n)?n.length:o;if(u){if(fe.hasOwnProp(n,o)){n[o]=[n[o],r]}else{n[o]=r}return!a}if(!n[o]||!fe.isObject(n[o])){n[o]=[]}var s=t(e,r,n[o],i);if(s&&fe.isArray(n[o])){n[o]=ze(n[o])}return!a}if(fe.isFormData(e)&&fe.isFunction(e.entries)){var r={};fe.forEachEntry(e,(function(e,n){t(Me(e),n,r,0)}));return r}return null}function Ve(e,t,r){if(fe.isString(e)){try{(0,JSON.parse)(e);return fe.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(r||JSON.stringify)(e)}var Ke={transitional:Ae,adapter:["xhr","http","fetch"],transformRequest:[function e(t,r){var n=r.getContentType()||"";var i=n.indexOf("application/json")>-1;var o=fe.isObject(t);if(o&&fe.isHTMLForm(t)){t=new FormData(t)}var a=fe.isFormData(t);if(a){return i?JSON.stringify(He(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)){r.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}var u;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){return Le(t,this.formSerializer).toString()}if((u=fe.isFileList(t))||n.indexOf("multipart/form-data")>-1){var s=this.env&&this.env.FormData;return ge(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}if(o||i){r.setContentType("application/json",false);return Ve(t)}return t}],transformResponse:[function e(t){var r=this.transitional||Ke.transitional;var n=r&&r.forcedJSONParsing;var i=this.responseType==="json";if(fe.isResponse(t)||fe.isReadableStream(t)){return t}if(t&&fe.isString(t)&&(n&&!this.responseType||i)){var o=r&&r.silentJSONParsing;var a=!o&&i;try{return JSON.parse(t)}catch(e){if(a){if(e.name==="SyntaxError"){throw le.from(e,le.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qe.classes.FormData,Blob:qe.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};fe.forEach(["delete","get","head","post","put","patch"],(function(e){Ke.headers[e]={}}));var Ge=Ke;var Je=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 Xe=function(e){var t={};var r;var n;var i;e&&e.split("\n").forEach((function e(o){i=o.indexOf(":");r=o.substring(0,i).trim().toLowerCase();n=o.substring(i+1).trim();if(!r||t[r]&&Je[r]){return}if(r==="set-cookie"){if(t[r]){t[r].push(n)}else{t[r]=[n]}}else{t[r]=t[r]?t[r]+", "+n:n}}));return t};var We=Symbol("internals");function $e(e){return e&&String(e).trim().toLowerCase()}function Ye(e){if(e===false||e==null){return e}return fe.isArray(e)?e.map(Ye):String(e)}function Ze(e){var t=Object.create(null);var r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var n;while(n=r.exec(e)){t[n[1]]=n[2]}return t}var Qe=function(e){return/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())};function et(e,t,r,n,i){if(fe.isFunction(n)){return n.call(this,t,r)}if(i){t=r}if(!fe.isString(t))return;if(fe.isString(n)){return t.indexOf(n)!==-1}if(fe.isRegExp(n)){return n.test(t)}}function tt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))}function rt(e,t){var r=fe.toCamelCase(" "+t);["get","set","has"].forEach((function(n){Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:true})}))}var nt=function(){function e(e){e&&this.set(e)}e.prototype.set=function(e,t,r){var n=this;function i(e,t,r){var i=$e(t);if(!i){throw new Error("header name must be a non-empty string")}var o=fe.findKey(n,i);if(!o||n[o]===undefined||r===true||r===undefined&&n[o]!==false){n[o||t]=Ye(e)}}var o=function(e,t){return fe.forEach(e,(function(e,r){return i(e,r,t)}))};if(fe.isPlainObject(e)||e instanceof this.constructor){o(e,t)}else if(fe.isString(e)&&(e=e.trim())&&!Qe(e)){o(Xe(e),t)}else if(fe.isObject(e)&&fe.isIterable(e)){var a={},u=void 0,s=void 0;for(var c=0,f=e;c<f.length;c++){var l=f[c];if(!fe.isArray(l)){throw TypeError("Object iterator must return a key-value pair")}a[s=l[0]]=(u=a[s])?fe.isArray(u)?__spreadArray(__spreadArray([],u,true),[l[1]],false):[u,l[1]]:l[1]}o(a,t)}else{e!=null&&i(t,e,r)}return this};e.prototype.get=function(e,t){e=$e(e);if(e){var r=fe.findKey(this,e);if(r){var n=this[r];if(!t){return n}if(t===true){return Ze(n)}if(fe.isFunction(t)){return t.call(this,n,r)}if(fe.isRegExp(t)){return t.exec(n)}throw new TypeError("parser must be boolean|regexp|function")}}};e.prototype.has=function(e,t){e=$e(e);if(e){var r=fe.findKey(this,e);return!!(r&&this[r]!==undefined&&(!t||et(this,this[r],r,t)))}return false};e.prototype.delete=function(e,t){var r=this;var n=false;function i(e){e=$e(e);if(e){var i=fe.findKey(r,e);if(i&&(!t||et(r,r[i],i,t))){delete r[i];n=true}}}if(fe.isArray(e)){e.forEach(i)}else{i(e)}return n};e.prototype.clear=function(e){var t=Object.keys(this);var r=t.length;var n=false;while(r--){var i=t[r];if(!e||et(this,this[i],i,e,true)){delete this[i];n=true}}return n};e.prototype.normalize=function(e){var t=this;var r={};fe.forEach(this,(function(n,i){var o=fe.findKey(r,i);if(o){t[o]=Ye(n);delete t[i];return}var a=e?tt(i):String(i).trim();if(a!==i){delete t[i]}t[a]=Ye(n);r[a]=true}));return this};e.prototype.concat=function(){var e;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return(e=this.constructor).concat.apply(e,__spreadArray([this],t,false))};e.prototype.toJSON=function(e){var t=Object.create(null);fe.forEach(this,(function(r,n){r!=null&&r!==false&&(t[n]=e&&fe.isArray(r)?r.join(", "):r)}));return t};e.prototype[Symbol.iterator]=function(){return Object.entries(this.toJSON())[Symbol.iterator]()};e.prototype.toString=function(){return Object.entries(this.toJSON()).map((function(e){var t=e[0],r=e[1];return t+": "+r})).join("\n")};e.prototype.getSetCookie=function(){return this.get("set-cookie")||[]};Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return"AxiosHeaders"},enumerable:false,configurable:true});e.from=function(e){return e instanceof this?e:new this(e)};e.concat=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}var n=new this(e);t.forEach((function(e){return n.set(e)}));return n};e.accessor=function(e){var t=this[We]=this[We]={accessors:{}};var r=t.accessors;var n=this.prototype;function i(e){var t=$e(e);if(!r[t]){rt(n,e);r[t]=true}}fe.isArray(e)?e.forEach(i):i(e);return this};return e}();nt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);fe.reduceDescriptors(nt.prototype,(function(e,t){var r=e.value;var n=t[0].toUpperCase()+t.slice(1);return{get:function(){return r},set:function(e){this[n]=e}}}));fe.freezeMethods(nt);var it=nt;function ot(e,t){var r=this||Ge;var n=t||r;var i=it.from(n.headers);var o=n.data;fe.forEach(e,(function e(n){o=n.call(r,o,i.normalize(),t?t.status:undefined)}));i.normalize();return o}function at(e){return!!(e&&e.__CANCEL__)}function ut(e,t,r){le.call(this,e==null?"canceled":e,le.ERR_CANCELED,t,r);this.name="CanceledError"}fe.inherits(ut,le,{__CANCEL__:true});function st(e,t,r){var n=r.config.validateStatus;if(!r.status||!n||n(r.status)){e(r)}else{t(new le("Request failed with status code "+r.status,[le.ERR_BAD_REQUEST,le.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}}function ct(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ft(e,t){e=e||10;var r=new Array(e);var n=new Array(e);var i=0;var o=0;var a;t=t!==undefined?t:1e3;return function u(s){var c=Date.now();var f=n[o];if(!a){a=c}r[i]=s;n[i]=c;var l=o;var d=0;while(l!==i){d+=r[l++];l=l%e}i=(i+1)%e;if(i===o){o=(o+1)%e}if(c-a<t){return}var v=f&&c-f;return v?Math.round(d*1e3/v):undefined}}function lt(e,t){var r=0;var n=1e3/t;var i;var o;var a=function(t,n){if(n===void 0){n=Date.now()}r=n;i=null;if(o){clearTimeout(o);o=null}e.apply(void 0,t)};var u=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var u=Date.now();var s=u-r;if(s>=n){a(e,u)}else{i=e;if(!o){o=setTimeout((function(){o=null;a(i)}),n-s)}}};var s=function(){return i&&a(i)};return[u,s]}var dt=function(e,t,r){if(r===void 0){r=3}var n=0;var i=ft(50,250);return lt((function(r){var o;var a=r.loaded;var u=r.lengthComputable?r.total:undefined;var s=a-n;var c=i(s);var f=a<=u;n=a;var l=(o={loaded:a,total:u,progress:u?a/u:undefined,bytes:s,rate:c?c:undefined,estimated:c&&u&&f?(u-a)/c:undefined,event:r,lengthComputable:u!=null},o[t?"download":"upload"]=true,o);e(l)}),r)};var vt=function(e,t){var r=e!=null;return[function(n){return t[0]({lengthComputable:r,total:e,loaded:n})},t[1]]};var ht=function(e){return function(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return fe.asap((function(){return e.apply(void 0,t)}))}};var pt=qe.hasStandardBrowserEnv?function(e,t){return function(r){r=new URL(r,qe.origin);return e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)}}(new URL(qe.origin),qe.navigator&&/(msie|trident)/i.test(qe.navigator.userAgent)):function(){return true};var mt=qe.hasStandardBrowserEnv?{write:function(e,t,r,n,i,o){var a=[e+"="+encodeURIComponent(t)];fe.isNumber(r)&&a.push("expires="+new Date(r).toGMTString());fe.isString(n)&&a.push("path="+n);fe.isString(i)&&a.push("domain="+i);o===true&&a.push("secure");document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function bt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function wt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function yt(e,t,r){var n=!bt(t);if(e&&(n||r==false)){return wt(e,t)}return t}var gt=function(e){return e instanceof it?__assign({},e):e};function xt(e,t){t=t||{};var r={};function n(e,t,r,n){if(fe.isPlainObject(e)&&fe.isPlainObject(t)){return fe.merge.call({caseless:n},e,t)}else if(fe.isPlainObject(t)){return fe.merge({},t)}else if(fe.isArray(t)){return t.slice()}return t}function i(e,t,r,i){if(!fe.isUndefined(t)){return n(e,t,r,i)}else if(!fe.isUndefined(e)){return n(undefined,e,r,i)}}function o(e,t){if(!fe.isUndefined(t)){return n(undefined,t)}}function a(e,t){if(!fe.isUndefined(t)){return n(undefined,t)}else if(!fe.isUndefined(e)){return n(undefined,e)}}function u(r,i,o){if(o in t){return n(r,i)}else if(o in e){return n(undefined,r)}}var s={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:function(e,t,r){return i(gt(e),gt(t),r,true)}};fe.forEach(Object.keys(__assign(__assign({},e),t)),(function n(o){var a=s[o]||i;var c=a(e[o],t[o],o);fe.isUndefined(c)&&a!==u||(r[o]=c)}));return r}var _t=function(e){var t=xt({},e);var r=t.data,n=t.withXSRFToken,i=t.xsrfHeaderName,o=t.xsrfCookieName,a=t.headers,u=t.auth;t.headers=a=it.from(a);t.url=Re(yt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer);if(u){a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")))}var s;if(fe.isFormData(r)){if(qe.hasStandardBrowserEnv||qe.hasStandardBrowserWebWorkerEnv){a.setContentType(undefined)}else if((s=a.getContentType())!==false){var c=s?s.split(";").map((function(e){return e.trim()})).filter(Boolean):[],f=c[0],l=c.slice(1);a.setContentType(__spreadArray([f||"multipart/form-data"],l,true).join("; "))}}if(qe.hasStandardBrowserEnv){n&&fe.isFunction(n)&&(n=n(t));if(n||n!==false&&pt(t.url)){var d=i&&o&&mt.read(o);if(d){a.set(i,d)}}}return t};var kt=typeof XMLHttpRequest!=="undefined";var Et=kt&&function(e){return new Promise((function t(r,n){var i,o;var a=_t(e);var u=a.data;var s=it.from(a.headers).normalize();var c=a.responseType,f=a.onUploadProgress,l=a.onDownloadProgress;var d;var v,h;var p,m;function b(){p&&p();m&&m();a.cancelToken&&a.cancelToken.unsubscribe(d);a.signal&&a.signal.removeEventListener("abort",d)}var w=new XMLHttpRequest;w.open(a.method.toUpperCase(),a.url,true);w.timeout=a.timeout;function y(){if(!w){return}var t=it.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders());var i=!c||c==="text"||c==="json"?w.responseText:w.response;var o={data:i,status:w.status,statusText:w.statusText,headers:t,config:e,request:w};st((function e(t){r(t);b()}),(function e(t){n(t);b()}),o);w=null}if("onloadend"in w){w.onloadend=y}else{w.onreadystatechange=function e(){if(!w||w.readyState!==4){return}if(w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)){return}setTimeout(y)}}w.onabort=function t(){if(!w){return}n(new le("Request aborted",le.ECONNABORTED,e,w));w=null};w.onerror=function t(){n(new le("Network Error",le.ERR_NETWORK,e,w));w=null};w.ontimeout=function t(){var r=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";var i=a.transitional||Ae;if(a.timeoutErrorMessage){r=a.timeoutErrorMessage}n(new le(r,i.clarifyTimeoutError?le.ETIMEDOUT:le.ECONNABORTED,e,w));w=null};u===undefined&&s.setContentType(null);if("setRequestHeader"in w){fe.forEach(s.toJSON(),(function e(t,r){w.setRequestHeader(r,t)}))}if(!fe.isUndefined(a.withCredentials)){w.withCredentials=!!a.withCredentials}if(c&&c!=="json"){w.responseType=a.responseType}if(l){i=dt(l,true),h=i[0],m=i[1];w.addEventListener("progress",h)}if(f&&w.upload){o=dt(f),v=o[0],p=o[1];w.upload.addEventListener("progress",v);w.upload.addEventListener("loadend",p)}if(a.cancelToken||a.signal){d=function(t){if(!w){return}n(!t||t.type?new ut(null,e,w):t);w.abort();w=null};a.cancelToken&&a.cancelToken.subscribe(d);if(a.signal){a.signal.aborted?d():a.signal.addEventListener("abort",d)}}var g=ct(a.url);if(g&&qe.protocols.indexOf(g)===-1){n(new le("Unsupported protocol "+g+":",le.ERR_BAD_REQUEST,e));return}w.send(u||null)}))};var Rt=function(e,t){var r=(e=e?e.filter(Boolean):[]).length;if(t||r){var n=new AbortController;var i;var o=function(e){if(!i){i=true;u();var t=e instanceof Error?e:this.reason;n.abort(t instanceof le?t:new ut(t instanceof Error?t.message:t))}};var a=t&&setTimeout((function(){a=null;o(new le("timeout ".concat(t," of ms exceeded"),le.ETIMEDOUT))}),t);var u=function(){if(e){a&&clearTimeout(a);a=null;e.forEach((function(e){e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}));e=null}};e.forEach((function(e){return e.addEventListener("abort",o)}));var s=n.signal;s.unsubscribe=function(){return fe.asap(u)};return s}};var Ot=Rt;var St=function(e,t){var r,n,i;return __generator(this,(function(o){switch(o.label){case 0:r=e.byteLength;if(!(r<t))return[3,2];return[4,e];case 1:o.sent();return[2];case 2:n=0;o.label=3;case 3:if(!(n<r))return[3,5];i=n+t;return[4,e.slice(n,i)];case 4:o.sent();n=i;return[3,3];case 5:return[2]}}))};var At=function(e,t){return __asyncGenerator(this,arguments,(function(){var r,n,i,o,a;var u,s,c,f;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,7,8,13]);r=true,n=__asyncValues(Tt(e));l.label=1;case 1:return[4,__await(n.next())];case 2:if(!(i=l.sent(),u=i.done,!u))return[3,6];f=i.value;r=false;o=f;return[5,__values(__asyncDelegator(__asyncValues(St(o,t))))];case 3:return[4,__await.apply(void 0,[l.sent()])];case 4:l.sent();l.label=5;case 5:r=true;return[3,1];case 6:return[3,13];case 7:a=l.sent();s={error:a};return[3,13];case 8:l.trys.push([8,,11,12]);if(!(!r&&!u&&(c=n.return)))return[3,10];return[4,__await(c.call(n))];case 9:l.sent();l.label=10;case 10:return[3,12];case 11:if(s)throw s.error;return[7];case 12:return[7];case 13:return[2]}}))}))};var Tt=function(e){return __asyncGenerator(this,arguments,(function(){var t,r,n,i;return __generator(this,(function(o){switch(o.label){case 0:if(!e[Symbol.asyncIterator])return[3,4];return[5,__values(__asyncDelegator(__asyncValues(e)))];case 1:return[4,__await.apply(void 0,[o.sent()])];case 2:o.sent();return[4,__await(void 0)];case 3:return[2,o.sent()];case 4:t=e.getReader();o.label=5;case 5:o.trys.push([5,,12,14]);o.label=6;case 6:return[4,__await(t.read())];case 7:r=o.sent(),n=r.done,i=r.value;if(n){return[3,11]}return[4,__await(i)];case 8:return[4,o.sent()];case 9:o.sent();o.label=10;case 10:return[3,6];case 11:return[3,14];case 12:return[4,__await(t.cancel())];case 13:o.sent();return[7];case 14:return[2]}}))}))};var jt=function(e,t,r,n){var i=At(e,t);var o=0;var a;var u=function(e){if(!a){a=true;n&&n(e)}};return new ReadableStream({pull:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,a,s,c,f;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,2,,3]);return[4,i.next()];case 1:t=l.sent(),n=t.done,a=t.value;if(n){u();e.close();return[2]}s=a.byteLength;if(r){c=o+=s;r(c)}e.enqueue(new Uint8Array(a));return[3,3];case 2:f=l.sent();u(f);throw f;case 3:return[2]}}))}))},cancel:function(e){u(e);return i.return()}},{highWaterMark:2})};var Ct=typeof fetch==="function"&&typeof Request==="function"&&typeof Response==="function";var Ft=Ct&&typeof ReadableStream==="function";var Nt=Ct&&(typeof TextEncoder==="function"?function(e){return function(t){return e.encode(t)}}(new TextEncoder):function(t){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:e=Uint8Array.bind;return[4,new Response(t).arrayBuffer()];case 1:return[2,new(e.apply(Uint8Array,[void 0,r.sent()]))]}}))}))});var Pt=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}try{return!!e.apply(void 0,t)}catch(e){return false}};var It=Ft&&Pt((function(){var e=false;var t=new Request(qe.origin,{body:new ReadableStream,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));var Bt=64*1024;var Ut=Ft&&Pt((function(){return fe.isReadableStream(new Response("").body)}));var Dt={stream:Ut&&function(e){return e.body}};Ct&&function(e){["text","arrayBuffer","blob","formData","stream"].forEach((function(t){!Dt[t]&&(Dt[t]=fe.isFunction(e[t])?function(e){return e[t]()}:function(e,r){throw new le("Response type '".concat(t,"' is not supported"),le.ERR_NOT_SUPPORT,r)})}))}(new Response);var qt=function(t){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:if(t==null){return[2,0]}if(fe.isBlob(t)){return[2,t.size]}if(!fe.isSpecCompliantForm(t))return[3,2];e=new Request(qe.origin,{method:"POST",body:t});return[4,e.arrayBuffer()];case 1:return[2,r.sent().byteLength];case 2:if(fe.isArrayBufferView(t)||fe.isArrayBuffer(t)){return[2,t.byteLength]}if(fe.isURLSearchParams(t)){t=t+""}if(!fe.isString(t))return[3,4];return[4,Nt(t)];case 3:return[2,r.sent().byteLength];case 4:return[2]}}))}))};var Lt=function(t,r){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(n){e=fe.toFiniteNumber(t.getContentLength());return[2,e==null?qt(r):e]}))}))};var Mt=Ct&&function(t){return __awaiter(e,void 0,void 0,(function(){var e,r,n,i,o,a,u,s,c,f,l,d,v,h,p,m,b,w,y,g,x,_,k,E,R,O,S,A,T,j,k,C,F,N;return __generator(this,(function(P){switch(P.label){case 0:e=_t(t),r=e.url,n=e.method,i=e.data,o=e.signal,a=e.cancelToken,u=e.timeout,s=e.onDownloadProgress,c=e.onUploadProgress,f=e.responseType,l=e.headers,d=e.withCredentials,v=d===void 0?"same-origin":d,h=e.fetchOptions;f=f?(f+"").toLowerCase():"text";p=Ot([o,a&&a.toAbortSignal()],u);b=p&&p.unsubscribe&&function(){p.unsubscribe()};P.label=1;case 1:P.trys.push([1,7,,8]);y=c&&It&&n!=="get"&&n!=="head";if(!y)return[3,3];return[4,Lt(l,i)];case 2:y=(w=P.sent())!==0;P.label=3;case 3:if(y){g=new Request(r,{method:"POST",body:i,duplex:"half"});x=void 0;if(fe.isFormData(i)&&(x=g.headers.get("content-type"))){l.setContentType(x)}if(g.body){_=vt(w,dt(ht(c))),k=_[0],E=_[1];i=jt(g.body,Bt,k,E)}}if(!fe.isString(v)){v=v?"include":"omit"}R="credentials"in Request.prototype;m=new Request(r,__assign(__assign({},h),{signal:p,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:R?v:undefined}));return[4,fetch(m,h)];case 4:O=P.sent();S=Ut&&(f==="stream"||f==="response");if(Ut&&(s||S&&b)){A={};["status","statusText","headers"].forEach((function(e){A[e]=O[e]}));T=fe.toFiniteNumber(O.headers.get("content-length"));j=s&&vt(T,dt(ht(s),true))||[],k=j[0],C=j[1];O=new Response(jt(O.body,Bt,k,(function(){C&&C();b&&b()})),A)}f=f||"text";return[4,Dt[fe.findKey(Dt,f)||"text"](O,t)];case 5:F=P.sent();!S&&b&&b();return[4,new Promise((function(e,r){st(e,r,{data:F,headers:it.from(O.headers),status:O.status,statusText:O.statusText,config:t,request:m})}))];case 6:return[2,P.sent()];case 7:N=P.sent();b&&b();if(N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)){throw Object.assign(new le("Network Error",le.ERR_NETWORK,t,m),{cause:N.cause||N})}throw le.from(N,N&&N.code,t,m);case 8:return[2]}}))}))};var zt={http:he,xhr:Et,fetch:Mt};fe.forEach(zt,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var Ht=function(e){return"- ".concat(e)};var Vt=function(e){return fe.isFunction(e)||e===null||e===false};var Kt={getAdapter:function(e){e=fe.isArray(e)?e:[e];var t=e.length;var r;var n;var i={};for(var o=0;o<t;o++){r=e[o];var a=void 0;n=r;if(!Vt(r)){n=zt[(a=String(r)).toLowerCase()];if(n===undefined){throw new le("Unknown adapter '".concat(a,"'"))}}if(n){break}i[a||"#"+o]=n}if(!n){var u=Object.entries(i).map((function(e){var t=e[0],r=e[1];return"adapter ".concat(t," ")+(r===false?"is not supported by the environment":"is not available in the build")}));var s=t?u.length>1?"since :\n"+u.map(Ht).join("\n"):" "+Ht(u[0]):"as no adapter specified";throw new le("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:zt};function Gt(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new ut(null,e)}}function Jt(e){Gt(e);e.headers=it.from(e.headers);e.data=ot.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}var t=Kt.getAdapter(e.adapter||Ge.adapter);return t(e).then((function t(r){Gt(e);r.data=ot.call(e,e.transformResponse,r);r.headers=it.from(r.headers);return r}),(function t(r){if(!at(r)){Gt(e);if(r&&r.response){r.response.data=ot.call(e,e.transformResponse,r.response);r.response.headers=it.from(r.response.headers)}}return Promise.reject(r)}))}var Xt="1.11.0";var Wt={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Wt[e]=function r(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var $t={};Wt.transitional=function e(t,r,n){function i(e,t){return"[Axios v"+Xt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(e,n,o){if(t===false){throw new le(i(n," has been removed"+(r?" in "+r:"")),le.ERR_DEPRECATED)}if(r&&!$t[n]){$t[n]=true;console.warn(i(n," has been deprecated since v"+r+" and will be removed in the near future"))}return t?t(e,n,o):true}};Wt.spelling=function e(t){return function(e,r){console.warn("".concat(r," is likely a misspelling of ").concat(t));return true}};function Yt(e,t,r){if(typeof e!=="object"){throw new le("options must be an object",le.ERR_BAD_OPTION_VALUE)}var n=Object.keys(e);var i=n.length;while(i-- >0){var o=n[i];var a=t[o];if(a){var u=e[o];var s=u===undefined||a(u,o,e);if(s!==true){throw new le("option "+o+" must be "+s,le.ERR_BAD_OPTION_VALUE)}continue}if(r!==true){throw new le("Unknown option "+o,le.ERR_BAD_OPTION)}}}var Zt={assertOptions:Yt,validators:Wt};var Qt=Zt.validators;var er=function(){function e(e){this.defaults=e||{};this.interceptors={request:new Se,response:new Se}}e.prototype.request=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,this._request(e,t)];case 1:return[2,o.sent()];case 2:r=o.sent();if(r instanceof Error){n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;i=n.stack?n.stack.replace(/^.+\n/,""):"";try{if(!r.stack){r.stack=i}else if(i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))){r.stack+="\n"+i}}catch(e){}}throw r;case 3:return[2]}}))}))};e.prototype._request=function(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=xt(this.defaults,t);var r=t.transitional,n=t.paramsSerializer,i=t.headers;if(r!==undefined){Zt.assertOptions(r,{silentJSONParsing:Qt.transitional(Qt.boolean),forcedJSONParsing:Qt.transitional(Qt.boolean),clarifyTimeoutError:Qt.transitional(Qt.boolean)},false)}if(n!=null){if(fe.isFunction(n)){t.paramsSerializer={serialize:n}}else{Zt.assertOptions(n,{encode:Qt.function,serialize:Qt.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}Zt.assertOptions(t,{baseUrl:Qt.spelling("baseURL"),withXsrfToken:Qt.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();var o=i&&fe.merge(i.common,i[t.method]);i&&fe.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete i[e]}));t.headers=it.concat(o,i);var a=[];var u=true;this.interceptors.request.forEach((function e(r){if(typeof r.runWhen==="function"&&r.runWhen(t)===false){return}u=u&&r.synchronous;a.unshift(r.fulfilled,r.rejected)}));var s=[];this.interceptors.response.forEach((function e(t){s.push(t.fulfilled,t.rejected)}));var c;var f=0;var l;if(!u){var d=[Jt.bind(this),undefined];d.unshift.apply(d,a);d.push.apply(d,s);l=d.length;c=Promise.resolve(t);while(f<l){c=c.then(d[f++],d[f++])}return c}l=a.length;var v=t;f=0;while(f<l){var h=a[f++];var p=a[f++];try{v=h(v)}catch(e){p.call(this,e);break}}try{c=Jt.call(this,v)}catch(e){return Promise.reject(e)}f=0;l=s.length;while(f<l){c=c.then(s[f++],s[f++])}return c};e.prototype.getUri=function(e){e=xt(this.defaults,e);var t=yt(e.baseURL,e.url,e.allowAbsoluteUrls);return Re(t,e.params,e.paramsSerializer)};return e}();fe.forEach(["delete","get","head","options"],(function e(t){er.prototype[t]=function(e,r){return this.request(xt(r||{},{method:t,url:e,data:(r||{}).data}))}}));fe.forEach(["post","put","patch"],(function e(t){function r(e){return function r(n,i,o){return this.request(xt(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}er.prototype[t]=r();er.prototype[t+"Form"]=r(true)}));var tr=er;var rr=function(){function e(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var t;this.promise=new Promise((function e(r){t=r}));var r=this;this.promise.then((function(e){if(!r._listeners)return;var t=r._listeners.length;while(t-- >0){r._listeners[t](e)}r._listeners=null}));this.promise.then=function(e){var t;var n=new Promise((function(e){r.subscribe(e);t=e})).then(e);n.cancel=function e(){r.unsubscribe(t)};return n};e((function e(n,i,o){if(r.reason){return}r.reason=new ut(n,i,o);t(r.reason)}))}e.prototype.throwIfRequested=function(){if(this.reason){throw this.reason}};e.prototype.subscribe=function(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}};e.prototype.unsubscribe=function(e){if(!this._listeners){return}var t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}};e.prototype.toAbortSignal=function(){var e=this;var t=new AbortController;var r=function(e){t.abort(e)};this.subscribe(r);t.signal.unsubscribe=function(){return e.unsubscribe(r)};return t.signal};e.source=function(){var t;var r=new e((function e(r){t=r}));return{token:r,cancel:t}};return e}();var nr=rr;function ir(e){return function t(r){return e.apply(null,r)}}function or(e){return fe.isObject(e)&&e.isAxiosError===true}var ar={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};Object.entries(ar).forEach((function(e){var t=e[0],r=e[1];ar[r]=t}));var ur=ar;function sr(e){var r=new tr(e);var n=t(tr.prototype.request,r);fe.extend(n,tr.prototype,r,{allOwnKeys:true});fe.extend(n,r,null,{allOwnKeys:true});n.create=function t(r){return sr(xt(e,r))};return n}var cr=sr(Ge);cr.Axios=tr;cr.CanceledError=ut;cr.CancelToken=nr;cr.isCancel=at;cr.VERSION=Xt;cr.toFormData=ge;cr.AxiosError=le;cr.Cancel=cr.CanceledError;cr.all=function e(t){return Promise.all(t)};cr.spread=ir;cr.isAxiosError=or;cr.mergeConfig=xt;cr.AxiosHeaders=it;cr.formToJSON=function(e){return He(fe.isHTMLForm(e)?new FormData(e):e)};cr.getAdapter=Kt.getAdapter;cr.HttpStatusCode=ur;cr.default=cr;axios_1=cr;return axios_1}var axiosExports=requireAxios();var axios=getDefaultExportFromCjs(axiosExports);var API_KEY=BETA_ORIGINS.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";var getFeatureFlags=function(){return axios.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:API_KEY}}).then((function(e){return e.data})).catch((function(e){console.log("Unleash: Unable to fetch feature flags",e);throw e}))};var verdocsContactPickerCss='@-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:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", 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:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", 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:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", 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}';var addrBookIcon='<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>';var VerdocsContactPicker=function(){function e(e){registerInstance(this,e);this.searchContacts=createEvent(this,"searchContacts");this.exit=createEvent(this,"exit");this.next=createEvent(this,"next");this.endpoint=VerdocsEndpoint.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-".concat(Math.random().toString(36).substring(2,11));this.lastNameFieldId="verdocs-contact-picker-lastname-".concat(Math.random().toString(36).substring(2,11));this.emailFieldId="verdocs-contact-picker-email-".concat(Math.random().toString(36).substring(2,11));this.phoneFieldId="verdocs-contact-picker-phone-".concat(Math.random().toString(36).substring(2,11));this.featureFlags=null;this.activeEntitlements={}}e.prototype.componentWillLoad=function(){var e=this;this.endpoint.loadSession();if(this.templateRole){var t=formatFullName(this.templateRole);var r=t.split(" ");var n=this.templateRole.first_name||r.shift()||"";var i=this.templateRole.last_name||r.join(" ")||"";this.first_name=n;this.last_name=i;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||""}getActiveEntitlements(this.endpoint).then((function(t){e.activeEntitlements=t;console.log("[CONTACT PICKER] Loaded entitlements",t)})).catch((function(e){return console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)}));getFeatureFlags().then((function(t){e.featureFlags=t;console.log("[CONTACT PICKER] Loaded feature flags",t)})).catch((function(e){console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))};e.prototype.handleFirstNameChange=function(e){var t;this.first_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.first_name})};e.prototype.handleLastNameChange=function(e){var t;this.last_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.last_name})};e.prototype.handleCancel=function(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.exit)===null||t===void 0?void 0:t.emit()};e.prototype.handleSubmit=function(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})};e.prototype.handleSelectSuggestion=function(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};e.prototype.render=function(){var e=this;var t,r,n,i,o,a,u,s,c,f,l,d,v,p,m,b,w,y;var g=this.first_name&&this.last_name&&isValidEmail(this.email);var x=!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;var _=g&&x;var k=((n=(r=(t=this.featureFlags)===null||t===void 0?void 0:t.toggles)===null||r===void 0?void 0:r.find((function(e){return e.name==="sms"})))===null||n===void 0?void 0:n.enabled)===true;var E=[];if(((a=(o=(i=this.featureFlags)===null||i===void 0?void 0:i.toggles)===null||o===void 0?void 0:o.find((function(e){return e.name==="passcode-verification"})))===null||a===void 0?void 0:a.enabled)===true){E.push({label:"Passcode",value:"passcode"})}if(((c=(s=(u=this.featureFlags)===null||u===void 0?void 0:u.toggles)===null||s===void 0?void 0:s.find((function(e){return e.name==="email-verification"})))===null||c===void 0?void 0:c.enabled)===true){E.push({label:"Email",value:"email"})}if(k&&((d=(l=(f=this.featureFlags)===null||f===void 0?void 0:f.toggles)===null||l===void 0?void 0:l.find((function(e){return e.name==="sms-verification"})))===null||d===void 0?void 0:d.enabled)===true&&!!this.activeEntitlements.sms_auth){E.push({label:"SMS (One-Time Code)",value:"sms"})}if(((m=(p=(v=this.featureFlags)===null||v===void 0?void 0:v.toggles)===null||p===void 0?void 0:p.find((function(e){return e.name==="kba-verification"})))===null||m===void 0?void 0:m.enabled)===true&&!!this.activeEntitlements.kba_auth){E.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((y=(w=(b=this.featureFlags)===null||b===void 0?void 0:b.toggles)===null||w===void 0?void 0:w.find((function(e){return e.name==="id-verification"})))===null||y===void 0?void 0:y.enabled)===true&&!!this.activeEntitlements.id_auth){E.push({label:"ID Check",value:"id"})}return h("form",{key:"5b4d4de3ad06d4cb458b92ca6159fadcbb38a89e",onSubmit:function(e){return e.preventDefault()},autocomplete:"off"},h("div",{key:"065bd43ea84a5431f4cb370491147377d0b4ed87",class:"row"},h("label",{key:"48e3ab3a13607b42018e400703910d08f053d7c0",htmlFor:this.firstNameFieldId},"Name:"),h("div",{key:"c1acb5b9cfd0cdbd17edce151e66035826ae3e15",class:"names-row"},h("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:function(){setTimeout((function(){var t;e.showSuggestions=((t=e.contactSuggestions)===null||t===void 0?void 0:t.length)>0}),100)},onInput:function(t){return e.handleFirstNameChange(t)}}),h("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:function(){setTimeout((function(){var t;e.showSuggestions=((t=e.contactSuggestions)===null||t===void 0?void 0:t.length)>0}),100)},onInput:function(t){return e.handleLastNameChange(t)}})),this.showSuggestions&&h("verdocs-portal",{key:"6a03422c1dbe45c1e8a389af0f884f2f4b525aca",anchor:this.firstNameFieldId,onClickAway:function(){e.showSuggestions=false;document.querySelectorAll(".verdocs-portal-wrapper").forEach((function(e){return e.remove()}))},id:"verdocs-contact-picker-suggestions"},h("div",{key:"a9907d3c7b291fde2e86a3a0dd2bfb0f2c1d06b3",class:"dropdown"},this.contactSuggestions.filter((function(t){return!e.first_name||t.first_name.toLowerCase().includes(e.first_name.toLowerCase())})).map((function(t){var r;return h("div",{key:(r=t.id)!==null&&r!==void 0?r:t.email,class:"suggestion",onClick:function(r){return e.handleSelectSuggestion(r,t)}},t.picture?h("img",{alt:"Avatar",class:"avatar",src:t.picture}):h("div",{class:"avatar",innerHTML:addrBookIcon}),h("div",{class:"details"},h("div",{class:"name"},formatFullName(t)),t.email&&h("div",{class:"destination"},t.email),t.phone&&h("div",{class:"destination"},t.phone)))}))))),h("div",{key:"220b7dc0f04eb27279e003aaa196aee58b51ec64",class:"row"},h("label",{key:"7120d789f96a375a3f6237b93a3699866dae5e0e",htmlFor:this.emailFieldId},"Email:"),h("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:function(){return e.showSuggestions=false},onInput:function(t){return e.email=t.target.value}})),k&&h("div",{key:"8b888dd8490d99235bd1d1b2e6acce6d64fbf5a4",class:"row"},h("label",{key:"702e60156cfbe39cc56c20ca5f9e5b112eb8fbb5",htmlFor:this.phoneFieldId},"Phone:"),h("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:function(){return e.showSuggestions=false},onInput:function(t){e.phone=convertToE164(t.target.value)}})),h(Fragment,{key:"60d3ccc50417d1fbe6a815d6edf37619f945b63e"},E.length>0&&h("div",{key:"f1248b2c40c1cfb22cfa577bc1f5c5895362ded2",class:"row pin-code"},h("label",{key:"d782f794fa6a8d2ca18835db9e8d6e510038f212"},"Verification Methods:"),h("div",{key:"51370acfa10be18fa7783ee28849caaf9ad11fcb"},E.map((function(t,r){return h("div",{class:"option"},h("verdocs-checkbox",{size:"small",id:"verdocs-multi-select-opt-".concat(r),value:t.value,checked:e.auth_methods.includes(t.value),onInput:function(r){if(r.target.checked){e.auth_methods=__spreadArray(__spreadArray([],e.auth_methods,true),[t.value],false)}else{e.auth_methods=e.auth_methods.filter((function(e){return e!==t.value}))}}}),h("label",{htmlFor:"verdocs-multi-select-option-".concat(r)},t.label))})))),this.auth_methods.includes("passcode")&&h("div",{key:"37cc47ae07fcee96a90ca0684307b2fa12436fbd",class:"row pin-code"},h("label",{key:"57b9975fcdf609ebcfd709f2cc646f74163eda15",htmlFor:this.phoneFieldId},"Passcode:"),h("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:function(){return e.showSuggestions=false},onInput:function(t){return e.passcode=t.target.value}}))),h("div",{key:"7bed0f7befff14122e821680fce895d64889212c",class:"row pin-code"},h("label",{key:"295f03231ca15e2a25895d8f6dca7b7507fc58fa"},"Delegation:"),h("div",{key:"21d03961df0853b3f1e4a4b3e9445e8a3ecf80ee"},h("div",{key:"1e70e144d4e678e9697039468549ef38606dc3b7",class:"option"},h("verdocs-checkbox",{key:"8f94ea2d0b3f1bc8831c8666d379ebc2a22fbb95",size:"small",id:"verdocs-delegator",checked:this.delegator,onInput:function(t){e.delegator=t.target.checked}}),h("label",{key:"9ea3f9f359f7045aebd80367af0a7431d1e850e4",htmlFor:"verdocs-delegator"},"May delegate signing")))),h("div",{key:"90e07660115c7f41ade3aad5fe4eb93d7d8cb4fd",class:"row message"},h("label",{key:"0268f3ecd123de3c8d0e27b345253385157bfce6",htmlFor:"verdocs-contact-picker-message"},"Message:"),h("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:function(){return e.showSuggestions=false},onInput:function(t){return e.message=t.target.value}},this.message)),h("div",{key:"9bfb44085c94a08a9d2957d031e263d398ab170b",class:"buttons"},h("div",{key:"2b21510d850071094dd7005c26de4e8cd14c992d",class:"flex-fill"}),h("verdocs-button",{key:"881527d8167c31490622f3e9f0252cfdd3139d58",variant:"outline",label:"Cancel",size:"small",onClick:function(t){return e.handleCancel(t)}}),h("verdocs-button",{key:"3dbc5efa49eb696eedb2d50c06837b70abea5e80",label:"OK",size:"small",disabled:!_,onClick:!_?function(){}:function(t){return e.handleSubmit(t)}})))};return e}();VerdocsContactPicker.style=verdocsContactPickerCss;export{VerdocsContactPicker as verdocs_contact_picker};
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))e[i]=t[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,t,r,n){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function a(e){try{s(n.next(e))}catch(e){o(e)}}function u(e){try{s(n["throw"](e))}catch(e){o(e)}}function s(e){e.done?r(e.value):i(e.value).then(a,u)}s((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,a;return a={next:u(0),throw:u(1),return:u(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,u[0]&&(r=0)),r)try{if(n=1,i&&(o=u[0]&2?i["return"]:u[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,u[1])).done)return o;if(i=0,o)u=[u[0]&2,o.value];switch(u[0]){case 0:case 1:o=u;break;case 4:r.label++;return{value:u[1],done:false};case 5:r.label++;i=u[1];u=[0];continue;case 7:u=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!o||u[1]>o[0]&&u[1]<o[3])){r.label=u[1];break}if(u[0]===6&&r.label<o[1]){r.label=o[1];o=u;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(u);break}if(o[2])r.ops.pop();r.trys.pop();continue}u=t.call(e,r)}catch(e){u=[6,e];i=0}finally{n=o=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __asyncValues=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(t){r[t]=e[t]&&function(r){return new Promise((function(n,o){r=e[t](r),i(n,o,r.done,r.value)}))}}function i(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}};var __await=this&&this.__await||function(e){return this instanceof __await?(this.v=e,this):new __await(e)};var __asyncDelegator=this&&this.__asyncDelegator||function(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:__await(e[n](t)),done:false}:i?i(t):t}:i}};var __asyncGenerator=this&&this.__asyncGenerator||function(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,o=[];return i={},u("next"),u("throw"),u("return",a),i[Symbol.asyncIterator]=function(){return this},i;function a(e){return function(t){return Promise.resolve(t).then(e,l)}}function u(e,t){if(n[e]){i[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||s(e,t)}))};if(t)i[e]=t(i[e])}}function s(e,t){try{c(n[e](t))}catch(e){d(o[0][3],e)}}function c(e){e.value instanceof __await?Promise.resolve(e.value.v).then(f,l):d(o[0][2],e)}function f(e){s("next",e)}function l(e){s("throw",e)}function d(e,t){if(e(t),o.shift(),o.length)s(o[0][0],o[0][1])}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++){if(o||!(n in t)){if(!o)o=Array.prototype.slice.call(t,0,n);o[n]=t[n]}}return e.concat(o||Array.prototype.slice.call(t))};var __values=this&&this.__values||function(e){var t=typeof Symbol==="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};import{r as registerInstance,c as createEvent,h,F as Fragment}from"./index-6vpKbd31.js";import{VerdocsEndpoint,formatFullName,getActiveEntitlements,isValidEmail}from"@verdocs/js-sdk";import{c as commonjsGlobal,g as getDefaultExportFromCjs}from"./_commonjsHelpers-BFTU3MAI.js";import{B as BETA_ORIGINS}from"./Environment-C_Xku1v2.js";import{d as convertToE164}from"./utils-tbEy96hU.js";import"./index-dzBXqXlK.js";import"./Types-Dl7Xw8F0.js";
2
+ /*! Axios v1.11.0 Copyright (c) 2025 Matt Zabriskie and contributors */var axios_1;var hasRequiredAxios;function requireAxios(){var e=this;if(hasRequiredAxios)return axios_1;hasRequiredAxios=1;function t(e,t){return function r(){return e.apply(t,arguments)}}var r=Object.prototype.toString;var n=Object.getPrototypeOf;var i=Symbol.iterator,o=Symbol.toStringTag;var a=function(e){return function(t){var n=r.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));var u=function(e){e=e.toLowerCase();return function(t){return a(t)===e}};var s=function(e){return function(t){return typeof t===e}};var c=Array.isArray;var f=s("undefined");function l(e){return e!==null&&!f(e)&&e.constructor!==null&&!f(e.constructor)&&p(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var d=u("ArrayBuffer");function v(e){var t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&d(e.buffer)}return t}var h=s("string");var p=s("function");var m=s("number");var b=function(e){return e!==null&&typeof e==="object"};var w=function(e){return e===true||e===false};var y=function(e){if(a(e)!=="object"){return false}var t=n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(o in e)&&!(i in e)};var g=function(e){if(!b(e)||l(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};var x=u("Date");var _=u("File");var k=u("Blob");var E=u("FileList");var R=function(e){return b(e)&&p(e.pipe)};var O=function(e){var t;return e&&(typeof FormData==="function"&&e instanceof FormData||p(e.append)&&((t=a(e))==="formdata"||t==="object"&&p(e.toString)&&e.toString()==="[object FormData]"))};var S=u("URLSearchParams");var A=["ReadableStream","Request","Response","Headers"].map(u),T=A[0],j=A[1],C=A[2],F=A[3];var N=function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function P(e,t,r){var n=r===void 0?{}:r,i=n.allOwnKeys,o=i===void 0?false:i;if(e===null||typeof e==="undefined"){return}var a;var u;if(typeof e!=="object"){e=[e]}if(c(e)){for(a=0,u=e.length;a<u;a++){t.call(null,e[a],a,e)}}else{if(l(e)){return}var s=o?Object.getOwnPropertyNames(e):Object.keys(e);var f=s.length;var d=void 0;for(a=0;a<f;a++){d=s[a];t.call(null,e[d],d,e)}}}function I(e,t){if(l(e)){return null}t=t.toLowerCase();var r=Object.keys(e);var n=r.length;var i;while(n-- >0){i=r[n];if(t===i.toLowerCase()){return i}}return null}var U=function(){if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:commonjsGlobal}();var B=function(e){return!f(e)&&e!==U};function D(){var e=(B(this)&&this||{}).caseless;var t={};var r=function(r,n){var i=e&&I(t,n)||n;if(y(t[i])&&y(r)){t[i]=D(t[i],r)}else if(y(r)){t[i]=D({},r)}else if(c(r)){t[i]=r.slice()}else{t[i]=r}};for(var n=0,i=arguments.length;n<i;n++){arguments[n]&&P(arguments[n],r)}return t}var q=function(e,r,n,i){var o=i===void 0?{}:i,a=o.allOwnKeys;P(r,(function(r,i){if(n&&p(r)){e[i]=t(r,n)}else{e[i]=r}}),{allOwnKeys:a});return e};var L=function(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};var M=function(e,t,r,n){e.prototype=Object.create(t.prototype,n);e.prototype.constructor=e;Object.defineProperty(e,"super",{value:t.prototype});r&&Object.assign(e.prototype,r)};var z=function(e,t,r,i){var o;var a;var u;var s={};t=t||{};if(e==null)return t;do{o=Object.getOwnPropertyNames(e);a=o.length;while(a-- >0){u=o[a];if((!i||i(u,e,t))&&!s[u]){t[u]=e[u];s[u]=true}}e=r!==false&&n(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t};var H=function(e,t,r){e=String(e);if(r===undefined||r>e.length){r=e.length}r-=t.length;var n=e.indexOf(t,r);return n!==-1&&n===r};var V=function(e){if(!e)return null;if(c(e))return e;var t=e.length;if(!m(t))return null;var r=new Array(t);while(t-- >0){r[t]=e[t]}return r};var K=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!=="undefined"&&n(Uint8Array));var G=function(e,t){var r=e&&e[i];var n=r.call(e);var o;while((o=n.next())&&!o.done){var a=o.value;t.call(e,a[0],a[1])}};var J=function(e,t){var r;var n=[];while((r=e.exec(t))!==null){n.push(r)}return n};var X=u("HTMLFormElement");var W=function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,r,n){return r.toUpperCase()+n}))};var $=function(e){var t=e.hasOwnProperty;return function(e,r){return t.call(e,r)}}(Object.prototype);var Y=u("RegExp");var Z=function(e,t){var r=Object.getOwnPropertyDescriptors(e);var n={};P(r,(function(r,i){var o;if((o=t(r,i,e))!==false){n[i]=o||r}}));Object.defineProperties(e,n)};var Q=function(e){Z(e,(function(t,r){if(p(e)&&["arguments","caller","callee"].indexOf(r)!==-1){return false}var n=e[r];if(!p(n))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=function(){throw Error("Can not rewrite read-only method '"+r+"'")}}}))};var ee=function(e,t){var r={};var n=function(e){e.forEach((function(e){r[e]=true}))};c(e)?n(e):n(String(e).split(t));return r};var te=function(){};var re=function(e,t){return e!=null&&Number.isFinite(e=+e)?e:t};function ne(e){return!!(e&&p(e.append)&&e[o]==="FormData"&&e[i])}var ie=function(e){var t=new Array(10);var r=function(e,n){if(b(e)){if(t.indexOf(e)>=0){return}if(l(e)){return e}if(!("toJSON"in e)){t[n]=e;var i=c(e)?[]:{};P(e,(function(e,t){var o=r(e,n+1);!f(o)&&(i[t]=o)}));t[n]=undefined;return i}}return e};return r(e,0)};var oe=u("AsyncFunction");var ae=function(e){return e&&(b(e)||p(e))&&p(e.then)&&p(e.catch)};var ue=function(e,t){if(e){return setImmediate}return t?function(e,t){U.addEventListener("message",(function(r){var n=r.source,i=r.data;if(n===U&&i===e){t.length&&t.shift()()}}),false);return function(r){t.push(r);U.postMessage(e,"*")}}("axios@".concat(Math.random()),[]):function(e){return setTimeout(e)}}(typeof setImmediate==="function",p(U.postMessage));var se=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(U):typeof process!=="undefined"&&process.nextTick||ue;var ce=function(e){return e!=null&&p(e[i])};var fe={isArray:c,isArrayBuffer:d,isBuffer:l,isFormData:O,isArrayBufferView:v,isString:h,isNumber:m,isBoolean:w,isObject:b,isPlainObject:y,isEmptyObject:g,isReadableStream:T,isRequest:j,isResponse:C,isHeaders:F,isUndefined:f,isDate:x,isFile:_,isBlob:k,isRegExp:Y,isFunction:p,isStream:R,isURLSearchParams:S,isTypedArray:K,isFileList:E,forEach:P,merge:D,extend:q,trim:N,stripBOM:L,inherits:M,toFlatObject:z,kindOf:a,kindOfTest:u,endsWith:H,toArray:V,forEachEntry:G,matchAll:J,isHTMLForm:X,hasOwnProperty:$,hasOwnProp:$,reduceDescriptors:Z,freezeMethods:Q,toObjectSet:ee,toCamelCase:W,noop:te,toFiniteNumber:re,findKey:I,global:U,isContextDefined:B,isSpecCompliantForm:ne,toJSONObject:ie,isAsyncFn:oe,isThenable:ae,setImmediate:ue,asap:se,isIterable:ce};function le(e,t,r,n,i){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack}this.message=e;this.name="AxiosError";t&&(this.code=t);r&&(this.config=r);n&&(this.request=n);if(i){this.response=i;this.status=i.status?i.status:null}}fe.inherits(le,Error,{toJSON:function e(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:fe.toJSONObject(this.config),code:this.code,status:this.status}}});var de=le.prototype;var ve={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){ve[e]={value:e}}));Object.defineProperties(le,ve);Object.defineProperty(de,"isAxiosError",{value:true});le.from=function(e,t,r,n,i,o){var a=Object.create(de);fe.toFlatObject(e,a,(function e(t){return t!==Error.prototype}),(function(e){return e!=="isAxiosError"}));le.call(a,e.message,t,r,n,i);a.cause=e;a.name=e.name;o&&Object.assign(a,o);return a};var he=null;function pe(e){return fe.isPlainObject(e)||fe.isArray(e)}function me(e){return fe.endsWith(e,"[]")?e.slice(0,-2):e}function be(e,t,r){if(!e)return t;return e.concat(t).map((function e(t,n){t=me(t);return!r&&n?"["+t+"]":t})).join(r?".":"")}function we(e){return fe.isArray(e)&&!e.some(pe)}var ye=fe.toFlatObject(fe,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function ge(e,t,r){if(!fe.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;r=fe.toFlatObject(r,{metaTokens:true,dots:false,indexes:false},false,(function e(t,r){return!fe.isUndefined(r[t])}));var n=r.metaTokens;var i=r.visitor||f;var o=r.dots;var a=r.indexes;var u=r.Blob||typeof Blob!=="undefined"&&Blob;var s=u&&fe.isSpecCompliantForm(t);if(!fe.isFunction(i)){throw new TypeError("visitor must be a function")}function c(e){if(e===null)return"";if(fe.isDate(e)){return e.toISOString()}if(fe.isBoolean(e)){return e.toString()}if(!s&&fe.isBlob(e)){throw new le("Blob is not supported. Use a Buffer instead.")}if(fe.isArrayBuffer(e)||fe.isTypedArray(e)){return s&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function f(e,r,i){var u=e;if(e&&!i&&typeof e==="object"){if(fe.endsWith(r,"{}")){r=n?r:r.slice(0,-2);e=JSON.stringify(e)}else if(fe.isArray(e)&&we(e)||(fe.isFileList(e)||fe.endsWith(r,"[]"))&&(u=fe.toArray(e))){r=me(r);u.forEach((function e(n,i){!(fe.isUndefined(n)||n===null)&&t.append(a===true?be([r],i,o):a===null?r:r+"[]",c(n))}));return false}}if(pe(e)){return true}t.append(be(i,r,o),c(e));return false}var l=[];var d=Object.assign(ye,{defaultVisitor:f,convertValue:c,isVisitable:pe});function v(e,r){if(fe.isUndefined(e))return;if(l.indexOf(e)!==-1){throw Error("Circular reference detected in "+r.join("."))}l.push(e);fe.forEach(e,(function e(n,o){var a=!(fe.isUndefined(n)||n===null)&&i.call(t,n,fe.isString(o)?o.trim():o,r,d);if(a===true){v(n,r?r.concat(o):[o])}}));l.pop()}if(!fe.isObject(e)){throw new TypeError("data must be an object")}v(e);return t}function xe(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function e(r){return t[r]}))}function _e(e,t){this._pairs=[];e&&ge(e,this,t)}var ke=_e.prototype;ke.append=function e(t,r){this._pairs.push([t,r])};ke.toString=function e(t){var r=t?function(e){return t.call(this,e,xe)}:xe;return this._pairs.map((function e(t){return r(t[0])+"="+r(t[1])}),"").join("&")};function Ee(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Re(e,t,r){if(!t){return e}var n=r&&r.encode||Ee;if(fe.isFunction(r)){r={serialize:r}}var i=r&&r.serialize;var o;if(i){o=i(t,r)}else{o=fe.isURLSearchParams(t)?t.toString():new _e(t,r).toString(n)}if(o){var a=e.indexOf("#");if(a!==-1){e=e.slice(0,a)}e+=(e.indexOf("?")===-1?"?":"&")+o}return e}var Oe=function(){function e(){this.handlers=[]}e.prototype.use=function(e,t,r){this.handlers.push({fulfilled:e,rejected:t,synchronous:r?r.synchronous:false,runWhen:r?r.runWhen:null});return this.handlers.length-1};e.prototype.eject=function(e){if(this.handlers[e]){this.handlers[e]=null}};e.prototype.clear=function(){if(this.handlers){this.handlers=[]}};e.prototype.forEach=function(e){fe.forEach(this.handlers,(function t(r){if(r!==null){e(r)}}))};return e}();var Se=Oe;var Ae={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};var Te=typeof URLSearchParams!=="undefined"?URLSearchParams:_e;var je=typeof FormData!=="undefined"?FormData:null;var Ce=typeof Blob!=="undefined"?Blob:null;var Fe={isBrowser:true,classes:{URLSearchParams:Te,FormData:je,Blob:Ce},protocols:["http","https","file","blob","url","data"]};var Ne=typeof window!=="undefined"&&typeof document!=="undefined";var Pe=typeof navigator==="object"&&navigator||undefined;var Ie=Ne&&(!Pe||["ReactNative","NativeScript","NS"].indexOf(Pe.product)<0);var Ue=function(){return typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"}();var Be=Ne&&window.location.href||"http://localhost";var De=Object.freeze({__proto__:null,hasBrowserEnv:Ne,hasStandardBrowserWebWorkerEnv:Ue,hasStandardBrowserEnv:Ie,navigator:Pe,origin:Be});var qe=__assign(__assign({},De),Fe);function Le(e,t){return ge(e,new qe.classes.URLSearchParams,__assign({visitor:function(e,t,r,n){if(qe.isNode&&fe.isBuffer(e)){this.append(t,e.toString("base64"));return false}return n.defaultVisitor.apply(this,arguments)}},t))}function Me(e){return fe.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return e[0]==="[]"?"":e[1]||e[0]}))}function ze(e){var t={};var r=Object.keys(e);var n;var i=r.length;var o;for(n=0;n<i;n++){o=r[n];t[o]=e[o]}return t}function He(e){function t(e,r,n,i){var o=e[i++];if(o==="__proto__")return true;var a=Number.isFinite(+o);var u=i>=e.length;o=!o&&fe.isArray(n)?n.length:o;if(u){if(fe.hasOwnProp(n,o)){n[o]=[n[o],r]}else{n[o]=r}return!a}if(!n[o]||!fe.isObject(n[o])){n[o]=[]}var s=t(e,r,n[o],i);if(s&&fe.isArray(n[o])){n[o]=ze(n[o])}return!a}if(fe.isFormData(e)&&fe.isFunction(e.entries)){var r={};fe.forEachEntry(e,(function(e,n){t(Me(e),n,r,0)}));return r}return null}function Ve(e,t,r){if(fe.isString(e)){try{(0,JSON.parse)(e);return fe.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(r||JSON.stringify)(e)}var Ke={transitional:Ae,adapter:["xhr","http","fetch"],transformRequest:[function e(t,r){var n=r.getContentType()||"";var i=n.indexOf("application/json")>-1;var o=fe.isObject(t);if(o&&fe.isHTMLForm(t)){t=new FormData(t)}var a=fe.isFormData(t);if(a){return i?JSON.stringify(He(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)){r.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}var u;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1){return Le(t,this.formSerializer).toString()}if((u=fe.isFileList(t))||n.indexOf("multipart/form-data")>-1){var s=this.env&&this.env.FormData;return ge(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}if(o||i){r.setContentType("application/json",false);return Ve(t)}return t}],transformResponse:[function e(t){var r=this.transitional||Ke.transitional;var n=r&&r.forcedJSONParsing;var i=this.responseType==="json";if(fe.isResponse(t)||fe.isReadableStream(t)){return t}if(t&&fe.isString(t)&&(n&&!this.responseType||i)){var o=r&&r.silentJSONParsing;var a=!o&&i;try{return JSON.parse(t)}catch(e){if(a){if(e.name==="SyntaxError"){throw le.from(e,le.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qe.classes.FormData,Blob:qe.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};fe.forEach(["delete","get","head","post","put","patch"],(function(e){Ke.headers[e]={}}));var Ge=Ke;var Je=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 Xe=function(e){var t={};var r;var n;var i;e&&e.split("\n").forEach((function e(o){i=o.indexOf(":");r=o.substring(0,i).trim().toLowerCase();n=o.substring(i+1).trim();if(!r||t[r]&&Je[r]){return}if(r==="set-cookie"){if(t[r]){t[r].push(n)}else{t[r]=[n]}}else{t[r]=t[r]?t[r]+", "+n:n}}));return t};var We=Symbol("internals");function $e(e){return e&&String(e).trim().toLowerCase()}function Ye(e){if(e===false||e==null){return e}return fe.isArray(e)?e.map(Ye):String(e)}function Ze(e){var t=Object.create(null);var r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var n;while(n=r.exec(e)){t[n[1]]=n[2]}return t}var Qe=function(e){return/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())};function et(e,t,r,n,i){if(fe.isFunction(n)){return n.call(this,t,r)}if(i){t=r}if(!fe.isString(t))return;if(fe.isString(n)){return t.indexOf(n)!==-1}if(fe.isRegExp(n)){return n.test(t)}}function tt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))}function rt(e,t){var r=fe.toCamelCase(" "+t);["get","set","has"].forEach((function(n){Object.defineProperty(e,n+r,{value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:true})}))}var nt=function(){function e(e){e&&this.set(e)}e.prototype.set=function(e,t,r){var n=this;function i(e,t,r){var i=$e(t);if(!i){throw new Error("header name must be a non-empty string")}var o=fe.findKey(n,i);if(!o||n[o]===undefined||r===true||r===undefined&&n[o]!==false){n[o||t]=Ye(e)}}var o=function(e,t){return fe.forEach(e,(function(e,r){return i(e,r,t)}))};if(fe.isPlainObject(e)||e instanceof this.constructor){o(e,t)}else if(fe.isString(e)&&(e=e.trim())&&!Qe(e)){o(Xe(e),t)}else if(fe.isObject(e)&&fe.isIterable(e)){var a={},u=void 0,s=void 0;for(var c=0,f=e;c<f.length;c++){var l=f[c];if(!fe.isArray(l)){throw TypeError("Object iterator must return a key-value pair")}a[s=l[0]]=(u=a[s])?fe.isArray(u)?__spreadArray(__spreadArray([],u,true),[l[1]],false):[u,l[1]]:l[1]}o(a,t)}else{e!=null&&i(t,e,r)}return this};e.prototype.get=function(e,t){e=$e(e);if(e){var r=fe.findKey(this,e);if(r){var n=this[r];if(!t){return n}if(t===true){return Ze(n)}if(fe.isFunction(t)){return t.call(this,n,r)}if(fe.isRegExp(t)){return t.exec(n)}throw new TypeError("parser must be boolean|regexp|function")}}};e.prototype.has=function(e,t){e=$e(e);if(e){var r=fe.findKey(this,e);return!!(r&&this[r]!==undefined&&(!t||et(this,this[r],r,t)))}return false};e.prototype.delete=function(e,t){var r=this;var n=false;function i(e){e=$e(e);if(e){var i=fe.findKey(r,e);if(i&&(!t||et(r,r[i],i,t))){delete r[i];n=true}}}if(fe.isArray(e)){e.forEach(i)}else{i(e)}return n};e.prototype.clear=function(e){var t=Object.keys(this);var r=t.length;var n=false;while(r--){var i=t[r];if(!e||et(this,this[i],i,e,true)){delete this[i];n=true}}return n};e.prototype.normalize=function(e){var t=this;var r={};fe.forEach(this,(function(n,i){var o=fe.findKey(r,i);if(o){t[o]=Ye(n);delete t[i];return}var a=e?tt(i):String(i).trim();if(a!==i){delete t[i]}t[a]=Ye(n);r[a]=true}));return this};e.prototype.concat=function(){var e;var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return(e=this.constructor).concat.apply(e,__spreadArray([this],t,false))};e.prototype.toJSON=function(e){var t=Object.create(null);fe.forEach(this,(function(r,n){r!=null&&r!==false&&(t[n]=e&&fe.isArray(r)?r.join(", "):r)}));return t};e.prototype[Symbol.iterator]=function(){return Object.entries(this.toJSON())[Symbol.iterator]()};e.prototype.toString=function(){return Object.entries(this.toJSON()).map((function(e){var t=e[0],r=e[1];return t+": "+r})).join("\n")};e.prototype.getSetCookie=function(){return this.get("set-cookie")||[]};Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return"AxiosHeaders"},enumerable:false,configurable:true});e.from=function(e){return e instanceof this?e:new this(e)};e.concat=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}var n=new this(e);t.forEach((function(e){return n.set(e)}));return n};e.accessor=function(e){var t=this[We]=this[We]={accessors:{}};var r=t.accessors;var n=this.prototype;function i(e){var t=$e(e);if(!r[t]){rt(n,e);r[t]=true}}fe.isArray(e)?e.forEach(i):i(e);return this};return e}();nt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);fe.reduceDescriptors(nt.prototype,(function(e,t){var r=e.value;var n=t[0].toUpperCase()+t.slice(1);return{get:function(){return r},set:function(e){this[n]=e}}}));fe.freezeMethods(nt);var it=nt;function ot(e,t){var r=this||Ge;var n=t||r;var i=it.from(n.headers);var o=n.data;fe.forEach(e,(function e(n){o=n.call(r,o,i.normalize(),t?t.status:undefined)}));i.normalize();return o}function at(e){return!!(e&&e.__CANCEL__)}function ut(e,t,r){le.call(this,e==null?"canceled":e,le.ERR_CANCELED,t,r);this.name="CanceledError"}fe.inherits(ut,le,{__CANCEL__:true});function st(e,t,r){var n=r.config.validateStatus;if(!r.status||!n||n(r.status)){e(r)}else{t(new le("Request failed with status code "+r.status,[le.ERR_BAD_REQUEST,le.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}}function ct(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ft(e,t){e=e||10;var r=new Array(e);var n=new Array(e);var i=0;var o=0;var a;t=t!==undefined?t:1e3;return function u(s){var c=Date.now();var f=n[o];if(!a){a=c}r[i]=s;n[i]=c;var l=o;var d=0;while(l!==i){d+=r[l++];l=l%e}i=(i+1)%e;if(i===o){o=(o+1)%e}if(c-a<t){return}var v=f&&c-f;return v?Math.round(d*1e3/v):undefined}}function lt(e,t){var r=0;var n=1e3/t;var i;var o;var a=function(t,n){if(n===void 0){n=Date.now()}r=n;i=null;if(o){clearTimeout(o);o=null}e.apply(void 0,t)};var u=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var u=Date.now();var s=u-r;if(s>=n){a(e,u)}else{i=e;if(!o){o=setTimeout((function(){o=null;a(i)}),n-s)}}};var s=function(){return i&&a(i)};return[u,s]}var dt=function(e,t,r){if(r===void 0){r=3}var n=0;var i=ft(50,250);return lt((function(r){var o;var a=r.loaded;var u=r.lengthComputable?r.total:undefined;var s=a-n;var c=i(s);var f=a<=u;n=a;var l=(o={loaded:a,total:u,progress:u?a/u:undefined,bytes:s,rate:c?c:undefined,estimated:c&&u&&f?(u-a)/c:undefined,event:r,lengthComputable:u!=null},o[t?"download":"upload"]=true,o);e(l)}),r)};var vt=function(e,t){var r=e!=null;return[function(n){return t[0]({lengthComputable:r,total:e,loaded:n})},t[1]]};var ht=function(e){return function(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return fe.asap((function(){return e.apply(void 0,t)}))}};var pt=qe.hasStandardBrowserEnv?function(e,t){return function(r){r=new URL(r,qe.origin);return e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)}}(new URL(qe.origin),qe.navigator&&/(msie|trident)/i.test(qe.navigator.userAgent)):function(){return true};var mt=qe.hasStandardBrowserEnv?{write:function(e,t,r,n,i,o){var a=[e+"="+encodeURIComponent(t)];fe.isNumber(r)&&a.push("expires="+new Date(r).toGMTString());fe.isString(n)&&a.push("path="+n);fe.isString(i)&&a.push("domain="+i);o===true&&a.push("secure");document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function bt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function wt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function yt(e,t,r){var n=!bt(t);if(e&&(n||r==false)){return wt(e,t)}return t}var gt=function(e){return e instanceof it?__assign({},e):e};function xt(e,t){t=t||{};var r={};function n(e,t,r,n){if(fe.isPlainObject(e)&&fe.isPlainObject(t)){return fe.merge.call({caseless:n},e,t)}else if(fe.isPlainObject(t)){return fe.merge({},t)}else if(fe.isArray(t)){return t.slice()}return t}function i(e,t,r,i){if(!fe.isUndefined(t)){return n(e,t,r,i)}else if(!fe.isUndefined(e)){return n(undefined,e,r,i)}}function o(e,t){if(!fe.isUndefined(t)){return n(undefined,t)}}function a(e,t){if(!fe.isUndefined(t)){return n(undefined,t)}else if(!fe.isUndefined(e)){return n(undefined,e)}}function u(r,i,o){if(o in t){return n(r,i)}else if(o in e){return n(undefined,r)}}var s={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:u,headers:function(e,t,r){return i(gt(e),gt(t),r,true)}};fe.forEach(Object.keys(__assign(__assign({},e),t)),(function n(o){var a=s[o]||i;var c=a(e[o],t[o],o);fe.isUndefined(c)&&a!==u||(r[o]=c)}));return r}var _t=function(e){var t=xt({},e);var r=t.data,n=t.withXSRFToken,i=t.xsrfHeaderName,o=t.xsrfCookieName,a=t.headers,u=t.auth;t.headers=a=it.from(a);t.url=Re(yt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer);if(u){a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")))}var s;if(fe.isFormData(r)){if(qe.hasStandardBrowserEnv||qe.hasStandardBrowserWebWorkerEnv){a.setContentType(undefined)}else if((s=a.getContentType())!==false){var c=s?s.split(";").map((function(e){return e.trim()})).filter(Boolean):[],f=c[0],l=c.slice(1);a.setContentType(__spreadArray([f||"multipart/form-data"],l,true).join("; "))}}if(qe.hasStandardBrowserEnv){n&&fe.isFunction(n)&&(n=n(t));if(n||n!==false&&pt(t.url)){var d=i&&o&&mt.read(o);if(d){a.set(i,d)}}}return t};var kt=typeof XMLHttpRequest!=="undefined";var Et=kt&&function(e){return new Promise((function t(r,n){var i,o;var a=_t(e);var u=a.data;var s=it.from(a.headers).normalize();var c=a.responseType,f=a.onUploadProgress,l=a.onDownloadProgress;var d;var v,h;var p,m;function b(){p&&p();m&&m();a.cancelToken&&a.cancelToken.unsubscribe(d);a.signal&&a.signal.removeEventListener("abort",d)}var w=new XMLHttpRequest;w.open(a.method.toUpperCase(),a.url,true);w.timeout=a.timeout;function y(){if(!w){return}var t=it.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders());var i=!c||c==="text"||c==="json"?w.responseText:w.response;var o={data:i,status:w.status,statusText:w.statusText,headers:t,config:e,request:w};st((function e(t){r(t);b()}),(function e(t){n(t);b()}),o);w=null}if("onloadend"in w){w.onloadend=y}else{w.onreadystatechange=function e(){if(!w||w.readyState!==4){return}if(w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)){return}setTimeout(y)}}w.onabort=function t(){if(!w){return}n(new le("Request aborted",le.ECONNABORTED,e,w));w=null};w.onerror=function t(){n(new le("Network Error",le.ERR_NETWORK,e,w));w=null};w.ontimeout=function t(){var r=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";var i=a.transitional||Ae;if(a.timeoutErrorMessage){r=a.timeoutErrorMessage}n(new le(r,i.clarifyTimeoutError?le.ETIMEDOUT:le.ECONNABORTED,e,w));w=null};u===undefined&&s.setContentType(null);if("setRequestHeader"in w){fe.forEach(s.toJSON(),(function e(t,r){w.setRequestHeader(r,t)}))}if(!fe.isUndefined(a.withCredentials)){w.withCredentials=!!a.withCredentials}if(c&&c!=="json"){w.responseType=a.responseType}if(l){i=dt(l,true),h=i[0],m=i[1];w.addEventListener("progress",h)}if(f&&w.upload){o=dt(f),v=o[0],p=o[1];w.upload.addEventListener("progress",v);w.upload.addEventListener("loadend",p)}if(a.cancelToken||a.signal){d=function(t){if(!w){return}n(!t||t.type?new ut(null,e,w):t);w.abort();w=null};a.cancelToken&&a.cancelToken.subscribe(d);if(a.signal){a.signal.aborted?d():a.signal.addEventListener("abort",d)}}var g=ct(a.url);if(g&&qe.protocols.indexOf(g)===-1){n(new le("Unsupported protocol "+g+":",le.ERR_BAD_REQUEST,e));return}w.send(u||null)}))};var Rt=function(e,t){var r=(e=e?e.filter(Boolean):[]).length;if(t||r){var n=new AbortController;var i;var o=function(e){if(!i){i=true;u();var t=e instanceof Error?e:this.reason;n.abort(t instanceof le?t:new ut(t instanceof Error?t.message:t))}};var a=t&&setTimeout((function(){a=null;o(new le("timeout ".concat(t," of ms exceeded"),le.ETIMEDOUT))}),t);var u=function(){if(e){a&&clearTimeout(a);a=null;e.forEach((function(e){e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)}));e=null}};e.forEach((function(e){return e.addEventListener("abort",o)}));var s=n.signal;s.unsubscribe=function(){return fe.asap(u)};return s}};var Ot=Rt;var St=function(e,t){var r,n,i;return __generator(this,(function(o){switch(o.label){case 0:r=e.byteLength;if(!(r<t))return[3,2];return[4,e];case 1:o.sent();return[2];case 2:n=0;o.label=3;case 3:if(!(n<r))return[3,5];i=n+t;return[4,e.slice(n,i)];case 4:o.sent();n=i;return[3,3];case 5:return[2]}}))};var At=function(e,t){return __asyncGenerator(this,arguments,(function(){var r,n,i,o,a;var u,s,c,f;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,7,8,13]);r=true,n=__asyncValues(Tt(e));l.label=1;case 1:return[4,__await(n.next())];case 2:if(!(i=l.sent(),u=i.done,!u))return[3,6];f=i.value;r=false;o=f;return[5,__values(__asyncDelegator(__asyncValues(St(o,t))))];case 3:return[4,__await.apply(void 0,[l.sent()])];case 4:l.sent();l.label=5;case 5:r=true;return[3,1];case 6:return[3,13];case 7:a=l.sent();s={error:a};return[3,13];case 8:l.trys.push([8,,11,12]);if(!(!r&&!u&&(c=n.return)))return[3,10];return[4,__await(c.call(n))];case 9:l.sent();l.label=10;case 10:return[3,12];case 11:if(s)throw s.error;return[7];case 12:return[7];case 13:return[2]}}))}))};var Tt=function(e){return __asyncGenerator(this,arguments,(function(){var t,r,n,i;return __generator(this,(function(o){switch(o.label){case 0:if(!e[Symbol.asyncIterator])return[3,4];return[5,__values(__asyncDelegator(__asyncValues(e)))];case 1:return[4,__await.apply(void 0,[o.sent()])];case 2:o.sent();return[4,__await(void 0)];case 3:return[2,o.sent()];case 4:t=e.getReader();o.label=5;case 5:o.trys.push([5,,12,14]);o.label=6;case 6:return[4,__await(t.read())];case 7:r=o.sent(),n=r.done,i=r.value;if(n){return[3,11]}return[4,__await(i)];case 8:return[4,o.sent()];case 9:o.sent();o.label=10;case 10:return[3,6];case 11:return[3,14];case 12:return[4,__await(t.cancel())];case 13:o.sent();return[7];case 14:return[2]}}))}))};var jt=function(e,t,r,n){var i=At(e,t);var o=0;var a;var u=function(e){if(!a){a=true;n&&n(e)}};return new ReadableStream({pull:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,a,s,c,f;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,2,,3]);return[4,i.next()];case 1:t=l.sent(),n=t.done,a=t.value;if(n){u();e.close();return[2]}s=a.byteLength;if(r){c=o+=s;r(c)}e.enqueue(new Uint8Array(a));return[3,3];case 2:f=l.sent();u(f);throw f;case 3:return[2]}}))}))},cancel:function(e){u(e);return i.return()}},{highWaterMark:2})};var Ct=typeof fetch==="function"&&typeof Request==="function"&&typeof Response==="function";var Ft=Ct&&typeof ReadableStream==="function";var Nt=Ct&&(typeof TextEncoder==="function"?function(e){return function(t){return e.encode(t)}}(new TextEncoder):function(t){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:e=Uint8Array.bind;return[4,new Response(t).arrayBuffer()];case 1:return[2,new(e.apply(Uint8Array,[void 0,r.sent()]))]}}))}))});var Pt=function(e){var t=[];for(var r=1;r<arguments.length;r++){t[r-1]=arguments[r]}try{return!!e.apply(void 0,t)}catch(e){return false}};var It=Ft&&Pt((function(){var e=false;var t=new Request(qe.origin,{body:new ReadableStream,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));var Ut=64*1024;var Bt=Ft&&Pt((function(){return fe.isReadableStream(new Response("").body)}));var Dt={stream:Bt&&function(e){return e.body}};Ct&&function(e){["text","arrayBuffer","blob","formData","stream"].forEach((function(t){!Dt[t]&&(Dt[t]=fe.isFunction(e[t])?function(e){return e[t]()}:function(e,r){throw new le("Response type '".concat(t,"' is not supported"),le.ERR_NOT_SUPPORT,r)})}))}(new Response);var qt=function(t){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(r){switch(r.label){case 0:if(t==null){return[2,0]}if(fe.isBlob(t)){return[2,t.size]}if(!fe.isSpecCompliantForm(t))return[3,2];e=new Request(qe.origin,{method:"POST",body:t});return[4,e.arrayBuffer()];case 1:return[2,r.sent().byteLength];case 2:if(fe.isArrayBufferView(t)||fe.isArrayBuffer(t)){return[2,t.byteLength]}if(fe.isURLSearchParams(t)){t=t+""}if(!fe.isString(t))return[3,4];return[4,Nt(t)];case 3:return[2,r.sent().byteLength];case 4:return[2]}}))}))};var Lt=function(t,r){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(n){e=fe.toFiniteNumber(t.getContentLength());return[2,e==null?qt(r):e]}))}))};var Mt=Ct&&function(t){return __awaiter(e,void 0,void 0,(function(){var e,r,n,i,o,a,u,s,c,f,l,d,v,h,p,m,b,w,y,g,x,_,k,E,R,O,S,A,T,j,k,C,F,N;return __generator(this,(function(P){switch(P.label){case 0:e=_t(t),r=e.url,n=e.method,i=e.data,o=e.signal,a=e.cancelToken,u=e.timeout,s=e.onDownloadProgress,c=e.onUploadProgress,f=e.responseType,l=e.headers,d=e.withCredentials,v=d===void 0?"same-origin":d,h=e.fetchOptions;f=f?(f+"").toLowerCase():"text";p=Ot([o,a&&a.toAbortSignal()],u);b=p&&p.unsubscribe&&function(){p.unsubscribe()};P.label=1;case 1:P.trys.push([1,7,,8]);y=c&&It&&n!=="get"&&n!=="head";if(!y)return[3,3];return[4,Lt(l,i)];case 2:y=(w=P.sent())!==0;P.label=3;case 3:if(y){g=new Request(r,{method:"POST",body:i,duplex:"half"});x=void 0;if(fe.isFormData(i)&&(x=g.headers.get("content-type"))){l.setContentType(x)}if(g.body){_=vt(w,dt(ht(c))),k=_[0],E=_[1];i=jt(g.body,Ut,k,E)}}if(!fe.isString(v)){v=v?"include":"omit"}R="credentials"in Request.prototype;m=new Request(r,__assign(__assign({},h),{signal:p,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:R?v:undefined}));return[4,fetch(m,h)];case 4:O=P.sent();S=Bt&&(f==="stream"||f==="response");if(Bt&&(s||S&&b)){A={};["status","statusText","headers"].forEach((function(e){A[e]=O[e]}));T=fe.toFiniteNumber(O.headers.get("content-length"));j=s&&vt(T,dt(ht(s),true))||[],k=j[0],C=j[1];O=new Response(jt(O.body,Ut,k,(function(){C&&C();b&&b()})),A)}f=f||"text";return[4,Dt[fe.findKey(Dt,f)||"text"](O,t)];case 5:F=P.sent();!S&&b&&b();return[4,new Promise((function(e,r){st(e,r,{data:F,headers:it.from(O.headers),status:O.status,statusText:O.statusText,config:t,request:m})}))];case 6:return[2,P.sent()];case 7:N=P.sent();b&&b();if(N&&N.name==="TypeError"&&/Load failed|fetch/i.test(N.message)){throw Object.assign(new le("Network Error",le.ERR_NETWORK,t,m),{cause:N.cause||N})}throw le.from(N,N&&N.code,t,m);case 8:return[2]}}))}))};var zt={http:he,xhr:Et,fetch:Mt};fe.forEach(zt,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var Ht=function(e){return"- ".concat(e)};var Vt=function(e){return fe.isFunction(e)||e===null||e===false};var Kt={getAdapter:function(e){e=fe.isArray(e)?e:[e];var t=e.length;var r;var n;var i={};for(var o=0;o<t;o++){r=e[o];var a=void 0;n=r;if(!Vt(r)){n=zt[(a=String(r)).toLowerCase()];if(n===undefined){throw new le("Unknown adapter '".concat(a,"'"))}}if(n){break}i[a||"#"+o]=n}if(!n){var u=Object.entries(i).map((function(e){var t=e[0],r=e[1];return"adapter ".concat(t," ")+(r===false?"is not supported by the environment":"is not available in the build")}));var s=t?u.length>1?"since :\n"+u.map(Ht).join("\n"):" "+Ht(u[0]):"as no adapter specified";throw new le("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:zt};function Gt(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new ut(null,e)}}function Jt(e){Gt(e);e.headers=it.from(e.headers);e.data=ot.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}var t=Kt.getAdapter(e.adapter||Ge.adapter);return t(e).then((function t(r){Gt(e);r.data=ot.call(e,e.transformResponse,r);r.headers=it.from(r.headers);return r}),(function t(r){if(!at(r)){Gt(e);if(r&&r.response){r.response.data=ot.call(e,e.transformResponse,r.response);r.response.headers=it.from(r.response.headers)}}return Promise.reject(r)}))}var Xt="1.11.0";var Wt={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Wt[e]=function r(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var $t={};Wt.transitional=function e(t,r,n){function i(e,t){return"[Axios v"+Xt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(e,n,o){if(t===false){throw new le(i(n," has been removed"+(r?" in "+r:"")),le.ERR_DEPRECATED)}if(r&&!$t[n]){$t[n]=true;console.warn(i(n," has been deprecated since v"+r+" and will be removed in the near future"))}return t?t(e,n,o):true}};Wt.spelling=function e(t){return function(e,r){console.warn("".concat(r," is likely a misspelling of ").concat(t));return true}};function Yt(e,t,r){if(typeof e!=="object"){throw new le("options must be an object",le.ERR_BAD_OPTION_VALUE)}var n=Object.keys(e);var i=n.length;while(i-- >0){var o=n[i];var a=t[o];if(a){var u=e[o];var s=u===undefined||a(u,o,e);if(s!==true){throw new le("option "+o+" must be "+s,le.ERR_BAD_OPTION_VALUE)}continue}if(r!==true){throw new le("Unknown option "+o,le.ERR_BAD_OPTION)}}}var Zt={assertOptions:Yt,validators:Wt};var Qt=Zt.validators;var er=function(){function e(e){this.defaults=e||{};this.interceptors={request:new Se,response:new Se}}e.prototype.request=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,n,i;return __generator(this,(function(o){switch(o.label){case 0:o.trys.push([0,2,,3]);return[4,this._request(e,t)];case 1:return[2,o.sent()];case 2:r=o.sent();if(r instanceof Error){n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;i=n.stack?n.stack.replace(/^.+\n/,""):"";try{if(!r.stack){r.stack=i}else if(i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))){r.stack+="\n"+i}}catch(e){}}throw r;case 3:return[2]}}))}))};e.prototype._request=function(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=xt(this.defaults,t);var r=t.transitional,n=t.paramsSerializer,i=t.headers;if(r!==undefined){Zt.assertOptions(r,{silentJSONParsing:Qt.transitional(Qt.boolean),forcedJSONParsing:Qt.transitional(Qt.boolean),clarifyTimeoutError:Qt.transitional(Qt.boolean)},false)}if(n!=null){if(fe.isFunction(n)){t.paramsSerializer={serialize:n}}else{Zt.assertOptions(n,{encode:Qt.function,serialize:Qt.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}Zt.assertOptions(t,{baseUrl:Qt.spelling("baseURL"),withXsrfToken:Qt.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();var o=i&&fe.merge(i.common,i[t.method]);i&&fe.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete i[e]}));t.headers=it.concat(o,i);var a=[];var u=true;this.interceptors.request.forEach((function e(r){if(typeof r.runWhen==="function"&&r.runWhen(t)===false){return}u=u&&r.synchronous;a.unshift(r.fulfilled,r.rejected)}));var s=[];this.interceptors.response.forEach((function e(t){s.push(t.fulfilled,t.rejected)}));var c;var f=0;var l;if(!u){var d=[Jt.bind(this),undefined];d.unshift.apply(d,a);d.push.apply(d,s);l=d.length;c=Promise.resolve(t);while(f<l){c=c.then(d[f++],d[f++])}return c}l=a.length;var v=t;f=0;while(f<l){var h=a[f++];var p=a[f++];try{v=h(v)}catch(e){p.call(this,e);break}}try{c=Jt.call(this,v)}catch(e){return Promise.reject(e)}f=0;l=s.length;while(f<l){c=c.then(s[f++],s[f++])}return c};e.prototype.getUri=function(e){e=xt(this.defaults,e);var t=yt(e.baseURL,e.url,e.allowAbsoluteUrls);return Re(t,e.params,e.paramsSerializer)};return e}();fe.forEach(["delete","get","head","options"],(function e(t){er.prototype[t]=function(e,r){return this.request(xt(r||{},{method:t,url:e,data:(r||{}).data}))}}));fe.forEach(["post","put","patch"],(function e(t){function r(e){return function r(n,i,o){return this.request(xt(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}er.prototype[t]=r();er.prototype[t+"Form"]=r(true)}));var tr=er;var rr=function(){function e(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var t;this.promise=new Promise((function e(r){t=r}));var r=this;this.promise.then((function(e){if(!r._listeners)return;var t=r._listeners.length;while(t-- >0){r._listeners[t](e)}r._listeners=null}));this.promise.then=function(e){var t;var n=new Promise((function(e){r.subscribe(e);t=e})).then(e);n.cancel=function e(){r.unsubscribe(t)};return n};e((function e(n,i,o){if(r.reason){return}r.reason=new ut(n,i,o);t(r.reason)}))}e.prototype.throwIfRequested=function(){if(this.reason){throw this.reason}};e.prototype.subscribe=function(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}};e.prototype.unsubscribe=function(e){if(!this._listeners){return}var t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}};e.prototype.toAbortSignal=function(){var e=this;var t=new AbortController;var r=function(e){t.abort(e)};this.subscribe(r);t.signal.unsubscribe=function(){return e.unsubscribe(r)};return t.signal};e.source=function(){var t;var r=new e((function e(r){t=r}));return{token:r,cancel:t}};return e}();var nr=rr;function ir(e){return function t(r){return e.apply(null,r)}}function or(e){return fe.isObject(e)&&e.isAxiosError===true}var ar={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};Object.entries(ar).forEach((function(e){var t=e[0],r=e[1];ar[r]=t}));var ur=ar;function sr(e){var r=new tr(e);var n=t(tr.prototype.request,r);fe.extend(n,tr.prototype,r,{allOwnKeys:true});fe.extend(n,r,null,{allOwnKeys:true});n.create=function t(r){return sr(xt(e,r))};return n}var cr=sr(Ge);cr.Axios=tr;cr.CanceledError=ut;cr.CancelToken=nr;cr.isCancel=at;cr.VERSION=Xt;cr.toFormData=ge;cr.AxiosError=le;cr.Cancel=cr.CanceledError;cr.all=function e(t){return Promise.all(t)};cr.spread=ir;cr.isAxiosError=or;cr.mergeConfig=xt;cr.AxiosHeaders=it;cr.formToJSON=function(e){return He(fe.isHTMLForm(e)?new FormData(e):e)};cr.getAdapter=Kt.getAdapter;cr.HttpStatusCode=ur;cr.default=cr;axios_1=cr;return axios_1}var axiosExports=requireAxios();var axios=getDefaultExportFromCjs(axiosExports);var API_KEY=BETA_ORIGINS.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";var getFeatureFlags=function(){return axios.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:API_KEY}}).then((function(e){return e.data})).catch((function(e){console.log("Unleash: Unable to fetch feature flags",e);throw e}))};var verdocsContactPickerCss='@-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:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", 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:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", 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:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", 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}';var addrBookIcon='<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>';var VerdocsContactPicker=function(){function e(e){registerInstance(this,e);this.searchContacts=createEvent(this,"searchContacts");this.exit=createEvent(this,"exit");this.next=createEvent(this,"next");this.endpoint=VerdocsEndpoint.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-".concat(Math.random().toString(36).substring(2,11));this.lastNameFieldId="verdocs-contact-picker-lastname-".concat(Math.random().toString(36).substring(2,11));this.emailFieldId="verdocs-contact-picker-email-".concat(Math.random().toString(36).substring(2,11));this.phoneFieldId="verdocs-contact-picker-phone-".concat(Math.random().toString(36).substring(2,11));this.featureFlags=null;this.activeEntitlements={}}e.prototype.componentWillLoad=function(){var e=this;this.endpoint.loadSession();if(this.templateRole){var t=formatFullName(this.templateRole);var r=t.split(" ");var n=this.templateRole.first_name||r.shift()||"";var i=this.templateRole.last_name||r.join(" ")||"";this.first_name=n;this.last_name=i;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||""}getActiveEntitlements(this.endpoint).then((function(t){e.activeEntitlements=t;console.log("[CONTACT PICKER] Loaded entitlements",t)})).catch((function(e){return console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)}));getFeatureFlags().then((function(t){e.featureFlags=t;console.log("[CONTACT PICKER] Loaded feature flags",t)})).catch((function(e){console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))};e.prototype.handleFirstNameChange=function(e){var t;this.first_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.first_name})};e.prototype.handleLastNameChange=function(e){var t;this.last_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.last_name})};e.prototype.handleCancel=function(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.exit)===null||t===void 0?void 0:t.emit()};e.prototype.handleSubmit=function(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})};e.prototype.handleSelectSuggestion=function(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};e.prototype.render=function(){var e=this;var t,r,n,i,o,a,u,s,c,f,l,d,v,p,m,b,w,y;var g=this.first_name&&this.last_name&&isValidEmail(this.email);var x=!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;var _=g&&x;var k=((n=(r=(t=this.featureFlags)===null||t===void 0?void 0:t.toggles)===null||r===void 0?void 0:r.find((function(e){return e.name==="sms"})))===null||n===void 0?void 0:n.enabled)===true;var E=[];if(((a=(o=(i=this.featureFlags)===null||i===void 0?void 0:i.toggles)===null||o===void 0?void 0:o.find((function(e){return e.name==="passcode-verification"})))===null||a===void 0?void 0:a.enabled)===true){E.push({label:"Passcode",value:"passcode"})}if(((c=(s=(u=this.featureFlags)===null||u===void 0?void 0:u.toggles)===null||s===void 0?void 0:s.find((function(e){return e.name==="email-verification"})))===null||c===void 0?void 0:c.enabled)===true){E.push({label:"Email",value:"email"})}if(k&&((d=(l=(f=this.featureFlags)===null||f===void 0?void 0:f.toggles)===null||l===void 0?void 0:l.find((function(e){return e.name==="sms-verification"})))===null||d===void 0?void 0:d.enabled)===true&&!!this.activeEntitlements.sms_auth){E.push({label:"SMS (One-Time Code)",value:"sms"})}if(((m=(p=(v=this.featureFlags)===null||v===void 0?void 0:v.toggles)===null||p===void 0?void 0:p.find((function(e){return e.name==="kba-verification"})))===null||m===void 0?void 0:m.enabled)===true&&!!this.activeEntitlements.kba_auth){E.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((y=(w=(b=this.featureFlags)===null||b===void 0?void 0:b.toggles)===null||w===void 0?void 0:w.find((function(e){return e.name==="id-verification"})))===null||y===void 0?void 0:y.enabled)===true&&!!this.activeEntitlements.id_auth){E.push({label:"ID Check",value:"id"})}return h("form",{key:"5b4d4de3ad06d4cb458b92ca6159fadcbb38a89e",onSubmit:function(e){return e.preventDefault()},autocomplete:"off"},h("div",{key:"065bd43ea84a5431f4cb370491147377d0b4ed87",class:"row"},h("label",{key:"48e3ab3a13607b42018e400703910d08f053d7c0",htmlFor:this.firstNameFieldId},"Name:"),h("div",{key:"c1acb5b9cfd0cdbd17edce151e66035826ae3e15",class:"names-row"},h("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:function(){setTimeout((function(){var t;e.showSuggestions=((t=e.contactSuggestions)===null||t===void 0?void 0:t.length)>0}),100)},onInput:function(t){return e.handleFirstNameChange(t)}}),h("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:function(){setTimeout((function(){var t;e.showSuggestions=((t=e.contactSuggestions)===null||t===void 0?void 0:t.length)>0}),100)},onInput:function(t){return e.handleLastNameChange(t)}})),this.showSuggestions&&h("verdocs-portal",{key:"6a03422c1dbe45c1e8a389af0f884f2f4b525aca",anchor:this.firstNameFieldId,onClickAway:function(){e.showSuggestions=false;document.querySelectorAll(".verdocs-portal-wrapper").forEach((function(e){return e.remove()}))},id:"verdocs-contact-picker-suggestions"},h("div",{key:"a9907d3c7b291fde2e86a3a0dd2bfb0f2c1d06b3",class:"dropdown"},this.contactSuggestions.filter((function(t){return!e.first_name||t.first_name.toLowerCase().includes(e.first_name.toLowerCase())})).map((function(t){var r;return h("div",{key:(r=t.id)!==null&&r!==void 0?r:t.email,class:"suggestion",onClick:function(r){return e.handleSelectSuggestion(r,t)}},t.picture?h("img",{alt:"Avatar",class:"avatar",src:t.picture}):h("div",{class:"avatar",innerHTML:addrBookIcon}),h("div",{class:"details"},h("div",{class:"name"},formatFullName(t)),t.email&&h("div",{class:"destination"},t.email),t.phone&&h("div",{class:"destination"},t.phone)))}))))),h("div",{key:"220b7dc0f04eb27279e003aaa196aee58b51ec64",class:"row"},h("label",{key:"7120d789f96a375a3f6237b93a3699866dae5e0e",htmlFor:this.emailFieldId},"Email:"),h("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:function(){return e.showSuggestions=false},onInput:function(t){return e.email=t.target.value}})),k&&h("div",{key:"8b888dd8490d99235bd1d1b2e6acce6d64fbf5a4",class:"row"},h("label",{key:"702e60156cfbe39cc56c20ca5f9e5b112eb8fbb5",htmlFor:this.phoneFieldId},"Phone:"),h("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:function(){return e.showSuggestions=false},onInput:function(t){e.phone=convertToE164(t.target.value)}})),h(Fragment,{key:"60d3ccc50417d1fbe6a815d6edf37619f945b63e"},E.length>0&&h("div",{key:"f1248b2c40c1cfb22cfa577bc1f5c5895362ded2",class:"row pin-code"},h("label",{key:"d782f794fa6a8d2ca18835db9e8d6e510038f212"},"Verification Methods:"),h("div",{key:"51370acfa10be18fa7783ee28849caaf9ad11fcb"},E.map((function(t,r){return h("div",{class:"option"},h("verdocs-checkbox",{size:"small",id:"verdocs-multi-select-opt-".concat(r),value:t.value,checked:e.auth_methods.includes(t.value),onInput:function(r){if(r.target.checked){e.auth_methods=__spreadArray(__spreadArray([],e.auth_methods,true),[t.value],false)}else{e.auth_methods=e.auth_methods.filter((function(e){return e!==t.value}))}}}),h("label",{htmlFor:"verdocs-multi-select-option-".concat(r)},t.label))})))),this.auth_methods.includes("passcode")&&h("div",{key:"37cc47ae07fcee96a90ca0684307b2fa12436fbd",class:"row pin-code"},h("label",{key:"57b9975fcdf609ebcfd709f2cc646f74163eda15",htmlFor:this.phoneFieldId},"Passcode:"),h("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:function(){return e.showSuggestions=false},onInput:function(t){return e.passcode=t.target.value}}))),h("div",{key:"7bed0f7befff14122e821680fce895d64889212c",class:"row pin-code"},h("label",{key:"295f03231ca15e2a25895d8f6dca7b7507fc58fa"},"Delegation:"),h("div",{key:"21d03961df0853b3f1e4a4b3e9445e8a3ecf80ee"},h("div",{key:"1e70e144d4e678e9697039468549ef38606dc3b7",class:"option"},h("verdocs-checkbox",{key:"8f94ea2d0b3f1bc8831c8666d379ebc2a22fbb95",size:"small",id:"verdocs-delegator",checked:this.delegator,onInput:function(t){e.delegator=t.target.checked}}),h("label",{key:"9ea3f9f359f7045aebd80367af0a7431d1e850e4",htmlFor:"verdocs-delegator"},"May delegate signing")))),h("div",{key:"90e07660115c7f41ade3aad5fe4eb93d7d8cb4fd",class:"row message"},h("label",{key:"0268f3ecd123de3c8d0e27b345253385157bfce6",htmlFor:"verdocs-contact-picker-message"},"Message:"),h("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:function(){return e.showSuggestions=false},onInput:function(t){return e.message=t.target.value}},this.message)),h("div",{key:"9bfb44085c94a08a9d2957d031e263d398ab170b",class:"buttons"},h("div",{key:"2b21510d850071094dd7005c26de4e8cd14c992d",class:"flex-fill"}),h("verdocs-button",{key:"881527d8167c31490622f3e9f0252cfdd3139d58",variant:"outline",label:"Cancel",size:"small",onClick:function(t){return e.handleCancel(t)}}),h("verdocs-button",{key:"3dbc5efa49eb696eedb2d50c06837b70abea5e80",label:"OK",size:"small",disabled:!_,onClick:!_?function(){}:function(t){return e.handleSubmit(t)}})))};return e}();VerdocsContactPicker.style=verdocsContactPickerCss;export{VerdocsContactPicker as verdocs_contact_picker};
3
3
  //# sourceMappingURL=verdocs-contact-picker.entry.js.map