@verdocs/web-sdk 5.0.53 → 5.0.54

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.
@@ -1,2 +0,0 @@
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.")};System.register(["./p-99ed75fb.system.js","@verdocs/js-sdk","./p-6074b40b.system.js","./p-f29eb00a.system.js","./p-21b1acec.system.js","./p-d738b5db.system.js","./p-2c5350ec.system.js"],(function(e){"use strict";var t,r,n,i,o,a,u,s,c,f,l,d;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.F;o=e.H},function(e){a=e.VerdocsEndpoint;u=e.formatFullName;s=e.getActiveEntitlements;c=e.isValidEmail;f=e.randomString},function(e){l=e.B},function(e){d=e.h},function(){},function(){},function(){}],execute:function(){var v=this;function h(e,t){return function r(){return e.apply(t,arguments)}}var p=Object.prototype.toString;var b=Object.getPrototypeOf;var m=function(e){return function(t){var r=p.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())}}(Object.create(null));var w=function(e){e=e.toLowerCase();return function(t){return m(t)===e}};var g=function(e){return function(t){return typeof t===e}};var y=Array.isArray;var x=g("undefined");function k(e){return e!==null&&!x(e)&&e.constructor!==null&&!x(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var _=w("ArrayBuffer");function R(e){var t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&_(e.buffer)}return t}var S=g("string");var O=g("function");var E=g("number");var T=function(e){return e!==null&&typeof e==="object"};var A=function(e){return e===true||e===false};var j=function(e){if(m(e)!=="object"){return false}var t=b(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)};var C=w("Date");var N=w("File");var P=w("Blob");var F=w("FileList");var U=function(e){return T(e)&&O(e.pipe)};var B=function(e){var t;return e&&(typeof FormData==="function"&&e instanceof FormData||O(e.append)&&((t=m(e))==="formdata"||t==="object"&&O(e.toString)&&e.toString()==="[object FormData]"))};var I=w("URLSearchParams");var z=["ReadableStream","Request","Response","Headers"].map(w),D=z[0],L=z[1],q=z[2],M=z[3];var H=function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function K(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(y(e)){for(a=0,u=e.length;a<u;a++){t.call(null,e[a],a,e)}}else{var s=o?Object.getOwnPropertyNames(e):Object.keys(e);var c=s.length;var f=void 0;for(a=0;a<c;a++){f=s[a];t.call(null,e[f],f,e)}}}function V(e,t){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:global}();var G=function(e){return!x(e)&&e!==J};function W(){var e=(G(this)&&this||{}).caseless;var t={};var r=function(r,n){var i=e&&V(t,n)||n;if(j(t[i])&&j(r)){t[i]=W(t[i],r)}else if(j(r)){t[i]=W({},r)}else if(y(r)){t[i]=r.slice()}else{t[i]=r}};for(var n=0,i=arguments.length;n<i;n++){arguments[n]&&K(arguments[n],r)}return t}var X=function(e,t,r,n){var i=n===void 0?{}:n,o=i.allOwnKeys;K(t,(function(t,n){if(r&&O(t)){e[n]=h(t,r)}else{e[n]=t}}),{allOwnKeys:o});return e};var $=function(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};var Z=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 Q=function(e,t,r,n){var i;var o;var a;var u={};t=t||{};if(e==null)return t;do{i=Object.getOwnPropertyNames(e);o=i.length;while(o-- >0){a=i[o];if((!n||n(a,e,t))&&!u[a]){t[a]=e[a];u[a]=true}}e=r!==false&&b(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t};var Y=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 ee=function(e){if(!e)return null;if(y(e))return e;var t=e.length;if(!E(t))return null;var r=new Array(t);while(t-- >0){r[t]=e[t]}return r};var te=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!=="undefined"&&b(Uint8Array));var re=function(e,t){var r=e&&e[Symbol.iterator];var n=r.call(e);var i;while((i=n.next())&&!i.done){var o=i.value;t.call(e,o[0],o[1])}};var ne=function(e,t){var r;var n=[];while((r=e.exec(t))!==null){n.push(r)}return n};var ie=w("HTMLFormElement");var oe=function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,r,n){return r.toUpperCase()+n}))};var ae=function(e){var t=e.hasOwnProperty;return function(e,r){return t.call(e,r)}}(Object.prototype);var ue=w("RegExp");var se=function(e,t){var r=Object.getOwnPropertyDescriptors(e);var n={};K(r,(function(r,i){var o;if((o=t(r,i,e))!==false){n[i]=o||r}}));Object.defineProperties(e,n)};var ce=function(e){se(e,(function(t,r){if(O(e)&&["arguments","caller","callee"].indexOf(r)!==-1){return false}var n=e[r];if(!O(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}))};y(e)?n(e):n(String(e).split(t));return r};var le=function(){};var de=function(e,t){return e!=null&&Number.isFinite(e=+e)?e:t};function ve(e){return!!(e&&O(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}var he=function(e){var t=new Array(10);var r=function(e,n){if(T(e)){if(t.indexOf(e)>=0){return}if(!("toJSON"in e)){t[n]=e;var i=y(e)?[]:{};K(e,(function(e,t){var o=r(e,n+1);!x(o)&&(i[t]=o)}));t[n]=undefined;return i}}return e};return r(e,0)};var pe=w("AsyncFunction");var be=function(e){return e&&(T(e)||O(e))&&O(e.then)&&O(e.catch)};var me=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",O(J.postMessage));var we=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(J):typeof process!=="undefined"&&process.nextTick||me;var ge={isArray:y,isArrayBuffer:_,isBuffer:k,isFormData:B,isArrayBufferView:R,isString:S,isNumber:E,isBoolean:A,isObject:T,isPlainObject:j,isReadableStream:D,isRequest:L,isResponse:q,isHeaders:M,isUndefined:x,isDate:C,isFile:N,isBlob:P,isRegExp:ue,isFunction:O,isStream:U,isURLSearchParams:I,isTypedArray:te,isFileList:F,forEach:K,merge:W,extend:X,trim:H,stripBOM:$,inherits:Z,toFlatObject:Q,kindOf:m,kindOfTest:w,endsWith:Y,toArray:ee,forEachEntry:re,matchAll:ne,isHTMLForm:ie,hasOwnProperty:ae,hasOwnProp:ae,reduceDescriptors:se,freezeMethods:ce,toObjectSet:fe,toCamelCase:oe,noop:le,toFiniteNumber:de,findKey:V,global:J,isContextDefined:G,isSpecCompliantForm:ve,toJSONObject:he,isAsyncFn:pe,isThenable:be,setImmediate:me,asap:we};function ye(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}}ge.inherits(ye,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:ge.toJSONObject(this.config),code:this.code,status:this.status}}});var xe=ye.prototype;var ke={};["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){ke[e]={value:e}}));Object.defineProperties(ye,ke);Object.defineProperty(xe,"isAxiosError",{value:true});ye.from=function(e,t,r,n,i,o){var a=Object.create(xe);ge.toFlatObject(e,a,(function e(t){return t!==Error.prototype}),(function(e){return e!=="isAxiosError"}));ye.call(a,e.message,t,r,n,i);a.cause=e;a.name=e.name;o&&Object.assign(a,o);return a};var _e=null;function Re(e){return ge.isPlainObject(e)||ge.isArray(e)}function Se(e){return ge.endsWith(e,"[]")?e.slice(0,-2):e}function Oe(e,t,r){if(!e)return t;return e.concat(t).map((function e(t,n){t=Se(t);return!r&&n?"["+t+"]":t})).join(r?".":"")}function Ee(e){return ge.isArray(e)&&!e.some(Re)}var Te=ge.toFlatObject(ge,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function Ae(e,t,r){if(!ge.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;r=ge.toFlatObject(r,{metaTokens:true,dots:false,indexes:false},false,(function e(t,r){return!ge.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&&ge.isSpecCompliantForm(t);if(!ge.isFunction(i)){throw new TypeError("visitor must be a function")}function c(e){if(e===null)return"";if(ge.isDate(e)){return e.toISOString()}if(!s&&ge.isBlob(e)){throw new ye("Blob is not supported. Use a Buffer instead.")}if(ge.isArrayBuffer(e)||ge.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(ge.endsWith(r,"{}")){r=n?r:r.slice(0,-2);e=JSON.stringify(e)}else if(ge.isArray(e)&&Ee(e)||(ge.isFileList(e)||ge.endsWith(r,"[]"))&&(u=ge.toArray(e))){r=Se(r);u.forEach((function e(n,i){!(ge.isUndefined(n)||n===null)&&t.append(a===true?Oe([r],i,o):a===null?r:r+"[]",c(n))}));return false}}if(Re(e)){return true}t.append(Oe(i,r,o),c(e));return false}var l=[];var d=Object.assign(Te,{defaultVisitor:f,convertValue:c,isVisitable:Re});function v(e,r){if(ge.isUndefined(e))return;if(l.indexOf(e)!==-1){throw Error("Circular reference detected in "+r.join("."))}l.push(e);ge.forEach(e,(function e(n,o){var a=!(ge.isUndefined(n)||n===null)&&i.call(t,n,ge.isString(o)?o.trim():o,r,d);if(a===true){v(n,r?r.concat(o):[o])}}));l.pop()}if(!ge.isObject(e)){throw new TypeError("data must be an object")}v(e);return t}function je(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 Ce(e,t){this._pairs=[];e&&Ae(e,this,t)}var Ne=Ce.prototype;Ne.append=function e(t,r){this._pairs.push([t,r])};Ne.toString=function e(t){var r=t?function(e){return t.call(this,e,je)}:je;return this._pairs.map((function e(t){return r(t[0])+"="+r(t[1])}),"").join("&")};function Pe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Fe(e,t,r){if(!t){return e}var n=r&&r.encode||Pe;if(ge.isFunction(r)){r={serialize:r}}var i=r&&r.serialize;var o;if(i){o=i(t,r)}else{o=ge.isURLSearchParams(t)?t.toString():new Ce(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 Ue=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){ge.forEach(this.handlers,(function t(r){if(r!==null){e(r)}}))};return e}();var Be=Ue;var Ie={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};var ze=typeof URLSearchParams!=="undefined"?URLSearchParams:Ce;var De=typeof FormData!=="undefined"?FormData:null;var Le=typeof Blob!=="undefined"?Blob:null;var qe={isBrowser:true,classes:{URLSearchParams:ze,FormData:De,Blob:Le},protocols:["http","https","file","blob","url","data"]};var Me=typeof window!=="undefined"&&typeof document!=="undefined";var He=typeof navigator==="object"&&navigator||undefined;var Ke=Me&&(!He||["ReactNative","NativeScript","NS"].indexOf(He.product)<0);var Ve=function(){return typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"}();var Je=Me&&window.location.href||"http://localhost";var Ge=Object.freeze({__proto__:null,hasBrowserEnv:Me,hasStandardBrowserWebWorkerEnv:Ve,hasStandardBrowserEnv:Ke,navigator:He,origin:Je});var We=__assign(__assign({},Ge),qe);function Xe(e,t){return Ae(e,new We.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){if(We.isNode&&ge.isBuffer(e)){this.append(t,e.toString("base64"));return false}return n.defaultVisitor.apply(this,arguments)}},t))}function $e(e){return ge.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 Qe(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&&ge.isArray(n)?n.length:o;if(u){if(ge.hasOwnProp(n,o)){n[o]=[n[o],r]}else{n[o]=r}return!a}if(!n[o]||!ge.isObject(n[o])){n[o]=[]}var s=t(e,r,n[o],i);if(s&&ge.isArray(n[o])){n[o]=Ze(n[o])}return!a}if(ge.isFormData(e)&&ge.isFunction(e.entries)){var r={};ge.forEachEntry(e,(function(e,n){t($e(e),n,r,0)}));return r}return null}function Ye(e,t,r){if(ge.isString(e)){try{(t||JSON.parse)(e);return ge.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(r||JSON.stringify)(e)}var et={transitional:Ie,adapter:["xhr","http","fetch"],transformRequest:[function e(t,r){var n=r.getContentType()||"";var i=n.indexOf("application/json")>-1;var o=ge.isObject(t);if(o&&ge.isHTMLForm(t)){t=new FormData(t)}var a=ge.isFormData(t);if(a){return i?JSON.stringify(Qe(t)):t}if(ge.isArrayBuffer(t)||ge.isBuffer(t)||ge.isStream(t)||ge.isFile(t)||ge.isBlob(t)||ge.isReadableStream(t)){return t}if(ge.isArrayBufferView(t)){return t.buffer}if(ge.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 Xe(t,this.formSerializer).toString()}if((u=ge.isFileList(t))||n.indexOf("multipart/form-data")>-1){var s=this.env&&this.env.FormData;return Ae(u?{"files[]":t}:t,s&&new s,this.formSerializer)}}if(o||i){r.setContentType("application/json",false);return Ye(t)}return t}],transformResponse:[function e(t){var r=this.transitional||et.transitional;var n=r&&r.forcedJSONParsing;var i=this.responseType==="json";if(ge.isResponse(t)||ge.isReadableStream(t)){return t}if(t&&ge.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 ye.from(e,ye.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:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};ge.forEach(["delete","get","head","post","put","patch"],(function(e){et.headers[e]={}}));var tt=et;var rt=ge.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 nt=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]&&rt[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 it=Symbol("internals");function ot(e){return e&&String(e).trim().toLowerCase()}function at(e){if(e===false||e==null){return e}return ge.isArray(e)?e.map(at):String(e)}function ut(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 st=function(e){return/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())};function ct(e,t,r,n,i){if(ge.isFunction(n)){return n.call(this,t,r)}if(i){t=r}if(!ge.isString(t))return;if(ge.isString(n)){return t.indexOf(n)!==-1}if(ge.isRegExp(n)){return n.test(t)}}function ft(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,r){return t.toUpperCase()+r}))}function lt(e,t){var r=ge.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 dt=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=ot(t);if(!i){throw new Error("header name must be a non-empty string")}var o=ge.findKey(n,i);if(!o||n[o]===undefined||r===true||r===undefined&&n[o]!==false){n[o||t]=at(e)}}var o=function(e,t){return ge.forEach(e,(function(e,r){return i(e,r,t)}))};if(ge.isPlainObject(e)||e instanceof this.constructor){o(e,t)}else if(ge.isString(e)&&(e=e.trim())&&!st(e)){o(nt(e),t)}else if(ge.isHeaders(e)){for(var a=0,u=e.entries();a<u.length;a++){var s=u[a],c=s[0],f=s[1];i(f,c,r)}}else{e!=null&&i(t,e,r)}return this};e.prototype.get=function(e,t){e=ot(e);if(e){var r=ge.findKey(this,e);if(r){var n=this[r];if(!t){return n}if(t===true){return ut(n)}if(ge.isFunction(t)){return t.call(this,n,r)}if(ge.isRegExp(t)){return t.exec(n)}throw new TypeError("parser must be boolean|regexp|function")}}};e.prototype.has=function(e,t){e=ot(e);if(e){var r=ge.findKey(this,e);return!!(r&&this[r]!==undefined&&(!t||ct(this,this[r],r,t)))}return false};e.prototype.delete=function(e,t){var r=this;var n=false;function i(e){e=ot(e);if(e){var i=ge.findKey(r,e);if(i&&(!t||ct(r,r[i],i,t))){delete r[i];n=true}}}if(ge.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||ct(this,this[i],i,e,true)){delete this[i];n=true}}return n};e.prototype.normalize=function(e){var t=this;var r={};ge.forEach(this,(function(n,i){var o=ge.findKey(r,i);if(o){t[o]=at(n);delete t[i];return}var a=e?ft(i):String(i).trim();if(a!==i){delete t[i]}t[a]=at(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);ge.forEach(this,(function(r,n){r!=null&&r!==false&&(t[n]=e&&ge.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")};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[it]=this[it]={accessors:{}};var r=t.accessors;var n=this.prototype;function i(e){var t=ot(e);if(!r[t]){lt(n,e);r[t]=true}}ge.isArray(e)?e.forEach(i):i(e);return this};return e}();dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ge.reduceDescriptors(dt.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}}}));ge.freezeMethods(dt);var vt=dt;function ht(e,t){var r=this||tt;var n=t||r;var i=vt.from(n.headers);var o=n.data;ge.forEach(e,(function e(n){o=n.call(r,o,i.normalize(),t?t.status:undefined)}));i.normalize();return o}function pt(e){return!!(e&&e.__CANCEL__)}function bt(e,t,r){ye.call(this,e==null?"canceled":e,ye.ERR_CANCELED,t,r);this.name="CanceledError"}ge.inherits(bt,ye,{__CANCEL__:true});function mt(e,t,r){var n=r.config.validateStatus;if(!r.status||!n||n(r.status)){e(r)}else{t(new ye("Request failed with status code "+r.status,[ye.ERR_BAD_REQUEST,ye.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}}function wt(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function gt(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 yt(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(null,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 xt=function(e,t,r){if(r===void 0){r=3}var n=0;var i=gt(50,250);return yt((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 kt=function(e,t){var r=e!=null;return[function(n){return t[0]({lengthComputable:r,total:e,loaded:n})},t[1]]};var _t=function(e){return function(){var t=[];for(var r=0;r<arguments.length;r++){t[r]=arguments[r]}return ge.asap((function(){return e.apply(void 0,t)}))}};var Rt=We.hasStandardBrowserEnv?function(e,t){return function(r){r=new URL(r,We.origin);return e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)}}(new URL(We.origin),We.navigator&&/(msie|trident)/i.test(We.navigator.userAgent)):function(){return true};var St=We.hasStandardBrowserEnv?{write:function(e,t,r,n,i,o){var a=[e+"="+encodeURIComponent(t)];ge.isNumber(r)&&a.push("expires="+new Date(r).toGMTString());ge.isString(n)&&a.push("path="+n);ge.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 Ot(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Et(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Tt(e,t,r){var n=!Ot(t);if(e&&n||r==false){return Et(e,t)}return t}var At=function(e){return e instanceof vt?__assign({},e):e};function jt(e,t){t=t||{};var r={};function n(e,t,r,n){if(ge.isPlainObject(e)&&ge.isPlainObject(t)){return ge.merge.call({caseless:n},e,t)}else if(ge.isPlainObject(t)){return ge.merge({},t)}else if(ge.isArray(t)){return t.slice()}return t}function i(e,t,r,i){if(!ge.isUndefined(t)){return n(e,t,r,i)}else if(!ge.isUndefined(e)){return n(undefined,e,r,i)}}function o(e,t){if(!ge.isUndefined(t)){return n(undefined,t)}}function a(e,t){if(!ge.isUndefined(t)){return n(undefined,t)}else if(!ge.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(At(e),At(t),r,true)}};ge.forEach(Object.keys(Object.assign({},e,t)),(function n(o){var a=s[o]||i;var c=a(e[o],t[o],o);ge.isUndefined(c)&&a!==u||(r[o]=c)}));return r}var Ct=function(e){var t=jt({},e);var r=t.data,n=t.withXSRFToken,i=t.xsrfHeaderName,o=t.xsrfCookieName,a=t.headers,u=t.auth;t.headers=a=vt.from(a);t.url=Fe(Tt(t.baseURL,t.url),e.params,e.paramsSerializer);if(u){a.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):"")))}var s;if(ge.isFormData(r)){if(We.hasStandardBrowserEnv||We.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(We.hasStandardBrowserEnv){n&&ge.isFunction(n)&&(n=n(t));if(n||n!==false&&Rt(t.url)){var d=i&&o&&St.read(o);if(d){a.set(i,d)}}}return t};var Nt=typeof XMLHttpRequest!=="undefined";var Pt=Nt&&function(e){return new Promise((function t(r,n){var i,o;var a=Ct(e);var u=a.data;var s=vt.from(a.headers).normalize();var c=a.responseType,f=a.onUploadProgress,l=a.onDownloadProgress;var d;var v,h;var p,b;function m(){p&&p();b&&b();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 g(){if(!w){return}var t=vt.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};mt((function e(t){r(t);m()}),(function e(t){n(t);m()}),o);w=null}if("onloadend"in w){w.onloadend=g}else{w.onreadystatechange=function e(){if(!w||w.readyState!==4){return}if(w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)){return}setTimeout(g)}}w.onabort=function t(){if(!w){return}n(new ye("Request aborted",ye.ECONNABORTED,e,w));w=null};w.onerror=function t(){n(new ye("Network Error",ye.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||Ie;if(a.timeoutErrorMessage){r=a.timeoutErrorMessage}n(new ye(r,i.clarifyTimeoutError?ye.ETIMEDOUT:ye.ECONNABORTED,e,w));w=null};u===undefined&&s.setContentType(null);if("setRequestHeader"in w){ge.forEach(s.toJSON(),(function e(t,r){w.setRequestHeader(r,t)}))}if(!ge.isUndefined(a.withCredentials)){w.withCredentials=!!a.withCredentials}if(c&&c!=="json"){w.responseType=a.responseType}if(l){i=xt(l,true),h=i[0],b=i[1];w.addEventListener("progress",h)}if(f&&w.upload){o=xt(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 bt(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 y=wt(a.url);if(y&&We.protocols.indexOf(y)===-1){n(new ye("Unsupported protocol "+y+":",ye.ERR_BAD_REQUEST,e));return}w.send(u||null)}))};var Ft=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 ye?t:new bt(t instanceof Error?t.message:t))}};var a=t&&setTimeout((function(){a=null;o(new ye("timeout ".concat(t," of ms exceeded"),ye.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 ge.asap(u)};return s}};var Ut=Ft;var Bt=function(e,t){var r,n,i;return __generator(this,(function(o){switch(o.label){case 0:r=e.byteLength;if(!(!t||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 It=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(zt(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(Bt(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 zt=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 Dt=function(e,t,r,n){var i=It(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 Lt=typeof fetch==="function"&&typeof Request==="function"&&typeof Response==="function";var qt=Lt&&typeof ReadableStream==="function";var Mt=Lt&&(typeof TextEncoder==="function"?function(e){return function(t){return e.encode(t)}}(new TextEncoder):function(e){return __awaiter(v,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:t=Uint8Array.bind;return[4,new Response(e).arrayBuffer()];case 1:return[2,new(t.apply(Uint8Array,[void 0,r.sent()]))]}}))}))});var Ht=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 Kt=qt&&Ht((function(){var e=false;var t=new Request(We.origin,{body:new ReadableStream,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));var Vt=64*1024;var Jt=qt&&Ht((function(){return ge.isReadableStream(new Response("").body)}));var Gt={stream:Jt&&function(e){return e.body}};Lt&&function(e){["text","arrayBuffer","blob","formData","stream"].forEach((function(t){!Gt[t]&&(Gt[t]=ge.isFunction(e[t])?function(e){return e[t]()}:function(e,r){throw new ye("Response type '".concat(t,"' is not supported"),ye.ERR_NOT_SUPPORT,r)})}))}(new Response);var Wt=function(e){return __awaiter(v,void 0,void 0,(function(){var t;return __generator(this,(function(r){switch(r.label){case 0:if(e==null){return[2,0]}if(ge.isBlob(e)){return[2,e.size]}if(!ge.isSpecCompliantForm(e))return[3,2];t=new Request(We.origin,{method:"POST",body:e});return[4,t.arrayBuffer()];case 1:return[2,r.sent().byteLength];case 2:if(ge.isArrayBufferView(e)||ge.isArrayBuffer(e)){return[2,e.byteLength]}if(ge.isURLSearchParams(e)){e=e+""}if(!ge.isString(e))return[3,4];return[4,Mt(e)];case 3:return[2,r.sent().byteLength];case 4:return[2]}}))}))};var Xt=function(e,t){return __awaiter(v,void 0,void 0,(function(){var r;return __generator(this,(function(n){r=ge.toFiniteNumber(e.getContentLength());return[2,r==null?Wt(t):r]}))}))};var $t=Lt&&function(e){return __awaiter(v,void 0,void 0,(function(){var t,r,n,i,o,a,u,s,c,f,l,d,v,h,p,b,m,w,g,y,x,k,_,R,S,O,E,T,A,j,_,C,N,P;return __generator(this,(function(F){switch(F.label){case 0:t=Ct(e),r=t.url,n=t.method,i=t.data,o=t.signal,a=t.cancelToken,u=t.timeout,s=t.onDownloadProgress,c=t.onUploadProgress,f=t.responseType,l=t.headers,d=t.withCredentials,v=d===void 0?"same-origin":d,h=t.fetchOptions;f=f?(f+"").toLowerCase():"text";p=Ut([o,a&&a.toAbortSignal()],u);m=p&&p.unsubscribe&&function(){p.unsubscribe()};F.label=1;case 1:F.trys.push([1,7,,8]);g=c&&Kt&&n!=="get"&&n!=="head";if(!g)return[3,3];return[4,Xt(l,i)];case 2:g=(w=F.sent())!==0;F.label=3;case 3:if(g){y=new Request(r,{method:"POST",body:i,duplex:"half"});x=void 0;if(ge.isFormData(i)&&(x=y.headers.get("content-type"))){l.setContentType(x)}if(y.body){k=kt(w,xt(_t(c))),_=k[0],R=k[1];i=Dt(y.body,Vt,_,R)}}if(!ge.isString(v)){v=v?"include":"omit"}S="credentials"in Request.prototype;b=new Request(r,__assign(__assign({},h),{signal:p,method:n.toUpperCase(),headers:l.normalize().toJSON(),body:i,duplex:"half",credentials:S?v:undefined}));return[4,fetch(b)];case 4:O=F.sent();E=Jt&&(f==="stream"||f==="response");if(Jt&&(s||E&&m)){T={};["status","statusText","headers"].forEach((function(e){T[e]=O[e]}));A=ge.toFiniteNumber(O.headers.get("content-length"));j=s&&kt(A,xt(_t(s),true))||[],_=j[0],C=j[1];O=new Response(Dt(O.body,Vt,_,(function(){C&&C();m&&m()})),T)}f=f||"text";return[4,Gt[ge.findKey(Gt,f)||"text"](O,e)];case 5:N=F.sent();!E&&m&&m();return[4,new Promise((function(t,r){mt(t,r,{data:N,headers:vt.from(O.headers),status:O.status,statusText:O.statusText,config:e,request:b})}))];case 6:return[2,F.sent()];case 7:P=F.sent();m&&m();if(P&&P.name==="TypeError"&&/fetch/i.test(P.message)){throw Object.assign(new ye("Network Error",ye.ERR_NETWORK,e,b),{cause:P.cause||P})}throw ye.from(P,P&&P.code,e,b);case 8:return[2]}}))}))};var Zt={http:_e,xhr:Pt,fetch:$t};ge.forEach(Zt,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var Qt=function(e){return"- ".concat(e)};var Yt=function(e){return ge.isFunction(e)||e===null||e===false};var er={getAdapter:function(e){e=ge.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(!Yt(r)){n=Zt[(a=String(r)).toLowerCase()];if(n===undefined){throw new ye("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(Qt).join("\n"):" "+Qt(u[0]):"as no adapter specified";throw new ye("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:Zt};function tr(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new bt(null,e)}}function rr(e){tr(e);e.headers=vt.from(e.headers);e.data=ht.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}var t=er.getAdapter(e.adapter||tt.adapter);return t(e).then((function t(r){tr(e);r.data=ht.call(e,e.transformResponse,r);r.headers=vt.from(r.headers);return r}),(function t(r){if(!pt(r)){tr(e);if(r&&r.response){r.response.data=ht.call(e,e.transformResponse,r.response);r.response.headers=vt.from(r.response.headers)}}return Promise.reject(r)}))}var nr="1.8.1";var ir={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){ir[e]=function r(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var or={};ir.transitional=function e(t,r,n){function i(e,t){return"[Axios v"+nr+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(e,n,o){if(t===false){throw new ye(i(n," has been removed"+(r?" in "+r:"")),ye.ERR_DEPRECATED)}if(r&&!or[n]){or[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}};ir.spelling=function e(t){return function(e,r){console.warn("".concat(r," is likely a misspelling of ").concat(t));return true}};function ar(e,t,r){if(typeof e!=="object"){throw new ye("options must be an object",ye.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 ye("option "+o+" must be "+s,ye.ERR_BAD_OPTION_VALUE)}continue}if(r!==true){throw new ye("Unknown option "+o,ye.ERR_BAD_OPTION)}}}var ur={assertOptions:ar,validators:ir};var sr=ur.validators;var cr=function(){function e(e){this.defaults=e;this.interceptors={request:new Be,response:new Be}}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=jt(this.defaults,t);var r=t.transitional,n=t.paramsSerializer,i=t.headers;if(r!==undefined){ur.assertOptions(r,{silentJSONParsing:sr.transitional(sr.boolean),forcedJSONParsing:sr.transitional(sr.boolean),clarifyTimeoutError:sr.transitional(sr.boolean)},false)}if(n!=null){if(ge.isFunction(n)){t.paramsSerializer={serialize:n}}else{ur.assertOptions(n,{encode:sr.function,serialize:sr.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}ur.assertOptions(t,{baseUrl:sr.spelling("baseURL"),withXsrfToken:sr.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();var o=i&&ge.merge(i.common,i[t.method]);i&&ge.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete i[e]}));t.headers=vt.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=[rr.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=rr.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=jt(this.defaults,e);var t=Tt(e.baseURL,e.url,e.allowAbsoluteUrls);return Fe(t,e.params,e.paramsSerializer)};return e}();ge.forEach(["delete","get","head","options"],(function e(t){cr.prototype[t]=function(e,r){return this.request(jt(r||{},{method:t,url:e,data:(r||{}).data}))}}));ge.forEach(["post","put","patch"],(function e(t){function r(e){return function r(n,i,o){return this.request(jt(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}cr.prototype[t]=r();cr.prototype[t+"Form"]=r(true)}));var fr=cr;var lr=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 bt(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 dr=lr;function vr(e){return function t(r){return e.apply(null,r)}}function hr(e){return ge.isObject(e)&&e.isAxiosError===true}var pr={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(pr).forEach((function(e){var t=e[0],r=e[1];pr[r]=t}));var br=pr;function mr(e){var t=new fr(e);var r=h(fr.prototype.request,t);ge.extend(r,fr.prototype,t,{allOwnKeys:true});ge.extend(r,t,null,{allOwnKeys:true});r.create=function t(r){return mr(jt(e,r))};return r}var wr=mr(tt);wr.Axios=fr;wr.CanceledError=bt;wr.CancelToken=dr;wr.isCancel=pt;wr.VERSION=nr;wr.toFormData=Ae;wr.AxiosError=ye;wr.Cancel=wr.CanceledError;wr.all=function e(t){return Promise.all(t)};wr.spread=vr;wr.isAxiosError=hr;wr.mergeConfig=jt;wr.AxiosHeaders=vt;wr.formToJSON=function(e){return Qe(ge.isHTMLForm(e)?new FormData(e):e)};wr.getAdapter=er.getAdapter;wr.HttpStatusCode=br;wr.default=wr;var gr=wr;var yr=l.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";var xr=function(){return gr.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:yr}}).then((function(e){return e.data})).catch((function(e){console.log("Unleash: Unable to fetch feature flags",e);throw e}))};var kr='@-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:center;align-items:center}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 _r=kr;var Rr='<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 Sr=e("verdocs_contact_picker",function(){function e(e){t(this,e);this.searchContacts=r(this,"searchContacts",7);this.exit=r(this,"exit",7);this.next=r(this,"next",7);this.endpoint=a.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=u(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||""}s(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)}));xr().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,o,a,s,f,l,v,h,p,b,m,w,g,y,x,k,_;var R=this.first_name&&this.last_name&&c(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 O=R&&S;var E=((o=(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||o===void 0?void 0:o.enabled)===true;var T=[];if(((f=(s=(a=this.featureFlags)===null||a===void 0?void 0:a.toggles)===null||s===void 0?void 0:s.find((function(e){return e.name==="passcode-verification"})))===null||f===void 0?void 0:f.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(E&&((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(((y=(g=(w=this.featureFlags)===null||w===void 0?void 0:w.toggles)===null||g===void 0?void 0:g.find((function(e){return e.name==="kba-verification"})))===null||y===void 0?void 0:y.enabled)===true&&!!this.activeEntitlements.kba_auth){T.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((_=(k=(x=this.featureFlags)===null||x===void 0?void 0:x.toggles)===null||k===void 0?void 0:k.find((function(e){return e.name==="id-verification"})))===null||_===void 0?void 0:_.enabled)===true&&!!this.activeEntitlements.id_auth){T.push({label:"ID Check",value:"id"})}return n("form",{key:"cba230aed78c493105a007d965938ef36c0676c5",onSubmit:function(e){return e.preventDefault()},onClick:function(e){return e.stopPropagation()},autocomplete:"off"},n("div",{key:"436c7454a56df0f535f3aefdfff577a88dafa22c",class:"row"},n("label",{key:"b281d4c25f7b940d50700f808cdc9e7c3e235c63",htmlFor:this.firstNameFieldId},"Name:"),n("div",{key:"ef6316233086a5b6f7d5230e64134d3d4d370401",class:"names-row"},n("input",{key:"bb1114f98ee766c4da332c635e9aabfddb0ea0c5",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:"8165b6a10ccec8cc699965a0e457c4984ba7e6d9",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:"50bb3ba19b9ebedaf5dc6b42ab9ee56b49baf316",anchor:this.firstNameFieldId,onClickAway:function(){return e.showSuggestions=false},id:"verdocs-contact-picker-suggestions"},n("div",{key:"06d909db8340e219f56520cba088f39d024e23c9",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:Rr}),n("div",{class:"details"},n("div",{class:"name"},u(t)),t.email&&n("div",{class:"destination"},t.email),t.phone&&n("div",{class:"destination"},t.phone)))}))))),n("div",{key:"0fd66b40717c81b65a301ced6b6bf4b6ff7b6626",class:"row"},n("label",{key:"70956784b72087d8c1868595ec40dfbdee34ca87",htmlFor:this.emailFieldId},"Email:"),n("input",{key:"35582c90e48b6f532fc75cc51525ca06162ebcc8",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}})),E&&n("div",{key:"626950e0213dbc8fab07af0ac7682db19638c73c",class:"row"},n("label",{key:"12cfdd054564af5cc3573785d884c87b7b50bae4",htmlFor:this.phoneFieldId},"Phone:"),n("input",{key:"8ecb757d6ee8acf6041c75f4fc0621ece470fcdf",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:"2023b0c925497df85590f0294597c38bde90b1da"},T.length>0&&n("div",{key:"eb16a51636c12027f228714283bc3a045b04f364",class:"row"},n("label",{key:"c53d976fa49aa4ff32d6e176aed1a425a19befca"},"Recipient Verification:"),n("verdocs-multiselect",{key:"6b84fd7b99c4b4f9e21242d444ead7238d3b12ec",label:"",placeholder:"None",options:T,selectedOptions:this.auth_methods,onSelectionChanged:function(t){e.auth_methods=t.detail.selectedOptions}})),this.auth_methods.includes("passcode")&&n("div",{key:"6e5059ea257eef3f44090348d5b264a0d4fca331",class:"row pin-code"},n("label",{key:"3c38728d9833d750e097c96b1df655d2c624cbaf",htmlFor:this.phoneFieldId},"Passcode:"),n("input",{key:"c067ad0b5e64554869d382b30034ad06f3f2287c",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:"aea4f4504c415602990370c74b8cbc4888cdb9c4",class:"row message"},n("label",{key:"293b04061121e45a161299a7c67742b35450f73e",htmlFor:"verdocs-contact-picker-message"},"Message:"),n("textarea",{key:"27b597556563377a843865cfa1205d28c5a35440",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:"cd57ffae6c1fdb990b5cee5d2f93315b1e431ae2",class:"buttons"},n("div",{key:"229c636cd7d61eaeece868f1d64a787465913223",class:"flex-fill"}),n("verdocs-button",{key:"0014bda0bcef66e26df9cfad2e4ca09bad08419a",variant:"outline",label:"Cancel",size:"small",onClick:function(t){return e.handleCancel(t)}}),n("verdocs-button",{key:"cc2456cc0e493b0449750e3950e28c6c3aa69fa2",label:"OK",size:"small",disabled:!O,onClick:!O?function(){}:function(t){return e.handleSubmit(t)}})))};return e}());Sr.style=_r;var Or='@-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-multiselect{width:100%;display:block;margin:0 0 10px 0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-multiselect .input-wrapper{width:100%;position:relative}verdocs-multiselect .input-wrapper .icon{top:6px;right:6px;width:18px;height:18px;z-index:10;position:absolute}verdocs-multiselect.open .input-wrapper .icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}verdocs-multiselect .trigger{gap:3px;width:100%;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%;border-radius:4px;-ms-flex-direction:row;flex-direction:row;-webkit-box-sizing:border-box;box-sizing:border-box;padding:5px 32px 5px 7px;background:#ffffff;border:1px solid #707ae5}verdocs-multiselect .trigger::-webkit-input-placeholder{opacity:1;color:#aaaaaa}verdocs-multiselect .trigger::-moz-placeholder{opacity:1;color:#aaaaaa}verdocs-multiselect .trigger:-ms-input-placeholder{opacity:1;color:#aaaaaa}verdocs-multiselect .trigger::-ms-input-placeholder{opacity:1;color:#aaaaaa}verdocs-multiselect .trigger::placeholder{opacity:1;color:#aaaaaa}verdocs-multiselect .selected-option{color:white;font-size:12px;padding:2px 6px;border-radius:3px;display:inline-block;background:#46497d}verdocs-multiselect .input-label{display:block;font-weight:700;font-size:14px;margin:0 0 4px 0;color:#555570}#verdocs-multiselect-menu-items{width:200px;z-index:10000;position:absolute;border-radius:5px;font-family:"Inter", "Barlow", sans-serif;background:#ffffff;border:1px solid #654dcb}#verdocs-multiselect-menu-items .option{display:-ms-flexbox;display:flex;gap:4px;padding:5px 8px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}#verdocs-multiselect-menu-items label{font-size:13px}';var Er=Or;var Tr='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="size-6"><path stroke-linecap="round" stroke-linejoin="round" d="m19.5 8.25-7.5 7.5-7.5-7.5" /></svg>';var Ar=e("verdocs_multiselect",function(){function e(e){t(this,e);this.selectionChanged=r(this,"selectionChanged",7);this.label="";this.placeholder="Select...";this.selectedOptions=[];this.showPicker=false}e.prototype.handleToggleOption=function(e,t){var r;if(e.target.checked){this.selectedOptions=__spreadArray(__spreadArray([],this.selectedOptions,true),[t.value],false)}else{this.selectedOptions=this.selectedOptions.filter((function(e){return e!==t.value}))}(r=this.selectionChanged)===null||r===void 0?void 0:r.emit({selectedOptions:this.selectedOptions})};e.prototype.render=function(){var e=this;var t="verdocs-dropdown-".concat(f(8));return n(o,{key:"7fa4d31d423894e8caa3dffd1fb46752b7b87ee5",class:this.showPicker?"open":"closed"},n("label",{key:"891a7d7ee2867d598f2f3ea6609148a47a9a7166"},this.label?n("div",{class:"input-label"},this.label+":"):n("div",null),n("div",{key:"c165f68315aec9d1aca6e9f2214ece090f496363",class:"input-wrapper"},n("button",{key:"2297bfb9c84abd5da4c73dfcbae15fe2f5f04c1c",id:t,class:"trigger",value:"",onClick:function(){return e.showPicker=true}},this.selectedOptions.length===0?n("span",{class:"placeholder"},this.placeholder):this.selectedOptions.map((function(t){var r;return n("span",{class:"selected-option"},((r=e.options.find((function(e){return e.value===t})))===null||r===void 0?void 0:r.label)||"Unknown")}))),n("div",{key:"e4929befc449d9be400305ee3e0aeb1c171583fd",class:"icon",innerHTML:Tr}),this.showPicker&&n("verdocs-portal",{key:"42016ae18aa4acd4c5aac8f2ea3a7d6126116aa6",anchor:t,voffset:2,onClickAway:function(){return e.showPicker=false},id:"verdocs-multiselect-menu-items"},this.options.map((function(t,r){return n("div",{class:"option",onClick:function(){return e.showPicker=false}},n("verdocs-checkbox",{size:"small",id:"verdocs-multi-select-opt-".concat(r),value:t.value,checked:e.selectedOptions.includes(t.value),onInput:function(r){return e.handleToggleOption(r,t)}}),n("label",{htmlFor:"verdocs-multi-select-option-".concat(r)},t.label))}))))))};return e}());Ar.style=Er}}}));
2
- //# sourceMappingURL=p-366c2acc.system.entry.js.map