!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4c61b325-0a21-4cd3-b897-a522e11b6dcc",e._sentryDebugIdIdentifier="sentry-dbid-4c61b325-0a21-4cd3-b897-a522e11b6dcc")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{6446:function(e,t){"use strict";t.byteLength=u,t.toByteArray=d,t.fromByteArray=b;for(var s=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,l=o.length;a<l;++a)s[a]=o[a],r[o.charCodeAt(a)]=a;function f(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var s=e.indexOf("=");-1===s&&(s=t);var r=s===t?0:4-s%4;return[s,r]}function u(e){var t=f(e),s=t[0],r=t[1];return(s+r)*3/4-r}function c(e,t,s){return(t+s)*3/4-s}function d(e){var t,s,o=f(e),a=o[0],l=o[1],u=new i(c(e,a,l)),d=0,p=l>0?a-4:a;for(s=0;s<p;s+=4)t=r[e.charCodeAt(s)]<<18|r[e.charCodeAt(s+1)]<<12|r[e.charCodeAt(s+2)]<<6|r[e.charCodeAt(s+3)],u[d++]=t>>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===l&&(t=r[e.charCodeAt(s)]<<2|r[e.charCodeAt(s+1)]>>4,u[d++]=255&t),1===l&&(t=r[e.charCodeAt(s)]<<10|r[e.charCodeAt(s+1)]<<4|r[e.charCodeAt(s+2)]>>2,u[d++]=t>>8&255,u[d++]=255&t),u}function p(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}function h(e,t,s){for(var r=[],i=t;i<s;i+=3)r.push(p((e[i]<<16&16711680)+(e[i+1]<<8&65280)+(255&e[i+2])));return r.join("")}function b(e){for(var t,r=e.length,i=r%3,o=[],a=16383,l=0,f=r-i;l<f;l+=a)o.push(h(e,l,l+a>f?f:l+a));return 1===i?o.push(s[(t=e[r-1])>>2]+s[t<<4&63]+"=="):2===i&&o.push(s[(t=(e[r-2]<<8)+e[r-1])>>10]+s[t>>4&63]+s[t<<2&63]+"="),o.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},5313:function(e,t,s){"use strict";/*!
 * The buffer module from node.js, for the browser.
 *
 * @author   Feross Aboukhadijeh <https://feross.org>
 * @license  MIT
 */let r=s(6446),i=s(7164),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=u,t.SlowBuffer=w,t.INSPECT_MAX_BYTES=50;let a=2147483647;function l(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}function f(e){if(e>a)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,s){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return h(e)}return c(e,t,s)}function c(e,t,s){if("string"==typeof e)return b(e,t);if(ArrayBuffer.isView(e))return m(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(ea(e,ArrayBuffer)||e&&ea(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(ea(e,SharedArrayBuffer)||e&&ea(e.buffer,SharedArrayBuffer)))return g(e,t,s);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return u.from(r,t,s);let i=v(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,s);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function p(e,t,s){return(d(e),e<=0)?f(e):void 0!==t?"string"==typeof s?f(e).fill(t,s):f(e).fill(t):f(e)}function h(e){return d(e),f(e<0?0:0|y(e))}function b(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!u.isEncoding(t))throw TypeError("Unknown encoding: "+t);let s=0|C(e,t),r=f(s),i=r.write(e,t);return i!==s&&(r=r.slice(0,i)),r}function _(e){let t=e.length<0?0:0|y(e.length),s=f(t);for(let r=0;r<t;r+=1)s[r]=255&e[r];return s}function m(e){if(ea(e,Uint8Array)){let t=new Uint8Array(e);return g(t.buffer,t.byteOffset,t.byteLength)}return _(e)}function g(e,t,s){let r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(s||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===s?new Uint8Array(e):void 0===s?new Uint8Array(e,t):new Uint8Array(e,t,s),u.prototype),r}function v(e){if(u.isBuffer(e)){let t=0|y(e.length),s=f(t);return 0===s.length||e.copy(s,0,0,t),s}return void 0!==e.length?"number"!=typeof e.length||el(e.length)?f(0):_(e):"Buffer"===e.type&&Array.isArray(e.data)?_(e.data):void 0}function y(e){if(e>=a)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function w(e){return+e!=e&&(e=0),u.alloc(+e)}function C(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ea(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let s=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===s)return 0;let i=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return s;case"utf8":case"utf-8":return es(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*s;case"hex":return s>>>1;case"base64":return ei(e).length;default:if(i)return r?-1:es(e).length;t=(""+t).toLowerCase(),i=!0}}function k(e,t,s){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===s||s>this.length)&&(s=this.length),s<=0||(s>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return B(this,t,s);case"utf8":case"utf-8":return P(this,t,s);case"ascii":return D(this,t,s);case"latin1":case"binary":return L(this,t,s);case"base64":return j(this,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,t,s);default:if(r)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function x(e,t,s){let r=e[t];e[t]=e[s],e[s]=r}function S(e,t,s,r,i){if(0===e.length)return -1;if("string"==typeof s?(r=s,s=0):s>2147483647?s=2147483647:s<-2147483648&&(s=-2147483648),el(s=+s)&&(s=i?0:e.length-1),s<0&&(s=e.length+s),s>=e.length){if(i)return -1;s=e.length-1}else if(s<0){if(!i)return -1;s=0}if("string"==typeof t&&(t=u.from(t,r)),u.isBuffer(t))return 0===t.length?-1:E(e,t,s,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,s):Uint8Array.prototype.lastIndexOf.call(e,t,s):E(e,[t],s,r,i);throw TypeError("val must be string, number or Buffer")}function E(e,t,s,r,i){let o,a=1,l=e.length,f=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;a=2,l/=2,f/=2,s/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){let r=-1;for(o=s;o<l;o++)if(u(e,o)===u(t,-1===r?0:o-r)){if(-1===r&&(r=o),o-r+1===f)return r*a}else -1!==r&&(o-=o-r),r=-1}else for(s+f>l&&(s=l-f),o=s;o>=0;o--){let s=!0;for(let r=0;r<f;r++)if(u(e,o+r)!==u(t,r)){s=!1;break}if(s)return o}return -1}function M(e,t,s,r){let i;s=Number(s)||0;let o=e.length-s;r?(r=Number(r))>o&&(r=o):r=o;let a=t.length;for(r>a/2&&(r=a/2),i=0;i<r;++i){let r=parseInt(t.substr(2*i,2),16);if(el(r))break;e[s+i]=r}return i}function I(e,t,s,r){return eo(es(t,e.length-s),e,s,r)}function A(e,t,s,r){return eo(er(t),e,s,r)}function R(e,t,s,r){return eo(ei(t),e,s,r)}function O(e,t,s,r){return eo(en(t,e.length-s),e,s,r)}function j(e,t,s){return 0===t&&s===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,s))}function P(e,t,s){s=Math.min(e.length,s);let r=[],i=t;for(;i<s;){let t=e[i],o=null,a=t>239?4:t>223?3:t>191?2:1;if(i+a<=s){let s,r,l,f;switch(a){case 1:t<128&&(o=t);break;case 2:(192&(s=e[i+1]))==128&&(f=(31&t)<<6|63&s)>127&&(o=f);break;case 3:s=e[i+1],r=e[i+2],(192&s)==128&&(192&r)==128&&(f=(15&t)<<12|(63&s)<<6|63&r)>2047&&(f<55296||f>57343)&&(o=f);break;case 4:s=e[i+1],r=e[i+2],l=e[i+3],(192&s)==128&&(192&r)==128&&(192&l)==128&&(f=(15&t)<<18|(63&s)<<12|(63&r)<<6|63&l)>65535&&f<1114112&&(o=f)}}null===o?(o=65533,a=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=a}return N(r)}t.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=l(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,s){return c(e,t,s)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,s){return p(e,t,s)},u.allocUnsafe=function(e){return h(e)},u.allocUnsafeSlow=function(e){return h(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(ea(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),ea(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let s=e.length,r=t.length;for(let i=0,o=Math.min(s,r);i<o;++i)if(e[i]!==t[i]){s=e[i],r=t[i];break}return s<r?-1:r<s?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){let s;if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);if(void 0===t)for(s=0,t=0;s<e.length;++s)t+=e[s].length;let r=u.allocUnsafe(t),i=0;for(s=0;s<e.length;++s){let t=e[s];if(ea(t,Uint8Array))i+t.length>r.length?(u.isBuffer(t)||(t=u.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(u.isBuffer(t))t.copy(r,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=t.length}return r},u.byteLength=C,u.prototype._isBuffer=!0,u.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)x(this,t,t+1);return this},u.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)x(this,t,t+3),x(this,t+1,t+2);return this},u.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)x(this,t,t+7),x(this,t+1,t+6),x(this,t+2,t+5),x(this,t+3,t+4);return this},u.prototype.toString=function(){let e=this.length;return 0===e?"":0==arguments.length?P(this,0,e):k.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){let e="",s=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,s).replace(/(.{2})/g,"$1 ").trim(),this.length>s&&(e+=" ... "),"<Buffer "+e+">"},o&&(u.prototype[o]=u.prototype.inspect),u.prototype.compare=function(e,t,s,r,i){if(ea(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===s&&(s=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||s>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=s)return 0;if(r>=i)return -1;if(t>=s)return 1;if(t>>>=0,s>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,a=s-t,l=Math.min(o,a),f=this.slice(r,i),c=e.slice(t,s);for(let e=0;e<l;++e)if(f[e]!==c[e]){o=f[e],a=c[e];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(e,t,s){return -1!==this.indexOf(e,t,s)},u.prototype.indexOf=function(e,t,s){return S(this,e,t,s,!0)},u.prototype.lastIndexOf=function(e,t,s){return S(this,e,t,s,!1)},u.prototype.write=function(e,t,s,r){if(void 0===t)r="utf8",s=this.length,t=0;else if(void 0===s&&"string"==typeof t)r=t,s=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(s)?(s>>>=0,void 0===r&&(r="utf8")):(r=s,s=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let i=this.length-t;if((void 0===s||s>i)&&(s=i),e.length>0&&(s<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");let o=!1;for(;;)switch(r){case"hex":return M(this,e,t,s);case"utf8":case"utf-8":return I(this,e,t,s);case"ascii":case"latin1":case"binary":return A(this,e,t,s);case"base64":return R(this,e,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,s);default:if(o)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};let T=4096;function N(e){let t=e.length;if(t<=T)return String.fromCharCode.apply(String,e);let s="",r=0;for(;r<t;)s+=String.fromCharCode.apply(String,e.slice(r,r+=T));return s}function D(e,t,s){let r="";s=Math.min(e.length,s);for(let i=t;i<s;++i)r+=String.fromCharCode(127&e[i]);return r}function L(e,t,s){let r="";s=Math.min(e.length,s);for(let i=t;i<s;++i)r+=String.fromCharCode(e[i]);return r}function B(e,t,s){let r=e.length;(!t||t<0)&&(t=0),(!s||s<0||s>r)&&(s=r);let i="";for(let r=t;r<s;++r)i+=ef[e[r]];return i}function q(e,t,s){let r=e.slice(t,s),i="";for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+256*r[e+1]);return i}function F(e,t,s){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>s)throw RangeError("Trying to access beyond buffer length")}function z(e,t,s,r,i,o){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(s+r>e.length)throw RangeError("Index out of range")}function U(e,t,s,r,i){X(t,r,i,e,s,7);let o=Number(t&BigInt(4294967295));e[s++]=o,o>>=8,e[s++]=o,o>>=8,e[s++]=o,o>>=8,e[s++]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[s++]=a,a>>=8,e[s++]=a,a>>=8,e[s++]=a,a>>=8,e[s++]=a,s}function V(e,t,s,r,i){X(t,r,i,e,s,7);let o=Number(t&BigInt(4294967295));e[s+7]=o,o>>=8,e[s+6]=o,o>>=8,e[s+5]=o,o>>=8,e[s+4]=o;let a=Number(t>>BigInt(32)&BigInt(4294967295));return e[s+3]=a,a>>=8,e[s+2]=a,a>>=8,e[s+1]=a,a>>=8,e[s]=a,s+8}function $(e,t,s,r,i,o){if(s+r>e.length||s<0)throw RangeError("Index out of range")}function H(e,t,s,r,o){return t=+t,s>>>=0,o||$(e,t,s,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,s,r,23,4),s+4}function W(e,t,s,r,o){return t=+t,s>>>=0,o||$(e,t,s,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,s,r,52,8),s+8}u.prototype.slice=function(e,t){let s=this.length;e=~~e,t=void 0===t?s:~~t,e<0?(e+=s)<0&&(e=0):e>s&&(e=s),t<0?(t+=s)<0&&(t=0):t>s&&(t=s),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,u.prototype),r},u.prototype.readUintLE=u.prototype.readUIntLE=function(e,t,s){e>>>=0,t>>>=0,s||F(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r},u.prototype.readUintBE=u.prototype.readUIntBE=function(e,t,s){e>>>=0,t>>>=0,s||F(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},u.prototype.readUint8=u.prototype.readUInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),this[e]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readBigUInt64LE=eu(function(e){Y(e>>>=0,"offset");let t=this[e],s=this[e+7];(void 0===t||void 0===s)&&J(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+16777216*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+16777216*s;return BigInt(r)+(BigInt(i)<<BigInt(32))}),u.prototype.readBigUInt64BE=eu(function(e){Y(e>>>=0,"offset");let t=this[e],s=this[e+7];(void 0===t||void 0===s)&&J(e,this.length-8);let r=16777216*t+65536*this[++e]+256*this[++e]+this[++e],i=16777216*this[++e]+65536*this[++e]+256*this[++e]+s;return(BigInt(r)<<BigInt(32))+BigInt(i)}),u.prototype.readIntLE=function(e,t,s){e>>>=0,t>>>=0,s||F(e,t,this.length);let r=this[e],i=1,o=0;for(;++o<t&&(i*=256);)r+=this[e+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},u.prototype.readIntBE=function(e,t,s){e>>>=0,t>>>=0,s||F(e,t,this.length);let r=t,i=1,o=this[e+--r];for(;r>0&&(i*=256);)o+=this[e+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readInt8=function(e,t){return(e>>>=0,t||F(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||F(e,2,this.length);let s=this[e]|this[e+1]<<8;return 32768&s?4294901760|s:s},u.prototype.readInt16BE=function(e,t){e>>>=0,t||F(e,2,this.length);let s=this[e+1]|this[e]<<8;return 32768&s?4294901760|s:s},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readBigInt64LE=eu(function(e){Y(e>>>=0,"offset");let t=this[e],s=this[e+7];return(void 0===t||void 0===s)&&J(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(s<<24))<<BigInt(32))+BigInt(t+256*this[++e]+65536*this[++e]+16777216*this[++e])}),u.prototype.readBigInt64BE=eu(function(e){Y(e>>>=0,"offset");let t=this[e],s=this[e+7];return(void 0===t||void 0===s)&&J(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<<BigInt(32))+BigInt(16777216*this[++e]+65536*this[++e]+256*this[++e]+s)}),u.prototype.readFloatLE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||F(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||F(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(e,t,s,r){if(e=+e,t>>>=0,s>>>=0,!r){let r=Math.pow(2,8*s)-1;z(this,e,t,s,r,0)}let i=1,o=0;for(this[t]=255&e;++o<s&&(i*=256);)this[t+o]=e/i&255;return t+s},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(e,t,s,r){if(e=+e,t>>>=0,s>>>=0,!r){let r=Math.pow(2,8*s)-1;z(this,e,t,s,r,0)}let i=s-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+s},u.prototype.writeUint8=u.prototype.writeUInt8=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigUInt64LE=eu(function(e,t=0){return U(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=eu(function(e,t=0){return V(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function(e,t,s,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*s-1);z(this,e,t,s,r-1,-r)}let i=0,o=1,a=0;for(this[t]=255&e;++i<s&&(o*=256);)e<0&&0===a&&0!==this[t+i-1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+s},u.prototype.writeIntBE=function(e,t,s,r){if(e=+e,t>>>=0,!r){let r=Math.pow(2,8*s-1);z(this,e,t,s,r-1,-r)}let i=s-1,o=1,a=0;for(this[t+i]=255&e;--i>=0&&(o*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/o>>0)-a&255;return t+s},u.prototype.writeInt8=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,s){return e=+e,t>>>=0,s||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeBigInt64LE=eu(function(e,t=0){return U(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=eu(function(e,t=0){return V(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeFloatLE=function(e,t,s){return H(this,e,t,!0,s)},u.prototype.writeFloatBE=function(e,t,s){return H(this,e,t,!1,s)},u.prototype.writeDoubleLE=function(e,t,s){return W(this,e,t,!0,s)},u.prototype.writeDoubleBE=function(e,t,s){return W(this,e,t,!1,s)},u.prototype.copy=function(e,t,s,r){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");if(s||(s=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<s&&(r=s),r===s||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-s&&(r=e.length-t+s);let i=r-s;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,s,r):Uint8Array.prototype.set.call(e,this.subarray(s,r),t),i},u.prototype.fill=function(e,t,s,r){let i;if("string"==typeof e){if("string"==typeof t?(r=t,t=0,s=this.length):"string"==typeof s&&(r=s,s=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){let t=e.charCodeAt(0);("utf8"===r&&t<128||"latin1"===r)&&(e=t)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<s)throw RangeError("Out of range index");if(s<=t)return this;if(t>>>=0,s=void 0===s?this.length:s>>>0,e||(e=0),"number"==typeof e)for(i=t;i<s;++i)this[i]=e;else{let o=u.isBuffer(e)?e:u.from(e,r),a=o.length;if(0===a)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<s-t;++i)this[i+t]=o[i%a]}return this};let K={};function G(e,t,s){K[e]=class extends s{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}function Z(e){let t="",s=e.length,r="-"===e[0]?1:0;for(;s>=r+4;s-=3)t=`_${e.slice(s-3,s)}${t}`;return`${e.slice(0,s)}${t}`}function Q(e,t,s){Y(t,"offset"),(void 0===e[t]||void 0===e[t+s])&&J(t,e.length-(s+1))}function X(e,t,s,r,i,o){if(e>s||e<t){let r;let i="bigint"==typeof t?"n":"";throw r=o>3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${s}${i}`,new K.ERR_OUT_OF_RANGE("value",r,e)}Q(r,i,o)}function Y(e,t){if("number"!=typeof e)throw new K.ERR_INVALID_ARG_TYPE(t,"number",e)}function J(e,t,s){if(Math.floor(e)!==e)throw Y(e,s),new K.ERR_OUT_OF_RANGE(s||"offset","an integer",e);if(t<0)throw new K.ERR_BUFFER_OUT_OF_BOUNDS;throw new K.ERR_OUT_OF_RANGE(s||"offset",`>= ${s?1:0} and <= ${t}`,e)}G("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),G("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),G("ERR_OUT_OF_RANGE",function(e,t,s){let r=`The value of "${e}" is out of range.`,i=s;return Number.isInteger(s)&&Math.abs(s)>4294967296?i=Z(String(s)):"bigint"==typeof s&&(i=String(s),(s>BigInt(2)**BigInt(32)||s<-(BigInt(2)**BigInt(32)))&&(i=Z(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let ee=/[^+/0-9A-Za-z-_]/g;function et(e){if((e=(e=e.split("=")[0]).trim().replace(ee,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}function es(e,t){let s;t=t||1/0;let r=e.length,i=null,o=[];for(let a=0;a<r;++a){if((s=e.charCodeAt(a))>55295&&s<57344){if(!i){if(s>56319||a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=s;continue}if(s<56320){(t-=3)>-1&&o.push(239,191,189),i=s;continue}s=(i-55296<<10|s-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,s<128){if((t-=1)<0)break;o.push(s)}else if(s<2048){if((t-=2)<0)break;o.push(s>>6|192,63&s|128)}else if(s<65536){if((t-=3)<0)break;o.push(s>>12|224,s>>6&63|128,63&s|128)}else if(s<1114112){if((t-=4)<0)break;o.push(s>>18|240,s>>12&63|128,s>>6&63|128,63&s|128)}else throw Error("Invalid code point")}return o}function er(e){let t=[];for(let s=0;s<e.length;++s)t.push(255&e.charCodeAt(s));return t}function en(e,t){let s,r;let i=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)r=(s=e.charCodeAt(o))>>8,i.push(s%256),i.push(r);return i}function ei(e){return r.toByteArray(et(e))}function eo(e,t,s,r){let i;for(i=0;i<r&&!(i+s>=t.length)&&!(i>=e.length);++i)t[i+s]=e[i];return i}function ea(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function el(e){return e!=e}let ef=function(){let e="0123456789abcdef",t=Array(256);for(let s=0;s<16;++s){let r=16*s;for(let i=0;i<16;++i)t[r+i]=e[s]+e[i]}return t}();function eu(e){return"undefined"==typeof BigInt?ec:e}function ec(){throw Error("BigInt not supported")}},4902:function(e,t,s){"use strict";var r=s(4249),i=s(3708),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var s=r(e,!!t);return"function"==typeof s&&o(e,".prototype.")>-1?i(s):s}},3708:function(e,t,s){"use strict";var r=s(2073),i=s(4249),o=s(8454),a=s(1088),l=i("%Function.prototype.apply%"),f=i("%Function.prototype.call%"),u=i("%Reflect.apply%",!0)||r.call(f,l),c=s(10),d=i("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=u(r,f,arguments);return o(t,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return u(r,l,arguments)};c?c(e.exports,"apply",{value:p}):e.exports.apply=p},7302:function(e,t,s){var r=s(3656);function i(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let s="color: "+this.color;t.splice(1,0,s,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))}),t.splice(i,0,s)}function a(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}}function l(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}function f(){try{return localStorage}catch(e){}}t.formatArgs=o,t.save=a,t.load=l,t.useColors=i,t.storage=f(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=s(3065)(t);let{formatters:u}=e.exports;u.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},3065:function(e,t,s){function r(e){function t(e){let t=0;for(let s=0;s<e.length;s++)t=(t<<5)-t+e.charCodeAt(s)|0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){let t,s,o;let a=null;function l(...e){if(!l.enabled)return;let s=l,i=Number(new Date),o=i-(t||i);s.diff=o,s.prev=t,s.curr=i,t=i,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,i)=>{if("%%"===t)return"%";a++;let o=r.formatters[i];if("function"==typeof o){let r=e[a];t=o.call(s,r),e.splice(a,1),a--}return t}),r.formatArgs.call(s,e),(s.log||r.log).apply(s,e)}return l.namespace=e,l.useColors=r.useColors(),l.color=r.selectColor(e),l.extend=i,l.destroy=r.destroy,Object.defineProperty(l,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(s!==r.namespaces&&(s=r.namespaces,o=r.enabled(e)),o),set:e=>{a=e}}),"function"==typeof r.init&&r.init(l),l}function i(e,t){let s=r(this.namespace+(void 0===t?":":t)+e);return s.log=this.log,s}function o(e){let t;r.save(e),r.namespaces=e,r.names=[],r.skips=[];let s=("string"==typeof e?e:"").split(/[\s,]+/),i=s.length;for(t=0;t<i;t++)s[t]&&("-"===(e=s[t].replace(/\*/g,".*?"))[0]?r.skips.push(RegExp("^"+e.slice(1)+"$")):r.names.push(RegExp("^"+e+"$")))}function a(){let e=[...r.names.map(f),...r.skips.map(f).map(e=>"-"+e)].join(",");return r.enable(""),e}function l(e){let t,s;if("*"===e[e.length-1])return!0;for(t=0,s=r.skips.length;t<s;t++)if(r.skips[t].test(e))return!1;for(t=0,s=r.names.length;t<s;t++)if(r.names[t].test(e))return!0;return!1}function f(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function u(e){return e instanceof Error?e.stack||e.message:e}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.debug=r,r.default=r,r.coerce=u,r.disable=a,r.enable=o,r.enabled=l,r.humanize=s(4247),r.destroy=c,Object.keys(e).forEach(t=>{r[t]=e[t]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}e.exports=r},3430:function(e,t,s){"use strict";var r=s(10),i=s(1824),o=s(1088),a=s(8158);e.exports=function(e,t,s){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var l=arguments.length>3?arguments[3]:null,f=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(r)r(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===l&&d?d.enumerable:!l,value:s,writable:null===f&&d?d.writable:!f});else if(!c&&(l||f||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=s}},10:function(e,t,s){"use strict";var r=s(4249)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},1573:function(e){"use strict";e.exports=EvalError},2112:function(e){"use strict";e.exports=Error},7063:function(e){"use strict";e.exports=RangeError},9802:function(e){"use strict";e.exports=ReferenceError},1824:function(e){"use strict";e.exports=SyntaxError},1088:function(e){"use strict";e.exports=TypeError},7002:function(e){"use strict";e.exports=URIError},7324:function(e){"use strict";var t,s="object"==typeof Reflect?Reflect:null,r=s&&"function"==typeof s.apply?s.apply:function(e,t,s){return Function.prototype.apply.call(e,t,s)};function i(e){console&&console.warn&&console.warn(e)}t=s&&"function"==typeof s.ownKeys?s.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function a(){a.init.call(this)}e.exports=a,e.exports.once=v,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var l=10;function f(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?a.defaultMaxListeners:e._maxListeners}function c(e,t,s,r){if(f(s),void 0===(a=e._events)?(a=e._events=Object.create(null),e._eventsCount=0):(void 0!==a.newListener&&(e.emit("newListener",t,s.listener?s.listener:s),a=e._events),l=a[t]),void 0===l)l=a[t]=s,++e._eventsCount;else if("function"==typeof l?l=a[t]=r?[s,l]:[l,s]:r?l.unshift(s):l.push(s),(o=u(e))>0&&l.length>o&&!l.warned){l.warned=!0;var o,a,l,c=Error("Possible EventEmitter memory leak detected. "+l.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=l.length,i(c)}return e}function d(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,s){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:s},i=d.bind(r);return i.listener=s,r.wrapFn=i,i}function h(e,t,s){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:"function"==typeof i?s?[i.listener||i]:[i]:s?g(i):_(i,i.length)}function b(e){var t=this._events;if(void 0!==t){var s=t[e];if("function"==typeof s)return 1;if(void 0!==s)return s.length}return 0}function _(e,t){for(var s=Array(t),r=0;r<t;++r)s[r]=e[r];return s}function m(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function g(e){for(var t=Array(e.length),s=0;s<t.length;++s)t[s]=e[s].listener||e[s];return t}function v(e,t){return new Promise(function(s,r){function i(s){e.removeListener(t,o),r(s)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),s([].slice.call(arguments))}w(e,t,o,{once:!0}),"error"!==t&&y(e,i,{once:!0})})}function y(e,t,s){"function"==typeof e.on&&w(e,"error",t,s)}function w(e,t,s,r){if("function"==typeof e.on)r.once?e.once(t,s):e.on(t,s);else if("function"==typeof e.addEventListener)e.addEventListener(t,function i(o){r.once&&e.removeEventListener(t,i),s(o)});else throw TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return l},set:function(e){if("number"!=typeof e||e<0||o(e))throw RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");l=e}}),a.init=function(){(void 0===this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},a.prototype.getMaxListeners=function(){return u(this)},a.prototype.emit=function(e){for(var t=[],s=1;s<arguments.length;s++)t.push(arguments[s]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var a,l=Error("Unhandled error."+(a?" ("+a.message+")":""));throw l.context=a,l}var f=o[e];if(void 0===f)return!1;if("function"==typeof f)r(f,this,t);else for(var u=f.length,c=_(f,u),s=0;s<u;++s)r(c[s],this,t);return!0},a.prototype.addListener=function(e,t){return c(this,e,t,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(e,t){return c(this,e,t,!0)},a.prototype.once=function(e,t){return f(t),this.on(e,p(this,e,t)),this},a.prototype.prependOnceListener=function(e,t){return f(t),this.prependListener(e,p(this,e,t)),this},a.prototype.removeListener=function(e,t){var s,r,i,o,a;if(f(t),void 0===(r=this._events)||void 0===(s=r[e]))return this;if(s===t||s.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete r[e],r.removeListener&&this.emit("removeListener",e,s.listener||t));else if("function"!=typeof s){for(i=-1,o=s.length-1;o>=0;o--)if(s[o]===t||s[o].listener===t){a=s[o].listener,i=o;break}if(i<0)return this;0===i?s.shift():m(s,i),1===s.length&&(r[e]=s[0]),void 0!==r.removeListener&&this.emit("removeListener",e,a||t)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(e){var t,s,r;if(void 0===(s=this._events))return this;if(void 0===s.removeListener)return 0==arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==s[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete s[e]),this;if(0==arguments.length){var i,o=Object.keys(s);for(r=0;r<o.length;++r)"removeListener"!==(i=o[r])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=s[e]))this.removeListener(e,t);else if(void 0!==t)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this},a.prototype.listeners=function(e){return h(this,e,!0)},a.prototype.rawListeners=function(e){return h(this,e,!1)},a.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):b.call(e,t)},a.prototype.listenerCount=b,a.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},98:function(e,t,s){"use strict";var r=s(9861),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty,a=function(e,t,s){for(var r=0,i=e.length;r<i;r++)o.call(e,r)&&(null==s?t(e[r],r,e):t.call(s,e[r],r,e))},l=function(e,t,s){for(var r=0,i=e.length;r<i;r++)null==s?t(e.charAt(r),r,e):t.call(s,e.charAt(r),r,e)},f=function(e,t,s){for(var r in e)o.call(e,r)&&(null==s?t(e[r],r,e):t.call(s,e[r],r,e))},u=function(e,t,s){var o;if(!r(t))throw TypeError("iterator must be a function");arguments.length>=3&&(o=s),"[object Array]"===i.call(e)?a(e,t,o):"string"==typeof e?l(e,t,o):f(e,t,o)};e.exports=u},9748:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",s=Array.prototype.slice,r=Object.prototype.toString,i="[object Function]";e.exports=function(e){var o,a=this;if("function"!=typeof a||r.call(a)!==i)throw TypeError(t+a);for(var l=s.call(arguments,1),f=function(){if(!(this instanceof o))return a.apply(e,l.concat(s.call(arguments)));var t=a.apply(this,l.concat(s.call(arguments)));return Object(t)===t?t:this},u=Math.max(0,a.length-l.length),c=[],d=0;d<u;d++)c.push("$"+d);if(o=Function("binder","return function ("+c.join(",")+"){ return binder.apply(this,arguments); }")(f),a.prototype){var p=function(){};p.prototype=a.prototype,o.prototype=new p,p.prototype=null}return o}},2698:function(e,t,s){"use strict";var r=s(9748);e.exports=Function.prototype.bind||r},2888:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",s=Object.prototype.toString,r=Math.max,i="[object Function]",o=function(e,t){for(var s=[],r=0;r<e.length;r+=1)s[r]=e[r];for(var i=0;i<t.length;i+=1)s[i+e.length]=t[i];return s},a=function(e,t){for(var s=[],r=t||0,i=0;r<e.length;r+=1,i+=1)s[i]=e[r];return s},l=function(e,t){for(var s="",r=0;r<e.length;r+=1)s+=e[r],r+1<e.length&&(s+=t);return s};e.exports=function(e){var f,u=this;if("function"!=typeof u||s.apply(u)!==i)throw TypeError(t+u);for(var c=a(arguments,1),d=function(){if(this instanceof f){var t=u.apply(this,o(c,arguments));return Object(t)===t?t:this}return u.apply(e,o(c,arguments))},p=r(0,u.length-c.length),h=[],b=0;b<p;b++)h[b]="$"+b;if(f=Function("binder","return function ("+l(h,",")+"){ return binder.apply(this,arguments); }")(d),u.prototype){var _=function(){};_.prototype=u.prototype,f.prototype=new _,_.prototype=null}return f}},2073:function(e,t,s){"use strict";var r=s(2888);e.exports=Function.prototype.bind||r},6653:function(e,t,s){"use strict";var r,i=SyntaxError,o=Function,a=TypeError,l=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},f=Object.getOwnPropertyDescriptor;if(f)try{f({},"")}catch(e){f=null}var u=function(){throw new a},c=f?function(){try{return arguments.callee,u}catch(e){try{return f(arguments,"callee").get}catch(e){return u}}}():u,d=s(2770)(),p=s(7877)(),h=Object.getPrototypeOf||(p?function(e){return e.__proto__}:null),b={},_="undefined"!=typeof Uint8Array&&h?h(Uint8Array):r,m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d&&h?h([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d&&h?h(h([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d&&h?h(new Map()[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d&&h?h(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d&&h?h(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":c,"%TypedArray%":_,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(h)try{null.error}catch(e){var g=h(h(e));m["%Error.prototype%"]=g}var v=function e(t){var s;if("%AsyncFunction%"===t)s=l("async function () {}");else if("%GeneratorFunction%"===t)s=l("function* () {}");else if("%AsyncGeneratorFunction%"===t)s=l("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(s=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&h&&(s=h(i.prototype))}return m[t]=s,s},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},w=s(2698),C=s(2786),k=w.call(Function.call,Array.prototype.concat),x=w.call(Function.apply,Array.prototype.splice),S=w.call(Function.call,String.prototype.replace),E=w.call(Function.call,String.prototype.slice),M=w.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,A=/\\(\\)?/g,R=function(e){var t=E(e,0,1),s=E(e,-1);if("%"===t&&"%"!==s)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===s&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return S(e,I,function(e,t,s,i){r[r.length]=s?S(i,A,"$1"):t||e}),r},O=function(e,t){var s,r=e;if(C(y,r)&&(r="%"+(s=y[r])[0]+"%"),C(m,r)){var o=m[r];if(o===b&&(o=v(r)),void 0===o&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:s,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===M(/^%?[^%]*%?$/,e))throw new i("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var s=R(e),r=s.length>0?s[0]:"",o=O("%"+r+"%",t),l=o.name,u=o.value,c=!1,d=o.alias;d&&(r=d[0],x(s,k([0,1],d)));for(var p=1,h=!0;p<s.length;p+=1){var b=s[p],_=E(b,0,1),g=E(b,-1);if(('"'===_||"'"===_||"`"===_||'"'===g||"'"===g||"`"===g)&&_!==g)throw new i("property names with quotes must have matching quotes");if("constructor"!==b&&h||(c=!0),r+="."+b,C(m,l="%"+r+"%"))u=m[l];else if(null!=u){if(!(b in u)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(f&&p+1>=s.length){var v=f(u,b);u=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:u[b]}else h=C(u,b),u=u[b];h&&!c&&(m[l]=u)}}return u}},4249:function(e,t,s){"use strict";var r,i=s(2112),o=s(1573),a=s(7063),l=s(9802),f=s(1824),u=s(1088),c=s(7002),d=Function,p=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(e){}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch(e){h=null}var b=function(){throw new u},_=h?function(){try{return arguments.callee,b}catch(e){try{return h(arguments,"callee").get}catch(e){return b}}}():b,m=s(2770)(),g=s(2114)(),v=Object.getPrototypeOf||(g?function(e){return e.__proto__}:null),y={},w="undefined"!=typeof Uint8Array&&v?v(Uint8Array):r,C={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":m&&v?v([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m&&v?v(v([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&m&&v?v(new Map()[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&m&&v?v(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m&&v?v(""[Symbol.iterator]()):r,"%Symbol%":m?Symbol:r,"%SyntaxError%":f,"%ThrowTypeError%":_,"%TypedArray%":w,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":c,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(v)try{null.error}catch(e){var k=v(v(e));C["%Error.prototype%"]=k}var x=function e(t){var s;if("%AsyncFunction%"===t)s=p("async function () {}");else if("%GeneratorFunction%"===t)s=p("function* () {}");else if("%AsyncGeneratorFunction%"===t)s=p("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(s=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&v&&(s=v(i.prototype))}return C[t]=s,s},S={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},E=s(2073),M=s(3728),I=E.call(Function.call,Array.prototype.concat),A=E.call(Function.apply,Array.prototype.splice),R=E.call(Function.call,String.prototype.replace),O=E.call(Function.call,String.prototype.slice),j=E.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,N=function(e){var t=O(e,0,1),s=O(e,-1);if("%"===t&&"%"!==s)throw new f("invalid intrinsic syntax, expected closing `%`");if("%"===s&&"%"!==t)throw new f("invalid intrinsic syntax, expected opening `%`");var r=[];return R(e,P,function(e,t,s,i){r[r.length]=s?R(i,T,"$1"):t||e}),r},D=function(e,t){var s,r=e;if(M(S,r)&&(r="%"+(s=S[r])[0]+"%"),M(C,r)){var i=C[r];if(i===y&&(i=x(r)),void 0===i&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:s,name:r,value:i}}throw new f("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===j(/^%?[^%]*%?$/,e))throw new f("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var s=N(e),r=s.length>0?s[0]:"",i=D("%"+r+"%",t),o=i.name,a=i.value,l=!1,c=i.alias;c&&(r=c[0],A(s,I([0,1],c)));for(var d=1,p=!0;d<s.length;d+=1){var b=s[d],_=O(b,0,1),m=O(b,-1);if(('"'===_||"'"===_||"`"===_||'"'===m||"'"===m||"`"===m)&&_!==m)throw new f("property names with quotes must have matching quotes");if("constructor"!==b&&p||(l=!0),r+="."+b,M(C,o="%"+r+"%"))a=C[o];else if(null!=a){if(!(b in a)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(h&&d+1>=s.length){var g=h(a,b);a=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[b]}else p=M(a,b),a=a[b];p&&!l&&(C[o]=a)}}return a}},8158:function(e,t,s){"use strict";var r=s(6653)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},5768:function(e,t,s){"use strict";var r=s(10),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},7877:function(e){"use strict";var t={foo:{}},s=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(({__proto__:null})instanceof s)}},2114:function(e){"use strict";var t={__proto__:null,foo:{}},s=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(t instanceof s)}},2770:function(e,t,s){"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=s(9578);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},9578:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),s=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(s))return!1;var r=42;for(t in e[t]=r,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||!0!==o.enumerable)return!1}return!0}},3342:function(e,t,s){"use strict";var r=s(9578);e.exports=function(){return r()&&!!Symbol.toStringTag}},2786:function(e,t,s){"use strict";var r=s(2698);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},3728:function(e,t,s){"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=s(2073);e.exports=o.call(r,i)},7164:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,s,r,i){var o,a,l=8*i-r-1,f=(1<<l)-1,u=f>>1,c=-7,d=s?i-1:0,p=s?-1:1,h=e[t+d];for(d+=p,o=h&(1<<-c)-1,h>>=-c,c+=l;c>0;o=256*o+e[t+d],d+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===o)o=1-u;else{if(o===f)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,s,r,i,o){var a,l,f,u=8*o-i-1,c=(1<<u)-1,d=c>>1,p=23===i?5960464477539062e-23:0,h=r?0:o-1,b=r?1:-1,_=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(l=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(f=Math.pow(2,-a))<1&&(a--,f*=2),a+d>=1?t+=p/f:t+=p*Math.pow(2,1-d),t*f>=2&&(a++,f/=2),a+d>=c?(l=0,a=c):a+d>=1?(l=(t*f-1)*Math.pow(2,i),a+=d):(l=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[s+h]=255&l,h+=b,l/=256,i-=8);for(a=a<<i|l,u+=i;u>0;e[s+h]=255&a,h+=b,a/=256,u-=8);e[s+h-b]|=128*_}},7483:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e}}},9462:function(e,t,s){"use strict";var r=s(3342)(),i=s(4902)("Object.prototype.toString"),o=function(e){return(!r||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===i(e)},a=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},l=function(){return o(arguments)}();o.isLegacyArguments=a,e.exports=l?o:a},9861:function(e){"use strict";var t,s,r=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw s}}),s={},i(function(){throw 42},null,t)}catch(e){e!==s&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},l=function(e){try{if(a(e))return!1;return r.call(e),!0}catch(e){return!1}},f=Object.prototype.toString,u="[object Object]",c="[object Function]",d="[object GeneratorFunction]",p="[object HTMLAllCollection]",h="[object HTML document.all class]",b="[object HTMLCollection]",_="function"==typeof Symbol&&!!Symbol.toStringTag,m=!(0 in[,]),g=function(){return!1};if("object"==typeof document){var v=document.all;f.call(v)===f.call(document.all)&&(g=function(e){if((m||!e)&&(void 0===e||"object"==typeof e))try{var t=f.call(e);return(t===p||t===h||t===b||t===u)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(g(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==s)return!1}return!a(e)&&l(e)}:function(e){if(g(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(_)return l(e);if(a(e))return!1;var t=f.call(e);return!!(t===c||t===d||/^\[object HTML/.test(t))&&l(e)}},7136:function(e,t,s){"use strict";var r,i=Object.prototype.toString,o=Function.prototype.toString,a=/^\s*(?:function)?\*/,l=s(3342)(),f=Object.getPrototypeOf,u=function(){if(!l)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!=typeof e)return!1;if(a.test(o.call(e)))return!0;if(!l)return"[object GeneratorFunction]"===i.call(e);if(!f)return!1;if(void 0===r){var t=u();r=!!t&&f(t)}return f(e)===r}},1407:function(e,t,s){"use strict";var r=s(98),i=s(3719),o=s(4902),a=o("Object.prototype.toString"),l=s(3342)(),f=s(8158),u="undefined"==typeof globalThis?s.g:globalThis,c=i(),d=o("Array.prototype.indexOf",!0)||function(e,t){for(var s=0;s<e.length;s+=1)if(e[s]===t)return s;return -1},p=o("String.prototype.slice"),h={},b=Object.getPrototypeOf;l&&f&&b&&r(c,function(e){var t=new u[e];if(Symbol.toStringTag in t){var s=b(t),r=f(s,Symbol.toStringTag);r||(r=f(b(s),Symbol.toStringTag)),h[e]=r.get}});var _=function(e){var t=!1;return r(h,function(s,r){if(!t)try{t=s.call(e)===r}catch(e){}}),t};e.exports=function(e){return!!e&&"object"==typeof e&&(l&&Symbol.toStringTag in e?!!f&&_(e):d(c,p(a(e),8,-1))>-1)}},9416:function(e,t,s){"use strict";let r=s(7406),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),l=Symbol("allowStale"),f=Symbol("maxAge"),u=Symbol("dispose"),c=Symbol("noDisposeOnSet"),d=Symbol("lruList"),p=Symbol("cache"),h=Symbol("updateAgeOnGet"),b=()=>1;class _{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[i]=e.max||1/0;let t=e.length||b;if(this[a]="function"!=typeof t?b:t,this[l]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[f]=e.maxAge||0,this[u]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[i]=e||1/0,v(this)}get max(){return this[i]}set allowStale(e){this[l]=!!e}get allowStale(){return this[l]}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[f]=e,v(this)}get maxAge(){return this[f]}set lengthCalculator(e){"function"!=typeof e&&(e=b),e!==this[a]&&(this[a]=e,this[o]=0,this[d].forEach(e=>{e.length=this[a](e.value,e.key),this[o]+=e.length})),v(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[d].length}rforEach(e,t){t=t||this;for(let s=this[d].tail;null!==s;){let r=s.prev;C(this,e,s,t),s=r}}forEach(e,t){t=t||this;for(let s=this[d].head;null!==s;){let r=s.next;C(this,e,s,t),s=r}}keys(){return this[d].toArray().map(e=>e.key)}values(){return this[d].toArray().map(e=>e.value)}reset(){this[u]&&this[d]&&this[d].length&&this[d].forEach(e=>this[u](e.key,e.value)),this[p]=new Map,this[d]=new r,this[o]=0}dump(){return this[d].map(e=>!g(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[d]}set(e,t,s){if((s=s||this[f])&&"number"!=typeof s)throw TypeError("maxAge must be a number");let r=s?Date.now():0,l=this[a](t,e);if(this[p].has(e)){if(l>this[i])return y(this,this[p].get(e)),!1;let a=this[p].get(e).value;return this[u]&&!this[c]&&this[u](e,a.value),a.now=r,a.maxAge=s,a.value=t,this[o]+=l-a.length,a.length=l,this.get(e),v(this),!0}let h=new w(e,t,l,r,s);return h.length>this[i]?(this[u]&&this[u](e,t),!1):(this[o]+=h.length,this[d].unshift(h),this[p].set(e,this[d].head),v(this),!0)}has(e){return!!this[p].has(e)&&!g(this,this[p].get(e).value)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){let e=this[d].tail;return e?(y(this,e),e.value):null}del(e){y(this,this[p].get(e))}load(e){this.reset();let t=Date.now();for(let s=e.length-1;s>=0;s--){let r=e[s],i=r.e||0;if(0===i)this.set(r.k,r.v);else{let e=i-t;e>0&&this.set(r.k,r.v,e)}}}prune(){this[p].forEach((e,t)=>m(this,t,!1))}}let m=(e,t,s)=>{let r=e[p].get(t);if(r){let t=r.value;if(g(e,t)){if(y(e,r),!e[l])return}else s&&(e[h]&&(r.value.now=Date.now()),e[d].unshiftNode(r));return t.value}},g=(e,t)=>{if(!t||!t.maxAge&&!e[f])return!1;let s=Date.now()-t.now;return t.maxAge?s>t.maxAge:e[f]&&s>e[f]},v=e=>{if(e[o]>e[i])for(let t=e[d].tail;e[o]>e[i]&&null!==t;){let s=t.prev;y(e,t),t=s}},y=(e,t)=>{if(t){let s=t.value;e[u]&&e[u](s.key,s.value),e[o]-=s.length,e[p].delete(s.key),e[d].removeNode(t)}};class w{constructor(e,t,s,r,i){this.key=e,this.value=t,this.length=s,this.now=r,this.maxAge=i||0}}let C=(e,t,s,r)=>{let i=s.value;g(e,i)&&(y(e,s),e[l]||(i=void 0)),i&&t.call(r,i.value,i.key,e)};e.exports=_},4247:function(e){var t=1e3,s=6e4,r=36e5,i=864e5,o=6048e5,a=315576e5;function l(e){if(!((e=String(e)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(l){var f=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return f*a;case"weeks":case"week":case"w":return f*o;case"days":case"day":case"d":return f*i;case"hours":case"hour":case"hrs":case"hr":case"h":return f*r;case"minutes":case"minute":case"mins":case"min":case"m":return f*s;case"seconds":case"second":case"secs":case"sec":case"s":return f*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function f(e){var o=Math.abs(e);return o>=i?Math.round(e/i)+"d":o>=r?Math.round(e/r)+"h":o>=s?Math.round(e/s)+"m":o>=t?Math.round(e/t)+"s":e+"ms"}function u(e){var o=Math.abs(e);return o>=i?c(e,o,i,"day"):o>=r?c(e,o,r,"hour"):o>=s?c(e,o,s,"minute"):o>=t?c(e,o,t,"second"):e+" ms"}function c(e,t,s,r){var i=t>=1.5*s;return Math.round(e/s)+" "+r+(i?"s":"")}e.exports=function(e,t){t=t||{};var s=typeof e;if("string"===s&&e.length>0)return l(e);if("number"===s&&isFinite(e))return t.long?u(e):f(e);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},1058:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return s(8433)}])},4100:function(e,t,s){"use strict";function r(e){return e}function i(e){return 0===e.length?r:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}function o(e){let t={subscribe(t){let s=null,r=!1,i=!1,o=!1;function a(){if(null===s){o=!0;return}!i&&(i=!0,"function"==typeof s?s():s&&s.unsubscribe())}return s=e({next(e){r||t.next?.(e)},error(e){r||(r=!0,t.error?.(e),a())},complete(){r||(r=!0,t.complete?.(),a())}}),o&&a(),{unsubscribe:a}},pipe:(...e)=>i(e)(t)};return t}function a(e){return e=>{let t=0,s=null,r=[];function i(){s||(s=e.subscribe({next(e){for(let t of r)t.next?.(e)},error(e){for(let t of r)t.error?.(e)},complete(){for(let e of r)e.complete?.()}}))}function o(){if(0===t&&s){let e=s;s=null,e.unsubscribe()}}return{subscribe:e=>(t++,r.push(e),i(),{unsubscribe(){t--,o();let s=r.findIndex(t=>t===e);s>-1&&r.splice(s,1)}})}}}s.d(t,{u:function(){return rd}});class l extends Error{constructor(e){super(e),this.name="ObservableAbortError",Object.setPrototypeOf(this,l.prototype)}}function f(e){let t;return{promise:new Promise((s,r)=>{let i=!1;function o(){i||(i=!0,r(new l("This operation was aborted.")),a.unsubscribe())}let a=e.subscribe({next(e){i=!0,s(e),o()},error(e){i=!0,r(e),o()},complete(){i=!0,o()}});t=o}),abort:t}}function u(e){return o(t=>{function s(t=0,r=e.op){let i=e.links[t];if(!i)throw Error("No more links to execute - did you forget to add an ending link?");return i({op:r,next:e=>s(t+1,e)})}return s().subscribe(t)})}function c(e){return!!e&&!Array.isArray(e)&&"object"==typeof e}function d(e,t){if("error"in e){let s=t.transformer.deserialize(e.error);return{ok:!1,error:{...e,error:s}}}return{ok:!0,result:{...e.result,...(!e.result.type||"data"===e.result.type)&&{type:"data",data:t.transformer.deserialize(e.result.data)}}}}class p extends Error{constructor(){super("Unable to transform response from server")}}function h(e,t){let s;try{s=d(e,t)}catch(e){throw new p}if(!s.ok&&(!c(s.error.error)||"number"!=typeof s.error.error.code)||s.ok&&!c(s.result))throw new p;return s}function b(e){return e instanceof m||e instanceof Error&&"TRPCClientError"===e.name}function _(e){return c(e)&&c(e.error)&&"number"==typeof e.error.code&&"string"==typeof e.error.message}class m extends Error{static from(e,t={}){let s=e;return b(s)?(t.meta&&(s.meta={...s.meta,...t.meta}),s):_(s)?new m(s.error.message,{...t,result:s}):s instanceof Error?new m(s.message,{...t,cause:s}):new m("Unknown error",{...t,cause:s})}constructor(e,t){let s=t?.cause;super(e,{cause:s}),this.meta=t?.meta,this.cause=s,this.shape=t?.result?.error,this.data=t?.result?.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,m.prototype)}}function g(e){let t=Object.create(null);for(let s in e)t[e[s]]=s;return t}let v={PARSE_ERROR:-32700,BAD_REQUEST:-32600,INTERNAL_SERVER_ERROR:-32603,NOT_IMPLEMENTED:-32603,UNAUTHORIZED:-32001,FORBIDDEN:-32003,NOT_FOUND:-32004,METHOD_NOT_SUPPORTED:-32005,TIMEOUT:-32008,CONFLICT:-32009,PRECONDITION_FAILED:-32012,PAYLOAD_TOO_LARGE:-32013,UNPROCESSABLE_CONTENT:-32022,TOO_MANY_REQUESTS:-32029,CLIENT_CLOSED_REQUEST:-32099};g(v),g(v);let y=()=>{};function w(e,t){return new Proxy(y,{get(s,r){if("string"==typeof r&&"then"!==r)return w(e,[...t,r])},apply(s,r,i){let o="apply"===t[t.length-1];return e({args:o?i.length>=2?i[1]:[]:i,path:o?t.slice(0,-1):t})}})}let C=e=>w(e,[]),k=e=>new Proxy(y,{get(t,s){if("string"==typeof s&&"then"!==s)return e(s)}}),x=e=>"function"==typeof e;function S(e){if(e)return e;if("undefined"!=typeof window&&x(window.fetch))return window.fetch;if("undefined"!=typeof globalThis&&x(globalThis.fetch))return globalThis.fetch;throw Error("No fetch implementation found")}function E(e){return e||("undefined"!=typeof window&&window.AbortController?window.AbortController:"undefined"!=typeof globalThis&&globalThis.AbortController?globalThis.AbortController:null)}function M(e){return{url:e.url.toString().replace(/\/$/,""),fetch:e.fetch,AbortController:E(e.AbortController)}}function I(e){let t={};for(let s=0;s<e.length;s++){let r=e[s];t[s]=r}return t}let A={query:"GET",mutation:"POST"};function R(e){return"input"in e?e.runtime.transformer.serialize(e.input):I(e.inputs.map(t=>e.runtime.transformer.serialize(t)))}let O=e=>{let t=e.url+"/"+e.path,s=[];if("inputs"in e&&s.push("batch=1"),"query"===e.type){let t=R(e);void 0!==t&&s.push(`input=${encodeURIComponent(JSON.stringify(t))}`)}return s.length&&(t+="?"+s.join("&")),t},j=e=>{if("query"===e.type)return;let t=R(e);return void 0!==t?JSON.stringify(t):void 0},P=e=>N({...e,contentTypeHeader:"application/json",getUrl:O,getBody:j});async function T(e,t){let s=e.getUrl(e),r=e.getBody(e),{type:i}=e,o=await e.headers();/* istanbul ignore if -- @preserve */if("subscription"===i)throw Error("Subscriptions should use wsLink");let a={...e.contentTypeHeader?{"content-type":e.contentTypeHeader}:{},...e.batchModeHeader?{"trpc-batch-mode":e.batchModeHeader}:{},...o};return S(e.fetch)(s,{method:A[i],signal:t?.signal,body:r,headers:a})}function N(e){let t=e.AbortController?new e.AbortController:null,s={},r=!1;return{promise:new Promise((i,o)=>{T(e,t).then(e=>(s.response=e,r=!0,e.json())).then(e=>{s.responseJSON=e,i({json:e,meta:s})}).catch(e=>{r=!0,o(m.from(e,{meta:s}))})}),cancel:()=>{r||t?.abort()}}}let D=()=>{throw Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function L(e){let t=null,s=null,r=()=>{clearTimeout(s),s=null,t=null};function i(t){let s=[[]],r=0;for(;;){let i=t[r];if(!i)break;let o=s[s.length-1];if(i.aborted){i.reject?.(Error("Aborted")),r++;continue}if(e.validate(o.concat(i).map(e=>e.key))){o.push(i),r++;continue}if(0===o.length){i.reject?.(Error("Input is too big for a single dispatch")),r++;continue}s.push([])}return s}function o(){let s=i(t);for(let t of(r(),s)){if(!t.length)continue;let s={items:t,cancel:D};for(let e of t)e.batch=s;let r=(e,t)=>{let r=s.items[e];r.resolve?.(t),r.batch=null,r.reject=null,r.resolve=null},{promise:i,cancel:o}=e.fetch(s.items.map(e=>e.key),r);s.cancel=o,i.then(e=>{for(let t=0;t<e.length;t++){let s=e[t];r(t,s)}for(let e of s.items)e.reject?.(Error("Missing result")),e.batch=null}).catch(e=>{for(let t of s.items)t.reject?.(e),t.batch=null})}}return{load:function(e){let r={aborted:!1,key:e,batch:null,resolve:D,reject:D},i=new Promise((e,s)=>{r.reject=s,r.resolve=e,t||(t=[]),t.push(r)});return s||(s=setTimeout(o)),{promise:i,cancel:()=>{r.aborted=!0,r.batch?.items.every(e=>e.aborted)&&(r.batch.cancel(),r.batch=null)}}}}}function B(e){return function(t){let s=M(t),r=t.maxURLLength??1/0;return i=>{let a=o=>({validate:e=>{if(r===1/0)return!0;let t=e.map(e=>e.path).join(","),a=e.map(e=>e.input);return O({...s,runtime:i,type:o,path:t,inputs:a}).length<=r},fetch:e({...s,runtime:i,type:o,opts:t})}),l=L(a("query")),f=L(a("mutation")),u={query:l,subscription:L(a("subscription")),mutation:f};return({op:e})=>o(t=>{let s;let{promise:r,cancel:o}=u[e.type].load(e);return r.then(e=>{s=e;let r=h(e.json,i);if(!r.ok){t.error(m.from(r.error,{meta:e.meta}));return}t.next({context:e.meta,result:r.result}),t.complete()}).catch(e=>{t.error(m.from(e,{meta:s?.meta}))}),()=>{o()}})}}}let q=B(e=>t=>{let s=t.map(e=>e.path).join(","),r=t.map(e=>e.input),{promise:i,cancel:o}=P({...e,path:s,inputs:r,headers:()=>e.opts.headers?"function"==typeof e.opts.headers?e.opts.headers({opList:t}):e.opts.headers:{}});return{promise:i.then(e=>(Array.isArray(e.json)?e.json:t.map(()=>e.json)).map(t=>({meta:e.meta,json:t}))),cancel:o}});function F(e){return t=>{let s=M(t);return r=>({op:i})=>o(o=>{let a;let{path:l,input:f,type:u}=i,{promise:c,cancel:d}=e.requester({...s,runtime:r,type:u,path:l,input:f,headers:()=>t.headers?"function"==typeof t.headers?t.headers({op:i}):t.headers:{}});return c.then(e=>{a=e.meta;let t=h(e.json,r);if(!t.ok){o.error(m.from(t.error,{meta:a}));return}o.next({context:e.meta,result:t.result}),o.complete()}).catch(e=>{o.error(m.from(e,{meta:a}))}),()=>{d()}})}}F({requester:P});class z{$request({type:e,input:t,path:s,context:r={}}){return u({links:this.links,op:{id:++this.requestId,type:e,path:s,input:t,context:r}}).pipe(a())}requestAsPromise(e){let{promise:t,abort:s}=f(this.$request(e));return new Promise((r,i)=>{e.signal?.addEventListener("abort",s),t.then(e=>{r(e.result.data)}).catch(e=>{i(m.from(e))})})}query(e,t,s){return this.requestAsPromise({type:"query",path:e,input:t,context:s?.context,signal:s?.signal})}mutation(e,t,s){return this.requestAsPromise({type:"mutation",path:e,input:t,context:s?.context,signal:s?.signal})}subscription(e,t,s){return this.$request({type:"subscription",path:e,input:t,context:s?.context}).subscribe({next(e){"started"===e.result.type?s.onStarted?.():"stopped"===e.result.type?s.onStopped?.():s.onData?.(e.result.data)},error(e){s.onError?.(e)},complete(){s.onComplete?.()}})}constructor(e){this.requestId=0;let t=(()=>{let t=e.transformer;return t?"input"in t?e.transformer:{input:t,output:t}:{input:{serialize:e=>e,deserialize:e=>e},output:{serialize:e=>e,deserialize:e=>e}}})();this.runtime={transformer:{serialize:e=>t.input.serialize(e),deserialize:e=>t.output.deserialize(e)},combinedTransformer:t},this.links=e.links.map(e=>e(this.runtime))}}function U(e){return new z(e)}let V={query:"query",mutate:"mutation",subscribe:"subscription"},$=e=>V[e];function H(e){return k(t=>e.hasOwnProperty(t)?e[t]:"__untypedClient"===t?e:C(({path:s,args:r})=>{let i=[t,...s],o=$(i.pop()),a=i.join(".");return e[o](a,...r)}))}function W(e){if(e)return e;if("undefined"!=typeof window&&window.TextDecoder)return new window.TextDecoder;if("undefined"!=typeof globalThis&&globalThis.TextDecoder)return new globalThis.TextDecoder;throw Error("No TextDecoder implementation found")}async function K(e){let t=e.parse??JSON.parse,s=s=>{if(e.signal?.aborted||!s||"}"===s)return;let r=s.indexOf(":"),i=s.substring(2,r-1),o=s.substring(r+1);e.onSingle(Number(i),t(o))};await G(e.readableStream,s,e.textDecoder)}async function G(e,t,s){let r="",i=e=>{let i=s.decode(e).split("\n");if(1===i.length)r+=i[0];else if(i.length>1){t(r+i[0]);for(let e=1;e<i.length-1;e++)t(i[e]);r=i[i.length-1]}};"getReader"in e?await Q(e,i):await Z(e,i),t(r)}function Z(e,t){return new Promise(s=>{e.on("data",t),e.on("end",s)})}async function Q(e,t){let s=e.getReader(),r=await s.read();for(;!r.done;)t(r.value),r=await s.read()}let X=(e,t)=>{let s=e.AbortController?new e.AbortController:null;return{cancel:()=>s?.abort(),promise:T({...e,contentTypeHeader:"application/json",batchModeHeader:"stream",getUrl:O,getBody:j},s).then(async r=>{if(!r.body)throw Error("Received response without body");let i={response:r};return K({readableStream:r.body,onSingle:t,parse:e=>({json:JSON.parse(e),meta:i}),signal:s?.signal,textDecoder:e.textDecoder})})}};B(e=>{let t=W(e.opts.textDecoder);return(s,r)=>{let i=s.map(e=>e.path).join(","),o=s.map(e=>e.input),{cancel:a,promise:l}=X({...e,textDecoder:t,path:i,inputs:o,headers:()=>e.opts.headers?"function"==typeof e.opts.headers?e.opts.headers({opList:s}):e.opts.headers:{}},(e,t)=>{r(e,t)});return{promise:l.then(()=>[]),cancel:a}}});let Y=e=>{if("input"in e){if(!(e.input instanceof FormData))throw Error("Input is not FormData");return e.input}};F({requester:e=>{if("mutation"!==e.type)throw Error("We only handle mutations with formdata");return N({...e,getUrl:()=>`${e.url}/${e.path}`,getBody:Y})}});var J=s(2983);let ee=J.createContext(void 0),et=J.createContext(!1);function es(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=ee),window.ReactQueryClientContext):ee)}let er=({context:e}={})=>{let t=J.useContext(es(e,J.useContext(et)));if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},en=({client:e,children:t,context:s,contextSharing:r=!1})=>{J.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);let i=es(s,r);return J.createElement(et.Provider,{value:!s&&r},J.createElement(i.Provider,{value:e},t))};function ei(e){return{mutationKey:e.options.mutationKey,state:e.state}}function eo(e){return{state:e.state,queryKey:e.queryKey,queryHash:e.queryHash}}function ea(e){return e.state.isPaused}function el(e){return"success"===e.state.status}function ef(e,t={}){let s=[],r=[];if(!1!==t.dehydrateMutations){let r=t.shouldDehydrateMutation||ea;e.getMutationCache().getAll().forEach(e=>{r(e)&&s.push(ei(e))})}if(!1!==t.dehydrateQueries){let s=t.shouldDehydrateQuery||el;e.getQueryCache().getAll().forEach(e=>{s(e)&&r.push(eo(e))})}return{mutations:s,queries:r}}function eu(e,t,s){if("object"!=typeof t||null===t)return;let r=e.getMutationCache(),i=e.getQueryCache(),o=t.mutations||[],a=t.queries||[];o.forEach(t=>{var i;r.build(e,{...null==s?void 0:null==(i=s.defaultOptions)?void 0:i.mutations,mutationKey:t.mutationKey},t.state)}),a.forEach(t=>{var r;let o=i.get(t.queryHash),a={...t.state,fetchStatus:"idle"};if(o){o.state.dataUpdatedAt<a.dataUpdatedAt&&o.setState(a);return}i.build(e,{...null==s?void 0:null==(r=s.defaultOptions)?void 0:r.queries,queryKey:t.queryKey,queryHash:t.queryHash},a)})}function ec(e,t={}){let s=er({context:t.context}),r=J.useRef(t);r.current=t,J.useMemo(()=>{e&&eu(s,e,r.current)},[s,e])}let ed=({children:e,options:t,state:s})=>(ec(s,t),e);function ep(e,t){let[s,r]=Array.isArray(e)?e:[e],i="string"!=typeof s||""===s?[]:s.split(".");return r||t&&"any"!==t?[i,{...void 0!==r&&{input:r},...t&&"any"!==t&&{type:t}}]:i.length?[i]:[]}let eh="undefined"==typeof window||"Deno"in window;function eb(){}function e_(e,t){return"function"==typeof e?e(t):e}function em(e){return"number"==typeof e&&e>=0&&e!==1/0}function eg(e,t){return e.filter(e=>!t.includes(e))}function ev(e,t,s){let r=e.slice(0);return r[t]=s,r}function ey(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ew(e,t,s){return eN(e)?"function"==typeof t?{...s,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function eC(e,t,s){return eN(e)?"function"==typeof t?{...s,mutationKey:e,mutationFn:t}:{...t,mutationKey:e}:"function"==typeof e?{...t,mutationFn:e}:{...e}}function ek(e,t,s){return eN(e)?[{...t,queryKey:e},s]:[e||{},t]}function ex(e,t){let{type:s="all",exact:r,fetchStatus:i,predicate:o,queryKey:a,stale:l}=e;if(eN(a)){if(r){if(t.queryHash!==eE(a,t.options))return!1}else if(!eI(t.queryKey,a))return!1}if("all"!==s){let e=t.isActive();if("active"===s&&!e||"inactive"===s&&e)return!1}return("boolean"!=typeof l||t.isStale()===l)&&(void 0===i||i===t.state.fetchStatus)&&(!o||!!o(t))}function eS(e,t){let{exact:s,fetching:r,predicate:i,mutationKey:o}=e;if(eN(o)){if(!t.options.mutationKey)return!1;if(s){if(eM(t.options.mutationKey)!==eM(o))return!1}else if(!eI(t.options.mutationKey,o))return!1}return("boolean"!=typeof r||"loading"===t.state.status===r)&&(!i||!!i(t))}function eE(e,t){return((null==t?void 0:t.queryKeyHashFn)||eM)(e)}function eM(e){return JSON.stringify(e,(e,t)=>eP(t)?Object.keys(t).sort().reduce((e,s)=>(e[s]=t[s],e),{}):t)}function eI(e,t){return eA(e,t)}function eA(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&!Object.keys(t).some(s=>!eA(e[s],t[s]))}function eR(e,t){if(e===t)return e;let s=ej(e)&&ej(t);if(s||eP(e)&&eP(t)){let r=s?e.length:Object.keys(e).length,i=s?t:Object.keys(t),o=i.length,a=s?[]:{},l=0;for(let r=0;r<o;r++){let o=s?r:i[r];a[o]=eR(e[o],t[o]),a[o]===e[o]&&l++}return r===o&&l===r?e:a}return t}function eO(e,t){if(e&&!t||t&&!e)return!1;for(let s in e)if(e[s]!==t[s])return!1;return!0}function ej(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function eP(e){if(!eT(e))return!1;let t=e.constructor;if(void 0===t)return!0;let s=t.prototype;return!!(eT(s)&&s.hasOwnProperty("isPrototypeOf"))}function eT(e){return"[object Object]"===Object.prototype.toString.call(e)}function eN(e){return Array.isArray(e)}function eD(e){return new Promise(t=>{setTimeout(t,e)})}function eL(e){eD(0).then(e)}function eB(){if("function"==typeof AbortController)return new AbortController}function eq(e,t,s){return null!=s.isDataEqual&&s.isDataEqual(e,t)?e:"function"==typeof s.structuralSharing?s.structuralSharing(e,t):!1!==s.structuralSharing?eR(e,t):t}let eF=function(){let e=[],t=0,s=e=>{e()},r=e=>{e()},i=r=>{t?e.push(r):eL(()=>{s(r)})},o=()=>{let t=e;e=[],t.length&&eL(()=>{r(()=>{t.forEach(e=>{s(e)})})})};return{batch:e=>{let s;t++;try{s=e()}finally{--t||o()}return s},batchCalls:e=>(...t)=>{i(()=>{e(...t)})},schedule:i,setNotifyFunction:e=>{s=e},setBatchNotifyFunction:e=>{r=e}}}();class ez{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){let t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}class eU extends ez{constructor(){super(),this.setup=e=>{if(!eh&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.focused=e,e&&this.onFocus()}onFocus(){this.listeners.forEach(({listener:e})=>{e()})}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}let eV=new eU,e$=["online","offline"];class eH extends ez{constructor(){super(),this.setup=e=>{if(!eh&&window.addEventListener){let t=()=>e();return e$.forEach(e=>{window.addEventListener(e,t,!1)}),()=>{e$.forEach(e=>{window.removeEventListener(e,t)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.cleanup)||e.call(this),this.cleanup=void 0}}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()})}setOnline(e){this.online=e,e&&this.onOnline()}onOnline(){this.listeners.forEach(({listener:e})=>{e()})}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}let eW=new eH;function eK(e){return Math.min(1e3*2**e,3e4)}function eG(e){return(null!=e?e:"online")!=="online"||eW.isOnline()}class eZ{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function eQ(e){return e instanceof eZ}function eX(e){let t,s,r,i=!1,o=0,a=!1,l=new Promise((e,t)=>{s=e,r=t}),f=t=>{a||(h(new eZ(t)),null==e.abort||e.abort())},u=()=>{i=!0},c=()=>{i=!1},d=()=>!eV.isFocused()||"always"!==e.networkMode&&!eW.isOnline(),p=r=>{a||(a=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),s(r))},h=s=>{a||(a=!0,null==e.onError||e.onError(s),null==t||t(),r(s))},b=()=>new Promise(s=>{t=e=>{let t=a||!d();return t&&s(e),t},null==e.onPause||e.onPause()}).then(()=>{t=void 0,a||null==e.onContinue||e.onContinue()}),_=()=>{let t;if(!a){try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(p).catch(t=>{var s,r;if(a)return;let l=null!=(s=e.retry)?s:3,f=null!=(r=e.retryDelay)?r:eK,u="function"==typeof f?f(o,t):f,c=!0===l||"number"==typeof l&&o<l||"function"==typeof l&&l(o,t);if(i||!c){h(t);return}o++,null==e.onFail||e.onFail(o,t),eD(u).then(()=>{if(d())return b()}).then(()=>{i?h(t):_()})})}};return eG(e.networkMode)?_():b().then(_),{promise:l,cancel:f,continue:()=>(null==t?void 0:t())?l:Promise.resolve(),cancelRetry:u,continueRetry:c}}class eY extends ez{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),e1(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return e8(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return e8(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){let s=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),eO(s,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=s.queryKey),this.updateQuery();let i=this.hasListeners();i&&e0(this.currentQuery,r,this.options,s)&&this.executeFetch(),this.updateResult(t),i&&(this.currentQuery!==r||this.options.enabled!==s.enabled||this.options.staleTime!==s.staleTime)&&this.updateStaleTimeout();let o=this.computeRefetchInterval();i&&(this.currentQuery!==r||this.options.enabled!==s.enabled||o!==this.currentRefetchInterval)&&this.updateRefetchInterval(o)}getOptimisticResult(e){let t=this.client.getQueryCache().build(this.client,e);return this.createResult(t,e)}getCurrentResult(){return this.currentResult}trackResult(e){let t={};return Object.keys(e).forEach(s=>{Object.defineProperty(t,s,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(s),e[s])})}),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){let t=this.client.defaultQueryOptions(e),s=this.client.getQueryCache().build(this.client,t);return s.isFetchingOptimistic=!0,s.fetch().then(()=>this.createResult(s,t))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then(()=>(this.updateResult(),this.currentResult))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(eb)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),eh||this.currentResult.isStale||!em(this.options.staleTime))return;let e=ey(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!eh&&!1!==this.options.enabled&&em(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||eV.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){let s;let r=this.currentQuery,i=this.options,o=this.currentResult,a=this.currentResultState,l=this.currentResultOptions,f=e!==r,u=f?e.state:this.currentQueryInitialState,c=f?this.currentResult:this.previousQueryResult,{state:d}=e,{dataUpdatedAt:p,error:h,errorUpdatedAt:b,fetchStatus:_,status:m}=d,g=!1,v=!1;if(t._optimisticResults){let s=this.hasListeners(),o=!s&&e1(e,t),a=s&&e0(e,r,t,i);(o||a)&&(_=eG(e.options.networkMode)?"fetching":"paused",p||(m="loading")),"isRestoring"===t._optimisticResults&&(_="idle")}if(t.keepPreviousData&&!d.dataUpdatedAt&&null!=c&&c.isSuccess&&"error"!==m)s=c.data,p=c.dataUpdatedAt,m=c.status,g=!0;else if(t.select&&void 0!==d.data){if(o&&d.data===(null==a?void 0:a.data)&&t.select===this.selectFn)s=this.selectResult;else try{this.selectFn=t.select,s=t.select(d.data),s=eq(null==o?void 0:o.data,s,t),this.selectResult=s,this.selectError=null}catch(e){this.selectError=e}}else s=d.data;if(void 0!==t.placeholderData&&void 0===s&&"loading"===m){let e;if(null!=o&&o.isPlaceholderData&&t.placeholderData===(null==l?void 0:l.placeholderData))e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(m="success",s=eq(null==o?void 0:o.data,e,t),v=!0)}this.selectError&&(h=this.selectError,s=this.selectResult,b=Date.now(),m="error");let y="fetching"===_,w="loading"===m,C="error"===m;return{status:m,fetchStatus:_,isLoading:w,isSuccess:"success"===m,isError:C,isInitialLoading:w&&y,data:s,dataUpdatedAt:p,error:h,errorUpdatedAt:b,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>u.dataUpdateCount||d.errorUpdateCount>u.errorUpdateCount,isFetching:y,isRefetching:y&&!w,isLoadingError:C&&0===d.dataUpdatedAt,isPaused:"paused"===_,isPlaceholderData:v,isPreviousData:g,isRefetchError:C&&0!==d.dataUpdatedAt,isStale:e2(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){let t=this.currentResult,s=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,eO(s,t))return;this.currentResult=s;let r={cache:!0},i=()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options;if("all"===e||!e&&!this.trackedProps.size)return!0;let s=new Set(null!=e?e:this.trackedProps);return this.options.useErrorBoundary&&s.add("error"),Object.keys(this.currentResult).some(e=>{let r=e;return this.currentResult[r]!==t[r]&&s.has(r)})};(null==e?void 0:e.listeners)!==!1&&i()&&(r.listeners=!0),this.notify({...r,...e})}updateQuery(){let e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;let t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){let t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||eQ(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){eF.batch(()=>{var t,s,r,i,o,a,l,f;e.onSuccess?(null==(t=(s=this.options).onSuccess)||t.call(s,this.currentResult.data),null==(r=(i=this.options).onSettled)||r.call(i,this.currentResult.data,null)):e.onError&&(null==(o=(a=this.options).onError)||o.call(a,this.currentResult.error),null==(l=(f=this.options).onSettled)||l.call(f,void 0,this.currentResult.error)),e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)}),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function eJ(e,t){return!1!==t.enabled&&!e.state.dataUpdatedAt&&!("error"===e.state.status&&!1===t.retryOnMount)}function e1(e,t){return eJ(e,t)||e.state.dataUpdatedAt>0&&e8(e,t,t.refetchOnMount)}function e8(e,t,s){if(!1!==t.enabled){let r="function"==typeof s?s(e):s;return"always"===r||!1!==r&&e2(e,t)}return!1}function e0(e,t,s,r){return!1!==s.enabled&&(e!==t||!1===r.enabled)&&(!s.suspense||"error"!==e.state.status)&&e2(e,s)}function e2(e,t){return e.isStaleByTime(t.staleTime)}let e3=s(3576).useSyncExternalStore;function e6(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}let e4=J.createContext(e6()),e5=()=>J.useContext(e4),e9=J.createContext(!1),e7=()=>J.useContext(e9);function te(e,t){return"function"==typeof e?e(...t):!!e}e9.Provider;let tt=(e,t)=>{(e.suspense||e.useErrorBoundary)&&!t.isReset()&&(e.retryOnMount=!1)},ts=e=>{J.useEffect(()=>{e.clearReset()},[e])},tr=({result:e,errorResetBoundary:t,useErrorBoundary:s,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&te(s,[e.error,r]),tn=e=>{e.suspense&&"number"!=typeof e.staleTime&&(e.staleTime=1e3)},ti=(e,t)=>e.isLoading&&e.isFetching&&!t,to=(e,t,s)=>(null==e?void 0:e.suspense)&&ti(t,s),ta=(e,t,s)=>t.fetchOptimistic(e).then(({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)}).catch(t=>{s.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)});function tl(e,t){let s=er({context:e.context}),r=e7(),i=e5(),o=s.defaultQueryOptions(e);o._optimisticResults=r?"isRestoring":"optimistic",o.onError&&(o.onError=eF.batchCalls(o.onError)),o.onSuccess&&(o.onSuccess=eF.batchCalls(o.onSuccess)),o.onSettled&&(o.onSettled=eF.batchCalls(o.onSettled)),tn(o),tt(o,i),ts(i);let[a]=J.useState(()=>new t(s,o)),l=a.getOptimisticResult(o);if(e3(J.useCallback(e=>{let t=r?()=>void 0:a.subscribe(eF.batchCalls(e));return a.updateResult(),t},[a,r]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),J.useEffect(()=>{a.setOptions(o,{listeners:!1})},[o,a]),to(o,l,r))throw ta(o,a,i);if(tr({result:l,errorResetBoundary:i,useErrorBoundary:o.useErrorBoundary,query:a.getCurrentQuery()}))throw l.error;return o.notifyOnChangeProps?l:a.trackResult(l)}function tf(e,t,s){return tl(ew(e,t,s),eY)}let tu=console;class tc{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),em(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:eh?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class td extends tc{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||tu,this.observers=[],this.state=e.state||tp(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter(t=>t!==e),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){var e,t,s,r,i,o,a,l,f,u,c,d,p,h,b,_,m,g,v,y;let w=()=>{var e;return this.retryer=eX({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},C="loading"===this.state.status;try{if(!C){this.dispatch({type:"loading",variables:this.options.variables}),await (null==(f=(u=this.mutationCache.config).onMutate)?void 0:f.call(u,this.state.variables,this));let e=await (null==(c=(d=this.options).onMutate)?void 0:c.call(d,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}let p=await w();return await (null==(e=(t=this.mutationCache.config).onSuccess)?void 0:e.call(t,p,this.state.variables,this.state.context,this)),await (null==(s=(r=this.options).onSuccess)?void 0:s.call(r,p,this.state.variables,this.state.context)),await (null==(i=(o=this.mutationCache.config).onSettled)?void 0:i.call(o,p,null,this.state.variables,this.state.context,this)),await (null==(a=(l=this.options).onSettled)?void 0:a.call(l,p,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:p}),p}catch(e){try{throw await (null==(p=(h=this.mutationCache.config).onError)?void 0:p.call(h,e,this.state.variables,this.state.context,this)),await (null==(b=(_=this.options).onError)?void 0:b.call(_,e,this.state.variables,this.state.context)),await (null==(m=(g=this.mutationCache.config).onSettled)?void 0:m.call(g,void 0,e,this.state.variables,this.state.context,this)),await (null==(v=(y=this.options).onSettled)?void 0:v.call(y,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){let t=t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!eG(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}};this.state=t(this.state),eF.batch(()=>{this.observers.forEach(t=>{t.onMutationUpdate(e)}),this.mutationCache.notify({mutation:this,type:"updated",action:e})})}}function tp(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}class th extends ez{constructor(e,t){super(),this.client=e,this.setOptions(t),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){var t;let s=this.options;this.options=this.client.defaultMutationOptions(e),eO(s,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(t=this.currentMutation)||t.setOptions(this.options)}onUnsubscribe(){if(!this.hasListeners()){var e;null==(e=this.currentMutation)||e.removeObserver(this)}}onMutationUpdate(e){this.updateResult();let t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,{...this.options,variables:void 0!==e?e:this.options.variables}),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){let e=this.currentMutation?this.currentMutation.state:tp(),t={...e,isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset};this.currentResult=t}notify(e){eF.batch(()=>{if(this.mutateOptions&&this.hasListeners()){var t,s,r,i,o,a,l,f;e.onSuccess?(null==(t=(s=this.mutateOptions).onSuccess)||t.call(s,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(i=this.mutateOptions).onSettled)||r.call(i,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context)):e.onError&&(null==(o=(a=this.mutateOptions).onError)||o.call(a,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(l=(f=this.mutateOptions).onSettled)||l.call(f,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context))}e.listeners&&this.listeners.forEach(({listener:e})=>{e(this.currentResult)})})}}function tb(e,t,s){let r=eC(e,t,s),i=er({context:r.context}),[o]=J.useState(()=>new th(i,r));J.useEffect(()=>{o.setOptions(r)},[o,r]);let a=e3(J.useCallback(e=>o.subscribe(eF.batchCalls(e)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),l=J.useCallback((e,t)=>{o.mutate(e,t).catch(t_)},[o]);if(a.error&&te(o.options.useErrorBoundary,[a.error]))throw a.error;return{...a,mutate:l,mutateAsync:a.mutate}}function t_(){}function tm(){return{onFetch:e=>{e.fetchFn=()=>{var t,s,r,i,o,a;let l;let f=null==(t=e.fetchOptions)?void 0:null==(s=t.meta)?void 0:s.refetchPage,u=null==(r=e.fetchOptions)?void 0:null==(i=r.meta)?void 0:i.fetchMore,c=null==u?void 0:u.pageParam,d=(null==u?void 0:u.direction)==="forward",p=(null==u?void 0:u.direction)==="backward",h=(null==(o=e.state.data)?void 0:o.pages)||[],b=(null==(a=e.state.data)?void 0:a.pageParams)||[],_=b,m=!1,g=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>{var t,s;return null!=(t=e.signal)&&t.aborted?m=!0:null==(s=e.signal)||s.addEventListener("abort",()=>{m=!0}),e.signal}})},v=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),y=(e,t,s,r)=>(_=r?[t,..._]:[..._,t],r?[s,...e]:[...e,s]),w=(t,s,r,i)=>{if(m)return Promise.reject("Cancelled");if(void 0===r&&!s&&t.length)return Promise.resolve(t);let o={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};return g(o),Promise.resolve(v(o)).then(e=>y(t,r,e,i))};if(h.length){if(d){let t=void 0!==c,s=t?c:tg(e.options,h);l=w(h,t,s)}else if(p){let t=void 0!==c,s=t?c:tv(e.options,h);l=w(h,t,s,!0)}else{_=[];let t=void 0===e.options.getNextPageParam;l=!f||!h[0]||f(h[0],0,h)?w([],t,b[0]):Promise.resolve(y([],b[0],h[0]));for(let s=1;s<h.length;s++)l=l.then(r=>{if(!f||!h[s]||f(h[s],s,h)){let i=t?b[s]:tg(e.options,r);return w(r,t,i)}return Promise.resolve(y(r,b[s],h[s]))})}}else l=w([]);return l.then(e=>({pages:e,pageParams:_}))}}}}function tg(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}function tv(e,t){return null==e.getPreviousPageParam?void 0:e.getPreviousPageParam(t[0],t)}function ty(e,t){if(e.getNextPageParam&&Array.isArray(t)){let s=tg(e,t);return null!=s&&!1!==s}}function tw(e,t){if(e.getPreviousPageParam&&Array.isArray(t)){let s=tv(e,t);return null!=s&&!1!==s}}class tC extends eY{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions({...e,behavior:tm()},t)}getOptimisticResult(e){return e.behavior=tm(),super.getOptimisticResult(e)}fetchNextPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"forward",pageParam:e}}})}fetchPreviousPage({pageParam:e,...t}={}){return this.fetch({...t,meta:{fetchMore:{direction:"backward",pageParam:e}}})}createResult(e,t){var s,r,i,o,a,l;let{state:f}=e,u=super.createResult(e,t),{isFetching:c,isRefetching:d}=u,p=c&&(null==(s=f.fetchMeta)?void 0:null==(r=s.fetchMore)?void 0:r.direction)==="forward",h=c&&(null==(i=f.fetchMeta)?void 0:null==(o=i.fetchMore)?void 0:o.direction)==="backward";return{...u,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:ty(t,null==(a=f.data)?void 0:a.pages),hasPreviousPage:tw(t,null==(l=f.data)?void 0:l.pages),isFetchingNextPage:p,isFetchingPreviousPage:h,isRefetching:d&&!p&&!h}}}function tk(e,t,s){return tl(ew(e,t,s),tC)}class tx extends ez{constructor(e,t){super(),this.client=e,this.queries=[],this.result=[],this.observers=[],this.observersMap={},t&&this.setQueries(t)}onSubscribe(){1===this.listeners.size&&this.observers.forEach(e=>{e.subscribe(t=>{this.onUpdate(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.observers.forEach(e=>{e.destroy()})}setQueries(e,t){this.queries=e,eF.batch(()=>{let e=this.observers,s=this.findMatchingObservers(this.queries);s.forEach(e=>e.observer.setOptions(e.defaultedQueryOptions,t));let r=s.map(e=>e.observer),i=Object.fromEntries(r.map(e=>[e.options.queryHash,e])),o=r.map(e=>e.getCurrentResult()),a=r.some((t,s)=>t!==e[s]);(e.length!==r.length||a)&&(this.observers=r,this.observersMap=i,this.result=o,this.hasListeners()&&(eg(e,r).forEach(e=>{e.destroy()}),eg(r,e).forEach(e=>{e.subscribe(t=>{this.onUpdate(e,t)})}),this.notify()))})}getCurrentResult(){return this.result}getQueries(){return this.observers.map(e=>e.getCurrentQuery())}getObservers(){return this.observers}getOptimisticResult(e){return this.findMatchingObservers(e).map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions))}findMatchingObservers(e){let t=this.observers,s=new Map(t.map(e=>[e.options.queryHash,e])),r=e.map(e=>this.client.defaultQueryOptions(e)),i=r.flatMap(e=>{let t=s.get(e.queryHash);return null!=t?[{defaultedQueryOptions:e,observer:t}]:[]}),o=new Set(i.map(e=>e.defaultedQueryOptions.queryHash)),a=r.filter(e=>!o.has(e.queryHash)),l=new Set(i.map(e=>e.observer)),f=t.filter(e=>!l.has(e)),u=e=>{let t=this.client.defaultQueryOptions(e),s=this.observersMap[t.queryHash];return null!=s?s:new eY(this.client,t)},c=a.map((e,t)=>{if(e.keepPreviousData){let s=f[t];if(void 0!==s)return{defaultedQueryOptions:e,observer:s}}return{defaultedQueryOptions:e,observer:u(e)}}),d=(e,t)=>r.indexOf(e.defaultedQueryOptions)-r.indexOf(t.defaultedQueryOptions);return i.concat(c).sort(d)}onUpdate(e,t){let s=this.observers.indexOf(e);-1!==s&&(this.result=ev(this.result,s,t),this.notify())}notify(){eF.batch(()=>{this.listeners.forEach(({listener:e})=>{e(this.result)})})}}function tS({queries:e,context:t}){let s=er({context:t}),r=e7(),i=e5(),o=J.useMemo(()=>e.map(e=>{let t=s.defaultQueryOptions(e);return t._optimisticResults=r?"isRestoring":"optimistic",t}),[e,s,r]);o.forEach(e=>{tn(e),tt(e,i)}),ts(i);let[a]=J.useState(()=>new tx(s,o)),l=a.getOptimisticResult(o);e3(J.useCallback(e=>r?()=>void 0:a.subscribe(eF.batchCalls(e)),[a,r]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),J.useEffect(()=>{a.setQueries(o,{listeners:!1})},[o,a]);let f=l.some((e,t)=>to(o[t],e,r))?l.flatMap((e,t)=>{let s=o[t],l=a.getObservers()[t];if(s&&l){if(to(s,e,r))return ta(s,l,i);ti(e,r)&&ta(s,l,i)}return[]}):[];if(f.length>0)throw Promise.all(f);let u=a.getQueries(),c=l.find((e,t)=>{var s,r;return tr({result:e,errorResetBoundary:i,useErrorBoundary:null!=(s=null==(r=o[t])?void 0:r.useErrorBoundary)&&s,query:u[t]})});if(null!=c&&c.error)throw c.error;return l}function tE(e,t){return e.length?void 0===t?[e]:[e,t]:[]}function tM(e,t){return C(s=>{let r=s.args,i=[e,...s.path],o=i.pop(),a=i.join(".");if("useMutation"===o)return t[o](a,...r);let[l,...f]=r,u=tE(a,l);if("getQueryKey"===o)return ep(u,f[0]??"any");if("_def"===o)return{path:i};if(o.startsWith("useSuspense")){let e=f[0]||{},s=t["useSuspenseQuery"===o?"useQuery":"useInfiniteQuery"](u,{...e,suspense:!0,enabled:!0});return[s.data,s]}return t[o](u,...f)})}let tI=["client","ssrContext","ssrState","abortOnUnmount"],tA=(0,J.createContext)(null);function tR(e){return k(t=>{let s=t;return"client"===s?H(e.client):tI.includes(s)?e[s]:C(({path:s,args:r})=>{let i=[t,...s],o=i.pop(),a=i.join("."),{queryKey:l,rest:f,updater:u}=(e=>{if(["setData","setInfiniteData"].includes(e)){let[e,t,...s]=r;return{queryKey:tE(a,e),updater:t,rest:s}}let[t,...s]=r;return{queryKey:tE(a,t),rest:s}})(o);return({fetch:()=>e.fetchQuery(l,...f),fetchInfinite:()=>e.fetchInfiniteQuery(l,...f),prefetch:()=>e.prefetchQuery(l,...f),prefetchInfinite:()=>e.prefetchInfiniteQuery(l,...f),ensureData:()=>e.ensureQueryData(l,...f),invalidate:()=>e.invalidateQueries(l,...f),reset:()=>e.resetQueries(l,...f),refetch:()=>e.refetchQueries(l,...f),cancel:()=>e.cancelQuery(l,...f),setData:()=>{e.setQueryData(l,u,...f)},setInfiniteData:()=>{e.setInfiniteQueryData(l,u,...f)},getData:()=>e.getQueryData(l),getInfiniteData:()=>e.getInfiniteQueryData(l)})[o]()})})}function tO(e){return C(t=>{let s=t.path.join("."),[r,i]=t.args;return{queryKey:tE(s,r),queryFn:()=>e.query(s,r,i?.trpc),...i}})}function tj(e,t){let[s,r]=e;return[s,r,t?.trpc]}function tP(e){let t=(0,J.useRef)(e);return t.current.path=e.path,t.current}function tT(e){let t=(e?.overrides??e?.unstable_overrides)?.useMutation?.onSuccess??(e=>e.originalFn()),s=e?.context??tA,r=e?.reactQueryContext;function i(){return J.useContext(s)}function o(e,t,s){let{queryClient:r,ssrState:o}=i();return o&&"mounted"!==o&&r.getQueryCache().find(ep(e,t))?.state.status==="error"?{retryOnMount:!1,...s}:s}function a(t,s){let a=i();if(!a)throw Error("Unable to retrieve application context. Did you forget to wrap your App inside `withTRPC` HoC?");let{abortOnUnmount:l,client:f,ssrState:u,queryClient:c,prefetchQuery:d}=a,p=c.getQueryDefaults(ep(t,"query"));"undefined"!=typeof window||"prepass"!==u||s?.trpc?.ssr===!1||(s?.enabled??p?.enabled)===!1||c.getQueryCache().find(ep(t,"query"))||d(t,s);let h=o(t,"query",{...p,...s}),b=s?.trpc?.abortOnUnmount??e?.abortOnUnmount??l,_=tf({...h,queryKey:ep(t,"query"),queryFn:e=>{let s={...h,trpc:{...h?.trpc,...b?{signal:e.signal}:{}}};return f.query(...tj(t,s))},context:r});return _.trpc=tP({path:t[0]}),_}function l(e,s){let{client:o}=i(),a=er({context:r}),l=Array.isArray(e)?e[0]:e,f=a.getMutationDefaults([l.split(".")]),u=tb({...s,mutationKey:[l.split(".")],mutationFn:e=>o.mutation(...tj([l,e],s)),context:r,onSuccess:(...e)=>t({originalFn:()=>s?.onSuccess?.(...e)??f?.onSuccess?.(...e),queryClient:a,meta:s?.meta??f?.meta??{}})});return u.trpc=tP({path:l}),u}/* istanbul ignore next -- @preserve */function f(e,t){let s=t?.enabled??!0,r=eM(e),{client:o}=i(),a=(0,J.useRef)(t);a.current=t,(0,J.useEffect)(()=>{if(!s)return;let[t,r]=e,i=!1,l=o.subscription(t,r??void 0,{onStarted:()=>{i||a.current.onStarted?.()},onData:e=>{i||a.current.onData(e)},onError:e=>{i||a.current.onError?.(e)}});return()=>{i=!0,l.unsubscribe()}},[r,s])}function u(e,t){let[s,a]=e,{client:l,ssrState:f,prefetchInfiniteQuery:u,queryClient:c,abortOnUnmount:d}=i(),p=c.getQueryDefaults(ep(e,"infinite"));"undefined"!=typeof window||"prepass"!==f||t?.trpc?.ssr===!1||(t?.enabled??p?.enabled)===!1||c.getQueryCache().find(ep(e,"infinite"))||u(e,{...p,...t});let h=o(e,"infinite",{...p,...t}),b=t?.trpc?.abortOnUnmount??d,_=tk({...h,queryKey:ep(e,"infinite"),queryFn:e=>{let r={...h,trpc:{...h?.trpc,...b?{signal:e.signal}:{}}},i={...a??{},cursor:e.pageParam??t?.initialCursor};return l.query(...tj([s,i],r))},context:r});return _.trpc=tP({path:s}),_}let c=(e,t)=>{let{ssrState:s,queryClient:r,prefetchQuery:o,client:a}=i(),l=e(tO(a));if("undefined"==typeof window&&"prepass"===s)for(let e of l){let t=e;t.trpc?.ssr===!1||r.getQueryCache().find(ep(t.queryKey,"query"))||o(t.queryKey,t)}return tS({queries:l.map(e=>({...e,queryKey:ep(e.queryKey,"query")})),context:t})};return{Provider:e=>{let{abortOnUnmount:t=!1,client:r,queryClient:i,ssrContext:o}=e,[a,l]=(0,J.useState)(e.ssrState??!1);return(0,J.useEffect)(()=>{l(e=>!!e&&"mounted")},[]),J.createElement(s.Provider,{value:{abortOnUnmount:t,queryClient:i,client:r,ssrContext:o??null,ssrState:a,fetchQuery:(0,J.useCallback)((e,t)=>i.fetchQuery({...t,queryKey:ep(e,"query"),queryFn:()=>r.query(...tj(e,t))}),[r,i]),fetchInfiniteQuery:(0,J.useCallback)((e,t)=>i.fetchInfiniteQuery({...t,queryKey:ep(e,"infinite"),queryFn:({pageParam:s})=>{let[i,o]=e,a={...o,cursor:s};return r.query(...tj([i,a],t))}}),[r,i]),prefetchQuery:(0,J.useCallback)((e,t)=>i.prefetchQuery({...t,queryKey:ep(e,"query"),queryFn:()=>r.query(...tj(e,t))}),[r,i]),prefetchInfiniteQuery:(0,J.useCallback)((e,t)=>i.prefetchInfiniteQuery({...t,queryKey:ep(e,"infinite"),queryFn:({pageParam:s})=>{let[i,o]=e,a={...o,cursor:s};return r.query(...tj([i,a],t))}}),[r,i]),ensureQueryData:(0,J.useCallback)((e,t)=>i.ensureQueryData({...t,queryKey:ep(e,"query"),queryFn:()=>r.query(...tj(e,t))}),[r,i]),invalidateQueries:(0,J.useCallback)((e,t,s)=>i.invalidateQueries({...t,queryKey:ep(e,"any")},s),[i]),resetQueries:(0,J.useCallback)((...e)=>{let[t,s,r]=e;return i.resetQueries({...s,queryKey:ep(t,"any")},r)},[i]),refetchQueries:(0,J.useCallback)((...e)=>{let[t,s,r]=e;return i.refetchQueries({...s,queryKey:ep(t,"any")},r)},[i]),cancelQuery:(0,J.useCallback)(e=>i.cancelQueries({queryKey:ep(e,"any")}),[i]),setQueryData:(0,J.useCallback)((...e)=>{let[t,...s]=e;return i.setQueryData(ep(t,"query"),...s)},[i]),getQueryData:(0,J.useCallback)((...e)=>{let[t,...s]=e;return i.getQueryData(ep(t,"query"),...s)},[i]),setInfiniteQueryData:(0,J.useCallback)((...e)=>{let[t,...s]=e;return i.setQueryData(ep(t,"infinite"),...s)},[i]),getInfiniteQueryData:(0,J.useCallback)((...e)=>{let[t,...s]=e;return i.getQueryData(ep(t,"infinite"),...s)},[i])}},e.children)},createClient:e=>U(e),useContext:i,useUtils:i,useQuery:a,useQueries:c,useMutation:l,useSubscription:f,useDehydratedState:(e,t)=>(0,J.useMemo)(()=>t?e.runtime.transformer.deserialize(t):t,[t,e]),useInfiniteQuery:u}}function tN(e){return tT(e)}function tD(e){return k(t=>"useContext"===t||"useUtils"===t?()=>{let t=e.useUtils();return(0,J.useMemo)(()=>tR(t),[t])}:e.hasOwnProperty(t)?e[t]:tM(t,e))}function tL(e){let t=tN(e),s=tD(t);return{...t,proxy:s}}class tB extends tc{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||tu,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||tq(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let s=eq(this.state.data,e,this.options);return this.dispatch({data:s,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),s}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let s=this.promise;return null==(t=this.retryer)||t.cancel(e),s?s.then(eb).catch(eb):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!ey(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var s,r,i,o;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(i=this.retryer)||i.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}Array.isArray(this.options.queryKey);let a=eB(),l={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},f=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};f(l);let u=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(l)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),c={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:u};f(c),null==(s=this.options.behavior)||s.onFetch(c),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=c.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(o=c.fetchOptions)?void 0:o.meta});let d=e=>{if(eQ(e)&&e.silent||this.dispatch({type:"error",error:e}),!eQ(e)){var t,s,r,i;null==(t=(s=this.cache.config).onError)||t.call(s,e,this),null==(r=(i=this.cache.config).onSettled)||r.call(i,this.state.data,e,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=eX({fn:c.fetchFn,abort:null==a?void 0:a.abort.bind(a),onSuccess:e=>{var t,s,r,i;if(void 0===e){d(Error(this.queryHash+" data is undefined"));return}this.setData(e),null==(t=(s=this.cache.config).onSuccess)||t.call(s,e,this),null==(r=(i=this.cache.config).onSettled)||r.call(i,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:d,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){let t=t=>{var s,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(s=e.meta)?s:null,fetchStatus:eG(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=e.error;if(eQ(i)&&i.revert&&this.revertState)return{...this.revertState};return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}};this.state=t(this.state),eF.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}function tq(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,s=void 0!==t,r=s?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:s?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"loading",fetchStatus:"idle"}}class tF extends ez{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,s){var r;let i=t.queryKey,o=null!=(r=t.queryHash)?r:eE(i,t),a=this.get(o);return a||(a=new tB({cache:this,logger:e.getLogger(),queryKey:i,queryHash:o,options:e.defaultQueryOptions(t),state:s,defaultOptions:e.getQueryDefaults(i)}),this.add(a)),a}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){eF.batch(()=>{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[s]=ek(e,t);return void 0===s.exact&&(s.exact=!0),this.queries.find(e=>ex(s,e))}findAll(e,t){let[s]=ek(e,t);return Object.keys(s).length>0?this.queries.filter(e=>ex(s,e)):this.queries}notify(e){eF.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){eF.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){eF.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}class tz extends ez{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,s){let r=new td({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:s,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){eF.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>eS(e,t))}findAll(e){return this.mutations.filter(t=>eS(e,t))}notify(e){eF.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{let e=this.mutations.filter(e=>e.state.isPaused);return eF.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(eb)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}class tU{constructor(e={}){this.queryCache=e.queryCache||new tF,this.mutationCache=e.mutationCache||new tz,this.logger=e.logger||tu,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=eV.subscribe(()=>{eV.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=eW.subscribe(()=>{eW.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){let[s]=ek(e,t);return s.fetchStatus="fetching",this.queryCache.findAll(s).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var s;return null==(s=this.queryCache.find(e,t))?void 0:s.state.data}ensureQueryData(e,t,s){let r=ew(e,t,s),i=this.getQueryData(r.queryKey);return i?Promise.resolve(i):this.fetchQuery(r)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,s){let r=this.queryCache.find(e),i=e_(t,null==r?void 0:r.state.data);if(void 0===i)return;let o=ew(e),a=this.defaultQueryOptions(o);return this.queryCache.build(this,a).setData(i,{...s,manual:!0})}setQueriesData(e,t,s){return eF.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,s)]))}getQueryState(e,t){var s;return null==(s=this.queryCache.find(e,t))?void 0:s.state}removeQueries(e,t){let[s]=ek(e,t),r=this.queryCache;eF.batch(()=>{r.findAll(s).forEach(e=>{r.remove(e)})})}resetQueries(e,t,s){let[r,i]=ek(e,t,s),o=this.queryCache,a={type:"active",...r};return eF.batch(()=>(o.findAll(r).forEach(e=>{e.reset()}),this.refetchQueries(a,i)))}cancelQueries(e,t,s){let[r,i={}]=ek(e,t,s);return void 0===i.revert&&(i.revert=!0),Promise.all(eF.batch(()=>this.queryCache.findAll(r).map(e=>e.cancel(i)))).then(eb).catch(eb)}invalidateQueries(e,t,s){let[r,i]=ek(e,t,s);return eF.batch(()=>{var e,t;if(this.queryCache.findAll(r).forEach(e=>{e.invalidate()}),"none"===r.refetchType)return Promise.resolve();let s={...r,type:null!=(e=null!=(t=r.refetchType)?t:r.type)?e:"active"};return this.refetchQueries(s,i)})}refetchQueries(e,t,s){let[r,i]=ek(e,t,s),o=Promise.all(eF.batch(()=>this.queryCache.findAll(r).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...i,cancelRefetch:null==(t=null==i?void 0:i.cancelRefetch)||t,meta:{refetchPage:r.refetchPage}})}))).then(eb);return null!=i&&i.throwOnError||(o=o.catch(eb)),o}fetchQuery(e,t,s){let r=ew(e,t,s),i=this.defaultQueryOptions(r);void 0===i.retry&&(i.retry=!1);let o=this.queryCache.build(this,i);return o.isStaleByTime(i.staleTime)?o.fetch(i):Promise.resolve(o.state.data)}prefetchQuery(e,t,s){return this.fetchQuery(e,t,s).then(eb).catch(eb)}fetchInfiniteQuery(e,t,s){let r=ew(e,t,s);return r.behavior=tm(),this.fetchQuery(r)}prefetchInfiniteQuery(e,t,s){return this.fetchInfiniteQuery(e,t,s).then(eb).catch(eb)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let s=this.queryDefaults.find(t=>eM(e)===eM(t.queryKey));s?s.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>eI(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let s=this.mutationDefaults.find(t=>eM(e)===eM(t.mutationKey));s?s.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>eI(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=eE(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}let tV=e=>e.queryClient??new tU(e.queryClientConfig);function t$(){return(t$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(this,arguments)}var tH=60103,tW=60106,tK=60107,tG=60108,tZ=60114,tQ=60109,tX=60110,tY=60111,tJ=60112,t1=60113,t8=60115,t0=60116;if("function"==typeof Symbol&&Symbol.for){var t2=Symbol.for;tH=t2("react.element"),tW=t2("react.portal"),tK=t2("react.fragment"),tG=t2("react.strict_mode"),tZ=t2("react.profiler"),tQ=t2("react.provider"),tX=t2("react.context"),tY=Symbol.for("react.concurrent_mode"),tJ=t2("react.forward_ref"),t1=t2("react.suspense"),t8=t2("react.memo"),t0=t2("react.lazy")}var t3=tH,t6=tW,t4=tK,t5=tG,t9=tZ,t7=tQ,se=tX,st=tY,ss=tJ,sr=t1,sn=t8,si=t0,so=J.Children.toArray,sa=function(e){return null!==e&&"object"==typeof e},sl=function(e){return so(e).filter(sa)},sf=function(e,t){return"object"==typeof t?t$({},t,e):e},su=new Map,sc={},sd=void 0,sp=void 0,sh=function(){return t$({},sc)},sb=function(){return new Map(su)},s_=function(){var e=sd;return sd=void 0,e},sm=function(){var e=sp;return sp=void 0,e},sg=function(e){void 0!==e&&t$(sc,e)},sv=function(e){void 0!==e&&su.set(e[0],e[1])},sy=function(e){sd=void 0,sc=e},sw=function(e){sp=void 0,su=e},sC=function(e){var t=su.get(e);return void 0!==t?t:e._currentValue},sk={},sx=function(e){var t=e.contextType,s=e.contextTypes;if(t)return sC(t);if(!s)return sk;var r={};for(var i in s)r[i]=sc[i];return r},sS=null,sE=function(){return sS},sM=function(e){sS=e||null},sI={current:{uniqueID:0}},sA="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},sR=null,sO=function(e){sR=e},sj=function(){if(null===sR)throw Error("[react-ssr-prepass] Hooks can only be called inside the body of a function component. (https://fb.me/react-invalid-hook-call)");return sR},sP=null,sT=null,sN=!1,sD=null,sL=0,sB=function(e){sP=e};function sq(){return null===sT?null===sP?sP=sT={memoizedState:null,queue:null,next:null}:sT=sP:sT=null===sT.next?sT.next={memoizedState:null,queue:null,next:null}:sT.next}function sF(e,t){return"function"==typeof t?t(e):t}function sz(e,t,s){var r,i=sj();null===(sT=sq()).queue&&(r=e===sF?"function"==typeof t?t():t:void 0!==s?s(t):t,sT.memoizedState=r);var o=sT.queue||(sT.queue={last:null,dispatch:null}),a=o.dispatch||(o.dispatch=s$.bind(null,i,o));if(null!==sD){var l=sD.get(o);if(void 0!==l){sD.delete(o);var f=sT.memoizedState,u=l;do f=e(f,u.action),u=u.next;while(null!==u);sT.memoizedState=f}}return[sT.memoizedState,a]}function sU(e,t){sj();var s=void 0===t?null:t,r=(sT=sq()).memoizedState;if(null!==r&&null!==s&&function(e,t){if(null===t)return!1;for(var s=0;s<t.length&&s<e.length;s++)if(!sA(e[s],t[s]))return!1;return!0}(s,r[1]))return r[0];var i=e();return sT.memoizedState=[i,s],i}function sV(){return sj(),(sT=sq()).memoizedState||(sT.memoizedState="R:"+(sI.current.uniqueID++).toString(36)),sT.memoizedState}function s$(e,t,s){if(e===sR){sN=!0;var r={action:s,next:null};null===sD&&(sD=new Map);var i=sD.get(t);if(void 0===i)sD.set(t,r);else{for(var o=i;null!==o.next;)o=o.next;o.next=r}}}function sH(){}function sW(e){e()}var sK={readContext:function(e,t){return sC(e)},useSyncExternalStore:function(e,t,s){return t()},useContext:function(e,t){return sj(),sC(e)},useMemo:sU,useReducer:sz,useRef:function(e){sj();var t=(sT=sq()).memoizedState;if(null!==t)return t;var s={current:e};return sT.memoizedState=s,s},useState:function(e){return sz(sF,e)},useCallback:function(e,t){return sU(function(){return e},t)},useMutableSource:function(e,t,s){return sj(),t(e._source)},useTransition:function(){return[sW,!1]},useDeferredValue:function(e){return e},useOpaqueIdentifier:sV,useId:sV,unstable_useId:sV,unstable_useOpaqueIdentifier:sV,useLayoutEffect:sH,useImperativeHandle:sH,useEffect:sH,useDebugValue:sH},sG=function(e){var t=e._payload||e;return 0===t._status?t._result:1===t._status?Promise.resolve(t._result):2===t._status?Promise.reject(t._result):(t._status=0,t._result=(t._ctor||t._result)().then(function(e){t._result=e,"function"==typeof e?t._status=1:null!==e&&"object"==typeof e&&"function"==typeof e.default?(t._result=e.default,t._status=1):t._status=2}).catch(function(e){return t._status=2,t._result=e,Promise.reject(e)}))},sZ=function(e,t,s){var r=e._payload||e;return 1===r._status?(0,J.createElement)(r._result,t):null},sQ=function(e,t,s){return{contextMap:sh(),contextStore:sb(),id:sj(),hook:sP,kind:"frame.hooks",errorFrame:sE(),thenable:s,props:t,type:e}},sX=function(e,t,s){try{return function(e,t,s){sT=null;for(var r=e(t,s);sL<25&&sN;)sN=!1,sL+=1,sT=null,r=e(t,s);return sL=0,sD=null,sT=null,r}(e,sf(t,e.defaultProps),sx(e))}catch(r){if("function"!=typeof r.then)throw r;return s.push(sQ(e,t,r)),null}};function sY(){return!1}function sJ(){return null}var s1=function(e,t){var s,r={_thrown:0,queue:s=[],isMounted:sY,enqueueForceUpdate:sJ,enqueueReplaceState:function(e,t){e._isMounted&&(s.length=0,s.push(t))},enqueueSetState:function(e,t){e._isMounted&&s.push(t)}},i=sf(t,e.defaultProps),o=sx(e),a=new e(i,o,r);if(a.props=i,a.context=o,a.updater=r,a._isMounted=!0,void 0===a.state&&(a.state=null),"function"==typeof a.componentDidCatch||"function"==typeof e.getDerivedStateFromError){var l=s8(e,a,null);l.errorFrame=l,sM(l)}if("function"==typeof e.getDerivedStateFromProps){var f=(0,e.getDerivedStateFromProps)(a.props,a.state);null!=f&&(a.state=t$({},a.state,f))}else"function"==typeof a.componentWillMount?a.componentWillMount():"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount();return a},s8=function(e,t,s){return{contextMap:sh(),contextStore:sb(),errorFrame:sE(),thenable:s,kind:"frame.class",error:null,instance:t,type:e}},s0=function(e,t,s){!function(e){var t=e.updater.queue;if(t.length>0){for(var s=t$({},e.state),r=0,i=t.length;r<i;r++){var o=t[r],a="function"==typeof o?o.call(e,s,e.props,e.context):o;null!==a&&t$(s,a)}e.state=s,t.length=0}}(t);var r=null;try{r=t.render()}catch(r){if("function"!=typeof r.then)throw r;return s.push(s8(e,t,r)),null}if(void 0!==e.childContextTypes&&"function"==typeof t.getChildContext){var i=t.getChildContext();null!==i&&"object"==typeof i&&function(e){for(var t in sd={},e)sd[t]=sc[t],sc[t]=e[t]}(i)}if("function"!=typeof t.getDerivedStateFromProps&&("function"==typeof t.componentWillMount||"function"==typeof t.UNSAFE_componentWillMount)&&"function"==typeof t.componentWillUnmount)try{t.componentWillUnmount()}catch(e){}return t._isMounted=!1,r},s2=J.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,s3="function"==typeof setImmediate,s6=function(e,t,s,r,i){var o;return(o=e).prototype&&o.prototype.isReactComponent?function(e,t,s,r,i){sO(null);var o=s1(e,t),a=r(i,o);return a?(s.push(s8(e,o,a)),null):s0(e,o,s)}(e,t,s,r,i):function(e,t,s,r,i){sB(null),sO({});var o=r(i);return o?(s.push(sQ(e,t,o)),null):sX(e,t,s)}(e,t,s,r,i)},s4=function(e,t,s){switch(function(e){switch(e.$$typeof){case t6:return t6;case t3:switch(e.type){case st:return st;case t4:return t4;case t9:return t9;case t5:return t5;case sr:return sr;default:switch(e.type&&e.type.$$typeof){case si:return si;case sn:return sn;case se:return se;case t7:return t7;case ss:return ss;default:return t3}}default:return}}(e)){case sr:case t5:case st:case t9:case t4:return sl(e.props.children);case t7:var r=e.props,i=r.children;return function(e,t){sp=[e,su.get(e)],su.set(e,t)}(e.type._context,r.value),sl(i);case se:var o=e.props.children;if("function"!=typeof o)return[];var a=e.type;return sl(o(sC("object"==typeof a._context?a._context:a)));case si:return sl(function(e,t,s){return(e._payload||e)._status<=0?(s.push({kind:"frame.lazy",contextMap:sh(),contextStore:sb(),errorFrame:sE(),thenable:sG(e),props:t,type:e}),null):sZ(e,t)}(e.type,e.props,t));case sn:return sl((0,J.createElement)(e.type.type,e.props));case ss:var l=e.type,f=l.render,u=sf(e.props,l.defaultProps);return sl((0,J.createElement)(f,u));case t3:if("string"==typeof e.type)return sl(e.props.children);return sl(s6(e.type,e.props,t,s,e));default:return[]}},s5=function(e,t,s,r,i,o){var a=s2.current,l=Date.now();try{for(s2.current=sK;e.length>0;){var f=e[e.length-1].shift();if(void 0!==f){var u=s4(f,i,o);e.push(u),t.push(s_()),s.push(sm()),r.push(sE())}else e.pop(),sg(t.pop()),sv(s.pop()),sM(r.pop());if(s3&&Date.now()-l>5)return!0}return!1}catch(e){var c=sE();if(!c)throw e;return c.error=e,i.unshift(c),!1}finally{s2.current=a}},s9=function(e,t,s,r){return{contextMap:sh(),contextStore:sb(),errorFrame:sE(),thenable:null,kind:"frame.yield",traversalChildren:e,traversalMap:t,traversalStore:s,traversalErrorFrame:r}},s7=function(e,t,s){var r=[e],i=[s_()],o=[sm()],a=[sE()];s5(r,i,o,a,t,s)&&t.unshift(s9(r,i,o,a))},re=function(e,t,s){if("frame.yield"===e.kind)sO(null),sy(e.contextMap),sw(e.contextStore),sM(e.errorFrame),s5(e.traversalChildren,e.traversalMap,e.traversalStore,e.traversalErrorFrame,t,s)&&t.unshift(s9(e.traversalChildren,e.traversalMap,e.traversalStore,e.traversalErrorFrame));else{var r=s2.current,i=null;s2.current=sK;try{"frame.class"===e.kind?i=function(e,t){if(sO(null),sy(t.contextMap),sw(t.contextStore),sM(t.errorFrame),t.error){if(++t.instance.updater._thrown>=25)return null;t.instance._isMounted=!0,"function"==typeof t.instance.componentDidCatch&&t.instance.componentDidCatch(t.error),"function"==typeof t.type.getDerivedStateFromError&&t.instance.updater.enqueueSetState(t.instance,t.type.getDerivedStateFromError(t.error))}return s0(t.type,t.instance,e)}(t,e):"frame.hooks"===e.kind?i=function(e,t){return sB(t.hook),sO(t.id),sy(t.contextMap),sw(t.contextStore),sM(t.errorFrame),sX(t.type,t.props,e)}(t,e):"frame.lazy"===e.kind&&(i=function(e,t){return sO(null),sy(t.contextMap),sw(t.contextStore),sM(t.errorFrame),sZ(t.type,t.props)}(0,e))}catch(e){var o=sE();if(!o)throw e;o.error=e,t.unshift(o),i=null}finally{s2.current=r}s7(sl(i),t,s)}};function rt(e,t){setImmediate(e)}var rs=function(e,t,s){var r=e.shift();return r?(s3&&"frame.yield"===r.kind&&(r.thenable=new Promise(rt)),Promise.resolve(r.thenable).then(function(){return function(e){sI.current=e}(s),re(r,e,t),rs(e,t,s)},function(s){if(!r.errorFrame)throw s;r.errorFrame.error=s,re(r.errorFrame,e,t)})):Promise.resolve()},rr=function(){},rn=function(e,t){t||(t=rr);var s=[],r=sI.current={uniqueID:0};sy({}),sw(new Map),sM(null);try{s7(sl(e),s,t)}catch(e){return Promise.reject(e)}return rs(s,t,r)};function ri(e){let t=e.state.error;if(t instanceof Error&&"TRPCClientError"===t.name){let s={message:t.message,data:t.data,shape:t.shape};return{...e,state:{...e.state,error:s}}}return e}function ro(e){let{config:t}=e;return s=>{let r=tL(e),i=i=>{let[o]=(0,J.useState)(()=>{if(i.trpc)return i.trpc;let s=t({}),o=tV(s),a=r.createClient(s);return{abortOnUnmount:s.abortOnUnmount,queryClient:o,trpcClient:a,ssrState:!!e.ssr&&"mounting",ssrContext:null}}),{queryClient:a,trpcClient:l,ssrState:f,ssrContext:u}=o,c=r.useDehydratedState(l,i.pageProps?.trpcState);return J.createElement(r.Provider,{abortOnUnmount:o.abortOnUnmount??!1,client:l,queryClient:a,ssrState:f,ssrContext:u},J.createElement(en,{client:a},J.createElement(ed,{state:c},J.createElement(s,Object.assign({},i)))))};(s.getInitialProps??e.ssr)&&(i.getInitialProps=async r=>{let i=r.AppTree,o=!!r.Component,a=o?r.ctx:r,l={};if(s.getInitialProps){let e=await s.getInitialProps(r);l={...o?e.pageProps??{}:e,...l}}let f=e=>o?{pageProps:e}:e;if("undefined"!=typeof window||!e.ssr)return f(l);let u=t({ctx:a}),c=U(u),d=tV(u),p={pageProps:l,trpc:{config:u,trpcClient:c,queryClient:d,ssrState:"prepass",ssrContext:a}};for(;await rn((0,J.createElement)(i,p)),d.isFetching();)await new Promise(e=>{let t=d.getQueryCache().subscribe(s=>{s?.query.getObserversCount()===0&&(e(),t())})});let h=ef(d,{shouldDehydrateQuery:()=>!0}),b={...h,queries:h.queries.map(ri),mutations:h.mutations.map(ri)};l.trpcState=c.runtime.combinedTransformer.output.serialize(b);let _=f(l),m=e.responseMeta?.({ctx:a,clientErrors:[...h.queries,...h.mutations].map(e=>e.state.error).flatMap(e=>e instanceof Error&&"TRPCClientError"===e.name?[e]:[])})??{};for(let[e,t]of Object.entries(m.headers??{}))"string"==typeof t&&a.res?.setHeader(e,t);return m.status&&a.res&&(a.res.statusCode=m.status),_});let o=s.displayName??s.name??"Component";return i.displayName=`withTRPC(${o})`,i}}/* istanbul ignore file -- @preserve */function ra(e){let t=tN(e),s=ro(e);return k(e=>"useContext"===e||"useUtils"===e?()=>{let e=t.useUtils();return(0,J.useMemo)(()=>tR(e),[e])}:"useQueries"===e?t.useQueries:"withTRPC"===e?s:tM(e,t))}var rl="authorization-bearer",rf="saleor-api-url",ru=s(8433);function rc(){return""}s(3656);let rd=ra({config(e){let{ctx:t}=e;return{links:[q({url:"".concat(rc(),"/api/trpc"),headers(){let{token:e,saleorApiUrl:t}=(null===ru.appBridgeInstance||void 0===ru.appBridgeInstance?void 0:ru.appBridgeInstance.getState())||{};if(!e||!t)throw console.error("Can't initialize tRPC client before establishing the App Bridge connection"),Error("Token and Saleor API URL unknown");return{[rl]:null===ru.appBridgeInstance||void 0===ru.appBridgeInstance?void 0:ru.appBridgeInstance.getState().token,[rf]:null===ru.appBridgeInstance||void 0===ru.appBridgeInstance?void 0:ru.appBridgeInstance.getState().saleorApiUrl}}})],queryClientConfig:{defaultOptions:{queries:{refetchOnWindowFocus:!1}}}}},ssr:!1})},8433:function(e,t,s){"use strict";s.r(t),s.d(t,{appBridgeInstance:function(){return m},default:function(){return v}});var r=s(7458);s(9837),s(9590);var i=s(4729),o=s(9247);s(7323);var a=s(475),l=s.t(a,2),f=s(2983),{useRouter:u}=l,c=()=>{let{appBridge:e,appBridgeState:t}=(0,o.Zn)(),s=u();(0,f.useEffect)(()=>{(null==t?void 0:t.ready)&&s.events.on("routeChangeComplete",t=>{null==e||e.dispatch(o.Nw.UpdateRouting({newRoute:t})).catch(()=>{console.error("Error dispatching action")})})},[t,e])};function d(){return c(),null}var p=s(665);function h(){let{appBridgeState:e}=(0,i.Zn)(),{setTheme:t}=(0,p.Fg)();return(0,f.useEffect)(()=>{t&&(null==e?void 0:e.theme)&&("light"===e.theme&&t("defaultLight"),"dark"===e.theme&&t("defaultDark"))},[null==e?void 0:e.theme,t]),null}var b=s(2598),_=s(4100);let m=new i.rU;function g(e){let{Component:t,pageProps:s}=e;return(0,r.jsx)(b.$B,{children:(0,r.jsx)(i.Ld,{appBridgeInstance:m,children:(0,r.jsxs)(p.f6,{defaultTheme:"defaultLight",children:[(0,r.jsx)(h,{}),(0,r.jsx)(d,{}),(0,r.jsx)(t,{...s})]})})})}var v=_.u.withTRPC(g)},3188:function(e,t,s){"use strict";let r,i,o,a,l,f,u,c,d,p,h,b,_,m,g,v;let y="8.0.0";function w(e,t,s=[t],r="npm"){let i=e._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${t}`,packages:s.map(e=>({name:`${r}:@sentry/${e}`,version:y})),version:y}),e._metadata=i}let C=globalThis;function k(e,t,s){let r=s||C,i=r.__SENTRY__=r.__SENTRY__||{};return i[e]||(i[e]=t())}let x="production";function S(){return E(C),C}function E(e){return e.__SENTRY__||(e.__SENTRY__={extensions:{}}),e.__SENTRY__}let M=Object.prototype.toString;function I(e){switch(M.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return U(e,Error)}}function A(e,t){return M.call(e)===`[object ${t}]`}function R(e){return A(e,"ErrorEvent")}function O(e){return A(e,"DOMError")}function j(e){return A(e,"DOMException")}function P(e){return A(e,"String")}function T(e){return"object"==typeof e&&null!==e&&"__sentry_template_string__"in e&&"__sentry_template_values__"in e}function N(e){return null===e||T(e)||"object"!=typeof e&&"function"!=typeof e}function D(e){return A(e,"Object")}function L(e){return"undefined"!=typeof Event&&U(e,Event)}function B(e){return"undefined"!=typeof Element&&U(e,Element)}function q(e){return A(e,"RegExp")}function F(e){return!!(e&&e.then&&"function"==typeof e.then)}function z(e){return D(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function U(e,t){try{return e instanceof t}catch(e){return!1}}function V(e){return!!("object"==typeof e&&null!==e&&(e.__isVue||e._isVue))}let $=1e3;function H(){return Date.now()/$}let W=function(){let{performance:e}=C;if(!e||!e.now)return H;let t=Date.now()-e.now(),s=void 0==e.timeOrigin?t:e.timeOrigin;return()=>(s+e.now())/$}(),K=(()=>{let{performance:e}=C;if(!e||!e.now){r="none";return}let t=36e5,s=e.now(),i=Date.now(),o=e.timeOrigin?Math.abs(e.timeOrigin+s-i):t,a=o<t,l=e.timing&&e.timing.navigationStart,f="number"==typeof l?Math.abs(l+s-i):t,u=f<t;return a||u?o<=f?(r="timeOrigin",e.timeOrigin):(r="navigationStart",l):(r="dateNow",i)})(),G=C,Z=80;function Q(e,t={}){if(!e)return"<unknown>";try{let s,r=e,i=5,o=[],a=0,l=0,f=" > ",u=f.length,c=Array.isArray(t)?t:t.keyAttrs,d=!Array.isArray(t)&&t.maxStringLength||Z;for(;r&&a++<i&&(s=X(r,c),"html"!==s&&(!(a>1)||!(l+o.length*u+s.length>=d)));)o.push(s),l+=s.length,r=r.parentNode;return o.reverse().join(f)}catch(e){return"<unknown>"}}function X(e,t){let s,r,i,o,a;let l=e,f=[];if(!l||!l.tagName)return"";if(G.HTMLElement&&l instanceof HTMLElement&&l.dataset){if(l.dataset.sentryComponent)return l.dataset.sentryComponent;if(l.dataset.sentryElement)return l.dataset.sentryElement}f.push(l.tagName.toLowerCase());let u=t&&t.length?t.filter(e=>l.getAttribute(e)).map(e=>[e,l.getAttribute(e)]):null;if(u&&u.length)u.forEach(e=>{f.push(`[${e[0]}="${e[1]}"]`)});else if(l.id&&f.push(`#${l.id}`),(s=l.className)&&P(s))for(a=0,r=s.split(/\s+/);a<r.length;a++)f.push(`.${r[a]}`);let c=["aria-label","type","name","title","alt"];for(a=0;a<c.length;a++)i=c[a],(o=l.getAttribute(i))&&f.push(`[${i}="${o}"]`);return f.join("")}function Y(){try{return G.document.location.href}catch(e){return""}}function J(e){return G.document&&G.document.querySelector?G.document.querySelector(e):null}function ee(e){if(!G.HTMLElement)return null;let t=e,s=5;for(let e=0;e<s&&t;e++){if(t instanceof HTMLElement){if(t.dataset.sentryComponent)return t.dataset.sentryComponent;if(t.dataset.sentryElement)return t.dataset.sentryElement}t=t.parentNode}return null}let et=!1,es="Sentry Logger ",er=["debug","info","warn","error","log","assert","trace"],en={};function ei(e){if(!("console"in C))return e();let t=C.console,s={},r=Object.keys(en);r.forEach(e=>{let r=en[e];s[e]=t[e],t[e]=r});try{return e()}finally{r.forEach(e=>{t[e]=s[e]})}}let eo=function(){let e=!1,t={enable:()=>{e=!0},disable:()=>{e=!1},isEnabled:()=>e};return et?er.forEach(s=>{t[s]=(...t)=>{e&&ei(()=>{C.console[s](`${es}[${s}]:`,...t)})}}):er.forEach(e=>{t[e]=()=>void 0}),t}();function ea(e,t=0){return"string"!=typeof e||0===t?e:e.length<=t?e:`${e.slice(0,t)}...`}function el(e,t){if(!Array.isArray(e))return"";let s=[];for(let t=0;t<e.length;t++){let r=e[t];try{V(r)?s.push("[VueViewModel]"):s.push(String(r))}catch(e){s.push("[value cannot be serialized]")}}return s.join(t)}function ef(e,t,s=!1){return!!P(e)&&(q(t)?t.test(e):!!P(t)&&(s?e===t:e.includes(t)))}function eu(e,t=[],s=!1){return t.some(t=>ef(e,t,s))}function ec(e,t,s){if(!(t in e))return;let r=e[t],i=s(r);"function"==typeof i&&ep(i,r),e[t]=i}function ed(e,t,s){try{Object.defineProperty(e,t,{value:s,writable:!0,configurable:!0})}catch(s){et&&eo.log(`Failed to add non-enumerable property "${t}" to object`,e)}}function ep(e,t){try{let s=t.prototype||{};e.prototype=t.prototype=s,ed(e,"__sentry_original__",t)}catch(e){}}function eh(e){return e.__sentry_original__}function eb(e){return Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}function e_(e){if(I(e))return{message:e.message,name:e.name,stack:e.stack,...eg(e)};if(!L(e))return e;{let t={type:e.type,target:em(e.target),currentTarget:em(e.currentTarget),...eg(e)};return"undefined"!=typeof CustomEvent&&U(e,CustomEvent)&&(t.detail=e.detail),t}}function em(e){try{return B(e)?Q(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function eg(e){if("object"!=typeof e||null===e)return{};{let t={};for(let s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t}}function ev(e,t=40){let s=Object.keys(e_(e));if(s.sort(),!s.length)return"[object has no keys]";if(s[0].length>=t)return ea(s[0],t);for(let e=s.length;e>0;e--){let r=s.slice(0,e).join(", ");if(!(r.length>t)){if(e===s.length)return r;return ea(r,t)}}return""}function ey(e){return ew(e,new Map)}function ew(e,t){if(eC(e)){let s=t.get(e);if(void 0!==s)return s;let r={};for(let s of(t.set(e,r),Object.keys(e)))void 0!==e[s]&&(r[s]=ew(e[s],t));return r}if(Array.isArray(e)){let s=t.get(e);if(void 0!==s)return s;let r=[];return t.set(e,r),e.forEach(e=>{r.push(ew(e,t))}),r}return e}function eC(e){if(!D(e))return!1;try{let t=Object.getPrototypeOf(e).constructor.name;return!t||"Object"===t}catch(e){return!0}}function ek(){let e=C,t=e.crypto||e.msCrypto,s=()=>16*Math.random();try{if(t&&t.randomUUID)return t.randomUUID().replace(/-/g,"");t&&t.getRandomValues&&(s=()=>{let e=new Uint8Array(1);return t.getRandomValues(e),e[0]})}catch(e){}return"10000000100040008000100000000000".replace(/[018]/g,e=>(e^(15&s())>>e/4).toString(16))}function ex(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function eS(e){let{message:t,event_id:s}=e;if(t)return t;let r=ex(e);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||s||"<unknown>":s||"<unknown>"}function eE(e,t,s){let r=e.exception=e.exception||{},i=r.values=r.values||[],o=i[0]=i[0]||{};o.value||(o.value=t||""),o.type||(o.type=s||"Error")}function eM(e,t){let s=ex(e);if(!s)return;let r={type:"generic",handled:!0},i=s.mechanism;if(s.mechanism={...r,...i,...t},t&&"data"in t){let e={...i&&i.data,...t.data};s.mechanism.data=e}}function eI(e){if(e&&e.__sentry_captured__)return!0;try{ed(e,"__sentry_captured__",!0)}catch(e){}return!1}function eA(e){return Array.isArray(e)?e:[e]}function eR(e){let t=W(),s={sid:ek(),init:!0,timestamp:t,started:t,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>eP(s)};return e&&eO(s,e),s}function eO(e,t={}){if(!t.user||(!e.ipAddress&&t.user.ip_address&&(e.ipAddress=t.user.ip_address),e.did||t.did||(e.did=t.user.id||t.user.email||t.user.username)),e.timestamp=t.timestamp||W(),t.abnormal_mechanism&&(e.abnormal_mechanism=t.abnormal_mechanism),t.ignoreDuration&&(e.ignoreDuration=t.ignoreDuration),t.sid&&(e.sid=32===t.sid.length?t.sid:ek()),void 0!==t.init&&(e.init=t.init),!e.did&&t.did&&(e.did=`${t.did}`),"number"==typeof t.started&&(e.started=t.started),e.ignoreDuration)e.duration=void 0;else if("number"==typeof t.duration)e.duration=t.duration;else{let t=e.timestamp-e.started;e.duration=t>=0?t:0}t.release&&(e.release=t.release),t.environment&&(e.environment=t.environment),!e.ipAddress&&t.ipAddress&&(e.ipAddress=t.ipAddress),!e.userAgent&&t.userAgent&&(e.userAgent=t.userAgent),"number"==typeof t.errors&&(e.errors=t.errors),t.status&&(e.status=t.status)}function ej(e,t){let s={};t?s={status:t}:"ok"===e.status&&(s={status:"exited"}),eO(e,s)}function eP(e){return ey({sid:`${e.sid}`,init:e.init,started:new Date(1e3*e.started).toISOString(),timestamp:new Date(1e3*e.timestamp).toISOString(),status:e.status,errors:e.errors,did:"number"==typeof e.did||"string"==typeof e.did?`${e.did}`:void 0,duration:e.duration,abnormal_mechanism:e.abnormal_mechanism,attrs:{release:e.release,environment:e.environment,ip_address:e.ipAddress,user_agent:e.userAgent}})}let eT="_sentrySpan";function eN(e,t){t?ed(e,eT,t):delete e[eT]}function eD(e){return e[eT]}let eL=100;class eB{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=eq()}clone(){let e=new eB;return e._breadcrumbs=[...this._breadcrumbs],e._tags={...this._tags},e._extra={...this._extra},e._contexts={...this._contexts},e._user=this._user,e._level=this._level,e._session=this._session,e._transactionName=this._transactionName,e._fingerprint=this._fingerprint,e._eventProcessors=[...this._eventProcessors],e._requestSession=this._requestSession,e._attachments=[...this._attachments],e._sdkProcessingMetadata={...this._sdkProcessingMetadata},e._propagationContext={...this._propagationContext},e._client=this._client,eN(e,eD(this)),e}setClient(e){this._client=e}getClient(){return this._client}addScopeListener(e){this._scopeListeners.push(e)}addEventProcessor(e){return this._eventProcessors.push(e),this}setUser(e){return this._user=e||{email:void 0,id:void 0,ip_address:void 0,username:void 0},this._session&&eO(this._session,{user:e}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(e){return this._requestSession=e,this}setTags(e){return this._tags={...this._tags,...e},this._notifyScopeListeners(),this}setTag(e,t){return this._tags={...this._tags,[e]:t},this._notifyScopeListeners(),this}setExtras(e){return this._extra={...this._extra,...e},this._notifyScopeListeners(),this}setExtra(e,t){return this._extra={...this._extra,[e]:t},this._notifyScopeListeners(),this}setFingerprint(e){return this._fingerprint=e,this._notifyScopeListeners(),this}setLevel(e){return this._level=e,this._notifyScopeListeners(),this}setTransactionName(e){return this._transactionName=e,this._notifyScopeListeners(),this}setContext(e,t){return null===t?delete this._contexts[e]:this._contexts[e]=t,this._notifyScopeListeners(),this}setSession(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(e){if(!e)return this;let t="function"==typeof e?e(this):e,[s,r]=t instanceof eB?[t.getScopeData(),t.getRequestSession()]:D(t)?[e,e.requestSession]:[],{tags:i,extra:o,user:a,contexts:l,level:f,fingerprint:u=[],propagationContext:c}=s||{};return this._tags={...this._tags,...i},this._extra={...this._extra,...o},this._contexts={...this._contexts,...l},a&&Object.keys(a).length&&(this._user=a),f&&(this._level=f),u.length&&(this._fingerprint=u),c&&(this._propagationContext=c),r&&(this._requestSession=r),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._session=void 0,eN(this,void 0),this._attachments=[],this._propagationContext=eq(),this._notifyScopeListeners(),this}addBreadcrumb(e,t){let s="number"==typeof t?t:eL;if(s<=0)return this;let r={timestamp:H(),...e},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>s?i.slice(-s):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(e){return this._attachments.push(e),this}clearAttachments(){return this._attachments=[],this}getScopeData(){return{breadcrumbs:this._breadcrumbs,attachments:this._attachments,contexts:this._contexts,tags:this._tags,extra:this._extra,user:this._user,level:this._level,fingerprint:this._fingerprint||[],eventProcessors:this._eventProcessors,propagationContext:this._propagationContext,sdkProcessingMetadata:this._sdkProcessingMetadata,transactionName:this._transactionName,span:eD(this)}}setSDKProcessingMetadata(e){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...e},this}setPropagationContext(e){return this._propagationContext=e,this}getPropagationContext(){return this._propagationContext}captureException(e,t){let s=t&&t.event_id?t.event_id:ek();if(!this._client)return eo.warn("No client configured on scope - will not capture exception!"),s;let r=Error("Sentry syntheticException");return this._client.captureException(e,{originalException:e,syntheticException:r,...t,event_id:s},this),s}captureMessage(e,t,s){let r=s&&s.event_id?s.event_id:ek();if(!this._client)return eo.warn("No client configured on scope - will not capture message!"),r;let i=Error(e);return this._client.captureMessage(e,t,{originalException:e,syntheticException:i,...s,event_id:r},this),r}captureEvent(e,t){let s=t&&t.event_id?t.event_id:ek();return this._client?this._client.captureEvent(e,{...t,event_id:s},this):eo.warn("No client configured on scope - will not capture event!"),s}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(e=>{e(this)}),this._notifyingListeners=!1)}}function eq(){return{traceId:ek(),spanId:ek().substring(16)}}class eF{constructor(e,t){let s,r;s=e||new eB,r=t||new eB,this._stack=[{scope:s}],this._isolationScope=r}withScope(e){let t;let s=this._pushScope();try{t=e(s)}catch(e){throw this._popScope(),e}return F(t)?t.then(e=>(this._popScope(),e),e=>{throw this._popScope(),e}):(this._popScope(),t)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}_pushScope(){let e=this.getScope().clone();return this.getStack().push({client:this.getClient(),scope:e}),e}_popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}}function ez(){let e=E(S());return e.hub||(e.hub=new eF(eK(),eG())),e.hub}function eU(e){return ez().withScope(e)}function eV(e,t){let s=ez();return s.withScope(()=>(s.getStackTop().scope=e,t(e)))}function e$(e){return ez().withScope(()=>e(ez().getIsolationScope()))}function eH(){return{withIsolationScope:e$,withScope:eU,withSetScope:eV,withSetIsolationScope:(e,t)=>e$(t),getCurrentScope:()=>ez().getScope(),getIsolationScope:()=>ez().getIsolationScope()}}function eW(e){let t=E(e);return t.acs?t.acs:eH()}function eK(){return k("defaultCurrentScope",()=>new eB)}function eG(){return k("defaultIsolationScope",()=>new eB)}function eZ(){return eW(S()).getCurrentScope()}function eQ(){return eW(S()).getIsolationScope()}function eX(){return k("globalScope",()=>new eB)}function eY(...e){let t=eW(S());if(2===e.length){let[s,r]=e;return s?t.withSetScope(s,r):t.withScope(r)}return t.withScope(e[0])}function eJ(){return eZ().getClient()}function e1(){let e="function"==typeof WeakSet,t=e?new WeakSet:[];return[function(s){if(e)return!!t.has(s)||(t.add(s),!1);for(let e=0;e<t.length;e++)if(t[e]===s)return!0;return t.push(s),!1},function(s){if(e)t.delete(s);else for(let e=0;e<t.length;e++)if(t[e]===s){t.splice(e,1);break}}]}let e8=50,e0="?",e2=/\(error: (.*)\)/,e3=/captureMessage|captureException/;function e6(...e){let t=e.sort((e,t)=>e[0]-t[0]).map(e=>e[1]);return(e,s=0,r=0)=>{let i=[],o=e.split("\n");for(let e=s;e<o.length;e++){let s=o[e];if(s.length>1024)continue;let a=e2.test(s)?s.replace(e2,"$1"):s;if(!a.match(/\S*Error: /)){for(let e of t){let t=e(a);if(t){i.push(t);break}}if(i.length>=e8+r)break}}return e5(i.slice(r))}}function e4(e){return Array.isArray(e)?e6(...e):e}function e5(e){if(!e.length)return[];let t=Array.from(e);return/sentryWrapped/.test(t[t.length-1].function||"")&&t.pop(),t.reverse(),e3.test(t[t.length-1].function||"")&&(t.pop(),e3.test(t[t.length-1].function||"")&&t.pop()),t.slice(0,e8).map(e=>({...e,filename:e.filename||t[t.length-1].filename,function:e.function||e0}))}let e9="<anonymous>";function e7(e){try{if(!e||"function"!=typeof e)return e9;return e.name||e9}catch(e){return e9}}function te(e,t=100,s=Infinity){try{return ts("",e,t,s)}catch(e){return{ERROR:`**non-serializable** (${e})`}}}function tt(e,t=3,s=102400){let r=te(e,t);return to(r)>s?tt(e,t-1,s):r}function ts(e,t,s=Infinity,r=Infinity,i=e1()){let[o,a]=i;if(null==t||["number","boolean","string"].includes(typeof t)&&!Number.isNaN(t))return t;let l=tr(e,t);if(!l.startsWith("[object "))return l;if(t.__sentry_skip_normalization__)return t;let f="number"==typeof t.__sentry_override_normalization_depth__?t.__sentry_override_normalization_depth__:s;if(0===f)return l.replace("object ","");if(o(t))return"[Circular ~]";let u=t;if(u&&"function"==typeof u.toJSON)try{let e=u.toJSON();return ts("",e,f-1,r,i)}catch(e){}let c=Array.isArray(t)?[]:{},d=0,p=e_(t);for(let e in p){if(!Object.prototype.hasOwnProperty.call(p,e))continue;if(d>=r){c[e]="[MaxProperties ~]";break}let t=p[e];c[e]=ts(e,t,f-1,r,i),d++}return a(t),c}function tr(e,t){try{if("domain"===e&&t&&"object"==typeof t&&t._events)return"[Domain]";if("domainEmitter"===e)return"[DomainEmitter]";if("undefined"!=typeof global&&t===global)return"[Global]";if("undefined"!=typeof window&&t===window)return"[Window]";if("undefined"!=typeof document&&t===document)return"[Document]";if(V(t))return"[VueViewModel]";if(z(t))return"[SyntheticEvent]";if("number"==typeof t&&t!=t)return"[NaN]";if("function"==typeof t)return`[Function: ${e7(t)}]`;if("symbol"==typeof t)return`[${String(t)}]`;if("bigint"==typeof t)return`[BigInt: ${String(t)}]`;let s=tn(t);if(/^HTML(\w*)Element$/.test(s))return`[HTMLElement: ${s}]`;return`[object ${s}]`}catch(e){return`**non-serializable** (${e})`}}function tn(e){let t=Object.getPrototypeOf(e);return t?t.constructor.name:"null prototype"}function ti(e){return~-encodeURI(e).split(/%..|./).length}function to(e){return ti(JSON.stringify(e))}function ta(e){return new tf(t=>{t(e)})}function tl(e){return new tf((t,s)=>{s(e)})}!function(e){let t=0;e[e.PENDING=t]="PENDING";let s=1;e[e.RESOLVED=s]="RESOLVED";let r=2;e[e.REJECTED=r]="REJECTED"}(iU||(iU={}));class tf{constructor(e){tf.prototype.__init.call(this),tf.prototype.__init2.call(this),tf.prototype.__init3.call(this),tf.prototype.__init4.call(this),this._state=iU.PENDING,this._handlers=[];try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}then(e,t){return new tf((s,r)=>{this._handlers.push([!1,t=>{if(e)try{s(e(t))}catch(e){r(e)}else s(t)},e=>{if(t)try{s(t(e))}catch(e){r(e)}else r(e)}]),this._executeHandlers()})}catch(e){return this.then(e=>e,e)}finally(e){return new tf((t,s)=>{let r,i;return this.then(t=>{i=!1,r=t,e&&e()},t=>{i=!0,r=t,e&&e()}).then(()=>{if(i){s(r);return}t(r)})})}__init(){this._resolve=e=>{this._setResult(iU.RESOLVED,e)}}__init2(){this._reject=e=>{this._setResult(iU.REJECTED,e)}}__init3(){this._setResult=(e,t)=>{if(this._state===iU.PENDING){if(F(t)){t.then(this._resolve,this._reject);return}this._state=e,this._value=t,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===iU.PENDING)return;let e=this._handlers.slice();this._handlers=[],e.forEach(e=>{e[0]||(this._state===iU.RESOLVED&&e[1](this._value),this._state===iU.REJECTED&&e[2](this._value),e[0]=!0)})}}}let tu=!1;function tc(e,t,s,r=0){return new tf((i,o)=>{let a=e[r];if(null===t||"function"!=typeof a)i(t);else{let l=a({...t},s);tu&&a.id&&null===l&&eo.log(`Event processor "${a.id}" dropped event`),F(l)?l.then(t=>tc(e,t,s,r+1).then(i)).then(null,o):tc(e,l,s,r+1).then(i).then(null,o)}})}let td="sentry.source",tp="sentry.sample_rate",th="sentry.op",tb="sentry.origin",t_="sentry.idle_span_finish_reason",tm="sentry.measurement_unit",tg="sentry.measurement_value",tv="sentry.profile_id",ty="sentry.exclusive_time",tw="baggage",tC="sentry-",tk=/^sentry-/,tx=8192;function tS(e){let t=tM(e);if(!t)return;let s=Object.entries(t).reduce((e,[t,s])=>(t.match(tk)&&(e[t.slice(tC.length)]=s),e),{});return Object.keys(s).length>0?s:void 0}function tE(e){if(e)return tA(Object.entries(e).reduce((e,[t,s])=>(s&&(e[`${tC}${t}`]=s),e),{}))}function tM(e){return e&&(P(e)||Array.isArray(e))?Array.isArray(e)?e.reduce((e,t)=>{let s=tI(t);for(let t of Object.keys(s))e[t]=s[t];return e},{}):tI(e):void 0}function tI(e){return e.split(",").map(e=>e.split("=").map(e=>decodeURIComponent(e.trim()))).reduce((e,[t,s])=>(e[t]=s,e),{})}function tA(e){if(0!==Object.keys(e).length)return Object.entries(e).reduce((e,[t,s],r)=>{let i=`${encodeURIComponent(t)}=${encodeURIComponent(s)}`,o=0===r?i:`${e},${i}`;return o.length>tx?(et&&eo.warn(`Not adding key: ${t} with val: ${s} to baggage header due to exceeding baggage size limits.`),e):o},"")}let tR=RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");function tO(e){let t;if(!e)return;let s=e.match(tR);if(s)return"1"===s[3]?t=!0:"0"===s[3]&&(t=!1),{traceId:s[1],parentSampled:t,parentSpanId:s[2]}}function tj(e,t){let s=tO(e),r=tS(t),{traceId:i,parentSpanId:o,parentSampled:a}=s||{};return s?{traceId:i||ek(),parentSpanId:o||ek().substring(16),spanId:ek().substring(16),sampled:a,dsc:r||{}}:{traceId:i||ek(),spanId:ek().substring(16)}}function tP(e=ek(),t=ek().substring(16),s){let r="";return void 0!==s&&(r=s?"-1":"-0"),`${e}-${t}${r}`}function tT(e){return i?i.get(e):void 0}function tN(e){let t=tT(e);if(!t)return;let s={};for(let[,[e,r]]of t)s[e]||(s[e]=[]),s[e].push(ey(r));return s}let tD=0,tL=1,tB=2;function tq(e){if(e<400&&e>=100)return{code:tL};if(e>=400&&e<500)switch(e){case 401:return{code:tB,message:"unauthenticated"};case 403:return{code:tB,message:"permission_denied"};case 404:return{code:tB,message:"not_found"};case 409:return{code:tB,message:"already_exists"};case 413:return{code:tB,message:"failed_precondition"};case 429:return{code:tB,message:"resource_exhausted"};case 499:return{code:tB,message:"cancelled"};default:return{code:tB,message:"invalid_argument"}}if(e>=500&&e<600)switch(e){case 501:return{code:tB,message:"unimplemented"};case 503:return{code:tB,message:"unavailable"};case 504:return{code:tB,message:"deadline_exceeded"};default:return{code:tB,message:"internal_error"}}return{code:tB,message:"unknown_error"}}function tF(e,t){e.setAttribute("http.response.status_code",t);let s=tq(t);"unknown_error"!==s.message&&e.setStatus(s)}let tz=0,tU=1;function tV(e){let{spanId:t,traceId:s}=e.spanContext(),{data:r,op:i,parent_span_id:o,status:a,origin:l}=tG(e);return ey({parent_span_id:o,span_id:t,trace_id:s,data:r,op:i,status:a,origin:l})}function t$(e){let{spanId:t,traceId:s}=e.spanContext(),{parent_span_id:r}=tG(e);return ey({parent_span_id:r,span_id:t,trace_id:s})}function tH(e){let{traceId:t,spanId:s}=e.spanContext();return tP(t,s,tX(e))}function tW(e){return"number"==typeof e?tK(e):Array.isArray(e)?e[0]+e[1]/1e9:e instanceof Date?tK(e.getTime()):W()}function tK(e){return e>9999999999?e/1e3:e}function tG(e){if(tQ(e))return e.getSpanJSON();try{let{spanId:t,traceId:s}=e.spanContext();if(tZ(e)){let{attributes:r,startTime:i,name:o,endTime:a,parentSpanId:l,status:f}=e;return ey({span_id:t,trace_id:s,data:r,description:o,parent_span_id:l,start_timestamp:tW(i),timestamp:tW(a)||void 0,status:tY(f),op:r[th],origin:r[tb],_metrics_summary:tN(e)})}return{span_id:t,trace_id:s}}catch(e){return{}}}function tZ(e){let t=e;return!!t.attributes&&!!t.startTime&&!!t.name&&!!t.endTime&&!!t.status}function tQ(e){return"function"==typeof e.getSpanJSON}function tX(e){let{traceFlags:t}=e.spanContext();return t===tU}function tY(e){return e&&e.code!==tD?e.code===tL?"ok":e.message||"unknown_error":void 0}let tJ="_sentryChildSpans",t1="_sentryRootSpan";function t8(e,t){let s=e[t1]||e;ed(t,t1,s),e[tJ]&&e[tJ].size<1e3?e[tJ].add(t):ed(e,tJ,new Set([t]))}function t0(e,t){e[tJ]&&e[tJ].delete(t)}function t2(e){let t=new Set;function s(e){if(!t.has(e)&&tX(e))for(let r of(t.add(e),e[tJ]?Array.from(e[tJ]):[]))s(r)}return s(e),Array.from(t)}function t3(e){return e[t1]||e}function t6(){let e=eW(S());return e.getActiveSpan?e.getActiveSpan():eD(eZ())}let t4="_frozenDsc";function t5(e,t){ed(e,t4,t)}function t9(e,t){let s=t.getOptions(),{publicKey:r}=t.getDsn()||{},i=ey({environment:s.environment||x,release:s.release,public_key:r,trace_id:e});return t.emit("createDsc",i),i}function t7(e){let t=eJ();if(!t)return{};let s=t9(tG(e).trace_id||"",t),r=t3(e);if(!r)return s;let i=r[t4];if(i)return i;let o=tG(r),a=o.data||{},l=a[tp];null!=l&&(s.sample_rate=`${l}`);let f=a[td];return f&&"url"!==f&&(s.transaction=o.description),s.sampled=String(tX(r)),t.emit("createDsc",s),s}function se(e,t){let{fingerprint:s,span:r,breadcrumbs:i,sdkProcessingMetadata:o}=t;sr(e,t),r&&so(e,r),sa(e,s),sn(e,i),si(e,o)}function st(e,t){let{extra:s,tags:r,user:i,contexts:o,level:a,sdkProcessingMetadata:l,breadcrumbs:f,fingerprint:u,eventProcessors:c,attachments:d,propagationContext:p,transactionName:h,span:b}=t;ss(e,"extra",s),ss(e,"tags",r),ss(e,"user",i),ss(e,"contexts",o),ss(e,"sdkProcessingMetadata",l),a&&(e.level=a),h&&(e.transactionName=h),b&&(e.span=b),f.length&&(e.breadcrumbs=[...e.breadcrumbs,...f]),u.length&&(e.fingerprint=[...e.fingerprint,...u]),c.length&&(e.eventProcessors=[...e.eventProcessors,...c]),d.length&&(e.attachments=[...e.attachments,...d]),e.propagationContext={...e.propagationContext,...p}}function ss(e,t,s){if(s&&Object.keys(s).length)for(let r in e[t]={...e[t]},s)Object.prototype.hasOwnProperty.call(s,r)&&(e[t][r]=s[r])}function sr(e,t){let{extra:s,tags:r,user:i,contexts:o,level:a,transactionName:l}=t,f=ey(s);f&&Object.keys(f).length&&(e.extra={...f,...e.extra});let u=ey(r);u&&Object.keys(u).length&&(e.tags={...u,...e.tags});let c=ey(i);c&&Object.keys(c).length&&(e.user={...c,...e.user});let d=ey(o);d&&Object.keys(d).length&&(e.contexts={...d,...e.contexts}),a&&(e.level=a),l&&"transaction"!==e.type&&(e.transaction=l)}function sn(e,t){let s=[...e.breadcrumbs||[],...t];e.breadcrumbs=s.length?s:void 0}function si(e,t){e.sdkProcessingMetadata={...e.sdkProcessingMetadata,...t}}function so(e,t){e.contexts={trace:t$(t),...e.contexts},e.sdkProcessingMetadata={dynamicSamplingContext:t7(t),...e.sdkProcessingMetadata};let s=tG(t3(t)).description;s&&!e.transaction&&"transaction"===e.type&&(e.transaction=s)}function sa(e,t){e.fingerprint=e.fingerprint?eA(e.fingerprint):[],t&&(e.fingerprint=e.fingerprint.concat(t)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint}function sl(e,t,s,r,i,o){let{normalizeDepth:a=3,normalizeMaxBreadth:l=1e3}=e,f={...t,event_id:t.event_id||s.event_id||ek(),timestamp:t.timestamp||H()},u=s.integrations||e.integrations.map(e=>e.name);sf(f,e),sp(f,u),void 0===t.type&&sc(f,e.stackParser);let c=sb(r,s.captureContext);s.mechanism&&eM(f,s.mechanism);let d=i?i.getEventProcessors():[],p=eX().getScopeData();o&&st(p,o.getScopeData()),c&&st(p,c.getScopeData());let h=[...s.attachments||[],...p.attachments];return h.length&&(s.attachments=h),se(f,p),tc([...d,...p.eventProcessors],f,s).then(e=>(e&&sd(e),"number"==typeof a&&a>0)?sh(e,a,l):e)}function sf(e,t){let{environment:s,release:r,dist:i,maxValueLength:o=250}=t;"environment"in e||(e.environment="environment"in t?s:x),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==i&&(e.dist=i),e.message&&(e.message=ea(e.message,o));let a=e.exception&&e.exception.values&&e.exception.values[0];a&&a.value&&(a.value=ea(a.value,o));let l=e.request;l&&l.url&&(l.url=ea(l.url,o))}let su=new WeakMap;function sc(e,t){let s;let r=C._sentryDebugIds;if(!r)return;let i=su.get(t);i?s=i:(s=new Map,su.set(t,s));let o=Object.keys(r).reduce((e,i)=>{let o;let a=s.get(i);a?o=a:(o=t(i),s.set(i,o));for(let t=o.length-1;t>=0;t--){let s=o[t];if(s.filename){e[s.filename]=r[i];break}}return e},{});try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.filename&&(e.debug_id=o[e.filename])})})}catch(e){}}function sd(e){let t={};try{e.exception.values.forEach(e=>{e.stacktrace.frames.forEach(e=>{e.debug_id&&(e.abs_path?t[e.abs_path]=e.debug_id:e.filename&&(t[e.filename]=e.debug_id),delete e.debug_id)})})}catch(e){}if(0===Object.keys(t).length)return;e.debug_meta=e.debug_meta||{},e.debug_meta.images=e.debug_meta.images||[];let s=e.debug_meta.images;Object.keys(t).forEach(e=>{s.push({type:"sourcemap",code_file:e,debug_id:t[e]})})}function sp(e,t){t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=[...e.sdk.integrations||[],...t])}function sh(e,t,s){if(!e)return null;let r={...e,...e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map(e=>({...e,...e.data&&{data:te(e.data,t,s)}}))},...e.user&&{user:te(e.user,t,s)},...e.contexts&&{contexts:te(e.contexts,t,s)},...e.extra&&{extra:te(e.extra,t,s)}};return e.contexts&&e.contexts.trace&&r.contexts&&(r.contexts.trace=e.contexts.trace,e.contexts.trace.data&&(r.contexts.trace.data=te(e.contexts.trace.data,t,s))),e.spans&&(r.spans=e.spans.map(e=>({...e,...e.data&&{data:te(e.data,t,s)}}))),r}function sb(e,t){if(!t)return e;let s=e?e.clone():new eB;return s.update(t),s}function s_(e){return e?sm(e)||sv(e)?{captureContext:e}:e:void 0}function sm(e){return e instanceof eB||"function"==typeof e}let sg=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"];function sv(e){return Object.keys(e).some(e=>sg.includes(e))}function sy(e,t){return eZ().captureException(e,s_(t))}function sw(e,t){return eZ().captureEvent(e,t)}function sC(e,t){eQ().setTag(e,t)}function sk(e){eQ().addEventProcessor(e)}function sx(e){let t=eJ(),s=eQ(),r=eZ(),{release:i,environment:o=x}=t&&t.getOptions()||{},{userAgent:a}=C.navigator||{},l=eR({release:i,environment:o,user:r.getUser()||s.getUser(),...a&&{userAgent:a},...e}),f=s.getSession();return f&&"ok"===f.status&&eO(f,{status:"exited"}),sS(),s.setSession(l),r.setSession(l),l}function sS(){let e=eQ(),t=eZ(),s=t.getSession()||e.getSession();s&&ej(s),sE(),e.setSession(),t.setSession()}function sE(){let e=eQ(),t=eZ(),s=eJ(),r=t.getSession()||e.getSession();r&&s&&s.captureSession(r)}function sM(e=!1){if(e){sS();return}sE()}function sI(e){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;let t=eJ(),s=e||t&&t.getOptions();return!!s&&(s.enableTracing||"tracesSampleRate"in s||"tracesSampler"in s)}let sA=[];function sR(e){let t={};return e.forEach(e=>{let{name:s}=e,r=t[s];r&&!r.isDefaultInstance&&e.isDefaultInstance||(t[s]=e)}),Object.keys(t).map(e=>t[e])}function sO(e){let t;let s=e.defaultIntegrations||[],r=e.integrations;s.forEach(e=>{e.isDefaultInstance=!0});let i=sR(t=Array.isArray(r)?[...s,...r]:"function"==typeof r?eA(r(s)):s),o=sN(i,e=>"Debug"===e.name);if(-1!==o){let[e]=i.splice(o,1);i.push(e)}return i}function sj(e,t){let s={};return t.forEach(t=>{t&&sT(e,t,s)}),s}function sP(e,t){for(let s of t)s&&s.afterAllSetup&&s.afterAllSetup(e)}function sT(e,t,s){if(s[t.name]){tu&&eo.log(`Integration skipped because it was already installed: ${t.name}`);return}if(s[t.name]=t,-1===sA.indexOf(t.name)&&"function"==typeof t.setupOnce&&(t.setupOnce(),sA.push(t.name)),t.setup&&"function"==typeof t.setup&&t.setup(e),"function"==typeof t.preprocessEvent){let s=t.preprocessEvent.bind(t);e.on("preprocessEvent",(t,r)=>s(t,r,e))}if("function"==typeof t.processEvent){let s=t.processEvent.bind(t),r=Object.assign((t,r)=>s(t,r,e),{id:t.name});e.addEventProcessor(r)}tu&&eo.log(`Integration installed: ${t.name}`)}function sN(e,t){for(let s=0;s<e.length;s++)if(!0===t(e[s]))return s;return -1}function sD(e){return e}let sL=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],sB="InboundFilters",sq=sD((e={})=>({name:sB,processEvent:(t,s,r)=>sz(t,sF(e,r.getOptions()))?null:t}));function sF(e={},t={}){return{allowUrls:[...e.allowUrls||[],...t.allowUrls||[]],denyUrls:[...e.denyUrls||[],...t.denyUrls||[]],ignoreErrors:[...e.ignoreErrors||[],...t.ignoreErrors||[],...e.disableErrorDefaults?[]:sL],ignoreTransactions:[...e.ignoreTransactions||[],...t.ignoreTransactions||[]],ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}function sz(e,t){return t.ignoreInternal&&sK(e)?(tu&&eo.warn(`Event dropped due to being internal Sentry Error.
Event: ${eS(e)}`),!0):sU(e,t.ignoreErrors)?(tu&&eo.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
Event: ${eS(e)}`),!0):sV(e,t.ignoreTransactions)?(tu&&eo.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
Event: ${eS(e)}`),!0):s$(e,t.denyUrls)?(tu&&eo.warn(`Event dropped due to being matched by \`denyUrls\` option.
Event: ${eS(e)}.
Url: ${sZ(e)}`),!0):!sH(e,t.allowUrls)&&(tu&&eo.warn(`Event dropped due to not being matched by \`allowUrls\` option.
Event: ${eS(e)}.
Url: ${sZ(e)}`),!0)}function sU(e,t){return!e.type&&!!t&&!!t.length&&sW(e).some(e=>eu(e,t))}function sV(e,t){if("transaction"!==e.type||!t||!t.length)return!1;let s=e.transaction;return!!s&&eu(s,t)}function s$(e,t){if(!t||!t.length)return!1;let s=sZ(e);return!!s&&eu(s,t)}function sH(e,t){if(!t||!t.length)return!0;let s=sZ(e);return!s||eu(s,t)}function sW(e){let t;let s=[];e.message&&s.push(e.message);try{t=e.exception.values[e.exception.values.length-1]}catch(e){}return t&&t.value&&(s.push(t.value),t.type&&s.push(`${t.type}: ${t.value}`)),s}function sK(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}function sG(e=[]){for(let t=e.length-1;t>=0;t--){let s=e[t];if(s&&"<anonymous>"!==s.filename&&"[native code]"!==s.filename)return s.filename||null}return null}function sZ(e){try{let t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?sG(t):null}catch(t){return tu&&eo.error(`Cannot extract url for event ${eS(e)}`),null}}let sQ="FunctionToString",sX=new WeakMap,sY=sD(()=>({name:sQ,setupOnce(){o=Function.prototype.toString;try{Function.prototype.toString=function(...e){let t=eh(this),s=sX.has(eJ())&&void 0!==t?t:this;return o.apply(s,e)}}catch(e){}},setup(e){sX.set(e,!0)}})),sJ="Dedupe",s1=sD(()=>{let e;return{name:sJ,processEvent(t){if(t.type)return t;try{if(s8(t,e))return tu&&eo.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){}return e=t}}});function s8(e,t){return!!t&&!!(s0(e,t)||s2(e,t))}function s0(e,t){let s=e.message,r=t.message;return!!((s||r)&&(!s||r)&&(s||!r)&&s===r&&s6(e,t)&&s3(e,t))}function s2(e,t){let s=s4(t),r=s4(e);return!!(s&&r&&s.type===r.type&&s.value===r.value&&s6(e,t)&&s3(e,t))}function s3(e,t){let s=s5(e),r=s5(t);if(!s&&!r)return!0;if(s&&!r||!s&&r||r.length!==s.length)return!1;for(let e=0;e<r.length;e++){let t=r[e],i=s[e];if(t.filename!==i.filename||t.lineno!==i.lineno||t.colno!==i.colno||t.function!==i.function)return!1}return!0}function s6(e,t){let s=e.fingerprint,r=t.fingerprint;if(!s&&!r)return!0;if(s&&!r||!s&&r)return!1;try{return!(s.join("")!==r.join(""))}catch(e){return!1}}function s4(e){return e.exception&&e.exception.values&&e.exception.values[0]}function s5(e){let t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){}}function s9(e,t){!0===t.debug&&(tu?eo.enable():ei(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),eZ().update(t.initialScope);let s=new e(t);s7(s),s.init()}function s7(e){eZ().setClient(e),re(e)}function re(e){let t=E(S());t.hub&&"function"==typeof t.hub.getStackTop&&(t.hub.getStackTop().client=e)}let rt=C;function rs(){if(!("fetch"in rt))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(e){return!1}}function rr(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function rn(){if("string"==typeof EdgeRuntime)return!0;if(!rs())return!1;if(rr(rt.fetch))return!0;let e=!1,t=rt.document;if(t&&"function"==typeof t.createElement)try{let s=t.createElement("iframe");s.hidden=!0,t.head.appendChild(s),s.contentWindow&&s.contentWindow.fetch&&(e=rr(s.contentWindow.fetch)),t.head.removeChild(s)}catch(e){et&&eo.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return e}let ri={},ro={};function ra(e,t){ri[e]=ri[e]||[],ri[e].push(t)}function rl(e,t){ro[e]||(t(),ro[e]=!0)}function rf(e,t){let s=e&&ri[e];if(s)for(let r of s)try{r(t)}catch(t){et&&eo.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${e7(r)}
Error:`,t)}}let ru=C;function rc(){let e=ru.chrome,t=e&&e.app&&e.app.runtime,s="history"in ru&&!!ru.history.pushState&&!!ru.history.replaceState;return!t&&s}let rd=C;function rp(e){let t="history";ra(t,e),rl(t,rh)}function rh(){if(!rc())return;let e=rd.onpopstate;function t(e){return function(...t){let s=t.length>2?t[2]:void 0;if(s){let e=a,t=String(s);a=t,rf("history",{from:e,to:t})}return e.apply(this,t)}}rd.onpopstate=function(...t){let s=rd.location.href,r=a;if(a=s,rf("history",{from:r,to:s}),e)try{return e.apply(this,t)}catch(e){}},ec(rd.history,"pushState",t),ec(rd.history,"replaceState",t)}let rb=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function r_(e){return"http"===e||"https"===e}function rm(e,t=!1){let{host:s,path:r,pass:i,port:o,projectId:a,protocol:l,publicKey:f}=e;return`${l}://${f}${t&&i?`:${i}`:""}@${s}${o?`:${o}`:""}/${r?`${r}/`:r}${a}`}function rg(e){let t=rb.exec(e);if(!t){ei(()=>{console.error(`Invalid Sentry Dsn: ${e}`)});return}let[s,r,i="",o,a="",l]=t.slice(1),f="",u=l,c=u.split("/");if(c.length>1&&(f=c.slice(0,-1).join("/"),u=c.pop()),u){let e=u.match(/^\d+/);e&&(u=e[0])}return rv({host:o,pass:i,path:f,projectId:u,port:a,protocol:s,publicKey:r})}function rv(e){return{protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function ry(e){if(!et)return!0;let{port:t,projectId:s,protocol:r}=e;return!["protocol","publicKey","host","projectId"].find(t=>!e[t]&&(eo.error(`Invalid Sentry Dsn: ${t} missing`),!0))&&(s.match(/^\d+$/)?r_(r)?!(t&&isNaN(parseInt(t,10)))||(eo.error(`Invalid Sentry Dsn: Invalid port ${t}`),!1):(eo.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(eo.error(`Invalid Sentry Dsn: Invalid projectId ${s}`),!1))}function rw(e){let t="string"==typeof e?rg(e):rv(e);if(t&&ry(t))return t}function rC(e,t=[]){return[e,t]}function rk(e,t){let[s,r]=e;return[s,[...r,t]]}function rx(e,t){for(let s of e[1]){let e=s[0].type;if(t(s,e))return!0}return!1}function rS(e){return C.__SENTRY__&&C.__SENTRY__.encodePolyfill?C.__SENTRY__.encodePolyfill(e):new TextEncoder().encode(e)}function rE(e){let[t,s]=e,r=JSON.stringify(t);function i(e){"string"==typeof r?r="string"==typeof e?r+e:[rS(r),e]:r.push("string"==typeof e?rS(e):e)}for(let e of s){let[t,s]=e;if(i(`
${JSON.stringify(t)}
`),"string"==typeof s||s instanceof Uint8Array)i(s);else{let e;try{e=JSON.stringify(s)}catch(t){e=JSON.stringify(te(s))}i(e)}}return"string"==typeof r?r:rM(r)}function rM(e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),s=0;for(let r of e)t.set(r,s),s+=r.length;return t}function rI(e){return[{type:"span"},e]}function rA(e){let t="string"==typeof e.data?rS(e.data):e.data;return[ey({type:"attachment",length:t.length,filename:e.filename,content_type:e.contentType,attachment_type:e.attachmentType}),t]}let rR={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function rO(e){return rR[e]}function rj(e){if(!e||!e.sdk)return;let{name:t,version:s}=e.sdk;return{name:t,version:s}}function rP(e,t,s,r){let i=e.sdkProcessingMetadata&&e.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:e.event_id,sent_at:new Date().toISOString(),...t&&{sdk:t},...!!s&&r&&{dsn:rm(r)},...i&&{trace:ey({...i})}}}class rT extends Error{constructor(e,t="warn"){super(e),this.message=e,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=t}}let rN="7";function rD(e){let t=e.protocol?`${e.protocol}:`:"",s=e.port?`:${e.port}`:"";return`${t}//${e.host}${s}${e.path?`/${e.path}`:""}/api/`}function rL(e){return`${rD(e)}${e.projectId}/envelope/`}function rB(e,t){return eb({sentry_key:e.publicKey,sentry_version:rN,...t&&{sentry_client:`${t.name}/${t.version}`}})}function rq(e,t,s){return t||`${rL(e)}?${rB(e,s)}`}function rF(e,t){return t&&(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=[...e.sdk.integrations||[],...t.integrations||[]],e.sdk.packages=[...e.sdk.packages||[],...t.packages||[]]),e}function rz(e,t,s,r){let i=rj(s);return rC({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&t&&{dsn:rm(t)}},["aggregates"in e?[{type:"sessions"},e]:[{type:"session"},e.toJSON()]])}function rU(e,t,s,r){let i=rj(s),o=e.type&&"replay_event"!==e.type?e.type:"event";rF(e,s&&s.sdk);let a=rP(e,i,r,t);return delete e.sdkProcessingMetadata,rC(a,[[{type:o},e]])}function rV(e){function t(e){return!!e.trace_id&&!!e.public_key}let s=t7(e[0]);return rC({sent_at:new Date().toISOString(),...t(s)&&{trace:s}},e.map(e=>rI(tG(e))))}function r$(e){if("boolean"==typeof e)return Number(e);let t="string"==typeof e?parseFloat(e):e;if("number"!=typeof t||isNaN(t)){tu&&eo.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(e)} of type ${JSON.stringify(typeof e)}.`);return}if(t<0||t>1){tu&&eo.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${t}.`);return}return t}let rH="Not capturing exception because it's already been captured.";class rW{constructor(e){if(this._options=e,this._integrations={},this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],e.dsn?this._dsn=rw(e.dsn):tu&&eo.warn("No DSN provided, client will not send events."),this._dsn){let t=rq(this._dsn,e.tunnel,e._metadata?e._metadata.sdk:void 0);this._transport=e.transport({tunnel:this._options.tunnel,recordDroppedEvent:this.recordDroppedEvent.bind(this),...e.transportOptions,url:t})}}captureException(e,t,s){let r=ek();if(eI(e))return tu&&eo.log(rH),r;let i={event_id:r,...t};return this._process(this.eventFromException(e,i).then(e=>this._captureEvent(e,i,s))),i.event_id}captureMessage(e,t,s,r){let i={event_id:ek(),...s},o=T(e)?e:String(e),a=N(e)?this.eventFromMessage(o,t,i):this.eventFromException(e,i);return this._process(a.then(e=>this._captureEvent(e,i,r))),i.event_id}captureEvent(e,t,s){let r=ek();if(t&&t.originalException&&eI(t.originalException))return tu&&eo.log(rH),r;let i={event_id:r,...t},o=(e.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(e,i,o||s)),i.event_id}captureSession(e){"string"!=typeof e.release?tu&&eo.warn("Discarded session because of missing or non-string release"):(this.sendSession(e),eO(e,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(e){let t=this._transport;return t?(this.emit("flush"),this._isClientDoneProcessing(e).then(s=>t.flush(e).then(e=>s&&e))):ta(!0)}close(e){return this.flush(e).then(e=>(this.getOptions().enabled=!1,this.emit("close"),e))}getEventProcessors(){return this._eventProcessors}addEventProcessor(e){this._eventProcessors.push(e)}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationByName(e){return this._integrations[e]}addIntegration(e){let t=this._integrations[e.name];sT(this,e,this._integrations),t||sP(this,[e])}sendEvent(e,t={}){this.emit("beforeSendEvent",e,t);let s=rU(e,this._dsn,this._options._metadata,this._options.tunnel);for(let e of t.attachments||[])s=rk(s,rA(e));let r=this.sendEnvelope(s);r&&r.then(t=>this.emit("afterSendEvent",e,t),null)}sendSession(e){let t=rz(e,this._dsn,this._options._metadata,this._options.tunnel);this.sendEnvelope(t)}recordDroppedEvent(e,t,s){if(this._options.sendClientReports){let s=`${e}:${t}`;tu&&eo.log(`Adding outcome: "${s}"`),this._outcomes[s]=this._outcomes[s]+1||1}}on(e,t){this._hooks[e]||(this._hooks[e]=[]),this._hooks[e].push(t)}emit(e,...t){this._hooks[e]&&this._hooks[e].forEach(e=>e(...t))}sendEnvelope(e){return(this.emit("beforeEnvelope",e),this._isEnabled()&&this._transport)?this._transport.send(e).then(null,e=>(tu&&eo.error("Error while sending event:",e),e)):(tu&&eo.error("Transport disabled"),ta({}))}_setupIntegrations(){let{integrations:e}=this._options;this._integrations=sj(this,e),sP(this,e)}_updateSessionFromEvent(e,t){let s=!1,r=!1,i=t.exception&&t.exception.values;if(i)for(let e of(r=!0,i)){let t=e.mechanism;if(t&&!1===t.handled){s=!0;break}}let o="ok"===e.status;(o&&0===e.errors||o&&s)&&(eO(e,{...s&&{status:"crashed"},errors:e.errors||Number(r||s)}),this.captureSession(e))}_isClientDoneProcessing(e){return new tf(t=>{let s=0,r=1,i=setInterval(()=>{0==this._numProcessing?(clearInterval(i),t(!0)):(s+=r,e&&s>=e&&(clearInterval(i),t(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(e,t,s,r=eQ()){let i=this.getOptions(),o=Object.keys(this._integrations);return!t.integrations&&o.length>0&&(t.integrations=o),this.emit("preprocessEvent",e,t),sl(i,e,t,s,this,r).then(e=>{if(null===e)return e;let t={...r.getPropagationContext(),...s?s.getPropagationContext():void 0};if(!(e.contexts&&e.contexts.trace)&&t){let{traceId:s,spanId:r,parentSpanId:i,dsc:o}=t;e.contexts={trace:ey({trace_id:s,span_id:r,parent_span_id:i}),...e.contexts};let a=o||t9(s,this);e.sdkProcessingMetadata={dynamicSamplingContext:a,...e.sdkProcessingMetadata}}return e})}_captureEvent(e,t={},s){return this._processEvent(e,t,s).then(e=>e.event_id,e=>{if(tu){let t=e;"log"===t.logLevel?eo.log(t.message):eo.warn(t)}})}_processEvent(e,t,s){let r=this.getOptions(),{sampleRate:i}=r,o=rQ(e),a=rZ(e),l=e.type||"error",f=`before send for type \`${l}\``,u=void 0===i?void 0:r$(i);if(a&&"number"==typeof u&&Math.random()>u)return this.recordDroppedEvent("sample_rate","error",e),tl(new rT(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let c="replay_event"===l?"replay":l,d=(e.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(e,t,s,d).then(s=>{if(null===s)throw this.recordDroppedEvent("event_processor",c,e),new rT("An event processor returned `null`, will not send event.","log");return t.data&&!0===t.data.__sentry__?s:rK(rG(r,s,t),f)}).then(r=>{if(null===r)throw this.recordDroppedEvent("before_send",c,e),new rT(`${f} returned \`null\`, will not send event.`,"log");let i=s&&s.getSession();!o&&i&&this._updateSessionFromEvent(i,r);let a=r.transaction_info;if(o&&a&&r.transaction!==e.transaction){let e="custom";r.transaction_info={...a,source:e}}return this.sendEvent(r,t),r}).then(null,e=>{if(e instanceof rT)throw e;throw this.captureException(e,{data:{__sentry__:!0},originalException:e}),new rT(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.
Reason: ${e}`)})}_process(e){this._numProcessing++,e.then(e=>(this._numProcessing--,e),e=>(this._numProcessing--,e))}_clearOutcomes(){let e=this._outcomes;return this._outcomes={},Object.keys(e).map(t=>{let[s,r]=t.split(":");return{reason:s,category:r,quantity:e[t]}})}}function rK(e,t){let s=`${t} must return \`null\` or a valid event.`;if(F(e))return e.then(e=>{if(!D(e)&&null!==e)throw new rT(s);return e},e=>{throw new rT(`${t} rejected with ${e}`)});if(!D(e)&&null!==e)throw new rT(s);return e}function rG(e,t,s){let{beforeSend:r,beforeSendTransaction:i}=e;return rZ(t)&&r?r(t,s):rQ(t)&&i?i(t,s):t}function rZ(e){return void 0===e.type}function rQ(e){return"transaction"===e.type}function rX(){return"npm"}function rY(e,t,s){return rC(t?{dsn:t}:{},[[{type:"client_report"},{timestamp:s||H(),discarded_events:e}]])}let rJ=!1;function r1(e,t){let s=r2(e,t),r={type:t&&t.name,value:r5(t)};return s.length&&(r.stacktrace={frames:s}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function r8(e,t,s,r){let i=eJ(),o=i&&i.getOptions().normalizeDepth,a=nn(t),l={__serialized__:tt(t,o)};if(a)return{exception:{values:[r1(e,a)]},extra:l};let f={exception:{values:[{type:L(t)?t.constructor.name:r?"UnhandledRejection":"Error",value:ns(t,{isUnhandledRejection:r})}]},extra:l};if(s){let t=r2(e,s);t.length&&(f.exception.values[0].stacktrace={frames:t})}return f}function r0(e,t){return{exception:{values:[r1(e,t)]}}}function r2(e,t){let s=t.stacktrace||t.stack||"",r=r6(t),i=r4(t);try{return e(s,r,i)}catch(e){}return[]}let r3=/Minified React error #\d+;/i;function r6(e){return e&&r3.test(e.message)?1:0}function r4(e){return"number"==typeof e.framesToPop?e.framesToPop:0}function r5(e){let t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function r9(e,t,s,r){let i=ne(e,t,s&&s.syntheticException||void 0,r);return eM(i),i.level="error",s&&s.event_id&&(i.event_id=s.event_id),ta(i)}function r7(e,t,s="info",r,i){let o=nt(e,t,r&&r.syntheticException||void 0,i);return o.level=s,r&&r.event_id&&(o.event_id=r.event_id),ta(o)}function ne(e,t,s,r,i){let o;if(R(t)&&t.error)return r0(e,t.error);if(O(t)||j(t)){let i=t;if("stack"in t)o=r0(e,t);else{let t=i.name||(O(i)?"DOMError":"DOMException"),a=i.message?`${t}: ${i.message}`:t;eE(o=nt(e,a,s,r),a)}return"code"in i&&(o.tags={...o.tags,"DOMException.code":`${i.code}`}),o}return I(t)?r0(e,t):(D(t)||L(t)?eM(o=r8(e,t,s,i),{synthetic:!0}):(eE(o=nt(e,t,s,r),`${t}`,void 0),eM(o,{synthetic:!0})),o)}function nt(e,t,s,r){let i={};if(r&&s){let r=r2(e,s);r.length&&(i.exception={values:[{value:t,stacktrace:{frames:r}}]})}if(T(t)){let{__sentry_template_string__:e,__sentry_template_values__:s}=t;return i.logentry={message:e,params:s},i}return i.message=t,i}function ns(e,{isUnhandledRejection:t}){let s=ev(e),r=t?"promise rejection":"exception";if(R(e))return`Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\``;if(L(e)){let t=nr(e);return`Event \`${t}\` (type=${e.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${s}`}function nr(e){try{let t=Object.getPrototypeOf(e);return t?t.constructor.name:void 0}catch(e){}}function nn(e){for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)){let s=e[t];if(s instanceof Error)return s}}let ni=C,no=0;function na(){return no>0}function nl(){no++,setTimeout(()=>{no--})}function nf(e,t={},s){if("function"!=typeof e)return e;try{let t=e.__sentry_wrapped__;if(t)return t;if(eh(e))return e}catch(t){return e}let r=function(){let r=Array.prototype.slice.call(arguments);try{s&&"function"==typeof s&&s.apply(this,arguments);let i=r.map(e=>nf(e,t));return e.apply(this,i)}catch(e){throw nl(),eY(s=>{s.addEventProcessor(e=>(t.mechanism&&(eE(e,void 0,void 0),eM(e,t.mechanism)),e.extra={...e.extra,arguments:r},e)),sy(e)}),e}};try{for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t])}catch(e){}ep(r,e),ed(e,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>e.name})}catch(e){}return r}function nu(e,{metadata:t,tunnel:s,dsn:r}){return rC({event_id:e.event_id,sent_at:new Date().toISOString(),...t&&t.sdk&&{sdk:{name:t.sdk.name,version:t.sdk.version}},...!!s&&!!r&&{dsn:rm(r)}},[nc(e)])}function nc(e){return[{type:"user_report"},e]}class nd extends rW{constructor(e){let t={parentSpanIsAlwaysRootSpan:!0,...e};w(t,"browser",["browser"],ni.SENTRY_SDK_SOURCE||rX()),super(t),t.sendClientReports&&ni.document&&ni.document.addEventListener("visibilitychange",()=>{"hidden"===ni.document.visibilityState&&this._flushOutcomes()})}eventFromException(e,t){return r9(this._options.stackParser,e,t,this._options.attachStacktrace)}eventFromMessage(e,t="info",s){return r7(this._options.stackParser,e,t,s,this._options.attachStacktrace)}captureUserFeedback(e){if(!this._isEnabled()){rJ&&eo.warn("SDK not enabled, will not capture user feedback.");return}let t=nu(e,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this.sendEnvelope(t)}_prepareEvent(e,t,s){return e.platform=e.platform||"javascript",super._prepareEvent(e,t,s)}_flushOutcomes(){let e=this._clearOutcomes();if(0===e.length){rJ&&eo.log("No outcomes to send");return}if(!this._dsn){rJ&&eo.log("No dsn provided, will not send outcomes");return}rJ&&eo.log("Sending outcomes:",e);let t=rY(e,this._options.tunnel&&rm(this._dsn));this.sendEnvelope(t)}}let np=1e3;function nh(e){let t="dom";ra(t,e),rl(t,nb)}function nb(){if(!rd.document)return;let e=rf.bind(null,"dom"),t=ng(e,!0);rd.document.addEventListener("click",t,!1),rd.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach(t=>{let s=rd[t]&&rd[t].prototype;s&&s.hasOwnProperty&&s.hasOwnProperty("addEventListener")&&(ec(s,"addEventListener",function(t){return function(s,r,i){if("click"===s||"keypress"==s)try{let r=this,o=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},a=o[s]=o[s]||{refCount:0};if(!a.handler){let r=ng(e);a.handler=r,t.call(this,s,r,i)}a.refCount++}catch(e){}return t.call(this,s,r,i)}}),ec(s,"removeEventListener",function(e){return function(t,s,r){if("click"===t||"keypress"==t)try{let s=this,i=s.__sentry_instrumentation_handlers__||{},o=i[t];o&&(o.refCount--,o.refCount<=0&&(e.call(this,t,o.handler,r),o.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete s.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,s,r)}}))})}function n_(e){if(e.type!==f)return!1;try{if(!e.target||e.target._sentryId!==u)return!1}catch(e){}return!0}function nm(e,t){return"keypress"===e&&(!t||!t.tagName||"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!t.isContentEditable)}function ng(e,t=!1){return s=>{if(!s||s._sentryCaptured)return;let r=nv(s);if(nm(s.type,r))return;ed(s,"_sentryCaptured",!0),r&&!r._sentryId&&ed(r,"_sentryId",ek());let i="keypress"===s.type?"input":s.type;n_(s)||(e({event:s,name:i,global:t}),f=s.type,u=r?r._sentryId:void 0),clearTimeout(l),l=rd.setTimeout(()=>{u=void 0,f=void 0},np)}}function nv(e){try{return e.target}catch(e){return null}}let ny="__sentry_xhr_v3__";function nw(e){let t="xhr";ra(t,e),rl(t,nC)}function nC(){if(!rd.XMLHttpRequest)return;let e=XMLHttpRequest.prototype;ec(e,"open",function(e){return function(...t){let s=Date.now(),r=P(t[0])?t[0].toUpperCase():void 0,i=nk(t[1]);if(!r||!i)return e.apply(this,t);this[ny]={method:r,url:i,request_headers:{}},"POST"===r&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let o=()=>{let e=this[ny];if(e&&4===this.readyState){try{e.status_code=this.status}catch(e){}rf("xhr",{endTimestamp:Date.now(),startTimestamp:s,xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?ec(this,"onreadystatechange",function(e){return function(...t){return o(),e.apply(this,t)}}):this.addEventListener("readystatechange",o),ec(this,"setRequestHeader",function(e){return function(...t){let[s,r]=t,i=this[ny];return i&&P(s)&&P(r)&&(i.request_headers[s.toLowerCase()]=r),e.apply(this,t)}}),e.apply(this,t)}}),ec(e,"send",function(e){return function(...t){let s=this[ny];return s&&(void 0!==t[0]&&(s.body=t[0]),rf("xhr",{startTimestamp:Date.now(),xhr:this})),e.apply(this,t)}})}function nk(e){if(P(e))return e;try{return e.toString()}catch(e){}}let nx=100;function nS(e,t){let s=eJ(),r=eQ();if(!s)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:o=nx}=s.getOptions();if(o<=0)return;let a={timestamp:H(),...e},l=i?ei(()=>i(a,t)):a;null!==l&&(s.emit&&s.emit("beforeAddBreadcrumb",l,t),r.addBreadcrumb(l,o))}function nE(e){let t="console";ra(t,e),rl(t,nM)}function nM(){"console"in C&&er.forEach(function(e){e in C.console&&ec(C.console,e,function(t){return en[e]=t,function(...t){rf("console",{args:t,level:e});let s=en[e];s&&s.apply(C.console,t)}})})}function nI(e){let t="fetch";ra(t,e),rl(t,nA)}function nA(){rn()&&ec(C,"fetch",function(e){return function(...t){let{method:s,url:r}=nj(t),i={args:t,fetchData:{method:s,url:r},startTimestamp:Date.now()};return rf("fetch",{...i}),e.apply(C,t).then(e=>(rf("fetch",{...i,endTimestamp:Date.now(),response:e}),e),e=>{throw rf("fetch",{...i,endTimestamp:Date.now(),error:e}),e})}})}function nR(e,t){return!!e&&"object"==typeof e&&!!e[t]}function nO(e){return"string"==typeof e?e:e?nR(e,"url")?e.url:e.toString?e.toString():"":""}function nj(e){if(0===e.length)return{method:"GET",url:""};if(2===e.length){let[t,s]=e;return{url:nO(t),method:nR(s,"method")?String(s.method).toUpperCase():"GET"}}let t=e[0];return{url:nO(t),method:nR(t,"method")?String(t.method).toUpperCase():"GET"}}let nP=["fatal","error","warning","log","info","debug"];function nT(e){return"warn"===e?"warning":nP.includes(e)?e:"log"}function nN(e){if(!e)return{};let t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};let s=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],search:s,hash:r,relative:t[5]+s+r}}function nD(e){return e.split(/[\?#]/,1)[0]}let nL=1024,nB="Breadcrumbs",nq=sD((e={})=>{let t={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...e};return{name:nB,setup(e){t.console&&nE(nU(e)),t.dom&&nh(nz(e,t.dom)),t.xhr&&nw(nV(e)),t.fetch&&nI(n$(e)),t.history&&rp(nH(e)),t.sentry&&e.on("beforeSendEvent",nF(e))}}});function nF(e){return function(t){eJ()===e&&nS({category:`sentry.${"transaction"===t.type?"transaction":"event"}`,event_id:t.event_id,level:t.level,message:eS(t)},{event:t})}}function nz(e,t){return function(s){let r,i;if(eJ()!==e)return;let o="object"==typeof t?t.serializeAttribute:void 0,a="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;a&&a>nL&&(rJ&&eo.warn(`\`dom.maxStringLength\` cannot exceed ${nL}, but a value of ${a} was configured. Sentry will use ${nL} instead.`),a=nL),"string"==typeof o&&(o=[o]);try{let e=s.event,t=nW(e)?e.target:e;r=Q(t,{keyAttrs:o,maxStringLength:a}),i=ee(t)}catch(e){r="<unknown>"}if(0===r.length)return;let l={category:`ui.${s.name}`,message:r};i&&(l.data={"ui.component_name":i}),nS(l,{event:s.event,name:s.name,global:s.global})}}function nU(e){return function(t){if(eJ()!==e)return;let s={category:"console",data:{arguments:t.args,logger:"console"},level:nT(t.level),message:el(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;s.message=`Assertion failed: ${el(t.args.slice(1)," ")||"console.assert"}`,s.data.arguments=t.args.slice(1)}nS(s,{input:t.args,level:t.level})}}function nV(e){return function(t){if(eJ()!==e)return;let{startTimestamp:s,endTimestamp:r}=t,i=t.xhr[ny];if(!s||!r||!i)return;let{method:o,url:a,status_code:l,body:f}=i;nS({category:"xhr",data:{method:o,url:a,status_code:l},type:"http"},{xhr:t.xhr,input:f,startTimestamp:s,endTimestamp:r})}}function n$(e){return function(t){if(eJ()!==e)return;let{startTimestamp:s,endTimestamp:r}=t;if(!(!r||t.fetchData.url.match(/sentry_key/)&&"POST"===t.fetchData.method)){if(t.error)nS({category:"fetch",data:t.fetchData,level:"error",type:"http"},{data:t.error,input:t.args,startTimestamp:s,endTimestamp:r});else{let e=t.response;nS({category:"fetch",data:{...t.fetchData,status_code:e&&e.status},type:"http"},{input:t.args,response:e,startTimestamp:s,endTimestamp:r})}}}}function nH(e){return function(t){if(eJ()!==e)return;let s=t.from,r=t.to,i=nN(ni.location.href),o=s?nN(s):void 0,a=nN(r);o&&o.path||(o=i),i.protocol===a.protocol&&i.host===a.host&&(r=a.relative),i.protocol===o.protocol&&i.host===o.host&&(s=o.relative),nS({category:"navigation",data:{from:s,to:r}})}}function nW(e){return!!e&&!!e.target}let nK=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],nG="BrowserApiErrors",nZ=sD((e={})=>{let t={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...e};return{name:nG,setupOnce(){t.setTimeout&&ec(ni,"setTimeout",nQ),t.setInterval&&ec(ni,"setInterval",nQ),t.requestAnimationFrame&&ec(ni,"requestAnimationFrame",nX),t.XMLHttpRequest&&"XMLHttpRequest"in ni&&ec(XMLHttpRequest.prototype,"send",nY);let e=t.eventTarget;e&&(Array.isArray(e)?e:nK).forEach(nJ)}}});function nQ(e){return function(...t){let s=t[0];return t[0]=nf(s,{mechanism:{data:{function:e7(e)},handled:!1,type:"instrument"}}),e.apply(this,t)}}function nX(e){return function(t){return e.apply(this,[nf(t,{mechanism:{data:{function:"requestAnimationFrame",handler:e7(e)},handled:!1,type:"instrument"}})])}}function nY(e){return function(...t){let s=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(e=>{e in s&&"function"==typeof s[e]&&ec(s,e,function(t){let s={mechanism:{data:{function:e,handler:e7(t)},handled:!1,type:"instrument"}},r=eh(t);return r&&(s.mechanism.data.handler=e7(r)),nf(t,s)})}),e.apply(this,t)}}function nJ(e){let t=ni,s=t[e]&&t[e].prototype;s&&s.hasOwnProperty&&s.hasOwnProperty("addEventListener")&&(ec(s,"addEventListener",function(t){return function(s,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=nf(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:e7(r),target:e},handled:!1,type:"instrument"}}))}catch(e){}return t.apply(this,[s,nf(r,{mechanism:{data:{function:"addEventListener",handler:e7(r),target:e},handled:!1,type:"instrument"}}),i])}}),ec(s,"removeEventListener",function(e){return function(t,s,r){let i=s;try{let s=i&&i.__sentry_wrapped__;s&&e.call(this,t,s,r)}catch(e){}return e.call(this,t,i,r)}}))}let n1=null;function n8(e){let t="error";ra(t,e),rl(t,n0)}function n0(){n1=C.onerror,C.onerror=function(e,t,s,r,i){return rf("error",{column:r,error:i,line:s,msg:e,url:t}),!!n1&&!n1.__SENTRY_LOADER__&&n1.apply(this,arguments)},C.onerror.__SENTRY_INSTRUMENTED__=!0}let n2=null;function n3(e){let t="unhandledrejection";ra(t,e),rl(t,n6)}function n6(){n2=C.onunhandledrejection,C.onunhandledrejection=function(e){return rf("unhandledrejection",e),!n2||!!n2.__SENTRY_LOADER__||n2.apply(this,arguments)},C.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}let n4="GlobalHandlers",n5=sD((e={})=>{let t={onerror:!0,onunhandledrejection:!0,...e};return{name:n4,setupOnce(){Error.stackTraceLimit=50},setup(e){t.onerror&&(n9(e),ir("onerror")),t.onunhandledrejection&&(n7(e),ir("onunhandledrejection"))}}});function n9(e){n8(t=>{let{stackParser:s,attachStacktrace:r}=ii();if(eJ()!==e||na())return;let{msg:i,url:o,line:a,column:l,error:f}=t,u=is(ne(s,f||i,void 0,r,!1),o,a,l);u.level="error",sw(u,{originalException:f,mechanism:{handled:!1,type:"onerror"}})})}function n7(e){n3(t=>{let{stackParser:s,attachStacktrace:r}=ii();if(eJ()!==e||na())return;let i=ie(t),o=N(i)?it(i):ne(s,i,void 0,r,!0);o.level="error",sw(o,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}function ie(e){if(N(e))return e;try{if("reason"in e)return e.reason;if("detail"in e&&"reason"in e.detail)return e.detail.reason}catch(e){}return e}function it(e){return{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(e)}`}]}}}function is(e,t,s,r){let i=e.exception=e.exception||{},o=i.values=i.values||[],a=o[0]=o[0]||{},l=a.stacktrace=a.stacktrace||{},f=l.frames=l.frames||[],u=isNaN(parseInt(r,10))?void 0:r,c=isNaN(parseInt(s,10))?void 0:s,d=P(t)&&t.length>0?t:Y();return 0===f.length&&f.push({colno:u,filename:d,function:e0,in_app:!0,lineno:c}),e}function ir(e){rJ&&eo.log(`Global Handler attached: ${e}`)}function ii(){let e=eJ();return e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}let io=sD(()=>({name:"HttpContext",preprocessEvent(e){if(!ni.navigator&&!ni.location&&!ni.document)return;let t=e.request&&e.request.url||ni.location&&ni.location.href,{referrer:s}=ni.document||{},{userAgent:r}=ni.navigator||{},i={...e.request&&e.request.headers,...s&&{Referer:s},...r&&{"User-Agent":r}},o={...e.request,...t&&{url:t},headers:i};e.request=o}}));function ia(e,t,s=250,r,i,o,a){if(!o.exception||!o.exception.values||!a||!U(a.originalException,Error))return;let l=o.exception.values.length>0?o.exception.values[o.exception.values.length-1]:void 0;l&&(o.exception.values=id(il(e,t,i,a.originalException,r,o.exception.values,l,0),s))}function il(e,t,s,r,i,o,a,l){if(o.length>=s+1)return o;let f=[...o];if(U(r[i],Error)){iu(a,l);let o=e(t,r[i]),u=f.length;ic(o,i,u,l),f=il(e,t,s,r[i],i,[o,...f],o,u)}return Array.isArray(r.errors)&&r.errors.forEach((r,o)=>{if(U(r,Error)){iu(a,l);let u=e(t,r),c=f.length;ic(u,`errors[${o}]`,c,l),f=il(e,t,s,r,i,[u,...f],u,c)}}),f}function iu(e,t){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,..."AggregateError"===e.type&&{is_exception_group:!0},exception_id:t}}function ic(e,t,s,r){e.mechanism=e.mechanism||{type:"generic",handled:!0},e.mechanism={...e.mechanism,type:"chained",source:t,exception_id:s,parent_id:r}}function id(e,t){return e.map(e=>(e.value&&(e.value=ea(e.value,t)),e))}let ip="cause",ih=5,ib="LinkedErrors",i_=sD((e={})=>{let t=e.limit||ih,s=e.key||ip;return{name:ib,preprocessEvent(e,r,i){let o=i.getOptions();ia(r1,o.stackParser,o.maxValueLength,s,t,e,r)}}});function im(e,t,s,r){let i={filename:e,function:"<anonymous>"===t?e0:t,in_app:!0};return void 0!==s&&(i.lineno=s),void 0!==r&&(i.colno=r),i}let ig=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,iv=/\((\S*)(?::(\d+))(?::(\d+))\)/,iy=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,iw=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,iC=e6([30,e=>{let t=ig.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){let e=iv.exec(t[2]);e&&(t[2]=e[1],t[3]=e[2],t[4]=e[3])}let[e,s]=ik(t[1]||e0,t[2]);return im(s,e,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],[50,e=>{let t=iy.exec(e);if(t){if(t[3]&&t[3].indexOf(" > eval")>-1){let e=iw.exec(t[3]);e&&(t[1]=t[1]||"eval",t[3]=e[1],t[4]=e[2],t[5]="")}let e=t[3],s=t[1]||e0;return[s,e]=ik(s,e),im(e,s,t[4]?+t[4]:void 0,t[5]?+t[5]:void 0)}}]),ik=(e,t)=>{let s=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return s||r?[-1!==e.indexOf("@")?e.split("@")[0]:e0,s?`safari-extension:${t}`:`safari-web-extension:${t}`]:[e,t]};function ix(e){let t=[];function s(){return void 0===e||t.length<e}function r(e){return t.splice(t.indexOf(e),1)[0]}function i(e){if(!s())return tl(new rT("Not adding Promise because buffer limit was reached."));let i=e();return -1===t.indexOf(i)&&t.push(i),i.then(()=>r(i)).then(null,()=>r(i).then(null,()=>{})),i}function o(e){return new tf((s,r)=>{let i=t.length;if(!i)return s(!0);let o=setTimeout(()=>{e&&e>0&&s(!1)},e);t.forEach(e=>{ta(e).then(()=>{--i||(clearTimeout(o),s(!0))},r)})})}return{$:t,add:i,drain:o}}let iS=6e4;function iE(e,t=Date.now()){let s=parseInt(`${e}`,10);if(!isNaN(s))return 1e3*s;let r=Date.parse(`${e}`);return isNaN(r)?iS:r-t}function iM(e,t){return e[t]||e.all||0}function iI(e,t,s=Date.now()){return iM(e,t)>s}function iA(e,{statusCode:t,headers:s},r=Date.now()){let i={...e},o=s&&s["x-sentry-rate-limits"],a=s&&s["retry-after"];if(o)for(let e of o.trim().split(",")){let[t,s,,,o]=e.split(":",5),a=parseInt(t,10),l=(isNaN(a)?60:a)*1e3;if(s)for(let e of s.split(";"))"metric_bucket"===e?(!o||o.split(";").includes("custom"))&&(i[e]=r+l):i[e]=r+l;else i.all=r+l}else a?i.all=r+iE(a,r):429===t&&(i.all=r+6e4);return i}let iR=64;function iO(e,t,s=ix(e.bufferSize||iR)){let r={};return{send:function(i){let o=[];if(rx(i,(t,s)=>{let i=rO(s);if(iI(r,i)){let r=ij(t,s);e.recordDroppedEvent("ratelimit_backoff",i,r)}else o.push(t)}),0===o.length)return ta({});let a=rC(i[0],o),l=t=>{rx(a,(s,r)=>{let i=ij(s,r);e.recordDroppedEvent(t,rO(r),i)})},f=()=>t({body:rE(a)}).then(e=>(void 0!==e.statusCode&&(e.statusCode<200||e.statusCode>=300)&&tu&&eo.warn(`Sentry responded with status code ${e.statusCode} to sent event.`),r=iA(r,e),e),e=>{throw l("network_error"),e});return s.add(f).then(e=>e,e=>{if(e instanceof rT)return tu&&eo.error("Skipped sending event because buffer is full."),l("queue_overflow"),ta({});throw e})},flush:e=>s.drain(e)}}function ij(e,t){if("event"===t||"transaction"===t)return Array.isArray(e)?e[1]:void 0}function iP(){if(v)return v;if(rr(ni.fetch))return v=ni.fetch.bind(ni);let e=ni.document,t=ni.fetch;if(e&&"function"==typeof e.createElement)try{let s=e.createElement("iframe");s.hidden=!0,e.head.appendChild(s);let r=s.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(s)}catch(e){rJ&&eo.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}try{return v=t.bind(ni)}catch(e){}}function iT(){v=void 0}function iN(e,t=iP()){let s=0,r=0;function i(i){let o=i.body.length;s+=o,r++;let a={body:i.body,method:"POST",referrerPolicy:"origin",headers:e.headers,keepalive:s<=6e4&&r<15,...e.fetchOptions};if(!t)return iT(),tl("No fetch implementation available");try{return t(e.url,a).then(e=>(s-=o,r--,{statusCode:e.status,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")}}))}catch(e){return iT(),s-=o,r--,tl(e)}}return iO(e,i)}function iD(e){return[sq(),sY(),nZ(),nq(),n5(),i_(),s1(),io()]}function iL(e={}){return{defaultIntegrations:iD(),release:"string"==typeof __SENTRY_RELEASE__?__SENTRY_RELEASE__:ni.SENTRY_RELEASE&&ni.SENTRY_RELEASE.id?ni.SENTRY_RELEASE.id:void 0,autoSessionTracking:!0,sendClientReports:!0,...e}}function iB(){let e=ni,t=e&&e.chrome&&e.chrome.runtime&&e.chrome.runtime.id,s=ni;return!!(s&&s.browser&&s.browser.runtime&&s.browser.runtime.id)||!!t}function iq(e={}){let t=iL(e);if(iB()){ei(()=>{console.error("[Sentry] You cannot run Sentry this way in a browser extension, check: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/")});return}rJ&&!rs()&&eo.warn("No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill."),s9(nd,{...t,stackParser:e4(t.stackParser||iC),integrations:sO(t),transport:t.transport||iN}),t.autoSessionTracking&&iF()}function iF(){if(void 0===ni.document){rJ&&eo.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");return}sx({ignoreDuration:!0}),sM(),rp(({from:e,to:t})=>{void 0!==e&&e!==t&&(sx({ignoreDuration:!0}),sM())})}function iz(e){let t={...e};w(t,"react"),iq(t)}var iU,iV=s(3656);function i$(e){let t=e?"preview":iV.env.VERCEL_ENV;return t?`vercel-${t}`:void 0}function iH(e){if(!tu)return;let{description:t="< unknown name >",op:s="< unknown op >",parent_span_id:r}=tG(e),{spanId:i}=e.spanContext(),o=tX(e),a=t3(e),l=a===e,f=`[Tracing] Starting ${o?"sampled":"unsampled"} ${l?"root ":""}span`,u=[`op: ${s}`,`name: ${t}`,`ID: ${i}`];if(r&&u.push(`parent ID: ${r}`),!l){let{op:e,description:t}=tG(a);u.push(`root ID: ${a.spanContext().spanId}`),e&&u.push(`root op: ${e}`),t&&u.push(`root description: ${t}`)}eo.log(`${f}
  ${u.join("\n  ")}`)}function iW(e){if(!tu)return;let{description:t="< unknown name >",op:s="< unknown op >"}=tG(e),{spanId:r}=e.spanContext(),i=t3(e)===e,o=`[Tracing] Finishing "${s}" ${i?"root ":""}span "${t}" with ID ${r}`;eo.log(o)}function iK(e,t){let s;if(!sI(e))return[!1];let r=r$(s="function"==typeof e.tracesSampler?e.tracesSampler(t):void 0!==t.parentSampled?t.parentSampled:void 0!==e.tracesSampleRate?e.tracesSampleRate:1);return void 0===r?(tu&&eo.warn("[Tracing] Discarding transaction because of invalid sample rate."),[!1]):r?Math.random()<r?[!0,r]:(tu&&eo.log(`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(s)})`),[!1,r]):(tu&&eo.log(`[Tracing] Discarding transaction because ${"function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0"}`),[!1,r])}class iG{constructor(e={}){this._traceId=e.traceId||ek(),this._spanId=e.spanId||ek().substring(16)}spanContext(){return{spanId:this._spanId,traceId:this._traceId,traceFlags:tz}}end(e){}setAttribute(e,t){return this}setAttributes(e){return this}setStatus(e){return this}updateName(e){return this}isRecording(){return!1}addEvent(e,t,s){return this}}function iZ(e,t,s){let r=t6(),i=r&&t3(r);i&&i.addEvent(e,{[tg]:t,[tm]:s})}function iQ(e){if(!e||0===e.length)return;let t={};return e.forEach(e=>{let s=e.attributes||{},r=s[tm],i=s[tg];"string"==typeof r&&"number"==typeof i&&(t[e.name]={value:i,unit:r})}),t}let iX="_sentryScope",iY="_sentryIsolationScope";function iJ(e,t,s){e&&(ed(e,iY,s),ed(e,iX,t))}function i1(e){return{scope:e[iX],isolationScope:e[iY]}}class i8{constructor(e={}){this._traceId=e.traceId||ek(),this._spanId=e.spanId||ek().substring(16),this._startTime=e.startTimestamp||W(),this._attributes={},this.setAttributes({[tb]:"manual",[th]:e.op,...e.attributes}),this._name=e.name,e.parentSpanId&&(this._parentSpanId=e.parentSpanId),"sampled"in e&&(this._sampled=e.sampled),e.endTimestamp&&(this._endTime=e.endTimestamp),this._events=[],this._endTime&&this._onSpanEnded(),this._isStandaloneSpan=e.isStandalone}spanContext(){let{_spanId:e,_traceId:t,_sampled:s}=this;return{spanId:e,traceId:t,traceFlags:s?tU:tz}}setAttribute(e,t){void 0===t?delete this._attributes[e]:this._attributes[e]=t}setAttributes(e){Object.keys(e).forEach(t=>this.setAttribute(t,e[t]))}updateStartTime(e){this._startTime=tW(e)}setStatus(e){return this._status=e,this}updateName(e){return this._name=e,this}end(e){this._endTime||(this._endTime=tW(e),iW(this),this._onSpanEnded())}getSpanJSON(){return ey({data:this._attributes,description:this._name,op:this._attributes[th],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:tY(this._status),timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[tb],_metrics_summary:tN(this),profile_id:this._attributes[tv],exclusive_time:this._attributes[ty],measurements:iQ(this._events),is_segment:this._isStandaloneSpan&&t3(this)===this||void 0,segment_id:this._isStandaloneSpan?t3(this).spanContext().spanId:void 0})}isRecording(){return!this._endTime&&!!this._sampled}addEvent(e,t,s){tu&&eo.log("[Tracing] Adding an event to span:",e);let r=i0(t)?t:s||W(),i=i0(t)?{}:t||{},o={name:e,time:tW(r),attributes:i};return this._events.push(o),this}isStandaloneSpan(){return!!this._isStandaloneSpan}_onSpanEnded(){let e=eJ();if(e&&e.emit("spanEnd",this),!(this._isStandaloneSpan||this===t3(this)))return;if(this._isStandaloneSpan){i6(rV([this]));return}let t=this._convertSpanToTransaction();t&&(i1(this).scope||eZ()).captureEvent(t)}_convertSpanToTransaction(){if(!i2(tG(this)))return;this._name||(tu&&eo.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this._name="<unlabeled transaction>");let{scope:e,isolationScope:t}=i1(this),s=(e||eZ()).getClient()||eJ();if(!0!==this._sampled){tu&&eo.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),s&&s.recordDroppedEvent("sample_rate","transaction");return}let r=t2(this).filter(e=>e!==this&&!i3(e)).map(e=>tG(e)).filter(i2),i=this._attributes[td],o={contexts:{trace:tV(this)},spans:r,start_timestamp:this._startTime,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{capturedSpanScope:e,capturedSpanIsolationScope:t,...ey({dynamicSamplingContext:t7(this)})},_metrics_summary:tN(this),...i&&{transaction_info:{source:i}}},a=iQ(this._events);return a&&Object.keys(a).length&&(tu&&eo.log("[Measurements] Adding measurements to transaction",JSON.stringify(a,void 0,2)),o.measurements=a),o}}function i0(e){return e&&"number"==typeof e||e instanceof Date||Array.isArray(e)}function i2(e){return!!e.start_timestamp&&!!e.timestamp&&!!e.span_id&&!!e.trace_id}function i3(e){return e instanceof i8&&e.isStandaloneSpan()}function i6(e){let t=eJ();if(!t)return;let s=t.getTransport();s&&s.send(e).then(null,e=>{tu&&eo.error("Error while sending span:",e)})}let i4="__SENTRY_SUPPRESS_TRACING__";function i5(e){let t=ot();if(t.startInactiveSpan)return t.startInactiveSpan(e);let s=oe(e),r=e.scope||eZ(),i=on(r);return e.onlyIfParent&&!i?new iG:i7({parentSpan:i,spanContext:s,forceTransaction:e.forceTransaction,scope:r})}function i9(e,t){let s=ot();return s.withActiveSpan?s.withActiveSpan(e,t):eY(s=>(eN(s,e||void 0),t(s)))}function i7({parentSpan:e,spanContext:t,forceTransaction:s,scope:r}){let i;if(!sI())return new iG;let o=eQ();if(e&&!s)i=or(e,r,t),t8(e,i);else if(e){let s=t7(e),{traceId:o,spanId:a}=e.spanContext(),l=tX(e);t5(i=os({traceId:o,parentSpanId:a,...t},r,l),s)}else{let{traceId:e,dsc:s,parentSpanId:a,sampled:l}={...o.getPropagationContext(),...r.getPropagationContext()};i=os({traceId:e,parentSpanId:a,...t},r,l),s&&t5(i,s)}return iH(i),iJ(i,r,o),i}function oe(e){let t={isStandalone:(e.experimental||{}).standalone,...e};if(e.startTime){let s={...t};return s.startTimestamp=tW(e.startTime),delete s.startTime,s}return t}function ot(){return eW(S())}function os(e,t,s){let r=eJ(),i=r&&r.getOptions()||{},{name:o="",attributes:a}=e,[l,f]=t.getScopeData().sdkProcessingMetadata[i4]?[!1]:iK(i,{name:o,parentSampled:s,attributes:a,transactionContext:{name:o,parentSampled:s}}),u=new i8({...e,attributes:{[td]:"custom",...e.attributes},sampled:l});return void 0!==f&&u.setAttribute(tp,f),r&&r.emit("spanStart",u),u}function or(e,t,s){let{spanId:r,traceId:i}=e.spanContext(),o=!t.getScopeData().sdkProcessingMetadata[i4]&&tX(e),a=o?new i8({...s,parentSpanId:r,traceId:i,sampled:o}):new iG({traceId:i});t8(e,a);let l=eJ();return l&&(l.emit("spanStart",a),s.endTimestamp&&l.emit("spanEnd",a)),a}function on(e){let t=eD(e);if(!t)return;let s=eJ();return(s?s.getOptions():{}).parentSpanIsAlwaysRootSpan?t3(t):t}let oi=!1,oo=(e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good",oa=(e,t,s,r)=>{let i,o;return a=>{t.value>=0&&(a||r)&&((o=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=o,t.rating=oo(t.value,s),e(t))}},ol=()=>`v3-${Date.now()}-${Math.floor(Math.random()*(9e12-1))+1e12}`,of=()=>rd.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],ou=()=>{let e=of();return e&&e.activationStart||0},oc=(e,t)=>{let s=of(),r="navigate";return s&&(rd.document&&rd.document.prerendering||ou()>0?r="prerender":rd.document&&rd.document.wasDiscarded?r="restore":s.type&&(r=s.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:ol(),navigationType:r}},od=(e,t,s)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){let r=new PerformanceObserver(e=>{Promise.resolve().then(()=>{t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},s||{})),r}}catch(e){}},op=e=>{let t=t=>{("pagehide"===t.type||rd.document&&"hidden"===rd.document.visibilityState)&&e(t)};rd.document&&(addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0))},oh=e=>{let t=!1;return s=>{t||(e(s),t=!0)}},ob=-1,o_=()=>{ob="hidden"!==rd.document.visibilityState||rd.document.prerendering?1/0:0},om=e=>{"hidden"===rd.document.visibilityState&&ob>-1&&(ob="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("visibilitychange",om,!0),removeEventListener("prerenderingchange",om,!0))},og=()=>{addEventListener("visibilitychange",om,!0),addEventListener("prerenderingchange",om,!0)},ov=()=>(rd.document&&ob<0&&(o_(),og()),{get firstHiddenTime(){return ob}}),oy=e=>{rd.document&&rd.document.prerendering?addEventListener("prerenderingchange",()=>e(),!0):e()},ow=[1800,3e3],oC=(e,t={})=>{oy(()=>{let s;let r=ov(),i=oc("FCP"),o=od("paint",e=>{e.forEach(e=>{"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-ou(),0),i.entries.push(e),s(!0)))})});o&&(s=oa(e,i,ow,t.reportAllChanges))})},ok=[.1,.25],ox=(e,t={})=>{oC(oh(()=>{let s;let r=oc("CLS",0),i=0,o=[],a=e=>{e.forEach(e=>{if(!e.hadRecentInput){let t=o[0],s=o[o.length-1];i&&e.startTime-s.startTime<1e3&&e.startTime-t.startTime<5e3?(i+=e.value,o.push(e)):(i=e.value,o=[e])}}),i>r.value&&(r.value=i,r.entries=o,s())},l=od("layout-shift",a);l&&(s=oa(e,r,ok,t.reportAllChanges),op(()=>{a(l.takeRecords()),s(!0)}),setTimeout(s,0))}))},oS=[100,300],oE=(e,t={})=>{oy(()=>{let s;let r=ov(),i=oc("FID"),o=e=>{e.startTime<r.firstHiddenTime&&(i.value=e.processingStart-e.startTime,i.entries.push(e),s(!0))},a=e=>{e.forEach(o)},l=od("first-input",a);s=oa(e,i,oS,t.reportAllChanges),l&&op(oh(()=>{a(l.takeRecords()),l.disconnect()}))})},oM=0,oI=1/0,oA=0,oR=e=>{e.forEach(e=>{e.interactionId&&(oI=Math.min(oI,e.interactionId),oM=(oA=Math.max(oA,e.interactionId))?(oA-oI)/7+1:0)})},oO=()=>c?oM:performance.interactionCount||0,oj=()=>{"interactionCount"in performance||c||(c=od("event",oR,{type:"event",buffered:!0,durationThreshold:0}))},oP=[200,500],oT=0,oN=()=>oO()-oT,oD=10,oL=[],oB={},oq=e=>{let t=oL[oL.length-1],s=oB[e.interactionId];if(s||oL.length<oD||e.duration>t.latency){if(s)s.entries.push(e),s.latency=Math.max(s.latency,e.duration);else{let t={id:e.interactionId,latency:e.duration,entries:[e]};oB[t.id]=t,oL.push(t)}oL.sort((e,t)=>t.latency-e.latency),oL.splice(oD).forEach(e=>{delete oB[e.id]})}},oF=()=>{let e=Math.min(oL.length-1,Math.floor(oN()/50));return oL[e]},oz=(e,t={})=>{oy(()=>{let s;oj();let r=oc("INP"),i=e=>{e.forEach(e=>{e.interactionId&&oq(e),"first-input"!==e.entryType||oL.some(t=>t.entries.some(t=>e.duration===t.duration&&e.startTime===t.startTime))||oq(e)});let t=oF();t&&t.latency!==r.value&&(r.value=t.latency,r.entries=t.entries,s())},o=od("event",i,{durationThreshold:null!=t.durationThreshold?t.durationThreshold:40});s=oa(e,r,oP,t.reportAllChanges),o&&("PerformanceEventTiming"in rd&&"interactionId"in PerformanceEventTiming.prototype&&o.observe({type:"first-input",buffered:!0}),op(()=>{i(o.takeRecords()),r.value<0&&oN()>0&&(r.value=0,r.entries=[]),s(!0)}))})},oU=[2500,4e3],oV={},o$=(e,t={})=>{oy(()=>{let s;let r=ov(),i=oc("LCP"),o=e=>{let t=e[e.length-1];t&&t.startTime<r.firstHiddenTime&&(i.value=Math.max(t.startTime-ou(),0),i.entries=[t],s())},a=od("largest-contentful-paint",o);if(a){s=oa(e,i,oU,t.reportAllChanges);let r=oh(()=>{oV[i.id]||(o(a.takeRecords()),a.disconnect(),oV[i.id]=!0,s(!0))});["keydown","click"].forEach(e=>{rd.document&&addEventListener(e,()=>setTimeout(r,0),!0)}),op(r)}})},oH=[800,1800],oW=e=>{rd.document&&rd.document.prerendering?oy(()=>oW(e)):rd.document&&"complete"!==rd.document.readyState?addEventListener("load",()=>oW(e),!0):setTimeout(e,0)},oK=(e,t={})=>{let s=oc("TTFB"),r=oa(e,s,oH,t.reportAllChanges);oW(()=>{let e=of();if(e){let t=e.responseStart;if(t<=0||t>performance.now())return;s.value=Math.max(t-ou(),0),s.entries=[e],r(!0)}})},oG={},oZ={};function oQ(e,t=!1){return o9("cls",e,o2,d,t)}function oX(e,t=!1){return o9("lcp",e,o6,h,t)}function oY(e){return o9("fid",e,o3,p)}function oJ(e){return o9("ttfb",e,o4,b)}function o1(e){return o9("inp",e,o5,_)}function o8(e,t){return ae(e,t),oZ[e]||(o7(e),oZ[e]=!0),at(e,t)}function o0(e,t){let s=oG[e];if(s&&s.length)for(let r of s)try{r(t)}catch(t){oi&&eo.error(`Error while triggering instrumentation handler.
Type: ${e}
Name: ${e7(r)}
Error:`,t)}}function o2(){return ox(e=>{o0("cls",{metric:e}),d=e},{reportAllChanges:!0})}function o3(){return oE(e=>{o0("fid",{metric:e}),p=e})}function o6(){return o$(e=>{o0("lcp",{metric:e}),h=e})}function o4(){return oK(e=>{o0("ttfb",{metric:e}),b=e})}function o5(){return oz(e=>{o0("inp",{metric:e}),_=e})}function o9(e,t,s,r,i=!1){let o;return ae(e,t),oZ[e]||(o=s(),oZ[e]=!0),r&&t({metric:r}),at(e,t,i?o:void 0)}function o7(e){let t={};"event"===e&&(t.durationThreshold=0),od(e,t=>{o0(e,{entries:t})},t)}function ae(e,t){oG[e]=oG[e]||[],oG[e].push(t)}function at(e,t,s){return()=>{s&&s();let r=oG[e];if(!r)return;let i=r.indexOf(t);-1!==i&&r.splice(i,1)}}function as(e){return"number"==typeof e&&isFinite(e)}function ar(e,t,s,{...r}){let i=tG(e).start_timestamp;return i&&i>t&&"function"==typeof e.updateStartTime&&e.updateStartTime(t),i9(e,()=>{let e=i5({startTime:t,...r});return e&&e.end(s),e})}function an(){return rd&&rd.addEventListener&&rd.performance}function ai(e){return e/1e3}let ao=2147483647,aa=0,al={};function af(){let e=an();if(e&&K){e.mark&&rd.performance.mark("sentry-tracing-init");let t=ah(),s=ad(),r=ap(),i=ab();return()=>{t(),s(),r(),i()}}return()=>void 0}function au(){o8("longtask",({entries:e})=>{for(let t of e){if(!t6())return;let e=ai(K+t.startTime),s=ai(t.duration),r=i5({name:"Main UI thread blocked",op:"ui.long-task",startTime:e,attributes:{[tb]:"auto.ui.browser.metrics"}});r&&r.end(e+s)}})}function ac(){o8("event",({entries:e})=>{for(let t of e){if(!t6())return;if("click"===t.name){let e=ai(K+t.startTime),s=ai(t.duration),r={name:Q(t.target),op:`ui.interaction.${t.name}`,startTime:e,attributes:{[tb]:"auto.ui.browser.metrics"}},i=ee(t.target);i&&(r.attributes["ui.component_name"]=i);let o=i5(r);o&&o.end(e+s)}}})}function ad(){return oQ(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(oi&&eo.log("[Measurements] Adding CLS"),al.cls={value:e.value,unit:""},g=t)},!0)}function ap(){return oX(({metric:e})=>{let t=e.entries[e.entries.length-1];t&&(oi&&eo.log("[Measurements] Adding LCP"),al.lcp={value:e.value,unit:"millisecond"},m=t)},!0)}function ah(){return oY(({metric:e})=>{let t=e.entries[e.entries.length-1];if(!t)return;let s=ai(K),r=ai(t.startTime);oi&&eo.log("[Measurements] Adding FID"),al.fid={value:e.value,unit:"millisecond"},al["mark.fid"]={value:s+r,unit:"second"}})}function ab(){return oJ(({metric:e})=>{e.entries[e.entries.length-1]&&(oi&&eo.log("[Measurements] Adding TTFB"),al.ttfb={value:e.value,unit:"millisecond"})})}function a_(e){let t=an();if(!t||!rd.performance.getEntries||!K)return;oi&&eo.log("[Tracing] Adding & adjusting spans using Performance API");let s=ai(K),r=t.getEntries(),{op:i,start_timestamp:o}=tG(e);if(r.slice(aa).forEach(t=>{let r=ai(t.startTime),a=ai(t.duration);if("navigation"!==i||!o||!(s+r<o))switch(t.entryType){case"navigation":ag(e,t,s);break;case"mark":case"paint":case"measure":{am(e,t,r,a,s);let i=ov(),o=t.startTime<i.firstHiddenTime;"first-paint"===t.name&&o&&(oi&&eo.log("[Measurements] Adding FP"),al.fp={value:t.startTime,unit:"millisecond"}),"first-contentful-paint"===t.name&&o&&(oi&&eo.log("[Measurements] Adding FCP"),al.fcp={value:t.startTime,unit:"millisecond"});break}case"resource":aw(e,t,t.name,r,a,s)}}),aa=Math.max(r.length-1,0),aC(e),"pageload"===i){aS(al),["fcp","fp","lcp"].forEach(e=>{if(!al[e]||!o||s>=o)return;let t=al[e].value,r=Math.abs((s+ai(t)-o)*1e3),i=r-t;oi&&eo.log(`[Measurements] Normalized ${e} from ${t} to ${r} (${i})`),al[e].value=r});let t=al["mark.fid"];t&&al.fid&&(ar(e,t.value,t.value+ai(al.fid.value),{name:"first input delay",op:"ui.action",attributes:{[tb]:"auto.ui.browser.metrics"}}),delete al["mark.fid"]),"fcp"in al||delete al.cls,Object.keys(al).forEach(e=>{iZ(e,al[e].value,al[e].unit)}),ak(e)}m=void 0,g=void 0,al={}}function am(e,t,s,r,i){let o=i+s,a=o+r;return ar(e,o,a,{name:t.name,op:t.entryType,attributes:{[tb]:"auto.resource.browser.metrics"}}),o}function ag(e,t,s){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach(r=>{av(e,t,r,s)}),av(e,t,"secureConnection",s,"TLS/SSL","connectEnd"),av(e,t,"fetch",s,"cache","domainLookupStart"),av(e,t,"domainLookup",s,"DNS"),ay(e,t,s)}function av(e,t,s,r,i,o){let a=o?t[o]:t[`${s}End`],l=t[`${s}Start`];l&&a&&ar(e,r+ai(l),r+ai(a),{op:"browser",name:i||s,attributes:{[tb]:"auto.ui.browser.metrics"}})}function ay(e,t,s){t.responseEnd&&(ar(e,s+ai(t.requestStart),s+ai(t.responseEnd),{op:"browser",name:"request",attributes:{[tb]:"auto.ui.browser.metrics"}}),ar(e,s+ai(t.responseStart),s+ai(t.responseEnd),{op:"browser",name:"response",attributes:{[tb]:"auto.ui.browser.metrics"}}))}function aw(e,t,s,r,i,o){if("xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType)return;let a=nN(s),l={[tb]:"auto.resource.browser.metrics"};ax(l,t,"transferSize","http.response_transfer_size"),ax(l,t,"encodedBodySize","http.response_content_length"),ax(l,t,"decodedBodySize","http.decoded_response_content_length"),"renderBlockingStatus"in t&&(l["resource.render_blocking_status"]=t.renderBlockingStatus),a.protocol&&(l["url.scheme"]=a.protocol.split(":").pop()),a.host&&(l["server.address"]=a.host),l["url.same_origin"]=s.includes(rd.location.origin);let f=o+r,u=f+i;ar(e,f,u,{name:s.replace(rd.location.origin,""),op:t.initiatorType?`resource.${t.initiatorType}`:"resource.other",attributes:l})}function aC(e){let t=rd.navigator;if(!t)return;let s=t.connection;s&&(s.effectiveType&&e.setAttribute("effectiveConnectionType",s.effectiveType),s.type&&e.setAttribute("connectionType",s.type),as(s.rtt)&&(al["connection.rtt"]={value:s.rtt,unit:"millisecond"})),as(t.deviceMemory)&&e.setAttribute("deviceMemory",`${t.deviceMemory} GB`),as(t.hardwareConcurrency)&&e.setAttribute("hardwareConcurrency",String(t.hardwareConcurrency))}function ak(e){m&&(oi&&eo.log("[Measurements] Adding LCP Data"),m.element&&e.setAttribute("lcp.element",Q(m.element)),m.id&&e.setAttribute("lcp.id",m.id),m.url&&e.setAttribute("lcp.url",m.url.trim().slice(0,200)),e.setAttribute("lcp.size",m.size)),g&&g.sources&&(oi&&eo.log("[Measurements] Adding CLS Data"),g.sources.forEach((t,s)=>e.setAttribute(`cls.source.${s+1}`,Q(t.node))))}function ax(e,t,s,r){let i=t[s];null!=i&&i<ao&&(e[r]=i)}function aS(e){let t=of();if(!t)return;let{responseStart:s,requestStart:r}=t;r<=s&&(oi&&eo.log("[Measurements] Adding TTFB Request Time"),e["ttfb.requestTime"]={value:s-r,unit:"millisecond"})}function aE(e){let t;let s=e[0],r=1;for(;r<e.length;){let i=e[r],o=e[r+1];if(r+=2,("optionalAccess"===i||"optionalCall"===i)&&null==s)return;"access"===i||"optionalAccess"===i?(t=s,s=o(s)):("call"===i||"optionalCall"===i)&&(s=o((...e)=>s.call(t,...e)),t=void 0)}return s}function aM(){if(an()&&K){let e=aA();return()=>{e()}}return()=>void 0}let aI={click:"click",pointerdown:"click",pointerup:"click",mousedown:"click",mouseup:"click",touchstart:"click",touchend:"click",mouseover:"hover",mouseout:"hover",mouseenter:"hover",mouseleave:"hover",pointerover:"hover",pointerout:"hover",pointerenter:"hover",pointerleave:"hover",dragstart:"drag",dragend:"drag",drag:"drag",dragenter:"drag",dragleave:"drag",dragover:"drag",drop:"drag",keydown:"press",keyup:"press",keypress:"press",input:"press"};function aA(){return o1(({metric:e})=>{let t=eJ();if(!t||void 0==e.value)return;let s=e.entries.find(t=>t.duration===e.value&&aI[t.name]);if(!s)return;let r=aI[s.name],i=t.getOptions(),o=ai(K+s.startTime),a=ai(e.value),l=eZ(),f=t6(),u=f?t3(f):void 0,c=u?tG(u).description:void 0,d=l.getUser(),p=t.getIntegrationByName("Replay"),h=p&&p.getReplayId(),b=void 0!==d?d.email||d.id||d.ip_address:void 0,_=aE([l,"access",e=>e.getScopeData,"call",e=>e(),"access",e=>e.contexts,"optionalAccess",e=>e.profile,"optionalAccess",e=>e.profile_id]),m=i5({name:Q(s.target),op:`ui.interaction.${r}`,attributes:ey({release:i.release,environment:i.environment,transaction:c,[ty]:e.value,user:b||void 0,profile_id:_||void 0,replay_id:h||void 0}),startTime:o,experimental:{standalone:!0}});m.addEvent("inp",{[tm]:"millisecond",[tg]:e.value}),m.end(o+a)})}let aR={idleTimeout:1e3,finalTimeout:3e4,childSpanTimeout:15e3},aO="heartbeatFailed",aj="idleTimeout",aP="finalTimeout",aT="externalFinish";function aN(e,t={}){let s;let r=new Map,i=!1,o=aT,a=!t.disableAutoFinish,{idleTimeout:l=aR.idleTimeout,finalTimeout:f=aR.finalTimeout,childSpanTimeout:u=aR.childSpanTimeout,beforeSpanEnd:c}=t,d=eJ();if(!d||!sI())return new iG;let p=eZ(),h=t6(),b=aD(e);function _(e=W()){let t=t2(b).filter(e=>e!==b);if(!t.length){b.end(e);return}let s=t.map(e=>tG(e).timestamp).filter(e=>!!e),r=s.length?Math.max(...s):void 0,i=tW(e),o=Math.max(tG(b).start_timestamp||-1/0,Math.min(i,r||1/0));b.end(o)}function m(){s&&(clearTimeout(s),s=void 0)}function g(e){m(),s=setTimeout(()=>{!i&&0===r.size&&a&&(o=aj,_(e))},l)}function v(e){s=setTimeout(()=>{!i&&a&&(o=aO,_(e))},u)}function y(e){m(),r.set(e,!0),v(W()+u/1e3)}function w(e){r.has(e)&&r.delete(e),0===r.size&&g(W()+l/1e3)}function C(){i=!0,r.clear(),c&&c(b),eN(p,h);let e=tG(b),{timestamp:t,start_timestamp:s}=e;if(!t||!s)return;let a=e.data||{};"ui.action.click"!==e.op||a[t_]||b.setAttribute(t_,o),eo.log(`[Tracing] Idle span "${e.op}" finished`),t2(b).filter(e=>e!==b).forEach(e=>{e.isRecording()&&(e.setStatus({code:tB,message:"cancelled"}),e.end(t),tu&&eo.log("[Tracing] Cancelling span since span ended early",JSON.stringify(e,void 0,2)));let{timestamp:s=0,start_timestamp:r=0}=tG(e),i=r<=t,o=s-r<(f+l)/1e3;if(tu){let t=JSON.stringify(e,void 0,2);i?o||eo.log("[Tracing] Discarding span since it finished after idle span final timeout",t):eo.log("[Tracing] Discarding span since it happened after idle span was finished",t)}o&&i||t0(b,e)})}return d.on("spanStart",e=>{!i&&e!==b&&!tG(e).timestamp&&t2(b).includes(e)&&y(e.spanContext().spanId)}),d.on("spanEnd",e=>{i||(w(e.spanContext().spanId),e===b&&C())}),d.on("idleSpanEnableAutoFinish",e=>{e===b&&(a=!0,g(),r.size&&v())}),t.disableAutoFinish||g(),setTimeout(()=>{i||(b.setStatus({code:tB,message:"deadline_exceeded"}),o=aP,_())},f),b}function aD(e){let t=i5(e);return eN(eZ(),t),tu&&eo.log("[Tracing] Started span is an idle span"),t}let aL=!1;function aB(){aL||(aL=!0,n8(aq),n3(aq))}function aq(){let e=t6(),t=e&&t3(e);if(t){let e="internal_error";tu&&eo.log(`[Tracing] Root span: ${e} -> Global error occured`),t.setStatus({code:tB,message:e})}}function aF(){ni&&ni.document?ni.document.addEventListener("visibilitychange",()=>{let e=t6();if(!e)return;let t=t3(e);if(ni.document.hidden&&t){let e="cancelled",{op:s,status:r}=tG(t);rJ&&eo.log(`[Tracing] Transaction: ${e} -> since tab moved to the background, op: ${s}`),r||t.setStatus({code:tB,message:e}),t.setAttribute("sentry.cancellation_reason","document.hidden"),t.end()}}):rJ&&eo.warn("[Tracing] Could not set up background tab detection due to lack of global document")}function az(e,t,s,r,i="auto.http.browser"){if(!e.fetchData)return;let o=sI()&&t(e.fetchData.url);if(e.endTimestamp&&o){let t=e.fetchData.__span;if(!t)return;let s=r[t];s&&(a$(s,e),delete r[t]);return}let a=eZ(),l=eJ(),{method:f,url:u}=e.fetchData,c=aV(u),d=c?nN(c).host:void 0,p=!!t6(),h=o&&p?i5({name:`${f} ${u}`,attributes:{url:u,type:"fetch","http.method":f,"http.url":c,"server.address":d,[tb]:i,[th]:"http.client"}}):new iG;if(e.fetchData.__span=h.spanContext().spanId,r[h.spanContext().spanId]=h,s(e.fetchData.url)&&l){let t=e.args[0];e.args[1]=e.args[1]||{};let s=e.args[1];s.headers=aU(t,l,a,s,sI()&&p?h:void 0)}return h}function aU(e,t,s,r,i){let{traceId:o,spanId:a,sampled:l,dsc:f}={...eQ().getPropagationContext(),...s.getPropagationContext()},u=i?tH(i):tP(o,a,l),c=tE(f||(i?t7(i):t9(o,t))),d=r.headers||("undefined"!=typeof Request&&U(e,Request)?e.headers:void 0);if(!d)return{"sentry-trace":u,baggage:c};if("undefined"!=typeof Headers&&U(d,Headers)){let e=new Headers(d);return e.append("sentry-trace",u),c&&e.append(tw,c),e}if(Array.isArray(d)){let e=[...d,["sentry-trace",u]];return c&&e.push([tw,c]),e}{let e="baggage"in d?d.baggage:void 0,t=[];return Array.isArray(e)?t.push(...e):e&&t.push(e),c&&t.push(c),{...d,"sentry-trace":u,baggage:t.length>0?t.join(","):void 0}}}function aV(e){try{return new URL(e).href}catch(e){return}}function a$(e,t){if(t.response){tF(e,t.response.status);let s=t.response&&t.response.headers&&t.response.headers.get("content-length");if(s){let t=parseInt(s);t>0&&e.setAttribute("http.response_content_length",t)}}else t.error&&e.setStatus({code:tB,message:"internal_error"});e.end()}aq.tag="sentry_tracingErrorCallback";let aH={traceFetch:!0,traceXHR:!0,enableHTTPTimings:!0};function aW(e){let{traceFetch:t,traceXHR:s,shouldCreateSpanForRequest:r,enableHTTPTimings:i,tracePropagationTargets:o}={traceFetch:aH.traceFetch,traceXHR:aH.traceXHR,...e},a="function"==typeof r?r:e=>!0,l=e=>aY(e,o),f={};t&&nI(e=>{let t=az(e,a,l,f);if(t){let s=a0(e.fetchData.url),r=s?nN(s).host:void 0;t.setAttributes({"http.url":s,"server.address":r})}i&&t&&aG(t)}),s&&nw(e=>{let t=aJ(e,a,l,f);i&&t&&aG(t)})}function aK(e){return"resource"===e.entryType&&"initiatorType"in e&&"string"==typeof e.nextHopProtocol&&("fetch"===e.initiatorType||"xmlhttprequest"===e.initiatorType)}function aG(e){let{url:t}=tG(e).data||{};if(!t||"string"!=typeof t)return;let s=o8("resource",({entries:r})=>{r.forEach(r=>{aK(r)&&r.name.endsWith(t)&&(aX(r).forEach(t=>e.setAttribute(...t)),setTimeout(s))})})}function aZ(e){let t="unknown",s="unknown",r="";for(let i of e){if("/"===i){[t,s]=e.split("/");break}if(!isNaN(Number(i))){t="h"===r?"http":r,s=e.split(r)[1];break}r+=i}return r===e&&(t=r),{name:t,version:s}}function aQ(e=0){return((K||performance.timeOrigin)+e)/1e3}function aX(e){let{name:t,version:s}=aZ(e.nextHopProtocol),r=[];return(r.push(["network.protocol.version",s],["network.protocol.name",t]),K)?[...r,["http.request.redirect_start",aQ(e.redirectStart)],["http.request.fetch_start",aQ(e.fetchStart)],["http.request.domain_lookup_start",aQ(e.domainLookupStart)],["http.request.domain_lookup_end",aQ(e.domainLookupEnd)],["http.request.connect_start",aQ(e.connectStart)],["http.request.secure_connection_start",aQ(e.secureConnectionStart)],["http.request.connection_end",aQ(e.connectEnd)],["http.request.request_start",aQ(e.requestStart)],["http.request.response_start",aQ(e.responseStart)],["http.request.response_end",aQ(e.responseEnd)]]:r}function aY(e,t){let s=ni.location&&ni.location.href;if(s){let r,i;try{r=new URL(e,s),i=new URL(s).origin}catch(e){return!1}let o=r.origin===i;return t?eu(r.toString(),t)||o&&eu(r.pathname,t):o}{let s=!!e.match(/^\/(?!\/)/);return t?eu(e,t):s}}function aJ(e,t,s,r){let i=e.xhr,o=i&&i[ny];if(!i||i.__sentry_own_request__||!o)return;let a=sI()&&t(o.url);if(e.endTimestamp&&a){let e=i.__sentry_xhr_span_id__;if(!e)return;let t=r[e];t&&void 0!==o.status_code&&(tF(t,o.status_code),t.end(),delete r[e]);return}let l=a0(o.url),f=l?nN(l).host:void 0,u=!!t6(),c=a&&u?i5({name:`${o.method} ${o.url}`,attributes:{type:"xhr","http.method":o.method,"http.url":l,url:o.url,"server.address":f,[tb]:"auto.http.browser",[th]:"http.client"}}):new iG;i.__sentry_xhr_span_id__=c.spanContext().spanId,r[i.__sentry_xhr_span_id__]=c;let d=eJ();return i.setRequestHeader&&s(o.url)&&d&&a1(i,d,sI()&&u?c:void 0),c}function a1(e,t,s){let r=eZ(),{traceId:i,spanId:o,sampled:a,dsc:l}={...eQ().getPropagationContext(),...r.getPropagationContext()};a8(e,s&&sI()?tH(s):tP(i,o,a),tE(l||(s?t7(s):t9(i,t))))}function a8(e,t,s){try{e.setRequestHeader("sentry-trace",t),s&&e.setRequestHeader(tw,s)}catch(e){}}function a0(e){try{return new URL(e,ni.location.origin).href}catch(e){return}}let a2="BrowserTracing",a3={...aR,instrumentNavigation:!0,instrumentPageLoad:!0,markBackgroundSpan:!0,enableLongTask:!0,enableInp:!0,_experiments:{},...aH},a6=(e={})=>{aB();let{enableInp:t,enableLongTask:s,_experiments:{enableInteractions:r},beforeStartSpan:i,idleTimeout:o,finalTimeout:a,childSpanTimeout:l,markBackgroundSpan:f,traceFetch:u,traceXHR:c,shouldCreateSpanForRequest:d,enableHTTPTimings:p,instrumentPageLoad:h,instrumentNavigation:b}={...a3,...e},_=af();t&&aM(),s&&au(),r&&ac();let m={name:void 0,source:void 0};function g(e,t){let s="pageload"===t.op,r=i?i(t):t,f=r.attributes||{};t.name!==r.name&&(f[td]="custom",r.attributes=f),m.name=r.name,m.source=f[td];let u=aN(r,{idleTimeout:o,finalTimeout:a,childSpanTimeout:l,disableAutoFinish:s,beforeSpanEnd:e=>{_(),a_(e)}});function c(){["interactive","complete"].includes(ni.document.readyState)&&e.emit("idleSpanEnableAutoFinish",u)}return s&&ni.document&&(ni.document.addEventListener("readystatechange",()=>{c()}),c()),u}return{name:a2,afterAllSetup(e){let t;let s=ni.location&&ni.location.href;e.on("startNavigationSpan",s=>{eJ()===e&&(t&&(rJ&&eo.log(`[Tracing] Finishing current root span with op: ${tG(t).op}`),t.end()),t=g(e,{op:"navigation",...s}))}),e.on("startPageLoadSpan",(s,r={})=>{if(eJ()!==e)return;t&&(rJ&&eo.log(`[Tracing] Finishing current root span with op: ${tG(t).op}`),t.end());let i=tj(r.sentryTrace||a9("sentry-trace"),r.baggage||a9("baggage"));eZ().setPropagationContext(i),t=g(e,{op:"pageload",...s})}),e.on("spanEnd",e=>{let t=tG(e).op;if(e!==t3(e)||"navigation"!==t&&"pageload"!==t)return;let s=eZ(),r=s.getPropagationContext();s.setPropagationContext({...r,sampled:void 0!==r.sampled?r.sampled:tX(e),dsc:r.dsc||t7(e)})}),ni.location&&(h&&a4(e,{name:ni.location.pathname,startTime:K?K/1e3:void 0,attributes:{[td]:"url",[tb]:"auto.pageload.browser"}}),b&&rp(({to:t,from:r})=>{if(void 0===r&&s&&-1!==s.indexOf(t)){s=void 0;return}r!==t&&(s=void 0,a5(e,{name:ni.location.pathname,attributes:{[td]:"url",[tb]:"auto.navigation.browser"}}))})),f&&aF(),r&&a7(o,a,l,m),aW({traceFetch:u,traceXHR:c,tracePropagationTargets:e.getOptions().tracePropagationTargets,shouldCreateSpanForRequest:d,enableHTTPTimings:p})}}};function a4(e,t,s){e.emit("startPageLoadSpan",t,s),eZ().setTransactionName(t.name);let r=t6();return"pageload"===(r&&tG(r).op)?r:void 0}function a5(e,t){eZ().setPropagationContext(le()),eQ().setPropagationContext(le()),e.emit("startNavigationSpan",t),eZ().setTransactionName(t.name);let s=t6();return"navigation"===(s&&tG(s).op)?s:void 0}function a9(e){let t=J(`meta[name=${e}]`);return t?t.getAttribute("content"):void 0}function a7(e,t,s,r){let i;let o=()=>{let o="ui.action.click",a=t6(),l=a&&t3(a);if(l&&["navigation","pageload"].includes(tG(l).op)){rJ&&eo.warn(`[Tracing] Did not create ${o} span because a pageload or navigation span is in progress.`);return}if(i&&(i.setAttribute(t_,"interactionInterrupted"),i.end(),i=void 0),!r.name){rJ&&eo.warn(`[Tracing] Did not create ${o} transaction because _latestRouteName is missing.`);return}i=aN({name:r.name,op:o,attributes:{[td]:r.source||"url"}},{idleTimeout:e,finalTimeout:t,childSpanTimeout:s})};ni.document&&addEventListener("click",o,{once:!1,capture:!0})}function le(){return{traceId:ek(),spanId:ek().substring(16)}}function lt(e){a4(e,{name:ni.location.pathname,startTime:K?K/1e3:void 0,attributes:{[th]:"pageload",[tb]:"auto.pageload.nextjs.app_router_instrumentation",[td]:"url"}})}function ls(e){nI(t=>{if(void 0!==t.endTimestamp||"GET"!==t.fetchData.method)return;let s=lr(t.args);null!==s&&a5(e,{name:s.targetPathname,attributes:{[th]:"navigation",[tb]:"auto.navigation.nextjs.app_router_instrumentation",[td]:"url"}})})}function lr(e){if(!e[0]||"object"!=typeof e[0]||void 0===e[0].searchParams||!e[1]||"object"!=typeof e[1]||!("headers"in e[1]))return null;try{let t=e[0],s=e[1].headers;if("1"!==s.RSC||"1"===s["Next-Router-Prefetch"])return null;return{targetPathname:t.pathname}}catch(e){return null}}var ln=s(475);let li=!1,lo=ln.events?ln:ln.default,la=ni;function ll(){let e;let t=la.document.getElementById("__NEXT_DATA__");if(t&&t.innerHTML)try{e=JSON.parse(t.innerHTML)}catch(e){li&&eo.warn("Could not extract __NEXT_DATA__")}if(!e)return{};let s={},{page:r,query:i,props:o}=e;return s.route=r,s.params=i,o&&o.pageProps&&(s.sentryTrace=o.pageProps._sentryTraceData,s.baggage=o.pageProps._sentryBaggage),s}function lf(e){let{route:t,params:s,sentryTrace:r,baggage:i}=ll();a4(e,{name:t||la.location.pathname,startTime:K?K/1e3:void 0,attributes:{[th]:"pageload",[tb]:"auto.pageload.nextjs.pages_router_instrumentation",[td]:t?"route":"url",...s&&e.getOptions().sendDefaultPii&&{...s}}},{sentryTrace:r,baggage:i})}function lu(e){lo.events.on("routeChangeStart",t=>{let s,r;let i=nD(t),o=lc(i);o?(s=o,r="route"):(s=i,r="url"),a5(e,{name:s,attributes:{[th]:"navigation",[tb]:"auto.navigation.nextjs.pages_router_instrumentation",[td]:r}})})}function lc(e){let t=(la.__BUILD_MANIFEST||{}).sortedPages;if(t)return t.find(t=>{let s=ld(t);return e.match(s)})}function ld(e){let t=e.split("/"),s="";t[t.length-1].match(/^\[\[\.\.\..+\]\]$/)&&(t.pop(),s="(?:/(.+?))?");let r=t.map(e=>e.replace(/^\[\.\.\..+\]$/,"(.+?)").replace(/^\[.*\]$/,"([^/]+?)")).join("/");return RegExp(`^${r}${s}(?:/)?$`)}function lp(e){ni.document.getElementById("__NEXT_DATA__")?lf(e):lt(e)}function lh(e){ni.document.getElementById("__NEXT_DATA__")?lu(e):ls(e)}function lb(e={}){let t=a6({...e,instrumentNavigation:!1,instrumentPageLoad:!1}),{instrumentPageLoad:s=!0,instrumentNavigation:r=!0}=e;return{...t,afterAllSetup(e){r&&lh(e),t.afterAllSetup(e),s&&lp(e)}}}function l_(e,t){let s=0;for(let t=e.length-1;t>=0;t--){let r=e[t];"."===r?e.splice(t,1):".."===r?(e.splice(t,1),s++):s&&(e.splice(t,1),s--)}if(t)for(;s--;s)e.unshift("..");return e}let lm=/^(\S+:\\|\/?)([\s\S]*?)((?:\.{1,2}|[^/\\]+?|)(\.[^./\\]*|))(?:[/\\]*)$/;function lg(e){let t=e.length>1024?`<truncated>${e.slice(-1024)}`:e,s=lm.exec(t);return s?s.slice(1):[]}function lv(...e){let t="",s=!1;for(let r=e.length-1;r>=-1&&!s;r--){let i=r>=0?e[r]:"/";i&&(t=`${i}/${t}`,s="/"===i.charAt(0))}return t=l_(t.split("/").filter(e=>!!e),!s).join("/"),(s?"/":"")+t||"."}function ly(e){let t=0;for(;t<e.length&&""===e[t];t++);let s=e.length-1;for(;s>=0&&""===e[s];s--);return t>s?[]:e.slice(t,s-t+1)}function lw(e,t){e=lv(e).slice(1),t=lv(t).slice(1);let s=ly(e.split("/")),r=ly(t.split("/")),i=Math.min(s.length,r.length),o=i;for(let e=0;e<i;e++)if(s[e]!==r[e]){o=e;break}let a=[];for(let e=o;e<s.length;e++)a.push("..");return(a=a.concat(r.slice(o))).join("/")}function lC(e,t){let s=lg(e)[2];return t&&s.slice(-1*t.length)===t&&(s=s.slice(0,s.length-t.length)),s}let lk="RewriteFrames",lx=sD((e={})=>{let t=e.root,s=e.prefix||"app:///",r="window"in C&&void 0!==C.window,i=e.iteratee||lS({isBrowser:r,root:t,prefix:s});function o(e){try{return{...e,exception:{...e.exception,values:e.exception.values.map(e=>({...e,...e.stacktrace&&{stacktrace:a(e.stacktrace)}}))}}}catch(t){return e}}function a(e){return{...e,frames:e&&e.frames&&e.frames.map(e=>i(e))}}return{name:lk,processEvent(e){let t=e;return e.exception&&Array.isArray(e.exception.values)&&(t=o(t)),t}}});function lS({isBrowser:e,root:t,prefix:s}){return r=>{if(!r.filename)return r;let i=/^[a-zA-Z]:\\/.test(r.filename)||r.filename.includes("\\")&&!r.filename.includes("/"),o=/^\//.test(r.filename);if(e){if(t){let e=r.filename;0===e.indexOf(t)&&(r.filename=e.replace(t,s))}}else if(i||o){let e=i?r.filename.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"):r.filename,o=t?lw(t,e):lC(e);r.filename=`${s}${o}`}return r}}let lE=sD(({assetPrefixPath:e})=>({...lx({iteratee:t=>{try{let{origin:s}=new URL(t.filename);t.filename=aE([t,"access",e=>e.filename,"optionalAccess",e=>e.replace,"call",e=>e(s,"app://"),"access",e=>e.replace,"call",t=>t(e,"")])}catch(e){}return t.filename&&t.filename.startsWith("app:///_next")&&(t.filename=decodeURI(t.filename)),t.filename&&t.filename.match(/^app:\/\/\/_next\/static\/chunks\/(main-|main-app-|polyfills-|webpack-|framework-|framework\.)[0-9a-f]+\.js$/)&&(t.in_app=!1),t}}),name:"NextjsClientStackFrameNormalization"})),lM=C;function lI(e){let t=lM.__sentryRewritesTunnelPath__;if(t&&e.dsn){let s=rg(e.dsn);if(!s)return;let r=s.host.match(/^o(\d+)\.ingest(?:\.([a-z]{2}))?\.sentry\.io$/);if(r){let i=r[1],o=r[2],a=`${t}?o=${i}&p=${s.projectId}`;o&&(a+=`&r=${o}`),e.tunnel=a,li&&eo.info(`Tunneling events to "${a}"`)}else li&&eo.warn("Provided DSN is not a Sentry SaaS DSN. Will not tunnel events.")}}let lA=C;function lR(e){let t={environment:i$(!0)||"production",defaultIntegrations:lO(e),...e};lI(t),w(t,"nextjs",["nextjs","react"]),iz(t),sC("runtime","browser");let s=e=>"transaction"===e.type&&"/404"===e.transaction?null:e;s.id="NextClient404Filter",sk(s)}function lO(e){let t=iD(e);("undefined"==typeof __SENTRY_TRACING__||__SENTRY_TRACING__)&&sI(e)&&t.push(lb());let s=lA.__rewriteFramesAssetPrefixPath__||"";return t.push(lE({assetPrefixPath:s})),t}var lj=JSON.parse('{"u2":"smtp","i8":"0.0.2"}'),lP=s(3656),lT=window;lT.__sentryRewritesTunnelPath__="/monitoring",lT.SENTRY_RELEASE={id:"0.0.2-6c25a6618b64a064bb7a1986a604cb61fd344d1a"},lT.__sentryBasePath=void 0,lT.__rewriteFramesAssetPrefixPath__="",lR({dsn:"https://b80ef97f3f6ceebd60f100c6fc7f3128@o287652.ingest.us.sentry.io/4507231051907072",enableTracing:!1,debug:!1,integrations:[],environment:lP.env.SENTRY_ENVIRONMENT,release:"saleor-app-".concat(lj.u2,"@").concat(lj.i8)})},4045:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var s in t)Object.defineProperty(e,s,{enumerable:!0,get:t[s]})}(t,{default:function(){return u},noSSR:function(){return f}});let r=s(7940),i=s(7458);s(2983);let o=r._(s(2851)),a=!1;function l(e){return{default:(null==e?void 0:e.default)||e}}function f(e,t){if(delete t.webpack,delete t.modules,!a)return e(t);let s=t.loading;return()=>(0,i.jsx)(s,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function u(e,t){let s=o.default,r={loading:e=>{let{error:t,isLoading:s,pastDelay:r}=e;return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e});let i=(r={...r,...t}).loader,a=()=>null!=i?i().then(l):Promise.resolve(l(()=>null));return(r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr)?s({...r,loader:a}):(delete r.webpack,delete r.modules,f(s,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},453:function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let r=s(7940)._(s(2983)).default.createContext(null)},2851:function(e,t,s){"use strict";/**
@copyright (c) 2017-present James Kyle <me@thejameskyle.com>
 MIT License
 Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
 The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
*/Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});let r=s(7940)._(s(2983)),i=s(453);function o(e){return e&&e.default?e.default:e}let a=[],l=[],f=!1;function u(e){let t=e(),s={loading:!0,loaded:null,error:null};return s.promise=t.then(e=>(s.loading=!1,s.loaded=e,e)).catch(e=>{throw s.loading=!1,s.error=e,e}),s}function c(e,t){let s=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),a=null;function u(){if(!a){let t=new d(e,s);a={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return a.promise()}if(!f){let e=s.webpack?s.webpack():s.modules;e&&l.push(t=>{for(let s of e)if(t.includes(s))return u()})}function c(){u();let e=r.default.useContext(i.LoadableContext);e&&Array.isArray(s.modules)&&s.modules.forEach(t=>{e(t)})}function p(e,t){c();let i=r.default.useSyncExternalStore(a.subscribe,a.getCurrentValue,a.getCurrentValue);return r.default.useImperativeHandle(t,()=>({retry:a.retry}),[]),r.default.useMemo(()=>i.loading||i.error?r.default.createElement(s.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:a.retry}):i.loaded?r.default.createElement(o(i.loaded),e):null,[e,i])}return p.preload=()=>u(),p.displayName="LoadableComponent",r.default.forwardRef(p)}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function p(e){return c(u,e)}function h(e,t){let s=[];for(;e.length;){let r=e.pop();s.push(r(t))}return Promise.all(s).then(()=>{if(e.length)return h(e,t)})}p.preloadAll=()=>new Promise((e,t)=>{h(a).then(e,t)}),p.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let s=()=>(f=!0,t());h(l,e).then(s,s)})),window.__NEXT_PRELOADREADY=p.preloadReady;let b=p},2598:function(e,t,s){"use strict";function r(){try{return window.self!==window.top}catch(e){return!0}}s.d(t,{$B:function(){return p},aR:function(){return k},zd:function(){return r},n9:function(){return h.n}});var i,o,a,l=s(7458),f=s(2983),u=s(2702),c=s.n(u);let d=e=>(0,l.jsx)(f.Fragment,{children:e.children}),p=c()(()=>Promise.resolve(d),{ssr:!1});var h=s(2244),b=s(5991),_=s.n(b),m=s(3656);let g=["debug","trace"],v=null!==(i=m.env.APP_LOG_LEVEL)&&void 0!==i?i:"silent";if(g.includes(v))throw Error('Production app can only log INFO or higher log level. "'.concat(v,'" is development only.'));let y=_()({level:v,redact:["token","apiKey"],transport:void 0});y.child.bind(y);var w=s(1507),C=s.n(w);class k{isValid(e){return C().satisfies(e,this.appRequiredVersion,{includePrerelease:!0})}validateOrThrow(e){if(!this.isValid(e))throw Error("Your Saleor version (".concat(e,") doesn't match App's required version (semver: ").concat(this.appRequiredVersion,")"))}constructor(e){this.appRequiredVersion=e}}var x=s(1791);s(4562);var S={DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",FRAGMENT_DEFINITION:"FragmentDefinition"};class E extends Error{constructor(e,t,s,r,i,o,a){super(e),this.name="GraphQLError",this.message=e,i&&(this.path=i),t&&(this.nodes=Array.isArray(t)?t:[t]),s&&(this.source=s),r&&(this.positions=r),o&&(this.originalError=o);var l=a;if(!l&&o){var f=o.extensions;f&&"object"==typeof f&&(l=f)}this.extensions=l||{}}toJSON(){return{...this,message:this.message}}toString(){return this.message}get[Symbol.toStringTag](){return"GraphQLError"}}function M(e){return new E(`Syntax Error: Unexpected token at ${a} in ${e}`)}function I(e){if(e.lastIndex=a,e.test(o))return o.slice(a,a=e.lastIndex)}var A=/ +(?=[^\s])/y;function R(e){for(var t=e.split("\n"),s="",r=0,i=0,o=t.length-1,a=0;a<t.length;a++)A.lastIndex=0,A.test(t[a])&&(a&&(!r||A.lastIndex<r)&&(r=A.lastIndex),i=i||a,o=a);for(var l=i;l<=o;l++)l!==i&&(s+="\n"),s+=t[l].slice(r).replace(/\\"""/g,'"""');return s}function O(){for(var e=0|o.charCodeAt(a++);9===e||10===e||13===e||32===e||35===e||44===e||65279===e;e=0|o.charCodeAt(a++))if(35===e)for(;10!==(e=o.charCodeAt(a++))&&13!==e;);a--}var j=/[_A-Za-z]\w*/y;function P(){var e;if(e=I(j))return{kind:"Name",value:e}}var T=/(?:null|true|false)/y,N=/\$[_A-Za-z]\w*/y,D=/-?\d+/y,L=/(?:\.\d+)?[eE][+-]?\d+|\.\d+/y,B=/\\/g,q=/"""(?:"""|(?:[\s\S]*?[^\\])""")/y,F=/"(?:"|[^\r\n]*?[^\\]")/y;function z(e){if(s=I(T))t="null"===s?{kind:"NullValue"}:{kind:"BooleanValue",value:"true"===s};else if(!e&&(s=I(N)))t={kind:"Variable",name:{kind:"Name",value:s.slice(1)}};else if(s=I(D)){var t,s,r=s;t=(s=I(L))?{kind:"FloatValue",value:r+s}:{kind:"IntValue",value:r}}else if(s=I(j))t={kind:"EnumValue",value:s};else if(s=I(q))t={kind:"StringValue",value:R(s.slice(3,-3)),block:!0};else if(s=I(F))t={kind:"StringValue",value:B.test(s)?JSON.parse(s):s.slice(1,-1),block:!1};else if(t=function(e){var t;if(91===o.charCodeAt(a)){a++,O();for(var s=[];t=z(e);)s.push(t);if(93!==o.charCodeAt(a++))throw M("ListValue");return O(),{kind:"ListValue",values:s}}}(e)||function(e){if(123===o.charCodeAt(a)){a++,O();for(var t,s=[];t=P();){if(O(),58!==o.charCodeAt(a++))throw M("ObjectField");O();var r=z(e);if(!r)throw M("ObjectField");s.push({kind:"ObjectField",name:t,value:r})}if(125!==o.charCodeAt(a++))throw M("ObjectValue");return O(),{kind:"ObjectValue",fields:s}}}(e))return t;return O(),t}function U(e){var t=[];if(O(),40===o.charCodeAt(a)){for(a++,O();s=P();){if(O(),58!==o.charCodeAt(a++))throw M("Argument");O();var s,r=z(e);if(!r)throw M("Argument");t.push({kind:"Argument",name:s,value:r})}if(!t.length||41!==o.charCodeAt(a++))throw M("Argument");O()}return t}function V(e){var t=[];for(O();64===o.charCodeAt(a);){a++;var s=P();if(!s)throw M("Directive");O(),t.push({kind:"Directive",name:s,arguments:U(e)})}return t}function $(){var e,t=P();if(t){if(O(),58===o.charCodeAt(a)){if(a++,O(),e=t,!(t=P()))throw M("Field");O()}return{kind:"Field",alias:e,name:t,arguments:U(!1),directives:V(!1),selectionSet:Q()}}}function H(){var e;if(O(),91===o.charCodeAt(a)){a++,O();var t=H();if(!t||93!==o.charCodeAt(a++))throw M("ListType");e={kind:"ListType",type:t}}else if(e=P())e={kind:"NamedType",name:e};else throw M("NamedType");return(O(),33===o.charCodeAt(a))?(a++,O(),{kind:"NonNullType",type:e}):e}var W=/on/y;function K(){if(I(W)){O();var e=P();if(!e)throw M("NamedType");return O(),{kind:"NamedType",name:e}}}var G=/\.\.\./y;function Z(){if(I(G)){O();var e,t=a;if((e=P())&&"on"!==e.value)return{kind:"FragmentSpread",name:e,directives:V(!1)};a=t;var s=K(),r=V(!1),i=Q();if(!i)throw M("InlineFragment");return{kind:"InlineFragment",typeCondition:s,directives:r,selectionSet:i}}}function Q(){var e;if(O(),123===o.charCodeAt(a)){a++,O();for(var t=[];e=Z()||$();)t.push(e);if(!t.length||125!==o.charCodeAt(a++))throw M("SelectionSet");return O(),{kind:"SelectionSet",selections:t}}}var X=/fragment/y;function Y(){if(I(X)){O();var e=P();if(!e)throw M("FragmentDefinition");O();var t=K();if(!t)throw M("FragmentDefinition");var s=V(!1),r=Q();if(!r)throw M("FragmentDefinition");return{kind:"FragmentDefinition",name:e,typeCondition:t,directives:s,selectionSet:r}}}var J=/(?:query|mutation|subscription)/y;function ee(){var e,t,s=[],r=[];(e=I(J))&&(O(),t=P(),s=function(){var e,t=[];if(O(),40===o.charCodeAt(a)){for(a++,O();e=I(N);){if(O(),58!==o.charCodeAt(a++))throw M("VariableDefinition");var s=H(),r=void 0;if(61===o.charCodeAt(a)&&(a++,O(),!(r=z(!0))))throw M("VariableDefinition");O(),t.push({kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:e.slice(1)}},type:s,defaultValue:r,directives:V(!0)})}if(41!==o.charCodeAt(a++))throw M("VariableDefinition");O()}return t}(),r=V(!1));var i=Q();if(i)return{kind:"OperationDefinition",operation:e||"query",name:t,variableDefinitions:s,directives:r,selectionSet:i}}function et(e,t){return o="string"==typeof e.body?e.body:e,a=0,function(){O();for(var e,t=[];e=Y()||ee();)t.push(e);return{kind:"Document",definitions:t}}()}function es(e){return JSON.stringify(e)}function er(e){return'"""\n'+e.replace(/"""/g,'\\"""')+'\n"""'}var en=e=>!(!e||!e.length),ei={OperationDefinition(e){if("query"===e.operation&&!e.name&&!en(e.variableDefinitions)&&!en(e.directives))return ei.SelectionSet(e.selectionSet);var t=e.operation;return e.name&&(t+=" "+e.name.value),en(e.variableDefinitions)&&(e.name||(t+=" "),t+="("+e.variableDefinitions.map(ei.VariableDefinition).join(", ")+")"),en(e.directives)&&(t+=" "+e.directives.map(ei.Directive).join(" ")),t+" "+ei.SelectionSet(e.selectionSet)},VariableDefinition(e){var t=ei.Variable(e.variable)+": "+eo(e.type);return e.defaultValue&&(t+=" = "+eo(e.defaultValue)),en(e.directives)&&(t+=" "+e.directives.map(ei.Directive).join(" ")),t},Field(e){var t=(e.alias?e.alias.value+": ":"")+e.name.value;if(en(e.arguments)){var s=e.arguments.map(ei.Argument),r=t+"("+s.join(", ")+")";t=r.length>80?t+"(\n  "+s.join("\n").replace(/\n/g,"\n  ")+"\n)":r}return en(e.directives)&&(t+=" "+e.directives.map(ei.Directive).join(" ")),e.selectionSet?t+" "+ei.SelectionSet(e.selectionSet):t},StringValue:e=>e.block?er(e.value):es(e.value),BooleanValue:e=>""+e.value,NullValue:e=>"null",IntValue:e=>e.value,FloatValue:e=>e.value,EnumValue:e=>e.value,Name:e=>e.value,Variable:e=>"$"+e.name.value,ListValue:e=>"["+e.values.map(eo).join(", ")+"]",ObjectValue:e=>"{"+e.fields.map(ei.ObjectField).join(", ")+"}",ObjectField:e=>e.name.value+": "+eo(e.value),Document:e=>en(e.definitions)?e.definitions.map(eo).join("\n\n"):"",SelectionSet:e=>"{\n  "+e.selections.map(eo).join("\n").replace(/\n/g,"\n  ")+"\n}",Argument:e=>e.name.value+": "+eo(e.value),FragmentSpread(e){var t="..."+e.name.value;return en(e.directives)&&(t+=" "+e.directives.map(ei.Directive).join(" ")),t},InlineFragment(e){var t="...";return e.typeCondition&&(t+=" on "+e.typeCondition.name.value),en(e.directives)&&(t+=" "+e.directives.map(ei.Directive).join(" ")),t+" "+eo(e.selectionSet)},FragmentDefinition(e){var t="fragment "+e.name.value;return t+=" on "+e.typeCondition.name.value,en(e.directives)&&(t+=" "+e.directives.map(ei.Directive).join(" ")),t+" "+eo(e.selectionSet)},Directive(e){var t="@"+e.name.value;return en(e.arguments)&&(t+="("+e.arguments.map(ei.Argument).join(", ")+")"),t},NamedType:e=>e.name.value,ListType:e=>"["+eo(e.type)+"]",NonNullType:e=>eo(e.type)+"!"};function eo(e){return ei[e.kind]?ei[e.kind](e):""}var ea=(e,t)=>{for(var s=0|(t||5381),r=0,i=0|e.length;r<i;r++)s=(s<<5)+s+e.charCodeAt(r);return s};new WeakMap;"undefined"!=typeof File&&File,"undefined"!=typeof Blob&&Blob;var el=/("{3}[\s\S]*"{3}|"(?:\\.|[^"])*")/g,ef=/(?:#[^\n\r]+)?(?:[\r\n]+|$)/g,eu=(e,t)=>t%2==0?e.replace(ef,"\n"):e,ec=e=>e.split(el).map(eu).join("").trim(),ed=new Map,ep=new Map,eh=e=>{var t;return"string"==typeof e?t=ec(e):e.loc&&ep.get(e.__key)===e?t=e.loc.source.body:(t=ed.get(e)||ec(eo(e)),ed.set(e,t)),"string"==typeof e||e.loc||(e.loc={start:0,end:t.length,source:{body:t,name:"gql",locationOffset:{line:1,column:1}}}),t},eb=e=>{var t=ea(eh(e));if(e.definitions){var s=em(e);s&&(t=ea(`
# ${s}`,t))}return t},e_=e=>{var t,s;return"string"==typeof e?(t=eb(e),s=ep.get(t)||et(e,{noLocation:!0})):(t=e.__key||eb(e),s=ep.get(t)||e),s.loc||eh(s),s.__key=t,ep.set(t,s),s},em=e=>{for(var t of e.definitions)if(t.kind===S.OPERATION_DEFINITION)return t.name?t.name.value:void 0};function eg(e){for(var t=new Map,s=[],r=[],i=Array.isArray(e)?e[0]:e||"",o=1;o<arguments.length;o++){var a=arguments[o];a&&a.definitions?r.push(a):i+=a,i+=arguments[0][o]}for(var l of(r.unshift(e_(i)),r))for(var f of l.definitions)if(f.kind===S.FRAGMENT_DEFINITION){var u=f.name.value,c=eh(f);t.has(u)||(t.set(u,c),s.push(f))}else s.push(f);return e_({kind:S.DOCUMENT,definitions:s})}function ev(){let e=(0,x._)(["\n  mutation UpdateAppMetadata($id: ID!, $input: [MetadataInput!]!) {\n    updatePrivateMetadata(id: $id, input: $input) {\n      item {\n        privateMetadata {\n          key\n          value\n        }\n      }\n    }\n  }\n"]);return ev=function(){return e},e}function ey(){let e=(0,x._)(["\n  query FetchAppDetails {\n    app {\n      id\n      privateMetadata {\n        key\n        value\n      }\n    }\n  }\n"]);return ey=function(){return e},e}function ew(){let e=(0,x._)(["\n  mutation RemovePrivateMetadata($id: ID!, $keys: [String!]!) {\n    deletePrivateMetadata(id: $id, keys: $keys) {\n      errors {\n        message\n      }\n    }\n  }\n"]);return ew=function(){return e},e}"undefined"!=typeof TextDecoder&&new TextDecoder,eg(ev()),eg(ey()),eg(ew()),s(4729),s(665)},2244:function(e,t,s){"use strict";s.d(t,{n:function(){return o}});var r=s(2983),i=s(4729);let o=()=>{let{appBridge:e}=(0,i.Zn)();return{notifySuccess:(0,r.useCallback)((t,s)=>{null==e||e.dispatch(i.Nw.Notification({status:"success",title:t,text:s}))},[e]),notifyError:(0,r.useCallback)((t,s,r)=>{null==e||e.dispatch(i.Nw.Notification({status:"error",title:t,text:s,apiMessage:r}))},[e]),notifyWarning:(0,r.useCallback)((t,s)=>{null==e||e.dispatch(i.Nw.Notification({status:"warning",title:t,text:s}))},[e]),notifyInfo:(0,r.useCallback)((t,s)=>{null==e||e.dispatch(i.Nw.Notification({status:"info",title:t,text:s}))},[e])}}},4562:function(e,t,s){var r="/",i=s(5313).Buffer,o=s(3656);!function(){var t={7160:function(e,t,s){var r=t;r.bignum=s(711),r.define=s(495).define,r.base=s(853),r.constants=s(7335),r.decoders=s(6701),r.encoders=s(3418)},495:function(e,t,s){var r=s(7160),i=s(3782);function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(e){var t;try{t=s(6144).runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(r.decoders[e])),this.decoders[e]},o.prototype.decode=function(e,t,s){return this._getDecoder(t).decode(e,s)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(r.encoders[e])),this.encoders[e]},o.prototype.encode=function(e,t,s){return this._getEncoder(t).encode(e,s)}},6483:function(e,t,s){var r=s(3782),i=s(853).Reporter,o=s(4300).Buffer;function a(e,t){if(i.call(this,t),!o.isBuffer(e)){this.error("Input not Buffer");return}this.base=e,this.offset=0,this.length=e.length}function l(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof l||(e=new l(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}r(a,i),t.C=a,a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var s=new a(this.base);return s._reporterState=this._reporterState,s.offset=this.offset,s.length=this.offset+e,this.offset+=e,s},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.R=l,l.prototype.join=function(e,t){return e||(e=new o(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(s){s.join(e,t),t+=s.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},853:function(e,t,s){var r=t;r.Reporter=s(1293).b,r.DecoderBuffer=s(6483).C,r.EncoderBuffer=s(6483).R,r.Node=s(9374)},9374:function(e,t,s){var r=s(853).Reporter,i=s(853).EncoderBuffer,o=s(853).DecoderBuffer,a=s(3523),l=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],f=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(l),u=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function c(e,t){var s={};this._baseState=s,s.enc=e,s.parent=t||null,s.children=null,s.tag=null,s.args=null,s.reverseArgs=null,s.choice=null,s.optional=!1,s.any=!1,s.obj=!1,s.use=null,s.useDecoder=null,s.key=null,s.default=null,s.explicit=null,s.implicit=null,s.contains=null,s.parent||(s.children=[],this._wrap())}e.exports=c;var d=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];c.prototype.clone=function(){var e=this._baseState,t={};d.forEach(function(s){t[s]=e[s]});var s=new this.constructor(t.parent);return s._baseState=t,s},c.prototype._wrap=function(){var e=this._baseState;f.forEach(function(t){this[t]=function(){var s=new this.constructor(this);return e.children.push(s),s[t].apply(s,arguments)}},this)},c.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),a.equal(t.children.length,1,"Root node can have only one child")},c.prototype._useArgs=function(e){var t=this._baseState,s=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==s.length&&(a(null===t.children),t.children=s,s.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(s){s==(0|s)&&(s|=0),t[e[s]]=s}),t}))},u.forEach(function(e){c.prototype[e]=function(){throw Error(e+" not implemented for encoding: "+this._baseState.enc)}}),l.forEach(function(e){c.prototype[e]=function(){var t=this._baseState,s=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(s),this}}),c.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},c.prototype.optional=function(){return this._baseState.optional=!0,this},c.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},c.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},c.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},c.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},c.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},c.prototype.any=function(){return this._baseState.any=!0,this},c.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},c.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},c.prototype._decode=function(e,t){var s,r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var i=r.default,a=!0,l=null;if(null!==r.key&&(l=e.enterKey(r.key)),r.optional){var f=null;if(null!==r.explicit?f=r.explicit:null!==r.implicit?f=r.implicit:null!==r.tag&&(f=r.tag),null!==f||r.any){if(a=this._peekTag(e,f,r.any),e.isError(a))return a}else{var u=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),a=!0}catch(e){a=!1}e.restore(u)}}if(r.obj&&a&&(s=e.enterObject()),a){if(null!==r.explicit){var c=this._decodeTag(e,r.explicit);if(e.isError(c))return c;e=c}var d=e.offset;if(null===r.use&&null===r.choice){if(r.any)var u=e.save();var p=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(p))return p;r.any?i=e.raw(u):e=p}if(t&&t.track&&null!==r.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(s){s._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var h=new o(i);i=this._getUse(r.contains,e._reporterState.obj)._decode(h,t)}}return r.obj&&a&&(i=e.leaveObject(s)),null!==r.key&&(null!==i||!0===a)?e.leaveKey(l,r.key,i):null!==l&&e.exitKey(l),i},c.prototype._decodeGeneric=function(e,t,s){var r=this._baseState;if("seq"===e||"set"===e)return null;if("seqof"===e||"setof"===e)return this._decodeList(t,e,r.args[0],s);if(/str$/.test(e))return this._decodeStr(t,e,s);if("objid"===e&&r.args)return this._decodeObjid(t,r.args[0],r.args[1],s);if("objid"===e)return this._decodeObjid(t,null,null,s);if("gentime"===e||"utctime"===e)return this._decodeTime(t,e,s);if("null_"===e)return this._decodeNull(t,s);if("bool"===e)return this._decodeBool(t,s);else if("objDesc"===e)return this._decodeStr(t,e,s);else if("int"===e||"enum"===e)return this._decodeInt(t,r.args&&r.args[0],s);return null!==r.use?this._getUse(r.use,t._reporterState.obj)._decode(t,s):t.error("unknown tag: "+e)},c.prototype._getUse=function(e,t){var s=this._baseState;return s.useDecoder=this._use(e,t),a(null===s.useDecoder._baseState.parent),s.useDecoder=s.useDecoder._baseState.children[0],s.implicit!==s.useDecoder._baseState.implicit&&(s.useDecoder=s.useDecoder.clone(),s.useDecoder._baseState.implicit=s.implicit),s.useDecoder},c.prototype._decodeChoice=function(e,t){var s=this._baseState,r=null,i=!1;return(Object.keys(s.choice).some(function(o){var a=e.save(),l=s.choice[o];try{var f=l._decode(e,t);if(e.isError(f))return!1;r={type:o,value:f},i=!0}catch(t){return e.restore(a),!1}return!0},this),i)?r:e.error("Choice not matched")},c.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},c.prototype._encode=function(e,t,s){var r=this._baseState;if(null===r.default||r.default!==e){var i=this._encodeValue(e,t,s);if(void 0!==i&&!this._skipDefault(i,t,s))return i}},c.prototype._encodeValue=function(e,t,s){var i,o=this._baseState;if(null===o.parent)return o.children[0]._encode(e,t||new r);var i=null;if(this.reporter=t,o.optional&&void 0===e){if(null===o.default)return;e=o.default}var a=null,l=!1;if(o.any)i=this._createEncoderBuffer(e);else if(o.choice)i=this._encodeChoice(e,t);else if(o.contains)a=this._getUse(o.contains,s)._encode(e,t),l=!0;else if(o.children)a=o.children.map(function(s){if("null_"===s._baseState.tag)return s._encode(null,t,e);if(null===s._baseState.key)return t.error("Child should have a key");var r=t.enterKey(s._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=s._encode(e[s._baseState.key],t,e);return t.leaveKey(r),i},this).filter(function(e){return e}),a=this._createEncoderBuffer(a);else if("seqof"===o.tag||"setof"===o.tag){if(!(o.args&&1===o.args.length))return t.error("Too many args for : "+o.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var f=this.clone();f._baseState.implicit=null,a=this._createEncoderBuffer(e.map(function(s){var r=this._baseState;return this._getUse(r.args[0],e)._encode(s,t)},f))}else null!==o.use?i=this._getUse(o.use,s)._encode(e,t):(a=this._encodePrimitive(o.tag,e),l=!0);if(!o.any&&null===o.choice){var u=null!==o.implicit?o.implicit:o.tag,c=null===o.implicit?"universal":"context";null===u?null===o.use&&t.error("Tag could be omitted only for .use()"):null===o.use&&(i=this._encodeComposite(u,l,c,a))}return null!==o.explicit&&(i=this._encodeComposite(o.explicit,!1,"context",i)),i},c.prototype._encodeChoice=function(e,t){var s=this._baseState,r=s.choice[e.type];return r||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(s.choice))),r._encode(e.value,t)},c.prototype._encodePrimitive=function(e,t){var s=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&s.args)return this._encodeObjid(t,s.reverseArgs[0],s.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,s.args&&s.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);else if("objDesc"===e)return this._encodeStr(t,e);else throw Error("Unsupported tag: "+e)},c.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},c.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},1293:function(e,t,s){var r=s(3782);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.b=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,s){var r=this._reporterState;this.exitKey(e),null!==r.obj&&(r.obj[t]=s)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,s=t.obj;return t.obj=e,s},i.prototype.error=function(e){var t,s=this._reporterState,r=e instanceof o;if(t=r?e:new o(s.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!s.options.partial)throw t;return r||s.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},r(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw Error(this.message)}catch(e){this.stack=e.stack}return this}},9791:function(e,t,s){var r=s(7335);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=r._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=r._reverse(t.tag)},7335:function(e,t,s){var r=t;r._reverse=function(e){var t={};return Object.keys(e).forEach(function(s){(0|s)==s&&(s|=0),t[e[s]]=s}),t},r.der=s(9791)},2259:function(e,t,s){var r=s(3782),i=s(7160),o=i.base,a=i.bignum,l=i.constants.der;function f(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.Node.call(this,"der",e)}function c(e,t){var s=e.readUInt8(t);if(e.isError(s))return s;var r=l.tagClass[s>>6],i=(32&s)==0;if((31&s)==31){var o=s;for(s=0;(128&o)==128;){if(o=e.readUInt8(t),e.isError(o))return o;s<<=7,s|=127&o}}else s&=31;var a=l.tag[s];return{cls:r,primitive:i,tag:s,tagStr:a}}function d(e,t,s){var r=e.readUInt8(s);if(e.isError(r))return r;if(!t&&128===r)return null;if((128&r)==0)return r;var i=127&r;if(i>4)return e.error("length octect is too long");r=0;for(var o=0;o<i;o++){r<<=8;var a=e.readUInt8(s);if(e.isError(a))return a;r|=a}return r}e.exports=f,f.prototype.decode=function(e,t){return e instanceof o.DecoderBuffer||(e=new o.DecoderBuffer(e,t)),this.tree._decode(e,t)},r(u,o.Node),u.prototype._peekTag=function(e,t,s){if(e.isEmpty())return!1;var r=e.save(),i=c(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(r),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||s)},u.prototype._decodeTag=function(e,t,s){var r=c(e,'Failed to decode tag of "'+t+'"');if(e.isError(r))return r;var i=d(e,r.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!s&&r.tag!==t&&r.tagStr!==t&&r.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(r.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var o=e.save(),a=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(a)?a:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){for(;;){var s,r=c(e,t);if(e.isError(r))return r;var i=d(e,r.primitive,t);if(e.isError(i))return i;if(s=r.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(s))return s;if("end"===r.tagStr)break}},u.prototype._decodeList=function(e,t,s,r){for(var i=[];!e.isEmpty();){var o=this._peekTag(e,"end");if(e.isError(o))return o;var a=s.decode(e,"der",r);if(e.isError(a)&&o)break;i.push(a)}return i},u.prototype._decodeStr=function(e,t){if("bitstr"===t){var s=e.readUInt8();return e.isError(s)?s:{unused:s,data:e.raw()}}if("bmpstr"===t){var r=e.raw();if(r.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<r.length/2;o++)i+=String.fromCharCode(r.readUInt16BE(2*o));return i}if("numstr"===t){var a=e.raw().toString("ascii");return this._isNumstr(a)?a:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var l=e.raw().toString("ascii");return this._isPrintstr(l)?l:e.error("Decoding of string type: printstr unsupported characters")}if(/str$/.test(t))return e.raw().toString();else return e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,s){for(var r,i=[],o=0;!e.isEmpty();){var a=e.readUInt8();o<<=7,o|=127&a,(128&a)==0&&(i.push(o),o=0)}128&a&&i.push(o);var l=i[0]/40|0,f=i[0]%40;if(r=s?i:[l,f].concat(i.slice(1)),t){var u=t[r.join(" ")];void 0===u&&(u=t[r.join(".")]),void 0!==u&&(r=u)}return r},u.prototype._decodeTime=function(e,t){var s=e.raw().toString();if("gentime"===t)var r=0|s.slice(0,4),i=0|s.slice(4,6),o=0|s.slice(6,8),a=0|s.slice(8,10),l=0|s.slice(10,12),f=0|s.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");var r=0|s.slice(0,2),i=0|s.slice(2,4),o=0|s.slice(4,6),a=0|s.slice(6,8),l=0|s.slice(8,10),f=0|s.slice(10,12);r=r<70?2e3+r:1900+r}return Date.UTC(r,i-1,o,a,l,f,0)},u.prototype._decodeNull=function(e){return null},u.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){var s=new a(e.raw());return t&&(s=t[s.toString(10)]||s),s},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},6701:function(e,t,s){var r=t;r.der=s(2259),r.pem=s(8527)},8527:function(e,t,s){var r=s(3782),i=s(4300).Buffer,o=s(2259);function a(e){o.call(this,e),this.enc="pem"}r(a,o),e.exports=a,a.prototype.decode=function(e,t){for(var s=e.toString().split(/[\r\n]+/g),r=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,l=-1,f=-1,u=0;u<s.length;u++){var c=s[u].match(a);if(null!==c&&c[2]===r){if(-1===l){if("BEGIN"!==c[1])break;l=u}else{if("END"!==c[1])break;f=u;break}}}if(-1===l||-1===f)throw Error("PEM section not found for: "+r);var d=s.slice(l+1,f).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var p=new i(d,"base64");return o.prototype.decode.call(this,p,t)}},7804:function(e,t,s){var r=s(3782),i=s(4300).Buffer,o=s(7160),a=o.base,l=o.constants.der;function f(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){a.Node.call(this,"der",e)}function c(e){return e<10?"0"+e:e}function d(e,t,s,r){var i;if("seqof"===e?e="seq":"setof"===e&&(e="set"),l.tagByName.hasOwnProperty(e))i=l.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return r.error("Unknown tag: "+e);i=e}return i>=31?r.error("Multi-octet tag encoding unsupported"):(t||(i|=32),i|=l.tagClassByName[s||"universal"]<<6)}e.exports=f,f.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},r(u,a.Node),u.prototype._encodeComposite=function(e,t,s,r){var o=d(e,t,s,this.reporter);if(r.length<128){var a=new i(2);return a[0]=o,a[1]=r.length,this._createEncoderBuffer([a,r])}for(var l=1,f=r.length;f>=256;f>>=8)l++;var a=new i(2+l);a[0]=o,a[1]=128|l;for(var f=1+l,u=r.length;u>0;f--,u>>=8)a[f]=255&u;return this._createEncoderBuffer([a,r])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var s=new i(2*e.length),r=0;r<e.length;r++)s.writeUInt16BE(e.charCodeAt(r),2*r);return this._createEncoderBuffer(s)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)?this._createEncoderBuffer(e):"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},u.prototype._encodeObjid=function(e,t,s){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var r=0;r<e.length;r++)e[r]|=0}else if(Array.isArray(e)){e=e.slice();for(var r=0;r<e.length;r++)e[r]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!s){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}for(var o=0,r=0;r<e.length;r++){var a=e[r];for(o++;a>=128;a>>=7)o++}for(var l=new i(o),f=l.length-1,r=e.length-1;r>=0;r--){var a=e[r];for(l[f--]=127&a;(a>>=7)>0;)l[f--]=128|127&a}return this._createEncoderBuffer(l)},u.prototype._encodeTime=function(e,t){var s,r=new Date(e);return"gentime"===t?s=[c(r.getFullYear()),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):"utctime"===t?s=[c(r.getFullYear()%100),c(r.getUTCMonth()+1),c(r.getUTCDate()),c(r.getUTCHours()),c(r.getUTCMinutes()),c(r.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(s,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){var s=e.toArray();!e.sign&&128&s[0]&&s.unshift(0),e=new i(s)}if(i.isBuffer(e)){var r=e.length;0===e.length&&r++;var o=new i(r);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var r=1,a=e;a>=256;a>>=8)r++;for(var o=Array(r),a=o.length-1;a>=0;a--)o[a]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,s){var r,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,s).join()),o.length!==i.defaultBuffer.length)return!1;for(r=0;r<o.length;r++)if(o[r]!==i.defaultBuffer[r])return!1;return!0}},3418:function(e,t,s){var r=t;r.der=s(7804),r.pem=s(1564)},1564:function(e,t,s){var r=s(3782),i=s(7804);function o(e){i.call(this,e),this.enc="pem"}r(o,i),e.exports=o,o.prototype.encode=function(e,t){for(var s=i.prototype.encode.call(this,e).toString("base64"),r=["-----BEGIN "+t.label+"-----"],o=0;o<s.length;o+=64)r.push(s.slice(o,o+64));return r.push("-----END "+t.label+"-----"),r.join("\n")}},711:function(e,t,s){!function(e,t){"use strict";function r(e,t){if(!e)throw Error(t||"Assertion failed")}function i(e,t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e}function o(e,t,s){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(s=t,t=10),this._init(e||0,t||10,s||"be"))}"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{f=s(4300).Buffer}catch(e){}function a(e,t,s){for(var r=0,i=Math.min(e.length,s),o=t;o<i;o++){var a=e.charCodeAt(o)-48;r<<=4,a>=49&&a<=54?r|=a-49+10:a>=17&&a<=22?r|=a-17+10:r|=15&a}return r}function l(e,t,s,r){for(var i=0,o=Math.min(e.length,s),a=t;a<o;a++){var l=e.charCodeAt(a)-48;i*=r,l>=49?i+=l-49+10:l>=17?i+=l-17+10:i+=l}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return 0>e.cmp(t)?e:t},o.prototype._init=function(e,t,s){if("number"==typeof e)return this._initNumber(e,t,s);if("object"==typeof e)return this._initArray(e,t,s);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this.strip(),"le"===s&&this._initArray(this.toArray(),t,s)},o.prototype._initNumber=function(e,t,s){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===s&&this._initArray(this.toArray(),t,s)},o.prototype._initArray=function(e,t,s){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var i,o,a=0;a<this.length;a++)this.words[a]=0;var l=0;if("be"===s)for(a=e.length-1,i=0;a>=0;a-=3)o=e[a]|e[a-1]<<8|e[a-2]<<16,this.words[i]|=o<<l&67108863,this.words[i+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,i++);else if("le"===s)for(a=0,i=0;a<e.length;a+=3)o=e[a]|e[a+1]<<8|e[a+2]<<16,this.words[i]|=o<<l&67108863,this.words[i+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,i++);return this.strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var s,r,i=0;i<this.length;i++)this.words[i]=0;var o=0;for(i=e.length-6,s=0;i>=t;i-=6)r=a(e,i,i+6),this.words[s]|=r<<o&67108863,this.words[s+1]|=r>>>26-o&4194303,(o+=24)>=26&&(o-=26,s++);i+6!==t&&(r=a(e,t,i+6),this.words[s]|=r<<o&67108863,this.words[s+1]|=r>>>26-o&4194303),this.strip()},o.prototype._parseBase=function(e,t,s){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-s,a=o%r,f=Math.min(o,o-a)+s,u=0,c=s;c<f;c+=r)u=l(e,c,c+r,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==a){var d=1;for(u=l(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},o.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var f,u=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],c=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],d=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function p(e){for(var t=Array(e.bitLength()),s=0;s<t.length;s++){var r=s/26|0,i=s%26;t[s]=(e.words[r]&1<<i)>>>i}return t}function h(e,t,s){s.negative=t.negative^e.negative;var r=e.length+t.length|0;s.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,l=67108863&a,f=a/67108864|0;s.words[0]=l;for(var u=1;u<r;u++){for(var c=f>>>26,d=67108863&f,p=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=p;h++){var b=u-h|0;c+=(a=(i=0|e.words[b])*(o=0|t.words[h])+d)/67108864|0,d=67108863&a}s.words[u]=0|d,f=0|c}return 0!==f?s.words[u]=0|f:s.length--,s.strip()}o.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){s="";for(var s,i=0,o=0,a=0;a<this.length;a++){var l=this.words[a],f=((l<<i|o)&16777215).toString(16);s=0!=(o=l>>>24-i&16777215)||a!==this.length-1?u[6-f.length]+f+s:f+s,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(s=o.toString(16)+s);s.length%t!=0;)s="0"+s;return 0!==this.negative&&(s="-"+s),s}if(e===(0|e)&&e>=2&&e<=36){var p=c[e],h=d[e];s="";var b=this.clone();for(b.negative=0;!b.isZero();){var _=b.modn(h).toString(e);s=(b=b.idivn(h)).isZero()?_+s:u[p-_.length]+_+s}for(this.isZero()&&(s="0"+s);s.length%t!=0;)s="0"+s;return 0!==this.negative&&(s="-"+s),s}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return r(void 0!==f),this.toArrayLike(f,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,s){var i,o,a=this.byteLength(),l=s||Math.max(1,a);r(a<=l,"byte array longer than desired length"),r(l>0,"Requested array length <= 0"),this.strip();var f="le"===t,u=new e(l),c=this.clone();if(f){for(o=0;!c.isZero();o++)i=c.andln(255),c.iushrn(8),u[o]=i;for(;o<l;o++)u[o]=0}else{for(o=0;o<l-a;o++)u[o]=0;for(o=0;!c.isZero();o++)i=c.andln(255),c.iushrn(8),u[l-o-1]=i}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,s=0;return t>=4096&&(s+=13,t>>>=13),t>=64&&(s+=7,t>>>=7),t>=8&&(s+=4,t>>>=4),t>=2&&(s+=2,t>>>=2),s+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,s=0;return(8191&t)==0&&(s+=13,t>>>=13),(127&t)==0&&(s+=7,t>>>=7),(15&t)==0&&(s+=4,t>>>=4),(3&t)==0&&(s+=2,t>>>=2),(1&t)==0&&s++,s},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var s=this._zeroBits(this.words[t]);if(e+=s,26!==s)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return r((this.negative|e.negative)==0),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var s=0;s<t.length;s++)this.words[s]=this.words[s]&e.words[s];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return r((this.negative|e.negative)==0),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){this.length>e.length?(t=this,s=e):(t=e,s=this);for(var t,s,r=0;r<s.length;r++)this.words[r]=t.words[r]^s.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return r((this.negative|e.negative)==0),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),s=e%26;this._expand(t),s>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return s>0&&(this.words[i]=~this.words[i]&67108863>>26-s),this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var s=e/26|0,i=e%26;return this._expand(s+1),t?this.words[s]=this.words[s]|1<<i:this.words[s]=this.words[s]&~(1<<i),this.strip()},o.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(s=this,r=e):(s=e,r=this);for(var t,s,r,i=0,o=0;o<r.length;o++)t=(0|s.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<s.length;o++)t=(0|s.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=s.length,0!==i)this.words[this.length]=i,this.length++;else if(s!==this)for(;o<s.length;o++)this.words[o]=s.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,s,r=this.iadd(e);return e.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(t=this,s=e):(t=e,s=this);for(var o=0,a=0;a<s.length;a++)o=(r=(0|t.words[a])-(0|s.words[a])+o)>>26,this.words[a]=67108863&r;for(;0!==o&&a<t.length;a++)o=(r=(0|t.words[a])+o)>>26,this.words[a]=67108863&r;if(0===o&&a<t.length&&t!==this)for(;a<t.length;a++)this.words[a]=t.words[a];return this.length=Math.max(this.length,a),t!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var b=function(e,t,s){var r,i,o,a=e.words,l=t.words,f=s.words,u=0,c=0|a[0],d=8191&c,p=c>>>13,h=0|a[1],b=8191&h,_=h>>>13,m=0|a[2],g=8191&m,v=m>>>13,y=0|a[3],w=8191&y,C=y>>>13,k=0|a[4],x=8191&k,S=k>>>13,E=0|a[5],M=8191&E,I=E>>>13,A=0|a[6],R=8191&A,O=A>>>13,j=0|a[7],P=8191&j,T=j>>>13,N=0|a[8],D=8191&N,L=N>>>13,B=0|a[9],q=8191&B,F=B>>>13,z=0|l[0],U=8191&z,V=z>>>13,$=0|l[1],H=8191&$,W=$>>>13,K=0|l[2],G=8191&K,Z=K>>>13,Q=0|l[3],X=8191&Q,Y=Q>>>13,J=0|l[4],ee=8191&J,et=J>>>13,es=0|l[5],er=8191&es,en=es>>>13,ei=0|l[6],eo=8191&ei,ea=ei>>>13,el=0|l[7],ef=8191&el,eu=el>>>13,ec=0|l[8],ed=8191&ec,ep=ec>>>13,eh=0|l[9],eb=8191&eh,e_=eh>>>13;s.negative=e.negative^t.negative,s.length=19;var em=(u+(r=Math.imul(d,U))|0)+((8191&(i=(i=Math.imul(d,V))+Math.imul(p,U)|0))<<13)|0;u=((o=Math.imul(p,V))+(i>>>13)|0)+(em>>>26)|0,em&=67108863,r=Math.imul(b,U),i=(i=Math.imul(b,V))+Math.imul(_,U)|0,o=Math.imul(_,V);var eg=(u+(r=r+Math.imul(d,H)|0)|0)+((8191&(i=(i=i+Math.imul(d,W)|0)+Math.imul(p,H)|0))<<13)|0;u=((o=o+Math.imul(p,W)|0)+(i>>>13)|0)+(eg>>>26)|0,eg&=67108863,r=Math.imul(g,U),i=(i=Math.imul(g,V))+Math.imul(v,U)|0,o=Math.imul(v,V),r=r+Math.imul(b,H)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(_,H)|0,o=o+Math.imul(_,W)|0;var ev=(u+(r=r+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,Z)|0)+Math.imul(p,G)|0))<<13)|0;u=((o=o+Math.imul(p,Z)|0)+(i>>>13)|0)+(ev>>>26)|0,ev&=67108863,r=Math.imul(w,U),i=(i=Math.imul(w,V))+Math.imul(C,U)|0,o=Math.imul(C,V),r=r+Math.imul(g,H)|0,i=(i=i+Math.imul(g,W)|0)+Math.imul(v,H)|0,o=o+Math.imul(v,W)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,Z)|0)+Math.imul(_,G)|0,o=o+Math.imul(_,Z)|0;var ey=(u+(r=r+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(p,X)|0))<<13)|0;u=((o=o+Math.imul(p,Y)|0)+(i>>>13)|0)+(ey>>>26)|0,ey&=67108863,r=Math.imul(x,U),i=(i=Math.imul(x,V))+Math.imul(S,U)|0,o=Math.imul(S,V),r=r+Math.imul(w,H)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,W)|0,r=r+Math.imul(g,G)|0,i=(i=i+Math.imul(g,Z)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,Z)|0,r=r+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,Y)|0;var ew=(u+(r=r+Math.imul(d,ee)|0)|0)+((8191&(i=(i=i+Math.imul(d,et)|0)+Math.imul(p,ee)|0))<<13)|0;u=((o=o+Math.imul(p,et)|0)+(i>>>13)|0)+(ew>>>26)|0,ew&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,V))+Math.imul(I,U)|0,o=Math.imul(I,V),r=r+Math.imul(x,H)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,W)|0,r=r+Math.imul(w,G)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(C,G)|0,o=o+Math.imul(C,Z)|0,r=r+Math.imul(g,X)|0,i=(i=i+Math.imul(g,Y)|0)+Math.imul(v,X)|0,o=o+Math.imul(v,Y)|0,r=r+Math.imul(b,ee)|0,i=(i=i+Math.imul(b,et)|0)+Math.imul(_,ee)|0,o=o+Math.imul(_,et)|0;var eC=(u+(r=r+Math.imul(d,er)|0)|0)+((8191&(i=(i=i+Math.imul(d,en)|0)+Math.imul(p,er)|0))<<13)|0;u=((o=o+Math.imul(p,en)|0)+(i>>>13)|0)+(eC>>>26)|0,eC&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,V))+Math.imul(O,U)|0,o=Math.imul(O,V),r=r+Math.imul(M,H)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(I,H)|0,o=o+Math.imul(I,W)|0,r=r+Math.imul(x,G)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,Z)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Y)|0,r=r+Math.imul(g,ee)|0,i=(i=i+Math.imul(g,et)|0)+Math.imul(v,ee)|0,o=o+Math.imul(v,et)|0,r=r+Math.imul(b,er)|0,i=(i=i+Math.imul(b,en)|0)+Math.imul(_,er)|0,o=o+Math.imul(_,en)|0;var ek=(u+(r=r+Math.imul(d,eo)|0)|0)+((8191&(i=(i=i+Math.imul(d,ea)|0)+Math.imul(p,eo)|0))<<13)|0;u=((o=o+Math.imul(p,ea)|0)+(i>>>13)|0)+(ek>>>26)|0,ek&=67108863,r=Math.imul(P,U),i=(i=Math.imul(P,V))+Math.imul(T,U)|0,o=Math.imul(T,V),r=r+Math.imul(R,H)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,W)|0,r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,Z)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,Z)|0,r=r+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(w,ee)|0,i=(i=i+Math.imul(w,et)|0)+Math.imul(C,ee)|0,o=o+Math.imul(C,et)|0,r=r+Math.imul(g,er)|0,i=(i=i+Math.imul(g,en)|0)+Math.imul(v,er)|0,o=o+Math.imul(v,en)|0,r=r+Math.imul(b,eo)|0,i=(i=i+Math.imul(b,ea)|0)+Math.imul(_,eo)|0,o=o+Math.imul(_,ea)|0;var ex=(u+(r=r+Math.imul(d,ef)|0)|0)+((8191&(i=(i=i+Math.imul(d,eu)|0)+Math.imul(p,ef)|0))<<13)|0;u=((o=o+Math.imul(p,eu)|0)+(i>>>13)|0)+(ex>>>26)|0,ex&=67108863,r=Math.imul(D,U),i=(i=Math.imul(D,V))+Math.imul(L,U)|0,o=Math.imul(L,V),r=r+Math.imul(P,H)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,W)|0,r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,Z)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,Z)|0,r=r+Math.imul(M,X)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,Y)|0,r=r+Math.imul(x,ee)|0,i=(i=i+Math.imul(x,et)|0)+Math.imul(S,ee)|0,o=o+Math.imul(S,et)|0,r=r+Math.imul(w,er)|0,i=(i=i+Math.imul(w,en)|0)+Math.imul(C,er)|0,o=o+Math.imul(C,en)|0,r=r+Math.imul(g,eo)|0,i=(i=i+Math.imul(g,ea)|0)+Math.imul(v,eo)|0,o=o+Math.imul(v,ea)|0,r=r+Math.imul(b,ef)|0,i=(i=i+Math.imul(b,eu)|0)+Math.imul(_,ef)|0,o=o+Math.imul(_,eu)|0;var eS=(u+(r=r+Math.imul(d,ed)|0)|0)+((8191&(i=(i=i+Math.imul(d,ep)|0)+Math.imul(p,ed)|0))<<13)|0;u=((o=o+Math.imul(p,ep)|0)+(i>>>13)|0)+(eS>>>26)|0,eS&=67108863,r=Math.imul(q,U),i=(i=Math.imul(q,V))+Math.imul(F,U)|0,o=Math.imul(F,V),r=r+Math.imul(D,H)|0,i=(i=i+Math.imul(D,W)|0)+Math.imul(L,H)|0,o=o+Math.imul(L,W)|0,r=r+Math.imul(P,G)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,Z)|0,r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(M,ee)|0,i=(i=i+Math.imul(M,et)|0)+Math.imul(I,ee)|0,o=o+Math.imul(I,et)|0,r=r+Math.imul(x,er)|0,i=(i=i+Math.imul(x,en)|0)+Math.imul(S,er)|0,o=o+Math.imul(S,en)|0,r=r+Math.imul(w,eo)|0,i=(i=i+Math.imul(w,ea)|0)+Math.imul(C,eo)|0,o=o+Math.imul(C,ea)|0,r=r+Math.imul(g,ef)|0,i=(i=i+Math.imul(g,eu)|0)+Math.imul(v,ef)|0,o=o+Math.imul(v,eu)|0,r=r+Math.imul(b,ed)|0,i=(i=i+Math.imul(b,ep)|0)+Math.imul(_,ed)|0,o=o+Math.imul(_,ep)|0;var eE=(u+(r=r+Math.imul(d,eb)|0)|0)+((8191&(i=(i=i+Math.imul(d,e_)|0)+Math.imul(p,eb)|0))<<13)|0;u=((o=o+Math.imul(p,e_)|0)+(i>>>13)|0)+(eE>>>26)|0,eE&=67108863,r=Math.imul(q,H),i=(i=Math.imul(q,W))+Math.imul(F,H)|0,o=Math.imul(F,W),r=r+Math.imul(D,G)|0,i=(i=i+Math.imul(D,Z)|0)+Math.imul(L,G)|0,o=o+Math.imul(L,Z)|0,r=r+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,r=r+Math.imul(R,ee)|0,i=(i=i+Math.imul(R,et)|0)+Math.imul(O,ee)|0,o=o+Math.imul(O,et)|0,r=r+Math.imul(M,er)|0,i=(i=i+Math.imul(M,en)|0)+Math.imul(I,er)|0,o=o+Math.imul(I,en)|0,r=r+Math.imul(x,eo)|0,i=(i=i+Math.imul(x,ea)|0)+Math.imul(S,eo)|0,o=o+Math.imul(S,ea)|0,r=r+Math.imul(w,ef)|0,i=(i=i+Math.imul(w,eu)|0)+Math.imul(C,ef)|0,o=o+Math.imul(C,eu)|0,r=r+Math.imul(g,ed)|0,i=(i=i+Math.imul(g,ep)|0)+Math.imul(v,ed)|0,o=o+Math.imul(v,ep)|0;var eM=(u+(r=r+Math.imul(b,eb)|0)|0)+((8191&(i=(i=i+Math.imul(b,e_)|0)+Math.imul(_,eb)|0))<<13)|0;u=((o=o+Math.imul(_,e_)|0)+(i>>>13)|0)+(eM>>>26)|0,eM&=67108863,r=Math.imul(q,G),i=(i=Math.imul(q,Z))+Math.imul(F,G)|0,o=Math.imul(F,Z),r=r+Math.imul(D,X)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(L,X)|0,o=o+Math.imul(L,Y)|0,r=r+Math.imul(P,ee)|0,i=(i=i+Math.imul(P,et)|0)+Math.imul(T,ee)|0,o=o+Math.imul(T,et)|0,r=r+Math.imul(R,er)|0,i=(i=i+Math.imul(R,en)|0)+Math.imul(O,er)|0,o=o+Math.imul(O,en)|0,r=r+Math.imul(M,eo)|0,i=(i=i+Math.imul(M,ea)|0)+Math.imul(I,eo)|0,o=o+Math.imul(I,ea)|0,r=r+Math.imul(x,ef)|0,i=(i=i+Math.imul(x,eu)|0)+Math.imul(S,ef)|0,o=o+Math.imul(S,eu)|0,r=r+Math.imul(w,ed)|0,i=(i=i+Math.imul(w,ep)|0)+Math.imul(C,ed)|0,o=o+Math.imul(C,ep)|0;var eI=(u+(r=r+Math.imul(g,eb)|0)|0)+((8191&(i=(i=i+Math.imul(g,e_)|0)+Math.imul(v,eb)|0))<<13)|0;u=((o=o+Math.imul(v,e_)|0)+(i>>>13)|0)+(eI>>>26)|0,eI&=67108863,r=Math.imul(q,X),i=(i=Math.imul(q,Y))+Math.imul(F,X)|0,o=Math.imul(F,Y),r=r+Math.imul(D,ee)|0,i=(i=i+Math.imul(D,et)|0)+Math.imul(L,ee)|0,o=o+Math.imul(L,et)|0,r=r+Math.imul(P,er)|0,i=(i=i+Math.imul(P,en)|0)+Math.imul(T,er)|0,o=o+Math.imul(T,en)|0,r=r+Math.imul(R,eo)|0,i=(i=i+Math.imul(R,ea)|0)+Math.imul(O,eo)|0,o=o+Math.imul(O,ea)|0,r=r+Math.imul(M,ef)|0,i=(i=i+Math.imul(M,eu)|0)+Math.imul(I,ef)|0,o=o+Math.imul(I,eu)|0,r=r+Math.imul(x,ed)|0,i=(i=i+Math.imul(x,ep)|0)+Math.imul(S,ed)|0,o=o+Math.imul(S,ep)|0;var eA=(u+(r=r+Math.imul(w,eb)|0)|0)+((8191&(i=(i=i+Math.imul(w,e_)|0)+Math.imul(C,eb)|0))<<13)|0;u=((o=o+Math.imul(C,e_)|0)+(i>>>13)|0)+(eA>>>26)|0,eA&=67108863,r=Math.imul(q,ee),i=(i=Math.imul(q,et))+Math.imul(F,ee)|0,o=Math.imul(F,et),r=r+Math.imul(D,er)|0,i=(i=i+Math.imul(D,en)|0)+Math.imul(L,er)|0,o=o+Math.imul(L,en)|0,r=r+Math.imul(P,eo)|0,i=(i=i+Math.imul(P,ea)|0)+Math.imul(T,eo)|0,o=o+Math.imul(T,ea)|0,r=r+Math.imul(R,ef)|0,i=(i=i+Math.imul(R,eu)|0)+Math.imul(O,ef)|0,o=o+Math.imul(O,eu)|0,r=r+Math.imul(M,ed)|0,i=(i=i+Math.imul(M,ep)|0)+Math.imul(I,ed)|0,o=o+Math.imul(I,ep)|0;var eR=(u+(r=r+Math.imul(x,eb)|0)|0)+((8191&(i=(i=i+Math.imul(x,e_)|0)+Math.imul(S,eb)|0))<<13)|0;u=((o=o+Math.imul(S,e_)|0)+(i>>>13)|0)+(eR>>>26)|0,eR&=67108863,r=Math.imul(q,er),i=(i=Math.imul(q,en))+Math.imul(F,er)|0,o=Math.imul(F,en),r=r+Math.imul(D,eo)|0,i=(i=i+Math.imul(D,ea)|0)+Math.imul(L,eo)|0,o=o+Math.imul(L,ea)|0,r=r+Math.imul(P,ef)|0,i=(i=i+Math.imul(P,eu)|0)+Math.imul(T,ef)|0,o=o+Math.imul(T,eu)|0,r=r+Math.imul(R,ed)|0,i=(i=i+Math.imul(R,ep)|0)+Math.imul(O,ed)|0,o=o+Math.imul(O,ep)|0;var eO=(u+(r=r+Math.imul(M,eb)|0)|0)+((8191&(i=(i=i+Math.imul(M,e_)|0)+Math.imul(I,eb)|0))<<13)|0;u=((o=o+Math.imul(I,e_)|0)+(i>>>13)|0)+(eO>>>26)|0,eO&=67108863,r=Math.imul(q,eo),i=(i=Math.imul(q,ea))+Math.imul(F,eo)|0,o=Math.imul(F,ea),r=r+Math.imul(D,ef)|0,i=(i=i+Math.imul(D,eu)|0)+Math.imul(L,ef)|0,o=o+Math.imul(L,eu)|0,r=r+Math.imul(P,ed)|0,i=(i=i+Math.imul(P,ep)|0)+Math.imul(T,ed)|0,o=o+Math.imul(T,ep)|0;var ej=(u+(r=r+Math.imul(R,eb)|0)|0)+((8191&(i=(i=i+Math.imul(R,e_)|0)+Math.imul(O,eb)|0))<<13)|0;u=((o=o+Math.imul(O,e_)|0)+(i>>>13)|0)+(ej>>>26)|0,ej&=67108863,r=Math.imul(q,ef),i=(i=Math.imul(q,eu))+Math.imul(F,ef)|0,o=Math.imul(F,eu),r=r+Math.imul(D,ed)|0,i=(i=i+Math.imul(D,ep)|0)+Math.imul(L,ed)|0,o=o+Math.imul(L,ep)|0;var eP=(u+(r=r+Math.imul(P,eb)|0)|0)+((8191&(i=(i=i+Math.imul(P,e_)|0)+Math.imul(T,eb)|0))<<13)|0;u=((o=o+Math.imul(T,e_)|0)+(i>>>13)|0)+(eP>>>26)|0,eP&=67108863,r=Math.imul(q,ed),i=(i=Math.imul(q,ep))+Math.imul(F,ed)|0,o=Math.imul(F,ep);var eT=(u+(r=r+Math.imul(D,eb)|0)|0)+((8191&(i=(i=i+Math.imul(D,e_)|0)+Math.imul(L,eb)|0))<<13)|0;u=((o=o+Math.imul(L,e_)|0)+(i>>>13)|0)+(eT>>>26)|0,eT&=67108863;var eN=(u+(r=Math.imul(q,eb))|0)+((8191&(i=(i=Math.imul(q,e_))+Math.imul(F,eb)|0))<<13)|0;return u=((o=Math.imul(F,e_))+(i>>>13)|0)+(eN>>>26)|0,eN&=67108863,f[0]=em,f[1]=eg,f[2]=ev,f[3]=ey,f[4]=ew,f[5]=eC,f[6]=ek,f[7]=ex,f[8]=eS,f[9]=eE,f[10]=eM,f[11]=eI,f[12]=eA,f[13]=eR,f[14]=eO,f[15]=ej,f[16]=eP,f[17]=eT,f[18]=eN,0!==u&&(f[19]=u,s.length++),s};function _(e,t,s){s.negative=t.negative^e.negative,s.length=e.length+t.length;for(var r=0,i=0,o=0;o<s.length-1;o++){var a=i;i=0;for(var l=67108863&r,f=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=f;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),p=67108863&d;a=a+(d/67108864|0)|0,l=67108863&(p=p+l|0),i+=(a=a+(p>>>26)|0)>>>26,a&=67108863}s.words[o]=l,r=a,a=i}return 0!==r?s.words[o]=r:s.length--,s.strip()}function m(e,t,s){return(new g).mulp(e,t,s)}function g(e,t){this.x=e,this.y=t}Math.imul||(b=h),o.prototype.mulTo=function(e,t){var s=this.length+e.length;return 10===this.length&&10===e.length?b(this,e,t):s<63?h(this,e,t):s<1024?_(this,e,t):m(this,e,t)},g.prototype.makeRBT=function(e){for(var t=Array(e),s=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,s,e);return t},g.prototype.revBin=function(e,t,s){if(0===e||e===s-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},g.prototype.permute=function(e,t,s,r,i,o){for(var a=0;a<o;a++)r[a]=t[e[a]],i[a]=s[e[a]]},g.prototype.transform=function(e,t,s,r,i,o){this.permute(o,e,t,s,r,i);for(var a=1;a<i;a<<=1)for(var l=a<<1,f=Math.cos(2*Math.PI/l),u=Math.sin(2*Math.PI/l),c=0;c<i;c+=l)for(var d=f,p=u,h=0;h<a;h++){var b=s[c+h],_=r[c+h],m=s[c+h+a],g=r[c+h+a],v=d*m-p*g;g=d*g+p*m,m=v,s[c+h]=b+m,r[c+h]=_+g,s[c+h+a]=b-m,r[c+h+a]=_-g,h!==l&&(v=f*d-u*p,p=f*p+u*d,d=v)}},g.prototype.guessLen13b=function(e,t){var s=1|Math.max(t,e),r=1&s,i=0;for(s=s/2|0;s;s>>>=1)i++;return 1<<i+1+r},g.prototype.conjugate=function(e,t,s){if(!(s<=1))for(var r=0;r<s/2;r++){var i=e[r];e[r]=e[s-r-1],e[s-r-1]=i,i=t[r],t[r]=-t[s-r-1],t[s-r-1]=-i}},g.prototype.normalize13b=function(e,t){for(var s=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+s;e[r]=67108863&i,s=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,s,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],s[2*a]=8191&o,o>>>=13,s[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)s[a]=0;r(0===o),r((-8192&o)==0)},g.prototype.stub=function(e){for(var t=Array(e),s=0;s<e;s++)t[s]=0;return t},g.prototype.mulp=function(e,t,s){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),a=Array(r),l=Array(r),f=Array(r),u=Array(r),c=Array(r),d=Array(r),p=s.words;p.length=r,this.convert13b(e.words,e.length,a,r),this.convert13b(t.words,t.length,u,r),this.transform(a,o,l,f,r,i),this.transform(u,o,c,d,r,i);for(var h=0;h<r;h++){var b=l[h]*c[h]-f[h]*d[h];f[h]=l[h]*d[h]+f[h]*c[h],l[h]=b}return this.conjugate(l,f,r),this.transform(l,f,p,o,r,i),this.conjugate(p,o,r),this.normalize13b(p,r),s.negative=e.negative^t.negative,s.length=e.length+t.length,s.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){r("number"==typeof e),r(e<67108864);for(var t=0,s=0;s<this.length;s++){var i=(0|this.words[s])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=(i/67108864|0)+(o>>>26),this.words[s]=67108863&o}return 0!==t&&(this.words[s]=t,this.length++),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=p(e);if(0===t.length)return new o(1);for(var s=this,r=0;r<t.length&&0===t[r];r++,s=s.sqr());if(++r<t.length)for(var i=s.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(s=s.mul(i));return s},o.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,s=e%26,i=(e-s)/26,o=67108863>>>26-s<<26-s;if(0!==s){var a=0;for(t=0;t<this.length;t++){var l=this.words[t]&o,f=(0|this.words[t])-l<<s;this.words[t]=f|a,a=l>>>26-s}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,s){r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var i,o=e%26,a=Math.min((e-o)/26,this.length),l=67108863^67108863>>>o<<o,f=s;if(i-=a,i=Math.max(0,i),f){for(var u=0;u<a;u++)f.words[u]=this.words[u];f.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&l}return f&&0!==c&&(f.words[f.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,s){return r(0===this.negative),this.iushrn(e,t,s)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26,i=1<<t;return!(this.length<=s)&&!!(this.words[s]&i)},o.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==t&&s++,this.length=Math.min(s,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return(r("number"==typeof e),r(e<67108864),e<0)?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,s){var i,o,a=e.length+s;this._expand(a);var l=0;for(i=0;i<e.length;i++){o=(0|this.words[i+s])+l;var f=(0|e.words[i])*t;o-=67108863&f,l=(o>>26)-(f/67108864|0),this.words[i+s]=67108863&o}for(;i<this.length-s;i++)l=(o=(0|this.words[i+s])+l)>>26,this.words[i+s]=67108863&o;if(0===l)return this.strip();for(r(-1===l),l=0,i=0;i<this.length;i++)l=(o=-(0|this.words[i])+l)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var s,r=this.length-e.length,i=this.clone(),a=e,l=0|a.words[a.length-1];0!=(r=26-this._countBits(l))&&(a=a.ushln(r),i.iushln(r),l=0|a.words[a.length-1]);var f=i.length-a.length;if("mod"!==t){(s=new o(null)).length=f+1,s.words=Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=i.clone()._ishlnsubmul(a,1,f);0===c.negative&&(i=c,s&&(s.words[f]=1));for(var d=f-1;d>=0;d--){var p=(0|i.words[a.length+d])*67108864+(0|i.words[a.length+d-1]);for(p=Math.min(p/l|0,67108863),i._ishlnsubmul(a,p,d);0!==i.negative;)p--,i.negative=0,i._ishlnsubmul(a,1,d),i.isZero()||(i.negative^=1);s&&(s.words[d]=p)}return s&&s.strip(),i.strip(),"div"!==t&&0!==r&&i.iushrn(r),{div:s||null,mod:i}},o.prototype.divmod=function(e,t,s){var i,a,l;return(r(!e.isZero()),this.isZero())?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(l=this.neg().divmod(e,t),"mod"!==t&&(i=l.div.neg()),"div"!==t&&(a=l.mod.neg(),s&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(l=this.divmod(e.neg(),t),"mod"!==t&&(i=l.div.neg()),{div:i,mod:l.mod}):(this.negative&e.negative)!=0?(l=this.neg().divmod(e.neg(),t),"div"!==t&&(a=l.mod.neg(),s&&0!==a.negative&&a.isub(e)),{div:l.div,mod:a}):e.length>this.length||0>this.cmp(e)?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t)},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var s=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=s.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modn=function(e){r(e<=67108863);for(var t=67108864%e,s=0,i=this.length-1;i>=0;i--)s=(t*s+(0|this.words[i]))%e;return s},o.prototype.idivn=function(e){r(e<=67108863);for(var t=0,s=this.length-1;s>=0;s--){var i=(0|this.words[s])+67108864*t;this.words[s]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,s=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),l=new o(0),f=new o(1),u=0;t.isEven()&&s.isEven();)t.iushrn(1),s.iushrn(1),++u;for(var c=s.clone(),d=t.clone();!t.isZero();){for(var p=0,h=1;(t.words[0]&h)==0&&p<26;++p,h<<=1);if(p>0)for(t.iushrn(p);p-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var b=0,_=1;(s.words[0]&_)==0&&b<26;++b,_<<=1);if(b>0)for(s.iushrn(b);b-- >0;)(l.isOdd()||f.isOdd())&&(l.iadd(c),f.isub(d)),l.iushrn(1),f.iushrn(1);t.cmp(s)>=0?(t.isub(s),i.isub(l),a.isub(f)):(s.isub(t),l.isub(i),f.isub(a))}return{a:l,b:f,gcd:s.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,s=this,i=e.clone();s=0!==s.negative?s.umod(e):s.clone();for(var a=new o(1),l=new o(0),f=i.clone();s.cmpn(1)>0&&i.cmpn(1)>0;){for(var u=0,c=1;(s.words[0]&c)==0&&u<26;++u,c<<=1);if(u>0)for(s.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(f),a.iushrn(1);for(var d=0,p=1;(i.words[0]&p)==0&&d<26;++d,p<<=1);if(d>0)for(i.iushrn(d);d-- >0;)l.isOdd()&&l.iadd(f),l.iushrn(1);s.cmp(i)>=0?(s.isub(i),a.isub(l)):(i.isub(s),l.isub(a))}return 0>(t=0===s.cmpn(1)?a:l).cmpn(0)&&t.iadd(e),t},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),s=e.clone();t.negative=0,s.negative=0;for(var r=0;t.isEven()&&s.isEven();r++)t.iushrn(1),s.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;s.isEven();)s.iushrn(1);var i=t.cmp(s);if(i<0){var o=t;t=s,s=o}else if(0===i||0===s.cmpn(1))break;t.isub(s)}return s.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return(1&this.words[0])==0},o.prototype.isOdd=function(){return(1&this.words[0])==1},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,s=(e-t)/26,i=1<<t;if(this.length<=s)return this._expand(s+1),this.words[s]|=i,this;for(var o=i,a=s;0!==o&&a<this.length;a++){var l=0|this.words[a];l+=o,o=l>>>26,l&=67108863,this.words[a]=l}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,s=e<0;if(0!==this.negative&&!s)return -1;if(0===this.negative&&s)return 1;if(this.strip(),this.length>1)t=1;else{s&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,s=this.length-1;s>=0;s--){var r=0|this.words[s],i=0|e.words[s];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return -1===this.cmpn(e)},o.prototype.lt=function(e){return -1===this.cmp(e)},o.prototype.lten=function(e){return 0>=this.cmpn(e)},o.prototype.lte=function(e){return 0>=this.cmp(e)},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var v={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function k(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,s=e;do this.split(s,this.tmp),t=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength();while(t>this.n);var r=t<this.n?-1:s.ucmp(this.p);return 0===r?(s.words[0]=0,s.length=1):r>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(w,y),w.prototype.split=function(e,t){for(var s=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9){e.words[0]=0,e.length=1;return}var o=e.words[9];for(i=10,t.words[t.length++]=o&s;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&s)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,s=0;s<e.length;s++){var r=0|e.words[s];t+=977*r,e.words[s]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(C,y),i(k,y),i(x,y),x.prototype.imulK=function(e){for(var t=0,s=0;s<e.length;s++){var r=(0|e.words[s])*19+t,i=67108863&r;r>>>=26,e.words[s]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){var t;if(v[e])return v[e];if("k256"===e)t=new w;else if("p224"===e)t=new C;else if("p192"===e)t=new k;else if("p25519"===e)t=new x;else throw Error("Unknown prime "+e);return v[e]=t,t},S.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){r((e.negative|t.negative)==0,"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.prototype.add=function(e,t){this._verify2(e,t);var s=e.add(t);return s.cmp(this.m)>=0&&s.isub(this.m),s._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var s=e.iadd(t);return s.cmp(this.m)>=0&&s.isub(this.m),s},S.prototype.sub=function(e,t){this._verify2(e,t);var s=e.sub(t);return 0>s.cmpn(0)&&s.iadd(this.m),s._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var s=e.isub(t);return 0>s.cmpn(0)&&s.iadd(this.m),s},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var s=this.m.add(new o(1)).iushrn(2);return this.pow(e,s)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var l=new o(1).toRed(this),f=l.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(f);)c.redIAdd(f);for(var d=this.pow(c,i),p=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),b=a;0!==h.cmp(l);){for(var _=h,m=0;0!==_.cmp(l);m++)_=_.redSqr();r(m<b);var g=this.pow(d,new o(1).iushln(b-m-1));p=p.redMul(g),d=g.redSqr(),h=h.redMul(d),b=m}return p},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var s=4,r=Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var i=2;i<r.length;i++)r[i]=this.mul(r[i-1],e);var a=r[0],l=0,f=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],d=u-1;d>=0;d--){var p=c>>d&1;if(a!==r[0]&&(a=this.sqr(a)),0===p&&0===l){f=0;continue}l<<=1,l|=p,(++f===s||0===i&&0===d)&&(a=this.mul(a,r[l]),f=0,l=0)}u=26}return a},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new E(e)},i(E,S),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var s=e.imul(t),r=s.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=s.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):0>i.cmpn(0)&&(o=i.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var s=e.mul(t),r=s.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=s.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):0>i.cmpn(0)&&(a=i.iadd(this.m)),a._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=s.nmd(e),this)},1670:function(e,t,s){!function(e,t){"use strict";function r(e,t){if(!e)throw Error(t||"Assertion failed")}function i(e,t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e}function o(e,t,s){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(s=t,t=10),this._init(e||0,t||10,s||"be"))}"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{c=s(4300).Buffer}catch(e){}function a(e,t,s){for(var i=0,o=Math.min(e.length,s),a=0,l=t;l<o;l++){var f,u=e.charCodeAt(l)-48;i<<=4,i|=f=u>=49&&u<=54?u-49+10:u>=17&&u<=22?u-17+10:u,a|=f}return r(!(240&a),"Invalid character in "+e),i}function l(e,t,s,i){for(var o=0,a=0,l=Math.min(e.length,s),f=t;f<l;f++){var u=e.charCodeAt(f)-48;o*=i,a=u>=49?u-49+10:u>=17?u-17+10:u,r(u>=0&&a<i,"Invalid character"),o+=a}return o}function f(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}function u(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return 0>e.cmp(t)?e:t},o.prototype._init=function(e,t,s){if("number"==typeof e)return this._initNumber(e,t,s);if("object"==typeof e)return this._initArray(e,t,s);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&i++,16===t?this._parseHex(e,i):this._parseBase(e,t,i),"-"===e[0]&&(this.negative=1),this._strip(),"le"===s&&this._initArray(this.toArray(),t,s)},o.prototype._initNumber=function(e,t,s){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===s&&this._initArray(this.toArray(),t,s)},o.prototype._initArray=function(e,t,s){if(r("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=Array(this.length);for(var i,o,a=0;a<this.length;a++)this.words[a]=0;var l=0;if("be"===s)for(a=e.length-1,i=0;a>=0;a-=3)o=e[a]|e[a-1]<<8|e[a-2]<<16,this.words[i]|=o<<l&67108863,this.words[i+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,i++);else if("le"===s)for(a=0,i=0;a<e.length;a+=3)o=e[a]|e[a+1]<<8|e[a+2]<<16,this.words[i]|=o<<l&67108863,this.words[i+1]=o>>>26-l&67108863,(l+=24)>=26&&(l-=26,i++);return this._strip()},o.prototype._parseHex=function(e,t){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var s,r,i=0;i<this.length;i++)this.words[i]=0;var o=0;for(i=e.length-6,s=0;i>=t;i-=6)r=a(e,i,i+6),this.words[s]|=r<<o&67108863,this.words[s+1]|=r>>>26-o&4194303,(o+=24)>=26&&(o-=26,s++);i+6!==t&&(r=a(e,t,i+6),this.words[s]|=r<<o&67108863,this.words[s+1]|=r>>>26-o&4194303),this._strip()},o.prototype._parseBase=function(e,t,s){this.words=[0],this.length=1;for(var r=0,i=1;i<=67108863;i*=t)r++;r--,i=i/t|0;for(var o=e.length-s,a=o%r,f=Math.min(o,o-a)+s,u=0,c=s;c<f;c+=r)u=l(e,c,c+r,t),this.imuln(i),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u);if(0!==a){var d=1;for(u=l(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+u<67108864?this.words[0]+=u:this._iaddn(u)}},o.prototype.copy=function(e){e.words=Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype._move=function(e){f(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for?o.prototype[Symbol.for("nodejs.util.inspect.custom")]=u:o.prototype.inspect=u;var c,d=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],p=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){s="";for(var s,i=0,o=0,a=0;a<this.length;a++){var l=this.words[a],f=((l<<i|o)&16777215).toString(16);s=0!=(o=l>>>24-i&16777215)||a!==this.length-1?d[6-f.length]+f+s:f+s,(i+=2)>=26&&(i-=26,a--)}for(0!==o&&(s=o.toString(16)+s);s.length%t!=0;)s="0"+s;return 0!==this.negative&&(s="-"+s),s}if(e===(0|e)&&e>=2&&e<=36){var u=p[e],c=h[e];s="";var b=this.clone();for(b.negative=0;!b.isZero();){var _=b.modrn(c).toString(e);s=(b=b.idivn(c)).isZero()?_+s:d[u-_.length]+_+s}for(this.isZero()&&(s="0"+s);s.length%t!=0;)s="0"+s;return 0!==this.negative&&(s="-"+s),s}r(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&r(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},c&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(c,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};var b=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)};function _(e){for(var t=Array(e.bitLength()),s=0;s<t.length;s++){var r=s/26|0,i=s%26;t[s]=e.words[r]>>>i&1}return t}function m(e,t,s){s.negative=t.negative^e.negative;var r=e.length+t.length|0;s.length=r,r=r-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,l=67108863&a,f=a/67108864|0;s.words[0]=l;for(var u=1;u<r;u++){for(var c=f>>>26,d=67108863&f,p=Math.min(u,t.length-1),h=Math.max(0,u-e.length+1);h<=p;h++){var b=u-h|0;c+=(a=(i=0|e.words[b])*(o=0|t.words[h])+d)/67108864|0,d=67108863&a}s.words[u]=0|d,f=0|c}return 0!==f?s.words[u]=0|f:s.length--,s._strip()}o.prototype.toArrayLike=function(e,t,s){this._strip();var i=this.byteLength(),o=s||Math.max(1,i);r(i<=o,"byte array longer than desired length"),r(o>0,"Requested array length <= 0");var a=b(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var s=0,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;e[s++]=255&a,s<e.length&&(e[s++]=a>>8&255),s<e.length&&(e[s++]=a>>16&255),6===o?(s<e.length&&(e[s++]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(s<e.length)for(e[s++]=r;s<e.length;)e[s++]=0},o.prototype._toArrayLikeBE=function(e,t){for(var s=e.length-1,r=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|r;e[s--]=255&a,s>=0&&(e[s--]=a>>8&255),s>=0&&(e[s--]=a>>16&255),6===o?(s>=0&&(e[s--]=a>>24&255),r=0,o=0):(r=a>>>24,o+=2)}if(s>=0)for(e[s--]=r;s>=0;)e[s--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,s=0;return t>=4096&&(s+=13,t>>>=13),t>=64&&(s+=7,t>>>=7),t>=8&&(s+=4,t>>>=4),t>=2&&(s+=2,t>>>=2),s+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,s=0;return(8191&t)==0&&(s+=13,t>>>=13),(127&t)==0&&(s+=7,t>>>=7),(15&t)==0&&(s+=4,t>>>=4),(3&t)==0&&(s+=2,t>>>=2),(1&t)==0&&s++,s},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var s=this._zeroBits(this.words[t]);if(e+=s,26!==s)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},o.prototype.ior=function(e){return r((this.negative|e.negative)==0),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var s=0;s<t.length;s++)this.words[s]=this.words[s]&e.words[s];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return r((this.negative|e.negative)==0),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){this.length>e.length?(t=this,s=e):(t=e,s=this);for(var t,s,r=0;r<s.length;r++)this.words[r]=t.words[r]^s.words[r];if(this!==t)for(;r<t.length;r++)this.words[r]=t.words[r];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return r((this.negative|e.negative)==0),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){r("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),s=e%26;this._expand(t),s>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];return s>0&&(this.words[i]=~this.words[i]&67108863>>26-s),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){r("number"==typeof e&&e>=0);var s=e/26|0,i=e%26;return this._expand(s+1),t?this.words[s]=this.words[s]|1<<i:this.words[s]=this.words[s]&~(1<<i),this._strip()},o.prototype.iadd=function(e){if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(s=this,r=e):(s=e,r=this);for(var t,s,r,i=0,o=0;o<r.length;o++)t=(0|s.words[o])+(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<s.length;o++)t=(0|s.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=s.length,0!==i)this.words[this.length]=i,this.length++;else if(s!==this)for(;o<s.length;o++)this.words[o]=s.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,s,r=this.iadd(e);return e.negative=1,r._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(t=this,s=e):(t=e,s=this);for(var o=0,a=0;a<s.length;a++)o=(r=(0|t.words[a])-(0|s.words[a])+o)>>26,this.words[a]=67108863&r;for(;0!==o&&a<t.length;a++)o=(r=(0|t.words[a])+o)>>26,this.words[a]=67108863&r;if(0===o&&a<t.length&&t!==this)for(;a<t.length;a++)this.words[a]=t.words[a];return this.length=Math.max(this.length,a),t!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var g=function(e,t,s){var r,i,o,a=e.words,l=t.words,f=s.words,u=0,c=0|a[0],d=8191&c,p=c>>>13,h=0|a[1],b=8191&h,_=h>>>13,m=0|a[2],g=8191&m,v=m>>>13,y=0|a[3],w=8191&y,C=y>>>13,k=0|a[4],x=8191&k,S=k>>>13,E=0|a[5],M=8191&E,I=E>>>13,A=0|a[6],R=8191&A,O=A>>>13,j=0|a[7],P=8191&j,T=j>>>13,N=0|a[8],D=8191&N,L=N>>>13,B=0|a[9],q=8191&B,F=B>>>13,z=0|l[0],U=8191&z,V=z>>>13,$=0|l[1],H=8191&$,W=$>>>13,K=0|l[2],G=8191&K,Z=K>>>13,Q=0|l[3],X=8191&Q,Y=Q>>>13,J=0|l[4],ee=8191&J,et=J>>>13,es=0|l[5],er=8191&es,en=es>>>13,ei=0|l[6],eo=8191&ei,ea=ei>>>13,el=0|l[7],ef=8191&el,eu=el>>>13,ec=0|l[8],ed=8191&ec,ep=ec>>>13,eh=0|l[9],eb=8191&eh,e_=eh>>>13;s.negative=e.negative^t.negative,s.length=19;var em=(u+(r=Math.imul(d,U))|0)+((8191&(i=(i=Math.imul(d,V))+Math.imul(p,U)|0))<<13)|0;u=((o=Math.imul(p,V))+(i>>>13)|0)+(em>>>26)|0,em&=67108863,r=Math.imul(b,U),i=(i=Math.imul(b,V))+Math.imul(_,U)|0,o=Math.imul(_,V);var eg=(u+(r=r+Math.imul(d,H)|0)|0)+((8191&(i=(i=i+Math.imul(d,W)|0)+Math.imul(p,H)|0))<<13)|0;u=((o=o+Math.imul(p,W)|0)+(i>>>13)|0)+(eg>>>26)|0,eg&=67108863,r=Math.imul(g,U),i=(i=Math.imul(g,V))+Math.imul(v,U)|0,o=Math.imul(v,V),r=r+Math.imul(b,H)|0,i=(i=i+Math.imul(b,W)|0)+Math.imul(_,H)|0,o=o+Math.imul(_,W)|0;var ev=(u+(r=r+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,Z)|0)+Math.imul(p,G)|0))<<13)|0;u=((o=o+Math.imul(p,Z)|0)+(i>>>13)|0)+(ev>>>26)|0,ev&=67108863,r=Math.imul(w,U),i=(i=Math.imul(w,V))+Math.imul(C,U)|0,o=Math.imul(C,V),r=r+Math.imul(g,H)|0,i=(i=i+Math.imul(g,W)|0)+Math.imul(v,H)|0,o=o+Math.imul(v,W)|0,r=r+Math.imul(b,G)|0,i=(i=i+Math.imul(b,Z)|0)+Math.imul(_,G)|0,o=o+Math.imul(_,Z)|0;var ey=(u+(r=r+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(p,X)|0))<<13)|0;u=((o=o+Math.imul(p,Y)|0)+(i>>>13)|0)+(ey>>>26)|0,ey&=67108863,r=Math.imul(x,U),i=(i=Math.imul(x,V))+Math.imul(S,U)|0,o=Math.imul(S,V),r=r+Math.imul(w,H)|0,i=(i=i+Math.imul(w,W)|0)+Math.imul(C,H)|0,o=o+Math.imul(C,W)|0,r=r+Math.imul(g,G)|0,i=(i=i+Math.imul(g,Z)|0)+Math.imul(v,G)|0,o=o+Math.imul(v,Z)|0,r=r+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(_,X)|0,o=o+Math.imul(_,Y)|0;var ew=(u+(r=r+Math.imul(d,ee)|0)|0)+((8191&(i=(i=i+Math.imul(d,et)|0)+Math.imul(p,ee)|0))<<13)|0;u=((o=o+Math.imul(p,et)|0)+(i>>>13)|0)+(ew>>>26)|0,ew&=67108863,r=Math.imul(M,U),i=(i=Math.imul(M,V))+Math.imul(I,U)|0,o=Math.imul(I,V),r=r+Math.imul(x,H)|0,i=(i=i+Math.imul(x,W)|0)+Math.imul(S,H)|0,o=o+Math.imul(S,W)|0,r=r+Math.imul(w,G)|0,i=(i=i+Math.imul(w,Z)|0)+Math.imul(C,G)|0,o=o+Math.imul(C,Z)|0,r=r+Math.imul(g,X)|0,i=(i=i+Math.imul(g,Y)|0)+Math.imul(v,X)|0,o=o+Math.imul(v,Y)|0,r=r+Math.imul(b,ee)|0,i=(i=i+Math.imul(b,et)|0)+Math.imul(_,ee)|0,o=o+Math.imul(_,et)|0;var eC=(u+(r=r+Math.imul(d,er)|0)|0)+((8191&(i=(i=i+Math.imul(d,en)|0)+Math.imul(p,er)|0))<<13)|0;u=((o=o+Math.imul(p,en)|0)+(i>>>13)|0)+(eC>>>26)|0,eC&=67108863,r=Math.imul(R,U),i=(i=Math.imul(R,V))+Math.imul(O,U)|0,o=Math.imul(O,V),r=r+Math.imul(M,H)|0,i=(i=i+Math.imul(M,W)|0)+Math.imul(I,H)|0,o=o+Math.imul(I,W)|0,r=r+Math.imul(x,G)|0,i=(i=i+Math.imul(x,Z)|0)+Math.imul(S,G)|0,o=o+Math.imul(S,Z)|0,r=r+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(C,X)|0,o=o+Math.imul(C,Y)|0,r=r+Math.imul(g,ee)|0,i=(i=i+Math.imul(g,et)|0)+Math.imul(v,ee)|0,o=o+Math.imul(v,et)|0,r=r+Math.imul(b,er)|0,i=(i=i+Math.imul(b,en)|0)+Math.imul(_,er)|0,o=o+Math.imul(_,en)|0;var ek=(u+(r=r+Math.imul(d,eo)|0)|0)+((8191&(i=(i=i+Math.imul(d,ea)|0)+Math.imul(p,eo)|0))<<13)|0;u=((o=o+Math.imul(p,ea)|0)+(i>>>13)|0)+(ek>>>26)|0,ek&=67108863,r=Math.imul(P,U),i=(i=Math.imul(P,V))+Math.imul(T,U)|0,o=Math.imul(T,V),r=r+Math.imul(R,H)|0,i=(i=i+Math.imul(R,W)|0)+Math.imul(O,H)|0,o=o+Math.imul(O,W)|0,r=r+Math.imul(M,G)|0,i=(i=i+Math.imul(M,Z)|0)+Math.imul(I,G)|0,o=o+Math.imul(I,Z)|0,r=r+Math.imul(x,X)|0,i=(i=i+Math.imul(x,Y)|0)+Math.imul(S,X)|0,o=o+Math.imul(S,Y)|0,r=r+Math.imul(w,ee)|0,i=(i=i+Math.imul(w,et)|0)+Math.imul(C,ee)|0,o=o+Math.imul(C,et)|0,r=r+Math.imul(g,er)|0,i=(i=i+Math.imul(g,en)|0)+Math.imul(v,er)|0,o=o+Math.imul(v,en)|0,r=r+Math.imul(b,eo)|0,i=(i=i+Math.imul(b,ea)|0)+Math.imul(_,eo)|0,o=o+Math.imul(_,ea)|0;var ex=(u+(r=r+Math.imul(d,ef)|0)|0)+((8191&(i=(i=i+Math.imul(d,eu)|0)+Math.imul(p,ef)|0))<<13)|0;u=((o=o+Math.imul(p,eu)|0)+(i>>>13)|0)+(ex>>>26)|0,ex&=67108863,r=Math.imul(D,U),i=(i=Math.imul(D,V))+Math.imul(L,U)|0,o=Math.imul(L,V),r=r+Math.imul(P,H)|0,i=(i=i+Math.imul(P,W)|0)+Math.imul(T,H)|0,o=o+Math.imul(T,W)|0,r=r+Math.imul(R,G)|0,i=(i=i+Math.imul(R,Z)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,Z)|0,r=r+Math.imul(M,X)|0,i=(i=i+Math.imul(M,Y)|0)+Math.imul(I,X)|0,o=o+Math.imul(I,Y)|0,r=r+Math.imul(x,ee)|0,i=(i=i+Math.imul(x,et)|0)+Math.imul(S,ee)|0,o=o+Math.imul(S,et)|0,r=r+Math.imul(w,er)|0,i=(i=i+Math.imul(w,en)|0)+Math.imul(C,er)|0,o=o+Math.imul(C,en)|0,r=r+Math.imul(g,eo)|0,i=(i=i+Math.imul(g,ea)|0)+Math.imul(v,eo)|0,o=o+Math.imul(v,ea)|0,r=r+Math.imul(b,ef)|0,i=(i=i+Math.imul(b,eu)|0)+Math.imul(_,ef)|0,o=o+Math.imul(_,eu)|0;var eS=(u+(r=r+Math.imul(d,ed)|0)|0)+((8191&(i=(i=i+Math.imul(d,ep)|0)+Math.imul(p,ed)|0))<<13)|0;u=((o=o+Math.imul(p,ep)|0)+(i>>>13)|0)+(eS>>>26)|0,eS&=67108863,r=Math.imul(q,U),i=(i=Math.imul(q,V))+Math.imul(F,U)|0,o=Math.imul(F,V),r=r+Math.imul(D,H)|0,i=(i=i+Math.imul(D,W)|0)+Math.imul(L,H)|0,o=o+Math.imul(L,W)|0,r=r+Math.imul(P,G)|0,i=(i=i+Math.imul(P,Z)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,Z)|0,r=r+Math.imul(R,X)|0,i=(i=i+Math.imul(R,Y)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Y)|0,r=r+Math.imul(M,ee)|0,i=(i=i+Math.imul(M,et)|0)+Math.imul(I,ee)|0,o=o+Math.imul(I,et)|0,r=r+Math.imul(x,er)|0,i=(i=i+Math.imul(x,en)|0)+Math.imul(S,er)|0,o=o+Math.imul(S,en)|0,r=r+Math.imul(w,eo)|0,i=(i=i+Math.imul(w,ea)|0)+Math.imul(C,eo)|0,o=o+Math.imul(C,ea)|0,r=r+Math.imul(g,ef)|0,i=(i=i+Math.imul(g,eu)|0)+Math.imul(v,ef)|0,o=o+Math.imul(v,eu)|0,r=r+Math.imul(b,ed)|0,i=(i=i+Math.imul(b,ep)|0)+Math.imul(_,ed)|0,o=o+Math.imul(_,ep)|0;var eE=(u+(r=r+Math.imul(d,eb)|0)|0)+((8191&(i=(i=i+Math.imul(d,e_)|0)+Math.imul(p,eb)|0))<<13)|0;u=((o=o+Math.imul(p,e_)|0)+(i>>>13)|0)+(eE>>>26)|0,eE&=67108863,r=Math.imul(q,H),i=(i=Math.imul(q,W))+Math.imul(F,H)|0,o=Math.imul(F,W),r=r+Math.imul(D,G)|0,i=(i=i+Math.imul(D,Z)|0)+Math.imul(L,G)|0,o=o+Math.imul(L,Z)|0,r=r+Math.imul(P,X)|0,i=(i=i+Math.imul(P,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,r=r+Math.imul(R,ee)|0,i=(i=i+Math.imul(R,et)|0)+Math.imul(O,ee)|0,o=o+Math.imul(O,et)|0,r=r+Math.imul(M,er)|0,i=(i=i+Math.imul(M,en)|0)+Math.imul(I,er)|0,o=o+Math.imul(I,en)|0,r=r+Math.imul(x,eo)|0,i=(i=i+Math.imul(x,ea)|0)+Math.imul(S,eo)|0,o=o+Math.imul(S,ea)|0,r=r+Math.imul(w,ef)|0,i=(i=i+Math.imul(w,eu)|0)+Math.imul(C,ef)|0,o=o+Math.imul(C,eu)|0,r=r+Math.imul(g,ed)|0,i=(i=i+Math.imul(g,ep)|0)+Math.imul(v,ed)|0,o=o+Math.imul(v,ep)|0;var eM=(u+(r=r+Math.imul(b,eb)|0)|0)+((8191&(i=(i=i+Math.imul(b,e_)|0)+Math.imul(_,eb)|0))<<13)|0;u=((o=o+Math.imul(_,e_)|0)+(i>>>13)|0)+(eM>>>26)|0,eM&=67108863,r=Math.imul(q,G),i=(i=Math.imul(q,Z))+Math.imul(F,G)|0,o=Math.imul(F,Z),r=r+Math.imul(D,X)|0,i=(i=i+Math.imul(D,Y)|0)+Math.imul(L,X)|0,o=o+Math.imul(L,Y)|0,r=r+Math.imul(P,ee)|0,i=(i=i+Math.imul(P,et)|0)+Math.imul(T,ee)|0,o=o+Math.imul(T,et)|0,r=r+Math.imul(R,er)|0,i=(i=i+Math.imul(R,en)|0)+Math.imul(O,er)|0,o=o+Math.imul(O,en)|0,r=r+Math.imul(M,eo)|0,i=(i=i+Math.imul(M,ea)|0)+Math.imul(I,eo)|0,o=o+Math.imul(I,ea)|0,r=r+Math.imul(x,ef)|0,i=(i=i+Math.imul(x,eu)|0)+Math.imul(S,ef)|0,o=o+Math.imul(S,eu)|0,r=r+Math.imul(w,ed)|0,i=(i=i+Math.imul(w,ep)|0)+Math.imul(C,ed)|0,o=o+Math.imul(C,ep)|0;var eI=(u+(r=r+Math.imul(g,eb)|0)|0)+((8191&(i=(i=i+Math.imul(g,e_)|0)+Math.imul(v,eb)|0))<<13)|0;u=((o=o+Math.imul(v,e_)|0)+(i>>>13)|0)+(eI>>>26)|0,eI&=67108863,r=Math.imul(q,X),i=(i=Math.imul(q,Y))+Math.imul(F,X)|0,o=Math.imul(F,Y),r=r+Math.imul(D,ee)|0,i=(i=i+Math.imul(D,et)|0)+Math.imul(L,ee)|0,o=o+Math.imul(L,et)|0,r=r+Math.imul(P,er)|0,i=(i=i+Math.imul(P,en)|0)+Math.imul(T,er)|0,o=o+Math.imul(T,en)|0,r=r+Math.imul(R,eo)|0,i=(i=i+Math.imul(R,ea)|0)+Math.imul(O,eo)|0,o=o+Math.imul(O,ea)|0,r=r+Math.imul(M,ef)|0,i=(i=i+Math.imul(M,eu)|0)+Math.imul(I,ef)|0,o=o+Math.imul(I,eu)|0,r=r+Math.imul(x,ed)|0,i=(i=i+Math.imul(x,ep)|0)+Math.imul(S,ed)|0,o=o+Math.imul(S,ep)|0;var eA=(u+(r=r+Math.imul(w,eb)|0)|0)+((8191&(i=(i=i+Math.imul(w,e_)|0)+Math.imul(C,eb)|0))<<13)|0;u=((o=o+Math.imul(C,e_)|0)+(i>>>13)|0)+(eA>>>26)|0,eA&=67108863,r=Math.imul(q,ee),i=(i=Math.imul(q,et))+Math.imul(F,ee)|0,o=Math.imul(F,et),r=r+Math.imul(D,er)|0,i=(i=i+Math.imul(D,en)|0)+Math.imul(L,er)|0,o=o+Math.imul(L,en)|0,r=r+Math.imul(P,eo)|0,i=(i=i+Math.imul(P,ea)|0)+Math.imul(T,eo)|0,o=o+Math.imul(T,ea)|0,r=r+Math.imul(R,ef)|0,i=(i=i+Math.imul(R,eu)|0)+Math.imul(O,ef)|0,o=o+Math.imul(O,eu)|0,r=r+Math.imul(M,ed)|0,i=(i=i+Math.imul(M,ep)|0)+Math.imul(I,ed)|0,o=o+Math.imul(I,ep)|0;var eR=(u+(r=r+Math.imul(x,eb)|0)|0)+((8191&(i=(i=i+Math.imul(x,e_)|0)+Math.imul(S,eb)|0))<<13)|0;u=((o=o+Math.imul(S,e_)|0)+(i>>>13)|0)+(eR>>>26)|0,eR&=67108863,r=Math.imul(q,er),i=(i=Math.imul(q,en))+Math.imul(F,er)|0,o=Math.imul(F,en),r=r+Math.imul(D,eo)|0,i=(i=i+Math.imul(D,ea)|0)+Math.imul(L,eo)|0,o=o+Math.imul(L,ea)|0,r=r+Math.imul(P,ef)|0,i=(i=i+Math.imul(P,eu)|0)+Math.imul(T,ef)|0,o=o+Math.imul(T,eu)|0,r=r+Math.imul(R,ed)|0,i=(i=i+Math.imul(R,ep)|0)+Math.imul(O,ed)|0,o=o+Math.imul(O,ep)|0;var eO=(u+(r=r+Math.imul(M,eb)|0)|0)+((8191&(i=(i=i+Math.imul(M,e_)|0)+Math.imul(I,eb)|0))<<13)|0;u=((o=o+Math.imul(I,e_)|0)+(i>>>13)|0)+(eO>>>26)|0,eO&=67108863,r=Math.imul(q,eo),i=(i=Math.imul(q,ea))+Math.imul(F,eo)|0,o=Math.imul(F,ea),r=r+Math.imul(D,ef)|0,i=(i=i+Math.imul(D,eu)|0)+Math.imul(L,ef)|0,o=o+Math.imul(L,eu)|0,r=r+Math.imul(P,ed)|0,i=(i=i+Math.imul(P,ep)|0)+Math.imul(T,ed)|0,o=o+Math.imul(T,ep)|0;var ej=(u+(r=r+Math.imul(R,eb)|0)|0)+((8191&(i=(i=i+Math.imul(R,e_)|0)+Math.imul(O,eb)|0))<<13)|0;u=((o=o+Math.imul(O,e_)|0)+(i>>>13)|0)+(ej>>>26)|0,ej&=67108863,r=Math.imul(q,ef),i=(i=Math.imul(q,eu))+Math.imul(F,ef)|0,o=Math.imul(F,eu),r=r+Math.imul(D,ed)|0,i=(i=i+Math.imul(D,ep)|0)+Math.imul(L,ed)|0,o=o+Math.imul(L,ep)|0;var eP=(u+(r=r+Math.imul(P,eb)|0)|0)+((8191&(i=(i=i+Math.imul(P,e_)|0)+Math.imul(T,eb)|0))<<13)|0;u=((o=o+Math.imul(T,e_)|0)+(i>>>13)|0)+(eP>>>26)|0,eP&=67108863,r=Math.imul(q,ed),i=(i=Math.imul(q,ep))+Math.imul(F,ed)|0,o=Math.imul(F,ep);var eT=(u+(r=r+Math.imul(D,eb)|0)|0)+((8191&(i=(i=i+Math.imul(D,e_)|0)+Math.imul(L,eb)|0))<<13)|0;u=((o=o+Math.imul(L,e_)|0)+(i>>>13)|0)+(eT>>>26)|0,eT&=67108863;var eN=(u+(r=Math.imul(q,eb))|0)+((8191&(i=(i=Math.imul(q,e_))+Math.imul(F,eb)|0))<<13)|0;return u=((o=Math.imul(F,e_))+(i>>>13)|0)+(eN>>>26)|0,eN&=67108863,f[0]=em,f[1]=eg,f[2]=ev,f[3]=ey,f[4]=ew,f[5]=eC,f[6]=ek,f[7]=ex,f[8]=eS,f[9]=eE,f[10]=eM,f[11]=eI,f[12]=eA,f[13]=eR,f[14]=eO,f[15]=ej,f[16]=eP,f[17]=eT,f[18]=eN,0!==u&&(f[19]=u,s.length++),s};function v(e,t,s){s.negative=t.negative^e.negative,s.length=e.length+t.length;for(var r=0,i=0,o=0;o<s.length-1;o++){var a=i;i=0;for(var l=67108863&r,f=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=f;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),p=67108863&d;a=a+(d/67108864|0)|0,l=67108863&(p=p+l|0),i+=(a=a+(p>>>26)|0)>>>26,a&=67108863}s.words[o]=l,r=a,a=i}return 0!==r?s.words[o]=r:s.length--,s._strip()}function y(e,t,s){return v(e,t,s)}function w(e,t){this.x=e,this.y=t}Math.imul||(g=m),o.prototype.mulTo=function(e,t){var s=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):s<63?m(this,e,t):s<1024?v(this,e,t):y(this,e,t)},w.prototype.makeRBT=function(e){for(var t=Array(e),s=o.prototype._countBits(e)-1,r=0;r<e;r++)t[r]=this.revBin(r,s,e);return t},w.prototype.revBin=function(e,t,s){if(0===e||e===s-1)return e;for(var r=0,i=0;i<t;i++)r|=(1&e)<<t-i-1,e>>=1;return r},w.prototype.permute=function(e,t,s,r,i,o){for(var a=0;a<o;a++)r[a]=t[e[a]],i[a]=s[e[a]]},w.prototype.transform=function(e,t,s,r,i,o){this.permute(o,e,t,s,r,i);for(var a=1;a<i;a<<=1)for(var l=a<<1,f=Math.cos(2*Math.PI/l),u=Math.sin(2*Math.PI/l),c=0;c<i;c+=l)for(var d=f,p=u,h=0;h<a;h++){var b=s[c+h],_=r[c+h],m=s[c+h+a],g=r[c+h+a],v=d*m-p*g;g=d*g+p*m,m=v,s[c+h]=b+m,r[c+h]=_+g,s[c+h+a]=b-m,r[c+h+a]=_-g,h!==l&&(v=f*d-u*p,p=f*p+u*d,d=v)}},w.prototype.guessLen13b=function(e,t){var s=1|Math.max(t,e),r=1&s,i=0;for(s=s/2|0;s;s>>>=1)i++;return 1<<i+1+r},w.prototype.conjugate=function(e,t,s){if(!(s<=1))for(var r=0;r<s/2;r++){var i=e[r];e[r]=e[s-r-1],e[s-r-1]=i,i=t[r],t[r]=-t[s-r-1],t[s-r-1]=-i}},w.prototype.normalize13b=function(e,t){for(var s=0,r=0;r<t/2;r++){var i=8192*Math.round(e[2*r+1]/t)+Math.round(e[2*r]/t)+s;e[r]=67108863&i,s=i<67108864?0:i/67108864|0}return e},w.prototype.convert13b=function(e,t,s,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],s[2*a]=8191&o,o>>>=13,s[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)s[a]=0;r(0===o),r((-8192&o)==0)},w.prototype.stub=function(e){for(var t=Array(e),s=0;s<e;s++)t[s]=0;return t},w.prototype.mulp=function(e,t,s){var r=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(r),o=this.stub(r),a=Array(r),l=Array(r),f=Array(r),u=Array(r),c=Array(r),d=Array(r),p=s.words;p.length=r,this.convert13b(e.words,e.length,a,r),this.convert13b(t.words,t.length,u,r),this.transform(a,o,l,f,r,i),this.transform(u,o,c,d,r,i);for(var h=0;h<r;h++){var b=l[h]*c[h]-f[h]*d[h];f[h]=l[h]*d[h]+f[h]*c[h],l[h]=b}return this.conjugate(l,f,r),this.transform(l,f,p,o,r,i),this.conjugate(p,o,r),this.normalize13b(p,r),s.negative=e.negative^t.negative,s.length=e.length+t.length,s._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=Array(this.length+e.length),y(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),r("number"==typeof e),r(e<67108864);for(var s=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,a=(67108863&o)+(67108863&s);s>>=26,s+=(o/67108864|0)+(a>>>26),this.words[i]=67108863&a}return 0!==s&&(this.words[i]=s,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=_(e);if(0===t.length)return new o(1);for(var s=this,r=0;r<t.length&&0===t[r];r++,s=s.sqr());if(++r<t.length)for(var i=s.sqr();r<t.length;r++,i=i.sqr())0!==t[r]&&(s=s.mul(i));return s},o.prototype.iushln=function(e){r("number"==typeof e&&e>=0);var t,s=e%26,i=(e-s)/26,o=67108863>>>26-s<<26-s;if(0!==s){var a=0;for(t=0;t<this.length;t++){var l=this.words[t]&o,f=(0|this.words[t])-l<<s;this.words[t]=f|a,a=l>>>26-s}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(e){return r(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,s){r("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var i,o=e%26,a=Math.min((e-o)/26,this.length),l=67108863^67108863>>>o<<o,f=s;if(i-=a,i=Math.max(0,i),f){for(var u=0;u<a;u++)f.words[u]=this.words[u];f.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&l}return f&&0!==c&&(f.words[f.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,s){return r(0===this.negative),this.iushrn(e,t,s)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){r("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26,i=1<<t;return!(this.length<=s)&&!!(this.words[s]&i)},o.prototype.imaskn=function(e){r("number"==typeof e&&e>=0);var t=e%26,s=(e-t)/26;if(r(0===this.negative,"imaskn works only with positive numbers"),this.length<=s)return this;if(0!==t&&s++,this.length=Math.min(s,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return(r("number"==typeof e),r(e<67108864),e<0)?this.isubn(-e):0!==this.negative?(1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0):(this.negative=0,this.isubn(e),this.negative=1),this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(r("number"==typeof e),r(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,s){var i,o,a=e.length+s;this._expand(a);var l=0;for(i=0;i<e.length;i++){o=(0|this.words[i+s])+l;var f=(0|e.words[i])*t;o-=67108863&f,l=(o>>26)-(f/67108864|0),this.words[i+s]=67108863&o}for(;i<this.length-s;i++)l=(o=(0|this.words[i+s])+l)>>26,this.words[i+s]=67108863&o;if(0===l)return this._strip();for(r(-1===l),l=0,i=0;i<this.length;i++)l=(o=-(0|this.words[i])+l)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var s,r=this.length-e.length,i=this.clone(),a=e,l=0|a.words[a.length-1];0!=(r=26-this._countBits(l))&&(a=a.ushln(r),i.iushln(r),l=0|a.words[a.length-1]);var f=i.length-a.length;if("mod"!==t){(s=new o(null)).length=f+1,s.words=Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=i.clone()._ishlnsubmul(a,1,f);0===c.negative&&(i=c,s&&(s.words[f]=1));for(var d=f-1;d>=0;d--){var p=(0|i.words[a.length+d])*67108864+(0|i.words[a.length+d-1]);for(p=Math.min(p/l|0,67108863),i._ishlnsubmul(a,p,d);0!==i.negative;)p--,i.negative=0,i._ishlnsubmul(a,1,d),i.isZero()||(i.negative^=1);s&&(s.words[d]=p)}return s&&s._strip(),i._strip(),"div"!==t&&0!==r&&i.iushrn(r),{div:s||null,mod:i}},o.prototype.divmod=function(e,t,s){var i,a,l;return(r(!e.isZero()),this.isZero())?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(l=this.neg().divmod(e,t),"mod"!==t&&(i=l.div.neg()),"div"!==t&&(a=l.mod.neg(),s&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(l=this.divmod(e.neg(),t),"mod"!==t&&(i=l.div.neg()),{div:i,mod:l.mod}):(this.negative&e.negative)!=0?(l=this.neg().divmod(e.neg(),t),"div"!==t&&(a=l.mod.neg(),s&&0!==a.negative&&a.isub(e)),{div:l.div,mod:a}):e.length>this.length||0>this.cmp(e)?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t)},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var s=0!==t.div.negative?t.mod.isub(e):t.mod,r=e.ushrn(1),i=e.andln(1),o=s.cmp(r);return o<0||1===i&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var s=67108864%e,i=0,o=this.length-1;o>=0;o--)i=(s*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),r(e<=67108863);for(var s=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*s;this.words[i]=o/e|0,s=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){r(0===e.negative),r(!e.isZero());var t=this,s=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),l=new o(0),f=new o(1),u=0;t.isEven()&&s.isEven();)t.iushrn(1),s.iushrn(1),++u;for(var c=s.clone(),d=t.clone();!t.isZero();){for(var p=0,h=1;(t.words[0]&h)==0&&p<26;++p,h<<=1);if(p>0)for(t.iushrn(p);p-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var b=0,_=1;(s.words[0]&_)==0&&b<26;++b,_<<=1);if(b>0)for(s.iushrn(b);b-- >0;)(l.isOdd()||f.isOdd())&&(l.iadd(c),f.isub(d)),l.iushrn(1),f.iushrn(1);t.cmp(s)>=0?(t.isub(s),i.isub(l),a.isub(f)):(s.isub(t),l.isub(i),f.isub(a))}return{a:l,b:f,gcd:s.iushln(u)}},o.prototype._invmp=function(e){r(0===e.negative),r(!e.isZero());var t,s=this,i=e.clone();s=0!==s.negative?s.umod(e):s.clone();for(var a=new o(1),l=new o(0),f=i.clone();s.cmpn(1)>0&&i.cmpn(1)>0;){for(var u=0,c=1;(s.words[0]&c)==0&&u<26;++u,c<<=1);if(u>0)for(s.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(f),a.iushrn(1);for(var d=0,p=1;(i.words[0]&p)==0&&d<26;++d,p<<=1);if(d>0)for(i.iushrn(d);d-- >0;)l.isOdd()&&l.iadd(f),l.iushrn(1);s.cmp(i)>=0?(s.isub(i),a.isub(l)):(i.isub(s),l.isub(a))}return 0>(t=0===s.cmpn(1)?a:l).cmpn(0)&&t.iadd(e),t},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),s=e.clone();t.negative=0,s.negative=0;for(var r=0;t.isEven()&&s.isEven();r++)t.iushrn(1),s.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;s.isEven();)s.iushrn(1);var i=t.cmp(s);if(i<0){var o=t;t=s,s=o}else if(0===i||0===s.cmpn(1))break;t.isub(s)}return s.iushln(r)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return(1&this.words[0])==0},o.prototype.isOdd=function(){return(1&this.words[0])==1},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){r("number"==typeof e);var t=e%26,s=(e-t)/26,i=1<<t;if(this.length<=s)return this._expand(s+1),this.words[s]|=i,this;for(var o=i,a=s;0!==o&&a<this.length;a++){var l=0|this.words[a];l+=o,o=l>>>26,l&=67108863,this.words[a]=l}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,s=e<0;if(0!==this.negative&&!s)return -1;if(0===this.negative&&s)return 1;if(this._strip(),this.length>1)t=1;else{s&&(e=-e),r(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return -1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return -1;for(var t=0,s=this.length-1;s>=0;s--){var r=0|this.words[s],i=0|e.words[s];if(r!==i){r<i?t=-1:r>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return -1===this.cmpn(e)},o.prototype.lt=function(e){return -1===this.cmp(e)},o.prototype.lten=function(e){return 0>=this.cmpn(e)},o.prototype.lte=function(e){return 0>=this.cmp(e)},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new I(e)},o.prototype.toRed=function(e){return r(!this.red,"Already a number in reduction context"),r(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return r(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return r(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return r(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return r(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return r(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return r(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return r(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return r(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return r(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return r(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return r(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return r(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return r(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return r(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var C={k256:null,p224:null,p192:null,p25519:null};function k(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function x(){k.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function S(){k.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function E(){k.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){k.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function I(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else r(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function A(e){I.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}k.prototype._tmp=function(){var e=new o(null);return e.words=Array(Math.ceil(this.n/13)),e},k.prototype.ireduce=function(e){var t,s=e;do this.split(s,this.tmp),t=(s=(s=this.imulK(s)).iadd(this.tmp)).bitLength();while(t>this.n);var r=t<this.n?-1:s.ucmp(this.p);return 0===r?(s.words[0]=0,s.length=1):r>0?s.isub(this.p):void 0!==s.strip?s.strip():s._strip(),s},k.prototype.split=function(e,t){e.iushrn(this.n,0,t)},k.prototype.imulK=function(e){return e.imul(this.k)},i(x,k),x.prototype.split=function(e,t){for(var s=4194303,r=Math.min(e.length,9),i=0;i<r;i++)t.words[i]=e.words[i];if(t.length=r,e.length<=9){e.words[0]=0,e.length=1;return}var o=e.words[9];for(i=10,t.words[t.length++]=o&s;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&s)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},x.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,s=0;s<e.length;s++){var r=0|e.words[s];t+=977*r,e.words[s]=67108863&t,t=64*r+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(S,k),i(E,k),i(M,k),M.prototype.imulK=function(e){for(var t=0,s=0;s<e.length;s++){var r=(0|e.words[s])*19+t,i=67108863&r;r>>>=26,e.words[s]=i,t=r}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){var t;if(C[e])return C[e];if("k256"===e)t=new x;else if("p224"===e)t=new S;else if("p192"===e)t=new E;else if("p25519"===e)t=new M;else throw Error("Unknown prime "+e);return C[e]=t,t},I.prototype._verify1=function(e){r(0===e.negative,"red works only with positives"),r(e.red,"red works only with red numbers")},I.prototype._verify2=function(e,t){r((e.negative|t.negative)==0,"red works only with positives"),r(e.red&&e.red===t.red,"red works only with red numbers")},I.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(f(e,e.umod(this.m)._forceRed(this)),e)},I.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},I.prototype.add=function(e,t){this._verify2(e,t);var s=e.add(t);return s.cmp(this.m)>=0&&s.isub(this.m),s._forceRed(this)},I.prototype.iadd=function(e,t){this._verify2(e,t);var s=e.iadd(t);return s.cmp(this.m)>=0&&s.isub(this.m),s},I.prototype.sub=function(e,t){this._verify2(e,t);var s=e.sub(t);return 0>s.cmpn(0)&&s.iadd(this.m),s._forceRed(this)},I.prototype.isub=function(e,t){this._verify2(e,t);var s=e.isub(t);return 0>s.cmpn(0)&&s.iadd(this.m),s},I.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},I.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},I.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},I.prototype.isqr=function(e){return this.imul(e,e.clone())},I.prototype.sqr=function(e){return this.mul(e,e)},I.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(r(t%2==1),3===t){var s=this.m.add(new o(1)).iushrn(2);return this.pow(e,s)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);r(!i.isZero());var l=new o(1).toRed(this),f=l.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(f);)c.redIAdd(f);for(var d=this.pow(c,i),p=this.pow(e,i.addn(1).iushrn(1)),h=this.pow(e,i),b=a;0!==h.cmp(l);){for(var _=h,m=0;0!==_.cmp(l);m++)_=_.redSqr();r(m<b);var g=this.pow(d,new o(1).iushln(b-m-1));p=p.redMul(g),d=g.redSqr(),h=h.redMul(d),b=m}return p},I.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},I.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var s=4,r=Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var i=2;i<r.length;i++)r[i]=this.mul(r[i-1],e);var a=r[0],l=0,f=0,u=t.bitLength()%26;for(0===u&&(u=26),i=t.length-1;i>=0;i--){for(var c=t.words[i],d=u-1;d>=0;d--){var p=c>>d&1;if(a!==r[0]&&(a=this.sqr(a)),0===p&&0===l){f=0;continue}l<<=1,l|=p,(++f===s||0===i&&0===d)&&(a=this.mul(a,r[l]),f=0,l=0)}u=26}return a},I.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},I.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new A(e)},i(A,I),A.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},A.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},A.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var s=e.imul(t),r=s.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=s.isub(r).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):0>i.cmpn(0)&&(o=i.iadd(this.m)),o._forceRed(this)},A.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var s=e.mul(t),r=s.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=s.isub(r).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):0>i.cmpn(0)&&(a=i.iadd(this.m)),a._forceRed(this)},A.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=s.nmd(e),this)},3500:function(e,t,s){var r;function i(e){this.rand=e}if(e.exports=function(e){return r||(r=new i(null)),r.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),s=0;s<t.length;s++)t[s]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw Error("Not implemented yet")});else try{var o=s(6113);if("function"!=typeof o.randomBytes)throw Error("Not supported");i.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},1387:function(e,t,s){var r=s(6911).Buffer;function i(e){r.isBuffer(e)||(e=r.from(e));for(var t=e.length/4|0,s=Array(t),i=0;i<t;i++)s[i]=e.readUInt32BE(4*i);return s}function o(e){for(var t=0;t<e.length;e++)e[t]=0}function a(e,t,s,r,i){for(var o,a,l,f,u=s[0],c=s[1],d=s[2],p=s[3],h=e[0]^t[0],b=e[1]^t[1],_=e[2]^t[2],m=e[3]^t[3],g=4,v=1;v<i;v++)o=u[h>>>24]^c[b>>>16&255]^d[_>>>8&255]^p[255&m]^t[g++],a=u[b>>>24]^c[_>>>16&255]^d[m>>>8&255]^p[255&h]^t[g++],l=u[_>>>24]^c[m>>>16&255]^d[h>>>8&255]^p[255&b]^t[g++],f=u[m>>>24]^c[h>>>16&255]^d[b>>>8&255]^p[255&_]^t[g++],h=o,b=a,_=l,m=f;return o=(r[h>>>24]<<24|r[b>>>16&255]<<16|r[_>>>8&255]<<8|r[255&m])^t[g++],a=(r[b>>>24]<<24|r[_>>>16&255]<<16|r[m>>>8&255]<<8|r[255&h])^t[g++],[o>>>=0,a>>>=0,l=((r[_>>>24]<<24|r[m>>>16&255]<<16|r[h>>>8&255]<<8|r[255&b])^t[g++])>>>0,f=((r[m>>>24]<<24|r[h>>>16&255]<<16|r[b>>>8&255]<<8|r[255&_])^t[g++])>>>0]}var l=[0,1,2,4,8,16,32,64,128,27,54],f=function(){for(var e=Array(256),t=0;t<256;t++)t<128?e[t]=t<<1:e[t]=t<<1^283;for(var s=[],r=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,l=0,f=0;f<256;++f){var u=l^l<<1^l<<2^l<<3^l<<4;u=u>>>8^255&u^99,s[a]=u,r[u]=a;var c=e[a],d=e[c],p=e[d],h=257*e[u]^16843008*u;i[0][a]=h<<24|h>>>8,i[1][a]=h<<16|h>>>16,i[2][a]=h<<8|h>>>24,i[3][a]=h,h=16843009*p^65537*d^257*c^16843008*a,o[0][u]=h<<24|h>>>8,o[1][u]=h<<16|h>>>16,o[2][u]=h<<8|h>>>24,o[3][u]=h,0===a?a=l=1:(a=c^e[e[e[p^c]]],l^=e[e[l]])}return{SBOX:s,INV_SBOX:r,SUB_MIX:i,INV_SUB_MIX:o}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,s=t+6,r=(s+1)*4,i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<r;o++){var a=i[o-1];o%t==0?(a=a<<8|a>>>24,a=(f.SBOX[a>>>24]<<24|f.SBOX[a>>>16&255]<<16|f.SBOX[a>>>8&255]<<8|f.SBOX[255&a])^l[o/t|0]<<24):t>6&&o%t==4&&(a=f.SBOX[a>>>24]<<24|f.SBOX[a>>>16&255]<<16|f.SBOX[a>>>8&255]<<8|f.SBOX[255&a]),i[o]=i[o-t]^a}for(var u=[],c=0;c<r;c++){var d=r-c,p=i[d-(c%4?0:4)];c<4||d<=4?u[c]=p:u[c]=f.INV_SUB_MIX[0][f.SBOX[p>>>24]]^f.INV_SUB_MIX[1][f.SBOX[p>>>16&255]]^f.INV_SUB_MIX[2][f.SBOX[p>>>8&255]]^f.INV_SUB_MIX[3][f.SBOX[255&p]]}this._nRounds=s,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return a(e=i(e),this._keySchedule,f.SUB_MIX,f.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),s=r.allocUnsafe(16);return s.writeUInt32BE(t[0],0),s.writeUInt32BE(t[1],4),s.writeUInt32BE(t[2],8),s.writeUInt32BE(t[3],12),s},u.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var s=a(e,this._invKeySchedule,f.INV_SUB_MIX,f.INV_SBOX,this._nRounds),o=r.allocUnsafe(16);return o.writeUInt32BE(s[0],0),o.writeUInt32BE(s[3],4),o.writeUInt32BE(s[2],8),o.writeUInt32BE(s[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=u},6624:function(e,t,s){var r=s(1387),i=s(6911).Buffer,o=s(1043),a=s(3782),l=s(7225),f=s(4734),u=s(598);function c(e,t){var s=0;e.length!==t.length&&s++;for(var r=Math.min(e.length,t.length),i=0;i<r;++i)s+=e[i]^t[i];return s}function d(e,t,s){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var r=new l(s),o=t.length,a=o%16;r.update(t),a&&(a=16-a,r.update(i.alloc(a,0))),r.update(i.alloc(8,0));var f=8*o,c=i.alloc(8);c.writeUIntBE(f,0,8),r.update(c),e._finID=r.state;var d=i.from(e._finID);return u(d),d}function p(e,t,s,a){o.call(this);var f=i.alloc(4,0);this._cipher=new r.AES(t);var u=this._cipher.encryptBlock(f);this._ghash=new l(u),s=d(this,s,u),this._prev=i.from(s),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(p,o),p.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var s=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(s),this._len+=e.length,s},p.prototype._final=function(){if(this._decrypt&&!this._authTag)throw Error("Unsupported state or unable to authenticate data");var e=f(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&c(e,this._authTag))throw Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},p.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw Error("Attempting to get auth tag in unsupported state");return this._authTag},p.prototype.setAuthTag=function(e){if(!this._decrypt)throw Error("Attempting to set auth tag in unsupported state");this._authTag=e},p.prototype.setAAD=function(e){if(this._called)throw Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=p},6594:function(e,t,s){var r=s(2),i=s(2598),o=s(5866);function a(){return Object.keys(o)}t.createCipher=t.Cipher=r.createCipher,t.createCipheriv=t.Cipheriv=r.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=a},2598:function(e,t,s){var r=s(6624),i=s(6911).Buffer,o=s(6370),a=s(126),l=s(1043),f=s(1387),u=s(8368);function c(e,t,s){l.call(this),this._cache=new d,this._last=void 0,this._cipher=new f.AES(t),this._prev=i.from(s),this._mode=e,this._autopadding=!0}function d(){this.cache=i.allocUnsafe(0)}function p(e){var t=e[15];if(t<1||t>16)throw Error("unable to decrypt data");for(var s=-1;++s<t;)if(e[s+(16-t)]!==t)throw Error("unable to decrypt data");if(16!==t)return e.slice(0,16-t)}function h(e,t,s){var l=o[e.toLowerCase()];if(!l)throw TypeError("invalid suite type");if("string"==typeof s&&(s=i.from(s)),"GCM"!==l.mode&&s.length!==l.iv)throw TypeError("invalid iv length "+s.length);if("string"==typeof t&&(t=i.from(t)),t.length!==l.key/8)throw TypeError("invalid key length "+t.length);return"stream"===l.type?new a(l.module,t,s,!0):"auth"===l.type?new r(l.module,t,s,!0):new c(l.module,t,s)}function b(e,t){var s=o[e.toLowerCase()];if(!s)throw TypeError("invalid suite type");var r=u(t,!1,s.key,s.iv);return h(e,r.key,r.iv)}s(3782)(c,l),c.prototype._update=function(e){this._cache.add(e);for(var t,s,r=[];t=this._cache.get(this._autopadding);)s=this._mode.decrypt(this,t),r.push(s);return i.concat(r)},c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return p(this._mode.decrypt(this,e));if(e)throw Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=i.concat([this.cache,e])},d.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=b,t.createDecipheriv=h},2:function(e,t,s){var r=s(6370),i=s(6624),o=s(6911).Buffer,a=s(126),l=s(1043),f=s(1387),u=s(8368);function c(e,t,s){l.call(this),this._cache=new p,this._cipher=new f.AES(t),this._prev=o.from(s),this._mode=e,this._autopadding=!0}s(3782)(c,l),c.prototype._update=function(e){this._cache.add(e);for(var t,s,r=[];t=this._cache.get();)s=this._mode.encrypt(this,t),r.push(s);return o.concat(r)};var d=o.alloc(16,16);function p(){this.cache=o.allocUnsafe(0)}function h(e,t,s){var l=r[e.toLowerCase()];if(!l)throw TypeError("invalid suite type");if("string"==typeof t&&(t=o.from(t)),t.length!==l.key/8)throw TypeError("invalid key length "+t.length);if("string"==typeof s&&(s=o.from(s)),"GCM"!==l.mode&&s.length!==l.iv)throw TypeError("invalid iv length "+s.length);return"stream"===l.type?new a(l.module,t,s):"auth"===l.type?new i(l.module,t,s):new c(l.module,t,s)}function b(e,t){var s=r[e.toLowerCase()];if(!s)throw TypeError("invalid suite type");var i=u(t,!1,s.key,s.iv);return h(e,i.key,i.iv)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(d))throw this._cipher.scrub(),Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},p.prototype.add=function(e){this.cache=o.concat([this.cache,e])},p.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},p.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),s=-1;++s<e;)t.writeUInt8(e,s);return o.concat([this.cache,t])},t.createCipheriv=h,t.createCipher=b},7225:function(e,t,s){var r=s(6911).Buffer,i=r.alloc(16,0);function o(e){return[e.readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)]}function a(e){var t=r.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function l(e){this.h=e,this.state=r.alloc(16,0),this.cache=r.allocUnsafe(0)}l.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},l.prototype._multiply=function(){for(var e,t,s=o(this.h),r=[0,0,0,0],i=-1;++i<128;){for((this.state[~~(i/8)]&1<<7-i%8)!=0&&(r[0]^=s[0],r[1]^=s[1],r[2]^=s[2],r[3]^=s[3]),t=(1&s[3])!=0,e=3;e>0;e--)s[e]=s[e]>>>1|(1&s[e-1])<<31;s[0]=s[0]>>>1,t&&(s[0]=-520093696^s[0])}this.state=a(r)},l.prototype.update=function(e){var t;for(this.cache=r.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},l.prototype.final=function(e,t){return this.cache.length&&this.ghash(r.concat([this.cache,i],16)),this.ghash(a([0,e,0,t])),this.state},e.exports=l},598:function(e){function t(e){for(var t,s=e.length;s--;)if(255===(t=e.readUInt8(s)))e.writeUInt8(0,s);else{t++,e.writeUInt8(t,s);break}}e.exports=t},9825:function(e,t,s){var r=s(4734);t.encrypt=function(e,t){var s=r(t,e._prev);return e._prev=e._cipher.encryptBlock(s),e._prev},t.decrypt=function(e,t){var s=e._prev;return e._prev=t,r(e._cipher.decryptBlock(t),s)}},321:function(e,t,s){var r=s(6911).Buffer,i=s(4734);function o(e,t,s){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=r.concat([e._prev,s?t:a]),a}t.encrypt=function(e,t,s){for(var i,a=r.allocUnsafe(0);t.length;)if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=r.allocUnsafe(0)),e._cache.length<=t.length)i=e._cache.length,a=r.concat([a,o(e,t.slice(0,i),s)]),t=t.slice(i);else{a=r.concat([a,o(e,t,s)]);break}return a}},3147:function(e,t,s){var r=s(6911).Buffer;function i(e,t,s){for(var r,i,a,l=-1,f=8,u=0;++l<f;)r=e._cipher.encryptBlock(e._prev),i=t&1<<7-l?128:0,u+=(128&(a=r[0]^i))>>l%8,e._prev=o(e._prev,s?i:a);return u}function o(e,t){var s=e.length,i=-1,o=r.allocUnsafe(e.length);for(e=r.concat([e,r.from([t])]);++i<s;)o[i]=e[i]<<1|e[i+1]>>7;return o}t.encrypt=function(e,t,s){for(var o=t.length,a=r.allocUnsafe(o),l=-1;++l<o;)a[l]=i(e,t[l],s);return a}},2430:function(e,t,s){var r=s(6911).Buffer;function i(e,t,s){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=r.concat([e._prev.slice(1),r.from([s?t:i])]),i}t.encrypt=function(e,t,s){for(var o=t.length,a=r.allocUnsafe(o),l=-1;++l<o;)a[l]=i(e,t[l],s);return a}},3361:function(e,t,s){var r=s(4734),i=s(6911).Buffer,o=s(598);function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}var l=16;t.encrypt=function(e,t){var s=Math.ceil(t.length/l),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(s*l)]);for(var f=0;f<s;f++){var u=a(e),c=o+f*l;e._cache.writeUInt32BE(u[0],c+0),e._cache.writeUInt32BE(u[1],c+4),e._cache.writeUInt32BE(u[2],c+8),e._cache.writeUInt32BE(u[3],c+12)}var d=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,d)}},1590:function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},6370:function(e,t,s){var r={ECB:s(1590),CBC:s(9825),CFB:s(321),CFB8:s(2430),CFB1:s(3147),OFB:s(3412),CTR:s(3361),GCM:s(3361)},i=s(5866);for(var o in i)i[o].module=r[i[o].mode];e.exports=i},3412:function(e,t,s){var r=s(4734);function o(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=i.concat([e._cache,o(e)]);var s=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),r(t,s)}},126:function(e,t,s){var r=s(1387),i=s(6911).Buffer,o=s(1043);function a(e,t,s,a){o.call(this),this._cipher=new r.AES(t),this._prev=i.from(s),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=e}s(3782)(a,o),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},8996:function(e,t,s){var r=s(5238),i=s(6594),o=s(6370),a=s(6280),l=s(8368);function f(e,t){if(o[e=e.toLowerCase()])s=o[e].key,r=o[e].iv;else if(a[e])s=8*a[e].key,r=a[e].iv;else throw TypeError("invalid suite type");var s,r,i=l(t,!1,s,r);return c(e,i.key,i.iv)}function u(e,t){if(o[e=e.toLowerCase()])s=o[e].key,r=o[e].iv;else if(a[e])s=8*a[e].key,r=a[e].iv;else throw TypeError("invalid suite type");var s,r,i=l(t,!1,s,r);return d(e,i.key,i.iv)}function c(e,t,s){if(o[e=e.toLowerCase()])return i.createCipheriv(e,t,s);if(a[e])return new r({key:t,iv:s,mode:e});throw TypeError("invalid suite type")}function d(e,t,s){if(o[e=e.toLowerCase()])return i.createDecipheriv(e,t,s);if(a[e])return new r({key:t,iv:s,mode:e,decrypt:!0});throw TypeError("invalid suite type")}function p(){return Object.keys(a).concat(i.getCiphers())}t.createCipher=t.Cipher=f,t.createCipheriv=t.Cipheriv=c,t.createDecipher=t.Decipher=u,t.createDecipheriv=t.Decipheriv=d,t.listCiphers=t.getCiphers=p},5238:function(e,t,s){var r=s(1043),i=s(9536),o=s(3782),a=s(6911).Buffer,l={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function f(e){r.call(this);var t,s=e.mode.toLowerCase(),i=l[s];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),("des-ede"===s||"des-ede-cbc"===s)&&(o=a.concat([o,o.slice(0,8)]));var f=e.iv;a.isBuffer(f)||(f=a.from(f)),this._des=i.create({key:o,iv:f,type:t})}l.des=l["des-cbc"],l.des3=l["des-ede3-cbc"],e.exports=f,o(f,r),f.prototype._update=function(e){return a.from(this._des.update(e))},f.prototype._final=function(){return a.from(this._des.final())}},6280:function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},7166:function(e,t,s){var r=s(711),o=s(7223);function a(e){var t=f(e);return{blinder:t.toRed(r.mont(e.modulus)).redPow(new r(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}function l(e,t){var s=a(t),o=t.modulus.byteLength();r.mont(t.modulus);var l=new r(e).mul(s.blinder).umod(t.modulus),f=l.toRed(r.mont(t.prime1)),u=l.toRed(r.mont(t.prime2)),c=t.coefficient,d=t.prime1,p=t.prime2,h=f.redPow(t.exponent1),b=u.redPow(t.exponent2);h=h.fromRed(),b=b.fromRed();var _=h.isub(b).imul(c).umod(d);return _.imul(p),b.iadd(_),new i(b.imul(s.unblinder).umod(t.modulus).toArray(!1,o))}function f(e){for(var t=e.modulus.byteLength(),s=new r(o(t));s.cmp(e.modulus)>=0||!s.umod(e.prime1)||!s.umod(e.prime2);)s=new r(o(t));return s}e.exports=l,l.getr=f},9276:function(e,t,s){e.exports=s(2908)},4078:function(e,t,s){var r=s(6911).Buffer,i=s(9739),o=s(3726),a=s(3782),l=s(9807),f=s(4013),u=s(2908);function c(e){o.Writable.call(this);var t=u[e];if(!t)throw Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){o.Writable.call(this);var t=u[e];if(!t)throw Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function p(e){return new c(e)}function h(e){return new d(e)}Object.keys(u).forEach(function(e){u[e].id=r.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]}),a(c,o.Writable),c.prototype._write=function(e,t,s){this._hash.update(e),s()},c.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},c.prototype.sign=function(e,t){this.end();var s=l(this._hash.digest(),e,this._hashType,this._signType,this._tag);return t?s.toString(t):s},a(d,o.Writable),d.prototype._write=function(e,t,s){this._hash.update(e),s()},d.prototype.update=function(e,t){return"string"==typeof e&&(e=r.from(e,t)),this._hash.update(e),this},d.prototype.verify=function(e,t,s){return"string"==typeof t&&(t=r.from(t,s)),this.end(),f(t,this._hash.digest(),e,this._signType,this._tag)},e.exports={Sign:p,Verify:h,createSign:p,createVerify:h}},9807:function(e,t,s){var r=s(6911).Buffer,i=s(4873),o=s(7166),a=s(949).ec,l=s(1670),f=s(9902),u=s(9267);function c(e,t,s,i,a){var l=f(t);if(l.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw Error("wrong private key type");return d(e,l)}if("dsa"===l.type){if("dsa"!==i)throw Error("wrong private key type");return p(e,l,s)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw Error("wrong private key type");e=r.concat([a,e]);for(var u=l.modulus.byteLength(),c=[0,1];e.length+c.length+1<u;)c.push(255);c.push(0);for(var h=-1;++h<e.length;)c.push(e[h]);return o(c,l)}function d(e,t){var s=u[t.curve.join(".")];if(!s)throw Error("unknown curve "+t.curve.join("."));var i=new a(s).keyFromPrivate(t.privateKey).sign(e);return r.from(i.toDER())}function p(e,t,s){for(var r,i=t.params.priv_key,o=t.params.p,a=t.params.q,f=t.params.g,u=new l(0),c=_(e,a).mod(a),d=!1,p=b(i,a,e,s);!1===d;)u=v(f,r=g(a,p,s),o,a),0===(d=r.invm(a).imul(c.add(i.mul(u))).mod(a)).cmpn(0)&&(d=!1,u=new l(0));return h(u,d)}function h(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e)),128&t[0]&&(t=[0].concat(t));var s=[48,e.length+t.length+4,2,e.length];return s=s.concat(e,[2,t.length],t),r.from(s)}function b(e,t,s,o){if((e=r.from(e.toArray())).length<t.byteLength()){var a=r.alloc(t.byteLength()-e.length);e=r.concat([a,e])}var l=s.length,f=m(s,t),u=r.alloc(l);u.fill(1);var c=r.alloc(l);return c=i(o,c).update(u).update(r.from([0])).update(e).update(f).digest(),u=i(o,c).update(u).digest(),c=i(o,c).update(u).update(r.from([1])).update(e).update(f).digest(),u=i(o,c).update(u).digest(),{k:c,v:u}}function _(e,t){var s=new l(e),r=(e.length<<3)-t.bitLength();return r>0&&s.ishrn(r),s}function m(e,t){e=(e=_(e,t)).mod(t);var s=r.from(e.toArray());if(s.length<t.byteLength()){var i=r.alloc(t.byteLength()-s.length);s=r.concat([i,s])}return s}function g(e,t,s){var o,a;do{for(o=r.alloc(0);8*o.length<e.bitLength();)t.v=i(s,t.k).update(t.v).digest(),o=r.concat([o,t.v]);a=_(o,e),t.k=i(s,t.k).update(t.v).update(r.from([0])).digest(),t.v=i(s,t.k).update(t.v).digest()}while(-1!==a.cmp(e));return a}function v(e,t,s,r){return e.toRed(l.mont(s)).redPow(t).fromRed().mod(r)}e.exports=c,e.exports.getKey=b,e.exports.makeKey=g},4013:function(e,t,s){var r=s(6911).Buffer,i=s(1670),o=s(949).ec,a=s(9902),l=s(9267);function f(e,t,s,o,l){var f=a(s);if("ec"===f.type){if("ecdsa"!==o&&"ecdsa/rsa"!==o)throw Error("wrong public key type");return u(e,t,f)}if("dsa"===f.type){if("dsa"!==o)throw Error("wrong public key type");return c(e,t,f)}if("rsa"!==o&&"ecdsa/rsa"!==o)throw Error("wrong public key type");t=r.concat([l,t]);for(var d=f.modulus.byteLength(),p=[1],h=0;t.length+p.length+2<d;)p.push(255),h++;p.push(0);for(var b=-1;++b<t.length;)p.push(t[b]);p=r.from(p);var _=i.mont(f.modulus);e=(e=new i(e).toRed(_)).redPow(new i(f.publicExponent));var m=h<8?1:0;for(d=Math.min((e=r.from(e.fromRed().toArray())).length,p.length),e.length!==p.length&&(m=1),b=-1;++b<d;)m|=e[b]^p[b];return 0===m}function u(e,t,s){var r=l[s.data.algorithm.curve.join(".")];if(!r)throw Error("unknown curve "+s.data.algorithm.curve.join("."));var i=new o(r),a=s.data.subjectPrivateKey.data;return i.verify(t,e,a)}function c(e,t,s){var r=s.data.p,o=s.data.q,l=s.data.g,f=s.data.pub_key,u=a.signature.decode(e,"der"),c=u.s,p=u.r;d(c,o),d(p,o);var h=i.mont(r),b=c.invm(o);return 0===l.toRed(h).redPow(new i(t).mul(b).mod(o)).fromRed().mul(f.toRed(h).redPow(p.mul(b).mod(o)).fromRed()).mod(r).mod(o).cmp(p)}function d(e,t){if(0>=e.cmpn(0)||e.cmp(t)>=t)throw Error("invalid sig")}e.exports=f},4734:function(e){e.exports=function(e,t){for(var s=Math.min(e.length,t.length),r=new i(s),o=0;o<s;++o)r[o]=e[o]^t[o];return r}},1043:function(e,t,s){var r=s(6911).Buffer,i=s(2781).Transform,o=s(1576).StringDecoder;function a(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}s(3782)(a,i),a.prototype.update=function(e,t,s){"string"==typeof e&&(e=r.from(e,t));var i=this._update(e);return this.hashMode?this:(s&&(i=this._toString(i,s)),i)},a.prototype.setAutoPadding=function(){},a.prototype.getAuthTag=function(){throw Error("trying to get auth tag in unsupported state")},a.prototype.setAuthTag=function(){throw Error("trying to set auth tag in unsupported state")},a.prototype.setAAD=function(){throw Error("trying to set aad in unsupported state")},a.prototype._transform=function(e,t,s){var r;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){r=e}finally{s(r)}},a.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},a.prototype._finalOrDigest=function(e){var t=this.__final()||r.alloc(0);return e&&(t=this._toString(t,e,!0)),t},a.prototype._toString=function(e,t,s){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw Error("can't switch encodings");var r=this._decoder.write(e);return s&&(r+=this._decoder.end()),r},e.exports=a},9942:function(e,t,s){var r=s(949),o=s(711);e.exports=function(e){return new l(e)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function l(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new r.ec(this.curveType.name),this.keys=void 0}function f(e,t,s){Array.isArray(e)||(e=e.toArray());var r=new i(e);if(s&&r.length<s){var o=new i(s-r.length);o.fill(0),r=i.concat([o,r])}return t?r.toString(t):r}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,l.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},l.prototype.computeSecret=function(e,t,s){return t=t||"utf8",i.isBuffer(e)||(e=new i(e,t)),f(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),s,this.curveType.byteLength)},l.prototype.getPublicKey=function(e,t){var s=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(s[s.length-1]%2?s[0]=7:s[0]=6),f(s,e)},l.prototype.getPrivateKey=function(e){return f(this.keys.getPrivate(),e)},l.prototype.setPublicKey=function(e,t){return t=t||"utf8",i.isBuffer(e)||(e=new i(e,t)),this.keys._importPublic(e),this},l.prototype.setPrivateKey=function(e,t){t=t||"utf8",i.isBuffer(e)||(e=new i(e,t));var s=new o(e);return s=s.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(s),this}},9739:function(e,t,s){"use strict";var r=s(3782),i=s(3533),o=s(3225),a=s(4371),l=s(1043);function f(e){l.call(this,"digest"),this._hash=e}r(f,l),f.prototype._update=function(e){this._hash.update(e)},f.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new o:new f(a(e))}},450:function(e,t,s){var r=s(3533);e.exports=function(e){return(new r).update(e).digest()}},4873:function(e,t,s){"use strict";var r=s(3782),i=s(8119),o=s(1043),a=s(6911).Buffer,l=s(450),f=s(3225),u=s(4371),c=a.alloc(128);function d(e,t){o.call(this,"digest"),"string"==typeof t&&(t=a.from(t));var s="sha512"===e||"sha384"===e?128:64;this._alg=e,this._key=t,t.length>s?t=("rmd160"===e?new f:u(e)).update(t).digest():t.length<s&&(t=a.concat([t,c],s));for(var r=this._ipad=a.allocUnsafe(s),i=this._opad=a.allocUnsafe(s),l=0;l<s;l++)r[l]=54^t[l],i[l]=92^t[l];this._hash="rmd160"===e?new f:u(e),this._hash.update(r)}r(d,o),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new f:u(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new d("rmd160",t):"md5"===e?new i(l,t):new d(e,t)}},8119:function(e,t,s){"use strict";var r=s(3782),i=s(6911).Buffer,o=s(1043),a=i.alloc(128),l=64;function f(e,t){o.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>l?t=e(t):t.length<l&&(t=i.concat([t,a],l));for(var s=this._ipad=i.allocUnsafe(l),r=this._opad=i.allocUnsafe(l),f=0;f<l;f++)s[f]=54^t[f],r[f]=92^t[f];this._hash=[s]}r(f,o),f.prototype._update=function(e){this._hash.push(e)},f.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=f},9536:function(e,t,s){"use strict";t.utils=s(5334),t.Cipher=s(9876),t.DES=s(1016),t.CBC=s(8641),t.EDE=s(6159)},8641:function(e,t,s){"use strict";var r=s(3523),i=s(3782),o={};function a(e){r.equal(e.length,8,"Invalid IV length"),this.iv=Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}function l(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var s=Object.keys(o),r=0;r<s.length;r++){var a=s[r];t.prototype[a]=o[a]}return t.create=function(e){return new t(e)},t}t.instantiate=l,o._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},o._update=function(e,t,s,r){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var l=0;l<this.blockSize;l++)a[l]^=e[t+l];o._update.call(this,a,0,s,r);for(var l=0;l<this.blockSize;l++)a[l]=s[r+l]}else{o._update.call(this,e,t,s,r);for(var l=0;l<this.blockSize;l++)s[r+l]^=a[l];for(var l=0;l<this.blockSize;l++)a[l]=e[t+l]}}},9876:function(e,t,s){"use strict";var r=s(3523);function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=Array(this.blockSize),this.bufferOff=0}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var s=Math.min(this.buffer.length-this.bufferOff,e.length-t),r=0;r<s;r++)this.buffer[this.bufferOff+r]=e[t+r];return this.bufferOff+=s,s},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,s=0,r=Array(((this.bufferOff+e.length)/this.blockSize|0)*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(s+=this._flushBuffer(r,s)));for(var i=e.length-(e.length-t)%this.blockSize;t<i;t+=this.blockSize)this._update(e,t,r,s),s+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return r},i.prototype._updateDecrypt=function(e){for(var t=0,s=0,r=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=Array(r*this.blockSize);r>0;r--)t+=this._buffer(e,t),s+=this._flushBuffer(i,s);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,s;return(e&&(t=this.update(e)),s="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t)?t.concat(s):s},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){r.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},1016:function(e,t,s){"use strict";var r=s(3523),i=s(3782),o=s(5334),a=s(9876);function l(){this.tmp=[,,],this.keys=null}function f(e){a.call(this,e);var t=new l;this._desState=t,this.deriveKeys(t,e.key)}i(f,a),e.exports=f,f.create=function(e){return new f(e)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];f.prototype.deriveKeys=function(e,t){e.keys=Array(32),r.equal(t.length,this.blockSize,"Invalid key length");var s=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(s,i,e.tmp,0),s=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var l=u[a>>>1];s=o.r28shl(s,l),i=o.r28shl(i,l),o.pc2(s,i,e.keys,a)}},f.prototype._update=function(e,t,s,r){var i=this._desState,a=o.readUInt32BE(e,t),l=o.readUInt32BE(e,t+4);o.ip(a,l,i.tmp,0),a=i.tmp[0],l=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,l,i.tmp,0):this._decrypt(i,a,l,i.tmp,0),a=i.tmp[0],l=i.tmp[1],o.writeUInt32BE(s,a,r),o.writeUInt32BE(s,l,r+4)},f.prototype._pad=function(e,t){for(var s=e.length-t,r=t;r<e.length;r++)e[r]=s;return!0},f.prototype._unpad=function(e){for(var t=e[e.length-1],s=e.length-t;s<e.length;s++)r.equal(e[s],t);return e.slice(0,e.length-t)},f.prototype._encrypt=function(e,t,s,r,i){for(var a=t,l=s,f=0;f<e.keys.length;f+=2){var u=e.keys[f],c=e.keys[f+1];o.expand(l,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=o.substitute(u,c),p=o.permute(d),h=l;l=(a^p)>>>0,a=h}o.rip(l,a,r,i)},f.prototype._decrypt=function(e,t,s,r,i){for(var a=s,l=t,f=e.keys.length-2;f>=0;f-=2){var u=e.keys[f],c=e.keys[f+1];o.expand(a,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=o.substitute(u,c),p=o.permute(d),h=a;a=(l^p)>>>0,l=h}o.rip(a,l,r,i)}},6159:function(e,t,s){"use strict";var r=s(3523),i=s(3782),o=s(9876),a=s(1016);function l(e,t){r.equal(t.length,24,"Invalid key length");var s=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);"encrypt"===e?this.ciphers=[a.create({type:"encrypt",key:s}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:this.ciphers=[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:s})]}function f(e){o.call(this,e);var t=new l(this.type,this.options.key);this._edeState=t}i(f,o),e.exports=f,f.create=function(e){return new f(e)},f.prototype._update=function(e,t,s,r){var i=this._edeState;i.ciphers[0]._update(e,t,s,r),i.ciphers[1]._update(s,r,s,r),i.ciphers[2]._update(s,r,s,r)},f.prototype._pad=a.prototype._pad,f.prototype._unpad=a.prototype._unpad},5334:function(e,t){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,s){e[0+s]=t>>>24,e[1+s]=t>>>16&255,e[2+s]=t>>>8&255,e[3+s]=255&t},t.ip=function(e,t,s,r){for(var i=0,o=0,a=6;a>=0;a-=2){for(var l=0;l<=24;l+=8)i<<=1,i|=t>>>l+a&1;for(var l=0;l<=24;l+=8)i<<=1,i|=e>>>l+a&1}for(var a=6;a>=0;a-=2){for(var l=1;l<=25;l+=8)o<<=1,o|=t>>>l+a&1;for(var l=1;l<=25;l+=8)o<<=1,o|=e>>>l+a&1}s[r+0]=i>>>0,s[r+1]=o>>>0},t.rip=function(e,t,s,r){for(var i=0,o=0,a=0;a<4;a++)for(var l=24;l>=0;l-=8)i<<=1,i|=t>>>l+a&1,i<<=1,i|=e>>>l+a&1;for(var a=4;a<8;a++)for(var l=24;l>=0;l-=8)o<<=1,o|=t>>>l+a&1,o<<=1,o|=e>>>l+a&1;s[r+0]=i>>>0,s[r+1]=o>>>0},t.pc1=function(e,t,s,r){for(var i=0,o=0,a=7;a>=5;a--){for(var l=0;l<=24;l+=8)i<<=1,i|=t>>l+a&1;for(var l=0;l<=24;l+=8)i<<=1,i|=e>>l+a&1}for(var l=0;l<=24;l+=8)i<<=1,i|=t>>l+a&1;for(var a=1;a<=3;a++){for(var l=0;l<=24;l+=8)o<<=1,o|=t>>l+a&1;for(var l=0;l<=24;l+=8)o<<=1,o|=e>>l+a&1}for(var l=0;l<=24;l+=8)o<<=1,o|=e>>l+a&1;s[r+0]=i>>>0,s[r+1]=o>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var s=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,r,i){for(var o=0,a=0,l=s.length>>>1,f=0;f<l;f++)o<<=1,o|=e>>>s[f]&1;for(var f=l;f<s.length;f++)a<<=1,a|=t>>>s[f]&1;r[i+0]=o>>>0,r[i+1]=a>>>0},t.expand=function(e,t,s){var r=0,i=0;r=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)r<<=6,r|=e>>>o&63;for(var o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[s+0]=r>>>0,t[s+1]=i>>>0};var r=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var s=0,i=0;i<4;i++){var o=e>>>18-6*i&63,a=r[64*i+o];s<<=4,s|=a}for(var i=0;i<4;i++){var o=t>>>18-6*i&63,a=r[256+64*i+o];s<<=4,s|=a}return s>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,s=0;s<i.length;s++)t<<=1,t|=e>>>i[s]&1;return t>>>0},t.padSplit=function(e,t,s){for(var r=e.toString(2);r.length<t;)r="0"+r;for(var i=[],o=0;o<t;o+=s)i.push(r.slice(o,o+s));return i.join(" ")}},6587:function(e,t,s){var r=s(296),o=s(7992),a=s(373);function l(e){return new a(new i(o[e].prime,"hex"),new i(o[e].gen,"hex"))}var f={binary:!0,hex:!0,base64:!0};function u(e,t,s,o){return i.isBuffer(t)||void 0===f[t]?u(e,"binary",t,s):(t=t||"binary",o=o||"binary",s=s||new i([2]),i.isBuffer(s)||(s=new i(s,o)),"number"==typeof e)?new a(r(e,s),s,!0):(i.isBuffer(e)||(e=new i(e,t)),new a(e,s,!0))}t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=l,t.createDiffieHellman=t.DiffieHellman=u},373:function(e,t,s){var r=s(711),o=new(s(1354)),a=new r(24),l=new r(11),f=new r(10),u=new r(3),c=new r(7),d=s(296),p=s(7223);function h(e,t){return t=t||"utf8",i.isBuffer(e)||(e=new i(e,t)),this._pub=new r(e),this}function b(e,t){return t=t||"utf8",i.isBuffer(e)||(e=new i(e,t)),this._priv=new r(e),this}e.exports=g;var _={};function m(e,t){var s,r=t.toString("hex"),i=[r,e.toString(16)].join("_");if(i in _)return _[i];var p=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!o.test(e))return p+=1,"02"===r||"05"===r?p+=8:p+=4,_[i]=p,p;switch(o.test(e.shrn(1))||(p+=2),r){case"02":e.mod(a).cmp(l)&&(p+=8);break;case"05":(s=e.mod(f)).cmp(u)&&s.cmp(c)&&(p+=8);break;default:p+=4}return _[i]=p,p}function g(e,t,s){this.setGenerator(t),this.__prime=new r(e),this._prime=r.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,s?(this.setPublicKey=h,this.setPrivateKey=b):this._primeCode=8}function v(e,t){var s=new i(e.toArray());return t?s.toString(t):s}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=m(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new r(p(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(e){var t=new i((e=(e=new r(e)).toRed(this._prime)).redPow(this._priv).fromRed().toArray()),s=this.getPrime();if(t.length<s.length){var o=new i(s.length-t.length);o.fill(0),t=i.concat([o,t])}return t},g.prototype.getPublicKey=function(e){return v(this._pub,e)},g.prototype.getPrivateKey=function(e){return v(this._priv,e)},g.prototype.getPrime=function(e){return v(this.__prime,e)},g.prototype.getGenerator=function(e){return v(this._gen,e)},g.prototype.setGenerator=function(e,t){return t=t||"utf8",i.isBuffer(e)||(e=new i(e,t)),this.__gen=e,this._gen=new r(e),this}},296:function(e,t,s){var r=s(7223);e.exports=v,v.simpleSieve=m,v.fermatTest=g;var i=s(711),o=new i(24),a=new(s(1354)),l=new i(1),f=new i(2),u=new i(5);new i(16),new i(8);var c=new i(10),d=new i(3);new i(7);var p=new i(11),h=new i(4);new i(12);var b=null;function _(){if(null!==b)return b;var e=1048576,t=[];t[0]=2;for(var s=1,r=3;r<e;r+=2){for(var i=Math.ceil(Math.sqrt(r)),o=0;o<s&&t[o]<=i&&r%t[o]!=0;o++);s!==o&&t[o]<=i||(t[s++]=r)}return b=t,t}function m(e){for(var t=_(),s=0;s<t.length;s++)if(0===e.modn(t[s])){if(0!==e.cmpn(t[s]))return!1;break}return!0}function g(e){var t=i.mont(e);return 0===f.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function v(e,t){var s,b;if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);for(t=new i(t);;){for(s=new i(r(Math.ceil(e/8)));s.bitLength()>e;)s.ishrn(1);if(s.isEven()&&s.iadd(l),s.testn(1)||s.iadd(f),t.cmp(f)){if(!t.cmp(u))for(;s.mod(c).cmp(d);)s.iadd(h)}else for(;s.mod(o).cmp(p);)s.iadd(h);if(m(b=s.shrn(1))&&m(s)&&g(b)&&g(s)&&a.test(b)&&a.test(s))return s}}},949:function(e,t,s){"use strict";var r=t;r.version=s(2531).i8,r.utils=s(4401),r.rand=s(3500),r.curve=s(9359),r.curves=s(6226),r.ec=s(4088),r.eddsa=s(8511)},2727:function(e,t,s){"use strict";var r=s(711),i=s(4401),o=i.getNAF,a=i.getJSF,l=i.assert;function f(e,t){this.type=e,this.p=new r(t.p,16),this.red=t.prime?r.red(t.prime):r.mont(this.p),this.zero=new r(0).toRed(this.red),this.one=new r(1).toRed(this.red),this.two=new r(2).toRed(this.red),this.n=t.n&&new r(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=[,,,,],this._wnafT2=[,,,,],this._wnafT3=[,,,,],this._wnafT4=[,,,,],this._bitLength=this.n?this.n.bitLength():0;var s=this.n&&this.p.div(this.n);!s||s.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=f,f.prototype.point=function(){throw Error("Not implemented")},f.prototype.validate=function(){throw Error("Not implemented")},f.prototype._fixedNafMul=function(e,t){l(e.precomputed);var s=e._getDoubles(),r=o(t,1,this._bitLength),i=(1<<s.step+1)-(s.step%2==0?2:1);i/=3;for(var a=[],f=0;f<r.length;f+=s.step){for(var u=0,t=f+s.step-1;t>=f;t--)u=(u<<1)+r[t];a.push(u)}for(var c=this.jpoint(null,null,null),d=this.jpoint(null,null,null),p=i;p>0;p--){for(var f=0;f<a.length;f++){var u=a[f];u===p?d=d.mixedAdd(s.points[f]):u===-p&&(d=d.mixedAdd(s.points[f].neg()))}c=c.add(d)}return c.toP()},f.prototype._wnafMul=function(e,t){var s=4,r=e._getNAFPoints(s);s=r.wnd;for(var i=r.points,a=o(t,s,this._bitLength),f=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(var t=0;u>=0&&0===a[u];u--)t++;if(u>=0&&t++,f=f.dblp(t),u<0)break;var c=a[u];l(0!==c),f="affine"===e.type?c>0?f.mixedAdd(i[c-1>>1]):f.mixedAdd(i[-c-1>>1].neg()):c>0?f.add(i[c-1>>1]):f.add(i[-c-1>>1].neg())}return"affine"===e.type?f.toP():f},f.prototype._wnafMulAdd=function(e,t,s,r,i){for(var l=this._wnafT1,f=this._wnafT2,u=this._wnafT3,c=0,d=0;d<r;d++){var p=t[d],h=p._getNAFPoints(e);l[d]=h.wnd,f[d]=h.points}for(var d=r-1;d>=1;d-=2){var b=d-1,_=d;if(1!==l[b]||1!==l[_]){u[b]=o(s[b],l[b],this._bitLength),u[_]=o(s[_],l[_],this._bitLength),c=Math.max(u[b].length,c),c=Math.max(u[_].length,c);continue}var m=[t[b],null,null,t[_]];0===t[b].y.cmp(t[_].y)?(m[1]=t[b].add(t[_]),m[2]=t[b].toJ().mixedAdd(t[_].neg())):0===t[b].y.cmp(t[_].y.redNeg())?(m[1]=t[b].toJ().mixedAdd(t[_]),m[2]=t[b].add(t[_].neg())):(m[1]=t[b].toJ().mixedAdd(t[_]),m[2]=t[b].toJ().mixedAdd(t[_].neg()));var g=[-3,-1,-5,-7,0,7,5,1,3],v=a(s[b],s[_]);c=Math.max(v[0].length,c),u[b]=Array(c),u[_]=Array(c);for(var y=0;y<c;y++){var w=0|v[0][y],C=0|v[1][y];u[b][y]=g[(w+1)*3+(C+1)],u[_][y]=0,f[b]=m}}for(var k=this.jpoint(null,null,null),x=this._wnafT4,d=c;d>=0;d--){for(var S=0;d>=0;){for(var E=!0,y=0;y<r;y++)x[y]=0|u[y][d],0!==x[y]&&(E=!1);if(!E)break;S++,d--}if(d>=0&&S++,k=k.dblp(S),d<0)break;for(var y=0;y<r;y++){var p,M=x[y];0!==M&&(M>0?p=f[y][M-1>>1]:M<0&&(p=f[y][-M-1>>1].neg()),k="affine"===p.type?k.mixedAdd(p):k.add(p))}}for(var d=0;d<r;d++)f[d]=null;return i?k:k.toP()},f.BasePoint=u,u.prototype.eq=function(){throw Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},f.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var s=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*s)return 6===e[0]?l(e[e.length-1]%2==0):7===e[0]&&l(e[e.length-1]%2==1),this.point(e.slice(1,1+s),e.slice(1+s,1+2*s));if((2===e[0]||3===e[0])&&e.length-1===s)return this.pointFromX(e.slice(1,1+s),3===e[0]);throw Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),s=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(s):[4].concat(s,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var s=[this],r=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)r=r.dbl();s.push(r)}return{step:e,points:s}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],s=(1<<e)-1,r=1===s?null:this.dbl(),i=1;i<s;i++)t[i]=t[i-1].add(r);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,s=0;s<e;s++)t=t.dbl();return t}},2705:function(e,t,s){"use strict";var r=s(4401),i=s(711),o=s(3782),a=s(2727),l=r.assert;function f(e){this.twisted=(0|e.a)!=1,this.mOneA=this.twisted&&(0|e.a)==-1,this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),l(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=(0|e.c)==1}function u(e,t,s,r,o){a.BasePoint.call(this,e,"projective"),null===t&&null===s&&null===r?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(s,16),this.z=r?new i(r,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,!this.curve.extended||this.t||(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(f,a),e.exports=f,f.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},f.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},f.prototype.jpoint=function(e,t,s,r){return this.point(e,t,s,r)},f.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var s=e.redSqr(),r=this.c2.redSub(this.a.redMul(s)),o=this.one.redSub(this.c2.redMul(this.d).redMul(s)),a=r.redMul(o.redInvm()),l=a.redSqrt();if(0!==l.redSqr().redSub(a).cmp(this.zero))throw Error("invalid point");var f=l.fromRed().isOdd();return(t&&!f||!t&&f)&&(l=l.redNeg()),this.point(e,l)},f.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var s=e.redSqr(),r=s.redSub(this.c2),o=s.redMul(this.d).redMul(this.c2).redSub(this.a),a=r.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(!t)return this.point(this.zero,e);throw Error("invalid point")}var l=a.redSqrt();if(0!==l.redSqr().redSub(a).cmp(this.zero))throw Error("invalid point");return l.fromRed().isOdd()!==t&&(l=l.redNeg()),this.point(l,e)},f.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),s=e.y.redSqr(),r=t.redMul(this.a).redAdd(s),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(s)));return 0===r.cmp(i)},o(u,a.BasePoint),f.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},f.prototype.point=function(e,t,s,r){return new u(this,e,t,s,r)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),s=this.z.redSqr();s=s.redIAdd(s);var r=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=r.redAdd(t),a=o.redSub(s),l=r.redSub(t),f=i.redMul(a),u=o.redMul(l),c=i.redMul(l),d=a.redMul(o);return this.curve.point(f,u,d,c)},u.prototype._projDbl=function(){var e,t,s,r=this.x.redAdd(this.y).redSqr(),i=this.x.redSqr(),o=this.y.redSqr();if(this.curve.twisted){var a=this.curve._mulA(i),l=a.redAdd(o);if(this.zOne)e=r.redSub(i).redSub(o).redMul(l.redSub(this.curve.two)),t=l.redMul(a.redSub(o)),s=l.redSqr().redSub(l).redSub(l);else{var f=this.z.redSqr(),u=l.redSub(f).redISub(f);e=r.redSub(i).redISub(o).redMul(u),t=l.redMul(a.redSub(o)),s=l.redMul(u)}}else{var a=i.redAdd(o),f=this.curve._mulC(this.z).redSqr(),u=a.redSub(f).redSub(f);e=this.curve._mulC(r.redISub(a)).redMul(u),t=this.curve._mulC(a).redMul(i.redISub(o)),s=a.redMul(u)}return this.curve.point(e,t,s)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),s=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),r=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=s.redSub(t),a=i.redSub(r),l=i.redAdd(r),f=s.redAdd(t),u=o.redMul(a),c=l.redMul(f),d=o.redMul(f),p=a.redMul(l);return this.curve.point(u,c,p,d)},u.prototype._projAdd=function(e){var t,s,r=this.z.redMul(e.z),i=r.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),l=this.curve.d.redMul(o).redMul(a),f=i.redSub(l),u=i.redAdd(l),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),d=r.redMul(f).redMul(c);return this.curve.twisted?(t=r.redMul(u).redMul(a.redSub(this.curve._mulA(o))),s=f.redMul(u)):(t=r.redMul(u).redMul(a.redSub(o)),s=this.curve._mulC(f).redMul(u)),this.curve.point(d,t,s)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,s){return this.curve._wnafMulAdd(1,[this,t],[e,s],2,!1)},u.prototype.jmulAdd=function(e,t,s){return this.curve._wnafMulAdd(1,[this,t],[e,s],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var s=e.clone(),r=this.curve.redN.redMul(this.z);;){if(s.iadd(this.curve.n),s.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(r),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},9359:function(e,t,s){"use strict";var r=t;r.base=s(2727),r.short=s(4720),r.mont=s(6653),r.edwards=s(2705)},6653:function(e,t,s){"use strict";var r=s(711),i=s(3782),o=s(2727),a=s(4401);function l(e){o.call(this,"mont",e),this.a=new r(e.a,16).toRed(this.red),this.b=new r(e.b,16).toRed(this.red),this.i4=new r(4).toRed(this.red).redInvm(),this.two=new r(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function f(e,t,s){o.BasePoint.call(this,e,"projective"),null===t&&null===s?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new r(t,16),this.z=new r(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(l,o),e.exports=l,l.prototype.validate=function(e){var t=e.normalize().x,s=t.redSqr(),r=s.redMul(t).redAdd(s.redMul(this.a)).redAdd(t);return 0===r.redSqrt().redSqr().cmp(r)},i(f,o.BasePoint),l.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},l.prototype.point=function(e,t){return new f(this,e,t)},l.prototype.pointFromJSON=function(e){return f.fromJSON(this,e)},f.prototype.precompute=function(){},f.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},f.fromJSON=function(e,t){return new f(e,t[0],t[1]||e.one)},f.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},f.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},f.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),s=e.redSub(t),r=e.redMul(t),i=s.redMul(t.redAdd(this.curve.a24.redMul(s)));return this.curve.point(r,i)},f.prototype.add=function(){throw Error("Not supported on Montgomery curve")},f.prototype.diffAdd=function(e,t){var s=this.x.redAdd(this.z),r=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(s),a=i.redMul(r),l=t.z.redMul(o.redAdd(a).redSqr()),f=t.x.redMul(o.redISub(a).redSqr());return this.curve.point(l,f)},f.prototype.mul=function(e){for(var t=e.clone(),s=this,r=this.curve.point(null,null),i=this,o=[];0!==t.cmpn(0);t.iushrn(1))o.push(t.andln(1));for(var a=o.length-1;a>=0;a--)0===o[a]?(s=s.diffAdd(r,i),r=r.dbl()):(r=s.diffAdd(r,i),s=s.dbl());return r},f.prototype.mulAdd=function(){throw Error("Not supported on Montgomery curve")},f.prototype.jumlAdd=function(){throw Error("Not supported on Montgomery curve")},f.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},f.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},f.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},4720:function(e,t,s){"use strict";var r=s(4401),i=s(711),o=s(3782),a=s(2727),l=r.assert;function f(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=[,,,,],this._endoWnafT2=[,,,,]}function u(e,t,s,r){a.BasePoint.call(this,e,"affine"),null===t&&null===s?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(s,16),r&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,s,r){a.BasePoint.call(this,e,"jacobian"),null===t&&null===s&&null===r?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(s,16),this.z=new i(r,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(f,a),e.exports=f,f.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var t,s,r,o=this._getEndoRoots(this.p);t=(t=0>o[0].cmp(o[1])?o[0]:o[1]).toRed(this.red)}if(e.lambda)s=new i(e.lambda,16);else{var a=this._getEndoRoots(this.n);0===this.g.mul(a[0]).x.cmp(this.g.x.redMul(t))?s=a[0]:(s=a[1],l(0===this.g.mul(s).x.cmp(this.g.x.redMul(t))))}return r=e.basis?e.basis.map(function(e){return{a:new i(e.a,16),b:new i(e.b,16)}}):this._getEndoBasis(s),{beta:t,lambda:s,basis:r}}},f.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),s=new i(2).toRed(t).redInvm(),r=s.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(s);return[r.redAdd(o).fromRed(),r.redSub(o).fromRed()]},f.prototype._getEndoBasis=function(e){for(var t,s,r,o,a,l,f,u,c,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),p=e,h=this.n.clone(),b=new i(1),_=new i(0),m=new i(0),g=new i(1),v=0;0!==p.cmpn(0);){var y=h.div(p);u=h.sub(y.mul(p)),c=m.sub(y.mul(b));var w=g.sub(y.mul(_));if(!r&&0>u.cmp(d))t=f.neg(),s=b,r=u.neg(),o=c;else if(r&&2==++v)break;f=u,h=p,p=u,m=b,b=c,g=_,_=w}a=u.neg(),l=c;var C=r.sqr().add(o.sqr());return a.sqr().add(l.sqr()).cmp(C)>=0&&(a=t,l=s),r.negative&&(r=r.neg(),o=o.neg()),a.negative&&(a=a.neg(),l=l.neg()),[{a:r,b:o},{a:a,b:l}]},f.prototype._endoSplit=function(e){var t=this.endo.basis,s=t[0],r=t[1],i=r.b.mul(e).divRound(this.n),o=s.b.neg().mul(e).divRound(this.n),a=i.mul(s.a),l=o.mul(r.a),f=i.mul(s.b),u=o.mul(r.b);return{k1:e.sub(a).sub(l),k2:f.add(u).neg()}},f.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var s=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),r=s.redSqrt();if(0!==r.redSqr().redSub(s).cmp(this.zero))throw Error("invalid point");var o=r.fromRed().isOdd();return(t&&!o||!t&&o)&&(r=r.redNeg()),this.point(e,r)},f.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,s=e.y,r=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(r).redIAdd(this.b);return 0===s.redSqr().redISub(i).cmpn(0)},f.prototype._endoWnafMulAdd=function(e,t,s){for(var r=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var a=this._endoSplit(t[o]),l=e[o],f=l._getBeta();a.k1.negative&&(a.k1.ineg(),l=l.neg(!0)),a.k2.negative&&(a.k2.ineg(),f=f.neg(!0)),r[2*o]=l,r[2*o+1]=f,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var u=this._wnafMulAdd(1,r,i,2*o,s),c=0;c<2*o;c++)r[c]=null,i[c]=null;return u},o(u,a.BasePoint),f.prototype.point=function(e,t,s){return new u(this,e,t,s)},f.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.precomputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var s=this.curve,r=function(e){return s.point(e.x.redMul(s.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(r)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(r)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,s){"string"==typeof t&&(t=JSON.parse(t));var r=e.point(t[0],t[1],s);if(!t[2])return r;function i(t){return e.point(t[0],t[1],s)}var o=t[2];return r.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[r].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[r].concat(o.naf.points.map(i))}},r},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e)||0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var s=t.redSqr().redISub(this.x).redISub(e.x),r=t.redMul(this.x.redSub(s)).redISub(this.y);return this.curve.point(s,r)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,s=this.x.redSqr(),r=e.redInvm(),i=s.redAdd(s).redIAdd(s).redIAdd(t).redMul(r),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return(e=new i(e,16),this.isInfinity())?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,s){var r=[this,t],i=[e,s];return this.curve.endo?this.curve._endoWnafMulAdd(r,i):this.curve._wnafMulAdd(1,r,i,2)},u.prototype.jmulAdd=function(e,t,s){var r=[this,t],i=[e,s];return this.curve.endo?this.curve._endoWnafMulAdd(r,i,!0):this.curve._wnafMulAdd(1,r,i,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var s=this.precomputed,r=function(e){return e.neg()};t.precomputed={naf:s.naf&&{wnd:s.naf.wnd,points:s.naf.points.map(r)},doubles:s.doubles&&{step:s.doubles.step,points:s.doubles.points.map(r)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(c,a.BasePoint),f.prototype.jpoint=function(e,t,s){return new c(this,e,t,s)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),s=this.x.redMul(t),r=this.y.redMul(t).redMul(e);return this.curve.point(s,r)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),s=this.z.redSqr(),r=this.x.redMul(t),i=e.x.redMul(s),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(s.redMul(this.z)),l=r.redSub(i),f=o.redSub(a);if(0===l.cmpn(0))return 0!==f.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=l.redSqr(),c=u.redMul(l),d=r.redMul(u),p=f.redSqr().redIAdd(c).redISub(d).redISub(d),h=f.redMul(d.redISub(p)).redISub(o.redMul(c)),b=this.z.redMul(e.z).redMul(l);return this.curve.jpoint(p,h,b)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),s=this.x,r=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=s.redSub(r),l=i.redSub(o);if(0===a.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var f=a.redSqr(),u=f.redMul(a),c=s.redMul(f),d=l.redSqr().redIAdd(u).redISub(c).redISub(c),p=l.redMul(c.redISub(d)).redISub(i.redMul(u)),h=this.z.redMul(a);return this.curve.jpoint(d,p,h)},c.prototype.dblp=function(e){if(0===e||this.isInfinity())return this;if(!e)return this.dbl();if(this.curve.zeroA||this.curve.threeA){for(var t=this,s=0;s<e;s++)t=t.dbl();return t}for(var r=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,l=this.z,f=l.redSqr().redSqr(),u=a.redAdd(a),s=0;s<e;s++){var c=o.redSqr(),d=u.redSqr(),p=d.redSqr(),h=c.redAdd(c).redIAdd(c).redIAdd(r.redMul(f)),b=o.redMul(d),_=h.redSqr().redISub(b.redAdd(b)),m=b.redISub(_),g=h.redMul(m);g=g.redIAdd(g).redISub(p);var v=u.redMul(l);s+1<e&&(f=f.redMul(p)),o=_,l=v,u=g}return this.curve.jpoint(o,u.redMul(i),l)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){if(this.zOne){var e,t,s,r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var l=r.redAdd(r).redIAdd(r),f=l.redSqr().redISub(a).redISub(a),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=f,t=l.redMul(a.redISub(f)).redISub(u),s=this.y.redAdd(this.y)}else{var c=this.x.redSqr(),d=this.y.redSqr(),p=d.redSqr(),h=this.x.redAdd(d).redSqr().redISub(c).redISub(p);h=h.redIAdd(h);var b=c.redAdd(c).redIAdd(c),_=b.redSqr(),m=p.redIAdd(p);m=(m=m.redIAdd(m)).redIAdd(m),e=_.redISub(h).redISub(h),t=b.redMul(h.redISub(e)).redISub(m),s=(s=this.y.redMul(this.z)).redIAdd(s)}return this.curve.jpoint(e,t,s)},c.prototype._threeDbl=function(){if(this.zOne){var e,t,s,r=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(r).redISub(o);a=a.redIAdd(a);var l=r.redAdd(r).redIAdd(r).redIAdd(this.curve.a),f=l.redSqr().redISub(a).redISub(a);e=f;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=l.redMul(a.redISub(f)).redISub(u),s=this.y.redAdd(this.y)}else{var c=this.z.redSqr(),d=this.y.redSqr(),p=this.x.redMul(d),h=this.x.redSub(c).redMul(this.x.redAdd(c));h=h.redAdd(h).redIAdd(h);var b=p.redIAdd(p),_=(b=b.redIAdd(b)).redAdd(b);e=h.redSqr().redISub(_),s=this.y.redAdd(this.z).redSqr().redISub(d).redISub(c);var m=d.redSqr();m=(m=(m=m.redIAdd(m)).redIAdd(m)).redIAdd(m),t=h.redMul(b.redISub(e)).redISub(m)}return this.curve.jpoint(e,t,s)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,s=this.y,r=this.z,i=r.redSqr().redSqr(),o=t.redSqr(),a=s.redSqr(),l=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),f=t.redAdd(t),u=(f=f.redIAdd(f)).redMul(a),c=l.redSqr().redISub(u.redAdd(u)),d=u.redISub(c),p=a.redSqr();p=(p=(p=p.redIAdd(p)).redIAdd(p)).redIAdd(p);var h=l.redMul(d).redISub(p),b=s.redAdd(s).redMul(r);return this.curve.jpoint(c,h,b)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),s=this.z.redSqr(),r=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(r),l=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),f=r.redIAdd(r);f=(f=(f=f.redIAdd(f)).redIAdd(f)).redIAdd(f);var u=i.redIAdd(a).redSqr().redISub(o).redISub(l).redISub(f),c=t.redMul(u);c=(c=c.redIAdd(c)).redIAdd(c);var d=this.x.redMul(l).redISub(c);d=(d=d.redIAdd(d)).redIAdd(d);var p=this.y.redMul(u.redMul(f.redISub(u)).redISub(a.redMul(l)));p=(p=(p=p.redIAdd(p)).redIAdd(p)).redIAdd(p);var h=this.z.redAdd(a).redSqr().redISub(s).redISub(l);return this.curve.jpoint(d,p,h)},c.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),s=e.z.redSqr();if(0!==this.x.redMul(s).redISub(e.x.redMul(t)).cmpn(0))return!1;var r=t.redMul(this.z),i=s.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(r)).cmpn(0)},c.prototype.eqXToP=function(e){var t=this.z.redSqr(),s=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(s))return!0;for(var r=e.clone(),i=this.curve.redN.redMul(t);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(s.redIAdd(i),0===this.x.cmp(s))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},6226:function(e,t,s){"use strict";var r,i=t,o=s(7028),a=s(9359),l=s(4401).assert;function f(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,l(this.g.validate(),"Invalid curve"),l(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var s=new f(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:s}),s}})}i.PresetCurve=f,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{r=s(9702)}catch(e){r=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",r]})},4088:function(e,t,s){"use strict";var r=s(711),i=s(4910),o=s(4401),a=s(6226),l=s(3500),f=o.assert,u=s(4724),c=s(7526);function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(f(a.hasOwnProperty(e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=d,d.prototype.keyPair=function(e){return new u(this,e)},d.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||l(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),o=this.n.sub(new r(2));;){var a=new r(t.generate(s));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},d.prototype._truncateToN=function(e,t){var s=8*e.byteLength()-this.n.bitLength();return(s>0&&(e=e.ushrn(s)),!t&&e.cmp(this.n)>=0)?e.sub(this.n):e},d.prototype.sign=function(e,t,s,o){"object"==typeof s&&(o=s,s=null),o||(o={}),t=this.keyFromPrivate(t,s),e=this._truncateToN(new r(e,16));for(var a=this.n.byteLength(),l=t.getPrivate().toArray("be",a),f=e.toArray("be",a),u=new i({hash:this.hash,entropy:l,nonce:f,pers:o.pers,persEnc:o.persEnc||"utf8"}),d=this.n.sub(new r(1)),p=0;;p++){var h=o.k?o.k(p):new r(u.generate(this.n.byteLength()));if(!(0>=(h=this._truncateToN(h,!0)).cmpn(1)||h.cmp(d)>=0)){var b=this.g.mul(h);if(!b.isInfinity()){var _=b.getX(),m=_.umod(this.n);if(0!==m.cmpn(0)){var g=h.invm(this.n).mul(m.mul(t.getPrivate()).iadd(e));if(0!==(g=g.umod(this.n)).cmpn(0)){var v=(b.getY().isOdd()?1:0)|(0!==_.cmp(m)?2:0);return o.canonical&&g.cmp(this.nh)>0&&(g=this.n.sub(g),v^=1),new c({r:m,s:g,recoveryParam:v})}}}}}},d.prototype.verify=function(e,t,s,i){e=this._truncateToN(new r(e,16)),s=this.keyFromPublic(s,i);var o=(t=new c(t,"hex")).r,a=t.s;if(0>o.cmpn(1)||o.cmp(this.n)>=0||0>a.cmpn(1)||a.cmp(this.n)>=0)return!1;var l=a.invm(this.n),f=l.mul(e).umod(this.n),u=l.mul(o).umod(this.n);if(!this.curve._maxwellTrick){var d=this.g.mulAdd(f,s.getPublic(),u);return!d.isInfinity()&&0===d.getX().umod(this.n).cmp(o)}var d=this.g.jmulAdd(f,s.getPublic(),u);return!d.isInfinity()&&d.eqXToP(o)},d.prototype.recoverPubKey=function(e,t,s,i){f((3&s)===s,"The recovery param is more than two bits"),t=new c(t,i);var o=this.n,a=new r(e),l=t.r,u=t.s,d=1&s,p=s>>1;if(l.cmp(this.curve.p.umod(this.curve.n))>=0&&p)throw Error("Unable to find sencond key candinate");l=p?this.curve.pointFromX(l.add(this.curve.n),d):this.curve.pointFromX(l,d);var h=t.r.invm(o),b=o.sub(a).mul(h).umod(o),_=u.mul(h).umod(o);return this.g.mulAdd(b,l,_)},d.prototype.getKeyRecoveryParam=function(e,t,s,r){if(null!==(t=new c(t,r)).recoveryParam)return t.recoveryParam;for(var i,o=0;o<4;o++){try{i=this.recoverPubKey(e,t,o)}catch(e){continue}if(i.eq(s))return o}throw Error("Unable to find valid recovery factor")}},4724:function(e,t,s){"use strict";var r=s(711),i=s(4401).assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=o,o.fromPublic=function(e,t,s){return t instanceof o?t:new o(e,{pub:t,pubEnc:s})},o.fromPrivate=function(e,t,s){return t instanceof o?t:new o(e,{priv:t,privEnc:s})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(e,t){return("string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t)?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new r(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y){"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):("short"===this.ec.curve.type||"edwards"===this.ec.curve.type)&&i(e.x&&e.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(e.x,e.y);return}this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.mul(this.priv).getX()},o.prototype.sign=function(e,t,s){return this.ec.sign(e,this,t,s)},o.prototype.verify=function(e,t){return this.ec.verify(e,t,this)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},7526:function(e,t,s){"use strict";var r=s(711),i=s(4401),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new r(e.r,16),this.s=new r(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function l(){this.place=0}function f(e,t){var s=e[t.place++];if(!(128&s))return s;var r=15&s;if(0===r||r>4)return!1;for(var i=0,o=0,a=t.place;o<r;o++,a++)i<<=8,i|=e[a],i>>>=0;return!(i<=127)&&(t.place=a,i)}function u(e){for(var t=0,s=e.length-1;!e[t]&&!(128&e[t+1])&&t<s;)t++;return 0===t?e:e.slice(t)}function c(e,t){if(t<128){e.push(t);return}var s=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|s);--s;)e.push(t>>>(s<<3)&255);e.push(t)}e.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var s=new l;if(48!==e[s.place++])return!1;var o=f(e,s);if(!1===o||o+s.place!==e.length||2!==e[s.place++])return!1;var a=f(e,s);if(!1===a)return!1;var u=e.slice(s.place,a+s.place);if(s.place+=a,2!==e[s.place++])return!1;var c=f(e,s);if(!1===c||e.length!==c+s.place)return!1;var d=e.slice(s.place,c+s.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new r(u),this.s=new r(d),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),s=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&s[0]&&(s=[0].concat(s)),t=u(t),s=u(s);!s[0]&&!(128&s[1]);)s=s.slice(1);var r=[2];c(r,t.length),(r=r.concat(t)).push(2),c(r,s.length);var o=r.concat(s),a=[48];return c(a,o.length),a=a.concat(o),i.encode(a,e)}},8511:function(e,t,s){"use strict";var r=s(7028),i=s(6226),o=s(4401),a=o.assert,l=o.parseBytes,f=s(9917),u=s(9314);function c(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof c))return new c(e);var e=i[e].curve;this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=r.sha512}e.exports=c,c.prototype.sign=function(e,t){e=l(e);var s=this.keyFromSecret(t),r=this.hashInt(s.messagePrefix(),e),i=this.g.mul(r),o=this.encodePoint(i),a=this.hashInt(o,s.pubBytes(),e).mul(s.priv()),f=r.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:f,Rencoded:o})},c.prototype.verify=function(e,t,s){e=l(e),t=this.makeSignature(t);var r=this.keyFromPublic(s),i=this.hashInt(t.Rencoded(),r.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(r.pub().mul(i)).eq(o)},c.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},c.prototype.keyFromPublic=function(e){return f.fromPublic(this,e)},c.prototype.keyFromSecret=function(e){return f.fromSecret(this,e)},c.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},c.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},c.prototype.decodePoint=function(e){var t=(e=o.parseBytes(e)).length-1,s=e.slice(0,t).concat(-129&e[t]),r=(128&e[t])!=0,i=o.intFromLE(s);return this.curve.pointFromY(i,r)},c.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},c.prototype.decodeInt=function(e){return o.intFromLE(e)},c.prototype.isPoint=function(e){return e instanceof this.pointClass}},9917:function(e,t,s){"use strict";var r=s(4401),i=r.assert,o=r.parseBytes,a=r.cachedProperty;function l(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}l.fromPublic=function(e,t){return t instanceof l?t:new l(e,{pub:t})},l.fromSecret=function(e,t){return t instanceof l?t:new l(e,{secret:t})},l.prototype.secret=function(){return this._secret},a(l,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),a(l,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),a(l,"privBytes",function(){var e=this.eddsa,t=this.hash(),s=e.encodingLength-1,r=t.slice(0,e.encodingLength);return r[0]&=248,r[s]&=127,r[s]|=64,r}),a(l,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),a(l,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),a(l,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),l.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},l.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},l.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),r.encode(this.secret(),e)},l.prototype.getPublic=function(e){return r.encode(this.pubBytes(),e)},e.exports=l},9314:function(e,t,s){"use strict";var r=s(711),i=s(4401),o=i.assert,a=i.cachedProperty,l=i.parseBytes;function f(e,t){this.eddsa=e,"object"!=typeof t&&(t=l(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof r&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(f,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),a(f,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),a(f,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),a(f,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),f.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},f.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=f},9702:function(e){e.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},4401:function(e,t,s){"use strict";var r=t,i=s(711),o=s(3523),a=s(6545);function l(e,t,s){var r=Array(Math.max(e.bitLength(),s)+1);r.fill(0);for(var i=1<<t+1,o=e.clone(),a=0;a<r.length;a++){var l,f=o.andln(i-1);o.isOdd()?(l=f>(i>>1)-1?(i>>1)-f:f,o.isubn(l)):l=0,r[a]=l,o.iushrn(1)}return r}function f(e,t){var s=[[],[]];e=e.clone(),t=t.clone();for(var r=0,i=0;e.cmpn(-r)>0||t.cmpn(-i)>0;){var o,a,l=e.andln(3)+r&3,f=t.andln(3)+i&3;if(3===l&&(l=-1),3===f&&(f=-1),(1&l)==0)o=0;else{var u=e.andln(7)+r&7;o=(3===u||5===u)&&2===f?-l:l}if(s[0].push(o),(1&f)==0)a=0;else{var u=t.andln(7)+i&7;a=(3===u||5===u)&&2===l?-f:f}s[1].push(a),2*r===o+1&&(r=1-r),2*i===a+1&&(i=1-i),e.iushrn(1),t.iushrn(1)}return s}function u(e,t,s){var r="_"+t;e.prototype[t]=function(){return void 0!==this[r]?this[r]:this[r]=s.call(this)}}function c(e){return"string"==typeof e?r.toArray(e,"hex"):e}function d(e){return new i(e,"hex","le")}r.assert=o,r.toArray=a.toArray,r.zero2=a.zero2,r.toHex=a.toHex,r.encode=a.encode,r.getNAF=l,r.getJSF=f,r.cachedProperty=u,r.parseBytes=c,r.intFromLE=d},8368:function(e,t,s){var r=s(6911).Buffer,i=s(3533);function o(e,t,s,o){if(r.isBuffer(e)||(e=r.from(e,"binary")),t&&(r.isBuffer(t)||(t=r.from(t,"binary")),8!==t.length))throw RangeError("salt should be Buffer with 8 byte length");for(var a=s/8,l=r.alloc(a),f=r.alloc(o||0),u=r.alloc(0);a>0||o>0;){var c=new i;c.update(u),c.update(e),t&&c.update(t),u=c.digest();var d=0;if(a>0){var p=l.length-a;d=Math.min(a,u.length),u.copy(l,p,0,d),a-=d}if(d<u.length&&o>0){var h=f.length-o,b=Math.min(o,u.length-d);u.copy(f,h,d,d+b),o-=b}}return u.fill(0),{key:l,iv:f}}e.exports=o},9029:function(e,t,s){"use strict";var r=s(6911).Buffer,i=s(3726).Transform;function o(e,t){if(!r.isBuffer(e)&&"string"!=typeof e)throw TypeError(t+" must be a string or a buffer")}function a(e){i.call(this),this._block=r.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}s(3782)(a,i),a.prototype._transform=function(e,t,s){var r=null;try{this.update(e,t)}catch(e){r=e}s(r)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},a.prototype.update=function(e,t){if(o(e,"Data"),this._finalized)throw Error("Digest already called");r.isBuffer(e)||(e=r.from(e,t));for(var s=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)s[a++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)s[this._blockOffset++]=e[i++];for(var l=0,f=8*e.length;f>0;++l)this._length[l]+=f,(f=this._length[l]/4294967296|0)>0&&(this._length[l]-=4294967296*f);return this},a.prototype._update=function(){throw Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var s=0;s<4;++s)this._length[s]=0;return t},a.prototype._digest=function(){throw Error("_digest is not implemented")},e.exports=a},7028:function(e,t,s){var r=t;r.utils=s(263),r.common=s(1330),r.sha=s(301),r.ripemd=s(3079),r.hmac=s(3092),r.sha1=r.sha.sha1,r.sha256=r.sha.sha256,r.sha224=r.sha.sha224,r.sha384=r.sha.sha384,r.sha512=r.sha.sha512,r.ripemd160=r.ripemd.ripemd160},1330:function(e,t,s){"use strict";var r=s(263),i=s(3523);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=r.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var s=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-s,e.length),0===this.pending.length&&(this.pending=null),e=r.join32(e,0,e.length-s,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,s=t-(e+this.padLength)%t,r=Array(s+this.padLength);r[0]=128;for(var i=1;i<s;i++)r[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)r[i++]=0;r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=e>>>24&255,r[i++]=e>>>16&255,r[i++]=e>>>8&255,r[i++]=255&e}else for(o=8,r[i++]=255&e,r[i++]=e>>>8&255,r[i++]=e>>>16&255,r[i++]=e>>>24&255,r[i++]=0,r[i++]=0,r[i++]=0,r[i++]=0;o<this.padLength;o++)r[i++]=0;return r}},3092:function(e,t,s){"use strict";var r=s(263),i=s(3523);function o(e,t,s){if(!(this instanceof o))return new o(e,t,s);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(r.toArray(t,s))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(t=0,this.inner=(new this.Hash).update(e);t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},3079:function(e,t,s){"use strict";var r=s(263),i=s(1330),o=r.rotl32,a=r.sum32,l=r.sum32_3,f=r.sum32_4,u=i.BlockHash;function c(){if(!(this instanceof c))return new c;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,s,r){return e<=15?t^s^r:e<=31?t&s|~t&r:e<=47?(t|~s)^r:e<=63?t&r|s&~r:t^(s|~r)}function p(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function h(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}r.inherits(c,u),t.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(e,t){for(var s=this.h[0],r=this.h[1],i=this.h[2],u=this.h[3],c=this.h[4],v=s,y=r,w=i,C=u,k=c,x=0;x<80;x++){var S=a(o(f(s,d(x,r,i,u),e[b[x]+t],p(x)),m[x]),c);s=c,c=u,u=o(i,10),i=r,r=S,S=a(o(f(v,d(79-x,y,w,C),e[_[x]+t],h(x)),g[x]),k),v=k,k=C,C=o(w,10),w=y,y=S}S=l(this.h[1],i,C),this.h[1]=l(this.h[2],u,k),this.h[2]=l(this.h[3],c,v),this.h[3]=l(this.h[4],s,y),this.h[4]=l(this.h[0],r,w),this.h[0]=S},c.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"little"):r.split32(this.h,"little")};var b=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],_=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],m=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],g=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},301:function(e,t,s){"use strict";t.sha1=s(2742),t.sha224=s(7105),t.sha256=s(1525),t.sha384=s(9948),t.sha512=s(1319)},2742:function(e,t,s){"use strict";var r=s(263),i=s(1330),o=s(2975),a=r.rotl32,l=r.sum32,f=r.sum32_5,u=o.ft_1,c=i.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function p(){if(!(this instanceof p))return new p;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=Array(80)}r.inherits(p,c),e.exports=p,p.blockSize=512,p.outSize=160,p.hmacStrength=80,p.padLength=64,p.prototype._update=function(e,t){for(var s=this.W,r=0;r<16;r++)s[r]=e[t+r];for(;r<s.length;r++)s[r]=a(s[r-3]^s[r-8]^s[r-14]^s[r-16],1);var i=this.h[0],o=this.h[1],c=this.h[2],p=this.h[3],h=this.h[4];for(r=0;r<s.length;r++){var b=~~(r/20),_=f(a(i,5),u(b,o,c,p),h,s[r],d[b]);h=p,p=c,c=a(o,30),o=i,i=_}this.h[0]=l(this.h[0],i),this.h[1]=l(this.h[1],o),this.h[2]=l(this.h[2],c),this.h[3]=l(this.h[3],p),this.h[4]=l(this.h[4],h)},p.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},7105:function(e,t,s){"use strict";var r=s(263),i=s(1525);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,7),"big"):r.split32(this.h.slice(0,7),"big")}},1525:function(e,t,s){"use strict";var r=s(263),i=s(1330),o=s(2975),a=s(3523),l=r.sum32,f=r.sum32_4,u=r.sum32_5,c=o.ch32,d=o.maj32,p=o.s0_256,h=o.s1_256,b=o.g0_256,_=o.g1_256,m=i.BlockHash,g=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function v(){if(!(this instanceof v))return new v;m.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=g,this.W=Array(64)}r.inherits(v,m),e.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(e,t){for(var s=this.W,r=0;r<16;r++)s[r]=e[t+r];for(;r<s.length;r++)s[r]=f(_(s[r-2]),s[r-7],b(s[r-15]),s[r-16]);var i=this.h[0],o=this.h[1],m=this.h[2],g=this.h[3],v=this.h[4],y=this.h[5],w=this.h[6],C=this.h[7];for(a(this.k.length===s.length),r=0;r<s.length;r++){var k=u(C,h(v),c(v,y,w),this.k[r],s[r]),x=l(p(i),d(i,o,m));C=w,w=y,y=v,v=l(g,k),g=m,m=o,o=i,i=l(k,x)}this.h[0]=l(this.h[0],i),this.h[1]=l(this.h[1],o),this.h[2]=l(this.h[2],m),this.h[3]=l(this.h[3],g),this.h[4]=l(this.h[4],v),this.h[5]=l(this.h[5],y),this.h[6]=l(this.h[6],w),this.h[7]=l(this.h[7],C)},v.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},9948:function(e,t,s){"use strict";var r=s(263),i=s(1319);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}r.inherits(o,i),e.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h.slice(0,12),"big"):r.split32(this.h.slice(0,12),"big")}},1319:function(e,t,s){"use strict";var r=s(263),i=s(1330),o=s(3523),a=r.rotr64_hi,l=r.rotr64_lo,f=r.shr64_hi,u=r.shr64_lo,c=r.sum64,d=r.sum64_hi,p=r.sum64_lo,h=r.sum64_4_hi,b=r.sum64_4_lo,_=r.sum64_5_hi,m=r.sum64_5_lo,g=i.BlockHash,v=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=Array(160)}function w(e,t,s,r,i){var o=e&s^~e&i;return o<0&&(o+=4294967296),o}function C(e,t,s,r,i,o){var a=t&r^~t&o;return a<0&&(a+=4294967296),a}function k(e,t,s,r,i){var o=e&s^e&i^s&i;return o<0&&(o+=4294967296),o}function x(e,t,s,r,i,o){var a=t&r^t&o^r&o;return a<0&&(a+=4294967296),a}function S(e,t){var s=a(e,t,28)^a(t,e,2)^a(t,e,7);return s<0&&(s+=4294967296),s}function E(e,t){var s=l(e,t,28)^l(t,e,2)^l(t,e,7);return s<0&&(s+=4294967296),s}function M(e,t){var s=a(e,t,14)^a(e,t,18)^a(t,e,9);return s<0&&(s+=4294967296),s}function I(e,t){var s=l(e,t,14)^l(e,t,18)^l(t,e,9);return s<0&&(s+=4294967296),s}function A(e,t){var s=a(e,t,1)^a(e,t,8)^f(e,t,7);return s<0&&(s+=4294967296),s}function R(e,t){var s=l(e,t,1)^l(e,t,8)^u(e,t,7);return s<0&&(s+=4294967296),s}function O(e,t){var s=a(e,t,19)^a(t,e,29)^f(e,t,6);return s<0&&(s+=4294967296),s}function j(e,t){var s=l(e,t,19)^l(t,e,29)^u(e,t,6);return s<0&&(s+=4294967296),s}r.inherits(y,g),e.exports=y,y.blockSize=1024,y.outSize=512,y.hmacStrength=192,y.padLength=128,y.prototype._prepareBlock=function(e,t){for(var s=this.W,r=0;r<32;r++)s[r]=e[t+r];for(;r<s.length;r+=2){var i=O(s[r-4],s[r-3]),o=j(s[r-4],s[r-3]),a=s[r-14],l=s[r-13],f=A(s[r-30],s[r-29]),u=R(s[r-30],s[r-29]),c=s[r-32],d=s[r-31];s[r]=h(i,o,a,l,f,u,c,d),s[r+1]=b(i,o,a,l,f,u,c,d)}},y.prototype._update=function(e,t){this._prepareBlock(e,t);var s=this.W,r=this.h[0],i=this.h[1],a=this.h[2],l=this.h[3],f=this.h[4],u=this.h[5],h=this.h[6],b=this.h[7],g=this.h[8],v=this.h[9],y=this.h[10],A=this.h[11],R=this.h[12],O=this.h[13],j=this.h[14],P=this.h[15];o(this.k.length===s.length);for(var T=0;T<s.length;T+=2){var N=j,D=P,L=M(g,v),B=I(g,v),q=w(g,v,y,A,R,O),F=C(g,v,y,A,R,O),z=this.k[T],U=this.k[T+1],V=s[T],$=s[T+1],H=_(N,D,L,B,q,F,z,U,V,$),W=m(N,D,L,B,q,F,z,U,V,$);N=S(r,i);var K=d(N,D=E(r,i),L=k(r,i,a,l,f,u),B=x(r,i,a,l,f,u)),G=p(N,D,L,B);j=R,P=O,R=y,O=A,y=g,A=v,g=d(h,b,H,W),v=p(b,b,H,W),h=f,b=u,f=a,u=l,a=r,l=i,r=d(H,W,K,G),i=p(H,W,K,G)}c(this.h,0,r,i),c(this.h,2,a,l),c(this.h,4,f,u),c(this.h,6,h,b),c(this.h,8,g,v),c(this.h,10,y,A),c(this.h,12,R,O),c(this.h,14,j,P)},y.prototype._digest=function(e){return"hex"===e?r.toHex32(this.h,"big"):r.split32(this.h,"big")}},2975:function(e,t,s){"use strict";var r=s(263).rotr32;function i(e,t,s,r){return 0===e?o(t,s,r):1===e||3===e?l(t,s,r):2===e?a(t,s,r):void 0}function o(e,t,s){return e&t^~e&s}function a(e,t,s){return e&t^e&s^t&s}function l(e,t,s){return e^t^s}function f(e){return r(e,2)^r(e,13)^r(e,22)}function u(e){return r(e,6)^r(e,11)^r(e,25)}function c(e){return r(e,7)^r(e,18)^e>>>3}function d(e){return r(e,17)^r(e,19)^e>>>10}t.ft_1=i,t.ch32=o,t.maj32=a,t.p32=l,t.s0_256=f,t.s1_256=u,t.g0_256=c,t.g1_256=d},263:function(e,t,s){"use strict";var r=s(3523),i=s(3782);function o(e,t){return(64512&e.charCodeAt(t))==55296&&!(t<0)&&!(t+1>=e.length)&&(64512&e.charCodeAt(t+1))==56320}function a(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var s=[];if("string"==typeof e){if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)s.push(parseInt(e[i]+e[i+1],16))}else for(var r=0,i=0;i<e.length;i++){var a=e.charCodeAt(i);a<128?s[r++]=a:(a<2048?s[r++]=a>>6|192:(o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),s[r++]=a>>18|240,s[r++]=a>>12&63|128):s[r++]=a>>12|224,s[r++]=a>>6&63|128),s[r++]=63&a|128)}}else for(i=0;i<e.length;i++)s[i]=0|e[i];return s}function l(e){for(var t="",s=0;s<e.length;s++)t+=c(e[s].toString(16));return t}function f(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function u(e,t){for(var s="",r=0;r<e.length;r++){var i=e[r];"little"===t&&(i=f(i)),s+=d(i.toString(16))}return s}function c(e){return 1===e.length?"0"+e:e}function d(e){if(7===e.length)return"0"+e;if(6===e.length)return"00"+e;if(5===e.length)return"000"+e;if(4===e.length)return"0000"+e;if(3===e.length)return"00000"+e;if(2===e.length)return"000000"+e;if(1===e.length)return"0000000"+e;else return e}function p(e,t,s,i){var o,a=s-t;r(a%4==0);for(var l=Array(a/4),f=0,u=t;f<l.length;f++,u+=4)o="big"===i?e[u]<<24|e[u+1]<<16|e[u+2]<<8|e[u+3]:e[u+3]<<24|e[u+2]<<16|e[u+1]<<8|e[u],l[f]=o>>>0;return l}function h(e,t){for(var s=Array(4*e.length),r=0,i=0;r<e.length;r++,i+=4){var o=e[r];"big"===t?(s[i]=o>>>24,s[i+1]=o>>>16&255,s[i+2]=o>>>8&255,s[i+3]=255&o):(s[i+3]=o>>>24,s[i+2]=o>>>16&255,s[i+1]=o>>>8&255,s[i]=255&o)}return s}function b(e,t){return e>>>t|e<<32-t}function _(e,t){return e<<t|e>>>32-t}function m(e,t){return e+t>>>0}function g(e,t,s){return e+t+s>>>0}function v(e,t,s,r){return e+t+s+r>>>0}function y(e,t,s,r,i){return e+t+s+r+i>>>0}function w(e,t,s,r){var i=e[t],o=r+e[t+1]>>>0,a=(o<r?1:0)+s+i;e[t]=a>>>0,e[t+1]=o}function C(e,t,s,r){return(t+r>>>0<t?1:0)+e+s>>>0}function k(e,t,s,r){return t+r>>>0}function x(e,t,s,r,i,o,a,l){var f,u=t;return e+s+i+a+(f=0+((u=u+r>>>0)<t?1:0)+((u=u+o>>>0)<o?1:0)+((u=u+l>>>0)<l?1:0))>>>0}function S(e,t,s,r,i,o,a,l){return t+r+o+l>>>0}function E(e,t,s,r,i,o,a,l,f,u){var c,d=t;return e+s+i+a+f+(c=0+((d=d+r>>>0)<t?1:0)+((d=d+o>>>0)<o?1:0)+((d=d+l>>>0)<l?1:0)+((d=d+u>>>0)<u?1:0))>>>0}function M(e,t,s,r,i,o,a,l,f,u){return t+r+o+l+u>>>0}function I(e,t,s){return(t<<32-s|e>>>s)>>>0}function A(e,t,s){return(e<<32-s|t>>>s)>>>0}function R(e,t,s){return e>>>s}function O(e,t,s){return(e<<32-s|t>>>s)>>>0}t.inherits=i,t.toArray=a,t.toHex=l,t.htonl=f,t.toHex32=u,t.zero2=c,t.zero8=d,t.join32=p,t.split32=h,t.rotr32=b,t.rotl32=_,t.sum32=m,t.sum32_3=g,t.sum32_4=v,t.sum32_5=y,t.sum64=w,t.sum64_hi=C,t.sum64_lo=k,t.sum64_4_hi=x,t.sum64_4_lo=S,t.sum64_5_hi=E,t.sum64_5_lo=M,t.rotr64_hi=I,t.rotr64_lo=A,t.shr64_hi=R,t.shr64_lo=O},4910:function(e,t,s){"use strict";var r=s(7028),i=s(6545),o=s(3523);function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),s=i.toArray(e.nonce,e.nonceEnc||"hex"),r=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,s,r)}e.exports=a,a.prototype._init=function(e,t,s){var r=e.concat(t).concat(s);this.K=Array(this.outLen/8),this.V=Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(r),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new r.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,s,r){"string"!=typeof t&&(r=s,s=t,t=null),e=i.toArray(e,t),s=i.toArray(s,r),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(s||[])),this._reseed=1},a.prototype.generate=function(e,t,s,r){if(this._reseed>this.reseedInterval)throw Error("Reseed is required");"string"!=typeof t&&(r=s,s=t,t=null),s&&(s=i.toArray(s,r||"hex"),this._update(s));for(var o=[];o.length<e;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,e);return this._update(s),this._reseed++,i.encode(a,t)}},3782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e}}},3533:function(e,t,s){"use strict";var r=s(3782),i=s(9029),o=s(6911).Buffer,a=Array(16);function l(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function f(e,t){return e<<t|e>>>32-t}function u(e,t,s,r,i,o,a){return f(e+(t&s|~t&r)+i+o|0,a)+t|0}function c(e,t,s,r,i,o,a){return f(e+(t&r|s&~r)+i+o|0,a)+t|0}function d(e,t,s,r,i,o,a){return f(e+(t^s^r)+i+o|0,a)+t|0}function p(e,t,s,r,i,o,a){return f(e+(s^(t|~r))+i+o|0,a)+t|0}r(l,i),l.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var s=this._a,r=this._b,i=this._c,o=this._d;s=u(s,r,i,o,e[0],3614090360,7),o=u(o,s,r,i,e[1],3905402710,12),i=u(i,o,s,r,e[2],606105819,17),r=u(r,i,o,s,e[3],3250441966,22),s=u(s,r,i,o,e[4],4118548399,7),o=u(o,s,r,i,e[5],1200080426,12),i=u(i,o,s,r,e[6],2821735955,17),r=u(r,i,o,s,e[7],4249261313,22),s=u(s,r,i,o,e[8],1770035416,7),o=u(o,s,r,i,e[9],2336552879,12),i=u(i,o,s,r,e[10],4294925233,17),r=u(r,i,o,s,e[11],2304563134,22),s=u(s,r,i,o,e[12],1804603682,7),o=u(o,s,r,i,e[13],4254626195,12),i=u(i,o,s,r,e[14],2792965006,17),r=u(r,i,o,s,e[15],1236535329,22),s=c(s,r,i,o,e[1],4129170786,5),o=c(o,s,r,i,e[6],3225465664,9),i=c(i,o,s,r,e[11],643717713,14),r=c(r,i,o,s,e[0],3921069994,20),s=c(s,r,i,o,e[5],3593408605,5),o=c(o,s,r,i,e[10],38016083,9),i=c(i,o,s,r,e[15],3634488961,14),r=c(r,i,o,s,e[4],3889429448,20),s=c(s,r,i,o,e[9],568446438,5),o=c(o,s,r,i,e[14],3275163606,9),i=c(i,o,s,r,e[3],4107603335,14),r=c(r,i,o,s,e[8],1163531501,20),s=c(s,r,i,o,e[13],2850285829,5),o=c(o,s,r,i,e[2],4243563512,9),i=c(i,o,s,r,e[7],1735328473,14),r=c(r,i,o,s,e[12],2368359562,20),s=d(s,r,i,o,e[5],4294588738,4),o=d(o,s,r,i,e[8],2272392833,11),i=d(i,o,s,r,e[11],1839030562,16),r=d(r,i,o,s,e[14],4259657740,23),s=d(s,r,i,o,e[1],2763975236,4),o=d(o,s,r,i,e[4],1272893353,11),i=d(i,o,s,r,e[7],4139469664,16),r=d(r,i,o,s,e[10],3200236656,23),s=d(s,r,i,o,e[13],681279174,4),o=d(o,s,r,i,e[0],3936430074,11),i=d(i,o,s,r,e[3],3572445317,16),r=d(r,i,o,s,e[6],76029189,23),s=d(s,r,i,o,e[9],3654602809,4),o=d(o,s,r,i,e[12],3873151461,11),i=d(i,o,s,r,e[15],530742520,16),r=d(r,i,o,s,e[2],3299628645,23),s=p(s,r,i,o,e[0],4096336452,6),o=p(o,s,r,i,e[7],1126891415,10),i=p(i,o,s,r,e[14],2878612391,15),r=p(r,i,o,s,e[5],4237533241,21),s=p(s,r,i,o,e[12],1700485571,6),o=p(o,s,r,i,e[3],2399980690,10),i=p(i,o,s,r,e[10],4293915773,15),r=p(r,i,o,s,e[1],2240044497,21),s=p(s,r,i,o,e[8],1873313359,6),o=p(o,s,r,i,e[15],4264355552,10),i=p(i,o,s,r,e[6],2734768916,15),r=p(r,i,o,s,e[13],1309151649,21),s=p(s,r,i,o,e[4],4149444226,6),o=p(o,s,r,i,e[11],3174756917,10),i=p(i,o,s,r,e[2],718787259,15),r=p(r,i,o,s,e[9],3951481745,21),this._a=this._a+s|0,this._b=this._b+r|0,this._c=this._c+i|0,this._d=this._d+o|0},l.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=l},1354:function(e,t,s){var r=s(711),i=s(3500);function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=Math.ceil(e.bitLength()/8);do var s=new r(this.rand.generate(t));while(s.cmp(e)>=0);return s},o.prototype._randrange=function(e,t){var s=t.sub(e);return e.add(this._randbelow(s))},o.prototype.test=function(e,t,s){var i=e.bitLength(),o=r.mont(e),a=new r(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var l=e.subn(1),f=0;!l.testn(f);f++);for(var u=e.shrn(f),c=l.toRed(o),d=!0;t>0;t--){var p=this._randrange(new r(2),l);s&&s(p);var h=p.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(c)){for(var b=1;b<f;b++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(c))break}if(b===f)return!1}}return d},o.prototype.getDivisor=function(e,t){var s=e.bitLength(),i=r.mont(e),o=new r(1).toRed(i);t||(t=Math.max(1,s/48|0));for(var a=e.subn(1),l=0;!a.testn(l);l++);for(var f=e.shrn(l),u=a.toRed(i);t>0;t--){var c=this._randrange(new r(2),a),d=e.gcd(c);if(0!==d.cmpn(1))return d;var p=c.toRed(i).redPow(f);if(0!==p.cmp(o)&&0!==p.cmp(u)){for(var h=1;h<l;h++){if(0===(p=p.redSqr()).cmp(o))return p.fromRed().subn(1).gcd(e);if(0===p.cmp(u))break}if(h===l)return(p=p.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},3523:function(e){function t(e,t){if(!e)throw Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,s){if(e!=t)throw Error(s||"Assertion failed: "+e+" != "+t)}},6545:function(e,t){"use strict";var s=t;function r(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var s=[];if("string"!=typeof e){for(var r=0;r<e.length;r++)s[r]=0|e[r];return s}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(var r=0;r<e.length;r+=2)s.push(parseInt(e[r]+e[r+1],16))}else for(var r=0;r<e.length;r++){var i=e.charCodeAt(r),o=i>>8,a=255&i;o?s.push(o,a):s.push(a)}return s}function i(e){return 1===e.length?"0"+e:e}function o(e){for(var t="",s=0;s<e.length;s++)t+=i(e[s].toString(16));return t}s.toArray=r,s.zero2=i,s.toHex=o,s.encode=function(e,t){return"hex"===t?o(e):e}},8687:function(e,t,s){"use strict";var r=s(7160);t.certificate=s(8782);var i=r.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});t.RSAPrivateKey=i;var o=r.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});t.RSAPublicKey=o;var a=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(l),this.key("subjectPublicKey").bitstr())});t.PublicKey=a;var l=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),f=r.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(l),this.key("subjectPrivateKey").octstr())});t.PrivateKey=f;var u=r.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});t.EncryptedPrivateKey=u;var c=r.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});t.DSAPrivateKey=c,t.DSAparam=r.define("DSAparam",function(){this.int()});var d=r.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(p),this.key("publicKey").optional().explicit(1).bitstr())});t.ECPrivateKey=d;var p=r.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t.signature=r.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},8782:function(e,t,s){"use strict";var r=s(7160),i=r.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),o=r.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),a=r.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),l=r.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}),f=r.define("RelativeDistinguishedName",function(){this.setof(o)}),u=r.define("RDNSequence",function(){this.seqof(f)}),c=r.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),d=r.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),p=r.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),h=r.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(c),this.key("validity").use(d),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(l),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(p).optional())}),b=r.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(h),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())});e.exports=b},6501:function(e,t,s){var r=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r\+\/\=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r\+\/\=]+)-----END \1-----$/m,a=s(8368),l=s(6594),f=s(6911).Buffer;e.exports=function(e,t){var s,u=e.toString(),c=u.match(r);if(c){var d="aes"+c[1],p=f.from(c[2],"hex"),h=f.from(c[3].replace(/[\r\n]/g,""),"base64"),b=a(t,p.slice(0,8),parseInt(c[1],10)).key,_=[],m=l.createDecipheriv(d,b,p);_.push(m.update(h)),_.push(m.final()),s=f.concat(_)}else s=new f(u.match(o)[2].replace(/[\r\n]/g,""),"base64");return{tag:u.match(i)[1],data:s}}},9902:function(e,t,s){var r=s(8687),i=s(2510),o=s(6501),a=s(6594),l=s(4978),f=s(6911).Buffer;function u(e){"object"!=typeof e||f.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=f.from(e));var t,s,i,a=o(e,t),l=a.tag,u=a.data;switch(l){case"CERTIFICATE":i=r.certificate.decode(u,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(i||(i=r.PublicKey.decode(u,"der")),s=i.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPublicKey.decode(i.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return i.subjectPrivateKey=i.subjectPublicKey,{type:"ec",data:i};case"1.2.840.10040.4.1":return i.algorithm.params.pub_key=r.DSAparam.decode(i.subjectPublicKey.data,"der"),{type:"dsa",data:i.algorithm.params};default:throw Error("unknown key id "+s)}throw Error("unknown key type "+l);case"ENCRYPTED PRIVATE KEY":u=c(u=r.EncryptedPrivateKey.decode(u,"der"),t);case"PRIVATE KEY":switch(s=(i=r.PrivateKey.decode(u,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return r.RSAPrivateKey.decode(i.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:i.algorithm.curve,privateKey:r.ECPrivateKey.decode(i.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return i.algorithm.params.priv_key=r.DSAparam.decode(i.subjectPrivateKey,"der"),{type:"dsa",params:i.algorithm.params};default:throw Error("unknown key id "+s)}throw Error("unknown key type "+l);case"RSA PUBLIC KEY":return r.RSAPublicKey.decode(u,"der");case"RSA PRIVATE KEY":return r.RSAPrivateKey.decode(u,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:r.DSAPrivateKey.decode(u,"der")};case"EC PRIVATE KEY":return{curve:(u=r.ECPrivateKey.decode(u,"der")).parameters.value,privateKey:u.privateKey};default:throw Error("unknown key type "+l)}}function c(e,t){var s=e.algorithm.decrypt.kde.kdeparams.salt,r=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,d=parseInt(o.split("-")[1],10)/8,p=l.pbkdf2Sync(t,s,r,d,"sha1"),h=a.createDecipheriv(o,p,u),b=[];return b.push(h.update(c)),b.push(h.final()),f.concat(b)}e.exports=u,u.signature=r.signature},4978:function(e,t,s){var r=s(6113),i=s(5349),o=s(7007),a=s(5407);function l(e,t,s,l,f,u){if(i(s,l),e=a(e,o,"Password"),t=a(t,o,"Salt"),"function"==typeof f&&(u=f,f="sha1"),"function"!=typeof u)throw Error("No callback provided to pbkdf2");return r.pbkdf2(e,t,s,l,f,u)}function f(e,t,s,l,f){return i(s,l),e=a(e,o,"Password"),t=a(t,o,"Salt"),f=f||"sha1",r.pbkdf2Sync(e,t,s,l,f)}r.pbkdf2Sync&&-1!==r.pbkdf2Sync.toString().indexOf("keylen, digest")?(t.pbkdf2Sync=f,t.pbkdf2=l):(t.pbkdf2Sync=s(2127),t.pbkdf2=s(9601))},9601:function(e,t,r){var i,a=r(6911).Buffer,l=r(5349),f=r(7007),u=r(2127),c=r(5407),d=s.g.crypto&&s.g.crypto.subtle,p={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];function b(e){if(s.g.process&&!s.g.process.browser||!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=_(i=i||a.alloc(8),i,10,128,e).then(function(){return!0}).catch(function(){return!1});return h[e]=t,t}function _(e,t,s,r,i){return d.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return d.deriveBits({name:"PBKDF2",salt:t,iterations:s,hash:{name:i}},e,r<<3)}).then(function(e){return a.from(e)})}function m(e,t){e.then(function(e){o.nextTick(function(){t(null,e)})},function(e){o.nextTick(function(){t(e)})})}e.exports=function(e,t,r,i,a,d){"function"==typeof a&&(d=a,a=void 0);var h=p[(a=a||"sha1").toLowerCase()];if(!h||"function"!=typeof s.g.Promise)return o.nextTick(function(){var s;try{s=u(e,t,r,i,a)}catch(e){return d(e)}d(null,s)});if(l(r,i),e=c(e,f,"Password"),t=c(t,f,"Salt"),"function"!=typeof d)throw Error("No callback provided to pbkdf2");m(b(h).then(function(s){return s?_(e,t,r,i,h):u(e,t,r,i,a)}),d)}},7007:function(e){var t;t="utf-8",e.exports=t},5349:function(e){var t=1073741823;e.exports=function(e,s){if("number"!=typeof e)throw TypeError("Iterations not a number");if(e<0)throw TypeError("Bad iterations");if("number"!=typeof s)throw TypeError("Key length not a number");if(s<0||s>t||s!=s)throw TypeError("Bad key length")}},2127:function(e,t,s){var r={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20},i=s(4873),o=s(6911).Buffer,a=s(5349),l=s(7007),f=s(5407);function u(e,t,s,u,c){a(s,u),e=f(e,l,"Password"),t=f(t,l,"Salt"),c=c||"sha1";var d=o.allocUnsafe(u),p=o.allocUnsafe(t.length+4);t.copy(p,0,0,t.length);for(var h=0,b=r[c],_=Math.ceil(u/b),m=1;m<=_;m++){p.writeUInt32BE(m,t.length);for(var g=i(c,e).update(p).digest(),v=g,y=1;y<s;y++){v=i(c,e).update(v).digest();for(var w=0;w<b;w++)g[w]^=v[w]}g.copy(d,h),h+=b}return d}e.exports=u},5407:function(e,t,s){var r=s(6911).Buffer;e.exports=function(e,t,s){if(r.isBuffer(e))return e;if("string"==typeof e)return r.from(e,t);if(ArrayBuffer.isView(e))return r.from(e.buffer);throw TypeError(s+" must be a string, a Buffer, a typed array or a DataView")}},9783:function(e,t,s){t.publicEncrypt=s(3995),t.privateDecrypt=s(4366),t.privateEncrypt=function(e,s){return t.publicEncrypt(e,s,!0)},t.publicDecrypt=function(e,s){return t.privateDecrypt(e,s,!0)}},5520:function(e,t,s){var r=s(9739),i=s(6911).Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var s,a=i.alloc(0),l=0;a.length<t;)s=o(l++),a=i.concat([a,r("sha1").update(e).update(s).digest()]);return a.slice(0,t)}},4366:function(e,t,s){var r=s(9902),i=s(5520),o=s(6386),a=s(711),l=s(7166),f=s(9739),u=s(1607),c=s(6911).Buffer;function d(e,t){var s=e.modulus.byteLength(),r=f("sha1").update(c.alloc(0)).digest(),a=r.length;if(0!==t[0])throw Error("decryption error");var l=t.slice(1,a+1),u=t.slice(a+1),d=o(l,i(u,a)),p=o(u,i(d,s-a-1));if(h(r,p.slice(0,a)))throw Error("decryption error");for(var b=a;0===p[b];)b++;if(1!==p[b++])throw Error("decryption error");return p.slice(b)}function p(e,t,s){for(var r=t.slice(0,2),i=2,o=0;0!==t[i++];)if(i>=t.length){o++;break}var a=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!s||"0001"!==r.toString("hex")&&s)&&o++,a.length<8&&o++,o)throw Error("decryption error");return t.slice(i)}function h(e,t){e=c.from(e),t=c.from(t);var s=0,r=e.length;e.length!==t.length&&(s++,r=Math.min(e.length,t.length));for(var i=-1;++i<r;)s+=e[i]^t[i];return s}e.exports=function(e,t,s){i=e.padding?e.padding:s?1:4;var i,o,f=r(e),h=f.modulus.byteLength();if(t.length>h||new a(t).cmp(f.modulus)>=0)throw Error("decryption error");o=s?u(new a(t),f):l(t,f);var b=c.alloc(h-o.length);if(o=c.concat([b,o],h),4===i)return d(f,o);if(1===i)return p(f,o,s);if(3===i)return o;throw Error("unknown padding")}},3995:function(e,t,s){var r=s(9902),i=s(7223),o=s(9739),a=s(5520),l=s(6386),f=s(711),u=s(1607),c=s(7166),d=s(6911).Buffer;function p(e,t){var s=e.modulus.byteLength(),r=t.length,u=o("sha1").update(d.alloc(0)).digest(),c=u.length,p=2*c;if(r>s-p-2)throw Error("message too long");var h=d.alloc(s-r-p-2),b=s-c-1,_=i(c),m=l(d.concat([u,h,d.alloc(1,1),t],b),a(_,b)),g=l(_,a(m,c));return new f(d.concat([d.alloc(1),g,m],s))}function h(e,t,s){var r,i=t.length,o=e.modulus.byteLength();if(i>o-11)throw Error("message too long");return r=s?d.alloc(o-i-3,255):b(o-i-3),new f(d.concat([d.from([0,s?1:2]),r,d.alloc(1),t],o))}function b(e){for(var t,s=d.allocUnsafe(e),r=0,o=i(2*e),a=0;r<e;)a===o.length&&(o=i(2*e),a=0),(t=o[a++])&&(s[r++]=t);return s}e.exports=function(e,t,s){i=e.padding?e.padding:s?1:4;var i,o,a=r(e);if(4===i)o=p(a,t);else if(1===i)o=h(a,t,s);else if(3===i){if((o=new f(t)).cmp(a.modulus)>=0)throw Error("data too long for modulus")}else throw Error("unknown padding");return s?c(o,a):u(o,a)}},1607:function(e,t,s){var r=s(711),i=s(6911).Buffer;function o(e,t){return i.from(e.toRed(r.mont(t.modulus)).redPow(new r(t.publicExponent)).fromRed().toArray())}e.exports=o},6386:function(e){e.exports=function(e,t){for(var s=e.length,r=-1;++r<s;)e[r]^=t[r];return e}},7223:function(e,t,r){"use strict";var i=65536,a=4294967295;function l(){throw Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}var f=r(6911).Buffer,u=s.g.crypto||s.g.msCrypto;function c(e,t){if(e>a)throw RangeError("requested too many random bytes");var s=f.allocUnsafe(e);if(e>0){if(e>i)for(var r=0;r<e;r+=i)u.getRandomValues(s.slice(r,r+i));else u.getRandomValues(s)}return"function"==typeof t?o.nextTick(function(){t(null,s)}):s}u&&u.getRandomValues?e.exports=c:e.exports=l},6445:function(e,t,r){"use strict";function i(){throw Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var a=r(6911);r(7223);var l=a.Buffer,f=a.kMaxLength,u=s.g.crypto||s.g.msCrypto,c=4294967295;function d(e,t){if("number"!=typeof e||e!=e)throw TypeError("offset must be a number");if(e>c||e<0)throw TypeError("offset must be a uint32");if(e>f||e>t)throw RangeError("offset out of range")}function p(e,t,s){if("number"!=typeof e||e!=e)throw TypeError("size must be a number");if(e>c||e<0)throw TypeError("size must be a uint32");if(e+t>s||e>f)throw RangeError("buffer too small")}function h(e,t,r,i){if(!l.isBuffer(e)&&!(e instanceof s.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,r=e.length;else if("function"==typeof r)i=r,r=e.length-t;else if("function"!=typeof i)throw TypeError('"cb" argument must be a function');return d(t,e.length),p(r,t,e.length),b(e,t,r,i)}function b(e,t,s,r){var i=new Uint8Array(e.buffer,t,s);if(u.getRandomValues(i),r){o.nextTick(function(){r(null,e)});return}return e}function _(e,t,r){if(void 0===t&&(t=0),!l.isBuffer(e)&&!(e instanceof s.g.Uint8Array))throw TypeError('"buf" argument must be a Buffer or Uint8Array');return d(t,e.length),void 0===r&&(r=e.length-t),p(r,t,e.length),b(e,t,r)}u&&u.getRandomValues?(t.randomFill=h,t.randomFillSync=_):(t.randomFill=i,t.randomFillSync=i)},4646:function(e){"use strict";let t={};function s(e,s,r){function i(e,t,r){return"string"==typeof s?s:s(e,t,r)}r||(r=Error);class o extends r{constructor(e,t,s){super(i(e,t,s))}}o.prototype.name=r.name,o.prototype.code=e,t[e]=o}function r(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let s=e.length;return(e=e.map(e=>String(e)),s>2)?`one of ${t} ${e.slice(0,s-1).join(", ")}, or `+e[s-1]:2===s?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}function i(e,t,s){return e.substr(!s||s<0?0:+s,t.length)===t}function o(e,t,s){return(void 0===s||s>e.length)&&(s=e.length),e.substring(s-t.length,s)===t}function a(e,t,s){return"number"!=typeof s&&(s=0),!(s+t.length>e.length)&&-1!==e.indexOf(t,s)}s("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),s("ERR_INVALID_ARG_TYPE",function(e,t,s){let l,f;if("string"==typeof t&&i(t,"not ")?(l="must not be",t=t.replace(/^not /,"")):l="must be",o(e," argument"))f=`The ${e} ${l} ${r(t,"type")}`;else{let s=a(e,".")?"property":"argument";f=`The "${e}" ${s} ${l} ${r(t,"type")}`}return f+`. Received type ${typeof s}`},TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},2403:function(e,t,s){"use strict";var r=Object.keys||function(e){var t=[];for(var s in e)t.push(s);return t};e.exports=c;var i=s(1709),a=s(7337);s(3782)(c,i);for(var l=r(a.prototype),f=0;f<l.length;f++){var u=l[f];c.prototype[u]||(c.prototype[u]=a.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);i.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||o.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},7889:function(e,t,s){"use strict";e.exports=i;var r=s(1170);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}s(3782)(i,r),i.prototype._transform=function(e,t,s){s(null,e)}},1709:function(e,t,r){"use strict";e.exports=R,R.ReadableState=A,r(2361).EventEmitter;var i,a,l,f,u,c=function(e,t){return e.listeners(t).length},d=r(4678),p=r(4300).Buffer,h=s.g.Uint8Array||function(){};function b(e){return p.from(e)}function _(e){return p.isBuffer(e)||e instanceof h}var m=r(3837);a=m&&m.debuglog?m.debuglog("stream"):function(){};var g=r(4379),v=r(7025),y=r(6776).getHighWaterMark,w=r(4646).q,C=w.ERR_INVALID_ARG_TYPE,k=w.ERR_STREAM_PUSH_AFTER_EOF,x=w.ERR_METHOD_NOT_IMPLEMENTED,S=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(3782)(R,d);var E=v.errorOrDestroy,M=["error","close","destroy","pause","resume"];function I(e,t,s){if("function"==typeof e.prependListener)return e.prependListener(t,s);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(s):e._events[t]=[s,e._events[t]]:e.on(t,s)}function A(e,t,s){i=i||r(2403),e=e||{},"boolean"!=typeof s&&(s=t instanceof i),this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=y(this,e,"readableHighWaterMark",s),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(l||(l=r(3704).s),this.decoder=new l(e.encoding),this.encoding=e.encoding)}function R(e){if(i=i||r(2403),!(this instanceof R))return new R(e);var t=this instanceof i;this._readableState=new A(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),d.call(this)}function O(e,t,s,r,i){a("readableAddChunk",t);var o,l=e._readableState;if(null===t)l.reading=!1,L(e,l);else if(i||(o=P(l,t)),o)E(e,o);else if(l.objectMode||t&&t.length>0){if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===p.prototype||(t=b(t)),r)l.endEmitted?E(e,new S):j(e,l,t,!0);else if(l.ended)E(e,new k);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!s?(t=l.decoder.write(t),l.objectMode||0!==t.length?j(e,l,t,!1):F(e,l)):j(e,l,t,!1)}}else r||(l.reading=!1,F(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function j(e,t,s,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",s)):(t.length+=t.objectMode?1:s.length,r?t.buffer.unshift(s):t.buffer.push(s),t.needReadable&&B(e)),F(e,t)}function P(e,t){var s;return _(t)||"string"==typeof t||void 0===t||e.objectMode||(s=new C("chunk",["string","Buffer","Uint8Array"],t)),s}Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),R.prototype.destroy=v.destroy,R.prototype._undestroy=v.undestroy,R.prototype._destroy=function(e,t){t(e)},R.prototype.push=function(e,t){var s,r=this._readableState;return r.objectMode?s=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=p.from(e,t),t=""),s=!0),O(this,e,t,!1,s)},R.prototype.unshift=function(e){return O(this,e,null,!0,!1)},R.prototype.isPaused=function(){return!1===this._readableState.flowing},R.prototype.setEncoding=function(e){l||(l=r(3704).s);var t=new l(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var s=this._readableState.buffer.head,i="";null!==s;)i+=t.write(s.data),s=s.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var T=1073741824;function N(e){return e>=T?e=T:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function D(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=N(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function L(e,t){if(a("onEofChunk"),!t.ended){if(t.decoder){var s=t.decoder.end();s&&s.length&&(t.buffer.push(s),t.length+=t.objectMode?1:s.length)}t.ended=!0,t.sync?B(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,q(e)))}}function B(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,o.nextTick(q,e))}function q(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,K(e)}function F(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(z,e,t))}function z(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var s=t.length;if(a("maybeReadMore read 0"),e.read(0),s===t.length)break}t.readingMore=!1}function U(e){return function(){var t=e._readableState;a("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&c(e,"data")&&(t.flowing=!0,K(e))}}function V(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function $(e){a("readable nexttick read 0"),e.read(0)}function H(e,t){t.resumeScheduled||(t.resumeScheduled=!0,o.nextTick(W,e,t))}function W(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),K(e),t.flowing&&!t.reading&&e.read(0)}function K(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function G(e,t){var s;return 0===t.length?null:(t.objectMode?s=t.buffer.shift():!e||e>=t.length?(s=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):s=t.buffer.consume(e,t.decoder),s)}function Z(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,o.nextTick(Q,t,e))}function Q(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var s=t._writableState;(!s||s.autoDestroy&&s.finished)&&t.destroy()}}function X(e,t){for(var s=0,r=e.length;s<r;s++)if(e[s]===t)return s;return -1}R.prototype.read=function(e){a("read",e),e=parseInt(e,10);var t,s=this._readableState,r=e;if(0!==e&&(s.emittedReadable=!1),0===e&&s.needReadable&&((0!==s.highWaterMark?s.length>=s.highWaterMark:s.length>0)||s.ended))return a("read: emitReadable",s.length,s.ended),0===s.length&&s.ended?Z(this):B(this),null;if(0===(e=D(e,s))&&s.ended)return 0===s.length&&Z(this),null;var i=s.needReadable;return a("need readable",i),(0===s.length||s.length-e<s.highWaterMark)&&a("length less than watermark",i=!0),s.ended||s.reading?a("reading or ended",i=!1):i&&(a("do read"),s.reading=!0,s.sync=!0,0===s.length&&(s.needReadable=!0),this._read(s.highWaterMark),s.sync=!1,s.reading||(e=D(r,s))),null===(t=e>0?G(e,s):null)?(s.needReadable=s.length<=s.highWaterMark,e=0):(s.length-=e,s.awaitDrain=0),0===s.length&&(s.ended||(s.needReadable=!0),r!==e&&s.ended&&Z(this)),null!==t&&this.emit("data",t),t},R.prototype._read=function(e){E(this,new x("_read()"))},R.prototype.pipe=function(e,t){var s=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,a("pipe count=%d opts=%j",r.pipesCount,t);var i=t&&!1===t.end||e===o.stdout||e===o.stderr?g:f;function l(e,t){a("onunpipe"),e===s&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function f(){a("onend"),e.end()}r.endEmitted?o.nextTick(i):s.once("end",i),e.on("unpipe",l);var u=U(s);e.on("drain",u);var d=!1;function p(){a("cleanup"),e.removeListener("close",_),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",b),e.removeListener("unpipe",l),s.removeListener("end",f),s.removeListener("end",g),s.removeListener("data",h),d=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u()}function h(t){a("ondata");var i=e.write(t);a("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==X(r.pipes,e))&&!d&&(a("false write response, pause",r.awaitDrain),r.awaitDrain++),s.pause())}function b(t){a("onerror",t),g(),e.removeListener("error",b),0===c(e,"error")&&E(e,t)}function _(){e.removeListener("finish",m),g()}function m(){a("onfinish"),e.removeListener("close",_),g()}function g(){a("unpipe"),s.unpipe(e)}return s.on("data",h),I(e,"error",b),e.once("close",_),e.once("finish",m),e.emit("pipe",s),r.flowing||(a("pipe resume"),s.resume()),e},R.prototype.unpipe=function(e){var t=this._readableState,s={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,s)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=X(t.pipes,e);return -1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,s)),this},R.prototype.on=function(e,t){var s=d.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"!==e||r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,a("on readable",r.length,r.reading),r.length?B(this):r.reading||o.nextTick($,this)),s},R.prototype.addListener=R.prototype.on,R.prototype.removeListener=function(e,t){var s=d.prototype.removeListener.call(this,e,t);return"readable"===e&&o.nextTick(V,this),s},R.prototype.removeAllListeners=function(e){var t=d.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&o.nextTick(V,this),t},R.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,H(this,e)),e.paused=!1,this},R.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},R.prototype.wrap=function(e){var t=this,s=this._readableState,r=!1;for(var i in e.on("end",function(){if(a("wrapped end"),s.decoder&&!s.ended){var e=s.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){a("wrapped data"),s.decoder&&(i=s.decoder.write(i)),(!s.objectMode||null!=i)&&(s.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<M.length;o++)e.on(M[o],this.emit.bind(this,M[o]));return this._read=function(t){a("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(R.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=r(6871)),f(this)}),Object.defineProperty(R.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(R.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(R.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),R._fromList=G,Object.defineProperty(R.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(R.from=function(e,t){return void 0===u&&(u=r(9727)),u(R,e,t)})},1170:function(e,t,s){"use strict";e.exports=c;var r=s(4646).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=r.ERR_TRANSFORM_WITH_LENGTH_0,f=s(2403);function u(e,t){var s=this._transformState;s.transforming=!1;var r=s.writecb;if(null===r)return this.emit("error",new o);s.writechunk=null,s.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);f.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?p(this,null,null):this._flush(function(t,s){p(e,t,s)})}function p(e,t,s){if(t)return e.emit("error",t);if(null!=s&&e.push(s),e._writableState.length)throw new l;if(e._transformState.transforming)throw new a;return e.push(null)}s(3782)(c,f),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,f.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,s){s(new i("_transform()"))},c.prototype._write=function(e,t,s){var r=this._transformState;if(r.writecb=s,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){f.prototype._destroy.call(this,e,function(e){t(e)})}},7337:function(e,t,r){"use strict";function i(e){var t=this;this.next=null,this.entry=null,this.finish=function(){W(t,e)}}e.exports=A,A.WritableState=I;var a,l,f={deprecate:r(6769)},u=r(4678),c=r(4300).Buffer,d=s.g.Uint8Array||function(){};function p(e){return c.from(e)}function h(e){return c.isBuffer(e)||e instanceof d}var b=r(7025),_=r(6776).getHighWaterMark,m=r(4646).q,g=m.ERR_INVALID_ARG_TYPE,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_MULTIPLE_CALLBACK,w=m.ERR_STREAM_CANNOT_PIPE,C=m.ERR_STREAM_DESTROYED,k=m.ERR_STREAM_NULL_VALUES,x=m.ERR_STREAM_WRITE_AFTER_END,S=m.ERR_UNKNOWN_ENCODING,E=b.errorOrDestroy;function M(){}function I(e,t,s){a=a||r(2403),e=e||{},"boolean"!=typeof s&&(s=t instanceof a),this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=_(this,e,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){L(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function A(e){var t=this instanceof(a=a||r(2403));if(!t&&!l.call(A,this))return new A(e);this._writableState=new I(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function R(e,t){var s=new x;E(e,s),o.nextTick(t,s)}function O(e,t,s,r){var i;return null===s?i=new k:"string"==typeof s||t.objectMode||(i=new g("chunk",["string","Buffer"],s)),!i||(E(e,i),o.nextTick(r,i),!1)}function j(e,t,s){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,s)),t}function P(e,t,s,r,i,o){if(!s){var a=j(t,r,i);r!==a&&(s=!0,i="buffer",r=a)}var l=t.objectMode?1:r.length;t.length+=l;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:s,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,l,r,i,o);return f}function T(e,t,s,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new C("write")):s?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function N(e,t,s,r,i){--t.pendingcb,s?(o.nextTick(i,r),o.nextTick($,e,t),e._writableState.errorEmitted=!0,E(e,r)):(i(r),e._writableState.errorEmitted=!0,E(e,r),$(e,t))}function D(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function L(e,t){var s=e._writableState,r=s.sync,i=s.writecb;if("function"!=typeof i)throw new y;if(D(s),t)N(e,s,r,t,i);else{var a=z(s)||e.destroyed;a||s.corked||s.bufferProcessing||!s.bufferedRequest||F(e,s),r?o.nextTick(B,e,s,a,i):B(e,s,a,i)}}function B(e,t,s,r){s||q(e,t),t.pendingcb--,r(),$(e,t)}function q(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function F(e,t){t.bufferProcessing=!0;var s=t.bufferedRequest;if(e._writev&&s&&s.next){var r=Array(t.bufferedRequestCount),o=t.corkedRequestsFree;o.entry=s;for(var a=0,l=!0;s;)r[a]=s,s.isBuf||(l=!1),s=s.next,a+=1;r.allBuffers=l,T(e,t,!0,t.length,r,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new i(t),t.bufferedRequestCount=0}else{for(;s;){var f=s.chunk,u=s.encoding,c=s.callback,d=t.objectMode?1:f.length;if(T(e,t,!1,d,f,u,c),s=s.next,t.bufferedRequestCount--,t.writing)break}null===s&&(t.lastBufferedRequest=null)}t.bufferedRequest=s,t.bufferProcessing=!1}function z(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function U(e,t){e._final(function(s){t.pendingcb--,s&&E(e,s),t.prefinished=!0,e.emit("prefinish"),$(e,t)})}function V(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,o.nextTick(U,e,t)))}function $(e,t){var s=z(t);if(s&&(V(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return s}function H(e,t,s){t.ending=!0,$(e,t),s&&(t.finished?o.nextTick(s):e.once("finish",s)),t.ended=!0,e.writable=!1}function W(e,t,s){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(s),r=r.next}t.corkedRequestsFree.next=e}r(3782)(A,u),I.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(I.prototype,"buffer",{get:f.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===A&&e&&e._writableState instanceof I}})):l=function(e){return e instanceof this},A.prototype.pipe=function(){E(this,new w)},A.prototype.write=function(e,t,s){var r=this._writableState,i=!1,o=!r.objectMode&&h(e);return o&&!c.isBuffer(e)&&(e=p(e)),"function"==typeof t&&(s=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof s&&(s=M),r.ending?R(this,s):(o||O(this,r,e,s))&&(r.pendingcb++,i=P(this,r,o,e,t,s)),i},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||F(this,e))},A.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,s){s(new v("_write()"))},A.prototype._writev=null,A.prototype.end=function(e,t,s){var r=this._writableState;return"function"==typeof e?(s=e,e=null,t=null):"function"==typeof t&&(s=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||H(this,r,s),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=b.destroy,A.prototype._undestroy=b.undestroy,A.prototype._destroy=function(e,t){t(e)}},6871:function(e,t,s){"use strict";function r(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var i,a=s(9698),l=Symbol("lastResolve"),f=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),d=Symbol("lastPromise"),p=Symbol("handlePromise"),h=Symbol("stream");function b(e,t){return{value:e,done:t}}function _(e){var t=e[l];if(null!==t){var s=e[h].read();null!==s&&(e[d]=null,e[l]=null,e[f]=null,t(b(s,!1)))}}function m(e){o.nextTick(_,e)}function g(e,t){return function(s,r){e.then(function(){if(t[c]){s(b(void 0,!0));return}t[p](s,r)},r)}}var v=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((r(i={get stream(){return this[h]},next:function(){var e,t=this,s=this[u];if(null!==s)return Promise.reject(s);if(this[c])return Promise.resolve(b(void 0,!0));if(this[h].destroyed)return new Promise(function(e,s){o.nextTick(function(){t[u]?s(t[u]):e(b(void 0,!0))})});var r=this[d];if(r)e=new Promise(g(r,this));else{var i=this[h].read();if(null!==i)return Promise.resolve(b(i,!1));e=new Promise(this[p])}return this[d]=e,e}},Symbol.asyncIterator,function(){return this}),r(i,"return",function(){var e=this;return new Promise(function(t,s){e[h].destroy(null,function(e){if(e){s(e);return}t(b(void 0,!0))})})}),i),v),w=function(e){var t,s=Object.create(y,(r(t={},h,{value:e,writable:!0}),r(t,l,{value:null,writable:!0}),r(t,f,{value:null,writable:!0}),r(t,u,{value:null,writable:!0}),r(t,c,{value:e._readableState.endEmitted,writable:!0}),r(t,p,{value:function(e,t){var r=s[h].read();r?(s[d]=null,s[l]=null,s[f]=null,e(b(r,!1))):(s[l]=e,s[f]=t)},writable:!0}),t));return s[d]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=s[f];null!==t&&(s[d]=null,s[l]=null,s[f]=null,t(e)),s[u]=e;return}var r=s[l];null!==r&&(s[d]=null,s[l]=null,s[f]=null,r(b(void 0,!0))),s[c]=!0}),e.on("readable",m.bind(null,s)),s};e.exports=w},4379:function(e,t,s){"use strict";function r(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)}return s}function i(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?r(Object(s),!0).forEach(function(t){o(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):r(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function o(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function l(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,s){return t&&l(e.prototype,t),s&&l(e,s),e}var u=s(4300).Buffer,c=s(3837).inspect,d=c&&c.custom||"inspect";function p(e,t,s){u.prototype.copy.call(e,t,s)}e.exports=function(){function e(){a(this,e),this.head=null,this.tail=null,this.length=0}return f(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,s=""+t.data;t=t.next;)s+=e+t.data;return s}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),s=this.head,r=0;s;)p(s.data,t,r),r+=s.data.length,s=s.next;return t}},{key:"consume",value:function(e,t){var s;return e<this.head.data.length?(s=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):s=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),s}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,s=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++s,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++s}return this.length-=s,r}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),s=this.head,r=1;for(s.data.copy(t),e-=s.data.length;s=s.next;){var i=s.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=i.slice(o));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return c(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},7025:function(e){"use strict";function t(e,t){var i=this,l=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return l||f?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,o.nextTick(a,this,e)):o.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?i._writableState?i._writableState.errorEmitted?o.nextTick(r,i):(i._writableState.errorEmitted=!0,o.nextTick(s,i,e)):o.nextTick(s,i,e):t?(o.nextTick(r,i),t(e)):o.nextTick(r,i)})),this}function s(e,t){a(e,t),r(e)}function r(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function i(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(e,t){e.emit("error",t)}function l(e,t){var s=e._readableState,r=e._writableState;s&&s.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}e.exports={destroy:t,undestroy:i,errorOrDestroy:l}},9698:function(e,t,s){"use strict";var r=s(4646).q.ERR_STREAM_PREMATURE_CLOSE;function i(e){var t=!1;return function(){if(!t){t=!0;for(var s=arguments.length,r=Array(s),i=0;i<s;i++)r[i]=arguments[i];e.apply(this,r)}}}function o(){}function a(e){return e.setHeader&&"function"==typeof e.abort}function l(e,t,s){if("function"==typeof t)return l(e,null,t);t||(t={}),s=i(s||o);var f=t.readable||!1!==t.readable&&e.readable,u=t.writable||!1!==t.writable&&e.writable,c=function(){e.writable||p()},d=e._writableState&&e._writableState.finished,p=function(){u=!1,d=!0,f||s.call(e)},h=e._readableState&&e._readableState.endEmitted,b=function(){f=!1,h=!0,u||s.call(e)},_=function(t){s.call(e,t)},m=function(){var t;return f&&!h?(e._readableState&&e._readableState.ended||(t=new r),s.call(e,t)):u&&!d?(e._writableState&&e._writableState.ended||(t=new r),s.call(e,t)):void 0},g=function(){e.req.on("finish",p)};return a(e)?(e.on("complete",p),e.on("abort",m),e.req?g():e.on("request",g)):u&&!e._writableState&&(e.on("end",c),e.on("close",c)),e.on("end",b),e.on("finish",p),!1!==t.error&&e.on("error",_),e.on("close",m),function(){e.removeListener("complete",p),e.removeListener("abort",m),e.removeListener("request",g),e.req&&e.req.removeListener("finish",p),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",p),e.removeListener("end",b),e.removeListener("error",_),e.removeListener("close",m)}}e.exports=l},9727:function(e,t,s){"use strict";function r(e,t,s,r,i,o,a){try{var l=e[o](a),f=l.value}catch(e){s(e);return}l.done?t(f):Promise.resolve(f).then(r,i)}function i(e){return function(){var t=this,s=arguments;return new Promise(function(i,o){var a=e.apply(t,s);function l(e){r(a,i,o,l,f,"next",e)}function f(e){r(a,i,o,l,f,"throw",e)}l(void 0)})}}function o(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)}return s}function a(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?o(Object(s),!0).forEach(function(t){l(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function l(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var f=s(4646).q.ERR_INVALID_ARG_TYPE;function u(e,t,s){if(t&&"function"==typeof t.next)r=t;else if(t&&t[Symbol.asyncIterator])r=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])r=t[Symbol.iterator]();else throw new f("iterable",["Iterable"],t);var r,o=new e(a({objectMode:!0},s)),l=!1;function u(){return c.apply(this,arguments)}function c(){return(c=i(function*(){try{var e=yield r.next(),t=e.value;e.done?o.push(null):o.push((yield t))?u():l=!1}catch(e){o.destroy(e)}})).apply(this,arguments)}return o._read=function(){l||(l=!0,u())},o}e.exports=u},8442:function(e,t,s){"use strict";function r(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var i,o=s(4646).q,a=o.ERR_MISSING_ARGS,l=o.ERR_STREAM_DESTROYED;function f(e){if(e)throw e}function u(e){return e.setHeader&&"function"==typeof e.abort}function c(e,t,o,a){a=r(a);var f=!1;e.on("close",function(){f=!0}),void 0===i&&(i=s(9698)),i(e,{readable:t,writable:o},function(e){if(e)return a(e);f=!0,a()});var c=!1;return function(t){if(!f&&!c){if(c=!0,u(e))return e.abort();if("function"==typeof e.destroy)return e.destroy();a(t||new l("pipe"))}}}function d(e){e()}function p(e,t){return e.pipe(t)}function h(e){return e.length&&"function"==typeof e[e.length-1]?e.pop():f}function b(){for(var e,t=arguments.length,s=Array(t),r=0;r<t;r++)s[r]=arguments[r];var i=h(s);if(Array.isArray(s[0])&&(s=s[0]),s.length<2)throw new a("streams");var o=s.map(function(t,r){var a=r<s.length-1;return c(t,a,r>0,function(t){e||(e=t),t&&o.forEach(d),a||(o.forEach(d),i(e))})});return s.reduce(p)}e.exports=b},6776:function(e,t,s){"use strict";var r=s(4646).q.ERR_INVALID_OPT_VALUE;function i(e,t,s){return null!=e.highWaterMark?e.highWaterMark:t?e[s]:null}function o(e,t,s,o){var a=i(t,o,s);if(null!=a){if(!(isFinite(a)&&Math.floor(a)===a)||a<0)throw new r(o?s:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:o}},4678:function(e,t,s){e.exports=s(2781)},3726:function(e,t,s){var r=s(2781);"disable"===o.env.READABLE_STREAM&&r?(e.exports=r.Readable,Object.assign(e.exports,r),e.exports.Stream=r):((t=e.exports=s(1709)).Stream=r||t,t.Readable=t,t.Writable=s(7337),t.Duplex=s(2403),t.Transform=s(1170),t.PassThrough=s(7889),t.finished=s(9698),t.pipeline=s(8442))},3225:function(e,t,s){"use strict";var r=s(4300).Buffer,i=s(3782),o=s(9029),a=Array(16),l=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],f=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],p=[1352829926,1548603684,1836072691,2053994217,0];function h(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}function b(e,t){return e<<t|e>>>32-t}function _(e,t,s,r,i,o,a,l){return b(e+(t^s^r)+o+a|0,l)+i|0}function m(e,t,s,r,i,o,a,l){return b(e+(t&s|~t&r)+o+a|0,l)+i|0}function g(e,t,s,r,i,o,a,l){return b(e+((t|~s)^r)+o+a|0,l)+i|0}function v(e,t,s,r,i,o,a,l){return b(e+(t&r|s&~r)+o+a|0,l)+i|0}function y(e,t,s,r,i,o,a,l){return b(e+(t^(s|~r))+o+a|0,l)+i|0}i(h,o),h.prototype._update=function(){for(var e,t,s=a,r=0;r<16;++r)s[r]=this._block.readInt32LE(4*r);for(var i=0|this._a,o=0|this._b,h=0|this._c,w=0|this._d,C=0|this._e,k=0|this._a,x=0|this._b,S=0|this._c,E=0|this._d,M=0|this._e,I=0;I<80;I+=1)I<16?(e=_(i,o,h,w,C,s[l[I]],d[0],u[I]),t=y(k,x,S,E,M,s[f[I]],p[0],c[I])):I<32?(e=m(i,o,h,w,C,s[l[I]],d[1],u[I]),t=v(k,x,S,E,M,s[f[I]],p[1],c[I])):I<48?(e=g(i,o,h,w,C,s[l[I]],d[2],u[I]),t=g(k,x,S,E,M,s[f[I]],p[2],c[I])):I<64?(e=v(i,o,h,w,C,s[l[I]],d[3],u[I]),t=m(k,x,S,E,M,s[f[I]],p[3],c[I])):(e=y(i,o,h,w,C,s[l[I]],d[4],u[I]),t=_(k,x,S,E,M,s[f[I]],p[4],c[I])),i=C,C=w,w=b(h,10),h=o,o=e,k=M,M=E,E=b(S,10),S=x,x=t;var A=this._b+h+E|0;this._b=this._c+w+M|0,this._c=this._d+C+k|0,this._d=this._e+i+x|0,this._e=this._a+o+S|0,this._a=A},h.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=r.alloc?r.alloc(20):new r(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=h},5055:function(e,t,s){var r=s(4300),i=r.Buffer;function o(e,t){for(var s in e)t[s]=e[s]}function a(e,t,s){return i(e,t,s)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,s){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,s)},a.alloc=function(e,t,s){if("number"!=typeof e)throw TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof s?r.fill(t,s):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}},6911:function(e,t,s){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var r=s(4300),i=r.Buffer;function o(e,t){for(var s in e)t[s]=e[s]}function a(e,t,s){return i(e,t,s)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,s){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,s)},a.alloc=function(e,t,s){if("number"!=typeof e)throw TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof s?r.fill(t,s):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}},2858:function(e,t,s){var r=s(6911).Buffer;function i(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}i.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var s=this._block,i=this._blockSize,o=e.length,a=this._len,l=0;l<o;){for(var f=a%i,u=Math.min(o-l,i-f),c=0;c<u;c++)s[f+c]=e[l+c];a+=u,l+=u,a%i==0&&this._update(s)}return this._len+=o,this},i.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var s=8*this._len;if(s<=4294967295)this._block.writeUInt32BE(s,this._blockSize-4);else{var r=(4294967295&s)>>>0,i=(s-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},i.prototype._update=function(){throw Error("_update must be implemented by subclass")},e.exports=i},4371:function(e,t,s){var r=e.exports=function(e){var t=r[e=e.toLowerCase()];if(!t)throw Error(e+" is not supported (we accept pull requests)");return new t};r.sha=s(4018),r.sha1=s(4179),r.sha224=s(532),r.sha256=s(1843),r.sha384=s(7455),r.sha512=s(9934)},4018:function(e,t,s){var r=s(3782),i=s(2858),o=s(6911).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],l=Array(80);function f(){this.init(),this._w=l,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function d(e,t,s,r){return 0===e?t&s|~t&r:2===e?t&s|t&r|s&r:t^s^r}r(f,i),f.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},f.prototype._update=function(e){for(var t=this._w,s=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,l=0|this._e,f=0;f<16;++f)t[f]=e.readInt32BE(4*f);for(;f<80;++f)t[f]=t[f-3]^t[f-8]^t[f-14]^t[f-16];for(var p=0;p<80;++p){var h=~~(p/20),b=u(s)+d(h,r,i,o)+l+t[p]+a[h]|0;l=o,o=i,i=c(r),r=s,s=b}this._a=s+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=l+this._e|0},f.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=f},4179:function(e,t,s){var r=s(3782),i=s(2858),o=s(6911).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],l=Array(80);function f(){this.init(),this._w=l,i.call(this,64,56)}function u(e){return e<<1|e>>>31}function c(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function p(e,t,s,r){return 0===e?t&s|~t&r:2===e?t&s|t&r|s&r:t^s^r}r(f,i),f.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},f.prototype._update=function(e){for(var t=this._w,s=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,l=0|this._e,f=0;f<16;++f)t[f]=e.readInt32BE(4*f);for(;f<80;++f)t[f]=u(t[f-3]^t[f-8]^t[f-14]^t[f-16]);for(var h=0;h<80;++h){var b=~~(h/20),_=c(s)+p(b,r,i,o)+l+t[h]+a[b]|0;l=o,o=i,i=d(r),r=s,s=_}this._a=s+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=l+this._e|0},f.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=f},532:function(e,t,s){var r=s(3782),i=s(1843),o=s(2858),a=s(6911).Buffer,l=Array(64);function f(){this.init(),this._w=l,o.call(this,64,56)}r(f,i),f.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},f.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=f},1843:function(e,t,s){var r=s(3782),i=s(2858),o=s(6911).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],l=Array(64);function f(){this.init(),this._w=l,i.call(this,64,56)}function u(e,t,s){return s^e&(t^s)}function c(e,t,s){return e&t|s&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function p(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function h(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function b(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}r(f,i),f.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},f.prototype._update=function(e){for(var t=this._w,s=0|this._a,r=0|this._b,i=0|this._c,o=0|this._d,l=0|this._e,f=0|this._f,_=0|this._g,m=0|this._h,g=0;g<16;++g)t[g]=e.readInt32BE(4*g);for(;g<64;++g)t[g]=b(t[g-2])+t[g-7]+h(t[g-15])+t[g-16]|0;for(var v=0;v<64;++v){var y=m+p(l)+u(l,f,_)+a[v]+t[v]|0,w=d(s)+c(s,r,i)|0;m=_,_=f,f=l,l=o+y|0,o=i,i=r,r=s,s=y+w|0}this._a=s+this._a|0,this._b=r+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=l+this._e|0,this._f=f+this._f|0,this._g=_+this._g|0,this._h=m+this._h|0},f.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=f},7455:function(e,t,s){var r=s(3782),i=s(9934),o=s(2858),a=s(6911).Buffer,l=Array(160);function f(){this.init(),this._w=l,o.call(this,128,112)}r(f,i),f.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},f.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,s,r){e.writeInt32BE(t,r),e.writeInt32BE(s,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=f},9934:function(e,t,s){var r=s(3782),i=s(2858),o=s(6911).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],l=Array(160);function f(){this.init(),this._w=l,i.call(this,128,112)}function u(e,t,s){return s^e&(t^s)}function c(e,t,s){return e&t|s&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function p(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function h(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function b(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function _(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function g(e,t){return e>>>0<t>>>0?1:0}r(f,i),f.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},f.prototype._update=function(e){for(var t=this._w,s=0|this._ah,r=0|this._bh,i=0|this._ch,o=0|this._dh,l=0|this._eh,f=0|this._fh,v=0|this._gh,y=0|this._hh,w=0|this._al,C=0|this._bl,k=0|this._cl,x=0|this._dl,S=0|this._el,E=0|this._fl,M=0|this._gl,I=0|this._hl,A=0;A<32;A+=2)t[A]=e.readInt32BE(4*A),t[A+1]=e.readInt32BE(4*A+4);for(;A<160;A+=2){var R=t[A-30],O=t[A-30+1],j=h(R,O),P=b(O,R),T=_(R=t[A-4],O=t[A-4+1]),N=m(O,R),D=t[A-14],L=t[A-14+1],B=t[A-32],q=t[A-32+1],F=P+L|0,z=j+D+g(F,P)|0;z=(z=z+T+g(F=F+N|0,N)|0)+B+g(F=F+q|0,q)|0,t[A]=z,t[A+1]=F}for(var U=0;U<160;U+=2){z=t[U],F=t[U+1];var V=c(s,r,i),$=c(w,C,k),H=d(s,w),W=d(w,s),K=p(l,S),G=p(S,l),Z=a[U],Q=a[U+1],X=u(l,f,v),Y=u(S,E,M),J=I+G|0,ee=y+K+g(J,I)|0;ee=(ee=(ee=ee+X+g(J=J+Y|0,Y)|0)+Z+g(J=J+Q|0,Q)|0)+z+g(J=J+F|0,F)|0;var et=W+$|0,es=H+V+g(et,W)|0;y=v,I=M,v=f,M=E,f=l,E=S,l=o+ee+g(S=x+J|0,x)|0,o=i,x=k,i=r,k=C,r=s,C=w,s=ee+es+g(w=J+et|0,J)|0}this._al=this._al+w|0,this._bl=this._bl+C|0,this._cl=this._cl+k|0,this._dl=this._dl+x|0,this._el=this._el+S|0,this._fl=this._fl+E|0,this._gl=this._gl+M|0,this._hl=this._hl+I|0,this._ah=this._ah+s+g(this._al,w)|0,this._bh=this._bh+r+g(this._bl,C)|0,this._ch=this._ch+i+g(this._cl,k)|0,this._dh=this._dh+o+g(this._dl,x)|0,this._eh=this._eh+l+g(this._el,S)|0,this._fh=this._fh+f+g(this._fl,E)|0,this._gh=this._gh+v+g(this._gl,M)|0,this._hh=this._hh+y+g(this._hl,I)|0},f.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,s,r){e.writeInt32BE(t,r),e.writeInt32BE(s,r+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=f},3704:function(e,t,s){"use strict";var r=s(5055).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=o(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}function l(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=b,this.end=_,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=m,this.end=g,t=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function f(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function u(e,t,s){var r=t.length-1;if(r<s)return 0;var i=f(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<s||-2===i?0:(i=f(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<s||-2===i?0:(i=f(t[r]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}function c(e,t,s){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,s=c(this,e,t);return void 0!==s?s:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function p(e,t){var s=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=s;var r=e.length-(s-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function b(e,t){if((e.length-t)%2==0){var s=e.toString("utf16le",t);if(s){var r=s.charCodeAt(s.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],s.slice(0,-1)}return s}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function _(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var s=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,s)}return t}function m(e,t){var s=(e.length-t)%3;return 0===s?e.toString("base64",t):(this.lastNeed=3-s,this.lastTotal=3,1===s?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-s))}function g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.s=l,l.prototype.write=function(e){var t,s;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";s=this.lastNeed,this.lastNeed=0}else s=0;return s<e.length?t?t+this.text(e,s):this.text(e,s):t||""},l.prototype.end=h,l.prototype.text=p,l.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},6769:function(e){function t(e,t){if(r("noDeprecation"))return e;var s=!1;return function(){if(!s){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),s=!0}return e.apply(this,arguments)}}function r(e){try{if(!s.g.localStorage)return!1}catch(e){return!1}var t=s.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=t},4300:function(e){"use strict";e.exports=s(5313)},6113:function(e){"use strict";e.exports=s(4562)},2361:function(e){"use strict";e.exports=s(7324)},2781:function(e){"use strict";e.exports=s(5260)},1576:function(e){"use strict";e.exports=s(3457)},3837:function(e){"use strict";e.exports=s(911)},6144:function(e){"use strict";e.exports=s(554)},5866:function(e){"use strict";e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2908:function(e){"use strict";e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa","hash":"sha256","id":""},"sha224":{"sign":"ecdsa","hash":"sha224","id":""},"sha384":{"sign":"ecdsa","hash":"sha384","id":""},"sha512":{"sign":"ecdsa","hash":"sha512","id":""},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},9267:function(e){"use strict";e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},7992:function(e){"use strict";e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},2531:function(e){"use strict";e.exports={i8:"6.5.3"}},2510:function(e){"use strict";e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},a={};function l(e){var s=a[e];if(void 0!==s)return s.exports;var r=a[e]={id:e,loaded:!1,exports:{}},i=!0;try{t[e].call(r.exports,r,r.exports,l),i=!1}finally{i&&delete a[e]}return r.loaded=!0,r.exports}(function(){l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e}})(),l.ab=r+"/";var f={};(function(){"use strict";var e=f;e.randomBytes=e.rng=e.pseudoRandomBytes=e.prng=l(7223),e.createHash=e.Hash=l(9739),e.createHmac=e.Hmac=l(4873);var t=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(Object.keys(l(9276)));e.getHashes=function(){return t};var s=l(4978);e.pbkdf2=s.pbkdf2,e.pbkdf2Sync=s.pbkdf2Sync;var r=l(8996);e.Cipher=r.Cipher,e.createCipher=r.createCipher,e.Cipheriv=r.Cipheriv,e.createCipheriv=r.createCipheriv,e.Decipher=r.Decipher,e.createDecipher=r.createDecipher,e.Decipheriv=r.Decipheriv,e.createDecipheriv=r.createDecipheriv,e.getCiphers=r.getCiphers,e.listCiphers=r.listCiphers;var i=l(6587);e.DiffieHellmanGroup=i.DiffieHellmanGroup,e.createDiffieHellmanGroup=i.createDiffieHellmanGroup,e.getDiffieHellman=i.getDiffieHellman,e.createDiffieHellman=i.createDiffieHellman,e.DiffieHellman=i.DiffieHellman;var o=l(4078);e.createSign=o.createSign,e.Sign=o.Sign,e.createVerify=o.createVerify,e.Verify=o.Verify,e.createECDH=l(9942);var a=l(9783);e.publicEncrypt=a.publicEncrypt,e.privateEncrypt=a.privateEncrypt,e.publicDecrypt=a.publicDecrypt,e.privateDecrypt=a.privateDecrypt;var u=l(6445);e.randomFill=u.randomFill,e.randomFillSync=u.randomFillSync,e.createCredentials=function(){throw Error("sorry, createCredentials is not implemented yet\nwe accept pull requests\nhttps://github.com/crypto-browserify/crypto-browserify")},e.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}})(),e.exports=f}()},9837:function(){},9590:function(){},5260:function(e,t,s){var r="/",i=s(3656);!function(){var t={782:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var s=function(){};s.prototype=t.prototype,e.prototype=new s,e.prototype.constructor=e}}},646:function(e){"use strict";let t={};function s(e,s,r){function i(e,t,r){return"string"==typeof s?s:s(e,t,r)}r||(r=Error);class o extends r{constructor(e,t,s){super(i(e,t,s))}}o.prototype.name=r.name,o.prototype.code=e,t[e]=o}function r(e,t){if(!Array.isArray(e))return`of ${t} ${String(e)}`;{let s=e.length;return(e=e.map(e=>String(e)),s>2)?`one of ${t} ${e.slice(0,s-1).join(", ")}, or `+e[s-1]:2===s?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}}function i(e,t,s){return e.substr(!s||s<0?0:+s,t.length)===t}function o(e,t,s){return(void 0===s||s>e.length)&&(s=e.length),e.substring(s-t.length,s)===t}function a(e,t,s){return"number"!=typeof s&&(s=0),!(s+t.length>e.length)&&-1!==e.indexOf(t,s)}s("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),s("ERR_INVALID_ARG_TYPE",function(e,t,s){let l,f;if("string"==typeof t&&i(t,"not ")?(l="must not be",t=t.replace(/^not /,"")):l="must be",o(e," argument"))f=`The ${e} ${l} ${r(t,"type")}`;else{let s=a(e,".")?"property":"argument";f=`The "${e}" ${s} ${l} ${r(t,"type")}`}return f+`. Received type ${typeof s}`},TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},403:function(e,t,s){"use strict";var r=Object.keys||function(e){var t=[];for(var s in e)t.push(s);return t};e.exports=c;var o=s(709),a=s(337);s(782)(c,o);for(var l=r(a.prototype),f=0;f<l.length;f++){var u=l[f];c.prototype[u]||(c.prototype[u]=a.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||i.nextTick(p,this)}function p(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},889:function(e,t,s){"use strict";e.exports=i;var r=s(170);function i(e){if(!(this instanceof i))return new i(e);r.call(this,e)}s(782)(i,r),i.prototype._transform=function(e,t,s){s(null,e)}},709:function(e,t,r){"use strict";e.exports=R,R.ReadableState=A,r(361).EventEmitter;var o,a,l,f,u,c=function(e,t){return e.listeners(t).length},d=r(678),p=r(300).Buffer,h=s.g.Uint8Array||function(){};function b(e){return p.from(e)}function _(e){return p.isBuffer(e)||e instanceof h}var m=r(837);a=m&&m.debuglog?m.debuglog("stream"):function(){};var g=r(379),v=r(25),y=r(776).getHighWaterMark,w=r(646).q,C=w.ERR_INVALID_ARG_TYPE,k=w.ERR_STREAM_PUSH_AFTER_EOF,x=w.ERR_METHOD_NOT_IMPLEMENTED,S=w.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(782)(R,d);var E=v.errorOrDestroy,M=["error","close","destroy","pause","resume"];function I(e,t,s){if("function"==typeof e.prependListener)return e.prependListener(t,s);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(s):e._events[t]=[s,e._events[t]]:e.on(t,s)}function A(e,t,s){o=o||r(403),e=e||{},"boolean"!=typeof s&&(s=t instanceof o),this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=y(this,e,"readableHighWaterMark",s),this.buffer=new g,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(l||(l=r(704).s),this.decoder=new l(e.encoding),this.encoding=e.encoding)}function R(e){if(o=o||r(403),!(this instanceof R))return new R(e);var t=this instanceof o;this._readableState=new A(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),d.call(this)}function O(e,t,s,r,i){a("readableAddChunk",t);var o,l=e._readableState;if(null===t)l.reading=!1,L(e,l);else if(i||(o=P(l,t)),o)E(e,o);else if(l.objectMode||t&&t.length>0){if("string"==typeof t||l.objectMode||Object.getPrototypeOf(t)===p.prototype||(t=b(t)),r)l.endEmitted?E(e,new S):j(e,l,t,!0);else if(l.ended)E(e,new k);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!s?(t=l.decoder.write(t),l.objectMode||0!==t.length?j(e,l,t,!1):F(e,l)):j(e,l,t,!1)}}else r||(l.reading=!1,F(e,l));return!l.ended&&(l.length<l.highWaterMark||0===l.length)}function j(e,t,s,r){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",s)):(t.length+=t.objectMode?1:s.length,r?t.buffer.unshift(s):t.buffer.push(s),t.needReadable&&B(e)),F(e,t)}function P(e,t){var s;return _(t)||"string"==typeof t||void 0===t||e.objectMode||(s=new C("chunk",["string","Buffer","Uint8Array"],t)),s}Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),R.prototype.destroy=v.destroy,R.prototype._undestroy=v.undestroy,R.prototype._destroy=function(e,t){t(e)},R.prototype.push=function(e,t){var s,r=this._readableState;return r.objectMode?s=!0:"string"==typeof e&&((t=t||r.defaultEncoding)!==r.encoding&&(e=p.from(e,t),t=""),s=!0),O(this,e,t,!1,s)},R.prototype.unshift=function(e){return O(this,e,null,!0,!1)},R.prototype.isPaused=function(){return!1===this._readableState.flowing},R.prototype.setEncoding=function(e){l||(l=r(704).s);var t=new l(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var s=this._readableState.buffer.head,i="";null!==s;)i+=t.write(s.data),s=s.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var T=1073741824;function N(e){return e>=T?e=T:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function D(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=N(e)),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function L(e,t){if(a("onEofChunk"),!t.ended){if(t.decoder){var s=t.decoder.end();s&&s.length&&(t.buffer.push(s),t.length+=t.objectMode?1:s.length)}t.ended=!0,t.sync?B(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,q(e)))}}function B(e){var t=e._readableState;a("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(a("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(q,e))}function q(e){var t=e._readableState;a("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,K(e)}function F(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(z,e,t))}function z(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var s=t.length;if(a("maybeReadMore read 0"),e.read(0),s===t.length)break}t.readingMore=!1}function U(e){return function(){var t=e._readableState;a("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&c(e,"data")&&(t.flowing=!0,K(e))}}function V(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function $(e){a("readable nexttick read 0"),e.read(0)}function H(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(W,e,t))}function W(e,t){a("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),K(e),t.flowing&&!t.reading&&e.read(0)}function K(e){var t=e._readableState;for(a("flow",t.flowing);t.flowing&&null!==e.read(););}function G(e,t){var s;return 0===t.length?null:(t.objectMode?s=t.buffer.shift():!e||e>=t.length?(s=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):s=t.buffer.consume(e,t.decoder),s)}function Z(e){var t=e._readableState;a("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(Q,t,e))}function Q(e,t){if(a("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var s=t._writableState;(!s||s.autoDestroy&&s.finished)&&t.destroy()}}function X(e,t){for(var s=0,r=e.length;s<r;s++)if(e[s]===t)return s;return -1}R.prototype.read=function(e){a("read",e),e=parseInt(e,10);var t,s=this._readableState,r=e;if(0!==e&&(s.emittedReadable=!1),0===e&&s.needReadable&&((0!==s.highWaterMark?s.length>=s.highWaterMark:s.length>0)||s.ended))return a("read: emitReadable",s.length,s.ended),0===s.length&&s.ended?Z(this):B(this),null;if(0===(e=D(e,s))&&s.ended)return 0===s.length&&Z(this),null;var i=s.needReadable;return a("need readable",i),(0===s.length||s.length-e<s.highWaterMark)&&a("length less than watermark",i=!0),s.ended||s.reading?a("reading or ended",i=!1):i&&(a("do read"),s.reading=!0,s.sync=!0,0===s.length&&(s.needReadable=!0),this._read(s.highWaterMark),s.sync=!1,s.reading||(e=D(r,s))),null===(t=e>0?G(e,s):null)?(s.needReadable=s.length<=s.highWaterMark,e=0):(s.length-=e,s.awaitDrain=0),0===s.length&&(s.ended||(s.needReadable=!0),r!==e&&s.ended&&Z(this)),null!==t&&this.emit("data",t),t},R.prototype._read=function(e){E(this,new x("_read()"))},R.prototype.pipe=function(e,t){var s=this,r=this._readableState;switch(r.pipesCount){case 0:r.pipes=e;break;case 1:r.pipes=[r.pipes,e];break;default:r.pipes.push(e)}r.pipesCount+=1,a("pipe count=%d opts=%j",r.pipesCount,t);var o=t&&!1===t.end||e===i.stdout||e===i.stderr?g:f;function l(e,t){a("onunpipe"),e===s&&t&&!1===t.hasUnpiped&&(t.hasUnpiped=!0,p())}function f(){a("onend"),e.end()}r.endEmitted?i.nextTick(o):s.once("end",o),e.on("unpipe",l);var u=U(s);e.on("drain",u);var d=!1;function p(){a("cleanup"),e.removeListener("close",_),e.removeListener("finish",m),e.removeListener("drain",u),e.removeListener("error",b),e.removeListener("unpipe",l),s.removeListener("end",f),s.removeListener("end",g),s.removeListener("data",h),d=!0,r.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&u()}function h(t){a("ondata");var i=e.write(t);a("dest.write",i),!1===i&&((1===r.pipesCount&&r.pipes===e||r.pipesCount>1&&-1!==X(r.pipes,e))&&!d&&(a("false write response, pause",r.awaitDrain),r.awaitDrain++),s.pause())}function b(t){a("onerror",t),g(),e.removeListener("error",b),0===c(e,"error")&&E(e,t)}function _(){e.removeListener("finish",m),g()}function m(){a("onfinish"),e.removeListener("close",_),g()}function g(){a("unpipe"),s.unpipe(e)}return s.on("data",h),I(e,"error",b),e.once("close",_),e.once("finish",m),e.emit("pipe",s),r.flowing||(a("pipe resume"),s.resume()),e},R.prototype.unpipe=function(e){var t=this._readableState,s={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,s)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)r[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=X(t.pipes,e);return -1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,s)),this},R.prototype.on=function(e,t){var s=d.prototype.on.call(this,e,t),r=this._readableState;return"data"===e?(r.readableListening=this.listenerCount("readable")>0,!1!==r.flowing&&this.resume()):"readable"!==e||r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,a("on readable",r.length,r.reading),r.length?B(this):r.reading||i.nextTick($,this)),s},R.prototype.addListener=R.prototype.on,R.prototype.removeListener=function(e,t){var s=d.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(V,this),s},R.prototype.removeAllListeners=function(e){var t=d.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&i.nextTick(V,this),t},R.prototype.resume=function(){var e=this._readableState;return e.flowing||(a("resume"),e.flowing=!e.readableListening,H(this,e)),e.paused=!1,this},R.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},R.prototype.wrap=function(e){var t=this,s=this._readableState,r=!1;for(var i in e.on("end",function(){if(a("wrapped end"),s.decoder&&!s.ended){var e=s.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){a("wrapped data"),s.decoder&&(i=s.decoder.write(i)),(!s.objectMode||null!=i)&&(s.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<M.length;o++)e.on(M[o],this.emit.bind(this,M[o]));return this._read=function(t){a("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(R.prototype[Symbol.asyncIterator]=function(){return void 0===f&&(f=r(871)),f(this)}),Object.defineProperty(R.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(R.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(R.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),R._fromList=G,Object.defineProperty(R.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(R.from=function(e,t){return void 0===u&&(u=r(727)),u(R,e,t)})},170:function(e,t,s){"use strict";e.exports=c;var r=s(646).q,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,a=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,l=r.ERR_TRANSFORM_WITH_LENGTH_0,f=s(403);function u(e,t){var s=this._transformState;s.transforming=!1;var r=s.writecb;if(null===r)return this.emit("error",new o);s.writechunk=null,s.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);f.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?p(this,null,null):this._flush(function(t,s){p(e,t,s)})}function p(e,t,s){if(t)return e.emit("error",t);if(null!=s&&e.push(s),e._writableState.length)throw new l;if(e._transformState.transforming)throw new a;return e.push(null)}s(782)(c,f),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,f.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,s){s(new i("_transform()"))},c.prototype._write=function(e,t,s){var r=this._transformState;if(r.writecb=s,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){f.prototype._destroy.call(this,e,function(e){t(e)})}},337:function(e,t,r){"use strict";function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){W(t,e)}}e.exports=A,A.WritableState=I;var a,l,f={deprecate:r(769)},u=r(678),c=r(300).Buffer,d=s.g.Uint8Array||function(){};function p(e){return c.from(e)}function h(e){return c.isBuffer(e)||e instanceof d}var b=r(25),_=r(776).getHighWaterMark,m=r(646).q,g=m.ERR_INVALID_ARG_TYPE,v=m.ERR_METHOD_NOT_IMPLEMENTED,y=m.ERR_MULTIPLE_CALLBACK,w=m.ERR_STREAM_CANNOT_PIPE,C=m.ERR_STREAM_DESTROYED,k=m.ERR_STREAM_NULL_VALUES,x=m.ERR_STREAM_WRITE_AFTER_END,S=m.ERR_UNKNOWN_ENCODING,E=b.errorOrDestroy;function M(){}function I(e,t,s){a=a||r(403),e=e||{},"boolean"!=typeof s&&(s=t instanceof a),this.objectMode=!!e.objectMode,s&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=_(this,e,"writableHighWaterMark",s),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var i=!1===e.decodeStrings;this.decodeStrings=!i,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){L(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function A(e){var t=this instanceof(a=a||r(403));if(!t&&!l.call(A,this))return new A(e);this._writableState=new I(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),u.call(this)}function R(e,t){var s=new x;E(e,s),i.nextTick(t,s)}function O(e,t,s,r){var o;return null===s?o=new k:"string"==typeof s||t.objectMode||(o=new g("chunk",["string","Buffer"],s)),!o||(E(e,o),i.nextTick(r,o),!1)}function j(e,t,s){return e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=c.from(t,s)),t}function P(e,t,s,r,i,o){if(!s){var a=j(t,r,i);r!==a&&(s=!0,i="buffer",r=a)}var l=t.objectMode?1:r.length;t.length+=l;var f=t.length<t.highWaterMark;if(f||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:s,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else T(e,t,!1,l,r,i,o);return f}function T(e,t,s,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new C("write")):s?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function N(e,t,s,r,o){--t.pendingcb,s?(i.nextTick(o,r),i.nextTick($,e,t),e._writableState.errorEmitted=!0,E(e,r)):(o(r),e._writableState.errorEmitted=!0,E(e,r),$(e,t))}function D(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function L(e,t){var s=e._writableState,r=s.sync,o=s.writecb;if("function"!=typeof o)throw new y;if(D(s),t)N(e,s,r,t,o);else{var a=z(s)||e.destroyed;a||s.corked||s.bufferProcessing||!s.bufferedRequest||F(e,s),r?i.nextTick(B,e,s,a,o):B(e,s,a,o)}}function B(e,t,s,r){s||q(e,t),t.pendingcb--,r(),$(e,t)}function q(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}function F(e,t){t.bufferProcessing=!0;var s=t.bufferedRequest;if(e._writev&&s&&s.next){var r=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=s;for(var a=0,l=!0;s;)r[a]=s,s.isBuf||(l=!1),s=s.next,a+=1;r.allBuffers=l,T(e,t,!0,t.length,r,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;s;){var f=s.chunk,u=s.encoding,c=s.callback,d=t.objectMode?1:f.length;if(T(e,t,!1,d,f,u,c),s=s.next,t.bufferedRequestCount--,t.writing)break}null===s&&(t.lastBufferedRequest=null)}t.bufferedRequest=s,t.bufferProcessing=!1}function z(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function U(e,t){e._final(function(s){t.pendingcb--,s&&E(e,s),t.prefinished=!0,e.emit("prefinish"),$(e,t)})}function V(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.nextTick(U,e,t)))}function $(e,t){var s=z(t);if(s&&(V(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return s}function H(e,t,s){t.ending=!0,$(e,t),s&&(t.finished?i.nextTick(s):e.once("finish",s)),t.ended=!0,e.writable=!1}function W(e,t,s){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(s),r=r.next}t.corkedRequestsFree.next=e}r(782)(A,u),I.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(I.prototype,"buffer",{get:f.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(A,Symbol.hasInstance,{value:function(e){return!!l.call(this,e)||this===A&&e&&e._writableState instanceof I}})):l=function(e){return e instanceof this},A.prototype.pipe=function(){E(this,new w)},A.prototype.write=function(e,t,s){var r=this._writableState,i=!1,o=!r.objectMode&&h(e);return o&&!c.isBuffer(e)&&(e=p(e)),"function"==typeof t&&(s=t,t=null),o?t="buffer":t||(t=r.defaultEncoding),"function"!=typeof s&&(s=M),r.ending?R(this,s):(o||O(this,r,e,s))&&(r.pendingcb++,i=P(this,r,o,e,t,s)),i},A.prototype.cork=function(){this._writableState.corked++},A.prototype.uncork=function(){var e=this._writableState;!e.corked||(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||F(this,e))},A.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new S(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(A.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(A.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),A.prototype._write=function(e,t,s){s(new v("_write()"))},A.prototype._writev=null,A.prototype.end=function(e,t,s){var r=this._writableState;return"function"==typeof e?(s=e,e=null,t=null):"function"==typeof t&&(s=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||H(this,r,s),this},Object.defineProperty(A.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(A.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),A.prototype.destroy=b.destroy,A.prototype._undestroy=b.undestroy,A.prototype._destroy=function(e,t){t(e)}},871:function(e,t,s){"use strict";function r(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var o,a=s(698),l=Symbol("lastResolve"),f=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),d=Symbol("lastPromise"),p=Symbol("handlePromise"),h=Symbol("stream");function b(e,t){return{value:e,done:t}}function _(e){var t=e[l];if(null!==t){var s=e[h].read();null!==s&&(e[d]=null,e[l]=null,e[f]=null,t(b(s,!1)))}}function m(e){i.nextTick(_,e)}function g(e,t){return function(s,r){e.then(function(){if(t[c]){s(b(void 0,!0));return}t[p](s,r)},r)}}var v=Object.getPrototypeOf(function(){}),y=Object.setPrototypeOf((r(o={get stream(){return this[h]},next:function(){var e,t=this,s=this[u];if(null!==s)return Promise.reject(s);if(this[c])return Promise.resolve(b(void 0,!0));if(this[h].destroyed)return new Promise(function(e,s){i.nextTick(function(){t[u]?s(t[u]):e(b(void 0,!0))})});var r=this[d];if(r)e=new Promise(g(r,this));else{var o=this[h].read();if(null!==o)return Promise.resolve(b(o,!1));e=new Promise(this[p])}return this[d]=e,e}},Symbol.asyncIterator,function(){return this}),r(o,"return",function(){var e=this;return new Promise(function(t,s){e[h].destroy(null,function(e){if(e){s(e);return}t(b(void 0,!0))})})}),o),v),w=function(e){var t,s=Object.create(y,(r(t={},h,{value:e,writable:!0}),r(t,l,{value:null,writable:!0}),r(t,f,{value:null,writable:!0}),r(t,u,{value:null,writable:!0}),r(t,c,{value:e._readableState.endEmitted,writable:!0}),r(t,p,{value:function(e,t){var r=s[h].read();r?(s[d]=null,s[l]=null,s[f]=null,e(b(r,!1))):(s[l]=e,s[f]=t)},writable:!0}),t));return s[d]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=s[f];null!==t&&(s[d]=null,s[l]=null,s[f]=null,t(e)),s[u]=e;return}var r=s[l];null!==r&&(s[d]=null,s[l]=null,s[f]=null,r(b(void 0,!0))),s[c]=!0}),e.on("readable",m.bind(null,s)),s};e.exports=w},379:function(e,t,s){"use strict";function r(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)}return s}function i(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?r(Object(s),!0).forEach(function(t){o(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):r(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function o(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function a(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function l(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,s){return t&&l(e.prototype,t),s&&l(e,s),e}var u=s(300).Buffer,c=s(837).inspect,d=c&&c.custom||"inspect";function p(e,t,s){u.prototype.copy.call(e,t,s)}e.exports=function(){function e(){a(this,e),this.head=null,this.tail=null,this.length=0}return f(e,[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,s=""+t.data;t=t.next;)s+=e+t.data;return s}},{key:"concat",value:function(e){if(0===this.length)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),s=this.head,r=0;s;)p(s.data,t,r),r+=s.data.length,s=s.next;return t}},{key:"consume",value:function(e,t){var s;return e<this.head.data.length?(s=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):s=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),s}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,s=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++s,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++s}return this.length-=s,r}},{key:"_getBuffer",value:function(e){var t=u.allocUnsafe(e),s=this.head,r=1;for(s.data.copy(t),e-=s.data.length;s=s.next;){var i=s.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,s.next?this.head=s.next:this.head=this.tail=null):(this.head=s,s.data=i.slice(o));break}++r}return this.length-=r,t}},{key:d,value:function(e,t){return c(this,i({},t,{depth:0,customInspect:!1}))}}]),e}()},25:function(e){"use strict";function t(e,t){var o=this,l=this._readableState&&this._readableState.destroyed,f=this._writableState&&this._writableState.destroyed;return l||f?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,i.nextTick(a,this,e)):i.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?o._writableState?o._writableState.errorEmitted?i.nextTick(r,o):(o._writableState.errorEmitted=!0,i.nextTick(s,o,e)):i.nextTick(s,o,e):t?(i.nextTick(r,o),t(e)):i.nextTick(r,o)})),this}function s(e,t){a(e,t),r(e)}function r(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function o(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function a(e,t){e.emit("error",t)}function l(e,t){var s=e._readableState,r=e._writableState;s&&s.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit("error",t)}e.exports={destroy:t,undestroy:o,errorOrDestroy:l}},698:function(e,t,s){"use strict";var r=s(646).q.ERR_STREAM_PREMATURE_CLOSE;function i(e){var t=!1;return function(){if(!t){t=!0;for(var s=arguments.length,r=Array(s),i=0;i<s;i++)r[i]=arguments[i];e.apply(this,r)}}}function o(){}function a(e){return e.setHeader&&"function"==typeof e.abort}function l(e,t,s){if("function"==typeof t)return l(e,null,t);t||(t={}),s=i(s||o);var f=t.readable||!1!==t.readable&&e.readable,u=t.writable||!1!==t.writable&&e.writable,c=function(){e.writable||p()},d=e._writableState&&e._writableState.finished,p=function(){u=!1,d=!0,f||s.call(e)},h=e._readableState&&e._readableState.endEmitted,b=function(){f=!1,h=!0,u||s.call(e)},_=function(t){s.call(e,t)},m=function(){var t;return f&&!h?(e._readableState&&e._readableState.ended||(t=new r),s.call(e,t)):u&&!d?(e._writableState&&e._writableState.ended||(t=new r),s.call(e,t)):void 0},g=function(){e.req.on("finish",p)};return a(e)?(e.on("complete",p),e.on("abort",m),e.req?g():e.on("request",g)):u&&!e._writableState&&(e.on("end",c),e.on("close",c)),e.on("end",b),e.on("finish",p),!1!==t.error&&e.on("error",_),e.on("close",m),function(){e.removeListener("complete",p),e.removeListener("abort",m),e.removeListener("request",g),e.req&&e.req.removeListener("finish",p),e.removeListener("end",c),e.removeListener("close",c),e.removeListener("finish",p),e.removeListener("end",b),e.removeListener("error",_),e.removeListener("close",m)}}e.exports=l},727:function(e,t,s){"use strict";function r(e,t,s,r,i,o,a){try{var l=e[o](a),f=l.value}catch(e){s(e);return}l.done?t(f):Promise.resolve(f).then(r,i)}function i(e){return function(){var t=this,s=arguments;return new Promise(function(i,o){var a=e.apply(t,s);function l(e){r(a,i,o,l,f,"next",e)}function f(e){r(a,i,o,l,f,"throw",e)}l(void 0)})}}function o(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)}return s}function a(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?o(Object(s),!0).forEach(function(t){l(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function l(e,t,s){return t in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}var f=s(646).q.ERR_INVALID_ARG_TYPE;function u(e,t,s){if(t&&"function"==typeof t.next)r=t;else if(t&&t[Symbol.asyncIterator])r=t[Symbol.asyncIterator]();else if(t&&t[Symbol.iterator])r=t[Symbol.iterator]();else throw new f("iterable",["Iterable"],t);var r,o=new e(a({objectMode:!0},s)),l=!1;function u(){return c.apply(this,arguments)}function c(){return(c=i(function*(){try{var e=yield r.next(),t=e.value;e.done?o.push(null):o.push((yield t))?u():l=!1}catch(e){o.destroy(e)}})).apply(this,arguments)}return o._read=function(){l||(l=!0,u())},o}e.exports=u},442:function(e,t,s){"use strict";function r(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var i,o=s(646).q,a=o.ERR_MISSING_ARGS,l=o.ERR_STREAM_DESTROYED;function f(e){if(e)throw e}function u(e){return e.setHeader&&"function"==typeof e.abort}function c(e,t,o,a){a=r(a);var f=!1;e.on("close",function(){f=!0}),void 0===i&&(i=s(698)),i(e,{readable:t,writable:o},function(e){if(e)return a(e);f=!0,a()});var c=!1;return function(t){if(!f&&!c){if(c=!0,u(e))return e.abort();if("function"==typeof e.destroy)return e.destroy();a(t||new l("pipe"))}}}function d(e){e()}function p(e,t){return e.pipe(t)}function h(e){return e.length&&"function"==typeof e[e.length-1]?e.pop():f}function b(){for(var e,t=arguments.length,s=Array(t),r=0;r<t;r++)s[r]=arguments[r];var i=h(s);if(Array.isArray(s[0])&&(s=s[0]),s.length<2)throw new a("streams");var o=s.map(function(t,r){var a=r<s.length-1;return c(t,a,r>0,function(t){e||(e=t),t&&o.forEach(d),a||(o.forEach(d),i(e))})});return s.reduce(p)}e.exports=b},776:function(e,t,s){"use strict";var r=s(646).q.ERR_INVALID_OPT_VALUE;function i(e,t,s){return null!=e.highWaterMark?e.highWaterMark:t?e[s]:null}function o(e,t,s,o){var a=i(t,o,s);if(null!=a){if(!(isFinite(a)&&Math.floor(a)===a)||a<0)throw new r(o?s:"highWaterMark",a);return Math.floor(a)}return e.objectMode?16:16384}e.exports={getHighWaterMark:o}},678:function(e,t,s){e.exports=s(781)},55:function(e,t,s){var r=s(300),i=r.Buffer;function o(e,t){for(var s in e)t[s]=e[s]}function a(e,t,s){return i(e,t,s)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,s){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,s)},a.alloc=function(e,t,s){if("number"!=typeof e)throw TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof s?r.fill(t,s):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}},173:function(e,t,s){e.exports=i;var r=s(361).EventEmitter;function i(){r.call(this)}s(782)(i,r),i.Readable=s(709),i.Writable=s(337),i.Duplex=s(403),i.Transform=s(170),i.PassThrough=s(889),i.finished=s(698),i.pipeline=s(442),i.Stream=i,i.prototype.pipe=function(e,t){var s=this;function i(t){e.writable&&!1===e.write(t)&&s.pause&&s.pause()}function o(){s.readable&&s.resume&&s.resume()}s.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(s.on("end",l),s.on("close",f));var a=!1;function l(){a||(a=!0,e.end())}function f(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){s.removeListener("data",i),e.removeListener("drain",o),s.removeListener("end",l),s.removeListener("close",f),s.removeListener("error",u),e.removeListener("error",u),s.removeListener("end",c),s.removeListener("close",c),e.removeListener("close",c)}return s.on("error",u),e.on("error",u),s.on("end",c),s.on("close",c),e.on("close",c),e.emit("pipe",s),e}},704:function(e,t,s){"use strict";var r=s(55).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=o(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}function l(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=b,this.end=_,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=m,this.end=g,t=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function f(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function u(e,t,s){var r=t.length-1;if(r<s)return 0;var i=f(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<s||-2===i?0:(i=f(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<s||-2===i?0:(i=f(t[r]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}function c(e,t,s){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,s=c(this,e,t);return void 0!==s?s:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function p(e,t){var s=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=s;var r=e.length-(s-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function b(e,t){if((e.length-t)%2==0){var s=e.toString("utf16le",t);if(s){var r=s.charCodeAt(s.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],s.slice(0,-1)}return s}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function _(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var s=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,s)}return t}function m(e,t){var s=(e.length-t)%3;return 0===s?e.toString("base64",t):(this.lastNeed=3-s,this.lastTotal=3,1===s?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-s))}function g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.s=l,l.prototype.write=function(e){var t,s;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";s=this.lastNeed,this.lastNeed=0}else s=0;return s<e.length?t?t+this.text(e,s):this.text(e,s):t||""},l.prototype.end=h,l.prototype.text=p,l.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},769:function(e){function t(e,t){if(r("noDeprecation"))return e;var s=!1;return function(){if(!s){if(r("throwDeprecation"))throw Error(t);r("traceDeprecation")?console.trace(t):console.warn(t),s=!0}return e.apply(this,arguments)}}function r(e){try{if(!s.g.localStorage)return!1}catch(e){return!1}var t=s.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=t},300:function(e){"use strict";e.exports=s(5313)},361:function(e){"use strict";e.exports=s(7324)},781:function(e){"use strict";e.exports=s(7324).EventEmitter},837:function(e){"use strict";e.exports=s(911)}},o={};function a(e){var s=o[e];if(void 0!==s)return s.exports;var r=o[e]={exports:{}},i=!0;try{t[e](r,r.exports,a),i=!1}finally{i&&delete o[e]}return r.exports}a.ab=r+"/";var l=a(173);e.exports=l}()},554:function(module){var __dirname="/";!function(){var __webpack_modules__={950:function(__unused_webpack_module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var s=0;s<e.length;s++)if(e[s]===t)return s;return -1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var s in e)t.push(s);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var s=0;s<e.length;s++)t(e[s],s,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,s){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:s})}}catch(e){return function(e,t,s){e[t]=s}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var s=t.contentWindow,r=s.eval,i=s.execScript;!r&&i&&(i.call(s,"null"),r=s.eval),forEach(Object_keys(e),function(t){s[t]=e[t]}),forEach(globals,function(t){e[t]&&(s[t]=e[t])});var o=Object_keys(s),a=r.call(s,this.code);return forEach(Object_keys(s),function(t){(t in e||-1===indexOf(o,t))&&(e[t]=s[t])}),forEach(globals,function(t){t in e||defineProp(e,t,s[t])}),document.body.removeChild(t),a},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),s=this.runInContext(t);return e&&forEach(Object_keys(t),function(s){e[s]=t[s]}),s},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var s=Script(t);return s[e].apply(s,[].slice.call(arguments,1))}}),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(s){t[s]=e[s]}),t}}};"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab=__dirname+"/");var __nested_webpack_exports__={};__webpack_modules__[950](0,__nested_webpack_exports__),module.exports=__nested_webpack_exports__}()},2702:function(e,t,s){e.exports=s(4045)},475:function(e,t,s){e.exports=s(4501)},3656:function(e){var t,s,r,i=e.exports={};function o(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function l(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(s){try{return t.call(null,e,0)}catch(s){return t.call(this,e,0)}}}function f(e){if(s===clearTimeout)return clearTimeout(e);if((s===a||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(e);try{return s(e)}catch(t){try{return s.call(null,e)}catch(t){return s.call(this,e)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{s="function"==typeof clearTimeout?clearTimeout:a}catch(e){s=a}}();var u=[],c=!1,d=-1;function p(){c&&r&&(c=!1,r.length?u=r.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=l(p);c=!0;for(var t=u.length;t;){for(r=u,u=[];++d<t;)r&&r[d].run();d=-1,t=u.length}r=null,c=!1,f(e)}}function b(e,t){this.fun=e,this.array=t}function _(){}i.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var s=1;s<arguments.length;s++)t[s-1]=arguments[s];u.push(new b(e,t)),1!==u.length||c||l(h)},b.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=_,i.addListener=_,i.once=_,i.off=_,i.removeListener=_,i.removeAllListeners=_,i.emit=_,i.prependListener=_,i.prependOnceListener=_,i.listeners=function(e){return[]},i.binding=function(e){throw Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw Error("process.chdir is not supported")},i.umask=function(){return 0}},9705:function(e){"use strict";function t(e){try{return JSON.stringify(e)}catch(e){return'"[Circular]"'}}function s(e,s,r){var i=r&&r.stringify||t,o=1;if("object"==typeof e&&null!==e){var a=s.length+o;if(1===a)return e;var l=Array(a);l[0]=i(e);for(var f=1;f<a;f++)l[f]=i(s[f]);return l.join(" ")}if("string"!=typeof e)return e;var u=s.length;if(0===u)return e;for(var c="",d=1-o,p=-1,h=e&&e.length||0,b=0;b<h;){if(37===e.charCodeAt(b)&&b+1<h){switch(p=p>-1?p:0,e.charCodeAt(b+1)){case 100:case 102:if(d>=u||null==s[d])break;p<b&&(c+=e.slice(p,b)),c+=Number(s[d]),p=b+2,b++;break;case 105:if(d>=u||null==s[d])break;p<b&&(c+=e.slice(p,b)),c+=Math.floor(Number(s[d])),p=b+2,b++;break;case 79:case 111:case 106:if(d>=u||void 0===s[d])break;p<b&&(c+=e.slice(p,b));var _=typeof s[d];if("string"===_){c+="'"+s[d]+"'",p=b+2,b++;break}if("function"===_){c+=s[d].name||"<anonymous>",p=b+2,b++;break}c+=i(s[d]),p=b+2,b++;break;case 115:if(d>=u)break;p<b&&(c+=e.slice(p,b)),c+=String(s[d]),p=b+2,b++;break;case 37:p<b&&(c+=e.slice(p,b)),c+="%",p=b+2,b++,d--}++d}++b}return -1===p?e:(p<h&&(c+=e.slice(p)),c)}e.exports=s},1607:function(e,t,s){/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var r=s(5313),i=r.Buffer;function o(e,t){for(var s in e)t[s]=e[s]}function a(e,t,s){return i(e,t,s)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,s){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,s)},a.alloc=function(e,t,s){if("number"!=typeof e)throw TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"==typeof s?r.fill(t,s):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return r.SlowBuffer(e)}},4438:function(e,t,s){let r=Symbol("SemVer ANY");class i{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof i){if(!!t.loose===e.loose)return e;e=e.value}u("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===r?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){let t=this.options.loose?a[l.COMPARATORLOOSE]:a[l.COMPARATOR],s=e.match(t);if(!s)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==s[1]?s[1]:"","="===this.operator&&(this.operator=""),s[2]?this.semver=new c(s[2],this.options.loose):this.semver=r}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return f(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new d(e.value,t).test(this.value):""===e.operator?""===e.value||new d(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||f(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||f(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))}}e.exports=i;let o=s(8896),{safeRe:a,t:l}=s(1013),f=s(5675),u=s(2255),c=s(8029),d=s(3937)},3937:function(e,t,s){class r{constructor(e,t){if(t=o(t),e instanceof r){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new r(e.raw,t)}if(e instanceof a)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e)).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!m(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let t=((this.options.includePrerelease&&b)|(this.options.loose&&_))+":"+e,s=i.get(t);if(s)return s;let r=this.options.loose,o=r?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE];l("hyphen replace",e=e.replace(o,R(this.options.includePrerelease))),l("comparator trim",e=e.replace(u[c.COMPARATORTRIM],d));let f=(e=(e=e.replace(u[c.TILDETRIM],p)).replace(u[c.CARETTRIM],h)).split(" ").map(e=>y(e,this.options)).join(" ").split(/\s+/).map(e=>A(e,this.options));r&&(f=f.filter(e=>(l("loose invalid filter",e,this.options),!!e.match(u[c.COMPARATORLOOSE])))),l("range list",f);let g=new Map;for(let e of f.map(e=>new a(e,this.options))){if(m(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");let v=[...g.values()];return i.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw TypeError("a Range is required");return this.set.some(s=>v(s,t)&&e.set.some(e=>v(e,t)&&s.every(s=>e.every(e=>s.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new f(e,this.options)}catch(e){return!1}for(let t=0;t<this.set.length;t++)if(O(this.set[t],e,this.options))return!0;return!1}}e.exports=r;let i=new(s(9416))({max:1e3}),o=s(8896),a=s(4438),l=s(2255),f=s(8029),{safeRe:u,t:c,comparatorTrimReplace:d,tildeTrimReplace:p,caretTrimReplace:h}=s(1013),{FLAG_INCLUDE_PRERELEASE:b,FLAG_LOOSE:_}=s(6036),m=e=>"<0.0.0-0"===e.value,g=e=>""===e.value,v=(e,t)=>{let s=!0,r=e.slice(),i=r.pop();for(;s&&r.length;)s=r.every(e=>i.intersects(e,t)),i=r.pop();return s},y=(e,t)=>(l("comp",e,t),l("caret",e=x(e,t)),l("tildes",e=C(e,t)),l("xrange",e=E(e,t)),l("stars",e=I(e,t)),e),w=e=>!e||"x"===e.toLowerCase()||"*"===e,C=(e,t)=>e.trim().split(/\s+/).map(e=>k(e,t)).join(" "),k=(e,t)=>{let s=t.loose?u[c.TILDELOOSE]:u[c.TILDE];return e.replace(s,(t,s,r,i,o)=>{let a;return l("tilde",e,t,s,r,i,o),w(s)?a="":w(r)?a=`>=${s}.0.0 <${+s+1}.0.0-0`:w(i)?a=`>=${s}.${r}.0 <${s}.${+r+1}.0-0`:o?(l("replaceTilde pr",o),a=`>=${s}.${r}.${i}-${o} <${s}.${+r+1}.0-0`):a=`>=${s}.${r}.${i} <${s}.${+r+1}.0-0`,l("tilde return",a),a})},x=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{l("caret",e,t);let s=t.loose?u[c.CARETLOOSE]:u[c.CARET],r=t.includePrerelease?"-0":"";return e.replace(s,(t,s,i,o,a)=>{let f;return l("caret",e,t,s,i,o,a),w(s)?f="":w(i)?f=`>=${s}.0.0${r} <${+s+1}.0.0-0`:w(o)?f="0"===s?`>=${s}.${i}.0${r} <${s}.${+i+1}.0-0`:`>=${s}.${i}.0${r} <${+s+1}.0.0-0`:a?(l("replaceCaret pr",a),f="0"===s?"0"===i?`>=${s}.${i}.${o}-${a} <${s}.${i}.${+o+1}-0`:`>=${s}.${i}.${o}-${a} <${s}.${+i+1}.0-0`:`>=${s}.${i}.${o}-${a} <${+s+1}.0.0-0`):(l("no pr"),f="0"===s?"0"===i?`>=${s}.${i}.${o}${r} <${s}.${i}.${+o+1}-0`:`>=${s}.${i}.${o}${r} <${s}.${+i+1}.0-0`:`>=${s}.${i}.${o} <${+s+1}.0.0-0`),l("caret return",f),f})},E=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map(e=>M(e,t)).join(" ")),M=(e,t)=>{e=e.trim();let s=t.loose?u[c.XRANGELOOSE]:u[c.XRANGE];return e.replace(s,(s,r,i,o,a,f)=>{l("xRange",e,s,r,i,o,a,f);let u=w(i),c=u||w(o),d=c||w(a),p=d;return"="===r&&p&&(r=""),f=t.includePrerelease?"-0":"",u?s=">"===r||"<"===r?"<0.0.0-0":"*":r&&p?(c&&(o=0),a=0,">"===r?(r=">=",c?(i=+i+1,o=0):o=+o+1,a=0):"<="===r&&(r="<",c?i=+i+1:o=+o+1),"<"===r&&(f="-0"),s=`${r+i}.${o}.${a}${f}`):c?s=`>=${i}.0.0${f} <${+i+1}.0.0-0`:d&&(s=`>=${i}.${o}.0${f} <${i}.${+o+1}.0-0`),l("xRange return",s),s})},I=(e,t)=>(l("replaceStars",e,t),e.trim().replace(u[c.STAR],"")),A=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),R=e=>(t,s,r,i,o,a,l,f,u,c,d,p,h)=>(s=w(r)?"":w(i)?`>=${r}.0.0${e?"-0":""}`:w(o)?`>=${r}.${i}.0${e?"-0":""}`:a?`>=${s}`:`>=${s}${e?"-0":""}`,f=w(u)?"":w(c)?`<${+u+1}.0.0-0`:w(d)?`<${u}.${+c+1}.0-0`:p?`<=${u}.${c}.${d}-${p}`:e?`<${u}.${c}.${+d+1}-0`:`<=${f}`,`${s} ${f}`.trim()),O=(e,t,s)=>{for(let s=0;s<e.length;s++)if(!e[s].test(t))return!1;if(t.prerelease.length&&!s.includePrerelease){for(let s=0;s<e.length;s++)if(l(e[s].semver),e[s].semver!==a.ANY&&e[s].semver.prerelease.length>0){let r=e[s].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}},8029:function(e,t,s){let r=s(2255),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=s(6036),{safeRe:a,t:l}=s(1013),f=s(8896),{compareIdentifiers:u}=s(4536);class c{constructor(e,t){if(t=f(t),e instanceof c){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let s=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!s)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t<o)return t}return e}):this.prerelease=[],this.build=s[5]?s[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof c)){if("string"==typeof e&&e===this.version)return 0;e=new c(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof c||(e=new c(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof c||(e=new c(e,this.options)),this.prerelease.length&&!e.prerelease.length)return -1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{let s=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,s,i),void 0===s&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===s)return -1;if(s===i)continue;else return u(s,i)}while(++t)}compareBuild(e){e instanceof c||(e=new c(e,this.options));let t=0;do{let s=this.build[t],i=e.build[t];if(r("prerelease compare",t,s,i),void 0===s&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===s)return -1;if(s===i)continue;else return u(s,i)}while(++t)}inc(e,t,s){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t,s),this.inc("pre",t,s);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t,s),this.inc("pre",t,s);break;case"major":(0!==this.minor||0!==this.patch||0===this.prerelease.length)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(0!==this.patch||0===this.prerelease.length)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{let e=Number(s)?1:0;if(!t&&!1===s)throw Error("invalid increment argument: identifier is empty");if(0===this.prerelease.length)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)"number"==typeof this.prerelease[r]&&(this.prerelease[r]++,r=-2);if(-1===r){if(t===this.prerelease.join(".")&&!1===s)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let r=[t,e];!1===s&&(r=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},1627:function(e,t,s){let r=s(2010),i=(e,t)=>{let s=r(e.trim().replace(/^[=v]+/,""),t);return s?s.version:null};e.exports=i},5675:function(e,t,s){let r=s(5244),i=s(1472),o=s(9145),a=s(3215),l=s(4076),f=s(7717),u=(e,t,s,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof s&&(s=s.version),e===s;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof s&&(s=s.version),e!==s;case"":case"=":case"==":return r(e,s,u);case"!=":return i(e,s,u);case">":return o(e,s,u);case">=":return a(e,s,u);case"<":return l(e,s,u);case"<=":return f(e,s,u);default:throw TypeError(`Invalid operator: ${t}`)}};e.exports=u},1200:function(e,t,s){let r=s(8029),i=s(2010),{safeRe:o,t:a}=s(1013),l=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let s=null;if((t=t||{}).rtl){let t;for(;(t=o[a.COERCERTL].exec(e))&&(!s||s.index+s[0].length!==e.length);)s&&t.index+t[0].length===s.index+s[0].length||(s=t),o[a.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[a.COERCERTL].lastIndex=-1}else s=e.match(o[a.COERCE]);return null===s?null:i(`${s[2]}.${s[3]||"0"}.${s[4]||"0"}`,t)};e.exports=l},4992:function(e,t,s){let r=s(8029),i=(e,t,s)=>{let i=new r(e,s),o=new r(t,s);return i.compare(o)||i.compareBuild(o)};e.exports=i},5026:function(e,t,s){let r=s(1346),i=(e,t)=>r(e,t,!0);e.exports=i},1346:function(e,t,s){let r=s(8029),i=(e,t,s)=>new r(e,s).compare(new r(t,s));e.exports=i},3049:function(e,t,s){let r=s(2010),i=(e,t)=>{let s=r(e,null,!0),i=r(t,null,!0),o=s.compare(i);if(0===o)return null;let a=o>0,l=a?s:i,f=a?i:s,u=!!l.prerelease.length;if(f.prerelease.length&&!u)return f.patch||f.minor?l.patch?"patch":l.minor?"minor":"major":"major";let c=u?"pre":"";return s.major!==i.major?c+"major":s.minor!==i.minor?c+"minor":s.patch!==i.patch?c+"patch":"prerelease"};e.exports=i},5244:function(e,t,s){let r=s(1346),i=(e,t,s)=>0===r(e,t,s);e.exports=i},9145:function(e,t,s){let r=s(1346),i=(e,t,s)=>r(e,t,s)>0;e.exports=i},3215:function(e,t,s){let r=s(1346),i=(e,t,s)=>r(e,t,s)>=0;e.exports=i},9240:function(e,t,s){let r=s(8029),i=(e,t,s,i,o)=>{"string"==typeof s&&(o=i,i=s,s=void 0);try{return new r(e instanceof r?e.version:e,s).inc(t,i,o).version}catch(e){return null}};e.exports=i},4076:function(e,t,s){let r=s(1346),i=(e,t,s)=>0>r(e,t,s);e.exports=i},7717:function(e,t,s){let r=s(1346),i=(e,t,s)=>0>=r(e,t,s);e.exports=i},9945:function(e,t,s){let r=s(8029),i=(e,t)=>new r(e,t).major;e.exports=i},5197:function(e,t,s){let r=s(8029),i=(e,t)=>new r(e,t).minor;e.exports=i},1472:function(e,t,s){let r=s(1346),i=(e,t,s)=>0!==r(e,t,s);e.exports=i},2010:function(e,t,s){let r=s(8029),i=(e,t,s=!1)=>{if(e instanceof r)return e;try{return new r(e,t)}catch(e){if(!s)return null;throw e}};e.exports=i},8407:function(e,t,s){let r=s(8029),i=(e,t)=>new r(e,t).patch;e.exports=i},3765:function(e,t,s){let r=s(2010),i=(e,t)=>{let s=r(e,t);return s&&s.prerelease.length?s.prerelease:null};e.exports=i},5666:function(e,t,s){let r=s(1346),i=(e,t,s)=>r(t,e,s);e.exports=i},516:function(e,t,s){let r=s(4992),i=(e,t)=>e.sort((e,s)=>r(s,e,t));e.exports=i},4284:function(e,t,s){let r=s(3937),i=(e,t,s)=>{try{t=new r(t,s)}catch(e){return!1}return t.test(e)};e.exports=i},5315:function(e,t,s){let r=s(4992),i=(e,t)=>e.sort((e,s)=>r(e,s,t));e.exports=i},9722:function(e,t,s){let r=s(2010),i=(e,t)=>{let s=r(e,t);return s?s.version:null};e.exports=i},1507:function(e,t,s){let r=s(1013),i=s(6036),o=s(8029),a=s(4536),l=s(2010),f=s(9722),u=s(1627),c=s(9240),d=s(3049),p=s(9945),h=s(5197),b=s(8407),_=s(3765),m=s(1346),g=s(5666),v=s(5026),y=s(4992),w=s(5315),C=s(516),k=s(9145),x=s(4076),S=s(5244),E=s(1472),M=s(3215),I=s(7717),A=s(5675),R=s(1200),O=s(4438),j=s(3937),P=s(4284),T=s(934),N=s(7874),D=s(119),L=s(9127),B=s(6390),q=s(3922),F=s(6757),z=s(2880),U=s(8779),V=s(8893),$=s(3874);e.exports={parse:l,valid:f,clean:u,inc:c,diff:d,major:p,minor:h,patch:b,prerelease:_,compare:m,rcompare:g,compareLoose:v,compareBuild:y,sort:w,rsort:C,gt:k,lt:x,eq:S,neq:E,gte:M,lte:I,cmp:A,coerce:R,Comparator:O,Range:j,satisfies:P,toComparators:T,maxSatisfying:N,minSatisfying:D,minVersion:L,validRange:B,outside:q,gtr:F,ltr:z,intersects:U,simplifyRange:V,subset:$,SemVer:o,re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},6036:function(e){let t="2.0.0",s=256,r=Number.MAX_SAFE_INTEGER||9007199254740991,i=16,o=["major","premajor","minor","preminor","patch","prepatch","prerelease"];e.exports={MAX_LENGTH:s,MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_INTEGER:r,RELEASE_TYPES:o,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},2255:function(e,t,s){var r=s(3656);let i="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=i},4536:function(e){let t=/^[0-9]+$/,s=(e,s)=>{let r=t.test(e),i=t.test(s);return r&&i&&(e=+e,s=+s),e===s?0:r&&!i?-1:i&&!r?1:e<s?-1:1},r=(e,t)=>s(t,e);e.exports={compareIdentifiers:s,rcompareIdentifiers:r}},8896:function(e){let t=Object.freeze({loose:!0}),s=Object.freeze({}),r=e=>e?"object"!=typeof e?t:e:s;e.exports=r},1013:function(e,t,s){let{MAX_SAFE_COMPONENT_LENGTH:r}=s(6036),i=s(2255),o=(t=e.exports={}).re=[],a=t.safeRe=[],l=t.src=[],f=t.t={},u=0,c=(e,t,s)=>{let r=t.split("\\s*").join("\\s{0,1}").split("\\s+").join("\\s"),c=u++;i(e,c,t),f[e]=c,l[c]=t,o[c]=new RegExp(t,s?"g":void 0),a[c]=new RegExp(r,s?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})\\.(${l[f.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})\\.(${l[f.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${l[f.NUMERICIDENTIFIER]}|${l[f.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${l[f.NUMERICIDENTIFIERLOOSE]}|${l[f.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${l[f.PRERELEASEIDENTIFIER]}(?:\\.${l[f.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${l[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[f.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${l[f.BUILDIDENTIFIER]}(?:\\.${l[f.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${l[f.MAINVERSION]}${l[f.PRERELEASE]}?${l[f.BUILD]}?`),c("FULL",`^${l[f.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${l[f.MAINVERSIONLOOSE]}${l[f.PRERELEASELOOSE]}?${l[f.BUILD]}?`),c("LOOSE",`^${l[f.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",`${l[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),c("XRANGEIDENTIFIER",`${l[f.NUMERICIDENTIFIER]}|x|X|\\*`),c("XRANGEPLAIN",`[v=\\s]*(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:\\.(${l[f.XRANGEIDENTIFIER]})(?:${l[f.PRERELEASE]})?${l[f.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[f.XRANGEIDENTIFIERLOOSE]})(?:${l[f.PRERELEASELOOSE]})?${l[f.BUILD]}?)?)?`),c("XRANGE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${l[f.GTLT]}\\s*${l[f.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",l[f.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${l[f.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${l[f.LONETILDE]}${l[f.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${l[f.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${l[f.LONECARET]}${l[f.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${l[f.LONECARET]}${l[f.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${l[f.GTLT]}\\s*(${l[f.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${l[f.GTLT]}\\s*(${l[f.LOOSEPLAIN]}|${l[f.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${l[f.XRANGEPLAIN]})\\s+-\\s+(${l[f.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${l[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[f.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},6757:function(e,t,s){let r=s(3922),i=(e,t,s)=>r(e,t,">",s);e.exports=i},8779:function(e,t,s){let r=s(3937),i=(e,t,s)=>(e=new r(e,s),t=new r(t,s),e.intersects(t,s));e.exports=i},2880:function(e,t,s){let r=s(3922),i=(e,t,s)=>r(e,t,"<",s);e.exports=i},7874:function(e,t,s){let r=s(8029),i=s(3937),o=(e,t,s)=>{let o=null,a=null,l=null;try{l=new i(t,s)}catch(e){return null}return e.forEach(e=>{l.test(e)&&(!o||-1===a.compare(e))&&(a=new r(o=e,s))}),o};e.exports=o},119:function(e,t,s){let r=s(8029),i=s(3937),o=(e,t,s)=>{let o=null,a=null,l=null;try{l=new i(t,s)}catch(e){return null}return e.forEach(e=>{l.test(e)&&(!o||1===a.compare(e))&&(a=new r(o=e,s))}),o};e.exports=o},9127:function(e,t,s){let r=s(8029),i=s(3937),o=s(9145),a=(e,t)=>{e=new i(e,t);let s=new r("0.0.0");if(e.test(s)||(s=new r("0.0.0-0"),e.test(s)))return s;s=null;for(let t=0;t<e.set.length;++t){let i=e.set[t],a=null;i.forEach(e=>{let t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!a||o(t,a))&&(a=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),a&&(!s||o(s,a))&&(s=a)}return s&&e.test(s)?s:null};e.exports=a},3922:function(e,t,s){let r=s(8029),i=s(4438),{ANY:o}=i,a=s(3937),l=s(4284),f=s(9145),u=s(4076),c=s(7717),d=s(3215),p=(e,t,s,p)=>{let h,b,_,m,g;switch(e=new r(e,p),t=new a(t,p),s){case">":h=f,b=c,_=u,m=">",g=">=";break;case"<":h=u,b=d,_=f,m="<",g="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(l(e,t,p))return!1;for(let s=0;s<t.set.length;++s){let r=t.set[s],a=null,l=null;if(r.forEach(e=>{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,l=l||e,h(e.semver,a.semver,p)?a=e:_(e.semver,l.semver,p)&&(l=e)}),a.operator===m||a.operator===g||(!l.operator||l.operator===m)&&b(e,l.semver)||l.operator===g&&_(e,l.semver))return!1}return!0};e.exports=p},8893:function(e,t,s){let r=s(4284),i=s(1346);e.exports=(e,t,s)=>{let o=[],a=null,l=null,f=e.sort((e,t)=>i(e,t,s));for(let e of f)r(e,t,s)?(l=e,a||(a=e)):(l&&o.push([a,l]),l=null,a=null);a&&o.push([a,null]);let u=[];for(let[e,t]of o)e===t?u.push(e):t||e!==f[0]?t?e===f[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");let c=u.join(" || "),d="string"==typeof t.raw?t.raw:String(t);return c.length<d.length?c:t}},3874:function(e,t,s){let r=s(3937),i=s(4438),{ANY:o}=i,a=s(4284),l=s(1346),f=(e,t,s={})=>{if(e===t)return!0;e=new r(e,s),t=new r(t,s);let i=!1;e:for(let r of e.set){for(let e of t.set){let t=d(r,e,s);if(i=i||null!==t,t)continue e}if(i)return!1}return!0},u=[new i(">=0.0.0-0")],c=[new i(">=0.0.0")],d=(e,t,s)=>{let r,i,f,d,b,_,m;if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=s.includePrerelease?u:c}if(1===t.length&&t[0].semver===o){if(s.includePrerelease)return!0;t=c}let g=new Set;for(let t of e)">"===t.operator||">="===t.operator?r=p(r,t,s):"<"===t.operator||"<="===t.operator?i=h(i,t,s):g.add(t.semver);if(g.size>1||r&&i&&((f=l(r.semver,i.semver,s))>0||0===f&&(">="!==r.operator||"<="!==i.operator)))return null;for(let e of g){if(r&&!a(e,String(r),s)||i&&!a(e,String(i),s))return null;for(let r of t)if(!a(e,String(r),s))return!1;return!0}let v=!!i&&!s.includePrerelease&&!!i.semver.prerelease.length&&i.semver,y=!!r&&!s.includePrerelease&&!!r.semver.prerelease.length&&r.semver;for(let e of(v&&1===v.prerelease.length&&"<"===i.operator&&0===v.prerelease[0]&&(v=!1),t)){if(m=m||">"===e.operator||">="===e.operator,_=_||"<"===e.operator||"<="===e.operator,r){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if((d=p(r,e,s))===e&&d!==r)return!1}else if(">="===r.operator&&!a(r.semver,String(e),s))return!1}if(i){if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if((b=h(i,e,s))===e&&b!==i)return!1}else if("<="===i.operator&&!a(i.semver,String(e),s))return!1}if(!e.operator&&(i||r)&&0!==f)return!1}return(!r||!_||!!i||0===f)&&(!i||!m||!!r||0===f)&&!y&&!v},p=(e,t,s)=>{if(!e)return t;let r=l(e.semver,t.semver,s);return r>0?e:r<0?t:">"===t.operator&&">="===e.operator?t:e},h=(e,t,s)=>{if(!e)return t;let r=l(e.semver,t.semver,s);return r<0?e:r>0?t:"<"===t.operator&&"<="===e.operator?t:e};e.exports=f},934:function(e,t,s){let r=s(3937),i=(e,t)=>new r(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "));e.exports=i},6390:function(e,t,s){let r=s(3937),i=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}};e.exports=i},8454:function(e,t,s){"use strict";var r=s(4249),i=s(3430),o=s(5768)(),a=s(8158),l=s(1088),f=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new l("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||f(t)!==t)throw new l("`length` must be a positive 32-bit integer");var s=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(u=!1)}return(r||u||!s)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},3457:function(e,t,s){"use strict";var r=s(1607).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=o(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}function l(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=b,this.end=_,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=m,this.end=g,t=3;break;default:this.write=v,this.end=y;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function f(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function u(e,t,s){var r=t.length-1;if(r<s)return 0;var i=f(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<s||-2===i?0:(i=f(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<s||-2===i?0:(i=f(t[r]))>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}function c(e,t,s){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}function d(e){var t=this.lastTotal-this.lastNeed,s=c(this,e,t);return void 0!==s?s:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function p(e,t){var s=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=s;var r=e.length-(s-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t}function b(e,t){if((e.length-t)%2==0){var s=e.toString("utf16le",t);if(s){var r=s.charCodeAt(s.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],s.slice(0,-1)}return s}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function _(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var s=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,s)}return t}function m(e,t){var s=(e.length-t)%3;return 0===s?e.toString("base64",t):(this.lastNeed=3-s,this.lastTotal=3,1===s?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-s))}function g(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function v(e){return e.toString(this.encoding)}function y(e){return e&&e.length?this.write(e):""}t.StringDecoder=l,l.prototype.write=function(e){var t,s;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";s=this.lastNeed,this.lastNeed=0}else s=0;return s<e.length?t?t+this.text(e,s):this.text(e,s):t||""},l.prototype.end=h,l.prototype.text=p,l.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},1706:function(e,t,s){"use strict";/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=s(2983);function i(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var o="function"==typeof Object.is?Object.is:i,a=r.useState,l=r.useEffect,f=r.useLayoutEffect,u=r.useDebugValue;function c(e,t){var s=t(),r=a({inst:{value:s,getSnapshot:t}}),i=r[0].inst,o=r[1];return f(function(){i.value=s,i.getSnapshot=t,d(i)&&o({inst:i})},[e,s,t]),l(function(){return d(i)&&o({inst:i}),e(function(){d(i)&&o({inst:i})})},[e]),u(s),s}function d(e){var t=e.getSnapshot;e=e.value;try{var s=t();return!o(e,s)}catch(e){return!0}}function p(e,t){return t()}var h="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?p:c;t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:h},3576:function(e,t,s){"use strict";e.exports=s(1706)},943:function(e){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},6096:function(e,t,s){"use strict";var r=s(9462),i=s(7136),o=s(5472),a=s(1407);function l(e){return e.call.bind(e)}var f="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=l(Object.prototype.toString),d=l(Number.prototype.valueOf),p=l(String.prototype.valueOf),h=l(Boolean.prototype.valueOf);if(f)var b=l(BigInt.prototype.valueOf);if(u)var _=l(Symbol.prototype.valueOf);function m(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function g(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||U(e)}function y(e){return"Uint8Array"===o(e)}function w(e){return"Uint8ClampedArray"===o(e)}function C(e){return"Uint16Array"===o(e)}function k(e){return"Uint32Array"===o(e)}function x(e){return"Int8Array"===o(e)}function S(e){return"Int16Array"===o(e)}function E(e){return"Int32Array"===o(e)}function M(e){return"Float32Array"===o(e)}function I(e){return"Float64Array"===o(e)}function A(e){return"BigInt64Array"===o(e)}function R(e){return"BigUint64Array"===o(e)}function O(e){return"[object Map]"===c(e)}function j(e){return"undefined"!=typeof Map&&(O.working?O(e):e instanceof Map)}function P(e){return"[object Set]"===c(e)}function T(e){return"undefined"!=typeof Set&&(P.working?P(e):e instanceof Set)}function N(e){return"[object WeakMap]"===c(e)}function D(e){return"undefined"!=typeof WeakMap&&(N.working?N(e):e instanceof WeakMap)}function L(e){return"[object WeakSet]"===c(e)}function B(e){return L(e)}function q(e){return"[object ArrayBuffer]"===c(e)}function F(e){return"undefined"!=typeof ArrayBuffer&&(q.working?q(e):e instanceof ArrayBuffer)}function z(e){return"[object DataView]"===c(e)}function U(e){return"undefined"!=typeof DataView&&(z.working?z(e):e instanceof DataView)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=g,t.isArrayBufferView=v,t.isUint8Array=y,t.isUint8ClampedArray=w,t.isUint16Array=C,t.isUint32Array=k,t.isInt8Array=x,t.isInt16Array=S,t.isInt32Array=E,t.isFloat32Array=M,t.isFloat64Array=I,t.isBigInt64Array=A,t.isBigUint64Array=R,O.working="undefined"!=typeof Map&&O(new Map),t.isMap=j,P.working="undefined"!=typeof Set&&P(new Set),t.isSet=T,N.working="undefined"!=typeof WeakMap&&N(new WeakMap),t.isWeakMap=D,L.working="undefined"!=typeof WeakSet&&L(new WeakSet),t.isWeakSet=B,q.working="undefined"!=typeof ArrayBuffer&&q(new ArrayBuffer),t.isArrayBuffer=F,z.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&z(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=U;var V="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function $(e){return"[object SharedArrayBuffer]"===c(e)}function H(e){return void 0!==V&&(void 0===$.working&&($.working=$(new V)),$.working?$(e):e instanceof V)}function W(e){return"[object AsyncFunction]"===c(e)}function K(e){return"[object Map Iterator]"===c(e)}function G(e){return"[object Set Iterator]"===c(e)}function Z(e){return"[object Generator]"===c(e)}function Q(e){return"[object WebAssembly.Module]"===c(e)}function X(e){return m(e,d)}function Y(e){return m(e,p)}function J(e){return m(e,h)}function ee(e){return f&&m(e,b)}function et(e){return u&&m(e,_)}function es(e){return X(e)||Y(e)||J(e)||ee(e)||et(e)}function er(e){return"undefined"!=typeof Uint8Array&&(F(e)||H(e))}t.isSharedArrayBuffer=H,t.isAsyncFunction=W,t.isMapIterator=K,t.isSetIterator=G,t.isGeneratorObject=Z,t.isWebAssemblyCompiledModule=Q,t.isNumberObject=X,t.isStringObject=Y,t.isBooleanObject=J,t.isBigIntObject=ee,t.isSymbolObject=et,t.isBoxedPrimitive=es,t.isAnyArrayBuffer=er,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},911:function(e,t,s){var r=s(3656),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),s={},r=0;r<t.length;r++)s[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return s},o=/%[sdj%]/g;t.format=function(e){if(!S(e)){for(var t=[],s=0;s<arguments.length;s++)t.push(u(arguments[s]));return t.join(" ")}for(var s=1,r=arguments,i=r.length,a=String(e).replace(o,function(e){if("%%"===e)return"%";if(s>=i)return e;switch(e){case"%s":return String(r[s++]);case"%d":return Number(r[s++]);case"%j":try{return JSON.stringify(r[s++])}catch(e){return"[Circular]"}default:return e}}),l=r[s];s<i;l=r[++s])C(l)||!A(l)?a+=" "+l:a+=" "+u(l);return a},t.deprecate=function(e,s){if(void 0!==r&&!0===r.noDeprecation)return e;if(void 0===r)return function(){return t.deprecate(e,s).apply(this,arguments)};var i=!1;return function(){if(!i){if(r.throwDeprecation)throw Error(s);r.traceDeprecation?console.trace(s):console.error(s),i=!0}return e.apply(this,arguments)}};var a={},l=/^$/;if(r.env.NODE_DEBUG){var f=r.env.NODE_DEBUG;l=RegExp("^"+(f=f.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase())+"$","i")}function u(e,s){var r={seen:[],stylize:d};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),w(s)?r.showHidden=s:s&&t._extend(r,s),M(r.showHidden)&&(r.showHidden=!1),M(r.depth)&&(r.depth=2),M(r.colors)&&(r.colors=!1),M(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=c),h(r,e,r.depth)}function c(e,t){var s=u.styles[t];return s?"\x1b["+u.colors[s][0]+"m"+e+"\x1b["+u.colors[s][1]+"m":e}function d(e,t){return e}function p(e){var t={};return e.forEach(function(e,s){t[e]=!0}),t}function h(e,s,r){if(e.customInspect&&s&&j(s.inspect)&&s.inspect!==t.inspect&&!(s.constructor&&s.constructor.prototype===s)){var i,o=s.inspect(r,e);return S(o)||(o=h(e,o,r)),o}var a=b(e,s);if(a)return a;var l=Object.keys(s),f=p(l);if(e.showHidden&&(l=Object.getOwnPropertyNames(s)),O(s)&&(l.indexOf("message")>=0||l.indexOf("description")>=0))return _(s);if(0===l.length){if(j(s)){var u=s.name?": "+s.name:"";return e.stylize("[Function"+u+"]","special")}if(I(s))return e.stylize(RegExp.prototype.toString.call(s),"regexp");if(R(s))return e.stylize(Date.prototype.toString.call(s),"date");if(O(s))return _(s)}var c="",d=!1,w=["{","}"];return(y(s)&&(d=!0,w=["[","]"]),j(s)&&(c=" [Function"+(s.name?": "+s.name:"")+"]"),I(s)&&(c=" "+RegExp.prototype.toString.call(s)),R(s)&&(c=" "+Date.prototype.toUTCString.call(s)),O(s)&&(c=" "+_(s)),0!==l.length||d&&0!=s.length)?r<0?I(s)?e.stylize(RegExp.prototype.toString.call(s),"regexp"):e.stylize("[Object]","special"):(e.seen.push(s),i=d?m(e,s,r,f,l):l.map(function(t){return g(e,s,r,f,t,d)}),e.seen.pop(),v(i,c,w)):w[0]+c+w[1]}function b(e,t){if(M(t))return e.stylize("undefined","undefined");if(S(t)){var s="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(s,"string")}return x(t)?e.stylize(""+t,"number"):w(t)?e.stylize(""+t,"boolean"):C(t)?e.stylize("null","null"):void 0}function _(e){return"["+Error.prototype.toString.call(e)+"]"}function m(e,t,s,r,i){for(var o=[],a=0,l=t.length;a<l;++a)B(t,String(a))?o.push(g(e,t,s,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(g(e,t,s,r,i,!0))}),o}function g(e,t,s,r,i,o){var a,l,f;if((f=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?l=f.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):f.set&&(l=e.stylize("[Setter]","special")),B(r,i)||(a="["+i+"]"),!l&&(0>e.seen.indexOf(f.value)?(l=C(s)?h(e,f.value,null):h(e,f.value,s-1)).indexOf("\n")>-1&&(l=o?l.split("\n").map(function(e){return"  "+e}).join("\n").slice(2):"\n"+l.split("\n").map(function(e){return"   "+e}).join("\n")):l=e.stylize("[Circular]","special")),M(a)){if(o&&i.match(/^\d+$/))return l;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+l}function v(e,t,s){var r=0;return e.reduce(function(e,t){return r++,t.indexOf("\n")>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?s[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+s[1]:s[0]+t+" "+e.join(", ")+" "+s[1]}function y(e){return Array.isArray(e)}function w(e){return"boolean"==typeof e}function C(e){return null===e}function k(e){return null==e}function x(e){return"number"==typeof e}function S(e){return"string"==typeof e}function E(e){return"symbol"==typeof e}function M(e){return void 0===e}function I(e){return A(e)&&"[object RegExp]"===T(e)}function A(e){return"object"==typeof e&&null!==e}function R(e){return A(e)&&"[object Date]"===T(e)}function O(e){return A(e)&&("[object Error]"===T(e)||e instanceof Error)}function j(e){return"function"==typeof e}function P(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e}function T(e){return Object.prototype.toString.call(e)}function N(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()]){if(l.test(e)){var s=r.pid;a[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,s,r)}}else a[e]=function(){}}return a[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=s(6096),t.isArray=y,t.isBoolean=w,t.isNull=C,t.isNullOrUndefined=k,t.isNumber=x,t.isString=S,t.isSymbol=E,t.isUndefined=M,t.isRegExp=I,t.types.isRegExp=I,t.isObject=A,t.isDate=R,t.types.isDate=R,t.isError=O,t.types.isNativeError=O,t.isFunction=j,t.isPrimitive=P,t.isBuffer=s(943);var D=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function L(){var e=new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(":");return[e.getDate(),D[e.getMonth()],t].join(" ")}function B(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",L(),t.format.apply(t,arguments))},t.inherits=s(7483),t._extend=function(e,t){if(!t||!A(t))return e;for(var s=Object.keys(t),r=s.length;r--;)e[s[r]]=t[s[r]];return e};var q="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function F(e,t){if(!e){var s=Error("Promise was rejected with a falsy value");s.reason=e,e=s}return t(e)}function z(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');function t(){for(var t=[],s=0;s<arguments.length;s++)t.push(arguments[s]);var i=t.pop();if("function"!=typeof i)throw TypeError("The last argument must be of type Function");var o=this,a=function(){return i.apply(o,arguments)};e.apply(this,t).then(function(e){r.nextTick(a.bind(null,null,e))},function(e){r.nextTick(F.bind(null,e,a))})}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,i(e)),t}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(q&&e[q]){var t=e[q];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,q,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,s,r=new Promise(function(e,r){t=e,s=r}),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push(function(e,r){e?s(e):t(r)});try{e.apply(this,i)}catch(e){s(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),q&&Object.defineProperty(t,q,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,i(e))},t.promisify.custom=q,t.callbackify=z},5472:function(e,t,s){"use strict";var r=s(98),i=s(3719),o=s(4902),a=s(8158),l=o("Object.prototype.toString"),f=s(3342)(),u="undefined"==typeof globalThis?s.g:globalThis,c=i(),d=o("String.prototype.slice"),p={},h=Object.getPrototypeOf;f&&a&&h&&r(c,function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var s=h(t),r=a(s,Symbol.toStringTag);r||(r=a(h(s),Symbol.toStringTag)),p[e]=r.get}}});var b=function(e){var t=!1;return r(p,function(s,r){if(!t)try{var i=s.call(e);i===r&&(t=i)}catch(e){}}),t},_=s(1407);e.exports=function(e){return!!_(e)&&(f&&Symbol.toStringTag in e?b(e):d(l(e),8,-1))}},4735:function(e){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},7406:function(e,t,s){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var s=0,i=arguments.length;s<i;s++)t.push(arguments[s]);return t}function i(e,t,s){var r=t===e.head?new l(s,null,t,e):new l(s,t,t.next,e);return null===r.next&&(e.tail=r),null===r.prev&&(e.head=r),e.length++,r}function o(e,t){e.tail=new l(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,t){e.head=new l(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function l(e,t,s,r){if(!(this instanceof l))return new l(e,t,s,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,s?(s.prev=this,this.next=s):this.next=null}e.exports=r,r.Node=l,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,s=e.prev;return t&&(t.prev=s),s&&(s.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=s),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)o(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var s=this.head,r=0;null!==s;r++)e.call(t,s.value,r,this),s=s.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var s=this.tail,r=this.length-1;null!==s;r--)e.call(t,s.value,r,this),s=s.prev},r.prototype.get=function(e){for(var t=0,s=this.head;null!==s&&t<e;t++)s=s.next;if(t===e&&null!==s)return s.value},r.prototype.getReverse=function(e){for(var t=0,s=this.tail;null!==s&&t<e;t++)s=s.prev;if(t===e&&null!==s)return s.value},r.prototype.map=function(e,t){t=t||this;for(var s=new r,i=this.head;null!==i;)s.push(e.call(t,i.value,this)),i=i.next;return s},r.prototype.mapReverse=function(e,t){t=t||this;for(var s=new r,i=this.tail;null!==i;)s.push(e.call(t,i.value,this)),i=i.prev;return s},r.prototype.reduce=function(e,t){var s,r=this.head;if(arguments.length>1)s=t;else if(this.head)r=this.head.next,s=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==r;i++)s=e(s,r.value,i),r=r.next;return s},r.prototype.reduceReverse=function(e,t){var s,r=this.tail;if(arguments.length>1)s=t;else if(this.tail)r=this.tail.prev,s=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==r;i--)s=e(s,r.value,i),r=r.prev;return s},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,s=this.head;null!==s;t++)e[t]=s.value,s=s.next;return e},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,s=this.tail;null!==s;t++)e[t]=s.value,s=s.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var s=new r;if(t<e||t<0)return s;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&i<e;i++)o=o.next;for(;null!==o&&i<t;i++,o=o.next)s.push(o.value);return s},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var s=new r;if(t<e||t<0)return s;e<0&&(e=0),t>this.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)s.push(o.value);return s},r.prototype.splice=function(e,t,...s){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;null!==o&&r<e;r++)o=o.next;for(var a=[],r=0;o&&r<t;r++)a.push(o.value),o=this.removeNode(o);null===o&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var r=0;r<s.length;r++)o=i(this,o,s[r]);return a},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,s=e;null!==s;s=s.prev){var r=s.prev;s.prev=s.next,s.next=r}return this.head=t,this.tail=e,this};try{s(4735)(r)}catch(e){}},3719:function(e,t,s){"use strict";var r=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],i="undefined"==typeof globalThis?s.g:globalThis;e.exports=function(){for(var e=[],t=0;t<r.length;t++)"function"==typeof i[r[t]]&&(e[e.length]=r[t]);return e}},5991:function(e,t,s){"use strict";let r=s(9705);e.exports=l;let i=M().console||{},o={mapHttpRequest:y,mapHttpResponse:y,wrapRequestSerializer:w,wrapResponseSerializer:w,wrapErrorSerializer:w,req:y,res:y,err:g,errWithCause:g};function a(e,t){return Array.isArray(e)?e.filter(function(e){return"!stdSerializers.err"!==e}):!0===e&&Object.keys(t)}function l(e){(e=e||{}).browser=e.browser||{};let t=e.browser.transmit;if(t&&"function"!=typeof t.send)throw Error("pino: transmit option must have a send function");let s=e.browser.write||i;e.browser.write&&(e.browser.asObject=!0);let r=e.serializers||{},o=a(e.browser.serialize,r),l=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(l=!1);let u=Object.keys(e.customLevels||{}),d=["error","fatal","warn","info","debug","trace"].concat(u);"function"==typeof s&&d.forEach(function(e){s[e]=s}),(!1===e.enabled||e.browser.disabled)&&(e.level="silent");let p=e.level||"info",_=Object.create(s);_.log||(_.log=C),Object.defineProperty(_,"levelVal",{get:y}),Object.defineProperty(_,"level",{get:w,set:k});let g={transmit:t,serialize:o,asObject:e.browser.asObject,levels:d,timestamp:v(e)};function y(){return"silent"===this.level?1/0:this.levels.values[this.level]}function w(){return this._level}function k(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,c(g,_,"error","log"),c(g,_,"fatal","error"),c(g,_,"warn","error"),c(g,_,"info","log"),c(g,_,"debug","log"),c(g,_,"trace","log"),u.forEach(function(e){c(g,_,e,"log")})}function x(s,i){if(!s)throw Error("missing bindings for child Pino");i=i||{},o&&s.serializers&&(i.serializers=s.serializers);let a=i.serializers;if(o&&a){var l=Object.assign({},r,a),f=!0===e.browser.serialize?Object.keys(l):o;delete s.serializers,h([s],f,l,this._stdErrSerialize)}function u(e){this._childLevel=(0|e._childLevel)+1,this.error=b(e,s,"error"),this.fatal=b(e,s,"fatal"),this.warn=b(e,s,"warn"),this.info=b(e,s,"info"),this.debug=b(e,s,"debug"),this.trace=b(e,s,"trace"),l&&(this.serializers=l,this._serialize=f),t&&(this._logEvent=m([].concat(e._logEvent.bindings,s)))}return u.prototype=this,new u(this)}return _.levels=f(e),_.level=p,_.setMaxListeners=_.getMaxListeners=_.emit=_.addListener=_.on=_.prependListener=_.once=_.prependOnceListener=_.removeListener=_.removeAllListeners=_.listeners=_.listenerCount=_.eventNames=_.write=_.flush=C,_.serializers=r,_._serialize=o,_._stdErrSerialize=l,_.child=x,t&&(_._logEvent=m()),_}function f(e){let t=e.customLevels||{};return{values:Object.assign({},l.levels.values,t),labels:Object.assign({},l.levels.labels,u(t))}}function u(e){let t={};return Object.keys(e).forEach(function(s){t[e[s]]=s}),t}function c(e,t,s,r){let o=Object.getPrototypeOf(t);t[s]=t.levelVal>t.levels.values[s]?C:o[s]?o[s]:i[s]||i[r]||C,d(e,t,s)}function d(e,t,s){(e.transmit||t[s]!==C)&&(t[s]=function(r){return function(){let o=e.timestamp(),a=Array(arguments.length),l=Object.getPrototypeOf&&Object.getPrototypeOf(this)===i?i:this;for(var f=0;f<a.length;f++)a[f]=arguments[f];if(e.serialize&&!e.asObject&&h(a,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?r.call(l,p(this,s,a,o)):r.apply(l,a),e.transmit){let r=e.transmit.level||t.level,i=t.levels.values[r],l=t.levels.values[s];if(l<i)return;_(this,{ts:o,methodLevel:s,methodValue:l,transmitLevel:r,transmitValue:t.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},a)}}}(t[s]))}function p(e,t,s,i){e._serialize&&h(s,e._serialize,e.serializers,e._stdErrSerialize);let o=s.slice(),a=o[0],l={};i&&(l.time=i),l.level=e.levels.values[t];let f=(0|e._childLevel)+1;if(f<1&&(f=1),null!==a&&"object"==typeof a){for(;f--&&"object"==typeof o[0];)Object.assign(l,o.shift());a=o.length?r(o.shift(),o):void 0}else"string"==typeof a&&(a=r(o.shift(),o));return void 0!==a&&(l.msg=a),l}function h(e,t,s,r){for(let i in e)if(r&&e[i]instanceof Error)e[i]=l.stdSerializers.err(e[i]);else if("object"==typeof e[i]&&!Array.isArray(e[i]))for(let r in e[i])t&&t.indexOf(r)>-1&&r in s&&(e[i][r]=s[r](e[i][r]))}function b(e,t,s){return function(){let r=Array(1+arguments.length);r[0]=t;for(var i=1;i<r.length;i++)r[i]=arguments[i-1];return e[s].apply(this,r)}}function _(e,t,s){let r=t.send,i=t.ts,o=t.methodLevel,a=t.methodValue,l=t.val,f=e._logEvent.bindings;h(s,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=i,e._logEvent.messages=s.filter(function(e){return -1===f.indexOf(e)}),e._logEvent.level.label=o,e._logEvent.level.value=a,r(o,e._logEvent,l),e._logEvent=m(f)}function m(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function g(e){let t={type:e.constructor.name,msg:e.message,stack:e.stack};for(let s in e)void 0===t[s]&&(t[s]=e[s]);return t}function v(e){return"function"==typeof e.timestamp?e.timestamp:!1===e.timestamp?k:x}function y(){return{}}function w(e){return e}function C(){}function k(){return!1}function x(){return Date.now()}function S(){return Math.round(Date.now()/1e3)}function E(){return new Date(Date.now()).toISOString()}function M(){function e(e){return void 0!==e&&e}try{if("undefined"!=typeof globalThis)return globalThis;return Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}l.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},l.stdSerializers=o,l.stdTimeFunctions=Object.assign({},{nullTime:k,epochTime:x,unixTime:S,isoTime:E})},4729:function(e,t,s){"use strict";s.d(t,{Ld:function(){return r.Ld},Nw:function(){return r.Nw},Zn:function(){return r.Zn},rU:function(){return r.rU}});var r=s(9247);s(7323),s(2983);var i=s(7302);s(9734),i.debug("app-sdk:AppBridge:useDashboardToken")},9247:function(e,t,s){"use strict";let r;s.d(t,{rU:function(){return N},Ld:function(){return B},Nw:function(){return _},Zn:function(){return q}});var i=s(7323),o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let a=new Uint8Array(16);function l(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(a)}let f=[];for(let e=0;e<256;++e)f.push((e+256).toString(16).slice(1));function u(e,t=0){return(f[e[t+0]]+f[e[t+1]]+f[e[t+2]]+f[e[t+3]]+"-"+f[e[t+4]]+f[e[t+5]]+"-"+f[e[t+6]]+f[e[t+7]]+"-"+f[e[t+8]]+f[e[t+9]]+"-"+f[e[t+10]]+f[e[t+11]]+f[e[t+12]]+f[e[t+13]]+f[e[t+14]]+f[e[t+15]]).toLowerCase()}var c=function(e,t,s){if(o.randomUUID&&!t&&!e)return o.randomUUID();let r=(e=e||{}).random||(e.rng||l)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){s=s||0;for(let e=0;e<16;++e)t[s+e]=r[e];return t}return u(r)},d=s(7302),p=s(9734),h=s(2983);function b(e){let t=c();return{...e,payload:{...e.payload,actionId:t}}}var _={Redirect:function(e){return b({payload:e,type:"redirect"})},Notification:function(e){return b({type:"notification",payload:e})},UpdateRouting:function(e){return b({type:"updateRouting",payload:e})},NotifyReady:function(){return b({type:"notifyReady",payload:{}})},RequestPermissions:function(e,t){return b({type:"requestPermissions",payload:{permissions:e,redirectPath:t}})}},m="id",g="theme",v="domain",y="saleorApiUrl",w="locale",C={handshake:"handshake",response:"response",redirect:"redirect",theme:"theme",localeChanged:"localeChanged",tokenRefresh:"tokenRefresh"},k=e=>p.t5(e).permissions,x=class{constructor(e={}){this.state={id:"",domain:"",saleorApiUrl:"",ready:!1,path:"/",theme:"light",locale:"en"},this.state.locale=e.initialLocale??this.state.locale,this.state.theme=e.initialTheme??this.state.theme}getState(){return this.state}setState(e){return this.state={...this.state,...e},this.state}},S="undefined"==typeof window,E=1e3,M=d.debug("app-sdk:AppBridge");function I(e,t){switch(t.type){case C.handshake:{let s=(0,i.d)(t.payload.token),r=k(t.payload.token);return{...e,ready:!0,token:t.payload.token,saleorVersion:t.payload.saleorVersion,dashboardVersion:t.payload.dashboardVersion,user:{email:s.email,permissions:s.userPermissions},appPermissions:r}}case C.redirect:return{...e,path:t.payload.path};case C.theme:return{...e,theme:t.payload.theme};case C.localeChanged:return{...e,locale:t.payload.locale};case C.tokenRefresh:return{...e,token:t.payload.token};case C.response:return e;default:return console.warn(`Invalid event received: ${null==t?void 0:t.type}`),e}}var A=()=>({handshake:{},response:{},redirect:{},theme:{},localeChanged:{},tokenRefresh:{}}),R=()=>new URL(window.location.href).searchParams.get(w)||void 0,O=()=>new URL(window.location.href).searchParams.get(v)||"",j=()=>new URL(window.location.href).searchParams.get(y)||"",P=()=>{let e=new URL(window.location.href).searchParams.get(g);switch(e){case"dark":case"light":return e;default:return}},T=()=>({targetDomain:O(),saleorApiUrl:j(),initialLocale:R()??"en",autoNotifyReady:!0,initialTheme:P()??void 0}),N=class{constructor(e={}){if(this.refererOrigin=document.referrer?new URL(document.referrer).origin:void 0,this.subscribeMap=A(),this.combinedOptions=T(),M("Constructor called with options: %j",e),S)throw Error("AppBridge detected you're running this app in SSR mode. Make sure to call `new AppBridge()` when window object exists.");this.combinedOptions={...this.combinedOptions,...e},this.state=new x({initialLocale:this.combinedOptions.initialLocale}),M("Resolved combined AppBridge options: %j",this.combinedOptions),this.refererOrigin||console.warn("document.referrer is empty"),this.combinedOptions.saleorApiUrl||M("?saleorApiUrl was not found in iframe url"),this.combinedOptions.targetDomain||M("?domain was not found in iframe url"),this.combinedOptions.saleorApiUrl||this.combinedOptions.targetDomain||console.error("domain and saleorApiUrl params were not found in iframe url. Ensure at least one of them is present"),this.setInitialState(),this.listenOnMessages(),this.combinedOptions.autoNotifyReady&&this.sendNotifyReadyAction()}subscribe(e,t){M("subscribe() called with event %s and callback %s",e,t.name);let s=Symbol("Callback token");return this.subscribeMap[e][s]=t,()=>{M("unsubscribe called with event %s and callback %s",e,t.name),delete this.subscribeMap[e][s]}}unsubscribeAll(e){e?(M("unsubscribeAll called with event: %s",e),this.subscribeMap[e]={}):(M("unsubscribeAll called without argument"),this.subscribeMap=A())}async dispatch(e){return M("dispatch called with action argument: %j",e),new Promise((t,s)=>{let r;if(!window.parent){M("window.parent doesn't exist, will throw"),s(Error("Parent window does not exist."));return}M("Calling window.parent.postMessage with %j",e),window.parent.postMessage({type:e.type,payload:e.payload},"*");let i=this.subscribe(C.response,({actionId:o,ok:a})=>{M("Subscribing to %s with action id: %s and status 'ok' is: %s",C.response,o,a),e.payload.actionId===o&&(M("Received matching action id: %s. Will unsubscribe",o),i(),clearTimeout(r),a?t():s(Error("Action responded with negative status. This indicates the action method was not used properly.")))});r=window.setTimeout(()=>{i(),s(Error("Action response timed out."))},E)})}getState(){return M("getState() called and will return %j",this.state.getState()),this.state.getState()}sendNotifyReadyAction(){this.dispatch(_.NotifyReady()).catch(e=>{console.error("notifyReady action failed"),console.error(e)})}setInitialState(){M("setInitialState() called");let e=new URL(window.location.href).searchParams.get(m)||"",t=window.location.pathname||"",s={domain:this.combinedOptions.targetDomain,id:e,path:t,theme:this.combinedOptions.initialTheme,saleorApiUrl:this.combinedOptions.saleorApiUrl,locale:this.combinedOptions.initialLocale};M("setInitialState() will setState with %j",s),this.state.setState(s)}listenOnMessages(){M("listenOnMessages() called"),window.addEventListener("message",({origin:e,data:t})=>{if(M("Received message from origin: %s and data: %j",e,t),e!==this.refererOrigin){M("Origin from message doesn't match refererOrigin. Function will return now");return}let s=I(this.state.getState(),t);M("Computed new state: %j. Will be set with setState",s),this.state.setState(s);let{type:r,payload:i}=t;C[r]&&Object.getOwnPropertySymbols(this.subscribeMap[r]).forEach(e=>{M("Executing listener for event: %s and payload %j",r,i),this.subscribeMap[r][e](i)})})}},D=d.debug("app-sdk:AppBridgeProvider"),L=h.createContext({appBridge:void 0,mounted:!1});function B({appBridgeInstance:e,...t}){D("Provider mounted");let[s,r]=(0,h.useState)(e);(0,h.useEffect)(()=>{s?D("AppBridge provided in props, will use this one"):(D("AppBridge not defined, will create new instance"),r(e??new N))},[]);let i=(0,h.useMemo)(()=>({appBridge:s,mounted:!0}),[s]);return h.createElement(L.Provider,{value:i,...t})}var q=()=>{let{appBridge:e,mounted:t}=(0,h.useContext)(L),[s,r]=(0,h.useState)(()=>e?e.getState():null);if("undefined"!=typeof window&&!t)throw Error("useAppBridge used outside of AppBridgeProvider");let i=(0,h.useCallback)(()=>{(null==e?void 0:e.getState())&&(D("Detected state change in AppBridge, will set new state"),r(e.getState()))},[e]);return(0,h.useEffect)(()=>{let t=[];return e&&(D("Provider mounted, will set up listeners"),t=[e.subscribe("handshake",i),e.subscribe("theme",i),e.subscribe("response",i),e.subscribe("redirect",i)]),()=>{D("Provider unmounted, will clean up listeners"),t.forEach(e=>e())}},[e,i]),{appBridge:e,appBridgeState:s}}},7323:function(e,t,s){"use strict";s.d(t,{d:function(){return i}});var r=s(9734),i=e=>{let{email:t,user_permissions:s}=r.t5(e);return{email:t,userPermissions:s}}},665:function(e,t,s){"use strict";let r;s.d(t,{$:function(){return dL},Af:function(){return t4},Fg:function(){return e8},II:function(){return f4},J:function(){return ux},Od:function(){return cF},f6:function(){return e0},iz:function(){return os},rs:function(){return cK},u:function(){return tI},x3:function(){return tA},xu:function(){return tt},xv:function(){return tT},zx:function(){return tC}});var i=s(2983),o=s(3730);function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l={exports:{}},f={};function u(){if(oG)return f;oG=1;var e=i,t=Symbol.for("react.element"),s=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function l(e,s,i){var l,f={},u=null,c=null;for(l in void 0!==i&&(u=""+i),void 0!==s.key&&(u=""+s.key),void 0!==s.ref&&(c=s.ref),s)r.call(s,l)&&!a.hasOwnProperty(l)&&(f[l]=s[l]);if(e&&e.defaultProps)for(l in s=e.defaultProps)void 0===f[l]&&(f[l]=s[l]);return{$$typeof:t,type:e,key:u,ref:c,props:f,_owner:o.current}}return f.Fragment=s,f.jsx=l,f.jsxs=l,f}l.exports=u();var c=l.exports;function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)Object.prototype.hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(this,arguments)}function p(e,t=[]){let s=[];function r(t,r){let o=(0,i.createContext)(r),a=s.length;function l(t){let{scope:s,children:r,...l}=t,f=(null==s?void 0:s[e][a])||o,u=(0,i.useMemo)(()=>l,Object.values(l));return(0,i.createElement)(f.Provider,{value:u},r)}function f(s,l){let f=(null==l?void 0:l[e][a])||o,u=(0,i.useContext)(f);if(u)return u;if(void 0!==r)return r;throw Error(`\`${s}\` must be used within \`${t}\``)}return s=[...s,r],l.displayName=t+"Provider",[l,f]}let o=()=>{let t=s.map(e=>(0,i.createContext)(e));return function(s){let r=(null==s?void 0:s[e])||t;return(0,i.useMemo)(()=>({[`__scope${e}`]:{...s,[e]:r}}),[s,r])}};return o.scopeName=e,[r,h(o,...t)]}function h(...e){let t=e[0];if(1===e.length)return t;let s=()=>{let s=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=s.reduce((t,{useScope:s,scopeName:r})=>{let i=s(e)[`__scope${r}`];return{...t,...i}},{});return(0,i.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return s.scopeName=t.scopeName,s}function b(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}function _(...e){return t=>e.forEach(e=>b(e,t))}function m(...e){return(0,i.useCallback)(_(...e),e)}let g=(0,i.forwardRef)((e,t)=>{let{children:s,...r}=e,o=i.Children.toArray(s),a=o.find(w);if(a){let e=a.props.children,s=o.map(t=>t===a?i.Children.count(e)>1?i.Children.only(null):(0,i.isValidElement)(e)?e.props.children:null:t);return(0,i.createElement)(v,d({},r,{ref:t}),(0,i.isValidElement)(e)?(0,i.cloneElement)(e,void 0,s):null)}return(0,i.createElement)(v,d({},r,{ref:t}),s)});g.displayName="Slot";let v=(0,i.forwardRef)((e,t)=>{let{children:s,...r}=e;return(0,i.isValidElement)(s)?(0,i.cloneElement)(s,{...C(r,s.props),ref:t?_(t,s.ref):s.ref}):i.Children.count(s)>1?i.Children.only(null):null});v.displayName="SlotClone";let y=({children:e})=>(0,i.createElement)(i.Fragment,null,e);function w(e){return(0,i.isValidElement)(e)&&e.type===y}function C(e,t){let s={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?s[r]=(...e)=>{o(...e),i(...e)}:i&&(s[r]=i):"style"===r?s[r]={...i,...o}:"className"===r&&(s[r]=[i,o].filter(Boolean).join(" "))}return{...e,...s}}function k(e){let t=e+"CollectionProvider",[s,r]=p(t),[o,a]=s(t,{collectionRef:{current:null},itemMap:new Map}),l=e=>{let{scope:t,children:s}=e,r=i.useRef(null),a=i.useRef(new Map).current;return i.createElement(o,{scope:t,itemMap:a,collectionRef:r},s)},f=e+"CollectionSlot",u=i.forwardRef((e,t)=>{let{scope:s,children:r}=e,o=m(t,a(f,s).collectionRef);return i.createElement(g,{ref:o},r)}),c=e+"CollectionItemSlot",d="data-radix-collection-item";function h(t){let s=a(e+"CollectionConsumer",t);return i.useCallback(()=>{let e=s.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(s.itemMap.values()).sort((e,s)=>t.indexOf(e.ref.current)-t.indexOf(s.ref.current))},[s.collectionRef,s.itemMap])}return[{Provider:l,Slot:u,ItemSlot:i.forwardRef((e,t)=>{let{scope:s,children:r,...o}=e,l=i.useRef(null),f=m(t,l),u=a(c,s);return i.useEffect(()=>(u.itemMap.set(l,{ref:l,...o}),()=>void u.itemMap.delete(l))),i.createElement(g,{[d]:"",ref:f},r)})},h,r]}function x(e,t,{checkForDefaultPrevented:s=!0}={}){return function(r){if(null==e||e(r),!1===s||!r.defaultPrevented)return null==t?void 0:t(r)}}function S(e){let t=(0,i.useRef)(e);return(0,i.useEffect)(()=>{t.current=e}),(0,i.useMemo)(()=>(...e)=>{var s;return null===(s=t.current)||void 0===s?void 0:s.call(t,...e)},[])}function E({prop:e,defaultProp:t,onChange:s=()=>{}}){let[r,o]=M({defaultProp:t,onChange:s}),a=void 0!==e,l=a?e:r,f=S(s);return[l,(0,i.useCallback)(t=>{if(a){let s="function"==typeof t?t(e):t;s!==e&&f(s)}else o(t)},[a,e,o,f])]}function M({defaultProp:e,onChange:t}){let s=(0,i.useState)(e),[r]=s,o=(0,i.useRef)(r),a=S(t);return(0,i.useEffect)(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),s}let I=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let s=(0,i.forwardRef)((e,s)=>{let{asChild:r,...o}=e,a=r?g:t;return(0,i.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,i.createElement)(a,d({},o,{ref:s}))});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{});function A(e,t){e&&(0,o.flushSync)(()=>e.dispatchEvent(t))}let R=null!=globalThis&&globalThis.document?i.useLayoutEffect:()=>{};function O(e,t){return(0,i.useReducer)((e,s)=>t[e][s]??e,e)}let j=e=>{let{present:t,children:s}=e,r=P(t),o="function"==typeof s?s({present:r.isPresent}):i.Children.only(s),a=m(r.ref,o.ref);return"function"==typeof s||r.isPresent?(0,i.cloneElement)(o,{ref:a}):null};function P(e){let[t,s]=(0,i.useState)(),r=(0,i.useRef)({}),a=(0,i.useRef)(e),l=(0,i.useRef)("none"),[f,u]=O(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,i.useEffect)(()=>{let e=T(r.current);l.current="mounted"===f?e:"none"},[f]),R(()=>{let t=r.current,s=a.current;if(s!==e){let r=l.current,i=T(t);e?u("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?u("UNMOUNT"):u(s&&r!==i?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,u]),R(()=>{if(t){let e=e=>{let s=T(r.current).includes(e.animationName);e.target===t&&s&&(0,o.flushSync)(()=>u("ANIMATION_END"))},s=e=>{e.target===t&&(l.current=T(r.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:(0,i.useCallback)(e=>{e&&(r.current=getComputedStyle(e)),s(e)},[])}}function T(e){return(null==e?void 0:e.animationName)||"none"}j.displayName="Presence";let N=(oK||(oK=s.t(i,2)))["useId".toString()]||(()=>{}),D=0;function L(e){let[t,s]=i.useState(N());return R(()=>{e||s(e=>e??String(D++))},[e]),e||(t?`radix-${t}`:"")}let B="Collapsible",[q,F]=p(B),[z,U]=q(B),V=(0,i.forwardRef)((e,t)=>{let{__scopeCollapsible:s,open:r,defaultOpen:o,disabled:a,onOpenChange:l,...f}=e,[u=!1,c]=E({prop:r,defaultProp:o,onChange:l});return(0,i.createElement)(z,{scope:s,disabled:a,contentId:L(),open:u,onOpenToggle:(0,i.useCallback)(()=>c(e=>!e),[c])},(0,i.createElement)(I.div,d({"data-state":Z(u),"data-disabled":a?"":void 0},f,{ref:t})))}),$="CollapsibleTrigger",H=(0,i.forwardRef)((e,t)=>{let{__scopeCollapsible:s,...r}=e,o=U($,s);return(0,i.createElement)(I.button,d({type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Z(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled},r,{ref:t,onClick:x(e.onClick,o.onOpenToggle)}))}),W="CollapsibleContent",K=(0,i.forwardRef)((e,t)=>{let{forceMount:s,...r}=e,o=U(W,e.__scopeCollapsible);return(0,i.createElement)(j,{present:s||o.open},({present:e})=>(0,i.createElement)(G,d({},r,{ref:t,present:e})))}),G=(0,i.forwardRef)((e,t)=>{let{__scopeCollapsible:s,present:r,children:o,...a}=e,l=U(W,s),[f,u]=(0,i.useState)(r),c=(0,i.useRef)(null),p=m(t,c),h=(0,i.useRef)(0),b=h.current,_=(0,i.useRef)(0),g=_.current,v=l.open||f,y=(0,i.useRef)(v),w=(0,i.useRef)();return(0,i.useEffect)(()=>{let e=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(e)},[]),R(()=>{let e=c.current;if(e){w.current=w.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();h.current=t.height,_.current=t.width,y.current||(e.style.transitionDuration=w.current.transitionDuration,e.style.animationName=w.current.animationName),u(r)}},[l.open,r]),(0,i.createElement)(I.div,d({"data-state":Z(l.open),"data-disabled":l.disabled?"":void 0,id:l.contentId,hidden:!v},a,{ref:p,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style}}),v&&o)});function Z(e){return e?"open":"closed"}let Q=V,X=H,Y=K,J=(0,i.createContext)(void 0);function ee(e){let t=(0,i.useContext)(J);return e||t||"ltr"}let et="Accordion",es=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[er,en,ei]=k(et),[eo,ea]=p(et,[ei,F]),el=F(),ef=i.forwardRef((e,t)=>{let{type:s,...r}=e,o=r,a=r;return i.createElement(er.Provider,{scope:e.__scopeAccordion},"multiple"===s?i.createElement(eb,d({},a,{ref:t})):i.createElement(eh,d({},o,{ref:t})))});ef.propTypes={type(e){let t=e.value||e.defaultValue;return e.type&&!["single","multiple"].includes(e.type)?Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`."):"multiple"===e.type&&"string"==typeof t?Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`."):"single"===e.type&&Array.isArray(t)?Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`."):null}};let[eu,ec]=eo(et),[ed,ep]=eo(et,{collapsible:!1}),eh=i.forwardRef((e,t)=>{let{value:s,defaultValue:r,onValueChange:o=()=>{},collapsible:a=!1,...l}=e,[f,u]=E({prop:s,defaultProp:r,onChange:o});return i.createElement(eu,{scope:e.__scopeAccordion,value:f?[f]:[],onItemOpen:u,onItemClose:i.useCallback(()=>a&&u(""),[a,u])},i.createElement(ed,{scope:e.__scopeAccordion,collapsible:a},i.createElement(eg,d({},l,{ref:t}))))}),eb=i.forwardRef((e,t)=>{let{value:s,defaultValue:r,onValueChange:o=()=>{},...a}=e,[l=[],f]=E({prop:s,defaultProp:r,onChange:o}),u=i.useCallback(e=>f((t=[])=>[...t,e]),[f]),c=i.useCallback(e=>f((t=[])=>t.filter(t=>t!==e)),[f]);return i.createElement(eu,{scope:e.__scopeAccordion,value:l,onItemOpen:u,onItemClose:c},i.createElement(ed,{scope:e.__scopeAccordion,collapsible:!0},i.createElement(eg,d({},a,{ref:t}))))}),[e_,em]=eo(et),eg=i.forwardRef((e,t)=>{let{__scopeAccordion:s,disabled:r,dir:o,orientation:a="vertical",...l}=e,f=m(i.useRef(null),t),u=en(s),c="ltr"===ee(o),p=x(e.onKeyDown,e=>{var t;if(!es.includes(e.key))return;let s=e.target,r=u().filter(e=>{var t;return!(null!==(t=e.ref.current)&&void 0!==t&&t.disabled)}),i=r.findIndex(e=>e.ref.current===s),o=r.length;if(-1===i)return;e.preventDefault();let l=i,f=0,d=o-1,p=()=>{(l=i+1)>d&&(l=f)},h=()=>{(l=i-1)<f&&(l=d)};switch(e.key){case"Home":l=f;break;case"End":l=d;break;case"ArrowRight":"horizontal"===a&&(c?p():h());break;case"ArrowDown":"vertical"===a&&p();break;case"ArrowLeft":"horizontal"===a&&(c?h():p());break;case"ArrowUp":"vertical"===a&&h()}null===(t=r[l%o].ref.current)||void 0===t||t.focus()});return i.createElement(e_,{scope:s,disabled:r,direction:o,orientation:a},i.createElement(er.Slot,{scope:s},i.createElement(I.div,d({},l,{"data-orientation":a,ref:f,onKeyDown:r?void 0:p}))))}),ev="AccordionItem",[ey,ew]=eo(ev),eC=i.forwardRef((e,t)=>{let{__scopeAccordion:s,value:r,...o}=e,a=em(ev,s),l=ec(ev,s),f=el(s),u=L(),c=r&&l.value.includes(r)||!1,p=a.disabled||e.disabled;return i.createElement(ey,{scope:s,open:c,disabled:p,triggerId:u},i.createElement(Q,d({"data-orientation":a.orientation,"data-state":eA(c)},f,o,{ref:t,disabled:p,open:c,onOpenChange:e=>{e?l.onItemOpen(r):l.onItemClose(r)}})))}),ek="AccordionHeader",ex=i.forwardRef((e,t)=>{let{__scopeAccordion:s,...r}=e,o=em(et,s),a=ew(ek,s);return i.createElement(I.h3,d({"data-orientation":o.orientation,"data-state":eA(a.open),"data-disabled":a.disabled?"":void 0},r,{ref:t}))}),eS="AccordionTrigger",eE=i.forwardRef((e,t)=>{let{__scopeAccordion:s,...r}=e,o=em(et,s),a=ew(eS,s),l=ep(eS,s),f=el(s);return i.createElement(er.ItemSlot,{scope:s},i.createElement(X,d({"aria-disabled":a.open&&!l.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId},f,r,{ref:t})))}),eM="AccordionContent",eI=i.forwardRef((e,t)=>{let{__scopeAccordion:s,...r}=e,o=em(et,s),a=ew(eM,s),l=el(s);return i.createElement(Y,d({role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation},l,r,{ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}}))});function eA(e){return e?"open":"closed"}let eR=ef,eO=eC,ej=ex,eP=eE,eT=eI;function eN(...e){let t=e.filter(e=>!!e&&" "!==e).map(e=>null==e?void 0:e.toString().trim());return 0===t.length?void 0:t.join(" ")}function eD(e,t){let s=!1,r={},i={},o={};for(let a in e)"_"===a[0]&&"_"===a[1]?o[a.substring(2)]=e[a]:t.properties.has(a)?(s=!0,r[a]=e[a]):i[a]=e[a];return{hasAtomProps:s,atomProps:r,otherProps:i,customProps:o}}function eL({atoms:e,defaultClassName:t}){let s=(0,i.forwardRef)(({as:s="div",className:r,style:o,...a},l)=>{let{atomProps:f,customProps:u,otherProps:c}=eD(a,e);return(0,i.createElement)(s,{ref:l,style:{...o,...u},...c,className:eN(r,e(f),t)})});return s.displayName="DessertBox",s}var eB={spacing:{0:"var(--mu-spacing-0)",1:"var(--mu-spacing-1)",2:"var(--mu-spacing-2)",3:"var(--mu-spacing-3)",4:"var(--mu-spacing-4)",5:"var(--mu-spacing-5)",6:"var(--mu-spacing-6)",7:"var(--mu-spacing-7)",8:"var(--mu-spacing-8)",9:"var(--mu-spacing-9)",10:"var(--mu-spacing-10)",11:"var(--mu-spacing-11)",12:"var(--mu-spacing-12)",14:"var(--mu-spacing-14)",16:"var(--mu-spacing-16)",20:"var(--mu-spacing-20)",24:"var(--mu-spacing-24)",28:"var(--mu-spacing-28)",32:"var(--mu-spacing-32)",36:"var(--mu-spacing-36)",40:"var(--mu-spacing-40)",44:"var(--mu-spacing-44)",48:"var(--mu-spacing-48)",52:"var(--mu-spacing-52)",px:"var(--mu-spacing-px)","0.5":"var(--mu-spacing-0-5)","1.5":"var(--mu-spacing-1-5)","2.5":"var(--mu-spacing-2-5)","3.5":"var(--mu-spacing-3-5)"},colors:{foreground:{textNeutralPlain:"var(--mu-colors-foreground-text-neutral-plain)",textNeutralDefault:"var(--mu-colors-foreground-text-neutral-default)",textNeutralSubdued:"var(--mu-colors-foreground-text-neutral-subdued)",textNeutralDisabled:"var(--mu-colors-foreground-text-neutral-disabled)",textNeutralContrasted:"var(--mu-colors-foreground-text-neutral-contrasted)",textBrandDefault:"var(--mu-colors-foreground-text-brand-default)",textBrandSubdued:"var(--mu-colors-foreground-text-brand-subdued)",textBrandDisabled:"var(--mu-colors-foreground-text-brand-disabled)",textCriticalDefault:"var(--mu-colors-foreground-text-critical-default)",textCriticalSubdued:"var(--mu-colors-foreground-text-critical-subdued)",textCriticalDisabled:"var(--mu-colors-foreground-text-critical-disabled)",iconNeutralPlain:"var(--mu-colors-foreground-icon-neutral-plain)",iconNeutralDefault:"var(--mu-colors-foreground-icon-neutral-default)",iconNeutralSubdued:"var(--mu-colors-foreground-icon-neutral-subdued)",iconNeutralDisabled:"var(--mu-colors-foreground-icon-neutral-disabled)",iconNeutralContrasted:"var(--mu-colors-foreground-icon-neutral-contrasted)",iconBrandDefault:"var(--mu-colors-foreground-icon-brand-default)",iconBrandSubdued:"var(--mu-colors-foreground-icon-brand-subdued)",iconBrandDisabled:"var(--mu-colors-foreground-icon-brand-disabled)",iconCriticalDefault:"var(--mu-colors-foreground-icon-critical-default)",iconCriticalSubdued:"var(--mu-colors-foreground-icon-critical-subdued)",iconCriticalDisabled:"var(--mu-colors-foreground-icon-critical-disabled)",text1Decorative:"var(--mu-colors-foreground-text1-decorative)",text2Decorative:"var(--mu-colors-foreground-text2-decorative)",text3Decorative:"var(--mu-colors-foreground-text3-decorative)",icon1Decorative:"var(--mu-colors-foreground-icon1-decorative)",icon2Decorative:"var(--mu-colors-foreground-icon2-decorative)",icon3Decorative:"var(--mu-colors-foreground-icon3-decorative)"},background:{plain:"var(--mu-colors-background-plain)",subdued:"var(--mu-colors-background-subdued)",highlightDim:"var(--mu-colors-background-highlight-dim)",highlightPale:"var(--mu-colors-background-highlight-pale)",surfaceNeutralPlain:"var(--mu-colors-background-surface-neutral-plain)",surfaceNeutralSubdued:"var(--mu-colors-background-surface-neutral-subdued)",surfaceNeutralDepressed:"var(--mu-colors-background-surface-neutral-depressed)",surfaceNeutralHighlight:"var(--mu-colors-background-surface-neutral-highlight)",surfaceBrandSubdued:"var(--mu-colors-background-surface-brand-subdued)",surfaceBrandDepressed:"var(--mu-colors-background-surface-brand-depressed)",surfaceBrandHighlight:"var(--mu-colors-background-surface-brand-highlight)",surfaceCriticalSubdued:"var(--mu-colors-background-surface-critical-subdued)",surfaceCriticalDepressed:"var(--mu-colors-background-surface-critical-depressed)",surfaceCriticalHighlight:"var(--mu-colors-background-surface-critical-highlight)",interactiveNeutralDefault:"var(--mu-colors-background-interactive-neutral-default)",interactiveNeutralHovering:"var(--mu-colors-background-interactive-neutral-hovering)",interactiveNeutralPressing:"var(--mu-colors-background-interactive-neutral-pressing)",interactiveNeutralFocused:"var(--mu-colors-background-interactive-neutral-focused)",interactiveNeutralDisabled:"var(--mu-colors-background-interactive-neutral-disabled)",interactiveBrandDefault:"var(--mu-colors-background-interactive-brand-default)",interactiveBrandHovering:"var(--mu-colors-background-interactive-brand-hovering)",interactiveBrandPressing:"var(--mu-colors-background-interactive-brand-pressing)",interactiveBrandFocused:"var(--mu-colors-background-interactive-brand-focused)",interactiveBrandDisabled:"var(--mu-colors-background-interactive-brand-disabled)",interactiveCriticalDefault:"var(--mu-colors-background-interactive-critical-default)",interactiveCriticalHovering:"var(--mu-colors-background-interactive-critical-hovering)",interactiveCriticalPressing:"var(--mu-colors-background-interactive-critical-pressing)",interactiveCriticalFocused:"var(--mu-colors-background-interactive-critical-focused)",interactiveCriticalDisabled:"var(--mu-colors-background-interactive-critical-disabled)",interactiveNeutralSecondaryDefault:"var(--mu-colors-background-interactive-neutral-secondary-default)",interactiveNeutralSecondaryHovering:"var(--mu-colors-background-interactive-neutral-secondary-hovering)",interactiveNeutralSecondaryPressing:"var(--mu-colors-background-interactive-neutral-secondary-pressing)",interactiveNeutralSecondaryFocused:"var(--mu-colors-background-interactive-neutral-secondary-focused)",interactiveNeutralSecondaryDisabled:"var(--mu-colors-background-interactive-neutral-secondary-disabled)",interactiveBrandSecondaryDefault:"var(--mu-colors-background-interactive-brand-secondary-default)",interactiveBrandSecondaryHovering:"var(--mu-colors-background-interactive-brand-secondary-hovering)",interactiveBrandSecondaryPressing:"var(--mu-colors-background-interactive-brand-secondary-pressing)",interactiveBrandSecondaryFocused:"var(--mu-colors-background-interactive-brand-secondary-focused)",interactiveBrandSecondaryDisabled:"var(--mu-colors-background-interactive-brand-secondary-disabled)",interactiveCriticalSecondaryDefault:"var(--mu-colors-background-interactive-critical-secondary-default)",interactiveCriticalSecondaryHovering:"var(--mu-colors-background-interactive-critical-secondary-hovering)",interactiveCriticalSecondaryPressing:"var(--mu-colors-background-interactive-critical-secondary-pressing)",interactiveCriticalSecondaryFocused:"var(--mu-colors-background-interactive-critical-secondary-focused)",interactiveCriticalSecondaryDisabled:"var(--mu-colors-background-interactive-critical-secondary-disabled)",interactiveNeutralHighlightDefault:"var(--mu-colors-background-interactive-neutral-highlight-default)",interactiveNeutralHighlightHovering:"var(--mu-colors-background-interactive-neutral-highlight-hovering)",interactiveNeutralHighlightPressing:"var(--mu-colors-background-interactive-neutral-highlight-pressing)",interactiveNeutralHighlightFocused:"var(--mu-colors-background-interactive-neutral-highlight-focused)",interactiveNeutralHighlightDisabled:"var(--mu-colors-background-interactive-neutral-highlight-disabled)",interactiveBrandHighlightDefault:"var(--mu-colors-background-interactive-brand-highlight-default)",interactiveBrandHighlightHovering:"var(--mu-colors-background-interactive-brand-highlight-hovering)",interactiveBrandHighlightPressing:"var(--mu-colors-background-interactive-brand-highlight-pressing)",interactiveBrandHighlightFocused:"var(--mu-colors-background-interactive-brand-highlight-focused)",interactiveBrandHighlightDisabled:"var(--mu-colors-background-interactive-brand-highlight-disabled)",interactiveCriticalHighlightDefault:"var(--mu-colors-background-interactive-critical-highlight-default)",interactiveCriticalHighlightHovering:"var(--mu-colors-background-interactive-critical-highlight-hovering)",interactiveCriticalHighlightPressing:"var(--mu-colors-background-interactive-critical-highlight-pressing)",interactiveCriticalHighlightFocused:"var(--mu-colors-background-interactive-critical-highlight-focused)",interactiveCriticalHighlightDisabled:"var(--mu-colors-background-interactive-critical-highlight-disabled)",decorativeSurfacePlain1:"var(--mu-colors-background-decorative-surface-plain1)",decorativeSurfacePlain2:"var(--mu-colors-background-decorative-surface-plain2)",decorativeSurfacePlain3:"var(--mu-colors-background-decorative-surface-plain3)",decorativeSurfaceSubdued1:"var(--mu-colors-background-decorative-surface-subdued1)",decorativeSurfaceSubdued2:"var(--mu-colors-background-decorative-surface-subdued2)",decorativeSurfaceSubdued3:"var(--mu-colors-background-decorative-surface-subdued3)"},border:{neutralDefault:"var(--mu-colors-border-neutral-default)",neutralSubdued:"var(--mu-colors-border-neutral-subdued)",neutralHighlight:"var(--mu-colors-border-neutral-highlight)",neutralPlain:"var(--mu-colors-border-neutral-plain)",brandPlain:"var(--mu-colors-border-brand-plain)",brandDefault:"var(--mu-colors-border-brand-default)",brandSubdued:"var(--mu-colors-border-brand-subdued)",brandHighlight:"var(--mu-colors-border-brand-highlight)",criticalPlain:"var(--mu-colors-border-critical-plain)",criticalDefault:"var(--mu-colors-border-critical-default)",criticalSubdued:"var(--mu-colors-border-critical-subdued)",criticalHighlight:"var(--mu-colors-border-critical-highlight)"}},fontSize:{heroLarge:"var(--mu-font-size-hero-large)",heroMedium:"var(--mu-font-size-hero-medium)",heroSmall:"var(--mu-font-size-hero-small)",titleLarge:"var(--mu-font-size-title-large)",titleMedium:"var(--mu-font-size-title-medium)",titleSmall:"var(--mu-font-size-title-small)",headingLarge:"var(--mu-font-size-heading-large)",headingMedium:"var(--mu-font-size-heading-medium)",headingSmall:"var(--mu-font-size-heading-small)",bodyStrongLarge:"var(--mu-font-size-body-strong-large)",bodyStrongMedium:"var(--mu-font-size-body-strong-medium)",bodyStrongSmall:"var(--mu-font-size-body-strong-small)",bodyEmpLarge:"var(--mu-font-size-body-emp-large)",bodyEmpMedium:"var(--mu-font-size-body-emp-medium)",bodyEmpSmall:"var(--mu-font-size-body-emp-small)",bodyLarge:"var(--mu-font-size-body-large)",bodyMedium:"var(--mu-font-size-body-medium)",bodySmall:"var(--mu-font-size-body-small)",buttonLarge:"var(--mu-font-size-button-large)",buttonMedium:"var(--mu-font-size-button-medium)",buttonSmall:"var(--mu-font-size-button-small)",captionLarge:"var(--mu-font-size-caption-large)",captionMedium:"var(--mu-font-size-caption-medium)",captionSmall:"var(--mu-font-size-caption-small)"},borderRadius:{1:"var(--mu-border-radius-1)",2:"var(--mu-border-radius-2)",3:"var(--mu-border-radius-3)",4:"var(--mu-border-radius-4)",5:"var(--mu-border-radius-5)",6:"var(--mu-border-radius-6)",7:"var(--mu-border-radius-7)",8:"var(--mu-border-radius-8)",9:"var(--mu-border-radius-9)"},lineHeight:{1:"var(--mu-line-height-1)",heroLarge:"var(--mu-line-height-hero-large)",heroMedium:"var(--mu-line-height-hero-medium)",heroSmall:"var(--mu-line-height-hero-small)",titleLarge:"var(--mu-line-height-title-large)",titleMedium:"var(--mu-line-height-title-medium)",titleSmall:"var(--mu-line-height-title-small)",headingLarge:"var(--mu-line-height-heading-large)",headingMedium:"var(--mu-line-height-heading-medium)",headingSmall:"var(--mu-line-height-heading-small)",bodyStrongLarge:"var(--mu-line-height-body-strong-large)",bodyStrongMedium:"var(--mu-line-height-body-strong-medium)",bodyStrongSmall:"var(--mu-line-height-body-strong-small)",bodyEmpLarge:"var(--mu-line-height-body-emp-large)",bodyEmpMedium:"var(--mu-line-height-body-emp-medium)",bodyEmpSmall:"var(--mu-line-height-body-emp-small)",bodyLarge:"var(--mu-line-height-body-large)",bodyMedium:"var(--mu-line-height-body-medium)",bodySmall:"var(--mu-line-height-body-small)",buttonLarge:"var(--mu-line-height-button-large)",buttonMedium:"var(--mu-line-height-button-medium)",buttonSmall:"var(--mu-line-height-button-small)",captionLarge:"var(--mu-line-height-caption-large)",captionMedium:"var(--mu-line-height-caption-medium)",captionSmall:"var(--mu-line-height-caption-small)"},fontWeight:{heroLarge:"var(--mu-font-weight-hero-large)",heroMedium:"var(--mu-font-weight-hero-medium)",heroSmall:"var(--mu-font-weight-hero-small)",titleLarge:"var(--mu-font-weight-title-large)",titleMedium:"var(--mu-font-weight-title-medium)",titleSmall:"var(--mu-font-weight-title-small)",headingLarge:"var(--mu-font-weight-heading-large)",headingMedium:"var(--mu-font-weight-heading-medium)",headingSmall:"var(--mu-font-weight-heading-small)",bodyStrongLarge:"var(--mu-font-weight-body-strong-large)",bodyStrongMedium:"var(--mu-font-weight-body-strong-medium)",bodyStrongSmall:"var(--mu-font-weight-body-strong-small)",bodyEmpLarge:"var(--mu-font-weight-body-emp-large)",bodyEmpMedium:"var(--mu-font-weight-body-emp-medium)",bodyEmpSmall:"var(--mu-font-weight-body-emp-small)",bodyLarge:"var(--mu-font-weight-body-large)",bodyMedium:"var(--mu-font-weight-body-medium)",bodySmall:"var(--mu-font-weight-body-small)",buttonLarge:"var(--mu-font-weight-button-large)",buttonMedium:"var(--mu-font-weight-button-medium)",buttonSmall:"var(--mu-font-weight-button-small)",captionLarge:"var(--mu-font-weight-caption-large)",captionMedium:"var(--mu-font-weight-caption-medium)",captionSmall:"var(--mu-font-weight-caption-small)"},letterSpacing:{heroLarge:"var(--mu-letter-spacing-hero-large)",heroMedium:"var(--mu-letter-spacing-hero-medium)",heroSmall:"var(--mu-letter-spacing-hero-small)",titleLarge:"var(--mu-letter-spacing-title-large)",titleMedium:"var(--mu-letter-spacing-title-medium)",titleSmall:"var(--mu-letter-spacing-title-small)",headingLarge:"var(--mu-letter-spacing-heading-large)",headingMedium:"var(--mu-letter-spacing-heading-medium)",headingSmall:"var(--mu-letter-spacing-heading-small)",bodyStrongLarge:"var(--mu-letter-spacing-body-strong-large)",bodyStrongMedium:"var(--mu-letter-spacing-body-strong-medium)",bodyStrongSmall:"var(--mu-letter-spacing-body-strong-small)",bodyEmpLarge:"var(--mu-letter-spacing-body-emp-large)",bodyEmpMedium:"var(--mu-letter-spacing-body-emp-medium)",bodyEmpSmall:"var(--mu-letter-spacing-body-emp-small)",bodyLarge:"var(--mu-letter-spacing-body-large)",bodyMedium:"var(--mu-letter-spacing-body-medium)",bodySmall:"var(--mu-letter-spacing-body-small)",buttonLarge:"var(--mu-letter-spacing-button-large)",buttonMedium:"var(--mu-letter-spacing-button-medium)",buttonSmall:"var(--mu-letter-spacing-button-small)",captionLarge:"var(--mu-letter-spacing-caption-large)",captionMedium:"var(--mu-letter-spacing-caption-medium)",captionSmall:"var(--mu-letter-spacing-caption-small)"},boxShadow:{interactiveDefaultFocused:"var(--mu-box-shadow-interactive-default-focused)",interactiveDefaultHovering:"var(--mu-box-shadow-interactive-default-hovering)",overlay:"var(--mu-box-shadow-overlay)",modal:"var(--mu-box-shadow-modal)"},borderWidth:{0:"var(--mu-border-width-0)",1:"var(--mu-border-width-1)"}};function eq(e){var t=e.match(/^var\((.*)\)$/);return t?t[1]:e}function eF(e,t){var s=e;for(var r of t){if(!(r in s))throw Error("Path ".concat(t.join(" -> ")," does not exist in object"));s=s[r]}return s}function ez(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=e.constructor();for(var i in e){var o=e[i],a=[...s,i];"string"==typeof o||"number"==typeof o||null==o?r[i]=t(o,a):"object"!=typeof o||Array.isArray(o)?console.warn('Skipping invalid key "'.concat(a.join("."),'". Should be a string, number, null or object. Received: "').concat(Array.isArray(o)?"Array":typeof o,'"')):r[i]=ez(o,t,a)}return r}function eU(e,t,s){e.style.setProperty(eq(t),s)}function eV(e,t,s){if("object"==typeof s){var r=t;ez(s,(t,s)=>{eU(e,eF(r,s),String(t))})}else{var i=t;for(var o in i)eU(e,o,i[o])}}let e$={0:"0px",px:"1px",.5:"2px",1:"4px",1.5:"6px",2:"8px",2.5:"10px",3:"12px",3.5:"14px",4:"16px",5:"20px",6:"24px",7:"28px",8:"32px",9:"36px",10:"40px",11:"44px",12:"48px",14:"56px",16:"64px",20:"80px",24:"96px",28:"112px",32:"128px",36:"144px",40:"160px",44:"176px",48:"192px",52:"208px"},eH={heroLarge:"34px",heroMedium:"28px",heroSmall:"24px",titleLarge:"22px",titleMedium:"20px",titleSmall:"18px",headingLarge:"18px",headingMedium:"16px",headingSmall:"14px",bodyStrongLarge:"16px",bodyStrongMedium:"14px",bodyStrongSmall:"13px",bodyEmpLarge:"16px",bodyEmpMedium:"14px",bodyEmpSmall:"13px",bodyLarge:"16px",bodyMedium:"14px",bodySmall:"13px",buttonLarge:"16px",buttonMedium:"14px",buttonSmall:"13px",captionLarge:"13px",captionMedium:"12px",captionSmall:"11px"},eW={1:"2px",2:"4px",3:"6px",4:"8px",5:"12px",6:"14px",7:"16px",8:"18px",9:"20px"},eK={1:"1",heroLarge:"40px",heroMedium:"36px",heroSmall:"30px",titleLarge:"28px",titleMedium:"26px",titleSmall:"24px",headingLarge:"24px",headingMedium:"22px",headingSmall:"18px",bodyStrongLarge:"24px",bodyStrongMedium:"22px",bodyStrongSmall:"20px",bodyEmpLarge:"24px",bodyEmpMedium:"22px",bodyEmpSmall:"20px",bodyLarge:"24px",bodyMedium:"22px",bodySmall:"20px",buttonLarge:"24px",buttonMedium:"22px",buttonSmall:"20px",captionLarge:"20px",captionMedium:"18px",captionSmall:"16px"},eG={heroLarge:"580",heroMedium:"580",heroSmall:"500",titleLarge:"380",titleMedium:"380",titleSmall:"380",headingLarge:"600",headingMedium:"600",headingSmall:"600",bodyStrongLarge:"600",bodyStrongMedium:"600",bodyStrongSmall:"600",bodyEmpLarge:"500",bodyEmpMedium:"500",bodyEmpSmall:"500",bodyLarge:"440",bodyMedium:"440",bodySmall:"440",buttonLarge:"580",buttonMedium:"580",buttonSmall:"580",captionLarge:"380",captionMedium:"440",captionSmall:"480"},eZ={heroLarge:"-0.01em",heroMedium:"-0.01em",heroSmall:"-0.01em",titleLarge:"normal",titleMedium:"normal",titleSmall:"normal",headingLarge:"normal",headingMedium:"normal",headingSmall:"0.01em",bodyStrongLarge:"0.01em",bodyStrongMedium:"0.01em",bodyStrongSmall:"0.015em",bodyEmpLarge:"0.01em",bodyEmpMedium:"0.01em",bodyEmpSmall:"0.015em",bodyLarge:"0.01em",bodyMedium:"0.01em",bodySmall:"0.015em",buttonLarge:"0.02em",buttonMedium:"0.02em",buttonSmall:"0.025em",captionLarge:"0.01em",captionMedium:"0.015em",captionSmall:"0.025em"},eQ={0:"0px",1:"1px"},eX={spacing:e$,colors:{foreground:{textNeutralPlain:"hsla(210, 25%, 84%, 1)",textNeutralDefault:"hsla(0, 0%, 100%, 1)",textNeutralSubdued:"hsla(230, 10%, 53%, 1)",textNeutralDisabled:"hsla(212, 19%, 39%, 1)",textNeutralContrasted:"hsla(212, 44%, 13%, 1)",textBrandDefault:"hsla(215, 100%, 83%, 1)",textBrandSubdued:"hsla(215, 70%, 51%, 1)",textBrandDisabled:"hsla(215, 87%, 42%, 1)",textCriticalDefault:"hsla(11, 100%, 82%, 1)",textCriticalSubdued:"hsla(11, 100%, 58%, 1)",textCriticalDisabled:"hsla(11, 100%, 37%, 1)",iconNeutralPlain:"hsla(211, 18%, 70%, 1)",iconNeutralDefault:"hsla(0, 0%, 100%, 1)",iconNeutralSubdued:"hsla(231, 10%, 41%, 1)",iconNeutralDisabled:"hsla(212, 25%, 34%, 1)",iconNeutralContrasted:"hsla(211, 44%, 13%, 1)",iconBrandDefault:"hsla(215, 100%, 73%, 1)",iconBrandSubdued:"hsla(215, 83%, 52%, 1)",iconBrandDisabled:"hsla(215, 100%, 41%, 1)",iconCriticalDefault:"hsla(11, 100%, 72%, 1)",iconCriticalSubdued:"hsla(11, 100%, 45%, 1)",iconCriticalDisabled:"hsla(11, 100%, 37%, 1)",text1Decorative:"hsla(281, 99%, 89%, 1)",text2Decorative:"hsla(173, 79%, 62%, 1)",text3Decorative:"hsla(234, 100%, 90%, 1)",icon1Decorative:"hsla(281, 99%, 79%, 1)",icon2Decorative:"hsla(173, 100%, 39%, 1)",icon3Decorative:"hsla(234, 91%, 81%, 1)"},background:{plain:"hsla(232, 17%, 18%, 1)",subdued:"hsla(231, 17%, 16%, 1)",highlightDim:"hsla(0, 0%, 0%, 0.6)",highlightPale:"hsla(211, 42%, 16%, 0.6)",surfaceNeutralPlain:"hsla(232, 17%, 18%, 1)",surfaceNeutralSubdued:"hsla(211, 42%, 14%, 1)",surfaceNeutralDepressed:"hsla(211, 42%, 12%, 1)",surfaceNeutralHighlight:"hsla(0, 0%, 100%, 0.04)",surfaceBrandSubdued:"hsla(215, 100%, 21%, 1)",surfaceBrandDepressed:"hsla(215, 100%, 27%, 1)",surfaceBrandHighlight:"hsla(215, 100%, 51%, 0.12)",surfaceCriticalSubdued:"hsla(11, 81%, 19%, 1)",surfaceCriticalDepressed:"hsla(11, 100%, 25%, 1)",surfaceCriticalHighlight:"hsla(11, 100%, 46%, 0.18)",interactiveNeutralDefault:"hsla(0, 0%, 100%, 1)",interactiveNeutralHovering:"hsla(211, 24%, 86%, 1)",interactiveNeutralPressing:"hsla(211, 16%, 68%, 1)",interactiveNeutralFocused:"hsla(210, 24%, 86%, 1)",interactiveNeutralDisabled:"hsla(211, 32%, 21%, 1)",interactiveBrandDefault:"hsla(215, 100%, 62%, 1)",interactiveBrandHovering:"hsla(215, 100%, 50%, 1)",interactiveBrandPressing:"hsla(215, 100%, 31%, 1)",interactiveBrandFocused:"hsla(215, 100%, 62%, 1)",interactiveBrandDisabled:"hsla(211, 33%, 21%, 1)",interactiveCriticalDefault:"hsla(11, 100%, 56%, 1)",interactiveCriticalHovering:"hsla(11, 100%, 42%, 1)",interactiveCriticalPressing:"hsla(11, 100%, 29%, 1)",interactiveCriticalFocused:"hsla(11, 100%, 42%, 1)",interactiveCriticalDisabled:"hsla(211, 33%, 21%, 1)",interactiveNeutralSecondaryDefault:"hsla(211, 42%, 16%, 1)",interactiveNeutralSecondaryHovering:"hsla(211, 32%, 19%, 1)",interactiveNeutralSecondaryPressing:"hsla(211, 24%, 26%, 1)",interactiveNeutralSecondaryFocused:"hsla(211, 32%, 19%, 1)",interactiveNeutralSecondaryDisabled:"hsla(211, 42%, 16%, 1)",interactiveBrandSecondaryDefault:"hsla(211, 42%, 16%, 1)",interactiveBrandSecondaryHovering:"hsla(215, 100%, 18%, 1)",interactiveBrandSecondaryPressing:"hsla(215, 100%, 27%, 1)",interactiveBrandSecondaryFocused:"hsla(215, 100%, 18%, 1)",interactiveBrandSecondaryDisabled:"hsla(211, 42%, 16%, 1)",interactiveCriticalSecondaryDefault:"hsla(211, 42%, 16%, 1)",interactiveCriticalSecondaryHovering:"hsla(11, 100%, 16%, 1)",interactiveCriticalSecondaryPressing:"hsla(11, 100%, 24%, 1)",interactiveCriticalSecondaryFocused:"hsla(11, 100%, 16%, 1)",interactiveCriticalSecondaryDisabled:"hsla(211, 42%, 16%, 1)",interactiveNeutralHighlightDefault:"hsla(180, 4%, 15%, 0)",interactiveNeutralHighlightHovering:"hsla(0, 0%, 100%, 0.06)",interactiveNeutralHighlightPressing:"hsla(0, 0%, 100%, 0.12)",interactiveNeutralHighlightFocused:"hsla(0, 0%, 100%, 0.06)",interactiveNeutralHighlightDisabled:"hsla(0, 0%, 100%, 0)",interactiveBrandHighlightDefault:"hsla(215, 100%, 51%, 0)",interactiveBrandHighlightHovering:"hsla(215, 100%, 51%, 0.16)",interactiveBrandHighlightPressing:"hsla(215, 100%, 51%, 0.32)",interactiveBrandHighlightFocused:"hsla(215, 100%, 51%, 0.16)",interactiveBrandHighlightDisabled:"hsla(215, 100%, 51%, 0)",interactiveCriticalHighlightDefault:"hsla(212, 44%, 13%, 0)",interactiveCriticalHighlightHovering:"hsla(11, 100%, 46%, 0.2)",interactiveCriticalHighlightPressing:"hsla(11, 100%, 46%, 0.32)",interactiveCriticalHighlightFocused:"hsla(11, 100%, 46%, 0.2)",interactiveCriticalHighlightDisabled:"hsla(11, 100%, 46%, 0)",decorativeSurfacePlain1:"hsla(281, 99%, 68%, 1)",decorativeSurfacePlain2:"hsla(173, 100%, 32%, 1)",decorativeSurfacePlain3:"hsla(234, 100%, 73%, 1)",decorativeSurfaceSubdued1:"hsla(281, 88%, 30%, 1)",decorativeSurfaceSubdued2:"hsla(173, 43%, 19%, 1)",decorativeSurfaceSubdued3:"hsla(234, 67%, 39%, 1)"},border:{neutralPlain:"hsla(231, 18%, 23%, 1)",neutralDefault:"hsla(212, 24%, 32%, 1)",neutralSubdued:"hsla(211, 21%, 39%, 1)",neutralHighlight:"hsla(0, 0%, 100%, 0.04)",brandPlain:"hsla(210, 32%, 25%, 1)",brandDefault:"hsla(215, 100%, 39%, 1)",brandSubdued:"hsla(215, 94%, 51%, 1)",brandHighlight:"hsla(215, 100%, 51%, 0.12)",criticalPlain:"hsla(11, 100%, 25%, 1)",criticalDefault:"hsla(11, 100%, 35%, 1)",criticalSubdued:"hsla(11, 100%, 45%, 1)",criticalHighlight:"hsla(11, 100%, 46%, 0.18)"}},fontSize:eH,borderRadius:eW,lineHeight:eK,fontWeight:eG,letterSpacing:eZ,boxShadow:{interactiveDefaultFocused:"0px 1px 1px 0px hsla(0, 0%, 0%, 0.32)",interactiveDefaultHovering:"0px 2px 3px 0px hsla(0, 0%, 0%, 0.28)",overlay:"0px 3px 8px 0px hsla(0, 0%, 0%, 0.24)",modal:"0px 8px 16px 0px hsla(0, 0%, 0%, 0.2)"},borderWidth:eQ},eY={defaultLight:{spacing:e$,colors:{foreground:{textNeutralPlain:"hsla(210, 25%, 26%, 1)",textNeutralDefault:"hsla(180, 4%, 15%, 1)",textNeutralSubdued:"hsla(180, 1%, 49%, 1)",textNeutralDisabled:"hsla(212, 14%, 67%, 1)",textNeutralContrasted:"hsla(0, 0%, 100%, 1)",textBrandDefault:"hsla(215, 100%, 32%, 1)",textBrandSubdued:"hsla(215, 58%, 51%, 1)",textBrandDisabled:"hsla(215, 100%, 72%, 1)",textCriticalDefault:"hsla(11, 100%, 29%, 1)",textCriticalSubdued:"hsla(11, 100%, 45%, 1)",textCriticalDisabled:"hsla(11, 100%, 71%, 1)",iconNeutralPlain:"hsla(211, 18%, 36%, 1)",iconNeutralDefault:"hsla(180, 4%, 15%, 1)",iconNeutralSubdued:"hsla(180, 1%, 49%, 1)",iconNeutralDisabled:"hsla(212, 14%, 75%, 1)",iconNeutralContrasted:"hsla(0, 0%, 100%, 1)",iconBrandDefault:"hsla(215, 100%, 40%, 1)",iconBrandSubdued:"hsla(215, 83%, 61%, 1)",iconBrandDisabled:"hsla(215, 100%, 72%, 1)",iconCriticalDefault:"hsla(11, 100%, 36%, 1)",iconCriticalSubdued:"hsla(11, 100%, 57%, 1)",iconCriticalDisabled:"hsla(11, 100%, 72%, 1)",text1Decorative:"hsla(281, 99%, 31%, 1)",text2Decorative:"hsla(173, 97%, 15%, 1)",text3Decorative:"hsla(234, 100%, 42%, 1)",icon1Decorative:"hsla(281, 99%, 41%, 1)",icon2Decorative:"hsla(173, 100%, 20%, 1)",icon3Decorative:"hsla(234, 96%, 56%, 1)"},background:{plain:"hsla(0, 0%, 100%, 1)",subdued:"hsla(120, 11%, 98%, 1)",highlightDim:"hsla(0, 0%, 0%, 0.6)",highlightPale:"hsla(0, 0%, 100%, 0.6)",surfaceNeutralPlain:"hsla(0, 0%, 100%, 1)",surfaceNeutralSubdued:"hsla(120, 11%, 98%, 1)",surfaceNeutralDepressed:"hsla(180, 1%, 85%, 1)",surfaceNeutralHighlight:"hsla(212, 44%, 13%, 0.06)",surfaceBrandSubdued:"hsla(215, 100%, 96%, 1)",surfaceBrandDepressed:"hsla(215, 100%, 88%, 1)",surfaceBrandHighlight:"hsla(215, 100%, 51%, 0.08)",surfaceCriticalSubdued:"hsla(11, 100%, 96%, 1)",surfaceCriticalDepressed:"hsla(11, 100%, 88%, 1)",surfaceCriticalHighlight:"hsla(11, 100%, 46%, 0.08)",interactiveNeutralDefault:"hsla(211, 45%, 13%, 1)",interactiveNeutralHovering:"hsla(211, 22%, 26%, 1)",interactiveNeutralPressing:"hsla(211, 45%, 3%, 1)",interactiveNeutralFocused:"hsla(211, 22%, 26%, 1)",interactiveNeutralDisabled:"hsla(211, 16%, 94%, 1)",interactiveBrandDefault:"hsla(215, 100%, 51%, 1)",interactiveBrandHovering:"hsla(215, 100%, 62%, 1)",interactiveBrandPressing:"hsla(215, 100%, 31%, 1)",interactiveBrandFocused:"hsla(215, 100%, 62%, 1)",interactiveBrandDisabled:"hsla(211, 16%, 94%, 1)",interactiveCriticalDefault:"hsla(11, 100%, 46%, 1)",interactiveCriticalHovering:"hsla(11, 100%, 63%, 1)",interactiveCriticalPressing:"hsla(11, 100%, 29%, 1)",interactiveCriticalFocused:"hsla(11, 100%, 63%, 1)",interactiveCriticalDisabled:"hsla(204, 16%, 94%, 1)",interactiveNeutralSecondaryDefault:"hsla(0, 0%, 100%, 1)",interactiveNeutralSecondaryHovering:"hsla(220, 18%, 97%, 1)",interactiveNeutralSecondaryPressing:"hsla(210, 15%, 87%, 1)",interactiveNeutralSecondaryFocused:"hsla(220, 18%, 97%, 1)",interactiveNeutralSecondaryDisabled:"hsla(0, 0%, 100%, 1)",interactiveBrandSecondaryDefault:"hsla(0, 0%, 100%, 1)",interactiveBrandSecondaryHovering:"hsla(215, 100%, 96%, 1)",interactiveBrandSecondaryPressing:"hsla(215, 100%, 89%, 1)",interactiveBrandSecondaryFocused:"hsla(215, 100%, 96%, 1)",interactiveBrandSecondaryDisabled:"hsla(0, 0%, 100%, 1)",interactiveCriticalSecondaryDefault:"hsla(0, 0%, 100%, 1)",interactiveCriticalSecondaryHovering:"hsla(11, 100%, 97%, 1)",interactiveCriticalSecondaryPressing:"hsla(11, 100%, 90%, 1)",interactiveCriticalSecondaryFocused:"hsla(11, 100%, 97%, 1)",interactiveCriticalSecondaryDisabled:"hsla(0, 0%, 100%, 1)",interactiveNeutralHighlightDefault:"hsla(180, 4%, 15%, 0)",interactiveNeutralHighlightHovering:"hsla(180, 4%, 15%, 0.06)",interactiveNeutralHighlightPressing:"hsla(180, 4%, 15%, 0.12)",interactiveNeutralHighlightFocused:"hsla(180, 4%, 15%, 0.08)",interactiveNeutralHighlightDisabled:"hsla(212, 44%, 13%, 0)",interactiveBrandHighlightDefault:"hsla(212, 44%, 13%, 0.08)",interactiveBrandHighlightHovering:"hsla(215, 100%, 51%, 0.12)",interactiveBrandHighlightPressing:"hsla(215, 100%, 51%, 0.24)",interactiveBrandHighlightFocused:"hsla(215, 100%, 51%, 0.12)",interactiveBrandHighlightDisabled:"hsla(212, 44%, 13%, 0)",interactiveCriticalHighlightDefault:"hsla(11, 100%, 46%, 0)",interactiveCriticalHighlightHovering:"hsla(11, 100%, 46%, 0.12)",interactiveCriticalHighlightPressing:"hsla(11, 100%, 46%, 0.2)",interactiveCriticalHighlightFocused:"hsla(11, 100%, 46%, 0.12)",interactiveCriticalHighlightDisabled:"hsla(11, 100%, 46%, 0)",decorativeSurfacePlain1:"hsla(281, 99%, 56%, 1)",decorativeSurfacePlain2:"hsla(173, 100%, 26%, 1)",decorativeSurfacePlain3:"hsla(234, 100%, 66%, 1)",decorativeSurfaceSubdued1:"hsla(281, 88%, 90%, 1)",decorativeSurfaceSubdued2:"hsla(173, 43%, 80%, 1)",decorativeSurfaceSubdued3:"hsla(234, 100%, 91%, 1)"},border:{neutralDefault:"hsla(212, 14%, 77%, 1)",neutralSubdued:"hsla(211, 13%, 66%, 1)",neutralHighlight:"hsla(212, 44%, 13%, 0.08)",neutralPlain:"hsla(210, 15%, 87%, 1)",brandPlain:"hsla(215, 100%, 88%, 1)",brandDefault:"hsla(215, 100%, 74%, 1)",brandSubdued:"hsla(215, 100%, 61%, 1)",brandHighlight:"hsla(215, 100%, 51%, 0.1)",criticalPlain:"hsla(11, 100%, 88%, 1)",criticalDefault:"hsla(11, 100%, 74%, 1)",criticalSubdued:"hsla(11, 100%, 57%, 1)",criticalHighlight:"hsla(11, 100%, 46%, 0.08)"}},fontSize:eH,borderRadius:eW,lineHeight:eK,fontWeight:eG,letterSpacing:eZ,boxShadow:{interactiveDefaultFocused:"0px 1px 1px 0px hsla(212, 44%, 13%, 0.16)",interactiveDefaultHovering:"0px 2px 3px 0px hsla(211, 42%, 16%, 0.1)",overlay:"0px 3px 8px 0px hsla(211, 42%, 16%, 0.08)",modal:"0px 8px 16px 0px hsla(211, 42%, 16%, 0.08)"},borderWidth:eQ},defaultDark:eX},eJ=(0,i.createContext)(null),e1=({children:e,defaultTheme:t})=>{let[s,r]=(0,i.useState)(t);return"u">typeof document&&eV(document.documentElement,eB,eY[s]),c.jsx(eJ.Provider,{value:{theme:s,setTheme:r,themeValues:eY[s]},children:e})},e8=()=>{let e=(0,i.useContext)(eJ);if(null===e)throw Error("useTheme must be used within a MacawUI ThemeContext");return e},e0=({children:e,defaultTheme:t="defaultLight"})=>c.jsx(e1,{defaultTheme:t,children:c.jsx("main",{id:"macaw-ui-root",children:e})});function e2(e,t){if("object"!=typeof e||null===e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var r=s.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function e3(e){var t=e2(e,"string");return"symbol"==typeof t?t:String(t)}function e6(e,t,s){return(t=e3(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function e4(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)}return s}function e5(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?e4(Object(s),!0).forEach(function(t){e6(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):e4(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}var e9=e=>function(){for(var t=arguments.length,s=Array(t),r=0;r<t;r++)s[r]=arguments[r];var i=Object.assign({},...s.map(e=>e.styles)),o=Object.keys(i),a=o.filter(e=>"mappings"in i[e]);return Object.assign(t=>{var s=[],r={},o=e5({},t),l=!1;for(var f of a){var u=t[f];if(null!=u)for(var c of(l=!0,i[f].mappings))r[c]=u,null==o[c]&&delete o[c]}var d=l?e5(e5({},r),o):t,p=function(){var e=d[h],t=i[h];try{if(t.mappings)return"continue";if("string"==typeof e||"number"==typeof e)s.push(t.values[e].defaultClass);else if(Array.isArray(e))for(var r=0;r<e.length;r++){var o=e[r];if(null!=o){var a=t.responsiveArray[r];s.push(t.values[o].conditions[a])}}else for(var l in e){var f=e[l];null!=f&&s.push(t.values[f].conditions[l])}}catch(e){throw e}};for(var h in d)p();return e(s.join(" "))},{properties:new Set(o)})},e7=e=>e,te=function(){return e9(e7)(...arguments)}({conditions:{defaultCondition:"mobile",conditionNames:["mobile","tablet","desktop"],responsiveArray:void 0},styles:{padding:{mappings:["paddingTop","paddingBottom","paddingLeft","paddingRight"]},paddingX:{mappings:["paddingLeft","paddingRight"]},paddingY:{mappings:["paddingTop","paddingBottom"]},margin:{mappings:["marginTop","marginBottom","marginLeft","marginRight"]},marginX:{mappings:["marginLeft","marginRight"]},marginY:{mappings:["marginTop","marginBottom"]},placeItems:{mappings:["alignItems","justifyContent"]},typeSize:{mappings:["fontSize","lineHeight","fontWeight","letterSpacing"]},borderWidth:{mappings:["borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth"]},borderXWidth:{mappings:["borderLeftWidth","borderRightWidth"]},borderYWidth:{mappings:["borderTopWidth","borderBottomWidth"]},borderStyle:{mappings:["borderTopStyle","borderBottomStyle","borderLeftStyle","borderRightStyle"]},borderXStyle:{mappings:["borderLeftStyle","borderRightStyle"]},borderYStyle:{mappings:["borderTopStyle","borderBottomStyle"]},inset:{mappings:["top","bottom","left","right"]},borderRadius:{mappings:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},overflow:{mappings:["overflowX","overflowY"]},flex:{mappings:["flexGrow","flexShrink","flexBasis"]},display:{values:{none:{conditions:{mobile:"_18fs8ps0",tablet:"_18fs8ps1",desktop:"_18fs8ps2"},defaultClass:"_18fs8ps0"},flex:{conditions:{mobile:"_18fs8ps3",tablet:"_18fs8ps4",desktop:"_18fs8ps5"},defaultClass:"_18fs8ps3"},"inline-flex":{conditions:{mobile:"_18fs8ps6",tablet:"_18fs8ps7",desktop:"_18fs8ps8"},defaultClass:"_18fs8ps6"},grid:{conditions:{mobile:"_18fs8ps9",tablet:"_18fs8psa",desktop:"_18fs8psb"},defaultClass:"_18fs8ps9"},"inline-grid":{conditions:{mobile:"_18fs8psc",tablet:"_18fs8psd",desktop:"_18fs8pse"},defaultClass:"_18fs8psc"},block:{conditions:{mobile:"_18fs8psf",tablet:"_18fs8psg",desktop:"_18fs8psh"},defaultClass:"_18fs8psf"},"inline-block":{conditions:{mobile:"_18fs8psi",tablet:"_18fs8psj",desktop:"_18fs8psk"},defaultClass:"_18fs8psi"},contents:{conditions:{mobile:"_18fs8psl",tablet:"_18fs8psm",desktop:"_18fs8psn"},defaultClass:"_18fs8psl"}}},flexDirection:{values:{row:{conditions:{mobile:"_18fs8pso",tablet:"_18fs8psp",desktop:"_18fs8psq"},defaultClass:"_18fs8pso"},column:{conditions:{mobile:"_18fs8psr",tablet:"_18fs8pss",desktop:"_18fs8pst"},defaultClass:"_18fs8psr"}}},alignItems:{values:{stretch:{conditions:{mobile:"_18fs8psu",tablet:"_18fs8psv",desktop:"_18fs8psw"},defaultClass:"_18fs8psu"},"flex-start":{conditions:{mobile:"_18fs8psx",tablet:"_18fs8psy",desktop:"_18fs8psz"},defaultClass:"_18fs8psx"},center:{conditions:{mobile:"_18fs8ps10",tablet:"_18fs8ps11",desktop:"_18fs8ps12"},defaultClass:"_18fs8ps10"},"flex-end":{conditions:{mobile:"_18fs8ps13",tablet:"_18fs8ps14",desktop:"_18fs8ps15"},defaultClass:"_18fs8ps13"},start:{conditions:{mobile:"_18fs8ps16",tablet:"_18fs8ps17",desktop:"_18fs8ps18"},defaultClass:"_18fs8ps16"},end:{conditions:{mobile:"_18fs8ps19",tablet:"_18fs8ps1a",desktop:"_18fs8ps1b"},defaultClass:"_18fs8ps19"},baseline:{conditions:{mobile:"_18fs8ps1c",tablet:"_18fs8ps1d",desktop:"_18fs8ps1e"},defaultClass:"_18fs8ps1c"}}},justifyContent:{values:{stretch:{conditions:{mobile:"_18fs8ps1f",tablet:"_18fs8ps1g",desktop:"_18fs8ps1h"},defaultClass:"_18fs8ps1f"},"flex-start":{conditions:{mobile:"_18fs8ps1i",tablet:"_18fs8ps1j",desktop:"_18fs8ps1k"},defaultClass:"_18fs8ps1i"},center:{conditions:{mobile:"_18fs8ps1l",tablet:"_18fs8ps1m",desktop:"_18fs8ps1n"},defaultClass:"_18fs8ps1l"},"flex-end":{conditions:{mobile:"_18fs8ps1o",tablet:"_18fs8ps1p",desktop:"_18fs8ps1q"},defaultClass:"_18fs8ps1o"},"space-between":{conditions:{mobile:"_18fs8ps1r",tablet:"_18fs8ps1s",desktop:"_18fs8ps1t"},defaultClass:"_18fs8ps1r"},"space-around":{conditions:{mobile:"_18fs8ps1u",tablet:"_18fs8ps1v",desktop:"_18fs8ps1w"},defaultClass:"_18fs8ps1u"},"space-evenly":{conditions:{mobile:"_18fs8ps1x",tablet:"_18fs8ps1y",desktop:"_18fs8ps1z"},defaultClass:"_18fs8ps1x"}}},flexGrow:{values:{0:{conditions:{mobile:"_18fs8ps20",tablet:"_18fs8ps21",desktop:"_18fs8ps22"},defaultClass:"_18fs8ps20"},1:{conditions:{mobile:"_18fs8ps23",tablet:"_18fs8ps24",desktop:"_18fs8ps25"},defaultClass:"_18fs8ps23"}}},flexShrink:{values:{0:{conditions:{mobile:"_18fs8ps26",tablet:"_18fs8ps27",desktop:"_18fs8ps28"},defaultClass:"_18fs8ps26"},1:{conditions:{mobile:"_18fs8ps29",tablet:"_18fs8ps2a",desktop:"_18fs8ps2b"},defaultClass:"_18fs8ps29"}}},flexBasis:{values:{0:{conditions:{mobile:"_18fs8ps2f",tablet:"_18fs8ps2g",desktop:"_18fs8ps2h"},defaultClass:"_18fs8ps2f"},auto:{conditions:{mobile:"_18fs8ps2c",tablet:"_18fs8ps2d",desktop:"_18fs8ps2e"},defaultClass:"_18fs8ps2c"}}},position:{values:{static:{conditions:{mobile:"_18fs8ps2i",tablet:"_18fs8ps2j",desktop:"_18fs8ps2k"},defaultClass:"_18fs8ps2i"},relative:{conditions:{mobile:"_18fs8ps2l",tablet:"_18fs8ps2m",desktop:"_18fs8ps2n"},defaultClass:"_18fs8ps2l"},absolute:{conditions:{mobile:"_18fs8ps2o",tablet:"_18fs8ps2p",desktop:"_18fs8ps2q"},defaultClass:"_18fs8ps2o"},fixed:{conditions:{mobile:"_18fs8ps2r",tablet:"_18fs8ps2s",desktop:"_18fs8ps2t"},defaultClass:"_18fs8ps2r"},sticky:{conditions:{mobile:"_18fs8ps2u",tablet:"_18fs8ps2v",desktop:"_18fs8ps2w"},defaultClass:"_18fs8ps2u"}}},gridArea:{values:{auto:{conditions:{mobile:"_18fs8ps2x",tablet:"_18fs8ps2y",desktop:"_18fs8ps2z"},defaultClass:"_18fs8ps2x"}}},gridTemplateAreas:{values:{none:{conditions:{mobile:"_18fs8ps30",tablet:"_18fs8ps31",desktop:"_18fs8ps32"},defaultClass:"_18fs8ps30"}}},gridTemplateRows:{values:{1:{conditions:{mobile:"_18fs8ps33",tablet:"_18fs8ps34",desktop:"_18fs8ps35"},defaultClass:"_18fs8ps33"},2:{conditions:{mobile:"_18fs8ps36",tablet:"_18fs8ps37",desktop:"_18fs8ps38"},defaultClass:"_18fs8ps36"},3:{conditions:{mobile:"_18fs8ps39",tablet:"_18fs8ps3a",desktop:"_18fs8ps3b"},defaultClass:"_18fs8ps39"},4:{conditions:{mobile:"_18fs8ps3c",tablet:"_18fs8ps3d",desktop:"_18fs8ps3e"},defaultClass:"_18fs8ps3c"},5:{conditions:{mobile:"_18fs8ps3f",tablet:"_18fs8ps3g",desktop:"_18fs8ps3h"},defaultClass:"_18fs8ps3f"},6:{conditions:{mobile:"_18fs8ps3i",tablet:"_18fs8ps3j",desktop:"_18fs8ps3k"},defaultClass:"_18fs8ps3i"},7:{conditions:{mobile:"_18fs8ps3l",tablet:"_18fs8ps3m",desktop:"_18fs8ps3n"},defaultClass:"_18fs8ps3l"},8:{conditions:{mobile:"_18fs8ps3o",tablet:"_18fs8ps3p",desktop:"_18fs8ps3q"},defaultClass:"_18fs8ps3o"},9:{conditions:{mobile:"_18fs8ps3r",tablet:"_18fs8ps3s",desktop:"_18fs8ps3t"},defaultClass:"_18fs8ps3r"},10:{conditions:{mobile:"_18fs8ps3u",tablet:"_18fs8ps3v",desktop:"_18fs8ps3w"},defaultClass:"_18fs8ps3u"},11:{conditions:{mobile:"_18fs8ps3x",tablet:"_18fs8ps3y",desktop:"_18fs8ps3z"},defaultClass:"_18fs8ps3x"},12:{conditions:{mobile:"_18fs8ps40",tablet:"_18fs8ps41",desktop:"_18fs8ps42"},defaultClass:"_18fs8ps40"},none:{conditions:{mobile:"_18fs8ps43",tablet:"_18fs8ps44",desktop:"_18fs8ps45"},defaultClass:"_18fs8ps43"}}},gridRow:{values:{1:{conditions:{mobile:"_18fs8ps46",tablet:"_18fs8ps47",desktop:"_18fs8ps48"},defaultClass:"_18fs8ps46"},2:{conditions:{mobile:"_18fs8ps49",tablet:"_18fs8ps4a",desktop:"_18fs8ps4b"},defaultClass:"_18fs8ps49"},3:{conditions:{mobile:"_18fs8ps4c",tablet:"_18fs8ps4d",desktop:"_18fs8ps4e"},defaultClass:"_18fs8ps4c"},4:{conditions:{mobile:"_18fs8ps4f",tablet:"_18fs8ps4g",desktop:"_18fs8ps4h"},defaultClass:"_18fs8ps4f"},5:{conditions:{mobile:"_18fs8ps4i",tablet:"_18fs8ps4j",desktop:"_18fs8ps4k"},defaultClass:"_18fs8ps4i"},6:{conditions:{mobile:"_18fs8ps4l",tablet:"_18fs8ps4m",desktop:"_18fs8ps4n"},defaultClass:"_18fs8ps4l"},7:{conditions:{mobile:"_18fs8ps4o",tablet:"_18fs8ps4p",desktop:"_18fs8ps4q"},defaultClass:"_18fs8ps4o"},8:{conditions:{mobile:"_18fs8ps4r",tablet:"_18fs8ps4s",desktop:"_18fs8ps4t"},defaultClass:"_18fs8ps4r"},9:{conditions:{mobile:"_18fs8ps4u",tablet:"_18fs8ps4v",desktop:"_18fs8ps4w"},defaultClass:"_18fs8ps4u"},10:{conditions:{mobile:"_18fs8ps4x",tablet:"_18fs8ps4y",desktop:"_18fs8ps4z"},defaultClass:"_18fs8ps4x"},11:{conditions:{mobile:"_18fs8ps50",tablet:"_18fs8ps51",desktop:"_18fs8ps52"},defaultClass:"_18fs8ps50"},12:{conditions:{mobile:"_18fs8ps53",tablet:"_18fs8ps54",desktop:"_18fs8ps55"},defaultClass:"_18fs8ps53"},auto:{conditions:{mobile:"_18fs8ps56",tablet:"_18fs8ps57",desktop:"_18fs8ps58"},defaultClass:"_18fs8ps56"},full:{conditions:{mobile:"_18fs8ps59",tablet:"_18fs8ps5a",desktop:"_18fs8ps5b"},defaultClass:"_18fs8ps59"}}},gridRowStart:{values:{1:{conditions:{mobile:"_18fs8ps5c",tablet:"_18fs8ps5d",desktop:"_18fs8ps5e"},defaultClass:"_18fs8ps5c"},2:{conditions:{mobile:"_18fs8ps5f",tablet:"_18fs8ps5g",desktop:"_18fs8ps5h"},defaultClass:"_18fs8ps5f"},3:{conditions:{mobile:"_18fs8ps5i",tablet:"_18fs8ps5j",desktop:"_18fs8ps5k"},defaultClass:"_18fs8ps5i"},4:{conditions:{mobile:"_18fs8ps5l",tablet:"_18fs8ps5m",desktop:"_18fs8ps5n"},defaultClass:"_18fs8ps5l"},5:{conditions:{mobile:"_18fs8ps5o",tablet:"_18fs8ps5p",desktop:"_18fs8ps5q"},defaultClass:"_18fs8ps5o"},6:{conditions:{mobile:"_18fs8ps5r",tablet:"_18fs8ps5s",desktop:"_18fs8ps5t"},defaultClass:"_18fs8ps5r"},7:{conditions:{mobile:"_18fs8ps5u",tablet:"_18fs8ps5v",desktop:"_18fs8ps5w"},defaultClass:"_18fs8ps5u"},8:{conditions:{mobile:"_18fs8ps5x",tablet:"_18fs8ps5y",desktop:"_18fs8ps5z"},defaultClass:"_18fs8ps5x"},9:{conditions:{mobile:"_18fs8ps60",tablet:"_18fs8ps61",desktop:"_18fs8ps62"},defaultClass:"_18fs8ps60"},10:{conditions:{mobile:"_18fs8ps63",tablet:"_18fs8ps64",desktop:"_18fs8ps65"},defaultClass:"_18fs8ps63"},11:{conditions:{mobile:"_18fs8ps66",tablet:"_18fs8ps67",desktop:"_18fs8ps68"},defaultClass:"_18fs8ps66"},12:{conditions:{mobile:"_18fs8ps69",tablet:"_18fs8ps6a",desktop:"_18fs8ps6b"},defaultClass:"_18fs8ps69"},auto:{conditions:{mobile:"_18fs8ps6c",tablet:"_18fs8ps6d",desktop:"_18fs8ps6e"},defaultClass:"_18fs8ps6c"}}},gridRowEnd:{values:{1:{conditions:{mobile:"_18fs8ps6f",tablet:"_18fs8ps6g",desktop:"_18fs8ps6h"},defaultClass:"_18fs8ps6f"},2:{conditions:{mobile:"_18fs8ps6i",tablet:"_18fs8ps6j",desktop:"_18fs8ps6k"},defaultClass:"_18fs8ps6i"},3:{conditions:{mobile:"_18fs8ps6l",tablet:"_18fs8ps6m",desktop:"_18fs8ps6n"},defaultClass:"_18fs8ps6l"},4:{conditions:{mobile:"_18fs8ps6o",tablet:"_18fs8ps6p",desktop:"_18fs8ps6q"},defaultClass:"_18fs8ps6o"},5:{conditions:{mobile:"_18fs8ps6r",tablet:"_18fs8ps6s",desktop:"_18fs8ps6t"},defaultClass:"_18fs8ps6r"},6:{conditions:{mobile:"_18fs8ps6u",tablet:"_18fs8ps6v",desktop:"_18fs8ps6w"},defaultClass:"_18fs8ps6u"},7:{conditions:{mobile:"_18fs8ps6x",tablet:"_18fs8ps6y",desktop:"_18fs8ps6z"},defaultClass:"_18fs8ps6x"},8:{conditions:{mobile:"_18fs8ps70",tablet:"_18fs8ps71",desktop:"_18fs8ps72"},defaultClass:"_18fs8ps70"},9:{conditions:{mobile:"_18fs8ps73",tablet:"_18fs8ps74",desktop:"_18fs8ps75"},defaultClass:"_18fs8ps73"},10:{conditions:{mobile:"_18fs8ps76",tablet:"_18fs8ps77",desktop:"_18fs8ps78"},defaultClass:"_18fs8ps76"},11:{conditions:{mobile:"_18fs8ps79",tablet:"_18fs8ps7a",desktop:"_18fs8ps7b"},defaultClass:"_18fs8ps79"},12:{conditions:{mobile:"_18fs8ps7c",tablet:"_18fs8ps7d",desktop:"_18fs8ps7e"},defaultClass:"_18fs8ps7c"},auto:{conditions:{mobile:"_18fs8ps7f",tablet:"_18fs8ps7g",desktop:"_18fs8ps7h"},defaultClass:"_18fs8ps7f"}}},gridTemplateColumns:{values:{1:{conditions:{mobile:"_18fs8ps7i",tablet:"_18fs8ps7j",desktop:"_18fs8ps7k"},defaultClass:"_18fs8ps7i"},2:{conditions:{mobile:"_18fs8ps7l",tablet:"_18fs8ps7m",desktop:"_18fs8ps7n"},defaultClass:"_18fs8ps7l"},3:{conditions:{mobile:"_18fs8ps7o",tablet:"_18fs8ps7p",desktop:"_18fs8ps7q"},defaultClass:"_18fs8ps7o"},4:{conditions:{mobile:"_18fs8ps7r",tablet:"_18fs8ps7s",desktop:"_18fs8ps7t"},defaultClass:"_18fs8ps7r"},5:{conditions:{mobile:"_18fs8ps7u",tablet:"_18fs8ps7v",desktop:"_18fs8ps7w"},defaultClass:"_18fs8ps7u"},6:{conditions:{mobile:"_18fs8ps7x",tablet:"_18fs8ps7y",desktop:"_18fs8ps7z"},defaultClass:"_18fs8ps7x"},7:{conditions:{mobile:"_18fs8ps80",tablet:"_18fs8ps81",desktop:"_18fs8ps82"},defaultClass:"_18fs8ps80"},8:{conditions:{mobile:"_18fs8ps83",tablet:"_18fs8ps84",desktop:"_18fs8ps85"},defaultClass:"_18fs8ps83"},9:{conditions:{mobile:"_18fs8ps86",tablet:"_18fs8ps87",desktop:"_18fs8ps88"},defaultClass:"_18fs8ps86"},10:{conditions:{mobile:"_18fs8ps89",tablet:"_18fs8ps8a",desktop:"_18fs8ps8b"},defaultClass:"_18fs8ps89"},11:{conditions:{mobile:"_18fs8ps8c",tablet:"_18fs8ps8d",desktop:"_18fs8ps8e"},defaultClass:"_18fs8ps8c"},12:{conditions:{mobile:"_18fs8ps8f",tablet:"_18fs8ps8g",desktop:"_18fs8ps8h"},defaultClass:"_18fs8ps8f"},none:{conditions:{mobile:"_18fs8ps8i",tablet:"_18fs8ps8j",desktop:"_18fs8ps8k"},defaultClass:"_18fs8ps8i"}}},gridColumn:{values:{1:{conditions:{mobile:"_18fs8ps8l",tablet:"_18fs8ps8m",desktop:"_18fs8ps8n"},defaultClass:"_18fs8ps8l"},2:{conditions:{mobile:"_18fs8ps8o",tablet:"_18fs8ps8p",desktop:"_18fs8ps8q"},defaultClass:"_18fs8ps8o"},3:{conditions:{mobile:"_18fs8ps8r",tablet:"_18fs8ps8s",desktop:"_18fs8ps8t"},defaultClass:"_18fs8ps8r"},4:{conditions:{mobile:"_18fs8ps8u",tablet:"_18fs8ps8v",desktop:"_18fs8ps8w"},defaultClass:"_18fs8ps8u"},5:{conditions:{mobile:"_18fs8ps8x",tablet:"_18fs8ps8y",desktop:"_18fs8ps8z"},defaultClass:"_18fs8ps8x"},6:{conditions:{mobile:"_18fs8ps90",tablet:"_18fs8ps91",desktop:"_18fs8ps92"},defaultClass:"_18fs8ps90"},7:{conditions:{mobile:"_18fs8ps93",tablet:"_18fs8ps94",desktop:"_18fs8ps95"},defaultClass:"_18fs8ps93"},8:{conditions:{mobile:"_18fs8ps96",tablet:"_18fs8ps97",desktop:"_18fs8ps98"},defaultClass:"_18fs8ps96"},9:{conditions:{mobile:"_18fs8ps99",tablet:"_18fs8ps9a",desktop:"_18fs8ps9b"},defaultClass:"_18fs8ps99"},10:{conditions:{mobile:"_18fs8ps9c",tablet:"_18fs8ps9d",desktop:"_18fs8ps9e"},defaultClass:"_18fs8ps9c"},11:{conditions:{mobile:"_18fs8ps9f",tablet:"_18fs8ps9g",desktop:"_18fs8ps9h"},defaultClass:"_18fs8ps9f"},12:{conditions:{mobile:"_18fs8ps9i",tablet:"_18fs8ps9j",desktop:"_18fs8ps9k"},defaultClass:"_18fs8ps9i"},auto:{conditions:{mobile:"_18fs8ps9l",tablet:"_18fs8ps9m",desktop:"_18fs8ps9n"},defaultClass:"_18fs8ps9l"},full:{conditions:{mobile:"_18fs8ps9o",tablet:"_18fs8ps9p",desktop:"_18fs8ps9q"},defaultClass:"_18fs8ps9o"}}},gridColumnStart:{values:{1:{conditions:{mobile:"_18fs8ps9r",tablet:"_18fs8ps9s",desktop:"_18fs8ps9t"},defaultClass:"_18fs8ps9r"},2:{conditions:{mobile:"_18fs8ps9u",tablet:"_18fs8ps9v",desktop:"_18fs8ps9w"},defaultClass:"_18fs8ps9u"},3:{conditions:{mobile:"_18fs8ps9x",tablet:"_18fs8ps9y",desktop:"_18fs8ps9z"},defaultClass:"_18fs8ps9x"},4:{conditions:{mobile:"_18fs8psa0",tablet:"_18fs8psa1",desktop:"_18fs8psa2"},defaultClass:"_18fs8psa0"},5:{conditions:{mobile:"_18fs8psa3",tablet:"_18fs8psa4",desktop:"_18fs8psa5"},defaultClass:"_18fs8psa3"},6:{conditions:{mobile:"_18fs8psa6",tablet:"_18fs8psa7",desktop:"_18fs8psa8"},defaultClass:"_18fs8psa6"},7:{conditions:{mobile:"_18fs8psa9",tablet:"_18fs8psaa",desktop:"_18fs8psab"},defaultClass:"_18fs8psa9"},8:{conditions:{mobile:"_18fs8psac",tablet:"_18fs8psad",desktop:"_18fs8psae"},defaultClass:"_18fs8psac"},9:{conditions:{mobile:"_18fs8psaf",tablet:"_18fs8psag",desktop:"_18fs8psah"},defaultClass:"_18fs8psaf"},10:{conditions:{mobile:"_18fs8psai",tablet:"_18fs8psaj",desktop:"_18fs8psak"},defaultClass:"_18fs8psai"},11:{conditions:{mobile:"_18fs8psal",tablet:"_18fs8psam",desktop:"_18fs8psan"},defaultClass:"_18fs8psal"},12:{conditions:{mobile:"_18fs8psao",tablet:"_18fs8psap",desktop:"_18fs8psaq"},defaultClass:"_18fs8psao"},auto:{conditions:{mobile:"_18fs8psar",tablet:"_18fs8psas",desktop:"_18fs8psat"},defaultClass:"_18fs8psar"}}},gridColumnEnd:{values:{1:{conditions:{mobile:"_18fs8psau",tablet:"_18fs8psav",desktop:"_18fs8psaw"},defaultClass:"_18fs8psau"},2:{conditions:{mobile:"_18fs8psax",tablet:"_18fs8psay",desktop:"_18fs8psaz"},defaultClass:"_18fs8psax"},3:{conditions:{mobile:"_18fs8psb0",tablet:"_18fs8psb1",desktop:"_18fs8psb2"},defaultClass:"_18fs8psb0"},4:{conditions:{mobile:"_18fs8psb3",tablet:"_18fs8psb4",desktop:"_18fs8psb5"},defaultClass:"_18fs8psb3"},5:{conditions:{mobile:"_18fs8psb6",tablet:"_18fs8psb7",desktop:"_18fs8psb8"},defaultClass:"_18fs8psb6"},6:{conditions:{mobile:"_18fs8psb9",tablet:"_18fs8psba",desktop:"_18fs8psbb"},defaultClass:"_18fs8psb9"},7:{conditions:{mobile:"_18fs8psbc",tablet:"_18fs8psbd",desktop:"_18fs8psbe"},defaultClass:"_18fs8psbc"},8:{conditions:{mobile:"_18fs8psbf",tablet:"_18fs8psbg",desktop:"_18fs8psbh"},defaultClass:"_18fs8psbf"},9:{conditions:{mobile:"_18fs8psbi",tablet:"_18fs8psbj",desktop:"_18fs8psbk"},defaultClass:"_18fs8psbi"},10:{conditions:{mobile:"_18fs8psbl",tablet:"_18fs8psbm",desktop:"_18fs8psbn"},defaultClass:"_18fs8psbl"},11:{conditions:{mobile:"_18fs8psbo",tablet:"_18fs8psbp",desktop:"_18fs8psbq"},defaultClass:"_18fs8psbo"},12:{conditions:{mobile:"_18fs8psbr",tablet:"_18fs8psbs",desktop:"_18fs8psbt"},defaultClass:"_18fs8psbr"},auto:{conditions:{mobile:"_18fs8psbu",tablet:"_18fs8psbv",desktop:"_18fs8psbw"},defaultClass:"_18fs8psbu"}}},gridAutoFlow:{values:{row:{conditions:{mobile:"_18fs8psbx",tablet:"_18fs8psby",desktop:"_18fs8psbz"},defaultClass:"_18fs8psbx"},column:{conditions:{mobile:"_18fs8psc0",tablet:"_18fs8psc1",desktop:"_18fs8psc2"},defaultClass:"_18fs8psc0"},dense:{conditions:{mobile:"_18fs8psc3",tablet:"_18fs8psc4",desktop:"_18fs8psc5"},defaultClass:"_18fs8psc3"},"row dense":{conditions:{mobile:"_18fs8psc6",tablet:"_18fs8psc7",desktop:"_18fs8psc8"},defaultClass:"_18fs8psc6"},"column dense":{conditions:{mobile:"_18fs8psc9",tablet:"_18fs8psca",desktop:"_18fs8pscb"},defaultClass:"_18fs8psc9"}}},order:{values:{1:{conditions:{mobile:"_18fs8pscc",tablet:"_18fs8pscd",desktop:"_18fs8psce"},defaultClass:"_18fs8pscc"},2:{conditions:{mobile:"_18fs8pscf",tablet:"_18fs8pscg",desktop:"_18fs8psch"},defaultClass:"_18fs8pscf"},3:{conditions:{mobile:"_18fs8psci",tablet:"_18fs8pscj",desktop:"_18fs8psck"},defaultClass:"_18fs8psci"},4:{conditions:{mobile:"_18fs8pscl",tablet:"_18fs8pscm",desktop:"_18fs8pscn"},defaultClass:"_18fs8pscl"},5:{conditions:{mobile:"_18fs8psco",tablet:"_18fs8pscp",desktop:"_18fs8pscq"},defaultClass:"_18fs8psco"},6:{conditions:{mobile:"_18fs8pscr",tablet:"_18fs8pscs",desktop:"_18fs8psct"},defaultClass:"_18fs8pscr"},7:{conditions:{mobile:"_18fs8pscu",tablet:"_18fs8pscv",desktop:"_18fs8pscw"},defaultClass:"_18fs8pscu"},8:{conditions:{mobile:"_18fs8pscx",tablet:"_18fs8pscy",desktop:"_18fs8pscz"},defaultClass:"_18fs8pscx"},9:{conditions:{mobile:"_18fs8psd0",tablet:"_18fs8psd1",desktop:"_18fs8psd2"},defaultClass:"_18fs8psd0"},10:{conditions:{mobile:"_18fs8psd3",tablet:"_18fs8psd4",desktop:"_18fs8psd5"},defaultClass:"_18fs8psd3"},11:{conditions:{mobile:"_18fs8psd6",tablet:"_18fs8psd7",desktop:"_18fs8psd8"},defaultClass:"_18fs8psd6"},12:{conditions:{mobile:"_18fs8psd9",tablet:"_18fs8psda",desktop:"_18fs8psdb"},defaultClass:"_18fs8psd9"}}},flexWrap:{values:{nowrap:{conditions:{mobile:"_18fs8psdc",tablet:"_18fs8psdd",desktop:"_18fs8psde"},defaultClass:"_18fs8psdc"},wrap:{conditions:{mobile:"_18fs8psdf",tablet:"_18fs8psdg",desktop:"_18fs8psdh"},defaultClass:"_18fs8psdf"}}},gap:{values:{0:{conditions:{mobile:"_18fs8psdi",tablet:"_18fs8psdj",desktop:"_18fs8psdk"},defaultClass:"_18fs8psdi"},1:{conditions:{mobile:"_18fs8psdl",tablet:"_18fs8psdm",desktop:"_18fs8psdn"},defaultClass:"_18fs8psdl"},2:{conditions:{mobile:"_18fs8psdo",tablet:"_18fs8psdp",desktop:"_18fs8psdq"},defaultClass:"_18fs8psdo"},3:{conditions:{mobile:"_18fs8psdr",tablet:"_18fs8psds",desktop:"_18fs8psdt"},defaultClass:"_18fs8psdr"},4:{conditions:{mobile:"_18fs8psdu",tablet:"_18fs8psdv",desktop:"_18fs8psdw"},defaultClass:"_18fs8psdu"},5:{conditions:{mobile:"_18fs8psdx",tablet:"_18fs8psdy",desktop:"_18fs8psdz"},defaultClass:"_18fs8psdx"},6:{conditions:{mobile:"_18fs8pse0",tablet:"_18fs8pse1",desktop:"_18fs8pse2"},defaultClass:"_18fs8pse0"},7:{conditions:{mobile:"_18fs8pse3",tablet:"_18fs8pse4",desktop:"_18fs8pse5"},defaultClass:"_18fs8pse3"},8:{conditions:{mobile:"_18fs8pse6",tablet:"_18fs8pse7",desktop:"_18fs8pse8"},defaultClass:"_18fs8pse6"},9:{conditions:{mobile:"_18fs8pse9",tablet:"_18fs8psea",desktop:"_18fs8pseb"},defaultClass:"_18fs8pse9"},10:{conditions:{mobile:"_18fs8psec",tablet:"_18fs8psed",desktop:"_18fs8psee"},defaultClass:"_18fs8psec"},11:{conditions:{mobile:"_18fs8psef",tablet:"_18fs8pseg",desktop:"_18fs8pseh"},defaultClass:"_18fs8psef"},12:{conditions:{mobile:"_18fs8psei",tablet:"_18fs8psej",desktop:"_18fs8psek"},defaultClass:"_18fs8psei"},14:{conditions:{mobile:"_18fs8psel",tablet:"_18fs8psem",desktop:"_18fs8psen"},defaultClass:"_18fs8psel"},16:{conditions:{mobile:"_18fs8pseo",tablet:"_18fs8psep",desktop:"_18fs8pseq"},defaultClass:"_18fs8pseo"},20:{conditions:{mobile:"_18fs8pser",tablet:"_18fs8pses",desktop:"_18fs8pset"},defaultClass:"_18fs8pser"},24:{conditions:{mobile:"_18fs8pseu",tablet:"_18fs8psev",desktop:"_18fs8psew"},defaultClass:"_18fs8pseu"},28:{conditions:{mobile:"_18fs8psex",tablet:"_18fs8psey",desktop:"_18fs8psez"},defaultClass:"_18fs8psex"},32:{conditions:{mobile:"_18fs8psf0",tablet:"_18fs8psf1",desktop:"_18fs8psf2"},defaultClass:"_18fs8psf0"},36:{conditions:{mobile:"_18fs8psf3",tablet:"_18fs8psf4",desktop:"_18fs8psf5"},defaultClass:"_18fs8psf3"},40:{conditions:{mobile:"_18fs8psf6",tablet:"_18fs8psf7",desktop:"_18fs8psf8"},defaultClass:"_18fs8psf6"},44:{conditions:{mobile:"_18fs8psf9",tablet:"_18fs8psfa",desktop:"_18fs8psfb"},defaultClass:"_18fs8psf9"},48:{conditions:{mobile:"_18fs8psfc",tablet:"_18fs8psfd",desktop:"_18fs8psfe"},defaultClass:"_18fs8psfc"},52:{conditions:{mobile:"_18fs8psff",tablet:"_18fs8psfg",desktop:"_18fs8psfh"},defaultClass:"_18fs8psff"},px:{conditions:{mobile:"_18fs8psfi",tablet:"_18fs8psfj",desktop:"_18fs8psfk"},defaultClass:"_18fs8psfi"},"0.5":{conditions:{mobile:"_18fs8psfl",tablet:"_18fs8psfm",desktop:"_18fs8psfn"},defaultClass:"_18fs8psfl"},"1.5":{conditions:{mobile:"_18fs8psfo",tablet:"_18fs8psfp",desktop:"_18fs8psfq"},defaultClass:"_18fs8psfo"},"2.5":{conditions:{mobile:"_18fs8psfr",tablet:"_18fs8psfs",desktop:"_18fs8psft"},defaultClass:"_18fs8psfr"},"3.5":{conditions:{mobile:"_18fs8psfu",tablet:"_18fs8psfv",desktop:"_18fs8psfw"},defaultClass:"_18fs8psfu"}}},rowGap:{values:{0:{conditions:{mobile:"_18fs8psfx",tablet:"_18fs8psfy",desktop:"_18fs8psfz"},defaultClass:"_18fs8psfx"},1:{conditions:{mobile:"_18fs8psg0",tablet:"_18fs8psg1",desktop:"_18fs8psg2"},defaultClass:"_18fs8psg0"},2:{conditions:{mobile:"_18fs8psg3",tablet:"_18fs8psg4",desktop:"_18fs8psg5"},defaultClass:"_18fs8psg3"},3:{conditions:{mobile:"_18fs8psg6",tablet:"_18fs8psg7",desktop:"_18fs8psg8"},defaultClass:"_18fs8psg6"},4:{conditions:{mobile:"_18fs8psg9",tablet:"_18fs8psga",desktop:"_18fs8psgb"},defaultClass:"_18fs8psg9"},5:{conditions:{mobile:"_18fs8psgc",tablet:"_18fs8psgd",desktop:"_18fs8psge"},defaultClass:"_18fs8psgc"},6:{conditions:{mobile:"_18fs8psgf",tablet:"_18fs8psgg",desktop:"_18fs8psgh"},defaultClass:"_18fs8psgf"},7:{conditions:{mobile:"_18fs8psgi",tablet:"_18fs8psgj",desktop:"_18fs8psgk"},defaultClass:"_18fs8psgi"},8:{conditions:{mobile:"_18fs8psgl",tablet:"_18fs8psgm",desktop:"_18fs8psgn"},defaultClass:"_18fs8psgl"},9:{conditions:{mobile:"_18fs8psgo",tablet:"_18fs8psgp",desktop:"_18fs8psgq"},defaultClass:"_18fs8psgo"},10:{conditions:{mobile:"_18fs8psgr",tablet:"_18fs8psgs",desktop:"_18fs8psgt"},defaultClass:"_18fs8psgr"},11:{conditions:{mobile:"_18fs8psgu",tablet:"_18fs8psgv",desktop:"_18fs8psgw"},defaultClass:"_18fs8psgu"},12:{conditions:{mobile:"_18fs8psgx",tablet:"_18fs8psgy",desktop:"_18fs8psgz"},defaultClass:"_18fs8psgx"},14:{conditions:{mobile:"_18fs8psh0",tablet:"_18fs8psh1",desktop:"_18fs8psh2"},defaultClass:"_18fs8psh0"},16:{conditions:{mobile:"_18fs8psh3",tablet:"_18fs8psh4",desktop:"_18fs8psh5"},defaultClass:"_18fs8psh3"},20:{conditions:{mobile:"_18fs8psh6",tablet:"_18fs8psh7",desktop:"_18fs8psh8"},defaultClass:"_18fs8psh6"},24:{conditions:{mobile:"_18fs8psh9",tablet:"_18fs8psha",desktop:"_18fs8pshb"},defaultClass:"_18fs8psh9"},28:{conditions:{mobile:"_18fs8pshc",tablet:"_18fs8pshd",desktop:"_18fs8pshe"},defaultClass:"_18fs8pshc"},32:{conditions:{mobile:"_18fs8pshf",tablet:"_18fs8pshg",desktop:"_18fs8pshh"},defaultClass:"_18fs8pshf"},36:{conditions:{mobile:"_18fs8pshi",tablet:"_18fs8pshj",desktop:"_18fs8pshk"},defaultClass:"_18fs8pshi"},40:{conditions:{mobile:"_18fs8pshl",tablet:"_18fs8pshm",desktop:"_18fs8pshn"},defaultClass:"_18fs8pshl"},44:{conditions:{mobile:"_18fs8psho",tablet:"_18fs8pshp",desktop:"_18fs8pshq"},defaultClass:"_18fs8psho"},48:{conditions:{mobile:"_18fs8pshr",tablet:"_18fs8pshs",desktop:"_18fs8psht"},defaultClass:"_18fs8pshr"},52:{conditions:{mobile:"_18fs8pshu",tablet:"_18fs8pshv",desktop:"_18fs8pshw"},defaultClass:"_18fs8pshu"},px:{conditions:{mobile:"_18fs8pshx",tablet:"_18fs8pshy",desktop:"_18fs8pshz"},defaultClass:"_18fs8pshx"},"0.5":{conditions:{mobile:"_18fs8psi0",tablet:"_18fs8psi1",desktop:"_18fs8psi2"},defaultClass:"_18fs8psi0"},"1.5":{conditions:{mobile:"_18fs8psi3",tablet:"_18fs8psi4",desktop:"_18fs8psi5"},defaultClass:"_18fs8psi3"},"2.5":{conditions:{mobile:"_18fs8psi6",tablet:"_18fs8psi7",desktop:"_18fs8psi8"},defaultClass:"_18fs8psi6"},"3.5":{conditions:{mobile:"_18fs8psi9",tablet:"_18fs8psia",desktop:"_18fs8psib"},defaultClass:"_18fs8psi9"}}},columnGap:{values:{0:{conditions:{mobile:"_18fs8psic",tablet:"_18fs8psid",desktop:"_18fs8psie"},defaultClass:"_18fs8psic"},1:{conditions:{mobile:"_18fs8psif",tablet:"_18fs8psig",desktop:"_18fs8psih"},defaultClass:"_18fs8psif"},2:{conditions:{mobile:"_18fs8psii",tablet:"_18fs8psij",desktop:"_18fs8psik"},defaultClass:"_18fs8psii"},3:{conditions:{mobile:"_18fs8psil",tablet:"_18fs8psim",desktop:"_18fs8psin"},defaultClass:"_18fs8psil"},4:{conditions:{mobile:"_18fs8psio",tablet:"_18fs8psip",desktop:"_18fs8psiq"},defaultClass:"_18fs8psio"},5:{conditions:{mobile:"_18fs8psir",tablet:"_18fs8psis",desktop:"_18fs8psit"},defaultClass:"_18fs8psir"},6:{conditions:{mobile:"_18fs8psiu",tablet:"_18fs8psiv",desktop:"_18fs8psiw"},defaultClass:"_18fs8psiu"},7:{conditions:{mobile:"_18fs8psix",tablet:"_18fs8psiy",desktop:"_18fs8psiz"},defaultClass:"_18fs8psix"},8:{conditions:{mobile:"_18fs8psj0",tablet:"_18fs8psj1",desktop:"_18fs8psj2"},defaultClass:"_18fs8psj0"},9:{conditions:{mobile:"_18fs8psj3",tablet:"_18fs8psj4",desktop:"_18fs8psj5"},defaultClass:"_18fs8psj3"},10:{conditions:{mobile:"_18fs8psj6",tablet:"_18fs8psj7",desktop:"_18fs8psj8"},defaultClass:"_18fs8psj6"},11:{conditions:{mobile:"_18fs8psj9",tablet:"_18fs8psja",desktop:"_18fs8psjb"},defaultClass:"_18fs8psj9"},12:{conditions:{mobile:"_18fs8psjc",tablet:"_18fs8psjd",desktop:"_18fs8psje"},defaultClass:"_18fs8psjc"},14:{conditions:{mobile:"_18fs8psjf",tablet:"_18fs8psjg",desktop:"_18fs8psjh"},defaultClass:"_18fs8psjf"},16:{conditions:{mobile:"_18fs8psji",tablet:"_18fs8psjj",desktop:"_18fs8psjk"},defaultClass:"_18fs8psji"},20:{conditions:{mobile:"_18fs8psjl",tablet:"_18fs8psjm",desktop:"_18fs8psjn"},defaultClass:"_18fs8psjl"},24:{conditions:{mobile:"_18fs8psjo",tablet:"_18fs8psjp",desktop:"_18fs8psjq"},defaultClass:"_18fs8psjo"},28:{conditions:{mobile:"_18fs8psjr",tablet:"_18fs8psjs",desktop:"_18fs8psjt"},defaultClass:"_18fs8psjr"},32:{conditions:{mobile:"_18fs8psju",tablet:"_18fs8psjv",desktop:"_18fs8psjw"},defaultClass:"_18fs8psju"},36:{conditions:{mobile:"_18fs8psjx",tablet:"_18fs8psjy",desktop:"_18fs8psjz"},defaultClass:"_18fs8psjx"},40:{conditions:{mobile:"_18fs8psk0",tablet:"_18fs8psk1",desktop:"_18fs8psk2"},defaultClass:"_18fs8psk0"},44:{conditions:{mobile:"_18fs8psk3",tablet:"_18fs8psk4",desktop:"_18fs8psk5"},defaultClass:"_18fs8psk3"},48:{conditions:{mobile:"_18fs8psk6",tablet:"_18fs8psk7",desktop:"_18fs8psk8"},defaultClass:"_18fs8psk6"},52:{conditions:{mobile:"_18fs8psk9",tablet:"_18fs8pska",desktop:"_18fs8pskb"},defaultClass:"_18fs8psk9"},px:{conditions:{mobile:"_18fs8pskc",tablet:"_18fs8pskd",desktop:"_18fs8pske"},defaultClass:"_18fs8pskc"},"0.5":{conditions:{mobile:"_18fs8pskf",tablet:"_18fs8pskg",desktop:"_18fs8pskh"},defaultClass:"_18fs8pskf"},"1.5":{conditions:{mobile:"_18fs8pski",tablet:"_18fs8pskj",desktop:"_18fs8pskk"},defaultClass:"_18fs8pski"},"2.5":{conditions:{mobile:"_18fs8pskl",tablet:"_18fs8pskm",desktop:"_18fs8pskn"},defaultClass:"_18fs8pskl"},"3.5":{conditions:{mobile:"_18fs8psko",tablet:"_18fs8pskp",desktop:"_18fs8pskq"},defaultClass:"_18fs8psko"}}},paddingTop:{values:{0:{conditions:{mobile:"_18fs8pskr",tablet:"_18fs8psks",desktop:"_18fs8pskt"},defaultClass:"_18fs8pskr"},1:{conditions:{mobile:"_18fs8psku",tablet:"_18fs8pskv",desktop:"_18fs8pskw"},defaultClass:"_18fs8psku"},2:{conditions:{mobile:"_18fs8pskx",tablet:"_18fs8psky",desktop:"_18fs8pskz"},defaultClass:"_18fs8pskx"},3:{conditions:{mobile:"_18fs8psl0",tablet:"_18fs8psl1",desktop:"_18fs8psl2"},defaultClass:"_18fs8psl0"},4:{conditions:{mobile:"_18fs8psl3",tablet:"_18fs8psl4",desktop:"_18fs8psl5"},defaultClass:"_18fs8psl3"},5:{conditions:{mobile:"_18fs8psl6",tablet:"_18fs8psl7",desktop:"_18fs8psl8"},defaultClass:"_18fs8psl6"},6:{conditions:{mobile:"_18fs8psl9",tablet:"_18fs8psla",desktop:"_18fs8pslb"},defaultClass:"_18fs8psl9"},7:{conditions:{mobile:"_18fs8pslc",tablet:"_18fs8psld",desktop:"_18fs8psle"},defaultClass:"_18fs8pslc"},8:{conditions:{mobile:"_18fs8pslf",tablet:"_18fs8pslg",desktop:"_18fs8pslh"},defaultClass:"_18fs8pslf"},9:{conditions:{mobile:"_18fs8psli",tablet:"_18fs8pslj",desktop:"_18fs8pslk"},defaultClass:"_18fs8psli"},10:{conditions:{mobile:"_18fs8psll",tablet:"_18fs8pslm",desktop:"_18fs8psln"},defaultClass:"_18fs8psll"},11:{conditions:{mobile:"_18fs8pslo",tablet:"_18fs8pslp",desktop:"_18fs8pslq"},defaultClass:"_18fs8pslo"},12:{conditions:{mobile:"_18fs8pslr",tablet:"_18fs8psls",desktop:"_18fs8pslt"},defaultClass:"_18fs8pslr"},14:{conditions:{mobile:"_18fs8pslu",tablet:"_18fs8pslv",desktop:"_18fs8pslw"},defaultClass:"_18fs8pslu"},16:{conditions:{mobile:"_18fs8pslx",tablet:"_18fs8psly",desktop:"_18fs8pslz"},defaultClass:"_18fs8pslx"},20:{conditions:{mobile:"_18fs8psm0",tablet:"_18fs8psm1",desktop:"_18fs8psm2"},defaultClass:"_18fs8psm0"},24:{conditions:{mobile:"_18fs8psm3",tablet:"_18fs8psm4",desktop:"_18fs8psm5"},defaultClass:"_18fs8psm3"},28:{conditions:{mobile:"_18fs8psm6",tablet:"_18fs8psm7",desktop:"_18fs8psm8"},defaultClass:"_18fs8psm6"},32:{conditions:{mobile:"_18fs8psm9",tablet:"_18fs8psma",desktop:"_18fs8psmb"},defaultClass:"_18fs8psm9"},36:{conditions:{mobile:"_18fs8psmc",tablet:"_18fs8psmd",desktop:"_18fs8psme"},defaultClass:"_18fs8psmc"},40:{conditions:{mobile:"_18fs8psmf",tablet:"_18fs8psmg",desktop:"_18fs8psmh"},defaultClass:"_18fs8psmf"},44:{conditions:{mobile:"_18fs8psmi",tablet:"_18fs8psmj",desktop:"_18fs8psmk"},defaultClass:"_18fs8psmi"},48:{conditions:{mobile:"_18fs8psml",tablet:"_18fs8psmm",desktop:"_18fs8psmn"},defaultClass:"_18fs8psml"},52:{conditions:{mobile:"_18fs8psmo",tablet:"_18fs8psmp",desktop:"_18fs8psmq"},defaultClass:"_18fs8psmo"},px:{conditions:{mobile:"_18fs8psmr",tablet:"_18fs8psms",desktop:"_18fs8psmt"},defaultClass:"_18fs8psmr"},"0.5":{conditions:{mobile:"_18fs8psmu",tablet:"_18fs8psmv",desktop:"_18fs8psmw"},defaultClass:"_18fs8psmu"},"1.5":{conditions:{mobile:"_18fs8psmx",tablet:"_18fs8psmy",desktop:"_18fs8psmz"},defaultClass:"_18fs8psmx"},"2.5":{conditions:{mobile:"_18fs8psn0",tablet:"_18fs8psn1",desktop:"_18fs8psn2"},defaultClass:"_18fs8psn0"},"3.5":{conditions:{mobile:"_18fs8psn3",tablet:"_18fs8psn4",desktop:"_18fs8psn5"},defaultClass:"_18fs8psn3"}}},paddingBottom:{values:{0:{conditions:{mobile:"_18fs8psn6",tablet:"_18fs8psn7",desktop:"_18fs8psn8"},defaultClass:"_18fs8psn6"},1:{conditions:{mobile:"_18fs8psn9",tablet:"_18fs8psna",desktop:"_18fs8psnb"},defaultClass:"_18fs8psn9"},2:{conditions:{mobile:"_18fs8psnc",tablet:"_18fs8psnd",desktop:"_18fs8psne"},defaultClass:"_18fs8psnc"},3:{conditions:{mobile:"_18fs8psnf",tablet:"_18fs8psng",desktop:"_18fs8psnh"},defaultClass:"_18fs8psnf"},4:{conditions:{mobile:"_18fs8psni",tablet:"_18fs8psnj",desktop:"_18fs8psnk"},defaultClass:"_18fs8psni"},5:{conditions:{mobile:"_18fs8psnl",tablet:"_18fs8psnm",desktop:"_18fs8psnn"},defaultClass:"_18fs8psnl"},6:{conditions:{mobile:"_18fs8psno",tablet:"_18fs8psnp",desktop:"_18fs8psnq"},defaultClass:"_18fs8psno"},7:{conditions:{mobile:"_18fs8psnr",tablet:"_18fs8psns",desktop:"_18fs8psnt"},defaultClass:"_18fs8psnr"},8:{conditions:{mobile:"_18fs8psnu",tablet:"_18fs8psnv",desktop:"_18fs8psnw"},defaultClass:"_18fs8psnu"},9:{conditions:{mobile:"_18fs8psnx",tablet:"_18fs8psny",desktop:"_18fs8psnz"},defaultClass:"_18fs8psnx"},10:{conditions:{mobile:"_18fs8pso0",tablet:"_18fs8pso1",desktop:"_18fs8pso2"},defaultClass:"_18fs8pso0"},11:{conditions:{mobile:"_18fs8pso3",tablet:"_18fs8pso4",desktop:"_18fs8pso5"},defaultClass:"_18fs8pso3"},12:{conditions:{mobile:"_18fs8pso6",tablet:"_18fs8pso7",desktop:"_18fs8pso8"},defaultClass:"_18fs8pso6"},14:{conditions:{mobile:"_18fs8pso9",tablet:"_18fs8psoa",desktop:"_18fs8psob"},defaultClass:"_18fs8pso9"},16:{conditions:{mobile:"_18fs8psoc",tablet:"_18fs8psod",desktop:"_18fs8psoe"},defaultClass:"_18fs8psoc"},20:{conditions:{mobile:"_18fs8psof",tablet:"_18fs8psog",desktop:"_18fs8psoh"},defaultClass:"_18fs8psof"},24:{conditions:{mobile:"_18fs8psoi",tablet:"_18fs8psoj",desktop:"_18fs8psok"},defaultClass:"_18fs8psoi"},28:{conditions:{mobile:"_18fs8psol",tablet:"_18fs8psom",desktop:"_18fs8pson"},defaultClass:"_18fs8psol"},32:{conditions:{mobile:"_18fs8psoo",tablet:"_18fs8psop",desktop:"_18fs8psoq"},defaultClass:"_18fs8psoo"},36:{conditions:{mobile:"_18fs8psor",tablet:"_18fs8psos",desktop:"_18fs8psot"},defaultClass:"_18fs8psor"},40:{conditions:{mobile:"_18fs8psou",tablet:"_18fs8psov",desktop:"_18fs8psow"},defaultClass:"_18fs8psou"},44:{conditions:{mobile:"_18fs8psox",tablet:"_18fs8psoy",desktop:"_18fs8psoz"},defaultClass:"_18fs8psox"},48:{conditions:{mobile:"_18fs8psp0",tablet:"_18fs8psp1",desktop:"_18fs8psp2"},defaultClass:"_18fs8psp0"},52:{conditions:{mobile:"_18fs8psp3",tablet:"_18fs8psp4",desktop:"_18fs8psp5"},defaultClass:"_18fs8psp3"},px:{conditions:{mobile:"_18fs8psp6",tablet:"_18fs8psp7",desktop:"_18fs8psp8"},defaultClass:"_18fs8psp6"},"0.5":{conditions:{mobile:"_18fs8psp9",tablet:"_18fs8pspa",desktop:"_18fs8pspb"},defaultClass:"_18fs8psp9"},"1.5":{conditions:{mobile:"_18fs8pspc",tablet:"_18fs8pspd",desktop:"_18fs8pspe"},defaultClass:"_18fs8pspc"},"2.5":{conditions:{mobile:"_18fs8pspf",tablet:"_18fs8pspg",desktop:"_18fs8psph"},defaultClass:"_18fs8pspf"},"3.5":{conditions:{mobile:"_18fs8pspi",tablet:"_18fs8pspj",desktop:"_18fs8pspk"},defaultClass:"_18fs8pspi"}}},paddingLeft:{values:{0:{conditions:{mobile:"_18fs8pspl",tablet:"_18fs8pspm",desktop:"_18fs8pspn"},defaultClass:"_18fs8pspl"},1:{conditions:{mobile:"_18fs8pspo",tablet:"_18fs8pspp",desktop:"_18fs8pspq"},defaultClass:"_18fs8pspo"},2:{conditions:{mobile:"_18fs8pspr",tablet:"_18fs8psps",desktop:"_18fs8pspt"},defaultClass:"_18fs8pspr"},3:{conditions:{mobile:"_18fs8pspu",tablet:"_18fs8pspv",desktop:"_18fs8pspw"},defaultClass:"_18fs8pspu"},4:{conditions:{mobile:"_18fs8pspx",tablet:"_18fs8pspy",desktop:"_18fs8pspz"},defaultClass:"_18fs8pspx"},5:{conditions:{mobile:"_18fs8psq0",tablet:"_18fs8psq1",desktop:"_18fs8psq2"},defaultClass:"_18fs8psq0"},6:{conditions:{mobile:"_18fs8psq3",tablet:"_18fs8psq4",desktop:"_18fs8psq5"},defaultClass:"_18fs8psq3"},7:{conditions:{mobile:"_18fs8psq6",tablet:"_18fs8psq7",desktop:"_18fs8psq8"},defaultClass:"_18fs8psq6"},8:{conditions:{mobile:"_18fs8psq9",tablet:"_18fs8psqa",desktop:"_18fs8psqb"},defaultClass:"_18fs8psq9"},9:{conditions:{mobile:"_18fs8psqc",tablet:"_18fs8psqd",desktop:"_18fs8psqe"},defaultClass:"_18fs8psqc"},10:{conditions:{mobile:"_18fs8psqf",tablet:"_18fs8psqg",desktop:"_18fs8psqh"},defaultClass:"_18fs8psqf"},11:{conditions:{mobile:"_18fs8psqi",tablet:"_18fs8psqj",desktop:"_18fs8psqk"},defaultClass:"_18fs8psqi"},12:{conditions:{mobile:"_18fs8psql",tablet:"_18fs8psqm",desktop:"_18fs8psqn"},defaultClass:"_18fs8psql"},14:{conditions:{mobile:"_18fs8psqo",tablet:"_18fs8psqp",desktop:"_18fs8psqq"},defaultClass:"_18fs8psqo"},16:{conditions:{mobile:"_18fs8psqr",tablet:"_18fs8psqs",desktop:"_18fs8psqt"},defaultClass:"_18fs8psqr"},20:{conditions:{mobile:"_18fs8psqu",tablet:"_18fs8psqv",desktop:"_18fs8psqw"},defaultClass:"_18fs8psqu"},24:{conditions:{mobile:"_18fs8psqx",tablet:"_18fs8psqy",desktop:"_18fs8psqz"},defaultClass:"_18fs8psqx"},28:{conditions:{mobile:"_18fs8psr0",tablet:"_18fs8psr1",desktop:"_18fs8psr2"},defaultClass:"_18fs8psr0"},32:{conditions:{mobile:"_18fs8psr3",tablet:"_18fs8psr4",desktop:"_18fs8psr5"},defaultClass:"_18fs8psr3"},36:{conditions:{mobile:"_18fs8psr6",tablet:"_18fs8psr7",desktop:"_18fs8psr8"},defaultClass:"_18fs8psr6"},40:{conditions:{mobile:"_18fs8psr9",tablet:"_18fs8psra",desktop:"_18fs8psrb"},defaultClass:"_18fs8psr9"},44:{conditions:{mobile:"_18fs8psrc",tablet:"_18fs8psrd",desktop:"_18fs8psre"},defaultClass:"_18fs8psrc"},48:{conditions:{mobile:"_18fs8psrf",tablet:"_18fs8psrg",desktop:"_18fs8psrh"},defaultClass:"_18fs8psrf"},52:{conditions:{mobile:"_18fs8psri",tablet:"_18fs8psrj",desktop:"_18fs8psrk"},defaultClass:"_18fs8psri"},px:{conditions:{mobile:"_18fs8psrl",tablet:"_18fs8psrm",desktop:"_18fs8psrn"},defaultClass:"_18fs8psrl"},"0.5":{conditions:{mobile:"_18fs8psro",tablet:"_18fs8psrp",desktop:"_18fs8psrq"},defaultClass:"_18fs8psro"},"1.5":{conditions:{mobile:"_18fs8psrr",tablet:"_18fs8psrs",desktop:"_18fs8psrt"},defaultClass:"_18fs8psrr"},"2.5":{conditions:{mobile:"_18fs8psru",tablet:"_18fs8psrv",desktop:"_18fs8psrw"},defaultClass:"_18fs8psru"},"3.5":{conditions:{mobile:"_18fs8psrx",tablet:"_18fs8psry",desktop:"_18fs8psrz"},defaultClass:"_18fs8psrx"}}},paddingRight:{values:{0:{conditions:{mobile:"_18fs8pss0",tablet:"_18fs8pss1",desktop:"_18fs8pss2"},defaultClass:"_18fs8pss0"},1:{conditions:{mobile:"_18fs8pss3",tablet:"_18fs8pss4",desktop:"_18fs8pss5"},defaultClass:"_18fs8pss3"},2:{conditions:{mobile:"_18fs8pss6",tablet:"_18fs8pss7",desktop:"_18fs8pss8"},defaultClass:"_18fs8pss6"},3:{conditions:{mobile:"_18fs8pss9",tablet:"_18fs8pssa",desktop:"_18fs8pssb"},defaultClass:"_18fs8pss9"},4:{conditions:{mobile:"_18fs8pssc",tablet:"_18fs8pssd",desktop:"_18fs8psse"},defaultClass:"_18fs8pssc"},5:{conditions:{mobile:"_18fs8pssf",tablet:"_18fs8pssg",desktop:"_18fs8pssh"},defaultClass:"_18fs8pssf"},6:{conditions:{mobile:"_18fs8pssi",tablet:"_18fs8pssj",desktop:"_18fs8pssk"},defaultClass:"_18fs8pssi"},7:{conditions:{mobile:"_18fs8pssl",tablet:"_18fs8pssm",desktop:"_18fs8pssn"},defaultClass:"_18fs8pssl"},8:{conditions:{mobile:"_18fs8psso",tablet:"_18fs8pssp",desktop:"_18fs8pssq"},defaultClass:"_18fs8psso"},9:{conditions:{mobile:"_18fs8pssr",tablet:"_18fs8psss",desktop:"_18fs8psst"},defaultClass:"_18fs8pssr"},10:{conditions:{mobile:"_18fs8pssu",tablet:"_18fs8pssv",desktop:"_18fs8pssw"},defaultClass:"_18fs8pssu"},11:{conditions:{mobile:"_18fs8pssx",tablet:"_18fs8pssy",desktop:"_18fs8pssz"},defaultClass:"_18fs8pssx"},12:{conditions:{mobile:"_18fs8pst0",tablet:"_18fs8pst1",desktop:"_18fs8pst2"},defaultClass:"_18fs8pst0"},14:{conditions:{mobile:"_18fs8pst3",tablet:"_18fs8pst4",desktop:"_18fs8pst5"},defaultClass:"_18fs8pst3"},16:{conditions:{mobile:"_18fs8pst6",tablet:"_18fs8pst7",desktop:"_18fs8pst8"},defaultClass:"_18fs8pst6"},20:{conditions:{mobile:"_18fs8pst9",tablet:"_18fs8psta",desktop:"_18fs8pstb"},defaultClass:"_18fs8pst9"},24:{conditions:{mobile:"_18fs8pstc",tablet:"_18fs8pstd",desktop:"_18fs8pste"},defaultClass:"_18fs8pstc"},28:{conditions:{mobile:"_18fs8pstf",tablet:"_18fs8pstg",desktop:"_18fs8psth"},defaultClass:"_18fs8pstf"},32:{conditions:{mobile:"_18fs8psti",tablet:"_18fs8pstj",desktop:"_18fs8pstk"},defaultClass:"_18fs8psti"},36:{conditions:{mobile:"_18fs8pstl",tablet:"_18fs8pstm",desktop:"_18fs8pstn"},defaultClass:"_18fs8pstl"},40:{conditions:{mobile:"_18fs8psto",tablet:"_18fs8pstp",desktop:"_18fs8pstq"},defaultClass:"_18fs8psto"},44:{conditions:{mobile:"_18fs8pstr",tablet:"_18fs8psts",desktop:"_18fs8pstt"},defaultClass:"_18fs8pstr"},48:{conditions:{mobile:"_18fs8pstu",tablet:"_18fs8pstv",desktop:"_18fs8pstw"},defaultClass:"_18fs8pstu"},52:{conditions:{mobile:"_18fs8pstx",tablet:"_18fs8psty",desktop:"_18fs8pstz"},defaultClass:"_18fs8pstx"},px:{conditions:{mobile:"_18fs8psu0",tablet:"_18fs8psu1",desktop:"_18fs8psu2"},defaultClass:"_18fs8psu0"},"0.5":{conditions:{mobile:"_18fs8psu3",tablet:"_18fs8psu4",desktop:"_18fs8psu5"},defaultClass:"_18fs8psu3"},"1.5":{conditions:{mobile:"_18fs8psu6",tablet:"_18fs8psu7",desktop:"_18fs8psu8"},defaultClass:"_18fs8psu6"},"2.5":{conditions:{mobile:"_18fs8psu9",tablet:"_18fs8psua",desktop:"_18fs8psub"},defaultClass:"_18fs8psu9"},"3.5":{conditions:{mobile:"_18fs8psuc",tablet:"_18fs8psud",desktop:"_18fs8psue"},defaultClass:"_18fs8psuc"}}},marginTop:{values:{0:{conditions:{mobile:"_18fs8psuf",tablet:"_18fs8psug",desktop:"_18fs8psuh"},defaultClass:"_18fs8psuf"},1:{conditions:{mobile:"_18fs8psui",tablet:"_18fs8psuj",desktop:"_18fs8psuk"},defaultClass:"_18fs8psui"},2:{conditions:{mobile:"_18fs8psul",tablet:"_18fs8psum",desktop:"_18fs8psun"},defaultClass:"_18fs8psul"},3:{conditions:{mobile:"_18fs8psuo",tablet:"_18fs8psup",desktop:"_18fs8psuq"},defaultClass:"_18fs8psuo"},4:{conditions:{mobile:"_18fs8psur",tablet:"_18fs8psus",desktop:"_18fs8psut"},defaultClass:"_18fs8psur"},5:{conditions:{mobile:"_18fs8psuu",tablet:"_18fs8psuv",desktop:"_18fs8psuw"},defaultClass:"_18fs8psuu"},6:{conditions:{mobile:"_18fs8psux",tablet:"_18fs8psuy",desktop:"_18fs8psuz"},defaultClass:"_18fs8psux"},7:{conditions:{mobile:"_18fs8psv0",tablet:"_18fs8psv1",desktop:"_18fs8psv2"},defaultClass:"_18fs8psv0"},8:{conditions:{mobile:"_18fs8psv3",tablet:"_18fs8psv4",desktop:"_18fs8psv5"},defaultClass:"_18fs8psv3"},9:{conditions:{mobile:"_18fs8psv6",tablet:"_18fs8psv7",desktop:"_18fs8psv8"},defaultClass:"_18fs8psv6"},10:{conditions:{mobile:"_18fs8psv9",tablet:"_18fs8psva",desktop:"_18fs8psvb"},defaultClass:"_18fs8psv9"},11:{conditions:{mobile:"_18fs8psvc",tablet:"_18fs8psvd",desktop:"_18fs8psve"},defaultClass:"_18fs8psvc"},12:{conditions:{mobile:"_18fs8psvf",tablet:"_18fs8psvg",desktop:"_18fs8psvh"},defaultClass:"_18fs8psvf"},14:{conditions:{mobile:"_18fs8psvi",tablet:"_18fs8psvj",desktop:"_18fs8psvk"},defaultClass:"_18fs8psvi"},16:{conditions:{mobile:"_18fs8psvl",tablet:"_18fs8psvm",desktop:"_18fs8psvn"},defaultClass:"_18fs8psvl"},20:{conditions:{mobile:"_18fs8psvo",tablet:"_18fs8psvp",desktop:"_18fs8psvq"},defaultClass:"_18fs8psvo"},24:{conditions:{mobile:"_18fs8psvr",tablet:"_18fs8psvs",desktop:"_18fs8psvt"},defaultClass:"_18fs8psvr"},28:{conditions:{mobile:"_18fs8psvu",tablet:"_18fs8psvv",desktop:"_18fs8psvw"},defaultClass:"_18fs8psvu"},32:{conditions:{mobile:"_18fs8psvx",tablet:"_18fs8psvy",desktop:"_18fs8psvz"},defaultClass:"_18fs8psvx"},36:{conditions:{mobile:"_18fs8psw0",tablet:"_18fs8psw1",desktop:"_18fs8psw2"},defaultClass:"_18fs8psw0"},40:{conditions:{mobile:"_18fs8psw3",tablet:"_18fs8psw4",desktop:"_18fs8psw5"},defaultClass:"_18fs8psw3"},44:{conditions:{mobile:"_18fs8psw6",tablet:"_18fs8psw7",desktop:"_18fs8psw8"},defaultClass:"_18fs8psw6"},48:{conditions:{mobile:"_18fs8psw9",tablet:"_18fs8pswa",desktop:"_18fs8pswb"},defaultClass:"_18fs8psw9"},52:{conditions:{mobile:"_18fs8pswc",tablet:"_18fs8pswd",desktop:"_18fs8pswe"},defaultClass:"_18fs8pswc"},px:{conditions:{mobile:"_18fs8pswf",tablet:"_18fs8pswg",desktop:"_18fs8pswh"},defaultClass:"_18fs8pswf"},"0.5":{conditions:{mobile:"_18fs8pswi",tablet:"_18fs8pswj",desktop:"_18fs8pswk"},defaultClass:"_18fs8pswi"},"1.5":{conditions:{mobile:"_18fs8pswl",tablet:"_18fs8pswm",desktop:"_18fs8pswn"},defaultClass:"_18fs8pswl"},"2.5":{conditions:{mobile:"_18fs8pswo",tablet:"_18fs8pswp",desktop:"_18fs8pswq"},defaultClass:"_18fs8pswo"},"3.5":{conditions:{mobile:"_18fs8pswr",tablet:"_18fs8psws",desktop:"_18fs8pswt"},defaultClass:"_18fs8pswr"},auto:{conditions:{mobile:"_18fs8pswu",tablet:"_18fs8pswv",desktop:"_18fs8psww"},defaultClass:"_18fs8pswu"}}},marginBottom:{values:{0:{conditions:{mobile:"_18fs8pswx",tablet:"_18fs8pswy",desktop:"_18fs8pswz"},defaultClass:"_18fs8pswx"},1:{conditions:{mobile:"_18fs8psx0",tablet:"_18fs8psx1",desktop:"_18fs8psx2"},defaultClass:"_18fs8psx0"},2:{conditions:{mobile:"_18fs8psx3",tablet:"_18fs8psx4",desktop:"_18fs8psx5"},defaultClass:"_18fs8psx3"},3:{conditions:{mobile:"_18fs8psx6",tablet:"_18fs8psx7",desktop:"_18fs8psx8"},defaultClass:"_18fs8psx6"},4:{conditions:{mobile:"_18fs8psx9",tablet:"_18fs8psxa",desktop:"_18fs8psxb"},defaultClass:"_18fs8psx9"},5:{conditions:{mobile:"_18fs8psxc",tablet:"_18fs8psxd",desktop:"_18fs8psxe"},defaultClass:"_18fs8psxc"},6:{conditions:{mobile:"_18fs8psxf",tablet:"_18fs8psxg",desktop:"_18fs8psxh"},defaultClass:"_18fs8psxf"},7:{conditions:{mobile:"_18fs8psxi",tablet:"_18fs8psxj",desktop:"_18fs8psxk"},defaultClass:"_18fs8psxi"},8:{conditions:{mobile:"_18fs8psxl",tablet:"_18fs8psxm",desktop:"_18fs8psxn"},defaultClass:"_18fs8psxl"},9:{conditions:{mobile:"_18fs8psxo",tablet:"_18fs8psxp",desktop:"_18fs8psxq"},defaultClass:"_18fs8psxo"},10:{conditions:{mobile:"_18fs8psxr",tablet:"_18fs8psxs",desktop:"_18fs8psxt"},defaultClass:"_18fs8psxr"},11:{conditions:{mobile:"_18fs8psxu",tablet:"_18fs8psxv",desktop:"_18fs8psxw"},defaultClass:"_18fs8psxu"},12:{conditions:{mobile:"_18fs8psxx",tablet:"_18fs8psxy",desktop:"_18fs8psxz"},defaultClass:"_18fs8psxx"},14:{conditions:{mobile:"_18fs8psy0",tablet:"_18fs8psy1",desktop:"_18fs8psy2"},defaultClass:"_18fs8psy0"},16:{conditions:{mobile:"_18fs8psy3",tablet:"_18fs8psy4",desktop:"_18fs8psy5"},defaultClass:"_18fs8psy3"},20:{conditions:{mobile:"_18fs8psy6",tablet:"_18fs8psy7",desktop:"_18fs8psy8"},defaultClass:"_18fs8psy6"},24:{conditions:{mobile:"_18fs8psy9",tablet:"_18fs8psya",desktop:"_18fs8psyb"},defaultClass:"_18fs8psy9"},28:{conditions:{mobile:"_18fs8psyc",tablet:"_18fs8psyd",desktop:"_18fs8psye"},defaultClass:"_18fs8psyc"},32:{conditions:{mobile:"_18fs8psyf",tablet:"_18fs8psyg",desktop:"_18fs8psyh"},defaultClass:"_18fs8psyf"},36:{conditions:{mobile:"_18fs8psyi",tablet:"_18fs8psyj",desktop:"_18fs8psyk"},defaultClass:"_18fs8psyi"},40:{conditions:{mobile:"_18fs8psyl",tablet:"_18fs8psym",desktop:"_18fs8psyn"},defaultClass:"_18fs8psyl"},44:{conditions:{mobile:"_18fs8psyo",tablet:"_18fs8psyp",desktop:"_18fs8psyq"},defaultClass:"_18fs8psyo"},48:{conditions:{mobile:"_18fs8psyr",tablet:"_18fs8psys",desktop:"_18fs8psyt"},defaultClass:"_18fs8psyr"},52:{conditions:{mobile:"_18fs8psyu",tablet:"_18fs8psyv",desktop:"_18fs8psyw"},defaultClass:"_18fs8psyu"},px:{conditions:{mobile:"_18fs8psyx",tablet:"_18fs8psyy",desktop:"_18fs8psyz"},defaultClass:"_18fs8psyx"},"0.5":{conditions:{mobile:"_18fs8psz0",tablet:"_18fs8psz1",desktop:"_18fs8psz2"},defaultClass:"_18fs8psz0"},"1.5":{conditions:{mobile:"_18fs8psz3",tablet:"_18fs8psz4",desktop:"_18fs8psz5"},defaultClass:"_18fs8psz3"},"2.5":{conditions:{mobile:"_18fs8psz6",tablet:"_18fs8psz7",desktop:"_18fs8psz8"},defaultClass:"_18fs8psz6"},"3.5":{conditions:{mobile:"_18fs8psz9",tablet:"_18fs8psza",desktop:"_18fs8pszb"},defaultClass:"_18fs8psz9"},auto:{conditions:{mobile:"_18fs8pszc",tablet:"_18fs8pszd",desktop:"_18fs8psze"},defaultClass:"_18fs8pszc"}}},marginLeft:{values:{0:{conditions:{mobile:"_18fs8pszf",tablet:"_18fs8pszg",desktop:"_18fs8pszh"},defaultClass:"_18fs8pszf"},1:{conditions:{mobile:"_18fs8pszi",tablet:"_18fs8pszj",desktop:"_18fs8pszk"},defaultClass:"_18fs8pszi"},2:{conditions:{mobile:"_18fs8pszl",tablet:"_18fs8pszm",desktop:"_18fs8pszn"},defaultClass:"_18fs8pszl"},3:{conditions:{mobile:"_18fs8pszo",tablet:"_18fs8pszp",desktop:"_18fs8pszq"},defaultClass:"_18fs8pszo"},4:{conditions:{mobile:"_18fs8pszr",tablet:"_18fs8pszs",desktop:"_18fs8pszt"},defaultClass:"_18fs8pszr"},5:{conditions:{mobile:"_18fs8pszu",tablet:"_18fs8pszv",desktop:"_18fs8pszw"},defaultClass:"_18fs8pszu"},6:{conditions:{mobile:"_18fs8pszx",tablet:"_18fs8pszy",desktop:"_18fs8pszz"},defaultClass:"_18fs8pszx"},7:{conditions:{mobile:"_18fs8ps100",tablet:"_18fs8ps101",desktop:"_18fs8ps102"},defaultClass:"_18fs8ps100"},8:{conditions:{mobile:"_18fs8ps103",tablet:"_18fs8ps104",desktop:"_18fs8ps105"},defaultClass:"_18fs8ps103"},9:{conditions:{mobile:"_18fs8ps106",tablet:"_18fs8ps107",desktop:"_18fs8ps108"},defaultClass:"_18fs8ps106"},10:{conditions:{mobile:"_18fs8ps109",tablet:"_18fs8ps10a",desktop:"_18fs8ps10b"},defaultClass:"_18fs8ps109"},11:{conditions:{mobile:"_18fs8ps10c",tablet:"_18fs8ps10d",desktop:"_18fs8ps10e"},defaultClass:"_18fs8ps10c"},12:{conditions:{mobile:"_18fs8ps10f",tablet:"_18fs8ps10g",desktop:"_18fs8ps10h"},defaultClass:"_18fs8ps10f"},14:{conditions:{mobile:"_18fs8ps10i",tablet:"_18fs8ps10j",desktop:"_18fs8ps10k"},defaultClass:"_18fs8ps10i"},16:{conditions:{mobile:"_18fs8ps10l",tablet:"_18fs8ps10m",desktop:"_18fs8ps10n"},defaultClass:"_18fs8ps10l"},20:{conditions:{mobile:"_18fs8ps10o",tablet:"_18fs8ps10p",desktop:"_18fs8ps10q"},defaultClass:"_18fs8ps10o"},24:{conditions:{mobile:"_18fs8ps10r",tablet:"_18fs8ps10s",desktop:"_18fs8ps10t"},defaultClass:"_18fs8ps10r"},28:{conditions:{mobile:"_18fs8ps10u",tablet:"_18fs8ps10v",desktop:"_18fs8ps10w"},defaultClass:"_18fs8ps10u"},32:{conditions:{mobile:"_18fs8ps10x",tablet:"_18fs8ps10y",desktop:"_18fs8ps10z"},defaultClass:"_18fs8ps10x"},36:{conditions:{mobile:"_18fs8ps110",tablet:"_18fs8ps111",desktop:"_18fs8ps112"},defaultClass:"_18fs8ps110"},40:{conditions:{mobile:"_18fs8ps113",tablet:"_18fs8ps114",desktop:"_18fs8ps115"},defaultClass:"_18fs8ps113"},44:{conditions:{mobile:"_18fs8ps116",tablet:"_18fs8ps117",desktop:"_18fs8ps118"},defaultClass:"_18fs8ps116"},48:{conditions:{mobile:"_18fs8ps119",tablet:"_18fs8ps11a",desktop:"_18fs8ps11b"},defaultClass:"_18fs8ps119"},52:{conditions:{mobile:"_18fs8ps11c",tablet:"_18fs8ps11d",desktop:"_18fs8ps11e"},defaultClass:"_18fs8ps11c"},px:{conditions:{mobile:"_18fs8ps11f",tablet:"_18fs8ps11g",desktop:"_18fs8ps11h"},defaultClass:"_18fs8ps11f"},"0.5":{conditions:{mobile:"_18fs8ps11i",tablet:"_18fs8ps11j",desktop:"_18fs8ps11k"},defaultClass:"_18fs8ps11i"},"1.5":{conditions:{mobile:"_18fs8ps11l",tablet:"_18fs8ps11m",desktop:"_18fs8ps11n"},defaultClass:"_18fs8ps11l"},"2.5":{conditions:{mobile:"_18fs8ps11o",tablet:"_18fs8ps11p",desktop:"_18fs8ps11q"},defaultClass:"_18fs8ps11o"},"3.5":{conditions:{mobile:"_18fs8ps11r",tablet:"_18fs8ps11s",desktop:"_18fs8ps11t"},defaultClass:"_18fs8ps11r"},auto:{conditions:{mobile:"_18fs8ps11u",tablet:"_18fs8ps11v",desktop:"_18fs8ps11w"},defaultClass:"_18fs8ps11u"}}},marginRight:{values:{0:{conditions:{mobile:"_18fs8ps11x",tablet:"_18fs8ps11y",desktop:"_18fs8ps11z"},defaultClass:"_18fs8ps11x"},1:{conditions:{mobile:"_18fs8ps120",tablet:"_18fs8ps121",desktop:"_18fs8ps122"},defaultClass:"_18fs8ps120"},2:{conditions:{mobile:"_18fs8ps123",tablet:"_18fs8ps124",desktop:"_18fs8ps125"},defaultClass:"_18fs8ps123"},3:{conditions:{mobile:"_18fs8ps126",tablet:"_18fs8ps127",desktop:"_18fs8ps128"},defaultClass:"_18fs8ps126"},4:{conditions:{mobile:"_18fs8ps129",tablet:"_18fs8ps12a",desktop:"_18fs8ps12b"},defaultClass:"_18fs8ps129"},5:{conditions:{mobile:"_18fs8ps12c",tablet:"_18fs8ps12d",desktop:"_18fs8ps12e"},defaultClass:"_18fs8ps12c"},6:{conditions:{mobile:"_18fs8ps12f",tablet:"_18fs8ps12g",desktop:"_18fs8ps12h"},defaultClass:"_18fs8ps12f"},7:{conditions:{mobile:"_18fs8ps12i",tablet:"_18fs8ps12j",desktop:"_18fs8ps12k"},defaultClass:"_18fs8ps12i"},8:{conditions:{mobile:"_18fs8ps12l",tablet:"_18fs8ps12m",desktop:"_18fs8ps12n"},defaultClass:"_18fs8ps12l"},9:{conditions:{mobile:"_18fs8ps12o",tablet:"_18fs8ps12p",desktop:"_18fs8ps12q"},defaultClass:"_18fs8ps12o"},10:{conditions:{mobile:"_18fs8ps12r",tablet:"_18fs8ps12s",desktop:"_18fs8ps12t"},defaultClass:"_18fs8ps12r"},11:{conditions:{mobile:"_18fs8ps12u",tablet:"_18fs8ps12v",desktop:"_18fs8ps12w"},defaultClass:"_18fs8ps12u"},12:{conditions:{mobile:"_18fs8ps12x",tablet:"_18fs8ps12y",desktop:"_18fs8ps12z"},defaultClass:"_18fs8ps12x"},14:{conditions:{mobile:"_18fs8ps130",tablet:"_18fs8ps131",desktop:"_18fs8ps132"},defaultClass:"_18fs8ps130"},16:{conditions:{mobile:"_18fs8ps133",tablet:"_18fs8ps134",desktop:"_18fs8ps135"},defaultClass:"_18fs8ps133"},20:{conditions:{mobile:"_18fs8ps136",tablet:"_18fs8ps137",desktop:"_18fs8ps138"},defaultClass:"_18fs8ps136"},24:{conditions:{mobile:"_18fs8ps139",tablet:"_18fs8ps13a",desktop:"_18fs8ps13b"},defaultClass:"_18fs8ps139"},28:{conditions:{mobile:"_18fs8ps13c",tablet:"_18fs8ps13d",desktop:"_18fs8ps13e"},defaultClass:"_18fs8ps13c"},32:{conditions:{mobile:"_18fs8ps13f",tablet:"_18fs8ps13g",desktop:"_18fs8ps13h"},defaultClass:"_18fs8ps13f"},36:{conditions:{mobile:"_18fs8ps13i",tablet:"_18fs8ps13j",desktop:"_18fs8ps13k"},defaultClass:"_18fs8ps13i"},40:{conditions:{mobile:"_18fs8ps13l",tablet:"_18fs8ps13m",desktop:"_18fs8ps13n"},defaultClass:"_18fs8ps13l"},44:{conditions:{mobile:"_18fs8ps13o",tablet:"_18fs8ps13p",desktop:"_18fs8ps13q"},defaultClass:"_18fs8ps13o"},48:{conditions:{mobile:"_18fs8ps13r",tablet:"_18fs8ps13s",desktop:"_18fs8ps13t"},defaultClass:"_18fs8ps13r"},52:{conditions:{mobile:"_18fs8ps13u",tablet:"_18fs8ps13v",desktop:"_18fs8ps13w"},defaultClass:"_18fs8ps13u"},px:{conditions:{mobile:"_18fs8ps13x",tablet:"_18fs8ps13y",desktop:"_18fs8ps13z"},defaultClass:"_18fs8ps13x"},"0.5":{conditions:{mobile:"_18fs8ps140",tablet:"_18fs8ps141",desktop:"_18fs8ps142"},defaultClass:"_18fs8ps140"},"1.5":{conditions:{mobile:"_18fs8ps143",tablet:"_18fs8ps144",desktop:"_18fs8ps145"},defaultClass:"_18fs8ps143"},"2.5":{conditions:{mobile:"_18fs8ps146",tablet:"_18fs8ps147",desktop:"_18fs8ps148"},defaultClass:"_18fs8ps146"},"3.5":{conditions:{mobile:"_18fs8ps149",tablet:"_18fs8ps14a",desktop:"_18fs8ps14b"},defaultClass:"_18fs8ps149"},auto:{conditions:{mobile:"_18fs8ps14c",tablet:"_18fs8ps14d",desktop:"_18fs8ps14e"},defaultClass:"_18fs8ps14c"}}},width:{values:{0:{conditions:{mobile:"_18fs8ps14f",tablet:"_18fs8ps14g",desktop:"_18fs8ps14h"},defaultClass:"_18fs8ps14f"},1:{conditions:{mobile:"_18fs8ps14i",tablet:"_18fs8ps14j",desktop:"_18fs8ps14k"},defaultClass:"_18fs8ps14i"},2:{conditions:{mobile:"_18fs8ps14l",tablet:"_18fs8ps14m",desktop:"_18fs8ps14n"},defaultClass:"_18fs8ps14l"},3:{conditions:{mobile:"_18fs8ps14o",tablet:"_18fs8ps14p",desktop:"_18fs8ps14q"},defaultClass:"_18fs8ps14o"},4:{conditions:{mobile:"_18fs8ps14r",tablet:"_18fs8ps14s",desktop:"_18fs8ps14t"},defaultClass:"_18fs8ps14r"},5:{conditions:{mobile:"_18fs8ps14u",tablet:"_18fs8ps14v",desktop:"_18fs8ps14w"},defaultClass:"_18fs8ps14u"},6:{conditions:{mobile:"_18fs8ps14x",tablet:"_18fs8ps14y",desktop:"_18fs8ps14z"},defaultClass:"_18fs8ps14x"},7:{conditions:{mobile:"_18fs8ps150",tablet:"_18fs8ps151",desktop:"_18fs8ps152"},defaultClass:"_18fs8ps150"},8:{conditions:{mobile:"_18fs8ps153",tablet:"_18fs8ps154",desktop:"_18fs8ps155"},defaultClass:"_18fs8ps153"},9:{conditions:{mobile:"_18fs8ps156",tablet:"_18fs8ps157",desktop:"_18fs8ps158"},defaultClass:"_18fs8ps156"},10:{conditions:{mobile:"_18fs8ps159",tablet:"_18fs8ps15a",desktop:"_18fs8ps15b"},defaultClass:"_18fs8ps159"},11:{conditions:{mobile:"_18fs8ps15c",tablet:"_18fs8ps15d",desktop:"_18fs8ps15e"},defaultClass:"_18fs8ps15c"},12:{conditions:{mobile:"_18fs8ps15f",tablet:"_18fs8ps15g",desktop:"_18fs8ps15h"},defaultClass:"_18fs8ps15f"},14:{conditions:{mobile:"_18fs8ps15i",tablet:"_18fs8ps15j",desktop:"_18fs8ps15k"},defaultClass:"_18fs8ps15i"},16:{conditions:{mobile:"_18fs8ps15l",tablet:"_18fs8ps15m",desktop:"_18fs8ps15n"},defaultClass:"_18fs8ps15l"},20:{conditions:{mobile:"_18fs8ps15o",tablet:"_18fs8ps15p",desktop:"_18fs8ps15q"},defaultClass:"_18fs8ps15o"},24:{conditions:{mobile:"_18fs8ps15r",tablet:"_18fs8ps15s",desktop:"_18fs8ps15t"},defaultClass:"_18fs8ps15r"},28:{conditions:{mobile:"_18fs8ps15u",tablet:"_18fs8ps15v",desktop:"_18fs8ps15w"},defaultClass:"_18fs8ps15u"},32:{conditions:{mobile:"_18fs8ps15x",tablet:"_18fs8ps15y",desktop:"_18fs8ps15z"},defaultClass:"_18fs8ps15x"},36:{conditions:{mobile:"_18fs8ps160",tablet:"_18fs8ps161",desktop:"_18fs8ps162"},defaultClass:"_18fs8ps160"},40:{conditions:{mobile:"_18fs8ps163",tablet:"_18fs8ps164",desktop:"_18fs8ps165"},defaultClass:"_18fs8ps163"},44:{conditions:{mobile:"_18fs8ps166",tablet:"_18fs8ps167",desktop:"_18fs8ps168"},defaultClass:"_18fs8ps166"},48:{conditions:{mobile:"_18fs8ps169",tablet:"_18fs8ps16a",desktop:"_18fs8ps16b"},defaultClass:"_18fs8ps169"},52:{conditions:{mobile:"_18fs8ps16c",tablet:"_18fs8ps16d",desktop:"_18fs8ps16e"},defaultClass:"_18fs8ps16c"},px:{conditions:{mobile:"_18fs8ps16f",tablet:"_18fs8ps16g",desktop:"_18fs8ps16h"},defaultClass:"_18fs8ps16f"},"0.5":{conditions:{mobile:"_18fs8ps16i",tablet:"_18fs8ps16j",desktop:"_18fs8ps16k"},defaultClass:"_18fs8ps16i"},"1.5":{conditions:{mobile:"_18fs8ps16l",tablet:"_18fs8ps16m",desktop:"_18fs8ps16n"},defaultClass:"_18fs8ps16l"},"2.5":{conditions:{mobile:"_18fs8ps16o",tablet:"_18fs8ps16p",desktop:"_18fs8ps16q"},defaultClass:"_18fs8ps16o"},"3.5":{conditions:{mobile:"_18fs8ps16r",tablet:"_18fs8ps16s",desktop:"_18fs8ps16t"},defaultClass:"_18fs8ps16r"},"100%":{conditions:{mobile:"_18fs8ps16u",tablet:"_18fs8ps16v",desktop:"_18fs8ps16w"},defaultClass:"_18fs8ps16u"},"100vw":{conditions:{mobile:"_18fs8ps16x",tablet:"_18fs8ps16y",desktop:"_18fs8ps16z"},defaultClass:"_18fs8ps16x"}}},height:{values:{0:{conditions:{mobile:"_18fs8ps170",tablet:"_18fs8ps171",desktop:"_18fs8ps172"},defaultClass:"_18fs8ps170"},1:{conditions:{mobile:"_18fs8ps173",tablet:"_18fs8ps174",desktop:"_18fs8ps175"},defaultClass:"_18fs8ps173"},2:{conditions:{mobile:"_18fs8ps176",tablet:"_18fs8ps177",desktop:"_18fs8ps178"},defaultClass:"_18fs8ps176"},3:{conditions:{mobile:"_18fs8ps179",tablet:"_18fs8ps17a",desktop:"_18fs8ps17b"},defaultClass:"_18fs8ps179"},4:{conditions:{mobile:"_18fs8ps17c",tablet:"_18fs8ps17d",desktop:"_18fs8ps17e"},defaultClass:"_18fs8ps17c"},5:{conditions:{mobile:"_18fs8ps17f",tablet:"_18fs8ps17g",desktop:"_18fs8ps17h"},defaultClass:"_18fs8ps17f"},6:{conditions:{mobile:"_18fs8ps17i",tablet:"_18fs8ps17j",desktop:"_18fs8ps17k"},defaultClass:"_18fs8ps17i"},7:{conditions:{mobile:"_18fs8ps17l",tablet:"_18fs8ps17m",desktop:"_18fs8ps17n"},defaultClass:"_18fs8ps17l"},8:{conditions:{mobile:"_18fs8ps17o",tablet:"_18fs8ps17p",desktop:"_18fs8ps17q"},defaultClass:"_18fs8ps17o"},9:{conditions:{mobile:"_18fs8ps17r",tablet:"_18fs8ps17s",desktop:"_18fs8ps17t"},defaultClass:"_18fs8ps17r"},10:{conditions:{mobile:"_18fs8ps17u",tablet:"_18fs8ps17v",desktop:"_18fs8ps17w"},defaultClass:"_18fs8ps17u"},11:{conditions:{mobile:"_18fs8ps17x",tablet:"_18fs8ps17y",desktop:"_18fs8ps17z"},defaultClass:"_18fs8ps17x"},12:{conditions:{mobile:"_18fs8ps180",tablet:"_18fs8ps181",desktop:"_18fs8ps182"},defaultClass:"_18fs8ps180"},14:{conditions:{mobile:"_18fs8ps183",tablet:"_18fs8ps184",desktop:"_18fs8ps185"},defaultClass:"_18fs8ps183"},16:{conditions:{mobile:"_18fs8ps186",tablet:"_18fs8ps187",desktop:"_18fs8ps188"},defaultClass:"_18fs8ps186"},20:{conditions:{mobile:"_18fs8ps189",tablet:"_18fs8ps18a",desktop:"_18fs8ps18b"},defaultClass:"_18fs8ps189"},24:{conditions:{mobile:"_18fs8ps18c",tablet:"_18fs8ps18d",desktop:"_18fs8ps18e"},defaultClass:"_18fs8ps18c"},28:{conditions:{mobile:"_18fs8ps18f",tablet:"_18fs8ps18g",desktop:"_18fs8ps18h"},defaultClass:"_18fs8ps18f"},32:{conditions:{mobile:"_18fs8ps18i",tablet:"_18fs8ps18j",desktop:"_18fs8ps18k"},defaultClass:"_18fs8ps18i"},36:{conditions:{mobile:"_18fs8ps18l",tablet:"_18fs8ps18m",desktop:"_18fs8ps18n"},defaultClass:"_18fs8ps18l"},40:{conditions:{mobile:"_18fs8ps18o",tablet:"_18fs8ps18p",desktop:"_18fs8ps18q"},defaultClass:"_18fs8ps18o"},44:{conditions:{mobile:"_18fs8ps18r",tablet:"_18fs8ps18s",desktop:"_18fs8ps18t"},defaultClass:"_18fs8ps18r"},48:{conditions:{mobile:"_18fs8ps18u",tablet:"_18fs8ps18v",desktop:"_18fs8ps18w"},defaultClass:"_18fs8ps18u"},52:{conditions:{mobile:"_18fs8ps18x",tablet:"_18fs8ps18y",desktop:"_18fs8ps18z"},defaultClass:"_18fs8ps18x"},px:{conditions:{mobile:"_18fs8ps190",tablet:"_18fs8ps191",desktop:"_18fs8ps192"},defaultClass:"_18fs8ps190"},"0.5":{conditions:{mobile:"_18fs8ps193",tablet:"_18fs8ps194",desktop:"_18fs8ps195"},defaultClass:"_18fs8ps193"},"1.5":{conditions:{mobile:"_18fs8ps196",tablet:"_18fs8ps197",desktop:"_18fs8ps198"},defaultClass:"_18fs8ps196"},"2.5":{conditions:{mobile:"_18fs8ps199",tablet:"_18fs8ps19a",desktop:"_18fs8ps19b"},defaultClass:"_18fs8ps199"},"3.5":{conditions:{mobile:"_18fs8ps19c",tablet:"_18fs8ps19d",desktop:"_18fs8ps19e"},defaultClass:"_18fs8ps19c"},"100%":{conditions:{mobile:"_18fs8ps19f",tablet:"_18fs8ps19g",desktop:"_18fs8ps19h"},defaultClass:"_18fs8ps19f"},"100vh":{conditions:{mobile:"_18fs8ps19i",tablet:"_18fs8ps19j",desktop:"_18fs8ps19k"},defaultClass:"_18fs8ps19i"}}},minHeight:{values:{auto:{conditions:{mobile:"_18fs8ps19l",tablet:"_18fs8ps19m",desktop:"_18fs8ps19n"},defaultClass:"_18fs8ps19l"},"100%":{conditions:{mobile:"_18fs8ps19o",tablet:"_18fs8ps19p",desktop:"_18fs8ps19q"},defaultClass:"_18fs8ps19o"},"0px":{conditions:{mobile:"_18fs8ps19r",tablet:"_18fs8ps19s",desktop:"_18fs8ps19t"},defaultClass:"_18fs8ps19r"}}},minWidth:{values:{0:{conditions:{mobile:"_18fs8ps19u",tablet:"_18fs8ps19v",desktop:"_18fs8ps19w"},defaultClass:"_18fs8ps19u"},1:{conditions:{mobile:"_18fs8ps19x",tablet:"_18fs8ps19y",desktop:"_18fs8ps19z"},defaultClass:"_18fs8ps19x"},2:{conditions:{mobile:"_18fs8ps1a0",tablet:"_18fs8ps1a1",desktop:"_18fs8ps1a2"},defaultClass:"_18fs8ps1a0"},3:{conditions:{mobile:"_18fs8ps1a3",tablet:"_18fs8ps1a4",desktop:"_18fs8ps1a5"},defaultClass:"_18fs8ps1a3"},4:{conditions:{mobile:"_18fs8ps1a6",tablet:"_18fs8ps1a7",desktop:"_18fs8ps1a8"},defaultClass:"_18fs8ps1a6"},5:{conditions:{mobile:"_18fs8ps1a9",tablet:"_18fs8ps1aa",desktop:"_18fs8ps1ab"},defaultClass:"_18fs8ps1a9"},6:{conditions:{mobile:"_18fs8ps1ac",tablet:"_18fs8ps1ad",desktop:"_18fs8ps1ae"},defaultClass:"_18fs8ps1ac"},7:{conditions:{mobile:"_18fs8ps1af",tablet:"_18fs8ps1ag",desktop:"_18fs8ps1ah"},defaultClass:"_18fs8ps1af"},8:{conditions:{mobile:"_18fs8ps1ai",tablet:"_18fs8ps1aj",desktop:"_18fs8ps1ak"},defaultClass:"_18fs8ps1ai"},9:{conditions:{mobile:"_18fs8ps1al",tablet:"_18fs8ps1am",desktop:"_18fs8ps1an"},defaultClass:"_18fs8ps1al"},10:{conditions:{mobile:"_18fs8ps1ao",tablet:"_18fs8ps1ap",desktop:"_18fs8ps1aq"},defaultClass:"_18fs8ps1ao"},11:{conditions:{mobile:"_18fs8ps1ar",tablet:"_18fs8ps1as",desktop:"_18fs8ps1at"},defaultClass:"_18fs8ps1ar"},12:{conditions:{mobile:"_18fs8ps1au",tablet:"_18fs8ps1av",desktop:"_18fs8ps1aw"},defaultClass:"_18fs8ps1au"},14:{conditions:{mobile:"_18fs8ps1ax",tablet:"_18fs8ps1ay",desktop:"_18fs8ps1az"},defaultClass:"_18fs8ps1ax"},16:{conditions:{mobile:"_18fs8ps1b0",tablet:"_18fs8ps1b1",desktop:"_18fs8ps1b2"},defaultClass:"_18fs8ps1b0"},20:{conditions:{mobile:"_18fs8ps1b3",tablet:"_18fs8ps1b4",desktop:"_18fs8ps1b5"},defaultClass:"_18fs8ps1b3"},24:{conditions:{mobile:"_18fs8ps1b6",tablet:"_18fs8ps1b7",desktop:"_18fs8ps1b8"},defaultClass:"_18fs8ps1b6"},28:{conditions:{mobile:"_18fs8ps1b9",tablet:"_18fs8ps1ba",desktop:"_18fs8ps1bb"},defaultClass:"_18fs8ps1b9"},32:{conditions:{mobile:"_18fs8ps1bc",tablet:"_18fs8ps1bd",desktop:"_18fs8ps1be"},defaultClass:"_18fs8ps1bc"},36:{conditions:{mobile:"_18fs8ps1bf",tablet:"_18fs8ps1bg",desktop:"_18fs8ps1bh"},defaultClass:"_18fs8ps1bf"},40:{conditions:{mobile:"_18fs8ps1bi",tablet:"_18fs8ps1bj",desktop:"_18fs8ps1bk"},defaultClass:"_18fs8ps1bi"},44:{conditions:{mobile:"_18fs8ps1bl",tablet:"_18fs8ps1bm",desktop:"_18fs8ps1bn"},defaultClass:"_18fs8ps1bl"},48:{conditions:{mobile:"_18fs8ps1bo",tablet:"_18fs8ps1bp",desktop:"_18fs8ps1bq"},defaultClass:"_18fs8ps1bo"},52:{conditions:{mobile:"_18fs8ps1br",tablet:"_18fs8ps1bs",desktop:"_18fs8ps1bt"},defaultClass:"_18fs8ps1br"},px:{conditions:{mobile:"_18fs8ps1bu",tablet:"_18fs8ps1bv",desktop:"_18fs8ps1bw"},defaultClass:"_18fs8ps1bu"},"0.5":{conditions:{mobile:"_18fs8ps1bx",tablet:"_18fs8ps1by",desktop:"_18fs8ps1bz"},defaultClass:"_18fs8ps1bx"},"1.5":{conditions:{mobile:"_18fs8ps1c0",tablet:"_18fs8ps1c1",desktop:"_18fs8ps1c2"},defaultClass:"_18fs8ps1c0"},"2.5":{conditions:{mobile:"_18fs8ps1c3",tablet:"_18fs8ps1c4",desktop:"_18fs8ps1c5"},defaultClass:"_18fs8ps1c3"},"3.5":{conditions:{mobile:"_18fs8ps1c6",tablet:"_18fs8ps1c7",desktop:"_18fs8ps1c8"},defaultClass:"_18fs8ps1c6"},auto:{conditions:{mobile:"_18fs8ps1c9",tablet:"_18fs8ps1ca",desktop:"_18fs8ps1cb"},defaultClass:"_18fs8ps1c9"},"100%":{conditions:{mobile:"_18fs8ps1cc",tablet:"_18fs8ps1cd",desktop:"_18fs8ps1ce"},defaultClass:"_18fs8ps1cc"}}},maxWidth:{values:{auto:{conditions:{mobile:"_18fs8ps1cf",tablet:"_18fs8ps1cg",desktop:"_18fs8ps1ch"},defaultClass:"_18fs8ps1cf"},"100%":{conditions:{mobile:"_18fs8ps1ci",tablet:"_18fs8ps1cj",desktop:"_18fs8ps1ck"},defaultClass:"_18fs8ps1ci"},"0px":{conditions:{mobile:"_18fs8ps1cl",tablet:"_18fs8ps1cm",desktop:"_18fs8ps1cn"},defaultClass:"_18fs8ps1cl"}}},maxHeight:{values:{0:{conditions:{mobile:"_18fs8ps1co",tablet:"_18fs8ps1cp",desktop:"_18fs8ps1cq"},defaultClass:"_18fs8ps1co"},1:{conditions:{mobile:"_18fs8ps1cr",tablet:"_18fs8ps1cs",desktop:"_18fs8ps1ct"},defaultClass:"_18fs8ps1cr"},2:{conditions:{mobile:"_18fs8ps1cu",tablet:"_18fs8ps1cv",desktop:"_18fs8ps1cw"},defaultClass:"_18fs8ps1cu"},3:{conditions:{mobile:"_18fs8ps1cx",tablet:"_18fs8ps1cy",desktop:"_18fs8ps1cz"},defaultClass:"_18fs8ps1cx"},4:{conditions:{mobile:"_18fs8ps1d0",tablet:"_18fs8ps1d1",desktop:"_18fs8ps1d2"},defaultClass:"_18fs8ps1d0"},5:{conditions:{mobile:"_18fs8ps1d3",tablet:"_18fs8ps1d4",desktop:"_18fs8ps1d5"},defaultClass:"_18fs8ps1d3"},6:{conditions:{mobile:"_18fs8ps1d6",tablet:"_18fs8ps1d7",desktop:"_18fs8ps1d8"},defaultClass:"_18fs8ps1d6"},7:{conditions:{mobile:"_18fs8ps1d9",tablet:"_18fs8ps1da",desktop:"_18fs8ps1db"},defaultClass:"_18fs8ps1d9"},8:{conditions:{mobile:"_18fs8ps1dc",tablet:"_18fs8ps1dd",desktop:"_18fs8ps1de"},defaultClass:"_18fs8ps1dc"},9:{conditions:{mobile:"_18fs8ps1df",tablet:"_18fs8ps1dg",desktop:"_18fs8ps1dh"},defaultClass:"_18fs8ps1df"},10:{conditions:{mobile:"_18fs8ps1di",tablet:"_18fs8ps1dj",desktop:"_18fs8ps1dk"},defaultClass:"_18fs8ps1di"},11:{conditions:{mobile:"_18fs8ps1dl",tablet:"_18fs8ps1dm",desktop:"_18fs8ps1dn"},defaultClass:"_18fs8ps1dl"},12:{conditions:{mobile:"_18fs8ps1do",tablet:"_18fs8ps1dp",desktop:"_18fs8ps1dq"},defaultClass:"_18fs8ps1do"},14:{conditions:{mobile:"_18fs8ps1dr",tablet:"_18fs8ps1ds",desktop:"_18fs8ps1dt"},defaultClass:"_18fs8ps1dr"},16:{conditions:{mobile:"_18fs8ps1du",tablet:"_18fs8ps1dv",desktop:"_18fs8ps1dw"},defaultClass:"_18fs8ps1du"},20:{conditions:{mobile:"_18fs8ps1dx",tablet:"_18fs8ps1dy",desktop:"_18fs8ps1dz"},defaultClass:"_18fs8ps1dx"},24:{conditions:{mobile:"_18fs8ps1e0",tablet:"_18fs8ps1e1",desktop:"_18fs8ps1e2"},defaultClass:"_18fs8ps1e0"},28:{conditions:{mobile:"_18fs8ps1e3",tablet:"_18fs8ps1e4",desktop:"_18fs8ps1e5"},defaultClass:"_18fs8ps1e3"},32:{conditions:{mobile:"_18fs8ps1e6",tablet:"_18fs8ps1e7",desktop:"_18fs8ps1e8"},defaultClass:"_18fs8ps1e6"},36:{conditions:{mobile:"_18fs8ps1e9",tablet:"_18fs8ps1ea",desktop:"_18fs8ps1eb"},defaultClass:"_18fs8ps1e9"},40:{conditions:{mobile:"_18fs8ps1ec",tablet:"_18fs8ps1ed",desktop:"_18fs8ps1ee"},defaultClass:"_18fs8ps1ec"},44:{conditions:{mobile:"_18fs8ps1ef",tablet:"_18fs8ps1eg",desktop:"_18fs8ps1eh"},defaultClass:"_18fs8ps1ef"},48:{conditions:{mobile:"_18fs8ps1ei",tablet:"_18fs8ps1ej",desktop:"_18fs8ps1ek"},defaultClass:"_18fs8ps1ei"},52:{conditions:{mobile:"_18fs8ps1el",tablet:"_18fs8ps1em",desktop:"_18fs8ps1en"},defaultClass:"_18fs8ps1el"},px:{conditions:{mobile:"_18fs8ps1eo",tablet:"_18fs8ps1ep",desktop:"_18fs8ps1eq"},defaultClass:"_18fs8ps1eo"},"0.5":{conditions:{mobile:"_18fs8ps1er",tablet:"_18fs8ps1es",desktop:"_18fs8ps1et"},defaultClass:"_18fs8ps1er"},"1.5":{conditions:{mobile:"_18fs8ps1eu",tablet:"_18fs8ps1ev",desktop:"_18fs8ps1ew"},defaultClass:"_18fs8ps1eu"},"2.5":{conditions:{mobile:"_18fs8ps1ex",tablet:"_18fs8ps1ey",desktop:"_18fs8ps1ez"},defaultClass:"_18fs8ps1ex"},"3.5":{conditions:{mobile:"_18fs8ps1f0",tablet:"_18fs8ps1f1",desktop:"_18fs8ps1f2"},defaultClass:"_18fs8ps1f0"},auto:{conditions:{mobile:"_18fs8ps1f3",tablet:"_18fs8ps1f4",desktop:"_18fs8ps1f5"},defaultClass:"_18fs8ps1f3"},"100%":{conditions:{mobile:"_18fs8ps1f6",tablet:"_18fs8ps1f7",desktop:"_18fs8ps1f8"},defaultClass:"_18fs8ps1f6"},"0px":{conditions:{mobile:"_18fs8ps1f9",tablet:"_18fs8ps1fa",desktop:"_18fs8ps1fb"},defaultClass:"_18fs8ps1f9"}}},borderTopRightRadius:{values:{1:{conditions:{mobile:"_18fs8ps1fc",tablet:"_18fs8ps1fd",desktop:"_18fs8ps1fe"},defaultClass:"_18fs8ps1fc"},2:{conditions:{mobile:"_18fs8ps1ff",tablet:"_18fs8ps1fg",desktop:"_18fs8ps1fh"},defaultClass:"_18fs8ps1ff"},3:{conditions:{mobile:"_18fs8ps1fi",tablet:"_18fs8ps1fj",desktop:"_18fs8ps1fk"},defaultClass:"_18fs8ps1fi"},4:{conditions:{mobile:"_18fs8ps1fl",tablet:"_18fs8ps1fm",desktop:"_18fs8ps1fn"},defaultClass:"_18fs8ps1fl"},5:{conditions:{mobile:"_18fs8ps1fo",tablet:"_18fs8ps1fp",desktop:"_18fs8ps1fq"},defaultClass:"_18fs8ps1fo"},6:{conditions:{mobile:"_18fs8ps1fr",tablet:"_18fs8ps1fs",desktop:"_18fs8ps1ft"},defaultClass:"_18fs8ps1fr"},7:{conditions:{mobile:"_18fs8ps1fu",tablet:"_18fs8ps1fv",desktop:"_18fs8ps1fw"},defaultClass:"_18fs8ps1fu"},8:{conditions:{mobile:"_18fs8ps1fx",tablet:"_18fs8ps1fy",desktop:"_18fs8ps1fz"},defaultClass:"_18fs8ps1fx"},9:{conditions:{mobile:"_18fs8ps1g0",tablet:"_18fs8ps1g1",desktop:"_18fs8ps1g2"},defaultClass:"_18fs8ps1g0"},"50%":{conditions:{mobile:"_18fs8ps1g3",tablet:"_18fs8ps1g4",desktop:"_18fs8ps1g5"},defaultClass:"_18fs8ps1g3"},"100%":{conditions:{mobile:"_18fs8ps1g6",tablet:"_18fs8ps1g7",desktop:"_18fs8ps1g8"},defaultClass:"_18fs8ps1g6"}}},borderTopLeftRadius:{values:{1:{conditions:{mobile:"_18fs8ps1g9",tablet:"_18fs8ps1ga",desktop:"_18fs8ps1gb"},defaultClass:"_18fs8ps1g9"},2:{conditions:{mobile:"_18fs8ps1gc",tablet:"_18fs8ps1gd",desktop:"_18fs8ps1ge"},defaultClass:"_18fs8ps1gc"},3:{conditions:{mobile:"_18fs8ps1gf",tablet:"_18fs8ps1gg",desktop:"_18fs8ps1gh"},defaultClass:"_18fs8ps1gf"},4:{conditions:{mobile:"_18fs8ps1gi",tablet:"_18fs8ps1gj",desktop:"_18fs8ps1gk"},defaultClass:"_18fs8ps1gi"},5:{conditions:{mobile:"_18fs8ps1gl",tablet:"_18fs8ps1gm",desktop:"_18fs8ps1gn"},defaultClass:"_18fs8ps1gl"},6:{conditions:{mobile:"_18fs8ps1go",tablet:"_18fs8ps1gp",desktop:"_18fs8ps1gq"},defaultClass:"_18fs8ps1go"},7:{conditions:{mobile:"_18fs8ps1gr",tablet:"_18fs8ps1gs",desktop:"_18fs8ps1gt"},defaultClass:"_18fs8ps1gr"},8:{conditions:{mobile:"_18fs8ps1gu",tablet:"_18fs8ps1gv",desktop:"_18fs8ps1gw"},defaultClass:"_18fs8ps1gu"},9:{conditions:{mobile:"_18fs8ps1gx",tablet:"_18fs8ps1gy",desktop:"_18fs8ps1gz"},defaultClass:"_18fs8ps1gx"},"50%":{conditions:{mobile:"_18fs8ps1h0",tablet:"_18fs8ps1h1",desktop:"_18fs8ps1h2"},defaultClass:"_18fs8ps1h0"},"100%":{conditions:{mobile:"_18fs8ps1h3",tablet:"_18fs8ps1h4",desktop:"_18fs8ps1h5"},defaultClass:"_18fs8ps1h3"}}},borderBottomRightRadius:{values:{1:{conditions:{mobile:"_18fs8ps1h6",tablet:"_18fs8ps1h7",desktop:"_18fs8ps1h8"},defaultClass:"_18fs8ps1h6"},2:{conditions:{mobile:"_18fs8ps1h9",tablet:"_18fs8ps1ha",desktop:"_18fs8ps1hb"},defaultClass:"_18fs8ps1h9"},3:{conditions:{mobile:"_18fs8ps1hc",tablet:"_18fs8ps1hd",desktop:"_18fs8ps1he"},defaultClass:"_18fs8ps1hc"},4:{conditions:{mobile:"_18fs8ps1hf",tablet:"_18fs8ps1hg",desktop:"_18fs8ps1hh"},defaultClass:"_18fs8ps1hf"},5:{conditions:{mobile:"_18fs8ps1hi",tablet:"_18fs8ps1hj",desktop:"_18fs8ps1hk"},defaultClass:"_18fs8ps1hi"},6:{conditions:{mobile:"_18fs8ps1hl",tablet:"_18fs8ps1hm",desktop:"_18fs8ps1hn"},defaultClass:"_18fs8ps1hl"},7:{conditions:{mobile:"_18fs8ps1ho",tablet:"_18fs8ps1hp",desktop:"_18fs8ps1hq"},defaultClass:"_18fs8ps1ho"},8:{conditions:{mobile:"_18fs8ps1hr",tablet:"_18fs8ps1hs",desktop:"_18fs8ps1ht"},defaultClass:"_18fs8ps1hr"},9:{conditions:{mobile:"_18fs8ps1hu",tablet:"_18fs8ps1hv",desktop:"_18fs8ps1hw"},defaultClass:"_18fs8ps1hu"},"50%":{conditions:{mobile:"_18fs8ps1hx",tablet:"_18fs8ps1hy",desktop:"_18fs8ps1hz"},defaultClass:"_18fs8ps1hx"},"100%":{conditions:{mobile:"_18fs8ps1i0",tablet:"_18fs8ps1i1",desktop:"_18fs8ps1i2"},defaultClass:"_18fs8ps1i0"}}},borderBottomLeftRadius:{values:{1:{conditions:{mobile:"_18fs8ps1i3",tablet:"_18fs8ps1i4",desktop:"_18fs8ps1i5"},defaultClass:"_18fs8ps1i3"},2:{conditions:{mobile:"_18fs8ps1i6",tablet:"_18fs8ps1i7",desktop:"_18fs8ps1i8"},defaultClass:"_18fs8ps1i6"},3:{conditions:{mobile:"_18fs8ps1i9",tablet:"_18fs8ps1ia",desktop:"_18fs8ps1ib"},defaultClass:"_18fs8ps1i9"},4:{conditions:{mobile:"_18fs8ps1ic",tablet:"_18fs8ps1id",desktop:"_18fs8ps1ie"},defaultClass:"_18fs8ps1ic"},5:{conditions:{mobile:"_18fs8ps1if",tablet:"_18fs8ps1ig",desktop:"_18fs8ps1ih"},defaultClass:"_18fs8ps1if"},6:{conditions:{mobile:"_18fs8ps1ii",tablet:"_18fs8ps1ij",desktop:"_18fs8ps1ik"},defaultClass:"_18fs8ps1ii"},7:{conditions:{mobile:"_18fs8ps1il",tablet:"_18fs8ps1im",desktop:"_18fs8ps1in"},defaultClass:"_18fs8ps1il"},8:{conditions:{mobile:"_18fs8ps1io",tablet:"_18fs8ps1ip",desktop:"_18fs8ps1iq"},defaultClass:"_18fs8ps1io"},9:{conditions:{mobile:"_18fs8ps1ir",tablet:"_18fs8ps1is",desktop:"_18fs8ps1it"},defaultClass:"_18fs8ps1ir"},"50%":{conditions:{mobile:"_18fs8ps1iu",tablet:"_18fs8ps1iv",desktop:"_18fs8ps1iw"},defaultClass:"_18fs8ps1iu"},"100%":{conditions:{mobile:"_18fs8ps1ix",tablet:"_18fs8ps1iy",desktop:"_18fs8ps1iz"},defaultClass:"_18fs8ps1ix"}}},fontSize:{values:{heroLarge:{conditions:{mobile:"_18fs8ps1j0",tablet:"_18fs8ps1j1",desktop:"_18fs8ps1j2"},defaultClass:"_18fs8ps1j0"},heroMedium:{conditions:{mobile:"_18fs8ps1j3",tablet:"_18fs8ps1j4",desktop:"_18fs8ps1j5"},defaultClass:"_18fs8ps1j3"},heroSmall:{conditions:{mobile:"_18fs8ps1j6",tablet:"_18fs8ps1j7",desktop:"_18fs8ps1j8"},defaultClass:"_18fs8ps1j6"},titleLarge:{conditions:{mobile:"_18fs8ps1j9",tablet:"_18fs8ps1ja",desktop:"_18fs8ps1jb"},defaultClass:"_18fs8ps1j9"},titleMedium:{conditions:{mobile:"_18fs8ps1jc",tablet:"_18fs8ps1jd",desktop:"_18fs8ps1je"},defaultClass:"_18fs8ps1jc"},titleSmall:{conditions:{mobile:"_18fs8ps1jf",tablet:"_18fs8ps1jg",desktop:"_18fs8ps1jh"},defaultClass:"_18fs8ps1jf"},headingLarge:{conditions:{mobile:"_18fs8ps1ji",tablet:"_18fs8ps1jj",desktop:"_18fs8ps1jk"},defaultClass:"_18fs8ps1ji"},headingMedium:{conditions:{mobile:"_18fs8ps1jl",tablet:"_18fs8ps1jm",desktop:"_18fs8ps1jn"},defaultClass:"_18fs8ps1jl"},headingSmall:{conditions:{mobile:"_18fs8ps1jo",tablet:"_18fs8ps1jp",desktop:"_18fs8ps1jq"},defaultClass:"_18fs8ps1jo"},bodyStrongLarge:{conditions:{mobile:"_18fs8ps1jr",tablet:"_18fs8ps1js",desktop:"_18fs8ps1jt"},defaultClass:"_18fs8ps1jr"},bodyStrongMedium:{conditions:{mobile:"_18fs8ps1ju",tablet:"_18fs8ps1jv",desktop:"_18fs8ps1jw"},defaultClass:"_18fs8ps1ju"},bodyStrongSmall:{conditions:{mobile:"_18fs8ps1jx",tablet:"_18fs8ps1jy",desktop:"_18fs8ps1jz"},defaultClass:"_18fs8ps1jx"},bodyEmpLarge:{conditions:{mobile:"_18fs8ps1k0",tablet:"_18fs8ps1k1",desktop:"_18fs8ps1k2"},defaultClass:"_18fs8ps1k0"},bodyEmpMedium:{conditions:{mobile:"_18fs8ps1k3",tablet:"_18fs8ps1k4",desktop:"_18fs8ps1k5"},defaultClass:"_18fs8ps1k3"},bodyEmpSmall:{conditions:{mobile:"_18fs8ps1k6",tablet:"_18fs8ps1k7",desktop:"_18fs8ps1k8"},defaultClass:"_18fs8ps1k6"},bodyLarge:{conditions:{mobile:"_18fs8ps1k9",tablet:"_18fs8ps1ka",desktop:"_18fs8ps1kb"},defaultClass:"_18fs8ps1k9"},bodyMedium:{conditions:{mobile:"_18fs8ps1kc",tablet:"_18fs8ps1kd",desktop:"_18fs8ps1ke"},defaultClass:"_18fs8ps1kc"},bodySmall:{conditions:{mobile:"_18fs8ps1kf",tablet:"_18fs8ps1kg",desktop:"_18fs8ps1kh"},defaultClass:"_18fs8ps1kf"},buttonLarge:{conditions:{mobile:"_18fs8ps1ki",tablet:"_18fs8ps1kj",desktop:"_18fs8ps1kk"},defaultClass:"_18fs8ps1ki"},buttonMedium:{conditions:{mobile:"_18fs8ps1kl",tablet:"_18fs8ps1km",desktop:"_18fs8ps1kn"},defaultClass:"_18fs8ps1kl"},buttonSmall:{conditions:{mobile:"_18fs8ps1ko",tablet:"_18fs8ps1kp",desktop:"_18fs8ps1kq"},defaultClass:"_18fs8ps1ko"},captionLarge:{conditions:{mobile:"_18fs8ps1kr",tablet:"_18fs8ps1ks",desktop:"_18fs8ps1kt"},defaultClass:"_18fs8ps1kr"},captionMedium:{conditions:{mobile:"_18fs8ps1ku",tablet:"_18fs8ps1kv",desktop:"_18fs8ps1kw"},defaultClass:"_18fs8ps1ku"},captionSmall:{conditions:{mobile:"_18fs8ps1kx",tablet:"_18fs8ps1ky",desktop:"_18fs8ps1kz"},defaultClass:"_18fs8ps1kx"},inherit:{conditions:{mobile:"_18fs8ps1l0",tablet:"_18fs8ps1l1",desktop:"_18fs8ps1l2"},defaultClass:"_18fs8ps1l0"}}},lineHeight:{values:{1:{conditions:{mobile:"_18fs8ps1l3",tablet:"_18fs8ps1l4",desktop:"_18fs8ps1l5"},defaultClass:"_18fs8ps1l3"},heroLarge:{conditions:{mobile:"_18fs8ps1l6",tablet:"_18fs8ps1l7",desktop:"_18fs8ps1l8"},defaultClass:"_18fs8ps1l6"},heroMedium:{conditions:{mobile:"_18fs8ps1l9",tablet:"_18fs8ps1la",desktop:"_18fs8ps1lb"},defaultClass:"_18fs8ps1l9"},heroSmall:{conditions:{mobile:"_18fs8ps1lc",tablet:"_18fs8ps1ld",desktop:"_18fs8ps1le"},defaultClass:"_18fs8ps1lc"},titleLarge:{conditions:{mobile:"_18fs8ps1lf",tablet:"_18fs8ps1lg",desktop:"_18fs8ps1lh"},defaultClass:"_18fs8ps1lf"},titleMedium:{conditions:{mobile:"_18fs8ps1li",tablet:"_18fs8ps1lj",desktop:"_18fs8ps1lk"},defaultClass:"_18fs8ps1li"},titleSmall:{conditions:{mobile:"_18fs8ps1ll",tablet:"_18fs8ps1lm",desktop:"_18fs8ps1ln"},defaultClass:"_18fs8ps1ll"},headingLarge:{conditions:{mobile:"_18fs8ps1lo",tablet:"_18fs8ps1lp",desktop:"_18fs8ps1lq"},defaultClass:"_18fs8ps1lo"},headingMedium:{conditions:{mobile:"_18fs8ps1lr",tablet:"_18fs8ps1ls",desktop:"_18fs8ps1lt"},defaultClass:"_18fs8ps1lr"},headingSmall:{conditions:{mobile:"_18fs8ps1lu",tablet:"_18fs8ps1lv",desktop:"_18fs8ps1lw"},defaultClass:"_18fs8ps1lu"},bodyStrongLarge:{conditions:{mobile:"_18fs8ps1lx",tablet:"_18fs8ps1ly",desktop:"_18fs8ps1lz"},defaultClass:"_18fs8ps1lx"},bodyStrongMedium:{conditions:{mobile:"_18fs8ps1m0",tablet:"_18fs8ps1m1",desktop:"_18fs8ps1m2"},defaultClass:"_18fs8ps1m0"},bodyStrongSmall:{conditions:{mobile:"_18fs8ps1m3",tablet:"_18fs8ps1m4",desktop:"_18fs8ps1m5"},defaultClass:"_18fs8ps1m3"},bodyEmpLarge:{conditions:{mobile:"_18fs8ps1m6",tablet:"_18fs8ps1m7",desktop:"_18fs8ps1m8"},defaultClass:"_18fs8ps1m6"},bodyEmpMedium:{conditions:{mobile:"_18fs8ps1m9",tablet:"_18fs8ps1ma",desktop:"_18fs8ps1mb"},defaultClass:"_18fs8ps1m9"},bodyEmpSmall:{conditions:{mobile:"_18fs8ps1mc",tablet:"_18fs8ps1md",desktop:"_18fs8ps1me"},defaultClass:"_18fs8ps1mc"},bodyLarge:{conditions:{mobile:"_18fs8ps1mf",tablet:"_18fs8ps1mg",desktop:"_18fs8ps1mh"},defaultClass:"_18fs8ps1mf"},bodyMedium:{conditions:{mobile:"_18fs8ps1mi",tablet:"_18fs8ps1mj",desktop:"_18fs8ps1mk"},defaultClass:"_18fs8ps1mi"},bodySmall:{conditions:{mobile:"_18fs8ps1ml",tablet:"_18fs8ps1mm",desktop:"_18fs8ps1mn"},defaultClass:"_18fs8ps1ml"},buttonLarge:{conditions:{mobile:"_18fs8ps1mo",tablet:"_18fs8ps1mp",desktop:"_18fs8ps1mq"},defaultClass:"_18fs8ps1mo"},buttonMedium:{conditions:{mobile:"_18fs8ps1mr",tablet:"_18fs8ps1ms",desktop:"_18fs8ps1mt"},defaultClass:"_18fs8ps1mr"},buttonSmall:{conditions:{mobile:"_18fs8ps1mu",tablet:"_18fs8ps1mv",desktop:"_18fs8ps1mw"},defaultClass:"_18fs8ps1mu"},captionLarge:{conditions:{mobile:"_18fs8ps1mx",tablet:"_18fs8ps1my",desktop:"_18fs8ps1mz"},defaultClass:"_18fs8ps1mx"},captionMedium:{conditions:{mobile:"_18fs8ps1n0",tablet:"_18fs8ps1n1",desktop:"_18fs8ps1n2"},defaultClass:"_18fs8ps1n0"},captionSmall:{conditions:{mobile:"_18fs8ps1n3",tablet:"_18fs8ps1n4",desktop:"_18fs8ps1n5"},defaultClass:"_18fs8ps1n3"},inherit:{conditions:{mobile:"_18fs8ps1n6",tablet:"_18fs8ps1n7",desktop:"_18fs8ps1n8"},defaultClass:"_18fs8ps1n6"}}},textAlign:{values:{center:{conditions:{mobile:"_18fs8ps1n9",tablet:"_18fs8ps1na",desktop:"_18fs8ps1nb"},defaultClass:"_18fs8ps1n9"},left:{conditions:{mobile:"_18fs8ps1nc",tablet:"_18fs8ps1nd",desktop:"_18fs8ps1ne"},defaultClass:"_18fs8ps1nc"},right:{conditions:{mobile:"_18fs8ps1nf",tablet:"_18fs8ps1ng",desktop:"_18fs8ps1nh"},defaultClass:"_18fs8ps1nf"}}},borderLeftWidth:{values:{0:{conditions:{mobile:"_18fs8ps1ni",tablet:"_18fs8ps1nj",desktop:"_18fs8ps1nk"},defaultClass:"_18fs8ps1ni"},1:{conditions:{mobile:"_18fs8ps1nl",tablet:"_18fs8ps1nm",desktop:"_18fs8ps1nn"},defaultClass:"_18fs8ps1nl"}}},borderRightWidth:{values:{0:{conditions:{mobile:"_18fs8ps1no",tablet:"_18fs8ps1np",desktop:"_18fs8ps1nq"},defaultClass:"_18fs8ps1no"},1:{conditions:{mobile:"_18fs8ps1nr",tablet:"_18fs8ps1ns",desktop:"_18fs8ps1nt"},defaultClass:"_18fs8ps1nr"}}},borderTopWidth:{values:{0:{conditions:{mobile:"_18fs8ps1nu",tablet:"_18fs8ps1nv",desktop:"_18fs8ps1nw"},defaultClass:"_18fs8ps1nu"},1:{conditions:{mobile:"_18fs8ps1nx",tablet:"_18fs8ps1ny",desktop:"_18fs8ps1nz"},defaultClass:"_18fs8ps1nx"}}},borderBottomWidth:{values:{0:{conditions:{mobile:"_18fs8ps1o0",tablet:"_18fs8ps1o1",desktop:"_18fs8ps1o2"},defaultClass:"_18fs8ps1o0"},1:{conditions:{mobile:"_18fs8ps1o3",tablet:"_18fs8ps1o4",desktop:"_18fs8ps1o5"},defaultClass:"_18fs8ps1o3"}}},borderLeftStyle:{values:{none:{conditions:{mobile:"_18fs8ps1o6",tablet:"_18fs8ps1o7",desktop:"_18fs8ps1o8"},defaultClass:"_18fs8ps1o6"},solid:{conditions:{mobile:"_18fs8ps1o9",tablet:"_18fs8ps1oa",desktop:"_18fs8ps1ob"},defaultClass:"_18fs8ps1o9"}}},borderRightStyle:{values:{none:{conditions:{mobile:"_18fs8ps1oc",tablet:"_18fs8ps1od",desktop:"_18fs8ps1oe"},defaultClass:"_18fs8ps1oc"},solid:{conditions:{mobile:"_18fs8ps1of",tablet:"_18fs8ps1og",desktop:"_18fs8ps1oh"},defaultClass:"_18fs8ps1of"}}},borderTopStyle:{values:{none:{conditions:{mobile:"_18fs8ps1oi",tablet:"_18fs8ps1oj",desktop:"_18fs8ps1ok"},defaultClass:"_18fs8ps1oi"},solid:{conditions:{mobile:"_18fs8ps1ol",tablet:"_18fs8ps1om",desktop:"_18fs8ps1on"},defaultClass:"_18fs8ps1ol"}}},borderBottomStyle:{values:{none:{conditions:{mobile:"_18fs8ps1oo",tablet:"_18fs8ps1op",desktop:"_18fs8ps1oq"},defaultClass:"_18fs8ps1oo"},solid:{conditions:{mobile:"_18fs8ps1or",tablet:"_18fs8ps1os",desktop:"_18fs8ps1ot"},defaultClass:"_18fs8ps1or"}}},outlineStyle:{values:{none:{conditions:{mobile:"_18fs8ps1ou",tablet:"_18fs8ps1ov",desktop:"_18fs8ps1ow"},defaultClass:"_18fs8ps1ou"}}},textTransform:{values:{uppercase:{conditions:{mobile:"_18fs8ps1ox",tablet:"_18fs8ps1oy",desktop:"_18fs8ps1oz"},defaultClass:"_18fs8ps1ox"}}},letterSpacing:{values:{heroLarge:{conditions:{mobile:"_18fs8ps1p0",tablet:"_18fs8ps1p1",desktop:"_18fs8ps1p2"},defaultClass:"_18fs8ps1p0"},heroMedium:{conditions:{mobile:"_18fs8ps1p3",tablet:"_18fs8ps1p4",desktop:"_18fs8ps1p5"},defaultClass:"_18fs8ps1p3"},heroSmall:{conditions:{mobile:"_18fs8ps1p6",tablet:"_18fs8ps1p7",desktop:"_18fs8ps1p8"},defaultClass:"_18fs8ps1p6"},titleLarge:{conditions:{mobile:"_18fs8ps1p9",tablet:"_18fs8ps1pa",desktop:"_18fs8ps1pb"},defaultClass:"_18fs8ps1p9"},titleMedium:{conditions:{mobile:"_18fs8ps1pc",tablet:"_18fs8ps1pd",desktop:"_18fs8ps1pe"},defaultClass:"_18fs8ps1pc"},titleSmall:{conditions:{mobile:"_18fs8ps1pf",tablet:"_18fs8ps1pg",desktop:"_18fs8ps1ph"},defaultClass:"_18fs8ps1pf"},headingLarge:{conditions:{mobile:"_18fs8ps1pi",tablet:"_18fs8ps1pj",desktop:"_18fs8ps1pk"},defaultClass:"_18fs8ps1pi"},headingMedium:{conditions:{mobile:"_18fs8ps1pl",tablet:"_18fs8ps1pm",desktop:"_18fs8ps1pn"},defaultClass:"_18fs8ps1pl"},headingSmall:{conditions:{mobile:"_18fs8ps1po",tablet:"_18fs8ps1pp",desktop:"_18fs8ps1pq"},defaultClass:"_18fs8ps1po"},bodyStrongLarge:{conditions:{mobile:"_18fs8ps1pr",tablet:"_18fs8ps1ps",desktop:"_18fs8ps1pt"},defaultClass:"_18fs8ps1pr"},bodyStrongMedium:{conditions:{mobile:"_18fs8ps1pu",tablet:"_18fs8ps1pv",desktop:"_18fs8ps1pw"},defaultClass:"_18fs8ps1pu"},bodyStrongSmall:{conditions:{mobile:"_18fs8ps1px",tablet:"_18fs8ps1py",desktop:"_18fs8ps1pz"},defaultClass:"_18fs8ps1px"},bodyEmpLarge:{conditions:{mobile:"_18fs8ps1q0",tablet:"_18fs8ps1q1",desktop:"_18fs8ps1q2"},defaultClass:"_18fs8ps1q0"},bodyEmpMedium:{conditions:{mobile:"_18fs8ps1q3",tablet:"_18fs8ps1q4",desktop:"_18fs8ps1q5"},defaultClass:"_18fs8ps1q3"},bodyEmpSmall:{conditions:{mobile:"_18fs8ps1q6",tablet:"_18fs8ps1q7",desktop:"_18fs8ps1q8"},defaultClass:"_18fs8ps1q6"},bodyLarge:{conditions:{mobile:"_18fs8ps1q9",tablet:"_18fs8ps1qa",desktop:"_18fs8ps1qb"},defaultClass:"_18fs8ps1q9"},bodyMedium:{conditions:{mobile:"_18fs8ps1qc",tablet:"_18fs8ps1qd",desktop:"_18fs8ps1qe"},defaultClass:"_18fs8ps1qc"},bodySmall:{conditions:{mobile:"_18fs8ps1qf",tablet:"_18fs8ps1qg",desktop:"_18fs8ps1qh"},defaultClass:"_18fs8ps1qf"},buttonLarge:{conditions:{mobile:"_18fs8ps1qi",tablet:"_18fs8ps1qj",desktop:"_18fs8ps1qk"},defaultClass:"_18fs8ps1qi"},buttonMedium:{conditions:{mobile:"_18fs8ps1ql",tablet:"_18fs8ps1qm",desktop:"_18fs8ps1qn"},defaultClass:"_18fs8ps1ql"},buttonSmall:{conditions:{mobile:"_18fs8ps1qo",tablet:"_18fs8ps1qp",desktop:"_18fs8ps1qq"},defaultClass:"_18fs8ps1qo"},captionLarge:{conditions:{mobile:"_18fs8ps1qr",tablet:"_18fs8ps1qs",desktop:"_18fs8ps1qt"},defaultClass:"_18fs8ps1qr"},captionMedium:{conditions:{mobile:"_18fs8ps1qu",tablet:"_18fs8ps1qv",desktop:"_18fs8ps1qw"},defaultClass:"_18fs8ps1qu"},captionSmall:{conditions:{mobile:"_18fs8ps1qx",tablet:"_18fs8ps1qy",desktop:"_18fs8ps1qz"},defaultClass:"_18fs8ps1qx"}}},top:{values:{0:{conditions:{mobile:"_18fs8ps1r0",tablet:"_18fs8ps1r1",desktop:"_18fs8ps1r2"},defaultClass:"_18fs8ps1r0"},1:{conditions:{mobile:"_18fs8ps1r3",tablet:"_18fs8ps1r4",desktop:"_18fs8ps1r5"},defaultClass:"_18fs8ps1r3"},2:{conditions:{mobile:"_18fs8ps1r6",tablet:"_18fs8ps1r7",desktop:"_18fs8ps1r8"},defaultClass:"_18fs8ps1r6"},3:{conditions:{mobile:"_18fs8ps1r9",tablet:"_18fs8ps1ra",desktop:"_18fs8ps1rb"},defaultClass:"_18fs8ps1r9"},4:{conditions:{mobile:"_18fs8ps1rc",tablet:"_18fs8ps1rd",desktop:"_18fs8ps1re"},defaultClass:"_18fs8ps1rc"},5:{conditions:{mobile:"_18fs8ps1rf",tablet:"_18fs8ps1rg",desktop:"_18fs8ps1rh"},defaultClass:"_18fs8ps1rf"},6:{conditions:{mobile:"_18fs8ps1ri",tablet:"_18fs8ps1rj",desktop:"_18fs8ps1rk"},defaultClass:"_18fs8ps1ri"},7:{conditions:{mobile:"_18fs8ps1rl",tablet:"_18fs8ps1rm",desktop:"_18fs8ps1rn"},defaultClass:"_18fs8ps1rl"},8:{conditions:{mobile:"_18fs8ps1ro",tablet:"_18fs8ps1rp",desktop:"_18fs8ps1rq"},defaultClass:"_18fs8ps1ro"},9:{conditions:{mobile:"_18fs8ps1rr",tablet:"_18fs8ps1rs",desktop:"_18fs8ps1rt"},defaultClass:"_18fs8ps1rr"},10:{conditions:{mobile:"_18fs8ps1ru",tablet:"_18fs8ps1rv",desktop:"_18fs8ps1rw"},defaultClass:"_18fs8ps1ru"},11:{conditions:{mobile:"_18fs8ps1rx",tablet:"_18fs8ps1ry",desktop:"_18fs8ps1rz"},defaultClass:"_18fs8ps1rx"},12:{conditions:{mobile:"_18fs8ps1s0",tablet:"_18fs8ps1s1",desktop:"_18fs8ps1s2"},defaultClass:"_18fs8ps1s0"},14:{conditions:{mobile:"_18fs8ps1s3",tablet:"_18fs8ps1s4",desktop:"_18fs8ps1s5"},defaultClass:"_18fs8ps1s3"},16:{conditions:{mobile:"_18fs8ps1s6",tablet:"_18fs8ps1s7",desktop:"_18fs8ps1s8"},defaultClass:"_18fs8ps1s6"},20:{conditions:{mobile:"_18fs8ps1s9",tablet:"_18fs8ps1sa",desktop:"_18fs8ps1sb"},defaultClass:"_18fs8ps1s9"},24:{conditions:{mobile:"_18fs8ps1sc",tablet:"_18fs8ps1sd",desktop:"_18fs8ps1se"},defaultClass:"_18fs8ps1sc"},28:{conditions:{mobile:"_18fs8ps1sf",tablet:"_18fs8ps1sg",desktop:"_18fs8ps1sh"},defaultClass:"_18fs8ps1sf"},32:{conditions:{mobile:"_18fs8ps1si",tablet:"_18fs8ps1sj",desktop:"_18fs8ps1sk"},defaultClass:"_18fs8ps1si"},36:{conditions:{mobile:"_18fs8ps1sl",tablet:"_18fs8ps1sm",desktop:"_18fs8ps1sn"},defaultClass:"_18fs8ps1sl"},40:{conditions:{mobile:"_18fs8ps1so",tablet:"_18fs8ps1sp",desktop:"_18fs8ps1sq"},defaultClass:"_18fs8ps1so"},44:{conditions:{mobile:"_18fs8ps1sr",tablet:"_18fs8ps1ss",desktop:"_18fs8ps1st"},defaultClass:"_18fs8ps1sr"},48:{conditions:{mobile:"_18fs8ps1su",tablet:"_18fs8ps1sv",desktop:"_18fs8ps1sw"},defaultClass:"_18fs8ps1su"},52:{conditions:{mobile:"_18fs8ps1sx",tablet:"_18fs8ps1sy",desktop:"_18fs8ps1sz"},defaultClass:"_18fs8ps1sx"},px:{conditions:{mobile:"_18fs8ps1t0",tablet:"_18fs8ps1t1",desktop:"_18fs8ps1t2"},defaultClass:"_18fs8ps1t0"},"0.5":{conditions:{mobile:"_18fs8ps1t3",tablet:"_18fs8ps1t4",desktop:"_18fs8ps1t5"},defaultClass:"_18fs8ps1t3"},"1.5":{conditions:{mobile:"_18fs8ps1t6",tablet:"_18fs8ps1t7",desktop:"_18fs8ps1t8"},defaultClass:"_18fs8ps1t6"},"2.5":{conditions:{mobile:"_18fs8ps1t9",tablet:"_18fs8ps1ta",desktop:"_18fs8ps1tb"},defaultClass:"_18fs8ps1t9"},"3.5":{conditions:{mobile:"_18fs8ps1tc",tablet:"_18fs8ps1td",desktop:"_18fs8ps1te"},defaultClass:"_18fs8ps1tc"}}},bottom:{values:{0:{conditions:{mobile:"_18fs8ps1tf",tablet:"_18fs8ps1tg",desktop:"_18fs8ps1th"},defaultClass:"_18fs8ps1tf"},1:{conditions:{mobile:"_18fs8ps1ti",tablet:"_18fs8ps1tj",desktop:"_18fs8ps1tk"},defaultClass:"_18fs8ps1ti"},2:{conditions:{mobile:"_18fs8ps1tl",tablet:"_18fs8ps1tm",desktop:"_18fs8ps1tn"},defaultClass:"_18fs8ps1tl"},3:{conditions:{mobile:"_18fs8ps1to",tablet:"_18fs8ps1tp",desktop:"_18fs8ps1tq"},defaultClass:"_18fs8ps1to"},4:{conditions:{mobile:"_18fs8ps1tr",tablet:"_18fs8ps1ts",desktop:"_18fs8ps1tt"},defaultClass:"_18fs8ps1tr"},5:{conditions:{mobile:"_18fs8ps1tu",tablet:"_18fs8ps1tv",desktop:"_18fs8ps1tw"},defaultClass:"_18fs8ps1tu"},6:{conditions:{mobile:"_18fs8ps1tx",tablet:"_18fs8ps1ty",desktop:"_18fs8ps1tz"},defaultClass:"_18fs8ps1tx"},7:{conditions:{mobile:"_18fs8ps1u0",tablet:"_18fs8ps1u1",desktop:"_18fs8ps1u2"},defaultClass:"_18fs8ps1u0"},8:{conditions:{mobile:"_18fs8ps1u3",tablet:"_18fs8ps1u4",desktop:"_18fs8ps1u5"},defaultClass:"_18fs8ps1u3"},9:{conditions:{mobile:"_18fs8ps1u6",tablet:"_18fs8ps1u7",desktop:"_18fs8ps1u8"},defaultClass:"_18fs8ps1u6"},10:{conditions:{mobile:"_18fs8ps1u9",tablet:"_18fs8ps1ua",desktop:"_18fs8ps1ub"},defaultClass:"_18fs8ps1u9"},11:{conditions:{mobile:"_18fs8ps1uc",tablet:"_18fs8ps1ud",desktop:"_18fs8ps1ue"},defaultClass:"_18fs8ps1uc"},12:{conditions:{mobile:"_18fs8ps1uf",tablet:"_18fs8ps1ug",desktop:"_18fs8ps1uh"},defaultClass:"_18fs8ps1uf"},14:{conditions:{mobile:"_18fs8ps1ui",tablet:"_18fs8ps1uj",desktop:"_18fs8ps1uk"},defaultClass:"_18fs8ps1ui"},16:{conditions:{mobile:"_18fs8ps1ul",tablet:"_18fs8ps1um",desktop:"_18fs8ps1un"},defaultClass:"_18fs8ps1ul"},20:{conditions:{mobile:"_18fs8ps1uo",tablet:"_18fs8ps1up",desktop:"_18fs8ps1uq"},defaultClass:"_18fs8ps1uo"},24:{conditions:{mobile:"_18fs8ps1ur",tablet:"_18fs8ps1us",desktop:"_18fs8ps1ut"},defaultClass:"_18fs8ps1ur"},28:{conditions:{mobile:"_18fs8ps1uu",tablet:"_18fs8ps1uv",desktop:"_18fs8ps1uw"},defaultClass:"_18fs8ps1uu"},32:{conditions:{mobile:"_18fs8ps1ux",tablet:"_18fs8ps1uy",desktop:"_18fs8ps1uz"},defaultClass:"_18fs8ps1ux"},36:{conditions:{mobile:"_18fs8ps1v0",tablet:"_18fs8ps1v1",desktop:"_18fs8ps1v2"},defaultClass:"_18fs8ps1v0"},40:{conditions:{mobile:"_18fs8ps1v3",tablet:"_18fs8ps1v4",desktop:"_18fs8ps1v5"},defaultClass:"_18fs8ps1v3"},44:{conditions:{mobile:"_18fs8ps1v6",tablet:"_18fs8ps1v7",desktop:"_18fs8ps1v8"},defaultClass:"_18fs8ps1v6"},48:{conditions:{mobile:"_18fs8ps1v9",tablet:"_18fs8ps1va",desktop:"_18fs8ps1vb"},defaultClass:"_18fs8ps1v9"},52:{conditions:{mobile:"_18fs8ps1vc",tablet:"_18fs8ps1vd",desktop:"_18fs8ps1ve"},defaultClass:"_18fs8ps1vc"},px:{conditions:{mobile:"_18fs8ps1vf",tablet:"_18fs8ps1vg",desktop:"_18fs8ps1vh"},defaultClass:"_18fs8ps1vf"},"0.5":{conditions:{mobile:"_18fs8ps1vi",tablet:"_18fs8ps1vj",desktop:"_18fs8ps1vk"},defaultClass:"_18fs8ps1vi"},"1.5":{conditions:{mobile:"_18fs8ps1vl",tablet:"_18fs8ps1vm",desktop:"_18fs8ps1vn"},defaultClass:"_18fs8ps1vl"},"2.5":{conditions:{mobile:"_18fs8ps1vo",tablet:"_18fs8ps1vp",desktop:"_18fs8ps1vq"},defaultClass:"_18fs8ps1vo"},"3.5":{conditions:{mobile:"_18fs8ps1vr",tablet:"_18fs8ps1vs",desktop:"_18fs8ps1vt"},defaultClass:"_18fs8ps1vr"}}},left:{values:{0:{conditions:{mobile:"_18fs8ps1vu",tablet:"_18fs8ps1vv",desktop:"_18fs8ps1vw"},defaultClass:"_18fs8ps1vu"},1:{conditions:{mobile:"_18fs8ps1vx",tablet:"_18fs8ps1vy",desktop:"_18fs8ps1vz"},defaultClass:"_18fs8ps1vx"},2:{conditions:{mobile:"_18fs8ps1w0",tablet:"_18fs8ps1w1",desktop:"_18fs8ps1w2"},defaultClass:"_18fs8ps1w0"},3:{conditions:{mobile:"_18fs8ps1w3",tablet:"_18fs8ps1w4",desktop:"_18fs8ps1w5"},defaultClass:"_18fs8ps1w3"},4:{conditions:{mobile:"_18fs8ps1w6",tablet:"_18fs8ps1w7",desktop:"_18fs8ps1w8"},defaultClass:"_18fs8ps1w6"},5:{conditions:{mobile:"_18fs8ps1w9",tablet:"_18fs8ps1wa",desktop:"_18fs8ps1wb"},defaultClass:"_18fs8ps1w9"},6:{conditions:{mobile:"_18fs8ps1wc",tablet:"_18fs8ps1wd",desktop:"_18fs8ps1we"},defaultClass:"_18fs8ps1wc"},7:{conditions:{mobile:"_18fs8ps1wf",tablet:"_18fs8ps1wg",desktop:"_18fs8ps1wh"},defaultClass:"_18fs8ps1wf"},8:{conditions:{mobile:"_18fs8ps1wi",tablet:"_18fs8ps1wj",desktop:"_18fs8ps1wk"},defaultClass:"_18fs8ps1wi"},9:{conditions:{mobile:"_18fs8ps1wl",tablet:"_18fs8ps1wm",desktop:"_18fs8ps1wn"},defaultClass:"_18fs8ps1wl"},10:{conditions:{mobile:"_18fs8ps1wo",tablet:"_18fs8ps1wp",desktop:"_18fs8ps1wq"},defaultClass:"_18fs8ps1wo"},11:{conditions:{mobile:"_18fs8ps1wr",tablet:"_18fs8ps1ws",desktop:"_18fs8ps1wt"},defaultClass:"_18fs8ps1wr"},12:{conditions:{mobile:"_18fs8ps1wu",tablet:"_18fs8ps1wv",desktop:"_18fs8ps1ww"},defaultClass:"_18fs8ps1wu"},14:{conditions:{mobile:"_18fs8ps1wx",tablet:"_18fs8ps1wy",desktop:"_18fs8ps1wz"},defaultClass:"_18fs8ps1wx"},16:{conditions:{mobile:"_18fs8ps1x0",tablet:"_18fs8ps1x1",desktop:"_18fs8ps1x2"},defaultClass:"_18fs8ps1x0"},20:{conditions:{mobile:"_18fs8ps1x3",tablet:"_18fs8ps1x4",desktop:"_18fs8ps1x5"},defaultClass:"_18fs8ps1x3"},24:{conditions:{mobile:"_18fs8ps1x6",tablet:"_18fs8ps1x7",desktop:"_18fs8ps1x8"},defaultClass:"_18fs8ps1x6"},28:{conditions:{mobile:"_18fs8ps1x9",tablet:"_18fs8ps1xa",desktop:"_18fs8ps1xb"},defaultClass:"_18fs8ps1x9"},32:{conditions:{mobile:"_18fs8ps1xc",tablet:"_18fs8ps1xd",desktop:"_18fs8ps1xe"},defaultClass:"_18fs8ps1xc"},36:{conditions:{mobile:"_18fs8ps1xf",tablet:"_18fs8ps1xg",desktop:"_18fs8ps1xh"},defaultClass:"_18fs8ps1xf"},40:{conditions:{mobile:"_18fs8ps1xi",tablet:"_18fs8ps1xj",desktop:"_18fs8ps1xk"},defaultClass:"_18fs8ps1xi"},44:{conditions:{mobile:"_18fs8ps1xl",tablet:"_18fs8ps1xm",desktop:"_18fs8ps1xn"},defaultClass:"_18fs8ps1xl"},48:{conditions:{mobile:"_18fs8ps1xo",tablet:"_18fs8ps1xp",desktop:"_18fs8ps1xq"},defaultClass:"_18fs8ps1xo"},52:{conditions:{mobile:"_18fs8ps1xr",tablet:"_18fs8ps1xs",desktop:"_18fs8ps1xt"},defaultClass:"_18fs8ps1xr"},px:{conditions:{mobile:"_18fs8ps1xu",tablet:"_18fs8ps1xv",desktop:"_18fs8ps1xw"},defaultClass:"_18fs8ps1xu"},"0.5":{conditions:{mobile:"_18fs8ps1xx",tablet:"_18fs8ps1xy",desktop:"_18fs8ps1xz"},defaultClass:"_18fs8ps1xx"},"1.5":{conditions:{mobile:"_18fs8ps1y0",tablet:"_18fs8ps1y1",desktop:"_18fs8ps1y2"},defaultClass:"_18fs8ps1y0"},"2.5":{conditions:{mobile:"_18fs8ps1y3",tablet:"_18fs8ps1y4",desktop:"_18fs8ps1y5"},defaultClass:"_18fs8ps1y3"},"3.5":{conditions:{mobile:"_18fs8ps1y6",tablet:"_18fs8ps1y7",desktop:"_18fs8ps1y8"},defaultClass:"_18fs8ps1y6"}}},right:{values:{0:{conditions:{mobile:"_18fs8ps1y9",tablet:"_18fs8ps1ya",desktop:"_18fs8ps1yb"},defaultClass:"_18fs8ps1y9"},1:{conditions:{mobile:"_18fs8ps1yc",tablet:"_18fs8ps1yd",desktop:"_18fs8ps1ye"},defaultClass:"_18fs8ps1yc"},2:{conditions:{mobile:"_18fs8ps1yf",tablet:"_18fs8ps1yg",desktop:"_18fs8ps1yh"},defaultClass:"_18fs8ps1yf"},3:{conditions:{mobile:"_18fs8ps1yi",tablet:"_18fs8ps1yj",desktop:"_18fs8ps1yk"},defaultClass:"_18fs8ps1yi"},4:{conditions:{mobile:"_18fs8ps1yl",tablet:"_18fs8ps1ym",desktop:"_18fs8ps1yn"},defaultClass:"_18fs8ps1yl"},5:{conditions:{mobile:"_18fs8ps1yo",tablet:"_18fs8ps1yp",desktop:"_18fs8ps1yq"},defaultClass:"_18fs8ps1yo"},6:{conditions:{mobile:"_18fs8ps1yr",tablet:"_18fs8ps1ys",desktop:"_18fs8ps1yt"},defaultClass:"_18fs8ps1yr"},7:{conditions:{mobile:"_18fs8ps1yu",tablet:"_18fs8ps1yv",desktop:"_18fs8ps1yw"},defaultClass:"_18fs8ps1yu"},8:{conditions:{mobile:"_18fs8ps1yx",tablet:"_18fs8ps1yy",desktop:"_18fs8ps1yz"},defaultClass:"_18fs8ps1yx"},9:{conditions:{mobile:"_18fs8ps1z0",tablet:"_18fs8ps1z1",desktop:"_18fs8ps1z2"},defaultClass:"_18fs8ps1z0"},10:{conditions:{mobile:"_18fs8ps1z3",tablet:"_18fs8ps1z4",desktop:"_18fs8ps1z5"},defaultClass:"_18fs8ps1z3"},11:{conditions:{mobile:"_18fs8ps1z6",tablet:"_18fs8ps1z7",desktop:"_18fs8ps1z8"},defaultClass:"_18fs8ps1z6"},12:{conditions:{mobile:"_18fs8ps1z9",tablet:"_18fs8ps1za",desktop:"_18fs8ps1zb"},defaultClass:"_18fs8ps1z9"},14:{conditions:{mobile:"_18fs8ps1zc",tablet:"_18fs8ps1zd",desktop:"_18fs8ps1ze"},defaultClass:"_18fs8ps1zc"},16:{conditions:{mobile:"_18fs8ps1zf",tablet:"_18fs8ps1zg",desktop:"_18fs8ps1zh"},defaultClass:"_18fs8ps1zf"},20:{conditions:{mobile:"_18fs8ps1zi",tablet:"_18fs8ps1zj",desktop:"_18fs8ps1zk"},defaultClass:"_18fs8ps1zi"},24:{conditions:{mobile:"_18fs8ps1zl",tablet:"_18fs8ps1zm",desktop:"_18fs8ps1zn"},defaultClass:"_18fs8ps1zl"},28:{conditions:{mobile:"_18fs8ps1zo",tablet:"_18fs8ps1zp",desktop:"_18fs8ps1zq"},defaultClass:"_18fs8ps1zo"},32:{conditions:{mobile:"_18fs8ps1zr",tablet:"_18fs8ps1zs",desktop:"_18fs8ps1zt"},defaultClass:"_18fs8ps1zr"},36:{conditions:{mobile:"_18fs8ps1zu",tablet:"_18fs8ps1zv",desktop:"_18fs8ps1zw"},defaultClass:"_18fs8ps1zu"},40:{conditions:{mobile:"_18fs8ps1zx",tablet:"_18fs8ps1zy",desktop:"_18fs8ps1zz"},defaultClass:"_18fs8ps1zx"},44:{conditions:{mobile:"_18fs8ps200",tablet:"_18fs8ps201",desktop:"_18fs8ps202"},defaultClass:"_18fs8ps200"},48:{conditions:{mobile:"_18fs8ps203",tablet:"_18fs8ps204",desktop:"_18fs8ps205"},defaultClass:"_18fs8ps203"},52:{conditions:{mobile:"_18fs8ps206",tablet:"_18fs8ps207",desktop:"_18fs8ps208"},defaultClass:"_18fs8ps206"},px:{conditions:{mobile:"_18fs8ps209",tablet:"_18fs8ps20a",desktop:"_18fs8ps20b"},defaultClass:"_18fs8ps209"},"0.5":{conditions:{mobile:"_18fs8ps20c",tablet:"_18fs8ps20d",desktop:"_18fs8ps20e"},defaultClass:"_18fs8ps20c"},"1.5":{conditions:{mobile:"_18fs8ps20f",tablet:"_18fs8ps20g",desktop:"_18fs8ps20h"},defaultClass:"_18fs8ps20f"},"2.5":{conditions:{mobile:"_18fs8ps20i",tablet:"_18fs8ps20j",desktop:"_18fs8ps20k"},defaultClass:"_18fs8ps20i"},"3.5":{conditions:{mobile:"_18fs8ps20l",tablet:"_18fs8ps20m",desktop:"_18fs8ps20n"},defaultClass:"_18fs8ps20l"}}},overflowX:{values:{hidden:{conditions:{mobile:"_18fs8ps20o",tablet:"_18fs8ps20p",desktop:"_18fs8ps20q"},defaultClass:"_18fs8ps20o"},visible:{conditions:{mobile:"_18fs8ps20r",tablet:"_18fs8ps20s",desktop:"_18fs8ps20t"},defaultClass:"_18fs8ps20r"},scroll:{conditions:{mobile:"_18fs8ps20u",tablet:"_18fs8ps20v",desktop:"_18fs8ps20w"},defaultClass:"_18fs8ps20u"},auto:{conditions:{mobile:"_18fs8ps20x",tablet:"_18fs8ps20y",desktop:"_18fs8ps20z"},defaultClass:"_18fs8ps20x"}}},overflowY:{values:{hidden:{conditions:{mobile:"_18fs8ps210",tablet:"_18fs8ps211",desktop:"_18fs8ps212"},defaultClass:"_18fs8ps210"},visible:{conditions:{mobile:"_18fs8ps213",tablet:"_18fs8ps214",desktop:"_18fs8ps215"},defaultClass:"_18fs8ps213"},scroll:{conditions:{mobile:"_18fs8ps216",tablet:"_18fs8ps217",desktop:"_18fs8ps218"},defaultClass:"_18fs8ps216"},auto:{conditions:{mobile:"_18fs8ps219",tablet:"_18fs8ps21a",desktop:"_18fs8ps21b"},defaultClass:"_18fs8ps219"}}},textOverflow:{values:{none:{conditions:{mobile:"_18fs8ps21c",tablet:"_18fs8ps21d",desktop:"_18fs8ps21e"},defaultClass:"_18fs8ps21c"},ellipsis:{conditions:{mobile:"_18fs8ps21f",tablet:"_18fs8ps21g",desktop:"_18fs8ps21h"},defaultClass:"_18fs8ps21f"}}},whiteSpace:{values:{normal:{conditions:{mobile:"_18fs8ps21i",tablet:"_18fs8ps21j",desktop:"_18fs8ps21k"},defaultClass:"_18fs8ps21i"},nowrap:{conditions:{mobile:"_18fs8ps21l",tablet:"_18fs8ps21m",desktop:"_18fs8ps21n"},defaultClass:"_18fs8ps21l"}}},wordBreak:{values:{"break-word":{conditions:{mobile:"_18fs8ps21o",tablet:"_18fs8ps21p",desktop:"_18fs8ps21q"},defaultClass:"_18fs8ps21o"},"break-all":{conditions:{mobile:"_18fs8ps21r",tablet:"_18fs8ps21s",desktop:"_18fs8ps21t"},defaultClass:"_18fs8ps21r"},normal:{conditions:{mobile:"_18fs8ps21u",tablet:"_18fs8ps21v",desktop:"_18fs8ps21w"},defaultClass:"_18fs8ps21u"}}},zIndex:{values:{1:{conditions:{mobile:"_18fs8ps220",tablet:"_18fs8ps221",desktop:"_18fs8ps222"},defaultClass:"_18fs8ps220"},2:{conditions:{mobile:"_18fs8ps223",tablet:"_18fs8ps224",desktop:"_18fs8ps225"},defaultClass:"_18fs8ps223"},3:{conditions:{mobile:"_18fs8ps226",tablet:"_18fs8ps227",desktop:"_18fs8ps228"},defaultClass:"_18fs8ps226"},auto:{conditions:{mobile:"_18fs8ps21x",tablet:"_18fs8ps21y",desktop:"_18fs8ps21z"},defaultClass:"_18fs8ps21x"}}},aspectRatio:{values:{"1 / 1":{conditions:{mobile:"_18fs8ps229",tablet:"_18fs8ps22a",desktop:"_18fs8ps22b"},defaultClass:"_18fs8ps229"}}},objectFit:{values:{contain:{conditions:{mobile:"_18fs8ps22c",tablet:"_18fs8ps22d",desktop:"_18fs8ps22e"},defaultClass:"_18fs8ps22c"},cover:{conditions:{mobile:"_18fs8ps22f",tablet:"_18fs8ps22g",desktop:"_18fs8ps22h"},defaultClass:"_18fs8ps22f"},fill:{conditions:{mobile:"_18fs8ps22i",tablet:"_18fs8ps22j",desktop:"_18fs8ps22k"},defaultClass:"_18fs8ps22i"},none:{conditions:{mobile:"_18fs8ps22l",tablet:"_18fs8ps22m",desktop:"_18fs8ps22n"},defaultClass:"_18fs8ps22l"},"scale-down":{conditions:{mobile:"_18fs8ps22o",tablet:"_18fs8ps22p",desktop:"_18fs8ps22q"},defaultClass:"_18fs8ps22o"}}},opacity:{values:{0:{conditions:{mobile:"_18fs8ps22r",tablet:"_18fs8ps22s",desktop:"_18fs8ps22t"},defaultClass:"_18fs8ps22r"},1:{conditions:{mobile:"_18fs8ps236",tablet:"_18fs8ps237",desktop:"_18fs8ps238"},defaultClass:"_18fs8ps236"},"0.2":{conditions:{mobile:"_18fs8ps22u",tablet:"_18fs8ps22v",desktop:"_18fs8ps22w"},defaultClass:"_18fs8ps22u"},"0.4":{conditions:{mobile:"_18fs8ps22x",tablet:"_18fs8ps22y",desktop:"_18fs8ps22z"},defaultClass:"_18fs8ps22x"},"0.6":{conditions:{mobile:"_18fs8ps230",tablet:"_18fs8ps231",desktop:"_18fs8ps232"},defaultClass:"_18fs8ps230"},"0.8":{conditions:{mobile:"_18fs8ps233",tablet:"_18fs8ps234",desktop:"_18fs8ps235"},defaultClass:"_18fs8ps233"}}},fontWeight:{values:{heroLarge:{conditions:{mobile:"_18fs8ps239",tablet:"_18fs8ps23a",desktop:"_18fs8ps23b"},defaultClass:"_18fs8ps239"},heroMedium:{conditions:{mobile:"_18fs8ps23c",tablet:"_18fs8ps23d",desktop:"_18fs8ps23e"},defaultClass:"_18fs8ps23c"},heroSmall:{conditions:{mobile:"_18fs8ps23f",tablet:"_18fs8ps23g",desktop:"_18fs8ps23h"},defaultClass:"_18fs8ps23f"},titleLarge:{conditions:{mobile:"_18fs8ps23i",tablet:"_18fs8ps23j",desktop:"_18fs8ps23k"},defaultClass:"_18fs8ps23i"},titleMedium:{conditions:{mobile:"_18fs8ps23l",tablet:"_18fs8ps23m",desktop:"_18fs8ps23n"},defaultClass:"_18fs8ps23l"},titleSmall:{conditions:{mobile:"_18fs8ps23o",tablet:"_18fs8ps23p",desktop:"_18fs8ps23q"},defaultClass:"_18fs8ps23o"},headingLarge:{conditions:{mobile:"_18fs8ps23r",tablet:"_18fs8ps23s",desktop:"_18fs8ps23t"},defaultClass:"_18fs8ps23r"},headingMedium:{conditions:{mobile:"_18fs8ps23u",tablet:"_18fs8ps23v",desktop:"_18fs8ps23w"},defaultClass:"_18fs8ps23u"},headingSmall:{conditions:{mobile:"_18fs8ps23x",tablet:"_18fs8ps23y",desktop:"_18fs8ps23z"},defaultClass:"_18fs8ps23x"},bodyStrongLarge:{conditions:{mobile:"_18fs8ps240",tablet:"_18fs8ps241",desktop:"_18fs8ps242"},defaultClass:"_18fs8ps240"},bodyStrongMedium:{conditions:{mobile:"_18fs8ps243",tablet:"_18fs8ps244",desktop:"_18fs8ps245"},defaultClass:"_18fs8ps243"},bodyStrongSmall:{conditions:{mobile:"_18fs8ps246",tablet:"_18fs8ps247",desktop:"_18fs8ps248"},defaultClass:"_18fs8ps246"},bodyEmpLarge:{conditions:{mobile:"_18fs8ps249",tablet:"_18fs8ps24a",desktop:"_18fs8ps24b"},defaultClass:"_18fs8ps249"},bodyEmpMedium:{conditions:{mobile:"_18fs8ps24c",tablet:"_18fs8ps24d",desktop:"_18fs8ps24e"},defaultClass:"_18fs8ps24c"},bodyEmpSmall:{conditions:{mobile:"_18fs8ps24f",tablet:"_18fs8ps24g",desktop:"_18fs8ps24h"},defaultClass:"_18fs8ps24f"},bodyLarge:{conditions:{mobile:"_18fs8ps24i",tablet:"_18fs8ps24j",desktop:"_18fs8ps24k"},defaultClass:"_18fs8ps24i"},bodyMedium:{conditions:{mobile:"_18fs8ps24l",tablet:"_18fs8ps24m",desktop:"_18fs8ps24n"},defaultClass:"_18fs8ps24l"},bodySmall:{conditions:{mobile:"_18fs8ps24o",tablet:"_18fs8ps24p",desktop:"_18fs8ps24q"},defaultClass:"_18fs8ps24o"},buttonLarge:{conditions:{mobile:"_18fs8ps24r",tablet:"_18fs8ps24s",desktop:"_18fs8ps24t"},defaultClass:"_18fs8ps24r"},buttonMedium:{conditions:{mobile:"_18fs8ps24u",tablet:"_18fs8ps24v",desktop:"_18fs8ps24w"},defaultClass:"_18fs8ps24u"},buttonSmall:{conditions:{mobile:"_18fs8ps24x",tablet:"_18fs8ps24y",desktop:"_18fs8ps24z"},defaultClass:"_18fs8ps24x"},captionLarge:{conditions:{mobile:"_18fs8ps250",tablet:"_18fs8ps251",desktop:"_18fs8ps252"},defaultClass:"_18fs8ps250"},captionMedium:{conditions:{mobile:"_18fs8ps253",tablet:"_18fs8ps254",desktop:"_18fs8ps255"},defaultClass:"_18fs8ps253"},captionSmall:{conditions:{mobile:"_18fs8ps256",tablet:"_18fs8ps257",desktop:"_18fs8ps258"},defaultClass:"_18fs8ps256"}}},alignSelf:{values:{auto:{conditions:{mobile:"_18fs8ps259",tablet:"_18fs8ps25a",desktop:"_18fs8ps25b"},defaultClass:"_18fs8ps259"},normal:{conditions:{mobile:"_18fs8ps25c",tablet:"_18fs8ps25d",desktop:"_18fs8ps25e"},defaultClass:"_18fs8ps25c"},end:{conditions:{mobile:"_18fs8ps25f",tablet:"_18fs8ps25g",desktop:"_18fs8ps25h"},defaultClass:"_18fs8ps25f"},center:{conditions:{mobile:"_18fs8ps25i",tablet:"_18fs8ps25j",desktop:"_18fs8ps25k"},defaultClass:"_18fs8ps25i"},start:{conditions:{mobile:"_18fs8ps25l",tablet:"_18fs8ps25m",desktop:"_18fs8ps25n"},defaultClass:"_18fs8ps25l"}}},justifySelf:{values:{auto:{conditions:{mobile:"_18fs8ps25o",tablet:"_18fs8ps25p",desktop:"_18fs8ps25q"},defaultClass:"_18fs8ps25o"},normal:{conditions:{mobile:"_18fs8ps25r",tablet:"_18fs8ps25s",desktop:"_18fs8ps25t"},defaultClass:"_18fs8ps25r"},end:{conditions:{mobile:"_18fs8ps25u",tablet:"_18fs8ps25v",desktop:"_18fs8ps25w"},defaultClass:"_18fs8ps25u"},center:{conditions:{mobile:"_18fs8ps25x",tablet:"_18fs8ps25y",desktop:"_18fs8ps25z"},defaultClass:"_18fs8ps25x"},start:{conditions:{mobile:"_18fs8ps260",tablet:"_18fs8ps261",desktop:"_18fs8ps262"},defaultClass:"_18fs8ps260"}}},visibility:{values:{visible:{conditions:{mobile:"_18fs8ps263",tablet:"_18fs8ps264",desktop:"_18fs8ps265"},defaultClass:"_18fs8ps263"},hidden:{conditions:{mobile:"_18fs8ps266",tablet:"_18fs8ps267",desktop:"_18fs8ps268"},defaultClass:"_18fs8ps266"}}}}},{conditions:{defaultCondition:"default",conditionNames:["default","hover","focus","focusWithin","focusVisible","active","disabled","placeholder"],responsiveArray:void 0},styles:{borderColor:{values:{neutralDefault:{conditions:{default:"_18fs8ps269",hover:"_18fs8ps26a",focus:"_18fs8ps26b",focusWithin:"_18fs8ps26c",focusVisible:"_18fs8ps26d",active:"_18fs8ps26e",disabled:"_18fs8ps26f",placeholder:"_18fs8ps26g"},defaultClass:"_18fs8ps269"},neutralSubdued:{conditions:{default:"_18fs8ps26h",hover:"_18fs8ps26i",focus:"_18fs8ps26j",focusWithin:"_18fs8ps26k",focusVisible:"_18fs8ps26l",active:"_18fs8ps26m",disabled:"_18fs8ps26n",placeholder:"_18fs8ps26o"},defaultClass:"_18fs8ps26h"},neutralHighlight:{conditions:{default:"_18fs8ps26p",hover:"_18fs8ps26q",focus:"_18fs8ps26r",focusWithin:"_18fs8ps26s",focusVisible:"_18fs8ps26t",active:"_18fs8ps26u",disabled:"_18fs8ps26v",placeholder:"_18fs8ps26w"},defaultClass:"_18fs8ps26p"},neutralPlain:{conditions:{default:"_18fs8ps26x",hover:"_18fs8ps26y",focus:"_18fs8ps26z",focusWithin:"_18fs8ps270",focusVisible:"_18fs8ps271",active:"_18fs8ps272",disabled:"_18fs8ps273",placeholder:"_18fs8ps274"},defaultClass:"_18fs8ps26x"},brandPlain:{conditions:{default:"_18fs8ps275",hover:"_18fs8ps276",focus:"_18fs8ps277",focusWithin:"_18fs8ps278",focusVisible:"_18fs8ps279",active:"_18fs8ps27a",disabled:"_18fs8ps27b",placeholder:"_18fs8ps27c"},defaultClass:"_18fs8ps275"},brandDefault:{conditions:{default:"_18fs8ps27d",hover:"_18fs8ps27e",focus:"_18fs8ps27f",focusWithin:"_18fs8ps27g",focusVisible:"_18fs8ps27h",active:"_18fs8ps27i",disabled:"_18fs8ps27j",placeholder:"_18fs8ps27k"},defaultClass:"_18fs8ps27d"},brandSubdued:{conditions:{default:"_18fs8ps27l",hover:"_18fs8ps27m",focus:"_18fs8ps27n",focusWithin:"_18fs8ps27o",focusVisible:"_18fs8ps27p",active:"_18fs8ps27q",disabled:"_18fs8ps27r",placeholder:"_18fs8ps27s"},defaultClass:"_18fs8ps27l"},brandHighlight:{conditions:{default:"_18fs8ps27t",hover:"_18fs8ps27u",focus:"_18fs8ps27v",focusWithin:"_18fs8ps27w",focusVisible:"_18fs8ps27x",active:"_18fs8ps27y",disabled:"_18fs8ps27z",placeholder:"_18fs8ps280"},defaultClass:"_18fs8ps27t"},criticalPlain:{conditions:{default:"_18fs8ps281",hover:"_18fs8ps282",focus:"_18fs8ps283",focusWithin:"_18fs8ps284",focusVisible:"_18fs8ps285",active:"_18fs8ps286",disabled:"_18fs8ps287",placeholder:"_18fs8ps288"},defaultClass:"_18fs8ps281"},criticalDefault:{conditions:{default:"_18fs8ps289",hover:"_18fs8ps28a",focus:"_18fs8ps28b",focusWithin:"_18fs8ps28c",focusVisible:"_18fs8ps28d",active:"_18fs8ps28e",disabled:"_18fs8ps28f",placeholder:"_18fs8ps28g"},defaultClass:"_18fs8ps289"},criticalSubdued:{conditions:{default:"_18fs8ps28h",hover:"_18fs8ps28i",focus:"_18fs8ps28j",focusWithin:"_18fs8ps28k",focusVisible:"_18fs8ps28l",active:"_18fs8ps28m",disabled:"_18fs8ps28n",placeholder:"_18fs8ps28o"},defaultClass:"_18fs8ps28h"},criticalHighlight:{conditions:{default:"_18fs8ps28p",hover:"_18fs8ps28q",focus:"_18fs8ps28r",focusWithin:"_18fs8ps28s",focusVisible:"_18fs8ps28t",active:"_18fs8ps28u",disabled:"_18fs8ps28v",placeholder:"_18fs8ps28w"},defaultClass:"_18fs8ps28p"},transparent:{conditions:{default:"_18fs8ps28x",hover:"_18fs8ps28y",focus:"_18fs8ps28z",focusWithin:"_18fs8ps290",focusVisible:"_18fs8ps291",active:"_18fs8ps292",disabled:"_18fs8ps293",placeholder:"_18fs8ps294"},defaultClass:"_18fs8ps28x"}}},color:{values:{textNeutralPlain:{conditions:{default:"_18fs8ps295",hover:"_18fs8ps296",focus:"_18fs8ps297",focusWithin:"_18fs8ps298",focusVisible:"_18fs8ps299",active:"_18fs8ps29a",disabled:"_18fs8ps29b",placeholder:"_18fs8ps29c"},defaultClass:"_18fs8ps295"},textNeutralDefault:{conditions:{default:"_18fs8ps29d",hover:"_18fs8ps29e",focus:"_18fs8ps29f",focusWithin:"_18fs8ps29g",focusVisible:"_18fs8ps29h",active:"_18fs8ps29i",disabled:"_18fs8ps29j",placeholder:"_18fs8ps29k"},defaultClass:"_18fs8ps29d"},textNeutralSubdued:{conditions:{default:"_18fs8ps29l",hover:"_18fs8ps29m",focus:"_18fs8ps29n",focusWithin:"_18fs8ps29o",focusVisible:"_18fs8ps29p",active:"_18fs8ps29q",disabled:"_18fs8ps29r",placeholder:"_18fs8ps29s"},defaultClass:"_18fs8ps29l"},textNeutralDisabled:{conditions:{default:"_18fs8ps29t",hover:"_18fs8ps29u",focus:"_18fs8ps29v",focusWithin:"_18fs8ps29w",focusVisible:"_18fs8ps29x",active:"_18fs8ps29y",disabled:"_18fs8ps29z",placeholder:"_18fs8ps2a0"},defaultClass:"_18fs8ps29t"},textNeutralContrasted:{conditions:{default:"_18fs8ps2a1",hover:"_18fs8ps2a2",focus:"_18fs8ps2a3",focusWithin:"_18fs8ps2a4",focusVisible:"_18fs8ps2a5",active:"_18fs8ps2a6",disabled:"_18fs8ps2a7",placeholder:"_18fs8ps2a8"},defaultClass:"_18fs8ps2a1"},textBrandDefault:{conditions:{default:"_18fs8ps2a9",hover:"_18fs8ps2aa",focus:"_18fs8ps2ab",focusWithin:"_18fs8ps2ac",focusVisible:"_18fs8ps2ad",active:"_18fs8ps2ae",disabled:"_18fs8ps2af",placeholder:"_18fs8ps2ag"},defaultClass:"_18fs8ps2a9"},textBrandSubdued:{conditions:{default:"_18fs8ps2ah",hover:"_18fs8ps2ai",focus:"_18fs8ps2aj",focusWithin:"_18fs8ps2ak",focusVisible:"_18fs8ps2al",active:"_18fs8ps2am",disabled:"_18fs8ps2an",placeholder:"_18fs8ps2ao"},defaultClass:"_18fs8ps2ah"},textBrandDisabled:{conditions:{default:"_18fs8ps2ap",hover:"_18fs8ps2aq",focus:"_18fs8ps2ar",focusWithin:"_18fs8ps2as",focusVisible:"_18fs8ps2at",active:"_18fs8ps2au",disabled:"_18fs8ps2av",placeholder:"_18fs8ps2aw"},defaultClass:"_18fs8ps2ap"},textCriticalDefault:{conditions:{default:"_18fs8ps2ax",hover:"_18fs8ps2ay",focus:"_18fs8ps2az",focusWithin:"_18fs8ps2b0",focusVisible:"_18fs8ps2b1",active:"_18fs8ps2b2",disabled:"_18fs8ps2b3",placeholder:"_18fs8ps2b4"},defaultClass:"_18fs8ps2ax"},textCriticalSubdued:{conditions:{default:"_18fs8ps2b5",hover:"_18fs8ps2b6",focus:"_18fs8ps2b7",focusWithin:"_18fs8ps2b8",focusVisible:"_18fs8ps2b9",active:"_18fs8ps2ba",disabled:"_18fs8ps2bb",placeholder:"_18fs8ps2bc"},defaultClass:"_18fs8ps2b5"},textCriticalDisabled:{conditions:{default:"_18fs8ps2bd",hover:"_18fs8ps2be",focus:"_18fs8ps2bf",focusWithin:"_18fs8ps2bg",focusVisible:"_18fs8ps2bh",active:"_18fs8ps2bi",disabled:"_18fs8ps2bj",placeholder:"_18fs8ps2bk"},defaultClass:"_18fs8ps2bd"},iconNeutralPlain:{conditions:{default:"_18fs8ps2bl",hover:"_18fs8ps2bm",focus:"_18fs8ps2bn",focusWithin:"_18fs8ps2bo",focusVisible:"_18fs8ps2bp",active:"_18fs8ps2bq",disabled:"_18fs8ps2br",placeholder:"_18fs8ps2bs"},defaultClass:"_18fs8ps2bl"},iconNeutralDefault:{conditions:{default:"_18fs8ps2bt",hover:"_18fs8ps2bu",focus:"_18fs8ps2bv",focusWithin:"_18fs8ps2bw",focusVisible:"_18fs8ps2bx",active:"_18fs8ps2by",disabled:"_18fs8ps2bz",placeholder:"_18fs8ps2c0"},defaultClass:"_18fs8ps2bt"},iconNeutralSubdued:{conditions:{default:"_18fs8ps2c1",hover:"_18fs8ps2c2",focus:"_18fs8ps2c3",focusWithin:"_18fs8ps2c4",focusVisible:"_18fs8ps2c5",active:"_18fs8ps2c6",disabled:"_18fs8ps2c7",placeholder:"_18fs8ps2c8"},defaultClass:"_18fs8ps2c1"},iconNeutralDisabled:{conditions:{default:"_18fs8ps2c9",hover:"_18fs8ps2ca",focus:"_18fs8ps2cb",focusWithin:"_18fs8ps2cc",focusVisible:"_18fs8ps2cd",active:"_18fs8ps2ce",disabled:"_18fs8ps2cf",placeholder:"_18fs8ps2cg"},defaultClass:"_18fs8ps2c9"},iconNeutralContrasted:{conditions:{default:"_18fs8ps2ch",hover:"_18fs8ps2ci",focus:"_18fs8ps2cj",focusWithin:"_18fs8ps2ck",focusVisible:"_18fs8ps2cl",active:"_18fs8ps2cm",disabled:"_18fs8ps2cn",placeholder:"_18fs8ps2co"},defaultClass:"_18fs8ps2ch"},iconBrandDefault:{conditions:{default:"_18fs8ps2cp",hover:"_18fs8ps2cq",focus:"_18fs8ps2cr",focusWithin:"_18fs8ps2cs",focusVisible:"_18fs8ps2ct",active:"_18fs8ps2cu",disabled:"_18fs8ps2cv",placeholder:"_18fs8ps2cw"},defaultClass:"_18fs8ps2cp"},iconBrandSubdued:{conditions:{default:"_18fs8ps2cx",hover:"_18fs8ps2cy",focus:"_18fs8ps2cz",focusWithin:"_18fs8ps2d0",focusVisible:"_18fs8ps2d1",active:"_18fs8ps2d2",disabled:"_18fs8ps2d3",placeholder:"_18fs8ps2d4"},defaultClass:"_18fs8ps2cx"},iconBrandDisabled:{conditions:{default:"_18fs8ps2d5",hover:"_18fs8ps2d6",focus:"_18fs8ps2d7",focusWithin:"_18fs8ps2d8",focusVisible:"_18fs8ps2d9",active:"_18fs8ps2da",disabled:"_18fs8ps2db",placeholder:"_18fs8ps2dc"},defaultClass:"_18fs8ps2d5"},iconCriticalDefault:{conditions:{default:"_18fs8ps2dd",hover:"_18fs8ps2de",focus:"_18fs8ps2df",focusWithin:"_18fs8ps2dg",focusVisible:"_18fs8ps2dh",active:"_18fs8ps2di",disabled:"_18fs8ps2dj",placeholder:"_18fs8ps2dk"},defaultClass:"_18fs8ps2dd"},iconCriticalSubdued:{conditions:{default:"_18fs8ps2dl",hover:"_18fs8ps2dm",focus:"_18fs8ps2dn",focusWithin:"_18fs8ps2do",focusVisible:"_18fs8ps2dp",active:"_18fs8ps2dq",disabled:"_18fs8ps2dr",placeholder:"_18fs8ps2ds"},defaultClass:"_18fs8ps2dl"},iconCriticalDisabled:{conditions:{default:"_18fs8ps2dt",hover:"_18fs8ps2du",focus:"_18fs8ps2dv",focusWithin:"_18fs8ps2dw",focusVisible:"_18fs8ps2dx",active:"_18fs8ps2dy",disabled:"_18fs8ps2dz",placeholder:"_18fs8ps2e0"},defaultClass:"_18fs8ps2dt"},text1Decorative:{conditions:{default:"_18fs8ps2e1",hover:"_18fs8ps2e2",focus:"_18fs8ps2e3",focusWithin:"_18fs8ps2e4",focusVisible:"_18fs8ps2e5",active:"_18fs8ps2e6",disabled:"_18fs8ps2e7",placeholder:"_18fs8ps2e8"},defaultClass:"_18fs8ps2e1"},text2Decorative:{conditions:{default:"_18fs8ps2e9",hover:"_18fs8ps2ea",focus:"_18fs8ps2eb",focusWithin:"_18fs8ps2ec",focusVisible:"_18fs8ps2ed",active:"_18fs8ps2ee",disabled:"_18fs8ps2ef",placeholder:"_18fs8ps2eg"},defaultClass:"_18fs8ps2e9"},text3Decorative:{conditions:{default:"_18fs8ps2eh",hover:"_18fs8ps2ei",focus:"_18fs8ps2ej",focusWithin:"_18fs8ps2ek",focusVisible:"_18fs8ps2el",active:"_18fs8ps2em",disabled:"_18fs8ps2en",placeholder:"_18fs8ps2eo"},defaultClass:"_18fs8ps2eh"},icon1Decorative:{conditions:{default:"_18fs8ps2ep",hover:"_18fs8ps2eq",focus:"_18fs8ps2er",focusWithin:"_18fs8ps2es",focusVisible:"_18fs8ps2et",active:"_18fs8ps2eu",disabled:"_18fs8ps2ev",placeholder:"_18fs8ps2ew"},defaultClass:"_18fs8ps2ep"},icon2Decorative:{conditions:{default:"_18fs8ps2ex",hover:"_18fs8ps2ey",focus:"_18fs8ps2ez",focusWithin:"_18fs8ps2f0",focusVisible:"_18fs8ps2f1",active:"_18fs8ps2f2",disabled:"_18fs8ps2f3",placeholder:"_18fs8ps2f4"},defaultClass:"_18fs8ps2ex"},icon3Decorative:{conditions:{default:"_18fs8ps2f5",hover:"_18fs8ps2f6",focus:"_18fs8ps2f7",focusWithin:"_18fs8ps2f8",focusVisible:"_18fs8ps2f9",active:"_18fs8ps2fa",disabled:"_18fs8ps2fb",placeholder:"_18fs8ps2fc"},defaultClass:"_18fs8ps2f5"},inherit:{conditions:{default:"_18fs8ps2fd",hover:"_18fs8ps2fe",focus:"_18fs8ps2ff",focusWithin:"_18fs8ps2fg",focusVisible:"_18fs8ps2fh",active:"_18fs8ps2fi",disabled:"_18fs8ps2fj",placeholder:"_18fs8ps2fk"},defaultClass:"_18fs8ps2fd"}}},backgroundColor:{values:{plain:{conditions:{default:"_18fs8ps2fl",hover:"_18fs8ps2fm",focus:"_18fs8ps2fn",focusWithin:"_18fs8ps2fo",focusVisible:"_18fs8ps2fp",active:"_18fs8ps2fq",disabled:"_18fs8ps2fr",placeholder:"_18fs8ps2fs"},defaultClass:"_18fs8ps2fl"},subdued:{conditions:{default:"_18fs8ps2ft",hover:"_18fs8ps2fu",focus:"_18fs8ps2fv",focusWithin:"_18fs8ps2fw",focusVisible:"_18fs8ps2fx",active:"_18fs8ps2fy",disabled:"_18fs8ps2fz",placeholder:"_18fs8ps2g0"},defaultClass:"_18fs8ps2ft"},highlightDim:{conditions:{default:"_18fs8ps2g1",hover:"_18fs8ps2g2",focus:"_18fs8ps2g3",focusWithin:"_18fs8ps2g4",focusVisible:"_18fs8ps2g5",active:"_18fs8ps2g6",disabled:"_18fs8ps2g7",placeholder:"_18fs8ps2g8"},defaultClass:"_18fs8ps2g1"},highlightPale:{conditions:{default:"_18fs8ps2g9",hover:"_18fs8ps2ga",focus:"_18fs8ps2gb",focusWithin:"_18fs8ps2gc",focusVisible:"_18fs8ps2gd",active:"_18fs8ps2ge",disabled:"_18fs8ps2gf",placeholder:"_18fs8ps2gg"},defaultClass:"_18fs8ps2g9"},surfaceNeutralPlain:{conditions:{default:"_18fs8ps2gh",hover:"_18fs8ps2gi",focus:"_18fs8ps2gj",focusWithin:"_18fs8ps2gk",focusVisible:"_18fs8ps2gl",active:"_18fs8ps2gm",disabled:"_18fs8ps2gn",placeholder:"_18fs8ps2go"},defaultClass:"_18fs8ps2gh"},surfaceNeutralSubdued:{conditions:{default:"_18fs8ps2gp",hover:"_18fs8ps2gq",focus:"_18fs8ps2gr",focusWithin:"_18fs8ps2gs",focusVisible:"_18fs8ps2gt",active:"_18fs8ps2gu",disabled:"_18fs8ps2gv",placeholder:"_18fs8ps2gw"},defaultClass:"_18fs8ps2gp"},surfaceNeutralDepressed:{conditions:{default:"_18fs8ps2gx",hover:"_18fs8ps2gy",focus:"_18fs8ps2gz",focusWithin:"_18fs8ps2h0",focusVisible:"_18fs8ps2h1",active:"_18fs8ps2h2",disabled:"_18fs8ps2h3",placeholder:"_18fs8ps2h4"},defaultClass:"_18fs8ps2gx"},surfaceNeutralHighlight:{conditions:{default:"_18fs8ps2h5",hover:"_18fs8ps2h6",focus:"_18fs8ps2h7",focusWithin:"_18fs8ps2h8",focusVisible:"_18fs8ps2h9",active:"_18fs8ps2ha",disabled:"_18fs8ps2hb",placeholder:"_18fs8ps2hc"},defaultClass:"_18fs8ps2h5"},surfaceBrandSubdued:{conditions:{default:"_18fs8ps2hd",hover:"_18fs8ps2he",focus:"_18fs8ps2hf",focusWithin:"_18fs8ps2hg",focusVisible:"_18fs8ps2hh",active:"_18fs8ps2hi",disabled:"_18fs8ps2hj",placeholder:"_18fs8ps2hk"},defaultClass:"_18fs8ps2hd"},surfaceBrandDepressed:{conditions:{default:"_18fs8ps2hl",hover:"_18fs8ps2hm",focus:"_18fs8ps2hn",focusWithin:"_18fs8ps2ho",focusVisible:"_18fs8ps2hp",active:"_18fs8ps2hq",disabled:"_18fs8ps2hr",placeholder:"_18fs8ps2hs"},defaultClass:"_18fs8ps2hl"},surfaceBrandHighlight:{conditions:{default:"_18fs8ps2ht",hover:"_18fs8ps2hu",focus:"_18fs8ps2hv",focusWithin:"_18fs8ps2hw",focusVisible:"_18fs8ps2hx",active:"_18fs8ps2hy",disabled:"_18fs8ps2hz",placeholder:"_18fs8ps2i0"},defaultClass:"_18fs8ps2ht"},surfaceCriticalSubdued:{conditions:{default:"_18fs8ps2i1",hover:"_18fs8ps2i2",focus:"_18fs8ps2i3",focusWithin:"_18fs8ps2i4",focusVisible:"_18fs8ps2i5",active:"_18fs8ps2i6",disabled:"_18fs8ps2i7",placeholder:"_18fs8ps2i8"},defaultClass:"_18fs8ps2i1"},surfaceCriticalDepressed:{conditions:{default:"_18fs8ps2i9",hover:"_18fs8ps2ia",focus:"_18fs8ps2ib",focusWithin:"_18fs8ps2ic",focusVisible:"_18fs8ps2id",active:"_18fs8ps2ie",disabled:"_18fs8ps2if",placeholder:"_18fs8ps2ig"},defaultClass:"_18fs8ps2i9"},surfaceCriticalHighlight:{conditions:{default:"_18fs8ps2ih",hover:"_18fs8ps2ii",focus:"_18fs8ps2ij",focusWithin:"_18fs8ps2ik",focusVisible:"_18fs8ps2il",active:"_18fs8ps2im",disabled:"_18fs8ps2in",placeholder:"_18fs8ps2io"},defaultClass:"_18fs8ps2ih"},interactiveNeutralDefault:{conditions:{default:"_18fs8ps2ip",hover:"_18fs8ps2iq",focus:"_18fs8ps2ir",focusWithin:"_18fs8ps2is",focusVisible:"_18fs8ps2it",active:"_18fs8ps2iu",disabled:"_18fs8ps2iv",placeholder:"_18fs8ps2iw"},defaultClass:"_18fs8ps2ip"},interactiveNeutralHovering:{conditions:{default:"_18fs8ps2ix",hover:"_18fs8ps2iy",focus:"_18fs8ps2iz",focusWithin:"_18fs8ps2j0",focusVisible:"_18fs8ps2j1",active:"_18fs8ps2j2",disabled:"_18fs8ps2j3",placeholder:"_18fs8ps2j4"},defaultClass:"_18fs8ps2ix"},interactiveNeutralPressing:{conditions:{default:"_18fs8ps2j5",hover:"_18fs8ps2j6",focus:"_18fs8ps2j7",focusWithin:"_18fs8ps2j8",focusVisible:"_18fs8ps2j9",active:"_18fs8ps2ja",disabled:"_18fs8ps2jb",placeholder:"_18fs8ps2jc"},defaultClass:"_18fs8ps2j5"},interactiveNeutralFocused:{conditions:{default:"_18fs8ps2jd",hover:"_18fs8ps2je",focus:"_18fs8ps2jf",focusWithin:"_18fs8ps2jg",focusVisible:"_18fs8ps2jh",active:"_18fs8ps2ji",disabled:"_18fs8ps2jj",placeholder:"_18fs8ps2jk"},defaultClass:"_18fs8ps2jd"},interactiveNeutralDisabled:{conditions:{default:"_18fs8ps2jl",hover:"_18fs8ps2jm",focus:"_18fs8ps2jn",focusWithin:"_18fs8ps2jo",focusVisible:"_18fs8ps2jp",active:"_18fs8ps2jq",disabled:"_18fs8ps2jr",placeholder:"_18fs8ps2js"},defaultClass:"_18fs8ps2jl"},interactiveBrandDefault:{conditions:{default:"_18fs8ps2jt",hover:"_18fs8ps2ju",focus:"_18fs8ps2jv",focusWithin:"_18fs8ps2jw",focusVisible:"_18fs8ps2jx",active:"_18fs8ps2jy",disabled:"_18fs8ps2jz",placeholder:"_18fs8ps2k0"},defaultClass:"_18fs8ps2jt"},interactiveBrandHovering:{conditions:{default:"_18fs8ps2k1",hover:"_18fs8ps2k2",focus:"_18fs8ps2k3",focusWithin:"_18fs8ps2k4",focusVisible:"_18fs8ps2k5",active:"_18fs8ps2k6",disabled:"_18fs8ps2k7",placeholder:"_18fs8ps2k8"},defaultClass:"_18fs8ps2k1"},interactiveBrandPressing:{conditions:{default:"_18fs8ps2k9",hover:"_18fs8ps2ka",focus:"_18fs8ps2kb",focusWithin:"_18fs8ps2kc",focusVisible:"_18fs8ps2kd",active:"_18fs8ps2ke",disabled:"_18fs8ps2kf",placeholder:"_18fs8ps2kg"},defaultClass:"_18fs8ps2k9"},interactiveBrandFocused:{conditions:{default:"_18fs8ps2kh",hover:"_18fs8ps2ki",focus:"_18fs8ps2kj",focusWithin:"_18fs8ps2kk",focusVisible:"_18fs8ps2kl",active:"_18fs8ps2km",disabled:"_18fs8ps2kn",placeholder:"_18fs8ps2ko"},defaultClass:"_18fs8ps2kh"},interactiveBrandDisabled:{conditions:{default:"_18fs8ps2kp",hover:"_18fs8ps2kq",focus:"_18fs8ps2kr",focusWithin:"_18fs8ps2ks",focusVisible:"_18fs8ps2kt",active:"_18fs8ps2ku",disabled:"_18fs8ps2kv",placeholder:"_18fs8ps2kw"},defaultClass:"_18fs8ps2kp"},interactiveCriticalDefault:{conditions:{default:"_18fs8ps2kx",hover:"_18fs8ps2ky",focus:"_18fs8ps2kz",focusWithin:"_18fs8ps2l0",focusVisible:"_18fs8ps2l1",active:"_18fs8ps2l2",disabled:"_18fs8ps2l3",placeholder:"_18fs8ps2l4"},defaultClass:"_18fs8ps2kx"},interactiveCriticalHovering:{conditions:{default:"_18fs8ps2l5",hover:"_18fs8ps2l6",focus:"_18fs8ps2l7",focusWithin:"_18fs8ps2l8",focusVisible:"_18fs8ps2l9",active:"_18fs8ps2la",disabled:"_18fs8ps2lb",placeholder:"_18fs8ps2lc"},defaultClass:"_18fs8ps2l5"},interactiveCriticalPressing:{conditions:{default:"_18fs8ps2ld",hover:"_18fs8ps2le",focus:"_18fs8ps2lf",focusWithin:"_18fs8ps2lg",focusVisible:"_18fs8ps2lh",active:"_18fs8ps2li",disabled:"_18fs8ps2lj",placeholder:"_18fs8ps2lk"},defaultClass:"_18fs8ps2ld"},interactiveCriticalFocused:{conditions:{default:"_18fs8ps2ll",hover:"_18fs8ps2lm",focus:"_18fs8ps2ln",focusWithin:"_18fs8ps2lo",focusVisible:"_18fs8ps2lp",active:"_18fs8ps2lq",disabled:"_18fs8ps2lr",placeholder:"_18fs8ps2ls"},defaultClass:"_18fs8ps2ll"},interactiveCriticalDisabled:{conditions:{default:"_18fs8ps2lt",hover:"_18fs8ps2lu",focus:"_18fs8ps2lv",focusWithin:"_18fs8ps2lw",focusVisible:"_18fs8ps2lx",active:"_18fs8ps2ly",disabled:"_18fs8ps2lz",placeholder:"_18fs8ps2m0"},defaultClass:"_18fs8ps2lt"},interactiveNeutralSecondaryDefault:{conditions:{default:"_18fs8ps2m1",hover:"_18fs8ps2m2",focus:"_18fs8ps2m3",focusWithin:"_18fs8ps2m4",focusVisible:"_18fs8ps2m5",active:"_18fs8ps2m6",disabled:"_18fs8ps2m7",placeholder:"_18fs8ps2m8"},defaultClass:"_18fs8ps2m1"},interactiveNeutralSecondaryHovering:{conditions:{default:"_18fs8ps2m9",hover:"_18fs8ps2ma",focus:"_18fs8ps2mb",focusWithin:"_18fs8ps2mc",focusVisible:"_18fs8ps2md",active:"_18fs8ps2me",disabled:"_18fs8ps2mf",placeholder:"_18fs8ps2mg"},defaultClass:"_18fs8ps2m9"},interactiveNeutralSecondaryPressing:{conditions:{default:"_18fs8ps2mh",hover:"_18fs8ps2mi",focus:"_18fs8ps2mj",focusWithin:"_18fs8ps2mk",focusVisible:"_18fs8ps2ml",active:"_18fs8ps2mm",disabled:"_18fs8ps2mn",placeholder:"_18fs8ps2mo"},defaultClass:"_18fs8ps2mh"},interactiveNeutralSecondaryFocused:{conditions:{default:"_18fs8ps2mp",hover:"_18fs8ps2mq",focus:"_18fs8ps2mr",focusWithin:"_18fs8ps2ms",focusVisible:"_18fs8ps2mt",active:"_18fs8ps2mu",disabled:"_18fs8ps2mv",placeholder:"_18fs8ps2mw"},defaultClass:"_18fs8ps2mp"},interactiveNeutralSecondaryDisabled:{conditions:{default:"_18fs8ps2mx",hover:"_18fs8ps2my",focus:"_18fs8ps2mz",focusWithin:"_18fs8ps2n0",focusVisible:"_18fs8ps2n1",active:"_18fs8ps2n2",disabled:"_18fs8ps2n3",placeholder:"_18fs8ps2n4"},defaultClass:"_18fs8ps2mx"},interactiveBrandSecondaryDefault:{conditions:{default:"_18fs8ps2n5",hover:"_18fs8ps2n6",focus:"_18fs8ps2n7",focusWithin:"_18fs8ps2n8",focusVisible:"_18fs8ps2n9",active:"_18fs8ps2na",disabled:"_18fs8ps2nb",placeholder:"_18fs8ps2nc"},defaultClass:"_18fs8ps2n5"},interactiveBrandSecondaryHovering:{conditions:{default:"_18fs8ps2nd",hover:"_18fs8ps2ne",focus:"_18fs8ps2nf",focusWithin:"_18fs8ps2ng",focusVisible:"_18fs8ps2nh",active:"_18fs8ps2ni",disabled:"_18fs8ps2nj",placeholder:"_18fs8ps2nk"},defaultClass:"_18fs8ps2nd"},interactiveBrandSecondaryPressing:{conditions:{default:"_18fs8ps2nl",hover:"_18fs8ps2nm",focus:"_18fs8ps2nn",focusWithin:"_18fs8ps2no",focusVisible:"_18fs8ps2np",active:"_18fs8ps2nq",disabled:"_18fs8ps2nr",placeholder:"_18fs8ps2ns"},defaultClass:"_18fs8ps2nl"},interactiveBrandSecondaryFocused:{conditions:{default:"_18fs8ps2nt",hover:"_18fs8ps2nu",focus:"_18fs8ps2nv",focusWithin:"_18fs8ps2nw",focusVisible:"_18fs8ps2nx",active:"_18fs8ps2ny",disabled:"_18fs8ps2nz",placeholder:"_18fs8ps2o0"},defaultClass:"_18fs8ps2nt"},interactiveBrandSecondaryDisabled:{conditions:{default:"_18fs8ps2o1",hover:"_18fs8ps2o2",focus:"_18fs8ps2o3",focusWithin:"_18fs8ps2o4",focusVisible:"_18fs8ps2o5",active:"_18fs8ps2o6",disabled:"_18fs8ps2o7",placeholder:"_18fs8ps2o8"},defaultClass:"_18fs8ps2o1"},interactiveCriticalSecondaryDefault:{conditions:{default:"_18fs8ps2o9",hover:"_18fs8ps2oa",focus:"_18fs8ps2ob",focusWithin:"_18fs8ps2oc",focusVisible:"_18fs8ps2od",active:"_18fs8ps2oe",disabled:"_18fs8ps2of",placeholder:"_18fs8ps2og"},defaultClass:"_18fs8ps2o9"},interactiveCriticalSecondaryHovering:{conditions:{default:"_18fs8ps2oh",hover:"_18fs8ps2oi",focus:"_18fs8ps2oj",focusWithin:"_18fs8ps2ok",focusVisible:"_18fs8ps2ol",active:"_18fs8ps2om",disabled:"_18fs8ps2on",placeholder:"_18fs8ps2oo"},defaultClass:"_18fs8ps2oh"},interactiveCriticalSecondaryPressing:{conditions:{default:"_18fs8ps2op",hover:"_18fs8ps2oq",focus:"_18fs8ps2or",focusWithin:"_18fs8ps2os",focusVisible:"_18fs8ps2ot",active:"_18fs8ps2ou",disabled:"_18fs8ps2ov",placeholder:"_18fs8ps2ow"},defaultClass:"_18fs8ps2op"},interactiveCriticalSecondaryFocused:{conditions:{default:"_18fs8ps2ox",hover:"_18fs8ps2oy",focus:"_18fs8ps2oz",focusWithin:"_18fs8ps2p0",focusVisible:"_18fs8ps2p1",active:"_18fs8ps2p2",disabled:"_18fs8ps2p3",placeholder:"_18fs8ps2p4"},defaultClass:"_18fs8ps2ox"},interactiveCriticalSecondaryDisabled:{conditions:{default:"_18fs8ps2p5",hover:"_18fs8ps2p6",focus:"_18fs8ps2p7",focusWithin:"_18fs8ps2p8",focusVisible:"_18fs8ps2p9",active:"_18fs8ps2pa",disabled:"_18fs8ps2pb",placeholder:"_18fs8ps2pc"},defaultClass:"_18fs8ps2p5"},interactiveNeutralHighlightDefault:{conditions:{default:"_18fs8ps2pd",hover:"_18fs8ps2pe",focus:"_18fs8ps2pf",focusWithin:"_18fs8ps2pg",focusVisible:"_18fs8ps2ph",active:"_18fs8ps2pi",disabled:"_18fs8ps2pj",placeholder:"_18fs8ps2pk"},defaultClass:"_18fs8ps2pd"},interactiveNeutralHighlightHovering:{conditions:{default:"_18fs8ps2pl",hover:"_18fs8ps2pm",focus:"_18fs8ps2pn",focusWithin:"_18fs8ps2po",focusVisible:"_18fs8ps2pp",active:"_18fs8ps2pq",disabled:"_18fs8ps2pr",placeholder:"_18fs8ps2ps"},defaultClass:"_18fs8ps2pl"},interactiveNeutralHighlightPressing:{conditions:{default:"_18fs8ps2pt",hover:"_18fs8ps2pu",focus:"_18fs8ps2pv",focusWithin:"_18fs8ps2pw",focusVisible:"_18fs8ps2px",active:"_18fs8ps2py",disabled:"_18fs8ps2pz",placeholder:"_18fs8ps2q0"},defaultClass:"_18fs8ps2pt"},interactiveNeutralHighlightFocused:{conditions:{default:"_18fs8ps2q1",hover:"_18fs8ps2q2",focus:"_18fs8ps2q3",focusWithin:"_18fs8ps2q4",focusVisible:"_18fs8ps2q5",active:"_18fs8ps2q6",disabled:"_18fs8ps2q7",placeholder:"_18fs8ps2q8"},defaultClass:"_18fs8ps2q1"},interactiveNeutralHighlightDisabled:{conditions:{default:"_18fs8ps2q9",hover:"_18fs8ps2qa",focus:"_18fs8ps2qb",focusWithin:"_18fs8ps2qc",focusVisible:"_18fs8ps2qd",active:"_18fs8ps2qe",disabled:"_18fs8ps2qf",placeholder:"_18fs8ps2qg"},defaultClass:"_18fs8ps2q9"},interactiveBrandHighlightDefault:{conditions:{default:"_18fs8ps2qh",hover:"_18fs8ps2qi",focus:"_18fs8ps2qj",focusWithin:"_18fs8ps2qk",focusVisible:"_18fs8ps2ql",active:"_18fs8ps2qm",disabled:"_18fs8ps2qn",placeholder:"_18fs8ps2qo"},defaultClass:"_18fs8ps2qh"},interactiveBrandHighlightHovering:{conditions:{default:"_18fs8ps2qp",hover:"_18fs8ps2qq",focus:"_18fs8ps2qr",focusWithin:"_18fs8ps2qs",focusVisible:"_18fs8ps2qt",active:"_18fs8ps2qu",disabled:"_18fs8ps2qv",placeholder:"_18fs8ps2qw"},defaultClass:"_18fs8ps2qp"},interactiveBrandHighlightPressing:{conditions:{default:"_18fs8ps2qx",hover:"_18fs8ps2qy",focus:"_18fs8ps2qz",focusWithin:"_18fs8ps2r0",focusVisible:"_18fs8ps2r1",active:"_18fs8ps2r2",disabled:"_18fs8ps2r3",placeholder:"_18fs8ps2r4"},defaultClass:"_18fs8ps2qx"},interactiveBrandHighlightFocused:{conditions:{default:"_18fs8ps2r5",hover:"_18fs8ps2r6",focus:"_18fs8ps2r7",focusWithin:"_18fs8ps2r8",focusVisible:"_18fs8ps2r9",active:"_18fs8ps2ra",disabled:"_18fs8ps2rb",placeholder:"_18fs8ps2rc"},defaultClass:"_18fs8ps2r5"},interactiveBrandHighlightDisabled:{conditions:{default:"_18fs8ps2rd",hover:"_18fs8ps2re",focus:"_18fs8ps2rf",focusWithin:"_18fs8ps2rg",focusVisible:"_18fs8ps2rh",active:"_18fs8ps2ri",disabled:"_18fs8ps2rj",placeholder:"_18fs8ps2rk"},defaultClass:"_18fs8ps2rd"},interactiveCriticalHighlightDefault:{conditions:{default:"_18fs8ps2rl",hover:"_18fs8ps2rm",focus:"_18fs8ps2rn",focusWithin:"_18fs8ps2ro",focusVisible:"_18fs8ps2rp",active:"_18fs8ps2rq",disabled:"_18fs8ps2rr",placeholder:"_18fs8ps2rs"},defaultClass:"_18fs8ps2rl"},interactiveCriticalHighlightHovering:{conditions:{default:"_18fs8ps2rt",hover:"_18fs8ps2ru",focus:"_18fs8ps2rv",focusWithin:"_18fs8ps2rw",focusVisible:"_18fs8ps2rx",active:"_18fs8ps2ry",disabled:"_18fs8ps2rz",placeholder:"_18fs8ps2s0"},defaultClass:"_18fs8ps2rt"},interactiveCriticalHighlightPressing:{conditions:{default:"_18fs8ps2s1",hover:"_18fs8ps2s2",focus:"_18fs8ps2s3",focusWithin:"_18fs8ps2s4",focusVisible:"_18fs8ps2s5",active:"_18fs8ps2s6",disabled:"_18fs8ps2s7",placeholder:"_18fs8ps2s8"},defaultClass:"_18fs8ps2s1"},interactiveCriticalHighlightFocused:{conditions:{default:"_18fs8ps2s9",hover:"_18fs8ps2sa",focus:"_18fs8ps2sb",focusWithin:"_18fs8ps2sc",focusVisible:"_18fs8ps2sd",active:"_18fs8ps2se",disabled:"_18fs8ps2sf",placeholder:"_18fs8ps2sg"},defaultClass:"_18fs8ps2s9"},interactiveCriticalHighlightDisabled:{conditions:{default:"_18fs8ps2sh",hover:"_18fs8ps2si",focus:"_18fs8ps2sj",focusWithin:"_18fs8ps2sk",focusVisible:"_18fs8ps2sl",active:"_18fs8ps2sm",disabled:"_18fs8ps2sn",placeholder:"_18fs8ps2so"},defaultClass:"_18fs8ps2sh"},decorativeSurfacePlain1:{conditions:{default:"_18fs8ps2sp",hover:"_18fs8ps2sq",focus:"_18fs8ps2sr",focusWithin:"_18fs8ps2ss",focusVisible:"_18fs8ps2st",active:"_18fs8ps2su",disabled:"_18fs8ps2sv",placeholder:"_18fs8ps2sw"},defaultClass:"_18fs8ps2sp"},decorativeSurfacePlain2:{conditions:{default:"_18fs8ps2sx",hover:"_18fs8ps2sy",focus:"_18fs8ps2sz",focusWithin:"_18fs8ps2t0",focusVisible:"_18fs8ps2t1",active:"_18fs8ps2t2",disabled:"_18fs8ps2t3",placeholder:"_18fs8ps2t4"},defaultClass:"_18fs8ps2sx"},decorativeSurfacePlain3:{conditions:{default:"_18fs8ps2t5",hover:"_18fs8ps2t6",focus:"_18fs8ps2t7",focusWithin:"_18fs8ps2t8",focusVisible:"_18fs8ps2t9",active:"_18fs8ps2ta",disabled:"_18fs8ps2tb",placeholder:"_18fs8ps2tc"},defaultClass:"_18fs8ps2t5"},decorativeSurfaceSubdued1:{conditions:{default:"_18fs8ps2td",hover:"_18fs8ps2te",focus:"_18fs8ps2tf",focusWithin:"_18fs8ps2tg",focusVisible:"_18fs8ps2th",active:"_18fs8ps2ti",disabled:"_18fs8ps2tj",placeholder:"_18fs8ps2tk"},defaultClass:"_18fs8ps2td"},decorativeSurfaceSubdued2:{conditions:{default:"_18fs8ps2tl",hover:"_18fs8ps2tm",focus:"_18fs8ps2tn",focusWithin:"_18fs8ps2to",focusVisible:"_18fs8ps2tp",active:"_18fs8ps2tq",disabled:"_18fs8ps2tr",placeholder:"_18fs8ps2ts"},defaultClass:"_18fs8ps2tl"},decorativeSurfaceSubdued3:{conditions:{default:"_18fs8ps2tt",hover:"_18fs8ps2tu",focus:"_18fs8ps2tv",focusWithin:"_18fs8ps2tw",focusVisible:"_18fs8ps2tx",active:"_18fs8ps2ty",disabled:"_18fs8ps2tz",placeholder:"_18fs8ps2u0"},defaultClass:"_18fs8ps2tt"},transparent:{conditions:{default:"_18fs8ps2u1",hover:"_18fs8ps2u2",focus:"_18fs8ps2u3",focusWithin:"_18fs8ps2u4",focusVisible:"_18fs8ps2u5",active:"_18fs8ps2u6",disabled:"_18fs8ps2u7",placeholder:"_18fs8ps2u8"},defaultClass:"_18fs8ps2u1"}}},pointerEvents:{values:{none:{conditions:{default:"_18fs8ps2u9",hover:"_18fs8ps2ua",focus:"_18fs8ps2ub",focusWithin:"_18fs8ps2uc",focusVisible:"_18fs8ps2ud",active:"_18fs8ps2ue",disabled:"_18fs8ps2uf",placeholder:"_18fs8ps2ug"},defaultClass:"_18fs8ps2u9"},auto:{conditions:{default:"_18fs8ps2uh",hover:"_18fs8ps2ui",focus:"_18fs8ps2uj",focusWithin:"_18fs8ps2uk",focusVisible:"_18fs8ps2ul",active:"_18fs8ps2um",disabled:"_18fs8ps2un",placeholder:"_18fs8ps2uo"},defaultClass:"_18fs8ps2uh"}}},cursor:{values:{pointer:{conditions:{default:"_18fs8ps2up",hover:"_18fs8ps2uq",focus:"_18fs8ps2ur",focusWithin:"_18fs8ps2us",focusVisible:"_18fs8ps2ut",active:"_18fs8ps2uu",disabled:"_18fs8ps2uv",placeholder:"_18fs8ps2uw"},defaultClass:"_18fs8ps2up"},"not-allowed":{conditions:{default:"_18fs8ps2ux",hover:"_18fs8ps2uy",focus:"_18fs8ps2uz",focusWithin:"_18fs8ps2v0",focusVisible:"_18fs8ps2v1",active:"_18fs8ps2v2",disabled:"_18fs8ps2v3",placeholder:"_18fs8ps2v4"},defaultClass:"_18fs8ps2ux"},auto:{conditions:{default:"_18fs8ps2v5",hover:"_18fs8ps2v6",focus:"_18fs8ps2v7",focusWithin:"_18fs8ps2v8",focusVisible:"_18fs8ps2v9",active:"_18fs8ps2va",disabled:"_18fs8ps2vb",placeholder:"_18fs8ps2vc"},defaultClass:"_18fs8ps2v5"},grabbing:{conditions:{default:"_18fs8ps2vd",hover:"_18fs8ps2ve",focus:"_18fs8ps2vf",focusWithin:"_18fs8ps2vg",focusVisible:"_18fs8ps2vh",active:"_18fs8ps2vi",disabled:"_18fs8ps2vj",placeholder:"_18fs8ps2vk"},defaultClass:"_18fs8ps2vd"},text:{conditions:{default:"_18fs8ps2vl",hover:"_18fs8ps2vm",focus:"_18fs8ps2vn",focusWithin:"_18fs8ps2vo",focusVisible:"_18fs8ps2vp",active:"_18fs8ps2vq",disabled:"_18fs8ps2vr",placeholder:"_18fs8ps2vs"},defaultClass:"_18fs8ps2vl"}}},boxShadow:{values:{interactiveDefaultFocused:{conditions:{default:"_18fs8ps2vt",hover:"_18fs8ps2vu",focus:"_18fs8ps2vv",focusWithin:"_18fs8ps2vw",focusVisible:"_18fs8ps2vx",active:"_18fs8ps2vy",disabled:"_18fs8ps2vz",placeholder:"_18fs8ps2w0"},defaultClass:"_18fs8ps2vt"},interactiveDefaultHovering:{conditions:{default:"_18fs8ps2w1",hover:"_18fs8ps2w2",focus:"_18fs8ps2w3",focusWithin:"_18fs8ps2w4",focusVisible:"_18fs8ps2w5",active:"_18fs8ps2w6",disabled:"_18fs8ps2w7",placeholder:"_18fs8ps2w8"},defaultClass:"_18fs8ps2w1"},overlay:{conditions:{default:"_18fs8ps2w9",hover:"_18fs8ps2wa",focus:"_18fs8ps2wb",focusWithin:"_18fs8ps2wc",focusVisible:"_18fs8ps2wd",active:"_18fs8ps2we",disabled:"_18fs8ps2wf",placeholder:"_18fs8ps2wg"},defaultClass:"_18fs8ps2w9"},modal:{conditions:{default:"_18fs8ps2wh",hover:"_18fs8ps2wi",focus:"_18fs8ps2wj",focusWithin:"_18fs8ps2wk",focusVisible:"_18fs8ps2wl",active:"_18fs8ps2wm",disabled:"_18fs8ps2wn",placeholder:"_18fs8ps2wo"},defaultClass:"_18fs8ps2wh"},none:{conditions:{default:"_18fs8ps2wp",hover:"_18fs8ps2wq",focus:"_18fs8ps2wr",focusWithin:"_18fs8ps2ws",focusVisible:"_18fs8ps2wt",active:"_18fs8ps2wu",disabled:"_18fs8ps2wv",placeholder:"_18fs8ps2ww"},defaultClass:"_18fs8ps2wp"}}},transition:{values:{ease:{conditions:{default:"_18fs8ps2wx",hover:"_18fs8ps2wy",focus:"_18fs8ps2wz",focusWithin:"_18fs8ps2x0",focusVisible:"_18fs8ps2x1",active:"_18fs8ps2x2",disabled:"_18fs8ps2x3",placeholder:"_18fs8ps2x4"},defaultClass:"_18fs8ps2wx"},all:{conditions:{default:"_18fs8ps2x5",hover:"_18fs8ps2x6",focus:"_18fs8ps2x7",focusWithin:"_18fs8ps2x8",focusVisible:"_18fs8ps2x9",active:"_18fs8ps2xa",disabled:"_18fs8ps2xb",placeholder:"_18fs8ps2xc"},defaultClass:"_18fs8ps2x5"}}},textDecoration:{values:{none:{conditions:{default:"_18fs8ps2xd",hover:"_18fs8ps2xe",focus:"_18fs8ps2xf",focusWithin:"_18fs8ps2xg",focusVisible:"_18fs8ps2xh",active:"_18fs8ps2xi",disabled:"_18fs8ps2xj",placeholder:"_18fs8ps2xk"},defaultClass:"_18fs8ps2xd"},underline:{conditions:{default:"_18fs8ps2xl",hover:"_18fs8ps2xm",focus:"_18fs8ps2xn",focusWithin:"_18fs8ps2xo",focusVisible:"_18fs8ps2xp",active:"_18fs8ps2xq",disabled:"_18fs8ps2xr",placeholder:"_18fs8ps2xs"},defaultClass:"_18fs8ps2xl"}}},transform:{values:{}},fill:{values:{plain:{conditions:{default:"_18fs8ps2xt",hover:"_18fs8ps2xu",focus:"_18fs8ps2xv",focusWithin:"_18fs8ps2xw",focusVisible:"_18fs8ps2xx",active:"_18fs8ps2xy",disabled:"_18fs8ps2xz",placeholder:"_18fs8ps2y0"},defaultClass:"_18fs8ps2xt"},subdued:{conditions:{default:"_18fs8ps2y1",hover:"_18fs8ps2y2",focus:"_18fs8ps2y3",focusWithin:"_18fs8ps2y4",focusVisible:"_18fs8ps2y5",active:"_18fs8ps2y6",disabled:"_18fs8ps2y7",placeholder:"_18fs8ps2y8"},defaultClass:"_18fs8ps2y1"},highlightDim:{conditions:{default:"_18fs8ps2y9",hover:"_18fs8ps2ya",focus:"_18fs8ps2yb",focusWithin:"_18fs8ps2yc",focusVisible:"_18fs8ps2yd",active:"_18fs8ps2ye",disabled:"_18fs8ps2yf",placeholder:"_18fs8ps2yg"},defaultClass:"_18fs8ps2y9"},highlightPale:{conditions:{default:"_18fs8ps2yh",hover:"_18fs8ps2yi",focus:"_18fs8ps2yj",focusWithin:"_18fs8ps2yk",focusVisible:"_18fs8ps2yl",active:"_18fs8ps2ym",disabled:"_18fs8ps2yn",placeholder:"_18fs8ps2yo"},defaultClass:"_18fs8ps2yh"},surfaceNeutralPlain:{conditions:{default:"_18fs8ps2yp",hover:"_18fs8ps2yq",focus:"_18fs8ps2yr",focusWithin:"_18fs8ps2ys",focusVisible:"_18fs8ps2yt",active:"_18fs8ps2yu",disabled:"_18fs8ps2yv",placeholder:"_18fs8ps2yw"},defaultClass:"_18fs8ps2yp"},surfaceNeutralSubdued:{conditions:{default:"_18fs8ps2yx",hover:"_18fs8ps2yy",focus:"_18fs8ps2yz",focusWithin:"_18fs8ps2z0",focusVisible:"_18fs8ps2z1",active:"_18fs8ps2z2",disabled:"_18fs8ps2z3",placeholder:"_18fs8ps2z4"},defaultClass:"_18fs8ps2yx"},surfaceNeutralDepressed:{conditions:{default:"_18fs8ps2z5",hover:"_18fs8ps2z6",focus:"_18fs8ps2z7",focusWithin:"_18fs8ps2z8",focusVisible:"_18fs8ps2z9",active:"_18fs8ps2za",disabled:"_18fs8ps2zb",placeholder:"_18fs8ps2zc"},defaultClass:"_18fs8ps2z5"},surfaceNeutralHighlight:{conditions:{default:"_18fs8ps2zd",hover:"_18fs8ps2ze",focus:"_18fs8ps2zf",focusWithin:"_18fs8ps2zg",focusVisible:"_18fs8ps2zh",active:"_18fs8ps2zi",disabled:"_18fs8ps2zj",placeholder:"_18fs8ps2zk"},defaultClass:"_18fs8ps2zd"},surfaceBrandSubdued:{conditions:{default:"_18fs8ps2zl",hover:"_18fs8ps2zm",focus:"_18fs8ps2zn",focusWithin:"_18fs8ps2zo",focusVisible:"_18fs8ps2zp",active:"_18fs8ps2zq",disabled:"_18fs8ps2zr",placeholder:"_18fs8ps2zs"},defaultClass:"_18fs8ps2zl"},surfaceBrandDepressed:{conditions:{default:"_18fs8ps2zt",hover:"_18fs8ps2zu",focus:"_18fs8ps2zv",focusWithin:"_18fs8ps2zw",focusVisible:"_18fs8ps2zx",active:"_18fs8ps2zy",disabled:"_18fs8ps2zz",placeholder:"_18fs8ps300"},defaultClass:"_18fs8ps2zt"},surfaceBrandHighlight:{conditions:{default:"_18fs8ps301",hover:"_18fs8ps302",focus:"_18fs8ps303",focusWithin:"_18fs8ps304",focusVisible:"_18fs8ps305",active:"_18fs8ps306",disabled:"_18fs8ps307",placeholder:"_18fs8ps308"},defaultClass:"_18fs8ps301"},surfaceCriticalSubdued:{conditions:{default:"_18fs8ps309",hover:"_18fs8ps30a",focus:"_18fs8ps30b",focusWithin:"_18fs8ps30c",focusVisible:"_18fs8ps30d",active:"_18fs8ps30e",disabled:"_18fs8ps30f",placeholder:"_18fs8ps30g"},defaultClass:"_18fs8ps309"},surfaceCriticalDepressed:{conditions:{default:"_18fs8ps30h",hover:"_18fs8ps30i",focus:"_18fs8ps30j",focusWithin:"_18fs8ps30k",focusVisible:"_18fs8ps30l",active:"_18fs8ps30m",disabled:"_18fs8ps30n",placeholder:"_18fs8ps30o"},defaultClass:"_18fs8ps30h"},surfaceCriticalHighlight:{conditions:{default:"_18fs8ps30p",hover:"_18fs8ps30q",focus:"_18fs8ps30r",focusWithin:"_18fs8ps30s",focusVisible:"_18fs8ps30t",active:"_18fs8ps30u",disabled:"_18fs8ps30v",placeholder:"_18fs8ps30w"},defaultClass:"_18fs8ps30p"},interactiveNeutralDefault:{conditions:{default:"_18fs8ps30x",hover:"_18fs8ps30y",focus:"_18fs8ps30z",focusWithin:"_18fs8ps310",focusVisible:"_18fs8ps311",active:"_18fs8ps312",disabled:"_18fs8ps313",placeholder:"_18fs8ps314"},defaultClass:"_18fs8ps30x"},interactiveNeutralHovering:{conditions:{default:"_18fs8ps315",hover:"_18fs8ps316",focus:"_18fs8ps317",focusWithin:"_18fs8ps318",focusVisible:"_18fs8ps319",active:"_18fs8ps31a",disabled:"_18fs8ps31b",placeholder:"_18fs8ps31c"},defaultClass:"_18fs8ps315"},interactiveNeutralPressing:{conditions:{default:"_18fs8ps31d",hover:"_18fs8ps31e",focus:"_18fs8ps31f",focusWithin:"_18fs8ps31g",focusVisible:"_18fs8ps31h",active:"_18fs8ps31i",disabled:"_18fs8ps31j",placeholder:"_18fs8ps31k"},defaultClass:"_18fs8ps31d"},interactiveNeutralFocused:{conditions:{default:"_18fs8ps31l",hover:"_18fs8ps31m",focus:"_18fs8ps31n",focusWithin:"_18fs8ps31o",focusVisible:"_18fs8ps31p",active:"_18fs8ps31q",disabled:"_18fs8ps31r",placeholder:"_18fs8ps31s"},defaultClass:"_18fs8ps31l"},interactiveNeutralDisabled:{conditions:{default:"_18fs8ps31t",hover:"_18fs8ps31u",focus:"_18fs8ps31v",focusWithin:"_18fs8ps31w",focusVisible:"_18fs8ps31x",active:"_18fs8ps31y",disabled:"_18fs8ps31z",placeholder:"_18fs8ps320"},defaultClass:"_18fs8ps31t"},interactiveBrandDefault:{conditions:{default:"_18fs8ps321",hover:"_18fs8ps322",focus:"_18fs8ps323",focusWithin:"_18fs8ps324",focusVisible:"_18fs8ps325",active:"_18fs8ps326",disabled:"_18fs8ps327",placeholder:"_18fs8ps328"},defaultClass:"_18fs8ps321"},interactiveBrandHovering:{conditions:{default:"_18fs8ps329",hover:"_18fs8ps32a",focus:"_18fs8ps32b",focusWithin:"_18fs8ps32c",focusVisible:"_18fs8ps32d",active:"_18fs8ps32e",disabled:"_18fs8ps32f",placeholder:"_18fs8ps32g"},defaultClass:"_18fs8ps329"},interactiveBrandPressing:{conditions:{default:"_18fs8ps32h",hover:"_18fs8ps32i",focus:"_18fs8ps32j",focusWithin:"_18fs8ps32k",focusVisible:"_18fs8ps32l",active:"_18fs8ps32m",disabled:"_18fs8ps32n",placeholder:"_18fs8ps32o"},defaultClass:"_18fs8ps32h"},interactiveBrandFocused:{conditions:{default:"_18fs8ps32p",hover:"_18fs8ps32q",focus:"_18fs8ps32r",focusWithin:"_18fs8ps32s",focusVisible:"_18fs8ps32t",active:"_18fs8ps32u",disabled:"_18fs8ps32v",placeholder:"_18fs8ps32w"},defaultClass:"_18fs8ps32p"},interactiveBrandDisabled:{conditions:{default:"_18fs8ps32x",hover:"_18fs8ps32y",focus:"_18fs8ps32z",focusWithin:"_18fs8ps330",focusVisible:"_18fs8ps331",active:"_18fs8ps332",disabled:"_18fs8ps333",placeholder:"_18fs8ps334"},defaultClass:"_18fs8ps32x"},interactiveCriticalDefault:{conditions:{default:"_18fs8ps335",hover:"_18fs8ps336",focus:"_18fs8ps337",focusWithin:"_18fs8ps338",focusVisible:"_18fs8ps339",active:"_18fs8ps33a",disabled:"_18fs8ps33b",placeholder:"_18fs8ps33c"},defaultClass:"_18fs8ps335"},interactiveCriticalHovering:{conditions:{default:"_18fs8ps33d",hover:"_18fs8ps33e",focus:"_18fs8ps33f",focusWithin:"_18fs8ps33g",focusVisible:"_18fs8ps33h",active:"_18fs8ps33i",disabled:"_18fs8ps33j",placeholder:"_18fs8ps33k"},defaultClass:"_18fs8ps33d"},interactiveCriticalPressing:{conditions:{default:"_18fs8ps33l",hover:"_18fs8ps33m",focus:"_18fs8ps33n",focusWithin:"_18fs8ps33o",focusVisible:"_18fs8ps33p",active:"_18fs8ps33q",disabled:"_18fs8ps33r",placeholder:"_18fs8ps33s"},defaultClass:"_18fs8ps33l"},interactiveCriticalFocused:{conditions:{default:"_18fs8ps33t",hover:"_18fs8ps33u",focus:"_18fs8ps33v",focusWithin:"_18fs8ps33w",focusVisible:"_18fs8ps33x",active:"_18fs8ps33y",disabled:"_18fs8ps33z",placeholder:"_18fs8ps340"},defaultClass:"_18fs8ps33t"},interactiveCriticalDisabled:{conditions:{default:"_18fs8ps341",hover:"_18fs8ps342",focus:"_18fs8ps343",focusWithin:"_18fs8ps344",focusVisible:"_18fs8ps345",active:"_18fs8ps346",disabled:"_18fs8ps347",placeholder:"_18fs8ps348"},defaultClass:"_18fs8ps341"},interactiveNeutralSecondaryDefault:{conditions:{default:"_18fs8ps349",hover:"_18fs8ps34a",focus:"_18fs8ps34b",focusWithin:"_18fs8ps34c",focusVisible:"_18fs8ps34d",active:"_18fs8ps34e",disabled:"_18fs8ps34f",placeholder:"_18fs8ps34g"},defaultClass:"_18fs8ps349"},interactiveNeutralSecondaryHovering:{conditions:{default:"_18fs8ps34h",hover:"_18fs8ps34i",focus:"_18fs8ps34j",focusWithin:"_18fs8ps34k",focusVisible:"_18fs8ps34l",active:"_18fs8ps34m",disabled:"_18fs8ps34n",placeholder:"_18fs8ps34o"},defaultClass:"_18fs8ps34h"},interactiveNeutralSecondaryPressing:{conditions:{default:"_18fs8ps34p",hover:"_18fs8ps34q",focus:"_18fs8ps34r",focusWithin:"_18fs8ps34s",focusVisible:"_18fs8ps34t",active:"_18fs8ps34u",disabled:"_18fs8ps34v",placeholder:"_18fs8ps34w"},defaultClass:"_18fs8ps34p"},interactiveNeutralSecondaryFocused:{conditions:{default:"_18fs8ps34x",hover:"_18fs8ps34y",focus:"_18fs8ps34z",focusWithin:"_18fs8ps350",focusVisible:"_18fs8ps351",active:"_18fs8ps352",disabled:"_18fs8ps353",placeholder:"_18fs8ps354"},defaultClass:"_18fs8ps34x"},interactiveNeutralSecondaryDisabled:{conditions:{default:"_18fs8ps355",hover:"_18fs8ps356",focus:"_18fs8ps357",focusWithin:"_18fs8ps358",focusVisible:"_18fs8ps359",active:"_18fs8ps35a",disabled:"_18fs8ps35b",placeholder:"_18fs8ps35c"},defaultClass:"_18fs8ps355"},interactiveBrandSecondaryDefault:{conditions:{default:"_18fs8ps35d",hover:"_18fs8ps35e",focus:"_18fs8ps35f",focusWithin:"_18fs8ps35g",focusVisible:"_18fs8ps35h",active:"_18fs8ps35i",disabled:"_18fs8ps35j",placeholder:"_18fs8ps35k"},defaultClass:"_18fs8ps35d"},interactiveBrandSecondaryHovering:{conditions:{default:"_18fs8ps35l",hover:"_18fs8ps35m",focus:"_18fs8ps35n",focusWithin:"_18fs8ps35o",focusVisible:"_18fs8ps35p",active:"_18fs8ps35q",disabled:"_18fs8ps35r",placeholder:"_18fs8ps35s"},defaultClass:"_18fs8ps35l"},interactiveBrandSecondaryPressing:{conditions:{default:"_18fs8ps35t",hover:"_18fs8ps35u",focus:"_18fs8ps35v",focusWithin:"_18fs8ps35w",focusVisible:"_18fs8ps35x",active:"_18fs8ps35y",disabled:"_18fs8ps35z",placeholder:"_18fs8ps360"},defaultClass:"_18fs8ps35t"},interactiveBrandSecondaryFocused:{conditions:{default:"_18fs8ps361",hover:"_18fs8ps362",focus:"_18fs8ps363",focusWithin:"_18fs8ps364",focusVisible:"_18fs8ps365",active:"_18fs8ps366",disabled:"_18fs8ps367",placeholder:"_18fs8ps368"},defaultClass:"_18fs8ps361"},interactiveBrandSecondaryDisabled:{conditions:{default:"_18fs8ps369",hover:"_18fs8ps36a",focus:"_18fs8ps36b",focusWithin:"_18fs8ps36c",focusVisible:"_18fs8ps36d",active:"_18fs8ps36e",disabled:"_18fs8ps36f",placeholder:"_18fs8ps36g"},defaultClass:"_18fs8ps369"},interactiveCriticalSecondaryDefault:{conditions:{default:"_18fs8ps36h",hover:"_18fs8ps36i",focus:"_18fs8ps36j",focusWithin:"_18fs8ps36k",focusVisible:"_18fs8ps36l",active:"_18fs8ps36m",disabled:"_18fs8ps36n",placeholder:"_18fs8ps36o"},defaultClass:"_18fs8ps36h"},interactiveCriticalSecondaryHovering:{conditions:{default:"_18fs8ps36p",hover:"_18fs8ps36q",focus:"_18fs8ps36r",focusWithin:"_18fs8ps36s",focusVisible:"_18fs8ps36t",active:"_18fs8ps36u",disabled:"_18fs8ps36v",placeholder:"_18fs8ps36w"},defaultClass:"_18fs8ps36p"},interactiveCriticalSecondaryPressing:{conditions:{default:"_18fs8ps36x",hover:"_18fs8ps36y",focus:"_18fs8ps36z",focusWithin:"_18fs8ps370",focusVisible:"_18fs8ps371",active:"_18fs8ps372",disabled:"_18fs8ps373",placeholder:"_18fs8ps374"},defaultClass:"_18fs8ps36x"},interactiveCriticalSecondaryFocused:{conditions:{default:"_18fs8ps375",hover:"_18fs8ps376",focus:"_18fs8ps377",focusWithin:"_18fs8ps378",focusVisible:"_18fs8ps379",active:"_18fs8ps37a",disabled:"_18fs8ps37b",placeholder:"_18fs8ps37c"},defaultClass:"_18fs8ps375"},interactiveCriticalSecondaryDisabled:{conditions:{default:"_18fs8ps37d",hover:"_18fs8ps37e",focus:"_18fs8ps37f",focusWithin:"_18fs8ps37g",focusVisible:"_18fs8ps37h",active:"_18fs8ps37i",disabled:"_18fs8ps37j",placeholder:"_18fs8ps37k"},defaultClass:"_18fs8ps37d"},interactiveNeutralHighlightDefault:{conditions:{default:"_18fs8ps37l",hover:"_18fs8ps37m",focus:"_18fs8ps37n",focusWithin:"_18fs8ps37o",focusVisible:"_18fs8ps37p",active:"_18fs8ps37q",disabled:"_18fs8ps37r",placeholder:"_18fs8ps37s"},defaultClass:"_18fs8ps37l"},interactiveNeutralHighlightHovering:{conditions:{default:"_18fs8ps37t",hover:"_18fs8ps37u",focus:"_18fs8ps37v",focusWithin:"_18fs8ps37w",focusVisible:"_18fs8ps37x",active:"_18fs8ps37y",disabled:"_18fs8ps37z",placeholder:"_18fs8ps380"},defaultClass:"_18fs8ps37t"},interactiveNeutralHighlightPressing:{conditions:{default:"_18fs8ps381",hover:"_18fs8ps382",focus:"_18fs8ps383",focusWithin:"_18fs8ps384",focusVisible:"_18fs8ps385",active:"_18fs8ps386",disabled:"_18fs8ps387",placeholder:"_18fs8ps388"},defaultClass:"_18fs8ps381"},interactiveNeutralHighlightFocused:{conditions:{default:"_18fs8ps389",hover:"_18fs8ps38a",focus:"_18fs8ps38b",focusWithin:"_18fs8ps38c",focusVisible:"_18fs8ps38d",active:"_18fs8ps38e",disabled:"_18fs8ps38f",placeholder:"_18fs8ps38g"},defaultClass:"_18fs8ps389"},interactiveNeutralHighlightDisabled:{conditions:{default:"_18fs8ps38h",hover:"_18fs8ps38i",focus:"_18fs8ps38j",focusWithin:"_18fs8ps38k",focusVisible:"_18fs8ps38l",active:"_18fs8ps38m",disabled:"_18fs8ps38n",placeholder:"_18fs8ps38o"},defaultClass:"_18fs8ps38h"},interactiveBrandHighlightDefault:{conditions:{default:"_18fs8ps38p",hover:"_18fs8ps38q",focus:"_18fs8ps38r",focusWithin:"_18fs8ps38s",focusVisible:"_18fs8ps38t",active:"_18fs8ps38u",disabled:"_18fs8ps38v",placeholder:"_18fs8ps38w"},defaultClass:"_18fs8ps38p"},interactiveBrandHighlightHovering:{conditions:{default:"_18fs8ps38x",hover:"_18fs8ps38y",focus:"_18fs8ps38z",focusWithin:"_18fs8ps390",focusVisible:"_18fs8ps391",active:"_18fs8ps392",disabled:"_18fs8ps393",placeholder:"_18fs8ps394"},defaultClass:"_18fs8ps38x"},interactiveBrandHighlightPressing:{conditions:{default:"_18fs8ps395",hover:"_18fs8ps396",focus:"_18fs8ps397",focusWithin:"_18fs8ps398",focusVisible:"_18fs8ps399",active:"_18fs8ps39a",disabled:"_18fs8ps39b",placeholder:"_18fs8ps39c"},defaultClass:"_18fs8ps395"},interactiveBrandHighlightFocused:{conditions:{default:"_18fs8ps39d",hover:"_18fs8ps39e",focus:"_18fs8ps39f",focusWithin:"_18fs8ps39g",focusVisible:"_18fs8ps39h",active:"_18fs8ps39i",disabled:"_18fs8ps39j",placeholder:"_18fs8ps39k"},defaultClass:"_18fs8ps39d"},interactiveBrandHighlightDisabled:{conditions:{default:"_18fs8ps39l",hover:"_18fs8ps39m",focus:"_18fs8ps39n",focusWithin:"_18fs8ps39o",focusVisible:"_18fs8ps39p",active:"_18fs8ps39q",disabled:"_18fs8ps39r",placeholder:"_18fs8ps39s"},defaultClass:"_18fs8ps39l"},interactiveCriticalHighlightDefault:{conditions:{default:"_18fs8ps39t",hover:"_18fs8ps39u",focus:"_18fs8ps39v",focusWithin:"_18fs8ps39w",focusVisible:"_18fs8ps39x",active:"_18fs8ps39y",disabled:"_18fs8ps39z",placeholder:"_18fs8ps3a0"},defaultClass:"_18fs8ps39t"},interactiveCriticalHighlightHovering:{conditions:{default:"_18fs8ps3a1",hover:"_18fs8ps3a2",focus:"_18fs8ps3a3",focusWithin:"_18fs8ps3a4",focusVisible:"_18fs8ps3a5",active:"_18fs8ps3a6",disabled:"_18fs8ps3a7",placeholder:"_18fs8ps3a8"},defaultClass:"_18fs8ps3a1"},interactiveCriticalHighlightPressing:{conditions:{default:"_18fs8ps3a9",hover:"_18fs8ps3aa",focus:"_18fs8ps3ab",focusWithin:"_18fs8ps3ac",focusVisible:"_18fs8ps3ad",active:"_18fs8ps3ae",disabled:"_18fs8ps3af",placeholder:"_18fs8ps3ag"},defaultClass:"_18fs8ps3a9"},interactiveCriticalHighlightFocused:{conditions:{default:"_18fs8ps3ah",hover:"_18fs8ps3ai",focus:"_18fs8ps3aj",focusWithin:"_18fs8ps3ak",focusVisible:"_18fs8ps3al",active:"_18fs8ps3am",disabled:"_18fs8ps3an",placeholder:"_18fs8ps3ao"},defaultClass:"_18fs8ps3ah"},interactiveCriticalHighlightDisabled:{conditions:{default:"_18fs8ps3ap",hover:"_18fs8ps3aq",focus:"_18fs8ps3ar",focusWithin:"_18fs8ps3as",focusVisible:"_18fs8ps3at",active:"_18fs8ps3au",disabled:"_18fs8ps3av",placeholder:"_18fs8ps3aw"},defaultClass:"_18fs8ps3ap"},decorativeSurfacePlain1:{conditions:{default:"_18fs8ps3ax",hover:"_18fs8ps3ay",focus:"_18fs8ps3az",focusWithin:"_18fs8ps3b0",focusVisible:"_18fs8ps3b1",active:"_18fs8ps3b2",disabled:"_18fs8ps3b3",placeholder:"_18fs8ps3b4"},defaultClass:"_18fs8ps3ax"},decorativeSurfacePlain2:{conditions:{default:"_18fs8ps3b5",hover:"_18fs8ps3b6",focus:"_18fs8ps3b7",focusWithin:"_18fs8ps3b8",focusVisible:"_18fs8ps3b9",active:"_18fs8ps3ba",disabled:"_18fs8ps3bb",placeholder:"_18fs8ps3bc"},defaultClass:"_18fs8ps3b5"},decorativeSurfacePlain3:{conditions:{default:"_18fs8ps3bd",hover:"_18fs8ps3be",focus:"_18fs8ps3bf",focusWithin:"_18fs8ps3bg",focusVisible:"_18fs8ps3bh",active:"_18fs8ps3bi",disabled:"_18fs8ps3bj",placeholder:"_18fs8ps3bk"},defaultClass:"_18fs8ps3bd"},decorativeSurfaceSubdued1:{conditions:{default:"_18fs8ps3bl",hover:"_18fs8ps3bm",focus:"_18fs8ps3bn",focusWithin:"_18fs8ps3bo",focusVisible:"_18fs8ps3bp",active:"_18fs8ps3bq",disabled:"_18fs8ps3br",placeholder:"_18fs8ps3bs"},defaultClass:"_18fs8ps3bl"},decorativeSurfaceSubdued2:{conditions:{default:"_18fs8ps3bt",hover:"_18fs8ps3bu",focus:"_18fs8ps3bv",focusWithin:"_18fs8ps3bw",focusVisible:"_18fs8ps3bx",active:"_18fs8ps3by",disabled:"_18fs8ps3bz",placeholder:"_18fs8ps3c0"},defaultClass:"_18fs8ps3bt"},decorativeSurfaceSubdued3:{conditions:{default:"_18fs8ps3c1",hover:"_18fs8ps3c2",focus:"_18fs8ps3c3",focusWithin:"_18fs8ps3c4",focusVisible:"_18fs8ps3c5",active:"_18fs8ps3c6",disabled:"_18fs8ps3c7",placeholder:"_18fs8ps3c8"},defaultClass:"_18fs8ps3c1"},transparent:{conditions:{default:"_18fs8ps3c9",hover:"_18fs8ps3ca",focus:"_18fs8ps3cb",focusWithin:"_18fs8ps3cc",focusVisible:"_18fs8ps3cd",active:"_18fs8ps3ce",disabled:"_18fs8ps3cf",placeholder:"_18fs8ps3cg"},defaultClass:"_18fs8ps3c9"}}},stroke:{values:{neutralDefault:{conditions:{default:"_18fs8ps3ch",hover:"_18fs8ps3ci",focus:"_18fs8ps3cj",focusWithin:"_18fs8ps3ck",focusVisible:"_18fs8ps3cl",active:"_18fs8ps3cm",disabled:"_18fs8ps3cn",placeholder:"_18fs8ps3co"},defaultClass:"_18fs8ps3ch"},neutralSubdued:{conditions:{default:"_18fs8ps3cp",hover:"_18fs8ps3cq",focus:"_18fs8ps3cr",focusWithin:"_18fs8ps3cs",focusVisible:"_18fs8ps3ct",active:"_18fs8ps3cu",disabled:"_18fs8ps3cv",placeholder:"_18fs8ps3cw"},defaultClass:"_18fs8ps3cp"},neutralHighlight:{conditions:{default:"_18fs8ps3cx",hover:"_18fs8ps3cy",focus:"_18fs8ps3cz",focusWithin:"_18fs8ps3d0",focusVisible:"_18fs8ps3d1",active:"_18fs8ps3d2",disabled:"_18fs8ps3d3",placeholder:"_18fs8ps3d4"},defaultClass:"_18fs8ps3cx"},neutralPlain:{conditions:{default:"_18fs8ps3d5",hover:"_18fs8ps3d6",focus:"_18fs8ps3d7",focusWithin:"_18fs8ps3d8",focusVisible:"_18fs8ps3d9",active:"_18fs8ps3da",disabled:"_18fs8ps3db",placeholder:"_18fs8ps3dc"},defaultClass:"_18fs8ps3d5"},brandPlain:{conditions:{default:"_18fs8ps3dd",hover:"_18fs8ps3de",focus:"_18fs8ps3df",focusWithin:"_18fs8ps3dg",focusVisible:"_18fs8ps3dh",active:"_18fs8ps3di",disabled:"_18fs8ps3dj",placeholder:"_18fs8ps3dk"},defaultClass:"_18fs8ps3dd"},brandDefault:{conditions:{default:"_18fs8ps3dl",hover:"_18fs8ps3dm",focus:"_18fs8ps3dn",focusWithin:"_18fs8ps3do",focusVisible:"_18fs8ps3dp",active:"_18fs8ps3dq",disabled:"_18fs8ps3dr",placeholder:"_18fs8ps3ds"},defaultClass:"_18fs8ps3dl"},brandSubdued:{conditions:{default:"_18fs8ps3dt",hover:"_18fs8ps3du",focus:"_18fs8ps3dv",focusWithin:"_18fs8ps3dw",focusVisible:"_18fs8ps3dx",active:"_18fs8ps3dy",disabled:"_18fs8ps3dz",placeholder:"_18fs8ps3e0"},defaultClass:"_18fs8ps3dt"},brandHighlight:{conditions:{default:"_18fs8ps3e1",hover:"_18fs8ps3e2",focus:"_18fs8ps3e3",focusWithin:"_18fs8ps3e4",focusVisible:"_18fs8ps3e5",active:"_18fs8ps3e6",disabled:"_18fs8ps3e7",placeholder:"_18fs8ps3e8"},defaultClass:"_18fs8ps3e1"},criticalPlain:{conditions:{default:"_18fs8ps3e9",hover:"_18fs8ps3ea",focus:"_18fs8ps3eb",focusWithin:"_18fs8ps3ec",focusVisible:"_18fs8ps3ed",active:"_18fs8ps3ee",disabled:"_18fs8ps3ef",placeholder:"_18fs8ps3eg"},defaultClass:"_18fs8ps3e9"},criticalDefault:{conditions:{default:"_18fs8ps3eh",hover:"_18fs8ps3ei",focus:"_18fs8ps3ej",focusWithin:"_18fs8ps3ek",focusVisible:"_18fs8ps3el",active:"_18fs8ps3em",disabled:"_18fs8ps3en",placeholder:"_18fs8ps3eo"},defaultClass:"_18fs8ps3eh"},criticalSubdued:{conditions:{default:"_18fs8ps3ep",hover:"_18fs8ps3eq",focus:"_18fs8ps3er",focusWithin:"_18fs8ps3es",focusVisible:"_18fs8ps3et",active:"_18fs8ps3eu",disabled:"_18fs8ps3ev",placeholder:"_18fs8ps3ew"},defaultClass:"_18fs8ps3ep"},criticalHighlight:{conditions:{default:"_18fs8ps3ex",hover:"_18fs8ps3ey",focus:"_18fs8ps3ez",focusWithin:"_18fs8ps3f0",focusVisible:"_18fs8ps3f1",active:"_18fs8ps3f2",disabled:"_18fs8ps3f3",placeholder:"_18fs8ps3f4"},defaultClass:"_18fs8ps3ex"},transparent:{conditions:{default:"_18fs8ps3f5",hover:"_18fs8ps3f6",focus:"_18fs8ps3f7",focusWithin:"_18fs8ps3f8",focusVisible:"_18fs8ps3f9",active:"_18fs8ps3fa",disabled:"_18fs8ps3fb",placeholder:"_18fs8ps3fc"},defaultClass:"_18fs8ps3f5"}}},listStyleType:{values:{none:{conditions:{default:"_18fs8ps3fd",hover:"_18fs8ps3fe",focus:"_18fs8ps3ff",focusWithin:"_18fs8ps3fg",focusVisible:"_18fs8ps3fh",active:"_18fs8ps3fi",disabled:"_18fs8ps3fj",placeholder:"_18fs8ps3fk"},defaultClass:"_18fs8ps3fd"},disc:{conditions:{default:"_18fs8ps3fl",hover:"_18fs8ps3fm",focus:"_18fs8ps3fn",focusWithin:"_18fs8ps3fo",focusVisible:"_18fs8ps3fp",active:"_18fs8ps3fq",disabled:"_18fs8ps3fr",placeholder:"_18fs8ps3fs"},defaultClass:"_18fs8ps3fl"},decimal:{conditions:{default:"_18fs8ps3ft",hover:"_18fs8ps3fu",focus:"_18fs8ps3fv",focusWithin:"_18fs8ps3fw",focusVisible:"_18fs8ps3fx",active:"_18fs8ps3fy",disabled:"_18fs8ps3fz",placeholder:"_18fs8ps3g0"},defaultClass:"_18fs8ps3ft"}}},listStylePosition:{values:{inside:{conditions:{default:"_18fs8ps3g1",hover:"_18fs8ps3g2",focus:"_18fs8ps3g3",focusWithin:"_18fs8ps3g4",focusVisible:"_18fs8ps3g5",active:"_18fs8ps3g6",disabled:"_18fs8ps3g7",placeholder:"_18fs8ps3g8"},defaultClass:"_18fs8ps3g1"},outside:{conditions:{default:"_18fs8ps3g9",hover:"_18fs8ps3ga",focus:"_18fs8ps3gb",focusWithin:"_18fs8ps3gc",focusVisible:"_18fs8ps3gd",active:"_18fs8ps3ge",disabled:"_18fs8ps3gf",placeholder:"_18fs8ps3gg"},defaultClass:"_18fs8ps3g9"}}},listStyleImage:{values:{none:{conditions:{default:"_18fs8ps3gh",hover:"_18fs8ps3gi",focus:"_18fs8ps3gj",focusWithin:"_18fs8ps3gk",focusVisible:"_18fs8ps3gl",active:"_18fs8ps3gm",disabled:"_18fs8ps3gn",placeholder:"_18fs8ps3go"},defaultClass:"_18fs8ps3gh"}}}}});let tt=eL({atoms:te}),ts=(0,i.forwardRef)(({children:e,defaultValue:t,value:s,onValueChange:r,...i},o)=>c.jsx(eR,{type:"single",collapsible:!0,defaultValue:t,value:s,onValueChange:r,asChild:!0,children:c.jsx(tt,{...i,ref:o,"data-macaw-ui-component":"Accordion",children:e})}));ts.displayName="Accordion";var tr="_1ebdcwj4",tn="_1ebdcwj1",ti="_1ebdcwj0";let to=({children:e,value:t,...s})=>c.jsx(eO,{value:t,className:ti,asChild:!0,children:c.jsx(tt,{...s,"data-macaw-ui-component":"Accordion.Item",children:e})});to.displayName="Accordion.Item";let ta=({children:e,disabled:t,...s})=>c.jsx(ej,{asChild:!0,children:c.jsx(eP,{asChild:!0,onClick:e=>{t&&e.preventDefault()},children:c.jsx(tt,{display:"flex",justifyContent:"space-between",gap:2,alignItems:"center",cursor:t?"not-allowed":"pointer",disabled:t,...s,"data-macaw-ui-component":"Accordion.Trigger",children:e})})});ta.displayName="Accordion.Trigger";let tl=({children:e,...t})=>c.jsx(eT,{asChild:!0,className:tr,children:c.jsx(tt,{...t,"data-macaw-ui-component":"Accordion.Content",children:e})});function tf(...e){return e.filter(Boolean).join(" ")}tl.displayName="Accordion.Content";let tu=e=>"string"==typeof e,tc=e=>Array.isArray(e)&&e.every(e=>tu(e))&&e.length>0,td=({fixedWidth:e,icon:t,children:s})=>void 0===e?!!t&&!s:e;function tp(e,t){if("object"!=typeof e||null===e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var r=s.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function th(e){var t=tp(e,"string");return"symbol"==typeof t?t:String(t)}function tb(e,t,s){return(t=th(t))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e}function t_(e,t){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),s.push.apply(s,r)}return s}function tm(e){for(var t=1;t<arguments.length;t++){var s=null!=arguments[t]?arguments[t]:{};t%2?t_(Object(s),!0).forEach(function(t){tb(e,t,s[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):t_(Object(s)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(s,t))})}return e}function tg(e,t){var s={};for(var r in e)s[r]=t(e[r],r);return s}var tv=(e,t,s)=>{for(var r of Object.keys(e)){var i;if(e[r]!==(null!==(i=t[r])&&void 0!==i?i:s[r]))return!1}return!0},ty=e=>{var t=t=>{var s=e.defaultClassName,r=tm(tm({},e.defaultVariants),t);for(var i in r){var o,a=null!==(o=r[i])&&void 0!==o?o:e.defaultVariants[i];if(null!=a){var l=a;"boolean"==typeof l&&(l=!0===l?"true":"false");var f=e.variantClassNames[i][l];f&&(s+=" "+f)}}for(var[u,c]of e.compoundVariants)tv(u,r,e.defaultVariants)&&(s+=" "+c);return s};return t.variants=()=>Object.keys(e.variantClassNames),t.classNames={get base(){return e.defaultClassName.split(" ")[0]},get variants(){return tg(e.variantClassNames,e=>tg(e,e=>e.split(" ")[0]))}},t},tw=ty({defaultClassName:"_18fs8pskr _18fs8psn6 _18fs8pspl _18fs8pss0 _18fs8ps10 _18fs8ps1l _18fs8ps1ou _18fs8ps3 _18fs8ps2xd _18fs8ps2up _18fs8ps2v3",variantClassNames:{variant:{primary:"_18fs8ps1oi _18fs8ps1oo _18fs8ps1o6 _18fs8ps1oc _18fs8ps2ip _18fs8ps2iy _18fs8ps2jh _18fs8ps2ja _18fs8ps2jr _18fs8ps2a1 _18fs8ps29z _18fs8ps2vt _18fs8ps2w2 _18fs8ps2vx _18fs8ps2wu _18fs8ps2wv",secondary:"_18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps2m1 _18fs8ps2ma _18fs8ps2mt _18fs8ps2mm _18fs8ps2n3 _18fs8ps29d _18fs8ps29z _18fs8ps2vt _18fs8ps2w2 _18fs8ps2vx _18fs8ps2wu _18fs8ps2wv _18fs8ps269 _18fs8ps26i _18fs8ps26d _18fs8ps26m _18fs8ps273",tertiary:"_18fs8ps1oi _18fs8ps1oo _18fs8ps1o6 _18fs8ps1oc _18fs8ps2pd _18fs8ps2pm _18fs8ps2q5 _18fs8ps2py _18fs8ps2qf _18fs8ps2bt _18fs8ps2cf",error:"_18fs8ps1oi _18fs8ps1oo _18fs8ps1o6 _18fs8ps1oc _18fs8ps2kx _18fs8ps2l6 _18fs8ps2lp _18fs8ps2li _18fs8ps2lz _18fs8ps2a1 _18fs8ps29z"},size:{small:"_1tm59qwg",medium:"_1tm59qwh",large:"_1tm59qwi"},fixedWidth:{true:"_1tm59qwj"}},defaultVariants:{variant:"primary",size:"medium"},compoundVariants:[[{size:"small",fixedWidth:!0},"_18fs8psmu _18fs8psp9 _18fs8psro _18fs8psu3 _18fs8ps1ko _18fs8ps1mu _18fs8ps24x _18fs8ps1qo _18fs8ps1gc _18fs8ps1ff _18fs8ps1i6 _18fs8ps1h9 _18fs8ps17i _18fs8ps14x _18fs8psdl"],[{size:"medium",fixedWidth:!0},"_18fs8psku _18fs8psn9 _18fs8pspo _18fs8pss3 _18fs8ps1kl _18fs8ps1mr _18fs8ps24u _18fs8ps1ql _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps17o _18fs8ps153 _18fs8psdl"],[{size:"large",fixedWidth:!0},"_18fs8pskx _18fs8psnc _18fs8pspr _18fs8pss6 _18fs8ps1ki _18fs8ps1mo _18fs8ps24r _18fs8ps1qi _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps17u _18fs8ps159 _18fs8psdo"],[{size:"small",fixedWidth:!1},"_18fs8pspr _18fs8pss6 _18fs8pskr _18fs8psn6 _18fs8ps1ko _18fs8ps1mu _18fs8ps24x _18fs8ps1qo _18fs8ps1gc _18fs8ps1ff _18fs8ps1i6 _18fs8ps1h9 _18fs8ps17i _18fs8psdl"],[{size:"medium",fixedWidth:!1},"_18fs8pspu _18fs8pss9 _18fs8psku _18fs8psn9 _18fs8ps1kl _18fs8ps1mr _18fs8ps24u _18fs8ps1ql _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps17o _18fs8psdl"],[{size:"large",fixedWidth:!1},"_18fs8pspx _18fs8pssc _18fs8pskx _18fs8psnc _18fs8ps1ki _18fs8ps1mo _18fs8ps24r _18fs8ps1qi _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps17u _18fs8psdo"]]});let tC=(0,i.forwardRef)(({children:e,icon:t,size:s,fixedWidth:r,variant:i,disabled:o,className:a,type:l="button",...f},u)=>c.jsxs(tt,{as:"button",className:tf(tw({variant:i,size:s,fixedWidth:td({icon:t,children:e,fixedWidth:r})}),a),disabled:o,ref:u,type:l,"data-macaw-ui-component":"Button",...f,children:[t,e]}));tC.displayName="Button";var tk=ty({defaultClassName:"yswmh70",variantClassNames:{size:{small:"yswmh71",medium:"yswmh72",large:"yswmh73",fill:"yswmh74"}},defaultVariants:{size:"medium"},compoundVariants:[]});let tx=(0,i.forwardRef)(({className:e,size:t,viewBox:s="0 0 24 24",color:r,children:i,...o},a)=>c.jsx("svg",{ref:a,className:tf(tk({size:t}),te({color:r}),e),viewBox:s,fill:"none",xmlns:"http://www.w3.org/2000/svg","data-macaw-ui-component":"Icon",...o,children:i}));tx.displayName="SVGWrapper";let tS=(e,t)=>{let s=(0,i.forwardRef)((s,r)=>c.jsx(tx,{viewBox:t,ref:r,...s,children:e}));return s.displayName="withSVGWrapper",s},tE=tS(c.jsx("path",{fill:"currentColor",d:"M15.932 10H8.067a.5.5 0 0 0-.384.82l3.933 4.72a.5.5 0 0 0 .768 0l3.933-4.72a.5.5 0 0 0-.385-.82Z"})),tM=(tS(c.jsx("path",{fill:"currentColor",d:"M8.067 14h7.865a.5.5 0 0 0 .385-.82l-3.933-4.72a.5.5 0 0 0-.768 0l-3.933 4.72a.5.5 0 0 0 .384.82Z"})),tS(c.jsx("path",{fill:"currentColor",d:"M11.7071 5.70711C12.0976 5.31658 12.0976 4.68342 11.7071 4.29289C11.3166 3.90237 10.6834 3.90237 10.2929 4.29289L3.29289 11.2929C2.90237 11.6834 2.90237 12.3166 3.29289 12.7071L10.2929 19.7071C10.6834 20.0976 11.3166 20.0976 11.7071 19.7071C12.0976 19.3166 12.0976 18.6834 11.7071 18.2929L6.41423 13H19C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11H6.4142L11.7071 5.70711Z"})),tS(c.jsx("path",{fill:"currentColor",d:"M12.2929 5.70711C11.9024 5.31658 11.9024 4.68342 12.2929 4.29289C12.6834 3.90237 13.3166 3.90237 13.7071 4.29289L20.7071 11.2929C21.0976 11.6834 21.0976 12.3166 20.7071 12.7071L13.7071 19.7071C13.3166 20.0976 12.6834 20.0976 12.2929 19.7071C11.9024 19.3166 11.9024 18.6834 12.2929 18.2929L17.5858 13H5C4.44771 13 4 12.5523 4 12C4 11.4477 4.44771 11 5 11H17.5858L12.2929 5.70711Z"})),tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.293 9.293a1 1 0 0 1 1.414 0L12 13.586l4.293-4.293a1 1 0 1 1 1.414 1.414l-5 5a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"}))),tI=(tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6.293 14.707a1 1 0 0 0 1.414 0L12 10.414l4.293 4.293a1 1 0 0 0 1.414-1.414l-5-5a1 1 0 0 0-1.414 0l-5 5a1 1 0 0 0 0 1.414Z",clipRule:"evenodd"})),tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10.607 3a.45.45 0 0 0-.447.405l-.108 1.073a.976.976 0 0 1-.637.8 7.154 7.154 0 0 0-.495.212c-.343.163-.753.134-1.045-.11l-.766-.638a.45.45 0 0 0-.606.028L4.77 6.503a.45.45 0 0 0-.028.606l.639.766c.243.292.272.702.109 1.045a7.163 7.163 0 0 0-.212.495.976.976 0 0 1-.8.637l-1.073.107a.45.45 0 0 0-.405.448v2.786a.45.45 0 0 0 .405.447l1.073.108a.976.976 0 0 1 .8.637c.065.168.135.333.212.495.163.343.134.753-.11 1.045l-.638.766a.45.45 0 0 0 .028.607l1.733 1.732a.45.45 0 0 0 .606.028l.766-.639c.292-.243.702-.271 1.045-.109.162.077.327.147.495.212.343.132.6.434.637.8l.107 1.073a.45.45 0 0 0 .448.405h2.786a.45.45 0 0 0 .447-.405l.108-1.073a.976.976 0 0 1 .637-.8c.168-.065.333-.135.495-.212.343-.163.753-.134 1.045.11l.766.638a.45.45 0 0 0 .607-.027l1.732-1.734a.45.45 0 0 0 .028-.606l-.639-.766c-.243-.292-.272-.702-.109-1.045.077-.162.147-.327.212-.495a.976.976 0 0 1 .8-.637l1.073-.107a.45.45 0 0 0 .405-.448v-2.786a.45.45 0 0 0-.405-.447l-1.073-.108a.976.976 0 0 1-.8-.637 7.19 7.19 0 0 0-.212-.495c-.163-.343-.134-.753.11-1.045l.638-.766a.45.45 0 0 0-.027-.606L17.496 4.77a.45.45 0 0 0-.606-.028l-.766.639c-.292.243-.702.272-1.045.109a7.167 7.167 0 0 0-.495-.212.976.976 0 0 1-.637-.8l-.107-1.073A.45.45 0 0 0 13.393 3h-2.786ZM12 14.7a2.7 2.7 0 1 0 0-5.4 2.7 2.7 0 0 0 0 5.4Z",clipRule:"evenodd"})),tS(c.jsx("path",{fill:"currentColor",d:"M5 5.5a3.5 3.5 0 0 1 6.826-1.093A5.486 5.486 0 0 0 10 8.5v1c0 .054 0 .108.002.162A3.5 3.5 0 0 1 5 6.5v-1ZM10.437 11.652a10 10 0 0 0-4.878.253l-.104.032a4 4 0 0 0-2.746 4.607l.13.652a1 1 0 0 0 .98.804h3.86a6.004 6.004 0 0 1 3.737-4.816 5.505 5.505 0 0 1-.979-1.532ZM12 8.5a3.5 3.5 0 1 1 7 0v1a3.5 3.5 0 1 1-7 0v-1ZM9.709 19.544a4 4 0 0 1 2.746-4.607l.104-.032a9.999 9.999 0 0 1 5.882 0l.104.032a4 4 0 0 1 2.746 4.607l-.13.652a1 1 0 0 1-.98.804H10.82a1 1 0 0 1-.98-.804l-.131-.652Z"})),tS(c.jsx("path",{fill:"currentColor",d:"M14 3a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1h-5ZM14 11a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-5ZM4 16a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-4ZM5 3a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1V4a1 1 0 0 0-1-1H5Z"})),tS(c.jsx("path",{d:"m4 5a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v5a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1-1zm0 9a1 1 0 0 1 1-1h5a1 1 0 0 1 1 1v5a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1-1zm10-1a1 1 0 0 0 -1 1v5a1 1 0 0 0 1 1h5a1 1 0 0 0 1-1v-5a1 1 0 0 0 -1-1zm1-9h2v3h3v2h-3v3h-2v-3h-3v-2h3z",fill:"currentColor"})),tS(c.jsx(c.Fragment,{children:c.jsx("path",{fill:"currentColor",d:"M4 7a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1ZM4 12a1 1 0 0 1 1-1h14a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1ZM5 16a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2H5Z"})})),tS(c.jsx("path",{fill:"currentColor",d:"M12.002 7.75a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5Zm0 6a1.75 1.75 0 1 1 0-3.5 1.75 1.75 0 0 1 0 3.5ZM10.252 18a1.75 1.75 0 1 0 3.5 0 1.75 1.75 0 0 0-3.5 0Z"})),tS(c.jsx("path",{fill:"currentColor",d:"M2 3.5a1 1 0 0 0 0 2h2.702l2.264 8.961.055.253a1 1 0 0 0 .999.786h9.982a1 1 0 0 0 .977-.786l1.755-7a1 1 0 0 0-.977-1.214H6.98l-.682-3H2ZM11 18.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0ZM17 20.5a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z"})),tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:"M14.1567 4.52715C13.0959 4.53253 12.0807 4.95909 11.3344 5.713L3.74994 13.3744C2.78204 14.3522 2.78602 15.9282 3.75884 16.901L7.27936 20.4215C8.26496 21.4071 9.86623 21.3964 10.8385 20.3976L18.3662 12.6647C19.0932 11.9179 19.5 10.9168 19.5 9.87459L19.5 6.00766C19.5 5.17626 18.8237 4.50346 17.9923 4.50768L14.1567 4.52715ZM15 10.5C15.8284 10.5 16.5 9.82843 16.5 9C16.5 8.17157 15.8284 7.5 15 7.5C14.1716 7.5 13.5 8.17157 13.5 9C13.5 9.82843 14.1716 10.5 15 10.5Z"}))),tA=(tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{fill:"currentColor",d:"M11.365 3.341c0 1.293-2.096 2.342-4.682 2.342C4.096 5.683 2 4.634 2 3.34 2 2.048 4.096 1 6.683 1c2.586 0 4.682 1.048 4.682 2.341Z"}),c.jsx("path",{fill:"currentColor",d:"M10.517 6.044c-1.042.52-2.399.81-3.834.81-1.436 0-2.793-.29-3.835-.81A4.939 4.939 0 0 1 2 5.51v1.893c0 .287.124.56.368.713.624.39 2.047 1.078 4.315 1.078 1.271 0 2.277-.216 3.026-.475a8.991 8.991 0 0 1 1.566-.915c.06-.121.09-.26.09-.4V5.51a4.94 4.94 0 0 1-.848.534ZM6.556 12.878a8.984 8.984 0 0 1 1.345-2.411 10.4 10.4 0 0 1-1.218.07c-1.436 0-2.793-.288-3.835-.809A4.939 4.939 0 0 1 2 9.195v1.893c0 .287.124.56.368.712.612.383 1.994 1.053 4.188 1.078Z"}),c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M22 16a7 7 0 1 1-14 0 7 7 0 0 1 14 0Zm-7.574-4.547c0-.092.075-.168.168-.168h.812c.093 0 .168.075.168.168v.982a.167.167 0 0 1-.02.08c.194.03.376.074.543.133.34.118.621.271.843.461.229.19.402.392.52.608.117.215.18.424.186.627 0 .052-.02.101-.059.147a.2.2 0 0 1-.147.059h-1.098a.39.39 0 0 1-.176-.04.292.292 0 0 1-.127-.137c-.04-.17-.157-.317-.353-.44-.19-.131-.438-.197-.745-.197-.32 0-.575.059-.764.177-.183.117-.275.297-.275.539 0 .156.046.29.138.401.098.105.258.2.48.285.228.078.529.166.901.264.575.118 1.042.258 1.402.422.36.163.624.375.793.637.17.254.255.578.255.97 0 .438-.124.813-.372 1.127-.242.313-.578.555-1.01.725-.275.106-.58.177-.915.215v.988a.168.168 0 0 1-.168.168h-.812a.168.168 0 0 1-.168-.168V19.5a3.437 3.437 0 0 1-1.004-.246c-.418-.183-.735-.422-.95-.716a1.678 1.678 0 0 1-.343-.94c0-.053.02-.099.058-.138a.186.186 0 0 1 .147-.068h1.049c.085 0 .15.02.196.058a.587.587 0 0 1 .127.128c.046.11.118.219.216.323.104.105.245.193.421.265.177.065.396.098.657.098.425 0 .742-.069.95-.206.216-.137.324-.323.324-.559a.524.524 0 0 0-.177-.411c-.11-.105-.29-.2-.539-.284a10.489 10.489 0 0 0-.97-.275 5.785 5.785 0 0 1-1.254-.402c-.34-.17-.598-.385-.774-.646-.17-.268-.255-.598-.255-.99s.108-.739.323-1.039c.216-.307.52-.546.912-.715.265-.12.565-.199.899-.237a.168.168 0 0 1-.013-.065v-.982Z",clipRule:"evenodd"})]})),tS(c.jsx("path",{clipRule:"evenodd",d:"m4 5a1 1 0 0 0 -1 1v12a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-12a1 1 0 0 0 -1-1zm2 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm13-2h-10v2h10zm-7 4 4 6h-8z",fill:"currentColor",fillRule:"evenodd"})),tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 3a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h7.037l.125-.62a2 2 0 0 1 .547-1.022l.36-.358H10.33V5h3.33v10.41l2-1.998V5H19v5.096a2.992 2.992 0 0 1 2-.68V4a1 1 0 0 0-1-1H4Zm1 2v12h3.33V5H5Z",clipRule:"evenodd"}),c.jsx("path",{fill:"currentColor",d:"M21.612 11.707a1 1 0 0 0-1.414 0l-7.075 7.066-.71 3.536 3.536-.705 7.076-7.067a1 1 0 0 0 0-1.414l-1.413-1.415Z"})]}))),tR=(tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{fill:"currentColor",d:"M4 2a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h5v-2H4V4h10v5h2V4a2 2 0 0 0-2-2H4Z"}),c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 8c0 .348-.048.682-.136 1H11a2 2 0 0 0-2 2v1.118C7.853 12.683 6.468 13 5 13v-2a7.61 7.61 0 0 0 2.1-.287C6.43 9.965 6 9.044 6 8H5V6h3V5h2v1h3v2h-1Zm-2 0c0 .584-.312 1.214-1 1.768C8.312 9.214 8 8.584 8 8h2Z",clipRule:"evenodd"}),c.jsx("path",{fill:"currentColor",d:"M14.977 16.913h2.046l-1.034-2.904-1.012 2.904Z"}),c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 11a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V11Zm2.392 8.85a.25.25 0 0 1-.165-.066.25.25 0 0 1-.066-.165c0-.037.004-.07.011-.099l2.585-7.062a.426.426 0 0 1 .132-.209.427.427 0 0 1 .297-.099h1.628c.125 0 .22.033.286.099a.4.4 0 0 1 .143.209l2.574 7.062c.015.03.022.062.022.099a.231.231 0 0 1-.077.165.224.224 0 0 1-.165.066h-1.353c-.11 0-.194-.026-.253-.077a.484.484 0 0 1-.099-.154l-.429-1.122h-2.937l-.418 1.122a.484.484 0 0 1-.099.154c-.051.051-.14.077-.264.077h-1.353Z",clipRule:"evenodd"})]})),tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M6 3C6 2.448 6.449 2 7 2h2.17a3.001 3.001 0 0 0 5.658 0H17c.552 0 1 .448 1 1v18c0 .552-.448 1-1 1h-2.17a3.001 3.001 0 0 0-5.658 0H7A1.001 1.001 0 0 1 6 21V3Zm9.814 6.085a.636.636 0 0 0-.9-.899l-6.728 6.729a.636.636 0 0 0 .899.899l6.729-6.729Zm-5.272.186a1.271 1.271 0 1 1-2.542 0 1.271 1.271 0 0 1 2.542 0ZM14.73 16a1.271 1.271 0 1 0 0-2.543 1.271 1.271 0 0 0 0 2.543Z",clipRule:"evenodd"})),tS(c.jsx("path",{clipRule:"evenodd",d:"m5 4a1 1 0 0 0 -1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-14a1 1 0 0 0 -1-1zm11.728 5.685a1 1 0 0 0 -1.456-1.37l-4.92 5.226-1.624-1.726a1 1 0 0 0 -1.456 1.37l2.353 2.5a1 1 0 0 0 1.456 0z",fill:"currentColor",fillRule:"evenodd"})),tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M7.293 9.707a1 1 0 0 0 1.414 0L12 6.414l3.293 3.293a1 1 0 0 0 1.414-1.414l-4-4a1 1 0 0 0-1.414 0l-4 4a1 1 0 0 0 0 1.414ZM7.293 14.293a1 1 0 0 1 1.414 0L12 17.586l3.293-3.293a1 1 0 0 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414Z",clipRule:"evenodd"})),tS(c.jsx("path",{fill:"currentColor",d:"M18.364 5.636a1 1 0 0 0-1.414 0L12 10.586l-4.95-4.95A1 1 0 0 0 5.636 7.05l4.95 4.95-4.95 4.95a1 1 0 0 0 1.414 1.414l4.95-4.95 4.95 4.95a1 1 0 0 0 1.414-1.414L13.414 12l4.95-4.95a1 1 0 0 0 0-1.414Z"}))),tO=(tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{fill:"currentColor",d:"M4 21h11a1 1 0 0 0 1-1v-2h-4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h4V7.414a1 1 0 0 0-.293-.707l-3.414-3.414A1 1 0 0 0 11.586 3H4a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1Z"}),c.jsx("path",{fill:"currentColor",d:"M18 19v-3h-6v-3h6v-3l5 4.5-5 4.5Z"})]})),tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18Zm2.95-13.364a1 1 0 0 1 1.414 1.414L13.414 12l2.95 2.95a1 1 0 0 1-1.414 1.414L12 13.414l-2.95 2.95a1 1 0 0 1-1.414-1.414l2.95-2.95-2.95-2.95A1 1 0 0 1 9.05 7.636l2.95 2.95 2.95-2.95Z",clipRule:"evenodd"})),tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.708 12.886a6.25 6.25 0 1 1 1.178-1.178l4.084 4.083a.833.833 0 0 1-1.178 1.178l-4.084-4.084Zm.792-4.97a4.583 4.583 0 1 1-9.166 0 4.583 4.583 0 0 1 9.166 0Z",clipRule:"evenodd"}),"0 0 20 20")),tj=(tS(c.jsx("path",{fill:"currentColor",d:"M20.193 15.731A9 9 0 0 1 9.808 3.269a9 9 0 1 0 10.385 12.462Z"})),tS(c.jsx("path",{fill:"currentColor",d:"M13 1v3.5a1 1 0 1 1-2 0V1h2ZM17 12a5 5 0 1 1-10 0 5 5 0 0 1 10 0ZM4.5 11H1v2h3.5a1 1 0 1 0 0-2ZM3.515 19.071l2.475-2.475a1 1 0 0 1 1.414 1.414l-2.475 2.475-1.414-1.414ZM7.404 5.99 4.929 3.515 3.515 4.929 5.99 7.404A1 1 0 0 0 7.404 5.99ZM13 23v-3.5a1 1 0 1 0-2 0V23h2ZM19.5 11H23v2h-3.5a1 1 0 1 1 0-2ZM19.071 3.515 16.596 5.99a1 1 0 0 0 1.414 1.414l2.475-2.475-1.414-1.414ZM18.01 16.596l2.475 2.475-1.414 1.414-2.475-2.475a1 1 0 0 1 1.414-1.414Z"})),tS(c.jsx("path",{fill:"currentColor",d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM11 9V7H13V9H11ZM11 17V11H13V17H11Z",fillRule:"evenodd",clipRule:"evenodd"})),tS(c.jsx("path",{fill:"currentColor",d:"M12.8762 2.59313C12.4963 1.90235 11.5037 1.90235 11.1238 2.59313L1.81504 19.5181C1.44846 20.1845 1.93064 21 2.69126 21H21.3087C22.0693 21 22.5515 20.1845 22.1849 19.5181L12.8762 2.59313ZM11 8H13V14H11V8ZM11 16H13V18H11V16Z",fillRule:"evenodd",clipRule:"evenodd"})),tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{d:"M9 3C9 2.44772 9.44772 2 10 2H14C14.5523 2 15 2.44772 15 3V4H18C18.5523 4 19 4.44772 19 5C19 5.55228 18.5523 6 18 6H6C5.44772 6 5 5.55228 5 5C5 4.44772 5.44772 4 6 4H9V3Z",fill:"currentColor"}),c.jsx("path",{fill:"currentColor",d:"M18.5 8H5.5L6.84356 19.5399C6.93665 20.4088 7.59175 21.1183 8.44863 21.2897C10.7789 21.7558 13.2211 21.7558 15.5514 21.2897C16.4083 21.1183 17.0633 20.4088 17.1564 19.5399L18.5 8ZM11 11C11 10.4477 10.5523 10 10 10C9.44771 10 9 10.4477 9 11V18C9 18.5523 9.44771 19 10 19C10.5523 19 11 18.5523 11 18V11ZM14 10C14.5523 10 15 10.4477 15 11V18C15 18.5523 14.5523 19 14 19C13.4477 19 13 18.5523 13 18V11C13 10.4477 13.4477 10 14 10Z",fillRule:"evenodd",clipRule:"evenodd"})]})),tS(c.jsx("path",{fill:"currentColor",d:"M4 5C3.44772 5 3 5.44772 3 6V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V6C21 5.44772 20.5523 5 20 5H4ZM11.4 14.3L5 9.5V7L12 12.25L19 7V9.5L12.6 14.3C12.2444 14.5667 11.7556 14.5667 11.4 14.3Z",fillRule:"evenodd",clipRule:"evenodd"})),tS(c.jsx("path",{fill:"currentColor",d:"M8 7c1.10457 0 2-.89543 2-2s-.89543-2-2-2-2 .89543-2 2 .89543 2 2 2ZM8 14c1.10457 0 2-.8954 2-2s-.89543-2-2-2-2 .8954-2 2 .89543 2 2 2ZM10 19c0 1.1046-.89543 2-2 2s-2-.8954-2-2 .89543-2 2-2 2 .8954 2 2ZM16 7c1.1046 0 2-.89543 2-2s-.8954-2-2-2-2 .89543-2 2 .8954 2 2 2ZM18 12c0 1.1046-.8954 2-2 2s-2-.8954-2-2 .8954-2 2-2 2 .8954 2 2ZM16 21c1.1046 0 2-.8954 2-2s-.8954-2-2-2-2 .8954-2 2 .8954 2 2 2Z"})),tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 2.375C3.10254 2.375 2.375 3.10254 2.375 4V9C2.375 9.89746 3.10254 10.625 4 10.625H9C9.89746 10.625 10.625 9.89746 10.625 9V4C10.625 3.10254 9.89746 2.375 9 2.375L4 2.375ZM3.625 4C3.625 3.79289 3.79289 3.625 4 3.625L9 3.625C9.20711 3.625 9.375 3.79289 9.375 4V9C9.375 9.20711 9.20711 9.375 9 9.375H4C3.79289 9.375 3.625 9.20711 3.625 9L3.625 4Z",fill:"currentColor"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 2.375C14.1025 2.375 13.375 3.10254 13.375 4V9C13.375 9.89746 14.1025 10.625 15 10.625H20C20.8975 10.625 21.625 9.89746 21.625 9L21.625 4C21.625 3.10254 20.8975 2.375 20 2.375L15 2.375ZM14.625 4C14.625 3.79289 14.7929 3.625 15 3.625L20 3.625C20.2071 3.625 20.375 3.79289 20.375 4L20.375 9C20.375 9.20711 20.2071 9.375 20 9.375H15C14.7929 9.375 14.625 9.20711 14.625 9V4Z",fill:"currentColor"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.375 15C2.375 14.1025 3.10254 13.375 4 13.375H9C9.89746 13.375 10.625 14.1025 10.625 15V20C10.625 20.8975 9.89746 21.625 9 21.625H4C3.10254 21.625 2.375 20.8975 2.375 20L2.375 15ZM4 14.625C3.79289 14.625 3.625 14.7929 3.625 15L3.625 20C3.625 20.2071 3.79289 20.375 4 20.375H9C9.20711 20.375 9.375 20.2071 9.375 20V15C9.375 14.7929 9.20711 14.625 9 14.625H4Z",fill:"currentColor"}),c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15 13.375C14.1025 13.375 13.375 14.1025 13.375 15V20C13.375 20.8975 14.1025 21.625 15 21.625H20C20.8975 21.625 21.625 20.8975 21.625 20L21.625 15C21.625 14.1025 20.8975 13.375 20 13.375H15ZM14.625 15C14.625 14.7929 14.7929 14.625 15 14.625H20C20.2071 14.625 20.375 14.7929 20.375 15L20.375 20C20.375 20.2071 20.2071 20.375 20 20.375H15C14.7929 20.375 14.625 20.2071 14.625 20V15Z",fill:"currentColor"})]})),tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{fill:"currentColor",d:"M4 6a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2H6v11a2 2 0 0 1-2-2V6Z"}),c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 8a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h9a2 2 0 0 0 2-2v-9a2 2 0 0 0-2-2h-9Zm0 2h9v9h-9v-9Z",clipRule:"evenodd"})]})),tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M4 5C3.44772 5 3 5.44772 3 6V18C3 18.5523 3.44772 19 4 19H20C20.5523 19 21 18.5523 21 18V6C21 5.44772 20.5523 5 20 5H4ZM5 7V17H8.33337V7H5ZM13.6666 17H10.3334V7H13.6666V17ZM15.6666 17H19V7H15.6666V17Z",clipRule:"evenodd"})),tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 5C3 4.44772 3.44772 4 4 4H20C20.5523 4 21 4.44772 21 5V10C21 10.5523 20.5523 11 20 11H4C3.44772 11 3 10.5523 3 10V5ZM5 9V6H19V9H5Z",clipRule:"evenodd"}),c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M3 14C3 13.4477 3.44772 13 4 13H20C20.5523 13 21 13.4477 21 14V19C21 19.5523 20.5523 20 20 20H4C3.44772 20 3 19.5523 3 19V14ZM5 18V15H19V18H5Z",clipRule:"evenodd"})]})),tS(c.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5 3a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2H5Zm0 2h4v4H5V5ZM5 13a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2H5Zm0 2h4v4H5v-4ZM13 5a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V5Zm6 0h-4v4h4V5ZM15 13a2 2 0 0 0-2 2v4a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2h-4Zm0 2h4v4h-4v-4Z",clipRule:"evenodd"})),tS(c.jsx("path",{fill:"currentColor",d:"M8 5a1 1 0 0 0 0 2h12a1 1 0 1 0 0-2H8ZM8 11a1 1 0 1 0 0 2h12a1 1 0 1 0 0-2H8ZM7 18a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1ZM4 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM5 12a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM4 19a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"})),tS(c.jsx("path",{fill:"currentColor",d:"M20 12a1 1 0 0 0-1-1h-6V5a1 1 0 1 0-2 0v6H5a1 1 0 1 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 0 0 1-1Z"})),tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{d:"M2.99921 4.99997C2.99921 4.44768 3.44692 3.99997 3.99921 3.99997H8.49921L10.9992 5.99997H17.9992C18.5515 5.99997 18.9992 6.44768 18.9992 6.99997V8.99997H6.69138C5.44084 8.99997 4.32148 9.77569 3.88239 10.9466L2.99921 13.3017V4.99997Z",fill:"currentColor"}),c.jsx("path",{d:"M4.44072 19H18.3047C18.7216 19 19.0947 18.7415 19.2411 18.3512L21.4911 12.3512C21.7362 11.6974 21.2529 11 20.5547 11H6.69073C6.27388 11 5.90076 11.2586 5.7544 11.6489L3.50439 17.6489C3.25924 18.3027 3.74252 19 4.44072 19Z",fill:"currentColor"})]})),tS(c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7071 6.29289C15.0976 6.68342 15.0976 7.31658 14.7071 7.70711L10.4142 12L14.7071 16.2929C15.0976 16.6834 15.0976 17.3166 14.7071 17.7071C14.3166 18.0976 13.6834 18.0976 13.2929 17.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L13.2929 6.29289C13.6834 5.90237 14.3166 5.90237 14.7071 6.29289Z",fill:"currentColor"})),tS(c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.29289 6.29289C8.90237 6.68342 8.90237 7.31658 9.29289 7.70711L13.5858 12L9.29289 16.2929C8.90237 16.6834 8.90237 17.3166 9.29289 17.7071C9.68342 18.0976 10.3166 18.0976 10.7071 17.7071L15.7071 12.7071C16.0976 12.3166 16.0976 11.6834 15.7071 11.2929L10.7071 6.29289C10.3166 5.90237 9.68342 5.90237 9.29289 6.29289Z",fill:"currentColor"})),tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{d:"M18.4142 5.41422C17.6332 4.63317 16.3669 4.63317 15.5858 5.41422L14.3536 6.64643L17.8891 10.182L19.1213 8.94975C19.9024 8.1687 19.9024 6.90237 19.1213 6.12132L18.4142 5.41422Z",fill:"currentColor"}),c.jsx("path",{d:"M16.4749 11.5962L12.9394 8.06064L4.9792 16.0208L4.27209 20.2635L8.51474 19.5564L16.4749 11.5962Z",fill:"currentColor"})]})),tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{d:"M11 5.17157L8.58578 7.58579L7.17157 6.17157L10.5858 2.75736C11.3668 1.97631 12.6332 1.97631 13.4142 2.75736L16.8284 6.17157L15.4142 7.58579L13 5.17157V15H11L11 5.17157Z",fill:"currentColor"}),c.jsx("path",{d:"M8 10H4C3.44772 10 3 10.4477 3 11V20C3 20.5523 3.44772 21 4 21H20C20.5523 21 21 20.5523 21 20V11C21 10.4477 20.5523 10 20 10H16V12H19V19H5V12H8V10Z",fill:"currentColor"})]})),tS(c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 6C3 4.34315 4.34315 3 6 3H15.1324C15.928 3 16.6911 3.31607 17.2537 3.87868L20.1213 6.74632C20.6839 7.30893 21 8.07199 21 8.86764V18C21 19.6569 19.6569 21 18 21H6C4.34315 21 3 19.6569 3 18V6ZM15 15C15 16.6569 13.6569 18 12 18C10.3431 18 9 16.6569 9 15C9 13.3431 10.3431 12 12 12C13.6569 12 15 13.3431 15 15ZM7 5C5.89543 5 5 5.89543 5 7C5 8.10457 5.89543 9 7 9H15C16.1046 9 17 8.10457 17 7C17 5.89543 16.1046 5 15 5H7Z",fill:"currentColor"})),tS(c.jsxs(c.Fragment,{children:[c.jsx("path",{d:"M8 10C9.10457 10 10 9.10457 10 8L10 3H8L8 8L3 8V10L8 10Z",fill:"currentColor"}),c.jsx("path",{d:"M8 14C9.10457 14 10 14.8954 10 16L10 21H8L8 16L3 16V14L8 14Z",fill:"currentColor"}),c.jsx("path",{d:"M14 8C14 9.10457 14.8954 10 16 10L21 10V8L16 8L16 3H14L14 8Z",fill:"currentColor"}),c.jsx("path",{d:"M16 14C14.8954 14 14 14.8954 14 16L14 21H16L16 16L21 16V14L16 14Z",fill:"currentColor"})]})),tS(c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 5C3 3.89543 3.89543 3 5 3H10V5H5V10H3V5ZM19 5H14V3H19C20.1046 3 21 3.89543 21 5V10H19V5ZM5 14V19H10V21H5C3.89543 21 3 20.1046 3 19V14H5ZM19 19V14H21V19C21 20.1046 20.1046 21 19 21H14V19H19Z",fill:"currentColor"})),tS(c.jsx("path",{d:"M11 5.002H4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7m-8 0 10-10m0 0v6m0-6h-6",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),({dataTestId:e,disabled:t})=>c.jsx(tC,{icon:c.jsx(tM,{className:tn}),variant:"secondary",type:"button","data-test-id":e,disabled:t,"data-macaw-ui-component":"Accordion.TriggerButton"}));tj.displayName="Accordion.TriggerButton",Object.assign(ts,{Item:to,Trigger:ta,Content:tl,TriggerButton:tj});var tP=ty({defaultClassName:"_1ruekcrq",variantClassNames:{variant:{hero:"_1ruekcrr",title:"_1ruekcrs",heading:"_1ruekcrt",bodyStrong:"_1ruekcru",bodyEmp:"_1ruekcrv",body:"_1ruekcrw",button:"_1ruekcrx",caption:"_1ruekcry"},size:{small:"_1ruekcrz",medium:"_1ruekcr10",large:"_1ruekcr11",inherit:"_1ruekcr12"},ellipsis:{multiline:"_18fs8ps20o _18fs8ps210 _18fs8ps21f",true:"_18fs8ps20o _18fs8ps210 _18fs8ps21f _18fs8ps21l",false:"_1ruekcr15"}},defaultVariants:{variant:"body",size:"medium",ellipsis:!1},compoundVariants:[[{variant:"hero",size:"large"},"_18fs8ps1j0 _18fs8ps1l6 _18fs8ps239 _18fs8ps1p0"],[{variant:"hero",size:"medium"},"_18fs8ps1j3 _18fs8ps1l9 _18fs8ps23c _18fs8ps1p3"],[{variant:"hero",size:"small"},"_18fs8ps1j6 _18fs8ps1lc _18fs8ps23f _18fs8ps1p6"],[{variant:"title",size:"large"},"_18fs8ps1j9 _18fs8ps1lf _18fs8ps23i _18fs8ps1p9"],[{variant:"title",size:"medium"},"_18fs8ps1jc _18fs8ps1li _18fs8ps23l _18fs8ps1pc"],[{variant:"title",size:"small"},"_18fs8ps1jf _18fs8ps1ll _18fs8ps23o _18fs8ps1pf"],[{variant:"heading",size:"large"},"_18fs8ps1ji _18fs8ps1lo _18fs8ps23r _18fs8ps1pi"],[{variant:"heading",size:"medium"},"_18fs8ps1jl _18fs8ps1lr _18fs8ps23u _18fs8ps1pl"],[{variant:"heading",size:"small"},"_18fs8ps1jo _18fs8ps1lu _18fs8ps23x _18fs8ps1po"],[{variant:"bodyStrong",size:"large"},"_18fs8ps1jr _18fs8ps1lx _18fs8ps240 _18fs8ps1pr"],[{variant:"bodyStrong",size:"medium"},"_18fs8ps1ju _18fs8ps1m0 _18fs8ps243 _18fs8ps1pu"],[{variant:"bodyStrong",size:"small"},"_18fs8ps1jx _18fs8ps1m3 _18fs8ps246 _18fs8ps1px"],[{variant:"bodyEmp",size:"large"},"_18fs8ps1k0 _18fs8ps1m6 _18fs8ps249 _18fs8ps1q0"],[{variant:"bodyEmp",size:"medium"},"_18fs8ps1k3 _18fs8ps1m9 _18fs8ps24c _18fs8ps1q3"],[{variant:"bodyEmp",size:"small"},"_18fs8ps1k6 _18fs8ps1mc _18fs8ps24f _18fs8ps1q6"],[{variant:"body",size:"large"},"_18fs8ps1k9 _18fs8ps1mf _18fs8ps24i _18fs8ps1q9"],[{variant:"body",size:"medium"},"_18fs8ps1kc _18fs8ps1mi _18fs8ps24l _18fs8ps1qc"],[{variant:"body",size:"small"},"_18fs8ps1kf _18fs8ps1ml _18fs8ps24o _18fs8ps1qf"],[{variant:"button",size:"large"},"_18fs8ps1ki _18fs8ps1mo _18fs8ps24r _18fs8ps1qi"],[{variant:"button",size:"medium"},"_18fs8ps1kl _18fs8ps1mr _18fs8ps24u _18fs8ps1ql"],[{variant:"button",size:"small"},"_18fs8ps1ko _18fs8ps1mu _18fs8ps24x _18fs8ps1qo"],[{variant:"caption",size:"large"},"_18fs8ps1kr _18fs8ps1mx _18fs8ps250 _18fs8ps1qr"],[{variant:"caption",size:"medium"},"_18fs8ps1ku _18fs8ps1n0 _18fs8ps253 _18fs8ps1qu"],[{variant:"caption",size:"small"},"_18fs8ps1kx _18fs8ps1n3 _18fs8ps256 _18fs8ps1qx"]]});let tT=(0,i.forwardRef)(({children:e,as:t="span",variant:s,size:r,ellipsis:i,color:o="textNeutralDefault",className:a,...l},f)=>c.jsx(tt,{as:t,className:tf(tP({variant:s,size:r,ellipsis:i}),a),color:o,ref:f,margin:0,"data-macaw-ui-component":"Text",...l,children:e}));tT.displayName="Text";var tN=ty({defaultClassName:"_18fs8ps3 _18fs8ps10 _18fs8ps1l _18fs8ps26p _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc",variantClassNames:{size:{small:"_18fs8ps14x _18fs8ps17i",medium:"_18fs8ps153 _18fs8ps17o",large:"_18fs8ps156 _18fs8ps17r"},scheme:{decorative1:"_18fs8ps2td _18fs8ps2e1",decorative2:"_18fs8ps2tl _18fs8ps2e9",decorative3:"_18fs8ps2tt _18fs8ps2eh"}},defaultVariants:{size:"medium",scheme:"decorative1"},compoundVariants:[]});let tD=e=>{if("src"in e){let{src:t,size:s,scheme:r,className:i,...o}=e;return c.jsx(tt,{as:"img",src:t,alt:"Store avatar image",className:tf(tN({size:s,scheme:r}),i),"data-macaw-ui-component":"Avatar.Store",...o})}let{size:t,scheme:s,className:r,initials:i,...o}=e;return c.jsx(tt,{className:tf(tN({size:t,scheme:s}),r),"data-macaw-ui-component":"Avatar.Store",...o,children:c.jsx(tT,{variant:"bodyEmp",size:t,color:"inherit",children:i})})};tD.displayName="Avatar.Store";var tL=ty({defaultClassName:"_18fs8ps3 _18fs8ps10 _18fs8ps1l _18fs8ps26p _18fs8ps1h0 _18fs8ps1g3 _18fs8ps1iu _18fs8ps1hx",variantClassNames:{size:{small:"_18fs8ps14x _18fs8ps17i",medium:"_18fs8ps153 _18fs8ps17o",large:"_18fs8ps156 _18fs8ps17r"},scheme:{decorative1:"_18fs8ps2sp",decorative2:"_18fs8ps2sx",decorative3:"_18fs8ps2t5"}},defaultVariants:{size:"medium",scheme:"decorative1"},compoundVariants:[]});let tB=e=>{if("src"in e){let{src:t,size:s,scheme:r,className:i,...o}=e;return c.jsx(tt,{as:"img",src:t,alt:"User avatar image",className:tf(tL({size:s,scheme:r}),i),"data-macaw-ui-component":"Avatar.User",...o})}let{size:t,scheme:s,className:r,initials:i,...o}=e;return c.jsx(tt,{className:tf(tL({size:t,scheme:s}),r),"data-macaw-ui-component":"Avatar.User",...o,children:c.jsx(tT,{variant:"bodyEmp",size:t,color:"textNeutralContrasted",children:i})})};function tq(e){let t=(0,i.useRef)({value:e,previous:e});return(0,i.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}function tF(e){let[t,s]=(0,i.useState)(void 0);return R(()=>{if(e){s({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;s({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}s(void 0)},[e]),t}tB.displayName="Avatar.User",Object.assign({},{User:tB,Store:tD});let tz="Checkbox",[tU,tV]=p(tz),[t$,tH]=tU(tz),tW=(0,i.forwardRef)((e,t)=>{let{__scopeCheckbox:s,name:r,checked:o,defaultChecked:a,required:l,disabled:f,value:u="on",onCheckedChange:c,...p}=e,[h,b]=(0,i.useState)(null),_=m(t,e=>b(e)),g=(0,i.useRef)(!1),v=!h||!!h.closest("form"),[y=!1,w]=E({prop:o,defaultProp:a,onChange:c}),C=(0,i.useRef)(y);return(0,i.useEffect)(()=>{let e=null==h?void 0:h.form;if(e){let t=()=>w(C.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[h,w]),(0,i.createElement)(t$,{scope:s,state:y,disabled:f},(0,i.createElement)(I.button,d({type:"button",role:"checkbox","aria-checked":tQ(y)?"mixed":y,"aria-required":l,"data-state":tX(y),"data-disabled":f?"":void 0,disabled:f,value:u},p,{ref:_,onKeyDown:x(e.onKeyDown,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:x(e.onClick,e=>{w(e=>!!tQ(e)||!e),v&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})),v&&(0,i.createElement)(tZ,{control:h,bubbles:!g.current,name:r,value:u,checked:y,required:l,disabled:f,style:{transform:"translateX(-100%)"}}))}),tK="CheckboxIndicator",tG=(0,i.forwardRef)((e,t)=>{let{__scopeCheckbox:s,forceMount:r,...o}=e,a=tH(tK,s);return(0,i.createElement)(j,{present:r||tQ(a.state)||!0===a.state},(0,i.createElement)(I.span,d({"data-state":tX(a.state),"data-disabled":a.disabled?"":void 0},o,{ref:t,style:{pointerEvents:"none",...e.style}})))}),tZ=e=>{let{control:t,checked:s,bubbles:r=!0,...o}=e,a=(0,i.useRef)(null),l=tq(s),f=tF(t);return(0,i.useEffect)(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==s&&t){let i=new Event("click",{bubbles:r});e.indeterminate=tQ(s),t.call(e,!tQ(s)&&s),e.dispatchEvent(i)}},[l,s,r]),(0,i.createElement)("input",d({type:"checkbox","aria-hidden":!0,defaultChecked:!tQ(s)&&s},o,{tabIndex:-1,ref:a,style:{...e.style,...f,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function tQ(e){return"indeterminate"===e}function tX(e){return tQ(e)?"indeterminate":e?"checked":"unchecked"}let tY=tW,tJ=tG,t1=(0,i.forwardRef)(({color:e},t)=>c.jsx("svg",{ref:t,viewBox:"0 0 8 8",width:"8",height:"8",className:te({color:e}),fill:"none",xmlns:"http://www.w3.org/2000/svg",children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.70711 1.25C8.09763 1.64052 8.09763 2.27369 7.70711 2.66421L3.20711 7.16421C2.81658 7.55474 2.18342 7.55474 1.79289 7.16421L0.292894 5.66421C-0.0976308 5.27369 -0.0976306 4.64052 0.292894 4.25C0.683418 3.85947 1.31658 3.85948 1.70711 4.25L2.5 5.04289L6.29289 1.25C6.68342 0.859475 7.31658 0.859475 7.70711 1.25Z",fill:"currentColor"})}));t1.displayName="CheckedIcon";let t8=(0,i.forwardRef)(({color:e},t)=>c.jsx("svg",{viewBox:"0 0 8 2",width:"8",height:"2",className:te({color:e}),fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:t,children:c.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 1C0 0.447715 0.447715 0 1 0H7C7.55228 0 8 0.447715 8 1C8 1.55228 7.55228 2 7 2H1C0.447715 2 0 1.55228 0 1Z",fill:"currentColor"})}));t8.displayName="IndeterminateIcon";var t0="_18fs8pskr _18fs8psn6 _18fs8pspl _18fs8pss0 _18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps1g9 _18fs8ps1fc _18fs8ps1i3 _18fs8ps1h6 _18fs8ps14o _18fs8ps179 _18fs8ps3 _18fs8ps1l _18fs8ps10 _18fs8ps2ch _18fs8ps2up _18fs8ps26",t2="_9gb9up2",t3="_9gb9up3";(0,i.forwardRef)(({error:e=!1,checked:t,defaultChecked:s,onCheckedChange:r,required:i,name:o,value:a,disabled:l,children:f,...u},d)=>{let p=l?"iconNeutralSubdued":"iconNeutralContrasted";return c.jsxs(tt,{as:"label",display:"flex",alignItems:"center",gap:1.5,position:"relative",cursor:l?"not-allowed":"pointer",...u,"data-macaw-ui-component":"Checkbox",children:[c.jsx(tY,{ref:d,className:tf(t0,e?t3:t2),checked:t,onCheckedChange:r,disabled:l,defaultChecked:s,required:i,name:o,value:a,children:c.jsx(tJ,{asChild:!0,children:"indeterminate"===t?c.jsx(t8,{color:p}):c.jsx(t1,{color:p})})}),f]})}).displayName="Checkbox";var t6=ty({defaultClassName:"_18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps1gc _18fs8ps1ff _18fs8ps1i6 _18fs8ps1h9 _18fs8ps2gx _18fs8ps6 _18fs8ps1l _18fs8ps10 _18fs8ps1l3 _18fs8ps26p",variantClassNames:{size:{small:"_18fs8pspo _18fs8pss3 _18fs8ps17c",medium:"_18fs8pspo _18fs8pss3 _18fs8ps17f",large:"_18fs8psrr _18fs8psu6 _18fs8ps17i"}},defaultVariants:{size:"medium"},compoundVariants:[]});let t4=(0,i.forwardRef)(({children:e,size:t,className:s,...r},i)=>c.jsx(tt,{as:"span",className:tf(t6({size:t}),s),ref:i,"data-macaw-ui-component":"Chip",...r,children:e}));t4.displayName="Chip";let t5=(0,i.forwardRef)((e,t)=>{var s;let{container:r=null==globalThis||null===(s=globalThis.document)||void 0===s?void 0:s.body,...a}=e;return r?o.createPortal((0,i.createElement)(I.div,d({},a,{ref:t})),r):null});var t9=ty({defaultClassName:"_9mn26x1a",variantClassNames:{size:{small:"_18fs8pskx",medium:"_18fs8pskx",large:"_18fs8pskx"}},defaultVariants:{size:"medium"},compoundVariants:[]}),t7=ty({defaultClassName:"_9mn26x12 _18fs8pskr _18fs8psn6 _18fs8pspl _18fs8pss0 _18fs8ps1nu _18fs8ps1o0 _18fs8ps1ni _18fs8ps1no _18fs8ps16u _18fs8ps2u1 _18fs8ps1k9 _18fs8ps1mf _18fs8ps1ou _18fs8ps29d _18fs8ps29r",variantClassNames:{size:{small:"_18fs8ps1kf _18fs8ps1n0",medium:"_18fs8ps1kc _18fs8ps1ml",large:"_18fs8ps1k9 _18fs8ps1mf"},error:{true:"_18fs8ps2ax"}},defaultVariants:{size:"medium"},compoundVariants:[]}),se=ty({defaultClassName:"_18fs8psmx _18fs8pspc _18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps2l _18fs8ps3 _18fs8ps29l _18fs8ps2vl",variantClassNames:{size:{small:"_18fs8pspr _18fs8pss6",medium:"_18fs8pspr _18fs8pss6",large:"_18fs8pspu _18fs8pss9"},active:{true:"_9mn26xf"},typed:{true:"_9mn26xg"},disabled:{true:"_9mn26xh"},error:{true:"_9mn26xi"}},defaultVariants:{size:"medium"},compoundVariants:[[{typed:!0,active:!0,disabled:!1,error:!1},"_18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps27l _18fs8ps2pd _18fs8ps2q3"],[{typed:!0,active:!1,disabled:!1,error:!1},"_18fs8ps2pd _18fs8ps26p _18fs8ps26y"],[{typed:!1,active:!0,error:!1},"_18fs8ps2pd _18fs8ps28x"],[{typed:!1,active:!1,disabled:!1,error:!1},"_18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps2pf _18fs8ps26p _18fs8ps26y"],[{disabled:!0},"_18fs8ps29t _18fs8ps2pd _18fs8ps26p"],[{error:!0,typed:!1},"_18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps2i2 _18fs8ps281"],[{error:!0,typed:!0},"_18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps281"]]}),st=ty({defaultClassName:"_9mn26xj _18fs8ps29l",variantClassNames:{size:{small:"_18fs8ps1kf _18fs8ps1ml _18fs8ps24o _18fs8ps1qf",medium:"_18fs8ps1kc _18fs8ps1mi _18fs8ps24l _18fs8ps1qc",large:"_18fs8ps1k9 _18fs8ps1mf _18fs8ps24i _18fs8ps1q9"},disabled:{true:"_18fs8ps29t"},typed:{true:"_9mn26xv"},error:{true:"_18fs8ps2b5"}},defaultVariants:{size:"medium"},compoundVariants:[]});let ss=({size:e,error:t,children:s})=>c.jsx(tt,{className:t9({size:e}),children:c.jsx(tT,{variant:"caption",size:e,color:t?"textCriticalDefault":"textNeutralSubdued",children:s})});var sr="_8bnj8qa _18fs8pskx _18fs8psnc _18fs8pspr _18fs8pss6",sn="_8bnj8q8 _18fs8psku _18fs8psn9 _18fs8pspo _18fs8pss3 _18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps2o _18fs8ps2gh _18fs8ps2w9 _18fs8ps26x _18fs8ps16u _18fs8ps1vu _18fs8ps1el _18fs8ps219 _18fs8ps226",si=ty({defaultClassName:"_8bnj8q3",variantClassNames:{size:{small:"_8bnj8q4",medium:"_8bnj8q5",large:"_8bnj8q6"}},defaultVariants:{size:"medium"},compoundVariants:[]}),so="_8bnj8q0";let sa=({size:e="medium",children:t})=>c.jsxs(uu.Item,{className:sr,display:"flex",gap:1.5,color:"textNeutralSubdued",children:[c.jsx(tT,{size:e,color:"textNeutralSubdued",children:t}),c.jsx(cU,{})]}),sl=({isOpen:e,hasItemsToSelect:t,loading:s})=>e&&t||e&&s?"block":"none",sf=e=>{switch(e){case"small":case"medium":return"medium";case"large":return"large"}},su=["top","right","bottom","left"],sc=Math.min,sd=Math.max,sp=Math.round,sh=Math.floor,sb=e=>({x:e,y:e}),s_={left:"right",right:"left",bottom:"top",top:"bottom"},sm={start:"end",end:"start"};function sg(e,t,s){return sd(e,sc(t,s))}function sv(e,t){return"function"==typeof e?e(t):e}function sy(e){return e.split("-")[0]}function sw(e){return e.split("-")[1]}function sC(e){return"x"===e?"y":"x"}function sk(e){return"y"===e?"height":"width"}function sx(e){return["top","bottom"].includes(sy(e))?"y":"x"}function sS(e){return sC(sx(e))}function sE(e,t,s){void 0===s&&(s=!1);let r=sw(e),i=sS(e),o=sk(i),a="x"===i?r===(s?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(a=sO(a)),[a,sO(a)]}function sM(e){let t=sO(e);return[sI(e),t,sI(t)]}function sI(e){return e.replace(/start|end/g,e=>sm[e])}function sA(e,t,s){let r=["left","right"],i=["right","left"],o=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return s?t?i:r:t?r:i;case"left":case"right":return t?o:a;default:return[]}}function sR(e,t,s,r){let i=sw(e),o=sA(sy(e),"start"===s,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(sI)))),o}function sO(e){return e.replace(/left|right|bottom|top/g,e=>s_[e])}function sj(e){return{top:0,right:0,bottom:0,left:0,...e}}function sP(e){return"number"!=typeof e?sj(e):{top:e,right:e,bottom:e,left:e}}function sT(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function sN(e,t,s){let r,{reference:i,floating:o}=e,a=sx(t),l=sS(t),f=sk(l),u=sy(t),c="y"===a,d=i.x+i.width/2-o.width/2,p=i.y+i.height/2-o.height/2,h=i[f]/2-o[f]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:p};break;case"left":r={x:i.x-o.width,y:p};break;default:r={x:i.x,y:i.y}}switch(sw(t)){case"start":r[l]-=h*(s&&c?-1:1);break;case"end":r[l]+=h*(s&&c?-1:1)}return r}let sD=async(e,t,s)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=s,l=o.filter(Boolean),f=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=sN(u,r,f),p=r,h={},b=0;for(let s=0;s<l.length;s++){let{name:o,fn:_}=l[s],{x:m,y:g,data:v,reset:y}=await _({x:c,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});if(c=m??c,d=g??d,h={...h,[o]:{...h[o],...v}},y&&b<=50){b++,"object"==typeof y&&(y.placement&&(p=y.placement),y.rects&&(u=!0===y.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):y.rects),{x:c,y:d}=sN(u,p,f)),s=-1;continue}}return{x:c,y:d,placement:p,strategy:i,middlewareData:h}};async function sL(e,t){var s;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:l,strategy:f}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=sv(t,e),b=sP(h),_=l[p?"floating"===d?"reference":"floating":d],m=sT(await o.getClippingRect({element:null==(s=await (null==o.isElement?void 0:o.isElement(_)))||s?_:_.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(l.floating)),boundary:u,rootBoundary:c,strategy:f})),g="floating"===d?{...a.floating,x:r,y:i}:a.reference,v=await (null==o.getOffsetParent?void 0:o.getOffsetParent(l.floating)),y=await (null==o.isElement?void 0:o.isElement(v))&&await (null==o.getScale?void 0:o.getScale(v))||{x:1,y:1},w=sT(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:g,offsetParent:v,strategy:f}):g);return{top:(m.top-w.top+b.top)/y.y,bottom:(w.bottom-m.bottom+b.bottom)/y.y,left:(m.left-w.left+b.left)/y.x,right:(w.right-m.right+b.right)/y.x}}let sB=e=>({name:"arrow",options:e,async fn(t){let{x:s,y:r,placement:i,rects:o,platform:a,elements:l,middlewareData:f}=t,{element:u,padding:c=0}=sv(e,t)||{};if(null==u)return{};let d=sP(c),p={x:s,y:r},h=sS(i),b=sk(h),_=await a.getDimensions(u),m="y"===h,g=m?"top":"left",v=m?"bottom":"right",y=m?"clientHeight":"clientWidth",w=o.reference[b]+o.reference[h]-p[h]-o.floating[b],C=p[h]-o.reference[h],k=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),x=k?k[y]:0;x&&await (null==a.isElement?void 0:a.isElement(k))||(x=l.floating[y]||o.floating[b]);let S=w/2-C/2,E=x/2-_[b]/2-1,M=sc(d[g],E),I=sc(d[v],E),A=M,R=x-_[b]-I,O=x/2-_[b]/2+S,j=sg(A,O,R),P=!f.arrow&&null!=sw(i)&&O!=j&&o.reference[b]/2-(O<A?M:I)-_[b]/2<0,T=P?O<A?O-A:O-R:0;return{[h]:p[h]+T,data:{[h]:j,centerOffset:O-j-T,...P&&{alignmentOffset:T}},reset:P}}}),sq=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var s,r,i,o,a;let{placement:l,middlewareData:f,rects:u,initialPlacement:c,platform:d,elements:p}=t,{mainAxis:h=!0,crossAxis:b=!0,fallbackPlacements:_,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...y}=sv(e,t);if(null!=(s=f.arrow)&&s.alignmentOffset)return{};let w=sy(l),C=sy(c)===c,k=await (null==d.isRTL?void 0:d.isRTL(p.floating)),x=_||(C||!v?[sO(c)]:sM(c));_||"none"===g||x.push(...sR(c,v,g,k));let S=[c,...x],E=await sL(t,y),M=[],I=(null==(r=f.flip)?void 0:r.overflows)||[];if(h&&M.push(E[w]),b){let e=sE(l,u,k);M.push(E[e[0]],E[e[1]])}if(I=[...I,{placement:l,overflows:M}],!M.every(e=>e<=0)){let e=((null==(i=f.flip)?void 0:i.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:I},reset:{placement:t}};let s=null==(o=I.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!s)switch(m){case"bestFit":{let e=null==(a=I.map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(s=e);break}case"initialPlacement":s=c}if(l!==s)return{reset:{placement:s}}}return{}}}};function sF(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function sz(e){return su.some(t=>e[t]>=0)}let sU=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:s}=t,{strategy:r="referenceHidden",...i}=sv(e,t);switch(r){case"referenceHidden":{let e=sF(await sL(t,{...i,elementContext:"reference"}),s.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:sz(e)}}}case"escaped":{let e=sF(await sL(t,{...i,altBoundary:!0}),s.floating);return{data:{escapedOffsets:e,escaped:sz(e)}}}default:return{}}}}};async function sV(e,t){let{placement:s,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=sy(s),l=sw(s),f="y"===sx(s),u=["left","top"].includes(a)?-1:1,c=o&&f?-1:1,d=sv(t,e),{mainAxis:p,crossAxis:h,alignmentAxis:b}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return l&&"number"==typeof b&&(h="end"===l?-1*b:b),f?{x:h*c,y:p*u}:{x:p*u,y:h*c}}let s$=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){let{x:s,y:r}=t,i=await sV(t,e);return{x:s+i.x,y:r+i.y,data:i}}}},sH=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:s,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:a=!1,limiter:l={fn:e=>{let{x:t,y:s}=e;return{x:t,y:s}}},...f}=sv(e,t),u={x:s,y:r},c=await sL(t,f),d=sx(sy(i)),p=sC(d),h=u[p],b=u[d];if(o){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",s=h+c[e],r=h-c[t];h=sg(s,h,r)}if(a){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",s=b+c[e],r=b-c[t];b=sg(s,b,r)}let _=l.fn({...t,[p]:h,[d]:b});return{..._,data:{x:_.x-s,y:_.y-r}}}}},sW=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:s,y:r,placement:i,rects:o,middlewareData:a}=t,{offset:l=0,mainAxis:f=!0,crossAxis:u=!0}=sv(e,t),c={x:s,y:r},d=sx(i),p=sC(d),h=c[p],b=c[d],_=sv(l,t),m="number"==typeof _?{mainAxis:_,crossAxis:0}:{mainAxis:0,crossAxis:0,..._};if(f){let e="y"===p?"height":"width",t=o.reference[p]-o.floating[e]+m.mainAxis,s=o.reference[p]+o.reference[e]-m.mainAxis;h<t?h=t:h>s&&(h=s)}if(u){var g,v;let e="y"===p?"width":"height",t=["top","left"].includes(sy(i)),s=o.reference[d]-o.floating[e]+(t&&(null==(g=a.offset)?void 0:g[d])||0)+(t?0:m.crossAxis),r=o.reference[d]+o.reference[e]+(t?0:(null==(v=a.offset)?void 0:v[d])||0)-(t?m.crossAxis:0);b<s?b=s:b>r&&(b=r)}return{[p]:h,[d]:b}}}},sK=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let s,r;let{placement:i,rects:o,platform:a,elements:l}=t,{apply:f=()=>{},...u}=sv(e,t),c=await sL(t,u),d=sy(i),p=sw(i),h="y"===sx(i),{width:b,height:_}=o.floating;"top"===d||"bottom"===d?(s=d,r=p===(await (null==a.isRTL?void 0:a.isRTL(l.floating))?"start":"end")?"left":"right"):(r=d,s="end"===p?"top":"bottom");let m=_-c[s],g=b-c[r],v=!t.middlewareData.shift,y=m,w=g;if(h){let e=b-c.left-c.right;w=p||v?sc(g,e):e}else{let e=_-c.top-c.bottom;y=p||v?sc(m,e):e}if(v&&!p){let e=sd(c.left,0),t=sd(c.right,0),s=sd(c.top,0),r=sd(c.bottom,0);h?w=b-2*(0!==e||0!==t?e+t:sd(c.left,c.right)):y=_-2*(0!==s||0!==r?s+r:sd(c.top,c.bottom))}await f({...t,availableWidth:w,availableHeight:y});let C=await a.getDimensions(l.floating);return b!==C.width||_!==C.height?{reset:{rects:!0}}:{}}}};function sG(e){return sX(e)?(e.nodeName||"").toLowerCase():"#document"}function sZ(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function sQ(e){var t;return null==(t=(sX(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function sX(e){return e instanceof Node||e instanceof sZ(e).Node}function sY(e){return e instanceof Element||e instanceof sZ(e).Element}function sJ(e){return e instanceof HTMLElement||e instanceof sZ(e).HTMLElement}function s1(e){return!(typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof sZ(e).ShadowRoot)}function s8(e){let{overflow:t,overflowX:s,overflowY:r,display:i}=s5(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+s)&&!["inline","contents"].includes(i)}function s0(e){return["table","td","th"].includes(sG(e))}function s2(e){let t=s6(),s=s5(e);return"none"!==s.transform||"none"!==s.perspective||!!s.containerType&&"normal"!==s.containerType||!t&&!!s.backdropFilter&&"none"!==s.backdropFilter||!t&&!!s.filter&&"none"!==s.filter||["transform","perspective","filter"].some(e=>(s.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(s.contain||"").includes(e))}function s3(e){let t=s7(e);for(;sJ(t)&&!s4(t);){if(s2(t))return t;t=s7(t)}return null}function s6(){return!(typeof CSS>"u")&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function s4(e){return["html","body","#document"].includes(sG(e))}function s5(e){return sZ(e).getComputedStyle(e)}function s9(e){return sY(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function s7(e){if("html"===sG(e))return e;let t=e.assignedSlot||e.parentNode||s1(e)&&e.host||sQ(e);return s1(t)?t.host:t}function re(e){let t=s7(e);return s4(t)?e.ownerDocument?e.ownerDocument.body:e.body:sJ(t)&&s8(t)?t:re(t)}function rt(e,t,s){var r;void 0===t&&(t=[]),void 0===s&&(s=!0);let i=re(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=sZ(i);return o?t.concat(a,a.visualViewport||[],s8(i)?i:[],a.frameElement&&s?rt(a.frameElement):[]):t.concat(i,rt(i,[],s))}function rs(e){let t=s5(e),s=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=sJ(e),o=i?e.offsetWidth:s,a=i?e.offsetHeight:r,l=sp(s)!==o||sp(r)!==a;return l&&(s=o,r=a),{width:s,height:r,$:l}}function rr(e){return sY(e)?e:e.contextElement}function rn(e){let t=rr(e);if(!sJ(t))return sb(1);let s=t.getBoundingClientRect(),{width:r,height:i,$:o}=rs(t),a=(o?sp(s.width):s.width)/r,l=(o?sp(s.height):s.height)/i;return a&&Number.isFinite(a)||(a=1),l&&Number.isFinite(l)||(l=1),{x:a,y:l}}let ri=sb(0);function ro(e){let t=sZ(e);return s6()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ri}function ra(e,t,s){return void 0===t&&(t=!1),!!s&&(!t||s===sZ(e))&&t}function rl(e,t,s,r){void 0===t&&(t=!1),void 0===s&&(s=!1);let i=e.getBoundingClientRect(),o=rr(e),a=sb(1);t&&(r?sY(r)&&(a=rn(r)):a=rn(e));let l=ra(o,s,r)?ro(o):sb(0),f=(i.left+l.x)/a.x,u=(i.top+l.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(o){let e=sZ(o),t=r&&sY(r)?sZ(r):r,s=e.frameElement;for(;s&&r&&t!==e;){let e=rn(s),t=s.getBoundingClientRect(),r=s5(s),i=t.left+(s.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(s.clientTop+parseFloat(r.paddingTop))*e.y;f*=e.x,u*=e.y,c*=e.x,d*=e.y,f+=i,u+=o,s=sZ(s).frameElement}}return sT({width:c,height:d,x:f,y:u})}function rf(e){return rl(sQ(e)).left+s9(e).scrollLeft}function ru(e){let t=sQ(e),s=s9(e),r=e.ownerDocument.body,i=sd(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=sd(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-s.scrollLeft+rf(e),l=-s.scrollTop;return"rtl"===s5(r).direction&&(a+=sd(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:a,y:l}}function rc(e,t){let s=sZ(e),r=sQ(e),i=s.visualViewport,o=r.clientWidth,a=r.clientHeight,l=0,f=0;if(i){o=i.width,a=i.height;let e=s6();(!e||e&&"fixed"===t)&&(l=i.offsetLeft,f=i.offsetTop)}return{width:o,height:a,x:l,y:f}}function rd(e,t){let s=rl(e,!0,"fixed"===t),r=s.top+e.clientTop,i=s.left+e.clientLeft,o=sJ(e)?rn(e):sb(1),a=e.clientWidth*o.x;return{width:a,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}function rp(e,t,s){let r;if("viewport"===t)r=rc(e,s);else if("document"===t)r=ru(sQ(e));else if(sY(t))r=rd(t,s);else{let s=ro(e);r={...t,x:t.x-s.x,y:t.y-s.y}}return sT(r)}function rh(e,t){let s=s7(e);return!(s===t||!sY(s)||s4(s))&&("fixed"===s5(s).position||rh(s,t))}function rb(e,t){let s=t.get(e);if(s)return s;let r=rt(e,[],!1).filter(e=>sY(e)&&"body"!==sG(e)),i=null,o="fixed"===s5(e).position,a=o?s7(e):e;for(;sY(a)&&!s4(a);){let t=s5(a),s=s2(a);s||"fixed"!==t.position||(i=null),(o?!s&&!i:!s&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||s8(a)&&!s&&rh(e,a))?r=r.filter(e=>e!==a):i=t,a=s7(a)}return t.set(e,r),r}function r_(e,t,s){let r=sJ(t),i=sQ(t),o="fixed"===s,a=rl(e,!0,o,t),l={scrollLeft:0,scrollTop:0},f=sb(0);if(r||!r&&!o){if(("body"!==sG(t)||s8(i))&&(l=s9(t)),r){let e=rl(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=rf(i))}return{x:a.left+l.scrollLeft-f.x,y:a.top+l.scrollTop-f.y,width:a.width,height:a.height}}function rm(e,t){return sJ(e)&&"fixed"!==s5(e).position?t?t(e):e.offsetParent:null}function rg(e,t){let s=sZ(e);if(!sJ(e))return s;let r=rm(e,t);for(;r&&s0(r)&&"static"===s5(r).position;)r=rm(r,t);return r&&("html"===sG(r)||"body"===sG(r)&&"static"===s5(r).position&&!s2(r))?s:r||s3(e)||s}let rv=async function(e){let{reference:t,floating:s,strategy:r}=e,i=this.getOffsetParent||rg,o=this.getDimensions;return{reference:r_(t,await i(s),r),floating:{x:0,y:0,...await o(s)}}},ry={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:s,strategy:r}=e,i=sJ(s),o=sQ(s);if(s===o)return t;let a={scrollLeft:0,scrollTop:0},l=sb(1),f=sb(0);if((i||!i&&"fixed"!==r)&&(("body"!==sG(s)||s8(o))&&(a=s9(s)),sJ(s))){let e=rl(s);l=rn(s),f.x=e.x+s.clientLeft,f.y=e.y+s.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-a.scrollLeft*l.x+f.x,y:t.y*l.y-a.scrollTop*l.y+f.y}},getDocumentElement:sQ,getClippingRect:function(e){let{element:t,boundary:s,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===s?rb(t,this._c):[].concat(s),r],a=o[0],l=o.reduce((e,s)=>{let r=rp(t,s,i);return e.top=sd(r.top,e.top),e.right=sc(r.right,e.right),e.bottom=sc(r.bottom,e.bottom),e.left=sd(r.left,e.left),e},rp(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:rg,getElementRects:rv,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return rs(e)},getScale:rn,isElement:sY,isRTL:function(e){return"rtl"===s5(e).direction}};function rw(e,t){let s=null,r,i=sQ(e);function o(){clearTimeout(r),s&&s.disconnect(),s=null}function a(l,f){void 0===l&&(l=!1),void 0===f&&(f=1),o();let{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(l||t(),!d||!p)return;let h=sh(c),b={rootMargin:-h+"px "+-sh(i.clientWidth-(u+d))+"px "+-sh(i.clientHeight-(c+p))+"px "+-sh(u)+"px",threshold:sd(0,sc(1,f))||1},_=!0;function m(e){let t=e[0].intersectionRatio;if(t!==f){if(!_)return a();t?a(!1,t):r=setTimeout(()=>{a(!1,1e-7)},100)}_=!1}try{s=new IntersectionObserver(m,{...b,root:i.ownerDocument})}catch{s=new IntersectionObserver(m,b)}s.observe(e)}return a(!0),o}function rC(e,t,s,r){void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:f=!1}=r,u=rr(e),c=i||o?[...u?rt(u):[],...rt(t)]:[];c.forEach(e=>{i&&e.addEventListener("scroll",s,{passive:!0}),o&&e.addEventListener("resize",s)});let d=u&&l?rw(u,s):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{h&&h.observe(t)})),s()}),u&&!f&&h.observe(u),h.observe(t));let b,_=f?rl(e):null;function m(){let t=rl(e);_&&(t.x!==_.x||t.y!==_.y||t.width!==_.width||t.height!==_.height)&&s(),_=t,b=requestAnimationFrame(m)}return f&&m(),s(),()=>{c.forEach(e=>{i&&e.removeEventListener("scroll",s),o&&e.removeEventListener("resize",s)}),d&&d(),h&&h.disconnect(),h=null,f&&cancelAnimationFrame(b)}}let rk=(e,t,s)=>{let r=new Map,i={platform:ry,...s},o={...i.platform,_c:r};return sD(e,t,{...i,platform:o})},rx=e=>{function t(e){return({}).hasOwnProperty.call(e,"current")}return{name:"arrow",options:e,fn(s){let{element:r,padding:i}="function"==typeof e?e(s):e;return r&&t(r)?null!=r.current?sB({element:r.current,padding:i}).fn(s):{}:r?sB({element:r,padding:i}).fn(s):{}}}};var rS="u">typeof document?i.useLayoutEffect:i.useEffect;function rE(e,t){let s,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((s=e.length)!=t.length)return!1;for(r=s;0!=r--;)if(!rE(e[r],t[r]))return!1;return!0}if((s=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=s;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=s;0!=r--;){let s=i[r];if(!("_owner"===s&&e.$$typeof)&&!rE(e[s],t[s]))return!1}return!0}return e!=e&&t!=t}function rM(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function rI(e,t){let s=rM(e);return Math.round(t*s)/s}function rA(e){let t=i.useRef(e);return rS(()=>{t.current=e}),t}function rR(e){void 0===e&&(e={});let{placement:t="bottom",strategy:s="absolute",middleware:r=[],platform:a,elements:{reference:l,floating:f}={},transform:u=!0,whileElementsMounted:c,open:d}=e,[p,h]=i.useState({x:0,y:0,strategy:s,placement:t,middlewareData:{},isPositioned:!1}),[b,_]=i.useState(r);rE(b,r)||_(r);let[m,g]=i.useState(null),[v,y]=i.useState(null),w=i.useCallback(e=>{e!=S.current&&(S.current=e,g(e))},[g]),C=i.useCallback(e=>{e!==E.current&&(E.current=e,y(e))},[y]),k=l||m,x=f||v,S=i.useRef(null),E=i.useRef(null),M=i.useRef(p),I=rA(c),A=rA(a),R=i.useCallback(()=>{if(!S.current||!E.current)return;let e={placement:t,strategy:s,middleware:b};A.current&&(e.platform=A.current),rk(S.current,E.current,e).then(e=>{let t={...e,isPositioned:!0};O.current&&!rE(M.current,t)&&(M.current=t,o.flushSync(()=>{h(t)}))})},[b,t,s,A]);rS(()=>{!1===d&&M.current.isPositioned&&(M.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[d]);let O=i.useRef(!1);rS(()=>(O.current=!0,()=>{O.current=!1}),[]),rS(()=>{if(k&&(S.current=k),x&&(E.current=x),k&&x){if(I.current)return I.current(k,x,R);R()}},[k,x,R,I]);let j=i.useMemo(()=>({reference:S,floating:E,setReference:w,setFloating:C}),[w,C]),P=i.useMemo(()=>({reference:k,floating:x}),[k,x]),T=i.useMemo(()=>{let e={position:s,left:0,top:0};if(!P.floating)return e;let t=rI(P.floating,p.x),r=rI(P.floating,p.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...rM(P.floating)>=1.5&&{willChange:"transform"}}:{position:s,left:t,top:r}},[s,u,P.floating,p.x,p.y]);return i.useMemo(()=>({...p,update:R,refs:j,elements:P,floatingStyles:T}),[p,R,j,P,T])}let rO=(e=1)=>{let{floatingStyles:t,...s}=rR({whileElementsMounted:rC,middleware:[sq(),sK({apply({rects:e,availableHeight:t,elements:s}){Object.assign(s.floating.style,{width:`${e.reference.width}px`,maxHeight:`${t}px`})}})]});return{...s,floatingStyles:{...t,zIndex:e,pointerEvents:"auto"}}},rj=(0,i.forwardRef)(({id:e,label:t,className:s,error:r,children:i,getToggleButtonProps:o,getLabelProps:a,typed:l,active:f,disabled:u,size:d},p)=>c.jsxs(tt,{ref:p,as:"label",className:tf(se({typed:l,active:f,disabled:u,size:d,error:r}),s),alignItems:"center",justifyContent:"space-between",disabled:u,flexWrap:"nowrap",gap:3,"data-macaw-ui-component":"Combobox",...a({htmlFor:e}),cursor:u?"not-allowed":"text",children:[c.jsxs(tt,{display:"flex",flexDirection:"column",width:"100%",children:[c.jsx(tt,{as:"span",className:tf(st({typed:l,size:d,disabled:u,error:r})),children:t}),i]}),c.jsx(tE,{className:tf(so,te({cursor:"pointer"})),size:d,...o({disabled:u,onClick:e=>{e.preventDefault()}})})]}));function rP(e,t){if(null==e)return{};var s,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)s=o[r],t.indexOf(s)>=0||(i[s]=e[s]);return i}rj.displayName="ComboboxWrapper";var rT={exports:{}};function rN(){return oQ?oZ:(oQ=1,oZ="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}function rD(){if(oY)return oX;oY=1;var e=rN();function t(){}function s(){}return s.resetWarningCache=t,oX=function(){function r(t,s,r,i,o,a){if(a!==e){var l=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function i(){return r}r.isRequired=r;var o={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:s,resetWarningCache:t};return o.PropTypes=o,o}}rT.exports=rD()();let rL=a(rT.exports);var rB={exports:{}},rq={};function rF(){if(oJ)return rq;oJ=1;var e=60103,t=60106,s=60107,r=60108,i=60114,o=60109,a=60110,l=60112,f=60113,u=60120,c=60115,d=60116,p=60121,h=60122,b=60117,_=60129,m=60131;if("function"==typeof Symbol&&Symbol.for){var g=Symbol.for;e=g("react.element"),t=g("react.portal"),s=g("react.fragment"),r=g("react.strict_mode"),i=g("react.profiler"),o=g("react.provider"),a=g("react.context"),l=g("react.forward_ref"),f=g("react.suspense"),u=g("react.suspense_list"),c=g("react.memo"),d=g("react.lazy"),p=g("react.block"),h=g("react.server.block"),b=g("react.fundamental"),_=g("react.debug_trace_mode"),m=g("react.legacy_hidden")}function v(p){if("object"==typeof p&&null!==p){var h=p.$$typeof;switch(h){case e:switch(p=p.type){case s:case i:case r:case f:case u:return p;default:switch(p=p&&p.$$typeof){case a:case l:case d:case c:case o:return p;default:return h}}case t:return h}}}var y=o,w=e,C=l,k=s,x=d,S=c,E=t,M=i,I=r,A=f;return rq.ContextConsumer=a,rq.ContextProvider=y,rq.Element=w,rq.ForwardRef=C,rq.Fragment=k,rq.Lazy=x,rq.Memo=S,rq.Portal=E,rq.Profiler=M,rq.StrictMode=I,rq.Suspense=A,rq.isAsyncMode=function(){return!1},rq.isConcurrentMode=function(){return!1},rq.isContextConsumer=function(e){return v(e)===a},rq.isContextProvider=function(e){return v(e)===o},rq.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},rq.isForwardRef=function(e){return v(e)===l},rq.isFragment=function(e){return v(e)===s},rq.isLazy=function(e){return v(e)===d},rq.isMemo=function(e){return v(e)===c},rq.isPortal=function(e){return v(e)===t},rq.isProfiler=function(e){return v(e)===i},rq.isStrictMode=function(e){return v(e)===r},rq.isSuspense=function(e){return v(e)===f},rq.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===i||e===_||e===r||e===f||e===u||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===o||e.$$typeof===a||e.$$typeof===l||e.$$typeof===b||e.$$typeof===p||e[0]===h)},rq.typeOf=v,rq}rB.exports=rF(),rB.exports;let rz=e=>"object"==typeof e&&null!=e&&1===e.nodeType,rU=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,rV=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let s=getComputedStyle(e,null);return rU(s.overflowY,t)||rU(s.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch{return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},r$=(e,t,s,r,i,o,a,l)=>o<e&&a>t||o>e&&a<t?0:o<=e&&l<=s||a>=t&&l>=s?o-e-r:a>t&&l<s||o<e&&l>s?a-t+i:0,rH=e=>e.parentElement??(e.getRootNode().host||null);var rW=(e,t)=>{var s,r,i,o,a,l;if(typeof document>"u")return[];let{scrollMode:f,block:u,inline:c,boundary:d,skipOverflowHiddenElements:p}=t,h="function"==typeof d?d:e=>e!==d;if(!rz(e))throw TypeError("Invalid target");let b=document.scrollingElement||document.documentElement,_=[],m=e;for(;rz(m)&&h(m);){if((m=rH(m))===b){_.push(m);break}null!=m&&m===document.body&&rV(m)&&!rV(document.documentElement)||null!=m&&rV(m,p)&&_.push(m)}let g=null!=(r=null==(s=window.visualViewport)?void 0:s.width)?r:innerWidth,v=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,y=null!=(a=window.scrollX)?a:pageXOffset,w=null!=(l=window.scrollY)?l:pageYOffset,{height:C,width:k,top:x,right:S,bottom:E,left:M}=e.getBoundingClientRect(),I="start"===u||"nearest"===u?x:"end"===u?E:x+C/2,A="center"===c?M+k/2:"end"===c?S:M,R=[];for(let e=0;e<_.length;e++){let t=_[e],{height:s,width:r,top:i,right:o,bottom:a,left:l}=t.getBoundingClientRect();if("if-needed"===f&&x>=0&&M>=0&&E<=v&&S<=g&&x>=i&&E<=a&&M>=l&&S<=o)break;let d=getComputedStyle(t),p=parseInt(d.borderLeftWidth,10),h=parseInt(d.borderTopWidth,10),m=parseInt(d.borderRightWidth,10),O=parseInt(d.borderBottomWidth,10),j=0,P=0,T="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-m:0,N="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-O:0,D="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,L="offsetHeight"in t?0===t.offsetHeight?0:s/t.offsetHeight:0;if(b===t)j="start"===u?I:"end"===u?I-v:"nearest"===u?r$(w,w+v,v,h,O,w+I,w+I+C,C):I-v/2,P="start"===c?A:"center"===c?A-g/2:"end"===c?A-g:r$(y,y+g,g,p,m,y+A,y+A+k,k),j=Math.max(0,j+w),P=Math.max(0,P+y);else{j="start"===u?I-i-h:"end"===u?I-a+O+N:"nearest"===u?r$(i,a,s,h,O+N,I,I+C,C):I-(i+s/2)+N/2,P="start"===c?A-l-p:"center"===c?A-(l+r/2)+T/2:"end"===c?A-o+m+T:r$(l,o,r,p,m+T,A,A+k,k);let{scrollLeft:e,scrollTop:f}=t;j=Math.max(0,Math.min(f+j/L,t.scrollHeight-s/L+N)),P=Math.max(0,Math.min(e+P/D,t.scrollWidth-r/D+T)),I+=f-j,A+=e-P}R.push({el:t,top:j,left:P})}return R},rK=function(){return(rK=Object.assign||function(e){for(var t,s=1,r=arguments.length;s<r;s++)for(var i in t=arguments[s])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function rG(e,t){var s={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(s[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(s[r[i]]=e[r[i]]);return s}function rZ(e,t,s){if(s||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}var rQ=0;function rX(){}function rY(e,t){e&&rW(e,{boundary:t,block:"nearest",scrollMode:"if-needed"}).forEach(function(e){var t=e.el,s=e.top,r=e.left;t.scrollTop=s,t.scrollLeft=r})}function rJ(e,t,s){return e===t||t instanceof s.Node&&e.contains&&e.contains(t)}function r1(e,t){var s;function r(){s&&clearTimeout(s)}function i(){for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),s=setTimeout(function(){s=null,e.apply(void 0,o)},t)}return i.cancel=r,i}function r8(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return function(e){for(var s=arguments.length,r=Array(s>1?s-1:0),i=1;i<s;i++)r[i-1]=arguments[i];return t.some(function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault})}}function r0(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return function(e){t.forEach(function(t){"function"==typeof t?t(e):t&&(t.current=e)})}}function r2(){return String(rQ++)}function r3(e){var t=e.isOpen,s=e.resultCount,r=e.previousResultCount;return t?s?s!==r?s+" result"+(1===s?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}function r6(e,t){return Object.keys(e).reduce(function(s,r){return s[r]=r4(t,r)?t[r]:e[r],s},{})}function r4(e,t){return void 0!==e[t]}function r5(e){var t=e.key,s=e.keyCode;return s>=37&&s<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function r9(e,t,s,r,i){if(void 0===i&&(i=!0),0===s)return -1;var o=s-1;("number"!=typeof t||t<0||t>=s)&&(t=e>0?-1:o+1);var a=t+e;a<0?a=i?o:0:a>o&&(a=i?0:o);var l=r7(e,a,s,r,i);return -1===l?t>=s?-1:t:l}function r7(e,t,s,r,i){var o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(var a=t+1;a<s;a++)if(!r(a).hasAttribute("disabled"))return a}else for(var l=t-1;l>=0;l--)if(!r(l).hasAttribute("disabled"))return l;return i?e>0?r7(1,0,s,r,!1):r7(-1,s-1,s,r,!1):-1}function ne(e,t,s,r){return void 0===r&&(r=!0),t.some(function(t){return t&&(rJ(t,e,s)||r&&rJ(t,s.document.activeElement,s))})}var nt=r1(function(e){nr(e).textContent=""},500);function ns(e,t){var s=nr(t);e&&(s.textContent=e,nt(t))}function nr(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var nn=["isInitialMount","highlightedIndex","items","environment"],ni={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};function no(e,t,s){var r=e.props,i=e.type,o={};Object.keys(t).forEach(function(r){na(r,e,t,s),s[r]!==t[r]&&(o[r]=s[r])}),r.onStateChange&&Object.keys(o).length&&r.onStateChange(d({type:i},o))}function na(e,t,s,r){var i=t.props,o=t.type,a="on"+nb(e)+"Change";i[a]&&void 0!==r[e]&&r[e]!==s[e]&&i[a](d({type:o},r))}function nl(e,t){return t.changes}function nf(e){var t=e.selectedItem,s=e.itemToString;return t?s(t)+" has been selected.":""}var nu=r1(function(e,t){ns(e(),t)},200),nc="u">typeof window&&"u">typeof window.document&&"u">typeof window.document.createElement?i.useLayoutEffect:i.useEffect;function nd(e){var t=e.id,s=void 0===t?"downshift-"+r2():t,r=e.labelId,o=e.menuId,a=e.getItemId,l=e.toggleButtonId,f=e.inputId;return(0,i.useRef)({labelId:r||s+"-label",menuId:o||s+"-menu",getItemId:a||function(e){return s+"-item-"+e},toggleButtonId:l||s+"-toggle-button",inputId:f||s+"-input"}).current}function np(e,t,s,r){var i,o;if(void 0===e){if(void 0===t)throw Error(r);i=s[t],o=t}else o=void 0===t?s.indexOf(e):t,i=e;return[i,o]}function nh(e){return/^\S{1}$/.test(e)}function nb(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function n_(e){var t=(0,i.useRef)(e);return t.current=e,t}function nm(e,t,s){var r=(0,i.useRef)(),o=(0,i.useRef)(),a=(0,i.useCallback)(function(t,s){o.current=s;var r=e(t=r6(t,s.props),s);return s.props.stateReducer(t,d({},s,{changes:r}))},[e]),l=(0,i.useReducer)(a,t),f=l[0],u=l[1],c=n_(s),p=(0,i.useCallback)(function(e){return u(d({props:c.current},e))},[c]),h=o.current;return(0,i.useEffect)(function(){h&&r.current&&r.current!==f&&no(h,r6(r.current,h.props),f),r.current=f},[f,s,h]),[f,p]}function ng(e,t,s){var r=nm(e,t,s),i=r[0],o=r[1];return[r6(i,s),o]}var nv={itemToString:function(e){return e?String(e):""},stateReducer:nl,getA11ySelectionMessage:nf,scrollIntoView:rY,environment:typeof window>"u"?{}:window};function ny(e,t,s){void 0===s&&(s=ni);var r=e["default"+nb(t)];return void 0!==r?r:s[t]}function nw(e,t,s){void 0===s&&(s=ni);var r=e[t];if(void 0!==r)return r;var i=e["initial"+nb(t)];return void 0!==i?i:ny(e,t,s)}function nC(e){var t=nw(e,"selectedItem"),s=nw(e,"isOpen"),r=nw(e,"highlightedIndex"),i=nw(e,"inputValue");return{highlightedIndex:r<0&&t&&s?e.items.indexOf(t):r,isOpen:s,selectedItem:t,inputValue:i}}function nk(e,t,s){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=t.selectedItem,l=t.highlightedIndex;return 0===r.length?-1:void 0!==i&&l===i?i:void 0!==o?o:a?r.indexOf(a):0===s?-1:s<0?r.length-1:0}function nx(e,t,s,r){var o=(0,i.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,i.useEffect)(function(){if((null==s?void 0:s.addEventListener)!=null){var i=function(){o.current.isMouseDown=!0},a=function(i){o.current.isMouseDown=!1,e&&!ne(i.target,t.map(function(e){return e.current}),s)&&r()},l=function(){o.current.isTouchMove=!1},f=function(){o.current.isTouchMove=!0},u=function(i){!e||o.current.isTouchMove||ne(i.target,t.map(function(e){return e.current}),s,!1)||r()};return s.addEventListener("mousedown",i),s.addEventListener("mouseup",a),s.addEventListener("touchstart",l),s.addEventListener("touchmove",f),s.addEventListener("touchend",u),function(){s.removeEventListener("mousedown",i),s.removeEventListener("mouseup",a),s.removeEventListener("touchstart",l),s.removeEventListener("touchmove",f),s.removeEventListener("touchend",u)}}},[e,s]),o}var nS=function(){return rX};function nE(e,t,s){var r=s.isInitialMount,o=s.highlightedIndex,a=s.items,l=s.environment,f=rP(s,nn);(0,i.useEffect)(function(){r||nu(function(){return e(d({highlightedIndex:o,highlightedItem:a[o],resultCount:a.length},f))},l.document)},t)}function nM(e){var t=e.highlightedIndex,s=e.isOpen,r=e.itemRefs,o=e.getItemNodeFromIndex,a=e.menuElement,l=e.scrollIntoView,f=(0,i.useRef)(!0);return nc(function(){!(t<0)&&s&&Object.keys(r.current).length&&(!1===f.current?f.current=!0:l(o(t),a))},[t]),f}var nI=rX;function nA(e,t,s){void 0===s&&(s=!0);var r,i=(null==(r=e.items)?void 0:r.length)&&t>=0;return d({isOpen:!1,highlightedIndex:-1},i&&d({selectedItem:e.items[t],isOpen:ny(e,"isOpen"),highlightedIndex:ny(e,"highlightedIndex")},s&&{inputValue:e.itemToString(e.items[t])}))}function nR(e,t,s){var r,i=t.type,o=t.props;switch(i){case s.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case s.MenuMouseLeave:r={highlightedIndex:-1};break;case s.ToggleButtonClick:case s.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:nk(o,e,0)};break;case s.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:nk(o,e,0)};break;case s.FunctionCloseMenu:r={isOpen:!1};break;case s.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case s.FunctionSetInputValue:r={inputValue:t.inputValue};break;case s.FunctionReset:r={highlightedIndex:ny(o,"highlightedIndex"),isOpen:ny(o,"isOpen"),selectedItem:ny(o,"selectedItem"),inputValue:ny(o,"inputValue")};break;default:throw Error("Reducer called without proper action type.")}return d({},e,r)}function nO(e){for(var t=e.keysSoFar,s=e.highlightedIndex,r=e.items,i=e.itemToString,o=e.getItemNodeFromIndex,a=t.toLowerCase(),l=0;l<r.length;l++){var f=(l+s+(t.length<2?1:0))%r.length,u=r[f];if(void 0!==u&&i(u).toLowerCase().startsWith(a)){var c=o(f);if(!(null!=c&&c.hasAttribute("disabled")))return f}}return s}function nj(e){var t=e.isOpen,s=e.resultCount,r=e.previousResultCount;return t?s?s!==r?"".concat(s," result").concat(1===s?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}rL.array.isRequired,rL.func,rL.func,rL.func,rL.number,rL.number,rL.number,rL.bool,rL.bool,rL.bool,rL.any,rL.any,rL.any,rL.string,rL.string,rL.string,rL.func,rL.string,rL.func,rL.func,rL.func,rL.func,rL.func,rL.shape({addEventListener:rL.func,removeEventListener:rL.func,document:rL.shape({getElementById:rL.func,activeElement:rL.any,body:rL.any})});var nP=rK(rK({},nv),{getA11yStatusMessage:nj}),nT=rX,nN=0,nD=1,nL=2,nB=3,nq=4,nF=5,nz=6,nU=7,nV=8,n$=9,nH=10,nW=11,nK=12,nG=13,nZ=14,nQ=15,nX=16,nY=17,nJ=18,n1=19,n8=20,n0=21,n2=Object.freeze({__proto__:null,ToggleButtonClick:0,ToggleButtonKeyDownArrowDown:1,ToggleButtonKeyDownArrowUp:2,ToggleButtonKeyDownCharacter:3,ToggleButtonKeyDownEscape:4,ToggleButtonKeyDownHome:5,ToggleButtonKeyDownEnd:6,ToggleButtonKeyDownEnter:7,ToggleButtonKeyDownSpaceButton:8,ToggleButtonKeyDownPageUp:9,ToggleButtonKeyDownPageDown:10,ToggleButtonBlur:11,MenuMouseLeave:12,ItemMouseMove:13,ItemClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21});function n3(e,t){var s,r,i=t.type,o=t.props,a=t.altKey;switch(i){case nZ:r={isOpen:ny(o,"isOpen"),highlightedIndex:ny(o,"highlightedIndex"),selectedItem:o.items[t.index]};break;case nB:var l=t.key,f=""+e.inputValue+l,u=nO({keysSoFar:f,highlightedIndex:!e.isOpen&&e.selectedItem?o.items.indexOf(e.selectedItem):e.highlightedIndex,items:o.items,itemToString:o.itemToString,getItemNodeFromIndex:t.getItemNodeFromIndex});r={inputValue:f,highlightedIndex:u,isOpen:!0};break;case nD:r={highlightedIndex:e.isOpen?r9(1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1):a&&null==e.selectedItem?-1:nk(o,e,1),isOpen:!0};break;case nL:r=e.isOpen&&a?nA(o,e.highlightedIndex,!1):{highlightedIndex:e.isOpen?r9(-1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1):nk(o,e,-1),isOpen:!0};break;case nU:case nV:r=nA(o,e.highlightedIndex,!1);break;case nF:r={highlightedIndex:r7(1,0,o.items.length,t.getItemNodeFromIndex,!1),isOpen:!0};break;case nz:r={highlightedIndex:r7(-1,o.items.length-1,o.items.length,t.getItemNodeFromIndex,!1),isOpen:!0};break;case n$:r={highlightedIndex:r9(-10,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1)};break;case nH:r={highlightedIndex:r9(10,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1)};break;case nq:r={isOpen:!1,highlightedIndex:-1};break;case nW:r=d({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(s=o.items)?void 0:s.length)&&{selectedItem:o.items[e.highlightedIndex]});break;case n1:r={selectedItem:t.selectedItem};break;default:return nR(e,t,n2)}return d({},e,r)}var n6=["onMouseLeave","refKey","onKeyDown","onBlur","ref"],n4=["onBlur","onClick","onPress","onKeyDown","refKey","ref"],n5=["item","index","onMouseMove","onClick","onPress","refKey","ref","disabled"];function n9(e){void 0===e&&(e={}),nT(e,n9);var t=d({},nP,e),s=t.items,r=t.scrollIntoView,o=t.environment,a=t.itemToString,l=t.getA11ySelectionMessage,f=t.getA11yStatusMessage,u=ng(n3,nC(t),t),c=u[0],p=u[1],h=c.isOpen,b=c.highlightedIndex,_=c.selectedItem,m=c.inputValue,g=(0,i.useRef)(null),v=(0,i.useRef)(null),y=(0,i.useRef)({}),w=(0,i.useRef)(null),C=nd(t),k=(0,i.useRef)(),x=(0,i.useRef)(!0),S=n_({state:c,props:t}),E=(0,i.useCallback)(function(e){return y.current[C.getItemId(e)]},[C]);nE(f,[h,b,m,s],d({isInitialMount:x.current,previousResultCount:k.current,items:s,environment:o,itemToString:a},c)),nE(l,[_],d({isInitialMount:x.current,previousResultCount:k.current,items:s,environment:o,itemToString:a},c));var M=nM({menuElement:v.current,highlightedIndex:b,isOpen:h,itemRefs:y,scrollIntoView:r,getItemNodeFromIndex:E});(0,i.useEffect)(function(){return w.current=r1(function(e){e({type:n8,inputValue:""})},500),function(){w.current.cancel()}},[]),(0,i.useEffect)(function(){m&&w.current(p)},[p,m]),nI({isInitialMount:x.current,props:t,state:c}),(0,i.useEffect)(function(){x.current||(k.current=s.length)});var I=nx(h,[v,g],o,function(){p({type:nW})}),A=nS("getMenuProps","getToggleButtonProps");(0,i.useEffect)(function(){return x.current=!1,function(){x.current=!0}},[]),(0,i.useEffect)(function(){h||(y.current={})},[h]);var R=(0,i.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),p({type:nD,getItemNodeFromIndex:E,altKey:e.altKey})},ArrowUp:function(e){e.preventDefault(),p({type:nL,getItemNodeFromIndex:E,altKey:e.altKey})},Home:function(e){e.preventDefault(),p({type:nF,getItemNodeFromIndex:E})},End:function(e){e.preventDefault(),p({type:nz,getItemNodeFromIndex:E})},Escape:function(){S.current.state.isOpen&&p({type:nq})},Enter:function(e){e.preventDefault(),p({type:S.current.state.isOpen?nU:nN})},PageUp:function(e){S.current.state.isOpen&&(e.preventDefault(),p({type:n$,getItemNodeFromIndex:E}))},PageDown:function(e){S.current.state.isOpen&&(e.preventDefault(),p({type:nH,getItemNodeFromIndex:E}))}," ":function(e){e.preventDefault();var t=S.current.state;if(!t.isOpen){p({type:nN});return}t.inputValue?p({type:nB,key:" ",getItemNodeFromIndex:E}):p({type:nV})}}},[p,E,S]),O=(0,i.useCallback)(function(){p({type:nQ})},[p]),j=(0,i.useCallback)(function(){p({type:nY})},[p]),P=(0,i.useCallback)(function(){p({type:nX})},[p]),T=(0,i.useCallback)(function(e){p({type:nJ,highlightedIndex:e})},[p]),N=(0,i.useCallback)(function(e){p({type:n1,selectedItem:e})},[p]),D=(0,i.useCallback)(function(){p({type:n0})},[p]),L=(0,i.useCallback)(function(e){p({type:n8,inputValue:e})},[p]),B=(0,i.useCallback)(function(e){return d({id:C.labelId,htmlFor:C.toggleButtonId},e)},[C]),q=(0,i.useCallback)(function(e,t){var s,r=void 0===e?{}:e,i=r.onMouseLeave,o=r.refKey,a=void 0===o?"ref":o;r.onKeyDown,r.onBlur;var l=r.ref,f=rP(r,n6),u=(void 0===t?{}:t).suppressRefError,c=function(){p({type:nK})};return A("getMenuProps",void 0!==u&&u,a,v),d(((s={})[a]=r0(l,function(e){v.current=e}),s.id=C.menuId,s.role="listbox",s["aria-labelledby"]=f&&f["aria-label"]?void 0:""+C.labelId,s.onMouseLeave=r8(i,c),s),f)},[p,A,C]);return{getToggleButtonProps:(0,i.useCallback)(function(e,t){var s,r=void 0===e?{}:e,i=r.onBlur,o=r.onClick;r.onPress;var a=r.onKeyDown,l=r.refKey,f=void 0===l?"ref":l,u=r.ref,c=rP(r,n4),h=(void 0===t?{}:t).suppressRefError,b=void 0!==h&&h,_=S.current.state,m=function(){p({type:nN})},v=function(){_.isOpen&&!I.current.isMouseDown&&p({type:nW})},y=function(e){var t=r5(e);t&&R[t]?R[t](e):nh(t)&&p({type:nB,key:t,getItemNodeFromIndex:E})},w=d(((s={})[f]=r0(u,function(e){g.current=e}),s["aria-activedescendant"]=_.isOpen&&_.highlightedIndex>-1?C.getItemId(_.highlightedIndex):"",s["aria-controls"]=C.menuId,s["aria-expanded"]=S.current.state.isOpen,s["aria-haspopup"]="listbox",s["aria-labelledby"]=c&&c["aria-label"]?void 0:""+C.labelId,s.id=C.toggleButtonId,s.role="combobox",s.tabIndex=0,s.onBlur=r8(i,v),s),c);return c.disabled||(w.onClick=r8(o,m),w.onKeyDown=r8(a,y)),A("getToggleButtonProps",b,f,g),w},[S,C,A,p,I,R,E]),getLabelProps:B,getMenuProps:q,getItemProps:(0,i.useCallback)(function(e){var t,s=void 0===e?{}:e,r=s.item,i=s.index,o=s.onMouseMove,a=s.onClick;s.onPress;var l=s.refKey,f=void 0===l?"ref":l,u=s.ref,c=s.disabled,h=rP(s,n5),b=S.current,m=b.state,g=np(r,i,b.props.items,"Pass either item or index to getItemProps!"),v=g[0],w=g[1],k=function(){w!==m.highlightedIndex&&(M.current=!1,p({type:nG,index:w,disabled:c}))},x=function(){p({type:nZ,index:w})},E=d(((t={disabled:c,role:"option","aria-selected":""+(v===_),id:C.getItemId(w)})[f]=r0(u,function(e){e&&(y.current[C.getItemId(w)]=e)}),t),h);return c||(E.onClick=r8(a,x)),E.onMouseMove=r8(o,k),E},[S,_,C,M,p]),toggleMenu:O,openMenu:P,closeMenu:j,setHighlightedIndex:T,selectItem:N,reset:D,setInputValue:L,highlightedIndex:b,isOpen:h,selectedItem:_,inputValue:m}}n9.stateChangeTypes=n2;var n7=0,ie=1,it=2,is=3,ir=4,ii=5,io=6,ia=7,il=8,iu=9,ic=10,id=11,ip=12,ih=13,ib=14,i_=15,im=16,ig=17,iv=18,iy=19,iw=20,iC=21,ik=22,ix=Object.freeze({__proto__:null,InputKeyDownArrowDown:0,InputKeyDownArrowUp:1,InputKeyDownEscape:2,InputKeyDownHome:3,InputKeyDownEnd:4,InputKeyDownPageUp:5,InputKeyDownPageDown:6,InputKeyDownEnter:7,InputChange:8,InputBlur:9,InputFocus:10,MenuMouseLeave:11,ItemMouseMove:12,ItemClick:13,ToggleButtonClick:14,FunctionToggleMenu:15,FunctionOpenMenu:16,FunctionCloseMenu:17,FunctionSetHighlightedIndex:18,FunctionSelectItem:19,FunctionSetInputValue:20,FunctionReset:21,ControlledPropUpdatedSelectedItem:22});function iS(e){var t=nC(e),s=t.selectedItem,r=t.inputValue;return""===r&&s&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(r=e.itemToString(s)),d({},t,{inputValue:r})}function iE(e,t,s){var r=(0,i.useRef)(),o=nm(e,t,s),a=o[0],l=o[1];return(0,i.useEffect)(function(){r4(s,"selectedItem")&&(s.selectedItemChanged(r.current,s.selectedItem)&&l({type:ik,inputValue:s.itemToString(s.selectedItem)}),r.current=a.selectedItem===r.current?s.selectedItem:a.selectedItem)},[a.selectedItem,s.selectedItem]),[r6(a,s),l]}rL.array.isRequired,rL.func,rL.func,rL.func,rL.func,rL.number,rL.number,rL.number,rL.bool,rL.bool,rL.bool,rL.any,rL.any,rL.any,rL.string,rL.string,rL.string,rL.string,rL.string,rL.string,rL.func,rL.string,rL.string,rL.func,rL.func,rL.func,rL.func,rL.func,rL.func,rL.shape({addEventListener:rL.func,removeEventListener:rL.func,document:rL.shape({getElementById:rL.func,activeElement:rL.any,body:rL.any})});var iM=rX,iI=d({},nv,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:r3});function iA(e,t){var s,r,i=t.type,o=t.props,a=t.altKey;switch(i){case ih:r={isOpen:ny(o,"isOpen"),highlightedIndex:ny(o,"highlightedIndex"),selectedItem:o.items[t.index],inputValue:o.itemToString(o.items[t.index])};break;case n7:r=e.isOpen?{highlightedIndex:r9(1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:a&&null==e.selectedItem?-1:nk(o,e,1,t.getItemNodeFromIndex),isOpen:o.items.length>=0};break;case ie:r=e.isOpen?a?nA(o,e.highlightedIndex):{highlightedIndex:r9(-1,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:nk(o,e,-1,t.getItemNodeFromIndex),isOpen:o.items.length>=0};break;case ia:r=nA(o,e.highlightedIndex);break;case it:r=d({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case ii:r={highlightedIndex:r9(-10,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1)};break;case io:r={highlightedIndex:r9(10,e.highlightedIndex,o.items.length,t.getItemNodeFromIndex,!1)};break;case is:r={highlightedIndex:r7(1,0,o.items.length,t.getItemNodeFromIndex,!1)};break;case ir:r={highlightedIndex:r7(-1,o.items.length-1,o.items.length,t.getItemNodeFromIndex,!1)};break;case iu:r=d({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(s=o.items)?void 0:s.length)&&t.selectItem&&{selectedItem:o.items[e.highlightedIndex],inputValue:o.itemToString(o.items[e.highlightedIndex])});break;case il:r={isOpen:!0,highlightedIndex:ny(o,"highlightedIndex"),inputValue:t.inputValue};break;case ic:r={isOpen:!0,highlightedIndex:nk(o,e,0)};break;case iy:r={selectedItem:t.selectedItem,inputValue:o.itemToString(t.selectedItem)};break;case ik:r={inputValue:t.inputValue};break;default:return nR(e,t,ix)}return d({},e,r)}var iR=["onMouseLeave","refKey","ref"],iO=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],ij=["onClick","onPress","refKey","ref"],iP=["onKeyDown","onChange","onInput","onFocus","onBlur","onChangeText","refKey","ref"];function iT(e){void 0===e&&(e={}),iM(e,iT);var t=d({},iI,e),s=t.initialIsOpen,r=t.defaultIsOpen,o=t.items,a=t.scrollIntoView,l=t.environment,f=t.getA11yStatusMessage,u=t.getA11ySelectionMessage,c=t.itemToString,p=iE(iA,iS(t),t),h=p[0],b=p[1],_=h.isOpen,m=h.highlightedIndex,g=h.selectedItem,v=h.inputValue,y=(0,i.useRef)(null),w=(0,i.useRef)({}),C=(0,i.useRef)(null),k=(0,i.useRef)(null),x=(0,i.useRef)(!0),S=nd(t),E=(0,i.useRef)(),M=n_({state:h,props:t}),I=(0,i.useCallback)(function(e){return w.current[S.getItemId(e)]},[S]);nE(f,[_,m,v,o],d({isInitialMount:x.current,previousResultCount:E.current,items:o,environment:l,itemToString:c},h)),nE(u,[g],d({isInitialMount:x.current,previousResultCount:E.current,items:o,environment:l,itemToString:c},h));var A=nM({menuElement:y.current,highlightedIndex:m,isOpen:_,itemRefs:w,scrollIntoView:a,getItemNodeFromIndex:I});nI({isInitialMount:x.current,props:t,state:h}),(0,i.useEffect)(function(){(s||r||_)&&C.current&&C.current.focus()},[]),(0,i.useEffect)(function(){x.current||(E.current=o.length)});var R=nx(_,[C,y,k],l,function(){b({type:iu,selectItem:!1})}),O=nS("getInputProps","getMenuProps");(0,i.useEffect)(function(){return x.current=!1,function(){x.current=!0}},[]),(0,i.useEffect)(function(){var e,t;_?(null==(e=l.document)?void 0:e.activeElement)!==C.current&&(null==C||null==(t=C.current)||t.focus()):w.current={}},[_,l]);var j=(0,i.useMemo)(function(){return{ArrowDown:function(e){e.preventDefault(),b({type:n7,altKey:e.altKey,getItemNodeFromIndex:I})},ArrowUp:function(e){e.preventDefault(),b({type:ie,altKey:e.altKey,getItemNodeFromIndex:I})},Home:function(e){M.current.state.isOpen&&(e.preventDefault(),b({type:is,getItemNodeFromIndex:I}))},End:function(e){M.current.state.isOpen&&(e.preventDefault(),b({type:ir,getItemNodeFromIndex:I}))},Escape:function(e){var t=M.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),b({type:it}))},Enter:function(e){M.current.state.isOpen&&229!==e.which&&(e.preventDefault(),b({type:ia,getItemNodeFromIndex:I}))},PageUp:function(e){M.current.state.isOpen&&(e.preventDefault(),b({type:ii,getItemNodeFromIndex:I}))},PageDown:function(e){M.current.state.isOpen&&(e.preventDefault(),b({type:io,getItemNodeFromIndex:I}))}}},[b,M,I]),P=(0,i.useCallback)(function(e){return d({id:S.labelId,htmlFor:S.inputId},e)},[S]),T=(0,i.useCallback)(function(e,t){var s,r=void 0===e?{}:e,i=r.onMouseLeave,o=r.refKey,a=void 0===o?"ref":o,l=r.ref,f=rP(r,iR),u=(void 0===t?{}:t).suppressRefError;return O("getMenuProps",void 0!==u&&u,a,y),d(((s={})[a]=r0(l,function(e){y.current=e}),s.id=S.menuId,s.role="listbox",s["aria-labelledby"]=f&&f["aria-label"]?void 0:""+S.labelId,s.onMouseLeave=r8(i,function(){b({type:id})}),s),f)},[b,O,S]),N=(0,i.useCallback)(function(e){var t,s,r=void 0===e?{}:e,i=r.item,o=r.index,a=r.refKey,l=void 0===a?"ref":a,f=r.ref,u=r.onMouseMove,c=r.onMouseDown,p=r.onClick;r.onPress;var h=r.disabled,_=rP(r,iO),m=M.current,g=m.props,v=m.state,y=np(i,o,g.items,"Pass either item or index to getItemProps!")[1],C="onClick",k=p,x=function(){y!==v.highlightedIndex&&(A.current=!1,b({type:ip,index:y,disabled:h}))},E=function(){b({type:ih,index:y})},I=function(e){return e.preventDefault()};return d(((t={})[l]=r0(f,function(e){e&&(w.current[S.getItemId(y)]=e)}),t.disabled=h,t.role="option",t["aria-selected"]=""+(y===v.highlightedIndex),t.id=S.getItemId(y),t),!h&&((s={})[C]=r8(k,E),s),{onMouseMove:r8(u,x),onMouseDown:r8(c,I)},_)},[b,M,A,S]),D=(0,i.useCallback)(function(e){var t,s=void 0===e?{}:e,r=s.onClick;s.onPress;var i=s.refKey,o=void 0===i?"ref":i,a=s.ref,l=rP(s,ij),f=M.current.state,u=function(){b({type:ib})};return d(((t={})[o]=r0(a,function(e){k.current=e}),t["aria-controls"]=S.menuId,t["aria-expanded"]=f.isOpen,t.id=S.toggleButtonId,t.tabIndex=-1,t),!l.disabled&&d({},{onClick:r8(r,u)}),l)},[b,M,S]),L=(0,i.useCallback)(function(e,t){var s,r,i=void 0===e?{}:e,o=i.onKeyDown,a=i.onChange,l=i.onInput,f=i.onFocus,u=i.onBlur;i.onChangeText;var c=i.refKey,p=void 0===c?"ref":c,h=i.ref,_=rP(i,iP),m=(void 0===t?{}:t).suppressRefError;O("getInputProps",void 0!==m&&m,p,C);var g=M.current.state,v=function(e){var t=r5(e);t&&j[t]&&j[t](e)},y=function(e){b({type:il,inputValue:e.target.value})},w=function(e){g.isOpen&&!R.current.isMouseDown&&b({type:iu,selectItem:null!==e.relatedTarget})},k=function(){g.isOpen||b({type:ic})},x="onChange",E={};return _.disabled||((s={})[x]=r8(a,l,y),s.onKeyDown=r8(o,v),s.onBlur=r8(u,w),s.onFocus=r8(f,k),E=s),d(((r={})[p]=r0(h,function(e){C.current=e}),r["aria-activedescendant"]=g.isOpen&&g.highlightedIndex>-1?S.getItemId(g.highlightedIndex):"",r["aria-autocomplete"]="list",r["aria-controls"]=S.menuId,r["aria-expanded"]=g.isOpen,r["aria-labelledby"]=_&&_["aria-label"]?void 0:""+S.labelId,r.autoComplete="off",r.id=S.inputId,r.role="combobox",r.value=g.inputValue,r),E,_)},[b,j,M,R,O,S]),B=(0,i.useCallback)(function(){b({type:i_})},[b]),q=(0,i.useCallback)(function(){b({type:ig})},[b]),F=(0,i.useCallback)(function(){b({type:im})},[b]),z=(0,i.useCallback)(function(e){b({type:iv,highlightedIndex:e})},[b]),U=(0,i.useCallback)(function(e){b({type:iy,selectedItem:e})},[b]);return{getItemProps:N,getLabelProps:P,getMenuProps:T,getInputProps:L,getToggleButtonProps:D,toggleMenu:B,openMenu:F,closeMenu:q,setHighlightedIndex:z,setInputValue:(0,i.useCallback)(function(e){b({type:iw,inputValue:e})},[b]),selectItem:U,reset:(0,i.useCallback)(function(){b({type:iC})},[b]),highlightedIndex:m,isOpen:_,selectedItem:g,inputValue:v}}iT.stateChangeTypes=ix;var iN={activeIndex:-1,selectedItems:[]};function iD(e,t){return nw(e,t,iN)}function iL(e,t){return ny(e,t,iN)}function iB(e){return{activeIndex:iD(e,"activeIndex"),selectedItems:iD(e,"selectedItems")}}function iq(e){if(e.shiftKey||e.metaKey||e.ctrlKey||e.altKey)return!1;var t=e.target;return!(t instanceof HTMLInputElement&&""!==t.value&&(0!==t.selectionStart||0!==t.selectionEnd))}function iF(e){var t=e.removedSelectedItem;return(0,e.itemToString)(t)+" has been removed."}rL.array,rL.array,rL.array,rL.func,rL.func,rL.func,rL.number,rL.number,rL.number,rL.func,rL.func,rL.string,rL.string,rL.shape({addEventListener:rL.func,removeEventListener:rL.func,document:rL.shape({getElementById:rL.func,activeElement:rL.any,body:rL.any})});var iz={itemToString:nv.itemToString,stateReducer:nv.stateReducer,environment:nv.environment,getA11yRemovalMessage:iF,keyNavigationNext:"ArrowRight",keyNavigationPrevious:"ArrowLeft"},iU=rX,iV=0,i$=1,iH=2,iW=3,iK=4,iG=5,iZ=6,iQ=7,iX=8,iY=9,iJ=10,i1=11,i8=12,i0=Object.freeze({__proto__:null,SelectedItemClick:0,SelectedItemKeyDownDelete:1,SelectedItemKeyDownBackspace:2,SelectedItemKeyDownNavigationNext:3,SelectedItemKeyDownNavigationPrevious:4,DropdownKeyDownNavigationPrevious:5,DropdownKeyDownBackspace:6,DropdownClick:7,FunctionAddSelectedItem:8,FunctionRemoveSelectedItem:9,FunctionSetSelectedItems:10,FunctionSetActiveIndex:11,FunctionReset:12});function i2(e,t){var s,r=t.type,i=t.index,o=t.props,a=t.selectedItem,l=e.activeIndex,f=e.selectedItems;switch(r){case iV:s={activeIndex:i};break;case iK:s={activeIndex:l-1<0?0:l-1};break;case iW:s={activeIndex:l+1>=f.length?-1:l+1};break;case iH:case i$:if(l<0)break;var u=l;1===f.length?u=-1:l===f.length-1&&(u=f.length-2),s=d({selectedItems:[].concat(f.slice(0,l),f.slice(l+1))},{activeIndex:u});break;case iG:s={activeIndex:f.length-1};break;case iZ:s={selectedItems:f.slice(0,f.length-1)};break;case iX:s={selectedItems:[].concat(f,[a])};break;case iQ:s={activeIndex:-1};break;case iY:var c=l,p=f.indexOf(a);if(p<0)break;1===f.length?c=-1:p===f.length-1&&(c=f.length-2),s={selectedItems:[].concat(f.slice(0,p),f.slice(p+1)),activeIndex:c};break;case iJ:s={selectedItems:t.selectedItems};break;case i1:s={activeIndex:t.activeIndex};break;case i8:s={activeIndex:iL(o,"activeIndex"),selectedItems:iL(o,"selectedItems")};break;default:throw Error("Reducer called without proper action type.")}return d({},e,s)}var i3=["refKey","ref","onClick","onKeyDown","selectedItem","index"],i6=["refKey","ref","onKeyDown","onClick","preventKeyAction"];function i4(e){void 0===e&&(e={}),iU(e,i4);var t=d({},iz,e),s=t.getA11yRemovalMessage,r=t.itemToString,o=t.environment,a=t.keyNavigationNext,l=t.keyNavigationPrevious,f=ng(i2,iB(t),t),u=f[0],c=f[1],p=u.activeIndex,h=u.selectedItems,b=(0,i.useRef)(!0),_=(0,i.useRef)(null),m=(0,i.useRef)(h),g=(0,i.useRef)();g.current=[];var v=n_({state:u,props:t});(0,i.useEffect)(function(){if(!b.current){if(h.length<m.current.length){var e=m.current.find(function(e){return 0>h.indexOf(e)});ns(s({itemToString:r,resultCount:h.length,removedSelectedItem:e,activeIndex:p,activeSelectedItem:h[p]}),o.document)}m.current=h}},[h.length]),(0,i.useEffect)(function(){b.current||(-1===p&&_.current?_.current.focus():g.current[p]&&g.current[p].focus())},[p]),nI({isInitialMount:b.current,props:t,state:u});var y=nS("getDropdownProps");(0,i.useEffect)(function(){return b.current=!1,function(){b.current=!0}},[]);var w=(0,i.useMemo)(function(){var e;return(e={})[l]=function(){c({type:iK})},e[a]=function(){c({type:iW})},e.Delete=function(){c({type:i$})},e.Backspace=function(){c({type:iH})},e},[c,a,l]),C=(0,i.useMemo)(function(){var e;return(e={})[l]=function(e){iq(e)&&c({type:iG})},e.Backspace=function(e){iq(e)&&c({type:iZ})},e},[c,l]);return{getSelectedItemProps:(0,i.useCallback)(function(e){var t,s=void 0===e?{}:e,r=s.refKey,i=void 0===r?"ref":r,o=s.ref,a=s.onClick,l=s.onKeyDown,f=s.selectedItem,u=s.index,p=rP(s,i3),h=v.current.state,b=np(f,u,h.selectedItems,"Pass either item or index to getSelectedItemProps!")[1],_=b>-1&&b===h.activeIndex,m=function(){c({type:iV,index:b})},y=function(e){var t=r5(e);t&&w[t]&&w[t](e)};return d(((t={})[i]=r0(o,function(e){e&&g.current.push(e)}),t.tabIndex=_?0:-1,t.onClick=r8(a,m),t.onKeyDown=r8(l,y),t),p)},[c,v,w]),getDropdownProps:(0,i.useCallback)(function(e,t){var s,r=void 0===e?{}:e,i=r.refKey,o=void 0===i?"ref":i,a=r.ref,l=r.onKeyDown,f=r.onClick,u=r.preventKeyAction,p=void 0!==u&&u,h=rP(r,i6),b=(void 0===t?{}:t).suppressRefError;y("getDropdownProps",void 0!==b&&b,o,_);var m=function(e){var t=r5(e);t&&C[t]&&C[t](e)},g=function(){c({type:iQ})};return d(((s={})[o]=r0(a,function(e){e&&(_.current=e)}),s),!p&&{onKeyDown:r8(l,m),onClick:r8(f,g)},h)},[c,C,y]),addSelectedItem:(0,i.useCallback)(function(e){c({type:iX,selectedItem:e})},[c]),removeSelectedItem:(0,i.useCallback)(function(e){c({type:iY,selectedItem:e})},[c]),setSelectedItems:(0,i.useCallback)(function(e){c({type:iJ,selectedItems:e})},[c]),setActiveIndex:(0,i.useCallback)(function(e){c({type:i1,activeIndex:e})},[c]),reset:(0,i.useCallback)(function(){c({type:i8})},[c]),selectedItems:h,activeIndex:p}}i4.stateChangeTypes=i0;let i5=(e,t)=>{if(!e)return t;let s=e.toString().toLowerCase();return t.filter(e=>e.label.toLowerCase().includes(s))},i9=({selectedItem:e,options:t,onChange:s,onInputValueChange:r,onFocus:o,onBlur:a})=>{let[l,f]=(0,i.useState)(""),[u,c]=(0,i.useState)(!1),d=!!(e||u||l),p=i5(l,t),{isOpen:h,getToggleButtonProps:b,getLabelProps:_,getMenuProps:m,getInputProps:g,highlightedIndex:v,getItemProps:y}=iT({items:p,itemToString:e=>(null==e?void 0:e.label)??"",selectedItem:e,onSelectedItemChange:({selectedItem:e})=>{if(e){let t=tu(e)?e.value:e;null==s||s(t)}},onStateChange:({inputValue:e,type:t})=>{t===iT.stateChangeTypes.InputChange&&(null==r||r(e??""),f(e??""),e||null==s||s(null))}});return{active:u,itemsToSelect:p,typed:d,isOpen:h,getToggleButtonProps:b,getLabelProps:_,getMenuProps:m,getInputProps:(e,t)=>g({onFocus:e=>{null==o||o(e),c(!0)},onBlur:e=>{null==a||a(e),c(!1)},...e},t),highlightedIndex:v,getItemProps:y,hasItemsToSelect:p.length>0}},i7=({size:e,disabled:t=!1,className:s,value:r,label:i,id:o,error:a=!1,helperText:l,options:f,onChange:u,onFocus:d,onBlur:p,startAdornment:h,endAdornment:b,..._},m)=>{let{active:g,typed:v,isOpen:y,getToggleButtonProps:w,getLabelProps:C,getMenuProps:k,getInputProps:x,highlightedIndex:S,getItemProps:E,itemsToSelect:M,hasItemsToSelect:I}=i9({selectedItem:tu(r)?f.find(e=>e.value===r):r,options:f,onChange:u,onFocus:d,onBlur:p}),{refs:A,floatingStyles:R}=rO();return c.jsxs(tt,{display:"flex",flexDirection:"column",children:[c.jsx(rj,{id:o,ref:A.setReference,typed:v,active:g,disabled:t,size:e,label:i,error:a,className:s,getLabelProps:C,getToggleButtonProps:w,children:c.jsxs(tt,{display:"flex",alignItems:"center",children:[h&&v&&c.jsx(tt,{children:h(r)}),c.jsx(tt,{id:o,as:"input",type:"text",className:tf(t7({size:e,error:a})),disabled:t,..._,...x({id:o,ref:m})}),b&&v&&c.jsx(tt,{children:b(r)})]})}),c.jsx(t5,{asChild:!0,ref:A.setFloating,style:R,children:c.jsx(tt,{position:"relative",display:y&&I?"block":"none",className:si({size:e}),children:c.jsx(uu,{as:"ul",className:sn,...k({},{suppressRefError:!0}),children:y&&(null==M?void 0:M.map((t,s)=>c.jsxs(uu.Item,{"data-test-id":"select-option",className:sr,...E({item:t,index:s}),active:S===s,children:[null==t?void 0:t.startAdornment,c.jsx(tT,{size:sf(e),children:t.label}),null==t?void 0:t.endAdornment]},`${o}-${t.value}-${s}`)))})})}),l&&c.jsx(ss,{size:e,error:a,children:l})]})},oe=((0,i.forwardRef)(i7),e=>{let t=(0,i.useRef)(null),[s,r]=(0,i.useState)(!1),o=(0,i.useRef)(null);return(0,i.useEffect)(()=>{s&&(null==e||e(),r(!1))},[s,e]),(0,i.useEffect)(()=>{let e=t.current;if(e)return o.current&&o.current.disconnect(),o.current=new IntersectionObserver(e=>{e[0].isIntersecting&&r(!0)},{threshold:0}),o.current.observe(e),()=>{e&&o.current&&o.current.unobserve(e)}},[t]),t}),ot=({size:e,disabled:t=!1,className:s,value:r,label:i,id:o,error:a=!1,helperText:l,options:f,onChange:u,onInputValueChange:d,onFocus:p,onBlur:h,loading:b,locale:_,startAdornment:m,endAdornment:g,onScrollEnd:v,...y},w)=>{let{active:C,typed:k,isOpen:x,getToggleButtonProps:S,getLabelProps:E,getMenuProps:M,getInputProps:I,highlightedIndex:A,getItemProps:R,itemsToSelect:O,hasItemsToSelect:j}=i9({selectedItem:r,options:f,onChange:u,onInputValueChange:d,onFocus:p,onBlur:h}),{refs:P,floatingStyles:T}=rO(),N=oe(v);return c.jsxs(tt,{display:"flex",flexDirection:"column",children:[c.jsx(rj,{id:o,ref:P.setReference,typed:k,active:C,disabled:t,size:e,label:i,error:a,className:s,getLabelProps:E,getToggleButtonProps:S,children:c.jsxs(tt,{display:"flex",children:[m&&k&&c.jsx(tt,{children:m(r)}),c.jsx(tt,{id:o,as:"input",type:"text",className:tf(t7({size:e,error:a})),disabled:t,...y,...I({id:o,ref:w})}),g&&k&&c.jsx(tt,{children:g(r)})]})}),c.jsx(t5,{asChild:!0,ref:P.setFloating,style:T,children:c.jsx(tt,{position:"relative",display:sl({isOpen:x,hasItemsToSelect:j,loading:b}),className:si({size:e}),children:c.jsxs(uu,{as:"ul",className:sn,...M({},{suppressRefError:!0}),children:[x&&(null==O?void 0:O.map((t,s)=>c.jsxs(uu.Item,{"data-test-id":"select-option",className:sr,...R({item:t,index:s}),active:A===s,children:[null==t?void 0:t.startAdornment,c.jsx(tT,{size:sf(e),children:t.label}),null==t?void 0:t.endAdornment]},`${o}-${t.value}-${s}`))),b&&c.jsx(sa,{size:e,children:(null==_?void 0:_.loadingText)??"Loading"}),c.jsx("div",{ref:e=>{N.current=e}})]})})}),l&&c.jsx(ss,{size:e,error:a,children:l})]})},os=((0,i.forwardRef)(ot),(0,i.forwardRef)(({className:e,...t},s)=>c.jsx(tt,{ref:s,as:"hr",className:e,backgroundColor:"surfaceNeutralDepressed",borderWidth:0,width:"100%",height:"px","data-macaw-ui-component":"Divider",...t})));function or(e,t=null==globalThis?void 0:globalThis.document){let s=S(e);(0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&s(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)},[s,t])}os.displayName="Divider";let on="dismissableLayer.update",oi="dismissableLayer.pointerDownOutside",oo="dismissableLayer.focusOutside",oa=(0,i.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ol=(0,i.forwardRef)((e,t)=>{var s;let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:f,onInteractOutside:u,onDismiss:c,...p}=e,h=(0,i.useContext)(oa),[b,_]=(0,i.useState)(null),g=null!==(s=null==b?void 0:b.ownerDocument)&&void 0!==s?s:null==globalThis?void 0:globalThis.document,[,v]=(0,i.useState)({}),y=m(t,e=>_(e)),w=Array.from(h.layers),[C]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),k=w.indexOf(C),S=b?w.indexOf(b):-1,E=h.layersWithOutsidePointerEventsDisabled.size>0,M=S>=k,A=of(e=>{let t=e.target,s=[...h.branches].some(e=>e.contains(t));!M||s||(null==l||l(e),null==u||u(e),e.defaultPrevented||null==c||c())},g),R=ou(e=>{let t=e.target;[...h.branches].some(e=>e.contains(t))||(null==f||f(e),null==u||u(e),e.defaultPrevented||null==c||c())},g);return or(e=>{S===h.layers.size-1&&(null==a||a(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},g),(0,i.useEffect)(()=>{if(b)return o&&(0===h.layersWithOutsidePointerEventsDisabled.size&&(r=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(b)),h.layers.add(b),oc(),()=>{o&&1===h.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=r)}},[b,g,o,h]),(0,i.useEffect)(()=>()=>{b&&(h.layers.delete(b),h.layersWithOutsidePointerEventsDisabled.delete(b),oc())},[b,h]),(0,i.useEffect)(()=>{let e=()=>v({});return document.addEventListener(on,e),()=>document.removeEventListener(on,e)},[]),(0,i.createElement)(I.div,d({},p,{ref:y,style:{pointerEvents:E?M?"auto":"none":void 0,...e.style},onFocusCapture:x(e.onFocusCapture,R.onFocusCapture),onBlurCapture:x(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:x(e.onPointerDownCapture,A.onPointerDownCapture)}))});function of(e,t=null==globalThis?void 0:globalThis.document){let s=S(e),r=(0,i.useRef)(!1),o=(0,i.useRef)(()=>{});return(0,i.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){od(oi,s,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,s]),{onPointerDownCapture:()=>r.current=!0}}function ou(e,t=null==globalThis?void 0:globalThis.document){let s=S(e),r=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=e=>{e.target&&!r.current&&od(oo,s,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,s]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function oc(){let e=new CustomEvent(on);document.dispatchEvent(e)}function od(e,t,s,{discrete:r}){let i=s.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:s});t&&i.addEventListener(e,t,{once:!0}),r?A(i,o):i.dispatchEvent(o)}let op="focusScope.autoFocusOnMount",oh="focusScope.autoFocusOnUnmount",ob={bubbles:!1,cancelable:!0},o_=(0,i.forwardRef)((e,t)=>{let{loop:s=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...l}=e,[f,u]=(0,i.useState)(null),c=S(o),p=S(a),h=(0,i.useRef)(null),b=m(t,e=>u(e)),_=(0,i.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,i.useEffect)(()=>{if(r){let e=function(e){if(_.paused||!f)return;let t=e.target;f.contains(t)?h.current=t:ok(h.current,{select:!0})},t=function(e){if(_.paused||!f)return;let t=e.relatedTarget;null!==t&&(f.contains(t)||ok(h.current,{select:!0}))},s=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&ok(f)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(s);return f&&r.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[r,f,_.paused]),(0,i.useEffect)(()=>{if(f){ox.add(_);let e=document.activeElement;if(!f.contains(e)){let t=new CustomEvent(op,ob);f.addEventListener(op,c),f.dispatchEvent(t),t.defaultPrevented||(om(oM(ov(f)),{select:!0}),document.activeElement===e&&ok(f))}return()=>{f.removeEventListener(op,c),setTimeout(()=>{let t=new CustomEvent(oh,ob);f.addEventListener(oh,p),f.dispatchEvent(t),t.defaultPrevented||ok(e??document.body,{select:!0}),f.removeEventListener(oh,p),ox.remove(_)},0)}}},[f,c,p,_]);let g=(0,i.useCallback)(e=>{if(!s&&!r||_.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[r,o]=og(t);r&&o?e.shiftKey||i!==o?e.shiftKey&&i===r&&(e.preventDefault(),s&&ok(o,{select:!0})):(e.preventDefault(),s&&ok(r,{select:!0})):i===t&&e.preventDefault()}},[s,r,_.paused]);return(0,i.createElement)(I.div,d({tabIndex:-1},l,{ref:b,onKeyDown:g}))});function om(e,{select:t=!1}={}){let s=document.activeElement;for(let r of e)if(ok(r,{select:t}),document.activeElement!==s)return}function og(e){let t=ov(e);return[oy(t,e),oy(t.reverse(),e)]}function ov(e){let t=[],s=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;s.nextNode();)t.push(s.currentNode);return t}function oy(e,t){for(let s of e)if(!ow(s,{upTo:t}))return s}function ow(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function oC(e){return e instanceof HTMLInputElement&&"select"in e}function ok(e,{select:t=!1}={}){if(e&&e.focus){let s=document.activeElement;e.focus({preventScroll:!0}),e!==s&&oC(e)&&t&&e.select()}}let ox=oS();function oS(){let e=[];return{add(t){let s=e[0];t!==s&&(null==s||s.pause()),(e=oE(e,t)).unshift(t)},remove(t){var s;null===(s=(e=oE(e,t))[0])||void 0===s||s.resume()}}}function oE(e,t){let s=[...e],r=s.indexOf(t);return -1!==r&&s.splice(r,1),s}function oM(e){return e.filter(e=>"A"!==e.tagName)}let oI=(0,i.forwardRef)((e,t)=>{var s;let{container:r=null==globalThis||null===(s=globalThis.document)||void 0===s?void 0:s.body,...a}=e;return r?o.createPortal((0,i.createElement)(I.div,d({},a,{ref:t})),r):null}),oA=0;function oR(){(0,i.useEffect)(()=>{var e,t;let s=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=s[0])&&void 0!==e?e:oO()),document.body.insertAdjacentElement("beforeend",null!==(t=s[1])&&void 0!==t?t:oO()),oA++,()=>{1===oA&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),oA--}},[])}function oO(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var oj="right-scroll-bar-position",oP="width-before-scroll-bar",oT="with-scroll-bars-hidden",oN="--removed-body-scroll-bar-size";function oD(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}function oL(e,t){var s=(0,i.useState)(function(){return{value:e,callback:t,facade:{get current(){return s.value},set current(n){var r=s.value;r!==n&&(s.value=n,s.callback(n,r))}}}})[0];return s.callback=t,s.facade}function oB(e,t){return oL(t||null,function(t){return e.forEach(function(e){return oD(e,t)})})}function oq(e){return e}function oF(e,t){void 0===t&&(t=oq);var s=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return s.length?s[s.length-1]:e},useMedium:function(e){var i=t(e,r);return s.push(i),function(){s=s.filter(function(e){return e!==i})}},assignSyncMedium:function(e){for(r=!0;s.length;){var t=s;s=[],t.forEach(e)}s={push:function(t){return e(t)},filter:function(){return s}}},assignMedium:function(e){r=!0;var t=[];if(s.length){var i=s;s=[],i.forEach(e),t=s}var o=function(){var s=t;t=[],s.forEach(e)},a=function(){return Promise.resolve().then(o)};a(),s={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),s}}}}}function oz(e){void 0===e&&(e={});var t=oF(null);return t.options=rK({async:!0,ssr:!1},e),t}var oU=function(e){var t=e.sideCar,s=rG(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return i.createElement(r,rK({},s))};function oV(e,t){return e.useMedium(t),oU}oU.isSideCarExport=!0;var o$=oz(),oH=function(){},oW=i.forwardRef(function(e,t){var s=i.useRef(null),r=i.useState({onScrollCapture:oH,onWheelCapture:oH,onTouchMoveCapture:oH}),o=r[0],a=r[1],l=e.forwardProps,f=e.children,u=e.className,c=e.removeScrollBar,d=e.enabled,p=e.shards,h=e.sideCar,b=e.noIsolation,_=e.inert,m=e.allowPinchZoom,g=e.as,v=void 0===g?"div":g,y=rG(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),w=h,C=oB([s,t]),k=rK(rK({},y),o);return i.createElement(i.Fragment,null,d&&i.createElement(w,{sideCar:o$,removeScrollBar:c,shards:p,noIsolation:b,inert:_,setCallbacks:a,allowPinchZoom:!!m,lockRef:s}),l?i.cloneElement(i.Children.only(f),rK(rK({},k),{ref:C})):i.createElement(v,rK({},k,{className:u,ref:C}),f))});oW.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},oW.classNames={fullWidth:oP,zeroRight:oj};var oK,oG,oZ,oQ,oX,oY,oJ,o1,o8=function(){return o1||s.nc};function o0(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o8();return t&&e.setAttribute("nonce",t),e}function o2(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function o3(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}var o6=function(){var e=0,t=null;return{add:function(s){0==e&&(t=o0())&&(o2(t,s),o3(t)),e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},o4=function(){var e=o6();return function(t,s){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&s])}},o5=function(){var e=o4();return function(t){return e(t.styles,t.dynamic),null}},o9={left:0,top:0,right:0,gap:0},o7=function(e){return parseInt(e||"",10)||0},ae=function(e){var t=window.getComputedStyle(document.body),s=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[o7(s),o7(r),o7(i)]},at=function(e){if(void 0===e&&(e="margin"),typeof window>"u")return o9;var t=ae(e),s=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-s+t[2]-t[0])}},as=o5(),ar=function(e,t,s,r){var i=e.left,o=e.top,a=e.right,l=e.gap;return void 0===s&&(s="margin"),`
  .`.concat(oT,` {
   overflow: hidden `).concat(r,`;
   padding-right: `).concat(l,"px ").concat(r,`;
  }
  body {
    overflow: hidden `).concat(r,`;
    overscroll-behavior: contain;
    `).concat([t&&"position: relative ".concat(r,";"),"margin"===s&&`
    padding-left: `.concat(i,`px;
    padding-top: `).concat(o,`px;
    padding-right: `).concat(a,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(l,"px ").concat(r,`;
    `),"padding"===s&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(oj,` {
    right: `).concat(l,"px ").concat(r,`;
  }
  
  .`).concat(oP,` {
    margin-right: `).concat(l,"px ").concat(r,`;
  }
  
  .`).concat(oj," .").concat(oj,` {
    right: 0 `).concat(r,`;
  }
  
  .`).concat(oP," .").concat(oP,` {
    margin-right: 0 `).concat(r,`;
  }
  
  body {
    `).concat(oN,": ").concat(l,`px;
  }
`)},an=function(e){var t=e.noRelative,s=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,a=i.useMemo(function(){return at(o)},[o]);return i.createElement(as,{styles:ar(a,!t,o,s?"":"!important")})},ai=!1;if("u">typeof window)try{var ao=Object.defineProperty({},"passive",{get:function(){return ai=!0,!0}});window.addEventListener("test",ao,ao),window.removeEventListener("test",ao,ao)}catch{ai=!1}var aa=!!ai&&{passive:!1},al=function(e){return"TEXTAREA"===e.tagName},af=function(e,t){var s=window.getComputedStyle(e);return"hidden"!==s[t]&&!(s.overflowY===s.overflowX&&!al(e)&&"visible"===s[t])},au=function(e){return af(e,"overflowY")},ac=function(e){return af(e,"overflowX")},ad=function(e,t){var s=t;do{if("u">typeof ShadowRoot&&s instanceof ShadowRoot&&(s=s.host),ab(e,s)){var r=a_(e,s);if(r[1]>r[2])return!0}s=s.parentNode}while(s&&s!==document.body);return!1},ap=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},ah=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},ab=function(e,t){return"v"===e?au(t):ac(t)},a_=function(e,t){return"v"===e?ap(t):ah(t)},am=function(e,t){return"h"===e&&"rtl"===t?-1:1},ag=function(e,t,s,r,i){var o=am(e,window.getComputedStyle(t).direction),a=o*r,l=s.target,f=t.contains(l),u=!1,c=a>0,d=0,p=0;do{var h=a_(e,l),b=h[0],_=h[1]-h[2]-o*b;(b||_)&&ab(e,l)&&(d+=_,p+=b),l=l.parentNode}while(!f&&l!==document.body||f&&(t.contains(l)||t===l));return(c&&(i&&0===d||!i&&a>d)||!c&&(i&&0===p||!i&&-a>p))&&(u=!0),u},av=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ay=function(e){return[e.deltaX,e.deltaY]},aw=function(e){return e&&"current"in e?e.current:e},aC=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ak=function(e){return`
  .block-interactivity-`.concat(e,` {pointer-events: none;}
  .allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},ax=0,aS=[];let aE=oV(o$,function(e){var t=i.useRef([]),s=i.useRef([0,0]),r=i.useRef(),o=i.useState(ax++)[0],a=i.useState(function(){return o5()})[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=rZ([e.lockRef.current],(e.shards||[]).map(aw),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var f=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!l.current.allowPinchZoom;var i,o=av(e),a=s.current,f="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,d=Math.abs(f)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var p=ad(d,c);if(!p)return!0;if(p?i=d:(i="v"===d?"h":"v",p=ad(d,c)),!p)return!1;if(!r.current&&"changedTouches"in e&&(f||u)&&(r.current=i),!i)return!0;var h=r.current||i;return ag(h,t,e,"h"===h?f:u,!0)},[]),u=i.useCallback(function(e){var s=e;if(!(!aS.length||aS[aS.length-1]!==a)){var r="deltaY"in s?ay(s):av(s),i=t.current.filter(function(e){return e.name===s.type&&e.target===s.target&&aC(e.delta,r)})[0];if(i&&i.should){s.cancelable&&s.preventDefault();return}if(!i){var o=(l.current.shards||[]).map(aw).filter(Boolean).filter(function(e){return e.contains(s.target)});(o.length>0?f(s,o[0]):!l.current.noIsolation)&&s.cancelable&&s.preventDefault()}}},[]),c=i.useCallback(function(e,s,r,i){var o={name:e,delta:s,target:r,should:i};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=i.useCallback(function(e){s.current=av(e),r.current=void 0},[]),p=i.useCallback(function(t){c(t.type,ay(t),t.target,f(t,e.lockRef.current))},[]),h=i.useCallback(function(t){c(t.type,av(t),t.target,f(t,e.lockRef.current))},[]);i.useEffect(function(){return aS.push(a),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:h}),document.addEventListener("wheel",u,aa),document.addEventListener("touchmove",u,aa),document.addEventListener("touchstart",d,aa),function(){aS=aS.filter(function(e){return e!==a}),document.removeEventListener("wheel",u,aa),document.removeEventListener("touchmove",u,aa),document.removeEventListener("touchstart",d,aa)}},[]);var b=e.removeScrollBar,_=e.inert;return i.createElement(i.Fragment,null,_?i.createElement(a,{styles:ak(o)}):null,b?i.createElement(an,{gapMode:"margin"}):null)});var aM=i.forwardRef(function(e,t){return i.createElement(oW,rK({},e,{ref:t,sideCar:aE}))});aM.classNames=oW.classNames;let aI=aM;var aA=function(e){return typeof document>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},aR=new WeakMap,aO=new WeakMap,aj={},aP=0,aT=function(e){return e&&(e.host||aT(e.parentNode))},aN=function(e,t){return t.map(function(t){if(e.contains(t))return t;var s=aT(t);return s&&e.contains(s)?s:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return!!e})},aD=function(e,t,s,r){var i=aN(t,Array.isArray(e)?e:[e]);aj[s]||(aj[s]=new WeakMap);var o=aj[s],a=[],l=new Set,f=new Set(i),u=function(e){!e||l.has(e)||(l.add(e),u(e.parentNode))};i.forEach(u);var c=function(e){!e||f.has(e)||Array.prototype.forEach.call(e.children,function(e){if(l.has(e))c(e);else{var t=e.getAttribute(r),i=null!==t&&"false"!==t,f=(aR.get(e)||0)+1,u=(o.get(e)||0)+1;aR.set(e,f),o.set(e,u),a.push(e),1===f&&i&&aO.set(e,!0),1===u&&e.setAttribute(s,"true"),i||e.setAttribute(r,"true")}})};return c(t),l.clear(),aP++,function(){a.forEach(function(e){var t=aR.get(e)-1,i=o.get(e)-1;aR.set(e,t),o.set(e,i),t||(aO.has(e)||e.removeAttribute(r),aO.delete(e)),i||e.removeAttribute(s)}),--aP||(aR=new WeakMap,aR=new WeakMap,aO=new WeakMap,aj={})}},aL=function(e,t,s){void 0===s&&(s="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||aA(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live]"))),aD(r,i,s,"aria-hidden")):function(){return null}};let aB="Dialog",[aq,aF]=p(aB),[az,aU]=aq(aB),aV=e=>{let{__scopeDialog:t,children:s,open:r,defaultOpen:o,onOpenChange:a,modal:l=!0}=e,f=(0,i.useRef)(null),u=(0,i.useRef)(null),[c=!1,d]=E({prop:r,defaultProp:o,onChange:a});return(0,i.createElement)(az,{scope:t,triggerRef:f,contentRef:u,contentId:L(),titleId:L(),descriptionId:L(),open:c,onOpenChange:d,onOpenToggle:(0,i.useCallback)(()=>d(e=>!e),[d]),modal:l},s)},a$="DialogTrigger",aH=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:s,...r}=e,o=aU(a$,s),a=m(t,o.triggerRef);return(0,i.createElement)(I.button,d({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":a4(o.open)},r,{ref:a,onClick:x(e.onClick,o.onOpenToggle)}))}),aW="DialogPortal",[aK,aG]=aq(aW,{forceMount:void 0}),aZ=e=>{let{__scopeDialog:t,forceMount:s,children:r,container:o}=e,a=aU(aW,t);return(0,i.createElement)(aK,{scope:t,forceMount:s},i.Children.map(r,e=>(0,i.createElement)(j,{present:s||a.open},(0,i.createElement)(oI,{asChild:!0,container:o},e))))},aQ="DialogOverlay",aX=(0,i.forwardRef)((e,t)=>{let s=aG(aQ,e.__scopeDialog),{forceMount:r=s.forceMount,...o}=e,a=aU(aQ,e.__scopeDialog);return a.modal?(0,i.createElement)(j,{present:r||a.open},(0,i.createElement)(aY,d({},o,{ref:t}))):null}),aY=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:s,...r}=e,o=aU(aQ,s);return(0,i.createElement)(aI,{as:g,allowPinchZoom:!0,shards:[o.contentRef]},(0,i.createElement)(I.div,d({"data-state":a4(o.open)},r,{ref:t,style:{pointerEvents:"auto",...r.style}})))}),aJ="DialogContent",a1=(0,i.forwardRef)((e,t)=>{let s=aG(aJ,e.__scopeDialog),{forceMount:r=s.forceMount,...o}=e,a=aU(aJ,e.__scopeDialog);return(0,i.createElement)(j,{present:r||a.open},a.modal?(0,i.createElement)(a8,d({},o,{ref:t})):(0,i.createElement)(a0,d({},o,{ref:t})))}),a8=(0,i.forwardRef)((e,t)=>{let s=aU(aJ,e.__scopeDialog),r=(0,i.useRef)(null),o=m(t,s.contentRef,r);return(0,i.useEffect)(()=>{let e=r.current;if(e)return aL(e)},[]),(0,i.createElement)(a2,d({},e,{ref:o,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:x(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=s.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:x(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,s=0===t.button&&!0===t.ctrlKey;(2===t.button||s)&&e.preventDefault()}),onFocusOutside:x(e.onFocusOutside,e=>e.preventDefault())}))}),a0=(0,i.forwardRef)((e,t)=>{let s=aU(aJ,e.__scopeDialog),r=(0,i.useRef)(!1),o=(0,i.useRef)(!1);return(0,i.createElement)(a2,d({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current||null===(a=s.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let l=t.target;(null===(a=s.triggerRef.current)||void 0===a?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),a2=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:s,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...l}=e,f=aU(aJ,s),u=m(t,(0,i.useRef)(null));return oR(),(0,i.createElement)(i.Fragment,null,(0,i.createElement)(o_,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},(0,i.createElement)(ol,d({role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":a4(f.open)},l,{ref:u,onDismiss:()=>f.onOpenChange(!1)}))),!1)}),a3="DialogClose",a6=(0,i.forwardRef)((e,t)=>{let{__scopeDialog:s,...r}=e,o=aU(a3,s);return(0,i.createElement)(I.button,d({type:"button"},r,{ref:t,onClick:x(e.onClick,()=>o.onOpenChange(!1))}))});function a4(e){return e?"open":"closed"}let a5=aV,a9=aH,a7=aZ,le=aX,lt=a1,ls=a6;var lr="_68ye811";let ln=({children:e,...t})=>c.jsxs(a7,{children:[c.jsx(le,{asChild:!0,className:lr,children:c.jsx(tt,{backgroundColor:"highlightDim",position:"fixed",inset:0})}),c.jsx(lt,{asChild:!0,className:lr,children:c.jsxs(tt,{backgroundColor:"surfaceNeutralPlain",boxShadow:"modal",top:0,left:0,height:"100%",borderTopRightRadius:3,borderBottomRightRadius:3,position:"fixed",paddingTop:7,"data-macaw-ui-component":"Drawer.Content",...t,children:[e,c.jsx(ls,{asChild:!0,children:c.jsx(tC,{variant:"tertiary",icon:c.jsx(tR,{}),size:"small",className:te({position:"absolute",top:1,right:1})})})]})})]});ln.displayName="Drawer.Content";let li=({children:e})=>c.jsx(a5,{"data-macaw-ui-component":"Drawer",children:e});li.displayName="Drawer";let lo=({children:e})=>c.jsx(a9,{asChild:!0,"data-macaw-ui-component":"Drawer.Trigger",children:e});lo.displayName="Drawer.Trigger",Object.assign(li,{Content:ln,Trigger:lo});let la=(0,i.forwardRef)((e,t)=>{let{children:s,width:r=10,height:o=5,...a}=e;return(0,i.createElement)(I.svg,d({},a,{ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?s:(0,i.createElement)("polygon",{points:"0,0 30,0 15,10"}))}),ll="Popper",[lf,lu]=p(ll),[lc,ld]=lf(ll),lp=e=>{let{__scopePopper:t,children:s}=e,[r,o]=(0,i.useState)(null);return(0,i.createElement)(lc,{scope:t,anchor:r,onAnchorChange:o},s)},lh="PopperAnchor",lb=(0,i.forwardRef)((e,t)=>{let{__scopePopper:s,virtualRef:r,...o}=e,a=ld(lh,s),l=(0,i.useRef)(null),f=m(t,l);return(0,i.useEffect)(()=>{a.onAnchorChange((null==r?void 0:r.current)||l.current)}),r?null:(0,i.createElement)(I.div,d({},o,{ref:f}))}),l_="PopperContent",[lm,lg]=lf(l_),lv=(0,i.forwardRef)((e,t)=>{var s,r,o,a,l,f,u,c;let{__scopePopper:p,side:h="bottom",sideOffset:b=0,align:_="center",alignOffset:g=0,arrowPadding:v=0,avoidCollisions:y=!0,collisionBoundary:w=[],collisionPadding:C=0,sticky:k="partial",hideWhenDetached:x=!1,updatePositionStrategy:E="optimized",onPlaced:M,...A}=e,O=ld(l_,p),[j,P]=(0,i.useState)(null),T=m(t,e=>P(e)),[N,D]=(0,i.useState)(null),L=tF(N),B=null!==(s=null==L?void 0:L.width)&&void 0!==s?s:0,q=null!==(r=null==L?void 0:L.height)&&void 0!==r?r:0,F=h+("center"!==_?"-"+_:""),z="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},U=Array.isArray(w)?w:[w],V=U.length>0,$={padding:z,boundary:U.filter(lk),altBoundary:V},{refs:H,floatingStyles:W,placement:K,isPositioned:G,middlewareData:Z}=rR({strategy:"fixed",placement:F,whileElementsMounted:(...e)=>rC(...e,{animationFrame:"always"===E}),elements:{reference:O.anchor},middleware:[s$({mainAxis:b+q,alignmentAxis:g}),y&&sH({mainAxis:!0,crossAxis:!1,limiter:"partial"===k?sW():void 0,...$}),y&&sq({...$}),sK({...$,apply:({elements:e,rects:t,availableWidth:s,availableHeight:r})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${s}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}}),N&&rx({element:N,padding:v}),lx({arrowWidth:B,arrowHeight:q}),x&&sU({strategy:"referenceHidden",...$})]}),[Q,X]=lS(K),Y=S(M);R(()=>{G&&(null==Y||Y())},[G,Y]);let J=null===(o=Z.arrow)||void 0===o?void 0:o.x,ee=null===(a=Z.arrow)||void 0===a?void 0:a.y,et=(null===(l=Z.arrow)||void 0===l?void 0:l.centerOffset)!==0,[es,er]=(0,i.useState)();return R(()=>{j&&er(window.getComputedStyle(j).zIndex)},[j]),(0,i.createElement)("div",{ref:H.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:G?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:es,"--radix-popper-transform-origin":[null===(f=Z.transformOrigin)||void 0===f?void 0:f.x,null===(u=Z.transformOrigin)||void 0===u?void 0:u.y].join(" ")},dir:e.dir},(0,i.createElement)(lm,{scope:p,placedSide:Q,onArrowChange:D,arrowX:J,arrowY:ee,shouldHideArrow:et},(0,i.createElement)(I.div,d({"data-side":Q,"data-align":X},A,{ref:T,style:{...A.style,animation:G?void 0:"none",opacity:null!==(c=Z.hide)&&void 0!==c&&c.referenceHidden?0:void 0}}))))}),ly="PopperArrow",lw={top:"bottom",right:"left",bottom:"top",left:"right"},lC=(0,i.forwardRef)(function(e,t){let{__scopePopper:s,...r}=e,o=lg(ly,s),a=lw[o.placedSide];return(0,i.createElement)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},(0,i.createElement)(la,d({},r,{ref:t,style:{...r.style,display:"block"}})))});function lk(e){return null!==e}let lx=e=>({name:"transformOrigin",options:e,fn(t){var s,r,i,o,a;let{placement:l,rects:f,middlewareData:u}=t,c=(null===(s=u.arrow)||void 0===s?void 0:s.centerOffset)!==0,d=c?0:e.arrowWidth,p=c?0:e.arrowHeight,[h,b]=lS(l),_={start:"0%",center:"50%",end:"100%"}[b],m=(null!==(r=null===(i=u.arrow)||void 0===i?void 0:i.x)&&void 0!==r?r:0)+d/2,g=(null!==(o=null===(a=u.arrow)||void 0===a?void 0:a.y)&&void 0!==o?o:0)+p/2,v="",y="";return"bottom"===h?(v=c?_:`${m}px`,y=`${-p}px`):"top"===h?(v=c?_:`${m}px`,y=`${f.floating.height+p}px`):"right"===h?(v=`${-p}px`,y=c?_:`${g}px`):"left"===h&&(v=`${f.floating.width+p}px`,y=c?_:`${g}px`),{data:{x:v,y:y}}}});function lS(e){let[t,s="center"]=e.split("-");return[t,s]}let lE=lp,lM=lb,lI=lv,lA=lC,lR="rovingFocusGroup.onEntryFocus",lO={bubbles:!1,cancelable:!0},lj="RovingFocusGroup",[lP,lT,lN]=k(lj),[lD,lL]=p(lj,[lN]),[lB,lq]=lD(lj),lF=(0,i.forwardRef)((e,t)=>(0,i.createElement)(lP.Provider,{scope:e.__scopeRovingFocusGroup},(0,i.createElement)(lP.Slot,{scope:e.__scopeRovingFocusGroup},(0,i.createElement)(lz,d({},e,{ref:t}))))),lz=(0,i.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:s,orientation:r,loop:o=!1,dir:a,currentTabStopId:l,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:u,onEntryFocus:c,...p}=e,h=(0,i.useRef)(null),b=m(t,h),_=ee(a),[g=null,v]=E({prop:l,defaultProp:f,onChange:u}),[y,w]=(0,i.useState)(!1),C=S(c),k=lT(s),M=(0,i.useRef)(!1),[A,R]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=h.current;if(e)return e.addEventListener(lR,C),()=>e.removeEventListener(lR,C)},[C]),(0,i.createElement)(lB,{scope:s,orientation:r,dir:_,loop:o,currentTabStopId:g,onItemFocus:(0,i.useCallback)(e=>v(e),[v]),onItemShiftTab:(0,i.useCallback)(()=>w(!0),[]),onFocusableItemAdd:(0,i.useCallback)(()=>R(e=>e+1),[]),onFocusableItemRemove:(0,i.useCallback)(()=>R(e=>e-1),[])},(0,i.createElement)(I.div,d({tabIndex:y||0===A?-1:0,"data-orientation":r},p,{ref:b,style:{outline:"none",...e.style},onMouseDown:x(e.onMouseDown,()=>{M.current=!0}),onFocus:x(e.onFocus,e=>{let t=!M.current;if(e.target===e.currentTarget&&t&&!y){let t=new CustomEvent(lR,lO);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=k().filter(e=>e.focusable);lK([e.find(e=>e.active),e.find(e=>e.id===g),...e].filter(Boolean).map(e=>e.ref.current))}}M.current=!1}),onBlur:x(e.onBlur,()=>w(!1))})))}),lU="RovingFocusGroupItem",lV=(0,i.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:s,focusable:r=!0,active:o=!1,tabStopId:a,...l}=e,f=L(),u=a||f,c=lq(lU,s),p=c.currentTabStopId===u,h=lT(s),{onFocusableItemAdd:b,onFocusableItemRemove:_}=c;return(0,i.useEffect)(()=>{if(r)return b(),()=>_()},[r,b,_]),(0,i.createElement)(lP.ItemSlot,{scope:s,id:u,focusable:r,active:o},(0,i.createElement)(I.span,d({tabIndex:p?0:-1,"data-orientation":c.orientation},l,{ref:t,onMouseDown:x(e.onMouseDown,e=>{r?c.onItemFocus(u):e.preventDefault()}),onFocus:x(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:x(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){c.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=lW(e,c.orientation,c.dir);if(void 0!==t){e.preventDefault();let s=h().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)s.reverse();else if("prev"===t||"next"===t){"prev"===t&&s.reverse();let r=s.indexOf(e.currentTarget);s=c.loop?lG(s,r+1):s.slice(r+1)}setTimeout(()=>lK(s))}})})))}),l$={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function lH(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function lW(e,t,s){let r=lH(e.key,s);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return l$[r]}function lK(e){let t=document.activeElement;for(let s of e)if(s===t||(s.focus(),document.activeElement!==t))return}function lG(e,t){return e.map((s,r)=>e[(t+r)%e.length])}let lZ=lF,lQ=lV,lX=["Enter"," "],lY=["ArrowUp","PageDown","End"],lJ=["ArrowDown","PageUp","Home",...lY],l1="Menu",[l8,l0,l2]=k(l1),[l3,l6]=p(l1,[l2,lu,lL]),l4=lu(),l5=lL(),[l9,l7]=l3(l1),[fe,ft]=l3(l1),fs=e=>{let{__scopeMenu:t,open:s=!1,children:r,dir:o,onOpenChange:a,modal:l=!0}=e,f=l4(t),[u,c]=(0,i.useState)(null),d=(0,i.useRef)(!1),p=S(a),h=ee(o);return(0,i.useEffect)(()=>{let e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,i.createElement)(lE,f,(0,i.createElement)(l9,{scope:t,open:s,onOpenChange:p,content:u,onContentChange:c},(0,i.createElement)(fe,{scope:t,onClose:(0,i.useCallback)(()=>p(!1),[p]),isUsingKeyboardRef:d,dir:h,modal:l},r)))},fr=(0,i.forwardRef)((e,t)=>{let{__scopeMenu:s,...r}=e,o=l4(s);return(0,i.createElement)(lM,d({},o,r,{ref:t}))}),fn="MenuPortal",[fi,fo]=l3(fn,{forceMount:void 0}),fa=e=>{let{__scopeMenu:t,forceMount:s,children:r,container:o}=e,a=l7(fn,t);return(0,i.createElement)(fi,{scope:t,forceMount:s},(0,i.createElement)(j,{present:s||a.open},(0,i.createElement)(oI,{asChild:!0,container:o},r)))},fl="MenuContent",[ff,fu]=l3(fl),fc=(0,i.forwardRef)((e,t)=>{let s=fo(fl,e.__scopeMenu),{forceMount:r=s.forceMount,...o}=e,a=l7(fl,e.__scopeMenu),l=ft(fl,e.__scopeMenu);return(0,i.createElement)(l8.Provider,{scope:e.__scopeMenu},(0,i.createElement)(j,{present:r||a.open},(0,i.createElement)(l8.Slot,{scope:e.__scopeMenu},l.modal?(0,i.createElement)(fd,d({},o,{ref:t})):(0,i.createElement)(fp,d({},o,{ref:t})))))}),fd=(0,i.forwardRef)((e,t)=>{let s=l7(fl,e.__scopeMenu),r=(0,i.useRef)(null),o=m(t,r);return(0,i.useEffect)(()=>{let e=r.current;if(e)return aL(e)},[]),(0,i.createElement)(fh,d({},e,{ref:o,trapFocus:s.open,disableOutsidePointerEvents:s.open,disableOutsideScroll:!0,onFocusOutside:x(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>s.onOpenChange(!1)}))}),fp=(0,i.forwardRef)((e,t)=>{let s=l7(fl,e.__scopeMenu);return(0,i.createElement)(fh,d({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>s.onOpenChange(!1)}))}),fh=(0,i.forwardRef)((e,t)=>{let{__scopeMenu:s,loop:r=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:l,disableOutsidePointerEvents:f,onEntryFocus:u,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:b,onDismiss:_,disableOutsideScroll:v,...y}=e,w=l7(fl,s),C=ft(fl,s),k=l4(s),S=l5(s),E=l0(s),[M,I]=(0,i.useState)(null),A=(0,i.useRef)(null),R=m(t,A,w.onContentChange),O=(0,i.useRef)(0),j=(0,i.useRef)(""),P=(0,i.useRef)(0),T=(0,i.useRef)(null),N=(0,i.useRef)("right"),D=(0,i.useRef)(0),L=v?aI:i.Fragment,B=v?{as:g,allowPinchZoom:!0}:void 0,q=e=>{var t,s;let r=j.current+e,i=E().filter(e=>!e.disabled),o=document.activeElement,a=null===(t=i.find(e=>e.ref.current===o))||void 0===t?void 0:t.textValue,l=fC(i.map(e=>e.textValue),r,a),f=null===(s=i.find(e=>e.textValue===l))||void 0===s?void 0:s.ref.current;(function e(t){j.current=t,window.clearTimeout(O.current),""!==t&&(O.current=window.setTimeout(()=>e(""),1e3))})(r),f&&setTimeout(()=>f.focus())};(0,i.useEffect)(()=>()=>window.clearTimeout(O.current),[]),oR();let F=(0,i.useCallback)(e=>{var t,s;return N.current===(null===(t=T.current)||void 0===t?void 0:t.side)&&fx(e,null===(s=T.current)||void 0===s?void 0:s.area)},[]);return(0,i.createElement)(ff,{scope:s,searchRef:j,onItemEnter:(0,i.useCallback)(e=>{F(e)&&e.preventDefault()},[F]),onItemLeave:(0,i.useCallback)(e=>{var t;F(e)||(null===(t=A.current)||void 0===t||t.focus(),I(null))},[F]),onTriggerLeave:(0,i.useCallback)(e=>{F(e)&&e.preventDefault()},[F]),pointerGraceTimerRef:P,onPointerGraceIntentChange:(0,i.useCallback)(e=>{T.current=e},[])},(0,i.createElement)(L,B,(0,i.createElement)(o_,{asChild:!0,trapped:o,onMountAutoFocus:x(a,e=>{var t;e.preventDefault(),null===(t=A.current)||void 0===t||t.focus()}),onUnmountAutoFocus:l},(0,i.createElement)(ol,{asChild:!0,disableOutsidePointerEvents:f,onEscapeKeyDown:c,onPointerDownOutside:p,onFocusOutside:h,onInteractOutside:b,onDismiss:_},(0,i.createElement)(lZ,d({asChild:!0},S,{dir:C.dir,orientation:"vertical",loop:r,currentTabStopId:M,onCurrentTabStopIdChange:I,onEntryFocus:x(u,e=>{C.isUsingKeyboardRef.current||e.preventDefault()})}),(0,i.createElement)(lI,d({role:"menu","aria-orientation":"vertical","data-state":fv(w.open),"data-radix-menu-content":"",dir:C.dir},k,y,{ref:R,style:{outline:"none",...y.style},onKeyDown:x(y.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,s=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!s&&r&&q(e.key));let i=A.current;if(e.target!==i||!lJ.includes(e.key))return;e.preventDefault();let o=E().filter(e=>!e.disabled).map(e=>e.ref.current);lY.includes(e.key)&&o.reverse(),fy(o)}),onBlur:x(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(O.current),j.current="")}),onPointerMove:x(e.onPointerMove,fS(e=>{let t=e.target,s=D.current!==e.clientX;if(e.currentTarget.contains(t)&&s){let t=e.clientX>D.current?"right":"left";N.current=t,D.current=e.clientX}}))})))))))}),fb="MenuItem",f_="menu.itemSelect",fm=(0,i.forwardRef)((e,t)=>{let{disabled:s=!1,onSelect:r,...o}=e,a=(0,i.useRef)(null),l=ft(fb,e.__scopeMenu),f=fu(fb,e.__scopeMenu),u=m(t,a),c=(0,i.useRef)(!1),p=()=>{let e=a.current;if(!s&&e){let t=new CustomEvent(f_,{bubbles:!0,cancelable:!0});e.addEventListener(f_,e=>null==r?void 0:r(e),{once:!0}),A(e,t),t.defaultPrevented?c.current=!1:l.onClose()}};return(0,i.createElement)(fg,d({},o,{ref:u,disabled:s,onClick:x(e.onClick,p),onPointerDown:t=>{var s;null===(s=e.onPointerDown)||void 0===s||s.call(e,t),c.current=!0},onPointerUp:x(e.onPointerUp,e=>{var t;c.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:x(e.onKeyDown,e=>{let t=""!==f.searchRef.current;s||t&&" "===e.key||lX.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),fg=(0,i.forwardRef)((e,t)=>{let{__scopeMenu:s,disabled:r=!1,textValue:o,...a}=e,l=fu(fb,s),f=l5(s),u=(0,i.useRef)(null),c=m(t,u),[p,h]=(0,i.useState)(!1),[b,_]=(0,i.useState)("");return(0,i.useEffect)(()=>{let e=u.current;if(e){var t;_((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[a.children]),(0,i.createElement)(l8.ItemSlot,{scope:s,disabled:r,textValue:o??b},(0,i.createElement)(lQ,d({asChild:!0},f,{focusable:!r}),(0,i.createElement)(I.div,d({role:"menuitem","data-highlighted":p?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},a,{ref:c,onPointerMove:x(e.onPointerMove,fS(e=>{r?l.onItemLeave(e):(l.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())})),onPointerLeave:x(e.onPointerLeave,fS(e=>l.onItemLeave(e))),onFocus:x(e.onFocus,()=>h(!0)),onBlur:x(e.onBlur,()=>h(!1))}))))});function fv(e){return e?"open":"closed"}function fy(e){let t=document.activeElement;for(let s of e)if(s===t||(s.focus(),document.activeElement!==t))return}function fw(e,t){return e.map((s,r)=>e[(t+r)%e.length])}function fC(e,t,s){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=s?e.indexOf(s):-1,o=fw(e,Math.max(i,0));1===r.length&&(o=o.filter(e=>e!==s));let a=o.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return a!==s?a:void 0}function fk(e,t){let{x:s,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e].x,l=t[e].y,f=t[o].x,u=t[o].y;l>r!=u>r&&s<(f-a)*(r-l)/(u-l)+a&&(i=!i)}return i}function fx(e,t){return!!t&&fk({x:e.clientX,y:e.clientY},t)}function fS(e){return t=>"mouse"===t.pointerType?e(t):void 0}l3("MenuRadioGroup",{value:void 0,onValueChange:()=>{}}),l3("MenuItemIndicator",{checked:!1}),l3("MenuSub");let fE=fs,fM=fr,fI=fa,fA=fc,fR=fm,fO="DropdownMenu",[fj,fP]=p(fO,[l6]),fT=l6(),[fN,fD]=fj(fO),fL=e=>{let{__scopeDropdownMenu:t,children:s,dir:r,open:o,defaultOpen:a,onOpenChange:l,modal:f=!0}=e,u=fT(t),c=(0,i.useRef)(null),[p=!1,h]=E({prop:o,defaultProp:a,onChange:l});return(0,i.createElement)(fN,{scope:t,triggerId:L(),triggerRef:c,contentId:L(),open:p,onOpenChange:h,onOpenToggle:(0,i.useCallback)(()=>h(e=>!e),[h]),modal:f},(0,i.createElement)(fE,d({},u,{open:p,onOpenChange:h,dir:r,modal:f}),s))},fB="DropdownMenuTrigger",fq=(0,i.forwardRef)((e,t)=>{let{__scopeDropdownMenu:s,disabled:r=!1,...o}=e,a=fD(fB,s),l=fT(s);return(0,i.createElement)(fM,d({asChild:!0},l),(0,i.createElement)(I.button,d({type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:_(t,a.triggerRef),onPointerDown:x(e.onPointerDown,e=>{!r&&0===e.button&&!1===e.ctrlKey&&(a.onOpenToggle(),a.open||e.preventDefault())}),onKeyDown:x(e.onKeyDown,e=>{r||(["Enter"," "].includes(e.key)&&a.onOpenToggle(),"ArrowDown"===e.key&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),fF=e=>{let{__scopeDropdownMenu:t,...s}=e,r=fT(t);return(0,i.createElement)(fI,d({},r,s))},fz="DropdownMenuContent",fU=(0,i.forwardRef)((e,t)=>{let{__scopeDropdownMenu:s,...r}=e,o=fD(fz,s),a=fT(s),l=(0,i.useRef)(!1);return(0,i.createElement)(fA,d({id:o.contentId,"aria-labelledby":o.triggerId},a,r,{ref:t,onCloseAutoFocus:x(e.onCloseAutoFocus,e=>{var t;l.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:x(e.onInteractOutside,e=>{let t=e.detail.originalEvent,s=0===t.button&&!0===t.ctrlKey,r=2===t.button||s;(!o.modal||r)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),fV=(0,i.forwardRef)((e,t)=>{let{__scopeDropdownMenu:s,...r}=e,o=fT(s);return(0,i.createElement)(fR,d({},o,r,{ref:t}))}),f$=fL,fH=fq,fW=fF,fK=fU,fG=fV;var fZ="_6vehm81",fQ="_6vehm82";let fX=({children:e,...t})=>c.jsx(fW,{children:c.jsx(fK,{asChild:!0,className:fZ,"data-macaw-ui-component":"Dropdown.Content",...t,children:e})});fX.displayName="Dropdown.Content";let fY=({children:e})=>c.jsx(fG,{asChild:!0,className:fQ,"data-macaw-ui-component":"Dropdown.Item",children:e});fY.displayName="Dropdown.Item";let fJ=({children:e,onOpenChange:t,open:s})=>c.jsx(f$,{open:s,onOpenChange:t,"data-macaw-ui-component":"Dropdown",children:e});fJ.displayName="Dropdown";let f1=({children:e})=>c.jsx(fH,{asChild:!0,"data-macaw-ui-component":"Dropdown.Trigger",children:e});f1.displayName="Dropdown.Trigger",Object.assign(fJ,{Trigger:f1,Content:fX,Item:fY});var f8=ty({defaultClassName:"_18fs8pskr _18fs8psn6 _18fs8pspl _18fs8pss0 _18fs8ps10 _18fs8ps1r _18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps1ou _18fs8ps3 _18fs8ps2up _18fs8ps2v3 _18fs8ps28x _18fs8ps27f _18fs8ps27i _18fs8ps2bt _18fs8ps2cf",variantClassNames:{variant:{contained:"_18fs8ps2h5 _18fs8ps2gy _18fs8ps2h9 _18fs8ps2ha _18fs8ps2qf",text:"_18fs8ps2gh _18fs8ps2qi _18fs8ps2gl _18fs8ps2gm _18fs8ps2qf"},size:{small:"_18fs8pspr _18fs8pss6 _18fs8psku _18fs8psn9 _18fs8ps1ko _18fs8ps1n0 _18fs8ps24l _18fs8ps1qo _18fs8ps1gc _18fs8ps1ff _18fs8ps1i6 _18fs8ps1h9 _18fs8psdr",medium:"_18fs8pspr _18fs8pss6 _18fs8psmx _18fs8pspc _18fs8ps1kl _18fs8ps1mr _18fs8ps24l _18fs8ps1ql _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps17o _18fs8psdl",large:"_18fs8pspu _18fs8pss9 _18fs8pskx _18fs8psnc _18fs8ps1ki _18fs8ps1mo _18fs8ps24l _18fs8ps1qi _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps17u _18fs8psdo"}},defaultVariants:{size:"medium"},compoundVariants:[]});(0,i.forwardRef)(({children:e,size:t,variant:s="contained",disabled:r,className:i,...o},a)=>c.jsxs(tt,{as:"button",className:tf(f8({size:t,variant:s}),i),disabled:r,ref:a,"data-macaw-ui-component":"DropdownButton",...o,children:[e,c.jsx(tE,{size:"small",className:te({color:"textNeutralSubdued"})})]})).displayName="DropdownButton";let f0=e=>{let t=/^[\d.,]*$|(Backspace|Tab|Delete|ArrowLeft|ArrowRight|ArrowDown|ArrowUp)/;return!e.key.match(t)&&e.preventDefault()},f2=e=>["date","time","datetime-local"].includes(e??""),f3=(e,t,s)=>{let[r,o]=(0,i.useState)(!1),a=!!f2(t)||!!(e||r);return{handlers:{onFocus:()=>o(!0),onBlur:()=>o(!1),onChange:e=>{s&&s(e)}},value:e,active:r,typed:a}},f6=({children:e,id:t,typed:s,active:r,disabled:i,size:o,label:a,error:l,className:f,endAdornment:u})=>c.jsxs(tt,{as:"label",htmlFor:t,className:tf(se({typed:s,active:r,disabled:i,size:o,error:l}),f),alignItems:"center",gap:1,"data-macaw-ui-component":"Input",children:[c.jsxs(tt,{display:"flex",flexDirection:"column",width:"100%",children:[c.jsx(tt,{as:"span",className:tf(st({typed:s,size:o,disabled:i,error:l})),children:a}),e]}),u]});f6.displayName="InputWrapper";let f4=(0,i.forwardRef)(({size:e,disabled:t=!1,className:s,value:r,label:i,id:o,type:a,error:l=!1,onChange:f,helperText:u,onBlur:d,onFocus:p,flex:h,flexBasis:b,flexGrow:_,flexShrink:m,width:g,endAdornment:v,...y},w)=>{let{handlers:C,value:k,active:x,typed:S}=f3(r,a,f);return c.jsxs(tt,{display:"flex",flexDirection:"column",flex:h,flexBasis:b,flexGrow:_,flexShrink:m,width:g,children:[c.jsx(f6,{id:o,typed:S,active:x,disabled:t,size:e,label:i,error:l,className:s,endAdornment:v,children:c.jsx(tt,{id:o,as:"input",type:a,className:tf(t7({size:e,error:l})),disabled:t,value:k,ref:w,onBlur:e=>{C.onBlur(),null==d||d(e)},onFocus:e=>{C.onFocus(),null==p||p(e)},onChange:C.onChange,onKeyDown:e=>{"number"===a&&f0(e)},role:"input",...y})}),u&&c.jsx(tt,{className:t9({size:e}),children:c.jsx(tT,{variant:"caption",size:e,color:l?"textCriticalDefault":"textNeutralSubdued",children:u})})]})});f4.displayName="Input";let f5=({children:e,...t})=>c.jsx(tt,{as:"li",...t,"data-macaw-ui-component":"List.Divider",children:e});f5.displayName="List.Divider";let f9=(0,i.forwardRef)(({children:e,disabled:t,onClick:s,className:r,active:i,...o},a)=>c.jsx(tt,{as:"li",display:"flex",alignItems:"center",cursor:{default:"pointer",disabled:"not-allowed"},disabled:t,backgroundColor:{default:i?"interactiveNeutralHighlightFocused":"interactiveNeutralHighlightDefault",active:"interactiveNeutralHighlightPressing",hover:"interactiveNeutralHighlightHovering",focus:"interactiveNeutralHighlightFocused"},onClick:s,className:r,ref:a,"data-macaw-ui-component":"List.Item",...o,children:e}));f9.displayName="List.Item";let f7=({children:e})=>c.jsx(eI,{asChild:!0,"data-macaw-ui-component":"ListItem.Content",children:e});f7.displayName="ListItem.Content";let ue=(0,i.forwardRef)(({children:e,as:t="ul",className:s,...r},i)=>c.jsx(tt,{as:t,ref:i,className:s,margin:0,"data-macaw-ui-component":"List",...r,children:e}));ue.displayName="List";let ut=(0,i.createContext)(null),us=()=>{let e=(0,i.useContext)(ut);if(null===e)throw Error("You are outside of context");return e},ur=ut.Provider;var un="_16tmpu02",ui="_16tmpu01",uo="_16tmpu00";let ua="list-item-group-value",ul=({children:e,defaultExpanded:t=!1,as:s="ul",...r})=>{let[o,a]=(0,i.useState)(t?ua:"");return c.jsx(eR,{asChild:!0,type:"single",collapsible:!0,value:o,onValueChange:a,children:c.jsx(ur,{value:{triggerOpen:()=>a(ua)},children:c.jsx(ue,{as:s,...r,"data-macaw-ui-component":"ListItem",children:c.jsx(eO,{value:ua,className:uo,children:e})})})})};ul.displayName="ListItem";let uf=({children:e,size:t,...s})=>{let{triggerOpen:r}=us();return c.jsxs(uu.Item,{"data-macaw-ui-component":"ItemGroup.Trigger",...s,children:[c.jsx(tt,{width:"100%",height:"100%",onClick:r,children:e}),c.jsx(eE,{asChild:!0,children:c.jsx(tC,{icon:c.jsx(tM,{className:ui,color:"iconNeutralDefault",size:t}),variant:"tertiary",size:t,className:un})})]})};uf.displayName="ListItem.Trigger";let uu=Object.assign(ue,{Item:f9,ItemGroup:Object.assign(ul,{Trigger:uf,Content:f7}),Divider:f5}),uc=({children:e})=>c.jsx(ls,{asChild:!0,"data-macaw-ui-component":"Modal.Close",children:e});uc.displayName="Modal.Close";var ud="w2pmqx1";let up=e=>e?{onOpenAutoFocus:e=>{e.preventDefault()}}:{},uh=({children:e,disableAutofocus:t})=>c.jsx(a7,{children:c.jsx(le,{asChild:!0,className:ud,children:c.jsx(tt,{backgroundColor:"highlightDim",position:"fixed",inset:0,children:c.jsx(lt,{asChild:!0,className:ud,...up(t),children:e})})})});uh.displayName="Modal.Content";let ub=({children:e,open:t,onChange:s})=>c.jsx(a5,{"data-macaw-ui-component":"Modal",open:t,onOpenChange:s,children:e});ub.displayName="Modal";let u_=({children:e})=>c.jsx(a9,{asChild:!0,"data-macaw-ui-component":"Modal.Trigger",children:e});u_.displayName="Modal.Trigger",Object.assign(ub,{Content:uh,Trigger:u_,Close:uc});var um=ty({defaultClassName:"_1g8t8xp8 _18fs8pskr _18fs8psn6 _18fs8pspl _18fs8pss0 _18fs8ps1nu _18fs8ps1o0 _18fs8ps1ni _18fs8ps1no _18fs8ps16u _18fs8ps2u1 _18fs8ps1k9 _18fs8ps1mf _18fs8ps1ou _18fs8ps29d _18fs8ps29r",variantClassNames:{size:{small:"_18fs8ps1kx _18fs8ps1n3 _18fs8ps256 _18fs8ps1qx",medium:"_18fs8ps1ku _18fs8ps1n0 _18fs8ps253 _18fs8ps1qu",large:"_18fs8ps1ku _18fs8ps1n0 _18fs8ps253 _18fs8ps1qu"},error:{true:"_18fs8ps2ax"}},defaultVariants:{size:"medium"},compoundVariants:[]}),ug=ty({defaultClassName:"_1g8t8xp0",variantClassNames:{typed:{true:"_1g8t8xp2"}},defaultVariants:{},compoundVariants:[]});let uv=({size:e,getToggleButtonProps:t,renderEndAdornment:s,disabled:r})=>s?c.jsx(c.Fragment,{children:s(t({disabled:r}))}):c.jsx(tE,{className:tf(so,te({cursor:"pointer"})),size:e,...t({disabled:r})}),uy=(0,i.forwardRef)(({id:e,label:t,className:s,error:r,children:i,getLabelProps:o,typed:a,active:l,disabled:f,size:u,getToggleButtonProps:d,renderEndAdornment:p,hasItemsToSelect:h},b)=>c.jsxs(tt,{ref:b,as:"label",className:tf(se({typed:a,active:l,disabled:f,size:u,error:r}),s),alignItems:"center",justifyContent:"space-between",disabled:f,flexWrap:"nowrap",gap:3,"data-macaw-ui-component":"Multiselect",...o({htmlFor:e}),cursor:f?"not-allowed":"text",children:[c.jsxs(tt,{display:"flex",flexDirection:"column",width:"100%",children:[c.jsx(tt,{as:"span",className:tf(ug({typed:a}),st({typed:a,size:u,disabled:f,error:r})),children:t}),c.jsx(tt,{display:"flex",flexDirection:"row",gap:1,alignItems:"center",flexWrap:"wrap",children:i})]}),h&&c.jsx(uv,{size:u,getToggleButtonProps:d,renderEndAdornment:p,disabled:f})]}));uy.displayName="MultiselectWrapper";let uw=(e,t,s)=>{let r=null==t?void 0:t.toLowerCase();return s.filter(t=>!e.find(e=>e.value===t.value)&&t.label.toLowerCase().includes(r??""))},uC=({selectedValues:e,options:t,onChange:s,onInputValueChange:r,onFocus:o,onBlur:a})=>{let[l,f]=(0,i.useState)(""),[u,c]=(0,i.useState)(!1),d=tc(e)?e.reduce((e,s)=>{let r=t.find(e=>e.value===s);return r&&e.push(r),e},[]):e,p=uw(d,l,t),h=!!r||d.length!==t.length,b=!!(d.length||u),{getSelectedItemProps:_,getDropdownProps:m,removeSelectedItem:g}=i4({selectedItems:d,onStateChange({selectedItems:e,type:t}){switch(t){case i4.stateChangeTypes.SelectedItemKeyDownBackspace:case i4.stateChangeTypes.SelectedItemKeyDownDelete:case i4.stateChangeTypes.DropdownKeyDownBackspace:case i4.stateChangeTypes.FunctionRemoveSelectedItem:{let t=tc(d)?null==e?void 0:e.map(e=>e.value):e;null==s||s(t)}}}}),{isOpen:v,getLabelProps:y,getMenuProps:w,getInputProps:C,highlightedIndex:k,getItemProps:x,getToggleButtonProps:S}=iT({items:p,itemToString:e=>(null==e?void 0:e.label)??"",defaultHighlightedIndex:0,selectedItem:null,stateReducer(e,t){let{changes:s,type:r}=t;switch(r){case iT.stateChangeTypes.InputKeyDownEnter:case iT.stateChangeTypes.ItemClick:return f(""),{...s,...s.selectedItem&&{isOpen:!0,highlightedIndex:0}};default:return s}},onStateChange({inputValue:e,type:t,selectedItem:i}){switch(t){case iT.stateChangeTypes.InputKeyDownEnter:case iT.stateChangeTypes.ItemClick:case iT.stateChangeTypes.InputBlur:if(i){let e=tc(d)?[...d.map(e=>e.value),i.value]:[...d,i];null==s||s(e)}else f("");break;case iT.stateChangeTypes.InputChange:null==r||r(e??""),f(e??"")}}});return{active:u,itemsToSelect:p,typed:b,isOpen:v,getLabelProps:y,getMenuProps:w,getInputProps:(e,t)=>C(m({onFocus:e=>{c(!0),null==o||o(e)},onBlur:e=>{c(!1),null==a||a(e)},preventKeyAction:v,...e}),t),highlightedIndex:k,getItemProps:x,getSelectedItemProps:_,removeSelectedItem:g,selectedItems:d,inputValue:l,showInput:h,getToggleButtonProps:e=>S({onClick:e=>{e.preventDefault()},...e}),hasItemsToSelect:p.length>0}},uk=({size:e,disabled:t=!1,className:s,label:r,id:i,error:o=!1,helperText:a,options:l,onChange:f,renderEndAdornment:u,value:d=[],onFocus:p,onBlur:h,locale:b={inputText:"Add item"},..._},m)=>{let{active:g,typed:v,isOpen:y,getLabelProps:w,getMenuProps:C,getInputProps:k,highlightedIndex:x,getItemProps:S,itemsToSelect:E,selectedItems:M,getSelectedItemProps:I,inputValue:A,removeSelectedItem:R,getToggleButtonProps:O,hasItemsToSelect:j,showInput:P}=uC({selectedValues:d,options:l,onChange:f,onFocus:p,onBlur:h}),{refs:T,floatingStyles:N}=rO();return c.jsxs(tt,{display:"flex",flexDirection:"column",children:[c.jsxs(uy,{ref:T.setReference,id:i,typed:v,active:g,disabled:t,size:e,label:r,error:o,className:s,getLabelProps:w,getToggleButtonProps:O,renderEndAdornment:u,hasItemsToSelect:j,children:[M.map((s,r)=>c.jsxs(tt,{"data-test-id":`selected-option-${s.value}-${r}`,paddingX:1.5,paddingY:.5,backgroundColor:"surfaceNeutralSubdued",borderColor:"neutralHighlight",borderWidth:1,borderStyle:"solid",borderRadius:3,display:"flex",gap:1,alignItems:"center",...I({selectedItem:s,index:r}),children:[c.jsx(tT,{variant:"caption",size:"small"===e?"small":"medium",children:s.label}),!t&&c.jsx(tT,{cursor:"pointer",variant:"caption",size:"small",marginBottom:"px",onClick:e=>{e.stopPropagation(),e.preventDefault(),R(s)},children:"✕"})]},`selected-option-${s.value}-${r}`)),c.jsx(tt,{id:i,as:"input",className:um({size:e,error:o}),placeholder:b.inputText,disabled:t,width:0,__flex:1,minWidth:7,visibility:P?"visible":"hidden",...k({id:i,ref:m,value:A}),..._})]}),c.jsx(t5,{asChild:!0,ref:T.setFloating,style:N,children:c.jsx(tt,{position:"relative",display:y&&j?"block":"none",className:si({size:e}),children:c.jsx(uu,{as:"ul",className:sn,...C({},{suppressRefError:!0}),children:y&&(null==E?void 0:E.map((t,s)=>c.jsx(uu.Item,{"data-test-id":"select-option",className:sr,active:x===s,...S({item:t,index:s}),children:c.jsx(tT,{size:sf(e),children:t.label})},`to-select-${i}-${t.value}-${s}`)))})})}),a&&c.jsx(ss,{size:e,error:o,children:a})]})},ux=(0,i.forwardRef)(uk),uS=({size:e,disabled:t=!1,className:s,label:r,id:i,error:o=!1,helperText:a,options:l,onChange:f,renderEndAdornment:u,value:d=[],onInputValueChange:p,loading:h,onFocus:b,onBlur:_,locale:m,onScrollEnd:g,...v},y)=>{let{active:w,typed:C,isOpen:k,getLabelProps:x,getMenuProps:S,getInputProps:E,highlightedIndex:M,getItemProps:I,itemsToSelect:A,selectedItems:R,getSelectedItemProps:O,inputValue:j,removeSelectedItem:P,getToggleButtonProps:T,hasItemsToSelect:N,showInput:D}=uC({selectedValues:d,onInputValueChange:p,options:l,onChange:f,onFocus:b,onBlur:_}),{refs:L,floatingStyles:B}=rO(),q=oe(g);return c.jsxs(tt,{display:"flex",flexDirection:"column",children:[c.jsxs(uy,{ref:L.setReference,id:i,typed:C,active:w,disabled:t,size:e,label:r,error:o,className:s,getLabelProps:x,getToggleButtonProps:T,renderEndAdornment:u,hasItemsToSelect:N,children:[R.map((s,r)=>c.jsxs(tt,{"data-test-id":`selected-option-${s.value}-${r}`,paddingX:1.5,paddingY:.5,backgroundColor:"surfaceNeutralSubdued",borderColor:"neutralHighlight",borderWidth:1,borderStyle:"solid",borderRadius:3,display:"flex",gap:1,alignItems:"center",...O({selectedItem:s,index:r}),children:[c.jsx(tT,{variant:"caption",size:"small"===e?"small":"medium",children:s.label}),!t&&c.jsx(tT,{cursor:"pointer",variant:"caption",size:"small",marginBottom:"px",onClick:e=>{e.stopPropagation(),e.preventDefault(),P(s)},children:"✕"})]},`selected-option-${s.value}-${r}`)),c.jsx(tt,{id:i,as:"input",className:um({size:e,error:o}),placeholder:(null==m?void 0:m.placeholderText)||"Add item",disabled:t,width:0,__flex:1,minWidth:7,visibility:D?"visible":"hidden",...E({id:i,ref:y,value:j}),...v})]}),c.jsx(t5,{asChild:!0,ref:L.setFloating,style:B,children:c.jsx(tt,{position:"relative",display:sl({isOpen:k,hasItemsToSelect:N,loading:h}),className:si({size:e}),children:c.jsxs(uu,{as:"ul",className:sn,...S({},{suppressRefError:!0}),children:[k&&(null==A?void 0:A.map((t,s)=>c.jsx(uu.Item,{"data-test-id":"select-option",className:sr,active:M===s,...I({item:t,index:s}),children:c.jsx(tT,{size:sf(e),children:t.label})},`to-select-${i}-${t.value}-${s}`))),h&&c.jsx(sa,{size:e,children:(null==m?void 0:m.loadingText)||"Loading"}),c.jsx("div",{ref:e=>{q.current=e}})]})})}),a&&c.jsx(ss,{size:e,error:o,children:a})]})},uE=((0,i.forwardRef)(uS),"Popover"),[uM,uI]=p(uE,[lu]),uA=lu(),[uR,uO]=uM(uE),uj=e=>{let{__scopePopover:t,children:s,open:r,defaultOpen:o,onOpenChange:a,modal:l=!1}=e,f=uA(t),u=(0,i.useRef)(null),[c,d]=(0,i.useState)(!1),[p=!1,h]=E({prop:r,defaultProp:o,onChange:a});return(0,i.createElement)(lE,f,(0,i.createElement)(uR,{scope:t,contentId:L(),triggerRef:u,open:p,onOpenChange:h,onOpenToggle:(0,i.useCallback)(()=>h(e=>!e),[h]),hasCustomAnchor:c,onCustomAnchorAdd:(0,i.useCallback)(()=>d(!0),[]),onCustomAnchorRemove:(0,i.useCallback)(()=>d(!1),[]),modal:l},s))},uP="PopoverAnchor",uT=(0,i.forwardRef)((e,t)=>{let{__scopePopover:s,...r}=e,o=uO(uP,s),a=uA(s),{onCustomAnchorAdd:l,onCustomAnchorRemove:f}=o;return(0,i.useEffect)(()=>(l(),()=>f()),[l,f]),(0,i.createElement)(lM,d({},a,r,{ref:t}))}),uN="PopoverTrigger",uD=(0,i.forwardRef)((e,t)=>{let{__scopePopover:s,...r}=e,o=uO(uN,s),a=uA(s),l=m(t,o.triggerRef),f=(0,i.createElement)(I.button,d({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":uZ(o.open)},r,{ref:l,onClick:x(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?f:(0,i.createElement)(lM,d({asChild:!0},a),f)}),uL="PopoverPortal",[uB,uq]=uM(uL,{forceMount:void 0}),uF=e=>{let{__scopePopover:t,forceMount:s,children:r,container:o}=e,a=uO(uL,t);return(0,i.createElement)(uB,{scope:t,forceMount:s},(0,i.createElement)(j,{present:s||a.open},(0,i.createElement)(oI,{asChild:!0,container:o},r)))},uz="PopoverContent",uU=(0,i.forwardRef)((e,t)=>{let s=uq(uz,e.__scopePopover),{forceMount:r=s.forceMount,...o}=e,a=uO(uz,e.__scopePopover);return(0,i.createElement)(j,{present:r||a.open},a.modal?(0,i.createElement)(uV,d({},o,{ref:t})):(0,i.createElement)(u$,d({},o,{ref:t})))}),uV=(0,i.forwardRef)((e,t)=>{let s=uO(uz,e.__scopePopover),r=(0,i.useRef)(null),o=m(t,r),a=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=r.current;if(e)return aL(e)},[]),(0,i.createElement)(aI,{as:g,allowPinchZoom:!0},(0,i.createElement)(uH,d({},e,{ref:o,trapFocus:s.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:x(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),a.current||null===(t=s.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:x(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,s=0===t.button&&!0===t.ctrlKey,r=2===t.button||s;a.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:x(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})))}),u$=(0,i.forwardRef)((e,t)=>{let s=uO(uz,e.__scopePopover),r=(0,i.useRef)(!1),o=(0,i.useRef)(!1);return(0,i.createElement)(uH,d({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var i,a;null===(i=e.onCloseAutoFocus)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current||null===(a=s.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:t=>{var i,a;null===(i=e.onInteractOutside)||void 0===i||i.call(e,t),t.defaultPrevented||(r.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let l=t.target;(null===(a=s.triggerRef.current)||void 0===a?void 0:a.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}}))}),uH=(0,i.forwardRef)((e,t)=>{let{__scopePopover:s,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:l,onEscapeKeyDown:f,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:p,...h}=e,b=uO(uz,s),_=uA(s);return oR(),(0,i.createElement)(o_,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},(0,i.createElement)(ol,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:p,onEscapeKeyDown:f,onPointerDownOutside:u,onFocusOutside:c,onDismiss:()=>b.onOpenChange(!1)},(0,i.createElement)(lI,d({"data-state":uZ(b.open),role:"dialog",id:b.contentId},_,h,{ref:t,style:{...h.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}),uW="PopoverClose",uK=(0,i.forwardRef)((e,t)=>{let{__scopePopover:s,...r}=e,o=uO(uW,s);return(0,i.createElement)(I.button,d({type:"button"},r,{ref:t,onClick:x(e.onClick,()=>o.onOpenChange(!1))}))}),uG=(0,i.forwardRef)((e,t)=>{let{__scopePopover:s,...r}=e,o=uA(s);return(0,i.createElement)(lA,d({},o,r,{ref:t}))});function uZ(e){return e?"open":"closed"}let uQ=uj,uX=uT,uY=uD,uJ=uF,u1=uU,u8=uK,u0=uG;var u2="_1t0scx21",u3="_18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps26x _18fs8ps2w1 _18fs8ps2ft";let u6=({children:e,className:t,onInteractOutside:s,...r})=>c.jsx(uJ,{children:c.jsx(u1,{asChild:!0,className:tf(u3,t),"data-macaw-ui-component":"Popover.Content",onInteractOutside:s,...r,children:e})});u6.displayName="Popover.Content";let u4=({children:e})=>c.jsx(uX,{asChild:!0,"data-macaw-ui-component":"Popover.Anchor",children:e});u4.displayName="Popover.Anchor";let u5=({children:e})=>c.jsx(uY,{asChild:!0,"data-macaw-ui-component":"Popover.Trigger",children:e});u5.displayName="Popover.Trigger";let u9=({className:e,fill:t="subdued",stroke:s="neutralPlain"})=>c.jsx(u0,{className:tf(u2,e),asChild:!0,children:c.jsx("svg",{width:"20",height:"9",viewBox:"0 0 20 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-macaw-ui-component":"Popover.Arrow",children:c.jsx("path",{d:"M8.08579 7.08579L0.5 -0.5H18.5L10.9142 7.08579C10.1332 7.86683 8.86684 7.86684 8.08579 7.08579Z",strokeLinejoin:"round",className:te({fill:t,stroke:s})})})});u9.displayName="Popover.Arrow";let u7=({children:e,...t})=>c.jsx(uQ,{...t,"data-macaw-ui-component":"Popover",children:e});u7.displayName="Popover";let ce=({children:e})=>c.jsx(u8,{asChild:!0,"data-macaw-ui-component":"Popover.Close",children:e});ce.displayName="Popover.Close",Object.assign(u7,{Trigger:u5,Content:u6,Anchor:u4,Arrow:u9,Close:ce});let ct="Radio",[cs,cr]=p(ct),[cn,ci]=cs(ct),co=(0,i.forwardRef)((e,t)=>{let{__scopeRadio:s,name:r,checked:o=!1,required:a,disabled:l,value:f="on",onCheck:u,...c}=e,[p,h]=(0,i.useState)(null),b=m(t,e=>h(e)),_=(0,i.useRef)(!1),g=!p||!!p.closest("form");return(0,i.createElement)(cn,{scope:s,checked:o,disabled:l},(0,i.createElement)(I.button,d({type:"button",role:"radio","aria-checked":o,"data-state":cu(o),"data-disabled":l?"":void 0,disabled:l,value:f},c,{ref:b,onClick:x(e.onClick,e=>{o||null==u||u(),g&&(_.current=e.isPropagationStopped(),_.current||e.stopPropagation())})})),g&&(0,i.createElement)(cf,{control:p,bubbles:!_.current,name:r,value:f,checked:o,required:a,disabled:l,style:{transform:"translateX(-100%)"}}))}),ca="RadioIndicator",cl=(0,i.forwardRef)((e,t)=>{let{__scopeRadio:s,forceMount:r,...o}=e,a=ci(ca,s);return(0,i.createElement)(j,{present:r||a.checked},(0,i.createElement)(I.span,d({"data-state":cu(a.checked),"data-disabled":a.disabled?"":void 0},o,{ref:t})))}),cf=e=>{let{control:t,checked:s,bubbles:r=!0,...o}=e,a=(0,i.useRef)(null),l=tq(s),f=tF(t);return(0,i.useEffect)(()=>{let e=a.current,t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(l!==s&&t){let i=new Event("click",{bubbles:r});t.call(e,s),e.dispatchEvent(i)}},[l,s,r]),(0,i.createElement)("input",d({type:"radio","aria-hidden":!0,defaultChecked:s},o,{tabIndex:-1,ref:a,style:{...e.style,...f,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function cu(e){return e?"checked":"unchecked"}let cc=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],cd="RadioGroup",[cp,ch]=p(cd,[lL,cr]),cb=lL(),c_=cr(),[cm,cg]=cp(cd),cv=(0,i.forwardRef)((e,t)=>{let{__scopeRadioGroup:s,name:r,defaultValue:o,value:a,required:l=!1,disabled:f=!1,orientation:u,dir:c,loop:p=!0,onValueChange:h,...b}=e,_=cb(s),m=ee(c),[g,v]=E({prop:a,defaultProp:o,onChange:h});return(0,i.createElement)(cm,{scope:s,name:r,required:l,disabled:f,value:g,onValueChange:v},(0,i.createElement)(lZ,d({asChild:!0},_,{orientation:u,dir:m,loop:p}),(0,i.createElement)(I.div,d({role:"radiogroup","aria-required":l,"aria-orientation":u,"data-disabled":f?"":void 0,dir:m},b,{ref:t}))))}),cy="RadioGroupItem",cw=(0,i.forwardRef)((e,t)=>{let{__scopeRadioGroup:s,disabled:r,...o}=e,a=cg(cy,s),l=a.disabled||r,f=cb(s),u=c_(s),c=(0,i.useRef)(null),p=m(t,c),h=a.value===o.value,b=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=e=>{cc.includes(e.key)&&(b.current=!0)},t=()=>b.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}},[]),(0,i.createElement)(lQ,d({asChild:!0},f,{focusable:!l,active:h}),(0,i.createElement)(co,d({disabled:l,required:a.required,checked:h},u,o,{name:a.name,ref:p,onCheck:()=>a.onValueChange(o.value),onKeyDown:x(e=>{"Enter"===e.key&&e.preventDefault()}),onFocus:x(o.onFocus,()=>{var e;b.current&&(null===(e=c.current)||void 0===e||e.click())})})))}),cC=(0,i.forwardRef)((e,t)=>{let{__scopeRadioGroup:s,...r}=e,o=c_(s);return(0,i.createElement)(cl,d({},o,r,{ref:t}))}),ck=cv,cx=cw,cS=cC;var cE="_18fs8pskr _18fs8psn6 _18fs8pspl _18fs8pss0 _18fs8psuf _18fs8pswx _18fs8pszf _18fs8ps11x _18fs8ps1nu _18fs8ps1o0 _18fs8ps1ni _18fs8ps1no",cM=ty({defaultClassName:"_18fs8pskr _18fs8psn6 _18fs8pspl _18fs8pss0 _18fs8psuf _18fs8pswx _18fs8pszf _18fs8ps11x _18fs8ps29l",variantClassNames:{size:{small:"_18fs8ps1kx _18fs8ps1n3 _18fs8ps256 _18fs8ps1qx",medium:"_18fs8ps1ku _18fs8ps1n0 _18fs8ps253 _18fs8ps1qu",large:"_18fs8ps1kr _18fs8ps1mx _18fs8ps250 _18fs8ps1qr"},disabled:{true:"_18fs8ps29t"},error:{true:"_18fs8ps2b5"}},defaultVariants:{size:"medium"},compoundVariants:[]});let cI=(0,i.forwardRef)(({children:e,className:t,value:s,label:r,onValueChange:i,size:o,disabled:a=!1,error:l=!1,...f},u)=>c.jsx(ck,{asChild:!0,value:s,onValueChange:i,children:c.jsxs(tt,{...f,className:tf(cE,t),ref:u,as:"fieldset","data-macaw-ui-component":"RadioGroup",children:[r&&c.jsx("legend",{className:tf(cM({disabled:a,error:l,size:o}),t),children:r}),e]})}));cI.displayName="RadioGroup";var cA=ty({defaultClassName:"_18fs8ps1t3 _18fs8ps1vi _18fs8ps1xx _18fs8ps20c _18fs8ps2o _18fs8psf _18fs8ps220",variantClassNames:{disabled:{true:"_18fs8ps2c9",false:"_18fs8ps2ch"}},defaultVariants:{disabled:!1},compoundVariants:[]}),cR=ty({defaultClassName:"_1ru9wzg7 _18fs8pskr _18fs8psn6 _18fs8pspl _18fs8pss0 _18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps1h3 _18fs8ps1g6 _18fs8ps1ix _18fs8ps1i0 _18fs8ps2l _18fs8ps2vt _18fs8ps269 _18fs8ps2up _18fs8ps14o _18fs8ps179 _18fs8ps2m1",variantClassNames:{error:{true:"_1ru9wzg8"},disabled:{true:"_1ru9wzg9"}},defaultVariants:{error:!1,disabled:!1},compoundVariants:[]});let cO=(0,i.forwardRef)(({value:e,id:t,disabled:s,children:r,className:i,error:o,...a},l)=>c.jsxs(tt,{display:"flex",alignItems:"center",gap:1.5,position:"relative",...a,className:i,ref:l,"data-macaw-ui-component":"RadioGroup.Item",children:[c.jsx(cx,{className:cR({error:o,disabled:s}),value:e,id:t,disabled:s,children:c.jsx(cS,{className:cA({disabled:s}),asChild:!0,children:c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"6",height:"6",fill:"currentColor",children:c.jsx("circle",{cx:"3",cy:"3",r:"3",fill:"currentColor"})})})}),c.jsx(tt,{as:"label",htmlFor:t,cursor:s?"not-allowed":"pointer",children:r})]}));cO.displayName="RadioGroup.Item",Object.assign(cI,{Item:cO}),(0,i.forwardRef)(({value:e=["",""],onChange:t,children:s,type:r="number",...i},o)=>{let[a,l]=e;return c.jsxs(c.Fragment,{children:[c.jsx(f4,{value:a,onChange:e=>null==t?void 0:t([e.target.value,l]),type:r,ref:o,...i}),s,c.jsx(f4,{value:l,onChange:e=>null==t?void 0:t([a,e.target.value]),type:r,ref:o,...i})]})}).displayName="RangeInput";var cj=ty({defaultClassName:"_18fs8pskr _18fs8psn6 _18fs8pspl _18fs8pss0 _18fs8ps1nu _18fs8ps1o0 _18fs8ps1ni _18fs8ps1no _18fs8ps16u _18fs8ps2u1 _18fs8ps1ou _18fs8ps29d _18fs8ps29r _18fs8ps29s",variantClassNames:{},defaultVariants:{},compoundVariants:[]}),cP=ty({defaultClassName:"_18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps2l _18fs8ps3 _18fs8ps10 _18fs8ps29d _18fs8ps16u _18fs8ps2x5 _18fs8ps2pd _18fs8ps2q2 _18fs8ps2r8",variantClassNames:{size:{small:"_18fs8pspr _18fs8pss6 _18fs8psmx _18fs8pspc",medium:"_18fs8pspr _18fs8pss6 _18fs8pskx _18fs8psnc",large:"_18fs8pspu _18fs8pss9 _18fs8psl0 _18fs8psnf"}},defaultVariants:{},compoundVariants:[]}),cT=ty({defaultClassName:"_18fs8ps29l _18fs8ps123",variantClassNames:{},defaultVariants:{},compoundVariants:[]});(0,i.forwardRef)(({id:e,className:t,size:s,...r},i)=>c.jsxs(tt,{id:e,className:tf(cP({size:s}),t),"data-macaw-ui-component":"SearchInput",children:[c.jsx(tO,{size:"medium",className:cT()}),c.jsx(tt,{as:"input",className:cj(),ref:i,type:"text",...r})]})).displayName="SearchInput";let cN=(0,i.forwardRef)(({id:e,label:t,className:s,error:r,children:i,getToggleButtonProps:o,getLabelProps:a,typed:l,active:f,disabled:u,size:d},p)=>c.jsx(tt,{ref:p,children:c.jsxs(tt,{as:"label",className:tf(se({typed:l,active:f,disabled:u,size:d,error:r}),s),alignItems:"center",justifyContent:"space-between",disabled:u,flexWrap:"nowrap",gap:3,...o(),"data-macaw-ui-component":"Select",cursor:u?"not-allowed":"pointer",children:[c.jsxs(tt,{display:"flex",flexDirection:"column",width:"100%",children:[c.jsx(tt,{as:"span",className:tf(st({typed:l,size:d,disabled:u,error:r})),...a({htmlFor:e}),children:t}),i]}),c.jsx(tE,{className:tf(so,te({cursor:"pointer"})),size:d})]})}));cN.displayName="SelectWrapper";let cD=({value:e,options:t,onChange:s,onFocus:r,onBlur:o})=>{let[a,l]=(0,i.useState)(!1),f=!!(e||a),{isOpen:u,getToggleButtonProps:c,getLabelProps:d,getMenuProps:p,highlightedIndex:h,getItemProps:b,selectedItem:_}=n9({items:t,selectedItem:e??null,itemToString:e=>(null==e?void 0:e.label)??"",onSelectedItemChange:({selectedItem:e})=>{if(e){let t=tu(e)?e.value:e;null==s||s(t)}}});return{active:a,typed:f,isOpen:u,getToggleButtonProps:(e,t)=>c({onFocus:e=>{l(!0),null==r||r(e)},onBlur:e=>{l(!1),null==o||o(e)},...e},t),getLabelProps:d,getMenuProps:p,highlightedIndex:h,getItemProps:b,selectedItem:_,hasItemsToSelect:t.length>0}},cL=e=>{switch(e){case"small":return 4;case"medium":return 5;case"large":return 6}},cB=({size:e="medium",disabled:t=!1,className:s,value:r,label:i,id:o,error:a=!1,helperText:l,options:f,onChange:u,onFocus:d,onBlur:p,...h},b)=>{let{active:_,typed:m,isOpen:g,getItemProps:v,getLabelProps:y,getToggleButtonProps:w,selectedItem:C,getMenuProps:k,highlightedIndex:x,hasItemsToSelect:S}=cD({value:tu(r)?f.find(e=>e.value===r):r,options:f,onChange:u,onFocus:d,onBlur:p}),{refs:E,floatingStyles:M}=rO();return c.jsxs(tt,{display:"flex",flexDirection:"column",children:[c.jsx(cN,{ref:E.setReference,id:o,typed:m,active:_,disabled:t,size:e,label:i,error:a,className:s,getLabelProps:y,getToggleButtonProps:w,children:c.jsx(tt,{height:cL(e),...h,ref:b,children:c.jsx(tT,{size:e,variant:"body",color:a?"textCriticalDefault":"textNeutralDefault",children:null==C?void 0:C.label})})}),c.jsx(t5,{asChild:!0,ref:E.setFloating,style:M,children:c.jsx(tt,{position:"relative",display:g&&S?"block":"none",className:si({size:e}),children:c.jsx(uu,{as:"ul",className:sn,...k({},{suppressRefError:!0}),children:g&&(null==f?void 0:f.map((t,s)=>c.jsx(uu.Item,{"data-test-id":"select-option",className:sr,...v({item:t,index:s}),active:x===s,children:c.jsx(tT,{size:sf(e),children:t.label})},`${o}-${t.value}-${s}`)))})})}),l&&c.jsx(ss,{size:e,error:a,children:l})]})};(0,i.forwardRef)(cB);var cq="_1ucx6ny1";let cF=({className:e,...t})=>c.jsx(tt,{className:tf(cq,e),backgroundColor:"interactiveNeutralSecondaryPressing",width:"100%",height:1,borderRadius:2,...t});var cz="u64rbw1";let cU=(0,i.forwardRef)(({className:e},t)=>c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"none",className:tf(cz,e),ref:t,children:c.jsx("g",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.333",children:c.jsx("path",{d:"M8 1.332v2.667M8 12v2.667M3.285 3.285l1.887 1.887M10.826 10.826l1.887 1.887M1.332 8h2.667M12 8h2.667M3.285 12.713l1.887-1.887M10.826 5.172l1.887-1.887"})})}));cU.displayName="Spinner";var cV=ty({defaultClassName:"edj57v3 _18fs8psku _18fs8psn9 _18fs8pspo _18fs8pss3 _18fs8ps1gc _18fs8ps1ff _18fs8ps1i6 _18fs8ps1h9 _18fs8ps19f _18fs8ps2up",variantClassNames:{},defaultVariants:{},compoundVariants:[]}),c$=ty({defaultClassName:"_18fs8psmu _18fs8psp9 _18fs8psro _18fs8psu3 _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps3 _18fs8psfl _18fs8ps2gx _18fs8ps26p _18fs8ps17o",variantClassNames:{},defaultVariants:{},compoundVariants:[]});let cH=(0,i.forwardRef)(({children:e,className:t,defaultValue:s,onValueChange:r,...i},o)=>c.jsx(ck,{asChild:!0,defaultValue:s,onValueChange:r,children:c.jsx(tt,{className:tf(c$(),t),ref:o,...i,"data-macaw-ui-component":"Switch",children:e})}));cH.displayName="Switch";let cW=({value:e,id:t,disabled:s=!1,children:r,...i})=>c.jsx(cx,{asChild:!0,value:e,id:t,disabled:s,className:cV(),"data-macaw-ui-component":"SwitchItem",children:c.jsx(tt,{...i,children:r})});cW.displayName="Switch.Item";let cK=Object.assign(cH,{Item:cW}),cG=(e,t,s,r)=>{let o=cZ(e,s),a=cZ(e,r);(0,i.useEffect)(()=>{if(e){e.style.height="0px";let t=Math.min(Math.max(o,e.scrollHeight),a);e.style.height=`${t}px`}},[o,a,e,t])};function cZ(e,t){return e?parseFloat(getComputedStyle(e).lineHeight)*t:0}let cQ=(e,t)=>{let[s,r]=(0,i.useState)(!1);return{handlers:{onFocus:()=>r(!0),onBlur:()=>r(!1),onChange:e=>{t&&t(e)}},value:e,active:s,typed:!!(e||s)}},cX=({children:e,id:t,typed:s,active:r,disabled:i,size:o,label:a,error:l,className:f,endAdornment:u})=>c.jsxs(tt,{as:"label",htmlFor:t,className:tf(se({typed:s,active:r,disabled:i,size:o,error:l}),f),alignItems:"center",gap:1,"data-macaw-ui-component":"Textarea",children:[c.jsxs(tt,{display:"flex",flexDirection:"column",width:"100%",children:[c.jsx(tt,{as:"span",className:tf(st({typed:s,size:o,disabled:i,error:l})),children:a}),e]}),u]});cX.displayName="TextareaWrapper",(0,i.forwardRef)(({size:e,disabled:t=!1,className:s,value:r,label:o,id:a,error:l=!1,onChange:f,helperText:u,onBlur:d,onFocus:p,flex:h,flexBasis:b,flexGrow:_,flexShrink:m,width:g,endAdornment:v,rows:y=10,maxRows:w=20,...C},k)=>{let{handlers:x,value:S,active:E,typed:M}=cQ(r,f),I=(0,i.useRef)(null);return cG(I.current,r,y,w),(0,i.useImperativeHandle)(k,()=>I.current),c.jsxs(tt,{display:"flex",flexDirection:"column",flex:h,flexBasis:b,flexGrow:_,flexShrink:m,width:g,children:[c.jsx(cX,{id:a,typed:M,active:E,disabled:t,size:e,label:o,error:l,className:s,endAdornment:v,children:c.jsx(tt,{id:a,as:"textarea",className:tf(t7({size:e,error:l})),style:{resize:"none"},disabled:t,value:S,ref:I,onBlur:e=>{x.onBlur(),null==d||d(e)},onFocus:e=>{x.onFocus(),null==p||p(e)},onChange:x.onChange,rows:y,...C})}),u&&c.jsx(tt,{className:t9({size:e}),children:c.jsx(tT,{variant:"caption",size:e,color:l?"textCriticalDefault":"textNeutralSubdued",children:u})})]})}).displayName="Textarea";let cY=(0,i.forwardRef)((e,t)=>{let{pressed:s,defaultPressed:r=!1,onPressedChange:o,...a}=e,[l=!1,f]=E({prop:s,onChange:o,defaultProp:r});return(0,i.createElement)(I.button,d({type:"button","aria-pressed":l,"data-state":l?"on":"off","data-disabled":e.disabled?"":void 0},a,{ref:t,onClick:x(e.onClick,()=>{e.disabled||f(!l)})}))});var cJ=ty({defaultClassName:"agkfzb1 _18fs8psmr _18fs8psp6 _18fs8psrl _18fs8psu0 _18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1gx _18fs8ps1g0 _18fs8ps1ir _18fs8ps1hu _18fs8ps3 _18fs8ps10 _18fs8ps2l _18fs8ps1ou _18fs8ps2up",variantClassNames:{},defaultVariants:{},compoundVariants:[]});(0,i.forwardRef)(({disabled:e=!1,pressed:t,onPressedChange:s,children:r,...i},o)=>c.jsxs(tt,{as:"label",display:"flex",alignItems:"center",gap:1.5,cursor:e?"not-allowed":"pointer","data-macaw-ui-component":"Toggle",children:[c.jsx(cY,{ref:o,className:cJ(),pressed:t,onPressedChange:s,disabled:e,...i}),r]})).displayName="Toggle";let c1=(0,i.forwardRef)((e,t)=>(0,i.createElement)(I.span,d({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}))),[c8,c0]=p("Tooltip",[lu]),c2=lu(),c3=700,c6="tooltip.open",[c4,c5]=c8("TooltipProvider"),c9=e=>{let{__scopeTooltip:t,delayDuration:s=c3,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:a}=e,[l,f]=(0,i.useState)(!0),u=(0,i.useRef)(!1),c=(0,i.useRef)(0);return(0,i.useEffect)(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,i.createElement)(c4,{scope:t,isOpenDelayed:l,delayDuration:s,onOpen:(0,i.useCallback)(()=>{window.clearTimeout(c.current),f(!1)},[]),onClose:(0,i.useCallback)(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>f(!0),r)},[r]),isPointerInTransitRef:u,onPointerInTransitChange:(0,i.useCallback)(e=>{u.current=e},[]),disableHoverableContent:o},a)},c7="Tooltip",[de,dt]=c8(c7),ds=e=>{let{__scopeTooltip:t,children:s,open:r,defaultOpen:o=!1,onOpenChange:a,disableHoverableContent:l,delayDuration:f}=e,u=c5(c7,e.__scopeTooltip),c=c2(t),[d,p]=(0,i.useState)(null),h=L(),b=(0,i.useRef)(0),_=l??u.disableHoverableContent,m=f??u.delayDuration,g=(0,i.useRef)(!1),[v=!1,y]=E({prop:r,defaultProp:o,onChange:e=>{e?(u.onOpen(),document.dispatchEvent(new CustomEvent(c6))):u.onClose(),null==a||a(e)}}),w=(0,i.useMemo)(()=>v?g.current?"delayed-open":"instant-open":"closed",[v]),C=(0,i.useCallback)(()=>{window.clearTimeout(b.current),g.current=!1,y(!0)},[y]),k=(0,i.useCallback)(()=>{window.clearTimeout(b.current),y(!1)},[y]),x=(0,i.useCallback)(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{g.current=!0,y(!0)},m)},[m,y]);return(0,i.useEffect)(()=>()=>window.clearTimeout(b.current),[]),(0,i.createElement)(lE,c,(0,i.createElement)(de,{scope:t,contentId:h,open:v,stateAttribute:w,trigger:d,onTriggerChange:p,onTriggerEnter:(0,i.useCallback)(()=>{u.isOpenDelayed?x():C()},[u.isOpenDelayed,x,C]),onTriggerLeave:(0,i.useCallback)(()=>{_?k():window.clearTimeout(b.current)},[k,_]),onOpen:C,onClose:k,disableHoverableContent:_},s))},dr="TooltipTrigger",dn=(0,i.forwardRef)((e,t)=>{let{__scopeTooltip:s,...r}=e,o=dt(dr,s),a=c5(dr,s),l=c2(s),f=m(t,(0,i.useRef)(null),o.onTriggerChange),u=(0,i.useRef)(!1),c=(0,i.useRef)(!1),p=(0,i.useCallback)(()=>u.current=!1,[]);return(0,i.useEffect)(()=>()=>document.removeEventListener("pointerup",p),[p]),(0,i.createElement)(lM,d({asChild:!0},l),(0,i.createElement)(I.button,d({"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute},r,{ref:f,onPointerMove:x(e.onPointerMove,e=>{"touch"===e.pointerType||c.current||a.isPointerInTransitRef.current||(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:x(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:x(e.onPointerDown,()=>{u.current=!0,document.addEventListener("pointerup",p,{once:!0})}),onFocus:x(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:x(e.onBlur,o.onClose),onClick:x(e.onClick,o.onClose)})))}),di="TooltipPortal",[da,dl]=c8(di,{forceMount:void 0}),df=e=>{let{__scopeTooltip:t,forceMount:s,children:r,container:o}=e,a=dt(di,t);return(0,i.createElement)(da,{scope:t,forceMount:s},(0,i.createElement)(j,{present:s||a.open},(0,i.createElement)(oI,{asChild:!0,container:o},r)))},du="TooltipContent",dc=(0,i.forwardRef)((e,t)=>{let s=dl(du,e.__scopeTooltip),{forceMount:r=s.forceMount,side:o="top",...a}=e,l=dt(du,e.__scopeTooltip);return(0,i.createElement)(j,{present:r||l.open},l.disableHoverableContent?(0,i.createElement)(db,d({side:o},a,{ref:t})):(0,i.createElement)(dd,d({side:o},a,{ref:t})))}),dd=(0,i.forwardRef)((e,t)=>{let s=dt(du,e.__scopeTooltip),r=c5(du,e.__scopeTooltip),o=(0,i.useRef)(null),a=m(t,o),[l,f]=(0,i.useState)(null),{trigger:u,onClose:c}=s,p=o.current,{onPointerInTransitChange:h}=r,b=(0,i.useCallback)(()=>{f(null),h(!1)},[h]),_=(0,i.useCallback)((e,t)=>{let s=e.currentTarget,r={x:e.clientX,y:e.clientY},i=dg(r,s.getBoundingClientRect());f(dC([...dv(r,i),...dy(t.getBoundingClientRect())])),h(!0)},[h]);return(0,i.useEffect)(()=>()=>b(),[b]),(0,i.useEffect)(()=>{if(u&&p){let e=e=>_(e,p),t=e=>_(e,u);return u.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{u.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[u,p,_,b]),(0,i.useEffect)(()=>{if(l){let e=e=>{let t=e.target,s={x:e.clientX,y:e.clientY},r=(null==u?void 0:u.contains(t))||(null==p?void 0:p.contains(t)),i=!dw(s,l);r?b():i&&(b(),c())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[u,p,l,c,b]),(0,i.createElement)(db,d({},e,{ref:a}))}),[dp,dh]=c8(c7,{isInside:!1}),db=(0,i.forwardRef)((e,t)=>{let{__scopeTooltip:s,children:r,"aria-label":o,onEscapeKeyDown:a,onPointerDownOutside:l,...f}=e,u=dt(du,s),c=c2(s),{onClose:p}=u;return(0,i.useEffect)(()=>(document.addEventListener(c6,p),()=>document.removeEventListener(c6,p)),[p]),(0,i.useEffect)(()=>{if(u.trigger){let e=e=>{let t=e.target;null!=t&&t.contains(u.trigger)&&p()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[u.trigger,p]),(0,i.createElement)(ol,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:p},(0,i.createElement)(lI,d({"data-state":u.stateAttribute},c,f,{ref:t,style:{...f.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),(0,i.createElement)(y,null,r),(0,i.createElement)(dp,{scope:s,isInside:!0},(0,i.createElement)(c1,{id:u.contentId,role:"tooltip"},o||r))))}),d_="TooltipArrow",dm=(0,i.forwardRef)((e,t)=>{let{__scopeTooltip:s,...r}=e,o=c2(s);return dh(d_,s).isInside?null:(0,i.createElement)(lA,d({},o,r,{ref:t}))});function dg(e,t){let s=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(s,r,i,o)){case o:return"left";case i:return"right";case s:return"top";case r:return"bottom";default:throw Error("unreachable")}}function dv(e,t,s=5){let r=[];switch(t){case"top":r.push({x:e.x-s,y:e.y+s},{x:e.x+s,y:e.y+s});break;case"bottom":r.push({x:e.x-s,y:e.y-s},{x:e.x+s,y:e.y-s});break;case"left":r.push({x:e.x+s,y:e.y-s},{x:e.x+s,y:e.y+s});break;case"right":r.push({x:e.x-s,y:e.y-s},{x:e.x-s,y:e.y+s})}return r}function dy(e){let{top:t,right:s,bottom:r,left:i}=e;return[{x:i,y:t},{x:s,y:t},{x:s,y:r},{x:i,y:r}]}function dw(e,t){let{x:s,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let a=t[e].x,l=t[e].y,f=t[o].x,u=t[o].y;l>r!=u>r&&s<(f-a)*(r-l)/(u-l)+a&&(i=!i)}return i}function dC(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),dk(t)}function dk(e){if(e.length<=1)return e.slice();let t=[];for(let s=0;s<e.length;s++){let r=e[s];for(;t.length>=2;){let e=t[t.length-1],s=t[t.length-2];if((e.x-s.x)*(r.y-s.y)>=(e.y-s.y)*(r.x-s.x))t.pop();else break}t.push(r)}t.pop();let s=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;s.length>=2;){let e=s[s.length-1],t=s[s.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))s.pop();else break}s.push(r)}return s.pop(),1===t.length&&1===s.length&&t[0].x===s[0].x&&t[0].y===s[0].y?t:t.concat(s)}let dx=c9,dS=ds,dE=dn,dM=df,dI=dc,dA=dm,dR=({children:e,delayDuration:t=250,...s})=>c.jsx(dx,{children:c.jsx(dS,{delayDuration:t,...s,"data-macaw-ui-component":"Tooltip",children:e})});dR.displayName="Tooltip";let dO=(0,i.forwardRef)(({children:e},t)=>c.jsx(dE,{asChild:!0,ref:t,"data-macaw-ui-component":"Tooltip.Trigger",children:e}));dO.displayName="Tooltip.Trigger";var dj="_14kl90y1",dP="_18fs8pskx _18fs8psnc _18fs8pspr _18fs8pss6 _18fs8ps1k6 _18fs8ps1mc _18fs8ps24f _18fs8ps1q6 _18fs8ps1nx _18fs8ps1o3 _18fs8ps1nl _18fs8ps1nr _18fs8ps1ol _18fs8ps1or _18fs8ps1o9 _18fs8ps1of _18fs8ps1gf _18fs8ps1fi _18fs8ps1i9 _18fs8ps1hc _18fs8ps26x _18fs8ps2gh _18fs8ps295 _18fs8ps2w9";let dT=({className:e,backgroundColor:t=eB.colors.background.surfaceNeutralPlain,borderColor:s=eB.colors.border.neutralPlain})=>c.jsx(dA,{asChild:!0,className:tf(dj,e),children:c.jsx("svg",{width:"20",height:"9",viewBox:"0 0 20 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-macaw-ui-component":"Tooltip.Arrow",children:c.jsx("path",{fill:t,stroke:s,d:"M8.086 7.086.5-.5h18l-7.586 7.586a2 2 0 0 1-2.828 0Z"})})});dT.displayName="Tooltip.Arrow";let dN=({children:e,className:t,sideOffset:s=2,avoidCollisions:r=!0,...i})=>c.jsx(dM,{children:c.jsx(dI,{className:tf(dP,t),sideOffset:s,avoidCollisions:r,"data-macaw-ui-component":"Tooltip.Content",...i,children:e})});dN.displayName="Tooltip.Content";let dD=({children:e})=>c.jsx(tT,{display:"block",variant:"caption",color:"textNeutralSubdued",marginBottom:.5,"data-macaw-ui-component":"Tooltip.ContentHeading",children:e});dD.displayName="Tooltip.ContentHeading";let dL=Object.assign(dR,{Trigger:dO,Arrow:dT,Content:dN,ContentHeading:dD})},1791:function(e,t,s){"use strict";function r(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}s.d(t,{_:function(){return r}})},9734:function(e,t,s){"use strict";s.d(t,{t5:function(){return p}}),new TextEncoder;let r=new TextDecoder,i=e=>{let t=atob(e),s=new Uint8Array(t.length);for(let e=0;e<t.length;e++)s[e]=t.charCodeAt(e);return s},o=e=>{let t=e;t instanceof Uint8Array&&(t=r.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return i(t)}catch(e){throw TypeError("The input to be decoded is not correctly encoded.")}};class a extends Error{static get code(){return"ERR_JOSE_GENERIC"}constructor(e){var t;super(e),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,null===(t=Error.captureStackTrace)||void 0===t||t.call(Error,this,this.constructor)}}class l extends a{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}static get code(){return"ERR_JWT_INVALID"}}var f=crypto;function u(e){return"object"==typeof e&&null!==e}function c(e){if(!u(e)||"[object Object]"!==Object.prototype.toString.call(e))return!1;if(null===Object.getPrototypeOf(e))return!0;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}f.getRandomValues.bind(f),Symbol();let d=o;function p(e){let t,s;if("string"!=typeof e)throw new l("JWTs must use Compact JWS serialization, JWT must be a string");let{1:i,length:o}=e.split(".");if(5===o)throw new l("Only JWTs using Compact JWS serialization can be decoded");if(3!==o)throw new l("Invalid JWT");if(!i)throw new l("JWTs must contain a payload");try{t=d(i)}catch(e){throw new l("Failed to parse the base64url encoded payload")}try{s=JSON.parse(r.decode(t))}catch(e){throw new l("Failed to parse the decoded payload as JSON")}if(!c(s))throw new l("Invalid JWT Claims Set");return s}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(3188),t(1058),t(4501)}),_N_E=e.O()}]);