@verdocs/web-sdk 6.9.10 → 6.9.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +121 -15
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js.map +1 -1
- package/dist/components/{p-D_8TNtkM.js → p-Bpe5Awxh.js} +2 -2
- package/dist/components/p-DeQsR41s.js +3 -0
- package/dist/components/p-DeQsR41s.js.map +1 -0
- package/dist/components/verdocs-build.js +1 -1
- package/dist/components/verdocs-contact-picker.js +1 -1
- package/dist/components/verdocs-send.js +1 -1
- package/dist/esm/verdocs-contact-picker.entry.js +121 -15
- package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
- package/dist/esm-es5/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/verdocs-web-sdk/p-3a542ed0.system.entry.js +4 -0
- package/dist/verdocs-web-sdk/p-3a542ed0.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-BdZ5Ghsa.system.js +1 -1
- package/dist/verdocs-web-sdk/p-ae4290c6.entry.js +3 -0
- package/dist/verdocs-web-sdk/p-ae4290c6.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/package.json +2 -2
- package/dist/components/p-CT0DHyPw.js +0 -3
- package/dist/components/p-CT0DHyPw.js.map +0 -1
- package/dist/verdocs-web-sdk/p-1e8f1ce4.system.entry.js +0 -4
- package/dist/verdocs-web-sdk/p-1e8f1ce4.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-b464b598.entry.js +0 -3
- package/dist/verdocs-web-sdk/p-b464b598.entry.js.map +0 -1
- /package/dist/components/{p-D_8TNtkM.js.map → p-Bpe5Awxh.js.map} +0 -0
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();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,a){function o(e){try{f(n.next(e))}catch(e){a(e)}}function u(e){try{f(n["throw"](e))}catch(e){a(e)}}function f(e){e.done?r(e.value):i(e.value).then(o,u)}f((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=u(0),o["throw"]=u(1),o["return"]=u(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(t){return f([e,t])}}function f(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(r=0)),r)try{if(n=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=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(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){r.label=u[1];break}if(u[0]===6&&r.label<a[1]){r.label=a[1];a=u;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(u);break}if(a[2])r.ops.pop();r.trys.pop();continue}u=t.call(e,r)}catch(e){u=[6,e];i=0}finally{n=a=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,a){r=e[t](r),i(n,a,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,a=[];return i=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(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){a.push([e,t,r,n])>1||f(e,t)}))};if(t)i[e]=t(i[e])}}function f(e,t){try{s(n[e](t))}catch(e){d(a[0][3],e)}}function s(e){e.value instanceof __await?Promise.resolve(e.value.v).then(c,l):d(a[0][2],e)}function c(e){f("next",e)}function l(e){f("throw",e)}function d(e,t){if(e(t),a.shift(),a.length)f(a[0][0],a[0][1])}};var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||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.")};System.register(["./p-De3fNE_u.system.js","@verdocs/js-sdk","./p-Bzy18UgU.system.js","./p-C9y1KCYV.system.js","./p-EtGQEmqo.system.js","./p-C7pDryJb.system.js","./p-CwIkMPyJ.system.js"],(function(e){"use strict";var t,r,n,i,a,o,u,f,s,c,l,d;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.F},function(e){a=e.VerdocsEndpoint;o=e.formatFullName;u=e.getActiveEntitlements;f=e.isValidEmail},function(e){s=e.c;c=e.g},function(e){l=e.B},function(e){d=e.f},null,null],execute:function(){
|
|
2
|
-
/*! Axios v1.16.1 Copyright (c) 2026 Matt Zabriskie and contributors */
|
|
3
|
-
var v;var h;function p(){var e=this;if(h)return v;h=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,a=Symbol.toStringTag;var o=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 o(t)===e}};var f=function(e){return function(t){return typeof t===e}};var c=Array.isArray;var l=f("undefined");function d(e){return e!==null&&!l(e)&&e.constructor!==null&&!l(e.constructor)&&y(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var p=u("ArrayBuffer");function b(e){var t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&p(e.buffer)}return t}var m=f("string");var y=f("function");var w=f("number");var g=function(e){return e!==null&&typeof e==="object"};var x=function(e){return e===true||e===false};var _=function(e){if(o(e)!=="object"){return false}var t=n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(a in e)&&!(i in e)};var k=function(e){if(!g(e)||d(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};var O=u("Date");var R=u("File");var S=function(e){return!!(e&&typeof e.uri!=="undefined")};var E=function(e){return e&&typeof e.getParts!=="undefined"};var j=u("Blob");var T=u("FileList");var A=function(e){return g(e)&&y(e.pipe)};function C(){if(typeof globalThis!=="undefined")return globalThis;if(typeof self!=="undefined")return self;if(typeof window!=="undefined")return window;if(typeof s!=="undefined")return s;return{}}var N=C();var F=typeof N.FormData!=="undefined"?N.FormData:undefined;var P=function(e){if(!e)return false;if(F&&e instanceof F)return true;var t=n(e);if(!t||t===Object.prototype)return false;if(!y(e.append))return false;var r=o(e);return r==="formdata"||r==="object"&&y(e.toString)&&e.toString()==="[object FormData]"};var U=u("URLSearchParams");var I=["ReadableStream","Request","Response","Headers"].map(u),B=I[0],D=I[1],M=I[2],L=I[3];var z=function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function q(e,t,r){var n=r===void 0?{}:r,i=n.allOwnKeys,a=i===void 0?false:i;if(e===null||typeof e==="undefined"){return}var o;var u;if(typeof e!=="object"){e=[e]}if(c(e)){for(o=0,u=e.length;o<u;o++){t.call(null,e[o],o,e)}}else{if(d(e)){return}var f=a?Object.getOwnPropertyNames(e):Object.keys(e);var s=f.length;var l=void 0;for(o=0;o<s;o++){l=f[o];t.call(null,e[l],l,e)}}}function H(e,t){if(d(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 J=function(){if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:s}();var K=function(e){return!l(e)&&e!==J};function V(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var r=K(this)&&this||{},n=r.caseless,i=r.skipUndefined;var a={};var o=function(e,t){if(t==="__proto__"||t==="constructor"||t==="prototype"){return}var r=n&&H(a,t)||t;var o=ie(a,r)?a[r]:undefined;if(_(o)&&_(e)){a[r]=V(o,e)}else if(_(e)){a[r]=V({},e)}else if(c(e)){a[r]=e.slice()}else if(!i||!l(e)){a[r]=e}};for(var u=0,f=e.length;u<f;u++){e[u]&&q(e[u],o)}return a}var G=function(e,r,n,i){var a=i===void 0?{}:i,o=a.allOwnKeys;q(r,(function(r,i){if(n&&y(r)){Object.defineProperty(e,i,{__proto__:null,value:t(r,n),writable:true,enumerable:true,configurable:true})}else{Object.defineProperty(e,i,{__proto__:null,value:r,writable:true,enumerable:true,configurable:true})}}),{allOwnKeys:o});return e};var W=function(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};var X=function(e,t,r,n){e.prototype=Object.create(t.prototype,n);Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:true,enumerable:false,configurable:true});Object.defineProperty(e,"super",{__proto__:null,value:t.prototype});r&&Object.assign(e.prototype,r)};var $=function(e,t,r,i){var a;var o;var u;var f={};t=t||{};if(e==null)return t;do{a=Object.getOwnPropertyNames(e);o=a.length;while(o-- >0){u=a[o];if((!i||i(u,e,t))&&!f[u]){t[u]=e[u];f[u]=true}}e=r!==false&&n(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t};var Q=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 Y=function(e){if(!e)return null;if(c(e))return e;var t=e.length;if(!w(t))return null;var r=new Array(t);while(t-- >0){r[t]=e[t]}return r};var Z=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!=="undefined"&&n(Uint8Array));var ee=function(e,t){var r=e&&e[i];var n=r.call(e);var a;while((a=n.next())&&!a.done){var o=a.value;t.call(e,o[0],o[1])}};var te=function(e,t){var r;var n=[];while((r=e.exec(t))!==null){n.push(r)}return n};var re=u("HTMLFormElement");var ne=function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,r,n){return r.toUpperCase()+n}))};var ie=function(e){var t=e.hasOwnProperty;return function(e,r){return t.call(e,r)}}(Object.prototype);var ae=u("RegExp");var oe=function(e,t){var r=Object.getOwnPropertyDescriptors(e);var n={};q(r,(function(r,i){var a;if((a=t(r,i,e))!==false){n[i]=a||r}}));Object.defineProperties(e,n)};var ue=function(e){oe(e,(function(t,r){if(y(e)&&["arguments","caller","callee"].includes(r)){return false}var n=e[r];if(!y(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 fe=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 se=function(){};var ce=function(e,t){return e!=null&&Number.isFinite(e=+e)?e:t};function le(e){return!!(e&&y(e.append)&&e[a]==="FormData"&&e[i])}var de=function(e){var t=new WeakSet;var r=function(e){if(g(e)){if(t.has(e)){return}if(d(e)){return e}if(!("toJSON"in e)){t.add(e);var n=c(e)?[]:{};q(e,(function(e,t){var i=r(e);!l(i)&&(n[t]=i)}));t.delete(e);return n}}return e};return r(e)};var ve=u("AsyncFunction");var he=function(e){return e&&(g(e)||y(e))&&y(e.then)&&y(e.catch)};var pe=function(e,t){if(e){return setImmediate}return t?function(e,t){J.addEventListener("message",(function(r){var n=r.source,i=r.data;if(n===J&&i===e){t.length&&t.shift()()}}),false);return function(r){t.push(r);J.postMessage(e,"*")}}("axios@".concat(Math.random()),[]):function(e){return setTimeout(e)}}(typeof setImmediate==="function",y(J.postMessage));var be=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(J):typeof process!=="undefined"&&process.nextTick||pe;var me=function(e){return e!=null&&y(e[i])};var ye={isArray:c,isArrayBuffer:p,isBuffer:d,isFormData:P,isArrayBufferView:b,isString:m,isNumber:w,isBoolean:x,isObject:g,isPlainObject:_,isEmptyObject:k,isReadableStream:B,isRequest:D,isResponse:M,isHeaders:L,isUndefined:l,isDate:O,isFile:R,isReactNativeBlob:S,isReactNative:E,isBlob:j,isRegExp:ae,isFunction:y,isStream:A,isURLSearchParams:U,isTypedArray:Z,isFileList:T,forEach:q,merge:V,extend:G,trim:z,stripBOM:W,inherits:X,toFlatObject:$,kindOf:o,kindOfTest:u,endsWith:Q,toArray:Y,forEachEntry:ee,matchAll:te,isHTMLForm:re,hasOwnProperty:ie,hasOwnProp:ie,reduceDescriptors:oe,freezeMethods:ue,toObjectSet:fe,toCamelCase:ne,noop:se,toFiniteNumber:ce,findKey:H,global:J,isContextDefined:K,isSpecCompliantForm:le,toJSONObject:de,isAsyncFn:ve,isThenable:he,setImmediate:pe,asap:be,isIterable:me};var we=ye.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var ge=function(e){var t={};var r;var n;var i;e&&e.split("\n").forEach((function e(a){i=a.indexOf(":");r=a.substring(0,i).trim().toLowerCase();n=a.substring(i+1).trim();if(!r||t[r]&&we[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};function xe(e){var t=0;var r=e.length;while(t<r){var n=e.charCodeAt(t);if(n!==9&&n!==32){break}t+=1}while(r>t){var n=e.charCodeAt(r-1);if(n!==9&&n!==32){break}r-=1}return t===0&&r===e.length?e:e.slice(t,r)}var _e=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g");var ke=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Oe(e,t){if(ye.isArray(e)){return e.map((function(e){return Oe(e,t)}))}return xe(String(e).replace(t,""))}var Re=function(e){return Oe(e,_e)};var Se=function(e){return Oe(e,ke)};function Ee(e){var t=Object.create(null);ye.forEach(e.toJSON(),(function(e,r){t[r]=Se(e)}));return t}var je=Symbol("internals");function Te(e){return e&&String(e).trim().toLowerCase()}function Ae(e){if(e===false||e==null){return e}return ye.isArray(e)?e.map(Ae):Re(String(e))}function Ce(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 Ne=function(e){return/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())};function Fe(e,t,r,n,i){if(ye.isFunction(n)){return n.call(this,t,r)}if(i){t=r}if(!ye.isString(t))return;if(ye.isString(n)){return t.indexOf(n)!==-1}if(ye.isRegExp(n)){return n.test(t)}}function Pe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))}function Ue(e,t){var r=ye.toCamelCase(" "+t);["get","set","has"].forEach((function(n){Object.defineProperty(e,n+r,{__proto__:null,value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:true})}))}var Ie=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=Te(t);if(!i){throw new Error("header name must be a non-empty string")}var a=ye.findKey(n,i);if(!a||n[a]===undefined||r===true||r===undefined&&n[a]!==false){n[a||t]=Ae(e)}}var a=function(e,t){return ye.forEach(e,(function(e,r){return i(e,r,t)}))};if(ye.isPlainObject(e)||e instanceof this.constructor){a(e,t)}else if(ye.isString(e)&&(e=e.trim())&&!Ne(e)){a(ge(e),t)}else if(ye.isObject(e)&&ye.isIterable(e)){var o={},u=void 0,f=void 0;for(var s=0,c=e;s<c.length;s++){var l=c[s];if(!ye.isArray(l)){throw TypeError("Object iterator must return a key-value pair")}o[f=l[0]]=(u=o[f])?ye.isArray(u)?__spreadArray(__spreadArray([],u,true),[l[1]],false):[u,l[1]]:l[1]}a(o,t)}else{e!=null&&i(t,e,r)}return this};e.prototype.get=function(e,t){e=Te(e);if(e){var r=ye.findKey(this,e);if(r){var n=this[r];if(!t){return n}if(t===true){return Ce(n)}if(ye.isFunction(t)){return t.call(this,n,r)}if(ye.isRegExp(t)){return t.exec(n)}throw new TypeError("parser must be boolean|regexp|function")}}};e.prototype.has=function(e,t){e=Te(e);if(e){var r=ye.findKey(this,e);return!!(r&&this[r]!==undefined&&(!t||Fe(this,this[r],r,t)))}return false};e.prototype.delete=function(e,t){var r=this;var n=false;function i(e){e=Te(e);if(e){var i=ye.findKey(r,e);if(i&&(!t||Fe(r,r[i],i,t))){delete r[i];n=true}}}if(ye.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||Fe(this,this[i],i,e,true)){delete this[i];n=true}}return n};e.prototype.normalize=function(e){var t=this;var r={};ye.forEach(this,(function(n,i){var a=ye.findKey(r,i);if(a){t[a]=Ae(n);delete t[i];return}var o=e?Pe(i):String(i).trim();if(o!==i){delete t[i]}t[o]=Ae(n);r[o]=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);ye.forEach(this,(function(r,n){r!=null&&r!==false&&(t[n]=e&&ye.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[je]=this[je]={accessors:{}};var r=t.accessors;var n=this.prototype;function i(e){var t=Te(e);if(!r[t]){Ue(n,e);r[t]=true}}ye.isArray(e)?e.forEach(i):i(e);return this};return e}();Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ye.reduceDescriptors(Ie.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}}}));ye.freezeMethods(Ie);var Be="[REDACTED ****]";function De(e){if(ye.hasOwnProp(e,"toJSON")){return true}var t=Object.getPrototypeOf(e);while(t&&t!==Object.prototype){if(ye.hasOwnProp(t,"toJSON")){return true}t=Object.getPrototypeOf(t)}return false}function Me(e,t){var r=new Set(t.map((function(e){return String(e).toLowerCase()})));var n=[];var i=function(e){if(e===null||typeof e!=="object")return e;if(ye.isBuffer(e))return e;if(n.indexOf(e)!==-1)return undefined;if(e instanceof Ie){e=e.toJSON()}n.push(e);var t;if(ye.isArray(e)){t=[];e.forEach((function(e,r){var n=i(e);if(!ye.isUndefined(n)){t[r]=n}}))}else{if(!ye.isPlainObject(e)&&De(e)){n.pop();return e}t=Object.create(null);for(var a=0,o=Object.entries(e);a<o.length;a++){var u=o[a],f=u[0],s=u[1];var c=r.has(f.toLowerCase())?Be:i(s);if(!ye.isUndefined(c)){t[f]=c}}}n.pop();return t};return i(e)}var Le=function(e){__extends(t,e);function t(t,r,n,i,a){var o=e.call(this,t)||this;Object.defineProperty(o,"message",{__proto__:null,value:t,enumerable:true,writable:true,configurable:true});o.name="AxiosError";o.isAxiosError=true;r&&(o.code=r);n&&(o.config=n);i&&(o.request=i);if(a){o.response=a;o.status=a.status}return o}t.from=function(e,r,n,i,a,o){var u=new t(e.message,r||e.code,n,i,a);u.cause=e;u.name=e.name;if(e.status!=null&&u.status==null){u.status=e.status}o&&Object.assign(u,o);return u};t.prototype.toJSON=function(){var e=this.config;var t=e&&ye.hasOwnProp(e,"redact")?e.redact:undefined;var r=ye.isArray(t)&&t.length>0?Me(e,t):ye.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}};return t}(Error);Le.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Le.ERR_BAD_OPTION="ERR_BAD_OPTION";Le.ECONNABORTED="ECONNABORTED";Le.ETIMEDOUT="ETIMEDOUT";Le.ECONNREFUSED="ECONNREFUSED";Le.ERR_NETWORK="ERR_NETWORK";Le.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Le.ERR_DEPRECATED="ERR_DEPRECATED";Le.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Le.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Le.ERR_CANCELED="ERR_CANCELED";Le.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Le.ERR_INVALID_URL="ERR_INVALID_URL";Le.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var ze=null;function qe(e){return ye.isPlainObject(e)||ye.isArray(e)}function He(e){return ye.endsWith(e,"[]")?e.slice(0,-2):e}function Je(e,t,r){if(!e)return t;return e.concat(t).map((function e(t,n){t=He(t);return!r&&n?"["+t+"]":t})).join(r?".":"")}function Ke(e){return ye.isArray(e)&&!e.some(qe)}var Ve=ye.toFlatObject(ye,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function Ge(e,t,r){if(!ye.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;r=ye.toFlatObject(r,{metaTokens:true,dots:false,indexes:false},false,(function e(t,r){return!ye.isUndefined(r[t])}));var n=r.metaTokens;var i=r.visitor||l;var a=r.dots;var o=r.indexes;var u=r.Blob||typeof Blob!=="undefined"&&Blob;var f=r.maxDepth===undefined?100:r.maxDepth;var s=u&&ye.isSpecCompliantForm(t);if(!ye.isFunction(i)){throw new TypeError("visitor must be a function")}function c(e){if(e===null)return"";if(ye.isDate(e)){return e.toISOString()}if(ye.isBoolean(e)){return e.toString()}if(!s&&ye.isBlob(e)){throw new Le("Blob is not supported. Use a Buffer instead.")}if(ye.isArrayBuffer(e)||ye.isTypedArray(e)){return s&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function l(e,r,i){var u=e;if(ye.isReactNative(t)&&ye.isReactNativeBlob(e)){t.append(Je(i,r,a),c(e));return false}if(e&&!i&&typeof e==="object"){if(ye.endsWith(r,"{}")){r=n?r:r.slice(0,-2);e=JSON.stringify(e)}else if(ye.isArray(e)&&Ke(e)||(ye.isFileList(e)||ye.endsWith(r,"[]"))&&(u=ye.toArray(e))){r=He(r);u.forEach((function e(n,i){!(ye.isUndefined(n)||n===null)&&t.append(o===true?Je([r],i,a):o===null?r:r+"[]",c(n))}));return false}}if(qe(e)){return true}t.append(Je(i,r,a),c(e));return false}var d=[];var v=Object.assign(Ve,{defaultVisitor:l,convertValue:c,isVisitable:qe});function h(e,r,n){if(n===void 0){n=0}if(ye.isUndefined(e))return;if(n>f){throw new Le("Object is too deeply nested ("+n+" levels). Max depth: "+f,Le.ERR_FORM_DATA_DEPTH_EXCEEDED)}if(d.indexOf(e)!==-1){throw Error("Circular reference detected in "+r.join("."))}d.push(e);ye.forEach(e,(function e(a,o){var u=!(ye.isUndefined(a)||a===null)&&i.call(t,a,ye.isString(o)?o.trim():o,r,v);if(u===true){h(a,r?r.concat(o):[o],n+1)}}));d.pop()}if(!ye.isObject(e)){throw new TypeError("data must be an object")}h(e);return t}function We(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function e(r){return t[r]}))}function Xe(e,t){this._pairs=[];e&&Ge(e,this,t)}var $e=Xe.prototype;$e.append=function e(t,r){this._pairs.push([t,r])};$e.toString=function e(t){var r=t?function(e){return t.call(this,e,We)}:We;return this._pairs.map((function e(t){return r(t[0])+"="+r(t[1])}),"").join("&")};function Qe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ye(e,t,r){if(!t){return e}var n=r&&r.encode||Qe;var i=ye.isFunction(r)?{serialize:r}:r;var a=i&&i.serialize;var o;if(a){o=a(t,i)}else{o=ye.isURLSearchParams(t)?t.toString():new Xe(t,i).toString(n)}if(o){var u=e.indexOf("#");if(u!==-1){e=e.slice(0,u)}e+=(e.indexOf("?")===-1?"?":"&")+o}return e}var Ze=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){ye.forEach(this.handlers,(function t(r){if(r!==null){e(r)}}))};return e}();var et={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false,legacyInterceptorReqResOrdering:true};var tt=typeof URLSearchParams!=="undefined"?URLSearchParams:Xe;var rt=typeof FormData!=="undefined"?FormData:null;var nt=typeof Blob!=="undefined"?Blob:null;var it={isBrowser:true,classes:{URLSearchParams:tt,FormData:rt,Blob:nt},protocols:["http","https","file","blob","url","data"]};var at=typeof window!=="undefined"&&typeof document!=="undefined";var ot=typeof navigator==="object"&&navigator||undefined;var ut=at&&(!ot||["ReactNative","NativeScript","NS"].indexOf(ot.product)<0);var ft=function(){return typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"}();var st=at&&window.location.href||"http://localhost";var ct=Object.freeze({__proto__:null,hasBrowserEnv:at,hasStandardBrowserEnv:ut,hasStandardBrowserWebWorkerEnv:ft,navigator:ot,origin:st});var lt=__assign(__assign({},ct),it);function dt(e,t){return Ge(e,new lt.classes.URLSearchParams,__assign({visitor:function(e,t,r,n){if(lt.isNode&&ye.isBuffer(e)){this.append(t,e.toString("base64"));return false}return n.defaultVisitor.apply(this,arguments)}},t))}function vt(e){return ye.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return e[0]==="[]"?"":e[1]||e[0]}))}function ht(e){var t={};var r=Object.keys(e);var n;var i=r.length;var a;for(n=0;n<i;n++){a=r[n];t[a]=e[a]}return t}function pt(e){function t(e,r,n,i){var a=e[i++];if(a==="__proto__")return true;var o=Number.isFinite(+a);var u=i>=e.length;a=!a&&ye.isArray(n)?n.length:a;if(u){if(ye.hasOwnProp(n,a)){n[a]=ye.isArray(n[a])?n[a].concat(r):[n[a],r]}else{n[a]=r}return!o}if(!ye.hasOwnProp(n,a)||!ye.isObject(n[a])){n[a]=[]}var f=t(e,r,n[a],i);if(f&&ye.isArray(n[a])){n[a]=ht(n[a])}return!o}if(ye.isFormData(e)&&ye.isFunction(e.entries)){var r={};ye.forEachEntry(e,(function(e,n){t(vt(e),n,r,0)}));return r}return null}var bt=function(e,t){return e!=null&&ye.hasOwnProp(e,t)?e[t]:undefined};function mt(e,t,r){if(ye.isString(e)){try{(0,JSON.parse)(e);return ye.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(r||JSON.stringify)(e)}var yt={transitional:et,adapter:["xhr","http","fetch"],transformRequest:[function e(t,r){var n=r.getContentType()||"";var i=n.indexOf("application/json")>-1;var a=ye.isObject(t);if(a&&ye.isHTMLForm(t)){t=new FormData(t)}var o=ye.isFormData(t);if(o){return i?JSON.stringify(pt(t)):t}if(ye.isArrayBuffer(t)||ye.isBuffer(t)||ye.isStream(t)||ye.isFile(t)||ye.isBlob(t)||ye.isReadableStream(t)){return t}if(ye.isArrayBufferView(t)){return t.buffer}if(ye.isURLSearchParams(t)){r.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}var u;if(a){var f=bt(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1){return dt(t,f).toString()}if((u=ye.isFileList(t))||n.indexOf("multipart/form-data")>-1){var s=bt(this,"env");var c=s&&s.FormData;return Ge(u?{"files[]":t}:t,c&&new c,f)}}if(a||i){r.setContentType("application/json",false);return mt(t)}return t}],transformResponse:[function e(t){var r=bt(this,"transitional")||yt.transitional;var n=r&&r.forcedJSONParsing;var i=bt(this,"responseType");var a=i==="json";if(ye.isResponse(t)||ye.isReadableStream(t)){return t}if(t&&ye.isString(t)&&(n&&!i||a)){var o=r&&r.silentJSONParsing;var u=!o&&a;try{return JSON.parse(t,bt(this,"parseReviver"))}catch(e){if(u){if(e.name==="SyntaxError"){throw Le.from(e,Le.ERR_BAD_RESPONSE,this,null,bt(this,"response"))}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lt.classes.FormData,Blob:lt.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};ye.forEach(["delete","get","head","post","put","patch","query"],(function(e){yt.headers[e]={}}));function wt(e,t){var r=this||yt;var n=t||r;var i=Ie.from(n.headers);var a=n.data;ye.forEach(e,(function e(n){a=n.call(r,a,i.normalize(),t?t.status:undefined)}));i.normalize();return a}function gt(e){return!!(e&&e.__CANCEL__)}var xt=function(e){__extends(t,e);function t(t,r,n){var i=e.call(this,t==null?"canceled":t,Le.ERR_CANCELED,r,n)||this;i.name="CanceledError";i.__CANCEL__=true;return i}return t}(Le);function _t(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,r.status>=400&&r.status<500?Le.ERR_BAD_REQUEST:Le.ERR_BAD_RESPONSE,r.config,r.request,r))}}function kt(e){var t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}function Ot(e,t){e=e||10;var r=new Array(e);var n=new Array(e);var i=0;var a=0;var o;t=t!==undefined?t:1e3;return function u(f){var s=Date.now();var c=n[a];if(!o){o=s}r[i]=f;n[i]=s;var l=a;var d=0;while(l!==i){d+=r[l++];l=l%e}i=(i+1)%e;if(i===a){a=(a+1)%e}if(s-o<t){return}var v=c&&s-c;return v?Math.round(d*1e3/v):undefined}}function Rt(e,t){var r=0;var n=1e3/t;var i;var a;var o=function(t,n){if(n===void 0){n=Date.now()}r=n;i=null;if(a){clearTimeout(a);a=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 f=u-r;if(f>=n){o(e,u)}else{i=e;if(!a){a=setTimeout((function(){a=null;o(i)}),n-f)}}};var f=function(){return i&&o(i)};return[u,f]}var St=function(e,t,r){if(r===void 0){r=3}var n=0;var i=Ot(50,250);return Rt((function(r){var a;if(!r||typeof r.loaded!=="number"){return}var o=r.loaded;var u=r.lengthComputable?r.total:undefined;var f=u!=null?Math.min(o,u):o;var s=Math.max(0,f-n);var c=i(s);n=Math.max(n,f);var l=(a={loaded:f,total:u,progress:u?f/u:undefined,bytes:s,rate:c?c:undefined,estimated:c&&u?(u-f)/c:undefined,event:r,lengthComputable:u!=null},a[t?"download":"upload"]=true,a);e(l)}),r)};var Et=function(e,t){var r=e!=null;return[function(n){return t[0]({lengthComputable:r,total:e,loaded:n})},t[1]]};var jt=function(e){return function(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return ye.asap((function(){return e.apply(void 0,t)}))}};var Tt=lt.hasStandardBrowserEnv?function(e,t){return function(r){r=new URL(r,lt.origin);return e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)}}(new URL(lt.origin),lt.navigator&&/(msie|trident)/i.test(lt.navigator.userAgent)):function(){return true};var At=lt.hasStandardBrowserEnv?{write:function(e,t,r,n,i,a,o){if(typeof document==="undefined")return;var u=["".concat(e,"=").concat(encodeURIComponent(t))];if(ye.isNumber(r)){u.push("expires=".concat(new Date(r).toUTCString()))}if(ye.isString(n)){u.push("path=".concat(n))}if(ye.isString(i)){u.push("domain=".concat(i))}if(a===true){u.push("secure")}if(ye.isString(o)){u.push("SameSite=".concat(o))}document.cookie=u.join("; ")},read:function(e){if(typeof document==="undefined")return null;var t=document.cookie.split(";");for(var r=0;r<t.length;r++){var n=t[r].replace(/^\s+/,"");var i=n.indexOf("=");if(i!==-1&&n.slice(0,i)===e){return decodeURIComponent(n.slice(i+1))}}return null},remove:function(e){this.write(e,"",Date.now()-864e5,"/")}}:{write:function(){},read:function(){return null},remove:function(){}};function Ct(e){if(typeof e!=="string"){return false}return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Nt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ft(e,t,r){var n=!Ct(t);if(e&&(n||r===false)){return Nt(e,t)}return t}var Pt=function(e){return e instanceof Ie?__assign({},e):e};function Ut(e,t){t=t||{};var r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:false,writable:true,configurable:true});function n(e,t,r,n){if(ye.isPlainObject(e)&&ye.isPlainObject(t)){return ye.merge.call({caseless:n},e,t)}else if(ye.isPlainObject(t)){return ye.merge({},t)}else if(ye.isArray(t)){return t.slice()}return t}function i(e,t,r,i){if(!ye.isUndefined(t)){return n(e,t,r,i)}else if(!ye.isUndefined(e)){return n(undefined,e,r,i)}}function a(e,t){if(!ye.isUndefined(t)){return n(undefined,t)}}function o(e,t){if(!ye.isUndefined(t)){return n(undefined,t)}else if(!ye.isUndefined(e)){return n(undefined,e)}}function u(r,i,a){if(ye.hasOwnProp(t,a)){return n(r,i)}else if(ye.hasOwnProp(e,a)){return n(undefined,r)}}var f={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:u,headers:function(e,t,r){return i(Pt(e),Pt(t),r,true)}};ye.forEach(Object.keys(__assign(__assign({},e),t)),(function n(a){if(a==="__proto__"||a==="constructor"||a==="prototype")return;var o=ye.hasOwnProp(f,a)?f[a]:i;var s=ye.hasOwnProp(e,a)?e[a]:undefined;var c=ye.hasOwnProp(t,a)?t[a]:undefined;var l=o(s,c,a);ye.isUndefined(l)&&o!==u||(r[a]=l)}));return r}var It=["content-type","content-length"];function Bt(e,t,r){if(r!=="content-only"){e.set(t);return}Object.entries(t).forEach((function(t){var r=t[0],n=t[1];if(It.includes(r.toLowerCase())){e.set(r,n)}}))}var Dt=function(e){return encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(function(e,t){return String.fromCharCode(parseInt(t,16))}))};var Mt=function(e){var t=Ut({},e);var r=function(e){return ye.hasOwnProp(t,e)?t[e]:undefined};var n=r("data");var i=r("withXSRFToken");var a=r("xsrfHeaderName");var o=r("xsrfCookieName");var u=r("headers");var f=r("auth");var s=r("baseURL");var c=r("allowAbsoluteUrls");var l=r("url");t.headers=u=Ie.from(u);t.url=Ye(Ft(s,l,c),e.params,e.paramsSerializer);if(f){u.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?Dt(f.password):"")))}if(ye.isFormData(n)){if(lt.hasStandardBrowserEnv||lt.hasStandardBrowserWebWorkerEnv){u.setContentType(undefined)}else if(ye.isFunction(n.getHeaders)){Bt(u,n.getHeaders(),r("formDataHeaderPolicy"))}}if(lt.hasStandardBrowserEnv){if(ye.isFunction(i)){i=i(t)}var d=i===true||i==null&&Tt(t.url);if(d){var v=a&&o&&At.read(o);if(v){u.set(a,v)}}}return t};var Lt=typeof XMLHttpRequest!=="undefined";var zt=Lt&&function(e){return new Promise((function t(r,n){var i,a;var o=Mt(e);var u=o.data;var f=Ie.from(o.headers).normalize();var s=o.responseType,c=o.onUploadProgress,l=o.onDownloadProgress;var d;var v,h;var p,b;function m(){p&&p();b&&b();o.cancelToken&&o.cancelToken.unsubscribe(d);o.signal&&o.signal.removeEventListener("abort",d)}var y=new XMLHttpRequest;y.open(o.method.toUpperCase(),o.url,true);y.timeout=o.timeout;function w(){if(!y){return}var t=Ie.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders());var i=!s||s==="text"||s==="json"?y.responseText:y.response;var a={data:i,status:y.status,statusText:y.statusText,headers:t,config:e,request:y};_t((function e(t){r(t);m()}),(function e(t){n(t);m()}),a);y=null}if("onloadend"in y){y.onloadend=w}else{y.onreadystatechange=function e(){if(!y||y.readyState!==4){return}if(y.status===0&&!(y.responseURL&&y.responseURL.startsWith("file:"))){return}setTimeout(w)}}y.onabort=function t(){if(!y){return}n(new Le("Request aborted",Le.ECONNABORTED,e,y));m();y=null};y.onerror=function t(r){var i=r&&r.message?r.message:"Network Error";var a=new Le(i,Le.ERR_NETWORK,e,y);a.event=r||null;n(a);m();y=null};y.ontimeout=function t(){var r=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";var i=o.transitional||et;if(o.timeoutErrorMessage){r=o.timeoutErrorMessage}n(new Le(r,i.clarifyTimeoutError?Le.ETIMEDOUT:Le.ECONNABORTED,e,y));m();y=null};u===undefined&&f.setContentType(null);if("setRequestHeader"in y){ye.forEach(Ee(f),(function e(t,r){y.setRequestHeader(r,t)}))}if(!ye.isUndefined(o.withCredentials)){y.withCredentials=!!o.withCredentials}if(s&&s!=="json"){y.responseType=o.responseType}if(l){i=St(l,true),h=i[0],b=i[1];y.addEventListener("progress",h)}if(c&&y.upload){a=St(c),v=a[0],p=a[1];y.upload.addEventListener("progress",v);y.upload.addEventListener("loadend",p)}if(o.cancelToken||o.signal){d=function(t){if(!y){return}n(!t||t.type?new xt(null,e,y):t);y.abort();m();y=null};o.cancelToken&&o.cancelToken.subscribe(d);if(o.signal){o.signal.aborted?d():o.signal.addEventListener("abort",d)}}var g=kt(o.url);if(g&&!lt.protocols.includes(g)){n(new Le("Unsupported protocol "+g+":",Le.ERR_BAD_REQUEST,e));return}y.send(u||null)}))};var qt=function(e,t){e=e?e.filter(Boolean):[];if(!t&&!e.length){return}var r=new AbortController;var n=false;var i=function(e){if(!n){n=true;o();var t=e instanceof Error?e:this.reason;r.abort(t instanceof Le?t:new xt(t instanceof Error?t.message:t))}};var a=t&&setTimeout((function(){a=null;i(new Le("timeout of ".concat(t,"ms exceeded"),Le.ETIMEDOUT))}),t);var o=function(){if(!e){return}a&&clearTimeout(a);a=null;e.forEach((function(e){e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}));e=null};e.forEach((function(e){return e.addEventListener("abort",i)}));var u=r.signal;u.unsubscribe=function(){return ye.asap(o)};return u};var Ht=function(e,t){var r,n,i;return __generator(this,(function(a){switch(a.label){case 0:r=e.byteLength;if(!(r<t))return[3,2];return[4,e];case 1:a.sent();return[2];case 2:n=0;a.label=3;case 3:if(!(n<r))return[3,5];i=n+t;return[4,e.slice(n,i)];case 4:a.sent();n=i;return[3,3];case 5:return[2]}}))};var Jt=function(e,t){return __asyncGenerator(this,arguments,(function(){var r,n,i,a,o;var u,f,s,c;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,7,8,13]);r=true,n=__asyncValues(Kt(e));l.label=1;case 1:return[4,__await(n.next())];case 2:if(!(i=l.sent(),u=i.done,!u))return[3,6];c=i.value;r=false;a=c;return[5,__values(__asyncDelegator(__asyncValues(Ht(a,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:o=l.sent();f={error:o};return[3,13];case 8:l.trys.push([8,,11,12]);if(!(!r&&!u&&(s=n.return)))return[3,10];return[4,__await(s.call(n))];case 9:l.sent();l.label=10;case 10:return[3,12];case 11:if(f)throw f.error;return[7];case 12:return[7];case 13:return[2]}}))}))};var Kt=function(e){return __asyncGenerator(this,arguments,(function(){var t,r,n,i;return __generator(this,(function(a){switch(a.label){case 0:if(!e[Symbol.asyncIterator])return[3,4];return[5,__values(__asyncDelegator(__asyncValues(e)))];case 1:return[4,__await.apply(void 0,[a.sent()])];case 2:a.sent();return[4,__await(void 0)];case 3:return[2,a.sent()];case 4:t=e.getReader();a.label=5;case 5:a.trys.push([5,,12,14]);a.label=6;case 6:return[4,__await(t.read())];case 7:r=a.sent(),n=r.done,i=r.value;if(n){return[3,11]}return[4,__await(i)];case 8:return[4,a.sent()];case 9:a.sent();a.label=10;case 10:return[3,6];case 11:return[3,14];case 12:return[4,__await(t.cancel())];case 13:a.sent();return[7];case 14:return[2]}}))}))};var Vt=function(e,t,r,n){var i=Jt(e,t);var a=0;var o;var u=function(e){if(!o){o=true;n&&n(e)}};return new ReadableStream({pull:function(e){return __awaiter(this,void 0,void 0,(function(){var t,n,o,f,s,c;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,o=t.value;if(n){u();e.close();return[2]}f=o.byteLength;if(r){s=a+=f;r(s)}e.enqueue(new Uint8Array(o));return[3,3];case 2:c=l.sent();u(c);throw c;case 3:return[2]}}))}))},cancel:function(e){u(e);return i.return()}},{highWaterMark:2})};function Gt(e){if(!e||typeof e!=="string")return 0;if(!e.startsWith("data:"))return 0;var t=e.indexOf(",");if(t<0)return 0;var r=e.slice(5,t);var n=e.slice(t+1);var i=/;base64/i.test(r);if(i){var a=n.length;var o=n.length;for(var u=0;u<o;u++){if(n.charCodeAt(u)===37&&u+2<o){var f=n.charCodeAt(u+1);var s=n.charCodeAt(u+2);var c=(f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102)&&(s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102);if(c){a-=2;u+=2}}}var l=0;var d=o-1;var v=function(e){return e>=2&&n.charCodeAt(e-2)===37&&n.charCodeAt(e-1)===51&&(n.charCodeAt(e)===68||n.charCodeAt(e)===100)};if(d>=0){if(n.charCodeAt(d)===61){l++;d--}else if(v(d)){l++;d-=3}}if(l===1&&d>=0){if(n.charCodeAt(d)===61){l++}else if(v(d)){l++}}var h=Math.floor(a/4);var p=h*3-(l||0);return p>0?p:0}if(typeof Buffer!=="undefined"&&typeof Buffer.byteLength==="function"){return Buffer.byteLength(n,"utf8")}var b=0;for(var u=0,o=n.length;u<o;u++){var m=n.charCodeAt(u);if(m<128){b+=1}else if(m<2048){b+=2}else if(m>=55296&&m<=56319&&u+1<o){var y=n.charCodeAt(u+1);if(y>=56320&&y<=57343){b+=4;u++}else{b+=3}}else{b+=3}}return b}var Wt="1.16.1";var Xt=64*1024;var $t=ye.isFunction;var Qt=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 Yt=function(t){var r=ye.global!==undefined&&ye.global!==null?ye.global:globalThis;var n=r.ReadableStream,i=r.TextEncoder;t=ye.merge.call({skipUndefined:true},{Request:r.Request,Response:r.Response},t);var a=t.fetch,o=t.Request,u=t.Response;var f=a?$t(a):typeof fetch==="function";var s=$t(o);var c=$t(u);if(!f){return false}var l=f&&$t(n);var d=f&&(typeof i==="function"?function(e){return function(t){return e.encode(t)}}(new i):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 o(t).arrayBuffer()];case 1:return[2,new(e.apply(Uint8Array,[void 0,r.sent()]))]}}))}))});var v=s&&l&&Qt((function(){var e=false;var t=new o(lt.origin,{body:new n,method:"POST",get duplex(){e=true;return"half"}});var r=t.headers.has("Content-Type");if(t.body!=null){t.body.cancel()}return e&&!r}));var h=c&&l&&Qt((function(){return ye.isReadableStream(new u("").body)}));var p={stream:h&&function(e){return e.body}};f&&function(){["text","arrayBuffer","blob","formData","stream"].forEach((function(e){!p[e]&&(p[e]=function(t,r){var n=t&&t[e];if(n){return n.call(t)}throw new Le("Response type '".concat(e,"' is not supported"),Le.ERR_NOT_SUPPORT,r)})}))}();var b=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(ye.isBlob(t)){return[2,t.size]}if(!ye.isSpecCompliantForm(t))return[3,2];e=new o(lt.origin,{method:"POST",body:t});return[4,e.arrayBuffer()];case 1:return[2,r.sent().byteLength];case 2:if(ye.isArrayBufferView(t)||ye.isArrayBuffer(t)){return[2,t.byteLength]}if(ye.isURLSearchParams(t)){t=t+""}if(!ye.isString(t))return[3,4];return[4,d(t)];case 3:return[2,r.sent().byteLength];case 4:return[2]}}))}))};var m=function(t,r){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(n){e=ye.toFiniteNumber(t.getContentLength());return[2,e==null?b(r):e]}))}))};return function(t){return __awaiter(e,void 0,void 0,(function(){var e,r,n,f,c,l,d,b,y,w,g,x,_,k,O,R,S,E,j,T,A,C,N,F,P,U,I,B,D,M,L,z,q,H,J,K,V,G,W,X,$,Q,Y,Z,ee,te,re,ne;return __generator(this,(function(ie){switch(ie.label){case 0:e=Mt(t),r=e.url,n=e.method,f=e.data,c=e.signal,l=e.cancelToken,d=e.timeout,b=e.onDownloadProgress,y=e.onUploadProgress,w=e.responseType,g=e.headers,x=e.withCredentials,_=x===void 0?"same-origin":x,k=e.fetchOptions,O=e.maxContentLength,R=e.maxBodyLength;S=ye.isNumber(O)&&O>-1;E=ye.isNumber(R)&&R>-1;j=a||fetch;w=w?(w+"").toLowerCase():"text";T=qt([c,l&&l.toAbortSignal()],d);A=null;C=T&&T.unsubscribe&&function(){T.unsubscribe()};ie.label=1;case 1:ie.trys.push([1,9,,10]);if(S&&typeof r==="string"&&r.startsWith("data:")){F=Gt(r);if(F>O){throw new Le("maxContentLength size of "+O+" exceeded",Le.ERR_BAD_RESPONSE,t,A)}}if(!(E&&n!=="get"&&n!=="head"))return[3,3];return[4,m(g,f)];case 2:P=ie.sent();if(typeof P==="number"&&isFinite(P)&&P>R){throw new Le("Request body larger than maxBodyLength limit",Le.ERR_BAD_REQUEST,t,A)}ie.label=3;case 3:U=y&&v&&n!=="get"&&n!=="head";if(!U)return[3,5];return[4,m(g,f)];case 4:U=(N=ie.sent())!==0;ie.label=5;case 5:if(U){I=new o(r,{method:"POST",body:f,duplex:"half"});B=void 0;if(ye.isFormData(f)&&(B=I.headers.get("content-type"))){g.setContentType(B)}if(I.body){D=Et(N,St(jt(y))),M=D[0],L=D[1];f=Vt(I.body,Xt,M,L)}}if(!ye.isString(_)){_=_?"include":"omit"}z=s&&"credentials"in o.prototype;if(ye.isFormData(f)){q=g.getContentType();if(q&&/^multipart\/form-data/i.test(q)&&!/boundary=/i.test(q)){g.delete("content-type")}}g.set("User-Agent","axios/"+Wt,false);H=__assign(__assign({},k),{signal:T,method:n.toUpperCase(),headers:Ee(g.normalize()),body:f,duplex:"half",credentials:z?_:undefined});A=s&&new o(r,H);return[4,s?j(A,k):j(r,H)];case 6:J=ie.sent();if(S){K=ye.toFiniteNumber(J.headers.get("content-length"));if(K!=null&&K>O){throw new Le("maxContentLength size of "+O+" exceeded",Le.ERR_BAD_RESPONSE,t,A)}}V=h&&(w==="stream"||w==="response");if(h&&J.body&&(b||S||V&&C)){G={};["status","statusText","headers"].forEach((function(e){G[e]=J[e]}));W=ye.toFiniteNumber(J.headers.get("content-length"));X=b&&Et(W,St(jt(b),true))||[],$=X[0],Q=X[1];Y=0;Z=function(e){if(S){Y=e;if(Y>O){throw new Le("maxContentLength size of "+O+" exceeded",Le.ERR_BAD_RESPONSE,t,A)}}$&&$(e)};J=new u(Vt(J.body,Xt,Z,(function(){Q&&Q();C&&C()})),G)}w=w||"text";return[4,p[ye.findKey(p,w)||"text"](J,t)];case 7:ee=ie.sent();if(S&&!h&&!V){te=void 0;if(ee!=null){if(typeof ee.byteLength==="number"){te=ee.byteLength}else if(typeof ee.size==="number"){te=ee.size}else if(typeof ee==="string"){te=typeof i==="function"?(new i).encode(ee).byteLength:ee.length}}if(typeof te==="number"&&te>O){throw new Le("maxContentLength size of "+O+" exceeded",Le.ERR_BAD_RESPONSE,t,A)}}!V&&C&&C();return[4,new Promise((function(e,r){_t(e,r,{data:ee,headers:Ie.from(J.headers),status:J.status,statusText:J.statusText,config:t,request:A})}))];case 8:return[2,ie.sent()];case 9:re=ie.sent();C&&C();if(T&&T.aborted&&T.reason instanceof Le){ne=T.reason;ne.config=t;A&&(ne.request=A);re!==ne&&(ne.cause=re);throw ne}if(re&&re.name==="TypeError"&&/Load failed|fetch/i.test(re.message)){throw Object.assign(new Le("Network Error",Le.ERR_NETWORK,t,A,re&&re.response),{cause:re.cause||re})}throw Le.from(re,re&&re.code,t,A,re&&re.response);case 10:return[2]}}))}))}};var Zt=new Map;var er=function(e){var t=e&&e.env||{};var r=t.fetch,n=t.Request,i=t.Response;var a=[n,i,r];var o=a.length,u=o,f,s,c=Zt;while(u--){f=a[u];s=c.get(f);s===undefined&&c.set(f,s=u?new Map:Yt(t));c=s}return s};er();var tr={http:ze,xhr:zt,fetch:{get:er}};ye.forEach(tr,(function(e,t){if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}}));var rr=function(e){return"- ".concat(e)};var nr=function(e){return ye.isFunction(e)||e===null||e===false};function ir(e,t){e=ye.isArray(e)?e:[e];var r=e.length;var n;var i;var a={};for(var o=0;o<r;o++){n=e[o];var u=void 0;i=n;if(!nr(n)){i=tr[(u=String(n)).toLowerCase()];if(i===undefined){throw new Le("Unknown adapter '".concat(u,"'"))}}if(i&&(ye.isFunction(i)||(i=i.get(t)))){break}a[u||"#"+o]=i}if(!i){var f=Object.entries(a).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=r?f.length>1?"since :\n"+f.map(rr).join("\n"):" "+rr(f[0]):"as no adapter specified";throw new Le("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return i}var ar={getAdapter:ir,adapters:tr};function or(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new xt(null,e)}}function ur(e){or(e);e.headers=Ie.from(e.headers);e.data=wt.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}var t=ar.getAdapter(e.adapter||yt.adapter,e);return t(e).then((function t(r){or(e);e.response=r;try{r.data=wt.call(e,e.transformResponse,r)}finally{delete e.response}r.headers=Ie.from(r.headers);return r}),(function t(r){if(!gt(r)){or(e);if(r&&r.response){e.response=r.response;try{r.response.data=wt.call(e,e.transformResponse,r.response)}finally{delete e.response}r.response.headers=Ie.from(r.response.headers)}}return Promise.reject(r)}))}var fr={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){fr[e]=function r(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var sr={};fr.transitional=function e(t,r,n){function i(e,t){return"[Axios v"+Wt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(e,n,a){if(t===false){throw new Le(i(n," has been removed"+(r?" in "+r:"")),Le.ERR_DEPRECATED)}if(r&&!sr[n]){sr[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,a):true}};fr.spelling=function e(t){return function(e,r){console.warn("".concat(r," is likely a misspelling of ").concat(t));return true}};function cr(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 a=n[i];var o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:undefined;if(o){var u=e[a];var f=u===undefined||o(u,a,e);if(f!==true){throw new Le("option "+a+" must be "+f,Le.ERR_BAD_OPTION_VALUE)}continue}if(r!==true){throw new Le("Unknown option "+a,Le.ERR_BAD_OPTION)}}}var lr={assertOptions:cr,validators:fr};var dr=lr.validators;var vr=function(){function e(e){this.defaults=e||{};this.interceptors={request:new Ze,response:new Ze}}e.prototype.request=function(e,t){return __awaiter(this,void 0,void 0,(function(){var r,n,i,a,o,u;return __generator(this,(function(f){switch(f.label){case 0:f.trys.push([0,2,,3]);return[4,this._request(e,t)];case 1:return[2,f.sent()];case 2:r=f.sent();if(r instanceof Error){n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;i=function(){if(!n.stack){return""}var e=n.stack.indexOf("\n");return e===-1?"":n.stack.slice(e+1)}();try{if(!r.stack){r.stack=i}else if(i){a=i.indexOf("\n");o=a===-1?-1:i.indexOf("\n",a+1);u=o===-1?"":i.slice(o+1);if(!String(r.stack).endsWith(u)){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=Ut(this.defaults,t);var r=t.transitional,n=t.paramsSerializer,i=t.headers;if(r!==undefined){lr.assertOptions(r,{silentJSONParsing:dr.transitional(dr.boolean),forcedJSONParsing:dr.transitional(dr.boolean),clarifyTimeoutError:dr.transitional(dr.boolean),legacyInterceptorReqResOrdering:dr.transitional(dr.boolean)},false)}if(n!=null){if(ye.isFunction(n)){t.paramsSerializer={serialize:n}}else{lr.assertOptions(n,{encode:dr.function,serialize:dr.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}lr.assertOptions(t,{baseUrl:dr.spelling("baseURL"),withXsrfToken:dr.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();var a=i&&ye.merge(i.common,i[t.method]);i&&ye.forEach(["delete","get","head","post","put","patch","query","common"],(function(e){delete i[e]}));t.headers=Ie.concat(a,i);var o=[];var u=true;this.interceptors.request.forEach((function e(r){if(typeof r.runWhen==="function"&&r.runWhen(t)===false){return}u=u&&r.synchronous;var n=t.transitional||et;var i=n&&n.legacyInterceptorReqResOrdering;if(i){o.unshift(r.fulfilled,r.rejected)}else{o.push(r.fulfilled,r.rejected)}}));var f=[];this.interceptors.response.forEach((function e(t){f.push(t.fulfilled,t.rejected)}));var s;var c=0;var l;if(!u){var d=[ur.bind(this),undefined];d.unshift.apply(d,o);d.push.apply(d,f);l=d.length;s=Promise.resolve(t);while(c<l){s=s.then(d[c++],d[c++])}return s}l=o.length;var v=t;while(c<l){var h=o[c++];var p=o[c++];try{v=h(v)}catch(e){p.call(this,e);break}}try{s=ur.call(this,v)}catch(e){return Promise.reject(e)}c=0;l=f.length;while(c<l){s=s.then(f[c++],f[c++])}return s};e.prototype.getUri=function(e){e=Ut(this.defaults,e);var t=Ft(e.baseURL,e.url,e.allowAbsoluteUrls);return Ye(t,e.params,e.paramsSerializer)};return e}();ye.forEach(["delete","get","head","options"],(function e(t){vr.prototype[t]=function(e,r){return this.request(Ut(r||{},{method:t,url:e,data:(r||{}).data}))}}));ye.forEach(["post","put","patch","query"],(function e(t){function r(e){return function r(n,i,a){return this.request(Ut(a||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}vr.prototype[t]=r();if(t!=="query"){vr.prototype[t+"Form"]=r(true)}}));var hr=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,a){if(r.reason){return}r.reason=new xt(n,i,a);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}();function pr(e){return function t(r){return e.apply(null,r)}}function br(e){return ye.isObject(e)&&e.isAxiosError===true}var mr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(mr).forEach((function(e){var t=e[0],r=e[1];mr[r]=t}));function yr(e){var r=new vr(e);var n=t(vr.prototype.request,r);ye.extend(n,vr.prototype,r,{allOwnKeys:true});ye.extend(n,r,null,{allOwnKeys:true});n.create=function t(r){return yr(Ut(e,r))};return n}var wr=yr(yt);wr.Axios=vr;wr.CanceledError=xt;wr.CancelToken=hr;wr.isCancel=gt;wr.VERSION=Wt;wr.toFormData=Ge;wr.AxiosError=Le;wr.Cancel=wr.CanceledError;wr.all=function e(t){return Promise.all(t)};wr.spread=pr;wr.isAxiosError=br;wr.mergeConfig=Ut;wr.AxiosHeaders=Ie;wr.formToJSON=function(e){return pt(ye.isHTMLForm(e)?new FormData(e):e)};wr.getAdapter=ar.getAdapter;wr.HttpStatusCode=mr;wr.default=wr;v=wr;return v}var b=p();var m=c(b);var y=l.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";var w=function(){return m.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:y}}).then((function(e){return e.data})).catch((function(e){console.log("Unleash: Unable to fetch feature flags",e);throw e}))};var g=function(){return'verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{gap:12px;width:300px;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .row .option{gap:4px;display:-ms-flexbox;display:flex;padding:5px 8px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;text-wrap:nowrap}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{font-size:14px;width:88px}verdocs-contact-picker form .pin-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .pin-code>input{-ms-flex:0 0 197px;flex:0 0 197px;font-size:14px}verdocs-contact-picker form .address{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .address>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form .zip-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .zip-code>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form label{display:-ms-flexbox;display:flex;-ms-flex:0 0 80px;flex:0 0 80px;font-size:13px;font-weight:500;color:#5c6575}verdocs-contact-picker form .row.message textarea{width:100%;padding:5px 7px;border-radius:4px;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif)}verdocs-contact-picker form input{-ms-flex:1;flex:1;padding:6px;font-size:14px;border-radius:3px;border:1px solid rgba(112, 122, 229, 0.3725490196)}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}#verdocs-contact-picker-suggestions .dropdown{max-height:225px;overflow-y:scroll;background:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", sans-serif);-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}#verdocs-contact-picker-suggestions .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}#verdocs-contact-picker-suggestions .dropdown .suggestion svg{width:32px;height:32px}#verdocs-contact-picker-suggestions .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}#verdocs-contact-picker-suggestions .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#verdocs-contact-picker-suggestions .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}#verdocs-contact-picker-suggestions .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}#verdocs-contact-picker-suggestions .dropdown .suggestion:hover{background:#eee;cursor:pointer}'};var x='<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 _=e("verdocs_contact_picker",function(){function e(e){t(this,e);this.searchContacts=r(this,"searchContacts");this.exit=r(this,"exit");this.next=r(this,"next");this.endpoint=a.getDefault();this.templateRole=null;this.contactSuggestions=[];this.showSuggestions=false;this.showMessage=false;this.delegator=false;this.name_locked=false;this.auth_methods=[];this.passcode="";this.firstNameFieldId="verdocs-contact-picker-firstname-".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=o(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.name_locked=this.delegator?false:this.templateRole.name_locked||false;this.message=this.templateRole.message||"";this.showMessage=this.message!=="";this.auth_methods=this.templateRole.auth_methods||[];this.passcode=this.templateRole.passcode||""}u(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)}));w().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,name_locked:this.name_locked,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,a,u,s,c,l,v,h,p,b,m,y,w,g,_,k,O;var R=this.first_name&&this.last_name&&f(this.email);var S=!this.auth_methods.length||this.auth_methods.includes("passcode")&&!!this.passcode||this.auth_methods.includes("kba")&&!!this.first_name&&!!this.last_name||this.auth_methods.includes("email")&&!!this.email||this.auth_methods.includes("sms")&&!!this.phone;var E=R&&S;var j=((a=(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||a===void 0?void 0:a.enabled)===true;var T=[];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==="passcode-verification"})))===null||c===void 0?void 0:c.enabled)===true){T.push({label:"Passcode",value:"passcode"})}if(((h=(v=(l=this.featureFlags)===null||l===void 0?void 0:l.toggles)===null||v===void 0?void 0:v.find((function(e){return e.name==="email-verification"})))===null||h===void 0?void 0:h.enabled)===true){T.push({label:"Email",value:"email"})}if(j&&((m=(b=(p=this.featureFlags)===null||p===void 0?void 0:p.toggles)===null||b===void 0?void 0:b.find((function(e){return e.name==="sms-verification"})))===null||m===void 0?void 0:m.enabled)===true&&!!this.activeEntitlements.sms_auth){T.push({label:"SMS (One-Time Code)",value:"sms"})}if(((g=(w=(y=this.featureFlags)===null||y===void 0?void 0:y.toggles)===null||w===void 0?void 0:w.find((function(e){return e.name==="kba-verification"})))===null||g===void 0?void 0:g.enabled)===true&&!!this.activeEntitlements.kba_auth){T.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((O=(k=(_=this.featureFlags)===null||_===void 0?void 0:_.toggles)===null||k===void 0?void 0:k.find((function(e){return e.name==="id-verification"})))===null||O===void 0?void 0:O.enabled)===true&&!!this.activeEntitlements.id_auth){T.push({label:"ID Check",value:"id"})}return n("form",{key:"374d6f0907e09a4c312bcd666eaabf578f8671b5",onSubmit:function(e){return e.preventDefault()},autocomplete:"off"},n("div",{key:"bbdb01e7229992ff75b3b124fde6a8606769d53c",class:"row"},n("label",{key:"546da7ec599b17cc2e514dcaf47fe41d7107ec11",htmlFor:this.firstNameFieldId},"Name:"),n("div",{key:"e5819a8cb2c261c302a4923561578c5928063e64",class:"names-row"},n("input",{key:"05a471f19b8018993d50f4ba9776864392c13c9d",id:this.firstNameFieldId,name:this.firstNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.first_name,placeholder:"First...",onFocus: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)}}),n("input",{key:"4e56ab4161e6bd7894c636619282915243c8aeec",id:this.lastNameFieldId,name:this.lastNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.last_name,placeholder:"Last...",onFocus: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&&n("verdocs-portal",{key:"0a856517832b4dc417627675a0327e5a5e9e4710",anchor:this.firstNameFieldId,onClickAway:function(){e.showSuggestions=false;document.querySelectorAll(".verdocs-portal-wrapper").forEach((function(e){return e.remove()}))},id:"verdocs-contact-picker-suggestions"},n("div",{key:"6c0c1747e5ed512ad463c26f220b34db395e8f2c",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 n("div",{key:(r=t.id)!==null&&r!==void 0?r:t.email,class:"suggestion",onClick:function(r){return e.handleSelectSuggestion(r,t)}},t.picture?n("img",{alt:"Avatar",class:"avatar",src:t.picture}):n("div",{class:"avatar",innerHTML:x}),n("div",{class:"details"},n("div",{class:"name"},o(t)),t.email&&n("div",{class:"destination"},t.email),t.phone&&n("div",{class:"destination"},t.phone)))}))))),n("div",{key:"85552b20424fb4884fa88d22c78375fe5c6513e0",class:"row"},n("label",{key:"2b438ee30f3c0115d0445e3f5bfe4ae8b7635073",htmlFor:this.emailFieldId},"Email:"),n("input",{key:"a349fb9e534ed7786268d9aac9184fc38a8a102e",id:this.emailFieldId,name:this.emailFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.email,placeholder:"Invite/verify via email...",onFocus:function(){return e.showSuggestions=false},onInput:function(t){return e.email=t.target.value}})),j&&n("div",{key:"f015a535d0a37d94eb73b145342d00dde7b63a50",class:"row"},n("label",{key:"eff877e183e38de65ca11e535b81e11b5ee1bd92",htmlFor:this.phoneFieldId},"Phone:"),n("input",{key:"41db6e4607189c0b0da0ef658b1fbafcfeab92ba",id:this.phoneFieldId,name:this.phoneFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.phone,placeholder:"Invite/verify via SMS...",onFocus:function(){return e.showSuggestions=false},onInput:function(t){e.phone=d(t.target.value)}})),n(i,{key:"c037e234e206b1cd45bf91649f211ebe42f885fe"},T.length>0&&n("div",{key:"23fa9db672498199d7c053b258669e0676852322",class:"row pin-code"},n("label",{key:"d5208d3cd083716589aa6c18dbd85ba88ca208b3"},"Verification Methods:"),n("div",{key:"f239551b28d2ca51b8f9ab5ec64bfdfdce4bf823"},T.map((function(t,r){return n("div",{class:"option"},n("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}))}}}),n("label",{htmlFor:"verdocs-multi-select-option-".concat(r)},t.label))})))),this.auth_methods.includes("passcode")&&n("div",{key:"d57e7078dfefb1c816a15c52a8aa44eae62a5557",class:"row pin-code"},n("label",{key:"df97978ae0e4c176c7d6ca38850537d3d6db5ce3",htmlFor:this.phoneFieldId},"Passcode:"),n("input",{key:"7791e5a2d856bdd9dbbfcf8c339531e3e5c5e52b",id:"verdocs-passcode",name:"verdocs-passcode",type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.passcode,placeholder:"4-8 digits recommended...",onFocus:function(){return e.showSuggestions=false},onInput:function(t){return e.passcode=t.target.value}}))),n("div",{key:"7de2d50963399db273bd1d38941ea967a2d92827",class:"row pin-code"},n("label",{key:"d0202a6e0969b405d303cdc291dee95048460b43",style:{marginTop:"6px"}},"Options:"),n("div",{key:"52f68972a5fee697972fa9baa284ca6a37830ab9"},n("div",{key:"8e15a3caa1e4ce0cbb943fb7bfaaf274d4410de3",class:"option"},n("verdocs-checkbox",{key:"7d21cafec340458f1c6a06b577fad30bbd5680eb",size:"small",id:"verdocs-delegator",checked:this.delegator,disabled:this.name_locked,onInput:function(t){e.delegator=t.target.checked;if(e.delegator)e.name_locked=false}}),n("label",{key:"2b96fb477ce41038cf9d115e9fabf102d670d801",htmlFor:"verdocs-delegator"},"May delegate signing")),n("div",{key:"7f616562ee03e6026bf09b355ae20720b45655b0",class:"option"},n("verdocs-checkbox",{key:"47bfa40e403ddf6da8cba33fda8ebff05625d353",size:"small",id:"verdocs-name-locked",checked:this.name_locked,disabled:this.delegator,onInput:function(t){e.name_locked=t.target.checked;if(e.name_locked)e.delegator=false}}),n("label",{key:"382d0b92f8999dc1a0adaa91d00c6c0f95a17552",htmlFor:"verdocs-name-locked"},"Name locked")))),n("div",{key:"6797886d95d1e08dc0c018e89cf6040aa60b02ff",class:"row message"},n("label",{key:"cb6f04c40e1b6601d0292e248b26cb4f2519e7d9",htmlFor:"verdocs-contact-picker-message"},"Message:"),n("textarea",{key:"018a9162f52e73650283a7f2271a99352008085c",id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onFocus:function(){return e.showSuggestions=false},onInput:function(t){return e.message=t.target.value}},this.message)),n("div",{key:"d2f04563ad450f4c6c0c19735a064d01182cf458",class:"buttons"},n("div",{key:"43f240077f3c5b3e252c60a277668c94c9163b24",class:"flex-fill"}),n("verdocs-button",{key:"f758cb6d10b3deb58d13aaf54c212e6455933104",variant:"outline",label:"Cancel",size:"small",onClick:function(t){return e.handleCancel(t)}}),n("verdocs-button",{key:"3aa451a2d6d23ada4a7a5ddb5843b22954b69161",label:"OK",size:"small",disabled:!E,onClick:!E?function(){}:function(t){return e.handleSubmit(t)}})))};return e}());_.style=g()}}}));
|
|
4
|
-
//# sourceMappingURL=p-1e8f1ce4.system.entry.js.map
|